/* TrueForm Physio & Rehab
   Shape rule: tape and controls are full pills, panels and photos 24px, inputs 14px. */

:root {
  --ground: #eef0ef;
  --ground-2: #e2e6e5;
  --paper: #f9faf9;
  --ink: #14213b;
  --ink-2: #46516a;
  --line: rgba(20, 33, 59, 0.16);
  --line-strong: rgba(20, 33, 59, 0.32);
  --rig-soft: #c4cad3;
  --tape: #ff6680;
  --tape-press: #f24f6c;
  --navy: #14213b;
  --on-ink: #f9faf9;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --r-panel: 24px;
  --r-input: 14px;
  --gutter: clamp(16px, 4vw, 48px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0f1728;
    --ground-2: #16203a;
    --paper: #1a2540;
    --ink: #edf0f4;
    --ink-2: #aab3c3;
    --line: rgba(237, 240, 244, 0.14);
    --line-strong: rgba(237, 240, 244, 0.3);
    --rig-soft: #34415c;
    --on-ink: #0f1728;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 420;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--tape); color: var(--navy); }
:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-strong) var(--ground); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 30; background: var(--ink); color: var(--on-ink); padding: var(--s2) var(--s4); border-radius: 999px; }
.skip:focus { top: var(--s3); }

.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(3rem, 1.1rem + 6vw, 6rem);
  font-weight: 820;
  font-stretch: 122%;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(2rem, 1.15rem + 2.6vw, 3.5rem);
  font-weight: 780;
  font-stretch: 114%;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 16ch;
}
.h2-sm { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
.h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.body { color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); color: var(--ink-2); max-width: 30ch; line-height: 1.45; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 52px; padding: 0 var(--s5);
  border-radius: 999px;
  border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: inherit; font-size: 1rem; font-weight: 640; font-stretch: 106%;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-primary { --bg: var(--ink); --fg: var(--on-ink); --bd: var(--ink); }
.btn-ghost { --bd: var(--line-strong); }
.btn-ink { --bg: var(--navy); --fg: #f9faf9; --bd: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { --bg: var(--tape); --fg: var(--navy); --bd: var(--tape); }
  .btn-ghost:hover { --bg: var(--ground-2); --bd: var(--ink); }
  .btn-ink:hover { --bg: #f9faf9; --fg: var(--navy); --bd: #f9faf9; }
}

.text-link { font-weight: 640; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--tape); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { text-decoration-color: var(--ink); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: var(--s6); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-mark line { stroke-linecap: round; stroke-width: 7; }
.bm-v { stroke: var(--ink); }
.bm-h { stroke: var(--tape); }
.brand-name { display: flex; flex-direction: column; font-weight: 800; font-stretch: 118%; font-size: 1.1875rem; line-height: 1; letter-spacing: -0.02em; }
.brand-name small { font-size: 0.6875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0.01em; color: var(--ink-2); margin-top: 4px; }
.nav-links { display: flex; gap: var(--s5); margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 0.9375rem; font-weight: 560; color: var(--ink-2); padding: var(--s2) 0; background: linear-gradient(var(--tape), var(--tape)) left bottom / 0 3px no-repeat; transition: background-size 220ms var(--ease-out), color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); background-size: 100% 3px; } }
.nav-end { display: flex; align-items: center; gap: var(--s4); }
.nav-phone { font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: none; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease-out); }
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 24px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); padding: var(--s3) var(--gutter) var(--s5); display: grid; }
.menu[hidden] { display: none; }
.menu a { padding: var(--s3) 0; font-size: 1.25rem; font-weight: 700; font-stretch: 110%; text-decoration: none; border-bottom: 1px solid var(--line); }

