/* =============================================================================
   JSM — Jennifer Shellby Miller
   Design system + homepage
   ========================================================================== */

/* -----------------------------------------------------------------------------
   01. Tokens
----------------------------------------------------------------------------- */
:root {
  --paper: #f3efe7;
  --paper-2: #e9e3d7;
  --paper-3: #ddd5c6;
  --ink: #0e0e0c;
  --ink-2: #181815;
  --ink-3: #262622;
  --stone: #8a857a;
  --mute: rgba(14, 14, 12, 0.64);
  --mute-inv: rgba(243, 239, 231, 0.66);
  --line: rgba(14, 14, 12, 0.16);
  --line-inv: rgba(243, 239, 231, 0.18);
  --accent: #ff5a36;          /* the one energetic accent: court coral */
  --accent-deep: #e8431f;

  --f-sans: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  --fs-label: clamp(11px, 0.3vw + 9.6px, 13px);
  --fs-small: clamp(14px, 0.2vw + 13px, 16px);
  --fs-body: clamp(16px, 0.35vw + 14.5px, 20px);
  --fs-lead: clamp(19px, 0.8vw + 14px, 28px);
  --fs-h4: clamp(22px, 1.4vw + 14px, 36px);
  --fs-h3: clamp(32px, 3.2vw + 16px, 72px);
  --fs-h2: clamp(52px, 8.4vw, 168px);
  --fs-hero: clamp(64px, 12.6vw, 250px);
  --fs-mega: clamp(120px, 34vw, 640px);

  --gutter: clamp(16px, 3.4vw, 56px);
  --section-y: clamp(96px, 13vw, 220px);
  --maxw: 1720px;
  --nav-h: var(--nb-h0);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}


/* -----------------------------------------------------------------------------
   02. Base
----------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nb-h0) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }

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

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--ink); padding: 12px 18px;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

/* -----------------------------------------------------------------------------
   03. Typography
----------------------------------------------------------------------------- */
.t-label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
}
.t-label--accent { color: var(--accent); }
.t-num { font-variant-numeric: tabular-nums; }

.t-display {
  font-family: var(--f-sans);
  font-weight: 800;
  font-stretch: 72%;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.025em;
}
.t-serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: -0.015em;
}
.t-h2 { font-size: var(--fs-h2); }
.t-h3 { font-size: var(--fs-h3); }
.t-lead { font-size: var(--fs-lead); line-height: 1.35; letter-spacing: -0.01em; }
.t-mute { color: var(--mute); }
.is-dark .t-mute, .t-mute-inv { color: var(--mute-inv); }

/* masked line reveal — each .line clips its inner span */
.line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.line > span { display: block; will-change: transform; }
.line--inline { display: inline-block; vertical-align: top; }

.kicker {
  display: flex; align-items: center; gap: 14px;
}
.kicker::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6;
}
.kicker__num { color: var(--accent); }

/* -----------------------------------------------------------------------------
   04. Layout helpers
----------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; }
.is-dark { background: var(--ink); color: var(--paper); }
.is-paper-2 { background: var(--paper-2); }

/* -----------------------------------------------------------------------------
   05. Grain
----------------------------------------------------------------------------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  will-change: transform;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

/* -----------------------------------------------------------------------------
   06. Buttons & links
----------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-fill: var(--ink);
  --btn-fill-fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 0 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid currentColor;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); border-color: var(--btn-fill); }

.btn--accent {
  --btn-bg: var(--accent); --btn-fg: var(--ink);
  --btn-fill: var(--ink); --btn-fill-fg: var(--paper);
  border-color: var(--accent);
}
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-fill: var(--accent); --btn-fill-fg: var(--ink); border-color: var(--ink); }
.btn--light { --btn-fill: var(--paper); --btn-fill-fg: var(--ink); }
.btn--lg { min-height: 68px; padding: 0 34px; font-size: 14px; }
.btn--block { width: 100%; }

.btn__arrow {
  position: relative; width: 16px; height: 16px; overflow: hidden; flex: none;
}
.btn__arrow svg {
  position: absolute; inset: 0; width: 16px; height: 16px;
  transition: transform .55s var(--ease);
}
.btn__arrow svg + svg { transform: translateX(-120%); }
.btn:hover .btn__arrow svg:first-child { transform: translateX(120%); }
.btn:hover .btn__arrow svg + svg { transform: translateX(0); }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
  padding-bottom: 2px;
}
.link-u:hover, .link-u:focus-visible { background-size: 100% 1px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.link-arrow .btn__arrow svg { transition: transform .5s var(--ease); }
.link-arrow:hover .btn__arrow svg:first-child { transform: translateX(120%); }
.link-arrow:hover .btn__arrow svg + svg { transform: translateX(0); }

/* -----------------------------------------------------------------------------
   07. JSM mark
----------------------------------------------------------------------------- */
.mark {
  display: inline-flex; align-items: baseline;
  font-weight: 900; font-stretch: 68%; letter-spacing: -0.02em; line-height: 1;
}
.mark__dot {
  display: inline-block; width: .2em; height: .2em; margin-left: .06em;
  border-radius: 50%; background: var(--accent);
}

/* -----------------------------------------------------------------------------
   08. Preloader & page wipe
----------------------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 1200;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
}
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { font-size: clamp(76px, 14vw, 180px); overflow: hidden; }
.preloader__mark span { display: inline-block; }
.preloader__name { overflow: hidden; }
.preloader__name span { display: block; }
.preloader__bar {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) + 8px);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.preloader__track { flex: 1; height: 1px; background: var(--line-inv); position: relative; overflow: hidden; }
.preloader__fill { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0); }
html.no-js .preloader, .preloader.is-done { display: none; }

.page-wipe {
  position: fixed; inset: 0; z-index: 1150; pointer-events: none;
  background: var(--ink);
  display: grid; place-items: center;
  transform: scaleY(0); transform-origin: bottom;
}
.page-wipe .mark { color: var(--paper); font-size: 64px; opacity: 0; }
html.is-entering .page-wipe { transform: scaleY(1); }

/* -----------------------------------------------------------------------------
   09. Morphing nav bar
   Full-width and transparent at the top of the page; as you scroll it shrinks
   into a floating black "Dynamic Island" pill. JS writes --p (0 → 1) from scroll.
----------------------------------------------------------------------------- */
:root {
  --nb-h0: 76px;                                  /* bar height at the top */
  --nb-h1: 56px;                                  /* pill height */
  --nb-w1: min(calc(100vw - 24px), 780px);        /* pill width */
  --nb-top1: 12px;                                /* pill offset from the top */
  --nb-ow: min(calc(100vw - 16px), 440px);        /* opened menu width */
  --f-ios: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ios-spring: cubic-bezier(0.32, 1.3, 0.52, 1);
  --ios-2nd-bg: #1c1c1e;
  --ios-2nd-label: rgba(235, 235, 245, 0.6);
  --ios-separator: rgba(84, 84, 88, 0.65);
}
@media (max-width: 1100px) { :root { --nb-w1: min(calc(100vw - 24px), 440px); } }
@media (max-width: 767px)  { :root { --nb-h0: 64px; --nb-h1: 52px; --nb-w1: min(calc(100vw - 24px), 330px); } }

.nb {
  --p: 0;
  --nb-fg: var(--paper);
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; justify-content: center;
  color: var(--nb-fg);
  pointer-events: none;
}
.nb[data-top="light"]:not(.is-inked):not(.is-open) { --nb-fg: var(--ink); }
/* light-top pages (booking): a paper backing keeps ink text readable over anything dark scrolling beneath */
.nb[data-top="light"] .nb__pill { transition: background-color .25s ease; }
.nb[data-top="light"]:not(.is-inked):not(.is-open) .nb__pill { background: rgba(243, 239, 231, calc(0.94 * min(1, var(--p) * 6))); }
.nb[data-top="light"]:not(.is-inked):not(.is-open) :focus-visible { outline-color: var(--ink); }
/* dark-top pages: a soft scrim behind the transparent bar keeps links legible over bright photos */
.nb[data-top="dark"]::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 150px; pointer-events: none;
  background: linear-gradient(rgba(14, 14, 12, 0.55), rgba(14, 14, 12, 0));
  opacity: calc(1 - var(--p) * 2);
}

