/* ==========================================================================
   COACH KAL — CHOOSE YOUR COURT
   One neutral brand system. activeSport (html[data-sport]) only swaps accent,
   geometry and motion — never the whole palette.
   ========================================================================== */

:root {
  --ink: #141718;
  --paper: #F4F1EA;
  --graphite: #25292B;
  --grey: #DDE1E3;
  --muted: #5B6265;          /* on paper: 5.9:1 */
  --muted-d: #9AA3A6;        /* on ink:   7.4:1 */
  --hair: rgba(20, 23, 24, .14);
  --hair-d: rgba(244, 241, 234, .14);

  /* sport state (neutral defaults) */
  --accent: #141718;         /* fills: buttons, chips, zones */
  --accent-ink: #F4F1EA;     /* text/icons placed on --accent */
  --accent-line: #F4F1EA;    /* lines/marks drawn on dark surfaces */
  --accent-mark: #141718;    /* marks drawn on light surfaces */

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-sport: .7s;
}

html[data-sport="pickleball"]  { --accent: #C9F24A; --accent-ink: #141718; --accent-line: #C9F24A; --accent-mark: #C9F24A; }
html[data-sport="tennis"]      { --accent: #356DFF; --accent-ink: #FFFFFF; --accent-line: #356DFF; --accent-mark: #356DFF; }
html[data-sport="badminton"]   { --accent: #4FD8E8; --accent-ink: #141718; --accent-line: #4FD8E8; --accent-mark: #4FD8E8; }
html[data-sport="racquetball"] { --accent: #FF7848; --accent-ink: #141718; --accent-line: #FF7848; --accent-mark: #FF7848; }
html[data-sport="more"]        { --accent: #8067E8; --accent-ink: #FFFFFF; --accent-line: #8067E8; --accent-mark: #8067E8; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 10000;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[data-theme="dark"] :focus-visible, .mobile-menu :focus-visible, .lightbox :focus-visible { outline-color: var(--paper); }

.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 22px; }
[data-theme="dark"] .eyebrow { color: var(--muted-d); }
.eyebrow__n {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px;
  background: var(--ink); color: var(--paper);
  transition: background var(--t-sport), color var(--t-sport);
}
html:not([data-sport="none"]) .eyebrow__n { background: var(--accent); color: var(--accent-ink); }
[data-theme="dark"] .eyebrow__n { background: var(--paper); color: var(--ink); }
html:not([data-sport="none"]) [data-theme="dark"] .eyebrow__n { background: var(--accent); color: var(--accent-ink); }

.h-display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 72%;
  font-variation-settings: "wdth" 72;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
  font-size: clamp(40px, 5.4vw, 88px);
}
.h-display > span { display: block; }

/* accent mark: a court-line underline that follows activeSport */
.accent-mark {
  position: relative;
  width: fit-content;
  background-image: linear-gradient(var(--accent-mark), var(--accent-mark));
  background-repeat: no-repeat;
  background-size: 100% .14em;
  background-position: 0 92%;
  transition: background-image var(--t-sport);
  padding-bottom: .06em;
}
html[data-sport="none"] .accent-mark { background-size: 100% .06em; }
[data-theme="dark"] .accent-mark { background-image: linear-gradient(var(--accent-line), var(--accent-line)); }

/* ---------- buttons (magnetic) ---------- */
.btn {
  --btn-h: 50px;
  position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  height: var(--btn-h);
  padding: 0 5px 0 20px;
  border-radius: 2px;
  font-family: var(--f-body);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color .35s var(--ease), background-color var(--t-sport), border-color .35s;
  will-change: transform;
}
.btn::before { /* accent sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease), background-color var(--t-sport);
}
.btn__text { position: relative; display: inline-block; transition: transform .3s var(--ease); }
.btn__chip {
  display: grid; place-items: center;
  width: calc(var(--btn-h) - 10px); height: calc(var(--btn-h) - 10px);
  background: var(--accent); color: var(--accent-ink);
  border-radius: 1px;
  transition: background-color var(--t-sport), color var(--t-sport);
}
.btn__chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform .3s var(--ease); }
.btn--sm { --btn-h: 40px; font-size: 12px; padding-left: 14px; gap: 12px; }
.btn--lg { --btn-h: 56px; font-size: 15px; padding-left: 24px; }
.btn--block { width: 100%; justify-content: space-between; }

.btn--ink { background: var(--ink); color: var(--paper); }
html[data-sport="none"] .btn--ink .btn__chip { background: var(--paper); color: var(--ink); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
html[data-sport="none"] .btn--ghost .btn__chip { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ghost-dark { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.5); }
html[data-sport="none"] .btn--ghost-dark .btn__chip { background: var(--paper); color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent .btn__chip { background: var(--ink); color: var(--paper); }
html[data-sport="none"] .btn--accent { background: var(--paper); color: var(--ink); }

@media (hover: hover) {
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover { color: var(--accent-ink); }
  .btn--accent:hover { color: var(--paper); }
  .btn--accent:hover::before { background: var(--ink); }
  html[data-sport="none"] .btn:hover::before { background: var(--graphite); }
  html[data-sport="none"] .btn:hover { color: var(--paper); }
  .btn:hover .btn__chip svg { transform: translateX(2px); }
}

/* ---------- custom cursor (desktop only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [data-cursor] { cursor: none; }
  html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
  html.has-cursor .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
    transform: translate3d(-100px, -100px, 0);
  }
  .cursor__dot {
    position: absolute; left: 0; top: 0;
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    background: transparent;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, border-color .3s;
  }
  .cursor.on-dark .cursor__dot { border-color: var(--paper); }
  html:not([data-sport="none"]) .cursor__dot { background: var(--accent); border-color: var(--accent); }
  .cursor__label {
    position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6);
    font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent-ink); opacity: 0; transition: opacity .2s, transform .35s var(--ease);
  }
  html[data-sport="none"] .cursor__label { color: var(--paper); }
  .cursor.is-label .cursor__dot { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--accent); border-color: var(--accent); }
  html[data-sport="none"] .cursor.is-label .cursor__dot { background: var(--ink); border-color: var(--ink); }
  html[data-sport="none"] .cursor.is-label.on-dark .cursor__dot { background: var(--paper); border-color: var(--paper); }
  html[data-sport="none"] .cursor.is-label.on-dark .cursor__label { color: var(--ink); }
  .cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .cursor.is-hidden { opacity: 0; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: var(--paper); box-shadow: 0 1px 0 var(--hair); }
.nav.on-dark { color: var(--paper); }
.nav.on-dark.is-scrolled { background: var(--ink); box-shadow: 0 1px 0 var(--hair-d); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-variation-settings: "wdth" 80;
  font-size: 20px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
}
/* looping logo: a ball rallies over the net, the wordmark reacts to each bounce */
.nav__brand { --lt: 1.2s; }
.nav__brand:hover, .nav__brand:focus-visible { --lt: .6s; }
.logo { width: 46px; height: 31px; overflow: visible; }
.logo__court { fill: none; stroke: currentColor; stroke-width: 2; }
.logo__lines { fill: none; stroke: currentColor; stroke-width: 1.1; opacity: .35; }
.logo__net { stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; animation: logoNet var(--lt) ease-in-out infinite; }
.logo__x { transform: translateX(10px); animation: logoX var(--lt) linear infinite alternate; }
.logo__y { transform: translateY(23px); animation: logoY var(--lt) infinite; }
.logo__ball {
  fill: #C9F24A; stroke: var(--ink); stroke-width: 1;
  transform-box: fill-box; transform-origin: 50% 100%;
  animation: logoSquash var(--lt) infinite, logoColor calc(var(--lt) * 4) step-end infinite;
}
html:not([data-sport="none"]) .logo__ball { fill: var(--accent); animation: logoSquash var(--lt) infinite; }
.nav.on-dark .logo__ball { stroke: var(--paper); }
.logo__shadow { fill: currentColor; opacity: .25; transform-box: fill-box; transform-origin: 50% 50%; animation: logoShadow var(--lt) infinite; }
.logo__word { display: inline-flex; }
.logo__word > span { display: inline-block; }
.logo__k { animation: logoHop var(--lt) infinite; }
.logo__k:nth-of-type(7) { animation-delay: .05s; }
.logo__k:nth-of-type(8) { animation-delay: .1s; }
@keyframes logoX { from { transform: translateX(10px); } to { transform: translateX(38px); } }
@keyframes logoY {
  0%   { transform: translateY(23px); animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
  50%  { transform: translateY(0px);  animation-timing-function: cubic-bezier(.65, 0, .8, .4); }
  100% { transform: translateY(23px); }
}
@keyframes logoSquash { 0%, 100% { transform: scale(1.35, .7); } 7% { transform: scale(.85, 1.2); } 16%, 88% { transform: scale(1); } }
@keyframes logoShadow { 0%, 100% { transform: scale(1.2); opacity: .35; } 50% { transform: scale(.45); opacity: .1; } }
@keyframes logoNet { 0%, 38%, 62%, 100% { stroke-width: 2.4; } 50% { stroke-width: 4; } }
@keyframes logoColor { 0% { fill: #C9F24A; } 25% { fill: #356DFF; } 50% { fill: #4FD8E8; } 75% { fill: #FF7848; } }
@keyframes logoHop { 0%, 22%, 100% { transform: none; } 9% { transform: translateY(-3px); } }

.nav__links { display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 36px); }
.nav__links a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 550; padding: 6px 0; white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent-mark);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease), background-color var(--t-sport);
}
html[data-sport="none"] .nav__links a::after { background: currentColor; height: 2px; }
.nav.on-dark .nav__links a::after { background: var(--accent-line); }
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px;
  border-radius: 99px; box-shadow: inset 0 0 0 1px currentColor;
  font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  opacity: .8;
}
.nav__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; transition: background-color var(--t-sport), opacity .3s; }
html:not([data-sport="none"]) .nav__chip-dot { background: var(--accent); opacity: 1; box-shadow: 0 0 0 1px rgba(20,23,24,.25); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 800; font-stretch: 72%; font-variation-settings: "wdth" 72;
  text-transform: uppercase; font-size: 44px; line-height: 1.1; text-decoration: none;
  border-bottom: 1px solid var(--hair-d); padding: 6px 0;
}
.mobile-menu__label { color: var(--muted-d); }
.mobile-menu__sports { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   SPORT BUTTON PRIMITIVES (shared by all synced radiogroups)
   ========================================================================== */
.sport-btn { position: relative; text-align: left; }
.sport-btn__n { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; }
.sport-btn__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 72%; font-variation-settings: "wdth" 72;
  text-transform: uppercase; line-height: .95;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 2px; box-shadow: inset 0 0 0 1px var(--hair-d);
  font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
}
.pill[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
html[data-sport="none"] .pill[aria-checked="true"] { background: var(--paper); color: var(--ink); }

/* ==========================================================================
   01 — HERO / CHOOSE YOUR COURT
   ========================================================================== */
.hero {
  position: relative;
  overflow-x: clip;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 56px;
}
.hero__copy { position: relative; z-index: 2; max-width: 620px; }
.hero__display {
  font-family: var(--f-display); font-weight: 850; font-stretch: 68%; font-variation-settings: "wdth" 68;
  text-transform: uppercase; line-height: .86; letter-spacing: -.01em;
  font-size: clamp(52px, 6.3vw, 112px);
}
.hero__display .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__display .line__in { display: block; }
.hero__display .line:last-child .line__in {
  width: fit-content;
  background-image: linear-gradient(var(--accent-mark), var(--accent-mark));
  background-repeat: no-repeat; background-size: 100% .1em; background-position: 0 96%;
  transition: background-image var(--t-sport);
}
html[data-sport="none"] .hero__display .line:last-child .line__in { background-size: 0 .1em; }
.hero__h1 {
  margin-top: 22px;
  font: 600 13px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.hero__h1::before { content: ""; width: 34px; height: 2px; background: var(--ink); flex: none; }
.hero__lede { margin-top: 16px; max-width: 470px; font-size: clamp(17px, 1.3vw, 20px); color: #2c3234; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; gap: clamp(18px, 2.6vw, 40px); margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--hair); }
.hero__facts dt { color: var(--muted); font-size: 11px; }
.hero__facts dd { font-weight: 700; font-size: 17px; }

/* CTA readiness pulse (end of intro) */
.btn.is-ready::after {
  content: ""; position: absolute; inset: 0; border-radius: 2px; pointer-events: none;
  box-shadow: 0 0 0 0 var(--ink); animation: ready 1.4s var(--ease) 1;
}
@keyframes ready { from { box-shadow: 0 0 0 0 rgba(20,23,24,.45); } to { box-shadow: 0 0 0 16px rgba(20,23,24,0); } }

/* ---- stage wrap ---- */
.hero__stage-wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: 1fr auto auto;
  min-height: min(78vh, 760px);
}
.readout {
  position: absolute; top: 0; right: 0; z-index: 3;
  width: min(270px, 38%);
  padding: 16px 16px 16px 18px;
  border-left: 3px solid var(--accent-mark);
  transition: border-color var(--t-sport);
  background: rgba(244,241,234,.9);
}
html[data-sport="none"] .readout { border-left-color: var(--ink); }
.readout__label { color: var(--muted); font-size: 11px; }
.readout__sport {
  font-family: var(--f-display); font-weight: 850; font-stretch: 70%; font-variation-settings: "wdth" 70;
  text-transform: uppercase; font-size: clamp(30px, 3vw, 46px); line-height: 1; margin: 6px 0 8px;
}
.readout__copy { font-size: 15px; line-height: 1.45; max-width: 30ch; }
.readout__sport, .readout__label { padding-right: 44px; }
.readout__dims { margin-top: 10px; color: var(--muted); font-size: 11px; }
.readout__gear {
  position: absolute; right: 12px; top: 14px; width: 34px; height: 82px;
  color: var(--ink); --g-fill: var(--accent); --g-stroke: var(--ink);
}
html[data-sport="none"] .readout__gear { --g-fill: none; }
.readout [data-sport-text] { transition: opacity .25s; }
.is-swapping [data-sport-text] { opacity: 0; }

/* ---- the modular court ---- */
.stage {
  position: relative;
  display: grid; place-items: center;
  min-height: min(62vh, 600px);
  perspective: 1700px;
  perspective-origin: 50% 30%;
  touch-action: pan-y;
}
.stage__cam {
  --rx: 57deg; --rz: -32deg; --px: 0deg; --py: 0deg; --s: 1;
  transform-style: preserve-3d;
  transform: scale(var(--s)) rotateX(calc(var(--rx) + var(--py))) rotateZ(calc(var(--rz) + var(--px)));
  margin: 8% 4% 0 0;
}
.floor {
  --fw: clamp(300px, 34vw, 640px);
  --u: calc(var(--fw) / 1000);
  position: relative;
  width: var(--fw); height: calc(var(--fw) * .56);
  transform-style: preserve-3d;
}
.floor > * { position: absolute; }
.floor__apron {
  inset: 0; border-radius: 6px;
  background:
    linear-gradient(rgba(20,23,24,.06) 1px, transparent 1px) 0 0 / calc(var(--u) * 50) calc(var(--u) * 50),
    linear-gradient(90deg, rgba(20,23,24,.06) 1px, transparent 1px) 0 0 / calc(var(--u) * 50) calc(var(--u) * 50),
    var(--grey);
  box-shadow: 0 30px 60px -30px rgba(20,23,24,.35);
}
.floor__surface, .zone, .ln, .plane, .node {
  left: calc(var(--u) * var(--x, 500));
  top: calc(var(--u) * var(--y, 280));
  width: calc(var(--u) * var(--w, 0));
  height: calc(var(--u) * var(--h, 0));
  transition:
    left var(--t-sport) var(--ease-io), top var(--t-sport) var(--ease-io),
    width var(--t-sport) var(--ease-io), height var(--t-sport) var(--ease-io),
    opacity .5s, background-color var(--t-sport), border-color var(--t-sport);
}
.floor__surface { background: var(--graphite); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.floor__zones, .floor__lines, .floor__nodes { inset: 0; transform-style: flat; }
.zone { position: absolute; background: var(--accent-line); opacity: .2; }
html[data-sport="none"] .zone { opacity: 0; }
.ln { position: absolute; background: rgba(244,241,234,.92); opacity: var(--o, 1); transform-origin: 50% 50%; }
.ln--key { background: var(--accent-line); }
.ln--net { background: rgba(244,241,234,.55); }
.ln--dash.is-v { background: repeating-linear-gradient(180deg, rgba(244,241,234,.8) 0 7px, transparent 7px 14px); }
.ln--dash.is-h { background: repeating-linear-gradient(90deg, rgba(244,241,234,.8) 0 7px, transparent 7px 14px); }
.ln--ghost.is-v { background: repeating-linear-gradient(180deg, rgba(20,23,24,.35) 0 5px, transparent 5px 12px); }
.ln--ghost.is-h { background: repeating-linear-gradient(90deg, rgba(20,23,24,.35) 0 5px, transparent 5px 12px); }
html[data-sport="more"] .ln--dash.is-v { background: repeating-linear-gradient(180deg, var(--accent-line) 0 7px, transparent 7px 14px); }
html[data-sport="more"] .ln--dash.is-h { background: repeating-linear-gradient(90deg, var(--accent-line) 0 7px, transparent 7px 14px); }

/* intro: lines draw in, then pulse once */
.stage .ln { transform: scale(var(--draw, 1)); }
.stage.is-predraw .ln { --draw: 0; transition: none; }
.stage.is-drawing .ln { transition: transform .8s var(--ease) calc(var(--i) * 40ms), left var(--t-sport) var(--ease-io), top var(--t-sport) var(--ease-io), width var(--t-sport) var(--ease-io), height var(--t-sport) var(--ease-io), opacity .5s; }
.stage.is-pulse .ln { animation: linepulse .7s var(--ease) 1; }
@keyframes linepulse { 40% { filter: brightness(1.6) drop-shadow(0 0 6px rgba(244,241,234,.9)); } }

.floor__trace { inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.floor__trace path {
  fill: none; stroke: var(--accent-line); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .75;
  vector-effect: non-scaling-stroke; transition: opacity .4s;
}
html[data-sport="none"] .floor__trace path { stroke: rgba(244,241,234,.6); }

.node { position: absolute; margin: calc(var(--u) * -6) 0 0 calc(var(--u) * -6); width: calc(var(--u) * 12) !important; height: calc(var(--u) * 12) !important; border-radius: 50%; background: var(--accent-line); opacity: var(--o, 0); }
html[data-sport="more"] .stage:not(.is-off) .node { animation: nodepulse 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * 160ms); }
.stage.is-off .ball, .stage.is-off .ball-shadow { visibility: hidden; }
@keyframes nodepulse { 0%, 100% { transform: scale(.6); } 50% { transform: scale(1.2); } }

/* standing planes: net + racquetball walls */
.plane { position: absolute; transform-style: preserve-3d; pointer-events: none; }
.plane--net {
  transform-origin: 0 50%; transform: rotateY(-90deg);
  background:
    repeating-linear-gradient(0deg, rgba(20,23,24,.55) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(20,23,24,.55) 0 1px, transparent 1px 5px);
  border-right: 3px solid var(--paper);
}
html[data-sport="badminton"] .plane--net { border-right: 4px solid var(--accent-line); background:
    repeating-linear-gradient(0deg, rgba(20,23,24,.7) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(20,23,24,.7) 0 1px, transparent 1px 4px),
    rgba(79,216,232,.08); }
.plane--wall {
  background: linear-gradient(to left, color-mix(in srgb, var(--accent-line) 34%, transparent), color-mix(in srgb, var(--accent-line) 8%, transparent));
  border-right: 3px solid var(--accent-line);
}
.plane--front, .plane--back { transform-origin: 0 50%; transform: rotateY(-90deg); }
.plane--side-a, .plane--side-b {
  transform-origin: 50% 0; transform: rotateX(90deg);
  background: linear-gradient(to top, color-mix(in srgb, var(--accent-line) 30%, transparent), color-mix(in srgb, var(--accent-line) 6%, transparent));
  border-right: 0; border-bottom: 3px solid var(--accent-line);
}

/* ball / shuttle */
.ball, .ball-shadow { left: 0; top: 0; pointer-events: none; }
.ball { width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ball__body {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); box-shadow: inset -3px -3px 0 rgba(0,0,0,.18);
  transition: background-color .4s, width .4s, height .4s, left .4s, top .4s, border-radius .4s;
}
.ball-shadow {
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent);
  will-change: transform, opacity;
}
html[data-sport="pickleball"] .ball__body {
  background:
    radial-gradient(circle at 30% 32%, #141718 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 66% 28%, #141718 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 50% 56%, #141718 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 24% 70%, #141718 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 74% 68%, #141718 0 1.4px, transparent 1.8px),
    #C9F24A;
  box-shadow: inset -3px -3px 0 rgba(0,0,0,.18);
}
html[data-sport="tennis"] .ball__body {
  background: radial-gradient(circle at 120% 50%, transparent 58%, #F4F1EA 60% 66%, transparent 68%),
              radial-gradient(circle at -20% 50%, transparent 58%, #F4F1EA 60% 66%, transparent 68%),
              #DDF246;
}
html[data-sport="badminton"] .ball__body {
  width: 16px; height: 24px; left: -8px; top: -12px; border-radius: 0; box-shadow: none;
  background:
    radial-gradient(circle at 50% 84%, #F4F1EA 0 5px, transparent 5.5px),
    repeating-linear-gradient(90deg, rgba(20,23,24,.35) 0 1px, transparent 1px 3px),
    #F4F1EA;
  clip-path: polygon(0 0, 100% 0, 68% 70%, 68% 100%, 32% 100%, 32% 70%);
  transform: rotate(var(--shuttle-a, 0deg));
  transition: none;
}
html[data-sport="racquetball"] .ball__body { width: 15px; height: 15px; left: -7.5px; top: -7.5px; background: #F4F1EA; box-shadow: 0 0 0 3px var(--accent-line), inset -3px -3px 0 rgba(0,0,0,.2); }
html[data-sport="more"] .ball__body { width: 12px; height: 12px; left: -6px; top: -6px; background: var(--accent-line); box-shadow: 0 0 0 5px rgba(128,103,232,.25); }

/* ---- hero sport media card ---- */
.hero-media {
  position: absolute; left: 0; bottom: 124px; z-index: 3;
  width: clamp(116px, 9.5vw, 172px);
}
.hero-media__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--graphite);
  box-shadow: 0 0 0 5px var(--paper), 0 24px 40px -20px rgba(20,23,24,.5);
}
.hero-media__frame > * { position: absolute; inset: 0; }
.hero-media__frame img, .hero-media__frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-media__cap { margin-top: 12px; font-size: 10.5px; color: var(--muted); max-width: 24ch; }

.mitem picture { display: block; width: 100%; height: 100%; }
.mitem img, .mitem video { width: 100%; height: 100%; object-fit: cover; }
/* media swap wipe (shared) */
.mswap { animation: wipe .8s var(--ease) both; }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); transform: scale(1.08); } to { clip-path: inset(0); transform: scale(1); } }

/* ---- selector ---- */
.selector {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
}
.selector .sport-btn {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 10px 14px 0;
  min-height: 76px;
  color: var(--muted);
  transition: color .3s;
}
.selector .sport-btn::before {
  content: ""; position: absolute; left: 0; right: 10px; top: -1px; height: 4px;
  background: var(--accent-mark); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease), background-color var(--t-sport);
}
.selector .sport-btn__name { font-size: clamp(16px, 1.45vw, 24px); }
.selector .sport-btn:hover, .selector .sport-btn:focus-visible { color: var(--ink); }
.selector .sport-btn[aria-checked="true"] { color: var(--ink); }
.selector .sport-btn[aria-checked="true"]::before { transform: scaleX(1); }
.selector .sport-btn[aria-checked="true"] .sport-btn__n::after { content: " ●"; color: var(--accent-mark); }
.selector__hint { margin-top: 10px; color: var(--muted); font-size: 10.5px; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desktop { display: none; } .hint-touch { display: inline; } }

/* intro: sport names animate into position */
.is-intro .selector .sport-btn { opacity: 0; transform: translateY(18px); }
.selector .sport-btn { transition: color .3s, opacity .6s var(--ease), transform .6s var(--ease); transition-delay: 0s, calc(var(--i) * 70ms), calc(var(--i) * 70ms); }

/* ---- hero → 02 handoff line ---- */
.hero__handoff {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none;
}
.hero__handoff span {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 4px;
  background: var(--accent-mark); transform: scaleX(var(--handoff, 0)); transform-origin: 60% 50%;
  transition: background-color var(--t-sport);
}
html[data-sport="none"] .hero__handoff span { background: var(--ink); height: 1px; }

/* ==========================================================================
   02 — COACH KAL
   ========================================================================== */
.coach {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  overflow: hidden;
}
.coach__anchor { position: absolute; inset: 0 50% 0 0; pointer-events: none; z-index: 0; }
.anchor { position: absolute; inset: 0; opacity: 0; transition: opacity .6s, transform .9s var(--ease); }
html[data-sport="none"] .anchor--none,
html[data-sport="pickleball"] .anchor--pickleball,
html[data-sport="tennis"] .anchor--tennis,
html[data-sport="badminton"] .anchor--badminton,
html[data-sport="racquetball"] .anchor--racquetball,
html[data-sport="more"] .anchor--more { opacity: 1; }
.anchor em { position: absolute; font-style: normal; color: var(--muted); font-size: 10.5px; }
.anchor > span { transform-origin: left; transform: scaleX(var(--anchor-draw, 1)); }

.anchor--none::before { content: ""; position: absolute; left: 0; right: 0; top: 64%; height: 1px; background: var(--hair); transform: scaleX(var(--anchor-draw, 1)); transform-origin: left; }
/* tennis: the baseline becomes a horizontal divider behind the portrait */
.anchor--tennis span { position: absolute; left: 0; right: 0; top: 64%; height: 8px; background: var(--accent-mark); }
.anchor--tennis em { right: var(--gutter); top: calc(64% + 16px); }
/* pickleball: the kitchen line becomes a framing device */
.anchor--pickleball span:first-child {
  position: absolute; left: calc(var(--gutter) - 12px); width: 88%; top: 9%; bottom: 9%;
  background: color-mix(in srgb, var(--accent-mark) 22%, transparent);
  border-left: 7px solid var(--accent-mark); border-right: 7px solid var(--accent-mark);
}
.anchor--pickleball span:nth-child(2) { position: absolute; left: calc(var(--gutter) - 12px); width: 88%; top: 50%; height: 2px; background: rgba(20,23,24,.18); }
.anchor--pickleball em { left: calc(var(--gutter) + 8px); top: calc(9% + 12px); }
/* badminton: the net line becomes the compositional anchor */
.anchor--badminton span {
  position: absolute; left: 0; right: 0; top: 36%; height: 110px;
  border-top: 8px solid var(--accent-mark);
  background:
    repeating-linear-gradient(0deg, rgba(20,23,24,.16) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(20,23,24,.16) 0 1px, transparent 1px 9px);
}
.anchor--badminton em { right: var(--gutter); top: calc(36% - 26px); }
/* racquetball: the wall plane becomes the background structure */
.anchor--racquetball span {
  position: absolute; left: -4%; top: 6%; width: 104%; bottom: 6%;
  background: linear-gradient(100deg, color-mix(in srgb, var(--accent-mark) 26%, transparent), color-mix(in srgb, var(--accent-mark) 6%, transparent));
  clip-path: polygon(0 0, 100% 9%, 100% 91%, 0 100%);
  border-right: 8px solid var(--accent-mark);
}
.anchor--racquetball em { right: 16px; top: 14%; }
/* more: modular grid */
.anchor--more {
  background:
    linear-gradient(rgba(128,103,232,.2) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(128,103,232,.2) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 70%);
          mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 70%);
}

.coach__visual { position: relative; z-index: 1; min-height: min(80vh, 780px); display: grid; align-items: center; }
.coach__portrait { position: relative; width: min(74%, 520px); margin-left: 16%; }
.coach__portrait picture, .coach__second picture { display: block; overflow: hidden; }
.coach__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.coach__portrait figcaption { margin-top: 10px; font-size: 11px; }
.coach__portrait figcaption span { color: var(--muted); }
.coach__second {
  position: absolute; right: 0; bottom: 4%; width: 34%; max-width: 250px;
  box-shadow: 0 0 0 6px var(--paper);
}
.coach__second img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

.gear-rail {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 18px;
}
.gear-rail li {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--ink); opacity: .32;
  --g-fill: none; --g-stroke: var(--ink);
  transform-origin: left center;
  transition: opacity .5s, transform .6s var(--ease);
}
.gear-rail svg { width: 26px; height: 62px; transition: width .6s var(--ease), height .6s var(--ease); }
.gear-rail span { font-size: 9px; opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s var(--ease); }
.gear-rail li.is-on { opacity: 1; --g-fill: var(--accent-mark); }
.gear-rail li.is-on svg { width: 40px; height: 96px; }
.gear-rail li.is-on span { opacity: 1; transform: none; }
html[data-sport="none"] .gear-rail li.is-on { --g-fill: rgba(20,23,24,.1); }

