/* ============================================================
   Wellness Sports Inc — design system
   Tokens, motion curves and the intro sequence follow the
   reference build at wellness-sports.vercel.app
   ============================================================ */

:root {
  --ink: #2a2b2f;
  --muted: #5b5e63;
  --faint: #8d897f;
  --bg: #fef9ef;
  --bg-lift: #f5eee1;
  --accent: #1f6b55;
  --accent-deep: #17503f;
  --accent-warm: #b05a36;
  --on-ink: #fef9ef;
  --on-accent: #fef9ef;
  --line: rgba(42, 43, 47, .12);
  --line-strong: rgba(42, 43, 47, .24);
  --surface: rgba(42, 43, 47, .028);
  --surface-hi: rgba(42, 43, 47, .055);
  --glow: rgba(31, 107, 85, .10);
  --bg-tint: #fffdf7;
  --scrim: rgba(254, 249, 239, .92);
  --veil: 254, 249, 239;
  --map-filter: saturate(.78) contrast(1.02);

  /* Display face. Swap --accent for #b05a36 to read as the reference's terracotta. */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --r-card: 22px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.76, 0, .24, 1);
  --shell: clamp(1.25rem, 6vw, 6rem);
}

:root[data-theme="dark"] {
  --ink: #f4f6f8;
  --muted: #8d98a6;
  --faint: rgba(141, 152, 166, .7);
  --bg: #07090c;
  --bg-lift: #0d1116;
  --accent: #4fd1c5;
  --accent-deep: #4fd1c5;
  --accent-warm: #f0e0c0;
  --on-ink: #07090c;
  --on-accent: #04241f;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .2);
  --surface: rgba(255, 255, 255, .03);
  --surface-hi: rgba(255, 255, 255, .06);
  --glow: rgba(79, 209, 197, .14);
  --bg-tint: #131a22;
  --scrim: rgba(7, 9, 12, .92);
  --veil: 7, 9, 12;
  --map-filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95) contrast(.95);
}

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

[hidden] { display: none !important; }

html {
  background: var(--bg);
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(120% 80% at 50% 0%, var(--bg-tint) 0%, var(--bg) 60%), var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--on-accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-size: .85rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

/* ── shared type ─────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.8vw, 5.4rem);
  font-weight: 400; line-height: 1.0; letter-spacing: -.015em;
  text-wrap: balance;
}
.display-sm { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
.line { display: block; }

/* the reference's signature: one italic serif phrase inside a roman headline */
.ital { font-style: italic; color: var(--accent); }

.sub {
  max-width: 30rem; margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem); line-height: 1.6;
}

.cta {
  display: inline-block; margin-top: 2.2rem;
  padding: 1.05rem 2.1rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.cta:hover { transform: translateY(-2px); background: var(--accent-deep); box-shadow: 0 12px 34px rgba(23, 80, 63, .22); }
.cta-accent { background: var(--accent); color: var(--on-accent); }
.cta-ink { background: var(--ink); color: var(--on-ink); }
.cta-ink:hover { background: var(--ink); box-shadow: 0 12px 34px rgba(42, 43, 47, .25); }
.cta-line {
  background: none; color: var(--ink); border: 1px solid var(--line-strong);
}
.cta-line:hover { border-color: var(--ink); box-shadow: none; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--accent);
}
.arrow-link::after { content: "→"; transition: transform .25s var(--ease-out); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ── reveal on scroll ────────────────────────────────────── */

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── intro overlay ───────────────────────────────────────── */

.intro { position: fixed; inset: 0; z-index: 120; }
.intro.is-lifting { pointer-events: none; }

.intro-panel {
  position: absolute; left: 0; right: 0; height: 50%;
  background: var(--bg);
  transition: transform 1s var(--ease-inout);
}
.intro-panel-top { top: 0; }
.intro-panel-bottom { bottom: 0; }
.intro.is-lifting .intro-panel-top { transform: translateY(-100%); }
.intro.is-lifting .intro-panel-bottom { transform: translateY(100%); }

.intro-stage {
  position: relative; display: flex; height: 100%;
  flex-direction: column; align-items: center; justify-content: center;
  padding: 0 1.5rem; transition: opacity .5s;
}
.intro.is-lifting .intro-stage { opacity: 0; }

.intro-mark {
  margin: 0; color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 650;
  letter-spacing: .22em; text-transform: uppercase;
  animation: intro-mark 1.2s var(--ease-expo) both;
}
.intro-mark-thin { margin-left: .45em; font-weight: 200; opacity: .7; }

.intro-rule {
  display: block; width: min(16rem, 60vw); height: 1px; margin-top: 2.25rem;
  background: var(--accent); transform-origin: 50%;
  animation: intro-rule 1s var(--ease-inout) .7s both;
}

.intro-words {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0 .34em; margin: 2.25rem 0 0; text-align: center;
}
.intro-word-mask { overflow: hidden; padding-bottom: .12em; padding-right: .04em; }
.intro-word {
  display: inline-block; color: var(--ink);
  font-size: clamp(1.9rem, 5.2vw, 3.4rem); font-weight: 300; letter-spacing: -.03em;
  animation: intro-word .85s var(--ease-expo) both;
}
.intro-word.is-accent { color: var(--accent); font-style: italic; }

.intro-dots { display: flex; align-items: center; gap: .75rem; margin-top: 2.5rem; }
.intro-dot {
  display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: intro-dot .5s var(--ease-expo) both;
}

.intro-skip {
  position: absolute; bottom: 2.5rem;
  display: flex; align-items: center; gap: .75rem;
  color: var(--muted); font-size: .68rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  transition: color .25s; animation: intro-skip .6s 2.2s both;
}
.intro-skip:hover { color: var(--ink); }
.intro-skip-rail {
  position: relative; display: block; width: 40px; height: 1px;
  background: var(--line-strong);
}
.intro-skip-fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: var(--accent); transition: width .5s;
}
.intro-skip:hover .intro-skip-fill { width: 100%; }