.nb__pill {
  position: relative; pointer-events: auto;
  width: calc(100% + (var(--nb-w1) - 100%) * var(--p));
  height: calc(var(--nb-h0) + (var(--nb-h1) - var(--nb-h0)) * var(--p));
  margin-top: calc(var(--nb-top1) * var(--p));
  border-radius: calc(var(--nb-h1) / 2 * var(--p));
  background: rgba(8, 8, 7, calc(0.9 * var(--p)));
  -webkit-backdrop-filter: blur(calc(18px * var(--p))) saturate(calc(1 + 0.6 * var(--p)));
  backdrop-filter: blur(calc(18px * var(--p))) saturate(calc(1 + 0.6 * var(--p)));
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, calc(0.12 * var(--p))),
    0 18px 44px -18px rgba(0, 0, 0, calc(0.55 * var(--p)));
  overflow: hidden;
  will-change: width, height;
}
/* springy morph only for open/close (scroll-driven changes are scrubbed, no lag) */
.nb.is-animating .nb__pill {
  transition:
    width .62s var(--ios-spring),
    height .62s var(--ios-spring),
    margin-top .5s var(--ease),
    border-radius .62s var(--ios-spring),
    background-color .35s ease;
}
.nb.is-animating .nb__row { transition: height .62s var(--ios-spring), padding .62s var(--ios-spring); }
.nb.is-animating .nb__brand { transition: font-size .62s var(--ios-spring); }
.nb.is-animating .nb__cta { transition: min-height .5s var(--ease), padding .5s var(--ease), border-radius .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.nb.is-open .nb__pill {
  width: var(--nb-ow);
  height: var(--nb-open-h, var(--nb-h1));
  border-radius: 30px;
  background: #000;
}
.nb.is-open { --p: 1 !important; }

/* top row */
.nb__row {
  height: calc(var(--nb-h0) + (var(--nb-h1) - var(--nb-h0)) * var(--p));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; column-gap: 16px;
  padding-left: calc(var(--gutter) + (20px - var(--gutter)) * var(--p));
  padding-right: calc(var(--gutter) + (8px - var(--gutter)) * var(--p));
}

/* animated logo: paddle + bouncing ball emblem, shining JSM letters */
.nb__brand { display: inline-flex; align-items: center; gap: .3em; justify-self: start; font-size: calc(30px - 6px * var(--p)); line-height: 1; }
.nb__emblem { position: relative; display: block; flex: none; width: 1.42em; height: 1.42em; margin-top: -.14em; transition: scale .8s var(--ios-spring), rotate .8s var(--ios-spring); }
.emb { display: block; width: 100%; height: 100%; overflow: visible; }
.emb__face { fill: var(--nb-fg); }
.emb__edge { fill: none; stroke: var(--accent); stroke-width: 1.7; }
.emb__handle { fill: var(--accent); }
.emb__shadow { fill: rgba(14, 14, 12, 0.38); transform-box: fill-box; transform-origin: 50% 50%; animation: emb-shadow 3.2s linear infinite; }
.emb__paddle { transform-box: fill-box; transform-origin: 50% 70%; animation: emb-paddle 3.2s linear infinite; }
.emb__ball { fill: var(--accent); }
.emb__hole { fill: rgba(14, 14, 12, 0.42); }
.emb__shine { fill: rgba(255, 255, 255, 0.35); }
.emb__ball-y { animation: emb-ball 3.2s infinite; }
.emb__ball-sq { transform-box: fill-box; transform-origin: 50% 100%; animation: emb-squash 3.2s linear infinite; }
.emb__ball-rot { transform-box: fill-box; transform-origin: 50% 50%; animation: emb-spin 3.2s linear infinite; }

/* three dribbles, then a high spinning pop — loops forever */
@keyframes emb-ball {
  0%     { transform: translateY(0);     animation-timing-function: cubic-bezier(.25, .7, .45, 1); }
  12.5%  { transform: translateY(-11px); animation-timing-function: cubic-bezier(.55, 0, .75, .3); }
  25%    { transform: translateY(0);     animation-timing-function: cubic-bezier(.25, .7, .45, 1); }
  37.5%  { transform: translateY(-11px); animation-timing-function: cubic-bezier(.55, 0, .75, .3); }
  50%    { transform: translateY(0);     animation-timing-function: cubic-bezier(.25, .7, .45, 1); }
  62.5%  { transform: translateY(-11px); animation-timing-function: cubic-bezier(.55, 0, .75, .3); }
  75%    { transform: translateY(0);     animation-timing-function: cubic-bezier(.2, .75, .4, 1); }
  87.5%  { transform: translateY(-19px); animation-timing-function: cubic-bezier(.6, 0, .8, .25); }
  100%   { transform: translateY(0); }
}
@keyframes emb-squash {
  0%, 25%, 50%, 75%, 100% { transform: scale(1.2, .76); }
  3%, 22%, 28%, 47%, 53%, 72%, 78%, 97% { transform: scale(1, 1); }
}
@keyframes emb-spin {
  0% { transform: rotate(0deg); }
  75% { transform: rotate(90deg); }
  100% { transform: rotate(360deg); }
}
@keyframes emb-paddle {
  0%, 25%, 50%, 75%, 100% { transform: translateY(1.4px) rotate(-1.5deg); }
  6%, 19%, 31%, 44%, 56%, 69%, 81%, 94% { transform: translateY(0) rotate(0deg); }
}
@keyframes emb-shadow {
  0%, 25%, 50%, 75%, 100% { transform: scale(1.1); opacity: .6; }
  12.5%, 37.5%, 62.5% { transform: scale(.55); opacity: .28; }
  87.5% { transform: scale(.35); opacity: .14; }
}

.nb__word { display: inline-flex; font-family: var(--f-sans); font-weight: 900; font-stretch: 68%; letter-spacing: -.02em; transition: clip-path 1s var(--ease) .2s; clip-path: inset(-30% -10% -30% 0); }
.nb__l { display: inline-block; }
/* a coral light sweeps across the letters every few seconds */
.nb__l > span {
  display: inline-block; color: transparent;
  background: linear-gradient(100deg, var(--nb-fg) 0 40%, var(--accent) 47%, #ffd9cc 50%, var(--accent) 53%, var(--nb-fg) 60% 100%);
  background-size: 320% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  animation: nb-shine 5.2s var(--ease) infinite;
  animation-delay: calc(var(--i) * .09s + 1.2s);
}
@keyframes nb-shine { 0%, 64% { background-position: 100% 0; } 88%, 100% { background-position: 0 0; } }

/* hover: letters hop in sequence, emblem tilts */
.nb__brand:hover .nb__l { animation: nb-hop .55s var(--ease) both; animation-delay: calc(var(--i) * .06s); }
@keyframes nb-hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-20%); } }
.nb__brand:hover .nb__emblem { rotate: -10deg; scale: 1.08; }

/* intro: emblem springs in, letters wipe in */
html.js .nb:not(.is-ready) .nb__emblem { scale: 0; rotate: -120deg; }
html.js .nb:not(.is-ready) .nb__word { clip-path: inset(-30% 100% -30% 0); }

@media (prefers-reduced-motion: reduce) {
  .emb__shadow, .emb__paddle, .emb__ball-y, .emb__ball-sq, .emb__ball-rot, .nb__l > span, .nb__brand:hover .nb__l { animation: none !important; }
}