@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .nav-end { margin-left: auto; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  .nav-end .btn-sm { display: none; }
}
.menu .btn { margin-top: var(--s5); border-bottom: 0; font-size: 1rem; font-stretch: 106%; }
@media (min-width: 561px) { .menu .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: var(--s3) var(--s3) 0; }
.stage {
  --pad-x: clamp(24px, 4.4vw, 72px);
  --pad-y: clamp(32px, 4.4vw, 64px);
  position: relative;
  background: var(--tape);
  color: var(--navy);
  border-radius: 32px;
  min-height: clamp(620px, calc(100dvh - 72px - 64px), 860px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--s5);
  padding: var(--pad-y) var(--pad-x) calc(var(--pad-y) + 56px);
}
.hero-h1 {
  grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1;
  font-size: clamp(3.25rem, 0.4rem + 8.6vw, 8.5rem);
  line-height: 0.86; letter-spacing: -0.045em;
}
.hero-h1 .ln-2 { padding-left: 1.15em; }
.display .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.display .ln > span { display: inline-block; }
.motion .display[data-rise] .ln > span { animation: rise 900ms var(--ease-out) both; }
.motion .display[data-rise] .ln:nth-child(2) > span { animation-delay: 90ms; }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }

.rig-svg { position: absolute; z-index: 2; right: 3%; top: 3%; bottom: 76px; width: 52%; height: calc(97% - 76px); overflow: visible; }
.rig-control { position: absolute; z-index: 3; top: var(--pad-y); right: var(--pad-x); display: grid; gap: var(--s2); width: 220px; }
.rig-control label { font-size: 0.875rem; font-weight: 680; text-align: right; }

