/* ===================================================================
   RIAM Sports — shared stylesheet
   Sections: reset/vars, type, layout, placeholders, buttons, nav,
   footer, transition panel, reveal utilities, page-specific blocks,
   reduced-motion + mobile fallbacks.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --navy: #0A1E3C;
  --navy-2: #12294D;
  --ink: #08182F;
  /* The deepest ground, About-page section backgrounds only. It exists
     because the obvious third step was --navy-2, and --navy-2 cannot
     carry text: the orange .eyebrow is 12px/700 and sits directly on
     the section ground, and orange on --navy-2 measures 4.59:1 — over
     the 4.5:1 bar by nothing, and under it the moment any light falls
     on the section. The ramp therefore goes down rather than up, where
     every step improves contrast instead of spending it. Orange on
     --well is 6.13:1. */
  --well: #050E1C;
  --orange: #F26522;
  --paper: #F4F2ED;

  --white-90: rgba(255, 255, 255, 0.9);
  --white-62: rgba(255, 255, 255, 0.62);
  /* 5.05:1 on --navy. --white-35 is 3.14:1 and therefore decorative only:
     never put real label or body text in it on a navy ground. */
  --white-50: rgba(255, 255, 255, 0.5);
  --white-35: rgba(255, 255, 255, 0.35);
  --white-15: rgba(255, 255, 255, 0.12);
  --ink-62: rgba(8, 24, 47, 0.62);
  --ink-35: rgba(8, 24, 47, 0.35);

  /* Element themes. Four elements group the ten sports in the nav and tint
     each sport page; they are a visual layer only and never appear in a URL.
     Mirrored in data/sports/_elements.json — change both together.
     Earth resolves to the sitewide RIAM orange rather than the brief's
     near-identical #F5701E, so the two never sit side by side looking like
     a bug. Fire is #F4553A rather than #E63416: the original is 3.85:1 on
     navy, which fails the 4.5:1 body-text bar the brief also sets. */
  --el-water: #2ED9C3;
  --el-earth: var(--orange);
  --el-air: #A8C4DC;
  --el-fire: #F4553A;
  --element-accent: var(--orange);

  /* One grain texture, reused by every dark ground on the About page.
     Flat navy reads as a CSS fill; the same navy under grain reads as a
     photographed room, which is what lets the real photography on that
     page sit in the same world as the sections around it. Generated,
     not an asset: an image file for this would be a network request for
     something feTurbulence draws for free. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container-w: 1400px;
  --nav-h: 75px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-element='water'] { --element-accent: var(--el-water); }
[data-element='earth'] { --element-accent: var(--el-earth); }
[data-element='air'] { --element-accent: var(--el-air); }
[data-element='fire'] { --element-accent: var(--el-fire); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white-90);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.h-display { font-size: clamp(3rem, 8vw, 7.5rem); }
.h-xl { font-size: clamp(2.4rem, 6vw, 5.5rem); }
.h-lg { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
.h-md { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.h-sm { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }

.body-text { font-size: 15px; line-height: 1.6; color: var(--white-62); }
.body-text.lg { font-size: 16px; }
.section-light .body-text { color: var(--ink-62); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--orange);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }
.section-pad { padding: 140px 0; }
.section-light { background: var(--paper); color: var(--ink); }

/* ---------- Placeholder component ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 45%, var(--orange) 145%);
}
/* A photograph filling a .ph box. The .ph stays in the markup because
   wallAndCurtain() selects '.wall-grid .ph' to measure each tile's grid
   slot, and because a failed image then falls back to the gradient
   instead of leaving a hole. Absolute so it covers the (now empty)
   ::after label box too. */
.ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.ph::after {
  content: attr(data-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-35);
  text-align: center;
  padding: 0 1.2em;
}
.ph-video::before {
  content: '';
  position: absolute;
  z-index: 2;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* variant angles for grids so tiles don't look identical */
.ph:nth-of-type(3n) { background: linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 55%, var(--orange) 160%); }
.ph:nth-of-type(3n+1) { background: linear-gradient(115deg, var(--navy) 0%, var(--orange) 30%, var(--navy-2) 120%); }
.ph:nth-of-type(3n+2) { background: linear-gradient(160deg, var(--ink) 0%, var(--navy-2) 50%, var(--orange) 150%); }

.section-light .ph::after { color: rgba(8, 24, 47, 0.4); }

.logo-mono {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
}
/* The real shield, used for RIAM itself in the nav and the footer. It
   replaced an orange "RS" circle that was always a placeholder. Kept
   separate from .logo-mono, which still renders the PARTNER monograms in
   the events marquee: those are two-letter stand-ins for other
   organisations and must not become the RIAM mark.
   Rendered from the vector artwork in "RIAM Sports Arena/riam logo.pdf"
   at 160px, which is 3.8x the 42px display size, so it stays crisp on
   any display without shipping a 512px asset for a favicon-sized slot. */
.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.logo-mono.sm { width: 34px; height: 34px; font-size: 11px; }
.logo-mono.outline {
  background: transparent;
  border: 1px solid var(--white-15);
  color: var(--white-62);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn-orange { background: var(--orange); color: var(--ink); }
/* The lift was already here but had nothing to cast: 2px of travel on its
   own reads as a jitter rather than as the button coming up off the page.
   The shadow is what makes it legible as elevation, and it is tinted in
   the button's own orange so it reads as the button's light rather than
   as a grey drop shadow the rest of this design does not use. */
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -6px rgba(242, 101, 34, 0.55);
}
.btn-outline { border-color: var(--white-15); color: var(--white-90); }
.btn-outline:hover { border-color: var(--orange); transform: translateY(-2px); }

/* The arrow. Not invented for this button: .program-link already ends
   every "go somewhere" link on the site with a → that nudges 4px on
   hover, and this reuses that mark, that distance and that timing
   exactly, so the primary CTA is speaking the same sentence as the
   links beneath it rather than a dialect of its own.

   Gated on being a link, the same way .program-link gates its arrow on
   [href]. Two of these buttons are form submits ("Send request", "Send
   enquiry"), and an arrow pointing away from a form the user is still
   filling in is the wrong signal.

   It sits in the rest state rather than sliding in, again matching
   .program-link, which also keeps the button's width fixed — an arrow
   that appears on hover would jog the label sideways every time the
   cursor crossed it. */
a.btn-orange::after,
a.btn-outline::after {
  content: '→';
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}
a.btn-orange:hover::after,
a.btn-outline:hover::after { transform: translateX(4px); }
.section-light .btn-outline { border-color: var(--ink-35); color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 13px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 30, 60, 0.72);
  border-bottom: 1px solid var(--white-15);
  transform: translateY(0);
  transition: transform 0.4s var(--ease);
}
.nav.nav--hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-wordmark { font-weight: 800; font-size: 14px; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 4px; }

/* One pill, one box model, across all five items — and this is also the
   alignment fix.

   The three plain links carry the pill on their own <a>; the two
   dropdown items carry it on the .nav-mega-trigger wrapping their label
   and caret, so a caret sits inside the same bubble as its label.

   Previously .nav-mega-trigger was inline-flex while the plain links
   stayed inline, so "Programs" and "Rental" were measured as flex items
   by line-box + padding (28.4px) while the other three measured
   font-box + padding (23px). Centring both on one row offset the taller
   pair by exactly half the difference, and the two items with carets sat
   2.7px above the rest. Giving every label the same display, line-height
   and padding removes that at its source instead of nudging it back with
   a margin that would drift the next time the type changes. */
.nav-links > li > a,
.nav-links > li > .nav-mega-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white-62);
  transition: color 0.2s var(--ease);
}

/* Nav hover.

   Every filled-chip version of this fought the page. This bar already
   carries a solid orange CTA on the right, so a second orange block
   appearing under the cursor competed with the one control that is
   meant to be pressed. And the site does not speak in filled shapes
   anywhere else: its accent vocabulary is a thin orange rule. The
   eyebrow is a 20x1px rule, the section number carries another, the
   active nav item is a 2px one, and the timeline is an orange fill that
   scales in from its origin.

   So hover is drawn in that same vocabulary, and says exactly what it
   means: the label comes up to full white, and a hairline orange rule
   wipes in beneath it from the left. It is the active state, previewed
   — one weight lighter and arriving under the cursor rather than
   already there. Nothing to compete with the CTA, nothing invented that
   the rest of the site does not already do. */
.nav-links > li > a::before,
.nav-mega-trigger > a::before,
.nav-mega-toggle-label::before {
  content: '';
  position: absolute;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
  pointer-events: none;
}
/* Same geometry as the active rule below, so the two land on exactly the
   same line and hover reads as a preview of it rather than a near-miss. */
.nav-links > li > a::before { left: 14px; right: 14px; bottom: 4px; }
.nav-mega-trigger > a::before { left: 0; right: 0; bottom: -3px; }
.nav-mega-toggle-label::before { left: 0; right: 20px; bottom: -3px; }

@media (hover: hover) {
  .nav-links > li > a:hover,
  .nav-links > li:hover > .nav-mega-trigger { color: #fff; }
  .nav-links > li > a:hover::before,
  .nav-links > li:hover > .nav-mega-trigger > a::before,
  .nav-links > li:hover > .nav-mega-trigger > .nav-mega-toggle-label::before {
    transform: scaleX(1);
  }
}
/* Keyboard users get the same. :focus-within covers the dropdown
   triggers, whose focus actually lands on an inner <a> or <button>. */
.nav-links > li > a:focus-visible,
.nav-links > li:focus-within > .nav-mega-trigger { color: #fff; }
.nav-links > li > a:focus-visible::before,
.nav-links > li:focus-within > .nav-mega-trigger > a::before,
.nav-links > li:focus-within > .nav-mega-trigger > .nav-mega-toggle-label::before {
  transform: scaleX(1);
}

/* The current page already has its 2px rule. Drawing the 1px one over it
   on hover would just thicken it unevenly. */
.nav-links .is-active::before { display: none; }

.nav-links a.is-active,
.nav-links .nav-mega-toggle-label.is-active { color: #fff; }
.nav-links a.is-active::after,
.nav-links .nav-mega-toggle-label.is-active::after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--orange);
}
/* Inset to the label rather than the pill: on a plain link the pill and
   the underline are the same element, so without this the rule would run
   the full width of the bubble including its padding. */
.nav-links > li > a.is-active::after { left: 14px; right: 14px; bottom: 4px; }
.nav-mega-trigger .is-active::after { left: 0; right: 0; bottom: -3px; }
/* Rental's button carries its own caret, unlike Programs where the caret
   is a sibling, so the rule has to stop short of it (14px caret + 6px
   gap) to underline the word rather than the word plus the chevron. */
.nav-mega-toggle-label.is-active::after { right: 20px; }
.nav-cta { display: inline-flex; }
.nav-ctas { align-items: center; gap: 10px; }
.nav-ctas .btn { white-space: nowrap; }
/* The trial's menu row exists for phones only; on desktop it is the
   outline button beside "Book a court". */
.nav-links > li.nav-trial-item { display: none; }

/* ---------- Nav: Programs mega-menu ----------
   One markup tree, two behaviours. Above 769px .nav-mega is an absolutely
   positioned four-column dropdown opened on hover/focus; below it, the same
   element is a static disclosure inside the burger panel. Open/closed state
   is the `hidden` attribute in both cases (so a closed menu is out of the
   tab order and out of the a11y tree), with .is-open added a frame later
   purely to drive the fade. Behaviour lives in js/nav-menu.js. */
.nav-item-mega { position: relative; }
/* The label and caret inside a trigger add no box of their own — the pill
   on .nav-mega-trigger owns all the padding, and both inherit its colour
   so the whole bubble changes as one on hover. */
.nav-mega-trigger > a,
.nav-mega-toggle {
  position: relative; /* anchors the hover rule / active underline */
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: inherit;
}
.nav-mega-toggle {
  position: relative;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
}
/* The caret is only 14px so it cannot stretch the pill, but 14px is not a
   usable target. This grows the hit area to ~36px without occupying any
   layout space — the old approach used a 44px button pulled back in with
   negative margins, which would now eat into the pill's own padding. */
.nav-mega-toggle::after { content: ''; position: absolute; inset: -11px; }
.nav-mega-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.nav-mega-toggle[aria-expanded='true'] .nav-mega-caret { transform: translateY(1px) rotate(-135deg); }

/* A mega-trigger with no page of its own (Rental) — the toggle button
   carries the label itself instead of pairing with a separate <a>, so it
   needs the same font-size/color/hover .nav-links a already uses,
   sized to its own content rather than the icon-only 44x44 tap target
   above. */
.nav-mega-toggle-label {
  position: relative; /* anchors the .is-active underline */
  width: auto;
  height: auto;
  gap: 6px;
  font: inherit;
}

/* A short link list (Rental: Individual / Corporate Events) doesn't need
   Programs' wide multi-column panel. */
.nav-mega-compact { min-width: 200px; padding: 16px 20px; }

.nav-mega {
  position: absolute;
  top: calc(100% + 14px);
  /* Centred on the Programs item rather than left-aligned to it: a
     two-column panel left-aligned to a nav item this far right runs into
     the viewport edge. */
  left: 50%;
  z-index: 10;
  min-width: 360px;
  max-width: calc(100vw - 32px);
  padding: 28px 32px 26px;
  border: 1px solid var(--white-15);
  border-radius: 16px;
  background: rgba(8, 24, 47, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.nav-mega[hidden] { display: none; }
.nav-mega.is-open { opacity: 1; transform: translate(-50%, 0); }
.nav-mega-inner { display: grid; grid-template-columns: repeat(2, minmax(152px, 1fr)); gap: 34px; }
.nav-mega-col li + li { margin-top: 2px; }
.nav-mega-col a,
.nav-mega-soon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--white-62);
}
.nav-mega-col a:hover,
.nav-mega-col a:focus-visible { color: #fff; }
.nav-mega-soon { color: var(--white-50); cursor: default; }
.nav-mega-soon-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-50);
  border: 1px solid var(--white-15);
  border-radius: 3px;
  padding: 2px 5px;
}

/* ---------- Nav: mobile burger ---------- */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white-90);
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}
.nav-burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 769px) {
  /* The burger panel's `hidden` state must never survive a resize up to
     desktop. js/nav-menu.js clears it too; this is the other half. */
  .nav-links[hidden] { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-mega { transition: opacity 0.01ms linear; transform: translate(-50%, 0); }
  .nav-mega.is-open { transform: translate(-50%, 0); }
  .nav-mega-caret,
  .nav-burger span { transition: none; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  padding: 80px 0 32px;
}
.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 280px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
/* --white-50, not --white-35: these are real text and --white-35 is
   3.19:1 on --ink. Same swap on .footer-meta below. */
/* The brand line. Sits above the descriptive sentence in the footer
   brand block, on every page, so it reads as the tagline it is rather
   than as another sentence of body copy. */
.footer-tagline {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--orange);
  margin-bottom: 10px;
}
.footer-heading { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white-50); margin-bottom: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: var(--white-62); }
.footer-links a:hover { color: #fff; }
.footer-meta {
  max-width: var(--container-w);
  margin: 64px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid var(--white-15);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--white-50);
}

/* ---------- Page transition panel ---------- */
.transition-panel {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  transform: translateY(0);
  pointer-events: none;
}
noscript .transition-panel { display: none; }

/* ---------- Reveal utilities ---------- */
.mask { display: block; overflow: hidden; }
.mask-line { display: block; will-change: transform; transform: translateY(105%); }
.reveal-el { will-change: transform, opacity; }


/* ===================================================================
   HOME
   =================================================================== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* The nav is fixed, so centring the content in a bare 100vh box centres
     it behind the nav rather than below it. With the headline at its full
     height that put its top edge at 1px and the nav ate the first word. */
  padding-top: var(--nav-h);
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 90vw; height: 90vw;
  max-width: 1100px; max-height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(242, 101, 34, 0.28) 0%, rgba(10, 30, 60, 0) 65%);
  will-change: transform;
}
/* Split hero: copy on the left, the right half reserved for media. */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
/* Sized to the half-column it now lives in rather than to the page. At
   ~88px "COIMBATORE" measures 570px against ~636px of column, so the
   headline breaks into the four-line WHERE / COIMBATORE / TRAINS TO /
   COMPETE. block on its own — no manual breaks, and it keeps breaking
   sensibly as the column narrows. The old 8vw/7.5rem sizing put
   "COIMBATORE" alone at 746px, wider than the half column exists. */
.hero-headline {
  font-size: clamp(2.4rem, 5.8vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.hero-headline .mask-line { padding-bottom: 0.05em; }

/* Hollow headline, with the promise-word filled. Guarded behind @supports
   because the hollow effect needs a transparent fill, and a browser
   without -webkit-text-stroke would render transparent text on navy —
   an invisible H1. Failing that check leaves solid white caps, which is
   the same headline minus the effect. The stroke is set in em so it
   tracks the clamped font size instead of going bold on a phone. */
@supports (-webkit-text-stroke: 1px #fff) {
  .hero-headline {
    color: transparent;
    -webkit-text-stroke: 0.017em var(--white-90);
  }
  .hero-word-solid {
    color: var(--orange);
    -webkit-text-stroke: 0;
  }
}
.hero-sub { max-width: 480px; margin-top: 28px; }
.hero-cta-row { display: flex; gap: 16px; margin-top: 40px; }

/* Reserved slot for the planned hero media. 4/3 keeps it shorter than the
   copy column at every viewport this runs at, so it never drives the hero
   past 100vh; the max-height is the guard for short laptop screens. */
.hero-media {
  aspect-ratio: 4 / 3;
  max-height: 68vh;
  border-radius: 20px;
}

.wall-wrapper { position: relative; height: 340vh; background: var(--navy); }
.wall-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wall-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  padding: 100px 28px 28px;
}
.wall-grid .ph { will-change: transform, opacity; }
/* The bridging centre object: a WebGL canvas, not a card. Square, because
   the extruded shield is drawn in a square frustum (see js/hero-object.js).
   Fixed and viewport-centred so it is independent of the wall's pin and is
   not clipped by .wall-stage's overflow: hidden — that is what lets it carry
   across into the curtain section. */
.wall-hero-object {
  position: fixed;
  top: 50%;
  left: 50%;
  /* --hold-y is driven by js/hero-object.js once the mark has resolved:
     it offsets the fixed element upward by exactly the distance scrolled
     past that point, so the mark reads as anchored in the document where
     it landed rather than riding the viewport into the next section. */
  transform: translate(-50%, calc(-50% + var(--hold-y, 0px)));
  width: min(26vw, 340px);
  height: min(26vw, 340px);
  z-index: 20; /* above .curtain-stage so it stays visible as the curtain rises beneath it */
  opacity: 0;
  pointer-events: none;
}
/* Scrim over the wall photographs, under the headline. The tiles used to
   be navy gradients, so white type sat on them comfortably; real
   photography includes floodlit turf and a bright pool, and the
   headline dropped well under the contrast floor across the middle of
   the wall. Weighted to the bottom, where the headline actually sits,
   so the top of the wall keeps its full punch. z-index 2 puts it above
   .wall-grid and below .wall-headline (3). */
.wall-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(8, 24, 47, 0.88) 0%,
    rgba(8, 24, 47, 0.62) 26%,
    rgba(8, 24, 47, 0.18) 55%,
    rgba(8, 24, 47, 0.06) 100%);
}

