/* ==========================================================================
   Candor — clinical editorial med-spa template
   A Templatorium template · https://templatorium.pages.dev

   HOW TO RE-THEME (the 30-second version — full guide in docs/README.md):
   every color, font, and size the design uses is a custom property in the
   :root block directly below. Change the values there and the whole site
   follows. Everything below the tokens is structure; you should rarely need
   to touch it.

   A promise this template makes that yours should keep: every text/background
   pair in the shipped palette meets WCAG 2.2 AA (the worst pair is 6.1:1).
   If you swap colors, re-check them: https://webaim.org/resources/contrastchecker/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS — the re-theme contract
   -------------------------------------------------------------------------- */
:root {
  /* Color story: ivory / warm ink / garnet.
     The accent is used on LESS than 5% of any page — eyebrows, from-prices,
     one button style, focus rings, the ledger's top rule. Keep it that way:
     restraint is what makes it read as clinical rather than decorative. */
  --paper:          #F7F5F0; /* page background (warm ivory) */
  --surface:        #EFEBE2; /* alt sections, ledger fills, zebra rows */
  --ink:            #1C1B18; /* primary text; also the dark band ground */
  --muted:          #5B564C; /* secondary text, captions (6.7:1 on paper) */
  --line:           #D9D3C6; /* hairline rules — decorative only */
  --accent:         #8C2F3F; /* garnet — THE accent (7.4:1 on paper) */
  --accent-hover:   #732634; /* button hover (contrast rises, still passes) */
  --accent-ink:     #F7F5F0; /* text on accent fills (7.4:1) */

  /* Dark-ground palette. RULE: garnet #8C2F3F on ink is 2.1:1 — a computed
     FAIL. On ink grounds, always substitute --accent-on-dark instead. */
  --inverse-bg:     #1C1B18;
  --inverse-ink:    #F7F5F0; /* 15.8:1 on ink */
  --accent-on-dark: #E7B6BC; /* 9.7:1 on ink — links, prices, focus rings */
  --muted-on-dark:  #B8B2A4; /* 8.2:1 on ink — secondary text */

  /* Form input borders need >= 3:1 against the page; the decorative hairline
     (--line) is too faint, so inputs use --muted (6.7:1). */
  --input-border:   #5B564C;

  /* Type. All three faces are vendored in /fonts (free-for-commercial:
     Fontshare ITF FFL for Erode + Switzer, Google OFL for Fragment Mono). */
  --font-display: "Erode", Georgia, serif;              /* H1–H2, ledger labels */
  --font-body:    "Switzer", system-ui, sans-serif;     /* body, nav, buttons */
  --font-label:   "Fragment Mono", ui-monospace, SFMono-Regular, monospace; /* eyebrows, prices, tags */

  /* Scale. The jump IS the design: 96px display against 16px body with
     nothing mushy in between. */
  --t-display: clamp(44px, 7vw, 96px);
  --t-h2:      clamp(32px, 4.4vw, 56px);
  --t-h3:      22px;
  --t-body:    16px;
  --t-small:   14px;
  --t-label:   11px;   /* mono eyebrow size */

  /* Space & structure */
  --sp-section: clamp(72px, 9vw, 112px);  /* section rhythm */
  --sp-ledger:  40px;                     /* ledgers deliberately compress */
  --gutter:     24px;
  --max:        1200px;
  --rule-gap:   clamp(28px, 4vw, 52px);   /* breathing room around the center rule */

  /* Radius is 0 everywhere on purpose. Square is the clinical signature;
     the softness comes from ivory and the serif, not from corners. */
}

/* --------------------------------------------------------------------------
   2. FONT FACES — vendored woff2, no CDN, no rendering lottery
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Erode";
  src: url("../fonts/erode-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Erode";
  src: url("../fonts/erode-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Erode";
  src: url("../fonts/erode-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("../fonts/fragment-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

/* Focus is visible on EVERY ground. Light grounds: 2px garnet (7.4:1 as a
   non-text indicator, well over the 3:1 floor). Dark grounds override below.
   Never outline:none — anywhere. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.on-ink :focus-visible {
  outline-color: var(--accent-on-dark); /* 9.7:1 on ink */
}

/* Layout primitives */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sp-section); }
.section--surface { background: var(--surface); }