.hero-copy { grid-column: 1 / 6; grid-row: 3; align-self: end; position: relative; z-index: 3; display: grid; gap: var(--s5); }
.hero-copy .lede { color: var(--navy); max-width: 30ch; font-weight: 480; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--s3); }
.stage .btn-primary { --bg: var(--navy); --fg: #f9faf9; --bd: var(--navy); }
.stage .btn-ghost { --fg: var(--navy); --bd: rgba(20, 33, 59, 0.5); }
@media (hover: hover) and (pointer: fine) {
  .stage .btn-primary:hover { --bg: #f9faf9; --fg: var(--navy); --bd: #f9faf9; }
  .stage .btn-ghost:hover { --bg: #ff8a9e; --bd: var(--navy); }
}

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: rgba(20, 33, 59, 0.22); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: rgba(20, 33, 59, 0.22); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: #f9faf9; border: 6px solid var(--navy); transition: transform 140ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #f9faf9; border: 6px solid var(--navy); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline-color: var(--navy); }

.hero-bar {
  position: relative; z-index: 4;
  width: min(calc(100% - 2 * var(--gutter)), 1120px);
  margin: -52px auto 0;
  display: grid; grid-template-columns: 1.15fr 0.9fr 1.25fr; align-items: center;
  background: var(--paper); border-radius: 999px; padding: var(--s3);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(20, 33, 59, 0.45);
}
.hb-item { display: flex; align-items: center; gap: 14px; padding: 2px var(--s5); min-width: 0; }
.hb-item + .hb-item { border-left: 1px solid var(--line); }
.hb-place { padding-left: 2px; }
.hb-thumb { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; background: var(--ground-2); }
.hb-text { display: grid; line-height: 1.25; min-width: 0; }
.hb-k { font-weight: 700; font-stretch: 106%; white-space: nowrap; }
.hb-v { font-size: 0.875rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-strong { font-size: 1rem; font-weight: 700; color: var(--ink); }
.hb-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--line-strong); }
.hb-dot.is-open { background: #1f9d63; box-shadow: 0 0 0 4px rgba(31, 157, 99, 0.18); }
.hb-slot { justify-content: space-between; padding-right: 2px; }
.hb-k.hb-small { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
/* rig drawing */
.rig-svg .seg { stroke: var(--navy); stroke-width: 26; stroke-linecap: round; fill: none; }
.rig-svg .head { fill: var(--navy); }
.rig-svg .joint { fill: #f9faf9; }
.rig-svg .ghost { stroke: rgba(20, 33, 59, 0.16); stroke-width: 26; stroke-linecap: round; fill: none; }
.rig-svg .ghost-head { fill: rgba(20, 33, 59, 0.16); }
.rig-svg .ghosts { opacity: 1; transition: opacity 700ms ease; }
.rig-svg .ghosts.off { opacity: 0; }
.rig-svg .ground { stroke: var(--navy); stroke-width: 2; }
.rig-svg .ref { stroke: var(--navy); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.rig-svg .arc { stroke: #f9faf9; stroke-width: 10; fill: none; stroke-linecap: round; }
.rig-svg .tick { stroke: var(--navy); stroke-width: 2; }
.rig-svg .ko { stroke: var(--tape); stroke-width: 44; stroke-linecap: round; fill: none; }
.rig-svg .ko-head { fill: var(--tape); }
.rig-svg text { font-family: "Mona Sans", sans-serif; fill: var(--navy); }
.rig-svg .ro-k { font-size: 15px; font-weight: 680; }
.rig-svg .ro-n { font-size: 64px; font-weight: 820; font-stretch: 122%; letter-spacing: -0.04em; }
.rig-svg .ro-lead { stroke: var(--navy); stroke-width: 1.5; fill: none; }
.rig-svg .ro-pin { fill: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: var(--s10) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: var(--s4); margin-bottom: var(--s8); }

/* ---------- Photos (shared) ---------- */
.cl, .mp-photo, .story-photo, .tm-photo, .prices-photo, .faq-photo, .book-photo, .first-photo, .rp { margin: 0; }
.cl img, .mp-photo img, .story-photo img, .tm-photo img, .prices-photo img, .faq-photo img, .book-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-panel); background: var(--ground-2); }
figcaption { margin-top: var(--s3); font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Clinic ---------- */
.clinic-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6) var(--s6); align-items: start; }
.clinic-copy { grid-column: 1 / 6; grid-row: 1; align-self: end; display: grid; gap: var(--s4); padding-bottom: var(--s8); }
.cl-room { grid-column: 6 / 13; grid-row: 1; }
.cl-room img { aspect-ratio: 16 / 10; height: auto; }
.clinic-facts { grid-column: 1 / 6; grid-row: 2; display: grid; gap: var(--s5); align-self: start; }
.clinic-facts li { display: grid; gap: var(--s1); padding-left: 52px; position: relative; }
.clinic-facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 36px; height: 10px; border-radius: 999px; background: var(--ink); }
.clinic-facts li:first-child::before { background: var(--tape); }
.cf-k { font-weight: 700; font-stretch: 108%; }
.cf-v { color: var(--ink-2); font-size: 0.9375rem; max-width: 36ch; }
.cl-gym { grid-column: 6 / 9; grid-row: 2; }
.cl-barre { grid-column: 9 / 13; grid-row: 2; margin-top: var(--s8); }
.cl-gym img, .cl-barre img { aspect-ratio: 4 / 5; height: auto; }
.cl-barre img { object-position: 50% 40%; }

/* ---------- Body map ---------- */
.map-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: center; }
.map-stage { position: relative; aspect-ratio: 720 / 600; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-svg .seg { stroke: var(--rig-soft); stroke-width: 22; stroke-linecap: round; fill: none; }
.map-svg .seg-trunk { stroke-width: 50; }
.map-svg .head { fill: var(--rig-soft); }
.map-svg .joint { fill: var(--ground); stroke: var(--rig-soft); stroke-width: 4; }
.map-svg .leader { stroke: var(--line-strong); stroke-width: 1.5; fill: none; transition: stroke 200ms ease; }
.map-svg .leader.on { stroke: var(--ink); }
.map-svg .pin { fill: var(--ground); stroke: var(--line-strong); stroke-width: 2; transition: fill 200ms ease, stroke 200ms ease; }
.map-svg .pin.on { fill: var(--tape); stroke: var(--ink); }
.map-svg .tape { stroke: var(--tape); stroke-width: 15; stroke-linecap: round; fill: none; }
.map-svg .tape-group { opacity: 0; }
.map-svg .tape-group.on { opacity: 1; }
.motion .map-svg .tape-group.on .tape { animation: apply 520ms var(--ease-out) both; }
.motion .map-svg .tape-group.on .tape:nth-child(2) { animation-delay: 110ms; }
.motion .map-svg .tape-group.on .tape:nth-child(3) { animation-delay: 220ms; }
@keyframes apply { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.map-svg .tape { stroke-dasharray: 1 1; stroke-dashoffset: 0; }

.map-labels { position: absolute; inset: 0; }
.map-labels button {
  position: absolute; transform: translateY(-50%);
  height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--ground); color: var(--ink);
  font: inherit; font-size: 0.9375rem; font-weight: 620; font-stretch: 104%;
  cursor: pointer; white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}
.map-labels button.l { transform: translate(-100%, -50%); }
.map-labels button:active { transform: translateY(-50%) scale(0.97); }
.map-labels button.l:active { transform: translate(-100%, -50%) scale(0.97); }
.map-labels button[aria-checked="true"] { background: var(--tape); border-color: var(--tape); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .map-labels button[aria-checked="false"]:hover { border-color: var(--ink); } }

.map-panel { display: grid; gap: var(--s5); align-content: start; }
.mp-photo { margin: 0 0 var(--s1); border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ground-2); }
.mp-photo img { width: 100%; height: 100%; object-fit: cover; }
.mp-title { font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.25rem); font-weight: 800; font-stretch: 120%; line-height: 1; letter-spacing: -0.035em; }
.mp-lede { color: var(--ink-2); max-width: 44ch; }
.mp-block { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.mp-k { font-size: 0.875rem; font-weight: 680; }
.mp-list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.mp-list li { font-size: 0.9375rem; font-weight: 560; padding: 6px 14px; border-radius: 999px; background: var(--ground-2); }
.mp-p { color: var(--ink-2); max-width: 46ch; }
.mp-course { display: flex; align-items: baseline; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.mp-num { font-size: 2rem; font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; white-space: nowrap; line-height: 1; }
.mp-unit { font-size: 0.9375rem; color: var(--ink-2); max-width: 34ch; }
.map-panel .btn { justify-self: start; }
.map-panel [data-swap] { transition: opacity 200ms ease, filter 200ms ease; }
.map-panel.swapping [data-swap] { opacity: 0; filter: blur(3px); }

/* ---------- First visit ---------- */
.first-copy { display: grid; gap: var(--s4); margin-bottom: var(--s8); }
.hour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px) minmax(0, 1fr);
  grid-template-areas: "plan clock listen" "treat clock test";
  gap: var(--s8) var(--s8);
  align-items: center;
}
.clock { grid-area: clock; position: relative; aspect-ratio: 1; margin: var(--s5) 0; }
.clock-photo { position: absolute; left: 16%; top: 16%; width: 68%; height: 68%; border-radius: 50%; object-fit: cover; object-position: 62% 50%; background: var(--ground-2); }
.clock-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.clock-svg .seg { stroke: var(--ink); stroke-width: 26; fill: none; stroke-linecap: round; transition: opacity 200ms ease; }
.clock-svg .seg-tape { stroke: var(--tape); }
.clock-svg .tick { stroke: var(--line-strong); stroke-width: 1.5; }
.clock-svg .tick-l { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.clock-svg .clock-n { font-family: "Mona Sans", sans-serif; font-size: 14px; font-weight: 680; fill: var(--ink-2); }
.hour-steps { display: contents; }
.hour-steps li { display: grid; gap: var(--s2); align-content: start; max-width: 34ch; transition: opacity 200ms ease; }
.hs-listen { grid-area: listen; align-self: end; }
.hs-test { grid-area: test; align-self: start; }
.hs-treat { grid-area: treat; align-self: start; justify-self: end; text-align: right; }
.hs-plan { grid-area: plan; align-self: end; justify-self: end; text-align: right; }
.hm { font-size: 0.875rem; font-weight: 680; color: var(--ink-2); }
.hour-steps .h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 780; font-stretch: 116%; letter-spacing: -0.03em; }
.hs-treat .h3 { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 0.18em; text-underline-offset: 0.16em; }
.hour-steps p { font-size: 0.9375rem; color: var(--ink-2); }
.hour.focus .clock-svg .seg:not(.on) { opacity: 0.22; }
.hour.focus .hour-steps li:not(.on) { opacity: 0.4; }
.motion .hour .clock-svg .seg { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 700ms var(--ease-out), opacity 200ms ease; transition-delay: calc(var(--i) * 220ms), 0ms; }
.motion .hour.is-in .clock-svg .seg { stroke-dashoffset: 0; }

/* ---------- Recovery ---------- */
.rec-head { display: grid; gap: var(--s4); }
.h2-wide { max-width: 22ch; }
.phases .rp { margin-top: var(--s5); }
.rp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-panel); background: var(--ground-2); }
.chart { margin-top: var(--s9); }
.chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); align-items: baseline; margin-bottom: var(--s4); }
.chart-title { font-weight: 700; font-stretch: 106%; }
.chart-note { font-size: 0.875rem; color: var(--ink-2); }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-svg .grid { stroke: var(--line); stroke-width: 1; }
.chart-svg text { font-family: "Mona Sans", sans-serif; }
.chart-svg .axis-t { font-weight: 500; fill: var(--ink-2); }
.chart-svg .goal { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.chart-svg .goal-t { font-weight: 680; fill: var(--ink); }
.chart-svg .band { stroke-width: 14; stroke-linecap: round; }
.chart-svg .band-ink { stroke: var(--ink); }
.chart-svg .band-tape { stroke: var(--tape); }
.chart-svg .line { stroke: var(--ink); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart-svg .area { fill: var(--ink); opacity: 0.06; }
.chart-svg .dot { fill: var(--ground); stroke: var(--ink); stroke-width: 3; }
.chart-svg .dot-end { fill: var(--tape); }
.chart-svg .end-t { font-weight: 800; font-stretch: 118%; fill: var(--ink); }

.motion .chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease-in-out); }
.motion .chart.is-in .line { stroke-dashoffset: 0; }
.motion .chart .area { clip-path: inset(0 100% 0 0); transition: clip-path 1600ms var(--ease-in-out); }
.motion .chart.is-in .area { clip-path: inset(0 0 0 0); }
.motion .chart .dot { opacity: 0; transition: opacity 240ms ease; transition-delay: calc(var(--i) * 120ms + 120ms); }
.motion .chart.is-in .dot { opacity: 1; }
.motion .chart .band { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 600ms var(--ease-out); transition-delay: calc(var(--i) * 140ms); }
.motion .chart.is-in .band { stroke-dashoffset: 0; }
.motion .chart .end-t { opacity: 0; transition: opacity 300ms ease 1500ms; }
.motion .chart.is-in .end-t { opacity: 1; }