.g-head { fill: var(--g-fill, none); stroke: var(--g-stroke, currentColor); stroke-width: 4; transition: fill var(--t-sport); }
.g-detail { fill: none; stroke: var(--g-stroke, currentColor); stroke-width: 1.4; opacity: .45; }
.g-handle { fill: var(--g-stroke, currentColor); stroke: var(--g-stroke, currentColor); stroke-width: 3; stroke-linejoin: round; }

.coach__copy { position: relative; z-index: 1; max-width: 620px; }
.coach__lede { margin-top: 26px; font-size: clamp(17px, 1.3vw, 20px); max-width: 52ch; }
.facts-rail { margin-top: 34px; border-top: 1px solid var(--hair); }
.facts-rail li {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--hair);
}
.facts-rail__k {
  font-family: var(--f-display); font-weight: 800; font-stretch: 72%; font-variation-settings: "wdth" 72;
  font-size: 30px; line-height: 1; text-transform: uppercase;
}
.facts-rail__v { color: #2c3234; font-size: 15.5px; }
.coach__sportline { margin-top: 24px; color: var(--muted); }

/* ==========================================================================
   03 — SPORT EXPLORER
   ========================================================================== */
.explorer {
  position: relative;
  background: var(--ink); color: var(--paper);
  padding: clamp(80px, 12vh, 140px) var(--gutter) 0;
}
.explorer__head { max-width: 1100px; }
.explorer__head .h-display { font-size: clamp(40px, 5.8vw, 96px); }
.explorer__body {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3vw, 56px);
  margin-top: clamp(40px, 6vh, 72px);
  align-items: start;
}
.explorer__list { display: flex; flex-direction: column; border-top: 1px solid var(--hair-d); position: sticky; top: calc(var(--nav-h) + 24px); }
.explorer__list .sport-btn {
  display: grid; grid-template-columns: 38px 1fr 24px; align-items: center;
  padding: 18px 0 18px 16px;
  border-bottom: 1px solid var(--hair-d);
  color: #7F888B;
  transition: color .3s, padding .4s var(--ease);
}
.explorer__list .sport-btn::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px;
  background: var(--accent-line); transform: scaleY(0); transition: transform .45s var(--ease), background-color var(--t-sport);
}
.explorer__list .sport-btn__name { font-size: clamp(30px, 3vw, 50px); }
.explorer__list .sport-btn__arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.explorer__list .sport-btn:hover, .explorer__list .sport-btn:focus-visible { color: var(--paper); }
.explorer__list .sport-btn[aria-checked="true"] { color: var(--paper); padding-left: 26px; }
.explorer__list .sport-btn[aria-checked="true"]::before { transform: scaleY(1); }
.explorer__list .sport-btn[aria-checked="true"] .sport-btn__arrow { opacity: 1; transform: none; color: var(--accent-line); }

