/* ==========================================================================
   Range Physiotherapy v2: shared component system
   Built to D:/Dev/graphicl-system/DESIGN-BANK.md (2026-09-18) and the approved
   SPEC-SHEET.md. Every page is composed from these classes only.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* palette (SPEC-SHEET §1, contrast measured there) */
  --paper: #F4F6F3;
  --paper-2: #E9EFEC;
  --ink: #14201D;
  --ink-muted: #4E5A57;
  --teal: #1F7A6C;        /* text on --paper only (4.76); fails on paper-2 */
  --teal-deep: #17665A;   /* teal text on --paper-2 (5.84), primary hover */
  --deep: #0F2A26;
  --deep-2: #163833;
  --deep-3: #1C443E;      /* hover tonal step on --deep-2 */
  --scrim: 10, 30, 27;    /* D: a shade deeper than --deep */
  --mint: #8FD1C2;        /* accent on dark (8.75 on deep) */
  --mint-hover: #AEDFD4;
  --mist: #A7BDB7;        /* secondary text on dark (7.7) */
  --teal-soft: #B9D5CF;   /* arc starting range, non-text */
  --hairline: #D3DCD8;
  --hairline-dark: rgba(143, 209, 194, 0.18);
  --coral: #E8632F;       /* ONE mark per page, never text (3.09) */

  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout (bank §1) */
  --gutter: 50px;
  --measure: 68ch;
  --section: 120px;
  --nav-h: 76px;
  --r-card: 16px;
  --r-small: 8px;
  --r-pill: 999px;

  /* type scale (SPEC-SHEET §2) */
  --t-hero: clamp(3.25rem, 1.15rem + 6.7vw, 7rem);
  --t-h2: clamp(2.375rem, 1.45rem + 2.9vw, 4rem);
  --t-h3: clamp(1.375rem, 1.25rem + 0.4vw, 1.625rem);
  --t-lead: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);

  /* motion (bank §1, verbatim) */
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-enter: 800ms;
  --rise: 40px;
  --stagger: 200ms;
  --ease-hover: cubic-bezier(0.44, 0, 0.56, 1);
  --dur-hover: 300ms;
  --edge-fade: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}

@media (max-width: 1024px) {
  :root { --section: 96px; --gutter: 32px; }
}
@media (max-width: 640px) {
  :root { --section: 72px; --gutter: 20px; --nav-h: 64px; }
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  overflow-x: clip;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-wrap: balance;
}
h1, h2 { word-spacing: 0.06em; }
h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.045em; }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.lt { font-weight: 300; }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: 100%; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.tnum { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--mint); }

/* grounds */
.ground-paper2 { background: var(--paper-2); }
.ground-deep { background: var(--deep); color: var(--paper); }
.grain { isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='2' stitchTiles='stitch' result='n'/%3E%3CfeColorMatrix in='n' type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  /* plain overlay, no blend mode: a blended layer over pinned, moving content made the
     GPU re-blend the whole screen every frame (Results "slow frames", Rob 2026-09-19) */
  opacity: 0.05; transform: translateZ(0);
}
.ground-deep.grain::after { opacity: 0.07; }

