@charset "utf-8";

/* ==========================================================================
   Iron Spine Chiropractic
   Dark chrome, warm paper body, amber accent taken from the clinic's own wall.
   Display: Source Serif 4 (variable). Text: Inter (variable). Both self-hosted, OFL.

   Motion policy: per the PW force-motion standard v2, full motion is the default and the OS
   prefers-reduced-motion flag is never read (spuriously on for RDP, VMs and Windows "best
   performance"). Motion is suppressed only by html.motion-off, set by the visitor's own
   Reduce motion button (in the footer, only on pages with motion) and stored in localStorage pvi-motion.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. fonts */

/*
 * Both faces use font-display: optional rather than swap.
 *
 * Swapping either one in after first paint re-wraps text, and the hero sections align
 * their content to the bottom of a min-height box, so a small change in text height
 * becomes a large positional jump, measured at 0.10-0.11 CLS on throttled mobile, at or
 * past the Core Web Vitals failure threshold. `optional` makes that structurally
 * impossible: the browser either has the font before first paint or renders the
 * fallback and does not swap during that page load.
 *
 * The trade is safe here because both files are preloaded, same-origin, latin-subset
 * (48 KB and 67 KB) and served immutable. Verified at 1.6 Mbps with 4x CPU throttling:
 * both still win the race on a cold load. The fallback stacks are metrically close
 * (system sans for Inter, Georgia/Times for Source Serif 4) if they ever do not.
 */
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/*
 * Source Serif 4 replaced Fraunces on 26 August 2026 after the owner found the display
 * face hard to read in component headings. Fraunces is a high-contrast face whose
 * hairlines vanish at small sizes; Source Serif keeps the serif identity with a larger
 * x-height and far lower stroke contrast, and its optical-size axis is left on automatic
 * so the browser tunes it per font-size instead of the fixed opsz pins Fraunces needed.
 */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- 2. tokens */

:root {
  --ink: #14100f;
  --ink-2: #1c1615;
  --ink-3: #261e1c;
  --ink-4: #322725;

  --paper: #f6f1ea;
  --paper-2: #ede5da;
  --paper-3: #e2d7c8;

  --bone: #f2ede3;
  /* 2026-11-19: the amber tokens now carry the Oxblood & Bone palette (names kept) */
  --amber: #7a1f22;        /* 8.6:1 on --paper, safe for small text and icons */
  --amber-lit: #d9645e;
  --amber-glow: #f0a29b;
  --petrol: #3b1517;
  /* The home page's highlight colour, in one place. Dr. Marty (2026-11-22) asked for the pink
     highlights on the home page to be red for now; he wants to look at colour options later.
     5.0:1 on --ink, where nearly all of them sit. */
  --home-highlight: #ef4444;

  --text: #171f26;
  --text-2: #44535f;       /* 8.0:1 on --paper */
  --text-3: #53616c;       /* 6.0:1 on --paper, 5.0:1 on --paper-2 */
  --on-dark: #ece6db;
  --on-dark-2: #b6c4cf;    /* 8.3:1 on --ink */

  --line: #d8cfbe;
  --line-dark: #3a2d2a;

  --font-text: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;

  --step--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
  --step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.09rem);
  --step-1: clamp(1.16rem, 1.10rem + 0.30vw, 1.36rem);
  --step-2: clamp(1.36rem, 1.24rem + 0.58vw, 1.75rem);
  --step-3: clamp(1.62rem, 1.40rem + 1.05vw, 2.32rem);
  --step-4: clamp(1.94rem, 1.56rem + 1.85vw, 3.10rem);
  --step-5: clamp(2.30rem, 1.66rem + 3.10vw, 4.20rem);
  --step-6: clamp(2.70rem, 1.55rem + 5.55vw, 6.00rem);

  --gap: clamp(1rem, 0.7rem + 1.5vw, 1.75rem);
  --pad-x: clamp(1.1rem, 0.6rem + 2.4vw, 2.75rem);
  --sec-y: clamp(3.5rem, 2.2rem + 5vw, 7rem);
  --wrap: 1240px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgb(20 16 15 / .06), 0 4px 14px -6px rgb(20 16 15 / .12);
  --shadow: 0 2px 6px rgb(20 16 15 / .07), 0 18px 40px -22px rgb(20 16 15 / .30);
  --shadow-lg: 0 4px 12px rgb(20 16 15 / .09), 0 36px 70px -34px rgb(20 16 15 / .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 480ms;
}

/* ----------------------------------------------------------------- 3. base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.017em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--amber-lit);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

img, picture, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
/* Block-level <picture>. As an inline box it contributes the image's intrinsic width
   to grid min-content sizing, which overflowed .photo-pair at 320/390 px. */
/* height:100% so a <picture> fills a fixed-ratio frame and the img's object-fit/position
   actually crops. Without it the img keeps its own height and the frame just clips its
   bottom, so every card showed the TOP of the photo (hidden while the old photos happened
   to have their subjects up top; exposed by the portrait-shaped November 2026 photos). In
   an auto-height parent the percentage resolves to auto, so nothing else changes. */
picture { display: block; min-width: 0; height: 100%; }
/* Grid/flex children default to min-width:auto and refuse to shrink below content. */
.card-grid > li, .team-grid > li,
.photo-pair > *, .compare__grid > *, .proof__list > li { min-width: 0; }
svg.icon { flex: none; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--amber-lit); color: var(--ink); }

/* ------------------------------------------------------------- 4. utilities */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap--narrow { max-width: 880px; }
/*
 * margin-inline here, not only on .wrap: pages nest a bare .wrap--reading column inside a
 * wide section, and without its own auto margins that column pinned left while sibling
 * sections centred theirs, which read as two different page widths. One declaration makes
 * every reading column centre regardless of how it is mounted.
 */
.wrap--reading { max-width: 760px; margin-inline: auto; }
/* Wide components that interrupt a reading flow sit at a middle measure, centred, so the
   page steps 760 -> 1080 -> 760 symmetrically instead of slamming to the full 1240 rail. */
.steps--wide, .split-cols { max-width: 1080px; margin-inline: auto; }
.section-sub-h { text-align: center; }

.u-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 0; left: 50%; translate: -50% -120%;
  z-index: 200; padding: .85rem 1.5rem;
  background: var(--amber-lit); color: var(--ink);
  font-weight: 650; text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: translate 180ms var(--ease);
}
.skip-link:focus { translate: -50% 0; }

.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(2.4rem, 1.6rem + 3vw, 4.5rem); }

/*
 * Section rhythm.
 *
 * Two problems were fixed here. Several pages stacked light sections that shared one
 * background, so multiple screens of content read as a single undifferentiated column
 * (worst case: the home page ran about 4300 px of unbroken cream across three sections).
 * And a run of untinted sections had no seam at all.
 *
 * Two mechanisms, belt and braces:
 *
 *   1. A run of consecutive untinted `.section` elements alternates tone. The run
 *      restarts after any non-section band, so a section that already declares its own
 *      tint keeps it when it opens a run.
 *   2. Every boundary between two adjacent light bands carries a hairline. Boundaries
 *      that touch a dark band are excluded, because that edge is already hard contrast.
 *
 * `scripts/verify.mjs` asserts the invariant in a real browser across every route, so a
 * new page cannot reintroduce a seamless join.
 */
main > .section + .section { background: var(--paper-2); }
main > .section + .section + .section { background: var(--paper); }
main > .section + .section + .section + .section { background: var(--paper-2); }
main > .section + .section + .section + .section + .section { background: var(--paper); }

main > * + * { border-top: 1px solid var(--line); }
main > :is(.hero, .page-hero, .flag-hero, .contact-hero, .legal-hero, .err,
           .proof, .doctor, .social-proof, .cta-band) + *,
main > * + :is(.hero, .page-hero, .flag-hero, .contact-hero, .legal-hero, .err,
               .proof, .doctor, .social-proof, .cta-band) { border-top: 0; }

/* Runs that the alternation above cannot reach, because a non-section band opens them. */
.experience + .section--faq { background: var(--paper); }

/*
 * Wrapping card rows.
 *
 * CSS Grid always packs a short final row to the start, which strands a lone card at the
 * left under full rows above it. These are flex rows instead, so a short final row
 * centres. The track count itself comes from the item count: `rowCols()` in
 * src/templates/blocks.mjs picks a count that never leaves a remainder of exactly one,
 * and passes it in as --cols-sm/md/lg/xl. Both halves matter, because centring a lone
 * card still leaves a lone card.
 *
 * The group is wrapped in :where() so it carries no specificity and any per-grid override
 * wins regardless of source order.
 */
:where(.card-grid, .team-grid,
       .sitemap-grid, .proof__list, .contact-actions, .steps) {
  flex-wrap: wrap;
  justify-content: center;
  --colgap: var(--gap);
  --cols: var(--cols-sm, 1);
}
:where(.card-grid, .team-grid,
       .sitemap-grid, .proof__list, .contact-actions, .steps) > * {
  flex: 0 1 calc((100% - (var(--cols) - 1) * var(--colgap)) / var(--cols));
  min-width: 0;
}
@media (min-width: 560px) {
  :where(.card-grid, .team-grid,
         .sitemap-grid, .proof__list, .contact-actions, .steps) { --cols: var(--cols-md, 2); }
}
@media (min-width: 820px) {
  :where(.card-grid, .team-grid,
         .sitemap-grid, .proof__list, .contact-actions, .steps) { --cols: var(--cols-lg, 3); }
}
@media (min-width: 1040px) {
  :where(.card-grid, .team-grid,
         .sitemap-grid, .proof__list, .contact-actions, .steps) { --cols: var(--cols-xl, var(--cols-lg, 3)); }
}
@media (min-width: 1280px) {
  :where(.card-grid, .team-grid,
         .sitemap-grid, .proof__list, .contact-actions, .steps) { --cols: var(--cols-xxl, var(--cols-xl, var(--cols-lg, 3))); }
}


/*
 * Wellness: two columns that deliberately say opposite things, and a table cell carrying a
 * description where the fee tables carry a price. The fee rule sets nowrap and tabular
 * numerals, which is right for money and blows a prose cell out sideways, so the wide
 * variant undoes exactly those three declarations and nothing else.
 */
/* A sub-heading inside a long page's section, above a block that is not a prose block. */
.section-sub-h {
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600;
  margin: 3rem 0 1.25rem;
}
.split-cols { display: grid; gap: 2rem var(--gap); }
@media (min-width: 760px) { .split-cols { grid-template-columns: 1fr 1fr; } }
.split-cols__h {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600;
}
.split-cols__h svg { flex: none; color: var(--amber); }
.ticks--muted svg { color: var(--text-3); }
.fees__table td.fees__wide {
  text-align: left; white-space: normal; font-weight: 400;
  font-variant-numeric: normal; line-height: 1.55;
}

/* Chip lists wrap to whatever fits, so centre them rather than leave a ragged last row. */
.related__list { justify-content: center; }
.related__h { text-align: center; }
.section__after { margin-top: 2.5rem; text-align: center; color: var(--text-2); }
.section__after a { color: var(--amber); font-weight: 600; }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
}

.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}
.eyebrow__tick {
  width: 26px; height: 2px; background: currentColor; flex: none; opacity: .8;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 24px;
  color: var(--amber); font-weight: 650; text-decoration: none;
  border-bottom: 1.5px solid color-mix(in srgb, var(--amber) 35%, transparent);
  padding-bottom: 2px;
  transition: gap 220ms var(--ease), border-color 220ms var(--ease);
}
.link-arrow:hover { gap: .8rem; border-bottom-color: var(--amber); }
.link-arrow--lg { font-size: var(--step-1); margin-top: 1.5rem; }

/* --------------------------------------------------------------- 5. buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  padding: .78rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: var(--step--1);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), translate 200ms var(--ease),
              box-shadow 200ms var(--ease);
}
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 0; }
.btn--sm { min-height: 42px; padding: .5rem 1.05rem; }
.btn--lg { min-height: 54px; padding: .95rem 1.9rem; font-size: var(--step-0); }
.btn--block { width: 100%; }

.btn--primary { background: var(--ink); color: var(--bone); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink-3); box-shadow: var(--shadow); }

.btn--accent { background: #8e2427; color: #fff; box-shadow: 0 10px 30px -12px rgb(142 36 39 / .7); }
.btn--accent:hover { background: #741d20; }

.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); background: rgb(20 16 15 / .04); }

.btn--outline-light { background: transparent; color: var(--on-dark); border-color: rgb(236 230 219 / .38); }
.btn--outline-light:hover { border-color: var(--on-dark); background: rgb(236 230 219 / .09); }

.btn--ghost { background: transparent; color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: rgb(20 16 15 / .05); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }

/* Home page only: the pink accents (highlighted headline words, eyebrows, stars, icons) read
   as red. Scoped to <main> so the header, footer and every other page are unchanged. */
.page-home main { --amber-glow: var(--home-highlight); --amber-lit: var(--home-highlight); }

/* ---------------------------------------------------- 6. header + navigation */

