/* =====================================================================
   SHANI'S LEGENDS TROPHY — Cinematic motion upgrade (additive layer)
   Loads AFTER style.css / animations.css / responsive.css.
   Cricket visual language: leather ball, seam stitching, pitch, crease,
   floodlights, willow. Premium, editorial, never childish.
   ===================================================================== */

:root {
  --leather:       #b23a2e;
  --leather-dark:  #6f1f18;
  --leather-hi:    #e0654f;
  --seam:          #efe4cd;
  --pitch:         #c7a878;
  --pitch-line:    rgba(244, 247, 253, 0.82);
  --grass:         #1e5c39;
  --grass-deep:    #0f3722;
  --flood:         rgba(214, 227, 255, 0.9);
}

/* ---------------------------------------------------------------------
   1. PRELOADER — rotating cricket-ball seam
   --------------------------------------------------------------------- */
.preloader__inner { gap: 30px; }
.preloader__ball {
  width: 74px; height: 74px;
  position: relative;
  animation: seam-spin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.preloader__ball svg { width: 100%; height: 100%; overflow: visible; }
.preloader__ball .ball-body { fill: url(#plLeather); }
.preloader__ball .ball-seam { stroke: var(--seam); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.preloader__ball .ball-stitch { stroke: var(--seam); stroke-width: 1.5; stroke-linecap: round; }
.preloader__ball .ball-shine { fill: rgba(255,255,255,0.22); }
@keyframes seam-spin {
  0%   { transform: rotate(0deg)   scale(1); }
  50%  { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}
.preloader__logo { display: none; }           /* ball replaces the logo mark */
.preloader.done .preloader__ball { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .preloader__ball { animation: none; }
}

/* ---------------------------------------------------------------------
   2. HERO — cinematic label, word reveal, scroll transform
   --------------------------------------------------------------------- */
.hero { min-height: 100svh; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 24px;
  opacity: 0;
  animation: hero-fade 0.9s var(--ease) 0.15s backwards;
}
.hero__eyebrow::before {
  content: ""; width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
}

/* word-by-word headline */
.hero__title .line { overflow: hidden; }
.hero__title .word {
  display: inline-block;
  transform: translateY(105%) rotate(3deg);
  opacity: 0;
  animation: word-rise 0.9s var(--ease) forwards;
}
.hero__title .line:nth-child(1) .word { animation-delay: 0.30s; }
.hero__title .line:nth-child(2) .word { animation-delay: 0.44s; }
.hero__title .line:nth-child(3) .word { animation-delay: 0.58s; }
@keyframes word-rise {
  to { transform: translateY(0) rotate(0); opacity: 1; }
}
/* keep the gold gradient when a gradient-clipped line is word-split */
.hero__title .line.gold-text { color: transparent; }
.hero__title .line.gold-text .word {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* hero content stays anchored while media transforms behind it */
.hero__media { will-change: transform, filter; }
.hero__media img, .hero__media video {
  object-position: center 42%;
  transform: scale(1.06);
}
.hero__veil-scrim {
  position: absolute; inset: 0; z-index: 3;
  background: var(--navy-950);
  opacity: 0;
  pointer-events: none;
}

/* floodlight beams over the hero */
.hero__beams { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__beams::before,
.hero__beams::after {
  content: ""; position: absolute;
  top: -40%; width: 46vw; height: 150%;
  background: linear-gradient(180deg, rgba(214,227,255,0.10), transparent 62%);
  filter: blur(26px);
  mix-blend-mode: screen;
}
.hero__beams::before { left: -6%;  transform: rotate(14deg);  animation: beam 14s ease-in-out infinite alternate; }
.hero__beams::after  { right: -6%; transform: rotate(-14deg); animation: beam 18s ease-in-out infinite alternate-reverse; }
@keyframes beam { to { opacity: 0.55; transform: translateX(30px) rotate(14deg); } }

/* cricket-ball scroll progress travelling a boundary arc */
.ball-progress {
  position: fixed; left: 0; right: 0; top: 0;
  height: 40px; z-index: 950;
  pointer-events: none;
}
.ball-progress svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ball-progress .arc-track { fill: none; stroke: var(--line); stroke-width: 1.5; }
.ball-progress .arc-fill  { fill: none; stroke: url(#bpGold); stroke-width: 2; stroke-linecap: round; }
.ball-progress .bp-ball   { fill: var(--leather); filter: drop-shadow(0 0 6px rgba(178,58,46,0.8)); }
.ball-progress .bp-seam   { stroke: var(--seam); stroke-width: 0.9; fill: none; }

/* interior page hero — crease line + faint field arc */
.page-hero::before {
  content: "";
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  z-index: 1;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero__title { position: relative; }
.page-hero__title::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin-top: 22px;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
}
.page-hero__title.in::after, .reveal.in.page-hero__title::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------
   3. CRICKET SECTION DIVIDER — pitch-crease motif
   --------------------------------------------------------------------- */
.crease-divider {
  position: relative;
  height: 1px;
  background: var(--line-2);
  margin: 0 auto;
  max-width: var(--maxw);
  width: calc(100% - 2 * var(--gutter));
}
.crease-divider::before,
.crease-divider::after {
  content: ""; position: absolute; top: -6px;
  width: 1px; height: 13px;
  background: var(--gold-2);
  opacity: 0.55;
}
.crease-divider::before { left: 18%; }
.crease-divider::after  { right: 18%; }
.crease-divider span {
  position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--gold-2);
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

/* ---------------------------------------------------------------------
   4. SECTION: THE BALL
   --------------------------------------------------------------------- */
.sec-ball {
  position: relative;
  background: radial-gradient(120% 90% at 50% 30%, #0a1330, var(--navy-950) 70%);
  min-height: 200vh;
}
.sec-ball__canvas-wrap { overflow: clip; }
.sec-ball__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--nav-h) var(--gutter) 0;
}
.sec-ball__canvas-wrap {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
/* CSS fallback leather sphere — visible if canvas/rAF is unavailable */
.sec-ball__canvas-wrap::before {
  content: "";
  position: absolute;
  inset: 0; margin: auto;
  width: min(60vmin, 460px); height: min(60vmin, 460px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(255,255,255,0.32), transparent 42%),
    radial-gradient(circle at 38% 34%, #e0654f 0%, #b23a2e 45%, #5c1913 100%);
  box-shadow: inset -30px -30px 80px rgba(0,0,0,0.55), 0 40px 90px rgba(0,0,0,0.6);
}
.sec-ball__canvas-wrap::after {
  content: "";
  position: absolute;
  inset: 0; margin: auto;
  width: min(60vmin, 460px); height: min(18vmin, 138px);
  border: 2px solid rgba(239,228,205,0.85);
  border-radius: 50%;
  transform: rotate(-14deg);
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.sec-ball.js-canvas .sec-ball__canvas-wrap::before,
.sec-ball.js-canvas .sec-ball__canvas-wrap::after { opacity: 0; transition: opacity 0.4s; }
.sec-ball canvas {
  position: relative; z-index: 1;
  width: min(78vmin, 620px);
  height: min(78vmin, 620px);
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.6));
  background: transparent;
}
.sec-ball__copy {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 620px;
  pointer-events: none;
}
.sec-ball__kicker {
  font-family: var(--font-head);
  letter-spacing: 0.4em; text-transform: uppercase;
  font-size: clamp(10px, 0.9vw, 13px);
  color: var(--gold-2);
}
.sec-ball__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3rem, 13vw, 10rem);
  line-height: 0.86;
  margin-top: 14px;
  color: #fff;
  text-shadow: 0 10px 60px rgba(0,0,0,0.7);
}
.sec-ball__line {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
}
.sec-ball__hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted-2);
}

/* ---------------------------------------------------------------------
   5. SECTION: THE PITCH
   --------------------------------------------------------------------- */
.sec-pitch {
  position: relative;
  background: linear-gradient(180deg, var(--navy-950), #06130c 55%, var(--navy-950));
  padding-block: clamp(80px, 14vw, 200px);
  overflow: clip;
  isolation: isolate;
}
.sec-pitch__stage {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  perspective: 1400px;
}
.sec-pitch__ground {
  position: relative;
  aspect-ratio: 16 / 10;
  transform: rotateX(54deg);
  transform-style: preserve-3d;
  background:
    linear-gradient(180deg, rgba(31,92,57,0.0), rgba(15,55,34,0.55)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 6%, transparent 6% 12%),
    var(--grass-deep);
  border-radius: 6px;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.8);
}
.sec-pitch__strip {
  position: absolute; left: 50%; top: 6%; bottom: 6%;
  width: 16%; transform: translateX(-50%);
  background: linear-gradient(180deg, #d8bd93, #b7966a);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.25);
}
.sec-pitch__lines { position: absolute; inset: 0; }
.sec-pitch__lines line, .sec-pitch__lines path { stroke: var(--pitch-line); stroke-width: 2; vector-effect: non-scaling-stroke; fill: none; }
.sec-pitch__lines .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sec-pitch.in .sec-pitch__lines .draw { animation: line-draw 1.4s var(--ease) forwards; }
.sec-pitch.in .sec-pitch__lines .draw:nth-child(2) { animation-delay: 0.15s; }
.sec-pitch.in .sec-pitch__lines .draw:nth-child(3) { animation-delay: 0.3s; }
.sec-pitch.in .sec-pitch__lines .draw:nth-child(4) { animation-delay: 0.45s; }
@keyframes line-draw { to { stroke-dashoffset: 0; } }

.sec-pitch__stumps {
  position: absolute; left: 50%; transform: translateX(-50%) translateZ(30px);
  display: flex; gap: 5px;
}
.sec-pitch__stumps.top { top: 3%; }
.sec-pitch__stumps.bot { bottom: 3%; }
.sec-pitch__stumps i {
  width: 4px; height: 34px;
  background: linear-gradient(180deg, #f4f7fd, #b9c2d4);
  border-radius: 2px;
  transform-origin: bottom;
  transform: scaleY(0);
}
.sec-pitch.in .sec-pitch__stumps i { animation: stump-up 0.5s var(--ease) forwards; }
.sec-pitch.in .sec-pitch__stumps i:nth-child(2) { animation-delay: 0.08s; }
.sec-pitch.in .sec-pitch__stumps i:nth-child(3) { animation-delay: 0.16s; }
@keyframes stump-up { to { transform: scaleY(1); } }

.sec-pitch__trajectory {
  position: absolute; inset: 0; overflow: visible;
}
.sec-pitch__trajectory path {
  stroke: url(#pitchGold); stroke-width: 2.5; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(216,178,94,0.55));
}
.sec-pitch.in .sec-pitch__trajectory path { animation: line-draw 1.6s var(--ease) 0.6s forwards; }
.sec-pitch__trajectory circle { fill: var(--leather); opacity: 0; }
.sec-pitch.in .sec-pitch__trajectory circle { animation: ball-pop 0.5s var(--ease) 2s forwards; }
@keyframes ball-pop { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }

.sec-pitch__copy { max-width: 640px; margin: 0 auto clamp(40px, 7vw, 90px); text-align: center; }
.sec-pitch__copy h2 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: 0.92;
}

/* ---------------------------------------------------------------------
   6. TOURNAMENT AT A GLANCE — oversized cinematic figures
   --------------------------------------------------------------------- */
.glance-fig {
  position: relative;
  display: grid;
  gap: clamp(4px, 1vw, 12px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line-2);
  isolation: isolate;
}
.glance-fig:last-child { border-bottom: 1px solid var(--line-2); }
.glance-fig__row {
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 44px);
  flex-wrap: wrap;
}
.glance-fig__num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff 30%, rgba(244,247,253,0.35));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glance-fig--accent .glance-fig__num { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glance-fig__label {
  font-family: var(--font-head); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-size: clamp(0.85rem, 1.6vw, 1.15rem);
}
.glance-fig__desc { color: var(--muted); font-size: 0.92rem; max-width: 42ch; }
.glance-fig__tag {
  margin-top: 6px; align-self: start;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2); border: 1px solid rgba(216,178,94,0.3);
  border-radius: 100px; padding: 5px 12px;
}
/* faint cricket-field geometry behind the figures */
.glance-field {
  position: absolute; inset: -10% -20%;
  z-index: -1; pointer-events: none; opacity: 0.5;
}
.glance-field svg { width: 100%; height: 100%; }
.glance-field ellipse, .glance-field line, .glance-field circle { stroke: var(--line); fill: none; stroke-width: 1; }

/* ---------------------------------------------------------------------
   7. TEAMS — cinematic worlds (desktop pinned strip, cards on mobile)
   --------------------------------------------------------------------- */
.team-card__logo img { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
.team-card {
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.team-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--tc, var(--royal)), transparent);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.team-card:hover { box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); }
.team-card:hover::after { opacity: 0.9; }
.team-card__jersey {
  position: absolute; right: -14%; bottom: -12%;
  width: 66%; max-width: 280px;
  opacity: 0; transform: translateY(24px) scale(0.9) rotate(4deg);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  mix-blend-mode: screen;
  -webkit-mask: radial-gradient(70% 70% at 45% 40%, #000 45%, transparent 78%);
          mask: radial-gradient(70% 70% at 45% 40%, #000 45%, transparent 78%);
  z-index: -1; pointer-events: none;
}
.team-card:hover .team-card__jersey { opacity: 0.7; transform: translateY(0) scale(1) rotate(0); }

/* ---------------------------------------------------------------------
   8. LEGENDS — magazine-cover treatment
   --------------------------------------------------------------------- */
.legend-card { transition: transform 0.6s var(--ease); }
.legend-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 55%, rgba(246,229,173,0.12) 62%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.legend-card:hover::before { transform: translateX(120%); }
.legend-card__name { letter-spacing: -0.01em; }
.legend-card__index {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  font-family: var(--font-display); font-size: 1rem; color: rgba(255,255,255,0.35);
}
.legend-card:hover img { transform: scale(1.06) translateY(-1%); }

/* ---------------------------------------------------------------------
   9. COMMISSIONER — editorial with vertical label + gold rule
   --------------------------------------------------------------------- */
.commish { position: relative; }
.commish__vlabel {
  position: absolute; left: -14px; top: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-head); font-size: 0.62rem;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted-2);
}
.commish__rule {
  width: 0; height: 2px; background: var(--gold-grad);
  margin: 20px 0 4px;
  transition: width 1s var(--ease);
}
.commish.in .commish__rule, .commish .reveal.in ~ * .commish__rule { width: 90px; }
.reveal.in .commish__rule { width: 90px; }
.commish__media img { transition: transform 1.4s var(--ease); }
.commish__media:hover img { transform: scale(1.04); }

/* ---------------------------------------------------------------------
   10. VENUE — emerge from darkness
   --------------------------------------------------------------------- */
.venue { min-height: 90svh; display: flex; flex-direction: column; justify-content: center; }
.venue__media img { transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); opacity: 0; transform: scale(1.12); }
.venue.in .venue__media img { opacity: 0.34; transform: scale(1); }
.venue__map {
  margin: 30px auto 0; width: min(280px, 70vw);
  opacity: 0.7;
}
.venue__map svg { width: 100%; height: auto; }
.venue__map path { stroke: var(--line); fill: rgba(244,247,253,0.02); stroke-width: 1; }
.venue__map .pin { fill: var(--gold-1); }
.venue__map .ring { fill: none; stroke: var(--gold-2); stroke-width: 1; transform-origin: center; }

/* ---------------------------------------------------------------------
   11. SPONSORS — expanding cinematic panels
   --------------------------------------------------------------------- */
.opp-panels { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.opp-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3.4vw, 40px) clamp(20px, 3vw, 44px);
  background: var(--navy-900);
  cursor: pointer;
  transition: background 0.5s var(--ease);
  isolation: isolate;
  overflow: hidden;
}
.opp-panel__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.1);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.opp-panel__sweep {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 40%, rgba(246,229,173,0.16) 50%, transparent 60%);
  transform: translateX(-100%);
}
.opp-panel:hover, .opp-panel.open { background: rgba(28,63,160,0.18); }
.opp-panel:hover .opp-panel__bg, .opp-panel.open .opp-panel__bg { opacity: 0.22; transform: scale(1); }
.opp-panel:hover .opp-panel__sweep { animation: sweep-x 0.9s var(--ease) forwards; }
@keyframes sweep-x { to { transform: translateX(100%); } }
.opp-panel__num { font-family: var(--font-display); color: var(--gold-2); font-size: clamp(1rem, 1.6vw, 1.4rem); }
.opp-panel__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 0.95; transition: letter-spacing 0.5s var(--ease); }
.opp-panel:hover .opp-panel__title, .opp-panel.open .opp-panel__title { letter-spacing: 0.02em; }
.opp-panel__body {
  grid-column: 1 / -1;
  max-height: 0; opacity: 0; overflow: hidden;
  color: var(--muted); font-size: 0.95rem; max-width: 62ch;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease);
}
.opp-panel.open .opp-panel__body { max-height: 240px; opacity: 1; margin-top: 14px; }
.opp-panel__plus { position: relative; width: 20px; height: 20px; flex: none; }
.opp-panel__plus::before, .opp-panel__plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--gold-1); transition: transform 0.4s var(--ease); }
.opp-panel__plus::before { width: 14px; height: 1.5px; }
.opp-panel__plus::after { width: 1.5px; height: 14px; }
.opp-panel.open .opp-panel__plus::after { transform: rotate(90deg); }

