/* ==========================================================================
   Royal York FC — main stylesheet
   Light, warm, editorial. Navy + cream + marigold, with program "house" colours.
   ========================================================================== */

:root {
  /* Brand */
  --ink: #0b1f3a;
  --ink-2: #26395a;
  --muted: #5a6880;
  --royal: #0a4d8c;          /* club blue (sampled from crest) */
  --royal-700: #083d70;
  --royal-100: #e4ecf6;
  --crown: #c7b577;          /* crest gold */
  --gold: #efb13a;           /* marigold accent */
  --gold-700: #a8740f;
  --gold-100: #fbecc9;

  /* Surfaces */
  --cream: #fbf6ec;
  --cream-2: #f3eadb;
  --paper: #fffdf8;
  --white: #ffffff;
  --grass: #fbeee3;
  --grass-2: #f3e4d6;
  --line: rgba(11, 31, 58, 0.12);
  --line-strong: rgba(11, 31, 58, 0.22);

  /* Program "house" colours */
  --cat-rec: #2e7d4f;
  --cat-comp: #0a4d8c;
  --cat-train: #d9951a;
  --cat-event: #d9533d;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape */
  --radius: 22px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-card: 0 1px 0 rgba(11, 31, 58, 0.05), 0 18px 36px -24px rgba(11, 31, 58, 0.35);
  --shadow-lift: 0 1px 0 rgba(11, 31, 58, 0.06), 0 26px 44px -26px rgba(11, 31, 58, 0.45);

  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Display type */
.display, h1, h2, h3 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
h2 { font-size: clamp(38px, 4.4vw, 66px); }
h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.12; }
h2 em, h1 em, h3 em { font-style: italic; font-weight: 400; color: var(--royal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--royal);
}
.eyebrow::before {
  content: ""; width: 14px; height: 18px; flex: none;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); /* little shield */
}
.eyebrow--light { color: var(--gold); }

.hero__eyebrow.eyebrow::before{
  background: #ead3a5;
}
.lead { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 650;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { --btn-bg: var(--royal); --btn-bd: var(--royal); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(251, 246, 236, .4); }
.btn--light:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--royal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link svg { width: 16px; height: 16px; }

.icon { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--cream);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(251, 246, 236, .97); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none;
    background: #094d8c;
    padding: 8px;
    border-radius: 4px; }