.topbar {
  background: var(--ink);
  color: var(--on-dark-2);
  font-size: var(--step--2);
  border-bottom: 1px solid rgb(236 230 219 / .08);
}
.topbar__in { display: flex; align-items: center; gap: 1.5rem; min-height: 40px; }
.topbar__note { display: flex; align-items: center; gap: .45rem; margin: 0; }
.topbar__note svg { color: var(--amber-lit); }
.topbar__note--status { margin-inline-start: auto; }
.topbar__note--status [data-open-status].is-open { color: #7bd6a0; }
.topbar__note--langs { margin-inline-start: 1.5rem; }
@media (max-width: 1180px) { .topbar__note--langs { display: none; } }
.topbar__phone {
  display: flex; align-items: center; gap: .4rem; min-height: 24px;
  color: var(--on-dark); text-decoration: none; font-weight: 650;
}
.topbar__phone:hover { color: var(--amber-glow); }
@media (max-width: 1000px) {
  .topbar__note--langs { display: none; }
  .topbar__phone { margin-inline-start: auto; }
}
.topbar__phone + .topbar__phone { margin-inline-start: 0; }   /* Call and Text sit together */
@media (max-width: 620px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgb(236 230 219 / .09);
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.site-header.is-stuck { background: color-mix(in srgb, var(--ink) 98%, transparent); box-shadow: 0 14px 40px -22px rgb(0 0 0 / .9); }
.site-header__in { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }

.brand { text-decoration: none; color: var(--on-dark); flex: none; }
/* Dr. Marty's own logo (supplied 2026-11-19), an image: see wordmark() in src/templates/icons.mjs.
   The header and footer are dark, so they carry the reversed file. The height is set here; the
   width follows from the image's width and height attributes, so nothing shifts as it loads. */
.wordmark { display: block; line-height: 0; }
.logo { display: block; height: 52px; width: auto; max-width: none; }   /* 44 until 2026-11-22: Dr. Marty asked for "Chiropractic" a little bigger, and it is part of the logo artwork */
.brand--footer .logo { height: 64px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: .1rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: block; padding: .6rem .62rem; white-space: nowrap;
  color: var(--on-dark-2); text-decoration: none;
  font-size: var(--step--1); font-weight: 550;
  border-radius: 8px;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--on-dark); background: rgb(236 230 219 / .07); }
.nav__link.is-current { color: var(--amber-glow); }

.nav__toggle {
  display: grid; place-items: center;
  width: 24px; height: 30px; margin-inline-start: -.5rem;
  background: none; border: 0; color: var(--on-dark-2); cursor: pointer;
  transition: rotate 220ms var(--ease), color 180ms var(--ease);
}
/* The :hover halves below are the no-JS fallback. Once site.js takes over it marks the
   nav .nav--js and drives both from aria-expanded, so a panel can outlive the pointer
   leaving its trigger for long enough to reach it. */
.nav:not(.nav--js) .nav__item--has-sub:hover .nav__toggle,
.nav__toggle[aria-expanded="true"] { rotate: 180deg; color: var(--amber-glow); }

.nav__panel {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  min-width: 276px; padding: .55rem;
  background: var(--ink-2);
  border: 1px solid rgb(236 230 219 / .12);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / .85);
  opacity: 0; pointer-events: none;
  translate: -50% 8px;
  transition: opacity 200ms var(--ease), translate 200ms var(--ease);
}
.nav__panel[hidden] { display: block; }
.nav:not(.nav--js) .nav__item--has-sub:hover .nav__panel,
.nav:not(.nav--js) .nav__item--has-sub:focus-within .nav__panel,
.nav__panel.is-open { opacity: 1; pointer-events: auto; translate: -50% 0; }
.nav__sub a {
  display: block; padding: .55rem .75rem; border-radius: 9px;
  color: var(--on-dark); text-decoration: none;
}
.nav__sub a:hover { background: rgb(236 230 219 / .09); }
.nav__sub-label { display: block; font-size: var(--step--1); font-weight: 600; }
.nav__sub-note { display: block; font-size: var(--step--2); color: var(--on-dark-2); margin-top: .1rem; }

.site-header__cta { display: flex; gap: .5rem; flex: none; }
.site-header__cta .btn--ghost { color: var(--on-dark-2); }
.site-header__cta .btn--ghost:hover { color: var(--on-dark); background: rgb(236 230 219 / .1); }
.site-header__cta .btn--primary { background: #8e2427; color: #fff; }
.site-header__cta .btn--primary:hover { background: #741d20; }

.burger {
  display: none; place-items: center;
  width: 48px; height: 48px; margin-inline-start: auto; margin-inline-end: -.5rem;
  background: none; border: 0; color: var(--on-dark); cursor: pointer;
}
.burger__box { display: grid; place-items: center; }
.burger__box > * { grid-area: 1 / 1; transition: opacity 180ms var(--ease), rotate 240ms var(--ease); }
.burger__close { opacity: 0; rotate: -45deg; }
.burger[aria-expanded="true"] .burger__open { opacity: 0; rotate: 45deg; }
.burger[aria-expanded="true"] .burger__close { opacity: 1; rotate: 0deg; }

/* the "spine" scroll rail, the signature motif */
.scroll-rail {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: rgb(236 230 219 / .08);
  overflow: hidden;
}
.scroll-rail__fill {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; scale: 0 1;
  background: linear-gradient(90deg, var(--amber), var(--amber-glow));
  box-shadow: 0 0 12px rgb(217 100 94 / .7);
}

/* -------------------------------------------------------- 7. mobile nav drawer */

/* 1359, was 1240: the drawn logo (2026-11-19) is ~60 px wider than the typed wordmark, and at 1280 the
   header phone pushed Book online past the edge. The phone is in the topbar at these widths anyway. */
/* 1439, was 1359: the logo grew 18% on 2026-11-22 and the header ran past the edge at 1360; 1439 also leaves room for a desktop scrollbar. */
@media (max-width: 1439px) {
  .site-header__cta .btn--ghost { display: none; }   /* phone stays in the topbar */
}
@media (max-width: 1180px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: grid; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink);
  padding-top: 68px;
  overflow: hidden auto;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 0s linear 260ms;
}
.mobile-nav[hidden] { display: block; }
.mobile-nav.is-open {
  opacity: 1; visibility: visible;
  transition: opacity 260ms var(--ease), visibility 0s linear 0s;
}
.mobile-nav__scroll { padding: 1.5rem var(--pad-x) 8rem; }
.mobile-nav__list { border-top: 1px solid rgb(236 230 219 / .12); }
.mobile-nav__list > li { border-bottom: 1px solid rgb(236 230 219 / .12); }
.mobile-nav__row { display: flex; align-items: center; }
.mobile-nav__link {
  display: block; flex: 1; padding: 1rem .25rem;
  color: var(--on-dark); text-decoration: none;
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 600;
}
.mobile-nav__toggle {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: none; border: 0; color: var(--amber-lit); cursor: pointer;
  transition: rotate 240ms var(--ease);
}
.mobile-nav__toggle[aria-expanded="true"] { rotate: 180deg; }
.mobile-nav__sub { padding: 0 0 .9rem .25rem; }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a {
  display: block; padding: .62rem 0; color: var(--on-dark-2); text-decoration: none;
  font-size: var(--step-0);
}
.mobile-nav__sub a:hover { color: var(--amber-glow); }
.mobile-nav__cta { display: grid; gap: .65rem; margin-top: 1.75rem; }
.mobile-nav__hours {
  margin-top: 2rem; padding: 1.1rem 1.25rem;
  border: 1px solid rgb(236 230 219 / .16); border-radius: var(--radius);
  color: var(--on-dark-2);
}
.mobile-nav__hours-h {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-text); font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .1em; color: var(--amber-lit);
  margin: 0 0 .35rem;
}
.mobile-nav__hours p { color: var(--on-dark); font-weight: 600; margin-bottom: .5rem; }
.mobile-nav__hours a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--amber-glow); font-size: var(--step--1); text-decoration: none;
}
body.nav-open { overflow: hidden; }

/* ----------------------------------------------------------- 8. breadcrumbs */

/*
 * The breadcrumb sits between the header and the page hero, and every page that has one
 * opens on a dark band. A cream strip in that gap read as a mistake, so the bar carries the
 * same ink as the hero below it and the top of the page is one continuous dark mass with
 * the trail floating in it. This is chrome, not a content band, so it wants no seam.
 */
.crumbs { background: var(--ink); font-size: var(--step--1); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-block: .7rem; }
.crumbs li { display: flex; align-items: center; gap: .5rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; color: rgb(236 230 219 / .32); }
.crumbs [aria-current="page"] { color: var(--on-dark); }
.crumbs a {
  display: inline-flex; align-items: center; min-height: 24px;
  color: var(--on-dark-2); text-decoration: none;
}
.crumbs a:hover { color: var(--amber-glow); }
/* The Home link leads the trail a size up (Dr. Marty, 2026-11-22: "make the Home link a little bigger"). */
.crumbs li:first-child a { font-size: 1.18em; font-weight: 600; }

/* ------------------------------------------------------------- 9. home hero */

/*
 * Three concepts share this base. The first viewport is deliberately down to four
 * elements: headline, one support line, Book, Call. Opening hours live in the topbar,
 * proof points below the fold.
 *
 * Load reveal is an opaque curtain that wipes away over the image. The image itself is
 * never faded, clipped or masked, so its LCP paint time is untouched.
 */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.hero__media { position: absolute; inset: -8% 0 0; height: 116%; z-index: -2; will-change: translate; }
.hero__media picture { display: block; height: 100%; }
/*
 * Hero crop. Each slide sets --hero-pos and --hero-scale (src/data/hero-slides.mjs), and
 * --hero-pos-phone where a phone's narrow slice needs a different x. The photo is nudged
 * right by a percentage translate, which stays proportional at every width, but never by more
 * than the zoom leaves spare: (scale - 1) / 2 of the width. A fixed 5% at scale 1.05 pulled
 * the photo's left edge into view on wide screens, where the cover fit is width-driven, and
 * left a dark band down the left of the hero (about 120px at 2560 wide).
 */
/*
 * One layer per slide, stacked. Inactive layers are display:none rather than opacity:0:
 * axe flags aria-hidden content that is merely transparent, and display:none also keeps
 * the lazy images from being fetched until a layer is actually shown.
 */
.hero__layer { position: absolute; inset: 0; display: none; }
.hero__layer.is-active, .hero__layer.is-leaving { display: block; }
.hero__layer.is-leaving { animation: hero-fade-out 1000ms var(--ease) forwards; }
.hero__layer.is-entering { animation: hero-fade-in 1000ms var(--ease-out); }
/*
 * The incoming photograph settles in as it fades, the outgoing one drifts back. Both are
 * opacity and scale on an absolutely positioned layer, so neither can shift the page.
 */
@keyframes hero-fade-in { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes hero-fade-out { from { opacity: 1; scale: 1; } to { opacity: 0; scale: .97; } }

.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--hero-pos, 50% 18%);
  scale: var(--hero-scale, 1.30);
  translate: min(5%, calc((var(--hero-scale, 1.30) - 1) * 50%)) 0;
  animation: hero-push 34s var(--ease) infinite alternate;
}
/* The push is relative to each slide's own crop, so every slide drifts by the same amount. */
@keyframes hero-push {
  from { scale: var(--hero-scale, 1.30); }
  to { scale: calc(var(--hero-scale, 1.30) * 1.046); }
}

/*
 * The headline and lead swap text in place, so their boxes are reserved to the tallest
 * slide. Without this the actions row moves when the copy changes line count, which is
 * exactly the layout shift the CLS gate is there to catch.
 */
.hero__h1 { min-height: calc(2 * 0.9em); }
.hero__lead { min-height: calc(4 * 1.5em); }
@media (min-width: 700px) { .hero__lead { min-height: calc(3 * 1.5em); } }

/*
 * One compact trust line under the buttons, deliberately a single row rather than the
 * badge wall that got four earlier heroes rejected. It carries the three things a visitor
 * from a Google ad most wants confirmed and cannot get from the headline: the public
 * rating, that insurance is handled, and that the clinic is open more than weekdays.
 */
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem;
  margin-top: 1.5rem; font-size: var(--step--1); color: var(--on-dark-2);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; min-height: 24px; }
.hero__trust svg { color: var(--amber-lit); }
.hero__trust strong { color: var(--on-dark); font-weight: 700; }
.hero__trust a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 24px;
  color: var(--on-dark-2); text-decoration: none;
}
.hero__trust a:hover { color: var(--on-dark); }
.hero__trust a:hover .hero__stars { color: var(--amber-glow); }
/* Proportional star rating: a dim row with a clipped bright row revealed over it. */
.stars { position: relative; display: inline-block; line-height: 0; }
.stars__base, .stars__fill { display: inline-flex; gap: .06rem; }
.stars__base { color: rgb(236 230 219 / .28); }
.stars__fill {
  position: absolute; inset: 0; width: var(--stars-fill, 100%);
  overflow: hidden; color: var(--amber-lit); white-space: nowrap;
}
.stars svg { fill: currentColor; stroke-width: 1; flex: none; }
.hero__stars { display: inline-flex; gap: .06rem; color: var(--amber-lit); }
.hero__stars svg { width: 14px; height: 14px; fill: currentColor; stroke-width: 1; }

.hero__nav {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(1rem, .6rem + 1.4vw, 1.9rem);
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  pointer-events: none;
}
.hero__nav > * { pointer-events: auto; }
/*
 * Each dot is also the dwell indicator: the active one fills left to right over exactly the
 * time until the next slide. The fill is a scaleX on an inner span inside a fixed-size
 * track, not an animated width, so the other dots never move and this cannot register as
 * layout shift. --dwell is written by the script from its own timer, so the bar and the
 * advance cannot drift apart.
 */
.hero__dot {
  display: grid; place-items: center; width: 34px; height: 28px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--on-dark);
}
.hero__dot-track {
  display: block; width: 22px; height: 3px; border-radius: 2px; overflow: hidden;
  background: rgb(236 230 219 / .3);
  transition: background-color 220ms var(--ease);
}
.hero__dot:hover .hero__dot-track { background: rgb(236 230 219 / .55); }
.hero__dot-fill {
  display: block; width: 100%; height: 100%; border-radius: 2px;
  background: var(--amber-lit); transform-origin: left center; scale: 0 1;
}
.hero__dot[aria-current="true"] .hero__dot-fill {
  animation: hero-dwell var(--dwell, 12000ms) linear forwards;
}
.hero__nav[data-paused] .hero__dot-fill { animation-play-state: paused; }
@keyframes hero-dwell { from { scale: 0 1; } to { scale: 1 1; } }
.hero__arrow, .hero__pause {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  background: rgb(20 16 15 / .45); border: 1px solid rgb(236 230 219 / .28);
  border-radius: 50%; color: var(--on-dark); cursor: pointer;
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}
.hero__arrow:hover, .hero__pause:hover { background: rgb(20 16 15 / .8); border-color: var(--on-dark); }
.hero__pause { margin-inline-start: .35rem; }