.nb__links { display: flex; justify-self: center; gap: calc(clamp(18px, 2.4vw, 40px) * (1 - var(--p)) + 22px * var(--p)); }
.nb__links a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.nb__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nb__links a:hover::after, .nb__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nb.is-pill .nb__links a[aria-current] { color: var(--accent); }

.nb__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nb__cta {
  min-height: calc(46px - 6px * var(--p)); padding: 0 calc(20px - 2px * var(--p));
  border-radius: calc(20px * var(--p)); font-size: 12px;
}
.nb:not(.is-pill) .nb__cta.btn--accent { --btn-fill: var(--paper); --btn-fill-fg: var(--ink); }
.nb__cta-short { display: none; }
.nb__tag {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid currentColor;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.nb.is-solid .nb__tag { color: var(--accent); border-color: rgba(255, 90, 54, .45); }

.nb__toggle {
  display: none; position: relative; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, calc(0.12 * var(--p)));
  transition: background .3s;
}
.nb[data-top="light"]:not(.is-inked):not(.is-open) .nb__toggle { background: transparent; }
.nb__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nb__toggle span:first-child { top: 15px; }
.nb__toggle span:last-child { top: 23px; }
.nb.is-open .nb__toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nb.is-open .nb__toggle span:last-child { top: 19px; transform: rotate(-45deg); }
@media (hover: hover) { .nb__toggle:hover { background: rgba(255, 255, 255, 0.2); } }

/* scroll progress — a hairline along the bottom of the pill */
.nb__progress {
  position: absolute; bottom: 0; height: 2px;
  left: calc(var(--nb-h1) / 2 * var(--p)); right: calc(var(--nb-h1) / 2 * var(--p));
  border-radius: 2px;
  background: var(--accent);
  transform-origin: left; transform: scaleX(var(--sp, 0));
  opacity: var(--p);
  pointer-events: none;
}
.nb.is-open .nb__progress { opacity: 0; }

/* opened menu (the pill grows into an island) */
.nb__panel {
  width: var(--nb-ow); margin: 0 auto;
  padding: 2px 12px 14px;
  max-height: calc(100dvh - 2 * var(--nb-top1) - var(--nb-h1));
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  opacity: 0; filter: blur(8px); scale: .96; transform-origin: 50% 0;
  transition: opacity .25s ease, filter .3s ease, scale .55s var(--ios-spring);
  color: #fff;
}
.nb.is-open .nb__panel { opacity: 1; filter: none; scale: 1; transition-delay: .12s; }
.nb__live {
  padding: 16px 16px 14px; background: var(--ios-2nd-bg); border-radius: 22px;
  display: grid; gap: 6px; font-family: var(--f-ios);
}
.nb__live-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--ios-2nd-label); }
.nb__live-title { font-family: var(--f-sans); font-weight: 800; font-stretch: 72%; font-size: 28px; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; margin-top: 4px; }
.nb__live-meta { font-size: 15px; color: var(--ios-2nd-label); }
.nb__live-cta {
  margin-top: 8px; height: 50px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #000;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  transition: background .2s, scale .3s var(--ease);
}
@media (hover: hover) { .nb__live-cta:hover { background: #ff7a5c; } }
.nb__live-cta:active { scale: .98; }
.nb__list { margin-top: 10px; padding: 2px 0; background: var(--ios-2nd-bg); border-radius: 22px; font-family: var(--f-ios); }
.nb__list a {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 48px; margin: 0 16px;
  font-size: 17px; letter-spacing: -0.01em; color: #fff;
  border-bottom: 0.5px solid var(--ios-separator);
}
.nb__list a:last-child { border-bottom: 0; }
.nb__list a[aria-current] { color: var(--accent); }
@media (hover: hover) { .nb__list a:hover { color: var(--accent); } }
.nb__chev { color: rgba(235, 235, 245, 0.3); }
.nb__foot { display: flex; justify-content: center; gap: 24px; padding-top: 12px; font-family: var(--f-ios); font-size: 13px; font-weight: 500; color: var(--ios-2nd-label); }
@media (hover: hover) { .nb__foot a:hover { color: #fff; } }

.nb :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 1100px) {
  .nb__links { display: none; }
  .nb__row { grid-template-columns: minmax(0, 1fr) auto; }
  .nb__toggle { display: block; }
}
@media (max-width: 767px) {
  .nb__cta-long { display: none; }
  .nb__cta-short { display: inline; }
  .nb__cta { padding: 0 16px; }
  .nb__cta .btn__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nb.is-animating .nb__pill, .nb__panel { transition-duration: .2s !important; transition-timing-function: ease !important; }
  .nb__panel { filter: none !important; }
}

/* -----------------------------------------------------------------------------
   11. Custom cursor
----------------------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1100; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--accent);
  transition: transform .35s var(--ease), opacity .3s;
}
.cursor__ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(255, 90, 54, .55);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.cursor__label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease);
}
.cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--accent); }
.cursor.is-link .cursor__dot { transform: scale(0); }
.cursor.is-hidden { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* -----------------------------------------------------------------------------
   12. Media component
----------------------------------------------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--ink-3); }
.media > img, .media > video, .media__inner > img, .media__inner > video {
  width: 100%; height: 100%; object-fit: cover;
}
.media__inner { position: absolute; inset: -8% 0; }
.media video { position: absolute; inset: 0; }
.media__tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: var(--paper); mix-blend-mode: difference;
}

/* -----------------------------------------------------------------------------
   13. HERO
----------------------------------------------------------------------------- */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  background: var(--ink); color: var(--paper);
  overflow: hidden;
}
.hero__stage { position: absolute; inset: 0; }
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100svh, 62vw); min-width: 56vw;
  overflow: hidden;
}
.hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  transform-origin: 50% 40%;
}
.hero__media {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 36%);
}
.hero__media::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(14,14,12,.55) 0%, rgba(14,14,12,0) 30%);
}
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 20% 60%, rgba(14,14,12,.0), rgba(14,14,12,.25));
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--nav-h) + 3vh); padding-bottom: clamp(24px, 4vh, 48px);
}
.hero__main { align-self: center; }
.hero__kicker { margin-bottom: clamp(20px, 3.4vh, 40px); }
.hero__title { font-size: min(var(--fs-hero), 20svh); }
.hero__title .t-serif { font-size: 1.04em; line-height: .8; letter-spacing: -.03em; }
.hero__title .line:nth-child(2) { padding-left: .06em; }
.hero__sub {
  margin-top: clamp(24px, 4vh, 44px);
  display: grid; grid-template-columns: minmax(0, 36em); gap: 22px;
}
@media (max-height: 820px) and (min-width: 768px) {
  .hero__kicker { margin-bottom: 16px; }
  .hero__sub { margin-top: 22px; gap: 14px; }
  .hero__ctas .btn--lg { min-height: 58px; }
}
.hero__name { font-size: var(--fs-h4); font-weight: 700; font-stretch: 85%; letter-spacing: -.01em; text-transform: uppercase; line-height: 1; }
.hero__copy { font-size: var(--fs-body); color: var(--mute-inv); max-width: 27em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  border-top: 1px solid var(--line-inv); padding-top: 18px;
}
.hero__stat { display: flex; align-items: baseline; gap: 14px; }
.hero__stat strong { font-size: clamp(34px, 3.2vw, 54px); font-weight: 800; font-stretch: 72%; line-height: 1; letter-spacing: -.02em; }
.hero__scroll { display: flex; align-items: center; gap: 14px; }
.hero__scroll-line { width: 1px; height: 38px; background: var(--line-inv); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--accent);
  animation: scrollcue 2s var(--ease-in-out) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.hero__area { display: none; }