/* 3. Eyebrows, chips ------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em; margin: 0;
  font: 700 13px/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::before { content: "//"; letter-spacing: 0; color: var(--teal); }
.ground-paper2 .eyebrow::before { color: var(--teal-deep); }
.on-dark .eyebrow { color: var(--mist); }
.on-dark .eyebrow::before { color: var(--mint); }
.eyebrow--pill { padding: 9px 18px; border: 1px solid var(--hairline); border-radius: var(--r-pill); }
.on-dark .eyebrow--pill { border-color: var(--hairline-dark); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px; border-radius: var(--r-pill);
  font: 700 13px/1 var(--body); letter-spacing: 0.02em;
  background: var(--paper); color: var(--ink);
}
.chip--line { background: transparent; border: 1px solid var(--hairline); color: var(--ink-muted); }
.chip--dark { background: rgba(var(--scrim), 0.86); color: var(--mint); }
.on-dark .chip--line { border-color: var(--hairline-dark); color: var(--mist); }

/* 4. Buttons: split button + outline pill (bank §5) ----------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 700 16px/1 var(--body); color: #fff; text-decoration: none;
}
.btn__label, .btn__disc {
  background: var(--teal);
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.btn__label {
  display: inline-flex; align-items: center; height: 52px; padding: 0 26px;
  border-radius: var(--r-pill); white-space: nowrap;
}
.btn__disc {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
}
.btn__disc svg { width: 16px; height: 16px; transition: transform var(--dur-hover) var(--ease-hover); }
.btn:hover .btn__label, .btn:hover .btn__disc { background: var(--teal-deep); }
.btn:hover .btn__disc svg { transform: rotate(-45deg); }
.btn--mint { color: var(--deep); }
.btn--mint .btn__label, .btn--mint .btn__disc { background: var(--mint); }
.btn--mint:hover .btn__label, .btn--mint:hover .btn__disc { background: var(--mint-hover); }
.btn--sm .btn__label { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--sm .btn__disc { width: 44px; height: 44px; }

.pill-link {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 5px 0 22px;
  border: 1.5px solid currentColor; border-radius: var(--r-pill);
  font: 700 15px/1 var(--body); color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color var(--dur-hover) var(--ease-hover);
}
.pill-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-hover) var(--ease-hover);
}
.pill-link__disc {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; border: 1.5px solid currentColor;
}
.pill-link__disc svg { width: 14px; height: 14px; transition: transform var(--dur-hover) var(--ease-hover); }
.pill-link:hover { color: var(--paper); }
.pill-link:hover::before { transform: none; }
.pill-link:hover .pill-link__disc svg { transform: rotate(-45deg); }
.on-dark .pill-link { color: var(--paper); }
.on-dark .pill-link::before { background: var(--paper); }
.on-dark .pill-link:hover { color: var(--deep); }

/* 5. Header, nav, mega menu ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: var(--paper); border-bottom: 1px solid var(--hairline);
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.site-header.is-scrolled {
  background: rgba(244, 246, 243, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.site-header__bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font: 800 25px/1 var(--display); letter-spacing: -0.05em; color: var(--ink); text-decoration: none;
}
.brand__mark { width: 34px; height: 21px; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); font: 700 15px/1 var(--body); color: var(--ink); text-decoration: none;
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.nav-link:hover { background: var(--paper-2); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--coral);
}
.nav-disclosure {
  display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px;
  padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
}
.nav-disclosure svg { width: 12px; height: 12px; transition: transform var(--dur-hover) var(--ease-hover); }
.has-menu.is-open .nav-disclosure svg { transform: rotate(180deg); }
.nav-toggle {
  display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: none;
  font: 700 15px/1 var(--body); color: var(--ink); cursor: pointer;
}
.nav-toggle__icon { width: 18px; height: 12px; }
.bar-cta { flex: none; }
.bar-cta .short { display: none; }

.mega {
  position: fixed; left: 0; right: 0; top: var(--nav-h);
  background: var(--paper); border-block: 1px solid var(--hairline);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--dur-hover) var(--ease-hover), transform var(--dur-hover) var(--ease-hover), visibility 0s linear var(--dur-hover);
}
.has-menu.is-open .mega,
.has-menu:focus-within .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 961px) {
  .has-menu:hover .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega__link {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start;
  padding: 28px 28px 32px; border-left: 1px solid var(--hairline);
  color: var(--ink); text-decoration: none;
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.mega__link:first-child { border-left: 0; padding-left: 0; }
.mega__link:hover { background: var(--paper-2); }
.mega__link .arc-icon { grid-row: span 2; width: 48px; }
.mega__name { font: 700 17px/1.3 var(--display); letter-spacing: -0.01em; }
.mega__desc { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .bar-cta { margin-left: auto; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 49;
    margin: 0; padding: 24px var(--gutter) 40px; overflow-y: auto;
    background: var(--paper); display: none;
  }
  .nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--hairline); }
  .nav-link { height: 60px; padding: 0; font: 800 26px/1 var(--display); letter-spacing: -0.03em; border-radius: 0; flex: 1; }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"]::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .nav-disclosure { width: 44px; height: 44px; margin: 0; }
  .mega {
    position: static; flex-basis: 100%; display: none; visibility: visible; opacity: 1; transform: none;
    border: 0; background: none; transition: none;
  }
  .has-menu.is-open .mega { display: block; }
  .mega .container { padding: 0; }
  .mega__grid { grid-template-columns: 1fr; padding-bottom: 12px; }
  .mega__link { border-left: 0; padding: 12px 0; }
}
@media (max-width: 460px) {
  .bar-cta .long { display: none; }
  .bar-cta .short { display: inline; }
  .nav-toggle { padding: 0 14px; }
  .nav-toggle [data-nav-toggle-label] { display: none; }
  .site-header__bar { gap: 10px; }
}

/* 6. The arc device --------------------------------------------------------- */
.arc-track, .arc-before, .arc-gain { fill: none; }
.arc-track { stroke: #C9D5D0; }
.arc-before { stroke: var(--teal-soft); }
.arc-gain { stroke: var(--teal); }
.arc-threshold { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.arc-target { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 4; }
.arc-tick { stroke: #A9B8B2; stroke-width: 1.5; }
.arc-tick--major { stroke-width: 2.5; }
.arc-base { stroke: #C9D5D0; stroke-width: 1.5; }
.arc-label { font: 700 13px var(--body); fill: var(--ink-muted); }
.arc-label--end { fill: var(--teal-deep); }
.arc-needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.arc-tip { fill: var(--coral); }
.arc-hub { fill: var(--ink); }
.on-dark .arc-track, .arc--dark .arc-track { stroke: rgba(143, 209, 194, 0.16); }
.on-dark .arc-before, .arc--dark .arc-before { stroke: rgba(143, 209, 194, 0.38); }
.on-dark .arc-gain, .arc--dark .arc-gain { stroke: var(--mint); }
.on-dark .arc-threshold { stroke: var(--paper); }
.arc-icon { width: 40px; height: auto; flex: none; }
.arc-icon--light .arc-track { stroke: rgba(255, 255, 255, 0.28); }
.arc-icon--light .arc-gain { stroke: #fff; }
.arc-icon--light .arc-before { stroke: rgba(255, 255, 255, 0.55); }
.arc-icon--light .arc-threshold { stroke: #fff; }
.arc-icon--deep .arc-track { stroke: rgba(15, 42, 38, 0.22); }
.arc-icon--deep .arc-gain { stroke: var(--deep); }
.arc-icon--deep .arc-before { stroke: rgba(15, 42, 38, 0.45); }
.arc-icon--deep .arc-threshold { stroke: var(--deep); }

/* 7. Hero load sequence (global non-negotiable) ----------------------------- */
@keyframes load-rise { from { opacity: 0; transform: translateY(var(--rise)); } }
@keyframes load-rise-lg { from { opacity: 0; transform: translateY(80px); } }
@media (prefers-reduced-motion: no-preference) {
  .load { animation: load-rise var(--dur-enter) var(--ease-enter) both; }
  .load--lg { animation-name: load-rise-lg; }
  .load-2 { animation-delay: calc(var(--stagger) * 1); }
  .load-3 { animation-delay: calc(var(--stagger) * 2); }
  .load-4 { animation-delay: calc(var(--stagger) * 3); }
  .load-5 { animation-delay: calc(var(--stagger) * 4); }
}

/* Section entrances: only hidden once JS has run (html.js) */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    transition: opacity var(--dur-enter) var(--ease-enter), transform var(--dur-enter) var(--ease-enter);
  }
  html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(var(--rise)); }
  html.js [data-reveal="2"] { transition-delay: calc(var(--stagger) * 1); }
  html.js [data-reveal="3"] { transition-delay: calc(var(--stagger) * 2); }
  html.js [data-reveal="4"] { transition-delay: calc(var(--stagger) * 3); }
}

/* 8. Structured hero (Pactum) ---------------------------------------------- */
.hero { border-bottom: 1px solid var(--hairline); }
.hero__top { border-bottom: 1px solid var(--hairline); padding-block: clamp(40px, 6vw, 96px) clamp(28px, 3.4vw, 52px); }
.hero__title {
  margin-top: 22px; font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.055em;
}
.hero__lower {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) 64px;
}
.hero__band {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 44px 48px 36px 0; border-right: 1px solid var(--hairline);
}
.hero__band .lead { max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 22px; border-top: 1px solid var(--hairline);
  font-size: 15px; color: var(--ink-muted);
}
.hero__band .hero__meta { margin-top: 28px; }
.hero__meta a { text-decoration: none; }
.hero__meta a:hover { color: var(--ink); }
.hours-dot { display: inline-flex; align-items: center; gap: 10px; }
.hours-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.on-dark .hours-dot::before { background: var(--mint); }
.hero__side { padding: 36px 36px 36px 36px; border-right: 1px solid var(--hairline); }
.hero__cue {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px;
  padding-bottom: 36px; font: 700 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted);
}
.hero__cue span { writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ink-muted), transparent); }