.hero__grain {
  position: absolute; inset: 0; opacity: .3; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* the reveal: an opaque panel that lifts off the image */
.hero__curtain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--ink);
  transform-origin: 50% 100%;
  animation: curtain-lift 1100ms cubic-bezier(.62, .02, .2, 1) 120ms forwards;
}
@keyframes curtain-lift { to { scale: 1 0; } }
.hero__curtain--split { transform-origin: 50% 50%; }

.hero__in { position: relative; z-index: 2; }
.hero__text { max-width: min(38rem, 100%); }

.hero__h1 {
  font-size: clamp(2.9rem, 1.6rem + 4.4vw, 5.4rem);
  font-weight: 700; line-height: .9; letter-spacing: -0.042em;
  margin: 0 0 1.25rem;
  text-shadow: 0 4px 40px rgb(4 7 10 / .55);
}
.hero__h1--xl { font-size: clamp(3rem, 1.5rem + 5.4vw, 6.6rem); }
.hero__word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hero__word > span {
  display: inline-block; translate: 0 104%;
  animation: word-rise var(--rise-dur, 1000ms) var(--ease-out) forwards;
  animation-delay: calc(var(--w) * var(--rise-step, 90ms) + var(--rise-base, 620ms));
}
/*
 * On the first paint the words rise late, after the curtain has lifted. On a slide swap
 * there is no curtain to wait for, and the original timing left the headline part hidden
 * for 1.8s of a 7s dwell, so the replay is faster and starts immediately. The pace was
 * then slowed (80ms step, 800ms rise) because the sentences moved too fast to read; the
 * slide dwell was lengthened to 12s to match.
 */
.hero__h1--swap { --rise-base: 0ms; --rise-step: 80ms; --rise-dur: 800ms; }
@keyframes word-rise { to { translate: 0 0; } }
.hero__word--accent > span { color: var(--amber-glow); }

.hero__lead {
  font-size: var(--step-1); line-height: 1.5; color: var(--on-dark);
  max-width: 34ch; margin: 0;
  text-shadow: 0 2px 20px rgb(4 7 10 / .6);
  opacity: 0; animation: fade-up 900ms var(--ease-out) 1050ms forwards;
}
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
/* `both`, not `backwards`: the base rule sets opacity 0, so without a forwards fill the
   lead would disappear again the moment the swap animation finished. */
.hero__lead--swap { animation: fade-up 640ms var(--ease-out) 90ms both; }

.hero__actions {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem;
  opacity: 0; animation: fade-up 900ms var(--ease-out) 1200ms forwards;
}

/* ---- A. cinematic full-bleed ---- */

.hero--a { overflow: visible; }
/*
 * The photograph is the stage: it holds the headline, Book online and the slide controls.
 * Everything else sits in .hero__below (Dr. Marty, 2026-11-22: less text over the pictures).
 */
.hero--a .hero__stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: min(calc(100svh - 180px), 780px);
  /* the lower bound leaves room for the carousel controls under the button */
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(3.6rem, 2.4rem + 3.5vw, 4.75rem);
}
.hero--a .hero__actions { margin-top: 1.5rem; }
.hero__below { background: var(--ink); padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.hero__below-in {
  display: grid; gap: 1.25rem 3rem; align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.hero__below .hero__lead { max-width: 46rem; text-shadow: none; }
.hero__below .hero__actions--below { margin-top: 0; }
.hero__below .hero__trust { margin-top: 0; }
@media (min-width: 1000px) {
  .hero__below-in { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__below .hero__trust { grid-column: 1 / -1; }
}
.hero--a .hero__grade {
  position: absolute; inset: 0;
  /*
   * Weighted to the bottom left, where the copy sits, and released toward the top right
   * so the practitioner and the wall stay bright. A flat overall wash is what made the
   * first two hero attempts look muddy; this keeps the contrast local.
   */
  background:
    linear-gradient(to top, rgb(5 8 11 / .97) 0%, rgb(5 8 11 / .86) 20%, rgb(5 8 11 / .42) 44%, rgb(5 8 11 / 0) 70%),
    linear-gradient(to right, rgb(5 8 11 / .93) 0%, rgb(5 8 11 / .84) 22%, rgb(5 8 11 / .56) 40%, rgb(5 8 11 / .20) 58%, rgb(5 8 11 / 0) 68%, rgb(5 8 11 / .34) 84%, rgb(5 8 11 / .76) 100%),
    radial-gradient(92% 72% at 58% 34%, transparent 40%, rgb(3 5 8 / .60) 100%),
    /* sinks the storage crate and basket in the far corner of the real room */
    radial-gradient(56% 48% at 95% 92%, rgb(3 5 8 / .86), transparent 78%);
}
.hero--a .hero__text { max-width: min(30rem, 56%); }

@media (max-width: 700px) {
  .hero--a .hero__stage { min-height: min(calc(100svh - 200px), 440px); padding-block: 3rem 4.75rem; } /* shorter so the cover fit shows the people whole, not a narrow slice (owner 2026-11-22) */
  .hero--a .hero__text { max-width: none; }
  .hero__img { object-position: var(--hero-pos-phone, var(--hero-pos, 50% 18%)); }
  .hero--a .hero__grade {
    background:
      /* lighter since 2026-11-22: only the headline and Book online sit on the photo now */
      linear-gradient(to top, rgb(5 8 11 / .94) 0%, rgb(5 8 11 / .82) 26%, rgb(5 8 11 / .40) 50%, rgb(5 8 11 / .08) 72%, rgb(5 8 11 / 0) 100%),
      radial-gradient(130% 50% at 50% 100%, rgb(3 5 8 / .45), transparent 72%);
  }
}

/* Conditions, folded into the services section as a link row rather than ten cards. */
.also { margin-top: clamp(2rem, 1.4rem + 2vw, 3rem); text-align: center; }
.also__h {
  font-family: var(--font-text); font-size: var(--step--1); font-weight: 650;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 1rem;
}
.also__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.also__list a {
  display: inline-flex; align-items: center; min-height: 38px; padding: .45rem 1rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: var(--step--1); font-weight: 550; color: var(--text-2); text-decoration: none;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), translate 200ms var(--ease);
}
.also__list a:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); translate: 0 -2px; }
.also__note { margin-top: 1.1rem; font-size: var(--step--1); color: var(--text-3); }
.also__note .link-arrow { display: inline-flex; margin-left: .35rem; }

/* ------------------------------------------------- reviews, ratings and billing */

.rating { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1.4rem; }
.rating__stars { display: inline-flex; gap: .12rem; color: var(--amber-lit); }
.rating__stars svg { fill: currentColor; stroke-width: 1; }
.rating__count { font-size: var(--step-1); color: var(--on-dark); display: inline-flex; align-items: center; gap: .45rem; }
.rating__count strong { font-weight: 700; }
.rating__count svg { color: var(--on-dark-2); }

.qlist { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.qcard {
  position: relative; margin: 0; padding: 1.25rem 1.35rem;
  background: rgb(236 230 219 / .07); border: 1px solid rgb(236 230 219 / .16);
  border-radius: var(--radius);
}
.qcard__mark { position: absolute; top: .8rem; right: 1rem; color: var(--amber-lit); opacity: .4; }
.qcard__q { margin: 0; font-size: var(--step-0); line-height: 1.55; color: var(--on-dark); }
.qcard__by { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .85rem; margin-top: .8rem; font-size: var(--step--1); color: var(--on-dark-2); }
.qcard__author { font-weight: 600; color: var(--on-dark); }
.qcard__src { display: inline-flex; align-items: center; gap: .3rem; }

/* Quote cards on a light page (the reviews page) rather than a dark band. */
.qlist__h { font-size: var(--step-3); margin-bottom: 1.1rem; }
.qlist__note { margin-top: 1rem; font-size: var(--step--1); color: var(--text-3); }
.qlist--light .qcard { background: #fff; border-color: var(--line); }
.qlist--light .qcard__q { color: var(--text); }
.qlist--light .qcard__by { color: var(--text-3); }
.qlist--light .qcard__author { color: var(--text); }
.qlist--light .qcard__mark { color: var(--amber); opacity: .35; }
@media (min-width: 780px) { .qlist--light { grid-template-columns: repeat(2, 1fr); } }

.billing { background: var(--paper-3); padding-block: clamp(2rem, 1.5rem + 2.2vw, 3rem); }
.billing__in { display: grid; gap: 1.5rem clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center; }
@media (min-width: 940px) { .billing__in { grid-template-columns: 1.25fr 1fr; } }
.billing__lead { display: flex; gap: 1rem; align-items: flex-start; }
.billing__icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: rgb(122 31 34 / .12); color: var(--amber);
}
.billing__h { font-size: var(--step-2); margin-bottom: .4rem; }
.billing__p { font-size: var(--step--1); color: var(--text-2); max-width: 54ch; }
.billing__names { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
@media (min-width: 940px) { .billing__names { justify-content: flex-start; } }
.billing__names li {
  padding: .38rem .8rem; border-radius: 999px; font-size: var(--step--2);
  background: #fff; border: 1px solid var(--line); color: var(--text-2);
}
.billing__more { padding: 0 !important; background: none !important; border-color: var(--amber) !important; }
.billing__more a {
  color: var(--amber); text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem;
  min-height: 26px; padding: .38rem .8rem; font-weight: 600;
}

/* ---------------------------------------------------------- 10. proof band */

.proof { background: var(--ink-2); color: var(--on-dark); padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.proof__list { display: flex; gap: 1.5rem var(--gap); }
.proof__item { text-align: center; }
.proof__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-5); font-weight: 700; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber-glow);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-height: 1em;
}
.proof__label {
  display: block; margin-top: .6rem;
  font-size: var(--step--1); color: var(--on-dark-2);
  max-width: 22ch; margin-inline: auto;
}

/* -------------------------------------------------------- 11. the difference */

/* paper-2 so it separates from both the dark proof band above and the section below */
.difference { padding-block: var(--sec-y); background: var(--paper-2); }
.difference__in { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .difference__in { grid-template-columns: 1fr 1fr; } }

.section-head { margin-bottom: 2.25rem; }
.section-head--center { text-align: center; margin-inline: auto; max-width: 720px; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__h2 { font-size: var(--step-4); }
.section-head__h2 em { font-style: italic; color: var(--amber); }
.section-head__lead { margin-top: 1rem; font-size: var(--step-1); color: var(--text-2); max-width: 58ch; }
.section-head--center .section-head__lead { margin-inline: auto; }

.pillars { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-items: start; }
.pillar__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: color-mix(in srgb, var(--amber-lit) 16%, transparent);
  color: var(--amber); grid-row: span 2;
  border: 1px solid color-mix(in srgb, var(--amber) 26%, transparent);
}
.pillar__h { font-size: var(--step-1); margin-bottom: .35rem; }
.pillar__p { color: var(--text-2); grid-column: 2; margin: 0; }

.difference__honest {
  margin-top: 2.5rem; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--amber);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-2);
}
.difference__honest strong { color: var(--text); }

.framed {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  box-shadow: var(--shadow);
}
.framed img { width: 100%; }
.framed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(20 16 15 / .10);
}

.difference__fig { margin: 0; }
.difference__fig .framed { aspect-ratio: 7 / 6; } /* the photo's own shape (1792 x 1536), so nothing is cropped */
.difference__fig img { height: 100%; object-fit: cover; }
.difference__cap { margin-top: .7rem; font-size: var(--step--2); color: var(--text-3); }

/* ------------------------------------------------------------- 12. cards */

.card-grid { display: flex; gap: var(--gap); }
.card-grid--tight { gap: 1rem; --colgap: 1rem; }

.card {
  display: grid; align-content: start; gap: .7rem;
  height: 100%; padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: translate 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.card:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); }
.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--paper-2); color: var(--amber);
  transition: background-color 260ms var(--ease), color 260ms var(--ease);
}
.card:hover .card__icon { background: var(--amber-lit); color: var(--ink); }
.card__h { font-size: var(--step-1); }
.card__p { color: var(--text-2); font-size: var(--step--1); margin: 0; }
.card__more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .35rem; color: var(--amber);
  font-size: var(--step--1); font-weight: 650;
  transition: gap 220ms var(--ease);
}
.card:hover .card__more, .pcard:hover .card__more,
.feature-card:hover .card__more { gap: .75rem; }

.card-grid--photo .pcard {
  display: grid; grid-template-rows: auto 1fr;
  height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
  transition: translate 260ms var(--ease), box-shadow 260ms var(--ease);
}
.pcard:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.pcard__media { display: block; overflow: hidden; aspect-ratio: var(--pcard-aspect, 16 / 11); background: var(--ink-2); }
/* A card can move the crop off-centre (imagePos), e.g. to keep a portrait's head in frame. */
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pcard-pos, 50% 50%); transition: scale 700ms var(--ease); }
.pcard:hover .pcard__media img { scale: 1.06; }
.pcard__body { display: grid; align-content: start; gap: .55rem; padding: 1.35rem 1.5rem 1.6rem; }
.pcard__h { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.15; }
.pcard__p { color: var(--text-2); font-size: var(--step--1); }

