/* ------------------------------------------------------------------
   Meridian Implant Studio — styles
   Warm editorial: ivory base, deep forest accent, Fraunces + Inter.
   ------------------------------------------------------------------ */

:root {
  /* colour */
  --ivory: #f6f1e8;
  --ivory-2: #efe7da;
  --paper: #fbf8f3;
  --green: #1e3a2f;
  --green-2: #2c5140;
  --green-soft: #d6e2d8;
  --ink: #1b1a17;
  --ink-2: #514d46;
  --ink-3: #66615a;
  --line: #d9d1c3;
  --gold: #c9a26b;
  --error: #a63d2f;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-base: 1.125rem; /* 18px */

  /* layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 24px;
  --radius-sm: 12px;

  /* motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 600ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  background: var(--green);
  color: var(--ivory);
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--green-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- type scale ---------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--light { color: var(--gold); }

.lede {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.lede--light { color: rgba(246, 241, 232, 0.82); }

.micro {
  font-size: 0.9375rem;
  color: var(--ink-3);
}

/* --- buttons ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out),
    transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--green);
  color: var(--ivory);
}
.btn--primary:hover { background: var(--green-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(27, 26, 23, 0.28);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(27, 26, 23, 0.04); }
.btn__short { display: none; }

/* --- header / nav -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 80px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.call:hover { color: var(--green); }

/* --- hero ---------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: center;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

.hero__copy {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-right: 24px;
}
.hero__copy .eyebrow { margin-bottom: -8px; }
.hero__copy .micro { margin-top: -12px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__media {
  grid-column: 7 / span 6;
  margin: 0;
  margin-right: calc(-1 * var(--gutter));
  position: relative;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 720px;
  background: var(--ivory-2);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero__tag {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 340px;
}
.hero__tag strong { display: block; color: var(--green); font-weight: 600; margin-bottom: 2px; }

/* hero entrance */
.js .hero__copy > * {
  animation: rise var(--dur) var(--ease-out) both;
}
.js .hero__copy > :nth-child(1) { animation-delay: 40ms; }
.js .hero__copy > :nth-child(2) { animation-delay: 120ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 200ms; }
.js .hero__copy > :nth-child(4) { animation-delay: 280ms; }
.js .hero__copy > :nth-child(5) { animation-delay: 340ms; }
.js .hero__media { animation: fade 900ms var(--ease-out) 150ms both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- trust strip --------------------------------------------------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}
.trust__list span { font-size: 0.9375rem; color: var(--ink-3); }
.star { color: var(--gold); font-size: 0.85em; }

/* --- consultation -------------------------------------------------- */

.consult {
  background: var(--green);
  color: var(--ivory);
  padding-block: clamp(64px, 8vw, 120px);
}
.consult__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.consult__copy {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 40px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  color: rgba(246, 241, 232, 0.9);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.consult__call { color: rgba(246, 241, 232, 0.75); }
.consult__call a { color: var(--ivory); font-weight: 500; }

.form {
  grid-column: 8 / span 5;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-3); }
.field input,
.field select {
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.field.is-invalid input { border-color: var(--error); }
.field__error {
  min-height: 0;
  font-size: 0.875rem;
  color: var(--error);
}
.field__error:empty { display: none; }
.form__fine { font-size: 0.875rem; color: var(--ink-3); text-align: center; }
.form__success {
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
}
.form.is-sent > :not(.form__title):not(.form__success) { display: none; }

/* --- footer -------------------------------------------------------- */

.footer {
  background: var(--ivory-2);
  padding-top: 64px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer .brand__name { color: var(--ink); }
.footer__sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.footer__head {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer a:hover { text-decoration: underline; }
.footer__links li { margin-bottom: 6px; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

/* --- modal --------------------------------------------------------- */

.modal {
  border: 0;
  padding: 0;
  width: min(600px, calc(100vw - 32px));
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(27, 26, 23, 0.3);
}
.modal::backdrop { background: rgba(27, 26, 23, 0.55); }
.modal__inner { padding: 40px; position: relative; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  margin: 8px 0 20px;
}

/* --- responsive ---------------------------------------------------- */

@media (max-width: 1024px) {
  .nav__links { gap: 22px; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; gap: 16px; height: 68px; }
  .nav__links { display: none; }
  .nav__actions { justify-self: end; gap: 12px; }
  .nav__actions .call span { display: none; }
  .nav__actions .call { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
  .brand { padding: 8px 0; }
  .situation .textlink { padding: 8px 0; margin-top: -8px; }
  .consult__call a, .call--inline { display: inline-block; padding: 10px 0; }
  .footer a { padding: 10px 0; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
  .brand__sub { display: none; }

  .hero { grid-template-columns: 1fr; row-gap: 32px; padding-top: 32px; }
  .hero__copy { grid-column: auto; padding-right: 0; gap: 22px; }
  .hero__media {
    grid-column: auto;
    margin-inline: calc(-1 * var(--gutter));
    border-radius: 0;
    aspect-ratio: 4 / 4.4;
    max-height: none;
  }
  .hero__actions .btn { width: 100%; }

  .trust__list { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .trust__list li { padding: 18px 16px; }
  .trust__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .consult__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .consult__copy, .form { grid-column: auto; padding-right: 0; }
  .form { padding: 24px; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .modal__inner { padding: 28px 22px; }
}

/* --- reduced motion ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}
html.is-static { scroll-behavior: auto; }
html.is-static *, html.is-static *::before, html.is-static *::after {
  animation: none !important;
  transition: none !important;
}
html.is-static .step { opacity: 1; }

/* --- candidacy check ----------------------------------------------- */

.cc-step { animation: rise 320ms var(--ease-out) both; }
.cc-progress {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.cc-question {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
.cc-hint { font-size: 0.9375rem; color: var(--ink-3); margin: -8px 0 18px; }
.cc-options { display: flex; flex-direction: column; gap: 10px; }
.cc-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  font-size: 1.0625rem;
  cursor: pointer;
  transition: border-color 140ms var(--ease-out), background-color 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.cc-option::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: inherit;
}
.cc-option:hover { border-color: var(--green); transform: translateX(2px); }
.cc-option[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); }
.cc-option[aria-pressed="true"]::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px var(--green-soft); }
.cc-back {
  margin-top: 20px;
  padding: 6px 0;
  border: 0;
  background: none;
  font-size: 0.9375rem;
  color: var(--ink-3);
  cursor: pointer;
}
.cc-back:hover { color: var(--ink); }
.cc-line { font-size: 1.0625rem; color: var(--ink-2); margin-bottom: 12px; }
.cc-note {
  font-size: 0.9375rem;
  color: var(--ink-2);
  background: var(--ivory-2);
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 12px;
}
.form--inline { padding: 0; margin-top: 20px; background: transparent; }

/* --- shared section pieces ---------------------------------------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head--left { margin-bottom: 40px; }

.textlink {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  color: var(--green);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease-out);
}
.textlink:hover { border-bottom-color: var(--green); }
.textlink span { display: inline-block; transition: transform 160ms var(--ease-out); }
.textlink:hover span { transform: translateX(3px); }

/* --- situations ---------------------------------------------------- */

.situations { padding-block: clamp(64px, 8vw, 120px); }
.situations__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.situation {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.situation:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(27, 26, 23, 0.08);
}
.situation__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.situation h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.situation p { color: var(--ink-2); flex: 1; }

/* --- how it works -------------------------------------------------- */

.how {
  background: var(--ivory-2);
  padding-block: clamp(64px, 8vw, 120px);
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.how__sticky {
  grid-column: 1 / span 6;
  position: sticky;
  top: 112px;
}
.how__steps { grid-column: 8 / span 5; }

.arch {
  margin: 0;
  padding: 36px 28px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.arch svg { width: 100%; height: auto; overflow: visible; }
.arch__caption {
  position: relative;
  min-height: 3.2em;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink-2);
}
.arch__caption span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.arch[data-stage="0"] [data-arch-label="0"],
.arch[data-stage="1"] [data-arch-label="1"],
.arch[data-stage="2"] [data-arch-label="2"],
.arch[data-stage="3"] [data-arch-label="3"] { opacity: 1; transform: none; }

/* bone */
.arch__bone { fill: #e7dccb; stroke: var(--line); stroke-width: 1.5; }
.arch__bone-inner { fill: #efe6d7; }

/* scan overlay — stage 1 */
.arch__scan { opacity: 0; transition: opacity 360ms var(--ease-out); }
.arch__scan rect { fill: none; stroke: var(--green); stroke-width: 1.2; stroke-dasharray: 6 6; }
.arch__scan-grid { stroke: var(--green); stroke-width: 0.8; opacity: 0.35; }
.arch__scan-line { stroke: var(--green); stroke-width: 2; opacity: 0.9; }
.arch[data-stage="1"] .arch__scan { opacity: 1; }
.arch[data-stage="1"] .arch__scan-line { animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan {
  from { transform: translateY(0); }
  to { transform: translateY(192px); }
}

/* implants — stage 2+ */
.arch__implant {
  opacity: 0;
  transform: translateY(-70px);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
}
.arch__implant:nth-child(2) { transition-delay: 90ms; }
.arch__implant:nth-child(3) { transition-delay: 180ms; }
.arch__implant:nth-child(4) { transition-delay: 270ms; }
.arch__implant polygon { fill: var(--green); }
.arch__threads { stroke: rgba(246, 241, 232, 0.55); stroke-width: 1.4; }
.arch__abutment { fill: var(--green-2); }
.arch[data-stage="2"] .arch__implant,
.arch[data-stage="3"] .arch__implant { opacity: 1; transform: none; }

/* bridge — stage 3 */
.arch__bridge {
  opacity: 0;
  transform: translateY(-46px);
  transition: opacity 500ms var(--ease-out) 200ms, transform 800ms var(--ease-out) 200ms;
}
.arch__gum { fill: #dcb5aa; }
.arch__teeth rect { fill: #fdfbf7; stroke: #dccfbd; stroke-width: 1; }
.arch[data-stage="3"] .arch__bridge { opacity: 1; transform: none; }

/* reduced-motion / static: everything settled, nothing moving */
.arch.is-static *,
.arch.is-static { transition: none !important; animation: none !important; }

/* steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 40px 0 40px 64px;
  border-top: 1px solid var(--line);
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  opacity: 0.45;
  transition: opacity 320ms var(--ease-out);
}
.step[aria-current="step"] { opacity: 1; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-2);
  background: var(--ivory);
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out), border-color 320ms var(--ease-out);
}
.step[aria-current="step"]::before { background: var(--green); color: var(--ivory); border-color: var(--green); }
.step__tag {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.step p { color: var(--ink-2); }

@media (max-width: 900px) {
  .situations__list { grid-template-columns: 1fr; gap: 14px; }
  .situation { padding: 24px 22px; }

  .how__grid { grid-template-columns: 1fr; }
  .how__sticky { grid-column: auto; top: 76px; z-index: 2; }
  .how__steps { grid-column: auto; margin-top: 24px; }
  .arch { padding: 18px 14px 14px; }
  .arch__caption { font-size: 1.05rem; min-height: 2.8em; }
  .step { min-height: 0; padding: 28px 0 28px 56px; }
  .step::before { width: 40px; height: 40px; }
  .step h3 { font-size: 1.45rem; }
}

/* --- about (lead surgeon) ------------------------------------------ */

.about { padding-block: clamp(64px, 8vw, 120px); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: center;
}
.about__media {
  grid-column: 1 / span 5;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ivory-2);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.about__copy {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.nowrap { white-space: nowrap; }
.about__quote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: var(--green);
}
.creds li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

/* --- results --------------------------------------------------------- */

.results {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 120px);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--green);
}
.stats span { font-size: 0.9375rem; color: var(--ink-3); }

.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.story img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.story blockquote {
  margin: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.story__who { display: flex; flex-direction: column; gap: 2px; font-size: 0.9375rem; }
.story__who strong { font-weight: 600; }
.story__who span { color: var(--ink-3); }

/* --- pricing --------------------------------------------------------- */

.pricing { padding-block: clamp(64px, 8vw, 120px); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.pricing__copy {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.price {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price__main {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--green);
}
.price__from, .price__unit {
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-3);
  vertical-align: middle;
}
.price__alt { font-size: 1.125rem; color: var(--ink-2); }
.price__alt strong { color: var(--ink); font-weight: 600; }
.price__note { font-size: 0.9375rem; color: var(--ink-3); max-width: 34em; margin-top: 8px; }
.call--inline { padding: 0 6px; font-size: 1rem; }

.included {
  grid-column: 8 / span 5;
  background: var(--green);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 36px;
}
.included h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.checks--dark li { color: rgba(246, 241, 232, 0.9); }
.included__fine {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 241, 232, 0.2);
  font-size: 0.875rem;
  color: rgba(246, 241, 232, 0.7);
}

/* --- faq ------------------------------------------------------------- */

.faq {
  background: var(--ivory-2);
  padding-block: clamp(64px, 8vw, 120px);
}
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.faq__grid .section-head { grid-column: 1 / span 5; position: sticky; top: 112px; }
.faq__list { grid-column: 7 / span 6; }
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink-2);
  transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--green); color: var(--ivory); border-color: var(--green); }
.faq__item summary:hover::after { border-color: var(--green); }
.faq__answer { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq__answer a { color: var(--green); font-weight: 500; }
.faq__item[open] .faq__answer { animation: rise 320ms var(--ease-out) both; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .about__media { grid-column: auto; aspect-ratio: 4 / 3; }
  .about__media img { object-position: 50% 25%; }
  .about__copy { grid-column: auto; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 18px 16px; }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stories { grid-template-columns: 1fr; gap: 14px; }
  .story { padding: 22px; }

  .pricing__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .pricing__copy, .included { grid-column: auto; }
  .included { padding: 26px 22px; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .section-head, .faq__list { grid-column: auto; position: static; }
  .faq__item summary { font-size: 1.15rem; padding: 18px 0; }
  .faq__answer { padding-right: 0; }
}