.hero-card {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: 26px 28px 28px; border-radius: var(--r-card); background: var(--paper-2);
}
.hero-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-card__head .eyebrow::before { color: var(--teal-deep); }
.hero-card svg { width: 100%; }
.hero-card__reading {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--hairline);
}
.reading-num {
  font: 700 clamp(3.5rem, 2rem + 3.4vw, 5.5rem)/0.9 var(--display); letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.hero-card__caption { text-align: right; font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.hero-card__caption strong { display: block; color: var(--ink); font-weight: 700; }

/* hero card as jump links (Services) / note (Results) */
.jump { display: grid; gap: 10px; }
.jump__link {
  display: flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px;
  border-radius: var(--r-pill); background: var(--paper); color: var(--ink); text-decoration: none;
  font: 700 17px/1.2 var(--display); letter-spacing: -0.01em;
  transition: background-color var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover);
}
.jump__tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper-2); flex: none; }
.jump__tile .arc-icon { width: 32px; }
.jump__link svg.jump__arrow { width: 14px; margin-left: auto; }
.jump__link:hover { background: var(--ink); color: var(--paper); }
.note-card__tile {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-small); background: var(--teal);
}
.note-card__tile .arc-icon { width: 38px; }
.note-card p { font-size: 17px; color: var(--ink); }
.note-card p + p { color: var(--ink-muted); font-size: 15px; }

