/* Courtside mockup — design system.
   Concept: the league is the scoreboard. Scores, records and schedules are the brand's
   proof, so numerals get display treatment; red is reserved for action and live results. */

:root {
  /* primitives: red and cream from the supplied logo (2026-09-22); ink/olive from the Wix site */
  --c-ink: #210002;
  --c-ink-raised: #34080c;
  --c-ink-line: #4d1a1e;
  --c-paper: #ffffff;
  --c-paper-raised: #f5f3f3;
  --c-paper-line: #e4dddd;
  --c-red: #d93434;       /* logo red, one step deeper: 4.68:1 with white — action on light surfaces */
  --c-red-hot: #e03a3a;   /* exact logo red: 4.54:1 on ink — action on dark surfaces */
  --c-cream: #f4f1ea;     /* logo cream — text on dark surfaces */
  --c-olive: #5b6600;     /* 6.3:1 on white — Courtside Kids accent */
  --c-lime: #d6e36a;      /* Kids accent on ink */

  /* semantic roles */
  --surface: var(--c-paper);
  --surface-raised: var(--c-paper-raised);
  --text: #1c0a0b;
  --text-muted: #5f5556;
  --line: var(--c-paper-line);
  --action: var(--c-red);
  --action-text: #ffffff;
  --focus: #1c0a0b;

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1240px;
  --radius-s: 4px;
  --radius-m: 10px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 140ms;
  --t-std: 240ms;
  --t-slow: 420ms;
}