.feature-card {
  display: grid; gap: 0; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-lg); text-decoration: none;
  box-shadow: var(--shadow);
  transition: translate 300ms var(--ease), box-shadow 300ms var(--ease);
}
.feature-card:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
@media (min-width: 820px) { .feature-card { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.feature-card__media { border-radius: 0; box-shadow: none; aspect-ratio: 7 / 6; } /* the photo's own shape (1792 x 1536): Dr. Marty's head, hands and the patient all show (owner 2026-11-22) */
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 800ms var(--ease); }
.feature-card:hover .feature-card__media img { scale: 1.05; }
.feature-card__body { display: grid; align-content: center; gap: .8rem; padding: clamp(1.6rem, 1rem + 2.4vw, 3rem); }
.feature-card__h { font-size: var(--step-3); }
.feature-card__body p { color: var(--on-dark-2); margin: 0; }
.feature-card .eyebrow { color: var(--amber-glow); margin-bottom: 0; }
.feature-card .card__more { color: var(--amber-glow); }

/* --------------------------------------------------------- 13. doctor block */

.doctor { background: var(--ink); color: var(--on-dark); padding-block: var(--sec-y); }
.doctor__in { display: grid; gap: clamp(2rem, 1.2rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 940px) { .doctor__in { grid-template-columns: .8fr 1.2fr; } }
.doctor .section-head__h2 { color: var(--bone); }
.doctor .eyebrow { color: var(--amber-glow); }
.doctor p { color: var(--on-dark-2); }

.portrait { position: relative; aspect-ratio: 4 / 5; }
/* The picture element must fill the frame too: the old portrait photo happened to match
   the 4/5 ratio, so the cover rule never had to work until a landscape source arrived. */
.portrait picture { display: block; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.portrait__badge {
  position: absolute; right: -.9rem; bottom: -.9rem;
  display: grid; place-items: center; gap: .1rem;
  width: 128px; height: 128px; border-radius: 50%;
  background: #8e2427; color: #fff;
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1;
  box-shadow: 0 20px 44px -18px rgb(142 36 39 / .8);
}
.portrait__badge small {
  font-family: var(--font-text); font-size: .58rem; font-weight: 650;
  letter-spacing: .11em; text-transform: uppercase; line-height: 1.25; text-align: center;
}

.pullquote {
  position: relative; margin: 0 0 1.75rem; padding-left: 1.5rem;
  border-left: 3px solid var(--amber);
}
.pullquote__mark { position: absolute; top: -.35rem; left: -.55rem; color: var(--amber); opacity: .28; }
.pullquote p {
  font-family: var(--font-display); font-size: var(--step-2); font-style: italic;
  line-height: 1.35; color: var(--bone); margin-bottom: .6rem;
}
.pullquote cite { font-style: normal; font-size: var(--step--1); color: var(--amber-glow); font-weight: 600; }

.ticks { display: grid; gap: .6rem; margin: 1.5rem 0 0; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; }
.ticks svg { color: var(--amber); margin-top: .35em; }
.ticks--inline { margin-top: 1.75rem; }
.doctor .ticks svg { color: var(--amber-glow); }
.doctor .ticks li { color: var(--on-dark-2); }
.doctor .btn--outline { color: var(--on-dark); border-color: rgb(236 230 219 / .35); }
.doctor .btn--outline:hover { border-color: var(--on-dark); background: rgb(236 230 219 / .08); }
.doctor .btn--ghost { color: var(--on-dark-2); }
.doctor .btn--ghost:hover { color: var(--on-dark); background: rgb(236 230 219 / .08); }

/* --------------------------------------------------- 14. steps / anatomy list */

.section--steps { background: var(--paper-2); }
/*
 * Step cards.
 *
 * Flex rather than grid, specifically so an incomplete final row centres instead of
 * leaving a straggler at the left. `auto-fit, minmax(240px, 1fr)` produced four columns
 * at 1440px, which stranded card 05 on its own.
 *
 * Column counts are explicit rather than derived. Five across is never used: .wrap caps
 * at 1240px, so five columns would give roughly 210px of card, which is too tight for
 * the copy. Three across gives about 368px, which reads comfortably.
 */
.steps { display: flex; gap: var(--gap); counter-reset: step; }
.step {
  /* No explicit height: as flex items these stretch to the tallest card in their row by
     default, and setting height:100% here overrode that. */
  padding: 1.5rem 1.5rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.step::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(var(--amber-lit), transparent);
}
.step__n {
  display: block; font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 700; color: var(--amber);
  font-variant-numeric: tabular-nums; margin-bottom: .5rem;
}
.step__h { font-size: var(--step-1); margin-bottom: .45rem; }
.step__p { color: var(--text-2); font-size: var(--step--1); margin: 0; }

.section--anatomy { background: var(--paper-2); }
.anatomy { display: grid; gap: 1.25rem; max-width: 900px; margin-inline: auto; }
.anatomy__item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  padding: 1.5rem 1.6rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.anatomy__n {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--amber-glow);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.anatomy__h { font-size: var(--step-1); margin-bottom: .4rem; }
.anatomy__item p { color: var(--text-2); margin: 0; }

/* ---------------------------------------------------------- 15. comparison */

.compare { background: var(--paper); padding-block: var(--sec-y); }
.compare__grid { display: grid; gap: var(--gap); margin-bottom: 2.5rem; }
@media (min-width: 860px) { .compare__grid { grid-template-columns: 1fr 1fr; } }
.compare__card { padding: 1.85rem; border-radius: var(--radius-lg); border: 1px solid var(--line); height: 100%; }
.compare__card--a { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.compare__card--a .compare__h { color: var(--bone); }
.compare__card--a .ticks svg { color: var(--amber-glow); }
.compare__card--a li, .compare__card--a .compare__note { color: var(--on-dark-2); }
.compare__card--b { background: #fff; }
.compare__h { display: flex; align-items: center; gap: .65rem; font-size: var(--step-2); margin-bottom: .5rem; }
.compare__h svg { color: var(--amber); }
.compare__card--a .compare__h svg { color: var(--amber-glow); }
.compare__note { margin-top: 1.4rem; font-size: var(--step--1); color: var(--text-2); }

/* ---------------------------------------------------------------- 16. notes */

.note {
  margin: 2.5rem 0; padding: 1.5rem 1.65rem;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--paper-2);
}
.note__h {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-text); font-size: var(--step-0); font-weight: 700;
  letter-spacing: 0; margin-bottom: .6rem;
}
.note p { color: var(--text-2); font-size: var(--step--1); }
.note--accent { background: color-mix(in srgb, var(--amber-lit) 12%, var(--paper)); border-color: color-mix(in srgb, var(--amber) 32%, transparent); }
.note--accent .note__h svg { color: var(--amber); }
.note--warn { background: #fdf2ec; border-color: #e6b8a0; }
.note--warn .note__h { color: #8f3a12; }
.note--warn .note__h svg { color: #b8501c; }
.note--info .note__h svg { color: var(--petrol); }
.compare .note { max-width: 900px; margin-inline: auto; }

/* ------------------------------------------------------- 17. experience band */

.experience { background: var(--paper-2); padding-block: var(--sec-y); }

.note__cta { margin-top: .9rem; }
.experience__in { display: grid; gap: clamp(2rem, 1.2rem + 4vw, 4rem); align-items: center; }
@media (min-width: 940px) { .experience__in { grid-template-columns: .85fr 1.15fr; } }
.experience__media .framed { aspect-ratio: 1; }
.experience__note { max-width: 68ch; margin: 1.75rem auto 0; text-align: center; color: var(--text-2); }
.experience__note .link-arrow { display: inline-flex; margin-left: .35rem; }
.experience__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------- 18. social proof */

.social-proof { background: var(--ink-2); color: var(--on-dark); padding-block: var(--sec-y); }
.social-proof__in { display: grid; gap: clamp(2rem, 1.2rem + 4vw, 4rem); align-items: center; }
@media (min-width: 940px) { .social-proof__in { grid-template-columns: 1.05fr .95fr; } }
.social-proof .section-head__h2 { color: var(--bone); }
.social-proof .eyebrow { color: var(--amber-glow); }
.social-proof p { color: var(--on-dark-2); }
.social-proof .btn--primary { background: #8e2427; color: #fff; }
.social-proof .btn--primary:hover { background: #741d20; }
.social-proof .btn--ghost { color: var(--on-dark-2); }
.social-proof .btn--ghost:hover { color: var(--on-dark); background: rgb(236 230 219 / .08); }
.social-proof__media .framed { aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto; } /* the portrait's own shape (owner 2026-11-27) */
.social-proof__media img { width: 100%; height: 100%; object-fit: cover; }

.review-cta {
  padding: 2rem; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-dark); margin-bottom: 2.5rem;
}
.review-cta__stars { display: flex; gap: .2rem; color: var(--amber-lit); margin-bottom: .6rem; }
.review-cta__stars svg { fill: currentColor; }
.review-cta__count { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: .8rem; }
.review-cta__count strong { color: var(--amber-glow); }
.review-cta p { color: var(--on-dark-2); }
.review-cta .btn--primary { background: #8e2427; color: #fff; }
.review-cta .btn--primary:hover { background: #741d20; }
.review-cta .btn--outline { color: var(--on-dark); border-color: rgb(236 230 219 / .35); }

/* --------------------------------------------------------- 19. visit + hours */

.section--visit { background: var(--paper-2); }
.visit { display: grid; gap: clamp(2rem, 1.2rem + 4vw, 4rem); align-items: start; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.1fr .9fr; } }
.visit__address { font-size: var(--step-1); line-height: 1.5; margin-bottom: .9rem; }
.visit__landmark { display: flex; gap: .5rem; align-items: start; color: var(--text-2); font-size: var(--step--1); }
.visit__landmark svg { color: var(--amber); margin-top: .28em; flex: none; }
.visit__langs { margin-top: 1.75rem; display: flex; gap: .5rem; align-items: center; color: var(--text-2); font-size: var(--step--1); }
.visit__langs svg { color: var(--amber); flex: none; }

.hours-card {
  padding: 1.75rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hours-card__h {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; letter-spacing: 0;
  margin-bottom: .75rem;
}
.hours-card__h svg { color: var(--amber); }
.hours-card__today {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .85rem; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--amber-lit) 15%, transparent);
  border-radius: 9px; font-size: var(--step--1);
}
.hours-card__today svg { color: var(--amber); }
.hours-card__note { margin-top: 1rem; font-size: var(--step--2); color: var(--text-3); }

.hours caption { text-align: left; font-size: var(--step--2); color: var(--text-3); padding-bottom: .5rem; }
.hours th, .hours td { padding: .5rem 0; text-align: left; font-weight: 400; font-size: var(--step--1); vertical-align: top; }
.hours th { color: var(--text-2); width: 42%; }
.hours td { color: var(--text); font-variant-numeric: tabular-nums; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.hours tr.is-closed td { color: var(--text-3); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 650; color: var(--text); }
.hours__today {
  display: inline-block; margin-left: .5rem; padding: .05rem .45rem;
  background: #8e2427; color: #fff; border-radius: 5px;
  font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  vertical-align: middle;
}
.hours--compact th, .hours--compact td { padding: .32rem 0; font-size: var(--step--2); }

/* ---------------------------------------------------------- 20. page heroes */

.page-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 2rem + 4.5vw, 5.5rem); overflow: hidden; }
.page-hero__in { display: grid; gap: clamp(2rem, 1.2rem + 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .page-hero__in { grid-template-columns: 1.08fr .92fr; } }
.page-hero .eyebrow { color: var(--amber-glow); }
.page-hero__h1 { font-size: var(--step-5); color: var(--bone); margin-bottom: 1.1rem; }
.page-hero .lead { color: var(--on-dark-2); }
.page-hero__h1:has(+ .name-lines) { margin-bottom: .6rem; }
.page-hero .name-lines { margin-bottom: 1.25rem; color: var(--on-dark-2); }
.page-hero .name-lines p:first-child { color: var(--bone); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.5rem; font-size: var(--step--1); color: var(--on-dark-2); }
.page-hero__meta li { display: flex; align-items: center; gap: .5rem; }
.page-hero__meta svg { color: var(--amber-lit); }
.page-hero__meta a {
  display: inline-flex; align-items: center; min-height: 24px;
  color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgb(236 230 219 / .3);
}
.page-hero__meta a:hover { color: var(--amber-glow); border-bottom-color: var(--amber-glow); }

/* The booking band carries the rating once, above the address line, never as a badge. */
.cta-band__rating {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 24px;
  color: var(--on-dark); text-decoration: none;
}
.cta-band__rating strong { font-weight: 700; }
.cta-band__rating:hover .hero__stars { color: var(--amber-glow); }
.cta-band__where { display: inline-flex; align-items: center; gap: .4rem; }
.cta-band__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.4rem; }
.page-hero .btn--outline { color: var(--on-dark); border-color: rgb(236 230 219 / .35); }
.page-hero .btn--outline:hover { border-color: var(--on-dark); background: rgb(236 230 219 / .08); }
.page-hero .btn--primary { background: #8e2427; color: #fff; }
.page-hero .btn--primary:hover { background: #741d20; }
.page-hero__media .framed { aspect-ratio: var(--frame, 4 / 3); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--portrait .page-hero__media .framed { aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto; }
.page-hero--portrait .page-hero__media img { object-position: 50% 20%; }
.page-hero--compact { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); }

.flag-hero {
  position: relative; display: grid; align-items: end;
  min-height: min(78svh, 760px);
  padding-block: clamp(4rem, 3rem + 6vw, 7rem) clamp(2.5rem, 2rem + 4vw, 4.5rem);
  background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate;
}
.flag-hero__media { position: absolute; inset: 0; z-index: -1; }
.flag-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--flag-pos, 52% 48%); }
@media (max-width: 700px) { .flag-hero__img { object-position: var(--flag-pos-phone, var(--flag-pos, 52% 48%)); } }
.flag-hero__scrim {
  position: absolute; inset: 0;
  background:
    /* lighter since 2026-11-22: the banner photo already has its empty room on the left, and
       the people on the right were hidden under a heavy wash */
    linear-gradient(to top, var(--ink) 0%, rgb(20 16 15 / .6) 26%, rgb(20 16 15 / .1) 60%, transparent 100%),
    linear-gradient(to right, rgb(20 16 15 / .85) 0%, rgb(20 16 15 / .55) 38%, transparent 62%);
}
/* Phones: the photo is a band at the top and the text sits below it on plain ink, so no
   text is ever over Dr. Marty (owner request 2026-11-22). */
@media (max-width: 700px) {
  .flag-hero { padding-top: 290px; }
  .flag-hero__media { inset: 0 0 auto 0; height: 340px; }
  .flag-hero__scrim { background: linear-gradient(to top, var(--ink) 0%, rgb(20 16 15 / .5) 22%, transparent 55%); }
}
.flag-hero__in { position: relative; }
/* Text column kept to the left, clear of the people on the right of the photo (owner 2026-11-22). */
@media (min-width: 701px) { .flag-hero .flag-hero__in > * { max-width: min(520px, 100%); } }
.flag-hero .eyebrow { color: var(--amber-glow); }
.flag-hero__h1 { font-size: var(--step-6); line-height: .98; color: var(--bone); margin-bottom: 1.25rem; }
.flag-hero__h1 em { font-style: italic; color: var(--amber-glow); }
.flag-hero__lead { font-size: var(--step-1); color: var(--on-dark-2); max-width: 54ch; }
.flag-hero .btn--outline-light { color: var(--on-dark); }

.contact-hero, .legal-hero {
  background: var(--ink); color: var(--on-dark);
  padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem);
}
.contact-hero .eyebrow, .legal-hero .eyebrow { color: var(--amber-glow); }
.contact-hero__h1, .legal-hero__h1 { font-size: var(--step-4); color: var(--bone); margin-bottom: 1rem; }
.contact-hero .lead, .legal-hero .lead { color: var(--on-dark-2); }
.legal-hero__meta { font-size: var(--step--1); color: var(--on-dark-2); margin-bottom: 1rem; }
.legal-hero a { color: var(--amber-glow); }

/* ----------------------------------------------------------- 21. prose body */

.wrap--reading .prose-block,
.wrap--reading > .note,
.wrap--reading > .owner-input,
.wrap--reading > .care-box,
.wrap--reading > .fees,
.wrap--reading > .insurers,
.wrap--reading > .person-card,
.wrap--reading > .photo-pair,
.wrap--reading > .sources__disclosure,
.wrap--reading > .wide-figure { margin-block: 2.75rem; }
.wrap--reading > *:first-child { margin-top: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.wrap--reading > *:last-child { margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem); }

.prose-block__h { font-size: var(--step-2); margin-bottom: .85rem; }
/* Editorial rhythm for plain prose: every subsection gets the brand tick, the lede
   paragraph reads a step stronger, and consecutive blocks are ruled apart. */
.prose-block__h::before { content: ''; display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--amber-lit); margin-bottom: .7rem; }
.prose-block__h + p { font-size: calc(var(--step-0) * 1.05); color: var(--text); }
.prose-block p { color: var(--text-2); }
.prose-block p + p { margin-top: -.25rem; }
.wrap--reading .prose-block + .prose-block { border-top: 1px solid var(--line); padding-top: 2.4rem; }

.photo-pair { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 620px) { .photo-pair { grid-template-columns: 1fr 1fr; } }
.photo-pair .framed { aspect-ratio: 1; }
/* The square comes from the image itself, not from height:100% against the figure: the
   figure's height is indefinite, so a non-square source used to stretch it and break the
   pair's alignment. Sources here are any shape; object-fit does the cropping. */
.photo-pair img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.photo-pair figcaption, .wide-figure figcaption {
  margin-top: .6rem; font-size: var(--step--2); color: var(--text-3);
}
.photo-pair figure.framed { overflow: visible; box-shadow: none; background: none; }
.photo-pair figure.framed::after { content: none; }
.photo-pair figure.framed img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.wide-figure { max-width: 560px; margin-inline: auto; } /* the square photo shown whole (owner 2026-11-22) */
.wide-figure .framed { aspect-ratio: 1; }
.wide-figure img { width: 100%; height: 100%; object-fit: cover; }

.care-box {
  padding: 1.6rem 1.75rem; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-dark);
}
.care-box__h {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; letter-spacing: 0;
  color: var(--amber-glow); margin-bottom: 1rem;
}
.care-box__list { display: grid; gap: .5rem; }
.care-box__list a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem;
  padding: .8rem 1rem; border-radius: 10px;
  background: rgb(236 230 219 / .06); text-decoration: none;
  transition: background-color 200ms var(--ease), translate 200ms var(--ease);
}
.care-box__list a:hover { background: rgb(236 230 219 / .13); translate: 3px 0; }
.care-box__list strong { color: var(--bone); }
.care-box__list span { grid-column: 1; font-size: var(--step--2); color: var(--on-dark-2); }
.care-box__list svg { grid-row: span 2; color: var(--amber-glow); }

/* The fees page stacks two schedules, so the second needs air above its caption. */
.fees-stack { margin-top: 2.5rem; }
.fees__table caption {
  text-align: left; font-family: var(--font-display); font-size: var(--step-1);
  font-weight: 600; padding-bottom: .75rem;
}
.fees__table th, .fees__table td { padding: .75rem .5rem; text-align: left; border-bottom: 1px solid var(--line); }
.fees__table thead th { font-size: var(--step--2); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 650; }
.fees__table tbody th { font-weight: 500; color: var(--text); }
.fees__table td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.fees__note { margin-top: .85rem; font-size: var(--step--2); color: var(--text-3); }
.fees__acu { margin-top: .85rem; }

.insurers__h { font-size: var(--step-2); margin-bottom: 1rem; }
.insurers__list { display: grid; gap: .45rem .9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.insurers__list li { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: start; font-size: var(--step--1); color: var(--text-2); }
.insurers__list svg { color: var(--amber); margin-top: .35em; }
.insurers__note { margin-top: 1rem; font-size: var(--step--1); color: var(--text-3); }

.person-card {
  display: grid; gap: 1.5rem; align-items: start;
  padding: 1.6rem; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
@media (min-width: 620px) { .person-card { grid-template-columns: 180px 1fr; } }
.person-card__media { aspect-ratio: 1; }
.person-card__media img { width: 100%; height: 100%; object-fit: cover; }
.person-card__h { font-size: var(--step-1); }
.person-card__role { font-size: var(--step--2); text-transform: uppercase; letter-spacing: .1em; color: var(--amber); margin-bottom: .6rem; }
.person-card p { color: var(--text-2); font-size: var(--step--1); }

/* ------------------------------------------------------------------ 22. faq */

.section--faq { background: var(--paper-2); }
.faq { display: grid; gap: .65rem; }
/* ------------------------------------------------------------- jump rail
   Floating section rail: dots track scroll position, labels appear on hover
   or focus. Shown from 1200px; below that the in-flow jump grid serves. */
.jump-rail { display: none; position: fixed; top: 50%; translate: 0 -50%; right: 14px; z-index: 40; flex-direction: column; gap: 4px; }
@media (min-width: 1200px) { .jump-rail { display: flex; } }
.jump-rail__link { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.jump-rail__dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--amber); background: transparent; transition: background .2s, border-color .2s, scale .2s var(--ease-out); }
.jump-rail__label { position: absolute; right: calc(100% + 6px); top: 50%; translate: 4px -50%; opacity: 0; pointer-events: none; white-space: nowrap; font-size: var(--step--2); font-weight: 600; letter-spacing: .01em; background: var(--ink-2); color: var(--on-dark); padding: .34rem .65rem; border-radius: 7px; box-shadow: var(--shadow-sm); transition: opacity .18s, translate .18s var(--ease-out); }
.jump-rail__link:hover .jump-rail__label, .jump-rail__link:focus-visible .jump-rail__label { opacity: 1; translate: 0 -50%; }
.jump-rail__link:hover .jump-rail__dot { background: color-mix(in srgb, var(--amber-lit) 40%, transparent); }
.jump-rail__link:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 50%; }
.jump-rail__link[aria-current] .jump-rail__dot { background: var(--amber-lit); border-color: var(--amber-lit); scale: 1.3; }
html.motion-off .jump-rail__dot, html.motion-off .jump-rail__label { transition: none; }

/* ------------------------------------------------------------------ fold
   Layered detail: depth content folded behind a native disclosure. One look
   site-wide: amber rule, eyebrow label, serif title, rotating chevron. */
.fold { margin: 1.5rem 0; border-left: 3px solid var(--amber); background: color-mix(in srgb, var(--amber) 5%, transparent); border-radius: 0 10px 10px 0; }
.fold__s { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label mark" "title mark"; align-items: center; column-gap: .8rem; padding: .85rem 1rem .85rem 1.15rem; min-height: 44px; cursor: pointer; list-style: none; }
.fold__s::-webkit-details-marker { display: none; }
.fold__label { grid-area: label; font-size: var(--step--2); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.fold__t { grid-area: title; font-family: var(--font-display); font-size: var(--step-0); line-height: 1.35; color: var(--text); }
.fold__mark { grid-area: mark; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--text-2); transition: rotate .3s var(--ease-out), background .2s, color .2s; }
.fold__s:hover .fold__mark { border-color: color-mix(in srgb, var(--amber) 50%, var(--line)); color: var(--ink); }
.fold__s:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 0 10px 10px 0; }
.fold[open] { background: color-mix(in srgb, var(--amber) 8%, transparent); }
.fold[open] .fold__mark { rotate: 180deg; background: var(--amber-lit); color: var(--ink); border-color: transparent; }
.fold__body { padding: 0 1.25rem 1.1rem 1.15rem; }
.fold__body > p { margin: 0 0 .85em; font-size: var(--step--1); color: var(--text-2); }
.fold__body > p:last-child { margin-bottom: 0; }
.fold[open] .fold__body { animation: fold-open 300ms var(--ease-out); }
@keyframes fold-open { from { opacity: 0; translate: 0 -4px; } }
html.motion-off .fold[open] .fold__body { animation: none; }
html.motion-off .fold__mark { transition: none; }

.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.faq__item[open] { border-color: color-mix(in srgb, var(--amber) 40%, var(--line)); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.35rem; cursor: pointer;
  font-weight: 650; font-size: var(--step-0);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--amber); }
.faq__mark {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper-2); color: var(--amber);
  transition: rotate 260ms var(--ease), background-color 200ms var(--ease);
}
.faq__item[open] .faq__mark { rotate: 180deg; background: var(--amber-lit); color: var(--ink); }
.faq__a { padding: 0 1.35rem 1.3rem; color: var(--text-2); font-size: var(--step--1); }
.faq__a p + p { margin-top: .8rem; }
.faq__item[open] .faq__a { animation: faq-open 300ms var(--ease-out); }
@keyframes faq-open { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

.faq-jump, .jump-nav {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center;
  padding: 1rem 1.25rem; margin-bottom: 2.5rem;
  background: var(--paper-2); border-radius: var(--radius);
  font-size: var(--step--1);
}
.faq-jump > span, .jump-nav > span { color: var(--text-3); }
.faq-jump ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
/*
 * The wellness jump list is a grid rather than a wrapping flex row, because flex-wrap put a
 * single stranded item on the last row at 320 and at every width above 390, and the row
 * symmetry gate failed it correctly. Tuning the label lengths moved the problem between
 * breakpoints instead of removing it. A column count that divides the item count exactly
 * cannot strand anything at any width, and the cells wrap their own text rather than
 * overflowing when the viewport is too narrow to hold a label on one line.
 */
.jump-nav ul {
  display: grid; gap: .5rem 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 780px) {
  .jump-nav ul { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; }
}
.faq-jump a, .jump-nav a {
  display: inline-flex; align-items: center; min-height: 24px;
  color: var(--amber); font-weight: 600;
}
.faq-group { margin-bottom: 3rem; scroll-margin-top: 6.5rem; }
.faq-group__h { font-size: var(--step-2); margin-bottom: 1.1rem; }

/* From 1200px the floating rail replaces the in-flow jump menus. */
@media (min-width: 1200px) { .jump-nav, .faq-jump { display: none; } }

/* -------------------------------------------------------------- 23. related */

.related { background: var(--paper-3); padding-block: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem); }
.related__h {
  font-family: var(--font-text); font-size: var(--step--2); font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; color: var(--text-3);
  margin-bottom: 1rem; letter-spacing: .13em;
}
.related__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.related__list a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: var(--step--1); font-weight: 550; text-decoration: none; color: var(--text-2);
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), translate 200ms var(--ease);
}
.related__list a:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); translate: 0 -2px; }
.related__list svg { color: var(--amber); }
.related__list a:hover svg { color: var(--amber-glow); }