/* ---------------------------------------------------------------------
   12. NAV upgrade — logo scale + gold sweep
   --------------------------------------------------------------------- */
.site-header { transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s, height 0.5s var(--ease); }
.site-header.scrolled { height: 62px; background: rgba(4,7,17,0.9); }
.brand img { transition: transform 0.5s var(--ease); }
.site-header.scrolled .brand img { transform: scale(0.86); }
.nav a::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
  transform: scaleX(0) translateY(2px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.nav a:hover::before { transform: scaleX(1) translateY(0); opacity: 0.8; }

/* mobile menu — stadium atmosphere + blur-in items */
.mobile-nav__bg {
  background:
    radial-gradient(90% 60% at 80% 8%, rgba(58,99,214,0.28), transparent 60%),
    linear-gradient(180deg, transparent, rgba(4,9,26,0.4)),
    url("../assets/images/stadium.jpg");
  background-size: cover; background-position: center;
  filter: saturate(0.7) brightness(0.32);
}
.mobile-nav a { filter: blur(6px); transition: transform 0.6s var(--ease), color 0.3s var(--ease), filter 0.6s var(--ease); }
body.menu-open .mobile-nav a { filter: blur(0); }

/* ---------------------------------------------------------------------
   13. BUTTONS — animated seam stitch
   --------------------------------------------------------------------- */
.btn { isolation: isolate; }
.btn--gold::after,
.btn--ghost::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px;
  background-image: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px);
  background-size: 8px 1px;
  opacity: 0.25;
  transition: opacity 0.4s var(--ease), background-position 0.6s var(--ease);
}
.btn--gold::after { color: var(--ink); }
.btn:hover::after { opacity: 0.5; background-position: 8px 0; }