/* Client-supplied logo (assets/images/logo.jpg, 290 × 88) */
.brand__logo { display: block; height: 52px; width: auto; }
@media (max-width: 960px) { .brand__logo { height: 42px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: static; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  transition: background-color .2s;
}
.nav__link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--cream-2); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.site-header .btn { margin-left: 10px; min-height: 46px; padding: 0 20px; }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(11, 31, 58, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.15fr); gap: 40px; padding-block: 36px 40px; }
.mega__inner--compact { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(280px, 1.15fr); }
.mega__col h4 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.mega__col h4 i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--royal)); }
.mega__col li + li { margin-top: 2px; }
.mega__col a {
  display: block; padding: 7px 0; text-decoration: none;
  font-family: var(--font-display); font-size: 19px; line-height: 1.25;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  transition: color .2s, transform .2s var(--ease);
}
.mega__col a:hover { color: var(--royal); transform: translateX(4px); }
.mega__col a small { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--muted); letter-spacing: 0; }
.mega__promo {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 112px 28px 28px; min-height: 240px;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none;
}
.mega__promo img { position: absolute; width: 132px; right: -26px; top: -30px; transform: rotate(-12deg); transition: transform .6s var(--ease); }
.mega__promo:hover img { transform: rotate(40deg); }
.mega__promo p { margin: 0 0 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mega__promo strong { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.08; max-width: 14ch; font-variation-settings: "SOFT" 30, "WONK" 0; }
.mega__promo span { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.mega__promo span svg { width: 16px; height: 16px; }

/* Small dropdown */
.drop {
  position: absolute; top: calc(100% - 10px); min-width: 250px; padding: 10px;
  background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-lift); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav__item--drop { position: relative; }
.nav__item.is-open > .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 550; font-size: 15px; }
.drop a:hover { background: var(--cream); color: var(--royal); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.drawer__body { overflow-y: auto; padding: 12px var(--gutter) 32px; flex: 1; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer__link {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 0;
  font-family: var(--font-display); font-size: 26px; cursor: pointer; list-style: none; text-decoration: none;
  font-variation-settings: "SOFT" 30, "WONK" 0; border-bottom: 1px solid var(--line);
}
.drawer details summary { border-bottom: 0; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 20px; height: 20px; transition: transform .25s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 16px; }
.drawer details a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink-2); font-size: 17px; }
.drawer details h5 { margin: 12px 0 4px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drawer__foot { padding: 16px var(--gutter) 24px; border-top: 1px solid var(--line); flex: none; }
.drawer__foot .btn { width: 100%; }

@media (max-width: 1360px) {
  .site-header__inner > .btn { display: none; }
  .nav__link { padding: 0 11px; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   3D ball canvas + anchors
   -------------------------------------------------------------------------- */
.ball-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 40; pointer-events: none;
  opacity: 0; transition: opacity .6s var(--ease);
}
.ball-canvas.is-ready { opacity: 1; }
[data-ball-stop] { position: relative; }
.ball-fallback { width: 100%; height: 100%; object-fit: contain; }
.has-ball-3d [data-ball-live] .ball-fallback { visibility: hidden; }

/* --------------------------------------------------------------------------
   HERO: a full-screen pitch split 50/50. The ball sits on its
   penalty spot in the left half, the headline fills the right half. The header
   floats over it (transparent at the top of the home page). site.js sizes the
   ball to the left half and the "Royal York" watermark scales with it.
   -------------------------------------------------------------------------- */
.page-home .site-header:not(.is-scrolled) { background: transparent; }

.hero {
  --ball-d: clamp(240px, min(36vw, calc((100svh - 200px) * .74)), 700px); /* refined by site.js */
  --frame: 14px;
  --frame-b: clamp(38px, 5vh, 48px); /* bottom touchline sits higher so the scroll arrow on it isn't cut off */
  position: relative;
  min-height: max(100svh, 620px);
  margin-top: calc(var(--header-h) * -1);
  /* Padding matches the touchlines, so the stage is exactly the pitch and everything
     centred in it (ball, penalty area, headline) sits on the pitch's true centre line */
  padding-top: calc(var(--header-h) + var(--frame));
  padding-bottom: var(--frame-b);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: clip;
  isolation: isolate;
}

/* Touchlines frame the hero, starting just below the header */
.hero__frame { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--ink); }
.hero__frame > * { position: absolute; border: 1.5px solid currentColor; opacity: .11; }
.hero__touch { inset: calc(var(--header-h) + var(--frame)) var(--gutter) var(--frame-b); border-radius: 4px; }

/* ---- Left half ---- */
.hero__stage {
  --cx: calc(var(--gutter) + (100% - var(--gutter) - 32px) / 2); /* ball centre: middle of the half, inside the touchline */
  position: relative; grid-column: 1;
  display: grid; place-items: center;
  padding: 0 32px 0 var(--gutter);
  min-height: calc(var(--ball-d) * 1.1);
  touch-action: pan-y; /* quick repeated taps juggle the ball instead of zooming the page */
}

/* Penalty area, six-yard box and the "D", all measured from the ball on its spot */
.pitch { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--ink); }
.pitch > * { position: absolute; border: 1.5px solid currentColor; opacity: .11; }
.pitch__box {
  left: var(--gutter); top: 50%; transform: translateY(-50%); border-left: 0;
  width: calc(var(--cx) + var(--ball-d) * .3 - var(--gutter));
  height: min(calc(var(--ball-d) * 1.9), calc(100% - 64px));
}
.pitch__six {
  left: var(--gutter); top: 50%; transform: translateY(-50%); border-left: 0;
  width: calc((var(--cx) + var(--ball-d) * .3 - var(--gutter)) * .34);
  height: min(calc(var(--ball-d) * .86), 44%);
}
.pitch__arc {
  left: calc(var(--cx) - var(--ball-d) * .62); top: 50%; transform: translateY(-50%);
  width: calc(var(--ball-d) * 1.24); aspect-ratio: 1; border-radius: 50%;
  clip-path: inset(0 0 0 74.2%); /* only the part outside the box: the "D" */
}
.pitch__circle { display: none; }

/* The wordmark is a quiet watermark stacked around the ball */
.hero__words {
  opacity: .1;
  width: 100%;
  display: grid; grid-template-columns: 1fr;
  grid-template-rows: auto calc(var(--ball-d) * .34) auto;
  font-family: var(--font-display);
  font-size: calc(var(--ball-d) * 0.42);
  font-weight: 500; line-height: .8; letter-spacing: -0.045em;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 144;
  color: var(--ink);
  user-select: none;
}
.hero__word { display: block; padding-bottom: .12em; }
.hero__word--l { grid-row: 1; justify-self: start; }
.hero__word--r { grid-row: 3; justify-self: end; color: var(--royal); font-style: italic; font-weight: 400; letter-spacing: -0.035em; }

.hero__ball {
  position: absolute; left: var(--cx); top: 50%;
  width: var(--ball-d); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 2; border-radius: 50%;
}

/* ---- Right half ---- */
.hero__content {
  position: relative; grid-column: 2; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 calc(var(--gutter) + clamp(28px, 3.5vw, 64px)) 0 clamp(36px, 5vw, 96px);
}
/* Club line runs vertically in the right-hand margin, outside the touchline, level with the ball */
.hero__eyebrow {
  position: absolute; top: 50%; right: calc(var(--gutter) / 2);
  transform: translate(50%, -50%);
  writing-mode: vertical-rl;
  white-space: nowrap; margin: 0;
    color: #a9a9a9;
}
.hero__title { font-size: clamp(40px, 5vw, 84px); line-height: .98; letter-spacing: -0.035em; margin-bottom: clamp(18px, 2.6vh, 32px); }
.hero__title span { display: block; color: var(--royal); font-style: italic; font-weight: 400; }
.hero__lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 44ch; margin-bottom: clamp(22px, 3.2vh, 36px); }