@media (max-width: 1100px) {
  .hero__lower { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__cue { display: none; }
  .hero__side { border-right: 0; padding-right: 0; }
}
@media (max-width: 800px) {
  .hero__lower { grid-template-columns: 1fr; }
  .hero__band { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .hero__side { padding: 24px 0 40px; }
}

/* Home hero photo (Rob 2026-09-19, option 1): a clinic photo behind the lower band,
   fading to ground under the copy, the arc card sitting over it on the right. */
.hero__stage { position: relative; isolation: isolate; }
.hero__photo { position: relative; overflow: clip; aspect-ratio: 16 / 9; max-height: 52svh; width: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
@media (min-width: 1101px) {
  /* Spans the gap between the copy column and the card. It starts well under the copy
     but stays nearly transparent there (long eased fade, Rob 2026-09-19), so the
     start line never shows and the copy reads on paper. The card never covers
     the people: the crop is weighted right (68%) onto Owen and the patient. */
  .hero__photo {
    position: absolute; top: 0; bottom: 0; z-index: -1;
    left: calc(var(--gutter) + (100vw - 2 * var(--gutter)) * 4 / 11 - 220px);
    width: calc((100vw - 2 * var(--gutter)) * 3 / 11 + 300px);
    aspect-ratio: auto; max-height: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 14%, rgba(0, 0, 0, 0.38) 26%, rgba(0, 0, 0, 0.75) 36%, #000 46%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 14%, rgba(0, 0, 0, 0.38) 26%, rgba(0, 0, 0, 0.75) 36%, #000 46%, #000 88%, transparent 100%);
  }
  .hero__photo img { object-position: 68% 6%; }
  .hero__lower--photo { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); }
  .hero__lower--photo .hero__band { border-right: 0; }
  .hero__lower--photo .hero__side { grid-column: 3; border-right: 0; padding: 40px 0; }
  .hero__lower--photo .hero__cue { display: none; }
  .hero__lower--photo .hero-card { box-shadow: 0 28px 64px -32px rgba(var(--scrim), 0.55); }
}
@keyframes photo-fade { from { opacity: 0; } }
@keyframes photo-settle { from { transform: scale(1.08); } }
@media (prefers-reduced-motion: no-preference) {
  .load--photo { animation-name: photo-fade; animation-duration: 1200ms; }
  .load--photo img { animation: photo-settle 1800ms var(--ease-enter) 400ms both; }
}

/* hero arc draw: final state by default; animates only once JS adds .is-drawn */
@keyframes arc-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes needle-sweep {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(40deg); animation-timing-function: cubic-bezier(0.3, 0, 0.15, 1); }
  100% { transform: rotate(155deg); }
}
.arc-needle-group { transform: rotate(155deg); transform-origin: 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .is-drawn .arc-diagram__before { --len: 40; stroke-dasharray: 40; animation: arc-draw 400ms linear 900ms both; }
  .is-drawn .arc-diagram__gain { --len: 115; stroke-dasharray: 115; animation: arc-draw 1600ms cubic-bezier(0.3, 0, 0.15, 1) 1300ms both; }
  .is-drawn .arc-needle-group { animation: needle-sweep 2000ms linear 900ms both; }
}

/* 9. Photo heroes (Method, About) ----------------------------------------- */
.photo-hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: calc(100svh - var(--nav-h)); display: grid; align-items: end;
  color: var(--paper); background: var(--deep);
}
.photo-hero__img { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.photo-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero__scrim { position: absolute; inset: 0; z-index: -1; }
.photo-hero__copy { display: grid; gap: 24px; justify-items: start; padding-block: 120px 72px; }
.photo-hero h1 { font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.055em; max-width: 12ch; }
.photo-hero .lead { color: rgba(244, 246, 243, 0.88); max-width: 42ch; }
.photo-hero .hero__actions { margin-top: 8px; }

/* Method: bottom scrim (bank default, weighted for a bright clinic photo) */
.photo-hero--method .photo-hero__img img { object-position: 50% 6%; }
.photo-hero--method .photo-hero__scrim {
  background: linear-gradient(rgba(var(--scrim), 0.4) 0%, rgba(var(--scrim), 0.1) 30%, rgba(var(--scrim), 0.74) 60%, rgba(var(--scrim), 0.92) 100%);
}
/* About: photo on the right, horizontal scrim that fades to ground */
.photo-hero--about { align-items: center; }
.photo-hero--about .photo-hero__img { left: 42%; }
.photo-hero--about .photo-hero__img img { object-position: 50% 12%; }
.photo-hero--about .photo-hero__scrim {
  left: 42%;
  background: linear-gradient(90deg, rgba(15, 42, 38, 1) 0%, rgba(15, 42, 38, 0.86) 22%, rgba(15, 42, 38, 0.42) 55%, rgba(15, 42, 38, 0.08) 100%);
}
.photo-hero--about .photo-hero__copy { padding-block: 96px; }
.photo-hero--about h1 { max-width: 11ch; }
.photo-hero--about .photo-hero__copy > :not(h1) { max-width: min(34rem, 36vw); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 800px) {
  .photo-hero--about { align-items: end; }
  .photo-hero--about .photo-hero__img, .photo-hero--about .photo-hero__scrim { left: 0; }
  .photo-hero--about .photo-hero__copy > :not(h1) { max-width: none; }
  .photo-hero--about .photo-hero__scrim {
    background: linear-gradient(rgba(15, 42, 38, 0.2) 0%, rgba(15, 42, 38, 0.35) 40%, rgba(15, 42, 38, 0.96) 100%);
  }
}
@keyframes pull-photo { from { transform: scale(1.2); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .photo-hero__img img { animation: pull-photo linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
  }
}

/* 10. Section headers --------------------------------------------------- */
.head-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  align-items: end; margin-bottom: clamp(40px, 5vw, 72px);
}
.head-grid__title { display: grid; gap: 20px; justify-items: start; }
.head-grid__aside { grid-column: 3; display: grid; gap: 22px; justify-items: start; }
.head-stack { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) {
  .head-grid { grid-template-columns: 1fr; gap: 24px; }
  .head-grid__aside { grid-column: auto; }
}

/* 11. Expand to full bleed (Phisio) ---------------------------------------- */
.expand { position: relative; background: var(--deep); color: var(--paper); }
.expand__pin { position: relative; min-height: 100svh; overflow: clip; display: grid; }
.expand__media { position: absolute; inset: 0; }
.expand__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.expand__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(var(--scrim), 0.3) 0%, rgba(var(--scrim), 0.06) 30%, rgba(var(--scrim), 0.72) 58%, rgba(var(--scrim), 0.92) 100%);
}
.expand__copy {
  position: relative; align-self: end;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 64px; align-items: end;
  padding-block: 160px 64px;
}
.expand__text { display: grid; gap: 22px; justify-items: start; }
.expand__text h2 { max-width: 15ch; color: #fff; }
.expand__text p:not(.eyebrow) { color: rgba(244, 246, 243, 0.88); font-size: var(--t-lead); line-height: 1.55; max-width: 44ch; }
.reading-panel {
  display: flex; align-items: center; gap: 22px; padding: 22px 26px;
  border-radius: var(--r-card); border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.reading-panel .arc-mark { width: 128px; flex: none; }
.reading-panel__label { display: block; font-size: 15px; line-height: 1.4; color: rgba(244, 246, 243, 0.9); }
.reading-panel__value { display: block; font: 700 44px/1 var(--display); letter-spacing: -0.04em; color: #fff; margin-top: 6px; }
@keyframes open-bleed { from { clip-path: inset(30% 27% round var(--r-card)); } to { clip-path: inset(0 round 0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes arrive { from { opacity: 0; transform: translateY(var(--rise)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .expand { height: 260vh; view-timeline-name: --expand; }
    .expand__pin { position: sticky; top: 0; height: 100svh; }
    .expand__media { animation: open-bleed linear both; animation-timeline: --expand; animation-range: contain 0% contain 42%; }
    .expand__scrim { animation: fade-in linear both; animation-timeline: --expand; animation-range: contain 36% contain 55%; }
    .expand__text { animation: arrive linear both; animation-timeline: --expand; animation-range: contain 48% contain 70%; }
    .reading-panel { animation: fade-in linear both; animation-timeline: --expand; animation-range: contain 62% contain 80%; }
  }
}
@media (max-width: 900px) {
  .expand__copy { grid-template-columns: 1fr; padding-block: 120px 40px; }
  .reading-panel { justify-self: start; }
}

/* 12. Pill marquee (Phisio) ---------------------------------------------- */
.marquee-sec { padding-block: 88px 96px; }
.marquee-sec .container { margin-bottom: 36px; }
.marquee { mask-image: var(--edge-fade); -webkit-mask-image: var(--edge-fade); overflow: clip; }
.marquee:focus-visible { outline-offset: -2px; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; gap: 16px; padding-right: 16px; }
.cond-pill {
  display: inline-flex; align-items: center; gap: 14px; height: 76px; padding: 8px 30px 8px 8px;
  border: 1px solid var(--hairline); border-radius: var(--r-pill); background: var(--paper); white-space: nowrap;
}
.cond-pill__badge { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--paper-2); }
.cond-pill__badge .arc-icon { width: 34px; }
.cond-pill span { font: 700 21px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 70s linear infinite; }
  .marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee:focus .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
}
.marquee__hint { font-size: 14px; color: var(--ink-muted); }

/* 13. Treatment cards with deal-in (Phisio) ------------------------------- */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tcard { display: block; color: #fff; text-decoration: none; border-radius: var(--r-card); }
.tcard__inner {
  position: relative; isolation: isolate; overflow: clip; aspect-ratio: 4 / 5;
  border-radius: var(--r-card); background: var(--deep);
  transition: transform var(--dur-hover) var(--ease-hover);
}
.tcard__inner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 700ms var(--ease-enter);
}
.tcard__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(var(--scrim), 0) 38%, rgba(var(--scrim), 0.9) 100%);
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.tcard__tile {
  position: absolute; top: 16px; left: 16px; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: var(--r-small); background: var(--paper);
}
.tcard__tile .arc-icon { width: 36px; }
.tcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 8px; }
.tcard__body h3 { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem); color: #fff; }
.tcard__body p {
  font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.86);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tcard:hover .tcard__inner { transform: translateY(-6px); }
.tcard:hover .tcard__inner img { transform: scale(1.04); }
.tcard:hover .tcard__inner::after { background-color: rgba(var(--scrim), 0.18); }
@keyframes deal { from { opacity: 0.2; transform: translateY(300px) scale(0.45); } to { opacity: 1; transform: none; } }
@keyframes deal-sm { from { opacity: 0.2; transform: translateY(80px) scale(0.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tcard { animation: deal linear both; animation-timeline: view(); transform-origin: 50% 100%; }
    .tcard:nth-child(1) { animation-range: entry 10% cover 38%; }
    .tcard:nth-child(2) { animation-range: entry 30% cover 44%; }
    .tcard:nth-child(3) { animation-range: entry 50% cover 50%; }
    .tcard:nth-child(4) { animation-range: entry 70% cover 56%; }
  }
}
@media (max-width: 1024px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cards4 { grid-template-columns: 1fr; }
  .tcard__inner { aspect-ratio: 5 / 4; }
}
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tcard, .tcard:nth-child(n) { animation-name: deal-sm; animation-range: entry 0% cover 30%; }
  }
}

/* Pinned deal-in (Rob 2026-09-18: slower, more scroll per card). The section
   holds for two screens and the cards arrive strictly one after another.
   Desktop with room to fit the cards only; elsewhere the unpinned version above. */
@media (min-width: 1025px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .deal-pin { height: 300vh; padding-block: 0; view-timeline-name: --deal; }
    .deal-pin__inner { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); display: flex; align-items: center; }
    .deal-pin .head-grid { margin-bottom: 40px; }
    .deal-pin .tcard__inner { max-height: calc(100svh - var(--nav-h) - 280px); }
    .deal-pin .tcard { animation-timeline: --deal; }
    .deal-pin .tcard:nth-child(1) { animation-range: contain 0% contain 24%; }
    .deal-pin .tcard:nth-child(2) { animation-range: contain 22% contain 46%; }
    .deal-pin .tcard:nth-child(3) { animation-range: contain 44% contain 68%; }
    .deal-pin .tcard:nth-child(4) { animation-range: contain 66% contain 90%; }
  }
}