.wall-headline {
  position: absolute;
  bottom: 8%;
  left: 0; right: 0;
  text-align: center;
  z-index: 3;
  padding: 0 24px;
  will-change: transform, opacity;
}

/* Buffer between the wall unpinning and the curtain rising. Height is
   exactly 100vh (matching .curtain-wrapper's -100vh margin below) so
   the curtain starts becoming visible precisely when the wall's own
   pin releases — no dead static pause, no premature covering. The
   180vh version of this was overcorrecting for a bug that has since
   been fixed at its actual source (wallTl's duration-anchor, in
   scroll.js) — that bug, not buffer size, was why the curtain used to
   arrive before the tiles/headline had finished. */
.section-buffer { position: relative; height: 100vh; background: var(--navy); z-index: 5; }

.curtain-wrapper {
  position: relative;
  /* 100vh of this is eaten by the negative margin (the curtain's rise over
     the buffer); what is left is the sticky range the academy stack is
     redistributed across. Four pillars need roughly 80vh of scroll each to
     open and close without feeling rushed, hence 420 rather than 200. */
  height: 420vh;
  margin-top: -100vh;
}
.curtain-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  /* The nav is position: fixed. Centring inside the full 100vh therefore
     centres behind it, which was clipping the eyebrow and the first pillar's
     header. Padding the stage centres in the space actually available. */
  padding-top: var(--nav-h);
  border-radius: 40px 40px 0 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  will-change: transform;
}
/* Three columns, with the middle one empty and left clear for
   .wall-hero-object — the fixed, viewport-centred card that bridges this
   section and the one above it (z-index 20, deliberately above the
   curtain). As a two-column layout the card landed on top of both: it
   covered the last word of the heading outright and clipped the left
   edge of the image.

   The gutter is derived from the card's own width rather than being a
   magic number, so it tracks it at every viewport instead of drifting
   out of sync the next time that size changes. The card is centred on
   the VIEWPORT and .container is centred too, so the middle grid column
   and the card share a centre line. */
.curtain-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(min(26vw, 340px) + 64px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  width: 100%;
}
/* ---------- SECTION THREE — the academy ("ac") ----------
   Four pillars in a fixed-height window. Scroll does not translate the
   stack: it redistributes height between the four cards. Each card's
   share is a triangular weight on a continuous index (1 at the active
   card, falling linearly to 0 at its neighbours), and adjacent weights
   always sum to exactly 1 — so the four heights always add up to the
   window and the stack never scrolls, jumps or leaves a gap. The card
   that is opening uncrops its photograph and draws its icon by the same
   weight, which is why the whole thing is scrubbable frame by frame
   rather than a set of states that swap at thresholds.

   js/academy-core.js owns the weights; everything below is the
   resting appearance and the fallbacks. */

.ac-intro { grid-column: 1; }
.ac-core { grid-column: 3; }

.ac-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 34px 0 0;
  counter-reset: none;
}
.ac-rail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid rgba(8, 24, 47, 0.12);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-62);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ac-rail-num { font-family: var(--font-mono); font-weight: 700; font-size: 11px; }
.ac-rail-item.is-on { color: var(--orange); border-left-color: var(--orange); }
.ac-cta { margin-top: 32px; }

/* The window. Height is fixed so the redistribution above has something
   constant to divide up; the cards inside never overflow it. */
.ac-core {
  /* Derived, not guessed: whatever is left after the fixed nav and a little
     breathing room, capped so it does not sprawl on a tall display. */
  height: min(calc(100vh - var(--nav-h) - 56px), 660px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid rgba(8, 24, 47, 0.14);
}

.ac-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border-bottom: 1px solid rgba(8, 24, 47, 0.14);
  min-height: 0;
}
.ac-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding-right: 4px;
}
.ac-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-35);
  transition: color 0.25s var(--ease);
}
.ac-icon { flex: 0 0 auto; color: var(--ink-35); transition: color 0.25s var(--ease); }
/* Drawn, not faded: the icon's strokes are dashed to their own length and
   the offset is driven from 0 (drawn) to that length (blank) by the card's
   weight. Only stroke geometry is animated, so this costs nothing to
   composite. */
.ac-icon path { transition: none; }
.ac-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.ac-card.is-on .ac-num,
.ac-card.is-on .ac-icon { color: var(--orange); }

.ac-card-body { padding-bottom: 18px; }
.ac-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(8, 24, 47, 0.06);
  margin-bottom: 12px;
}
/* Biased upward, not centred. When a shorter viewport drops the band to
   16:8 or 16:7 the browser crops the difference out of a 16:9 file, and a
   centred crop takes it half off the top — which is where the faces are.
   Trimming from the bottom instead costs floor, turf and court surface. */
.ac-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ac-copy {
  font-size: 13.5px;
  line-height: 1.56;
  color: var(--ink-62);
  margin: 0;
  max-width: 46ch;
}
.ac-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
/* A 100vh window has to hold four pillars. On short viewports the
   photograph is what gives way first — the copy is the thing a parent
   came for, and a clipped sentence is worse than no picture. */
/* Scoped to the pinned desktop stack only — below 769px, and under reduced
   motion, the cards sit in normal flow with no height to run out of.

   Within the pinned stack the photograph gives up height before the copy
   does, because a clipped sentence is worse than a shallower picture. It is
   never dropped outright any more: at 660px that rule was hiding all four
   photographs on an ordinary 14in laptop, which is most of the point of the
   section. These floors are shallow crops, and each image is authored so
   its subject survives the shallowest of them. */
@media (min-width: 769px) and (max-height: 860px) {
  html:not(.no-motion) .ac-shot { aspect-ratio: 16 / 8; }
}
@media (min-width: 769px) and (max-height: 720px) {
  html:not(.no-motion) .ac-shot { aspect-ratio: 16 / 6; }
}

.ac-proof li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-62);
  background: rgba(8, 24, 47, 0.06);
  border-radius: 3px;
  padding: 5px 8px;
}

/* Pillar 02's four values are a sequence, not a set: they are the order a
   child moves through, so they get arrows and no chip. The other three
   pillars list things that are all true at once, which is what a chip
   says. Same element, and the distinction is the point. */
/* Tightened so the four stage names sit on ONE line at the card's width.
   Wrapped to two they cost ~22px, which is the difference between this card
   fitting its window and clipping its last sentence on a 14in laptop. */
.ac-proof.is-seq { gap: 4px; align-items: baseline; }
.ac-proof.is-seq li {
  background: none;
  padding: 0;
  font-size: 9.5px;
  letter-spacing: 0.6px;
}
.ac-proof.is-seq li + li::before {
  content: '\2192';
  margin-right: 5px;
  color: var(--ink-35);
}

.rail-wrapper { position: relative; height: 420vh; background: var(--navy); }
.rail-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.rail-heading { padding: 0 32px 32px; }
.rail-track { display: flex; gap: 28px; padding-left: 8vw; will-change: transform; }
.rail-card { flex: 0 0 auto; width: min(64vw, 340px); }
.rail-card .ph { aspect-ratio: 3 / 4; margin-bottom: 18px; }
.rail-card-label { display: flex; align-items: baseline; justify-content: space-between; }
.rail-card-num { font-size: 13px; color: var(--white-35); font-weight: 700; }

/* .rail-canvas — the single WebGL surface behind the ten sport cards.
   It lives inside .rail-stage, which is already sticky + overflow:hidden,
   so it is clipped and travels with the pin for free, and js/rail-3d.js
   can map each card's rect straight into scene coordinates.

   .has-3d is added by that script only once a first frame is actually on
   screen. Every rule below is scoped to it, so on mobile, under reduced
   motion, or if the three.js CDN is blocked, the plain .ph placeholders
   render exactly as they did before. */
.rail-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.rail-canvas.is-live { opacity: 1; }
.rail-heading, .rail-track { position: relative; z-index: 1; }

/* The canvas is opaque and paints its own floor, backdrop and light
   pool, so the placeholder box is pure layout now — its glow would sit
   on top of the render. */
.rail-stage.has-3d .rail-card .ph {
  background: none;
  border: 0;
}
/* Name-left/number-right only worked while a border said where one card
   ended; with the frames gone every number read as the label of the card
   to its right, so the number comes back to its own name. */
.rail-stage.has-3d .rail-card-label {
  margin-top: 6px;
  justify-content: flex-start;
  gap: 12px;
}
.rail-stage.has-3d .rail-card-num { order: -1; }
.rail-stage.has-3d .rail-card { cursor: pointer; }
.rail-stage.has-3d .rail-card .ph::after { content: none; }

/* min-height + flex centering, not just padding — a short top-packed
   strip with a couple px of padding leaves the numbers stuck at the
   top of whatever space surrounds them. This centers them properly
   within a deliberate, reasonably-sized block. */
/* Equal top/bottom padding, not min-height+flex — the flex approach
   only looked centered if you scrolled to exactly the section's top
   edge; any other scroll position (the normal case) showed lopsided
   space above vs. below, which read as an even bigger gap. Padding is
   part of the section's own box regardless of scroll position, so the
   numbers sit symmetrically no matter where you stop scrolling. */
.counters { padding: 90px 0; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.counter-value { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; }
.counter-value .suffix { color: var(--orange); }
.counter-label { margin-top: 10px; font-size: 13px; color: var(--white-62); text-transform: uppercase; letter-spacing: 1px; }

/* ===================================================================
   EXPERIENCE / THE GAME — highlight-reel carousel
   Namespaced with an "eg-" prefix throughout (Experience the Game) so
   nothing here can collide with existing component classes. Behavior
   lives in js/experience-carousel.js; only .eg-bg-text is ever scaled
   by scroll — the wrapper/stage/carousel are never transformed.
   =================================================================== */
/* 200vh, not the original 250vh — the only scroll-linked motion here is
   the background-text scale (cards auto-advance on their own timer, not
   scroll), so a long pin just reads as a stall before the next section
   with nothing responding to the scroll input. */
.eg-wrapper { position: relative; height: 200vh; background: var(--ink); }
.eg-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden; /* intentional: the stage is the viewport-clip boundary, matching every other pinned stage in this codebase */
  display: flex;
  align-items: center;
  justify-content: center;
  /* The 3D camera for this scene. Lives here (a stable ancestor), never
     on the text itself, and is never animated — only the planes inside
     move through it. perspective-origin is the single shared vanishing
     point both EXPERIENCE and THE GAME converge toward. */
  perspective: 1000px;
  perspective-origin: 50% 50%;
}

/* Background type — decorative, non-interactive, sits behind the cards.
   preserve-3d so its children's translateZ/rotateX compose in real 3D
   space against .eg-stage's perspective instead of being flattened. */
.eg-bg-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0;
  pointer-events: none;
  transform-style: preserve-3d;
}
.eg-bg-line {
  display: block;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(3.2rem, 13vw, 9.5rem);
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
}
/* Independent hinge points so the two planes tilt in mirrored
   directions (top plane's far edge recedes upward, bottom plane's far
   edge recedes downward) — this is what makes both converge toward the
   same central vanishing point instead of shrinking in parallel. */
.eg-bg-line--top { transform-origin: 50% 100%; }
.eg-bg-line--bottom { transform-origin: 50% 0%; }

/* Carousel */
.eg-carousel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-w);
  padding: 0 32px;
}
.eg-track-viewport {
  position: relative;
  overflow: hidden;
  height: min(48vw, 400px);
}
.eg-track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.eg-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(60vw, 380px);
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  will-change: transform, opacity;
  /* transition timing is set inline from CONFIG in JS via custom props */
  transition: transform var(--eg-transition-ms, 650ms) var(--eg-ease, cubic-bezier(0.16, 1, 0.3, 1)),
    opacity var(--eg-transition-ms, 650ms) ease;
}
.eg-card .ph { position: absolute; inset: 0; border-radius: 12px; }
.eg-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(to top, rgba(8, 24, 47, 0.85) 0%, rgba(8, 24, 47, 0) 45%);
  pointer-events: none;
}
.eg-card-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.eg-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--white-15);
  background: rgba(10, 30, 60, 0.6);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.eg-nav:hover { border-color: var(--orange); }
.eg-nav--prev { left: -6px; }
.eg-nav--next { right: -6px; }

.eg-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.eg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--white-15);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.eg-dot[aria-current='true'] { background: var(--orange); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .eg-card { transition-duration: 150ms; }
}
html.no-motion .eg-wrapper { height: auto; }
html.no-motion .eg-stage { position: static; height: auto; padding: 120px 0; }
html.no-motion .eg-card { transition-duration: 150ms; }

@media (max-width: 768px) {
  .eg-wrapper { height: auto; }
  .eg-stage { position: static; height: auto; padding: 100px 0; overflow: hidden; }
  .eg-track-viewport { height: min(70vw, 320px); }
  .eg-card { width: min(78vw, 320px); }
  .eg-nav { display: none; }
}

/* The statement block. Nothing shares this section, so the lines run the
   full width of the container and each one sits on a single line at the
   authored break, which is how the four beats were written to read.

   What was actually wrong here was never the measure: it was 1px of
   padding, which jammed four dense lines straight into the dark pinned
   section below. Asymmetric on purpose, because .counters above already
   contributes 90px of its own bottom padding, so a matching 120px here
   would read as a gulf. The note on .bt-wrapper below still holds: the
   pinned hold, not this padding, governs the empty feeling during the
   pin. */
.reveal-lines { padding: 48px 0 120px; }
.reveal-lines .h-lg { max-width: none; line-height: 1.12; }

/* The four lines are two setup beats and two payoff beats. Dimming the
   setup gives the statement a shape and lets "RIAM is the structure"
   land, instead of four full-strength lines reading as one slab. */
.reveal-lines .h-lg .mask:nth-child(-n+2) .mask-line { color: var(--white-62); }

/* ===================================================================
   BEYOND THE SCORE — pinned scroll-driven card stack
   Namespaced with a "bt-" prefix throughout (Beyond The [Score]) — a
   completely separate component from the "eg-" highlight carousel
   above. Behavior lives in js/beyond-section.js. Only .bt-deck-card is
   ever transformed; .bt-wrapper/.bt-stage/.bt-visual are never scaled,
   so nothing else on the page is affected.
   =================================================================== */
/* 240vh, not the original 300vh — same category of issue as
   .eg-wrapper: a short, fast-scrolling section (reveal-lines) leads
   straight into this pin, so a 200vh hold read as a sudden stall.
   240vh still gives each of the 5 cards ~35vh of scroll runway. */
/* This height (not .counters/.reveal-lines padding) is what actually
   controls the "empty space below the text" feeling — it's a pinned
   scroll hold (height minus .bt-stage's 100vh), not literal spacing. */
.bt-wrapper { position: relative; height: 170vh; background: var(--ink); }
.bt-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Left column: the card stack */
.bt-visual {
  position: relative;
  height: min(64vh, 580px);
  overflow: hidden;
  border-radius: 20px;
}

.bt-deck {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bt-deck-track { position: relative; list-style: none; margin: 0; padding: 0; width: 100%; height: 100%; }
.bt-deck-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(70%, 340px);
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  will-change: transform, opacity;
}
/* Solid ground, not the usual .ph gradient. The deck deliberately holds
   two cards part-transparent while one hands over to the next, and the
   gradient's orange end used to be harmless because every card was a
   gradient. Under real photographs it showed through the outgoing card
   and read as an orange wash over both. Flat --ink means a fading card
   blends toward the page colour instead, so the overlap reads as two
   stacked photographs. It is still an opaque fallback if an image 404s. */
.bt-deck-card .ph { position: absolute; inset: 0; border-radius: 16px; background: var(--ink); }

.bt-deck-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.bt-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--white-15);
  background: rgba(10, 30, 60, 0.65);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.bt-nav:hover { border-color: var(--orange); }
.bt-nav:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Right column: static copy panel, stays put while the visual animates */
.bt-copy {
  position: relative;
  z-index: 2;
  max-width: 460px;
  text-align: center;
  justify-self: center;
}
.bt-copy .eyebrow { margin-bottom: 18px; justify-content: center; }
.bt-copy h2 { margin-bottom: 20px; }
.bt-copy .body-text { margin-bottom: 32px; }

/* Reduced motion / sub-769px fallback: no pin, no 3D, simple static
   stack with a light CSS transition on Prev/Next instead of scrub. */