/* ---------------------------------------------------------------------
   14. PAGE TRANSITION — logo flash on the veil
   --------------------------------------------------------------------- */
.veil__mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0;
}
.veil__mark img { width: 74px; }
.veil.in .veil__mark { animation: veil-mark 0.42s var(--ease) forwards; }
@keyframes veil-mark { 40% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15); } }

/* ---------------------------------------------------------------------
   15. ATMOSPHERIC PARTICLE CANVAS (shared, very subtle)
   --------------------------------------------------------------------- */
.atmos {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* ---------------------------------------------------------------------
   16. CURSOR — cricket-ball inner mark
   --------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .cursor { mix-blend-mode: normal; border-color: rgba(244,247,253,0.4); }
  .cursor::after {
    content: ""; position: absolute; inset: 0; margin: auto;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--leather-hi);
    opacity: 0; transition: opacity 0.3s;
  }
  .cursor.is-hover { background: rgba(244,247,253,0.08); border-color: var(--gold-2); }
  .cursor.is-hover::after { opacity: 1; }
  .cursor.is-label { background: var(--gold-1); border-color: transparent; }
  .cursor-dot { background: var(--leather-hi); box-shadow: 0 0 8px rgba(224,101,79,0.8); }
}

/* ---------------------------------------------------------------------
   17. REDUCED MOTION — strip the heavy stuff
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__beams, .atmos, .sec-ball canvas { display: none; }
  .hero__title .word { animation: none; transform: none; opacity: 1; }
  .sec-ball { min-height: 0; }
  .sec-ball__pin { position: static; height: auto; padding-block: 14vh; }
  .sec-pitch { min-height: 0; }
  .sec-pitch__ground { transform: none; aspect-ratio: 16 / 7; }
  .venue__media img { opacity: 0.34; transform: none; }
  .ball-progress { display: none; }
}

/* ---------------------------------------------------------------------
   18. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .sec-ball canvas { width: 70vmin; height: 70vmin; }
  .opp-panel { grid-template-columns: auto 1fr auto; }
  .sec-pitch__ground { transform: rotateX(46deg); }
}
@media (max-width: 620px) {
  .team-card__jersey { display: none; }
  .commish__vlabel { display: none; }
  .glance-fig__num { font-size: clamp(3rem, 20vw, 5rem); }
  .sec-ball { min-height: 130vh; }
  .sec-ball__pin { height: auto; min-height: 92svh; padding-block: 16vh; }
  .sec-ball__canvas-wrap::before { width: 62vw; height: 62vw; }
  .sec-ball__canvas-wrap::after { width: 62vw; height: 19vw; }
  .sec-ball__title { font-size: clamp(2.6rem, 18vw, 4rem); }
  .sec-pitch__ground { transform: rotateX(40deg); aspect-ratio: 4 / 3; }
  .atmos { display: none; }
}