/* Keep-ups scoreboard */
.keepups {
  position: absolute; left: 50%; top: calc(100% + 12px); z-index: 3;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 8px) scale(.96);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.keepups.is-on { opacity: 1; transform: translate(-50%, 0); }
.keepups__label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 246, 236, .72); }
.keepups__count {
  min-width: 1.3em; text-align: center; display: inline-block;
  font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 30, "WONK" 0;
}
.keepups__best { padding: 7px 12px; border-radius: 999px; background: rgba(251, 246, 236, .1); font-size: 12px; font-weight: 600; }
.keepups__best b { color: var(--gold); margin-left: 2px; }
.keepups.is-done .keepups__count { display: none; }
.keepups.is-done .keepups__label {
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 18px;
  letter-spacing: 0; text-transform: none; color: var(--cream);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.keepups.is-best .keepups__label { color: var(--gold); }

/* Floating touch count + celebration confetti */
.keepup-pop {
  position: fixed; z-index: 80; pointer-events: none;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(44px, 4.4vw, 64px); line-height: 1;
  color: var(--royal); -webkit-text-stroke: 8px var(--cream); paint-order: stroke fill;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  transform: translate(-50%, -50%);
}
.confetti { position: fixed; z-index: 80; pointer-events: none; width: 12px; height: 14px; }
.confetti--pennant { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.confetti--square { width: 9px; height: 9px; border-radius: 2px; }

/* Entrance */
.js .hero__word, .js .hero__title, .js .hero__lede, .js .hero__actions, .js .hero__eyebrow { opacity: 0; }
.is-loaded .hero__word--l { animation: word-in-l 1.1s var(--ease) .15s both; }
.is-loaded .hero__word--r { animation: word-in-r 1.1s var(--ease) .15s both; }
.is-loaded .hero__title { animation: fade-up .9s var(--ease) .45s both; }
.is-loaded .hero__lede { animation: fade-up .9s var(--ease) .6s both; }
.is-loaded .hero__actions { animation: fade-up .9s var(--ease) .72s both; }
.is-loaded .hero__eyebrow { animation: fade-in 1s var(--ease) .9s both; }
@keyframes word-in-l { from { opacity: 0; transform: translateX(-8vw); } to { opacity: 1; transform: none; } }
@keyframes word-in-r { from { opacity: 0; transform: translateX(8vw); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Sits on the bottom touchline, centred */
.scroll-cue {
  position: absolute; left: 50%; bottom: var(--frame-b); transform: translate(-50%, 50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); border: 1.5px solid var(--line-strong);
  color: var(--ink); z-index: 3; text-decoration: none;
}
.scroll-cue svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: nudge 2.2s var(--ease) infinite; }
}
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }

/* Tablet portrait + phones: stack the ball above the message */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; --ball-d: min(66vw, 40vh); --frame: 10px; --frame-b: 16px; padding-bottom: 48px; }
  .hero__stage { --cx: 50%; padding: 52px var(--gutter) 60px; min-height: auto; }
  .hero__words { grid-template-rows: auto calc(var(--ball-d) * 0.84) auto; font-size: clamp(72px, 23vw, 140px); }
  .pitch__box, .pitch__six, .pitch__arc { display: none; }
  .pitch__circle { display: block; left: 50%; top: 50%; height: calc(var(--ball-d) * 1.46); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
  .hero__content { grid-column: 1; padding: 0 var(--gutter); }
  .hero__title { font-size: clamp(40px, 10vw, 60px); }
  .hero__eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hero__eyebrow::before { display: none; }
  .keepups { top: auto; bottom: calc(100% + 10px); }
  .scroll-cue { display: none; }
}

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(88px, 11vw, 168px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head p:not(.eyebrow) { margin-top: 20px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.section-head--split p:not(.eyebrow) { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   INTRO
   -------------------------------------------------------------------------- */
.intro { overflow: clip; }
.intro__grid { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; }
.intro__text { position: relative; z-index: 1; max-width: min(600px, 54vw); }
@media (max-width: 860px) { .intro__text { max-width: none; } }
.intro__text h2 { margin-bottom: 30px; }
.intro__text p:not(.eyebrow):not(.lead) { color: var(--ink-2); }
.intro__ball {
  --d: min(96vh, 64vw, 1000px);
  position: absolute; top: 50%;
  left: calc(50% + 50vw - var(--d) * 0.58); /* bleeds off the right edge of the viewport */
  width: var(--d); aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.intro__ball .ball-fallback { position: absolute; inset: 0; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.pillars li {
  display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 21px; line-height: 1.2; font-variation-settings: "SOFT" 30, "WONK" 0;
}
.pillars span { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold-700); }

@media (max-width: 860px) {
  .intro { padding-top: 0; }
  .intro__grid { flex-direction: column; align-items: stretch; min-height: 0; }
  /* On narrow screens the intro shows a static ball peeking in from the right edge */
  .intro__ball { position: relative; top: auto; left: auto; transform: none; width: auto; aspect-ratio: auto; height: 64vw; margin: 0 calc(var(--gutter) * -1) 20px; overflow: hidden; }
  .intro__ball .ball-fallback { inset: 0 -24vw auto auto; width: 64vw; height: 64vw; }
  .intro__text { margin-top: 0; }
}
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FIND MY PROGRAM
   -------------------------------------------------------------------------- */
.finder { position: relative; background: var(--grass); overflow: clip; isolation: isolate; }
.finder__grass {
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--grass) 0 110px, var(--grass-2) 110px 220px);
}
.finder__grass::after { /* soft fade into the cream above/below */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--cream), rgba(251, 246, 236, 0) 90px, rgba(251, 246, 236, 0) calc(100% - 90px), var(--cream));
}
.finder__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.finder__zone { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.finder__lines { position: absolute; inset: 4%; color: var(--white); }
.finder__lines > * { position: absolute; border: 2px solid currentColor; opacity: .85; }
.finder__lines .c { inset: 0; border-radius: 50%; }
.finder__lines .h { left: 50%; top: -30%; bottom: -30%; border-width: 0 0 0 2px; }
.finder__lines .s { left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); border: 0; }
.finder__ball { width: 52%; aspect-ratio: 1; }
.finder__panel {
  background: var(--paper); border-radius: 28px; padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-card);
}
.finder__panel > p:not(.eyebrow) { color: var(--ink-2); max-width: 52ch; }
.finder__panel h2 { font-size: clamp(34px, 3.6vw, 56px); margin-bottom: 18px; }