html.no-motion .bt-wrapper,
.bt-wrapper.bt-static {
  height: auto;
}
html.no-motion .bt-stage,
.bt-static .bt-stage {
  position: static;
  height: auto;
  grid-template-columns: 1fr;
  padding: 100px 32px;
  gap: 40px;
}
html.no-motion .bt-visual,
.bt-static .bt-visual {
  height: min(60vw, 380px);
}
.bt-static .bt-deck-card {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
html.no-motion .bt-copy,
.bt-static .bt-copy {
  max-width: 100%;
}

@media (max-width: 768px) {
  .bt-deck-controls { top: 12px; right: 12px; }
  .bt-nav { width: 36px; height: 36px; font-size: 16px; }
}


/* ===================================================================
   ICONS  —  brand asset, not one-offs
   Lucide (ISC), 24px grid, 2px stroke, round caps and joins. One family
   for the whole site: mixing icon families is the fastest way to make a
   page look assembled rather than designed.

   Delivered as CSS masks rather than <img> or inline <svg>, for three
   reasons that matter here: the glyph inherits `currentColor`, so an
   icon picks up --orange, --element-accent or the ink colour of
   whatever section it sits in with no second asset; there is no extra
   network request and nothing to 404; and it works unchanged inside the
   author-time generated sport pages, which never learn a new component.

   Usage:  <span class="ico ico-trophy" aria-hidden="true"></span>
   Size:   inherits font-size via em, or set --ico-size.
   Colour: set `color` on the element or any ancestor.

   ADDING ONE: take the icon body from Iconify's lucide set, keep
   fill="none" and the stroke attributes, URL-encode it, add a
   .ico-<name> rule below. Do not introduce a second icon family.
   =================================================================== */
.ico {
  display: inline-block;
  flex: 0 0 auto;
  width: var(--ico-size, 1.25em);
  height: var(--ico-size, 1.25em);
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.ico-target {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%226%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-badge-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M3.85%208.62a4%204%200%200%201%204.78-4.77a4%204%200%200%201%206.74%200a4%204%200%200%201%204.78%204.78a4%204%200%200%201%200%206.74a4%204%200%200%201-4.77%204.78a4%204%200%200%201-6.75%200a4%204%200%200%201-4.78-4.77a4%204%200%200%201%200-6.76%22%2F%3E%3Cpath%20d%3D%22m16%209l-5.5%205.5L8%2012%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M3.85%208.62a4%204%200%200%201%204.78-4.77a4%204%200%200%201%206.74%200a4%204%200%200%201%204.78%204.78a4%204%200%200%201%200%206.74a4%204%200%200%201-4.77%204.78a4%204%200%200%201-6.75%200a4%204%200%200%201-4.78-4.77a4%204%200%200%201%200-6.76%22%2F%3E%3Cpath%20d%3D%22m16%209l-5.5%205.5L8%2012%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-shield-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z%22%2F%3E%3Cpath%20d%3D%22m9%2012l2%202l4-4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z%22%2F%3E%3Cpath%20d%3D%22m9%2012l2%202l4-4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-trophy {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M10%2014.66V17a1%201%200%200%201-1%201a2%202%200%200%200-2%202v2m7-7.34V17a1%201%200%200%200%201%201a2%202%200%200%201%202%202v2m.916-12H19.5A2.5%202.5%200%200%200%2022%207.5V5a1%201%200%200%200-1-1h-3M4%2022h16%22%2F%3E%3Cpath%20d%3D%22M6%209a6%206%200%200%200%2012%200V3a1%201%200%200%200-1-1H7a1%201%200%200%200-1%201z%22%2F%3E%3Cpath%20d%3D%22M6.084%2010H4.5A2.5%202.5%200%200%201%202%207.5V5a1%201%200%200%201%201-1h3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M10%2014.66V17a1%201%200%200%201-1%201a2%202%200%200%200-2%202v2m7-7.34V17a1%201%200%200%200%201%201a2%202%200%200%201%202%202v2m.916-12H19.5A2.5%202.5%200%200%200%2022%207.5V5a1%201%200%200%200-1-1h-3M4%2022h16%22%2F%3E%3Cpath%20d%3D%22M6%209a6%206%200%200%200%2012%200V3a1%201%200%200%200-1-1H7a1%201%200%200%200-1%201z%22%2F%3E%3Cpath%20d%3D%22M6.084%2010H4.5A2.5%202.5%200%200%201%202%207.5V5a1%201%200%200%201%201-1h3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-grid {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%2214%22%20y%3D%223%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%2214%22%20y%3D%2214%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%223%22%20y%3D%2214%22%20rx%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%2214%22%20y%3D%223%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%2214%22%20y%3D%2214%22%20rx%3D%221%22%2F%3E%3Crect%20width%3D%227%22%20height%3D%227%22%20x%3D%223%22%20y%3D%2214%22%20rx%3D%221%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-waves {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M2%206c.6.5%201.2%201%202.5%201C7%207%207%205%209.5%205c2.6%200%202.4%202%205%202c2.5%200%202.5-2%205-2c1.3%200%201.9.5%202.5%201M2%2012c.6.5%201.2%201%202.5%201c2.5%200%202.5-2%205-2c2.6%200%202.4%202%205%202c2.5%200%202.5-2%205-2c1.3%200%201.9.5%202.5%201M2%2018c.6.5%201.2%201%202.5%201c2.5%200%202.5-2%205-2c2.6%200%202.4%202%205%202c2.5%200%202.5-2%205-2c1.3%200%201.9.5%202.5%201%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M2%206c.6.5%201.2%201%202.5%201C7%207%207%205%209.5%205c2.6%200%202.4%202%205%202c2.5%200%202.5-2%205-2c1.3%200%201.9.5%202.5%201M2%2012c.6.5%201.2%201%202.5%201c2.5%200%202.5-2%205-2c2.6%200%202.4%202%205%202c2.5%200%202.5-2%205-2c1.3%200%201.9.5%202.5%201M2%2018c.6.5%201.2%201%202.5%201c2.5%200%202.5-2%205-2c2.6%200%202.4%202%205%202c2.5%200%202.5-2%205-2c1.3%200%201.9.5%202.5%201%22%2F%3E%3C%2Fsvg%3E");
}
.ico-sun {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M12%202v2m0%2016v2M4.93%204.93l1.41%201.41m11.32%2011.32l1.41%201.41M2%2012h2m16%200h2M6.34%2017.66l-1.41%201.41M19.07%204.93l-1.41%201.41%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M12%202v2m0%2016v2M4.93%204.93l1.41%201.41m11.32%2011.32l1.41%201.41M2%2012h2m16%200h2M6.34%2017.66l-1.41%201.41M19.07%204.93l-1.41%201.41%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-users {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M18%2021a8%208%200%200%200-16%200%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Cpath%20d%3D%22M22%2020c0-3.37-2-6.5-4-8a5%205%200%200%200-.45-8.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M18%2021a8%208%200%200%200-16%200%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Cpath%20d%3D%22M22%2020c0-3.37-2-6.5-4-8a5%205%200%200%200-.45-8.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-compass {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Cpath%20d%3D%22m16.24%207.76l-1.804%205.411a2%202%200%200%201-1.265%201.265L7.76%2016.24l1.804-5.411a2%202%200%200%201%201.265-1.265z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Cpath%20d%3D%22m16.24%207.76l-1.804%205.411a2%202%200%200%201-1.265%201.265L7.76%2016.24l1.804-5.411a2%202%200%200%201%201.265-1.265z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* ===================================================================
   ABOUT
   The Facilities page was renamed to About. The horizontal gallery
   below is the original facilities walkthrough, moved in wholesale and
   left on its own class names (.gallery-*) because scroll.js's
   horizontalGallery() and the reduced-motion/mobile fallbacks further
   down both key off them. Everything else on this page is new.
   =================================================================== */
/* ---------- Hero (2026-11-12, v2): scrapbook wall ----------
   Navy, three taped real prints, chalk-underlined key word, a drawn
   timeline. Shares the brand's tape/chalk/handwriting, not the home
   page's orange card. */
.ab-hero { position: relative; background: var(--navy); padding: calc(var(--nav-h) + 56px) 0 64px; overflow: hidden; }
/* Background (2026-11-12, v3): the court the prints are pinned to.
   A pickleball court in perspective, in the blue of RIAM's own courts,
   lit by one floodlight from above; its lines draw on at load. The
   timeline below is the site's orange court line (home flow), drawn
   2019 -> Today. Grain over all so it reads as a print. Nothing sits
   behind the text column. */
.ab-hero {
  background:
    radial-gradient(55% 75% at 80% 18%, rgba(78, 128, 205, 0.32), rgba(78, 128, 205, 0) 62%),
    radial-gradient(40% 50% at 70% 85%, rgba(242, 101, 34, 0.10), rgba(242, 101, 34, 0) 70%),
    var(--navy);
}
/* The wrap's mask keeps the court off the text: desktop fades it out
   before the copy column, phone keeps it to the lower half. */
.ab-court-wrap {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 36%, #000 58%); mask-image: linear-gradient(90deg, transparent 36%, #000 58%);
}
.ab-court {
  position: absolute; right: 2%; top: -42%; width: min(44vw, 640px); aspect-ratio: 200 / 440;
  transform: perspective(1500px) rotateX(64deg) rotateZ(-8deg); transform-origin: 50% 50%;
}
.ab-court svg { width: 100%; height: 100%; overflow: visible; }
.ab-court-surface { fill: #1B4A86; opacity: 0.55; }
.ab-court-kitchen { fill: #17406F; opacity: 0.55; }
.ab-court-line, .ab-court-net { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ab-draw 1.4s var(--ease) forwards; }
.ab-court-net { stroke: rgba(255, 255, 255, 0.85); stroke-width: 3; animation-delay: 0.5s; }
.ab-court-line:nth-of-type(2) { animation-delay: 0.15s; } .ab-court-line:nth-of-type(3) { animation-delay: 0.3s; }
@keyframes ab-draw { to { stroke-dashoffset: 0; } }
.ab-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: 0.1; mix-blend-mode: overlay; }
@media (prefers-reduced-motion: reduce) { .ab-court-line, .ab-court-net, .ab-timeline-line path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 768px) {
  .ab-court-wrap { -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 66%); mask-image: linear-gradient(180deg, transparent 50%, #000 66%); }
  .ab-court { width: 120vw; right: -34vw; top: 24%; }
}
.ab-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.ab-title {
  margin: 0; color: #fff; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 6.2vw, 6rem); line-height: 1.02; letter-spacing: -0.045em;
}
.ab-word {
  color: var(--orange); white-space: nowrap; display: inline-block; line-height: 0.92; padding-bottom: 0.14em; /* underline sits in the word's own box, clear of the next line */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 18 3, 34 12, 52 7 S 86 3, 100 7 S 114 9, 117 5' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 0.22em;
}
.ab-sub { margin-top: 26px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--white-90); }

.ab-wall { position: relative; min-height: 470px; }
.ab-print {
  position: absolute; margin: 0; padding: 10px 10px 34px; background: #FBF7F0; border-radius: 3px;
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.7);
}
.ab-print img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.ab-print figcaption {
  position: absolute; left: 14px; bottom: 6px; white-space: nowrap;
  font-family: 'Caveat', cursive; font-size: 21px; font-weight: 700; color: var(--navy);
}
.ab-print::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 86px; height: 24px; z-index: 1;
  background: rgba(255, 244, 228, 0.8); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%) rotate(-4deg);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 18% 0, 82% 0, 88% 12%, 94% 0, 100% 10%, 100% 90%, 94% 100%, 88% 88%, 82% 100%, 18% 100%, 12% 90%, 6% 100%, 0 92%);
}
.ab-print--court { width: 66%; right: 0; top: 0; transform: rotate(3deg); z-index: 2; }
.ab-print--winners { width: 46%; left: 0; top: 22%; transform: rotate(-7deg); z-index: 1; }
.ab-print--winners::before { left: 20%; transform: translateX(-50%) rotate(-30deg); top: -4px; }
.ab-print--pool { width: 50%; left: 30%; bottom: 0; transform: rotate(-2deg); z-index: 3; }

/* The timeline: the facts as a drawn line, two stops. */
.ab-timeline { grid-column: 1 / -1; position: relative; list-style: none; margin: 18px 0 0; padding: 30px 0 0; display: flex; justify-content: space-between; }
.ab-timeline-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; overflow: visible; }
.ab-timeline-line path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ab-draw 1.6s var(--ease) 0.9s forwards; } /* the site's orange court line, drawn 2019 -> Today */
.ab-tl-stop { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.ab-tl-stop::before { content: ''; position: absolute; top: -16px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--orange); }
.ab-tl-stop--now { text-align: right; align-items: flex-end; }
.ab-tl-stop--now::before { left: auto; right: 2px; background: var(--orange); }
.ab-tl-when { font-family: 'Caveat', cursive; font-size: 34px; font-weight: 700; line-height: 1; color: var(--orange); }
.ab-tl-what { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-62); line-height: 1.5; }

@media (max-width: 768px) {
  .ab-hero { padding: calc(var(--nav-h) + 32px) 0 48px; }
  .ab-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .ab-wall { min-height: 330px; }
  .ab-print { padding: 7px 7px 26px; }
  .ab-print figcaption { font-size: 16px; left: 9px; bottom: 4px; }
  .ab-print--court { width: 70%; }
  .ab-print--winners { width: 46%; top: 48%; }
  .ab-print--pool { width: 52%; left: 44%; }
  .ab-tl-when { font-size: 28px; }
  .ab-tl-what { font-size: 11.5px; }
}

/* ---------- Why we do this ----------

   The founder's statement, and the one light ground in the upper half
   of the page. The section inverts: the ground goes to --paper and the
   words go into a dark card sitting on it. That is the same --paper the
   standards block further down already uses, so the page has one light
   material rather than two.

   NO ORANGE TEXT ON THIS GROUND. #F26522 measures 3.15:1 on white and
   2.82:1 on --paper against a 4.5:1 bar, so every orange word in this
   section lives inside the card, on navy. The one lit dot is the only
   orange on the paper -- a graphical object at 3:1, which it clears.
   If orange type is wanted back here, derive a darkened token; do not
   ship #F26522 on paper.

   Every resting state below is the FINISHED state. initHundred() in
   js/about-hundred.js sets its own "from" values and only when motion
   is allowed, so with JavaScript off, on a phone, or under
   prefers-reduced-motion the section is simply already assembled --
   card, hundred and caption, nothing mid-transform. The pin exists
   only above 980px.
   ------------------------------------------------------------------- */

/* Ground comes from .section-light in the markup. The stage needs a
   stacking context of its own so the card can occlude the dots that
   are still travelling out from under it. */
.hundred-pin {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}
.hundred-stage {
  position: relative;
  display: grid;
  /* 50/50. The grid and the card carry equal weight: one is the claim,
     the other is what the claim is made of. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 88px);
  width: 100%;
}

/* ---- the hundred ---- */

.hundred-field {
  position: relative;
  z-index: 1; /* under the card, so the exit is an emergence */
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}
/* Centred in the run between the page edge and the card rather than
   left-aligned in its column, which left the whole 238px of column
   slack sitting in one lump against the card. Auto margins put it
   within ~10px of the true midpoint of that run at desktop width --
   the residual is half the difference between the page gutter and the
   column gap, and is not visible at this scale. */
.hundred-fieldbox {
  position: relative;
  width: min(520px, 100%);
  margin-inline: auto;
}
.hundred-dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  width: 100%;
}
.hundred-dots .fd {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  /* Flat fill, no shading and no contact shadow. The sphere-lighting
     pass that briefly sat here read as plastic on a paper ground; a
     flat disc is what the field wants, and it is also what GSAP can
     tween cleanly, since background-COLOR is the property carrying the
     three states and a gradient would sit on top of it. */
  /* A ring per child, like a register. JS tweens background-color
     through its states and ends transparent (REST in about-hundred.js);
     the ring itself is this inset line. */
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(10, 30, 60, 0.28);
  will-change: transform;
}
/* The one. Solid brand orange against ninety-nine at 35%, with the
   single soft corona this had from the start. */
.hundred-dots .fd--one {
  position: relative;
  background: var(--orange);
  box-shadow: none;
}
/* ...circled in chalk, the way a coach marks a name on the sheet. */
.hundred-dots .fd--one::after {
  content: ''; position: absolute; inset: -55%;
  border: 2.5px solid var(--orange);
  border-radius: 46% 54% 50% 47% / 52% 45% 55% 48%;
  transform: rotate(-12deg);
}

.hundred-field-cap {
  width: min(520px, 100%);
  margin: 30px auto 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--ink-62);
}
/* The second line used to be orange. On paper it measured 2.82:1, so
   the emphasis is carried by ink and weight instead, and the only
   orange left on this side of the section is the single lit dot. */
.hundred-field-cap span {
  font-weight: 800;
  color: var(--ink);
}

/* ---- the card ---- */

.hundred-right {
  position: relative;
  z-index: 2; /* above the dots: they emerge from under this */
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
}

/* Laid out and measured, never painted. visibility:hidden keeps it in
   the layout for getBoundingClientRect and out of the paint entirely,
   which is more reliable than trusting the card to cover it. */
.hundred-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  margin: 0;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Editorial, not a card (2026-11-12): the quote sits on the paper like
   a magazine page. The card keeps an opaque paper background because
   the hundred dots stream out from under it (the hidden CHAMPIONS word
   sits behind it). Orange text on paper fails contrast, so small orange
   type uses the darker #B9461A; brand orange stays for marks. */
.hundred-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 12px 0 8px 34px;
  background: var(--paper);
  color: var(--ink);
}
.hundred-words { width: 100%; }
.hundred-card .eyebrow { margin: 0 0 18px; color: #B9461A; }
.hundred-quote { position: relative; }
.hundred-quote::before { /* the big quote mark, beside the quote, clear of the headline */
  content: '\201C';
  position: absolute; left: -64px; top: -26px;
  font-size: 96px; font-weight: 900; line-height: 1; color: var(--orange);
  pointer-events: none;
}
.hundred-head {
  margin: 0 0 26px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ink);
}
.hundred-key { /* "the one": chalk underline, same mark as the Programs headlines */
  white-space: nowrap; padding-bottom: 0.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 18 3, 34 12, 52 7 S 86 3, 100 7 S 114 9, 117 5' fill='none' stroke='%23F26522' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 0.28em;
}
.hundred-quote { margin: 0; padding: 0; }
.hundred-quote p { margin: 0 0 16px; font-size: 17px; line-height: 1.62; color: rgba(10, 30, 60, 0.82); }
.hundred-quote p.hundred-dim { font-size: 15px; color: var(--ink-62); }
.hundred-quote p.hundred-close { margin: 4px 0 26px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: #B9461A; }
.hundred-divider { border: none; border-top: 1px solid rgba(10, 30, 60, 0.12); margin: 0 0 18px; }
.hundred-attrib { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; border: 0; }
.hundred-mark {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink); color: var(--ink);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  transform: rotate(-6deg);
}
.hundred-who { display: flex; flex-direction: column; }
.hundred-name { font-size: 17px; font-weight: 800; color: var(--ink); }
.hundred-role { font-size: 13px; font-weight: 500; color: var(--ink-62); margin-top: 1px; }

/* There is no spray layer and there are no clones: the hundred real
   dots are what leave the word and land in their own grid cells, so the
   thing that arrives is the thing that stays.

   Resting state -- no JS, reduced motion, phone -- is the finished
   section: card, hundred, caption, all present and none of them
   mid-transform. Nothing below needs undoing. */
.hundred-words > .eyebrow { align-self: flex-start; }