@media (min-width: 1101px) {
  .hero__area { display: block; }
}
@media (max-width: 1100px) {
  .hero__media { width: 100%; min-width: 0; -webkit-mask-image: none; mask-image: none; }
  .hero__media::before {
    background: linear-gradient(0deg, var(--ink) 4%, rgba(14,14,12,.78) 38%, rgba(14,14,12,.1) 66%, rgba(14,14,12,.35) 100%);
  }
  .hero__media img, .hero__media video { object-position: 48% 22%; }
  .hero__main { align-self: end; padding-bottom: 28px; }
}
@media (max-width: 767px) {
  .hero { min-height: 640px; }
  .hero__title { font-size: clamp(60px, 19.5vw, 120px); }
  .hero__sub { gap: 18px; }
  .hero__copy { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
}

/* -----------------------------------------------------------------------------
   14. Marquee
----------------------------------------------------------------------------- */
.marquee {
  background: var(--ink); color: var(--paper);
  border-top: 1px solid var(--line-inv);
  overflow: hidden; padding: clamp(18px, 2.2vw, 30px) 0;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); padding-right: clamp(20px, 2.6vw, 44px);
  font-size: clamp(30px, 4.2vw, 70px); white-space: nowrap;
}
.marquee__item .t-serif { font-size: 1.08em; }
.marquee__ball { width: .34em; height: .34em; border-radius: 50%; background: var(--accent); flex: none; }

/* -----------------------------------------------------------------------------
   15. INTRO
----------------------------------------------------------------------------- */
.intro__statement { font-size: var(--fs-h2); max-width: 11.5em; }
.intro__statement .t-serif { font-size: 1.05em; color: var(--accent); }
.intro__grid {
  margin-top: clamp(64px, 10vw, 160px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter);
  align-items: end;
}
.intro__portrait { grid-column: 1 / span 6; aspect-ratio: 4 / 5; }
.intro__portrait-cap { grid-column: 1 / span 6; margin-top: -8px; display: flex; justify-content: space-between; }
.intro__text { grid-column: 8 / span 5; display: grid; gap: 28px; padding-bottom: 8px; }
.intro__name { font-size: var(--fs-h3); }
.intro__facts { border-top: 1px solid var(--line); }
.intro__facts li {
  display: grid; grid-template-columns: 3.4em 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-small); font-weight: 500;
}
.intro__facts li span:first-child { color: var(--stone); font-size: 12px; letter-spacing: .14em; }
.intro__facts li strong { font-weight: 700; }

@media (max-width: 900px) {
  .intro__portrait, .intro__portrait-cap { grid-column: 1 / -1; }
  .intro__text { grid-column: 1 / -1; margin-top: 24px; }
}

/* -----------------------------------------------------------------------------
   16. 700+ MOMENT
----------------------------------------------------------------------------- */
.seven {
  position: relative; height: 100svh; min-height: 560px;
  overflow: hidden; background: var(--ink); color: var(--paper);
}
.seven__media { position: absolute; inset: 0; }
.seven__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform-origin: 50% 45%; }
.seven__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,14,12,.82) 0%, rgba(14,14,12,.2) 50%, rgba(14,14,12,.28) 100%);
}
.seven__mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.seven__outline text { fill: none; stroke: rgba(243, 239, 231, 0.34); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.seven__mask text {
  font-family: var(--f-sans); font-weight: 900; font-stretch: 68%; letter-spacing: -0.03em;
  font-size: 38vw;
}
.seven__content {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding-bottom: clamp(32px, 7vh, 80px);
}
.seven__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.seven__title { grid-column: 1 / span 7; font-size: var(--fs-h2); }
.seven__copy { grid-column: 9 / span 4; display: grid; gap: 18px; }
.seven__copy p { color: var(--mute-inv); }
@media (max-width: 900px) {
  .seven__title, .seven__copy { grid-column: 1 / -1; }
  .seven__mask text { font-size: 48vw; }
}
/* Fallback when motion is reduced: show number as plain text over image */
.seven__static {
  display: none; position: absolute; z-index: 3; left: var(--gutter); top: calc(var(--nav-h) + 4vh);
  font-size: var(--fs-mega); line-height: .8; color: var(--paper);
}
html.reduced-motion .seven__mask { display: none; }
html.reduced-motion .seven__static { display: block; font-size: clamp(120px, 26vw, 420px); }

/* -----------------------------------------------------------------------------
   17. FEATURED CAMP (product)
----------------------------------------------------------------------------- */
.camp { overflow: hidden; }
.camp__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.camp__kicker { grid-column: 1 / -1; margin-bottom: clamp(24px, 3vw, 44px); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.camp__status { display: inline-flex; align-items: center; gap: 10px; }
.camp__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,90,54,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,54,.55); } 70% { box-shadow: 0 0 0 12px rgba(255,90,54,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,54,0); } }
.camp__title { grid-column: 1 / -1; font-size: clamp(64px, 14.5vw, 290px); line-height: .8; position: relative; }
.camp__title-row { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: .12em; }
.nowrap { white-space: nowrap; }
.camp__title-img {
  display: inline-block; width: 1.5em; height: .74em; flex: none;
  position: relative; overflow: hidden; margin-bottom: .05em;
  clip-path: inset(0 0 0 0);
}
.camp__title-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.camp__sub {
  grid-column: 1 / span 7; margin-top: clamp(28px, 3vw, 48px);
  font-size: var(--fs-h4); font-weight: 600; font-stretch: 85%; letter-spacing: -.01em; line-height: 1.12;
}
.camp__sub em { font-family: var(--f-serif); font-weight: 400; font-stretch: 100%; font-size: 1.15em; }

.stats {
  margin-top: clamp(56px, 7vw, 110px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding: clamp(24px, 2.6vw, 40px) clamp(0px, 1.6vw, 28px) 0 0; position: relative; }
.stat + .stat { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat__value { font-size: clamp(64px, 8.6vw, 170px); display: flex; align-items: flex-start; }
.stat__value sup { font-size: .38em; margin-top: .14em; margin-right: .04em; font-weight: 700; letter-spacing: 0; }
.stat__label { margin-top: 14px; }
.stat__label strong { display: block; color: var(--ink); }
.stat__label span { color: var(--stone); }

.upcoming {
  margin-top: clamp(56px, 7vw, 110px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter);
  background: var(--ink); color: var(--paper);
  padding: clamp(28px, 3.6vw, 56px);
  position: relative; overflow: hidden;
}
.upcoming__label { grid-column: 1 / span 3; display: grid; gap: 14px; align-content: start; }
.upcoming__label .t-display { font-size: clamp(34px, 3.4vw, 58px); }
.upcoming__meta { grid-column: 4 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-content: start; }
.upcoming__meta div { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--line-inv); padding-top: 14px; }
.upcoming__meta dt { color: var(--mute-inv); }
.upcoming__meta dd { font-size: var(--fs-lead); font-weight: 600; font-stretch: 90%; line-height: 1.15; }
.upcoming__meta dd.is-tba { opacity: .75; }
.upcoming__cta { grid-column: 10 / span 3; display: grid; gap: 14px; align-content: end; }
.upcoming__spots { font-size: 13px; color: var(--mute-inv); letter-spacing: .04em; }
.upcoming__spots strong { color: var(--paper); }
.upcoming__spec {
  grid-column: 1 / -1; margin-top: clamp(12px, 2vw, 28px);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  border-top: 1px solid var(--line-inv); padding-top: 18px;
  color: var(--mute-inv);
}
.upcoming__spec li { display: flex; align-items: center; gap: 10px; }
.upcoming__spec li::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

@media (max-width: 1100px) {
  .upcoming__label { grid-column: 1 / -1; }
  .upcoming__meta { grid-column: 1 / -1; }
  .upcoming__cta { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .camp__sub { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .upcoming__meta { grid-template-columns: 1fr; gap: 16px; }
  .camp__title-img { width: 1.2em; }
}

/* -----------------------------------------------------------------------------
   18. CAMP FILM (expanding media)
----------------------------------------------------------------------------- */
.film { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--paper); }
.film__words {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: calc(var(--nav-h) + 12px) var(--gutter) clamp(24px, 4vh, 40px);
  font-size: min(11vw, 17svh); color: var(--ink);
}
.film__words span { display: block; }
.film__words > span:last-child { align-self: flex-end; }
.film__media {
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(24% 26% 20% 26%);
  will-change: clip-path;
}
.film__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.25); transform-origin: 50% 50%; }
.film__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,14,12,.72), rgba(14,14,12,0) 55%); opacity: var(--shade, 0); }
.film__over {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding-bottom: clamp(28px, 6vh, 72px);
  color: var(--paper);
}
.film__over-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.film__over h2 { grid-column: 1 / span 8; font-size: clamp(44px, 7vw, 132px); }
.film__over p { grid-column: 9 / span 4; color: var(--mute-inv); }
.film__tag { position: absolute; z-index: 3; top: calc(var(--nav-h) + 16px); left: var(--gutter); color: var(--paper); }
html.reduced-motion .film__media { clip-path: none; }
html.reduced-motion .film__media img { transform: none; }
html.reduced-motion .film__media::after { opacity: 1; }
html.reduced-motion .film__words { display: none; }
@media (max-width: 900px) {
  .film__words { font-size: 19vw; }
  .film__media { clip-path: inset(24% 8% 24% 8%); }
  .film__over h2, .film__over p { grid-column: 1 / -1; }
}