.finder-form { margin: 30px 0 26px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.finder-form__sentence {
  font-family: var(--font-display); font-variation-settings: "SOFT" 30, "WONK" 0;
  font-size: clamp(22px, 2.05vw, 31px); line-height: 1.75; letter-spacing: -0.01em; margin: 0;
}
.pick { position: relative; display: inline-block; vertical-align: baseline; }
.pick select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-style: italic; color: var(--royal);
  background: transparent; border: 0; border-bottom: 2px solid var(--gold);
  padding: 0 1.05em 0 .1em; margin: 0 .08em; line-height: 1.2; cursor: pointer;
  border-radius: 0;
}
.pick select:hover { background: var(--gold-100); }
.pick select:focus-visible { outline-offset: 2px; }
.pick::after {
  content: ""; position: absolute; right: .3em; top: 50%; width: .32em; height: .32em;
  border-right: 2px solid var(--gold-700); border-bottom: 2px solid var(--gold-700);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.pick.is-set select { color: var(--ink); }
.finder__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.finder__count { margin: 0; font-size: 15px; color: var(--muted); }
.finder__count strong { font-family: var(--font-display); font-size: 30px; color: var(--ink); font-weight: 600; margin-right: 4px; vertical-align: -2px; }
.link-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--ink); }
.finder__foot .btn { margin-left: auto; }