@media (max-width: 980px) {
  /* minmax(0, 1fr), not 1fr: under reduced motion the static word sits in
     flow and a plain 1fr track grew to its min-content (495px at 390). */
  .hundred-stage { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hundred-right, .hundred-field { grid-column: 1; }
  .hundred-right { grid-row: 2; }
  .hundred-field { grid-row: 1; }
  .hundred-pin { min-height: 0; padding: 72px 0 96px; }
  .hundred-card { padding: 32px 26px 30px; }
}

/* Under reduced motion initHundred() returns before matchMedia, so the
   word is already in flow above the grid and there is nothing to undo.
   Belt and braces. */
@media (prefers-reduced-motion: reduce) {
  .hundred-word { position: static !important; display: block !important; }
  /* In flow, the word must stack above the card, not sit beside it in
     the flex row: beside it, its nowrap width squeezed the card to 100px
     at 390px (2026-11-06). */
  .hundred-right { flex-direction: column; align-items: stretch; }
  .hundred-word { white-space: normal; }
}

/* ===================================================================
   The lip between the paper section and the dark one under it.
   -------------------------------------------------------------------
   The campuses section is pulled up over the foot of the paper block
   and given a rounded top, so the dark ground arrives as a panel
   sliding over a page rather than as a hard colour change across the
   full width. z-index puts it above the paper; the paper section gets
   the matching bottom padding so the lip lands on empty ground and
   never on the caption.
   =================================================================== */
.hundred { padding-bottom: 72px; }
.campus-section {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  /* The 60px top padding this needs is set on the shorthand below, NOT
     here. This section never had top padding -- it inherited breathing
     room from the bottom of the section above it -- and pulling it up
     over the paper removed that and took another 56px besides, so the
     heading ended up against the rounded lip. Declaring padding-top
     here would lose: the `padding` shorthand a few lines down resets it
     to zero. */
}
@media (max-width: 980px) {
  .hundred { padding-bottom: 40px; }
  .campus-section { margin-top: -32px; border-radius: 28px 28px 0 0; }
}

/* ---------- Two campuses ---------- */
.campus-section { padding: 60px 0 140px; }
@media (max-width: 980px) {
  /* Less lip to clear, so less padding to clear it with. Has to sit
     after the shorthand above, or the shorthand wins. */
  .campus-section { padding-top: 38px; }
}
.campus-head { max-width: 640px; margin-bottom: 64px; }
.campus-head .h-lg { margin: 18px 0 20px; }
.campus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
/* --navy, not --navy-2: the section behind these cards is now --well,
   the deepest ground on the page, so the cards lift off it by being the
   lightest step of the ramp rather than by being a separate colour.
   Card contents clear the bar on their own ground too — orange 5.27:1,
   body 7.08:1 — which is why the text inside them is unaffected by the
   ceiling that applies to text sitting straight on a section. */
.campus-card {
  border: 1px solid var(--white-15);
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy);
  will-change: transform;
}
.campus-media { aspect-ratio: 16 / 10; overflow: hidden; }
.campus-media img { width: 100%; height: 100%; object-fit: cover; }
.campus-body { padding: 32px; }
.campus-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--white-35);
  margin-bottom: 12px;
}
.campus-role {
  color: var(--orange);
  font-weight: 800;
  font-size: 15px;
  margin: 6px 0 14px;
}
.campus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.campus-list li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--white-15);
  border-radius: 999px;
  color: var(--white-62);
}
.campus-address {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--white-15);
  font-size: 13px;
  color: var(--white-50);
}
.campus-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; }

/* Darkest ground on the page. The stage in front of it is wall-to-wall
   photography, and dropping the room a step below --navy is what makes
   those photographs read as lit rather than as flat panels. No grain
   here: the wrapper's own background is never actually visible behind
   the sticky stage, and this is the page's one pinned section, so it
   gets nothing it does not need. */
.gallery-wrapper { position: relative; height: 500vh; background: var(--ink); }
.gallery-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
/* Scrim, sitting BETWEEN the two photo layers. The panels used to back
   onto .ph gradient blocks, which were dark by construction; real
   photography is not, and a floodlit turf shot puts white spec text at
   roughly 1.5:1. This pulls the backdrop down so the type clears the
   4.5:1 bar the rest of the site holds, without dimming the foreground
   photo the panel is actually about. z-index is explicit because all
   three layers are absolutely positioned siblings. */
.gallery-backdrop-track { z-index: 0; }
.gallery-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Two layers. The vignette on top pulls the corners of the frame down
     so the photograph in the middle is the brightest thing on screen;
     the linear scrim underneath is the original contrast fix and its
     stops are unchanged, so the 4.5:1 floor it was written to hold
     still holds. */
  background:
    radial-gradient(125% 85% at 50% 50%, rgba(8, 24, 47, 0) 42%, rgba(8, 24, 47, 0.58) 100%),
    linear-gradient(90deg, rgba(10, 30, 60, 0.72) 0%, rgba(10, 30, 60, 0.82) 45%, rgba(10, 30, 60, 0.9) 100%);
}
.gallery-track { z-index: 2; }
.gallery-backdrop-track, .gallery-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  will-change: transform;
}
.gallery-backdrop-track { width: 100%; }
/* Backdrop layer: the same room as the panel in front of it, shot wide.
   Dimmed so the foreground photo and the spec list stay legible over it. */
.gallery-backdrop-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0.55;
}
.gallery-track { width: 100%; }
.gallery-panel {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  gap: 64px;
}
/* Foreground layer. object-fit lets a landscape source sit in the 4:5
   frame without letterboxing, which matters because the real photo
   library is a mix of portrait and landscape. */
/* Height is set explicitly, NOT via aspect-ratio. These <img>s carry
   width/height attributes (needed so the browser reserves space and the
   pinned stage does not reflow as they decode), and those attributes are
   presentational hints that land on the CSS height property. With only
   width set in author CSS the attribute height wins, aspect-ratio is
   ignored because both dimensions are then definite, and a 1280px-tall
   source overflows a 100vh stage. A viewport-relative height also suits
   a full-height pinned stage better than a fixed ratio, and object-fit
   absorbs the mix of portrait and landscape sources. */
.gallery-foreground {
  width: 42%;
  height: 62vh;
  object-fit: cover;
  border-radius: 4px;
  will-change: transform;
}
.gallery-specs { flex: 1; max-width: 420px; }
.gallery-blurb {
  font-size: 15px;
  line-height: 1.6;
  color: var(--white-62);
  margin: 0 0 26px;
  max-width: 380px;
}
.gallery-index { font-size: 13px; color: var(--white-35); font-weight: 700; margin-bottom: 14px; }
.spec-row { border-top: 1px solid var(--white-15); padding: 16px 0; overflow: hidden; }
.spec-row .mask { overflow: hidden; }
.spec-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--white-35); margin-bottom: 6px; }
.spec-value { font-size: 20px; font-weight: 700; }

/* ---------- The bench ---------- */
/* 70 rather than 140: the pinned "Why we do this" act above already
   gives the reader a screen and a half of held stillness, so the page
   below it can run tighter without feeling crowded. */
.bench-section { padding: 70px 0; }
.bench-head { max-width: 760px; margin-bottom: 72px; }
.bench-head .h-lg { margin: 18px 0 24px; line-height: 1.12; }
.bench-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.bench-card {
  border-top: 2px solid var(--orange);
  padding-top: 28px;
}
.bench-sport {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.bench-lede {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin-bottom: 28px;
}
.bench-creds { display: grid; gap: 0; }
.bench-creds li {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--white-15);
  will-change: transform, opacity;
}
.bench-cred-k {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-35);
  padding-top: 3px;
}
.bench-cred-v { font-size: 15px; line-height: 1.6; color: var(--white-62); }

/* ---------- The standard ---------- */
.standard-section { padding: 70px 0; }
.standard-head { max-width: 640px; margin-bottom: 64px; }
.standard-head .h-lg { margin-top: 18px; }
.standard-list { display: grid; gap: 0; }
.standard-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--ink-35);
  will-change: transform, opacity;
}
.standard-row:last-child { border-bottom: 1px solid var(--ink-35); }
/* Icon above the number, so the row is scannable by glyph and still
   ordered by numeral. The icon carries the accent; the numeral stays
   quiet underneath it. */
.standard-mark { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 4px; }
.standard-mark .ico { --ico-size: 26px; color: var(--orange); }
.beyond-game-item h3 { display: flex; align-items: center; gap: 10px; }
.beyond-game-item h3 .ico { --ico-size: 20px; color: var(--orange); }
.campus-role { display: flex; align-items: center; gap: 8px; }
.campus-role .ico { --ico-size: 18px; }
.standard-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-35);
}
.standard-text h3 { margin-bottom: 12px; }
.standard-text .body-text { max-width: 720px; }

/* ---------- Beyond the game ---------- */
.beyond-game { padding: 0 0 140px; }
.beyond-game-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.beyond-game-copy .h-lg { margin: 18px 0 20px; }
.beyond-game-items { display: grid; gap: 32px; margin-top: 44px; }
.beyond-game-item { padding-left: 22px; border-left: 2px solid var(--white-15); }
.beyond-game-item h3 { margin-bottom: 10px; }
.beyond-game-media {
  margin: 0;
  position: sticky;
  top: 120px;
  overflow: hidden;
  border-radius: 6px;
}
.beyond-game-media img { width: 100%; height: auto; will-change: transform; }

/* ---------- Close ---------- */
.about-close { height: 100vh; position: relative; overflow: hidden; }
.about-close-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
/* The close photo carries white type. Without this scrim the headline
   sits on mid-tone water and drops below the contrast floor the rest of
   the site holds. */
.about-close::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 24, 47, 0.92) 0%, rgba(8, 24, 47, 0.45) 55%, rgba(8, 24, 47, 0.25) 100%);
  z-index: 1;
}
.about-close-caption { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding: 0 0 80px; }
.about-close-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ===================================================================
   ABOUT — THE GROUND SYSTEM

   This page used to be seven identical #0A1E3C slabs. Every section
   except the paper standard block and the closing photograph simply
   inherited body, so ten thousand pixels of scroll carried two visual
   events, and one of them was the footer's neighbour.

   The fix is deliberately NOT more colour. Navy stays the ground the
   whole way down; what changes from section to section is the light on
   it. Three steps of one ramp — --navy base, --ink sunken, --well
   deepest — are ordered so no two neighbours match, one grain runs
   across all of them so they read as one material, and a single soft
   light pool alternates side to side so consecutive sections differ
   without a second hue entering the page.

   The ramp runs DOWN, not up. The intuitive third step was --navy-2,
   a step lighter than base, and it does not survive measurement: the
   orange .eyebrow is 12px/700 and sits directly on the section ground
   in every one of these sections, and orange on --navy-2 is 4.59:1 —
   which any light pool immediately drags under the bar. Going deeper
   instead means every step of this system buys contrast rather than
   spending it. Measured, on ground plus its own lume at full strength:
   orange 4.69:1 on the lightest of them, 5.58:1 on the darkest.

   Order down the page:
     navy → ink → well → ink → navy → PAPER → well → photo → ink

   --paper appears exactly once, on .standard-section. That section
   reads as an event because it is the only light thing here. A second
   light ground anywhere on this page would spend that, which is the
   one thing this change must not do.

   Every ground is a gradient that starts on its predecessor's colour
   and settles into its own within the first quarter of the section, so
   the joins are fades rather than seams. The only hard edge left on the
   page is paper meeting navy, and that one is the point.
   =================================================================== */

.riam-ground {
  position: relative;
  /* Creates a stacking context so the z-index:-1 pseudo-elements below
     stay inside the section — above its own background, beneath its
     content — instead of escaping behind body and disappearing. */
  isolation: isolate;
}
.riam-ground::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.035;
}

/* One light pool per section, alternating side down the page. --el-air
   rather than white: a faintly cold light over warm navy reads as a
   room with floodlights in it, where neutral white just reads as a
   lighter patch of CSS. Kept at or under 13% — at these opacities it is
   depth, not decoration, and it never approaches the contrast floor. */
.riam-lume::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* Each alpha below is the measured ceiling for the ground it lands on,
   not a taste call: the binding constraint is 12px orange eyebrow text
   sitting directly on the ground. Air over --navy holds 4.5:1 to a=0.08
   and over --ink to a=0.11, so the two sections on the lighter grounds
   run at 0.06 and the deeper ones at 0.10. The warm pool can afford
   0.13 because --well starts at 6.13:1. */
.riam-lume--top::after {
  background: radial-gradient(72% 55% at 50% -8%, rgba(168, 196, 220, 0.06), rgba(168, 196, 220, 0) 68%);
}
.riam-lume--left::after {
  background: radial-gradient(55% 62% at 10% 34%, rgba(168, 196, 220, 0.10), rgba(168, 196, 220, 0) 72%);
}
.riam-lume--right::after {
  background: radial-gradient(55% 62% at 90% 30%, rgba(168, 196, 220, 0.10), rgba(168, 196, 220, 0) 72%);
}
.riam-lume--warm::after {
  background: radial-gradient(52% 60% at 16% 84%, rgba(242, 101, 34, 0.13), rgba(242, 101, 34, 0) 70%);
}

/* ---------- Grounds ---------- */

/* .ab-hero is navy; it sets its own ground. */

/* The ramp only ever descends. .hundred breaks it deliberately -- it is
   --paper, the page's first light ground -- and the campuses section
   below is pulled up over it with a rounded top, so the dark arrives as
   a panel sliding over a page rather than as a hard colour change. That
   is why this gradient still opens on --ink with nothing --ink above
   it: the lip is the transition, not the seam. */
.campus-section {
  background: linear-gradient(to bottom, var(--ink) 0%, var(--well) 26%, var(--well) 100%);
}

.bench-section {
  background: linear-gradient(to bottom, var(--ink) 0%, var(--navy) 24%, var(--navy) 100%);
}

/* ---------- The standard: the card that rises out of the dark ----------

   The one light surface on the page, and the moment everything else is
   arranged around. It used to simply start: the ground changed colour
   at a hard horizontal line and that was the whole event.

   Now it arrives. --lift runs 0 → 1 as the section enters (see
   standardLift() in js/scroll.js) and drives the shoulder radius and
   the contact shadow it casts up onto the navy above it, so the slab
   appears to push up out of the dark rather than being pasted over it.

   --lift defaults to 1, which is the END state: with JavaScript off, or
   under prefers-reduced-motion where the script never writes the
   property, the card is simply already up. Nothing here can strand the
   section mid-transform, and nothing here moves layout — the radius and
   a shadow are the whole effect. */
.standard-section {
  position: relative;
  z-index: 2;
  --lift: 1;
  background: var(--paper);
  border-radius: calc(var(--lift) * 34px) calc(var(--lift) * 34px) 0 0;
}
.standard-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  transform: translateY(-100%);
  pointer-events: none;
  opacity: var(--lift);
  background: linear-gradient(to top, rgba(3, 10, 22, 0.55), rgba(3, 10, 22, 0));
}

/* And the dark closes back over it. The same shoulder in the opposite
   direction, so the paper reads as a slab the page lifts and then
   covers again, rather than as a panel that simply stops. The -34px
   pulls the shoulder over the paper's own bottom padding; the added top
   padding is what the overlap eats back. */
/* The 62px top is half what it was. It is set HERE and not on the base
   rule at the top of the About block -- that one declares `0 0 140px`
   and loses to this one, so halving it there changes nothing. Read the
   computed padding on this section, not the declared one. */
.beyond-game {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding: 62px 0 140px;
  border-radius: 34px 34px 0 0;
  background: var(--well);
}

/* ---------- The bench: a light that walks the room ----------

   Credentials are a list, and a list on a flat ground is furniture.
   --sweep runs 0 → 1 across the section (benchSweep() in scroll.js) and
   carries a single soft pool of light left to right behind the two coach
   columns, so the record feels walked past rather than tabulated.
   Defaults to 0.5 — a static pool, centred — which is exactly what a
   reduced-motion or scriptless render should show. */
.bench-section { --sweep: 0.5; }
.bench-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* 0.06, the same ceiling the hero runs at: this pool crosses the
     orange sport labels on both coach columns, so it is held to what
     --navy tolerates under 12px orange text. */
  background: radial-gradient(
    40% 54% at calc(var(--sweep) * 100%) 44%,
    rgba(168, 196, 220, 0.06),
    rgba(168, 196, 220, 0) 70%
  );
}

/* The closing photograph already carries a scrim for contrast. This
   only lands it: without a foot the full-bleed image stops dead against
   the footer, which is a seam on the one section that should feel like
   an exit. */
.about-close { background: var(--ink); }
.about-close::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  /* z-index 1, not 2: .about-close-caption sits at 2 and its CTA
     buttons are 80px off the bottom, right inside this gradient's
     band. At 2 this would dim them. */
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 24, 47, 0), var(--ink));
}

/* ---------- Degradation ----------
   Below 769px the shoulders shrink rather than vanish — at phone width
   a 34px radius on a full-bleed slab reads as a mistake — and the
   light pools tighten so they do not wash the whole viewport. Grounds,
   grain and the paper card all survive: this page's rhythm is the
   point of the change, and none of it depends on motion. */
@media (max-width: 768px) {

  .standard-section { border-radius: calc(var(--lift) * 20px) calc(var(--lift) * 20px) 0 0; }
  .beyond-game {
    margin-top: -20px;
    padding: 96px 0 100px;
    border-radius: 20px 20px 0 0;
  }
  .riam-lume--left::after,
  .riam-lume--right::after {
    background: radial-gradient(80% 40% at 50% 22%, rgba(168, 196, 220, 0.09), rgba(168, 196, 220, 0) 70%);
  }
}

/* ===================================================================
   PROGRAMS
   =================================================================== */
.programs-layout { display: grid; grid-template-columns: 1fr 1.1fr; }
.programs-left {
  position: sticky;
  /* Always leave room for the nav. Sticking at 0 let the nav, when it
     slid back in on scroll-up, sit on top of the sport name, so the
     spacing changed with scroll direction. */
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  overflow: hidden;
}
.programs-left-inner { position: relative; }
/* Font size lives on the stack so its 1.25em height fits the names
   (it used to be 1.1em of 16px, clipping 54px names to a sliver). */
.sport-name-stack { position: relative; height: 1.25em; overflow: hidden; margin-bottom: 32px; font-size: clamp(2rem, 4vw, 3.4rem); }
.sport-name-stack .sport-name {
  position: absolute;
  inset: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3.4rem);
  will-change: transform, opacity;
}
/* .programs-left-image is the tactics board; see the line-art block below. */

.programs-right { border-left: 1px solid var(--white-15); }
.program-block-mobile-head { display: none; align-items: center; gap: 16px; margin-bottom: 28px; }
.program-block {
  min-height: 72vh;
  scroll-margin-top: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  border-bottom: 1px solid var(--white-15);
}
.program-block:last-child { border-bottom: none; }
.program-block-eyebrow { margin-bottom: 20px; }
.program-block h3 { margin-bottom: 20px; }
.program-block .body-text { max-width: 520px; margin-bottom: 14px; }
.program-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 26px 0; max-width: 640px; }
.program-meta-item { border-top: 1px solid var(--white-15); padding-top: 12px; }
.program-meta-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--white-35); margin-bottom: 6px; }
.program-meta-value { font-size: 15px; font-weight: 700; }