/* 14. Claim, reasons, evidence (Phisio) ----------------------------------- */
.claim { text-align: center; display: grid; justify-items: center; gap: 24px; }
.claim h2 { max-width: 14ch; }
.proof-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px; border-block: 1px solid var(--hairline-dark);
}
.proof { padding: 32px 28px 36px; border-left: 1px solid var(--hairline-dark); display: grid; gap: 10px; align-content: start; }
.proof:first-child { border-left: 0; padding-left: 0; }
.proof__mark { font: 700 15px/1 var(--body); color: var(--mint); }
.proof h3 { color: var(--paper); font-size: 22px; }
.proof p { color: var(--mist); font-size: 16px; line-height: 1.6; }
.evidence { margin-top: 64px; }
.evidence__frame { position: relative; aspect-ratio: 2 / 1; border-radius: var(--r-card); overflow: clip; background: var(--deep-2); }
.evidence__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.evidence__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.evidence__bar p { color: var(--mist); font-size: 16px; }
@keyframes pull { from { transform: scale(1.2); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .pull img, img.pull { animation: pull linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }
}
@media (max-width: 900px) {
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
  .evidence__frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .proof-row { grid-template-columns: 1fr; }
  .proof { border-left: 0; padding-left: 0; }
  .proof + .proof { border-top: 1px solid var(--hairline-dark); }
}

/* 15. Sticky index synced to stacked media (Phisio) ----------------------- */
.progress {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px);
  timeline-scope: --p0, --p1, --p2;
}
.progress__side { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; display: grid; gap: 22px; justify-items: start; }
.progress__side h2 { max-width: 12ch; }
.index { width: 100%; margin-top: 12px; counter-reset: idx; }
.index li { counter-increment: idx; }
.index a {
  position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--hairline); text-decoration: none;
  font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; color: rgba(20, 32, 29, 0.5);
  transition: color var(--dur-hover) var(--ease-hover);
}
.index li:last-child a { border-bottom: 1px solid var(--hairline); }
.index a::before { content: "0" counter(idx); font: 700 14px/1 var(--body); letter-spacing: 0.04em; color: inherit; }
.index a::after {
  /* scaleX, not width: a compositor transform instead of a layout pass every frame */
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 600ms var(--ease-enter);
}
.index a:hover, .index a.is-active { color: var(--ink); }
.index a.is-active::after { transform: none; }
.progress__stack { display: grid; gap: 32px; }
.pcard {
  position: sticky; top: calc(var(--nav-h) + 48px);
  height: min(640px, calc(100svh - var(--nav-h) - 96px)); min-height: 460px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--r-card); background: var(--paper-2); overflow: clip; isolation: isolate;
  transform-origin: 50% 0; will-change: transform;
}
.pcard:nth-child(1) { view-timeline-name: --p0; }
.pcard:nth-child(2) { view-timeline-name: --p1; }
.pcard:nth-child(3) { view-timeline-name: --p2; }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--paper); opacity: 0; pointer-events: none; }
.pcard__img { position: relative; overflow: clip; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pcard__body { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; }
.pcard__top { display: grid; gap: 14px; justify-items: start; }
.pcard__top .chip { background: var(--paper); }
.pcard h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; }
.pcard .arc-mark { width: 100%; max-width: 260px; }
.pcard__reading { border-top: 1px solid var(--hairline); padding-top: 16px; display: grid; gap: 6px; }
.pcard__value { font: 700 40px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pcard__label { font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
@keyframes recede { to { transform: scale(0.9); } }
@keyframes dim-light { to { opacity: 0.55; } }
@keyframes dim-dark { to { opacity: 0.6; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .pcard:nth-child(1) { animation: recede linear both; animation-timeline: --p1; animation-range: entry 0% entry 100%; }
    .pcard:nth-child(2) { animation: recede linear both; animation-timeline: --p2; animation-range: entry 0% entry 100%; }
    .pcard:nth-child(1)::after { animation: dim-light linear both; animation-timeline: --p1; animation-range: entry 0% entry 100%; }
    .pcard:nth-child(2)::after { animation: dim-light linear both; animation-timeline: --p2; animation-range: entry 0% entry 100%; }
  }
}
@media (max-width: 960px) {
  .progress { grid-template-columns: 1fr; }
  .progress__side { position: static; }
  .index { display: none; }
  .pcard, .pcard:nth-child(n) { position: relative; top: auto; height: auto; min-height: 0; grid-template-columns: 1fr; animation: none; }
  .pcard::after { display: none; }
  .pcard__img { aspect-ratio: 4 / 3; }
}

/* 16. Owen panel (equal split, contained) ---------------------------------- */
.owen {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center;
  padding: clamp(16px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--paper-2);
}
.owen__photo { border-radius: var(--r-small); overflow: clip; aspect-ratio: 4 / 5; }
.owen__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.owen__body { display: grid; gap: 22px; justify-items: start; padding-block: 16px; padding-right: clamp(0px, 3vw, 48px); }
.owen__body .eyebrow::before { color: var(--teal-deep); }
.owen__quote { font: 300 clamp(1.25rem, 1rem + 0.7vw, 1.625rem)/1.4 var(--display); letter-spacing: -0.02em; max-width: 34ch; }
.ticks { display: grid; gap: 12px; width: 100%; max-width: 46ch; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding-top: 12px; border-top: 1px solid #D2DDD8; }
.ticks svg { width: 22px; margin-top: 4px; }
@media (max-width: 800px) {
  .owen { grid-template-columns: 1fr; }
  .owen__photo { aspect-ratio: 5 / 4; }
}

/* 17. Close band ---------------------------------------------------------- */
.close {
  position: relative; isolation: isolate; overflow: clip;
  min-height: min(88svh, 860px); display: grid; align-items: center;
  background: var(--deep); color: var(--paper);
}
.close__img { position: absolute; inset: 0; z-index: -3; }
.close__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.close__scrim {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(var(--scrim), 0.94) 0%, rgba(var(--scrim), 0.86) 34%, rgba(var(--scrim), 0.42) 62%, rgba(var(--scrim), 0.08) 100%);
}
.close__arc {
  position: absolute; z-index: -1; right: calc(var(--gutter) - 80px); bottom: -10%; width: min(760px, 70vw);
  fill: none; stroke: var(--mint); opacity: 0.2; pointer-events: none;
}
.close__copy { display: grid; gap: 24px; justify-items: start; padding-block: 120px; }
.close__copy h2 { font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5.5rem); line-height: 1; max-width: 11ch; transform-origin: 0 100%; }
.close__copy p:not(.eyebrow) { color: rgba(244, 246, 243, 0.88); font-size: var(--t-lead); line-height: 1.55; max-width: 40ch; }
.close__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.close__actions .hours-dot { color: rgba(244, 246, 243, 0.88); font-size: 15px; }
@keyframes pull-type { from { transform: scale(2); } to { transform: none; } }
@keyframes pull-type-sm { from { transform: scale(1.4); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .close__copy h2 { animation: pull-type linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) { .close__copy h2 { animation-name: pull-type-sm; } }
}
@media (max-width: 700px) {
  .close__scrim { background: linear-gradient(rgba(var(--scrim), 0.55) 0%, rgba(var(--scrim), 0.9) 60%, rgba(var(--scrim), 0.96) 100%); }
}

/* 18. Footer: wordmark, ruled grid, contact row (Phisio) ------------------ */
.site-footer { position: relative; background: var(--deep); color: var(--paper); }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  padding-block: 28px; border-bottom: 1px solid var(--hairline-dark);
}
.footer-top__info { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--mist); font-size: 16px; }
.footer-top__info .hours-dot { color: var(--paper); font-weight: 700; }
.footer-mark { padding-block: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--hairline-dark); }
.footer-mark__statement {
  font: 300 clamp(1.5rem, 1rem + 1.6vw, 2.5rem)/1.2 var(--display); letter-spacing: -0.03em; color: var(--mist);
  margin-bottom: clamp(16px, 2vw, 28px); max-width: none;
}
.footer-mark__statement strong { font-weight: 800; color: var(--paper); }
.wordmark {
  display: flex; align-items: flex-end; gap: 0.06em; color: var(--mint);
  font: 800 calc((100vw - 2 * var(--gutter)) / 3.9)/0.78 var(--display); letter-spacing: -0.065em;
  white-space: nowrap; padding-bottom: 0.16em;
}
.footer-mark .wordmark { margin-top: 0; }   /* p + p would add 1em, which is ~460px here */
.wordmark svg { height: 0.62em; width: auto; margin-bottom: 0.02em; flex: none; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-grid > * { padding: 40px 32px 44px; border-left: 1px solid var(--hairline-dark); }
.footer-grid > :first-child { border-left: 0; padding-left: 0; }
.footer-grid p { color: var(--mist); font-size: 16px; max-width: 44ch; }
.footer-heading { margin-bottom: 18px; font: 700 13px/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--paper); text-decoration: none; font-size: 16px; }
.footer-links a:hover { color: var(--mint); }
.contact-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--hairline-dark); margin: 0; }
.contact-row > div { padding: 28px 24px 30px; border-left: 1px solid var(--hairline-dark); display: grid; gap: 6px; align-content: start; }
.contact-row > div:first-child { border-left: 0; padding-left: 0; }
.contact-row dt { font: 700 13px/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.contact-row dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--paper); }
.contact-row a { text-decoration: none; }
.contact-row a:hover { color: var(--mint); }
.contact-row--light { border-block: 1px solid var(--hairline); }
.contact-row--light > div { border-left-color: var(--hairline); }
.contact-row--light dt { color: var(--ink-muted); }
.contact-row--light dd { color: var(--ink); font-size: 19px; }
.contact-row--light a:hover { color: var(--teal-deep); }
.legal { padding-block: 24px 32px; font-size: 14px; color: var(--mist); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.legal p { max-width: none; margin: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--hairline-dark); padding-right: 0; }
  .footer-grid > :nth-child(2) { border-left: 0; padding-left: 0; }
  .contact-row { grid-template-columns: 1fr 1fr; }
  .contact-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-row > div:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
  .contact-row--light > div:nth-child(n+3) { border-top-color: var(--hairline); }
}
@media (max-width: 480px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-row > div, .contact-row > div:nth-child(n) { border-left: 0; padding-left: 0; }
  .contact-row > div + div { border-top: 1px solid var(--hairline-dark); }
  .contact-row--light > div + div { border-top-color: var(--hairline); }
}

