/* =========================================================================
   Nova Spin TTC — one system.
   Type: Archivo (one family, two widths) + Instrument Serif italic for the
   accent phrase of a headline only. Numbers always use .num.
   Grid: 12 columns inside --wrap. Spacing: 8px base scale below.
   ========================================================================= */
:root {
  /* colour */
  --ink: #0f0d0b;
  --ink-2: #1a1613;
  --paper: #f2ede4;
  --paper-2: #e7e0d3;
  --orange: #c54a00;        /* sampled from the last frame of the take: the hand-off colour */
  --ball: #ff6a14;          /* the ball: buttons and accents */
  --on-orange: #1a0c03;
  --fg: var(--paper);
  --fg-2: rgba(242, 237, 228, .72);
  --rule: rgba(242, 237, 228, .18);
  --accent: var(--ball);

  /* type */
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --t-giant: clamp(72px, 14vw, 224px);
  --t-display: clamp(52px, 7.6vw, 124px);
  --t-h1: clamp(40px, 5.2vw, 84px);
  --t-h3: clamp(20px, 1.75vw, 26px);
  --t-lead: clamp(18px, 1.45vw, 21px);
  --t-body: 17px;
  --t-small: 15px;
  --t-label: 13px;
  --t-num: clamp(40px, 4vw, 60px);

  /* space (8px scale) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --section: clamp(80px, 8vw, 120px);
  --gutter: clamp(20px, 4vw, 56px);
  --col-gap: clamp(16px, 2vw, 32px);
  --wrap: min(1320px, 100% - 2 * var(--gutter));
  --radius: 6px;
  --bar-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font: 400 var(--t-body)/1.6 var(--f-sans); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; border-radius: 2px; }

/* ---------- type roles (the only text styles on the page) ---------- */
.t-giant, .t-display, .t-h1 {
  font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 112; text-wrap: balance;
}
.t-giant { font-size: var(--t-giant); line-height: .86; letter-spacing: -.045em; font-variation-settings: "wdth" 125; }
.t-display { font-size: var(--t-display); line-height: .9; }
.t-h1 { font-size: var(--t-h1); line-height: .95; }
.t-giant em, .t-display em, .t-h1 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  font-variation-settings: normal; font-size: 1.04em; color: var(--accent);
}
.t-h3 { font-weight: 700; font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.012em; font-variation-settings: "wdth" 104; }
.t-lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 44ch; text-wrap: pretty; }
.t-body { font-size: var(--t-body); line-height: 1.6; color: var(--fg-2); max-width: 40ch; }
.meta { font-size: var(--t-small); line-height: 1.45; color: var(--fg-2); }
.label {
  font-size: var(--t-label); line-height: 1.2; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-variation-settings: "wdth" 100;
}
.label-accent { color: var(--accent); }
.label { text-wrap: balance; }
@media (max-width: 420px) { .hide-xs { display: none; } }
@media (max-width: 600px) { .hide-sm { display: none; } }
.num { font-weight: 450; font-variation-settings: "wdth" 76; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }

/* ---------- buttons: one height, one font ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--f-sans); font-variation-settings: "wdth" 104; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ball { background: var(--ball); color: var(--on-orange); }
.btn-ball::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transition: transform .3s var(--ease); }
.btn-ball:hover { background: #ff8133; }
.btn-ball:hover::before { transform: scale(1.4); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2420; }
.btn-line { box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
.btn-line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 14px 0; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.sec-orange .btn-line { background: var(--paper); color: var(--on-orange); box-shadow: none; }
.sec-orange .btn-line:hover { background: #fff8ee; }

/* ---------- top bar: clear over the film, solid after it ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--bar-h);
  background: linear-gradient(rgba(15,13,11,.6), rgba(15,13,11,0));
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.bar.is-solid { background: rgba(15,13,11,.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--rule); }
.bar-in { width: var(--wrap); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: var(--s4); }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ball); }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: -.02em; font-variation-settings: "wdth" 118; }
.bar nav ul { display: flex; gap: var(--s4); }
.bar nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(242,237,228,.78); transition: color .2s; }
.bar nav a:hover { color: var(--paper); }
.menu-btn { display: none; }
.menu { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 960px) {
  .bar nav[aria-label="Sections"] { display: none; }
  .menu-btn { all: unset; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 999px; }
  .menu-btn:focus-visible { outline: 2px solid var(--ball); }
  .menu-icon, .menu-icon::before { display: block; width: 20px; height: 1.5px; background: var(--paper); transition: transform .3s var(--ease); }
  .menu-icon { position: relative; transform: translateY(-3px); }
  .menu-icon::before { content: ""; position: absolute; top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-icon { transform: translateY(0) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(-90deg); }
  .menu:not([hidden]) { display: block; position: fixed; inset: var(--bar-h) 0 0 0; background: var(--ink); padding: var(--s4) var(--gutter); overflow-y: auto; }
  .menu li a { display: flex; align-items: baseline; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 800; font-size: 36px; letter-spacing: -.03em; font-variation-settings: "wdth" 112; }
  .menu .label { color: var(--ball); font-weight: 600; letter-spacing: .16em; font-variation-settings: "wdth" 100; }
  .bar.menu-open { background: var(--ink); }
}

/* ---------- HERO STAGE ---------- */
.stage { position: relative; height: 620vh; background: var(--ink); }
.stage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-media, .stage-poster, .stage-poster img, .stage-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-poster img, .stage-video { object-fit: cover; }
.stage-video { opacity: 0; transition: opacity .4s; background: transparent; }
.is-ready .stage-video { opacity: 1; }
.stage-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,13,11,.88) 0%, rgba(15,13,11,.7) 32%, rgba(15,13,11,.28) 50%, rgba(15,13,11,0) 64%),
    linear-gradient(0deg, rgba(15,13,11,.6), rgba(15,13,11,0) 32%);
  opacity: var(--scrim, 1);
}
.stage-grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
.stage-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .5s var(--ease); background: radial-gradient(120% 90% at 60% 50%, transparent 55%, rgba(15,13,11,.55) 100%); }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-2%,6%); } 80% { transform: translate(5%,-2%); } 100% { transform: translate(0,0); } }
.chapter {
  position: absolute; z-index: 2; opacity: var(--o, 0); visibility: hidden;
  transform: translate3d(0, calc((1 - var(--o, 0)) * 18px), 0); will-change: opacity, transform;
}
.chapter.on { visibility: visible; }
.ch-point { opacity: calc(var(--o, 0) * var(--exit, 1)); }
.ch-net, .ch-rally { text-shadow: 0 2px 24px rgba(15,13,11,.65), 0 1px 2px rgba(15,13,11,.5); }
/* chapters sit on the same left edge as the page grid */
.ch-serve, .ch-net, .ch-rally { left: max(var(--gutter), (100% - 1320px) / 2); }
.ch-serve { top: 50%; translate: 0 -44%; width: min(560px, 42vw); }
.ch-serve .label { color: var(--fg-2); margin-bottom: var(--s3); }
.ch-serve .t-display { font-size: clamp(52px, 6.6vw, 108px); }
.ch-serve .t-lead { margin: var(--s4) 0 var(--s4); max-width: 40ch; }
.ch-net { top: calc(var(--bar-h) + 12vh); width: min(560px, 44vw); }
.ch-net .t-h1 { max-width: 11ch; }
.ch-net .t-h1 em { color: var(--paper); }
.ch-rally { bottom: 16vh; width: min(560px, 80vw); }
.ch-rally .label { margin-bottom: var(--s2); color: var(--ball); }
.ch-rally .t-h3 { color: var(--paper); }
.ch-rally::before { content: ""; position: absolute; z-index: -1; inset: -80px -140px -80px -200px; background: radial-gradient(closest-side, rgba(10,8,6,.72), rgba(10,8,6,0)); }
.ch-point { left: 0; right: 0; top: 50%; translate: 0 -50%; text-align: center; }
.ch-point { color: var(--on-orange); }
.ch-point .label { margin: var(--s3) 0 var(--s4); }