.on-ink {
  --surface: var(--c-ink);
  --surface-raised: var(--c-ink-raised);
  --text: var(--c-cream);
  --text-muted: #d9c9ca;
  --line: var(--c-ink-line);
  --action: var(--c-red-hot);
  --action-text: #210002;
  --focus: #ffffff;
  background: var(--surface);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--text);
  font: 400 1rem/1.55 var(--font-body);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type roles ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 760;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: 0;
  margin: 0;
}
.d-xl { font-size: clamp(2.4rem, 5.6vw, 5rem); }
.d-l  { font-size: clamp(1.9rem, 3.8vw, 3.4rem); }
.d-m  { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.d-s  { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.05; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.45; max-width: 58ch; }
.prose { max-width: 64ch; }
.prose p { margin: 0 0 1em; }
.muted { color: var(--text-muted); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.footnote { font-size: .95rem; color: var(--text-muted); }
.star { color: var(--action); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--action); --fg: var(--action-text);
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 44px; padding: 0 1.15em;
  border: 2px solid var(--bg); border-radius: var(--radius-s);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { --bg: transparent; --fg: var(--text); border-color: currentColor; }
.btn-ghost:hover { background: var(--text); color: var(--surface); }
.btn-kids { --bg: var(--c-olive); --fg: #fff; }
.on-ink .btn-kids { --bg: var(--c-lime); --fg: var(--c-ink); }
.btn-s { min-height: 38px; padding: 0 .9em; font-size: .9rem; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--action); padding-bottom: 2px; }
.link-arrow:hover { color: var(--action); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nav-primary { min-width: 0; }
.brand { flex: none; display: flex; align-items: center; text-decoration: none; margin-right: clamp(8px, 2vw, 32px); }
.header-app { margin-left: auto; }
.brand img { flex: none; height: 56px; width: 56px; object-fit: contain; }
.nav-primary { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 18px); }
.nav-primary a, .nav-group > button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap;
  background: none; border: 0; border-radius: var(--radius-s); cursor: pointer;
}
.nav-primary a:hover, .nav-group > button:hover { background: var(--surface-raised); }
.nav-primary a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--action); }
.nav-ext::after { content: "↗"; font-size: .8em; margin-left: 4px; opacity: .7; }
.nav-soon { color: var(--text-muted); font-weight: 600; font-size: .98rem; padding: 0 12px; white-space: nowrap; }
.nav-group { position: relative; }
.nav-group > button::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform var(--t-fast); }
.nav-group > button[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.nav-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; padding: 8px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 18px 40px rgb(0 0 0 / .35);
  transform-origin: top left;
  animation: panel-in var(--t-std) var(--ease-out);
}
.nav-panel[hidden] { display: none; }
.nav-panel a { display: flex; width: 100%; }
.nav-panel small { display: block; color: var(--text-muted); font-weight: 400; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.site-header .menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav-primary, .header-cta { display: none; }
  .site-header .menu-toggle { display: inline-grid; }
  .site-header.open .nav-primary {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; inset: var(--menu-top, 72px) 0 0 0; z-index: 60; padding: 16px var(--gutter) 96px;
    background: var(--c-ink); overflow-y: auto;
  }
  .site-header.open .nav-primary a, .site-header.open .nav-group > button { min-height: 52px; font-size: 1.2rem; width: 100%; }
  .site-header.open .nav-panel { position: static; box-shadow: none; border: 0; padding: 0 0 8px 16px; background: none; animation: none; }
  .site-header.open .header-cta { display: inline-flex; position: fixed; left: var(--gutter); right: var(--gutter); bottom: 20px; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding-block: clamp(40px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hero-copy { display: grid; gap: clamp(14px, 2.4vh, 24px); align-content: end; }
.hero:has(.hero-h1) .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.hero-h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); overflow-wrap: anywhere; }
.rotator { position: relative; flex: 0 1 30ch; min-width: 0; height: 2.5em; overflow: hidden; font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.2; }
.rotator ul { list-style: none; margin: 0; padding: 0; }
.rotator li { position: absolute; inset: 0 0 auto 0; transform: translateY(110%); opacity: 0; transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow); }
.rotator li.is-on { transform: none; opacity: 1; }
.rotator li.is-off { transform: translateY(-110%); opacity: 0; }
.rotator-row { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
}
.icon-btn:hover { background: var(--surface-raised); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; margin-right: calc(-1 * var(--gutter)); }
.hero-media video, .hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m) 0 0 var(--radius-m); background: var(--c-ink-raised); }
.hero-media .icon-btn { position: absolute; left: 14px; bottom: 14px; background: rgb(33 0 2 / .7); color: #fff; border-color: rgb(255 255 255 / .4); }
.hero-tag { position: absolute; right: calc(var(--gutter) + 14px); top: 14px; background: var(--c-ink); color: #fff; padding: 6px 10px; border-radius: var(--radius-s); font-size: .85rem; font-weight: 600; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { margin-inline: calc(-1 * var(--gutter)); order: -1; }
  .hero-media video, .hero-media img { aspect-ratio: 16 / 11; border-radius: 0; }
  .hero-tag { right: 14px; }
}

/* ---------- scoreboard rail (signature) ---------- */
.board { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.board-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.board-controls { display: flex; gap: 8px; align-items: center; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.score {
  scroll-snap-align: start; display: grid; gap: 10px; padding: 16px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m);
  text-decoration: none; transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast);
}
.score:hover { transform: translateY(-3px); border-color: var(--action); }
.score-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
.score-row .team { font-weight: 600; line-height: 1.25; }
.score-row .pts { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2rem; line-height: 1; }
.score-row.lost .team, .score-row.lost .pts { color: var(--text-muted); }
.score-row.won .team::after { content: " ◂"; color: var(--action); }
.score-upcoming { font-weight: 700; color: var(--action); }

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 7vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 72px); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.path { position: relative; display: grid; align-content: end; gap: 16px; min-height: clamp(420px, 44vw, 580px); padding: clamp(24px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.path > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-ink); opacity: .72; }
.path:hover > img { transform: scale(1.04); }
.path .chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid rgb(255 255 255 / .45); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.path-kids { --action: var(--c-lime); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path { min-height: 520px; } }

.story { grid-column: 1 / span 7; }
.story-aside { grid-column: 9 / span 4; align-self: end; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.stat { background: var(--surface); padding: 20px; }
.stat dt { font-size: .9rem; color: var(--text-muted); }
.stat dd { margin: 4px 0 0; font-family: var(--font-display); font-stretch: 118%; font-weight: 850; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.source { margin-top: 12px; font-size: .85rem; color: var(--text-muted); }
@media (max-width: 860px) { .story, .story-aside { grid-column: 1 / -1; } }

.courts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.court { display: grid; gap: 14px; }
.court img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-m); background: var(--surface-raised); }
.court address { font-style: normal; font-size: 1.05rem; }
.court-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .courts { grid-template-columns: 1fr; } }