.phases { display: grid; grid-template-columns: 2fr 4fr 4fr 2fr; margin-top: var(--s5); padding-left: 6%; padding-right: 2%; }
.phases li { display: grid; gap: var(--s1); align-content: start; padding-right: var(--s5); }
.phases .pw { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.phases p { font-size: 0.9375rem; color: var(--ink-2); margin-top: var(--s1); max-width: 30ch; }

/* ---------- Prices ---------- */
.prices-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); align-items: start; }
.prices-head { display: grid; gap: var(--s4); position: sticky; top: 112px; }
.prices-head .text-link { justify-self: start; margin-top: var(--s2); }
.prices-photo { margin-top: var(--s5); }
.prices-photo img { aspect-ratio: 1 / 1; height: auto; object-position: 50% 62%; }

.faq-side { display: grid; gap: var(--s5); align-content: start; }
.faq-photo img { aspect-ratio: 16 / 10; height: auto; object-position: 50% 50%; }
.faq-side .body { max-width: 40ch; }
.book-photo img { aspect-ratio: 16 / 10; height: auto; object-position: 50% 60%; }
.book-photo { margin-top: var(--s4); }
.tx { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s6); }
.tx li { display: grid; grid-template-rows: auto 1fr auto; gap: var(--s2); padding: var(--s5) 0 var(--s6); border-top: 1px solid var(--line-strong); }
.tx-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); }
.tx-price { font-size: 1.75rem; font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1; }
.tx p { color: var(--ink-2); font-size: 0.9375rem; max-width: 36ch; }
.tx-time { justify-self: start; font-size: 0.8125rem; font-weight: 680; padding: 4px 12px; border-radius: 999px; background: var(--ground-2); }