.stats { display: flex; justify-content: flex-start; gap: clamp(24px, 3.6vw, 64px); margin-top: var(--s5); }
.ch-net .stats div { align-items: flex-start; }
.stats div { display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 6px; }
.stats dt { font-size: var(--t-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.stats dd { font-size: var(--t-num); line-height: 1; }

/* chapter scoreboard */
.scorer { position: absolute; z-index: 3; right: max(var(--gutter), (100% - 1320px) / 2); bottom: var(--s4); width: min(412px, 60vw); padding: 12px 16px 14px; border-radius: 12px; background: rgba(10,8,6,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.scorer ol { display: grid; grid-template-columns: repeat(4, 1fr); }
.scorer button {
  all: unset; cursor: pointer; display: block; width: 100%; padding: 8px 0 12px;
  font: 600 var(--t-label)/1.2 var(--f-sans); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(242,237,228,.5); transition: color .3s;
}
.scorer button .num { display: block; font-size: 24px; line-height: 1; margin-bottom: 6px; letter-spacing: 0; }
.scorer button[aria-current="step"] { color: var(--paper); }
.scorer button[aria-current="step"] .num { color: var(--ball); }
.scorer-track { height: 2px; background: rgba(242,237,228,.2); }
.scorer-track i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--ball); }
.scorer, .scroll-cue { transition: opacity .4s var(--ease); }
.stage.at-point .scorer, .stage.at-point .scroll-cue, .stage.at-point .stage-media::after, .stage.at-point .stage-grain { opacity: 0; pointer-events: none; }
.stage-grain { transition: opacity .5s var(--ease); }
.stage.at-point .scorer button { color: rgba(242,237,228,.72); }
.stage.at-point .scorer button[aria-current="step"], .stage.at-point .scorer button[aria-current="step"] .num { color: var(--paper); }
.stage.at-point .scorer-track i { background: var(--paper); }

.scroll-cue { position: absolute; z-index: 3; left: max(var(--gutter), (100% - 1320px) / 2); bottom: var(--s4); display: flex; align-items: center; gap: 12px; color: var(--fg-2); opacity: var(--cue, 1); }
.scroll-cue::before { content: ""; width: 1.5px; height: 40px; background: linear-gradient(var(--ball), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* phones: portrait render has the table low in frame; text lives in the top half */
@media (max-aspect-ratio: 1/1) {
  .stage-scrim { background: linear-gradient(0deg, rgba(15,13,11,.94) 0%, rgba(15,13,11,.88) 42%, rgba(15,13,11,.35) 62%, rgba(15,13,11,0) 74%), linear-gradient(180deg, rgba(15,13,11,.55), rgba(15,13,11,0) 18%); }
  .ch-serve, .ch-net, .ch-rally { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 124px; translate: none; }
  .ch-net { text-align: left; display: block; }
  .ch-net .t-h1 { margin-left: 0; }
  .stats { justify-content: flex-start; flex-wrap: wrap; gap: var(--s3) var(--s4); margin-top: var(--s4); }
  .stats { display: grid; grid-template-columns: 1fr 1fr; justify-content: start; }
  .stats div:last-child { grid-column: 1 / -1; }
  .stats div { align-items: flex-start; }
  .scorer { left: var(--gutter); right: var(--gutter); width: auto; bottom: var(--s3); }
  .scroll-cue { display: none; }
  .ch-serve .t-lead { margin: var(--s3) 0; }
}
@media (max-width: 480px) {
  .ch-serve .t-display { font-size: 48px; }
  .ch-serve .cta-row .btn { width: 100%; }
}

/* static fallback: reduced motion, or the video failed to load */
.is-static .stage { height: auto; }
.is-static .stage-pin { position: relative; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s6); padding: 140px max(var(--gutter), (100% - 1320px) / 2) var(--s6); }
.is-static .stage-video, .is-static .scorer, .is-static .scroll-cue, .is-static .ch-point { display: none; }
.is-static .chapter { position: relative; inset: auto; translate: none; transform: none; opacity: 1; visibility: visible; width: auto; max-width: 680px; text-align: left; }
.is-static .ch-net .t-h1 { margin-left: 0; }
.is-static .stats { justify-content: flex-start; flex-wrap: wrap; }
.is-static .stats div { align-items: flex-start; }
.is-static .stage-scrim { background: rgba(15,13,11,.62); }

/* ---------- sections: one header pattern, one rhythm ---------- */
.sec { position: relative; padding-block: var(--section); }
.sec-tight { padding-top: 0; }
#events { padding-bottom: var(--s7); }
.sec-ink { background: var(--ink); }
.sec-orange { --fg: var(--on-orange); --fg-2: rgba(26,12,3,.88); --rule: rgba(26,12,3,.22); --accent: var(--paper); background: var(--orange); color: var(--fg); }
.paper { --fg: var(--ink); --fg-2: rgba(15,13,11,.68); --rule: rgba(15,13,11,.16); --accent: var(--orange); background: var(--paper); color: var(--fg); }
#sessions { margin-top: -1px; }

.sec-head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: var(--s4);
  align-items: end; margin-bottom: var(--s6);
}
.sec-label { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--rule); color: var(--fg-2); }
.sec-label .num { font-size: var(--t-label); font-weight: 600; letter-spacing: .16em; font-variation-settings: "wdth" 100; color: var(--accent); }
.sec-head .t-h1 { grid-column: 1 / span 8; }
.sec-note { grid-column: 9 / -1; justify-self: start; font-size: var(--t-lead); line-height: 1.5; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; margin-bottom: var(--s5); }
  .sec-head .t-h1, .sec-note { grid-column: 1; }
}