.beyond { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.beyond > * { background: var(--surface); padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
@media (max-width: 860px) { .beyond { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(48px, 7vw, 88px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page heads for inner pages ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 44px); }
.page-head .display { max-width: 16ch; }
.proto-note { font-size: .9rem; color: var(--text-muted); border-left: 3px solid var(--action); padding-left: 12px; max-width: 70ch; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .rotator { height: auto; }
  .rotator li { position: static; transform: none; opacity: 1; }
  .path:hover > img, .btn:hover, .score:hover { transform: none; }
}

/* ---------- mockup chrome ---------- */
.mock-bar { margin: 0; padding: 6px var(--gutter); background: #fff4c2; color: #2b2200; font-size: .85rem; font-weight: 600; text-align: center; }
.site-header { top: env(safe-area-inset-top, 0px); }
.field-inline { min-height: 40px; padding: 0 10px; border: 1px solid #b9adae; border-radius: var(--radius-s); background: #fff; color: #1c0a0b; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 90;
  background: #1c0a0b; color: #fff; padding: 12px 18px; border-radius: var(--radius-s); font-weight: 600; transition: opacity var(--t-std), transform var(--t-std) var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Courtside App: persistent header button on desktop (as on the Wix site); menu item on mobile */
.nav-app { display: none !important; }
@media (max-width: 1400px) { .header-app { font-size: .85rem; padding: 0 .7em; } }
@media (max-width: 960px) {
  .header-app { display: none; }
  .site-header.open .nav-app { display: inline-flex !important; color: var(--c-red-hot); }
}

/* Full-bleed background hero: the Wix landing's background video, kept. A flat ink scrim
   (not a gradient patch) holds text contrast over any frame of the footage. */
.hero-full { isolation: isolate; min-height: clamp(460px, calc(100svh - 190px), 760px); display: grid; align-items: end; }
.hero-full .wrap { display: block; position: relative; z-index: 1; padding-block: clamp(40px, 6vh, 72px) clamp(36px, 6vh, 64px); }
.hero-full .hero-copy { max-width: 820px; }
.hero-full .hero-h1 { font-size: clamp(2.4rem, min(5.4vw, 9vh), 5.2rem); }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--c-ink) url("img/hero-poster.jpg") center / cover no-repeat; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgb(33 0 2 / .62); }
.hero-video-btn { position: absolute; right: var(--gutter); bottom: clamp(24px, 4vw, 40px); z-index: 2; background: rgb(33 0 2 / .6); color: #fff; border-color: rgb(255 255 255 / .45); }
@media (max-width: 860px) { .hero-full { min-height: 0; } .hero-full .wrap { padding-block: 72px 36px; } .hero-video-btn { bottom: auto; top: 16px; } }

/* ---------- character: big highlight type vs small informative text ----------
   The Wix site's strongest move: a huge statement, then a short plain line that says what to do.
   d-xxl carries the highlight; .lede / body carry the detail. Keep the jump in size large. */
.d-xxl { font-size: clamp(2.5rem, min(5.6vw, 9.5vh), 5.4rem); line-height: .9; }
.kicker-line { margin: 0 0 18px; font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--text); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lede { margin: 0; }
@media (max-width: 1180px) { .section-head { grid-template-columns: 1fr; } }
.section-head .display { overflow-wrap: anywhere; }

/* stage: full-bleed photo with the headline set large across it */
.stage { position: relative; isolation: isolate; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--stage-img) center 30% / cover no-repeat; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(33 0 2 / .64); }
.stage-inner { padding-block: clamp(56px, 10vh, 120px) clamp(32px, 5vh, 56px); }
.stage h1 { max-width: 16ch; }
.stage-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-top: clamp(20px, 3vh, 36px); padding-top: 20px; border-top: 1px solid rgb(244 241 234 / .35); }
.stage-foot .lede { margin: 0; }
.stage-foot .footnote { grid-column: 1 / -1; margin: 0; }
@media (max-width: 860px) { .stage-foot { grid-template-columns: 1fr; } }

/* division cards: photo fading into red, as on the original cards, with live text */
.div-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.div-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-m); background: var(--c-red); color: #fff; }
.div-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.div-body { position: relative; display: grid; gap: 8px; align-content: start; padding: 0 24px 24px; margin-top: -56px; }
.div-body h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: .92; }
.div-sub { margin: 0 0 6px; font-weight: 700; font-size: 1.1rem; }
.div-body p { margin: 0; }
.div-meta { margin-top: 10px !important; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .35); font-size: .9rem; }
.div-meta a { margin-left: 6px; font-weight: 700; }
.div-card-pending { background: var(--c-ink); }
.div-card-pending .div-body { margin-top: 0; padding-top: 28px; }
@media (max-width: 1060px) { .div-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .div-cards { grid-template-columns: 1fr; } }