/* ---------- People ---------- */
.quote.story p { font-size: clamp(2rem, 0.9rem + 3.6vw, 4.5rem); line-height: 1.06; max-width: 27ch; }
.q-pic { display: inline-block; width: 2.3em; height: 0.92em; border-radius: 999px; overflow: hidden; vertical-align: -0.1em; margin: 0 0.04em; background: var(--ground-2); }
.q-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 3%; transform: scale(1.5); transform-origin: 40% 22%; }
.quote.story footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.q-who { display: grid; gap: 2px; }
.story-chip {
  display: inline-flex; align-items: center; gap: var(--s4);
  background: var(--navy); color: #f9faf9; border-radius: 999px; padding: var(--s2) var(--s2) var(--s2) var(--s5);
}.story-chip span { font-size: 0.875rem; font-weight: 600; color: #b8c1d1; line-height: 1.25; }
.story-chip b { flex: none; white-space: nowrap; font-weight: 800; font-stretch: 116%; background: var(--tape); color: var(--navy); border-radius: 999px; padding: 6px 14px; }
.quote { margin: 0; display: grid; gap: var(--s6); }
.quote p { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 3rem); font-weight: 700; font-stretch: 108%; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; max-width: 22ch; }
.quote mark { background: none; color: var(--navy); position: relative; white-space: nowrap; z-index: 0; padding: 0 0.1em; }
.quote mark::before { content: ""; position: absolute; left: -0.08em; right: -0.08em; top: 0.06em; bottom: 0; background: var(--tape); border-radius: 999px; z-index: -1; transform-origin: left center; }
.motion .quote mark { transition: color 200ms ease 300ms; }
.motion .quote:not(.is-in) mark { color: inherit; }
.motion .quote mark::before { transform: scaleX(0); transition: transform 640ms var(--ease-out) 200ms; }
.motion .quote.is-in mark::before { transform: scaleX(1); }
.quote footer { display: grid; gap: 2px; }
.q-name { font-weight: 700; }
.q-meta { font-size: 0.9375rem; color: var(--ink-2); }