/* media: one treatment for every photo */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.03) sepia(.05); transition: transform 1.2s var(--ease); }
.media figcaption { position: absolute; left: var(--s3); bottom: var(--s3); color: var(--paper); text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.media-wide { aspect-ratio: 21 / 9; }

/* 12-col split used by depot, coaching, events */
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: var(--s5); margin-top: var(--s6); align-items: start; }
.split-a { grid-column: 1 / span 6; }
.split-b { grid-column: 8 / -1; }
.split-media { margin-top: 0; }
.split-media .split-a { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.split-media .split-b { grid-column: 9 / -1; }
.split-coach .split-a { grid-column: 1 / span 6; aspect-ratio: 4 / 3; }
.split-coach .split-b { grid-column: 7 / -1; }
.split-b .facts { margin-top: var(--s4); }
.split-b .link-arrow { margin-top: var(--s2); }
.split-depot { margin-top: var(--s5); }
.split-depot .split-a { grid-column: 1 / span 5; }
.split-depot .split-b { grid-column: 7 / -1; }
.row4.row4-2 { grid-template-columns: 1fr 1fr; margin-top: 0; row-gap: var(--s4); border-top-color: var(--rule); }
@media (max-width: 480px) { .row4.row4-2 { grid-template-columns: 1fr; } }
.split > .t-lead { padding-top: var(--s3); border-top: 1px solid var(--rule); }
.split-coach .split-a img { object-position: 35% 50%; }
@media (max-width: 760px) { .media-wide, .split-media .split-a, .split-coach .split-a { aspect-ratio: 4 / 3; } }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; margin-top: var(--s5); }
  .split-a, .split-b, .split-media .split-a, .split-media .split-b { grid-column: 1; }
}

/* sessions timetable */
.week { border-top: 1px solid var(--fg); }
.week li {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: baseline;
  padding: var(--s3) 0; border-bottom: 1px solid var(--rule);
}
.week .label { grid-column: span 1; }
.week .num { grid-column: span 3; font-size: clamp(22px, 2vw, 28px); line-height: 1; }
.week .t-h3 { grid-column: span 5; font-size: clamp(22px, 2.3vw, 32px); }
.week .meta { grid-column: span 3; text-align: right; font-size: 16px; color: var(--fg); }
@media (max-width: 760px) {
  .week li { grid-template-columns: 56px 1fr; row-gap: 6px; padding: var(--s2) 0 18px; }
  .week .label { grid-row: span 3; padding-top: 3px; }
  .week .num, .week .t-h3, .week .meta { grid-column: 2; text-align: left; }
  .week .num { font-size: 20px; }
}

/* depot facts: numbers in the scoreboard style */
.facts { border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--accent); }
.facts dd { font-size: var(--t-body); line-height: 1.45; color: var(--fg); }

/* coaching */
.tags { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s4); }
.tags li { padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 14px; font-weight: 500; }
.row4 { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--col-gap); margin-top: var(--s7); border-top: 1px solid var(--fg); }
.row4 li { padding-top: var(--s3); display: grid; gap: var(--s1); align-content: start; }
.row4 .label { color: var(--accent); }
@media (max-width: 860px) { .row4 { grid-template-columns: 1fr 1fr; row-gap: var(--s4); } }
@media (max-width: 480px) { .row4 { grid-template-columns: 1fr; row-gap: 0; border-top: 0; } .row4 li { border-top: 1px solid var(--rule); padding: var(--s3) 0; } .row4 li:first-child { border-top-color: var(--fg); } }

