/* ==========================================================================
   NEWARK NETBALL LEAGUE — house build (GSAP + Lenis, no build step)
   Artboard: 1440 design canvas, rem-scaled. Mobile canvas: 375 below 992px.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --viewport: 1440;

  /* palette (from the league logo) */
  --paper: #f5f7fc;
  --paper-2: #ecf1fa;
  --ink: #131c42;
  --navy: #1b2456;
  --night: #0b1233;
  --night-2: #111b47;
  --ice: #a9d6f2;
  --lilac: #c7bbee;
  --pink: #f3b7da;
  --magenta: #d94f9e;
  --grad: linear-gradient(100deg, #a9d6f2 0%, #c7bbee 46%, #f3b7da 100%);
  --grad-text: linear-gradient(100deg, #7db9e2 0%, #a291dd 46%, #e37fbb 100%);

  --grey: #667090;
  --grey-dark: rgba(230, 237, 252, 0.62);
  --line: rgba(19, 28, 66, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', sans-serif;

  --ease: cubic-bezier(0.24, 1, 0.52, 1);
  --gutter: 4rem;

  /* chrome theme indirection */
  --t-text: var(--ink);
  --t-line: var(--line);

  /* z-scale */
  --z-header: 40;
  --z-menu: 50;
  --z-modal: 60;
  --z-preloader: 70;
}

html { font-size: calc(16 / var(--viewport) * 100vw); }
/* Mobile artboard is deliberately WIDER than the device (440 vs a 375 phone):
   it makes 1rem ≈ 13.6px there, so every rem size and gap tightens by ~15%.
   Keep mobile type restrained — this site is read on phones. */
@media (max-width: 991px) { :root { --viewport: 440; --gutter: 1.4rem; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
body::-webkit-scrollbar { display: none; }
body { scrollbar-width: none; }
::selection { background: var(--pink); color: var(--night); }
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 4.1rem;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 56rem;
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.label::before {
  content: '';
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}
@media (max-width: 991px) {
  body { font-size: 1.02rem; line-height: 1.55; }
  .display { font-size: 1.85rem; line-height: 1; letter-spacing: -0.005em; }
  .label { font-size: 0.66rem; letter-spacing: 0.16em; gap: 0.45rem; }
  .label::before { width: 0.45rem; height: 0.45rem; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--navy);
  border-radius: 10rem;
  padding: 0.95rem 1.9rem;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease);
  isolation: isolate;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.btn:hover::after { transform: scaleY(1); }
.btn:hover { color: var(--night); }
.btn-ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn-big { padding: 1.2rem 2.6rem; font-size: 1.02rem; }
.btn-roll { display: block; overflow: hidden; position: relative; height: 1.35em; }
.btn-roll span { display: block; line-height: 1.35em; transition: transform 0.55s var(--ease); }
.btn-roll span + span { position: absolute; top: 100%; left: 0; width: 100%; }
.btn:hover .btn-roll span { transform: translateY(-100%); }

.pill-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 10rem;
  padding: 1rem 1.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.pill-link span { color: var(--magenta); transition: transform 0.4s var(--ease); }
.pill-link:hover { border-color: transparent; background: var(--grad); color: var(--night); transform: translateX(0.35rem); }
.pill-link:hover span { color: var(--night); transform: translate(0.15rem, -0.15rem); }

.tbc-chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem;
  border-radius: 10rem;
  border: 1px dashed var(--line);
  color: var(--grey);
}

/* ---------- 5. Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: var(--z-preloader);
  background: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(150% at 50% 50%);
}
.preloader-core { text-align: center; }
.preloader-ball {
  width: 6.4rem; height: 6.4rem;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  box-shadow: 0 0 5rem rgba(199, 187, 238, 0.55);
}
.preloader-count {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--paper);
}
.preloader-count::after { content: '%'; font-size: 0.45em; vertical-align: super; opacity: 0.55; }
.preloader-label {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
html:not(.js) .preloader,
html.reduced-motion .preloader,
html.loader-timeout .preloader { display: none; }

/* ---------- 6. Header + menu ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  color: var(--t-text);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header.theme_on-dark { --t-text: var(--paper); --t-line: var(--line-dark); }
/* while the fullscreen menu is open the chrome rides above it, in light ink */
.header.is-menu-open { z-index: 55; --t-text: var(--paper); --t-line: var(--line-dark); }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-ball { width: 2.1rem; height: 2.1rem; border-radius: 50%; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand-word em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.58em;
  letter-spacing: 0.34em;
  opacity: 0.75;
  margin-top: 0.25em;
}
.header-nav { display: flex; align-items: center; gap: 1.9rem; }
.header-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
}
.header-nav a:not(.header-cta)::after {
  content: '';
  position: absolute; left: 0; bottom: -0.35em;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.header-nav a:not(.header-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta {
  padding: 0.55rem 1.25rem;
  border-radius: 10rem;
  background: var(--grad);
  color: var(--night) !important;
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.header-cta:hover { filter: saturate(1.35); transform: translateY(-0.1rem); }
.burger { display: none; position: relative; width: 2.6rem; height: 2.6rem; }
.burger span {
  position: absolute; left: 0.45rem; right: 0.45rem;
  height: 2px; background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:first-child { top: 1rem; }
.burger span:last-child { top: 1.6rem; }
.burger.is-open span:first-child { top: 1.3rem; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 1.3rem; transform: rotate(-45deg); }
@media (max-width: 991px) {
  .header-nav { display: none; }
  .burger { display: block; }
  .header { padding: 0.9rem var(--gutter); }
  .brand-ball { width: 1.85rem; height: 1.85rem; }
  .brand-word { font-size: 0.88rem; }
  .brand-word em { letter-spacing: 0.26em; }
  /* keep buttons finger-friendly even as the type shrinks */
  .btn { font-size: 0.86rem; padding: 1.05rem 1.7rem; }
  .btn-big { font-size: 0.9rem; padding: 1.15rem 1.9rem; }
}

.menu {
  position: fixed; inset: 0;
  z-index: var(--z-menu);
  background: radial-gradient(120% 120% at 80% 0%, var(--night-2), var(--night) 60%);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu-links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.15;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.menu-links a i {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--lilac);
}
.menu-links .menu-line { overflow: hidden; }
.menu-foot {
  display: flex; gap: 1.6rem;
  margin-top: 3rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
/* must sit AFTER the menu rules above to win on equal specificity */
@media (max-width: 991px) {
  .menu-links a { font-size: 1.7rem; gap: 0.7rem; }
  .menu-links a i { font-size: 0.6rem; }
  .menu-foot { font-size: 0.72rem; margin-top: 2.2rem; gap: 1.2rem; }
}

/* ---------- 7. Hero (crisp typographic hero + windowed brand film) ---------- */
.hero-stage { position: relative; height: 280vh; background: var(--paper); }
.hero-view {
  position: sticky; top: 0;
  height: 100vh;
  height: calc(var(--window-height, 100vh));
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, #dcebf8 0%, #e6e1f6 34%, #f2dcee 62%, #f7d7e9 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
}
/* faint court-line motifs: two centre circles + a halfway line, all crisp CSS */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(closest-side, transparent 92%, rgba(255, 255, 255, 0.55) 93%, rgba(255, 255, 255, 0.55) 96%, transparent 97%) 116% 22% / 46rem 46rem no-repeat,
    radial-gradient(closest-side, transparent 92%, rgba(255, 255, 255, 0.45) 93%, rgba(255, 255, 255, 0.45) 96%, transparent 97%) -14% 88% / 30rem 30rem no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)) 50% 0 / 1px 100% no-repeat;
}
.hero-ball {
  position: absolute;
  top: 13%; right: 7%;
  width: 6.5rem; height: 6.5rem;
  border-radius: 50%;
  box-shadow: 0 1.2rem 3rem rgba(27, 36, 86, 0.25);
  z-index: 2;
}
.hero-copy {
  position: absolute;
  left: 0; right: 0; top: 13%;
  text-align: center;
  z-index: 2;
  padding: 0 var(--gutter);
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.4rem;
}
.hero-label::before {
  content: '';
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--grad);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4.7rem;
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; }
.hero-line-grad > span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 32rem;
  margin: 1.3rem auto 0;
  font-size: 1rem;
  color: var(--grey);
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.7rem;
}
.hero-ctas .btn-ghost { color: var(--navy); }
.hero-card-pos {
  position: absolute;
  left: 0; right: 0; top: 40%;
  display: flex;
  justify-content: center;
  z-index: 3;
}
.hero-card {
  width: min(50rem, 88%);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(0.4rem);
  border: 1px solid rgba(27, 36, 86, 0.12);
  border-radius: 1.3rem;
  padding: 0.6rem 0.6rem 0;
  box-shadow: 0 2.2rem 5rem rgba(27, 36, 86, 0.3);
  will-change: transform;
  margin: 0;
}
.hero-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  overflow: hidden;
}
.hero-poster, .hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-card-cap {
  padding: 0.6rem 0 0.7rem;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero-cue {
  position: absolute;
  left: 50%; bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
}
.hero-cue-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-cue-track {
  width: 7rem; height: 2px;
  background: rgba(27, 36, 86, 0.18);
  border-radius: 2px;
  overflow: hidden;
}
.hero-cue-bar {
  display: block;
  width: 100%; height: 100%;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
}
@media (max-width: 991px) {
  .hero-stage { height: 210vh; }
  .hero-copy { top: 13%; }
  .hero-label { font-size: 0.62rem; letter-spacing: 0.16em; margin-bottom: 1rem; }
  .hero-title { font-size: 2rem; line-height: 1; }
  .hero-sub { font-size: 0.9rem; max-width: 19rem; margin-top: 0.9rem; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 1.3rem; }
  .hero-ball { display: none; }
  .hero-card-pos { top: 50%; }
  .hero-card { width: 94%; padding: 0.45rem 0.45rem 0; }
  .hero-card-cap { font-size: 0.58rem; letter-spacing: 0.16em; }
  .hero-cue-label { font-size: 0.6rem; letter-spacing: 0.24em; }
}

/* degraded tiers: flatten the stage into a plain static hero */
html:not(.js) .hero-stage,
html.reduced-motion .hero-stage,
html.loader-timeout .hero-stage { height: auto; }
html:not(.js) .hero-view,
html.reduced-motion .hero-view,
html.loader-timeout .hero-view { position: relative; height: auto; min-height: 0; }
html:not(.js) .hero-canvas, html:not(.js) .hero-cue,
html.reduced-motion .hero-canvas, html.reduced-motion .hero-cue,
html.loader-timeout .hero-canvas, html.loader-timeout .hero-cue { display: none; }
html:not(.js) .hero-copy, html.reduced-motion .hero-copy, html.loader-timeout .hero-copy {
  position: static;
  padding-top: 7.5rem;
}
html:not(.js) .hero-card-pos, html.reduced-motion .hero-card-pos, html.loader-timeout .hero-card-pos {
  position: static;
  margin: 2.5rem 0 4rem;
}
html:not(.js) .hero-card, html.reduced-motion .hero-card, html.loader-timeout .hero-card {
  transform: none !important;
  opacity: 1 !important;
}
html:not(.js) .hero-ball, html.reduced-motion .hero-ball, html.loader-timeout .hero-ball,
html:not(.js) .hero-label, html.reduced-motion .hero-label, html.loader-timeout .hero-label,
html:not(.js) .hero-sub, html.reduced-motion .hero-sub, html.loader-timeout .hero-sub,
html:not(.js) .hero-ctas, html.reduced-motion .hero-ctas, html.loader-timeout .hero-ctas {
  opacity: 1 !important;
}
html:not(.js) .hero-line > span, html.reduced-motion .hero-line > span, html.loader-timeout .hero-line > span {
  transform: none !important;
}
html:not(.js) .hero-card-cap, html.reduced-motion .hero-card-cap, html.loader-timeout .hero-card-cap {
  opacity: 1 !important;
}

/* ---------- 8. Ticker ---------- */
.ticker {
  background: var(--night);
  color: var(--paper);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.ticker-row { display: flex; white-space: nowrap; will-change: transform; }
.ticker-line { display: flex; align-items: center; flex: none; padding-right: 0; }
.ticker-line span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ticker-line span:nth-child(6n+3) {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ticker-line i {
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: var(--grad);
  margin: 0 1.6rem;
  flex: none;
}
@media (max-width: 991px) {
  .ticker { padding: 1rem 0; }
  .ticker-line span { font-size: 0.88rem; letter-spacing: 0.08em; }
  .ticker-line i { margin: 0 0.85rem; width: 0.4rem; height: 0.4rem; }
}

/* ---------- 9. Sections shared ---------- */
.section { padding: 8.5rem var(--gutter); position: relative; }
.section .label { margin-bottom: 1.6rem; }
.section .display { margin-bottom: 3rem; }
@media (max-width: 991px) {
  .section { padding: 3.6rem var(--gutter); }
  .section .label { margin-bottom: 1rem; }
  .section .display { margin-bottom: 1.5rem; }
}

/* dark zones */
.divisions, .fixtures-cta, .register, .rules { background: var(--night); color: var(--paper); }
.divisions .label, .fixtures-cta .label, .register .label, .rules .label { color: var(--grey-dark); }

/* ---------- 10. About ---------- */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  max-width: 66rem;
}
.about-lead { font-size: 1.22rem; line-height: 1.5; font-weight: 500; }
.about-grid p:not(.about-lead) { color: var(--grey); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.6rem;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.4rem;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-lead { font-size: 1rem; line-height: 1.5; }
  .about-grid p:not(.about-lead) { font-size: 0.92rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; margin-top: 2.2rem; padding-top: 1.8rem; }
  .stat-num { font-size: 1.85rem; }
  .stat-label { font-size: 0.62rem; letter-spacing: 0.14em; }
}

/* ---------- 10b. Match nights gallery (drifting filmstrips) ---------- */
.gallery { background: var(--paper); padding-bottom: 6rem; }
.gallery-rows {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0 calc(-1 * var(--gutter));  /* full bleed */
}
.gallery-row { overflow: hidden; }
.gallery-line { display: flex; gap: 1.2rem; padding-right: 1.2rem; flex: none; }
.gallery-line img {
  width: 24rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1rem;
  flex: none;
  transition: transform 0.5s var(--ease);
}
.gallery-line img:hover { transform: scale(1.03); }
.gallery-row[data-marquee] .row-track { display: flex; will-change: transform; }
@media (max-width: 991px) {
  .gallery { padding-bottom: 3.6rem; }
  .gallery-line img { width: 14rem; border-radius: 0.6rem; }
  .gallery-line { gap: 0.6rem; padding-right: 0.6rem; }
  .gallery-rows { gap: 0.6rem; }
}
/* degraded tiers: strips become plain horizontal scrollers */
html:not(.js) .gallery-row, html.reduced-motion .gallery-row, html.loader-timeout .gallery-row {
  overflow-x: auto;
}

/* ---------- 10c. Moments carousel (crossfade) ---------- */
.moments { background: var(--paper-2); }
.moments-sub { max-width: 36rem; color: var(--grey); margin-bottom: 2.4rem; }
.moments-stage {
  position: relative;
  max-width: 56rem;
  aspect-ratio: 3 / 2;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 1.6rem 4rem rgba(27, 36, 86, 0.18);
}
.moment {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.moment.is-active { opacity: 1; }
.moment img { width: 100%; height: 100%; object-fit: cover; }
.moments-dots { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.moments-dots button {
  width: 0.65rem; height: 0.65rem;
  border-radius: 50%;
  background: rgba(19, 28, 66, 0.18);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.moments-dots button.is-active { background: var(--grad); transform: scale(1.35); }
@media (max-width: 991px) {
  .moments-stage { border-radius: 0.8rem; }
  .moments-sub { font-size: 0.92rem; margin-bottom: 1.6rem; }
  .moments-dots button { width: 0.55rem; height: 0.55rem; }
}

/* ---------- 11. Divisions ---------- */
.division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.division-card {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: 1.1rem;
  padding: 2.2rem 1.9rem 1.9rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.division-card:hover { transform: translateY(-0.5rem); background: rgba(255, 255, 255, 0.07); }
.division-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.division-card[data-accent="magenta"]::before { background: linear-gradient(90deg, #d94f9e, #f3b7da); }
.division-card[data-accent="lilac"]::before { background: linear-gradient(90deg, #8d78d8, #c7bbee); }
.division-card[data-accent="ice"]::before { background: linear-gradient(90deg, #63a8dd, #a9d6f2); }
.division-index {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--grey-dark);
}
.division-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  text-transform: uppercase;
  margin-top: 1.1rem;
  line-height: 1;
}
.division-card[data-accent="magenta"] h3 { color: var(--pink); }
.division-card[data-accent="lilac"] h3 { color: var(--lilac); }
.division-card[data-accent="ice"] h3 { color: var(--ice); }
.division-meta {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.division-card p { margin-top: 1.2rem; font-size: 0.92rem; color: rgba(235, 240, 252, 0.82); }
.division-times { list-style: none; margin-top: 1.4rem; border-top: 1px solid var(--line-dark); }
.division-times li {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.82rem;
}
.division-times li span:first-child { color: var(--grey-dark); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; }
.division-link {
  display: inline-flex;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.division-link span { transition: transform 0.4s var(--ease); }
.division-link:hover span { transform: translateX(0.35rem); }
.divisions-note {
  margin-top: 2.6rem;
  max-width: 46rem;
  font-size: 0.88rem;
  color: var(--grey-dark);
}
@media (max-width: 991px) {
  .division-grid { grid-template-columns: 1fr; gap: 1rem; }
  .division-card { padding: 1.6rem 1.4rem 1.4rem; border-radius: 0.9rem; }
  .division-index { font-size: 0.62rem; }
  .division-card h3 { font-size: 1.4rem; margin-top: 0.8rem; }
  .division-meta { font-size: 0.68rem; letter-spacing: 0.1em; }
  .division-card p { font-size: 0.9rem; margin-top: 0.9rem; }
  .division-times li { font-size: 0.78rem; padding: 0.55rem 0; }
  .division-times li span:first-child { font-size: 0.64rem; }
  .division-link { font-size: 0.82rem; margin-top: 1.2rem; }
  .divisions-note { font-size: 0.82rem; margin-top: 1.8rem; }
}

/* ---------- 12. Seasons + tournaments ---------- */
.seasons { background: var(--paper-2); }
.season-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
.season-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 2rem 1.8rem;
  position: relative;
}
.season-step-festival { background: var(--grad); border-color: transparent; }
.season-when {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.season-step-festival .season-when { color: rgba(11, 18, 51, 0.65); }
.season-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-top: 0.9rem;
  line-height: 1;
  color: var(--navy);
}
.season-step p { margin-top: 1rem; font-size: 0.92rem; color: var(--grey); }
.season-step-festival p { color: rgba(11, 18, 51, 0.78); }
.tournament-card {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--night);
  color: var(--paper);
  border-radius: 1.1rem;
  padding: 2.4rem 2.6rem;
  overflow: hidden;
}
.tournament-card .label { color: var(--grey-dark); margin-bottom: 1rem; }
.tournament-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 30rem;
}
.tournament-card p { margin-top: 0.9rem; color: var(--grey-dark); font-size: 0.92rem; }
.tournament-ball {
  width: 9rem; height: 9rem;
  border-radius: 50%;
  flex: none;
  animation: slow-spin 26s linear infinite;
}
@keyframes slow-spin { to { transform: rotate(360deg); } }
@media (max-width: 991px) {
  .season-track { grid-template-columns: 1fr; gap: 1rem; }
  .season-step { padding: 1.5rem 1.4rem; border-radius: 0.9rem; }
  .season-when { font-size: 0.62rem; letter-spacing: 0.14em; }
  .season-step h3 { font-size: 1.35rem; margin-top: 0.7rem; }
  .season-step p { font-size: 0.9rem; margin-top: 0.8rem; }
  .tournament-card { flex-direction: column; align-items: flex-start; padding: 1.6rem 1.4rem; border-radius: 0.9rem; }
  .tournament-card h3 { font-size: 1.35rem; }
  .tournament-card p { font-size: 0.9rem; }
  .tournament-ball { width: 4.4rem; height: 4.4rem; align-self: flex-end; margin-top: -1.6rem; }
}

/* ---------- 13. Fixtures CTA ---------- */
.fixtures-cta { background: var(--night); }
.fixtures-cta-panel {
  border: 1px solid var(--line-dark);
  border-radius: 1.4rem;
  padding: 4rem;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(217, 79, 158, 0.14), transparent 55%),
    radial-gradient(70% 110% at 0% 100%, rgba(169, 214, 242, 0.12), transparent 55%);
}
.fixtures-cta-panel > p { color: var(--grey-dark); max-width: 34rem; }
.next-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2.6rem 0;
}
.next-card {
  border: 1px solid var(--line-dark);
  border-radius: 0.9rem;
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, 0.035);
}
.next-card-date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}
.next-card-teams {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 0.6rem;
}
.next-card-teams em { font-style: normal; color: var(--grey-dark); font-size: 0.8em; padding: 0 0.3em; }
.next-card-meta { margin-top: 0.55rem; font-size: 0.78rem; color: var(--grey-dark); }
@media (max-width: 991px) {
  .fixtures-cta-panel { padding: 1.8rem 1.4rem; border-radius: 1rem; }
  .fixtures-cta-panel > p { font-size: 0.92rem; }
  .next-up { grid-template-columns: 1fr; gap: 0.8rem; margin: 1.8rem 0; }
  .next-card { padding: 1rem 1.1rem; border-radius: 0.7rem; }
  .next-card-date { font-size: 0.62rem; letter-spacing: 0.12em; }
  .next-card-teams { font-size: 1rem; margin-top: 0.45rem; }
  .next-card-meta { font-size: 0.72rem; }
}

/* ---------- 14. Register ---------- */
.register { overflow: clip; }
.register-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(1.1);
}
.register::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--night) 0%, rgba(11, 18, 51, 0.55) 45%, var(--night) 100%);
  z-index: 1;
}
.register-video, .register::before { pointer-events: none; }
.register-inner { position: relative; z-index: 2; }
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 62rem;
}
.register-card {
  background: rgba(11, 18, 51, 0.55);
  border: 1px solid var(--line-dark);
  border-radius: 1.1rem;
  padding: 2.2rem 2rem;
  backdrop-filter: blur(0.5rem);
}
.register-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.register-card p { margin: 1.1rem 0 1.6rem; font-size: 0.92rem; color: rgba(235, 240, 252, 0.85); }
.register-alt {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--grey-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.register-alt:hover { color: var(--pink); }
@media (max-width: 991px) {
  .register-grid { grid-template-columns: 1fr; gap: 1rem; }
  .register-card { padding: 1.6rem 1.4rem; border-radius: 0.9rem; }
  .register-card h3 { font-size: 1.3rem; }
  .register-card p { font-size: 0.9rem; margin: 0.9rem 0 1.3rem; }
  .register-alt { font-size: 0.72rem; }
}

/* ---------- 15. Umpires ---------- */
.umpires { background: var(--paper); }
.umpires-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.umpires-grid p:not(.about-lead) { color: var(--grey); margin-top: 1.2rem; }
.umpires-contact { font-weight: 500; }
.umpires-links { display: flex; flex-direction: column; gap: 0.9rem; }
@media (max-width: 991px) {
  .umpires-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .umpires-grid p:not(.about-lead) { font-size: 0.9rem; margin-top: 0.9rem; }
  .pill-link { font-size: 0.85rem; padding: 0.85rem 1.3rem; }
  .tbc-chip { font-size: 0.72rem; padding: 0.35rem 0.8rem; }
}

/* ---------- 16. Rules & downloads ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.rule-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 12rem;
  border: 1px solid var(--line-dark);
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.rule-card:hover { transform: translateY(-0.45rem); background: rgba(255, 255, 255, 0.07); border-color: rgba(243, 183, 218, 0.45); }
.rule-kind {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.rule-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.15;
  text-transform: uppercase;
  flex: 1;
}
.rule-action { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-dark); }
.rule-card:hover .rule-action { color: var(--paper); }
@media (max-width: 991px) {
  .rules-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .rule-card { min-height: 8rem; padding: 1.2rem 1.1rem; border-radius: 0.8rem; gap: 0.7rem; }
  .rule-kind { font-size: 0.58rem; letter-spacing: 0.14em; }
  .rule-card h3 { font-size: 1rem; line-height: 1.2; }
  .rule-action { font-size: 0.7rem; }
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--night);
  color: var(--paper);
  padding: 6rem var(--gutter) 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.footer-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 6.2rem;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line-dark);
}
.footer-head {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 1.1rem;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.footer-col a { font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--pink); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--grey-dark);
}
@media (max-width: 991px) {
  .footer { padding: 3.6rem var(--gutter) 1.8rem; }
  .footer-word { font-size: 1.95rem; margin-bottom: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; padding-top: 1.8rem; }
  .footer-head { font-size: 0.62rem; letter-spacing: 0.16em; margin-bottom: 0.8rem; }
  .footer-col a { font-size: 0.85rem; }
  .footer-base { margin-top: 2.4rem; font-size: 0.66rem; }
}

/* ---------- 18. Form modal ---------- */
.form-modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.form-modal.is-open { visibility: visible; pointer-events: auto; }
.form-modal-veil {
  position: absolute; inset: 0;
  background: rgba(11, 18, 51, 0.72);
  backdrop-filter: blur(0.4rem);
}
.form-modal-panel {
  position: relative;
  width: min(92vw, 46rem);
  height: min(84vh, 46rem);
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 2rem 6rem rgba(5, 9, 30, 0.5);
}
.form-modal-panel iframe { width: 100%; height: 100%; border: 0; }
.form-modal-close {
  position: absolute; top: 0.6rem; right: 0.6rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--night);
  color: var(--paper);
  font-size: 1.3rem;
  line-height: 1;
  z-index: 2;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.form-modal-close:hover { transform: rotate(90deg); background: var(--magenta); }

/* ---------- 19. Reveal helpers + degradation ---------- */
html.js [data-prevent-flicker="true"] { visibility: hidden; }
html.js.loader-timeout [data-prevent-flicker="true"],
html.reduced-motion [data-prevent-flicker="true"] { visibility: visible !important; }
.line { overflow: hidden; }
html.reduced-motion * { animation-duration: 0.01s !important; transition-duration: 0.01s !important; }
html.reduced-motion .ticker-row { transform: none !important; }