.viewport {
  --mask-s: 1;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--graphite);
  border-radius: 3px;
  touch-action: pan-y;
}
.has-mask .viewport {
  -webkit-mask-image: var(--mask-shape);
          mask-image: var(--mask-shape);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 50% 40%; mask-position: 50% 40%;
  -webkit-mask-size: calc(var(--mask-s) * 100%) auto; mask-size: calc(var(--mask-s) * 100%) auto;
}
html { --mask-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40'/%3E%3C/svg%3E"); }
html[data-sport="pickleball"] { --mask-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='28' y='8' width='44' height='84' rx='10'/%3E%3C/svg%3E"); }
html[data-sport="tennis"] { --mask-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='50' rx='30' ry='42'/%3E%3C/svg%3E"); }
html[data-sport="badminton"] { --mask-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='50' rx='22' ry='34'/%3E%3C/svg%3E"); }
html[data-sport="racquetball"] { --mask-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 6C78 6 86 34 81 60C77 78 62 90 54 96H46C38 90 23 78 19 60C14 34 22 6 50 6Z'/%3E%3C/svg%3E"); }
html[data-sport="more"] { --mask-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='14' y='14' width='72' height='72' rx='4'/%3E%3C/svg%3E"); }

.viewport__media { position: absolute; inset: 0 0 0 0; }
.viewport__media > * { position: absolute; inset: 0; }
.viewport__media img, .viewport__media video { width: 100%; height: 100%; object-fit: cover; }
.viewport__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,24,.25), rgba(20,23,24,0) 30%, rgba(20,23,24,.1) 50%, rgba(20,23,24,.85) 78%); pointer-events: none; }
.viewport__tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  background: rgba(20,23,24,.78); color: var(--paper);
  padding: 8px 10px; font-size: 10.5px; max-width: calc(100% - 32px);
}
.viewport__tag:empty { display: none; }
.viewport__tag .ph { color: var(--accent-line); }
.viewport__panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: end;
  padding: clamp(18px, 2.4vw, 32px);
}
.viewport__idx { color: var(--accent-line); }
html[data-sport="none"] .viewport__idx { color: var(--muted-d); }
.viewport__title {
  font-family: var(--f-display); font-weight: 850; font-stretch: 70%; font-variation-settings: "wdth" 70;
  text-transform: uppercase; font-size: clamp(34px, 3.6vw, 60px); line-height: .95; margin: 6px 0 10px;
}
.viewport__desc { font-size: 15.5px; max-width: 40ch; color: rgba(244,241,234,.86); margin-bottom: 18px; }
.viewport__text [data-sport-text], .viewport__text .btn { transition: opacity .25s, transform .35s var(--ease); }
.viewport.is-swapping .viewport__text [data-sport-text] { opacity: 0; transform: translateY(6px); }

.sideview { background: rgba(20,23,24,.72); padding: 10px 12px 8px; border-top: 2px solid var(--accent-line); transition: border-color var(--t-sport); }
html[data-sport="none"] .sideview { border-top-color: rgba(244,241,234,.4); }
.sideview svg { width: 100%; height: auto; overflow: visible; }
.sideview figcaption { color: var(--muted-d); font-size: 10px; margin-top: 4px; }
.sv { display: none; }
html[data-sport="none"] .sv--none, html[data-sport="pickleball"] .sv--pickleball, html[data-sport="tennis"] .sv--tennis,
html[data-sport="badminton"] .sv--badminton, html[data-sport="racquetball"] .sv--racquetball, html[data-sport="more"] .sv--more { display: inline; }
.sv-ground { stroke: rgba(244,241,234,.45); stroke-width: 2; }
.sv-line { stroke: rgba(244,241,234,.55); stroke-width: 2; }
.sv-dash { stroke: rgba(244,241,234,.4); stroke-width: 1.5; stroke-dasharray: 4 5; }
.sv-key { stroke: var(--accent-line); stroke-width: 4; }
.sv-key--net { stroke-width: 3; }
.sv-tape { stroke: var(--paper); stroke-width: 4; }
.sv-net { stroke: var(--paper); stroke-width: 3; }
.sv-zone { fill: var(--accent-line); opacity: .35; }
.sv-path { fill: none; stroke: var(--accent-line); stroke-width: 2; stroke-dasharray: 3 6; opacity: .9; }
html[data-sport="none"] .sv-path { stroke: rgba(244,241,234,.6); }
.sv-label { fill: var(--muted-d); font: 500 9px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-anchor: middle; }
.sv-ball { fill: var(--paper); }
html[data-sport="pickleball"] .sv-ball { fill: #C9F24A; }
html[data-sport="tennis"] .sv-ball { fill: #DDF246; }
html[data-sport="racquetball"] .sv-ball { fill: var(--paper); stroke: var(--accent-line); stroke-width: 2; }
html[data-sport="more"] .sv-ball { fill: var(--accent-line); }
.sv-grid line { stroke: var(--accent-line); stroke-width: 1; stroke-dasharray: 3 4; opacity: .6; }
.sv-grid--a { animation: gridA 3.2s var(--ease-io) infinite alternate; }
.sv-grid--b { animation: gridB 3.2s var(--ease-io) infinite alternate; }
@keyframes gridA { to { transform: translate(-10px, -6px); } }
@keyframes gridB { to { transform: translate(10px, 6px); } }

.explorer__exit {
  display: block; width: 12px; height: clamp(90px, 16vh, 160px);
  margin: 0 0 0 calc(33.33% + clamp(24px, 3vw, 56px) + 8% );
  overflow: visible;
}
.explorer__exit path { fill: none; stroke: var(--accent-line); stroke-width: 3; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
html[data-sport="none"] .explorer__exit path { stroke: rgba(244,241,234,.5); }

/* ==========================================================================
   04 — COACHING JOURNEY
   ========================================================================== */
.journey { position: relative; background: var(--ink); color: var(--paper); z-index: 2; }
.journey__pin {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(8px, 2vh, 24px)) var(--gutter) 0;
  display: flex; flex-direction: column;
  background: var(--ink);
  overflow: hidden;
}
.journey.is-handed, .journey.is-handed .journey__pin { background: transparent; pointer-events: none; }
.journey.is-handed .journey__pin > * { visibility: hidden; }
.journey.is-off *, .journey.is-off *::before, .journey.is-off *::after { animation-play-state: paused !important; }

/* light that follows the ball + drifting court grid */
.journey__spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(560px circle at var(--bx, 15%) var(--by, 60%), color-mix(in srgb, var(--accent-line) 20%, transparent), transparent 62%);
}
html[data-sport="none"] .journey__spot { background: radial-gradient(560px circle at var(--bx, 15%) var(--by, 60%), rgba(244,241,234,.08), transparent 62%); }
.journey__grid {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
}
.journey__grid::before {
  content: ""; position: absolute; inset: 0 -120px 0 0;
  background:
    linear-gradient(90deg, rgba(244,241,234,.05) 1px, transparent 1px) 0 0 / 120px 100%,
    linear-gradient(rgba(244,241,234,.035) 1px, transparent 1px) 0 0 / 100% 60px;
  animation: gridDrift 6s linear infinite;
}
@keyframes gridDrift { to { transform: translateX(-120px); } }

.journey__top {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
}
.journey__head .eyebrow { margin-bottom: 14px; }

/* headline: slot-machine sport word, outline row, highlighted block */
.jh {
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66;
  text-transform: uppercase; line-height: .88; letter-spacing: -.01em;
  font-size: clamp(40px, 5.6vw, 96px);
}
.jh__row { display: block; white-space: nowrap; }
.jh__row + .jh__row { margin-top: .04em; }
.jh__slot {
  display: inline-block; vertical-align: top;
  height: .9em; overflow: hidden;
  width: var(--slot-w, auto);
  color: var(--accent-line);
  transition: width .7s var(--ease), color var(--t-sport);
  margin-left: .22em;
}
html[data-sport="none"] .jh__slot { color: var(--paper); }
.jh__reel { display: block; transform: translateY(var(--reel-y, 0)); }
.jh__reel.is-spinning { transition: transform 1.25s cubic-bezier(.15, .9, .25, 1.12); }
.jh__reel > span { display: block; width: max-content; height: .9em; line-height: .9em; white-space: nowrap; }
.jh__row--outline { color: transparent; -webkit-text-stroke: 1.6px rgba(244,241,234,.85); }
.jh__row--outline .jh__word:last-child { -webkit-text-stroke-color: var(--accent-line); }
html[data-sport="none"] .jh__row--outline .jh__word:last-child { -webkit-text-stroke-color: rgba(244,241,234,.85); }
.jh__block {
  position: relative; display: inline-block; overflow: hidden;
  background: var(--accent); color: var(--accent-ink);
  padding: .04em .14em 0; transform: skewX(-8deg);
  transition: background-color var(--t-sport), color var(--t-sport);
}
.jh__block > span { display: inline-block; transform: skewX(8deg); }
.jh__block::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shine 3.2s var(--ease-io) infinite;
}
html[data-sport="none"] .jh__block { background: var(--paper); color: var(--ink); }
@keyframes shine { 0%, 55% { transform: translateX(0); } 100% { transform: translateX(560%); } }

/* HUD */
.hud { display: flex; align-items: center; gap: 22px; padding-bottom: 6px; }
.hud__badge { position: relative; width: 118px; height: 118px; flex: none; }
.hud__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; overflow: visible; }
.hud__ring text { font: 600 9.5px var(--f-mono); letter-spacing: .24em; fill: rgba(244,241,234,.7); }
.hud__gear {
  position: absolute; left: 50%; top: 50%; width: 26px; height: 62px; margin: -31px 0 0 -13px;
  color: var(--paper); --g-stroke: var(--paper); --g-fill: var(--accent-line);
  animation: gearBob 2.4s var(--ease-io) infinite;
}
html[data-sport="none"] .hud__gear { --g-fill: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gearBob { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
.hud__label { color: var(--muted-d); font-size: 10.5px; }
.hud__num { font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66; font-size: 64px; line-height: .9; }
.hud__cur { display: inline-block; color: var(--accent-line); min-width: 1.05em; }
html[data-sport="none"] .hud__cur { color: var(--paper); }
.hud__cur.is-tick { animation: tick .45s var(--ease); }
@keyframes tick { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.hud__of { color: rgba(244,241,234,.3); font-size: .5em; vertical-align: top; margin-left: 4px; }
.hud__name { margin-top: 4px; color: var(--paper); font-size: 11px; min-height: 1.4em; }
.hud__bar { display: block; width: 190px; height: 3px; margin-top: 10px; background: rgba(244,241,234,.14); overflow: hidden; }
.hud__bar span { display: block; height: 100%; width: 100%; background: var(--accent-line); transform-origin: left; transform: scaleX(var(--prog, 0)); }
html[data-sport="none"] .hud__bar span { background: var(--paper); }

/* track */
.track { position: relative; z-index: 2; flex: 1; min-height: 340px; margin-top: clamp(8px, 2vh, 24px); }
.track__tag { position: absolute; left: 0; top: 4px; color: var(--muted-d); font-size: 10.5px; }
.track__tag::before { content: "● "; color: var(--accent-line); }
.track__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.track__svg--v { display: none; }
.track__floor { stroke: rgba(244,241,234,.14); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.track__wall { stroke: var(--accent-line); stroke-width: 2; opacity: 0; transition: opacity .5s; vector-effect: non-scaling-stroke; }
html[data-sport="racquetball"] .track__wall { opacity: .55; }
html[data-sport="racquetball"] .track__floor { stroke: var(--accent-line); opacity: .55; stroke-dasharray: none; stroke-width: 2; }
.track__ghost { fill: none; stroke: rgba(244,241,234,.16); stroke-width: 2; stroke-dasharray: 3 8; vector-effect: non-scaling-stroke; }
.track__glow { fill: none; stroke: var(--accent-line); stroke-width: 14; stroke-linecap: round; opacity: .22; filter: blur(7px); }
.track__path { fill: none; stroke: var(--accent-line); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--t-sport); }
html[data-sport="none"] .track__path, html[data-sport="none"] .track__glow { stroke: var(--paper); }
.track__ball {
  position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 5px var(--accent-line), 0 0 34px 8px color-mix(in srgb, var(--accent-line) 70%, transparent);
  will-change: transform; z-index: 3;
}
html[data-sport="none"] .track__ball { box-shadow: 0 0 0 5px rgba(244,241,234,.35), 0 0 30px 6px rgba(244,241,234,.25); }
.track__trail { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.trail-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent-line); will-change: transform, opacity; }
html[data-sport="none"] .trail-dot { background: var(--paper); }

.stages { position: absolute; inset: 0; }
.stage-item {
  position: absolute; left: var(--sx, 0%); top: var(--sy, 66%);
  width: clamp(180px, 17vw, 270px);
  padding-top: 34px;
  opacity: .5; transform: translateY(10px);
  transition: opacity .5s, transform .6s var(--ease);
}
.stage-item__node {
  position: absolute; left: 12px; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; border: 2px solid rgba(244,241,234,.5); background: var(--ink); z-index: 2;
  transition: background-color .4s, border-color .4s, transform .4s var(--ease);
}
.stage-item__node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent-line); opacity: 0; }
html[data-sport="none"] .stage-item__node::after { border-color: var(--paper); }
.stage-item__node.is-hit::after { animation: ripple .9s var(--ease) 1; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(5.5); opacity: 0; } }
.stage-item__big {
  position: absolute; right: -8px; top: -58px; z-index: -1;
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66;
  font-size: clamp(80px, 8vw, 140px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(244,241,234,.14);
  transition: -webkit-text-stroke-color .4s, color .4s, transform .6s var(--ease);
}
.stage-item__n { color: var(--muted-d); margin-bottom: 8px; font-size: 11px; }
.stage-item h3 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 68%; font-variation-settings: "wdth" 68;
  text-transform: uppercase; font-size: clamp(24px, 2.3vw, 38px); line-height: .92;
  color: transparent; -webkit-text-stroke: 1px rgba(244,241,234,.6);
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.stage-item p:last-child { margin-top: 10px; font-size: 14.5px; color: rgba(244,241,234,.8); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); max-width: 26ch; }
.stage-item.is-next { opacity: .7; }
.stage-item.is-past { opacity: .75; transform: none; }
.stage-item.is-past h3 { color: rgba(244,241,234,.55); -webkit-text-stroke-color: transparent; }
.stage-item.is-past p:last-child { opacity: .6; transform: none; }
.stage-item.is-active { opacity: 1; transform: none; }
.stage-item.is-active h3 { color: var(--paper); -webkit-text-stroke-color: transparent; }
.stage-item.is-active p:last-child { opacity: 1; transform: none; }
.stage-item.is-active .stage-item__n { color: var(--accent-line); }
html[data-sport="none"] .stage-item.is-active .stage-item__n { color: var(--paper); }
.stage-item.is-active .stage-item__big { -webkit-text-stroke-color: var(--accent-line); color: color-mix(in srgb, var(--accent-line) 12%, transparent); transform: translateY(-8px); }
html[data-sport="none"] .stage-item.is-active .stage-item__big { -webkit-text-stroke-color: rgba(244,241,234,.5); color: rgba(244,241,234,.06); }
.stage-item.is-active .stage-item__node, .stage-item.is-past .stage-item__node { background: var(--accent-line); border-color: var(--accent-line); }
html[data-sport="none"] .stage-item.is-active .stage-item__node, html[data-sport="none"] .stage-item.is-past .stage-item__node { background: var(--paper); border-color: var(--paper); }
.stage-item.is-active .stage-item__node { transform: scale(1.35); }