/* 19. Services: stepped stack (Roofaro) ---------------------------------- */
.stack { display: grid; gap: 40px; }
.spanel {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px;
  min-height: min(640px, calc(100svh - var(--nav-h) - 120px));
  padding: 16px; border-radius: var(--r-card); background: var(--paper-2);
  box-shadow: 0 -18px 40px -24px rgba(20, 32, 29, 0.28);
}
.spanel:nth-child(2) { top: calc(var(--nav-h) + 44px); }
.spanel:nth-child(3) { top: calc(var(--nav-h) + 64px); }
.spanel:nth-child(4) { top: calc(var(--nav-h) + 84px); }
.spanel--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.spanel--flip .spanel__img { order: 2; }
.spanel__img { position: relative; border-radius: var(--r-small); overflow: clip; min-height: 320px; }
.spanel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spanel__body { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 20px 20px 16px; }
.spanel__top { display: flex; justify-content: space-between; align-items: flex-start; }
.icon-tile { display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-small); background: var(--teal); }
.icon-tile .arc-icon { width: 40px; }
.spanel__num { font: 700 14px/1 var(--body); letter-spacing: 0.06em; color: var(--ink-muted); }
.spanel__bottom { display: grid; gap: 18px; justify-items: start; }
.spanel h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); }
.spanel p { font-size: 18px; color: var(--ink-muted); max-width: 42ch; }
.measured { display: flex; flex-wrap: wrap; gap: 8px; }
.measured .chip { background: var(--paper); }
@media (max-width: 900px) {
  .spanel, .spanel--flip, .spanel:nth-child(n) { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .spanel--flip .spanel__img { order: 0; }
  .spanel__img { aspect-ratio: 4 / 3; min-height: 0; }
}

/* 20. Method: flush row stack (Pactum) ----------------------------------- */
.rows { border-bottom: 1px solid var(--hairline); }
.row {
  position: sticky; top: var(--nav-h);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 48px; align-items: center;
  min-height: 72svh; padding-block: 56px;
  background: var(--paper); border-top: 1px solid var(--hairline);
}
.row:nth-child(even) { background: var(--paper-2); }
.row__num {
  font: 800 clamp(7rem, 4rem + 8vw, 13rem)/0.8 var(--display); letter-spacing: -0.07em;
  color: rgba(20, 32, 29, 0.07); font-variant-numeric: tabular-nums;
}
.row__body { display: grid; gap: 18px; }
.row__body h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); }
.row__body p:not(.eyebrow) { font-size: var(--t-lead); color: var(--ink-muted); max-width: 36ch; }
@media (max-width: 900px) {
  .row { position: relative; top: auto; grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .row__num { font-size: 6rem; }
}

/* 21. Method: photo rows and the re-test log ---------------------------- */
/* Method rows with photos (Rob 2026-09-19: rows "a bit plain"). Each row fills the
   screen under the nav so the next one turns over it; the photo side alternates and
   carries that step's reading on a solid chip (no backdrop blur on moving rows). */
.row--photo {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 80px);
  min-height: calc(100svh - var(--nav-h)); padding-block: 40px;
}
.row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row--flip .row__media { order: -1; }
.row__text { display: grid; gap: 28px; align-content: center; }
.row--photo .row__num { font-size: clamp(6rem, 3rem + 6vw, 10rem); color: rgba(31, 122, 108, 0.14); }
.row__media {
  position: relative; overflow: clip; border-radius: var(--r-card);
  height: calc(100svh - var(--nav-h) - 80px); min-height: 420px; background: var(--deep-2);
}
.row__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.row__chip {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 16px;
  padding: 14px 22px 14px 16px; border-radius: 12px; background: rgba(var(--scrim), 0.88); color: var(--paper);
}
.row__chip .arc-mark { width: 92px; flex: none; }
.row__chip .arc-track { stroke: rgba(143, 209, 194, 0.18); }
.row__chip .arc-before { stroke: rgba(143, 209, 194, 0.42); }
.row__chip .arc-gain { stroke: var(--mint); }
.row__chip .arc-target, .row__chip .arc-threshold { stroke: var(--paper); }
.row__chip span { display: grid; gap: 2px; font-size: 14px; line-height: 1.35; color: var(--mist); }
.row__chip strong { font: 700 30px/1 var(--display); letter-spacing: -0.03em; color: var(--paper); }
@media (max-width: 900px) {
  .row--photo, .row--flip { grid-template-columns: 1fr; min-height: 0; padding-block: 48px; }
  .row--flip .row__media { order: 0; }
  .row__media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* Re-test log (replaces the annotated photo): a goniometer pinned on the left, six
   dated re-tests scrolling past on the right. The needle and reading follow the entry
   in the middle of the screen. Without JS it shows the final reading and every entry. */
.retest__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); }
.retest__pin { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: 20px; justify-items: start; }
.retest__pin h2 { max-width: 12ch; }
.retest__intro { color: var(--mist); font-size: 18px; line-height: 1.6; max-width: 44ch; }
.gauge {
  --deg: 155;
  width: 100%; max-width: 540px; margin-top: 8px; padding: 22px 26px 24px;
  border-radius: var(--r-card); background: var(--deep-2);
}
.gauge svg { width: 100%; }
.gauge .arc-track { stroke: rgba(143, 209, 194, 0.14); }
.gauge .arc-before { stroke: rgba(143, 209, 194, 0.38); }
.gauge .arc-base { stroke: rgba(143, 209, 194, 0.2); }
.gauge .arc-tick { stroke: rgba(167, 189, 183, 0.45); }
.gauge .arc-label { fill: var(--mist); }
.gauge .arc-needle { stroke: var(--paper); }
.gauge .arc-hub, .gauge__tip { fill: var(--paper); }
.gauge__tip { fill: var(--mint); }
.gauge__gain {
  stroke: var(--mint); stroke-dasharray: 140; stroke-dashoffset: calc(140 - (var(--deg) - 40));
  transition: stroke-dashoffset 900ms var(--ease-enter);
}
.gauge__needle {
  transform: rotate(calc(var(--deg) * 1deg)); transform-origin: 0 0;
  transition: transform 900ms var(--ease-enter);
}
.gauge__target { stroke: var(--paper); stroke-width: 2; stroke-dasharray: 4 4; }
.gauge__target-label { fill: var(--paper); }
.gauge__reading {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--hairline-dark);
}
.gauge__num { font: 700 clamp(3.25rem, 2rem + 2.6vw, 4.75rem)/0.9 var(--display); letter-spacing: -0.045em; color: var(--paper); }
.gauge__week { display: grid; text-align: right; font-size: 15px; line-height: 1.4; color: var(--mist); }
.gauge__week strong { color: var(--mint); font-size: 17px; }
.retest__log { border-bottom: 1px solid var(--hairline-dark); }
.retest__entry {
  position: relative; display: grid; gap: 12px; justify-items: start; align-content: center;
  min-height: 46svh; padding: 40px 0 40px 32px; border-top: 1px solid var(--hairline-dark);
}
.retest__entry::before {
  content: ""; position: absolute; left: 0; top: 40px; bottom: 40px; width: 2px; background: var(--mint);
  transform: scaleY(0); transform-origin: top; transition: transform 600ms var(--ease-enter);
}
.retest__week { font: 700 13px/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.retest__value {
  font: 700 clamp(3rem, 2rem + 3vw, 5.5rem)/0.9 var(--display); letter-spacing: -0.045em; color: var(--paper);
  transition: color var(--dur-hover) var(--ease-hover);
}
.retest__entry p { color: var(--mist); font-size: 18px; line-height: 1.6; max-width: 40ch; transition: color var(--dur-hover) var(--ease-hover); }
/* with JS, entries not in focus dim (colour, never opacity, so they stay readable) */
html.js .retest__log.is-live .retest__entry:not(.is-active) .retest__value { color: rgba(244, 246, 243, 0.3); }
html.js .retest__log.is-live .retest__entry:not(.is-active) p { color: rgba(167, 189, 183, 0.55); }
html.js .retest__log.is-live .retest__entry.is-active::before { transform: none; }
.retest__foot { margin-top: 56px; }
@media (max-width: 960px), (max-height: 760px) {
  .retest__grid { grid-template-columns: 1fr; }
  .retest__pin { position: static; }
  .retest__entry { min-height: 0; }
  /* the gauge scrolls away here, so nothing to pair the highlight with */
  html.js .retest__log.is-live .retest__entry:not(.is-active) .retest__value { color: var(--paper); }
  html.js .retest__log.is-live .retest__entry:not(.is-active) p { color: var(--mist); }
  html.js .retest__log.is-live .retest__entry.is-active::before { transform: scaleY(0); }
}

/* 22. Results: depth stack (Visionary, Phisio) --------------------------- */
.dstack { display: grid; gap: 32px; timeline-scope: --d0, --d1, --d2; }
.dcard {
  position: sticky; top: calc(var(--nav-h) + 16px);
  height: calc(100svh - var(--nav-h) - 40px); min-height: 540px; max-height: 860px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--r-card); background: var(--deep-2); overflow: clip; isolation: isolate;
  transform-origin: 50% 0; will-change: transform;
}
.dcard:nth-child(1) { view-timeline-name: --d0; }
.dcard:nth-child(2) { view-timeline-name: --d1; }
.dcard:nth-child(3) { view-timeline-name: --d2; }
.dcard::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--deep); opacity: 0; pointer-events: none; }
.dcard__img { position: relative; overflow: clip; }
.dcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcard__img .chip { position: absolute; left: 20px; bottom: 20px; }
.dcard__body { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(24px, 3.4vw, 48px); }
.dcard__top { display: flex; justify-content: space-between; align-items: center; }
.dcard__num { font: 700 14px/1 var(--body); color: var(--mist); letter-spacing: 0.06em; }
.dcard h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); color: var(--paper); }
.dcard__outcome { color: var(--mint); font: 700 19px/1.4 var(--body); margin-top: 12px; }
.dcard__meter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding-block: 20px; border-block: 1px solid var(--hairline-dark); }
.dcard__meter .arc-mark { width: 100%; max-width: 300px; }
.dcard__value { font: 700 clamp(2rem, 1.4rem + 1.4vw, 2.75rem)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--paper); text-align: right; }
.dcard__value small { display: block; margin-top: 8px; font: 400 14px/1.3 var(--body); letter-spacing: 0; color: var(--mist); }
.dcard__text { color: var(--mist); font-size: 17px; }
@keyframes arc-grow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .dcard .arc-gain { stroke-dasharray: 1; animation: arc-grow linear both; animation-range: entry 50% entry 100%; }
    /* no photo pull-back inside a receding card: two nested scales on screen-size
       layers per card was the other half of the stutter */
    .dcard:nth-child(1) .arc-gain { animation-timeline: --d0; }
    .dcard:nth-child(2) .arc-gain { animation-timeline: --d1; }
    .dcard:nth-child(3) .arc-gain { animation-timeline: --d2; }
    .dcard:nth-child(1) { animation: recede linear both; animation-timeline: --d1; animation-range: entry 0% entry 100%; }
    .dcard:nth-child(2) { animation: recede linear both; animation-timeline: --d2; animation-range: entry 0% entry 100%; }
    .dcard:nth-child(1)::after { animation: dim-dark linear both; animation-timeline: --d1; animation-range: entry 0% entry 100%; }
    .dcard:nth-child(2)::after { animation: dim-dark linear both; animation-timeline: --d2; animation-range: entry 0% entry 100%; }
  }
}
@media (max-width: 900px) {
  .dcard, .dcard:nth-child(n) { position: relative; top: auto; height: auto; min-height: 0; max-height: none; grid-template-columns: 1fr; animation: none; }
  .dcard::after { display: none; }
  .dcard__img { aspect-ratio: 4 / 3; }
}