.team { display: grid; gap: var(--s7); margin-top: var(--s10); padding-top: var(--s9); border-top: 1px solid var(--line); }
.team-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s4) var(--s7); }
.team-head .team-note { max-width: 34ch; }
.team-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.team-list li { display: grid; gap: 2px; align-content: start; }
.team-list li:nth-child(even) { margin-top: var(--s8); }
.tm-photo { margin-bottom: var(--s4); }
.tm-photo img { aspect-ratio: 4 / 5; height: auto; object-position: 50% 25%; }
.tm-name { font-weight: 720; font-stretch: 110%; font-size: 1.125rem; }
.tm-role { color: var(--ink-2); font-size: 0.9375rem; }
.team-note { font-size: 0.875rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); interpolate-size: allow-keywords; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); padding: var(--s5) 0; cursor: pointer; list-style: none; font-size: 1.1875rem; font-weight: 680; font-stretch: 106%; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ground-2); transition: background-color 180ms ease, transform 260ms var(--ease-out); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 260ms var(--ease-out); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { background: var(--tape); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details[open] summary i::before, .faq-list details[open] summary i::after { background: var(--navy); }
.faq-a p { color: var(--ink-2); max-width: 58ch; padding-bottom: var(--s5); }
.faq-list details::details-content { height: 0; overflow: clip; transition: height 300ms var(--ease-out), content-visibility 300ms allow-discrete; }
.faq-list details[open]::details-content { height: auto; }
@media (prefers-reduced-motion: reduce) { .faq-list details::details-content { transition: none; } }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.book-copy { display: grid; gap: var(--s4); }
.visit { margin: var(--s4) 0 0; display: grid; gap: var(--s4); }
.visit div { display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.visit dt { font-size: 0.875rem; font-weight: 680; padding-top: 2px; }
.visit dd { margin: 0; color: var(--ink-2); }
.visit a { font-weight: 640; color: var(--ink); }

.booker { position: relative; background: var(--paper); border-radius: var(--r-panel); padding: var(--s6); display: grid; gap: var(--s6); box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(20, 33, 59, 0.35); }
.bk-step { display: grid; gap: var(--s3); }
.bk-k { font-size: 0.875rem; font-weight: 700; }
.bk-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.bk-type { position: relative; cursor: pointer; }
.bk-type input { position: absolute; opacity: 0; pointer-events: none; }
.bk-type span { display: grid; gap: 2px; height: 100%; padding: 14px var(--s4); border-radius: var(--r-input); border: 1.5px solid var(--line-strong); transition: border-color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out); }
.bk-type:active span { transform: scale(0.98); }
.bk-type b { font-weight: 680; font-size: 0.9375rem; line-height: 1.25; }
.bk-type em { font-style: normal; font-size: 0.8125rem; color: var(--ink-2); }
.bk-type input:checked + span { border-color: var(--ink); background: var(--ground); box-shadow: inset 0 0 0 1px var(--ink); }
.bk-type input:focus-visible + span { outline: 2px solid var(--tape); outline-offset: 2px; }

.bk-days { display: flex; gap: var(--s2); overflow-x: auto; padding: 2px 2px var(--s2); margin: -2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 64px; padding: 10px 0; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.day:active { transform: scale(0.96); }
.day .dw { font-size: 0.75rem; font-weight: 640; color: var(--ink-2); }
.day .dn { font-size: 1.25rem; font-weight: 800; font-stretch: 112%; line-height: 1; }
.day[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.day[aria-checked="true"] .dw { color: inherit; }
@media (hover: hover) and (pointer: fine) { .day[aria-checked="false"]:hover, .slot[aria-checked="false"]:not(:disabled):hover, .bk-type:hover input:not(:checked) + span { border-color: var(--ink); } }

.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s2); }
.slot { height: 44px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit; font-weight: 640; font-size: 0.9375rem; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.slot:active:not(:disabled) { transform: scale(0.96); }
.slot:disabled { cursor: not-allowed; color: var(--ink-2); border-style: dashed; border-color: var(--line); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.slot[aria-checked="true"] { background: var(--tape); border-color: var(--tape); color: var(--navy); }

.bk-fields { grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: grid; gap: var(--s2); align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 680; }
.field input, .field select {
  height: 50px; width: 100%; padding: 0 var(--s4);
  border-radius: var(--r-input); border: 1.5px solid var(--line-strong);
  background: var(--ground); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color 160ms ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--s7); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tape) 55%, transparent); }