/* -----------------------------------------------------------------------------
   19. WHY SMALL GROUP
----------------------------------------------------------------------------- */
.small { overflow: hidden; }
.small__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.small__text { grid-column: 1 / span 5; display: grid; gap: 30px; }
.small__title { font-size: clamp(52px, 7.2vw, 140px); }
.small__title .t-serif { color: var(--accent); }
.small__legend { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.small__legend span { display: inline-flex; align-items: center; gap: 10px; }
.small__legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.small__legend i + i { margin-left: -14px; box-shadow: 0 0 0 2px var(--paper); }
.lg--a { background: var(--accent); }
.lg--b { background: var(--ink); }
.lg--coach { background: var(--paper); border: 2px solid var(--ink); }

/* 3D court scene (court3d.js) — the SVG stays as the fallback */
.small__diagram.is-3d { aspect-ratio: 1 / 1.02; }
.small__diagram.is-3d [data-court-svg] { display: none; }
.small__diagram.is-3d .small__count { position: absolute; z-index: 2; margin: 0; }
.court3d__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  touch-action: pan-y;
}
/* entrance plays when the scene is actually seen; canvas + tag move together */
.small__diagram.is-3d:not(.is-in) .court3d__canvas,
.small__diagram.is-3d:not(.is-in) .court3d__tag { opacity: 0; }
.small__diagram.is-3d.is-in .court3d__canvas { animation: court3d-in 1.4s var(--ease) both; }
.small__diagram.is-3d.is-in .court3d__tag { animation: court3d-tag-in 1.4s var(--ease) both; }
@keyframes court3d-in { from { opacity: 0; translate: 0 24px; scale: .97; } to { opacity: 1; translate: none; scale: none; } }
@keyframes court3d-tag-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: none; } }
.small__diagram:not(.is-3d) .court3d__tag,
.small__diagram:not(.is-3d) .court3d__pause { display: none; }
/* pause / play control for the looping rally (WCAG 2.2.2) */
.court3d__pause {
  position: absolute; right: 0; bottom: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 14px 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(243, 239, 231, 0.88); color: var(--ink);
  font-size: 11px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
@media (hover: hover) { .court3d__pause:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); } }
.court3d__pause-icon { position: relative; width: 10px; height: 10px; flex: none; }
.court3d__pause-icon::before, .court3d__pause-icon::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 3px; border-radius: 1px; background: currentColor;
}
.court3d__pause-icon::before { left: 1px; }
.court3d__pause-icon::after { right: 1px; }
.court3d__pause.is-paused .court3d__pause-icon::before {
  left: 1px; width: 0; height: 0; border-radius: 0; background: none;
  border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor;
}
.court3d__pause.is-paused .court3d__pause-icon::after { display: none; }
.court3d__tag {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  padding: 6px 11px 5px; border-radius: 999px;
  background: var(--ink); color: var(--paper); white-space: nowrap;
  font-size: 10px; letter-spacing: .16em;
  will-change: transform;
}
.court3d__tag::after {
  content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px;
  background: var(--ink); transform: translateX(-50%) rotate(45deg); z-index: -1;
}
.court3d__hint { position: absolute; left: 0; bottom: 0; z-index: 2; color: var(--stone); opacity: 0; transition: opacity .6s var(--ease); }
.small__diagram.is-3d.can-drag .court3d__hint { opacity: 1; }
@media (max-width: 900px) { .small__diagram.is-3d { aspect-ratio: 1 / 1.08; } }
@media (prefers-reduced-motion: reduce) { .small__diagram.is-3d.is-in .court3d__canvas, .small__diagram.is-3d.is-in .court3d__tag { animation: none; } }
.small__diagram { grid-column: 7 / span 6; position: relative; }
.small__diagram svg { width: 100%; height: auto; overflow: visible; }
.court-line { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.court-kitchen { fill: rgba(14,14,12,.05); }
.court-surface { fill: var(--paper-2); }
.court-net { stroke: var(--ink); stroke-width: 3; }
.player-dot { fill: var(--ink); }
.coach-dot { fill: var(--paper); stroke: var(--accent); stroke-width: 3; }
.court-label { font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; fill: var(--stone); text-transform: uppercase; }
.small__count {
  position: absolute; right: 0; top: -10px; text-align: right;
}
.small__count strong { display: block; font-size: clamp(64px, 7vw, 132px); line-height: .8; }
@media (max-width: 900px) {
  .small__text, .small__diagram { grid-column: 1 / -1; }
  .small__diagram { margin-top: 32px; }
  .small__count { position: static; text-align: left; margin-bottom: 24px; display: flex; align-items: baseline; gap: 12px; }
}

/* -----------------------------------------------------------------------------
   20. CAMP EXPERIENCE (horizontal)
----------------------------------------------------------------------------- */
.steps { background: var(--ink); color: var(--paper); overflow: hidden; }
.steps__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-top: var(--section-y); padding-bottom: clamp(40px, 5vw, 72px); }
.steps__title { font-size: var(--fs-h2); }
.steps__title .t-serif { color: var(--accent); }
.steps__note { max-width: 24em; color: var(--mute-inv); font-size: var(--fs-small); }
.steps__pin { position: relative; }
.steps__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter) var(--section-y); width: max-content; }
.step {
  position: relative; flex: none;
  width: clamp(300px, 34vw, 560px);
  display: grid; gap: 22px;
}
.step:nth-child(even) { margin-top: clamp(40px, 8vh, 120px); }
.step__media { aspect-ratio: 4 / 5; }
.step__media img { transition: transform 1.2s var(--ease); }
.step:hover .step__media img { transform: scale(1.05); }
.step__num {
  position: absolute; z-index: 2; bottom: 14px; left: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--paper); mix-blend-mode: difference;
}
.step__word { font-size: clamp(48px, 5.4vw, 104px); display: flex; align-items: baseline; gap: 16px; }
.step__word small { font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--accent); font-stretch: 100%; }
.step p { color: var(--mute-inv); max-width: 26em; font-size: var(--fs-small); }
.steps__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--section-y) * .45); height: 1px; background: var(--line-inv); }
.steps__progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .steps__track { flex-direction: column; width: auto; gap: 56px; }
  .step { width: 100%; }
  .step:nth-child(even) { margin-top: 0; }
  .step__media { aspect-ratio: 5 / 4; }
  .steps__progress { display: none; }
}