/* ------------------------------------------------------------- 24. cta band */

.cta-band { background: var(--ink); color: var(--on-dark); padding-block: var(--sec-y); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% 40%;
  aspect-ratio: 1; width: 60%;
  background: radial-gradient(circle, rgb(142 36 39 / .17), transparent 66%);
  pointer-events: none;
}
.cta-band__in { position: relative; text-align: center; }
.cta-band__in > div { max-width: 720px; margin-inline: auto; }
.cta-band__h { font-size: var(--step-4); color: var(--bone); margin-bottom: 1rem; }
.cta-band__lead { color: var(--on-dark-2); font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; }
.cta-band__note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.75rem; font-size: var(--step--1); color: var(--on-dark-2);
}
.cta-band__note svg { color: var(--amber-lit); }

/* ------------------------------------------------------------- 25. team page */

.team-grid { display: flex; gap: var(--gap); }
.team-card {
  display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.team-card__media { border-radius: 0; box-shadow: none; aspect-ratio: 1; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 1.5rem 1.6rem 1.75rem; display: grid; align-content: start; gap: .5rem; }
.team-card__h { font-size: var(--step-2); }
.team-card__role { font-size: var(--step--2); text-transform: uppercase; letter-spacing: .1em; color: var(--amber); font-weight: 650; }
.team-card__lead { color: var(--text-2); }
/* Credential lines under a practitioner's name: hero, team card and service person card. */
.name-lines { display: grid; gap: .2rem; font-size: var(--step--1); }
.name-lines p { margin: 0; overflow-wrap: anywhere; }
.name-lines p:first-child { font-weight: 650; }
.person-card .name-lines { margin-block: .35rem .75rem; }
.team-card__meta { font-size: var(--step--2); color: var(--text-3); margin: 0; }
.team-card__meta strong { color: var(--text-2); }
.team-grid > li { scroll-margin-top: 7rem; }

/* ------------------------------------------------------------- 28. contact */

.contact-actions { display: flex; gap: .85rem; margin-top: 2rem; --colgap: .85rem; }
.contact-action {
  display: grid; gap: .2rem; padding: 1.25rem 1.4rem;
  background: rgb(236 230 219 / .07); border: 1px solid rgb(236 230 219 / .16);
  border-radius: var(--radius); text-decoration: none; color: var(--on-dark);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease), translate 220ms var(--ease);
}
.contact-action:hover { background: rgb(236 230 219 / .13); border-color: var(--amber-lit); translate: 0 -3px; }
.contact-action svg { color: var(--amber-lit); margin-bottom: .35rem; }
.contact-action__k { font-size: var(--step--2); text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-2); }
.contact-action__v { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.contact-action--email .contact-action__v {
  font-family: var(--font-text); font-size: var(--step--1); font-weight: 600;
  overflow-wrap: anywhere; line-height: 1.45;
}

.contact-grid { display: grid; gap: clamp(2rem, 1.4rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }
.contact-grid__side { display: grid; gap: 1.25rem; }

.cform { display: grid; gap: 1.1rem; }
.cform__h { font-size: var(--step-2); }
.cform__note { font-size: var(--step--1); color: var(--text-2); margin: -.5rem 0 0; }
.cform__row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .cform__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-size: var(--step--1); font-weight: 650; }
.field__opt { font-weight: 400; color: var(--text-3); }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; min-height: 48px;
  font: inherit; font-size: var(--step-0); color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber-lit) 26%, transparent);
}
.field--radio { border: 0; padding: 0; margin: 0; }
.field--radio legend { padding: 0; margin-bottom: .5rem; }
.field--radio label { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.25rem; font-weight: 400; min-height: 44px; }
.field--radio input { width: 24px; height: 24px; min-height: 0; accent-color: var(--amber); }
.cform__privacy { font-size: var(--step--2); color: var(--text-3); margin: 0; }
.cform__privacy a { color: var(--amber); }
.field__note { font-size: var(--step--2); color: var(--text-3); margin: .5rem 0 0; }
.field--consent { display: grid; gap: .75rem; }
.field--consent label { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-weight: 400; font-size: var(--step--2); color: var(--text-2); }
.field--consent input { width: 24px; height: 24px; min-height: 0; margin-top: .1rem; accent-color: var(--amber); }
.field--consent a { color: var(--amber); display: inline-block; padding-block: .2rem; margin-block: -.2rem; }
.cform button { justify-self: start; }

