@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --linen: #F4F3EF;
  --paper: #FFFFFF;
  --ink: #14171F;
  --oxide: #B8432A;
  --copy: #3A3833;
  --meta: #8B8880;
  --hairline: #E3E1D9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 5vw, 76px);
}
.brand { display: block; width: clamp(220px, 22vw, 340px); }
.brand img { width: 100%; height: auto; }
.header-contact {
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.header-contact:hover, .header-contact:focus-visible { border-bottom-width: 2px; }

.hero {
  min-height: min(60svh, 580px);
  padding: clamp(118px, 14vh, 148px) clamp(24px, 5vw, 76px) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto auto;
  align-items: end;
}
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .eyebrow { grid-column: 1 / -1; align-self: start; }
.hero h1 {
  grid-column: 1 / -1;
  width: 100%;
  margin: clamp(42px, 6vh, 58px) 0 clamp(34px, 5vh, 48px);
  max-width: 12ch;
  font-size: clamp(48px, 5.8vw, 86px);
  font-weight: 425;
  line-height: .94;
  letter-spacing: -.04em;
}
.hero h1 span { display: inline; }
.hero h1 span:first-child::after { content: " "; }
.lever-line {
  grid-column: 1 / -1;
  position: relative;
  height: 18px;
  border-top: 1px solid var(--ink);
}
.lever-line span {
  position: absolute;
  top: -1px;
  left: 38.2%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid var(--oxide);
}
.hero-note {
  grid-column: 1 / -1;
  text-align: right;
  margin: 12px 0 0;
  color: var(--copy);
  font-size: 15px;
}

.diagnosis {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding: 72px clamp(24px, 5vw, 76px) 84px;
}
.section-marker {
  display: grid;
  grid-template-columns: 3rem auto;
  gap: 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-marker span:first-child { font-variant-numeric: tabular-nums; color: var(--meta); }
.diagnosis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  margin-top: clamp(64px, 10vh, 105px);
  align-items: end;
}
.symptoms {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: 0;
  overflow: hidden;
}
.symptom {
  margin: 0;
  color: var(--meta);
  padding: 26px 0 29px;
  border-top: 1px solid var(--hairline);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.symptom:last-child { border-bottom: 1px solid var(--hairline); }
.symptom span { color: var(--ink); }
.answer {
  align-self: center;
}
.answer p {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.answer p:last-child { margin-top: .18em; }
.oxide { color: var(--oxide); }

.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  background: var(--ink);
  color: var(--paper);
  padding: 86px clamp(24px, 5vw, 76px) 90px;
  gap: 0 8vw;
}
.method-intro { grid-column: 1 / -1; margin-bottom: clamp(50px, 6.5vh, 82px); }
.section-marker-light span:first-child { color: var(--meta); }
.method h2 {
  max-width: 10ch;
  margin: 0;
  grid-column: 1;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 450;
  line-height: .98;
  letter-spacing: -.045em;
}
.method-list { align-self: start; }
.method-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 28px 0 30px;
  border-top: 1px solid var(--paper);
}
.method-list article:last-child { border-bottom: 1px solid var(--paper); }
.solution-mark {
  width: 34px;
  height: 10px;
  margin-top: .55em;
  border-top: 1px solid var(--paper);
  position: relative;
}
.solution-mark::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 13px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--oxide);
}
.method-list p { margin: 0; max-width: 38ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; letter-spacing: -.01em; }

.about {
  padding: 86px clamp(24px, 5vw, 76px) 10vh;
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  margin-top: clamp(48px, 8vh, 88px);
}
.about h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 450;
}
.about-copy { max-width: 35rem; padding-top: .5rem; }
.about-copy p { margin: 0 0 .75em; color: var(--copy); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; letter-spacing: -.01em; }

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: 86px clamp(24px, 5vw, 76px) 90px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  margin-top: clamp(48px, 8vh, 88px);
  align-items: start;
}
.contact-copy .eyebrow { margin: 0 0 clamp(24px, 3vh, 40px); }
.contact-mark { width: clamp(60px, 8vw, 100px); margin-top: clamp(20px, 3vh, 36px); }
.contact h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 450;
  line-height: .98;
  letter-spacing: -.045em;
}
.contact-form {
  padding-top: .25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.form-field label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.form-field input,
.form-field textarea {
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  color: var(--paper);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--paper);
}
.form-field textarea {
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding: 10px 0;
  min-height: 80px;
}
.form-field textarea:focus {
  border-bottom-color: var(--paper);
}
.contact-form button {
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--paper);
  border: none;
  padding: 14px 44px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.contact-form button:hover {
  background: var(--linen);
}

footer {
  min-height: 110px;
  padding: 34px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
}
footer img { width: 34px; }
footer p { margin: 0; }
footer p:last-child { color: var(--meta); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .site-header { padding-top: 22px; }
  .brand { width: 150px; }
  .header-contact { font-size: 14px; }
  .hero { min-height: 500px; padding-top: 114px; }
  .hero h1 { align-self: center; margin-top: 9vh; }
  .hero-note { grid-column: 1 / -1; }
  .diagnosis { padding-top: 64px; }
  .diagnosis-grid { grid-template-columns: 1fr; gap: 8vh; margin-top: 7vh; }
  .answer { max-width: 18ch; }
  .method { grid-template-columns: 1fr; gap: 9vh; padding-top: 64px; }
  .method h2 { margin-top: 0; }
  .about { padding-top: 64px; }
  .about-grid { grid-template-columns: 1fr; margin-top: 9vh; gap: 7vh; }
  .contact-grid { grid-template-columns: 1fr; gap: 7vh; }
  .contact-mark { width: 50px; }
  footer { grid-template-columns: 26px 1fr; }
  footer img { width: 26px; }
  footer p:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .symptom { transition: none; }
}