@keyframes intro-mark {
  from { opacity: 0; filter: blur(8px); transform: scale(.8); }
  to   { opacity: 1; filter: blur(0);   transform: scale(1); }
}
@keyframes intro-rule {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes intro-word {
  from { opacity: 0; transform: translateY(110%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes intro-dot {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes intro-skip { from { opacity: 0; } to { opacity: 1; } }

/* ── fixed stage (scroll-driven figure) ──────────────────── */

.stage-fixed { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scene-mount {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s .15s;
}
.scene-mount[data-ready="true"] { opacity: 1; }
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(78% 68% at 50% 45%, transparent 0%,
    rgba(var(--veil), .16) 66%, rgba(var(--veil), .44) 100%);
}

/* ── site header ─────────────────────────────────────────── */

.site-header {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.6rem var(--shell); color: var(--ink);
}
.site-header.is-fixed { position: fixed; inset: 0 0 auto; }
/* the fixed header sits over moving copy, so it carries its own scrim */
.site-header.is-fixed::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 190%; z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, var(--scrim) 45%, rgba(var(--veil), 0) 100%);
}
.site-header.is-sticky {
  position: sticky; top: 0;
  background: var(--scrim); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s;
}
.site-header.is-sticky.is-stuck { border-bottom-color: var(--line); padding-block: 1.05rem; }

/* Full brand lockup — the client's roundel plus the company wordmark, as the
   live site carries it, in place of the earlier text-only mark. */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text > b {
  font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent);
}
.brand-text > b > span { color: var(--ink); }
.brand-sub {
  font-size: .58rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 600px) { .brand-sub { display: none; } }
/* kept for the intro overlay and anywhere else that still references it */
.wordmark { display: inline-flex; align-items: baseline; gap: .38em; white-space: nowrap; }
.wordmark-thin { font-weight: 200; opacity: .7; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav-link {
  position: relative; padding: .25rem 0; white-space: nowrap;
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); transition: color .25s;
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .7rem; }

.header-cta {
  padding: .68rem 1.25rem; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  white-space: nowrap; transition: background .25s, color .25s, border-color .25s;
}
.header-cta:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.theme-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .35rem .6rem .35rem .4rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: color .25s, border-color .25s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.theme-toggle-track {
  position: relative; display: block; width: 26px; height: 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface-hi);
}
.theme-toggle-knob {
  position: absolute; top: 1px; left: 1px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent);
  transition: transform .3s var(--ease-out);
}
:root[data-theme="dark"] .theme-toggle-knob { transform: translateX(12px); }
.theme-toggle-label [data-when="dark"] { display: none; }
:root[data-theme="dark"] .theme-toggle-label [data-when="dark"] { display: inline; }
:root[data-theme="dark"] .theme-toggle-label [data-when="light"] { display: none; }