.visit-card {
  padding: 1.6rem 1.75rem; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.visit-card__h {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; letter-spacing: 0;
  margin-bottom: .75rem;
}
.visit-card__h svg { color: var(--amber); }
.visit-card address { margin-bottom: .75rem; line-height: 1.55; }
.visit-card p { font-size: var(--step--1); color: var(--text-2); }
.visit-card a { color: var(--amber); }

.map-section { background: var(--paper-2); }
.map-frame { display: block; width: 100%; height: clamp(280px, 34vw, 440px); border: 0; filter: saturate(.85); }

/* ---------------------------------------------------------------- 29. legal */

.legal-body { font-size: var(--step-0); }
.legal-body h2 { font-size: var(--step-2); margin: 2.5rem 0 .8rem; }
.legal-body h3 { font-size: var(--step-1); margin: 1.75rem 0 .6rem; }
.legal-body p { color: var(--text-2); }
.legal-body ul { margin: 0 0 1.25rem 1.25rem; }
.legal-body li { list-style: disc; color: var(--text-2); margin-bottom: .4rem; }
/* A policy page legitimately quotes a full URL, and an unbreakable one pushed the
   document 21 px wide at 320 px. break-word only splits what cannot wrap otherwise. */
.legal-body li, .legal-body p { overflow-wrap: break-word; }
.legal-body a { color: var(--amber); }
.legal-body > *:first-child { margin-top: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.legal-rule { margin: 2.5rem 0 1.5rem; }
.legal-contact { font-size: var(--step--1); color: var(--text-2); padding-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem); }

.sitemap-grid { display: flex; gap: 2rem var(--gap); }
.sitemap-col h2 { font-family: var(--font-text); font-size: var(--step--2); text-transform: uppercase; letter-spacing: .13em; color: var(--amber); margin-bottom: .85rem; }
.sitemap-col li { margin-bottom: 6px; }
.sitemap-col a {
  display: flex; align-items: center; min-height: 28px; padding-block: 2px;
  color: var(--text-2); text-decoration: none; font-size: var(--step--1);
}
.sitemap-col a:hover { color: var(--amber); text-decoration: underline; }

.err { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.err__code {
  font-family: var(--font-display); font-size: var(--step-6); font-weight: 700;
  color: var(--amber); line-height: 1; margin-bottom: .5rem;
  /* Full-strength colour: at 30% opacity this fell to 1.54:1 against the paper. */
}
.err__h1 { font-size: var(--step-4); margin-bottom: 1rem; }
.err__h2 { font-size: var(--step-1); margin: 2.75rem 0 1rem; }
.err__links { display: flex; flex-wrap: wrap; gap: .6rem; }
.err__links a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: var(--step--1); text-decoration: none; color: var(--text-2);
}
.err__links a:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.err__links svg { color: var(--amber); }

/* ---------------------------------------------------------------- 30. footer */

.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 2rem; }
/*
 * Every paragraph in the footer is positioned by its band, never by the document's
 * default 1em bottom margin. That margin is what used to shove the design credit half a
 * line below the copyright beside it: both were flex items, only one carried the margin,
 * and centring the taller margin box lifted its text.
 */
.site-footer p { margin: 0; }