/* membership */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); }
.plan {
  display: flex; flex-direction: column; gap: var(--s2); min-height: 320px; padding: var(--s4);
  border-radius: var(--radius); background: #f8f4ec; box-shadow: inset 0 0 0 1px var(--rule);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--rule), 0 24px 48px -28px rgba(15,13,11,.35); }
.plan .label { display: flex; align-items: center; justify-content: space-between; }
.plan .price { margin-top: auto; font-size: var(--t-small); color: var(--fg-2); }
.plan .price .num { display: block; font-size: clamp(64px, 6vw, 92px); line-height: .9; letter-spacing: -.03em; color: var(--fg); margin-bottom: var(--s1); }
.plan .meta { padding-top: var(--s2); border-top: 1px solid var(--rule); min-height: 4.4em; }
.plan-hot { --fg: var(--paper); --fg-2: rgba(242,237,228,.72); --rule: rgba(242,237,228,.2); background: var(--ink); color: var(--fg); box-shadow: none; }
.plan-hot .price .num { color: var(--ball); }
.pill { padding: 5px 10px; border-radius: 999px; background: var(--ball); color: var(--on-orange); letter-spacing: .12em; }
@media (max-width: 1040px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { gap: 12px; } .plan { min-height: 0; padding: var(--s3) 18px; gap: 12px; } .plan .price { margin-top: var(--s2); } .plan .price .num { font-size: 52px; } .plan .meta { min-height: 0; font-size: 14px; } .pill { display: none; } }

/* fixtures */
.fixtures { border-top: 1px solid var(--rule); }
.fixtures li { display: grid; grid-template-columns: 108px 1fr; gap: var(--s3); align-items: baseline; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.fixtures time { display: grid; gap: 6px; color: var(--accent); }
.fixtures time .num { font-size: 40px; line-height: .9; }
.fixtures time .label { color: var(--fg-2); }
.fixtures .meta { margin-top: 6px; }

/* ages + gallery */
.ages { margin-top: var(--s8); }
.ages-title { margin-bottom: var(--s5); max-width: 12ch; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: var(--col-gap); }
.g1 { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.g3 { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.g2 { grid-column: 8 / -1; grid-row: 1 / span 2; }
.g2 img { object-position: 50% 0%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .g1, .g2, .g3 { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; } .g2 { aspect-ratio: 4 / 5; } }

/* visit */
.sec-visit { --orange: var(--ball); }
.sec-visit .sec-label { margin-bottom: var(--s6); }
.visit-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: var(--s6); align-items: stretch; }
.visit-copy { grid-column: 1 / span 7; }
.visit-copy .t-lead { margin: var(--s4) 0; }
.visit-photo { grid-column: 8 / -1; min-height: 360px; }
.visit-photo img { position: absolute; inset: 0; }
.visit-copy .t-display { margin-top: -0.06em; }
.address { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--fg); }
.address dt { margin-bottom: var(--s1); color: var(--fg-2); }
.address dd { font-weight: 600; font-size: var(--t-body); line-height: 1.45; }
@media (max-width: 860px) { .visit-copy, .visit-photo { grid-column: 1 / -1; } .visit-photo { aspect-ratio: 4 / 3; min-height: 0; } .sec-visit { padding-bottom: var(--s6); } }
@media (max-width: 480px) { .address { grid-template-columns: 1fr; } .sec-visit .cta-row .btn { width: 100%; } }

/* footer */
.foot { background: var(--ink); padding: var(--s7) 0 var(--s5); color: var(--fg); }
.foot-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.foot-up { text-decoration: none; color: var(--fg-2); }
.foot-up:hover { color: var(--fg); }
.foot-cols { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: var(--s4); padding: var(--s5) 0; }
.foot-cols > div { grid-column: span 3; display: grid; gap: var(--s2); align-content: start; }
.foot-cols .label { color: var(--fg-2); }
.foot-cols p:not(.label) { color: var(--fg); }
.foot-cols p { font-size: var(--t-small); line-height: 1.7; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-note { padding-top: var(--s3); border-top: 1px solid var(--rule); font-size: 14px; }
@media (max-width: 760px) { .foot-cols > div { grid-column: span 6; } }
@media (max-width: 420px) { .foot-cols > div { grid-column: 1 / -1; } }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (hover: hover) { .media:hover img { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) {
  .stage-grain { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::before { animation: none; }
  .media img, .plan { transition: none; }
}