/* how to join: a real sequence, so numbered */
.steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; gap: 12px; align-content: start; padding: 28px 28px 28px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps p { margin: 0; color: var(--text-muted); max-width: 36ch; }
.step-n { font-family: var(--font-display); font-stretch: 125%; font-weight: 850; font-size: clamp(2.8rem, 4.4vw, 4rem); line-height: .85; color: var(--action); }
.link-btn { background: none; border: 0; border-bottom: 2px solid var(--action); padding: 0 0 2px; cursor: pointer; justify-self: start; }
.steps-light { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .steps, .steps-light { grid-template-columns: 1fr 1fr; } .steps li:nth-child(odd) { padding-left: 0; border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 620px) { .steps, .steps-light { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* season at a glance: numbers are the highlight, labels are the detail */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: 2px solid var(--text); }
.glance > div { padding: 24px 20px 24px 0; }
.glance > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.glance dt { font-size: .95rem; color: var(--text-muted); }
.glance dd { margin: 6px 0 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 850; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .9; }
.glance-split { margin: 16px 0 0; color: var(--text-muted); }
.glance-split b { color: var(--text); }
@media (max-width: 760px) { .glance { grid-template-columns: 1fr 1fr; } .glance > div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* statements (kids): three big lines, nothing else competing */
.statements { list-style: none; margin: 0; padding: 0; display: grid; }
.statements li { padding-block: clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); max-width: 20ch; }

/* youth grade band */
.grade-band { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-m); }
.grade-band img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.grade-band figcaption { position: absolute; inset: auto 0 0 0; display: grid; gap: 10px; padding: clamp(20px, 4vw, 48px); background: linear-gradient(transparent, rgb(33 0 2 / .92) 40%); }
.grade-sub { font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.6rem); }
@media (max-width: 620px) { .grade-band img { aspect-ratio: 4 / 5; } }