/* -----------------------------------------------------------------------------
   21. SOCIAL → CAMP JOURNEY
----------------------------------------------------------------------------- */
.journey { overflow: hidden; }
.journey__head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(56px, 7vw, 110px); }
.journey__title { grid-column: 1 / span 8; font-size: var(--fs-h2); }
.journey__title .t-serif { color: var(--accent); }
.journey__intro { grid-column: 9 / span 4; color: var(--mute); }
.journey__rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gutter); }
.journey__line { position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: var(--line); }
.journey__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.jstep { position: relative; display: grid; gap: 22px; align-content: start; }
.jstep__dot {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--ink);
  font-size: 12px; font-weight: 700; position: relative; z-index: 1;
  transition: background .5s, color .5s, border-color .5s;
}
.jstep.is-on .jstep__dot { background: var(--accent); border-color: var(--accent); }
.jstep__verb { font-size: clamp(38px, 3.7vw, 72px); white-space: nowrap; }
.jstep__where { font-weight: 600; font-size: var(--fs-small); }
.jstep__where span { display: block; color: var(--stone); font-weight: 400; }
.jstep__visual { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }

/* mini visuals */
.phone { position: absolute; inset: 8% 20%; background: var(--ink); border-radius: 22px; padding: 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.phone__ig { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.phone__ig i { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #feda75); }
.mini-site { position: absolute; inset: 10% 8%; background: var(--ink); color: var(--paper); display: grid; grid-template-rows: auto 1fr; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.mini-site__bar { display: flex; gap: 5px; padding: 9px 10px; border-bottom: 1px solid var(--line-inv); }
.mini-site__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-inv); }
.mini-site__body { position: relative; padding: 14px; display: grid; align-content: end; gap: 6px; }
.mini-site__body img { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; opacity: .9; }
.mini-site__body img + div { position: relative; }
.mini-site__h { font-size: clamp(18px, 2.2vw, 32px); position: relative; }
.mini-site__btn { justify-self: start; background: var(--accent); color: var(--ink); font-size: 8px; font-weight: 700; letter-spacing: .14em; padding: 6px 8px; text-transform: uppercase; position: relative; }
.mini-ticket { position: absolute; inset: 14% 12%; background: var(--paper); border: 1px solid var(--ink); display: grid; align-content: space-between; padding: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.mini-ticket__price { font-size: clamp(40px, 4.6vw, 80px); }
.mini-ticket__row { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mini-ticket__pay { background: var(--ink); color: var(--paper); text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .16em; padding: 10px; text-transform: uppercase; }
.jstep__visual > img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .journey__title, .journey__intro { grid-column: 1 / -1; }
  .journey__rail { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 56px; }
  .journey__line { display: none; }
}
@media (max-width: 560px) {
  .journey__rail { grid-template-columns: 1fr; }
  .jstep { grid-template-columns: 42px 1fr; column-gap: 18px; }
  .jstep__dot { grid-row: span 3; }
  .jstep__visual { grid-column: 2; aspect-ratio: 5 / 4; }
}

/* -----------------------------------------------------------------------------
   22. JSM BRAND MOMENT
----------------------------------------------------------------------------- */
.jsm { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.jsm__stage { position: relative; }
.jsm__mega {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(150px, 38vw, 720px); font-weight: 900; font-stretch: 68%; line-height: .76; letter-spacing: -.04em;
  padding: 0 calc(var(--gutter) * .5);
  margin-top: clamp(24px, 3vw, 56px);
}
.jsm__mega span { display: block; }
.jsm__mega span:nth-child(2) { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.jsm__portrait {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: clamp(180px, 22vw, 400px); aspect-ratio: 3 / 4;
  translate: -50% -50%;
}
.jsm__portrait img { filter: grayscale(1) contrast(1.08); }
.jsm__body { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); margin-top: clamp(48px, 6vw, 100px); }
.jsm__name { grid-column: 1 / span 5; font-size: var(--fs-h3); }
.jsm__name .t-serif { color: var(--accent); display: block; }
.jsm__copy { grid-column: 7 / span 5; display: grid; gap: 26px; }
.jsm__copy p { color: var(--mute-inv); }
.jsm__copy p.t-lead { color: var(--paper); }
.jsm__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.jsm__tags li { border: 1px solid var(--line-inv); padding: 10px 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.jsm__chapter { display: flex; justify-content: space-between; border-top: 1px solid var(--line-inv); padding-top: 18px; margin-top: 12px; color: var(--mute-inv); }
@media (max-width: 900px) {
  .jsm__name, .jsm__copy { grid-column: 1 / -1; }
  .jsm__mega span:nth-child(2) { -webkit-text-stroke-width: 1.5px; }
  .jsm__stage { margin: 48px 0; }
  .jsm__portrait { width: 30vw; aspect-ratio: 4 / 5; }
}

/* -----------------------------------------------------------------------------
   23. WELLNESS
----------------------------------------------------------------------------- */
.well__grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); }
.well__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); }
.well__equation { font-size: clamp(34px, 5.2vw, 100px); line-height: .9; }
.well__equation .x { color: var(--accent); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; padding: 0 .08em; }
.well__media { grid-column: 1 / span 5; position: relative; }
.well__img-a { aspect-ratio: 3 / 4; width: 86%; }
.well__img-b { position: absolute; right: -8%; bottom: -10%; width: 48%; aspect-ratio: 4 / 5; border: 8px solid var(--paper); z-index: 2; }
.well__list { grid-column: 7 / span 6; align-self: center; }
.well__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  border-top: 1px solid var(--line); padding: clamp(10px, 1.2vw, 18px) 0;
  font-size: clamp(30px, 3.6vw, 68px);
  transition: color .4s var(--ease), padding .5s var(--ease);
}
.well__list li:last-child { border-bottom: 1px solid var(--line); }
.well__list li small { font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--stone); font-stretch: 100%; }
.well__list li:hover { color: var(--accent); padding-left: 14px; }
.well__note { grid-column: 7 / span 5; margin-top: 28px; color: var(--mute); }
@media (max-width: 900px) {
  .well__media { grid-column: 1 / -1; margin-bottom: 72px; }
  .well__img-b { right: 0; border-width: 6px; }
  .well__list, .well__note { grid-column: 1 / -1; }
}

/* -----------------------------------------------------------------------------
   24. PRIVATE LESSONS
----------------------------------------------------------------------------- */
.private { background: var(--paper-2); overflow: hidden; }
.private__grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: center; }
.private__media { grid-column: 1 / span 7; aspect-ratio: 1 / 1; position: relative; }
.private__badge {
  position: absolute; right: -1px; bottom: -1px; z-index: 2;
  background: var(--paper-2); padding: 18px 22px 0 22px;
  display: grid; gap: 4px;
}
.private__badge strong { font-size: clamp(40px, 4vw, 72px); line-height: .9; }
.private__text { grid-column: 9 / span 4; display: grid; gap: 30px; }
.private__title { font-size: clamp(52px, 6.4vw, 124px); }
.private__title .t-serif { color: var(--accent); }
.private__list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.private__list li:first-child { border-top: 1px solid var(--line); }
.private__list li span { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .12em; padding-top: 4px; }
@media (max-width: 900px) {
  .private__media, .private__text { grid-column: 1 / -1; }
  .private__media { aspect-ratio: 4 / 5; }
}