/* the frame slot: a portal with a rotating light border */
.track__slot {
  position: absolute; right: 0; top: 6%; width: clamp(120px, 11vw, 180px); aspect-ratio: 3 / 4;
  display: grid; align-items: end; padding: 10px; overflow: hidden; border-radius: 4px; isolation: isolate;
}
.track__slot::before {
  content: ""; position: absolute; inset: -60%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--accent-line) 82%, transparent 100%);
  animation: spin 2.8s linear infinite;
}
html[data-sport="none"] .track__slot::before { background: conic-gradient(from 0deg, transparent 0 62%, var(--paper) 82%, transparent 100%); }
.track__slot::after {
  content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 3px;
  background: repeating-linear-gradient(135deg, rgba(244,241,234,.04) 0 6px, transparent 6px 12px), var(--ink);
}
.track__slot .mono { font-size: 10px; color: var(--paper); }

/* ticker band */
.journey__marquee {
  position: relative; z-index: 2;
  margin: clamp(10px, 2vh, 22px) calc(var(--gutter) * -1) clamp(18px, 3vh, 34px);
  background: var(--accent); color: var(--accent-ink);
  transform: rotate(-1.6deg);
  overflow: hidden; padding: 12px 0 10px;
  transition: background-color var(--t-sport), color var(--t-sport);
}
html[data-sport="none"] .journey__marquee { background: var(--paper); color: var(--ink); }
.journey__marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.journey__marquee-track span {
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66;
  text-transform: uppercase; font-size: clamp(22px, 2.2vw, 34px); line-height: 1; white-space: nowrap; letter-spacing: .01em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.journey__frame { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.journey__frame > .mitem { position: absolute; overflow: hidden; left: 0; top: 0; width: 0; height: 0; background: var(--graphite); }
.journey__frame img, .journey__frame video { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   05 — MEDIA
   ========================================================================== */
.media { position: relative; z-index: 1; padding-bottom: clamp(80px, 12vh, 140px); }
.media__lead { position: relative; height: 100svh; overflow: hidden; background: var(--graphite); }
.has-pin .media__lead { margin-top: -100vh; }
.media__lead > .mitem { position: absolute; inset: 0; }
.media__lead img, .media__lead video { width: 100%; height: 100%; object-fit: cover; }
.media__lead-ui {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px); z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 16px; color: var(--paper);
}
.media__lead::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(20,23,24,.7)); pointer-events: none; }
.media__lead-label { background: rgba(20,23,24,.7); padding: 8px 10px; }

/* rotated source video (recorded sideways) */
.rot { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.rot video, .rot img {
  position: absolute; left: 50%; top: 50%;
  width: 100cqh !important; height: 100cqw !important; max-width: none;
  transform: translate(-50%, -50%) rotate(-90deg);
  object-fit: cover;
}

.media__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: end; gap: 32px;
  padding: clamp(64px, 10vh, 110px) var(--gutter) clamp(28px, 4vh, 44px);
}
.media__filter { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; max-width: 560px; }
.media__status { font-size: 14.5px; color: var(--muted); text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.chips .pill { box-shadow: inset 0 0 0 1px var(--hair); min-height: 40px; }
.chips .pill[aria-checked="true"] { box-shadow: none; }
html[data-sport="none"] .chips .pill[aria-checked="true"] { background: var(--ink); color: var(--paper); }

.media__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(210px, 23vw, 360px));
  gap: clamp(10px, 1.2vw, 18px);
  padding: 0 var(--gutter);
}
.slot {
  position: relative; overflow: hidden; background: var(--graphite); color: var(--paper);
  display: block; width: 100%; height: 100%; text-align: left;
  transition: transform .6s var(--ease), opacity .5s;
}
.slot--a { grid-column: 1 / 5; grid-row: 1 / 3; }
.slot--b { grid-column: 5 / 8; grid-row: 1 / 3; }
.slot--c { grid-column: 8 / 13; grid-row: 1 / 2; }
.slot--d { grid-column: 8 / 13; grid-row: 2 / 3; }
.slot .mitem, .slot picture { position: absolute; inset: 0; }
.slot img, .slot video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.slot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent-line);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
html[data-sport="none"] .slot::after { background: var(--paper); }
.slot__label {
  position: absolute; left: 12px; bottom: 14px; z-index: 2;
  background: rgba(20,23,24,.8); padding: 7px 9px; font-size: 10.5px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease);
}
.slot__kind { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(20,23,24,.8); padding: 6px 8px; font-size: 10px; }
@media (hover: hover) {
  .media__grid:hover .slot:not(:hover) { transform: scale(.985); opacity: .78; }
  .slot:hover img, .slot:hover video { transform: scale(1.035); }
  .slot:hover::after, .slot:focus-visible::after { transform: scaleX(1); }
  .slot:hover .slot__label, .slot:focus-visible .slot__label { opacity: 1; transform: none; }
}
@media (hover: none) { .slot__label { opacity: 1; transform: none; } }
.slot:focus-visible { outline-offset: 4px; }

/* "coming soon" media card (sports without their own footage yet) */
.msoon {
  position: absolute; inset: 0; container-type: size; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 45%, #1F2C52, var(--ink) 75%); color: var(--paper);
}
.msoon__court {
  position: absolute; inset: 5%; width: 90%; height: 90%;
  fill: none; stroke: rgba(244,241,234,.34); stroke-width: 2; vector-effect: non-scaling-stroke;
}
.msoon__court rect { fill: rgba(53,109,255,.14); }
.msoon__court .msoon__net { stroke: var(--accent-line); stroke-width: 3; }
html[data-sport="none"] .msoon__court .msoon__net { stroke: var(--paper); }
.msoon__court--land { display: none; }
@container (min-aspect-ratio: 1 / 1) {
  .msoon__court--port { display: none; }
  .msoon__court--land { display: block; }
}
.msoon__gear {
  position: relative; width: clamp(34px, 14cqmin, 110px); aspect-ratio: 100 / 240; height: auto;
  color: var(--paper); --g-stroke: var(--paper); --g-fill: var(--accent-line);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}