/* Programs-page blocks for registry sports that have no copy yet —
   generated by tools/build.py, and replaced automatically once the
   sport's data file is filled in. Dimmed so they read as unfinished
   rather than as a real programme with missing values. */
.program-block--stub .program-block-mobile-head h2 { display: none; }
.program-block--stub .body-text { color: var(--white-50); }

/* ---------- Programs: picker, campus groups, index, phone bar (2026-11-12) ----------
   Hero picker and the 01-10 index jump to #p-<slug>; the phone chip bar
   appears once the picker has scrolled off. js/scroll.js initPrograms(). */

/* ---------- hero with the picker ---------- */
.prog-hero {
  padding-top: 150px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}
.prog-hero .h-xl { max-width: 780px; }
.prog-pick { padding-bottom: 8px; }
.prog-pick-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white-50); margin-bottom: 18px;
}
.prog-pick-group + .prog-pick-group { margin-top: 22px; }
.prog-pick-campus {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.prog-pick-campus span { font-size: 12px; font-weight: 600; color: var(--white-50); }
.prog-chips, .prog-bar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prog-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1.5px solid var(--white-15); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.prog-chip:hover { border-color: var(--orange); color: var(--orange); }
.prog-chip.is-active { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.prog-pick-soon { margin-top: 18px; font-size: 13px; color: var(--white-50); }

/* ---------- left panel index (replaces the stuck counter) ---------- */
.prog-index { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); column-gap: 28px; row-gap: 6px; }
.prog-index a { display: flex; gap: 10px; align-items: baseline; font-size: 14px; font-weight: 700; color: var(--white-35); text-decoration: none; transition: color 0.25s; }
.prog-index a:hover { color: #fff; }
.prog-index a.is-active { color: #fff; }
.prog-index-no { font-family: var(--font-mono); font-size: 11px; color: var(--white-35); }
.prog-index a.is-active .prog-index-no { color: var(--orange); }

/* ---------- right column: campus groups, shorter blocks ---------- */
.prog-divider {
  display: flex; align-items: baseline; gap: 12px;
  padding: 40px 56px 0;
  font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--orange);
}
.prog-divider-sub { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: none; color: var(--white-50); }
.prog-divider + .program-block { border-top: none; }
.prog-soon { padding: 48px 56px 64px; border-top: 1px solid var(--white-15); }
.prog-soon-name { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 8px; }
.prog-soon .body-text { color: var(--white-50); }

/* ---------- phone ---------- */
.prog-bar { display: none; }
@media (max-width: 768px) {
  .prog-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 120px; padding-bottom: 32px; }
  .prog-chip { min-height: 44px; }
  .prog-bar {
    display: block; position: sticky; top: var(--nav-h, 64px); z-index: 20;
    background: rgba(10, 30, 60, 0.92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--white-15);
  }
  .prog-bar-list { flex-wrap: nowrap; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
  .prog-bar-list::-webkit-scrollbar { display: none; }
  .prog-divider { padding: 36px 20px 0; }
  .prog-soon { padding: 40px 20px 56px; }
}



/* Phone bar follows the nav: tucks under it when the nav is showing,
   moves to the very top when the nav slides away. */
@media (max-width: 768px) {
  .prog-bar { transition: top 0.3s; }
  body:has(.nav--hidden) .prog-bar { top: 0; }
}
/* Phone bar stays out of the way until the hero picker has scrolled off. */
@media (max-width: 768px) {
  .prog-bar { margin-bottom: -63px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: top 0.3s, opacity 0.3s, transform 0.3s; }
  .prog-bar.is-on { opacity: 1; pointer-events: auto; transform: none; }
}


/* ---------- Programs variant B: coach's chalk diagram (2026-11-12) ----------
   The sport objects are drawn as line art (js/line-art.js) on a navy
   tactics board. Prerendered WebPs in assets/programs-line/ serve phones,
   reduced motion and no-WebGL. */
.programs-left-image {
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: min(340px, calc((100vh - var(--nav-h) - 340px) * 0.8)); /* board shrinks on shorter screens so the name keeps clear of the nav */
  border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 15%, rgba(255,255,255,0.07), transparent 60%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px) 0 0 / 38px 38px,
    #0c2344;
  border: 1px solid var(--white-15);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.programs-left-image::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.62'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.board-court { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(255,255,255,0.16); stroke-width: 1.4; stroke-linecap: round; }
.board-canvas, .pl-img { position: absolute; left: 4%; top: 4%; width: 92%; height: 84%; object-fit: contain; z-index: 1; }
.board-canvas { display: none; }
.programs-left-image.is-live .board-canvas { display: block; }
.programs-left-image.is-live .pl-img { display: none; }
.board-tape {
  position: absolute; left: 50%; bottom: 14px; z-index: 2; transform: translateX(-50%) rotate(-3deg);
  padding: 7px 18px 8px; white-space: nowrap;
  color: #0a1e3c; background: rgba(235, 214, 168, 0.94);
  clip-path: polygon(0 8%, 3% 0, 6% 10%, 9% 0, 100% 0, 97% 50%, 100% 100%, 8% 100%, 5% 88%, 3% 100%, 0 92%, 2% 50%);
  font-family: 'Caveat', cursive; font-size: 19px; font-weight: 700;
}

.program-no { color: var(--orange); font-weight: 900; margin-right: 2px; }
.program-pill {
  display: inline-flex; align-items: center; margin-left: 12px; padding: 3px 10px;
  border: 1px solid rgba(242, 101, 34, 0.6); border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: none; color: #fff;
}
.program-meta-item {
  border: 1px solid rgba(255,255,255,0.22); border-radius: 14px; padding: 12px 14px;
  background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2);
}
.trial-wrap { position: relative; align-self: flex-start; }
.program-block > .btn { align-self: flex-start; } /* was stretching full width in the flex column */
.prog-arrow {
  position: absolute; left: calc(100% + 6px); top: -34px; width: 118px; height: auto; overflow: visible;
  stroke: var(--orange); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
  transform: rotate(-6deg); /* head ends bottom-left, at the button's right end */
}

.mini-board {
  flex: 0 0 auto; width: 88px; height: 88px; border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid var(--white-15);
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 14px 14px,
    #0c2344;
}
.mini-board img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; }

.prog-hero { position: relative; }
.prog-hero-copy, .prog-pick { position: relative; z-index: 1; }
.prog-hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pha { position: absolute; width: 230px; height: auto; opacity: 0.12; }
.pha--1 { left: -40px; top: 150px; transform: rotate(-12deg); }
.pha--2 { left: 41%; top: 130px; width: 190px; transform: rotate(14deg); } /* below the nav, never clipped by it */
.pha--3 { left: 22%; bottom: -50px; width: 190px; }
.prog-pin { width: 14px; height: 14px; flex: 0 0 auto; color: var(--orange); align-self: center; }
@media (max-width: 768px) {
  .pha { width: 120px; }
  .pha--1 { left: auto; right: 4px; top: 90px; }
  .pha--2 { left: auto; right: 90px; top: 150px; }
  .pha--3 { display: none; }
  .prog-arrow { display: none; }
  .program-pill { margin-left: 8px; }
}

/* Links through to the sport pages. hrefs are written by tools/build.py
   from the sport registry — see data/sports/. A sport that is not live
   yet has its href removed entirely, so the same markup renders as inert
   text: no placeholder route, no 404, nothing to keep in sync by hand. */
.program-head-link { display: inline; transition: color 0.3s var(--ease); }
a.program-head-link[href]:hover { color: var(--orange); }
.program-img-link { display: contents; }
.program-link-row { margin: -8px 0 28px; }
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}
.program-link[href]::after { content: '→'; transition: transform 0.3s var(--ease); }
.program-link[href]:hover::after { transform: translateX(4px); }
.program-link:not([href]) { color: var(--white-50); font-weight: 600; }
.program-link:not([href])::after {
  content: 'Coming soon';
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--white-15);
  border-radius: 3px;
  padding: 2px 6px;
}

/* ===================================================================
   SPORT PAGE  (/programs/<slug>/)
   Namespaced "sp-" throughout. Every colour that carries the sport's
   identity reads --element-accent, which is set once by
   [data-element] on <body> — so a new sport is a data change, never a
   stylesheet change. Markup is generated by tools/build.py.
   =================================================================== */
.sport-page { background: var(--navy); }

/* Section numbering, identical in size/tracking/rule to the .eyebrow used
   on the programs page, set in the mono family the brief specifies and in
   the element accent. Renders as "—— 01 —— LABEL". */
.sp-eyebrow { font-family: var(--font-mono); color: var(--element-accent); }
.sp-eyebrow::before { background: var(--element-accent); }
.sp-eyebrow-num { display: inline-flex; align-items: center; gap: 10px; }
.sp-eyebrow-num::after { content: ''; width: 20px; height: 1px; background: var(--element-accent); }

.sp-section { padding: 52px 0; }
.sp-section-inner > .eyebrow { margin-bottom: 26px; }
.sp-section h2 { max-width: 900px; margin-bottom: 22px; }
.sp-section .body-text { max-width: 62ch; margin-bottom: 14px; }

/* ---------- Narrow editorial sections ----------
   The prose-only blocks (the stakes, the guide, what you'll see) used to
   be centred text in a 720px column, which on a wide viewport read as a
   thin ribbon of copy floating in empty navy with no anchor on either
   side. They are now a two-column editorial: the section number and its
   label sit stacked in a slim left rail, the statement and the body copy
   below it share one left-aligned measure in the right column, and two
   adjacent narrow sections are separated by a hairline instead of by
   ~100px of nothing.

   The DOM order is unchanged (eyebrow, h2, paragraphs — see section() in
   tools/build.py). Everything defaults to the content column and the
   eyebrow is the single element pulled out into the rail, so the grid
   needs no markup that reading order or a screen reader would notice. */
.sp-narrow .sp-section-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: left;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  column-gap: 44px;
  align-items: start;
}
.sp-narrow .sp-section-inner > * { grid-column: 2; }

/* The rail. Stacks as "—— 02" over "THE STAKES"; the number's trailing
   rule is dropped because in a two-line rail it dangles into the gutter
   instead of connecting the number to its label. The padding-top is
   optical, aligning the small caps to the heading's cap height rather
   than to its line box. */
.sp-narrow .sp-section-inner > .eyebrow {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  row-gap: 9px;
  column-gap: 10px;
  margin-bottom: 0;
  padding-top: 0.42em;
  line-height: 1.35;
}
.sp-narrow .sp-eyebrow::before { grid-column: 1; grid-row: 1; }
.sp-narrow .sp-eyebrow-num { grid-column: 2; grid-row: 1; }
.sp-narrow .sp-eyebrow-num::after { display: none; }
.sp-narrow .sp-eyebrow-label { grid-column: 1 / -1; grid-row: 2; }

/* Sized to break the statement across two or three tight lines in the
   content column — long enough to carry weight, short enough that the
   eye still takes it in as one object. */
.sp-narrow h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.sp-narrow .body-text { max-width: 58ch; margin-left: 0; margin-right: 0; margin-bottom: 12px; }
.sp-narrow .body-text:last-child { margin-bottom: 0; }

/* Quieter than the surrounding blocks, by design: these are statements to
   be read, not headlines to be scanned. That quiet is now carried by
   weight rather than by opacity — at --white-62 the lead read as disabled
   text next to the full-strength heading in the very next section. */
.sp-quiet-lead { font-weight: 600; }

/* Two narrow sections in a row are one continuous editorial passage, so
   they get a rule between them and share the gap, instead of each paying
   its own full section padding into a void. */
.sp-narrow + .sp-narrow { padding-top: 0; }
.sp-narrow + .sp-narrow .sp-section-inner {
  border-top: 1px solid var(--white-15);
  padding-top: 46px;
}

/* Placeholder slots on sport pages: one deliberate navy-to-warm grade in
   the element accent, instead of main.css's three rotating grid variants
   (which are for tiled galleries and read as loud in a single slot). */
.sport-page .ph,
.sport-page .ph:nth-of-type(3n),
.sport-page .ph:nth-of-type(3n+1),
.sport-page .ph:nth-of-type(3n+2) {
  background: linear-gradient(145deg, var(--ink) 0%, var(--navy) 38%, var(--navy-2) 66%, var(--element-accent) 190%);
}
.sport-page .ph::after { color: var(--white-50); }

/* ---------- 01 Hero ---------- */
.sp-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  overflow: hidden;
}
.sp-hero-media { position: absolute; inset: 0; }
.sp-hero-media .ph { position: absolute; inset: 0; border-radius: 0; }
.sp-hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Once the water is drawing, hide the empty photo slot and its caption. */
.sp-hero.has-fx .sp-hero-ph { visibility: hidden; }
/* The slot caption is tucked into the corner rather than centred, so it
   never collides with the headline sitting over it. */
.sp-hero-ph::after { position: absolute; right: 24px; bottom: 20px; padding: 0; }
.sp-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4, 8, 15, 0.94) 0%, rgba(4, 8, 15, 0.72) 34%, rgba(4, 8, 15, 0.1) 78%),
    linear-gradient(to right, rgba(4, 8, 15, 0.82) 0%, rgba(4, 8, 15, 0) 62%);
}
.sp-hero-content { position: relative; z-index: 2; }
.sp-hero-title { max-width: 15ch; margin: 22px 0 0; }
.sp-hero-sub { max-width: 48ch; margin-top: 22px; color: var(--white-90); }
.sp-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.sp-soon {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 2px 5px;
}
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; border-color: var(--white-15); }

/* ---------- 02 Spec row ---------- */
.sp-specs { border-bottom: 1px solid var(--white-15); }
.sp-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.sp-spec-cell { padding: 26px 0 26px 28px; border-left: 1px solid var(--white-15); }
.sp-spec-cell:first-child { padding-left: 0; border-left: none; }
.sp-spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 8px;
}
.sp-spec-value { margin: 0; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- 05 Session timeline ---------- */
.sp-timeline { position: relative; max-width: 720px; margin: 0; padding: 4px 0; }
.sp-timeline::before {
  content: '';
  position: absolute;
  /* Centred in the gutter between the duration column and the text
     column, not flush against the durations. */
  left: 107px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--element-accent);
  opacity: 0.55;
}
.sp-step { display: grid; grid-template-columns: 92px 1fr; gap: 0 30px; padding: 14px 0; }
.sp-step-dur {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--element-accent);
  text-align: right;
  padding-top: 1px;
}
.sp-step-text { font-size: 15px; line-height: 1.6; color: var(--white-90); }
.sp-step--total { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--white-15); }
.sp-step--total .sp-step-text { font-family: var(--font-mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--white-50); }

/* ---------- 06 The ladder ---------- */
/* .sp-ladder-wrap only wraps the page-level ladder (ladder_fragment's
   sticky=True) — the audience-card-embedded one (pickleball's Juniors
   card) stays plain .sp-ladder with no wrapper, no stepper, unchanged.
   Desktop-first, like the rest of this file: the sticky two-column
   layout is the default here, collapsed back to a single column with
   the stepper hidden in the sitewide @media (max-width: 768px) block —
   matching ladderStepper()'s own gsap.matchMedia('(min-width: 769px)')
   gate in js/scroll.js, so JS and CSS agree on the same breakpoint. */
.sp-ladder-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: start; }
.sp-ladder-stepper { position: sticky; top: calc(var(--nav-h) + 40px); }
.sp-ladder-stepper-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--element-accent);
  margin-bottom: 8px;
}
.sp-ladder-stepper-name { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.sp-ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.sp-stage {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--white-15);
  border-radius: 16px;
  background: var(--navy-2);
  border-top: 2px solid var(--element-accent);
}
.sp-stage-name { margin-bottom: 16px; }
.sp-stage-ltad, .sp-stage-riam { font-size: 14px; line-height: 1.55; margin-bottom: 14px; }
.sp-stage-ltad { font-family: var(--font-mono); font-size: 12.5px; color: var(--white-50); }
.sp-stage-riam { color: var(--white-90); }
.sp-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--element-accent);
  margin-right: 8px;
}
.sp-milestones { margin-top: auto; border-top: 1px solid var(--white-15); padding-top: 8px; }
.sp-milestones summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-62);
  cursor: pointer;
  list-style: none;
}
.sp-milestones summary::-webkit-details-marker { display: none; }
.sp-milestones summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.sp-milestones[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.sp-milestones ul { padding: 2px 0 14px; }
.sp-milestones li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--white-62);
}
.sp-milestones li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--element-accent);
}
.sp-ladder-note {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--white-50);
  max-width: 66ch;
  margin-top: 26px;
}

/* ---------- 07 Moving up ---------- */
.sp-promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px; max-width: 940px; margin-top: 24px; }
.sp-promise-title { margin-bottom: 16px; }
.sp-promise .body-text { margin-bottom: 0; }

/* ---------- 08 Facility / 09 Coach spec lists ---------- */
.sp-facility, .sp-coach { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.sp-fspec { margin: 0; }
.sp-fspec-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--white-15); }
.sp-fspec-row:last-child { border-bottom: 1px solid var(--white-15); }
.sp-fspec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-50);
  padding-top: 3px;
}
.sp-fspec-value { margin: 0; font-size: 15px; font-weight: 700; color: var(--white-90); }
.sp-coach-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--element-accent); margin: 8px 0 24px; }
.sp-coach-quote { margin: 26px 0 0; padding-left: 20px; border-left: 2px solid var(--element-accent); font-size: 16px; line-height: 1.6; color: var(--white-90); }

/* ---------- Optional blocks: safety, audiences, equipment, venue ----------
   Generic and data-driven. A sport opts in by including the key in its
   data file; none of these are per-sport CSS. */

/* An unconfirmed value renders visibly rather than being dropped, so a
   gap in the data looks like a gap instead of like an answer. */
.sp-fspec-row.is-tbc .sp-fspec-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--white-50);
}
.sp-safety .sp-fspec-row { border-color: rgba(255, 255, 255, 0.18); }

.sp-audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 24px; }
.sp-audience {
  padding: 28px 26px;
  border: 1px solid var(--white-15);
  border-left: 2px solid var(--element-accent);
  border-radius: 14px;
  background: var(--navy-2);
}
.sp-audience-title { margin-bottom: 14px; }
.sp-audience .body-text { margin-bottom: 16px; }