/* -----------------------------------------------------------------------------
   25. WEEKLY CLINICS
----------------------------------------------------------------------------- */
.clinics__head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.clinics__title { grid-column: 1 / span 7; font-size: var(--fs-h2); }
.clinics__title .t-serif { color: var(--accent); }
.clinics__intro { grid-column: 9 / span 4; display: grid; gap: 22px; }
.clinics__intro p { color: var(--mute-inv); }
.clinic-list { border-top: 1px solid var(--line-inv); }
.clinic {
  position: relative; border-bottom: 1px solid var(--line-inv);
}
.clinic__row {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: minmax(90px, 1.1fr) 2.2fr 1.3fr 1.6fr 1fr 44px; gap: 20px; align-items: center;
  padding: clamp(18px, 2vw, 30px) 0;
  transition: padding .5s var(--ease), color .4s;
}
.clinic__row:hover { padding-left: 14px; }
.clinic__day { font-size: clamp(44px, 5vw, 96px); color: var(--paper); transition: color .4s; }
.clinic__row:hover .clinic__day { color: var(--accent); }
.clinic__name { font-size: var(--fs-lead); font-weight: 600; font-stretch: 90%; line-height: 1.1; }
.clinic__name small { display: block; margin-top: 6px; color: var(--mute-inv); font-size: 13px; font-weight: 500; letter-spacing: .04em; font-stretch: 100%; }
.clinic__cell { font-size: var(--fs-small); }
.clinic__cell small { display: block; color: var(--mute-inv); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.is-tba { color: inherit; opacity: .68; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; }
.clinic .is-tba { font-size: 1.12em; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute-inv); }
.avail--open i { background: #7bd88f; }
.avail--limited i { background: var(--accent); }
.avail--full i { background: transparent; border: 1px solid var(--mute-inv); }
.clinic__plus { width: 44px; height: 44px; border: 1px solid var(--line-inv); border-radius: 50%; display: grid; place-items: center; transition: transform .5s var(--ease), background .4s, color .4s; }
.clinic__row[aria-expanded="true"] .clinic__plus { transform: rotate(45deg); background: var(--accent); color: var(--ink); border-color: var(--accent); }
.clinic__panel { overflow: hidden; height: 0; }
.clinic__panel-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 0 0 28px; color: var(--mute-inv); }
.clinics__media { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: end; }
.clinics__img { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
.clinics__img img { object-position: 50% 30%; }
.clinics__cap { grid-column: 10 / span 3; color: var(--mute-inv); display: grid; gap: 14px; }
.clinic-preview {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: 260px; aspect-ratio: 4 / 5; overflow: hidden;
  opacity: 0; transform: scale(.8);
}
.clinic-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .clinics__title, .clinics__intro { grid-column: 1 / -1; }
  .clinic__row { grid-template-columns: 64px 1fr 44px; row-gap: 12px; }
  .clinic__day { grid-row: span 2; font-size: 44px; align-self: start; }
  .clinic__cell { display: none; }
  .clinic__cell--avail { display: block; grid-column: 2; }
  .clinic__plus { grid-column: 3; grid-row: 1; }
  .clinics__img, .clinics__cap { grid-column: 1 / -1; }
  .clinic-preview { display: none; }
}

/* -----------------------------------------------------------------------------
   26. PHILOSOPHY
----------------------------------------------------------------------------- */
.philo { overflow: hidden; }
.philo__title { font-size: clamp(64px, 13vw, 260px); }
.philo__title .line:nth-child(2) { text-align: right; }
.philo__title .t-serif { color: var(--accent); }
.philo__body { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); margin-top: clamp(48px, 7vw, 120px); }
.philo__text { grid-column: 4 / span 8; font-size: clamp(24px, 2.6vw, 46px); line-height: 1.22; letter-spacing: -.015em; font-weight: 500; font-stretch: 92%; }
.philo__text .w { opacity: .16; transition: opacity .2s linear; }
html.reduced-motion .philo__text .w, html.no-gsap .philo__text .w { opacity: 1; }
.philo__label { grid-column: 1 / span 2; padding-top: 12px; }
.philo__values { grid-column: 4 / span 8; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--stone); }
@media (max-width: 900px) {
  .philo__text, .philo__label, .philo__values { grid-column: 1 / -1; }
}

/* -----------------------------------------------------------------------------
   27. GALLERY
----------------------------------------------------------------------------- */
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 64px); }
.gallery__title { font-size: var(--fs-h2); }
.gallery__title .t-serif { color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px; padding: 0 16px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s, color .4s, border-color .4s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.masonry { columns: 4 260px; column-gap: clamp(10px, 1.2vw, 20px); }
.tile {
  break-inside: avoid; margin-bottom: clamp(10px, 1.2vw, 20px);
  display: block; width: 100%; position: relative; overflow: hidden; background: var(--paper-3);
  text-align: left;
}
.tile img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px;
  color: var(--paper); display: flex; justify-content: space-between; align-items: flex-end;
  background: linear-gradient(0deg, rgba(14,14,12,.7), rgba(14,14,12,0));
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .masonry { columns: 2 140px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(14,14,12,.96); color: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; opacity: 0;
}
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox__top, .lightbox__bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); gap: 16px; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__btn { width: 52px; height: 52px; border: 1px solid var(--line-inv); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.lightbox__btn:hover { background: var(--paper); color: var(--ink); }
.lightbox__nav { display: flex; gap: 10px; }

/* -----------------------------------------------------------------------------
   28. TESTIMONIALS (renders only when real testimonials exist)
----------------------------------------------------------------------------- */
.voices[hidden] { display: none; }
.voices__list { display: grid; gap: clamp(40px, 5vw, 80px); }
.voice { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); border-top: 1px solid var(--line); padding-top: 28px; }
.voice__mark { grid-column: 1 / span 2; font-family: var(--f-serif); font-size: clamp(80px, 9vw, 160px); line-height: .7; color: var(--accent); }
.voice blockquote { grid-column: 3 / span 8; font-size: clamp(26px, 3vw, 52px); line-height: 1.15; letter-spacing: -.015em; font-weight: 500; font-stretch: 92%; }
.voice figcaption { grid-column: 3 / span 8; margin-top: 18px; }

/* -----------------------------------------------------------------------------
   29. SOCIAL
----------------------------------------------------------------------------- */
.social { overflow: hidden; }
.social__head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.social__title { grid-column: 1 / span 8; font-size: var(--fs-h2); }
.social__title .t-serif { color: var(--accent); }
.social__meta { grid-column: 9 / span 4; display: grid; gap: 18px; }
.social__handle { font-size: var(--fs-h4); font-weight: 700; font-stretch: 85%; }
.reels { display: flex; gap: clamp(10px, 1.4vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px; scrollbar-width: none; cursor: grab; }
.reels::-webkit-scrollbar { display: none; }
.reels.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel { flex: none; width: clamp(220px, 21vw, 360px); aspect-ratio: 9 / 16; scroll-snap-align: start; position: relative; overflow: hidden; background: var(--ink-3); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.reel:hover img { transform: scale(1.04); }
.reel__top { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 12px; font-weight: 600; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.reel__top i { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #feda75); padding: 2px; }
.reel__play { width: 30px; height: 30px; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 22%); }
.social__fb { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 900px) {
  .social__title, .social__meta { grid-column: 1 / -1; }
  .reel { width: 64vw; }
}

/* -----------------------------------------------------------------------------
   30. FINAL CTA
----------------------------------------------------------------------------- */
.final { position: relative; height: 110svh; min-height: 640px; background: var(--paper); overflow: hidden; }
.final__media { position: absolute; inset: 0; clip-path: inset(30% 34% 30% 34%); will-change: clip-path; }
.final__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.3); }
.final__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,14,12,.88) 0%, rgba(14,14,12,.35) 55%, rgba(14,14,12,.25) 100%); }
.final__content {
  position: absolute; inset: 0; z-index: 2; color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(40px, 9vh, 110px);
}
.final__title { font-size: clamp(60px, 11vw, 220px); }
.final__title .t-serif { color: var(--accent); }
.final__row { margin-top: clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.final__row p { font-size: var(--fs-lead); max-width: 18em; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
html.reduced-motion .final__media { clip-path: none; }
html.reduced-motion .final__media img { transform: none; }
@media (max-width: 767px) {
  .final__media { clip-path: inset(26% 12% 26% 12%); }
  .final__ctas .btn { flex: 1 1 100%; }
}

/* -----------------------------------------------------------------------------
   31. FOOTER — the finale
   marquee CTA · curtain reveal · self-drawing court · cursor spotlight ·
   rolling links · spinning back-to-top · living JSM wordmark + bouncing ball
----------------------------------------------------------------------------- */
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--paper);
}
/* soft coral light that follows the cursor (vars are set on this layer only) */
.footer__light {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 60%), rgba(255, 90, 54, 0.14), transparent 62%);
  opacity: 0; transition: opacity .6s ease;
}
.footer.is-lit .footer__light { opacity: 1; }