.field input[aria-invalid="true"] { border-color: #c4213d; }
.bk-err { font-size: 0.875rem; font-weight: 600; color: #b3203a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .booker { box-shadow: 0 0 0 1px var(--line); } :root:not([data-theme="light"]) .story-chip { box-shadow: inset 0 0 0 1px var(--line-strong); } :root:not([data-theme="light"]) .bk-err { color: #ff8b9d; } :root:not([data-theme="light"]) .field input[aria-invalid="true"] { border-color: #ff8b9d; } }

.bk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s5); border-top: 1px solid var(--line); }
.bk-summary { font-weight: 640; color: var(--ink-2); }
.bk-summary b { color: var(--ink); font-weight: 720; }

.booker.is-done > :not(.bk-done) { display: none; }
.bk-done { display: grid; place-content: center; justify-items: center; text-align: center; gap: var(--s4); padding: var(--s8) var(--s4); min-height: 420px; }
.bk-done[hidden] { display: none; }
.bk-done p { color: var(--ink-2); max-width: 36ch; }
.bk-done:focus { outline: none; }
.bk-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--tape); }
.bk-tick path { fill: none; stroke: var(--navy); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.motion .bk-done:not([hidden]) { animation: done-in 320ms var(--ease-out) both; }
.motion .bk-done:not([hidden]) .bk-tick path { animation: tick 420ms var(--ease-out) 160ms both; }
@keyframes done-in { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes tick { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s6); background: var(--ground-2); }
.foot-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); align-items: start; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.foot-cols p { font-size: 0.9375rem; color: var(--ink-2); }
.foot-cols .fk { font-size: 0.875rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s2); }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-2); }
.foot-legal p { max-width: 70ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-copy { grid-column: 1 / 8; }
  .rig-svg { width: 56%; }
  .hero-bar { grid-template-columns: 1fr 1fr; border-radius: 28px; padding: var(--s3) var(--s3) var(--s2); }
  .hb-slot { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); margin-top: var(--s3); padding: var(--s3) 2px 2px var(--s4); }
  .map-grid { grid-template-columns: 1fr; }
  .prices-grid, .people-grid, .faq-grid, .book-grid, .foot-in { grid-template-columns: 1fr; }
  .prices-head { position: static; }
  .prices-photo img { aspect-ratio: 16 / 10; }
  .clinic-grid { grid-template-columns: 1fr 1fr; }
  .clinic-copy, .cl-room, .clinic-facts { grid-column: 1 / -1; grid-row: auto; padding-bottom: 0; }
  .cl-gym { grid-column: 1; grid-row: auto; }
  .cl-barre { grid-column: 2; grid-row: auto; margin-top: var(--s7); }
  .team-list { grid-template-columns: 1fr 1fr; }
  .h2 { max-width: 20ch; }
}