.sp-venue {
  max-width: 560px;
  padding: 28px 30px;
  border: 1px solid var(--white-15);
  border-top: 2px solid var(--element-accent);
  border-radius: 16px;
  background: var(--navy-2);
}
.sp-venue-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.sp-venue-address { font-size: 15px; line-height: 1.7; color: var(--white-90); }
.sp-venue-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--element-accent);
}
.sp-venue-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; }

/* ---------- 10 FAQ ---------- */
.sp-faq { max-width: 820px; border-top: 1px solid var(--white-15); }
.sp-faq-item { border-bottom: 1px solid var(--white-15); }
.sp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary::after {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--element-accent);
  border-bottom: 1.5px solid var(--element-accent);
  transform: translateY(-3px) rotate(45deg);
}
.sp-faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.sp-faq-q { margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.sp-faq-a { padding: 0 0 26px; }
.sp-faq-a .body-text { max-width: 66ch; margin-bottom: 0; color: var(--white-62); }

/* ---------- 12 Booking CTA ---------- */
.sp-cta {
  /* Deep-link target from the programs page. The offset clears the fixed
     header so #trial is never parked underneath it on arrival. */
  scroll-margin-top: calc(var(--nav-h) + 24px);
  background: var(--ink);
  border-top: 1px solid var(--white-15);
}
.sp-cta-body { max-width: 52ch; }
.sp-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ===================================================================
   EVENTS
   =================================================================== */
.timeline { position: relative; padding: 100px 0 60px; }
.timeline-line-track { position: absolute; left: 50%; top: 100px; bottom: 60px; width: 2px; background: var(--white-15); transform: translateX(-50%); }
.timeline-line-fill { position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: top; will-change: transform; }
.timeline-node { position: relative; display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 0 40px; margin-bottom: 100px; }
.timeline-dot {
  justify-self: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy-2);
  border: 2px solid var(--white-15);
  will-change: transform, background-color, border-color;
}
.node-card {
  background: var(--navy-2);
  border-radius: 18px;
  padding: 32px;
  will-change: transform, opacity;
}
.timeline-node.side-left .node-card { grid-column: 1; text-align: right; }
.timeline-node.side-right .node-card { grid-column: 3; }
.timeline-node.side-left .node-empty { grid-column: 3; }
.timeline-node.side-right .node-empty { grid-column: 1; }
.node-date { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 12px; }
.node-flagship .node-card { background: linear-gradient(135deg, var(--navy-2), var(--ink)); border: 1px solid rgba(242, 101, 34, 0.4); grid-column: 1 / 4; text-align: center; }
.node-flagship .ph { aspect-ratio: 21 / 8; margin-top: 20px; }

.partners-marquee { overflow: hidden; padding: 56px 0; border-top: 1px solid var(--white-15); }
.marquee-heading { text-align: center; margin-bottom: 32px; }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; will-change: transform; }
.marquee-item { display: flex; align-items: center; gap: 12px; opacity: 0.7; }
.marquee-item span.name { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--white-62); white-space: nowrap; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-hero { padding: 200px 0 60px; position: relative; overflow: hidden; }
.contact-hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.16) 0%, rgba(10, 30, 60, 0) 70%);
  will-change: transform;
}
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding: 0 0 160px; align-items: start; }
.contact-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 48px;
  will-change: transform, opacity;
}
.field-group { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.field-group label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-62); }
.field-group input, .field-group select, .field-group textarea {
  border: 1px solid rgba(8, 24, 47, 0.18);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: var(--orange); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-side { display: flex; flex-direction: column; gap: 28px; }
.contact-side .ph { aspect-ratio: 4 / 5; }
.contact-info-block { border-top: 1px solid var(--white-15); padding-top: 18px; }
.contact-info-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--white-35); margin-bottom: 8px; }

/* ===================================================================
   CONTACT PAGE (contact.html), redesigned 2026-11-04.
   Above the closer only. Borrows the sport-theme language without the
   per-sport tokens: glass cards on navy, a 2px orange top edge as the
   brand mark, sections marked by a hairline and a mono number.
   .contact-hero / .contact-card / .field-group above stay: /book/ and
   /corporate-events/ still use them.
   =================================================================== */
.ct-hero { position: relative; overflow: hidden; padding: 160px 0 64px; }
.ct-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.ct-title { margin-top: 18px; }
.ct-title-accent { color: var(--orange); }
.ct-lede { max-width: 520px; margin-top: 22px; color: var(--white-62); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ct-btn-lg { padding: 18px 30px; font-size: 15px; }
.ct-btn-lg .ico { --ico-size: 18px; }
.ct-quick {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--white-15);
  max-width: 560px;
}
.ct-quick li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--white-90); }
.ct-quick .ico { --ico-size: 15px; color: var(--orange); }

/* Two real venue photos, overlapped: the ground behind, the pool in front. */
.ct-hero-art { position: relative; height: clamp(420px, 44vw, 600px); }
.ct-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--white-15);
  border-top: 2px solid var(--orange);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  will-change: transform;
}
.ct-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Grounds behind the WebGL scenes: what shows if WebGL is unavailable. */
.ct-ground-water { background: radial-gradient(120% 90% at 30% 20%, #0E5A63 0%, #072234 55%, #050D18 100%); }
.ct-ground-turf { background: radial-gradient(120% 90% at 70% 15%, #2F6B2A 0%, #123A1C 55%, #06140D 100%); }
.ct-frame figcaption {
  position: absolute;
  z-index: 1;
  left: 14px; bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(5, 14, 28, 0.72);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-90);
}
.ct-frame-a { top: 0; left: 0; width: 56%; height: 82%; }
.ct-frame-b { right: 0; bottom: 0; width: 62%; aspect-ratio: 4 / 3; }

/* Sections: hairline + number, as on the sport pages. */
.ct-section { padding: 88px 0 110px; border-top: 1px solid var(--white-15); }
.ct-head { max-width: 640px; margin-bottom: 52px; }
.ct-head .h-lg { margin: 10px 0 14px; }
.ct-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; color: var(--orange); }

/* ---------- 01 Venues ---------- */
/* Cards keep their own height (no stretch), so neither has a hole above
   its links. The shorter one drifts inside the spare height on scroll
   (initContact in js/scroll.js). */
.ct-venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.ct-venue {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(18, 41, 77, 0.5);
  border: 1px solid var(--white-15);
  border-top: 2px solid var(--orange);
  /* `top`, not `translate`: GSAP sets translate:none on elements it
     transforms, and the reveal transforms this card. */
  position: relative;
  top: var(--ct-drift, 0px);
  transition: border-color 0.4s var(--ease);
}
.ct-venue:hover { border-color: rgba(242, 101, 34, 0.45); }
.ct-venue-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.ct-venue-tag {
  position: absolute;
  z-index: 1;
  top: 16px; left: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(5, 14, 28, 0.72);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-90);
}
.ct-venue-body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.ct-venue-name { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.ct-venue-address { display: flex; gap: 10px; margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--white-90); }
.ct-venue-address .ico { --ico-size: 18px; color: var(--orange); margin-top: 3px; }
.ct-label {
  display: flex; align-items: center; gap: 8px;
  margin: 26px 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-50);
}
.ct-label .ico { --ico-size: 14px; }
.ct-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips a, .ct-chips span {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--white-15);
  font-size: 13px;
  font-weight: 700;
  color: var(--white-90);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.ct-chips a:hover, .ct-chips a:focus-visible { border-color: var(--orange); color: var(--orange); }
.ct-hours { display: grid; gap: 0; }
.ct-hours > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--white-15);
  font-size: 14px;
  line-height: 1.5;
}
.ct-hours > div:last-child { border-bottom: 1px solid var(--white-15); }
.ct-hours dt { font-weight: 700; color: var(--white-90); }
.ct-hours dd { color: var(--white-62); }
.ct-venue-links { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 24px; }

/* ---------- 02 Book ---------- */
.ct-book { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.ct-steps { list-style: none; position: relative; display: flex; flex-direction: column; gap: 34px; padding-top: 6px; }
/* The thread that joins the three numbers. */
.ct-steps::before {
  content: '';
  position: absolute;
  left: 21px; top: 30px; bottom: 96px;
  width: 1px;
  background: linear-gradient(to bottom, var(--orange), rgba(242, 101, 34, 0.1));
}
.ct-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; }
.ct-step-n {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  background: var(--navy);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
}
.ct-step-h { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 9px 0 6px; }
.ct-step-cta { padding-left: 64px; }
.ct-step-cta .ico { --ico-size: 16px; }

.ct-form-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 44px;
  border-top: 4px solid var(--orange);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75);
}
/* Orange text on paper is 2.9:1, so the kicker uses a darker orange (5.1:1). */
.ct-form-kicker { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #A8400C; }
.ct-form-h { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 28px; }
.ct-form-card .field-group input,
.ct-form-card .field-group select,
.ct-form-card .field-group textarea { transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.ct-form-card .field-group input:focus,
.ct-form-card .field-group select:focus,
.ct-form-card .field-group textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.2); }
.ct-optional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ct-who { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-who legend {
  width: 100%;
  margin-bottom: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-62);
}
.ct-who label { position: relative; cursor: pointer; }
.ct-who input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ct-who span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(8, 24, 47, 0.18);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.ct-who input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ct-who input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.35); }
.ct-submit { width: 100%; justify-content: center; margin-top: 4px; }
.ct-form-status { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ct-form-status:empty { display: none; }
.ct-form-status a { color: #A8400C; font-weight: 700; text-decoration: underline; }

/* Under the booking block: what a trial costs and involves, then the two
   other reasons people contact RIAM. */
.ct-facts {
  margin-top: 72px;
  padding: 36px 36px 30px;
  border-radius: 22px;
  background: rgba(18, 41, 77, 0.5);
  border: 1px solid var(--white-15);
}
.ct-facts-h { font-size: 13px; font-family: var(--font-mono); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.ct-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 22px; }
.ct-facts-grid dt { font-size: 17px; font-weight: 800; color: var(--white-90); margin-bottom: 6px; }
.ct-facts-grid dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--white-62); }
.ct-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--white-15); }
.ct-more-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--white-15);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.ct-more-link:hover { border-color: var(--orange); background: rgba(242, 101, 34, 0.06); }
.ct-more-k { font-size: 15px; font-weight: 700; color: var(--white-90); }
.ct-more-go { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--orange); }
.ct-more-go::after { content: ' →'; display: inline-block; transition: transform 0.3s var(--ease); }
.ct-more-link:hover .ct-more-go::after { transform: translateX(4px); }

/* ---------- Sheets (2026-11-06) ----------
   The About page's stacked-sheet language (see .campus-section and
   .beyond-game): each section pulls up over the one before it with a
   rounded top, so the page reads as separate cards, not one ground.
   Grounds alternate: hero --navy, #trial --paper, #venues --well. The
   last sheet also rounds its foot and overlaps the closer's top padding,
   so the closer's paper shows in its corners: a card set down on the
   closer rather than a dark band stopping dead against it. */
.ct-sheet {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  border-top: 0;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
}
.ct-sheet--paper {
  background: var(--paper);
  padding-bottom: 166px; /* 110 + the 56 the next sheet covers */
  box-shadow: 0 -28px 60px -32px rgba(3, 10, 22, 0.6);
}
.ct-sheet--well {
  z-index: 4;
  background: var(--well);
  box-shadow: 0 -28px 60px -32px rgba(8, 24, 47, 0.35);
}
.ct-sheet--last {
  margin-bottom: -40px;
  border-radius: 40px;
  box-shadow: 0 -28px 60px -32px rgba(8, 24, 47, 0.35), 0 30px 50px -30px rgba(3, 10, 22, 0.45);
}

/* Hero background: js/fx/contact-map.js. Below the grain (z -1), above
   the section's own ground. */
.ct-hero { padding-bottom: 120px; } /* 64 + the 56 the first sheet covers */
.ct-hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--navy); }
/* The scrim holds the copy side at or below --navy whatever the shader
   does there: measured on the rendered page, see the session log. */
.ct-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 30, 60, 0.6) 0%, rgba(10, 30, 60, 0.4) 38%, rgba(10, 30, 60, 0) 60%);
}
.ct-hero-bg.has-fx ~ .contact-hero-glow { display: none; }

/* On paper: ink text (.section-light), and the darker orange wherever
   orange is small text, since #F26522 on paper is 2.9:1. */