.burger { display: none; width: 34px; height: 24px; position: relative; }
.burger span {
  position: absolute; left: 4px; right: 4px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.burger span[data-bar="1"] { top: 8px; }
.burger span[data-bar="2"] { top: 15px; }
.burger[aria-expanded="true"] span[data-bar="1"] { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span[data-bar="2"] { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--shell) 3rem;
  background: var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
/* the burger has to stay reachable to close the drawer it opened */
body.drawer-open .site-header { z-index: 130; }
.drawer-links { display: flex; flex-direction: column; gap: .35rem; }
.drawer-link {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.03em;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.drawer.is-open .drawer-link { opacity: 1; transform: none; }
.drawer-index {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--accent);
}
.drawer-foot {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: .5rem;
  color: var(--muted); font-size: .9rem;
}
.drawer-foot a:hover { color: var(--accent); }

/* ── home: scroll beats ──────────────────────────────────── */

#scroll-stage { position: relative; z-index: 10; }

.beat {
  display: flex; align-items: center;
  height: 100svh; padding: 0 var(--shell);
  pointer-events: none;
}
.beat a, .beat button { pointer-events: auto; }
.beat-inner { max-width: 32rem; opacity: 0; will-change: opacity, transform; }
.beat:nth-child(even) .beat-inner { margin-left: auto; text-align: right; }
.beat:nth-child(even) .sub { margin-left: auto; }
.beat:nth-child(even) .hint { justify-content: flex-end; }

.hint {
  display: flex; align-items: center; gap: .75rem; margin: 3.2rem 0 0;
  color: var(--muted); font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.hint-rail {
  width: 46px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ── home: pinned statement ──────────────────────────────── */

.t-reveal { position: relative; height: 220vh; }
.t-reveal-pin {
  position: sticky; top: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; height: 100vh; padding: 0 1.25rem; text-align: center;
}
.t-line { margin: 0; will-change: transform, opacity, filter; }
.t-line-1 {
  color: var(--accent); font-size: clamp(.78rem, 1.5vw, .95rem); font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase;
}
.t-line-2 {
  color: var(--ink); font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 600; line-height: 1; letter-spacing: -.04em;
}

/* ── panel sections (opaque, above the stage) ────────────── */

.panel {
  position: relative; z-index: 10;
  background: var(--bg);
  padding: clamp(4.5rem, 9vw, 8rem) var(--shell);
}
.panel::before {
  content: ""; position: absolute; inset: auto 0 100% 0; height: 22vh;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.panel-alt { background: var(--bg-lift); }
.panel-alt::before { background: linear-gradient(to bottom, transparent, var(--bg-lift)); }
.panel-flush::before { display: none; }
.panel-inner { max-width: 1180px; margin: 0 auto; }

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.015em;
}
.section-lede {
  max-width: 34rem; margin-top: 1.1rem; color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6;
}

/* ── stat strip ──────────────────────────────────────────── */

.stat-row {
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.stat {
  background: var(--bg); padding: clamp(1.5rem, 3vw, 2.2rem);
}
.stat-num {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 600; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: .4rem; color: var(--muted); font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── service cards ───────────────────────────────────────── */

.svc-grid {
  display: grid; gap: clamp(.9rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.svc-card {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface);
  transition: transform .35s var(--ease-out), border-color .35s, background .35s, box-shadow .35s;
}
.svc-card:hover {
  transform: translateY(-4px); border-color: var(--line-strong);
  background: var(--surface-hi); box-shadow: 0 18px 50px rgba(0, 0, 0, .07);
}
.svc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.svc-icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--glow); color: var(--accent);
}
.svc-icon svg { width: 21px; height: 21px; }
.svc-count {
  font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.04em;
  color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1;
}
.svc-name { margin-top: 1.2rem; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.svc-desc { margin-top: .5rem; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.svc-foot { margin-top: auto; padding-top: 1.4rem; }

/* ── therapist cards ─────────────────────────────────────── */

.team-grid {
  display: grid; gap: clamp(.9rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
.t-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.t-card:hover {
  transform: translateY(-4px); border-color: var(--line-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}
.t-photo {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(150deg, var(--glow), var(--surface-hi));
}
.t-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  transition: transform .6s var(--ease-out); filter: saturate(.92);
}
.t-card:hover .t-photo img { transform: scale(1.05); }
.t-initials {
  display: grid; place-items: center; height: 100%;
  font-size: 2.4rem; font-weight: 300; letter-spacing: .04em; color: var(--accent);
}
.t-tier {
  position: absolute; top: .7rem; left: .7rem;
  padding: .28rem .6rem; border-radius: 999px;
  background: var(--scrim); backdrop-filter: blur(8px);
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.t-tier[data-tier="Premium"] { color: var(--accent); }
.t-tier[data-tier="Standard"] { color: var(--muted); }
.t-body { padding: 1rem 1.1rem 1.2rem; }
.t-name { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.t-meta { margin-top: .3rem; color: var(--muted); font-size: .82rem; }

/* ── filter chips ────────────────────────────────────────── */

.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}
.filter-label {
  margin-right: .3rem; color: var(--faint);
  font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.chip {
  padding: .52rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: .82rem; font-weight: 500;
  transition: color .25s, background .25s, border-color .25s;
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--on-ink);
}

/* ── service catalogue ───────────────────────────────────── */

.cat-block { margin-top: clamp(2rem, 4vw, 3rem); }
.cat-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.cat-title { font-size: 1.35rem; letter-spacing: -.025em; }
.cat-badge {
  padding: .25rem .65rem; border-radius: 999px;
  background: var(--glow); color: var(--accent);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.cat-desc { flex-basis: 100%; color: var(--muted); font-size: .92rem; }

.row-list { margin-top: .4rem; }
.row {
  display: grid; align-items: center; gap: .75rem;
  grid-template-columns: 1fr auto auto; padding: .95rem .2rem;
  border-bottom: 1px solid var(--line);
  transition: background .25s, padding-left .25s;
}
.row:hover { background: var(--surface); padding-left: .7rem; }
.row-name { font-size: .95rem; font-weight: 500; }
.row-tier {
  justify-self: end; padding: .2rem .55rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.row-tier[data-tier="VIP"] { color: var(--accent-warm); border-color: currentColor; }
.row-tier[data-tier="Premium"] { color: var(--accent); border-color: currentColor; }
.row-dur {
  justify-self: end; min-width: 3.6rem; text-align: right;
  color: var(--faint); font-size: .84rem; font-variant-numeric: tabular-nums;
}
.row-empty { padding: 2rem .2rem; color: var(--muted); font-size: .95rem; }

.count-note {
  margin-top: 1.4rem; color: var(--faint); font-size: .84rem;
  font-variant-numeric: tabular-nums;
}

/* ── VIP wall ────────────────────────────────────────────── */

.vip-group + .vip-group { margin-top: clamp(2rem, 4vw, 3rem); }
.vip-label {
  margin-bottom: 1.1rem; color: var(--faint);
  font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
}
.vip-row {
  display: grid; gap: clamp(.7rem, 1.4vw, 1.1rem);
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
}
.vip-card { text-align: center; }
.vip-photo {
  aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface);
}
.vip-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.vip-card:hover .vip-photo img { transform: scale(1.06); }
.vip-name { margin-top: .6rem; font-size: .82rem; font-weight: 500; line-height: 1.35; }

/* ── testimonials ────────────────────────────────────────── */

.quote-grid {
  display: grid; gap: clamp(.9rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.quote {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
}
.quote-stars { color: var(--accent-warm); font-size: .9rem; letter-spacing: .18em; }
.quote-text { margin-top: 1rem; font-size: .98rem; line-height: 1.65; color: var(--ink); }
.quote-by {
  display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1.5rem;
}
.quote-avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--glow); color: var(--accent); font-weight: 600; font-size: .9rem;
}
.quote-name { font-size: .9rem; font-weight: 600; }
.quote-role { color: var(--faint); font-size: .78rem; }

/* ── branches ────────────────────────────────────────────── */

.branch-grid {
  display: grid; gap: clamp(.9rem, 1.8vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.branch {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
}
.branch-map { aspect-ratio: 16 / 10; border: 0; width: 100%; filter: var(--map-filter); }
.branch-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.branch-name { font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; }
.branch-hq {
  margin-left: .5rem; padding: .16rem .5rem; border-radius: 999px;
  background: var(--glow); color: var(--accent);
  font-size: .6rem; font-weight: 700; letter-spacing: .12em; vertical-align: middle;
}
.branch-address {
  margin-top: .7rem; color: var(--muted); font-size: .88rem; line-height: 1.6;
  font-style: normal;
}
.branch-foot { margin-top: auto; padding-top: 1.2rem; }

.info-list { display: grid; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.info-row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem; padding: 1rem 1.2rem; background: var(--bg);
}
.info-key { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.info-val { font-size: .98rem; font-weight: 500; }
.info-val a:hover { color: var(--accent); }

/* ── inner page hero ─────────────────────────────────────── */

.page-hero {
  position: relative; z-index: 10;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--shell) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 120%;
  background: radial-gradient(60% 50% at 18% 0%, var(--glow), transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 1180px; margin: 0 auto; }
.crumb {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1.6rem;
  color: var(--faint); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
}
.crumb a:hover { color: var(--accent); }
.page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.0; letter-spacing: -.015em;
}
.page-lede {
  max-width: 34rem; margin-top: 1.3rem; color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.6;
}
.hero-rule {
  width: 100%; height: 1px; margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ── about ───────────────────────────────────────────────── */

.founder {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start;
}
.founder-photo {
  overflow: hidden; border-radius: 24px; border: 1px solid var(--line);
  background: var(--surface);
}
.founder-photo img { width: 100%; height: auto; }
.founder-role {
  margin-top: .5rem; color: var(--accent); font-size: .92rem; font-weight: 500;
}
.prose p { margin-top: 1.1rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.prose p:first-child { margin-top: 0; }

.value-grid {
  display: grid; gap: clamp(.9rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.value {
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.value:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.value-icon { color: var(--accent); }
.value-icon svg { width: 22px; height: 22px; }
.value-name { margin-top: .9rem; font-size: 1.02rem; font-weight: 600; }
.value-desc { margin-top: .4rem; color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ── enquiry form ────────────────────────────────────────── */

.form-wrap {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: start;
}
.field { display: block; margin-bottom: 1.1rem; }
.field-label {
  display: block; margin-bottom: .45rem; color: var(--muted);
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-lift); color: var(--ink);
  font: inherit; font-size: .95rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow);
}
.field-row { display: grid; gap: 0 1.1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-note { margin-top: 1rem; color: var(--faint); font-size: .82rem; line-height: 1.6; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.form-actions .cta { margin-top: 0; }

/* ── footer ──────────────────────────────────────────────── */

.site-footer {
  position: relative; z-index: 10;
  padding: clamp(3.5rem, 7vw, 5rem) var(--shell) 2.5rem;
  border-top: 1px solid var(--line); background: var(--bg-lift); color: var(--muted);
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-logo {
  width: 52px; height: 52px; border-radius: 14px; background: #fff;
  padding: 5px; border: 1px solid var(--line);
}
.footer-legal { margin-top: .2rem; color: var(--faint); font-size: .8rem; }
.footer-blurb { margin-top: 1.2rem; max-width: 26rem; font-size: .9rem; line-height: 1.7; }
.footer-h {
  margin-bottom: .9rem; color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.footer-list li + li { margin-top: .55rem; }
.footer-list a, .footer-list span { font-size: .9rem; }
.footer-list a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line); font-size: .8rem;
}
.footer-social { display: flex; gap: 1.1rem; }
.footer-social a:hover { color: var(--accent); }
/* the builder's credit, beneath the copyright line on every page */
.footer-credit {
  margin-top: 1.1rem; text-align: center; font-size: .78rem; color: var(--faint);
}
.footer-credit a { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.footer-credit a:hover { color: var(--accent); }
.footer-credit .heart { color: #e0245e; }

/* ── floating WhatsApp ───────────────────────────────────── */

/* The floating contact buttons: Call stacked above WhatsApp, the same pill twice
   (client, 28 Oct 2026). The stack is what is fixed; the pills are not. */
.fab-stack {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
}
.wa-fab, .call-fab {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.15rem; border-radius: 999px;
  background: #1f9d55; color: #fff;
  font-size: .85rem; font-weight: 600;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease-out);
}
.wa-fab:hover, .call-fab:hover { transform: translateY(-3px); }
.wa-fab svg, .call-fab svg { width: 19px; height: 19px; }
/* The site's own green, so the two are told apart at a glance: WhatsApp keeps
   WhatsApp's colour, Call takes the brand's. */
.call-fab { background: #1f6b55; }

/* ── athlete anatomy ─────────────────────────────────────── */

.an-stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── the anatomical figure ───────────────────────────────── */

/* The stage holds a WebGL canvas; the flat SVG below is the
   no-WebGL fallback and never renders alongside it. */
.an-figure {
  position: absolute; top: 0; bottom: 0; left: 0; width: 52%;
  opacity: 0; transition: opacity .8s var(--ease-out);
}
.an-figure.is-on.is-ready,
.an-figure.is-on.is-fallback { opacity: 1; }

.an-canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  display: block;
}

.an-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.an-spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line);
  border-top-color: var(--accent);
  animation: an-spin .9s linear infinite;
}
@keyframes an-spin { to { transform: rotate(360deg); } }

/* the flat figure, shown only when WebGL is unavailable */
.an-flat { display: none; position: absolute; inset: 0; }
.an-figure.is-fallback .an-flat {
  display: grid; place-items: center; perspective: 1400px;
}
.an-figure-inner {
  position: relative; width: min(40vw, 420px); height: 86vh;
  transform-style: preserve-3d;
  transition: transform 1.05s var(--ease-inout);
}
.an-figure[data-view="posterior"] .an-figure-inner { transform: rotateY(180deg); }
.an-figure.no-motion .an-figure-inner { transition: none; }

.an-svg {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: 100%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: visible;
}
.an-svg-posterior { transform: rotateY(180deg); }

/* tissue tones */
.an-svg-anterior .an-m { fill: url(#anMus-a); }
.an-svg-posterior .an-m { fill: url(#anMus-p); }
.an-svg-anterior .an-b { fill: url(#anBone-a); }
.an-svg-posterior .an-b { fill: url(#anBone-p); }
.an-svg .an-m {
  stroke: #4a1512; stroke-width: .55;
  transition: fill .45s var(--ease-out), stroke .45s var(--ease-out);
}
.an-svg .an-deep { fill: #6b201c; }
.an-svg .an-t {
  fill: #e3dcca; stroke: #b2a68b; stroke-width: .45;
  transition: fill .45s var(--ease-out), stroke .45s var(--ease-out);
}
.an-svg .an-fascia { fill: #c6b4a4; stroke: #9c8b7c; }
.an-svg .an-b { stroke: #a39678; stroke-width: .45; }

:root[data-theme="light"] .an-svg .an-m { stroke: #5d221d; }
:root[data-theme="light"] .an-svg .an-b { stroke: #9c8f74; }

/* the tissue under discussion is the only bright thing on the figure */
.an-figure[data-lit="true"] .an-svg-anterior .is-hot { fill: url(#anMusHot-a); }
.an-figure[data-lit="true"] .an-svg-posterior .is-hot { fill: url(#anMusHot-p); }
.an-figure[data-lit="true"] .an-svg .is-hot {
  opacity: 1;
  stroke: var(--accent); stroke-width: .9;
}
.an-figure[data-lit="true"] .an-svg .an-t.is-hot,
.an-figure[data-lit="true"] .an-svg .an-b.is-hot { fill: #f4ead4; }



.an-jump {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}
.an-jump a {
  display: inline-block; padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: .78rem; font-weight: 500;
  transition: color .25s, border-color .25s, background .25s;
}
.an-jump a:hover { color: var(--ink); border-color: var(--line-strong); background: var(--surface-hi); }

.an-counter {
  position: fixed; left: var(--shell); bottom: 2.2rem; z-index: 15;
  display: flex; flex-direction: column; gap: .25rem;
  pointer-events: none; opacity: 0; transition: opacity .45s var(--ease-out);
}
.an-counter.is-on { opacity: 1; }
.an-counter-n {
  display: flex; align-items: baseline; gap: .4rem;
  font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; color: var(--accent);
}
.an-counter-of { font-size: .8rem; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.an-counter-name {
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}

.an-wrap { position: relative; z-index: 10; }
.an-track {
  width: min(42rem, 46vw); margin-left: auto;
  margin-right: var(--shell); padding-bottom: 6vh;
}

.an-chapter {
  min-height: 88svh; display: flex; flex-direction: column; justify-content: center;
  padding: 4vh 0;
  opacity: .32; transition: opacity .6s var(--ease-out);
}
.an-chapter.is-current { opacity: 1; }

.an-chapter-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem;
  margin-bottom: 1rem;
}
.an-index {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.an-kind, .an-side {
  padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.an-side { color: var(--faint); }

.an-name {
  font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.02; letter-spacing: -.035em;
}
.an-also {
  margin-top: .55rem; color: var(--faint); font-size: .84rem; font-style: italic;
}
.an-lede {
  margin-top: 1.2rem; color: var(--ink);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6;
}

.an-facts {
  display: grid; gap: 1px; margin-top: 1.8rem;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden;
}
.an-facts > div { background: var(--bg); padding: 1.1rem 1.25rem; }
.an-facts dt {
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.an-facts dd {
  margin-top: .45rem; color: var(--muted); font-size: .94rem; line-height: 1.6;
}

.an-credit {
  max-width: 44rem; margin-top: 1rem;
  color: var(--faint); font-size: .8rem; line-height: 1.6;
}
.an-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.an-credit a:hover { color: var(--accent); }

.an-disclaimer {
  max-width: 44rem; padding: 1.1rem 1.3rem;
  border-left: 2px solid var(--accent); background: var(--surface);
  border-radius: 0 12px 12px 0;
  color: var(--muted); font-size: .9rem; line-height: 1.65;
}

@media (max-width: 860px) {
  .an-track { width: auto; margin: 0 var(--shell); }
  .an-figure { width: 100%; }
  .an-figure.is-on.is-ready, .an-figure.is-on.is-fallback { opacity: .22; }
  .an-figure-inner { width: 74vw; height: 70vh; }
  .an-chapter { min-height: auto; padding: 5vh 0; opacity: 1; }
  /* on a phone the counter sits over the copy, so it needs its own chip */
  .an-counter {
    left: auto; right: 1.1rem; bottom: 5.2rem; align-items: flex-end;
    gap: 0; padding: .4rem .7rem; border-radius: 12px;
    border: 1px solid var(--line); background: var(--scrim);
    backdrop-filter: blur(10px);
  }
  .an-counter-n { font-size: 1.05rem; }
  .an-counter-name { font-size: .58rem; letter-spacing: .14em; }
}

/* ── responsive ──────────────────────────────────────────── */

@media (max-width: 1000px) {
  .founder, .form-wrap { grid-template-columns: 1fr; }
  .founder-photo { max-width: 320px; }
}

@media (max-width: 1060px) {
  .site-nav, .header-cta { display: none; }
  .burger { display: block; }
  .theme-toggle-label { display: none; }
  .theme-toggle { padding: .35rem .45rem; }
  .beat:nth-child(even) .beat-inner { margin-left: 0; text-align: left; }
  .beat:nth-child(even) .sub { margin-left: 0; }
  .beat:nth-child(even) .hint { justify-content: flex-start; }
  .beat-inner { max-width: 100%; }
  .row { grid-template-columns: 1fr auto; }
  .row-tier { grid-column: 2; }
  .row-dur { grid-column: 2; grid-row: 1; }
}

@media (max-width: 600px) {
  .vip-row { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .wa-fab span, .call-fab span { display: none; }
  .wa-fab, .call-fab { padding: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro-mark, .intro-rule, .intro-word, .intro-dot, .intro-skip { animation: none; }
  .intro-panel, .intro-stage { transition: none; }
  .theme-toggle-knob { transition: none; }
  .beat-inner { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ── Oct 2026 markup: prices, Jayanagar, body map ────────── */

.brand-mark { width: 62px; height: 62px; }
/* One colour for the whole name (client, 28 Oct 2026): "Inc" in ink beside a
   green "Wellness Sports" read as two names. Larger, with the company line
   enlarged to match — it was 0.58rem, about 9px, too small to read. */
.brand-text { gap: .22rem; }
.brand-text > b { font-size: 1.5rem; letter-spacing: .03em; }
.brand-text > b > span { color: inherit; }
.brand-sub { font-size: .74rem; letter-spacing: .12em; }
/* Each line stays whole (client, 28 Oct 2026): the lockup no longer shrinks to
   whatever the nav leaves, which broke "Inc" onto a line of its own. The sizes
   step down instead, and the company line now shows on phones too. */
.brand { flex: none; }
.brand-text > b, .brand-sub { white-space: nowrap; }
@media (max-width: 1360px) {
  .brand-text > b { font-size: 1.25rem; }
  .brand-sub { font-size: .64rem; }
}
/* just above the burger breakpoint the full nav is tight beside the name */
@media (min-width: 1061px) and (max-width: 1200px) {
  .site-nav { gap: 1rem; }
  .theme-toggle-label { display: none; }
  .theme-toggle { padding: .35rem .45rem; }
}
@media (max-width: 1060px) {
  .brand-text > b { font-size: 1.4rem; }
  .brand-sub { font-size: .7rem; }
}
@media (max-width: 600px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand { gap: .5rem; }
  .brand-text { gap: .16rem; }
  .brand-text > b { font-size: 1rem; letter-spacing: .02em; }
  .brand-sub { display: block; font-size: .5rem; letter-spacing: .08em; }
}
@media (max-width: 380px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-text > b { font-size: .9rem; }
  .brand-sub { font-size: .46rem; }
}
@media (max-width: 340px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-text > b { font-size: .78rem; }
  .brand-sub { font-size: .4rem; }
}

.cat-sub {
  padding: .2rem .6rem; border-radius: 999px; background: var(--glow); color: var(--accent);
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
}
.row { grid-template-columns: 1fr auto 6.5rem auto; }
.row-name { display: flex; flex-direction: column; gap: .2rem; }
.row-note { color: var(--muted); font-size: .8rem; font-weight: 400; }
.row-save { color: var(--accent); font-size: .78rem; font-weight: 600; }
.row-price {
  justify-self: end; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums;
}
.row-price-ask { color: var(--faint); font-weight: 400; font-size: .78rem; }
.chip small { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.soon-note {
  margin: .4rem 0 1rem; padding: 1rem 1.2rem; border-radius: 14px;
  border: 1px dashed var(--line-strong); color: var(--muted); font-size: .92rem;
}
.branch-map-soon {
  display: grid; place-items: center; background: var(--surface-hi); color: var(--faint);
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
}
.branch-soon, .branch-mini-soon { border-style: dashed; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr auto; }
  .row-price { grid-column: 2; grid-row: 2; }
}

/* Associated-with marquee. Two identical tracks scroll as one; hover or focus
   pauses it, and reduced motion turns it into a wrapping grid. */
.assoc-marquee {
  display: flex; overflow: hidden; gap: 1rem; padding-block: .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.assoc-track {
  display: flex; flex: none; gap: 1rem; min-width: 100%;
  animation: assoc-roll 48s linear infinite;
}
.assoc-marquee:hover .assoc-track { animation-play-state: paused; }
@keyframes assoc-roll { to { transform: translateX(calc(-100% - 1rem)); } }
.assoc-tile {
  flex: none; display: grid; place-items: center; height: 96px; min-width: 150px;
  padding: .7rem 1.2rem; border-radius: 16px; background: #fff;
  border: 1px solid var(--line);
}
.assoc-tile img { max-height: 72px; max-width: 160px; width: auto; height: auto; }
.assoc-text { align-content: center; gap: .2rem; text-align: center; max-width: 220px; }
.assoc-text b { color: #1d2b3a; font-size: .86rem; letter-spacing: .03em; text-transform: uppercase; }
.assoc-text span { color: #5b5e63; font-size: .72rem; line-height: 1.35; }
.assoc-note { margin-top: 1.2rem; color: var(--faint); font-size: .74rem; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .assoc-marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .assoc-track { animation: none; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .assoc-track[aria-hidden] { display: none; }
}

/* Body map: hotspots sit over the figure in percent of its box. */
.bm { position: relative; display: inline-block; line-height: 0; }
.bm img { display: block; height: clamp(26rem, 70vh, 40rem); width: auto; }
.bm-mini img { height: clamp(18rem, 44vh, 29rem); }
.bm-spot {
  position: absolute; width: 18px; height: 18px; transform: translate(-50%, -50%);
  line-height: 1; text-decoration: none;
}
.bm-spot .bm-label { position: absolute; top: 50%; left: calc(100% + .4rem); transform: translateY(-50%); }
.bm-spot.bm-left .bm-label { left: auto; right: calc(100% + .4rem); }
.bm-dot {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 0 0 var(--glow); animation: bm-pulse 2.4s ease-out infinite;
}
@keyframes bm-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 107, 85, .45); } 100% { box-shadow: 0 0 0 14px rgba(31, 107, 85, 0); } }
.bm-label {
  padding: .3rem .6rem; border-radius: 999px; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  font-size: .74rem; font-weight: 600;
}
.bm-spot:hover .bm-label, .bm-spot:focus-visible .bm-label { border-color: var(--accent); color: var(--accent); }
.bm-mini .bm-label { opacity: 0; pointer-events: none; transition: opacity .2s; }
.bm-mini .bm-spot:hover .bm-label, .bm-mini .bm-spot:focus-visible .bm-label { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bm-dot { animation: none; } }

.bm-layout {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
}
.bm-layout > :first-child { display: grid; place-items: center; }
.area-index { display: grid; gap: .6rem; }
.area-link {
  display: grid; gap: .2rem; padding: 1rem 1.2rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none;
  transition: border-color .25s;
}
.area-link:hover { border-color: var(--accent); }
.area-link b { font-size: 1rem; }
.area-link span { color: var(--muted); font-size: .82rem; }
.area { padding-block: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; }
.area:target .area-name { color: var(--accent); }
.area-name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.area-lede { margin-top: .4rem; color: var(--muted); max-width: 40rem; }
.inj-grid {
  display: grid; gap: 1rem; margin-top: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.inj { padding: 1.3rem; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.inj-name { font-size: 1.05rem; font-weight: 600; }
.inj-what { margin-top: .4rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.inj-facts { margin-top: .9rem; display: grid; gap: .7rem; }
.inj-facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.inj-facts dd { margin-top: .2rem; font-size: .88rem; line-height: 1.55; }
@media (max-width: 880px) {
  .bm-layout { grid-template-columns: 1fr; }
  .bm img { height: clamp(22rem, 60vh, 32rem); }
}

/* 3D body map. The flat figure is the fallback; once the model loads
   (.is-3d) the canvas and the projected labels take its place. */
.bm3 { position: relative; width: 100%; height: clamp(30rem, 78vh, 46rem); display: grid; place-items: center; }
.bm3-mini { height: clamp(22rem, 52vh, 32rem); }
.bm3-stage, .bm3-labels { position: absolute; inset: 0; }
.bm3-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.bm3-canvas:active { cursor: grabbing; }
.bm3-labels { pointer-events: none; display: none; }
.bm3-spot { left: 0; top: 0; margin: -9px 0 0 -9px; transform: none; pointer-events: auto; }
.bm3-spot.is-hover .bm-label, .bm3-spot.is-active .bm-label { border-color: var(--accent); color: var(--accent); }
.bm3-spot.is-hover .bm-dot, .bm3-spot.is-active .bm-dot { background: var(--accent-warm); }
.bm3-mini .bm3-spot .bm-label { opacity: 1; pointer-events: auto; }
.bm3-controls, .bm3-hint { display: none; }
.bm3.is-3d .bm3-flat { display: none; }
.bm3.is-3d .bm3-labels { display: block; }
.bm3.is-3d .bm3-controls {
  display: flex; gap: .4rem; position: absolute; right: .8rem; top: .8rem;
}
.bm3-controls button {
  padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--muted); font: inherit; font-size: .75rem; cursor: pointer;
}
.bm3-controls button:hover { border-color: var(--accent); color: var(--accent); }
.bm3.is-3d .bm3-hint {
  display: block; position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%);
  color: var(--faint); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.bm3-status {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  padding: .3rem .8rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  color: var(--muted); font-size: .75rem;
}
.bm-layout > :first-child:has(.bm3) { display: block; }
.bm3-mini.is-3d .bm3-controls { top: auto; bottom: .7rem; right: .7rem; }
.bm3-mini.is-3d .bm3-hint { display: none; }

/* The booking form posts into the CRM: consent tick, status, and the receipt. */
.consent { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.2rem; color: var(--muted); font-size: .9rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.form-note[data-kind="error"] { color: var(--accent-warm); }
/* Required fields (client, 28 Oct 2026): starred, and outlined when missing. */
.req { color: var(--accent-warm); font-weight: 700; }
.form-hint { margin: -.6rem 0 1.2rem; color: var(--muted); font-size: .82rem; }
.field input[aria-invalid="true"] {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-warm) 22%, transparent);
}
.consent.is-invalid { color: var(--accent-warm); }
.consent.is-invalid input { outline: 2px solid var(--accent-warm); outline-offset: 2px; }
.form-done { padding: 1.6rem; border-radius: 18px; border: 1px solid var(--accent); background: var(--glow); }
.form-done:focus { outline: none; }
.form-done-ref { margin-top: .4rem; font-size: 1.6rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.form-done [data-msg] { margin-top: .4rem; }