@media (max-width: 960px) {
  .finder__grid { grid-template-columns: 1fr; }
  .finder__zone { width: min(420px, 78vw); margin-inline: auto; }
}
@media (max-width: 560px) {
  .finder__foot .btn { margin-left: 0; width: 100%; }
}

/* --------------------------------------------------------------------------
   SNAPSHOT + PATHWAY
   -------------------------------------------------------------------------- */
.snapshot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); margin-bottom: clamp(48px, 6vw, 88px); }
.snapshot__cols p:not(.lead) { color: var(--ink-2); }
@media (max-width: 860px) { .snapshot__cols { grid-template-columns: 1fr; } }

.pathway {
  position: relative; border-radius: 32px; background: var(--paper);
  padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow-card); overflow: hidden;
}
.pathway__intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: end; margin-bottom: 16px; }
.pathway__intro p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.pathway__track { position: relative; aspect-ratio: 1200 / 400; }
.pathway__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pathway__svg--v { display: none; }
.pathway__base { fill: none; stroke: var(--line-strong); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; }
.pathway__done { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.pathway__ball { width: 64px; height: 64px; position: absolute; left: 0; top: 0; margin: -32px 0 0 -32px; will-change: transform; filter: drop-shadow(0 8px 6px rgba(11, 31, 58, .14)); }
.stop {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; text-align: center; width: 150px;
}
.stop__badge {
  position: relative; width: 50px; height: 58px; display: grid; place-items: center;
  color: var(--c); transition: transform .5s var(--ease);
}
.stop__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stop__badge { --shield-fill: var(--paper); }
.stop__badge b { position: relative; font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--c); transition: color .4s var(--ease); margin-top: -4px; }
.stop.is-on .stop__badge { transform: scale(1.1); --shield-fill: var(--c); }
.stop.is-on .stop__badge b { color: var(--white); }
.stop__label { position: absolute; top: calc(100% + 10px); width: 100%; }
.stop--up .stop__label { top: auto; bottom: calc(100% + 10px); }
.stop__label strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.1; font-variation-settings: "SOFT" 30, "WONK" 0; }
.stop__label span { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }

@media (max-width: 860px) {
  .pathway__intro { grid-template-columns: 1fr; }
  .pathway__track { aspect-ratio: 300 / 760; max-width: 420px; margin-inline: auto; }
  .pathway__svg--h { display: none; }
  .pathway__svg--v { display: block; }
  .stop { flex-direction: row; width: auto; transform: translate(-25px, -50%); gap: 14px; text-align: left; }
  .stop__label, .stop--up .stop__label { position: static; width: 150px; }
  .stop--flip { flex-direction: row-reverse; transform: translate(calc(-100% + 25px), -50%); text-align: right; }
  .pathway__ball { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
}

/* --------------------------------------------------------------------------
   CURRENT REGISTRATIONS
   -------------------------------------------------------------------------- */
.regs { background: var(--paper); }
.regs__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: -12px 0 28px; padding: 14px 18px; border-radius: 16px; background: var(--cream);
  font-size: 14.5px;
}
.regs__bar[hidden] { display: none; }
.regs__bar > span { font-weight: 600; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600;
}
.regs__bar .link-btn { margin-left: auto; }
.regs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1080px) { .regs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .regs__grid { grid-template-columns: 1fr; } }
.regs__more { display: flex; justify-content: center; margin-top: 36px; }
.regs__empty { text-align: center; padding: 48px 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.regs__empty[hidden] { display: none; }

.pcard {
  --c: var(--cat-rec);
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.pcard[data-cat="competitive"] { --c: var(--cat-comp); }
.pcard[data-cat="training"] { --c: var(--cat-train); }
.pcard[data-cat="event"] { --c: var(--cat-event); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 24px 0; }
.pennant {
  display: inline-flex; align-items: center; height: 26px; padding: 0 18px 0 12px;
  background: var(--c); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%);
}
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--s, var(--cat-rec)); }
.status[data-s="fast"] { --s: var(--gold); }
.status[data-s="wait"] { --s: var(--cat-event); }
.status[data-s="soon"] { --s: var(--muted); }
.pcard__body { padding: 16px 24px 22px; flex: 1; display: flex; flex-direction: column; }
.pcard h3 { font-size: 25px; margin-bottom: 6px; }
.pcard__who { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.pcard__meta { display: grid; gap: 10px; padding-top: 16px; border-top: 1.5px dashed var(--line-strong); margin-bottom: 20px; }
.pcard__meta li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.4; }
.pcard__meta svg { width: 18px; height: 18px; color: var(--c); margin-top: 1px; }
.pcard__meta b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spaces { margin-top: auto; }
.spaces__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.spaces__row span { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.spaces__bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.spaces__bar i { height: 8px; border-radius: 2px; background: var(--cream-2); }
.spaces__bar i.on { background: var(--c); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--cream); }
.pcard__foot .btn { min-height: 42px; padding: 0 18px; font-size: 12px; }
.pcard__foot small { font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   NEWS
   -------------------------------------------------------------------------- */
.news__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.news__intro p:not(.eyebrow) { color: var(--ink-2); margin: 20px 0 30px; max-width: 46ch; }
.news-card { border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.news-card a { display: block; text-decoration: none; }
.news-card__art { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.news-card__art svg { width: 100%; height: 100%; }
.news-card__body { padding: clamp(22px, 3vw, 36px); }
.news-card__body h3 { font-size: clamp(26px, 2.4vw, 36px); margin: 12px 0 18px; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cat-event); }
@media (max-width: 860px) { .news__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   SPONSORS
   -------------------------------------------------------------------------- */
.sponsors { background: var(--ink); color: var(--cream); overflow: clip; }
.sponsors h2 { color: var(--cream); }
.sponsors h2 em { color: var(--gold); }
.sponsors .section-head--split p:not(.eyebrow) { color: rgba(251, 246, 236, .78); }
.sponsors__label { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.sponsors__label::after { content: ""; flex: 1; height: 1px; background: rgba(251, 246, 236, .18); }
.sponsors__cta { margin-top: 44px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.sponsor {
  flex: none; width: 300px; height: 150px; border-radius: 20px;
  background: var(--cream); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 24px;
  text-decoration: none;
}
.sponsor strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; font-variation-settings: "SOFT" 30, "WONK" 0; }
.sponsor span { margin-top: 6px; font-size: 13px; color: var(--muted); }
.sponsor--slot { background: transparent; border: 1.5px dashed rgba(251, 246, 236, .3); color: rgba(251, 246, 236, .7); }
.sponsor--slot strong { font-size: 19px; }
.sponsor--slot span { color: rgba(251, 246, 236, .55); }

/* --------------------------------------------------------------------------
   INSTAGRAM
   -------------------------------------------------------------------------- */
.insta__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.insta__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.insta__tile { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: block; }
.insta__tile svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.insta__tile:hover svg { transform: scale(1.05); }
.insta__tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11, 31, 58, .08);
}
@media (max-width: 960px) { .insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: #081a33; color: rgba(251, 246, 236, .82); padding-top: clamp(64px, 8vw, 110px); position: relative; z-index: 45; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .8fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(251, 246, 236, .12); }
.footer__brand { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.footer__brand .brand__logo { height: 58px; }
.footer__brand blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--cream); font-style: italic; font-weight: 400; font-variation-settings: "SOFT" 30, "WONK" 0; }
.footer__brand figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.site-footer h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; color: rgba(251, 246, 236, .82); transition: color .2s; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer__contact p { margin: 0 0 10px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(251, 246, 236, .25); display: grid; place-items: center; }
.footer__social a:hover { background: var(--cream); color: var(--ink); text-decoration: none; }
.footer__social svg { width: 18px; height: 18px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 26px 34px; font-size: 13.5px; color: rgba(251, 246, 236, .6); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal li + li { margin-top: 0; }
.footer__legal a { color: rgba(251, 246, 236, .7); }
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   INTERIOR PAGES
   -------------------------------------------------------------------------- */
.page-hero { position: relative; overflow: clip; padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 130px); isolation: isolate; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.crumbs a:hover { color: var(--royal); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(44px, 5vw, 82px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 30px; }
.page-hero h1 em { display: block; }
.page-hero__text p:not(.eyebrow):not(.lead) { color: var(--ink-2); max-width: 60ch; }
.page-hero__scene { position: relative; aspect-ratio: 1; }
.page-hero__scene .scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__scene { touch-action: pan-y; }
.page-hero__ball { position: absolute; left: 57%; top: 63%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.page-hero .btn-row { margin-top: 30px; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__scene { width: min(520px, 100%); margin-inline: auto; order: -1; }
}

.promo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); border-radius: 28px;
  background: var(--gold); color: var(--ink);
}
.promo-strip h3 { font-size: clamp(26px, 2.6vw, 40px); }
.promo-strip p { margin: 6px 0 0; max-width: 60ch; }
.promo-strip .eyebrow { color: var(--ink); margin-bottom: 10px; }
.promo-strip .eyebrow::before { background: var(--ink); }
p { text-wrap: pretty; }
/* Pathway slider */
.slider__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.slider__nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.round-btn:hover { background: var(--ink); color: var(--cream); }
.round-btn:disabled { opacity: .35; cursor: default; background: var(--paper); color: var(--ink); }
.round-btn svg { width: 20px; height: 20px; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 26%);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.slide {
  --c: var(--cat-rec);
  scroll-snap-align: start; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  padding: 26px; display: flex; flex-direction: column; min-height: 330px;
}
.slide__art { height: 130px; margin: -26px -26px 22px; background: var(--c); position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.slide__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__num { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.slide h3 { font-size: 28px; margin: 6px 0 10px; }
.slide p { color: var(--ink-2); font-size: 15.5px; }
.slide .text-link { margin-top: auto; }

.content-slot {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; color: var(--muted);
  display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 253, 248, .6);
}
.content-slot svg { width: 22px; height: 22px; flex: none; color: var(--gold-700); margin-top: 2px; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Compact finder (interior pages) */
.finder--compact { padding-block: clamp(72px, 8vw, 120px); }
.finder--compact .finder__panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px clamp(28px, 5vw, 72px); align-items: center; }
.finder--compact .finder-form { margin: 0 0 22px; padding: 0; border: 0; }
.finder--compact .finder-form__sentence { font-size: clamp(21px, 1.8vw, 27px); }
@media (max-width: 960px) { .finder--compact .finder__panel { grid-template-columns: 1fr; } }

/* Team cards */
.tcard { --c: var(--cat-comp); }
.tcard[data-kind="academy"] { --c: var(--cat-rec); }
.tcard .pcard__who { margin-bottom: 16px; }

/* Try-out date cards */
.dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .dates { grid-template-columns: 1fr; } }
.date-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.date-card__day { grid-row: span 3; display: grid; place-items: center; width: 92px; height: 104px; border-radius: 16px; background: var(--ink); color: var(--cream); text-align: center; line-height: 1; }
.date-card__day b { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 500; }
.date-card__day span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.date-card h3 { font-size: 23px; }
.date-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.date-card .status { margin-top: 2px; }
.date-card .btn { grid-column: 1 / -1; margin-top: 14px; justify-self: start; }

.expect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .expect { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