.msoon__label {
  position: absolute; left: 0; right: 0; bottom: 7%; text-align: center;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.msoon__label span { display: block; margin-top: 4px; color: var(--muted-d); }
.media__lead .msoon__label, .viewport__media .msoon__label { display: none; }   /* these slots caption themselves */

/* ==========================================================================
   06 — COACHING THAT ADAPTS
   ========================================================================== */
.adapt { position: relative; }
.adapt__media { position: relative; height: 42vh; overflow: hidden; background: var(--graphite); }
.adapt__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.adapt__media-cap { position: absolute; left: var(--gutter); bottom: 14px; color: var(--paper); background: rgba(20,23,24,.7); padding: 7px 9px; font-size: 10.5px; }
.has-scrub .adapt__media { position: sticky; top: 0; height: 100vh; z-index: 3; }
.has-scrub .adapt__media img { height: 100%; will-change: transform; }

.adapt__content { position: relative; z-index: 1; padding: clamp(64px, 10vh, 110px) var(--gutter) 0; }
/* ---- kinetic headline ---- */
.adapt__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; align-items: end; }
.adapt__aside { padding-bottom: 10px; }
.adapt__aside p:first-child { font-size: 17px; color: #2c3234; max-width: 32ch; }
.adapt__hint { margin-top: 14px; color: var(--muted); }
.ah {
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66;
  text-transform: uppercase; line-height: .9; letter-spacing: -.01em;
  font-size: clamp(42px, 5.2vw, 96px);
}
.ah__row { display: block; white-space: nowrap; }
.ah__row + .ah__row { margin-top: .05em; }
.ah__outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
/* racquets cycle inline, like a slot between the words */
.ah__icons { position: relative; display: inline-block; width: .5em; height: .86em; margin: 0 .12em -.04em; overflow: hidden; vertical-align: baseline; }
.ah__icons svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--ink); --g-stroke: var(--ink); --g-fill: var(--accent-mark);
  transform: translateY(110%); animation: iconCycle 4.8s var(--ease) infinite;
}
html[data-sport="none"] .ah__icons svg { --g-fill: rgba(20,23,24,.12); }
.ah__icons svg:nth-child(2) { animation-delay: 1.2s; }
.ah__icons svg:nth-child(3) { animation-delay: 2.4s; }
.ah__icons svg:nth-child(4) { animation-delay: 3.6s; }
@keyframes iconCycle { 0% { transform: translateY(110%) rotate(20deg); } 6%, 22% { transform: none; } 28%, 100% { transform: translateY(-110%) rotate(-20deg); } }
/* focus reticle that locks onto the word */
.ah__focus { position: relative; display: inline-block; padding: 0 .08em; }
.ah__focus i { position: absolute; width: .22em; height: .22em; border: 0 solid var(--ink); animation: lockOn 3s var(--ease) infinite; }
.ah__focus i:nth-child(1) { left: -.06em; top: -.02em; border-width: 5px 0 0 5px; --dx: -.18em; --dy: -.18em; }
.ah__focus i:nth-child(2) { right: -.06em; top: -.02em; border-width: 5px 5px 0 0; --dx: .18em; --dy: -.18em; }
.ah__focus i:nth-child(3) { left: -.06em; bottom: .04em; border-width: 0 0 5px 5px; --dx: -.18em; --dy: .18em; }
.ah__focus i:nth-child(4) { right: -.06em; bottom: .04em; border-width: 0 5px 5px 0; --dx: .18em; --dy: .18em; }
html:not([data-sport="none"]) .ah__focus i { border-color: var(--accent-mark); }
html[data-sport="pickleball"] .ah__focus i, html[data-sport="badminton"] .ah__focus i { border-color: var(--ink); }
@keyframes lockOn {
  0% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
  30%, 80% { transform: none; opacity: 1; }
  38% { transform: scale(.85); }
  100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
/* the promise, highlighted */
.ah__hl { position: relative; display: inline-flex; align-items: center; gap: .14em; background: var(--ink); color: var(--paper); padding: .06em .12em .02em; overflow: hidden; }
.ah__hl::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 26%;
  background: linear-gradient(90deg, transparent, rgba(244,241,234,.28), transparent);
  animation: shine 3.6s var(--ease-io) infinite;
}
.ah__arrow { display: grid; place-items: center; width: .72em; height: .72em; background: var(--accent); color: var(--accent-ink); }
html[data-sport="none"] .ah__arrow { background: var(--paper); color: var(--ink); }
.ah__arrow svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 2.6; animation: rise 1.6s var(--ease-io) infinite; }
@keyframes rise { 0%, 100% { transform: translate(-8%, 8%); } 50% { transform: translate(10%, -10%); } }