/* closing call to action band (red, as on the original) */
.cta-band { background: var(--c-red); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band .display { margin: 0; }
.cta-kids { background: var(--c-olive); }
.btn-invert { --bg: #fff; --fg: var(--c-ink); }

/* ---------- score ticker (site-wide, above the header, NFL.com-style) ---------- */
.ticker { background: #140001; border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: stretch; min-height: 64px; }
.ticker-label { flex: none; display: grid; align-content: center; gap: 2px; padding: 0 16px 0 var(--gutter); text-decoration: none; border-right: 1px solid var(--line); }
.ticker-label b { font-family: var(--font-display); font-stretch: 118%; font-weight: 850; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--action); }
.ticker-label span { font-size: .75rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.ticker-btn { flex: none; width: 32px; display: grid; place-items: center; background: none; border: 0; color: var(--text); cursor: pointer; }
.ticker-btn:hover { background: var(--surface-raised); }
.ticker-rail { flex: 1; min-width: 0; display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.ticker-rail::-webkit-scrollbar { display: none; }
.tk { flex: none; width: 176px; scroll-snap-align: start; display: grid; align-content: center; gap: 2px; padding: 6px 12px; border-right: 1px solid var(--line); text-decoration: none; font-size: .82rem; transition: background var(--t-fast); }
.tk:hover { background: var(--surface-raised); }
.tk-meta { display: flex; justify-content: space-between; gap: 6px; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); white-space: nowrap; }
.tk-meta b { flex: none; color: var(--text); font-weight: 800; }
.tk-meta span { overflow: hidden; text-overflow: ellipsis; }
.tk-meta .tk-live { color: var(--action); }
.tk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.tk-team { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-pts { font-weight: 800; font-variant-numeric: tabular-nums; }
.tk-row.lost .tk-team, .tk-row.lost .tk-pts { color: var(--text-muted); }
.tk-row.won .tk-pts::after { content: "◂"; margin-left: 3px; font-size: .7em; color: var(--action); }
.ticker-all { flex: none; display: flex; align-items: center; padding: 0 var(--gutter) 0 16px; border-left: 1px solid var(--line); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.ticker-all:hover { color: var(--action); }
@media (max-width: 760px) {
  .ticker-in { min-height: 68px; }
  .ticker-btn, .ticker-all { display: none; }
  .ticker-label { padding-right: 12px; }
  .tk { width: 150px; padding: 6px 10px; }
}

/* nav at laptop widths: stays inline down to 960px, tightening instead of collapsing */
@media (max-width: 1240px) {
  .site-header .wrap { gap: 14px; }
  .nav-primary { gap: 4px; }
  .nav-primary a, .nav-group > button { padding: 0 10px; font-size: .92rem; }
  .nav-soon { padding: 0 9px; font-size: .92rem; }
  .app-long { display: none; }
}
@media (max-width: 1100px) { .nav-soon { display: none; } }
.menu-toggle .ico-close { display: none; }
.site-header.open .menu-toggle .ico-open { display: none; }
.site-header.open .menu-toggle .ico-close { display: block; }

@media (max-width: 960px) { .site-header .menu-toggle { margin-left: auto; } }

/* ---------- phone fixes (checked at 390px) ---------- */
.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; margin-bottom: 32px; }
@media (max-width: 620px) { .stats-4 { grid-template-columns: 1fr 1fr; } }
.statements li { font-size: clamp(1.8rem, 5.4vw, 5rem); overflow-wrap: anywhere; }
@media (max-width: 860px) { .league-body .split > * { grid-column: 1 / -1 !important; } }
.panel .field input, .panel .field select { min-width: 0; width: 100%; }
@media (max-width: 960px) { .site-header.open .header-cta { z-index: 61; } }

/* ---------- red band (the original home page's signature section) ----------
   Each line pairs a bold statement with an italic serif phrase in a darker red. */
.red-band { background: var(--c-red); color: #fff; padding-block: clamp(48px, 7vw, 96px); }
.band-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2px, .6vw, 8px); }
.band-lines li { font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; }
.band-lines b { font-weight: 800; }
.band-lines i { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; color: #4a0006; letter-spacing: 0; }
.band-tag { margin: clamp(16px, 2.4vw, 28px) 0 0; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.02em; }

/* kids: the hand-drawn accent word from the original hero */
.crayon { font-family: "Permanent Marker", "Comic Sans MS", cursive; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--c-lime); font-size: .92em; }

/* app promo inside the phone menu (the Wix menu carries the same block) */
.nav-promo { display: none; }
@media (max-width: 960px) {
  .site-header.open .nav-promo { display: grid; gap: 10px; margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-m); }
  .site-header.open .nav-promo p { margin: 0; }
  .site-header.open .nav-promo .btn { justify-self: start; }
  .site-header.open .nav-app { display: none !important; }
}
.footer-logo { width: 88px; height: 88px; margin-bottom: 16px; }

/* league tables on phones: secondary columns step aside */
@media (max-width: 620px) { .hide-sm { display: none; } .data th, .data td { padding: 10px 8px; } }

/* ---------- motion ----------
   One entrance language: a short rise (and a slide for the red band lines), staggered
   within a group. Everything is visible at rest; .reveal.in only replays the entrance. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-28px); } }
.reveal.in { animation: rise 520ms var(--ease-out) both; }
.red-band.reveal.in { animation: none; }
.red-band.in .band-lines li, .red-band.in .band-tag { animation: slide-in 560ms var(--ease-out) both; }
.red-band.in .band-lines li:nth-child(2) { animation-delay: 80ms; }
.red-band.in .band-lines li:nth-child(3) { animation-delay: 160ms; }
.red-band.in .band-lines li:nth-child(4) { animation-delay: 240ms; }
.red-band.in .band-tag { animation-delay: 340ms; }
.div-cards .reveal.in:nth-child(3n+2), .steps .reveal.in:nth-child(2), .glance .reveal.in:nth-child(2) { animation-delay: 70ms; }
.div-cards .reveal.in:nth-child(3n), .steps .reveal.in:nth-child(3), .glance .reveal.in:nth-child(3) { animation-delay: 140ms; }
.steps .reveal.in:nth-child(4), .glance .reveal.in:nth-child(4) { animation-delay: 210ms; }
.hero-copy > * { animation: rise 600ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 60ms; }
.hero-copy > :nth-child(3) { animation-delay: 140ms; }
.hero-copy > :nth-child(4) { animation-delay: 200ms; }
.tk { animation: rise 420ms var(--ease-out) both; }
.tk:nth-child(2) { animation-delay: 40ms; } .tk:nth-child(3) { animation-delay: 80ms; } .tk:nth-child(4) { animation-delay: 120ms; } .tk:nth-child(5) { animation-delay: 160ms; } .tk:nth-child(6) { animation-delay: 200ms; }
.div-card img { transition: transform 700ms var(--ease-out); }
.div-card:hover img { transform: scale(1.04); }
.div-card { transition: transform var(--t-std) var(--ease-out), box-shadow var(--t-std); }
.div-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgb(33 0 2 / .22); }
.court img { transition: transform 700ms var(--ease-out); }
.court:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .reveal.in, .red-band.in .band-lines li, .red-band.in .band-tag, .hero-copy > *, .tk { animation: none !important; }
  .div-card:hover, .div-card:hover img, .court:hover img { transform: none; }
}

/* breathing room between a display heading and the text that follows it */
.story > .display + p, .prose > .display + p, .story-aside > .display + p { margin-top: clamp(18px, 2.2vw, 30px); }

/* phones: side-scrolling strips fade at the right edge so they read as "swipe for more",
   not as content cut off */
@media (max-width: 760px) {
  .ticker-rail { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); padding-right: 28px; }
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
}
/* league title block: the season select must not push past the screen edge */
.league-title > div { min-width: 0; max-width: 100%; }
.season-line select, .field-inline { max-width: 100%; }

/* ---------- sign-up forms ---------- */
.sf-wrap { max-width: 760px; display: grid; gap: 18px; }
.sf-intro-img { width: 100%; border-radius: var(--radius-m); }
.sf-form { gap: 18px; }
.sf-form .field input, .sf-form .field select, .sf-form .field textarea { min-width: 0; width: 100%; min-height: 44px; padding: 8px 12px; font-size: 1rem; border: 1px solid #b9adae; border-radius: var(--radius-s); background: #fff; color: var(--text); }
.sf-group { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf-group legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-roster { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sf-products { display: grid; gap: 10px; }
.sf-product { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-m); cursor: pointer; }
.sf-product:has(input:checked) { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.sf-price { font-family: var(--font-display); font-stretch: 118%; font-weight: 850; font-size: 1.3rem; }
.sf-choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pay-poster { width: 100%; max-width: 360px; border-radius: var(--radius-m); }
/* Apple Pay and Google Pay: shown above the card box only when the browser offers them. */
.wallets { display: grid; gap: 10px; }
.wallets:not(:empty) { margin-bottom: 12px; }
.wallets > div { min-height: 44px; }
.apple-pay-button { -webkit-appearance: -apple-pay-button; appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: black; width: 100%; height: 44px; border: 0; cursor: pointer; }
@media (max-width: 620px) { .sf-row, .sf-roster { grid-template-columns: 1fr; } }
/* Availability: game slots grouped by day, ticked by the captain. */
.sf-avail-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sf-avail-day { display: grid; gap: 6px; align-content: start; }
.sf-slot { display: flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; cursor: pointer; }
[data-avail-count].short { color: var(--c-red, #b3121f); }