@media (max-width: 760px) {
  .section { padding: var(--s9) 0; }
  .sec-head { margin-bottom: var(--s6); }
  .hero { padding: var(--s2) var(--s2) 0; }
  .stage { display: flex; flex-direction: column; min-height: 0; padding: 32px 20px 88px; border-radius: 24px; }
  .hero-h1 { font-size: clamp(3rem, 16vw, 4.75rem); }
  .hero-h1 .ln-2 { padding-left: 0.8em; }
  .hero-copy { order: 2; margin-top: var(--s5); }
  .rig-svg { order: 3; position: relative; right: auto; top: auto; bottom: auto; width: 100%; height: 320px; margin-top: var(--s6); }
  .rig-control { order: 4; position: static; width: 100%; margin-top: var(--s3); }
  .rig-control label { text-align: left; }
  .hero-bar { grid-template-columns: 1fr; border-radius: 24px; width: calc(100% - 32px); margin-top: -60px; padding: var(--s2) var(--s4); }
  .hb-item { padding: var(--s3) 0; }
  .hb-item + .hb-item { border-left: 0; border-top: 1px solid var(--line); }
  .hb-slot { margin-top: 0; padding: var(--s3) 0; }

  .map-stage { aspect-ratio: auto; display: grid; gap: var(--s4); }
  .map-svg { position: relative; inset: auto; height: auto; aspect-ratio: 420 / 600; max-height: 440px; width: 100%; }
  .map-labels { position: static; display: flex; flex-wrap: wrap; gap: var(--s2); order: -1; }
  .map-labels button, .map-labels button.l { position: static; transform: none; }
  .map-labels button:active, .map-labels button.l:active { transform: scale(0.97); }
  .map-svg .leader, .map-svg .pin { display: none; }

  .hour { grid-template-columns: 1fr; grid-template-areas: "clock" "listen" "test" "treat" "plan"; gap: 0; }
  .clock { width: min(calc(100% - 64px), 320px); justify-self: center; margin: var(--s5) 0 var(--s6); }
  .hour-steps li, .hs-treat, .hs-plan { justify-self: stretch; text-align: left; align-self: start; max-width: none; padding: var(--s5) 0; border-top: 1px solid var(--line); }

  .phases { grid-template-columns: 1fr 1fr; gap: var(--s5) 0; padding: 0; }

  .tx { grid-template-columns: 1fr; }
  .clinic-grid { gap: var(--s5) var(--s4); }
  .clinic-facts { order: 5; margin-top: var(--s4); }
  .cl-barre { margin-top: var(--s7); }
  .team { margin-top: var(--s9); padding-top: var(--s8); }
  .team-list { gap: var(--s5) var(--s4); }
  .team-list li:nth-child(even) { margin-top: var(--s7); }
  .tm-name { font-size: 1rem; }
  .tm-role { font-size: 0.875rem; }
  .bk-types { grid-template-columns: 1fr; }
  .bk-fields { grid-template-columns: 1fr; }
  .booker { padding: var(--s5) var(--s4); margin: 0 calc(var(--gutter) * -0.5); }
  .bk-foot .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr; gap: var(--s5); }
}