/* ---- principles: an expanding panel rail ---- */
.principles {
  --gap: 12px;
  display: flex; gap: var(--gap);
  height: clamp(440px, 64vh, 620px);
  margin-top: clamp(36px, 6vh, 64px);
}
.principle {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  background: var(--graphite); color: var(--paper); border-radius: 4px;
  transition: flex-grow .8s var(--ease), background-color .5s;
}
.principle.is-open { flex-grow: 3.4; background: var(--ink); }
.principle::before { /* accent bar that fills the open panel's top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; z-index: 3;
  background: var(--accent-line); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
html[data-sport="none"] .principle::before { background: var(--paper); }
.principle.is-open::before { transform: scaleX(1); }
.principle__tab {
  position: absolute; inset: 0; z-index: 2; width: 100%; text-align: left; padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
}
.principle.is-open .principle__tab { pointer-events: none; }
.principle__n {
  display: block;
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66;
  font-size: clamp(64px, 6.4vw, 110px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244,241,234,.45);
  transition: -webkit-text-stroke-color .4s, color .4s, font-size .6s var(--ease);
}
.principle.is-open .principle__n { font-size: 40px; -webkit-text-stroke-color: var(--accent-line); }
html[data-sport="none"] .principle.is-open .principle__n { -webkit-text-stroke-color: var(--paper); }
.principle__vert {
  position: absolute; left: 22px; bottom: 26px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-display); font-weight: 900; font-stretch: 68%; font-variation-settings: "wdth" 68;
  text-transform: uppercase; font-size: clamp(28px, 2.6vw, 44px); line-height: 1; white-space: nowrap;
  transition: opacity .35s, transform .5s var(--ease);
}
.principle.is-open .principle__vert { opacity: 0; transform: rotate(180deg) translateY(-20px); }
.principle__plus { position: absolute; right: 22px; bottom: 24px; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.4); transition: opacity .3s, transform .5s var(--ease), background-color .3s; }
.principle__plus::before, .principle__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--paper); }
.principle__plus::after { transform: rotate(90deg); }
.principle.is-open .principle__plus { opacity: 0; transform: rotate(90deg); }
@media (hover: hover) {
  .principle:not(.is-open):hover { background: #30353a; }
  .principle:not(.is-open):hover .principle__n { -webkit-text-stroke-color: var(--accent-line); }
  .principle:not(.is-open):hover .principle__plus { transform: rotate(90deg); background: var(--accent-line); }
  .principle:not(.is-open):hover .principle__plus::before, .principle:not(.is-open):hover .principle__plus::after { background: var(--accent-ink); }
  html[data-sport="none"] .principle:not(.is-open):hover .principle__plus { background: var(--paper); }
  html[data-sport="none"] .principle:not(.is-open):hover .principle__plus::before, html[data-sport="none"] .principle:not(.is-open):hover .principle__plus::after { background: var(--ink); }
}
.principle__tab:focus-visible { outline: 3px solid var(--paper); outline-offset: -6px; }

.principle__body {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 1;
  width: var(--open-w, 60vw);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 18px 28px; align-items: end;
  padding: 78px 32px 30px;
  opacity: 0; transform: translateX(-24px); pointer-events: none;
  transition: opacity .4s, transform .6s var(--ease);
}
.principle.is-open .principle__body { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.principle__kicker { color: var(--accent-line); margin-bottom: 10px; }
html[data-sport="none"] .principle__kicker { color: var(--muted-d); }
.principle__text h3 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66;
  text-transform: uppercase; font-size: clamp(40px, 4.4vw, 76px); line-height: .88;
}
.principle__text > p:last-child { margin-top: 14px; font-size: 17px; color: rgba(244,241,234,.82); max-width: 30ch; }
.principle__viz { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100%; min-height: 0; overflow: visible; align-self: stretch; }
.principle__text { grid-column: 1 / -1; grid-row: 2; }

.viz-grid path { fill: none; stroke: rgba(244,241,234,.07); stroke-width: 1; }
.viz-label { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; fill: rgba(244,241,234,.45); }
.viz-label--on { fill: var(--accent-line); }
html[data-sport="none"] .viz-label--on { fill: var(--paper); }

/* 01 clear teaching: noise → a clean, stepped path */
.vc-noise { fill: none; stroke: rgba(244,241,234,.5); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; animation: vcNoise 5s linear infinite; }
.vc-clean { fill: none; stroke: var(--accent-line); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; animation: vcClean 5s var(--ease-io) infinite; }
html[data-sport="none"] .vc-clean { stroke: var(--paper); }
.vc-steps circle { fill: var(--ink); stroke: var(--accent-line); stroke-width: 2.5; animation: vcSteps 5s infinite; }
.vc-steps text { font: 700 11px var(--f-mono); fill: var(--paper); text-anchor: middle; animation: vcSteps 5s infinite; }
html[data-sport="none"] .vc-steps circle { stroke: var(--paper); }
.vc-ball { fill: var(--paper); stroke: var(--accent-line); stroke-width: 3; animation: vcBall 5s infinite; }
@keyframes vcNoise { 0% { stroke-dashoffset: 1; opacity: .9; } 28% { stroke-dashoffset: 0; opacity: .9; } 42% { opacity: .9; } 60%, 100% { stroke-dashoffset: 0; opacity: .08; } }
@keyframes vcClean { 0%, 35% { stroke-dashoffset: 1; opacity: 1; } 68% { stroke-dashoffset: 0; } 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes vcSteps { 0%, 45% { opacity: 0; } 60%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vcBall { 0%, 33% { opacity: 0; } 38%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 02 personal direction: one path, many branches; your sport carries the pulse */
.vb-b { fill: none; stroke: rgba(244,241,234,.22); stroke-width: 2.5; transition: stroke .4s, stroke-width .4s; }
.vb-b.is-on { stroke: var(--accent-line); stroke-width: 5; }
html[data-sport="none"] .vb-b.is-on { stroke: var(--paper); }
.vb-p { fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; stroke-dasharray: .1 .9; stroke-dashoffset: .1; opacity: 0; }
.vb-p.is-on { opacity: 1; animation: pulseRun 1.8s linear infinite; }
.vb-p.is-on:nth-child(2) { animation-delay: .36s; } .vb-p.is-on:nth-child(3) { animation-delay: .72s; }
.vb-p.is-on:nth-child(4) { animation-delay: 1.08s; } .vb-p.is-on:nth-child(5) { animation-delay: 1.44s; }
@keyframes pulseRun { to { stroke-dashoffset: -1; } }
.vb-you { fill: var(--accent-line); animation: youPulse 1.8s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
html[data-sport="none"] .vb-you { fill: var(--paper); }
@keyframes youPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.vb-you-t { font: 700 9px var(--f-mono); fill: var(--accent-ink); text-anchor: middle; letter-spacing: .06em; }
html[data-sport="none"] .vb-you-t { fill: var(--ink); }
.vb-ends circle { fill: var(--ink); stroke: rgba(244,241,234,.4); stroke-width: 2; transition: fill .4s, stroke .4s, r .4s; }
.vb-ends circle.is-on { fill: var(--accent-line); stroke: var(--accent-line); r: 10; }
.vb-ends text { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; fill: rgba(244,241,234,.5); transition: fill .4s; }
.vb-ends text.is-on { fill: var(--paper); font-weight: 700; }

/* 03 multi-sport: years counter + racquets in orbit, one morphs in the centre */
.viz-multi { position: relative; display: grid; place-items: center; height: 100%; min-height: 260px; }
.vm-years {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-size: clamp(120px, 13vw, 230px); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--accent-line) 60%, transparent);
}
html[data-sport="none"] .vm-years { -webkit-text-stroke-color: rgba(244,241,234,.3); }
.vm-years small { display: block; margin-top: 10px; font-size: 11px; color: var(--muted-d); -webkit-text-stroke: 0; letter-spacing: .14em; }
.vm-orbit { position: relative; width: min(100%, 300px); height: auto; overflow: visible; margin-left: auto; }
.vm-ring { fill: none; stroke: rgba(244,241,234,.2); stroke-width: 1.5; stroke-dasharray: 4 8; }
.vm-spin { transform-origin: 130px 130px; animation: spin 16s linear infinite; }
.vm-sat { color: rgba(244,241,234,.55); --g-stroke: rgba(244,241,234,.55); --g-fill: none; transition: color .4s; }
.vm-sat.is-on { --g-stroke: var(--accent-line); --g-fill: var(--accent-line); }
.viz-morph__g { opacity: 0; transform: scale(.6) rotate(-25deg); transform-origin: 130px 130px; transition: opacity .5s, transform .8s var(--ease); color: var(--paper); --g-stroke: var(--paper); --g-fill: var(--accent-line); }
html[data-sport="none"] .viz-morph__g { --g-fill: rgba(244,241,234,.15); }
.viz-morph__g.is-on { opacity: 1; transform: none; }

.principles.is-off *, .ah.is-off *, .ah.is-off *::before, .ah.is-off *::after { animation-play-state: paused !important; }

/* convergence into one line */
.converge { position: relative; margin-top: clamp(56px, 9vh, 96px); }
.converge__labels { position: relative; height: 18px; color: var(--muted); }
.converge__labels span { position: absolute; transform: translateX(-50%); font-size: 10.5px; white-space: nowrap; transition: color .4s; }
.converge__labels span:nth-child(1) { left: 10%; } .converge__labels span:nth-child(2) { left: 30%; } .converge__labels span:nth-child(3) { left: 50%; }
.converge__labels span:nth-child(4) { left: 70%; } .converge__labels span:nth-child(5) { left: 90%; }
.converge__labels span.is-on { color: var(--ink); font-weight: 600; }
.converge svg { width: 100%; height: clamp(140px, 22vh, 240px); overflow: visible; margin-top: 8px; }
.converge path { fill: none; stroke: rgba(20,23,24,.3); stroke-width: 2; vector-effect: non-scaling-stroke; }
.converge path.is-on { stroke: var(--ink); stroke-width: 4; }
.converge path.converge__one { stroke: var(--ink); stroke-width: 4; }
html:not([data-sport="none"]) .converge path.is-on, html:not([data-sport="none"]) .converge path.converge__one { stroke: var(--accent-mark); }
html[data-sport="pickleball"] .converge path.is-on, html[data-sport="pickleball"] .converge path.converge__one,
html[data-sport="badminton"] .converge path.is-on, html[data-sport="badminton"] .converge path.converge__one { stroke: var(--ink); }
.converge__note { text-align: center; color: var(--muted); margin-top: 10px; }

/* ==========================================================================
   09 — REVIEWS
   ========================================================================== */
.reviews { padding: clamp(64px, 10vh, 110px) var(--gutter) clamp(80px, 12vh, 140px); border-top: 1px solid var(--hair); }
.reviews__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.reviews__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.reviews__summary { font-size: 15px; color: var(--muted); text-align: right; }
.reviews__summary strong { font-size: 22px; font-weight: 750; color: var(--ink); }
/* reviews slider: one row of equal cards that loops on its own and pauses on hover / keyboard focus.
   The cards are rendered twice, so sliding by exactly half the track is seamless
   (the trailing padding equals the gap, so both halves are the same width). */
.reviews__viewport {
  --gap: clamp(10px, 1.2vw, 18px);
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  cursor: grab; outline-offset: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.reviews__grid { display: flex; gap: var(--gap); width: max-content; align-items: stretch; }
.reviews__grid > .rv { width: min(340px, 80vw); flex: none; }
.reviews__viewport::-webkit-scrollbar { display: none; }
.reviews__viewport.is-dragging { cursor: grabbing; user-select: none; }
.reviews__viewport.is-dragging * { pointer-events: none; }
.reviews__viewport:not(.is-loop) { cursor: auto; }
/* the slider is moved by main.js (drift + drag + arrows); the copy set keeps the loop seamless */
.reviews__grid.is-loop { padding-right: var(--gap); }
.reviews__nav { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: clamp(16px, 2.4vh, 24px); }
.reviews__hint { margin-right: auto; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reviews__arrow {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s;
}
.reviews__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.reviews__arrow:hover, .reviews__arrow:focus-visible { background: var(--ink); color: var(--paper); }
.reviews__arrow[hidden] { display: none; }
.reviews__grid:not(.is-loop) { width: auto; }
.reviews__empty { flex: 1; }
/* every card the same size: quotes are clipped to six lines, "Read more" opens the full review */
.reviews__grid .rv__quote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.rv__more { margin-top: 10px; padding: 0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); background: none; }
.lightbox .rv--full { box-sizing: border-box; width: 100%; max-height: 80vh; overflow: auto; background: var(--paper); color: var(--ink); }
.lightbox:has(.rv--full) { width: min(680px, 94vw); }
.reviews__empty {
  grid-column: 1 / -1; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center;
  padding: 22px 24px; border: 1.5px dashed rgba(20,23,24,.3); font-size: 16px;
}
.reviews__empty .mono, .reviews__empty span { color: var(--muted); }

.rv {
  --rv: var(--ink);
  display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2vw, 28px);
  background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px var(--hair); border-top: 4px solid var(--rv);
}
.rv[data-sport="pickleball"]  { --rv: #9CC21F; }
.rv[data-sport="tennis"]      { --rv: #356DFF; }
.rv[data-sport="badminton"]   { --rv: #2BB5C6; }
.rv[data-sport="racquetball"] { --rv: #FF7848; }
.rv[data-sport="more"]        { --rv: #8067E8; }
.rv__quote { margin: 0; font-size: 17px; line-height: 1.5; }
.rv__quote p::before { content: "“"; } .rv__quote p::after { content: "”"; }
.rv__by { display: grid; gap: 4px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair); }
.rv__stars { display: flex; gap: 2px; margin-bottom: 4px; }
.rv__stars svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.rv__stars .on svg { fill: var(--ink); stroke: var(--ink); }
.rv__name { font-weight: 700; }
.rv__meta { color: var(--muted); font-size: 10.5px; }
.rv--shot { padding: 10px 10px clamp(18px, 2vw, 24px); }
.rv--shot .rv__by { margin: 0 10px; }
.rv__shot { display: block; width: 100%; overflow: hidden; background: var(--grey); }
.rv__shot img { width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
@media (hover: hover) { .rv__shot:hover img { transform: scale(1.02); } }

/* write-a-review dialog (reuses the contact form styles) */
.review-dlg {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0;
  background: var(--graphite); color: var(--paper); overflow: auto; overscroll-behavior: contain;
}
.review-dlg::backdrop { background: rgba(20,23,24,.8); }
.review-dlg .form { padding-top: clamp(28px, 3vw, 40px); }
.review-dlg .eyebrow { color: var(--muted-d); margin-bottom: 10px; }
.review-dlg__title {
  font-family: var(--f-display); font-weight: 850; font-stretch: 70%; font-variation-settings: "wdth" 70;
  text-transform: uppercase; font-size: clamp(32px, 4vw, 44px); line-height: .95; margin-bottom: 10px;
}
.review-dlg .form__micro { min-height: 0; font-size: 15.5px; }
.review-dlg .lightbox__close { background: transparent; }
.field legend { font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 6px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.stars { display: flex; gap: 4px; }
.star { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.star input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.star svg { width: 30px; height: 30px; fill: none; stroke: rgba(244,241,234,.45); stroke-width: 1.4; transition: fill .2s, stroke .2s, transform .25s var(--ease); }
.star:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: -2px; }
.stars:has(.star:nth-child(1) input:checked) .star:nth-child(-n+1) svg,
.stars:has(.star:nth-child(2) input:checked) .star:nth-child(-n+2) svg,
.stars:has(.star:nth-child(3) input:checked) .star:nth-child(-n+3) svg,
.stars:has(.star:nth-child(4) input:checked) .star:nth-child(-n+4) svg,
.stars:has(.star:nth-child(5) input:checked) .star:nth-child(-n+5) svg { fill: var(--accent-line); stroke: var(--accent-line); }
@media (hover: hover) {
  .stars .star:hover svg, .stars .star:has(~ .star:hover) svg { fill: rgba(244,241,234,.85); stroke: rgba(244,241,234,.85); }
  .star:hover svg { transform: scale(1.1); }
}
.field--check .check { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font: 400 15px/1.45 var(--f-body); color: rgba(244,241,234,.9); cursor: pointer; }
.field--check .check input { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: 2px; padding: 0; accent-color: var(--accent-line); }

/* ==========================================================================
   07 — CONTACT + FOOTER
   ========================================================================== */
.contact { position: relative; background: var(--ink); color: var(--paper); padding: 0 var(--gutter) 28px; }
.contact__line { display: block; width: 4px; height: clamp(60px, 10vh, 110px); margin: 0 auto; background: var(--accent-line); transform-origin: top; transition: background-color var(--t-sport); }
html[data-sport="none"] .contact__line { background: var(--paper); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px);
  padding-top: clamp(40px, 7vh, 80px); align-items: start;
}
.contact__copy .h-display { font-size: clamp(42px, 5.6vw, 96px); }
.contact__lede { margin-top: 24px; font-size: clamp(17px, 1.3vw, 20px); color: rgba(244,241,234,.86); max-width: 44ch; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact__details { margin-top: 40px; display: grid; gap: 8px; color: var(--muted-d); font-size: 11.5px; }
.contact__details span { display: inline-block; width: 70px; color: rgba(244,241,234,.5); }

.form {
  background: var(--graphite); padding: clamp(22px, 2.6vw, 38px);
  border-top: 4px solid var(--accent-line); transition: border-color var(--t-sport);
  display: grid; gap: 18px;
}
html[data-sport="none"] .form { border-top-color: rgba(244,241,234,.3); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__micro { font-size: 16px; color: rgba(244,241,234,.9); min-height: 2.9em; }
.field { display: grid; gap: 6px; }
.field label { font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.field__opt { text-transform: none; letter-spacing: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px;
  font: 500 17px/1.4 var(--f-body); color: var(--paper);
  background: rgba(20,23,24,.5); border: 0; border-bottom: 2px solid rgba(244,241,234,.28); border-radius: 0;
  padding: 10px 12px;
  transition: border-color .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent-line); background: rgba(20,23,24,.8); }
html[data-sport="none"] .field input:focus, html[data-sport="none"] .field textarea:focus, html[data-sport="none"] .field select:focus { border-bottom-color: var(--paper); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { box-shadow: 0 0 0 2px var(--paper); }
.field [aria-invalid="true"] { border-bottom-color: #FF9C7A; }
.field__hint { font-size: 12.5px; color: var(--muted-d); }
.field__err { font-size: 13px; color: #FFB199; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.select select option { color: var(--ink); background: var(--paper); }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: rotate(45deg); pointer-events: none;
}
.form__status { font-size: 14.5px; color: rgba(244,241,234,.9); }
.form__status:empty { display: none; }
.form__status strong { color: var(--accent-line); }

.footer { margin-top: clamp(80px, 12vh, 140px); border-top: 1px solid var(--hair-d); padding-top: 28px; }
.footer__close {
  font-family: var(--f-display); font-weight: 850; font-stretch: 66%; font-variation-settings: "wdth" 66;
  text-transform: uppercase; line-height: .88; font-size: clamp(48px, 9.5vw, 170px);
}
.footer__close span { display: block; }
.footer__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hair-d);
}
.footer__brand { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 20px; text-decoration: none; }
.footer__sports, .footer__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__sports { justify-content: center; }
.footer__row a:not(.footer__brand) { font-size: 14px; text-decoration: none; color: rgba(244,241,234,.8); padding: 6px 0; background: linear-gradient(var(--accent-line), var(--accent-line)) no-repeat 0 100% / 0 2px; transition: background-size .35s var(--ease), color .3s; }
.footer__row a:hover, .footer__row a:focus-visible { color: var(--paper); background-size: 100% 2px; }
.footer__meta a[aria-disabled="true"] { color: rgba(244,241,234,.5); }
.footer__legal { margin-top: 24px; color: rgba(244,241,234,.62); font-size: 10.5px; }
.contact__details em { font-style: normal; }
.contact__details a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* footer email list */
.signup { margin-top: 32px; display: grid; gap: 10px; max-width: 560px; }
.signup__copy { color: var(--muted-d); font-size: 15px; }
.signup__copy strong { color: var(--paper); }
.signup__field { display: flex; gap: 8px; align-items: stretch; }
.signup__field input { flex: 1; min-width: 0; }
.signup__field .btn { flex: none; height: auto; min-height: 44px; }
.signup__status { min-height: 1.2em; font-size: 13px; color: var(--muted-d); }

/* video analysis form */
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .field-pair { grid-template-columns: 1fr; } }
.video-dlg input[type="file"] { padding: 10px 0; font-size: 14px; color: var(--paper); }
.video-dlg input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; background: var(--paper); color: var(--ink);
  font: 600 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.upload { display: grid; gap: 8px; }
.upload[hidden] { display: none; }
.upload__bar { height: 6px; background: rgba(244,241,234,.14); overflow: hidden; }
.upload__bar span { display: block; height: 100%; width: 0; background: var(--accent-line); transition: width .3s; }
html[data-sport="none"] .upload__bar span { background: var(--paper); }
.upload__text { font-size: 11.5px; color: var(--muted-d); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--ink); color: var(--paper);
}
.lightbox::backdrop { background: rgba(20,23,24,.86); }
.lightbox__body { display: grid; place-items: center; background: #000; }
.lightbox__body img, .lightbox__body video { max-height: 80vh; width: auto; max-width: 100%; }
.lightbox__body .rot-lb { width: min(1200px, 94vw); aspect-ratio: 16 / 9; position: relative; }
.lightbox__cap { padding: 12px 16px; color: var(--muted-d); }
.lightbox__close { position: absolute; right: 8px; top: 8px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(20,23,24,.8); }
.lightbox__close svg { width: 16px; height: 16px; stroke: var(--paper); stroke-width: 2; fill: none; }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 56px; margin-top: -48px;
  display: grid; place-items: center; background: rgba(20,23,24,.8);
}
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__nav svg { width: 18px; height: 18px; stroke: var(--paper); stroke-width: 2; fill: none; }
.lightbox__nav:focus-visible { outline: 2px solid var(--paper); outline-offset: -4px; }

/* ==========================================================================
   02 — INTRO VIDEO (inside the coach portrait; the portrait is the poster)
   ========================================================================== */
.intro__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.intro__poster, .intro__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__poster img { height: 100%; }
.intro__video { object-fit: contain; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s; }
.intro.is-playing .intro__video { opacity: 1; visibility: visible; }
.intro__play {
  position: absolute; inset: 0; z-index: 2; isolation: isolate;
  display: flex; align-items: flex-end; gap: 14px; padding: clamp(14px, 1.6vw, 22px);
  color: var(--paper); text-align: left;
  transition: opacity .3s, visibility .3s;
}
.intro__play::before { content: ""; position: absolute; inset: 42% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(20,23,24,.82)); }
.intro.is-playing .intro__play { opacity: 0; visibility: hidden; }
.intro__icon {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .4s var(--ease), background-color var(--t-sport), color var(--t-sport);
}
html[data-sport="none"] .intro__icon { background: var(--paper); color: var(--ink); }
.intro__icon svg { width: 18px; height: 18px; fill: currentColor; }
.intro__title {
  display: block; font-family: var(--f-display); font-weight: 850; font-stretch: 70%; font-variation-settings: "wdth" 70;
  text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1;
}
.intro__dur { display: block; margin-top: 6px; font-size: 10.5px; color: rgba(244,241,234,.8); }
.intro__play:focus-visible { outline-color: var(--paper); outline-offset: -6px; }
@media (hover: hover) { .intro__play:hover .intro__icon { transform: scale(1.08); } }
.intro__note { display: block; margin-top: 4px; font-style: normal; color: var(--muted); font-size: 10px; }

/* second, longer intro: photo card that opens the viewer */
.intro-full { overflow: hidden; }
.intro-full__play {
  position: absolute; inset: 0; z-index: 2; isolation: isolate;
  display: flex; align-items: flex-end; gap: 10px; padding: 12px;
  color: var(--paper); text-align: left;
}
.intro-full__play::before { content: ""; position: absolute; inset: 35% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(20,23,24,.86)); }
.intro-full__play .intro__icon { width: 40px; height: 40px; }
.intro-full__play .intro__icon svg { width: 14px; height: 14px; }
.intro-full__title {
  display: block; font-family: var(--f-display); font-weight: 850; font-stretch: 70%; font-variation-settings: "wdth" 70;
  text-transform: uppercase; font-size: clamp(15px, 1.3vw, 19px); line-height: 1;
}
.intro-full__dur { display: block; margin-top: 4px; font-size: 9.5px; color: rgba(244,241,234,.8); }
.intro-full__play:disabled { cursor: default; }
.intro-full__play:disabled .intro__icon { background: rgba(244,241,234,.22); color: var(--paper); }
.intro-full__play:focus-visible { outline-color: var(--paper); outline-offset: -5px; }
@media (hover: hover) {
  .intro-full.is-ready .intro-full__play:hover .intro__icon { transform: scale(1.08); }
  .intro-full.is-ready img { transition: transform .8s var(--ease); }
  .intro-full.is-ready:hover img { transform: scale(1.04); }
}

/* ==========================================================================
   06 — FOLLOW THE JOURNEY (INSTAGRAM)
   ========================================================================== */
.social { padding: clamp(64px, 10vh, 110px) var(--gutter) clamp(80px, 12vh, 140px); border-top: 1px solid var(--hair); }
.social__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.social__lede { font-size: 17px; color: #2c3234; margin-bottom: 18px; max-width: 36ch; }
.social__aside .btn { max-width: 100%; }
.social__aside .btn__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.social__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.ig__tile {
  position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden;
  background: var(--graphite); color: var(--paper); text-decoration: none; text-align: left;
}
.ig__media, .ig__media > picture, .ig__media > img { position: absolute; inset: 0; }
.ig__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig__kind {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(20,23,24,.8); padding: 5px 7px; font-size: 9.5px;
}
.ig__kind svg { width: 9px; height: 9px; fill: currentColor; }
.ig__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 10px 12px; background: linear-gradient(transparent, rgba(20,23,24,.88)); font-size: 9.5px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease);
}
.ig__tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: var(--accent-line);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
html[data-sport="none"] .ig__tile::after { background: var(--paper); }
@media (hover: hover) {
  .ig__tile:hover img { transform: scale(1.05); }
  .ig__tile:hover::after, .ig__tile:focus-visible::after { transform: scaleX(1); }
  .ig__tile:hover .ig__cap, .ig__tile:focus-visible .ig__cap { opacity: 1; transform: none; }
}
@media (hover: none) { .ig__cap { display: none; } }
.ig__tile:focus-visible { outline-offset: 4px; }
.social__note { margin-top: 14px; color: var(--muted); font-size: 10.5px; }

/* ==========================================================================
   08 — LESSONS & PACKAGES · PRIVATE LESSONS & CLINICS
   ========================================================================== */
.packages { position: relative; padding: 0 var(--gutter) clamp(80px, 12vh, 140px); }
.packages__line { display: block; width: 4px; height: clamp(60px, 10vh, 110px); margin: 0 auto; background: var(--ink); transition: background-color var(--t-sport); }
html:not([data-sport="none"]) .packages__line { background: var(--accent-mark); }
html[data-sport="pickleball"] .packages__line, html[data-sport="badminton"] .packages__line { background: var(--ink); }
.packages__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px; align-items: end;
  padding-top: clamp(40px, 7vh, 80px); margin-bottom: clamp(28px, 4vh, 44px);
}
.packages__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.packages__status { font-size: 14.5px; color: var(--muted); text-align: right; }
.packages__noscript { font-size: 16px; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.pkg {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(20px, 2vw, 28px);
  background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px var(--hair);
  border-top: 4px solid var(--ink); transition: border-color var(--t-sport);
}
html:not([data-sport="none"]) .pkg { border-top-color: var(--accent-mark); }
.pkg__sport { color: var(--muted); font-size: 11px; }
.pkg__count { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.pkg__count span {
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66;
  font-size: clamp(72px, 7vw, 120px); line-height: .8;
}
.pkg__count small { color: var(--muted); font-size: 11px; }
.pkg__name, .fmt__name, .formats__title {
  font-family: var(--f-display); font-weight: 850; font-stretch: 72%; font-variation-settings: "wdth" 72;
  text-transform: uppercase; line-height: .95;
}
.pkg__name { font-size: clamp(24px, 2.2vw, 34px); }
.pkg__summary { font-size: 15.5px; color: #2c3234; }
.pkg__price {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair);
}
.pkg__price .mono { color: var(--muted); font-size: 11px; }
.pkg__price strong { font-size: 20px; font-weight: 750; }
.pkg__price .ph { font-size: 15px; font-weight: 600; color: var(--muted); }
.pkg__amt { display: flex; align-items: baseline; gap: 8px; }
.pkg__amt s { color: var(--muted); font-size: 14px; }
.pkg__amt small { color: var(--muted); font-size: 11px; }
.pkg__save { font-style: normal; color: var(--paper); background: var(--ink); padding: 3px 6px; }
.fmt__price { display: flex; align-items: baseline; gap: 6px; }
.fmt__price strong { font-size: 18px; font-weight: 750; }
.fmt__price small { color: var(--muted); font-size: 11px; }
.pkg__per { margin-top: -4px; color: var(--muted); font-size: 11px; text-align: right; }
.pkg-note { margin-top: clamp(14px, 1.6vw, 20px); padding: 14px 18px; border-left: 4px solid var(--ink); background: rgba(255,255,255,.45); font-size: 15.5px; }
.pkg .btn { margin-top: 6px; }
/* Dec 2026 QA: "Ask about this package" was cut off on 1280–1440px screens */
.pkg .btn { font-size: 12.5px; letter-spacing: .03em; padding-left: 14px; gap: 10px; }
.pkg--empty { grid-column: 1 / -1; }

.formats { margin-top: clamp(48px, 8vh, 88px); }
.formats__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px;
  padding-bottom: 16px; border-bottom: 1px solid var(--hair);
}
.formats__title { font-size: clamp(30px, 3.2vw, 52px); line-height: .9; }
.formats__hint { color: var(--muted); max-width: 52ch; font-size: 11px; }
.formats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fmt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 22px 24px 24px 0; border-bottom: 1px solid var(--hair);
}
.fmt + .fmt { padding-left: 24px; border-left: 1px solid var(--hair); }
.fmt__level { color: var(--muted); font-size: 11px; }
.fmt__name { margin: 0; font-size: clamp(24px, 2.2vw, 34px); }
.fmt__summary { font-size: 15.5px; color: #2c3234; max-width: 34ch; }
.fmt__when { margin-top: auto; padding-top: 8px; font-size: 11px; }
.fmt__when .ph { color: var(--muted); }
.fmt .btn { margin-top: 6px; }

.schedule { margin-top: 18px; }
.schedule__empty { padding: 18px 20px; border: 1.5px dashed rgba(20,23,24,.3); color: var(--muted); font-size: 11px; }
.schedule__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.schedule__table th {
  padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); text-align: left;
  font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.schedule__table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.schedule__table td:last-child { text-align: right; padding-right: 0; }

/* contact form: inquiry-type dependent fields */
.field[hidden] { display: none; }
.field--split { margin: 0; padding: 0; border: 0; min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 10px; }
.field--split legend { padding: 0; margin-bottom: 6px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.field--split .field__hint { grid-column: 1 / -1; }
.field input[type="date"] { color-scheme: dark; }

/* ==========================================================================
   RESPONSIVE — dedicated mobile layout (not a shrunken desktop)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 13px; }
  .nav__chip { display: none; }
}
/* 8 nav links (incl. Kal Favourites): make room before the burger takes over at 900px.
   The hero already carries a large "Choose your sport" button. */
@media (max-width: 1060px) {
  .nav__right .btn { display: none; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__right .btn { display: none; }

  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 20px); row-gap: 28px; }
  .hero__display { font-size: clamp(56px, 17vw, 110px); }
  .hero__facts { margin-top: 26px; }
  .hero__stage-wrap { min-height: 0; grid-template-rows: auto auto auto auto; }
  .readout { position: relative; width: auto; order: 2; margin-top: 4px; background: none; padding: 10px 0 0 14px; }
  .readout__copy { padding-right: 56px; }
  .stage { order: 1; min-height: 0; height: min(70vw, 420px); }
  .stage__cam { margin: 4% 0 0; }
  .floor { --fw: min(96vw, 560px); }
  .hero-media { position: relative; bottom: auto; width: 100%; order: 3; display: none; }
  .selector {
    order: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px;
    border-top: 0; padding-bottom: 4px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
    scrollbar-width: none;
  }
  .selector::-webkit-scrollbar { display: none; }
  .selector .sport-btn {
    flex: none; scroll-snap-align: start; min-height: 52px; flex-direction: row; align-items: center; gap: 8px;
    padding: 0 16px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink);
  }
  .selector .sport-btn::before { display: none; }
  .selector .sport-btn__name { font-size: 20px; }
  .selector .sport-btn[aria-checked="true"] { background: var(--ink); color: var(--paper); }
  .selector .sport-btn[aria-checked="true"] .sport-btn__n::after { content: ""; }
  .selector .sport-btn[aria-checked="true"] .sport-btn__n { color: var(--accent-line); }
  html[data-sport="none"] .selector .sport-btn[aria-checked="true"] .sport-btn__n { color: var(--paper); }
  .selector__hint { order: 4; }

  .coach { grid-template-columns: 1fr; }
  .coach__anchor { inset: 0; }
  .coach__visual { min-height: 0; padding: 12px 0 80px; }
  .coach__portrait { width: 78%; margin-left: 18%; }
  .gear-rail { gap: 10px; }
  .gear-rail svg { width: 18px; height: 44px; }
  .gear-rail li.is-on svg { width: 28px; height: 68px; }
  .gear-rail span { display: none; }
  .anchor--pickleball span:first-child, .anchor--pickleball span:nth-child(2) { width: 88%; top: 3%; bottom: 55%; }
  .anchor--racquetball span { width: 100%; bottom: 50%; }
  .anchor--tennis span, .anchor--none::before { top: 30%; }
  .anchor--badminton span { top: 22%; }

  .explorer__body { grid-template-columns: 1fr; }
  .explorer__list {
    position: relative; top: 0; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px;
    border-top: 0; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none;
  }
  .explorer__list::-webkit-scrollbar { display: none; }
  .explorer__list .sport-btn {
    flex: none; grid-template-columns: auto auto; gap: 8px; scroll-snap-align: start;
    padding: 12px 16px; border: 0; box-shadow: inset 0 0 0 1px var(--hair-d); border-radius: 2px; color: var(--paper);
  }
  .explorer__list .sport-btn[aria-checked="true"] { padding-left: 16px; background: var(--accent); color: var(--accent-ink); }
  html[data-sport="none"] .explorer__list .sport-btn[aria-checked="true"] { background: var(--paper); color: var(--ink); }
  .explorer__list .sport-btn::before, .explorer__list .sport-btn__arrow { display: none; }
  .explorer__list .sport-btn__name { font-size: 22px; }
  .viewport { aspect-ratio: auto; display: flex; flex-direction: column; }
  .viewport__media { position: relative; aspect-ratio: 4 / 3; }
  .viewport__media::after { background: linear-gradient(180deg, rgba(20,23,24,.2), transparent 40%); }
  .viewport__panel { position: relative; grid-template-columns: 1fr; padding: 20px 16px 22px; }
  .viewport__text .btn { width: 100%; justify-content: space-between; font-size: 12.5px; padding-left: 14px; }
  .explorer__exit { margin-left: 50%; }

  .journey__pin { min-height: 0; padding-bottom: 8px; }
  .journey__top { grid-template-columns: 1fr; gap: 20px; }
  .jh { font-size: clamp(38px, 10.6vw, 64px); }
  .hud { gap: 16px; }
  .hud__badge { width: 88px; height: 88px; }
  .hud__num { font-size: 48px; }
  .hud__bar { width: 150px; }
  .track { min-height: 0; height: auto; margin-top: 28px; padding-top: 28px; }
  .track__svg { display: none; }
  .track__svg--v { display: block; width: 60px; right: auto; }
  .track__ball, .track__trail { display: none; }
  .stages { position: relative; display: grid; gap: 44px; padding: 8px 0 12px 60px; }
  .stage-item { position: relative; left: 0 !important; top: 0 !important; width: auto; padding-top: 0; transform: none; opacity: .55; }
  .stage-item h3 { color: var(--paper); -webkit-text-stroke-color: transparent; }
  .stage-item__big { left: auto; right: 0; top: -44px; font-size: 64px; }
  .stage-item__node { left: -39px; top: 12px; }
  .track__slot { display: none; }
  .journey__marquee { margin-top: 28px; }
  .journey__frame { position: relative; inset: auto; height: 56vw; margin: 12px 0 0; }
  .journey__frame > .mitem { position: absolute; inset: 0 !important; width: auto !important; height: auto !important; }

  .media__lead { height: 70svh; }
  .media__head { grid-template-columns: 1fr; }
  .media__filter { align-items: flex-start; }
  .media__status { text-align: left; }
  .chips { justify-content: flex-start; }
  .media__grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; grid-template-rows: none;
    padding-bottom: 6px; scrollbar-width: none;
  }
  .media__grid::-webkit-scrollbar { display: none; }
  .slot { flex: none; width: 78vw; height: auto; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .slot--c, .slot--d { aspect-ratio: 4 / 3.4; }

  .adapt__head { grid-template-columns: 1fr; gap: 18px; }
  .ah { font-size: clamp(40px, 11vw, 64px); }
  .principles { flex-direction: column; height: auto; gap: 10px; }
  .principle, .principle.is-open { flex: none; }
  .principle__tab { position: relative; inset: auto; display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
  .principle.is-open .principle__tab { pointer-events: auto; }
  .principle__n, .principle.is-open .principle__n { font-size: 44px; }
  .principle__vert, .principle.is-open .principle__vert { position: static; writing-mode: horizontal-tb; transform: none; opacity: 1; font-size: 26px; white-space: normal; }
  .principle__plus { position: relative; right: auto; bottom: auto; margin-left: auto; flex: none; }
  .principle.is-open .principle__plus { opacity: 1; transform: rotate(45deg); }
  .principle__body { position: static; width: auto; display: none; grid-template-columns: 1fr; gap: 18px; padding: 0 20px 24px; opacity: 1; transform: none; }
  .principle.is-open .principle__body { display: grid; }
  .principle__viz { height: auto; }
  .principle__text h3, .principle__kicker { display: none; }
  .principle__text > p:last-child { margin-top: 0; }
  .viz-multi { min-height: 240px; }
  .vm-years { font-size: 120px; }
  .vm-orbit { width: 220px; }
  .converge__labels span { font-size: 8.5px; letter-spacing: 0; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr; }
  .footer__sports { justify-content: flex-start; }

  .intro__play { align-items: flex-start; }
  .intro__play::before { inset: 0 0 50%; background: linear-gradient(rgba(20,23,24,.78), transparent); }
  .coach__portrait figcaption { padding-right: 46%; }
  .intro-full__play { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 8px; }
  .intro-full__play::before { inset: 25% 0 0; }
  .intro-full__play .intro__icon { width: 30px; height: 30px; }
  .intro-full__play .intro__icon svg { width: 11px; height: 11px; }
  .intro-full__title { font-size: 13px; }
  .intro-full__dur { font-size: 8.5px; }

  .social__head { grid-template-columns: 1fr; gap: 18px; }
  .social__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .reviews__head { grid-template-columns: 1fr; gap: 18px; }
  .reviews__aside { align-items: flex-start; }
  .reviews__summary { text-align: left; }
  .reviews__empty { grid-template-columns: 1fr; gap: 8px; }

  .packages__head { grid-template-columns: 1fr; gap: 18px; }
  .packages__aside { align-items: flex-start; }
  .packages__status { text-align: left; }
  .packages .chips { justify-content: flex-start; }
  .formats__list { grid-template-columns: 1fr; }
  .fmt, .fmt + .fmt { padding: 20px 0; border-left: 0; }
  .schedule__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .schedule__table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .schedule__table td { padding: 0; border: 0; }
  .schedule__table td[data-th]::before { content: attr(data-th) " · "; font: 500 10.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .schedule__table td:last-child { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__facts { gap: 16px; }
  .hero__facts dd { font-size: 15px; }
  .btn--lg { --btn-h: 52px; font-size: 13.5px; padding-left: 18px; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .facts-rail li { grid-template-columns: 92px 1fr; }
  .facts-rail__k { font-size: 24px; }
  .contact__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .social__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social__aside .btn { width: 100%; justify-content: space-between; }
  .field--split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REDUCED MOTION — sport selection still works, instantly
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .logo__x, .logo__y, .logo__ball, .logo__shadow, .logo__net, .logo__k { animation: none !important; }
}

/* ==========================================================================
   Nov 2026 additions: review sport chips, booking calendar
   ========================================================================== */
.reviews__status { font-size: 11px; color: var(--muted); text-align: right; min-height: 1.3em; }
@media (max-width: 900px) { .reviews__status { text-align: left; } }

/* booking calendar (contact form, dark panel) */
.field--split .bookcal { grid-column: 1 / -1; }
.bookcal:not(:empty) ~ .bookcal__date { display: none; }
.bookcal:not(:empty) ~ .select { grid-column: 1 / -1; }
.bookcal { background: rgba(20,23,24,.5); padding: 12px; border-bottom: 2px solid rgba(244,241,234,.28); }
.bookcal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.bookcal__month { font-weight: 700; font-size: 16px; color: var(--paper); }
.bookcal__nav { width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-d); }
.bookcal__nav:hover:not(:disabled) { background: rgba(244,241,234,.1); }
.bookcal__nav:disabled { opacity: .3; cursor: default; }
.bookcal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.bookcal__wd { text-align: center; font-size: 10.5px; color: var(--muted-d); padding: 4px 0; }
.bookcal__day {
  position: relative; min-height: 40px; display: grid; place-items: center;
  font: 600 14.5px/1 var(--f-body); color: var(--paper); background: rgba(244,241,234,.05);
  transition: background-color .2s, color .2s;
}
.bookcal__day:hover:not(:disabled) { background: rgba(244,241,234,.16); }
.bookcal__day:disabled { color: rgba(244,241,234,.25); background: transparent; cursor: default; }
.bookcal__day.is-today { box-shadow: inset 0 0 0 1px rgba(244,241,234,.5); }
.bookcal__day.is-sel { background: var(--accent-line); color: var(--ink); }
html[data-sport="none"] .bookcal__day.is-sel { background: var(--paper); }
html[data-sport="tennis"] .bookcal__day.is-sel, html[data-sport="more"] .bookcal__day.is-sel { color: #fff; }
.bookcal__day.has-clinic::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.bookcal__day:focus-visible, .bookcal__nav:focus-visible { outline: 2px solid var(--paper); outline-offset: 1px; }
.bookcal__picked { margin-top: 10px; font-size: 11.5px; color: var(--muted-d); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.bookcal__picked strong { color: var(--paper); }
.bookcal__clear { font: inherit; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.bookcal__key { color: var(--muted-d); }

/* lesson packages: buy (cart) + ask (contact form) */
.pkg .pkg__buy + .btn { margin-top: 8px; }

/* ==========================================================================
   03 — DRIVE · DINK · DROP (Nov 2026). Animation in assets/js/ddd.js.
   Each shot has its own colour, taken from Coach Kal's mascot labels.
   ========================================================================== */
.ddd {
  --drive: #FF6A2B; --dink: #3FA9FF; --drop: #62D23A;
  --shot: var(--drive);
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #22272a 0%, var(--ink) 62%);
  color: var(--paper);
  padding: clamp(72px, 11vh, 130px) var(--gutter) clamp(72px, 11vh, 130px);
}
.ddd[data-shot="dink"] { --shot: var(--dink); }
.ddd[data-shot="drop"] { --shot: var(--drop); }
.ddd__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px; align-items: end;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.ddd .h-display { font-size: clamp(40px, 5.2vw, 84px); }
.ddd .accent-mark { background-image: linear-gradient(var(--shot), var(--shot)); transition: background-image .4s; }
.ddd__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ddd__lede { font-size: 16.5px; color: rgba(244, 241, 234, .82); }
.ddd__toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px 0 8px;
  color: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-d); border-radius: 2px;
}
.ddd__toggle:hover { background: rgba(244, 241, 234, .08); }
.ddd__toggle-ico { width: 24px; height: 24px; display: grid; place-items: center; }
.ddd__toggle-ico svg { width: 14px; height: 14px; fill: currentColor; }
.ddd__toggle .i-play, .ddd.is-paused .ddd__toggle .i-pause { display: none; }
.ddd.is-paused .ddd__toggle .i-play { display: inline; }

/* court (side view) */
.ddd__court { max-width: 1000px; margin: 0 auto; }
.ddd__court svg { width: 100%; height: auto; overflow: visible; }
.ddd__lines line { stroke: rgba(244, 241, 234, .5); stroke-width: 2; }
.ddd__lines .ddd__net { stroke: rgba(244, 241, 234, .75); stroke-width: 3; stroke-dasharray: 3 4; }
.ddd__lines .ddd__netcap { stroke: rgba(244, 241, 234, .9); stroke-width: 4; }
.ddd__zone { fill: rgba(244, 241, 234, .07); }
.ddd__marks text { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted-d); }
.ddd__path { fill: none; stroke: var(--shot); stroke-width: 3; stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.ddd__path.is-on { opacity: .9; filter: drop-shadow(0 0 6px var(--shot)); }
.ddd__ball circle:first-child { fill: #F2D23A; stroke: #c9a91a; stroke-width: 1.5; }
.ddd__ball .ddd__hole { fill: #b8971a; }
.ddd.is-flying .ddd__ball { filter: drop-shadow(0 0 8px rgba(242, 210, 58, .8)); }
.ddd__hit { fill: none; stroke: var(--shot); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ddd__hit.is-pulse { animation: ddd-pulse .6s var(--ease) both; }
@keyframes ddd-pulse { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(2.2); } }

/* shot cards */
.ddd__shots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px);
  max-width: 1200px; margin: clamp(8px, 2vh, 20px) auto 0;
}
.ddd__card {
  position: relative; width: 100%; height: 100%;
  display: grid; justify-items: center; align-content: start; gap: 10px;
  padding: clamp(14px, 2vw, 26px) clamp(14px, 1.8vw, 24px) clamp(20px, 2.4vw, 30px);
  text-align: center; border-radius: 4px;
  background: rgba(244, 241, 234, .035); box-shadow: inset 0 0 0 1px var(--hair-d);
  transition: background-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.ddd__card:hover { background: rgba(244, 241, 234, .06); }
.ddd__card[aria-pressed="true"] {
  background: rgba(244, 241, 234, .07);
  box-shadow: inset 0 0 0 2px var(--shot), 0 18px 50px -24px var(--shot);
}
.ddd__fig { display: block; width: min(100%, 165px); aspect-ratio: 312 / 432; }
.ddd__mascot {
  width: 100%; height: 100%; object-fit: contain;
  transform-origin: 60% 75%;
  opacity: .5; filter: saturate(.55);
  transition: opacity .4s, filter .4s, transform .4s var(--ease);
}
.ddd__card[aria-pressed="true"] .ddd__mascot { opacity: 1; filter: none; animation: ddd-float 3.2s ease-in-out infinite; }
.ddd__card.is-hit[aria-pressed="true"] .ddd__mascot { animation: ddd-swing .5s var(--ease), ddd-float 3.2s ease-in-out .5s infinite; }
@keyframes ddd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ddd-swing {
  0% { transform: rotate(0) scale(1); }
  30% { transform: rotate(-9deg) scale(1.07); }
  60% { transform: rotate(4deg) scale(1.02); }
  100% { transform: rotate(0) scale(1); }
}
.ddd__word { width: min(80%, 170px); height: auto; opacity: .6; transition: opacity .35s, transform .35s var(--ease); }
.ddd__card[aria-pressed="true"] .ddd__word { opacity: 1; transform: scale(1.04); }
.ddd__trait { color: var(--shot); font-weight: 600; }
.ddd__card:not([aria-pressed="true"]) .ddd__trait { color: var(--muted-d); }
.ddd__card[data-shot="drive"] .ddd__trait { --shot: var(--drive); }
.ddd__card[data-shot="dink"] .ddd__trait { --shot: var(--dink); }
.ddd__card[data-shot="drop"] .ddd__trait { --shot: var(--drop); }
.ddd__desc { font-size: 15px; line-height: 1.5; color: rgba(244, 241, 234, .78); max-width: 32ch; }
.ddd__card:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }

@media (max-width: 900px) {
  .ddd__head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 767px) {
  .ddd__marks text { font-size: 18px; }
  .ddd__shots { grid-template-columns: 1fr; gap: 10px; }
  .ddd__card { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 6px; padding: 14px; }
  .ddd__fig { grid-row: 1 / 4; width: 112px; align-self: center; }
  .ddd__word { width: 120px; }
  .ddd__desc { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ddd__card[aria-pressed="true"] .ddd__mascot, .ddd__card.is-hit[aria-pressed="true"] .ddd__mascot { animation: none; }
  .ddd__hit.is-pulse { animation: none; }
}

/* verified reviews (Nov 2026): profile link in the header + "Verified · TeachMe.to" on each card */
.reviews__verified { display: grid; gap: 8px; justify-items: end; }
.reviews__src {
  display: inline-flex; align-items: flex-start; gap: 10px; max-width: 420px;
  padding: 10px 14px; text-align: left; text-decoration: none; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 2px; transition: background-color .2s;
}
.reviews__src:hover { background: rgba(20, 23, 24, .05); }
.reviews__src-tick { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #1f9d55; margin-top: 1px; }
.reviews__src-tick svg, .rv__verified svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reviews__src-txt { font-size: 15px; line-height: 1.35; }
.reviews__src-txt em { display: block; margin-top: 3px; font-style: normal; font-size: 10.5px; color: var(--muted); }
.rv__verified {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 2px;
  font-size: 10.5px; color: #17733f; text-decoration: none; position: relative; z-index: 1;
}
.rv__verified svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: #1f9d55; }
.rv__verified:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .reviews__verified { justify-items: start; } }

/* Dec 2026 QA: bigger tap targets for review links on phones (WCAG 2.5.8) */
@media (max-width: 760px) { .rv__more, .rv__verified { min-height: 24px; padding-top: 4px; padding-bottom: 4px; display: inline-flex; align-items: center; } }