/* Skip link — first tab stop on every page */
.skip-link {
  position: absolute;
  left: var(--gutter); top: -100px;
  z-index: 100;
  background: var(--ink); color: var(--paper);
  font: 500 var(--t-small) var(--font-body);
  padding: 10px 18px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.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;
}

/* --------------------------------------------------------------------------
   4. TYPE ROLES
   -------------------------------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-display);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
/* The one italic word per page lives in the H1, colored ink — never accent. */
h1 em, .h1 em { font-style: italic; color: var(--ink); }

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-h2);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-h3);
  line-height: 1.3;
}

p { max-width: 68ch; }
.muted { color: var(--muted); }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 52ch; }

/* Mono eyebrow / kicker — "01 — INJECTABLES · FROM $12/UNIT" */
.eyebrow {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.on-ink .eyebrow { color: var(--accent-on-dark); }

/* Mono utility label — corner tags, consent captions, helper text */
.mono {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Inline file / code references share the mono register (case preserved) */
code {
  font-family: var(--font-label);
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

/* Prices & figures: always mono, always tabular so columns align to the digit */
.fig {
  font-family: var(--font-label);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.price { color: var(--accent); }
.on-ink .price { color: var(--accent-on-dark); } /* garnet is banned on ink */

/* --------------------------------------------------------------------------
   5. BUTTONS — primary garnet fill, secondary ink outline.
      Never two primaries in one viewport.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font: 500 15px/1.2 var(--font-body);
  padding: 14px 26px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
/* On the ink CTA band the primary inverts: ivory fill, ink text (15.8:1) */
.btn--inverse {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn--inverse:hover { background: var(--surface); border-color: var(--surface); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Mono click-to-call, used beside Book buttons */
.tel {
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.tel:hover { text-decoration: underline; }
.on-ink .tel { color: var(--inverse-ink); }

/* --------------------------------------------------------------------------
   6. ANNOUNCEMENT BAR + NAV
   -------------------------------------------------------------------------- */
.annc {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.annc .wrap {
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  justify-content: center;
  padding-block: 9px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.annc a { color: var(--accent); text-decoration: none; }
.annc a:hover { text-decoration: underline; }
/* The bar must hold ONE line at 390px — nudge the size down on the
   narrowest phones rather than let the copy wrap. */
@media (max-width: 430px) {
  .annc .wrap { font-size: 11px; letter-spacing: 0.04em; }
}

.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.nav .wrap {
  display: flex; align-items: center; gap: 28px;
  min-height: 72px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.wordmark .tld { color: var(--muted); } /* the quiet half of the wordmark */

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font: 500 14px/1 var(--font-body);
  color: var(--ink);
  text-decoration: none;
  padding-block: 8px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.nav-actions { display: flex; align-items: center; gap: 22px; }

/* Hamburger — hidden on desktop, shown at the collapse point.
   44px minimum both ways: the brief's tap-target floor (§11). */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--ink);
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .bars {
  display: block; width: 18px; height: 2px; background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink);
}

/* --------------------------------------------------------------------------
   7. THE RULED ASYMMETRIC SPLIT — the page's structural signature.
      7 columns of prose left, 5 of evidence right, one visible hairline
      between. At the stack point the vertical rule becomes horizontal.
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.split > .split-main  { padding-right: var(--rule-gap); }
.split > .split-aside { border-left: 1px solid var(--line); padding-left: var(--rule-gap); }

/* A grid break: content that deliberately crosses the center rule */
.crossing {
  grid-column: 1 / -1;
  max-width: 82%;
  margin-top: clamp(40px, 6vw, 64px);
}

/* --------------------------------------------------------------------------
   8. THE LEDGER — the signature component. A hairline-ruled fact table:
      garnet top rule, Erode labels, tabular mono values, dotted leaders.
      The home hero runs it oversized as the entire right column; it recurs
      at standard scale on treatment pages and in pricing sections.
   -------------------------------------------------------------------------- */
.ledger {
  background: var(--surface);
  border-top: 1px solid var(--accent); /* the only garnet rule on the page */
  padding: 28px 28px 20px;
}
.ledger-caption {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.ledger .row {
  display: flex; align-items: baseline; gap: 12px;
  padding-block: 13px;
  position: relative;
}
/* The row's hairline is an element (not a border) so motion can "draw" it */
.ledger .row::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line);
}
.ledger .row:last-of-type::after { display: none; }

/* The dt carries both the label and the dotted leader — inside dl > div
   only dt/dd may appear, so the leader lives IN the dt (valid HTML) and
   the dt flexes to fill the row while the dd hugs the right edge. */
.ledger dt {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: 1 1 auto; /* auto basis: the label claims its own width first,
                     then the leader inside absorbs the leftover */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
}
/* Dotted leader between label and value, like a lab report. The 32px floor
   keeps the dots visible even on the longest rows. */
.leader {
  flex: 1 0 32px;
  min-width: 32px;
  border-bottom: 1px dotted var(--muted);
  transform: translateY(-4px);
}
.ledger dd {
  font-family: var(--font-label);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  text-align: right;
  color: var(--ink);
}
.ledger dd .price { font-size: inherit; }
/* Price qualifiers ("from") are muted — garnet belongs to the figure only,
   and no price ships unqualified (deceptive-pricing exposure otherwise). */
.ledger dd .qual { color: var(--muted); }

/* Ledger footnote — every evidence object terminates in a booking action */
.ledger-foot {
  padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: baseline; justify-content: space-between;
}
.ledger-foot .note {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.arrow-link {
  font: 500 14px/1.3 var(--font-body);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.arrow-link:hover { color: var(--accent); }

/* Oversized hero variant — values at 28px, the evidence IS the second column */
.ledger--hero dt { font-size: clamp(17px, 1.6vw, 20px); }
.ledger--hero dd { font-size: clamp(20px, 2.2vw, 28px); }
.ledger--hero dd .qual { font-size: 15px; } /* "from" stays small at hero scale */
.ledger--hero .row { padding-block: 16px; }

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero { padding-block: var(--sp-section); }
.hero .lede { margin-top: 28px; }
.hero .btn-row { margin-top: 36px; }
.hero-proof {
  margin-top: 40px;
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Page hero (interior pages) — same structure, smaller stakes */
.page-hero { padding-block: clamp(56px, 7vw, 88px); }
.page-hero .lede { margin-top: 24px; }

/* --------------------------------------------------------------------------
   10. CONCERN-BROWSE STRIP — full-bleed index, breaks the max-width.
       Big serif links, mono counts, whole row is the hit target.
   -------------------------------------------------------------------------- */
.concerns { background: var(--surface); border-block: 1px solid var(--line); }
.concerns-head { padding-top: var(--sp-ledger); }
.concern-row {
  display: block;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.concern-row:first-of-type { border-top: 0; }
.concern-row:hover { background: var(--paper); }
.concern-row .wrap {
  display: flex; align-items: baseline; gap: 16px;
  padding-block: clamp(20px, 3vw, 30px);
}
.concern-row .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.concern-row .count {
  margin-left: auto;
  font-family: var(--font-label);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.concern-row .go { font-family: var(--font-label); font-size: 16px; color: var(--accent); }

/* --------------------------------------------------------------------------
   11. IMAGE SLOTS — art-directed placeholders, never auto-faked.
       Bone-on-ivory line-art frames carrying the slot's crop spec. Replace
       the whole .slot div with an <img> of the same ratio (see docs).
   -------------------------------------------------------------------------- */
.slot {
  background:
    linear-gradient(to top right,
      transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px),
      var(--line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right,
      transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px),
      var(--line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 16px;
}
.slot--45 { aspect-ratio: 4 / 5; }  /* portraits, treatments, case pairs */
.slot--32 { aspect-ratio: 3 / 2; }  /* interiors, map */
.slot .spec {
  background: var(--surface);
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  padding: 8px 10px;
  max-width: 100%;
}

/* Mono corner tag — "FIG. 01", "BEFORE — WEEK 0" */
.figtag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   12. TREATMENT CARDS — 1px hairline, 0 radius, full-bleed image, mono
       from-price. One double-width featured card per row set; never three
       identical cards in a row.
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 44px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.card--featured { grid-column: span 2; }
.card .slot { border: 0; border-bottom: 1px solid var(--line); } /* image is full-bleed to the card edge */
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19px; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.card-body .sum { font-size: var(--t-small); color: var(--muted); line-height: 1.5; }
.card-meta {
  margin-top: auto; padding-top: 16px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.card-meta .price { font-size: 14px; }
.card-meta .go { font-family: var(--font-label); font-size: 15px; color: var(--ink); }

/* --------------------------------------------------------------------------
   12b. TREATMENT LEDGER LIST — the ledger grammar as navigation. Each row
        is "name ···· from-price →" and the whole row links to the
        treatment's page. Used two ways:
        - the concern groups on the treatments index (every width), and
        - the category card grids at phone widths (.cat-ledger below), where
          only the lead card keeps its image and the rest become rows.
   -------------------------------------------------------------------------- */
.t-ledger { list-style: none; }
.t-ledger li { border-bottom: 1px solid var(--line); }
.t-ledger li:first-child { border-top: 1px solid var(--line); }
.t-ledger a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;            /* tap-target floor, brief §11 */
  padding-block: 12px;
  color: var(--ink);
  text-decoration: none;
}
.t-ledger .t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
}
.t-ledger a:hover .t { text-decoration: underline; text-underline-offset: 4px; }
.t-ledger .price { font-size: 14px; white-space: nowrap; }
.t-ledger .go { font-family: var(--font-label); font-size: 15px; color: var(--ink); }

/* Phone-width collapse (activated in the responsive block, §23): hidden on
   desktop, where the cards carry the section. */
.cat-ledger { display: none; }

/* Concern groups — each concern is its own anchored landing on the
   treatments index: the concern's name plus a direct treatment list. Deep
   links from the home strip and the footer land right here, one hop. */
.concern-group { border-top: 1px solid var(--line); padding-block: clamp(28px, 4vw, 44px); }
.concern-group h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.concern-group .count {
  font-family: var(--font-label);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.concern-group .t-ledger { margin-top: 16px; max-width: 760px; }

/* --------------------------------------------------------------------------
   13. CASE PAIRS — before/after, compliant by construction. Ships EMPTY:
       labeled slots for your consented patient photos. No boxes: each pair
       runs full-width across the ruled split, its frames CROSS the center
       rule (the page's grid break, brief §5), and the caption sits in the
       opposite column. Pairs alternate left/right down the page. The
       results-vary + consent caption is part of the component — leave it in.
   -------------------------------------------------------------------------- */
.case-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  position: relative;
  padding-block: clamp(36px, 5vw, 56px);
}
.case-row + .case-row { border-top: 1px solid var(--line); }
/* the split's center rule, drawn through the row so the frames cross it */
.case-row::before {
  content: "";
  position: absolute; top: 0; bottom: 0;
  left: calc(100% * 7 / 12);
  width: 1px;
  background: var(--line);
}
.case-row .case-frames { grid-column: 1 / -1; grid-row: 1; width: 78%; }
.case-row--left  .case-frames { justify-self: start; }
.case-row--right .case-frames { justify-self: end; }
.case-info { grid-row: 2; margin-top: 18px; }
.case-row--left  .case-info { grid-column: 2; padding-left: var(--rule-gap); }
.case-row--right .case-info { grid-column: 1; padding-right: var(--rule-gap); }

.case-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  position: relative;
}
/* the pair's own hairline, between before and after */
.case-frames::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--line);
}
.case-caption {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.8;
}
.case-title { font: 600 16px/1.4 var(--font-body); }

/* Consent note block — sits above every case grid */
.consent-note {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  background: var(--surface);
  padding: 20px 24px;
  margin-top: 36px;
  max-width: 68ch;
}
.consent-note p { font-size: var(--t-small); color: var(--ink); }
.consent-note .mono { color: var(--muted); display: block; margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   14. PROVIDER / CREDENTIAL ROW — credentials as structured UI
   -------------------------------------------------------------------------- */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 44px;
}
.provider { border: 1px solid var(--line); background: var(--paper); }
/* The medical director leads at double width (with a wider 3:2 portrait) —
   the same variation grammar as the treatment grids: never a row of
   identical cards. */
.provider--featured { grid-column: span 2; }
.provider .slot { border: 0; border-bottom: 1px solid var(--line); }
.provider-body { padding: 18px 20px 22px; }
.provider-body .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
}
.provider-body .role { font-size: var(--t-small); color: var(--muted); margin-top: 4px; }
.cred-stack {
  list-style: none;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.cred-stack li {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}

/* Team-page hero: the four portraits ARE the evidence column, standing in
   for the ledger — the people are the proof on this page. */
.portrait-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.portrait-wall .figtag { margin: 8px 0 0; }

/* --------------------------------------------------------------------------
   15. PULL QUOTE — crosses the center rule (grid break #2)
   -------------------------------------------------------------------------- */
.pull {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  border-top: 1px solid var(--accent);
  padding-top: 24px;
}
.pull cite {
  display: block;
  margin-top: 16px;
  font: 400 var(--t-label) var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   16. FAQ — hairline-ruled disclosure list
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); margin-top: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font: 600 17px/1.4 var(--font-body);
  padding: 18px 32px 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-label);
  font-size: 18px;
  color: var(--accent);
}
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* --------------------------------------------------------------------------
   17. FORMS — labels above fields, real borders, inline errors in garnet
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px var(--gutter);
  margin-top: 36px;
  max-width: 720px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 14px/1.3 var(--font-body); }
.field .hint {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font: 400 16px/1.4 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--input-border); /* 6.7:1 — hairline is too faint for inputs */
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
}
.field select { appearance: none; }
.field .select-wrap { position: relative; }
.field .select-wrap::after {
  content: "↓";
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-label);
  color: var(--muted);
  pointer-events: none;
}
.error { color: var(--accent); font-size: var(--t-small); } /* 7.4:1 */

/* --------------------------------------------------------------------------
   18. CTA BAND — full-bleed ink. Garnet is banned here; the accent's only
       form on this ground is #E7B6BC.
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  padding-block: var(--sp-section);
}
.cta-band h2 { max-width: 16ch; }
.cta-band h2 em { font-style: italic; color: var(--inverse-ink); }
.cta-band .from-line {
  margin-top: 22px;
  font-family: var(--font-label);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}
.cta-band .btn-row { margin-top: 34px; }
.cta-band .sub { color: var(--muted-on-dark); margin-top: 26px; font-size: var(--t-small); }

/* --------------------------------------------------------------------------
   19. FOOTER — ink ground, four columns, mono NAP, compliance lines
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  border-top: 1px solid #3a382f; /* visible seam when footer follows the CTA band */
  padding-block: 64px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px var(--gutter);
}
.site-footer .wordmark { color: var(--inverse-ink); }
.site-footer .nap {
  margin-top: 20px;
  font-family: var(--font-label);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  font-style: normal;
  color: var(--muted-on-dark);
}
.site-footer .nap a { color: var(--inverse-ink); text-decoration: none; }
.site-footer .nap a:hover { text-decoration: underline; }
.footer-col h2 {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { padding-block: 5px; }
.footer-col a {
  font: 400 var(--t-small)/1.5 var(--font-body);
  color: var(--inverse-ink);
  text-decoration: none;
}
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-fine {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #3a382f;
  display: flex; flex-wrap: wrap; gap: 10px 32px;
  justify-content: space-between;
}
.footer-fine p {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  max-width: none;
}

/* --------------------------------------------------------------------------
   20. BOOKING STUB — integration-agnostic slot (Boulevard, Vagaro, Zenoti,
       Aesthetic Record, Calendly…). See docs/README.md § booking.
   -------------------------------------------------------------------------- */
.booking-stub {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 36px;
}
.booking-stub .mono { color: var(--muted); display: block; margin-bottom: 14px; }
.booking-stub p { font-size: var(--t-small); color: var(--muted); }
.booking-stub .btn-row { margin-top: 22px; }

/* Contact info list */
.info-list { list-style: none; margin-top: 28px; }
.info-list li {
  display: flex; gap: 16px; align-items: baseline;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
}
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list .k {
  font-family: var(--font-label);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 92px;
}
.info-list .v { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   21. STICKY MOBILE CALL BAR — appears at the collapse point only
   -------------------------------------------------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--inverse-bg);
  border-top: 1px solid #3a382f;
  padding: 6px var(--gutter);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
/* The click-to-call is the #1 mobile conversion action — both controls in
   this bar clear the 44px tap floor (brief §11). */
.mobile-bar .tel {
  color: var(--inverse-ink);
  font-size: 13px;
  display: inline-block;
  padding-block: 12px;
}
.mobile-bar .btn { padding: 12px 20px; }

/* --------------------------------------------------------------------------
   22. MOTION — one meaningful move: ledger rows settle and their hairlines
       draw, so the chart "prints" on first view. Everything else is a quiet
       240ms fade-rise. All of it exists ONLY inside no-preference; with
       prefers-reduced-motion the content simply renders.
       (html.js is set by js/main.js — without JS nothing ever hides.)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* IMPORTANT PATTERN: nothing is ever hidden by default. The .in class —
     added the moment an element ENTERS the viewport — plays a keyframe
     animation whose `backwards` fill supplies the hidden start frame. So a
     browser that never scrolls (print, full-page screenshots, no-JS)
     renders the complete page, and a person scrolling sees the reveal. */
  html.js .reveal.in {
    animation: candor-rise 0.24s ease backwards;
  }
  html.js .ledger.in .row {
    animation: candor-rise 0.35s ease backwards;
    animation-delay: calc(var(--i, 0) * 60ms);
  }
  html.js .ledger.in .row::after {
    transform-origin: left;
    animation: candor-draw 0.35s ease backwards;
    animation-delay: calc(var(--i, 0) * 60ms + 120ms);
  }
}
@keyframes candor-rise {
  from { opacity: 0; transform: translateY(10px); }
}
@keyframes candor-draw {
  from { transform: scaleX(0); }
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE — one codebase. The split stacks and its vertical rule
       becomes a horizontal one; the ledger keeps its ruled tabular character
       at full width, so the signature survives 390px.
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split > .split-main { padding-right: 0; }
  .split > .split-aside {
    border-left: 0;
    border-top: 1px solid var(--line);   /* the rule rotates */
    padding-left: 0;
    padding-top: 40px;
    margin-top: 40px;
  }
  .crossing { max-width: 100%; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card--featured { grid-column: 1 / -1; }
  .provider-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Case rows stack with the split: frames full-width, caption beneath,
     the crossing rule retires with the column it crossed. */
  .case-row { grid-template-columns: 1fr; }
  .case-row::before { display: none; }
  .case-row .case-frames { width: 100%; }
  .case-row--left .case-info,
  .case-row--right .case-info { grid-column: 1; padding-inline: 0; }
}

@media (max-width: 720px) {
  /* Nav collapses: wordmark + hamburger + persistent Book button.
     The wordmark drops its quiet half and the button tightens so all
     three fit a 360px viewport. */
  .nav .wrap { gap: 14px; }
  .nav-actions { gap: 14px; }
  /* Compressed, but never under the 44px tap floor — the squeeze here is
     horizontal; vertical padding is free. */
  .nav-actions .btn { padding: 13px 14px; font-size: 14px; }
  .wordmark .tld { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding-block: 14px; font-size: 16px; }
  .nav-actions .tel { display: none; } /* click-to-call moves to the sticky bar */

  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; } /* clear the sticky bar */

  .card-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: 1fr; }
  .provider--featured { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }

  /* Footer: brand block full-width, then the nav columns two-up — a
     single stack would nearly double the footer on a phone. */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px var(--gutter); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  /* Phones read the page as one column — the section rhythm tightens so
     the scroll stays proportionate. */
  .section, .cta-band { padding-block: 56px; }
  .hero { padding-block: 48px; }

  /* Category collapse: on phones the card grid would scroll forever, so
     each category keeps only its lead card's image and the remaining
     treatments become a ledger list (.cat-ledger) — same facts, a tenth
     of the height. */
  .card-grid--collapse .card { display: none; }
  .card-grid--collapse .card:first-child { display: flex; }
  .cat-ledger { display: block; margin-top: var(--gutter); }

  .concern-row .wrap { flex-wrap: wrap; }
  .concern-row .count { margin-left: 0; flex-basis: 100%; }

  /* Case pairs stack; the caption stays attached to its pair */
  .case-frames { grid-template-columns: 1fr; gap: 22px 0; }
  .case-frames::before { display: none; }

  .info-list .k { flex-basis: 76px; }
}

/* --------------------------------------------------------------------------
   24. PRINT — a price-transparent clinic should print cleanly too
   -------------------------------------------------------------------------- */
@media print {
  .annc, .nav-toggle, .mobile-bar, .cta-band { display: none; }
  .ledger { border: 1px solid #000; }
}