/* 23. About: scrubbed statement, space-between cards --------------------- */
.approach { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; align-items: start; }
.approach > .eyebrow { margin-top: 0.9em; }
.statement { font: 300 clamp(1.75rem, 1rem + 2.6vw, 3.5rem)/1.18 var(--display); letter-spacing: -0.035em; max-width: 26ch; }
.statement strong { font-weight: 800; }
.approach__bio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hairline); color: var(--ink-muted); }
.approach__bio p + p { margin-top: 0; }
@keyframes scrub { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .statement__scrub {
      color: rgba(20, 32, 29, 0.2);
      background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 0% 100%;
      -webkit-background-clip: text; background-clip: text;
      animation: scrub linear both; animation-timeline: view(); animation-range: cover 20% cover 55%;
    }
  }
}
@media (max-width: 900px) {
  .approach { grid-template-columns: 1fr; gap: 20px; }
  .approach__bio { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
}

.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scards li { display: flex; }
.scard {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 320px; padding: 28px; border-radius: var(--r-card); background: var(--deep-2);
  transition: transform var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.scards li:hover .scard { transform: translateY(-6px); background: var(--deep-3); }
.scard .icon-tile { background: var(--mint); width: 56px; height: 56px; }
.scard h3 { color: var(--paper); margin-bottom: 8px; }
.scard p {
  color: var(--mist); font-size: 16px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 900px) { .scards { grid-template-columns: 1fr; } .scard { min-height: 240px; } }

/* 24. Contact ------------------------------------------------------------ */
.book { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.book__form { width: 100%; }
.book__main { display: grid; gap: 24px; justify-items: start; }
.book__main h1 { font-size: clamp(2.75rem, 1.4rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -0.05em; max-width: 12ch; }
.form { display: grid; gap: 20px; width: 100%; max-width: 640px; margin-top: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font: 700 14px/1.2 var(--body); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid transparent; border-radius: var(--r-small);
  background: var(--paper-2); color: var(--ink); font: 400 17px/1.4 var(--body);
  transition: border-color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%2314201D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--hairline); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 2px; background-color: #fff; }
.form__fine { font-size: 15px; color: var(--ink-muted); }
.form-confirm { display: grid; gap: 12px; padding: 32px; border-radius: var(--r-card); background: var(--paper-2); max-width: 640px; }
.form-confirm h2 { font-size: 32px; }
.book__media { position: relative; border-radius: var(--r-card); overflow: clip; aspect-ratio: 4 / 5; color: #fff; isolation: isolate; }
.book__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; z-index: -2; }
.book__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(var(--scrim), 0) 45%, rgba(var(--scrim), 0.82) 100%); }
.glass-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px;
  padding: 20px 22px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.glass-card strong { font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.glass-card span { font-size: 15px; color: rgba(255, 255, 255, 0.88); }
@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; }
  .book__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* 25. Reduced motion floor ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