/* marquee CTA band */
.fmarq {
  position: relative; z-index: 2; display: block;
  border-top: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv);
  padding: clamp(18px, 2.4vw, 34px) 0;
  overflow: hidden; background: var(--ink);
  transition: background-color .5s var(--ease);
}
.fmarq__track { display: flex; width: max-content; will-change: transform; }
.fmarq__group { display: flex; align-items: center; flex: none; }
.fmarq__item {
  display: flex; align-items: center; gap: clamp(18px, 2.2vw, 40px); padding-right: clamp(18px, 2.2vw, 40px);
  font-size: clamp(46px, 8.2vw, 150px); white-space: nowrap;
}
.fmarq__item--o { color: transparent; -webkit-text-stroke: 1.5px rgba(243, 239, 231, 0.55); }
.fmarq__item .t-serif { font-size: 1.06em; }
.fmarq__ball { width: .42em; height: .42em; flex: none; }
.fmarq:hover, .fmarq:focus-visible { background: var(--accent); color: var(--ink); }
.fmarq:hover .fmarq__item--o, .fmarq:focus-visible .fmarq__item--o { -webkit-text-stroke-color: var(--ink); }
.fmarq:hover .fball__body, .fmarq:focus-visible .fball__body { fill: var(--ink); }
.fmarq:hover .fball__hole, .fmarq:focus-visible .fball__hole { fill: var(--accent); }
.fmarq:focus-visible { outline: none; }

/* content (slides out from under the page) */
.footer__inner { position: relative; z-index: 1; padding-top: clamp(72px, 9vw, 140px); will-change: transform; }

/* self-drawing court in perspective */
.footer__court {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0 22%, #000 45%);
  mask-image: linear-gradient(to bottom, transparent 0 22%, #000 45%);
  position: absolute; left: 50%; bottom: 4%; z-index: -1;
  width: min(1700px, 150vw); height: auto;
  translate: -50% 0;
  transform: perspective(1100px) rotateX(58deg);
  transform-origin: 50% 100%;
  pointer-events: none;
}
.footer__court path, .footer__court line, .footer__court rect {
  fill: none; stroke: rgba(243, 239, 231, 0.17); stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.footer__court .is-net { stroke: rgba(255, 90, 54, 0.55); stroke-width: 3; }

.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.footer__lead { grid-column: 1 / span 5; display: grid; gap: 22px; align-content: start; }
.footer__title { font-size: clamp(64px, 9vw, 170px); }
.footer__title .t-serif { color: var(--accent); }
.footer__title .line:last-child { padding-bottom: .16em; margin-bottom: -.16em; }
.footer__lead > p { color: var(--mute-inv); max-width: 26em; }
.footer__status { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 16px; border: 1px solid var(--line-inv); border-radius: 999px; }
.footer__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; }

.footer__cols { grid-column: 6 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); padding-top: 14px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h2 { color: var(--mute-inv); margin-bottom: 6px; }

/* rolling link: text rolls up to reveal an accent copy */
.froll { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: var(--fs-small); line-height: 1.25; }
.froll__in { position: relative; display: block; overflow: hidden; height: 1.25em; }
.froll__in > span, .froll__in::after { display: block; white-space: nowrap; transition: transform .55s var(--ease); }
.froll__in::after { content: attr(data-text); content: attr(data-text) / ""; position: absolute; left: 0; top: 100%; color: var(--accent); }
.froll:hover .froll__in > span, .froll:hover .froll__in::after,
.froll:focus-visible .froll__in > span, .froll:focus-visible .froll__in::after { transform: translateY(-100%); }
.footer__col ul { display: grid; gap: 12px; }
.froll__ext { font-size: .8em; opacity: .5; transition: transform .45s var(--ease), opacity .3s; }
.froll:hover .froll__ext { transform: translate(2px, -2px); opacity: 1; color: var(--accent); }

/* spinning back-to-top badge */
.ftop {
  grid-column: 12 / span 1; justify-self: end;
  position: relative; width: clamp(96px, 8.4vw, 136px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--paper);
}
.ftop__spin { position: absolute; inset: 0; display: block; }
.ftop__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ftop__ring text { font-family: var(--f-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; fill: currentColor; }
.ftop__core {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--paper); color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), scale .5s var(--ease);
}
.ftop__core svg { width: 34%; height: auto; transition: transform .5s var(--ease); }
.ftop:hover .ftop__core, .ftop:focus-visible .ftop__core { background: var(--accent); scale: 1.08; }
.ftop:hover .ftop__core svg { animation: ftop-arrow .6s var(--ease); }
@keyframes ftop-arrow { 0% { transform: translateY(0); } 45% { transform: translateY(-160%); } 46% { transform: translateY(160%); } 100% { transform: translateY(0); } }

/* info strip */
.footer__meta {
  margin-top: clamp(56px, 7vw, 110px);
  display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap;
  border-top: 1px solid var(--line-inv); padding-top: 20px; color: var(--mute-inv);
}
.footer__meta strong { color: var(--paper); font-weight: 600; }
.footer__clock { font-variant-numeric: tabular-nums; }

/* living wordmark */
.fword {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  margin-top: clamp(16px, 2vw, 28px);
  font-family: var(--f-sans); font-size: clamp(150px, 36vw, 680px); line-height: .74;
  font-variation-settings: 'wght' 900, 'wdth' 68;
  letter-spacing: -.04em; white-space: nowrap; user-select: none;
  margin-bottom: -.1em;            /* letters bleed off the bottom edge */
  overflow: visible; clip-path: inset(-300% 0 0 0); padding-top: .06em;
}
.fword__l { display: inline-block; color: var(--paper); will-change: transform; }
html.reduced-motion .fword__ball, html.no-gsap .fword__ball { cursor: default; }
.fword__ball {
  display: inline-block; flex: none;
  width: .2em; height: .2em; margin: 0 0 .13em .05em;
  cursor: pointer; will-change: transform;
  transform-origin: 50% 100%;
}
.fword__ball svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fball__body { fill: var(--accent); transition: fill .4s; }
.fball__hole { fill: rgba(14, 14, 12, 0.32); transition: fill .4s; }
.fball__shine { fill: rgba(255, 255, 255, 0.22); }

@media (max-width: 1000px) {
  .footer__meta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1100px) {
  .footer__lead { grid-column: 1 / span 7; }
  .footer__cols { grid-column: 1 / span 10; grid-row: 2; }
  .ftop { grid-column: 11 / span 2; grid-row: 1; }
}
@media (max-width: 700px) {
  .footer__lead { grid-column: 1 / -1; }
  .footer__cols { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .ftop { grid-column: 1 / -1; grid-row: auto; justify-self: start; width: 104px; }
  .fword { font-size: 39vw; }
  .footer__court { bottom: -14%; }
}
@media (prefers-reduced-motion: reduce) {
  .froll__in > span, .ftop__core, .ftop__core svg { transition: none; animation: none; }
}

/* -----------------------------------------------------------------------------
   32. Mobile sticky CTA
----------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 780;
  display: none;
  transform: translateY(calc(100% + 30px)); transition: transform .7s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; justify-content: space-between; min-height: 60px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); }
.sticky-cta__price { font-weight: 800; font-stretch: 80%; font-size: 18px; letter-spacing: 0; }
@media (max-width: 900px) { .sticky-cta { display: block; } }

/* -----------------------------------------------------------------------------
   33. Motion preferences
----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
}