.ct-sheet--paper .ct-num { color: #A8400C; }
.ct-sheet--paper .ct-step-n {
  background: var(--paper);
  border-color: #A8400C;
  color: #A8400C;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ct-sheet--paper .ct-step:hover .ct-step-n {
  background: #A8400C;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(168, 64, 12, 0.12);
}
.ct-sheet--paper .ct-steps::before { background: linear-gradient(to bottom, #A8400C, rgba(168, 64, 12, 0.12)); }
/* The form was a paper card on navy; on paper it becomes the white card
   lifted off the sheet. */
.ct-sheet--paper .ct-form-card {
  background: #fff;
  border: 1px solid rgba(8, 24, 47, 0.08);
  border-top: 4px solid var(--orange);
  box-shadow: 0 2px 4px rgba(8, 24, 47, 0.04), 0 36px 70px -36px rgba(8, 24, 47, 0.38);
  transition: box-shadow 0.4s var(--ease);
}
.ct-sheet--paper .ct-form-card:focus-within {
  box-shadow: 0 2px 4px rgba(8, 24, 47, 0.04), 0 44px 90px -36px rgba(8, 24, 47, 0.5);
}
.ct-sheet--paper .ct-form-card .field-group input,
.ct-sheet--paper .ct-form-card .field-group select,
.ct-sheet--paper .ct-form-card .field-group textarea { background: #FBFAF7; }
.ct-sheet--paper .ct-form-card .field-group input:hover,
.ct-sheet--paper .ct-form-card .field-group select:hover,
.ct-sheet--paper .ct-form-card .field-group textarea:hover { border-color: rgba(8, 24, 47, 0.35); }
.ct-who label:hover span { border-color: rgba(8, 24, 47, 0.45); }
/* The facts panel was glass on navy; on paper it is a solid navy card,
   so all its white and orange text keeps the --navy ratios. */
.ct-sheet--paper .ct-facts {
  background: var(--navy);
  border: 0;
  border-top: 2px solid var(--orange);
  color: var(--white-90);
  box-shadow: 0 36px 70px -40px rgba(8, 24, 47, 0.55);
}

/* Hover where there was none. Transforms only on elements GSAP never
   touches: the frames and cards are tweened, so they get light instead. */
.ct-frame { transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.ct-frame:hover { border-color: rgba(242, 101, 34, 0.45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(242, 101, 34, 0.25); }
.ct-venue { transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.ct-venue:hover { box-shadow: 0 40px 80px -40px rgba(242, 101, 34, 0.22); }
.ct-venue-media .ct-fx { transition: transform 1.2s var(--ease); }
.ct-venue:hover .ct-venue-media .ct-fx { transform: scale(1.04); }
.ct-chips a { transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease); }
.ct-chips a:hover, .ct-chips a:focus-visible { background: rgba(242, 101, 34, 0.08); transform: translateY(-1px); }
.ct-hours > div { transition: background 0.3s var(--ease); }
.ct-hours > div:hover { background: rgba(255, 255, 255, 0.03); }
.ct-quick li { transition: color 0.3s var(--ease); }
.ct-quick li:hover { color: #fff; }

@media (max-width: 980px) {
  .ct-hero-grid, .ct-book { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ct-hero-art { height: clamp(340px, 80vw, 520px); }
  .ct-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-sheet { margin-top: -32px; border-radius: 28px 28px 0 0; }
  .ct-sheet--last { margin-bottom: -24px; border-radius: 28px; }
  .ct-hero { padding-bottom: 96px; }
  /* Copy stacks over the art: the scrim runs down instead of across. */
  .ct-hero-scrim { background: linear-gradient(180deg, rgba(10, 30, 60, 0.6) 0%, rgba(10, 30, 60, 0.4) 48%, rgba(10, 30, 60, 0) 68%); }
}
@media (max-width: 768px) {
  .ct-hero { padding: 128px 0 64px; }
  .ct-btn-lg { width: 100%; justify-content: center; }
  .ct-section { padding: 72px 0 80px; }
  .ct-head { margin-bottom: 36px; }
  .ct-venues { grid-template-columns: minmax(0, 1fr); }
  .ct-venue-body { padding: 24px 22px 26px; }
  .ct-hours > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ct-form-card { padding: 30px 22px; }
  .ct-facts { padding: 28px 22px 22px; }
  .ct-facts-grid, .ct-more { grid-template-columns: minmax(0, 1fr); }
  .ct-step-cta { padding-left: 0; }
  .ct-step-cta .btn { width: 100%; justify-content: center; }
  .ct-steps::before { bottom: 110px; }
  .ct-hero { padding-bottom: 96px; }
  .ct-sheet--paper { padding-bottom: 112px; } /* 80 + 32 */
  .ct-sheet { border-radius: 24px 24px 0 0; }
  .ct-sheet--last { margin-bottom: -20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-venue, .ct-frame, .ct-chips a, .ct-venue-media .ct-fx, .ct-sheet--paper .ct-step-n { transition: none; }
  .ct-chips a:hover, .ct-chips a:focus-visible, .ct-venue:hover .ct-venue-media .ct-fx { transform: none; }
}

/* Contact-page icons: lucide via Iconify (phone, message-circle, map-pin, clock, check). */
.ico-phone {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M13.832%2016.568a1%201%200%200%200%201.213-.303l.355-.465A2%202%200%200%201%2017%2015h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202A18%2018%200%200%201%202%204a2%202%200%200%201%202-2h3a2%202%200%200%201%202%202v3a2%202%200%200%201-.8%201.6l-.468.351a1%201%200%200%200-.292%201.233a14%2014%200%200%200%206.392%206.384%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M13.832%2016.568a1%201%200%200%200%201.213-.303l.355-.465A2%202%200%200%201%2017%2015h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202A18%2018%200%200%201%202%204a2%202%200%200%201%202-2h3a2%202%200%200%201%202%202v3a2%202%200%200%201-.8%201.6l-.468.351a1%201%200%200%200-.292%201.233a14%2014%200%200%200%206.392%206.384%22%2F%3E%3C%2Fsvg%3E");
}
.ico-message {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M2.992%2016.342a2%202%200%200%201%20.094%201.167l-1.065%203.29a1%201%200%200%200%201.236%201.168l3.413-.998a2%202%200%200%201%201.099.092a10%2010%200%201%200-4.777-4.719%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M2.992%2016.342a2%202%200%200%201%20.094%201.167l-1.065%203.29a1%201%200%200%200%201.236%201.168l3.413-.998a2%202%200%200%201%201.099.092a10%2010%200%201%200-4.777-4.719%22%2F%3E%3C%2Fsvg%3E");
}
.ico-pin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M20%2010c0%204.993-5.539%2010.193-7.399%2011.799a1%201%200%200%201-1.202%200C9.539%2020.193%204%2014.993%204%2010a8%208%200%200%201%2016%200%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M20%2010c0%204.993-5.539%2010.193-7.399%2011.799a1%201%200%200%201-1.202%200C9.539%2020.193%204%2014.993%204%2010a8%208%200%200%201%2016%200%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-clock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Cpath%20d%3D%22M12%206v6l4%202%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Cpath%20d%3D%22M12%206v6l4%202%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.ico-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M20%206L9%2017l-5-5%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M20%206L9%2017l-5-5%22%2F%3E%3C%2Fsvg%3E");
}

/* ===================================================================
   BOOK  (/book/)
   Not a sport page — no [data-element], so --element-accent falls back
   to the sitewide --orange (see :root). Reuses .sp-section, .sp-narrow,
   .sp-audiences/.sp-audience, .sp-venue-*, .sp-fspec, .sp-cta-actions
   and .contact-hero wholesale; the only genuinely new markup here is
   the rate table, so that is the only new CSS this page needed.
   =================================================================== */
.book-rates-wrap { margin-top: 24px; overflow-x: auto; }
.book-rates { width: 100%; border-collapse: collapse; }
.book-rates th, .book-rates td { padding: 16px 18px 16px 0; text-align: left; border-top: 1px solid var(--white-15); }
.book-rates tbody tr:last-child th, .book-rates tbody tr:last-child td { border-bottom: 1px solid var(--white-15); }
.book-rates thead th {
  padding-top: 0;
  border-top: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-35);
  font-weight: 700;
}
.book-rates tbody th { font-size: 15px; font-weight: 700; color: var(--white-90); }
.book-rates tbody td { font-size: 15px; font-weight: 700; }
/* Same unconfirmed-value treatment spec_list() gives every TBC row
   elsewhere on the site (see .sp-fspec-row.is-tbc) — a gap in the rate
   card should look like a gap, not like a smaller price. */
.book-rates td.is-tbc { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--white-50); }

.book-engine-fallback { margin-top: 8px; }

/* ===================================================================
   CORPORATE EVENTS  (/corporate-events/)
   Not a sport page — no [data-element], same as /book/, so
   --element-accent falls back to the sitewide --orange (see :root).
   Reuses .sp-section, .sp-narrow, .contact-hero, .contact-card,
   .field-group/.field-row, .sp-fspec, .program-link and .sp-cta-actions
   wholesale; the plain sports list, the numbered process steps and the
   checkbox group are the only genuinely new markup, so they are the
   only new rules this page needed.
   =================================================================== */
.corp-sports-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

/* §05's five-step process — numbered circles, reusing the sitewide
   orange rather than introducing a new colour. */
.corp-process {
  counter-reset: corp-step;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}
.corp-process li {
  position: relative;
  padding-left: 44px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white-90);
}
.corp-process li::before {
  counter-increment: corp-step;
  content: counter(corp-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.corp-enquire-card { max-width: 640px; margin-top: 32px; }

/* The qualifying form's "preferred sports" checkbox group. No checkbox
   pattern exists elsewhere on the site (every other selection control is
   a <select>), so this is genuinely new, minimal styling — a fieldset
   with a label-styled legend (matching .field-group label) and a
   responsive grid of checkbox rows. */
.corp-check-group { border: none; margin: 0 0 22px; padding: 0; }
.corp-check-group legend {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-62);
  padding: 0 0 10px;
}
.corp-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 16px;
}
.corp-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.corp-check input { width: 16px; height: 16px; accent-color: var(--orange); }

/* ===================================================================
   Reduced motion
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
}
html.no-motion .wall-wrapper,
html.no-motion .rail-canvas { display: none; }
html.no-motion .rail-wrapper,
html.no-motion .gallery-wrapper {
  height: auto;
}
html.no-motion .wall-stage,
html.no-motion .rail-stage,
html.no-motion .gallery-stage {
  position: static;
  height: auto;
  overflow: visible;
}
html.no-motion .curtain-wrapper { margin-top: 0; height: auto; }
html.no-motion .curtain-stage { position: static; height: auto; padding: 100px 0; }
/* The academy stack has no resting collapsed state to fall back to: with
   no scroll driving the weights, every pillar is simply open. Same rule
   serves reduced motion and mobile, so it lives in one place below. */
html.no-motion .ac-core,
html.no-motion .ac-card,
html.no-motion .ac-card-body { height: auto !important; }
html.no-motion .ac-core { overflow: visible; }
html.no-motion .ac-card-body { opacity: 1 !important; }
html.no-motion .ac-shot { clip-path: none !important; }
html.no-motion .ac-num, html.no-motion .ac-icon { color: var(--orange); }
html.no-motion .ac-rail { display: none; }
html.no-motion .section-buffer { display: none; }

/* About: the sticky media column and the close photo both rely on a
   scrub to look intentional. With motion off they must read as ordinary
   stacked figures rather than pinned panels that never move. */
html.no-motion .beyond-game-media { position: static; top: auto; }
html.no-motion .about-close { height: auto; min-height: 70vh; }
html.no-motion .about-close-img { position: absolute; }

/* ===================================================================
   Mobile (<768px): kill pinning + horizontal rails, stack vertically
   =================================================================== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Nav becomes a burger panel. The <ul> is the same element the desktop
     nav uses — only its box changes — so there is one nav markup tree,
     one mega-menu, and one set of links to keep in sync. */
  .nav-burger { display: flex; order: 3; }
  .nav-cta { order: 2; }
  .nav-cta-trial { display: none; }
  .nav-links > li.nav-trial-item { display: list-item; }
  .nav-links > li.nav-trial-item > a { color: var(--orange); font-weight: 700; }
  .nav-inner { gap: 12px; }
  .nav-links {
    order: 4;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding: 8px 20px 32px;
    /* Fully opaque, and no backdrop-filter of its own: the panel covers
       the page, and stacking a second backdrop-filter inside .nav's one
       lets the page bleed through in Chrome. */
    background: var(--ink);
    border-bottom: 1px solid var(--white-15);
  }
  /* The UA stylesheet's [hidden] { display: none } loses to ANY author
     `display` declaration, so the closed panel needs this explicitly. */
  .nav-links[hidden] { display: none; }
  .nav-links > li { border-bottom: 1px solid var(--white-15); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a { display: flex; align-items: center; min-height: 52px; font-size: 16px; padding: 0; }
  .nav-links a.is-active::after { display: none; }
  /* The desktop hover pill has no place in the burger panel: rows here
     are full-width list items, not chips. Strip the pill's padding,
     radius and background back off both carriers. */
  .nav-links > li > a,
  .nav-links > li > .nav-mega-trigger {
    padding: 0;
    border-radius: 0;
    color: var(--white-62);
  }
  /* No hover rule in the burger panel: these are full-width rows with
     their own dividers, and a hairline under one would read as another
     divider rather than as a hover. */
  .nav-links > li > a::before,
  .nav-mega-trigger > a::before,
  .nav-mega-toggle-label::before { display: none; }
  .nav-mega-trigger { justify-content: space-between; width: 100%; }
  .nav-mega-trigger > a { flex: 1; display: flex; align-items: center; min-height: 52px; font-size: 16px; font-weight: 600; color: var(--white-62); }
  /* Full-size tap target again in the burger panel, where rows are 52px
     and the caret is the disclosure control for the submenu. */
  .nav-mega-toggle { margin: 0; width: 52px; height: 52px; }
  /* Rental's trigger has no separate <a> — the toggle button itself has
     to stretch and space its label/caret the way the <a> rule above
     does for Programs, or it collapses to its own small width instead
     of filling the 52px-tall row. */
  .nav-mega-toggle-label { flex: 1; justify-content: space-between; min-height: 52px; font-size: 16px; padding-bottom: 0; }
  .nav-mega-compact { padding: 2px 0 16px 14px; }
  .nav-mega {
    position: static;
    min-width: 0;
    padding: 2px 0 16px 14px;
    border: none;
    border-left: 1px solid var(--white-15);
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    max-width: none;
    left: auto;
    transform: none;
    transition: none;
  }
  /* The desktop .nav-mega.is-open rule (two classes, higher specificity
     than the plain .nav-mega reset just above) keeps winning the
     cascade even here, shoving the open panel -50% off-screen to the
     left — a real, pre-existing bug this surfaced, not new. Needs its
     own same-specificity override. */
  .nav-mega.is-open { transform: none; }
  .nav-mega-inner { grid-template-columns: 1fr; gap: 20px; }

  /* The four counters never had a mobile override, so they stayed at
     repeat(4, 1fr) on a phone. 1fr is minmax(auto, 1fr), so the widest
     values ("5,000+", "6,000") held their tracks open at min-content and
     pushed the grid past its container: the last column ran to 538px
     inside a 500px viewport and "6,000" was visibly cut off. Two up, with
     minmax(0, 1fr) so a track can shrink below its content if it ever
     needs to. Matches .sp-spec-grid's own 2-up mobile treatment. */
  .counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }

  /* Sport page */
  .sp-section { padding: 40px 0; }
  /* The rail has nowhere to go on a phone: collapse to one column, put
     the eyebrow back on a single inline row above the heading, and give
     it back the trailing rule it drops in the desktop rail. */
  .sp-narrow .sp-section-inner {
    /* Matches .container's own mobile padding. It has to be restated,
       not just reset to 0: the desktop .sp-narrow rule is two classes
       deep and outranks the single-class .container override, so
       zeroing it here (as this block used to) ran the copy straight
       into the left edge of the screen. */
    padding: 0 20px;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }
  .sp-narrow .sp-section-inner > * { grid-column: 1; }
  .sp-narrow .sp-section-inner > .eyebrow {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: auto auto auto;
    justify-content: start;
    row-gap: 0;
    padding-top: 0;
    margin-bottom: 18px;
  }
  .sp-narrow .sp-eyebrow-num::after { display: block; }
  .sp-narrow .sp-eyebrow-label { grid-column: 3; grid-row: 1; }
  .sp-narrow + .sp-narrow .sp-section-inner { padding-top: 34px; }
  .sp-hero { min-height: 78vh; padding: calc(var(--nav-h) + 32px) 0 56px; }
  .sp-hero-ctas .btn { width: 100%; justify-content: center; }
  .sp-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-spec-cell { padding: 20px 0 20px 20px; }
  .sp-spec-cell:nth-child(odd) { padding-left: 0; border-left: none; }
  .sp-timeline::before { display: none; }
  .sp-step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
    margin-bottom: 10px;
    border: 1px solid var(--white-15);
    border-left: 2px solid var(--element-accent);
    border-radius: 12px;
    background: var(--navy-2);
  }
  .sp-step-dur { text-align: left; }
  .sp-step--total { margin-top: 4px; padding-top: 16px; }
  .sp-ladder-wrap { display: block; }
  .sp-ladder-stepper { display: none; }
  .sp-ladder { grid-template-columns: 1fr; }
  .sp-promises { grid-template-columns: 1fr; gap: 40px; }
  .sp-facility, .sp-coach { grid-template-columns: 1fr; gap: 28px; }
  .sp-fspec-row { grid-template-columns: 1fr; gap: 6px; }
  .sp-cta-actions .btn { width: 100%; justify-content: center; }

  /* Book page: keep the rate table scannable at 320px — tighter padding,
     smaller type, no reliance on the horizontal-scroll fallback. */
  .book-rates th, .book-rates td { padding: 12px 8px 12px 0; font-size: 13px; }
  .book-rates thead th { font-size: 10px; }
  .book-rates td.is-tbc { font-size: 11px; }

  /* About page: every two-column grid becomes one column, and the
     sticky media column unsticks so it does not pin inside a short
     viewport. */
  .beyond-game-media { position: static; top: auto; }
  .campus-grid { grid-template-columns: 1fr; gap: 32px; }
  .campus-section { padding-bottom: 90px; }
  .campus-body { padding: 24px; }
  .bench-section, .standard-section { padding: 45px 0; }
  .bench-grid { grid-template-columns: 1fr; gap: 48px; }
  .bench-creds li { grid-template-columns: 1fr; gap: 6px; }
  .standard-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .beyond-game { padding-bottom: 90px; }
  .beyond-game-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-close-cta .btn { width: 100%; justify-content: center; }

  .wall-wrapper, .rail-wrapper, .gallery-wrapper { height: auto; }
  .wall-stage, .rail-stage, .gallery-stage { position: static; height: auto; overflow: visible; padding: 60px 0; }
  /* Phone wall: headline first, then a 3-column photo mosaic. The stage was
     a centring flex row, which shrank the grid to ~70px and squashed all
     15 photos into 10px dots. */
  .wall-stage { display: flex; flex-direction: column; align-items: stretch; padding: 56px 0 40px; }
  .wall-stage::after { display: none; }
  .wall-grid { position: static; order: 2; width: 100%; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; gap: 6px; padding: 0 14px; }
  .wall-grid .ph { border-radius: 10px; }
  .wall-headline { position: static; order: 1; margin: 0 0 28px; padding: 0 20px; text-align: left; }
  .wall-hero-object { display: none; }

  .section-buffer { display: none; }
  .curtain-wrapper { margin-top: 0; height: auto; }
  .curtain-stage { position: static; height: auto; border-radius: 32px; padding: 60px 20px; }
  /* One column here, so the gutter that clears .wall-hero-object on
     desktop is gone — and with it the explicit grid-column: 3 that
     would otherwise leave the image stranded in a third column that
     no longer exists. The card is static and inline on mobile anyway
     (see .wall-hero-object above), so there is nothing to clear. */
  .curtain-content { grid-template-columns: 1fr; gap: 32px; }
  .ac-intro, .ac-core { grid-column: auto; }
  .ac-core { height: auto; overflow: visible; }
  .ac-card, .ac-card-body { height: auto !important; }
  .ac-card-body { opacity: 1 !important; padding-bottom: 26px; }
  .ac-shot { clip-path: none !important; }
  .ac-num, .ac-icon { color: var(--orange); }
  .ac-rail { display: none; }
  .ac-title { font-size: 16px; }

  .rail-track { flex-direction: column; padding-left: 0; gap: 20px; transform: none !important; }
  .rail-card { width: 100%; }
  .rail-canvas { display: none; }

  .gallery-backdrop-track, .gallery-track { position: static; flex-direction: column; transform: none !important; height: auto; }
  .gallery-panel { flex-direction: column; padding: 40px 20px; gap: 24px; align-items: flex-start; }
  .gallery-foreground { width: 100%; transform: none !important; }
  .gallery-backdrop-track .ph { display: none; }



  .programs-layout { grid-template-columns: 1fr; }
  .programs-left { display: none; }
  .programs-right { border-left: none; }
  .program-block { min-height: 0; padding: 40px 20px; scroll-margin-top: 140px; }
  .program-block-mobile-head { display: flex; }
  .program-meta { grid-template-columns: 1fr 1fr; }

  .timeline-line-track { left: 20px; }
  .timeline-node { grid-template-columns: 40px 1fr; gap: 0 20px; margin-bottom: 56px; }
  .timeline-dot { justify-self: start; grid-column: 1; }
  .timeline-node.side-left .node-card,
  .timeline-node.side-right .node-card { grid-column: 2; text-align: left; }
  .timeline-node.side-left .node-empty,
  .timeline-node.side-right .node-empty { display: none; }
  .node-flagship .node-card { grid-column: 2; text-align: left; }

  .contact-layout { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  /* The split collapses on a phone, and the reserved media slot is hidden
     rather than stacked: .hero is 100vh, and the copy column alone already
     uses most of it once the CTAs stack. Revisit when the real asset
     exists and its mobile crop is known. */
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-media { display: none; }

  /* Corporate events: keep the sport-checkbox grid to two columns at
     320px rather than letting auto-fill collapse it to one long list. */
  .corp-check-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================================
   The closer band — "Got Plans?"
   ===================================================================
   One per page, last section before the footer: an outlined question, a
   vertical roller of answers underneath it, and a solid payoff line that
   carries the CTA. Markup is machine-owned between the RIAM:CLOSER
   markers — copy lives in CLOSER_COPY in tools/build.py, not here.

   COLOUR, AND WHY IT IS NOT THE ORANGE BAND IT STARTED AS
   -------------------------------------------------------
   The band was specced as paper type on a solid orange ground. That pair
   measures 2.82:1 — under the 4.5:1 this file holds itself to everywhere
   else, and under even the 3:1 large-text floor. Contrast is symmetric,
   so inverting it to orange-on-paper is the same 2.82:1; the pair is the
   problem, not the ordering. Darkening the ground to clear 4.5:1 needs
   #C1460B, a 26% drop that reads terracotta.

   So the ground is --paper and every line of type is --ink (15.88:1),
   and orange stays in the band as a shape rather than as text: the slab
   behind the payoff line, where --ink on --orange measures 5.63:1. That
   keeps orange the loudest element in the band and keeps all three lines
   legible, with no new colour token.

   Known, and not fixed here: .eyebrow is --orange at 12px/700 and sits
   directly on .section-light's --paper ground on index.html and
   about.html — the same 2.82:1 pair, at a size where the bar is 4.5:1
   rather than 3:1. Pre-existing; wants its own pass. */
.closer {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(52px, 6.4vw, 92px) 0;
  overflow: hidden;
}
.closer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Court diagrams filling the band's right half.
   -------------------------------------------------
   The band is left-aligned display type in a 1400px container, which
   left ~40% of the width empty at desktop. This is that space earning
   its keep: overlapping plan views of a pitch and two courts, in the
   band's own orange, which is the eleven sports stated as a drawing
   rather than as a list.

   A background-image rather than an <img>: it is decoration with no
   information in it, so it wants no alt text and no place in the DOM —
   and a URL in this stylesheet resolves against css/, so one path works
   from book/ and corporate-events/ too, with no prefix to thread
   through build.py.

   The source was 2752x1536 with its left 37% empty; that is cropped
   off. Its ground is composited onto the exact --paper this band uses,
   so the image has no visible edge against the section and needs no
   blend mode — multiply was the obvious reach here and is wrong, since
   multiplying two near-whites lands at #E8E5DC, a full step darker than
   the band. The left edge is then masked to transparent so the lines
   dissolve toward the type instead of stopping on a seam.

   Opaque WebP, 95KB. The alpha version of the same crop was 500KB —
   the antialiasing on every line makes the alpha channel cost more than
   the picture — and JPEG rings visibly around strokes this thin. */
.closer-art {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(46%, 720px);
  /* cover, not contain: at contain the drawing ends inside the band and
     the lines read as a cropped picture sitting on the section. Letting
     it bleed off the top and bottom edges is what makes it read as
     artwork the band is standing on. */
  background: url("../assets/closer-courts.webp") center right / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  pointer-events: none;
}
/* Question and roller share one font-size so they read as a single
   stacked unit — the roller is the answer to the line above it, not a
   subheading under it. The roller's geometry is driven off this size
   too: --roll-lh is an em, so one step of the animation is always
   exactly one line box however the clamp resolves. */
.closer-q,
.closer-roll {
  font-size: clamp(2rem, 5.6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-transform: uppercase;
}
.closer-q { max-width: 14em; }
/* Capped so the display type can never run under .closer-art. The art
   occupies the right min(46%, 720px) of the section; this leaves the
   type the rest with a gutter, and lets the longer questions break to
   two lines rather than collide. */
@media (min-width: 900px) {
  .closer-q,
  .closer-payoff { max-width: min(52%, 660px); }
}

/* Hollow question, same treatment as .hero-headline and guarded the same
   way: a browser without -webkit-text-stroke would paint transparent
   text on paper, which is an invisible heading. Failing the @supports
   check leaves solid ink caps — the same line minus the effect. The
   stroke is in em so it tracks the clamp instead of going bold on a
   phone. */
@supports (-webkit-text-stroke: 1px #fff) {
  .closer-q {
    color: transparent;
    -webkit-text-stroke: 0.018em var(--ink);
  }
}

/* ---------- The roller ---------- */
/* A one-line window over a list of N+1 items: the N real phrases plus a
   copy of the first, so the final step lands on a duplicate of where the
   cycle began and the loop has no visible snap-back. The duplicate is
   the only aria-hidden item — the real phrases stay in the accessibility
   tree and in the raw DOM, because they are page copy, not decoration. */
.closer-roll {
  --roll-lh: 1.16em;
  height: var(--roll-lh);
  overflow: hidden;
  margin-top: 0.12em;
}
.closer-roll-list {
  list-style: none;
  margin: 0;
  padding: 0;
  animation-timing-function: var(--ease);
  animation-iteration-count: infinite;
  will-change: transform;
}
.closer-roll-list li {
  height: var(--roll-lh);
  line-height: var(--roll-lh);
  white-space: nowrap;
}
/* Two keyframe sets rather than one parameterised in JS: every page runs
   three phrases except Programs, which runs four. Each phrase holds for
   ~78% of its slot and slides for the rest. */
.closer-roll[data-count="3"] .closer-roll-list {
  animation-name: closer-roll-3;
  animation-duration: 9s;
}
.closer-roll[data-count="4"] .closer-roll-list {
  animation-name: closer-roll-4;
  animation-duration: 12s;
}
@keyframes closer-roll-3 {
  0%,     26.0% { transform: translateY(0); }
  33.3%,  59.3% { transform: translateY(calc(var(--roll-lh) * -1)); }
  66.6%,  92.6% { transform: translateY(calc(var(--roll-lh) * -2)); }
  100%          { transform: translateY(calc(var(--roll-lh) * -3)); }
}
@keyframes closer-roll-4 {
  0%,   19.5% { transform: translateY(0); }
  25%,  44.5% { transform: translateY(calc(var(--roll-lh) * -1)); }
  50%,  69.5% { transform: translateY(calc(var(--roll-lh) * -2)); }
  75%,  94.5% { transform: translateY(calc(var(--roll-lh) * -3)); }
  100%        { transform: translateY(calc(var(--roll-lh) * -4)); }
}

/* ---------- The payoff ---------- */
/* Solid fill, not outlined, and a step down in size: it is the line that
   lands, so it wants to read as a statement under the display pair above
   rather than as a third headline competing with them. The slab is the
   band's orange moment. box-decoration-break keeps the padding on both
   fragments when it wraps to two lines on a phone. */
.closer-payoff {
  margin-top: clamp(28px, 3.4vw, 52px);
  /* ~0.52x the display pair above. At the 0.4x this started at the slab
     read as a caption under the roller rather than as the line the band
     is built to deliver. */
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: uppercase;
}
.closer-slab {
  background: var(--orange);
  color: var(--ink);
  padding: 0.1em 0.32em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Pinned to the first phrase, per spec. The remaining phrases stay in
   the DOM and in the accessibility tree — they are clipped, not removed,
   so nothing is lost to a screen reader or to a crawler. Phrase one is a
   complete resting state, not a frame of a stopped animation. */
@media (prefers-reduced-motion: reduce) {
  .closer-roll-list {
    animation: none;
    transform: none;
  }
}

@media (max-width: 768px) {
  .closer { padding: 52px 0; }
  /* Decoration only, and at this width it would sit behind the type
     rather than beside it. Nothing is lost by dropping it. */
  .closer-art { display: none; }
  .closer-q { max-width: none; }
  /* nowrap is what makes the roller a clean one-line window; at 320px a
     long phrase would otherwise overflow the container rather than the
     window. Shrinking the pair is the fix — the phrases are all short
     enough to hold at this size. */
  .closer-q,
  .closer-roll { font-size: clamp(1.6rem, 8.4vw, 2.6rem); }
}

/* ===================================================================
   Phone pass (2026-11-09). Measured at 390px: no sideways scroll on any
   page; these fix the rest — the sport rail stacked into ~6,000px of
   cards, content labels under 11px, and tap targets under 36px.
   =================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
a.rail-card { display: block; color: inherit; text-decoration: none; }
/* The 3D render replaces the card art on desktop; photos are for the
   flat (phone / reduced motion / no WebGL) rail only. */
.rail-stage.has-3d .rail-card .ph-img { display: none; }
.footer-links a { display: inline-block; padding: 4px 0; }

@media (max-width: 768px) {
  /* Sport rail: one swipeable row instead of 11 stacked full-width cards. */
  .rail-track {
    flex-direction: row; gap: 14px; padding: 0 20px 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .rail-track::-webkit-scrollbar { display: none; }
  .rail-card { width: 62vw; max-width: 260px; flex: 0 0 auto; scroll-snap-align: start; }
  .rail-card .ph { margin-bottom: 12px; }
  .rail-heading::after {
    content: 'Swipe for all eleven \2192'; display: block; margin-top: 10px;
    font-size: 13px; font-weight: 600; color: var(--white-62);
  }

  /* Content labels that were 9.5–10.5px. */
  .ac-proof li, .ac-proof.is-seq li { font-size: 11.5px; letter-spacing: 1px; }
  .sp-tag { font-size: 11.5px; }
  .sp-milestones > summary { font-size: 13px; padding-block: 10px; }

  /* Carousel dots: same 8px dot, 32px tap area. */
  .eg-dots { gap: 0; }
  .eg-dot { box-sizing: content-box; padding: 12px; background-clip: content-box; }

  .footer-links--sports { columns: 2; column-gap: 16px; }
  .footer-links--sports li { break-inside: avoid; }
}

/* ---------- Programs right column: character + spacing (2026-11-12) ----------
   Two quiet touches from the tactics-board idea, nothing more:
   1. the headline's key word (the *word* in the sport's hero.h1) gets an
      orange chalk underline that draws itself when the block arrives;
   2. a big outline number per block, like the home page's watermark type.
   Spacing: blocks start at the top instead of centring their content, so
   no dead gap opens under a campus divider. */
.programs-right .program-block { position: relative; justify-content: flex-start; min-height: 64vh; padding-top: 56px; }
.prog-divider + .program-block { padding-top: 28px; }
.programs-right .program-block h2.h-lg { margin-bottom: 18px; }
.programs-left .sport-name-stack { height: 1.34em; } /* room for descenders: g, y */
.program-block::after {
  content: attr(data-no);
  position: absolute; top: 28px; right: 40px;
  font-size: clamp(6rem, 10vw, 9.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none; z-index: 0;
}
.program-block > * { position: relative; z-index: 1; }
.program-head-link em {
  font-style: normal;
  white-space: nowrap;
  padding-bottom: 0.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 18 3, 34 12, 52 7 S 86 3, 100 7 S 114 9, 117 5' fill='none' stroke='%23F26522' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 0% 0.3em;
  transition: background-size 0.9s var(--ease) 0.2s;
}
.program-block.is-in .program-head-link em { background-size: 100% 0.3em; }
@media (max-width: 768px) {
  .program-block::after { top: 22px; right: 16px; font-size: 4.6rem; }
  .prog-divider + .program-block { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .program-head-link em { transition: none; background-size: 100% 0.3em; }
}

/* ---------- Programs: one sheet per campus (2026-11-12) ----------
   The site's section pattern (rounded-top sheets that slide over the one
   before: home "Beyond the score", About campus, rental) applied per
   campus group, right column only so the sticky board is never cut.
   Navy family only: a paper sheet beside the navy board split the page. */
.programs-right { border-left: none; }
.prog-sheet {
  position: relative;
  border-radius: 36px 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 36px;
}
.prog-sheet + .prog-sheet { margin-top: -36px; box-shadow: 0 -26px 44px -30px rgba(0, 0, 0, 0.7); }
.prog-sheet--saibaba { background: #0D2244; }
.prog-sheet--thudiyalur { background: #10284D; }
.prog-sheet--both {
  background:
    radial-gradient(70% 40% at 100% 0%, rgba(242, 101, 34, 0.12), rgba(242, 101, 34, 0) 70%),
    #132C51;
  padding-bottom: 0;
}
.prog-sheet .prog-divider { padding-top: 44px; }
.prog-sheet > .program-block:last-of-type { border-bottom: none; }
.prog-sheet--both .prog-soon { border-top: 1px solid var(--white-15); }
@media (max-width: 768px) {
  .prog-sheet { border-radius: 28px 28px 0 0; padding-bottom: 28px; }
  .prog-sheet + .prog-sheet { margin-top: -28px; }
  .prog-sheet .prog-divider { padding-top: 34px; }
}

/* ---------- Programs hero headline (2026-11-12) ----------
   Same Inter as everywhere; the poster treatment from the home hero
   (heavy, uppercase, tight) on the short line, a quieter second line,
   and "open gym time" crossed out with an orange chalk scribble that
   draws on load, the way a coach would on the board below. */
.prog-title { margin: 0; color: #fff; }
.prog-title-big {
  display: block;
  font-size: clamp(3.4rem, 8.4vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.88;
}
.prog-title-sub {
  display: block;
  margin-top: 22px;
  max-width: 17ch;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: rgba(255, 255, 255, 0.92);
}
.prog-strike {
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 40 9, 80 13, 120 10 S 180 8, 197 11 M8 18 C 60 12, 130 16, 192 9' fill='none' stroke='%23F26522' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 55% / 0% 0.55em;
  transition: background-size 0.8s var(--ease) 0.9s;
}
.prog-title.is-in .prog-strike { background-size: 100% 0.55em; }
@media (prefers-reduced-motion: reduce) {
  .prog-strike { transition: none; background-size: 100% 0.55em; }
}


/* ===================================================================
   PHONE RAIL (2026-11-26): swipe row. Cards with no photo yet carry the
   line-art object on the orange card (same language as the hero poster);
   --t (set in js/scroll.js phoneRail) drives parallax + lift.
   =================================================================== */
@media (max-width: 768px) {
  .rail-card { --t: 0; transition: none; }
  .rail-card .ph { aspect-ratio: 4 / 5 !important; border-radius: 18px; }
  .rail-card .ph-img { transform: translateX(calc(var(--t) * -9%)) scale(1.18); }
  .rail-card .ph:empty::after { content: none; }
  .rail-card .ph:empty::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--art) center 46% / 78% no-repeat;
    transform: translateX(calc(var(--t) * -16%)) rotate(calc(var(--t) * 10deg)) scale(calc(1 - var(--t) * var(--t) * 0.12));
    filter: drop-shadow(0 14px 18px rgba(8, 24, 47, 0.35));
  }
  .rail-card[data-sport3d="football"] .ph { --art: url('../assets/programs-line/football.webp'); }
  .rail-card[data-sport3d="cricket"] .ph { --art: url('../assets/programs-line/cricket.webp'); }
  .rail-card[data-sport3d="basketball"] .ph { --art: url('../assets/programs-line/basketball.webp'); }
  .rail-card[data-sport3d="badminton"] .ph { --art: url('../assets/programs-line/badminton.webp'); }
  .rail-card[data-sport3d="chess"] .ph { --art: url('../assets/programs-line/chess.webp'); }
  .rail-card[data-sport3d="silambam"] .ph { --art: url('../assets/programs-line/silambam.webp'); }
  .rail-card .ph::after { z-index: 2; }
  .rail-card[data-sport3d="skating"] .ph:empty::after { content: attr(data-label); }
}


/* ===================================================================
   PHONE SCROLL MOTION helpers (2026-11-26). Only match on a phone AND
   when js/scroll.js phoneScroll() has added html.ph-motion, so desktop
   and no-JS / reduced-motion phones are untouched.
   =================================================================== */
@media (max-width: 768px) {
  html.ph-motion .ac-card { --wipe: 0; --rule: 1; }
  html.ph-motion .ac-shot::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: var(--orange);
    transform: scaleX(var(--wipe)); transform-origin: 100% 50%;
  }
  html.ph-motion .ac-card::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--orange);
    transform: scaleX(var(--rule)); transform-origin: 0 50%;
  }
  html.ph-motion .hp-card { will-change: transform; }
  .closer-cta-ph { margin-top: 26px; align-self: flex-start; }
}


/* PHONE RAIL drawn in code (js/rail-phone.js). The canvas floats over the
   swipe row; cards turn into navy studio panels and drop their photos. */
.rail-phone-canvas { position: absolute; z-index: 4; pointer-events: none; }
@media (max-width: 768px) {
  .rail-stage { position: relative; }
  .rail-card.has-code .ph {
    background:
      radial-gradient(70% 55% at 50% 38%, rgba(242, 101, 34, 0.42), transparent 70%),
      linear-gradient(180deg, #0f2d57 0%, #0a1e3c 100%);
  }
  .rail-card.has-code .ph-img { display: none; }
  .rail-card.has-code .ph:empty::before,
  .rail-card.has-code .ph:empty::after { content: none !important; }
}


/* PHONE RAIL image fallback (no WebGL on this phone): the pre-rendered
   line-art drawings on the same navy panels as the live version. */
@media (max-width: 768px) {
  .rail-stage.rail-art .rail-card .ph {
    --t-art: 0;
    background:
      radial-gradient(70% 55% at 50% 38%, rgba(242, 101, 34, 0.42), transparent 70%),
      linear-gradient(180deg, #0f2d57 0%, #0a1e3c 100%);
  }
  .rail-stage.rail-art .rail-card .ph-img { display: none; }
  .rail-stage.rail-art .rail-card .ph { overflow: hidden; }
  /* let the browser glide --rv between scroll readings */
  @property --rv { syntax: '<number>'; inherits: true; initial-value: 1; }
  .rail-stage.rail-art .rail-card:nth-child(n+3) { transition: --rv 0.32s cubic-bezier(0.22, 0.61, 0.36, 1); }
  /* Hologram reveal built from transforms only (nothing is re-painted while
     swiping): .holo slides up from the bottom, clipping its own overflow,
     while .holo-art slides the opposite way so the drawing stays put. The
     scan line rides the top edge of .holo. js/scroll.js injects the spans. */
  .rail-stage.rail-art .rail-card .ph::before { content: none; }
  .rail-stage.rail-art .rail-card:not([data-sport3d="skating"]) .ph::after { content: none !important; }
  .rail-stage.rail-art .rail-card .holo,
  .rail-stage.rail-art .rail-card .holo-art,
  .rail-stage.rail-art .rail-card .holo-line { position: absolute; pointer-events: none; }
  .rail-card .holo { display: none; }
  .rail-stage.rail-art .rail-card .holo {
    display: block; inset: 0; overflow: hidden; z-index: 2;
    transform: translate3d(0, calc((1 - var(--rv, 1)) * 100%), 0);
    will-change: transform;
  }
  .rail-stage.rail-art .rail-card .holo-art {
    inset: 0;
    background: var(--art) center 46% / 78% no-repeat;
    transform: translate3d(calc(var(--t, 0) * -8%), calc((1 - var(--rv, 1)) * -100%), 0);
    will-change: transform;
  }
  .rail-stage.rail-art .rail-card .holo-line {
    left: 0; right: 0; top: 0; height: 46px;
    background: linear-gradient(180deg, #ffb183 0, #ffb183 2px, rgba(242, 101, 34, 0.3) 2px, transparent 100%);
    opacity: clamp(0, calc((var(--rv, 1) * (1 - var(--rv, 1))) * 40), 1);
  }
  .rail-stage.rail-art .rail-card[data-sport3d="swimming"] .ph { --art: url('../assets/programs-line/swimming.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="aqua-fitness"] .ph { --art: url('../assets/programs-line/aqua-fitness.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="table-tennis"] .ph { --art: url('../assets/programs-line/table-tennis.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="pickleball"] .ph { --art: url('../assets/programs-line/pickleball.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="football"] .ph { --art: url('../assets/programs-line/football.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="cricket"] .ph { --art: url('../assets/programs-line/cricket.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="basketball"] .ph { --art: url('../assets/programs-line/basketball.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="badminton"] .ph { --art: url('../assets/programs-line/badminton.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="chess"] .ph { --art: url('../assets/programs-line/chess.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="silambam"] .ph { --art: url('../assets/programs-line/silambam.webp'); }
  .rail-stage.rail-art .rail-card[data-sport3d="skating"] .ph::before { content: none; }
  .rail-stage.rail-art .rail-card[data-sport3d="skating"] .ph::after { content: attr(data-label) !important; }
}

/* PHONE: events timeline cards slide in from the side; while off to the
   side they stretched the page wider than the screen (page shrank, nav
   burger cut off). Clip them. */
@media (max-width: 768px) {
  .timeline { overflow-x: clip; }
}

/* PHONE, very narrow (320-360px): logo + wordmark + button + burger did not
   fit, so the burger was pushed half off-screen. Drop the wordmark. */
@media (max-width: 360px) {
  .nav-wordmark { display: none; }
  .nav-burger { flex-shrink: 0; }
}


/* ===== PHONE: programs hero sat under the nav =====
   `.container` (padding: 0 20px) came later in the file and wiped the
   hero's top padding, so the title started behind the nav bar. */
@media (max-width: 768px) {
  .prog-hero.container { padding-top: calc(var(--nav-h, 75px) + 36px); padding-bottom: 32px; }
}