/* Band 1: how to reach the clinic. */
.site-footer__contact { display: grid; gap: 2.5rem var(--gap); }
@media (min-width: 700px) {
  /* Address and hours pair off; the brand takes the full row above them. */
  .site-footer__contact { grid-template-columns: 1fr 1fr; }
  .site-footer__brand {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem var(--gap); align-items: center;
  }
  .site-footer__act { justify-items: end; }
}
@media (min-width: 1080px) {
  .site-footer__contact { grid-template-columns: 1.15fr .85fr 1.1fr; align-items: start; }
  .site-footer__brand { grid-column: auto; display: block; }
  .site-footer__act { justify-items: start; }
}
.site-footer__pitch { margin-top: 1.1rem; font-size: var(--step--1); max-width: 34ch; }
.site-footer__act { display: grid; gap: 1.25rem; justify-items: start; margin-top: 1.5rem; }
@media (min-width: 700px) and (max-width: 1079.98px) { .site-footer__act { margin-top: 0; } }
.site-footer__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.site-footer .btn--primary { background: #8e2427; color: #fff; }
.site-footer .btn--primary:hover { background: #741d20; }
.site-footer .btn--outline { color: var(--on-dark); border-color: rgb(236 230 219 / .3); }
.site-footer .btn--outline:hover { border-color: var(--on-dark); background: rgb(236 230 219 / .08); }

.site-footer__h {
  font-family: var(--font-text); font-size: var(--step--2); font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; color: var(--bone);
  margin-bottom: .9rem;
}
.site-footer__col li { margin-bottom: 6px; }
.site-footer__col a {
  display: flex; align-items: center; min-height: 28px; padding-block: 2px;
  font-size: var(--step--1); text-decoration: none; color: var(--on-dark-2);
}
.site-footer__col a:hover { color: var(--amber-glow); }

.site-footer__visit address { font-size: var(--step--1); line-height: 1.65; font-style: normal; }
.site-footer__visit strong { color: var(--bone); }
.site-footer__landmark { margin-top: .5rem; font-size: var(--step--2); max-width: 30ch; }
.site-footer__tel { margin-top: .9rem; }
.site-footer__tel a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 28px;
  font-size: var(--step--1); font-weight: 650; color: var(--amber-glow); text-decoration: none;
}
.site-footer__tel a:hover { color: var(--bone); }
.site-footer__tel svg { color: var(--amber); }
.site-footer__visit .link-arrow { margin-top: .9rem; color: var(--on-dark); }

/* Given a track of its own, every day fits on one line instead of wrapping to three. */
.site-footer__hours { margin-top: .1rem; max-width: 28rem; }
.site-footer__hours th { width: 3.4rem; color: var(--on-dark-2); }
.site-footer__hours td { color: var(--bone); }
.site-footer__hours tr + tr th,
.site-footer__hours tr + tr td { border-top-color: rgb(236 230 219 / .12); }

/* Band 2: the sitemap. Three even tracks as soon as they fit, one column below that. */
.site-footer__nav {
  display: grid; gap: 2rem var(--gap);
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid rgb(236 230 219 / .13);
}
@media (min-width: 700px) { .site-footer__nav { grid-template-columns: repeat(3, 1fr); } }

/*
 * Folded, below 700px only and only once the script has built the controls: twenty-five
 * links stacked in one column ran to six phone screens. The class is added by JS, so with
 * the script blocked the lists simply stay open rather than becoming unreachable.
 *
 * The band's own rule opens the list and the next band's rule closes it, so the three
 * rows are bracketed and separated by four evenly spaced hairlines, never doubled.
 */
.site-footer__nav.is-folded { gap: 0; padding-top: 0; }
.site-footer__nav.is-folded + .site-footer__fine { margin-top: 0; }
.site-footer__col.is-folded + .site-footer__col.is-folded { border-top: 1px solid rgb(236 230 219 / .12); }
.site-footer__col.is-folded .site-footer__h { margin-bottom: 0; }
.site-footer__col.is-folded > ul { padding-bottom: .9rem; }
.site-footer__col.is-folded > ul:not([hidden]) { animation: footer-unfold 240ms var(--ease) both; }
@keyframes footer-unfold { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
.site-footer__disc {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 48px; padding: 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
  transition: color 200ms var(--ease);
}
.site-footer__disc svg { flex: none; color: var(--on-dark-2); transition: rotate 240ms var(--ease); }
.site-footer__disc[aria-expanded="true"] svg { rotate: 180deg; }
.site-footer__disc:hover, .site-footer__disc:hover svg { color: var(--amber-glow); }

/*
 * Band 3: the small print. Two rows of exactly two things, sharing one left edge and one
 * right edge, so the utility button sits above the design credit and the legal links sit
 * above the copyright. Nothing here is left to where a wrap happens to fall.
 */
.site-footer__fine {
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid rgb(236 230 219 / .13);
  font-size: var(--step--2);
}
.site-footer__disclaimer { max-width: 92ch; line-height: 1.65; color: var(--on-dark-2); }
.site-footer__bar {
  display: grid; gap: .75rem var(--gap); align-items: center;
  justify-items: center; text-align: center;
  margin-top: 1.75rem;
}
/*
 * The credit row is a real left-to-right pair at every width, not just above the hinge:
 * the clinic's copyright holds the left edge and the design credit holds the right one.
 * Both children grow, so when the pair no longer fits on one line they wrap to full-width
 * rows and keep those same two edges rather than collapsing back to centre.
 */
.site-footer__credit {
  margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .5rem var(--gap);
}
.site-footer__credit > * { flex: 1 1 auto; min-width: 0; }
.site-footer__credit > :first-child { text-align: start; }
.site-footer__credit > :last-child { text-align: end; }
/* The same 700px hinge as the bands above, so the whole footer shares one left edge. */
@media (min-width: 700px) {
  .site-footer__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: start; text-align: start;
  }
  .site-footer__bar > :last-child { justify-self: end; }
  .site-footer__legal { justify-content: flex-start; }
}
.site-footer__by { color: var(--on-dark-2); }
.site-footer__by a {
  color: var(--on-dark); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid rgb(236 230 219 / .3); padding-bottom: 1px;
}
.site-footer__by a:hover { color: var(--amber-glow); border-bottom-color: var(--amber-glow); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.1rem; }
.site-footer__legal a {
  display: inline-flex; align-items: center; min-height: 24px;
  text-decoration: none; color: var(--on-dark-2);
}
.site-footer__legal a:hover { color: var(--amber-glow); }

/* Footer motion button (force-motion v4 footer form), styled like the footer's own links. */
.pvi-motion-toggle {
  --pvi-motion-fg: var(--on-dark-2);
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: none;
  gap: .4em; margin: 0; padding: .25em .4em; min-height: 24px;
  color: var(--pvi-motion-fg); background: transparent; border: 0; border-radius: .35em;
  font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .15s ease;
}
.pvi-motion-toggle[hidden] { display: none !important; }
.pvi-motion-toggle:hover { color: var(--amber-glow); }
.pvi-motion-toggle:hover .pvi-motion-label { text-decoration: underline; }
.pvi-motion-toggle:focus-visible { outline: 2px solid var(--amber-glow); outline-offset: 2px; }
.pvi-motion-toggle svg { display: block; width: 1.1em; height: 1.1em; pointer-events: none; }
.pvi-motion-toggle .pvi-motion-slash { display: none; }
.pvi-motion-toggle[aria-pressed="true"] .pvi-motion-slash { display: inline; }
@media (pointer: coarse), (max-width: 820px) {
  .pvi-motion-toggle { min-height: 44px; }
}

/* --text-3 is a light-surface token; on the dark footer it drops to 2.97:1. */
.site-footer .hours tr.is-closed td,
.site-footer .hours tr.is-closed th { color: var(--on-dark-2); }

/* --------------------------------------------------------- 31. mobile action bar */

/*
 * The phone sticky bar: Call | Text | Book online, on every page including /visit/.
 * Owner, 2026-11-19: it must "show always even if scrolling" and never be covered, so:
 *   - it is never hidden or translated away (the old hide-on-scroll script is gone);
 *   - z-index 100 puts it above the sticky header (90), the mobile menu (95) and the hero
 *     layers, and below only the skip link (200). It is a direct child of body, with no
 *     transformed ancestor to break position: fixed;
 *   - body reserves its height plus the safe-area inset at the end of the page, so no
 *     footer line or last button can sit underneath it;
 *   - the mobile menu panel keeps its last item clear of it too.
 * Phones only: 780px and down, the one breakpoint used for it site-wide.
 */
.action-bar {
  --bar-h: 60px;
  position: fixed; inset: auto 0 0 0; z-index: 100;
  display: none; gap: 1px;
  background: rgb(236 230 219 / .14);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -12px 34px -18px rgb(0 0 0 / .8);
}
.action-bar__btn {
  flex: 1 1 0; min-width: 0; display: grid; place-items: center; gap: .18rem;
  min-height: var(--bar-h); padding: .55rem .25rem;
  background: var(--ink); color: var(--on-dark);
  text-decoration: none; font-size: .8rem; font-weight: 650;
  letter-spacing: .02em;
}
.action-bar__btn svg { color: var(--amber-lit); }
.action-bar__btn--call { background: #8e2427; color: #fff; }
.action-bar__btn--call svg { color: #fff; }
.action-bar__btn--book { background: #8e2427; color: #fff; }
.action-bar__btn--book svg { color: #fff; }
.action-bar__btn:active { filter: brightness(.92); }
.action-bar__btn:focus-visible { outline: 3px solid var(--amber-glow); outline-offset: -5px; }
@media (max-width: 780px) {
  .action-bar { display: flex; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  main { padding-bottom: 0; }
  .mobile-nav__scroll { padding-bottom: calc(8rem + 60px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------ 32. scroll reveal */

/* Progressive enhancement: nothing is hidden until JS confirms it can reveal it. */
[data-reveal] { opacity: 1; }
html.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 760ms var(--ease-out) var(--reveal-delay, 0ms),
    translate 760ms var(--ease-out) var(--reveal-delay, 0ms);
}
html.reveal-ready [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ------------------------------------------------- 33. reduced-motion override */

/*
 * Reduced motion = the visitor pressed one of our buttons (html.motion-off). The OS media
 * query is deliberately not consulted (see the header comment and /accessibility/).
 */
html.motion-off { scroll-behavior: auto; }
html.motion-off *,
html.motion-off *::before,
html.motion-off *::after {
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0ms !important;
  transition-duration: 1ms !important;
  transition-delay: 0ms !important;
  scroll-behavior: auto !important;
}
html.motion-off .hero__img { animation: none !important; scale: var(--hero-scale, 1.30); }
html.motion-off .hero__layer { animation: none !important; scale: 1 !important; }
html.motion-off .hero__dot-fill { animation: none !important; }
html.motion-off .hero__dot[aria-current="true"] .hero__dot-fill { scale: 1 1; }
html.motion-off .hero__layer:not(.is-active) { display: none !important; }
html.motion-off .hero__curtain { animation: none !important; scale: 1 0; }
html.motion-off .hero__media { translate: none !important; }
html.motion-off .hero__word > span { translate: none !important; }
html.motion-off .hero__lead,
html.motion-off .hero__actions { opacity: 1 !important; }
html.motion-off [data-reveal] { opacity: 1 !important; translate: none !important; }
html.motion-off .hero__word > span { translate: none !important; }
html.motion-off .hero__lead,
html.motion-off .hero__actions,
html.motion-off .hero__badges,
html.motion-off .btn:hover,
html.motion-off .card:hover,
html.motion-off .pcard:hover,
html.motion-off .feature-card:hover,
html.motion-off .contact-action:hover,
html.motion-off .related__list a:hover { translate: none; }
html.motion-off .pcard:hover .pcard__media img,
html.motion-off .feature-card:hover .feature-card__media img { scale: 1; }

/* ------------------------------------------- 34. trust, sources, owner input */

/*
 * The owner-input card.
 *
 * Deliberately the loudest thing on any page it appears on, because it is an admission
 * that the page is incomplete and the reader is entitled to see that at a glance. It
 * never relies on colour: the flag spells out what it is in words, carries an alert
 * glyph, and the card wears an 8 px rule down its leading edge, so it still reads as a
 * warning in greyscale, in forced-colors mode and to a colour-blind reader.
 *
 * Nothing here is fixed-width. The flag wraps onto as many lines as 390 px needs, and the
 * id in the footnote is the one long unbreakable-looking string on the card, which is why
 * it gets overflow-wrap of its own.
 */
.owner-input {
  --oi-ink: #7a2410;          /* 9.3:1 on --oi-bg */
  --oi-bg: #fdf1e9;
  --oi-line: #c9713f;
  margin: 2.75rem 0;
  padding: clamp(1.1rem, .8rem + 1vw, 1.6rem);
  border: 2px solid var(--oi-line);
  border-inline-start-width: 8px;
  border-radius: var(--radius);
  background: var(--oi-bg);
  box-shadow: var(--shadow-sm);
}
/*
 * Specificity, deliberately. `.legal-body p` and `.legal-body li` set their own colour,
 * and the governance pages are exactly where these cards carry their most important text,
 * so a single-class rule here lost and put --text-2 on a dark red chip. axe caught it at
 * 1.26:1. Every colour on the card is stated at .owner-input scope for that reason.
 */
.owner-input .owner-input__flag {
  display: flex; align-items: flex-start; gap: .55rem;
  margin: 0 0 .9rem;
  padding: .45rem .8rem;
  border-radius: 10px;
  background: var(--oi-ink);
  color: #fff;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
}
.owner-input .owner-input__flag strong,
.owner-input .owner-input__flag svg { color: #fff; }
.owner-input__flag svg { flex: none; margin-top: .05em; }
.owner-input__flag strong { font-weight: 700; overflow-wrap: anywhere; }
.owner-input__h {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--oi-ink);
  margin: 0 0 .5rem;
}
.owner-input .owner-input__lead { color: var(--text); margin: 0 0 1rem; font-size: var(--step--1); }
.owner-input .owner-input__ask-h {
  margin: 0 0 .5rem;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--oi-ink);
}
.owner-input__list { margin: 0; padding-inline-start: 1.15rem; display: grid; gap: .45rem; }
.owner-input .owner-input__list li { color: var(--text-2); font-size: var(--step--1); list-style: disc; }
.owner-input .owner-input__ref {
  margin: 1.1rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid color-mix(in srgb, var(--oi-line) 55%, transparent);
  color: var(--text-3);
  font-size: var(--step--2);
  overflow-wrap: anywhere;
}
.owner-input__ref code {
  font-size: .95em;
  background: color-mix(in srgb, var(--oi-line) 16%, transparent);
  padding: .1rem .3rem; border-radius: 5px;
}

/* The byline strip: who wrote it, when, and what its review status actually is. */
.byline {
  display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: center;
  margin: 0; padding: 0;
  font-size: var(--step--2);
  color: var(--text-3);
}
.byline__item { display: inline-flex; align-items: center; gap: .4rem; margin: 0; }
.byline__item svg { flex: none; width: 13px; height: 13px; color: var(--text-3); }
.byline a { color: inherit; }
.byline strong { font-weight: 600; color: var(--text-2); }
.byline__pending { color: #7a2410; font-weight: 600; }
.byline__pending svg { color: #7a2410; }
.byline__note {
  flex-basis: 100%; margin: 0;
  color: var(--text-3); font-size: var(--step--2); line-height: 1.6;
}

/* Evidence and sources. A numbered list, because a citation has a position in an argument. */
.sources__lead { color: var(--text-2); }
.sources__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: src; }
.sources__list li {
  counter-increment: src;
  position: relative;
  padding-inline-start: 2.4rem;
}
.sources__list li::before {
  content: counter(src);
  position: absolute; inset-inline-start: 0; top: .1rem;
  display: grid; place-items: center;
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: var(--step--2); font-weight: 700; color: var(--text-2);
}
.sources__link { font-weight: 600; overflow-wrap: anywhere; }
.sources__pub { display: block; color: var(--text-3); font-size: var(--step--1); margin-top: .15rem; }
.sources__note { display: block; color: var(--text-2); font-size: var(--step--1); margin-top: .35rem; }
.sources__disclaimer { color: var(--text-3); font-size: var(--step--2); margin-top: 1.6rem; }

/*
 * The folded Evidence and sources block, on the condition pages.
 *
 * The block itself did not change: same heading, same numbered list, same relevance notes,
 * same no-endorsement line. What changed is that on a page someone reads because their
 * back hurts, roughly 800 px of always-open citations sat between the treatment plan and
 * the booking button. Now it is a single quiet bar that says how many sources are behind
 * the page, and opens on click, Enter or Space with no JavaScript anywhere near it.
 *
 * It sits as the last block of the reading column rather than as a section of its own, so
 * its rhythm comes from the reading column in section 21 with the rest of the article,
 * and the closed bar lands the same distance under What to expect as every other block on
 * the page lands under the one above it.
 *
 * Everything about the closed state is meant to read as "there is more here": a real
 * border, a chevron that turns, a hover colour, and a bar tall enough to be an easy target
 * on a phone. The <h2> is a direct child of <summary>, so the two-column grid is declared
 * here rather than with a wrapper element the content model would not allow.
 */
.sources__disclosure {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.sources__disclosure[open] {
  border-color: color-mix(in srgb, var(--amber) 40%, var(--line));
  box-shadow: var(--shadow-sm);
}
.sources__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .2rem 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
.sources__summary::-webkit-details-marker { display: none; }
.sources__summary:hover .sources__h { color: var(--amber); }
.sources__summary .sources__h {
  grid-column: 1;
  min-width: 0;
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--step-1);
  transition: color 200ms var(--ease);
}
.sources__count {
  grid-column: 1;
  min-width: 0;
  color: var(--text-3);
  font-size: var(--step--1);
}
.sources__mark {
  grid-column: 2; grid-row: 1 / span 2;
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper-3); color: var(--amber);
  transition: rotate 260ms var(--ease), background-color 200ms var(--ease);
}
.sources__disclosure[open] .sources__mark { rotate: 180deg; background: var(--amber-lit); color: var(--ink); }
.sources__body { padding: 0 1.25rem 1.4rem; }
.sources__disclosure[open] .sources__body { animation: faq-open 300ms var(--ease-out); }
.sources__body .sources__list { margin-top: 1.2rem; }

/*
 * The compact owner-input card, for a marketing page that carries one.
 *
 * Same card, same colours, same non-colour cues , the marker, the alert glyph and the
 * heavy leading rule are all still there and still say the page is incomplete. It is the
 * checklist that folds, because four questions addressed to the clinic owner are not what
 * a patient is on a condition page to read, and in the open they made the card taller than
 * the treatment section above it.
 */
.owner-input--compact { margin: 2.25rem 0; padding: clamp(.95rem, .8rem + .6vw, 1.25rem); border-inline-start-width: 6px; }
.owner-input--compact .owner-input__flag { margin-bottom: .7rem; padding: .35rem .7rem; }
.owner-input--compact .owner-input__h { font-size: var(--step-0); margin-bottom: .35rem; }
.owner-input--compact .owner-input__lead { margin-bottom: .85rem; }
.owner-input__summary {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--oi-line) 16%, transparent);
  cursor: pointer;
  list-style: none;
}
.owner-input__summary::-webkit-details-marker { display: none; }
.owner-input__summary:hover { background: color-mix(in srgb, var(--oi-line) 26%, transparent); }
.owner-input .owner-input__summary .owner-input__ask-h { margin: 0; }
/* The site's amber focus ring is about 2:1 on this card's own pale background, so this
   one control states a ring in the card's ink instead of inheriting one nobody can see. */
.owner-input__summary:focus-visible { outline: 3px solid var(--oi-ink); outline-offset: 2px; }
.owner-input__mark {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--oi-bg); color: var(--oi-ink);
  transition: rotate 260ms var(--ease);
}
.owner-input__more[open] .owner-input__mark { rotate: 180deg; }
.owner-input__more[open] .owner-input__summary { margin-bottom: .9rem; }

/* Credentials and verification block on the practitioner pages. */
.creds { margin: 0; display: grid; gap: .9rem; }
.creds__row { margin: 0; display: grid; gap: .15rem; }
.creds__k { font-size: var(--step--2); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.creds__v { color: var(--text); }
.creds__v a { overflow-wrap: anywhere; display: inline-block; min-height: 24px; line-height: 24px; }

/*
 * The launch-readiness item list. This started as a three-column table and overflowed the
 * document at 320 px even inside an overflow-x container, so it is a stacked list instead:
 * nothing to scroll sideways, and it reads better on a phone than a squeezed table would.
 */
.oi-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1.1rem; }
.oi-list li {
  padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2);
}
.oi-list__h { display: block; font-weight: 700; color: var(--text); }
.oi-list__id { display: block; font-size: var(--step--2); color: var(--text-3); overflow-wrap: anywhere; }
.oi-list__where { margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem .75rem; font-size: var(--step--2); }
.oi-list__where a {
  overflow-wrap: anywhere; display: inline-block;
  min-height: 24px; line-height: 24px; padding-inline: .3rem;
  border-radius: 6px; background: var(--paper-3);
}
.oi-list__where span { display: inline-block; min-height: 24px; line-height: 24px; color: var(--text-3); }

@media (forced-colors: active) {
  .owner-input { border: 3px solid CanvasText; }
  .owner-input__flag { border: 1px solid CanvasText; }
}

/* ---------------------------------------------------------- 35. print + misc */

.plate { width: 100%; height: auto; background: var(--ink-2); }

@media print {
  .topbar, .site-header, .mobile-nav, .action-bar, .cta-band,
  .pvi-motion-toggle, .map-section { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero, .hero, .hero__ground, .doctor, .care-box, .compare__card--a,
  .social-proof, .contact-hero, .legal-hero { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }

  /*
   * Everything folded prints unfolded. A closed <details> hides its contents through
   * `content-visibility` on ::details-content, which is the only handle a stylesheet has
   * on it , `display` on the children does nothing. Without this rule a printed condition
   * page would carry the heading "Evidence and sources" over nothing at all, which is a
   * worse claim than not printing it.
   */
  details::details-content { content-visibility: visible; block-size: auto; }
  details { break-inside: avoid; }
  .sources__mark, .owner-input__mark, .faq__mark, .fold__mark { display: none; }
}

@media (forced-colors: active) {
  .btn, .card, .faq__item, .framed { border: 1px solid CanvasText; }
  .flag-hero__scrim, .hero__grain, .hero__glow, .hero-plate__sheen { display: none; }
}

/* ------------------------------------------------ 35. Google Ads landing page */

/*
 * /visit/ only (body.page-landing). Reuses the site's tokens, fonts and buttons. Mobile
 * first: the first screen has to hold the rating, the call button and the "who" within
 * about 390 x 700, so every first-screen rule below is spent against that budget.
 */

.btn--xl { min-height: 60px; padding: .9rem 1.4rem; font-size: var(--step-1); }
.btn--lg { min-height: 52px; }

/* ---- header and footer */
.lp-header { background: var(--ink); border-bottom: 1px solid rgb(236 230 219 / .09); }
.lp-header__in { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding-block: .3rem; }
.lp-header .logo { height: 42px; }
.lp-header__status {
  display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 0 auto;
  padding: .3rem .75rem; border: 1px solid rgb(236 230 219 / .22); border-radius: 999px;
  color: var(--on-dark); font-size: .78rem; font-weight: 600; white-space: nowrap;
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-2); flex: none; }
.lp-header__status:has(.is-open) .lp-dot { background: #7bd6a0; }
.lp-header__status:has(.is-shut) .lp-dot { background: var(--amber-lit); }
.lp-header__phone {
  display: none; align-items: center; gap: .5rem; min-height: 44px; padding-inline: .5rem;
  color: var(--on-dark); font-weight: 700; text-decoration: none;
}
.lp-header__phone svg { color: var(--amber-lit); }
.lp-header__phone:hover { color: var(--amber-glow); }
@media (min-width: 700px) {
  .lp-header__phone { display: inline-flex; }
}
@media (min-width: 900px) {
  .lp-header { position: sticky; top: 0; z-index: 90; }
  .lp-header__in { min-height: 64px; }
  .lp-header .logo { height: 52px; }
}

.lp-footer { background: var(--ink); color: var(--on-dark-2); padding: 2.25rem 0; font-size: var(--step--1); }
.lp-footer a { color: var(--on-dark); display: inline-block; min-height: 24px; }
.lp-footer a:hover { color: var(--amber-glow); }
.lp-footer p { margin: 0 0 .35rem; }
.lp-footer address { font-style: normal; line-height: 1.7; }
.lp-footer__name { color: var(--bone); font-size: var(--step-0); }
.lp-footer__in { display: grid; gap: 1.5rem; align-items: start; }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.lp-footer__links a { min-height: 44px; display: inline-flex; align-items: center; }
.lp-footer .lp-footer__fine {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem;
  margin-top: 1.5rem; font-size: var(--step--2);
}
.lp-footer__fine p { flex: 1 1 20rem; margin: 0; }
.lp-footer .pvi-motion-toggle { --pvi-motion-fg: var(--on-dark); }
@media (min-width: 900px) {
  .lp-footer__in { grid-template-columns: 1.3fr 1fr 1fr; }
  .lp-footer__links { flex-direction: column; gap: 0; }
}

/* ---- hero */
.lp-hero { background: var(--ink); color: var(--on-dark); padding-block: .85rem 1.35rem; }
.lp-hero__in { display: grid; gap: 1.5rem; }
.lp-hero__text { display: grid; gap: .8rem; min-width: 0; }
.lp-hero__media { display: none; }

.lp-rating {
  display: flex; align-items: center; gap: .9rem;
  padding: .6rem 1rem .6rem .9rem; border-radius: 16px;
  background: var(--ink-2); border: 1px solid rgb(236 230 219 / .2);
}
.lp-rating__num {
  margin: 0; font-family: var(--font-display); font-weight: 700; line-height: .9;
  font-size: 3.5rem; color: var(--bone); letter-spacing: -.02em;
}
.lp-rating__body { display: grid; gap: .1rem; justify-items: start; }
.lp-rating__count { margin: 0; font-weight: 700; font-size: var(--step-0); color: var(--bone); }
.lp-rating__link {
  color: var(--amber-glow); font-size: .86rem; font-weight: 600;
  padding-block: .55rem; margin-block: -.55rem; text-underline-offset: 3px;
}
.lp-rating__link:hover { color: var(--bone); }

.lp-hero__h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.5rem); line-height: 1.12; color: var(--bone); margin: .1rem 0 0; text-wrap: balance; }

.lp-who { display: flex; align-items: center; gap: .75rem; }
.lp-who__img { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--amber-lit); }
.lp-who__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-who__txt { margin: 0; display: grid; gap: .1rem; line-height: 1.3; font-size: var(--step--1); color: var(--on-dark-2); }
.lp-who__txt strong { color: var(--bone); font-size: var(--step-0); }

.lp-hero__actions { display: grid; gap: .5rem; }
.lp-status { margin: 0; text-align: center; font-size: .84rem; color: var(--on-dark-2); }
.lp-status [data-open-status].is-open { color: #7bd6a0; font-weight: 600; }
.lp-status:has(.is-shut) .lp-status__extra { display: none; }

.lp-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .8rem; color: var(--on-dark-2); }
.lp-ticks li { display: inline-flex; align-items: center; gap: .3rem; }
.lp-ticks svg { color: var(--amber-lit); flex: none; }

@media (min-width: 900px) {
  .lp-hero { padding-block: 3.25rem 3.5rem; }
  .lp-hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
  .lp-hero__text { gap: 1.1rem; }
  .lp-rating { align-self: start; justify-self: start; padding: .9rem 1.4rem .9rem 1.2rem; gap: 1.2rem; }
  .lp-rating__num { font-size: 4.6rem; }
  .lp-hero__h1 { font-size: var(--step-5); }
  .lp-who__img { width: 64px; height: 64px; }
  .lp-hero__actions .lp-status { text-align: left; }
  .lp-ticks { justify-content: flex-start; font-size: var(--step--1); }
  .lp-hero__media { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
  .lp-hero__media picture, .lp-hero__img { display: block; width: 100%; height: 100%; }
  .lp-hero__img { object-fit: cover; object-position: 50% 30%; }
}

/* ---- sections */
.lp-sec { padding-block: 2.5rem; background: var(--paper); color: var(--text); }
.lp-sec--alt { background: var(--paper-2); }
.lp-h2 { font-size: var(--step-3); margin-bottom: 1.1rem; }
.lp-note { font-size: var(--step-0); color: var(--text-2); max-width: 46ch; }
.lp-after { display: grid; gap: 1rem; justify-items: stretch; margin-top: 1.5rem; }
.lp-after .btn { width: 100%; }
.lp-after--row { gap: .75rem; }
@media (min-width: 700px) {
  .lp-sec { padding-block: 4rem; }
  .lp-after { grid-auto-flow: column; justify-content: start; align-items: center; gap: 1.5rem; }
  .lp-after .btn { width: auto; }
}

.lp-cards { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.lp-card { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.lp-cards .lp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; }
.lp-card__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--amber-lit); }
.lp-card__h { font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; margin: 0 0 .3rem; line-height: 1.3; }
.lp-card p { margin: 0; color: var(--text-2); font-size: var(--step--1); }
@media (min-width: 700px) { .lp-cards { grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
@media (min-width: 1100px) { .lp-cards { grid-template-columns: repeat(4, 1fr); } .lp-cards .lp-card { grid-template-columns: 1fr; } }

.lp-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0;
  color: var(--text); font-size: var(--step-0);
}
.lp-strip .stars__base { color: rgb(20 16 15 / .22); }

.lp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.lp-chips li { padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: var(--step--1); font-weight: 600; color: var(--text); }

.lp-steps-grid { display: grid; gap: 1.5rem; }
.lp-steps { counter-reset: lp; display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.lp-steps li { counter-increment: lp; position: relative; padding-left: 3.1rem; }
.lp-steps li::before {
  content: counter(lp); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--amber-glow); font-weight: 700;
}
.lp-steps p { margin: 0; color: var(--text-2); }
.lp-price { align-self: start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber-lit); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.lp-price__h { font-family: var(--font-text); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em; color: var(--amber); margin: 0 0 .6rem; }
.lp-price ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.lp-price li { color: var(--text-2); }
.lp-price strong { color: var(--text); }
@media (min-width: 900px) { .lp-steps-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }

.lp-reviews .wrap { display: grid; gap: .25rem; justify-items: start; }
.lp-rating--light { margin-bottom: 1rem; }

.lp-marty { display: grid; gap: 1.5rem; align-items: center; }
.lp-marty__img { max-width: 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.lp-marty__img img { display: block; width: 100%; height: auto; }
.lp-marty__name { font-size: var(--step-0); }
.lp-marty__txt p { color: var(--text-2); }
.lp-marty__txt .lp-marty__name { color: var(--text); }
@media (min-width: 800px) { .lp-marty { grid-template-columns: 340px 1fr; gap: 3rem; } .lp-marty__img { max-width: none; } }

.lp-where { display: grid; gap: 1.75rem; }
.lp-status--dark { text-align: left; color: var(--text-2); font-size: var(--step-0); }
.lp-status--dark [data-open-status].is-open { color: #1c6b3e; }
.lp-addr { font-style: normal; margin-bottom: .6rem; }
.lp-hours { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.2rem; align-self: start; }
@media (min-width: 800px) { .lp-where { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.lp-final { background: var(--ink); color: var(--on-dark); padding-block: 3rem; text-align: center; }
.lp-final__in { display: grid; justify-items: center; gap: .6rem; }
.lp-final__h { font-size: var(--step-4); color: var(--bone); margin: 0; text-wrap: balance; }
.lp-final__sub { font-size: var(--step-2); color: var(--bone); margin: 0; }
.lp-final__lead { color: var(--on-dark-2); font-size: var(--step-1); margin: 0 0 .75rem; max-width: 34ch; }
.lp-final .lp-act { width: 100%; max-width: 420px; }
@media (min-width: 700px) { .lp-final .lp-act { max-width: none; width: auto; justify-content: center; } }

/* ---- Call + Book online + "or text us": the one button group used across the page */
.lp-act { display: grid; gap: .35rem; grid-template-areas: "call" "text" "book"; justify-items: stretch; }
.lp-act__call { grid-area: call; }
.lp-act__book { grid-area: book; }
.lp-act__text { grid-area: text; margin: .15rem 0; text-align: center; font-size: 1.05rem; }
/* Phones: the text link is a 48px-high tap target on its own row, so a thumb aimed at
   Call does not land on it (and Book online is a further row away). */
.lp-act__textlink {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 48px; padding-inline: 1.25rem;
  color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: .2em;
}
.lp-act--dark .lp-act__textlink { color: var(--on-dark); }
.lp-act__textplain { display: none; color: var(--text-2); }
.lp-act--dark .lp-act__textplain { color: var(--on-dark-2); }
.lp-act .btn { width: 100%; white-space: nowrap; }
@media (min-width: 700px) {
  .lp-act { grid-template-columns: auto auto; grid-template-areas: "call book" "text ."; column-gap: 1rem; justify-content: start; }
  .lp-act .btn { width: auto; }
  .lp-hero .lp-act { grid-template-columns: 1fr; grid-template-areas: "call" "text" "book"; }
  .lp-hero .lp-act .btn { width: 100%; }
  .lp-act__text { text-align: left; }
  .lp-final .lp-act__text { text-align: center; }
}
/* Desktop computers cannot open sms: links, so there it is plain text, not a link. */
@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
  .lp-act__textlink { display: none; }
  .lp-act__textplain { display: block; }
  .lp-act__text { margin-block: .25rem 0; }
}

/* ---------------------------------------------------- 36. call, text, book */

/*
 * Every button does one thing: Call (tel:), Text (sms:), Book online (Jane). Nothing is
 * labelled "Call or text". Desktop computers that cannot open sms: links still show the
 * Text button, because it is its own action; only the /visit/ "or text us" line below the
 * main buttons turns into plain text there (see .lp-act__text).
 */

/* ----------------------------------------------------- review card (/review/card/) */
.rcard-wrap { padding: 2rem 1rem 3rem; display: flex; justify-content: center; }
.rcard {
  background: #fff; color: #14100f; width: min(100%, 105mm); aspect-ratio: 105 / 148;
  border: 1px solid #14100f; border-radius: 12px; padding: 7% 8%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center;
}
.rcard__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 5vw, 1.8rem); line-height: 1.15; margin: 0; }
.rcard__qr { width: 70%; height: auto; }
.rcard__scan { margin: 0; font-size: .95rem; }
.rcard__url { margin: 0; font-size: .68rem; overflow-wrap: anywhere; }
.rcard__name { margin: 0; font-family: var(--font-display); font-weight: 700; }
@media print {
  .page-rcard .rcard-intro, .page-rcard .site-footer, .page-rcard .crumbs, .page-rcard .skip-link { display: none !important; }
  .page-rcard .rcard-wrap { padding: 0; }
  .page-rcard .rcard { width: 105mm; height: 148mm; border-radius: 0; break-inside: avoid; }
  @page { size: A6; margin: 0; }
}
