/* The Bergen League — components · THEME v3 "PAPER & SCRIPT".
   Light paper world, navy ink, script brand voice, navy islands for rhythm.
   Zero dependencies; native scroll; transform/opacity only. */

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{background:url('../assets/noise.svg') repeat, var(--base);color:var(--ink);font-family:var(--body);font-size:var(--step-0);line-height:1.55}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding-inline:var(--gutter)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--navy);color:var(--bone);padding:10px 16px;z-index:99}
.skip-link:focus{left:0}

.display{font-family:var(--display);letter-spacing:.02em;font-weight:400}
.kicker{font-size:var(--kicker);letter-spacing:.22em;text-transform:uppercase;color:var(--mut);font-weight:600}

/* pill system — pills are BUTTONS and TAGS, never labels above headlines */
.btn{display:inline-block;font-family:var(--body);font-weight:700;font-size:14px;text-decoration:none;
  padding:13px 28px;border-radius:999px;transition:transform .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn:focus-visible{outline:2px solid var(--navy);outline-offset:3px}
.btn-register{background:var(--orange);color:#0B0D10}
.btn-ghost{background:rgba(10,27,51,.04);color:var(--ink);border:1px solid rgba(10,27,51,.28)}
.btn-ghost:hover{background:rgba(10,27,51,.09)}
.tag{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--mut);border:1px solid rgba(10,27,51,.25);border-radius:999px;padding:5px 12px;background:var(--surface)}

/* ---------- intro overlay — paper world ---------- */
/* the hidden attribute must always win — .field/.panel-style display rules were
   overriding it (register.html showed the volleyball division picker to basketball players) */
[hidden]{display:none !important}

.intro{position:fixed;inset:0;z-index:60;background:var(--base);display:flex;align-items:center;justify-content:center;
  transition:opacity .3s ease}
.intro[hidden]{display:none}
.intro.done{opacity:0;pointer-events:none}
.intro-stage{position:relative;width:min(560px,86vw);height:300px}
.intro-floor{position:absolute;left:0;right:0;bottom:70px;height:1.5px;background:rgba(10,27,51,.25)}
.intro-hoop{position:absolute;right:36px;top:44px}
.intro-board{width:66px;height:48px;border:2px solid rgba(10,27,51,.6);border-radius:3px}
.intro-rim{position:absolute;left:9px;top:46px;width:48px;height:6px;background:var(--orange);border-radius:3px}
.intro-net{position:absolute;left:14px;top:52px;width:38px;height:32px;
  background:
    linear-gradient(105deg,transparent 46%,rgba(10,27,51,.45) 46% 54%,transparent 54%),
    linear-gradient(75deg,transparent 46%,rgba(10,27,51,.45) 46% 54%,transparent 54%);
  clip-path:polygon(0 0,100% 0,76% 100%,24% 100%)}
.intro-ball{position:absolute;left:36px;bottom:76px;width:26px;height:26px;border-radius:50%;
  background:radial-gradient(circle at 34% 30%, #F08A44, #C4622D 70%);
  box-shadow:inset -2px -3px 6px rgba(0,0,0,.35)}
.intro-crest{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  opacity:0}
.intro-crest img{width:96px;height:96px;border-radius:50%;box-shadow:0 14px 34px rgba(10,27,51,.25)}
.intro-crest .t{font-family:var(--script);font-size:24px;color:var(--navy)}
.intro-skip{position:absolute;top:18px;right:18px;z-index:61;background:none;border:1px solid rgba(10,27,51,.3);
  color:var(--mut);font-size:12px;letter-spacing:.12em;padding:7px 14px;border-radius:999px;cursor:pointer}
.intro-skip:hover{color:var(--ink)}

.intro.play .intro-ball{animation:shot .62s cubic-bezier(.32,.05,.42,1) forwards}
.intro.play .intro-net{animation:netpop .22s ease .56s}
.intro.play .intro-crest{animation:crest .5s ease .62s forwards}
.intro.play .intro-hoop,.intro.play .intro-floor{animation:fadeout .3s ease .62s forwards}
@keyframes shot{
  0%{transform:translate(0,0)}
  62%{transform:translate(320px,-128px)}
  86%{transform:translate(392px,-64px)}
  100%{transform:translate(396px,-18px);opacity:0}}
@keyframes netpop{50%{transform:scaleY(1.22)}}
@keyframes crest{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@keyframes fadeout{to{opacity:0}}

/* ---------- nav ---------- */
.nav{position:absolute;top:0;left:0;right:0;z-index:30;padding:18px 0}
.nav .wrap{display:flex;align-items:center;gap:22px}
.nav-brand{display:flex;align-items:center;gap:12px;text-decoration:none;margin-right:auto}
.nav-brand img{width:38px;height:38px;border-radius:50%}
.nav-brand span{font-family:var(--script);font-size:18px;color:var(--navy)}
.nav-links{display:flex;gap:22px;list-style:none}
.nav-links a{font-size:13px;font-weight:700;letter-spacing:.06em;text-decoration:none;color:var(--navy)}
.nav-links a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--orange);text-decoration-thickness:2px}
@media(max-width:760px){.nav-links{display:none}}

/* ---------- sticky bar ---------- */
.bar{position:fixed;top:0;left:0;right:0;z-index:40;background:rgba(245,240,229,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--hairline);transform:translateY(-100%);transition:transform .25s ease}
.bar.on{transform:translateY(0)}
.bar .wrap{display:flex;align-items:center;gap:18px;padding-block:10px}
.bar-next{font-size:13px;color:var(--mut);margin-right:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-next b{color:var(--ink);font-weight:700}
.bar-links{display:flex;gap:16px;list-style:none}
.bar-links a{font-size:12px;font-weight:600;letter-spacing:.06em;text-decoration:none;color:var(--mut)}
.bar-links a:hover{color:var(--ink)}
.bar .btn{padding:8px 18px;font-size:12px}
.bar .nav-brand span{font-size:15px}
@media(max-width:760px){.bar-links{display:none}}

/* ---------- hero — the script goes HUGE ---------- */
.hero{position:relative;min-height:100svh;display:flex;align-items:center;overflow:hidden;background:var(--base)}
/* the painted playground — big quiet paint shapes, not hairlines */
.hero-court{position:absolute;inset:0;pointer-events:none}
.hero-court .hc-circle{position:absolute;right:-24vw;top:-32vh;width:80vw;height:80vw;border-radius:50%;
  border:10px solid rgba(10,27,51,.06)}
.hero-court .hc-circle::before{content:"";position:absolute;inset:26px;border-radius:50%;
  border:2px solid rgba(10,27,51,.07)}
.hero-court .hc-key{position:absolute;right:-6vw;bottom:16vh;width:clamp(300px,44vw,640px);height:38vh;
  background:rgba(232,114,44,.06);border:2px solid rgba(232,114,44,.14);border-bottom:0;
  border-radius:14px 14px 0 0}
.hero-court .hc-rays{position:absolute;inset:0;
  background:repeating-conic-gradient(from -18deg at 6% -4%, rgba(10,27,51,.032) 0 5deg, transparent 5deg 13deg)}
.hero-court .hc-base{position:absolute;left:0;right:0;bottom:16vh;height:2px;background:rgba(10,27,51,.16)}
/* hero grid — text owns the left lane, the ball owns the right; they can never collide */
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(20px,4vw,64px);
  align-items:end;width:100%;padding-block:76px calc(16vh - 8px)}
.hero-content{position:relative;z-index:2;min-width:0}
/* paper scrim — a pool of clean creme behind the text lane so the caps line and sub
   never fight a busy film frame. The film multiplies onto paper, so painting paper
   back over it simply erases the print where the words live; edges stay soft. */
.hero-content::before{content:"";position:absolute;z-index:-1;
  inset:-16% -20% -16% -28%;pointer-events:none;
  /* a wash, not a hole: dims the film to ~40% behind the words, no detectable edge */
  background:radial-gradient(ellipse at 30% 60%, rgba(245,240,229,.60) 26%, rgba(245,240,229,.32) 55%, rgba(245,240,229,0) 78%)}
.hero-side{position:relative;z-index:1;width:clamp(230px,32vw,430px);align-self:end}
.hero-side::after{content:"";position:absolute;left:8%;right:8%;bottom:-14px;height:26px;border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(10,27,51,.18), transparent 65%)}
.hero-ball{width:100%;aspect-ratio:1;pointer-events:none;
  opacity:0;transform:translateX(60px) rotate(20deg)}
.hero.in .hero-ball{opacity:1;transform:none;transition:opacity .7s ease .2s,transform .7s cubic-bezier(.2,.7,.3,1) .2s}
.hero-ball svg{width:100%;height:100%;display:block;filter:drop-shadow(0 22px 30px rgba(10,27,51,.18))}
/* stickers glue to the ball's upper-left, at every width */
.hero-stickers{position:absolute;top:2%;left:-13%;z-index:3;
  display:flex;gap:22px;align-items:center;pointer-events:none}
.stk-crest{width:min(66px,7vw);height:min(66px,7vw);border-radius:50%;border:4px solid #fff;
  box-shadow:0 8px 20px rgba(10,27,51,.22);transform:rotate(-9deg)}
.stk-badge{width:min(80px,8.4vw);height:min(80px,8.4vw);transform:rotate(7deg)}
/* ---------- print hero — the gym pressed INTO the paper (Danny 8/14: "keep the crème") ----------
   The empty-gym photo multiplies onto the crème like an old print: paper shows through the
   highlights, edges mask away into the page. No dark island, no chrome overrides needed. */
.hero-print .hero-court .hc-rays{display:none} /* photo replaces the rays; key + circle stay */
.hero-print .hero-media{position:absolute;inset:0;overflow:hidden}
.hero-print .hero-media img,
.hero-print .hero-media video{width:100%;height:100%;object-fit:cover;object-position:50% 38%;
  filter:grayscale(1) sepia(.24) brightness(1.15) contrast(.93);mix-blend-mode:multiply;opacity:.5;
  /* top stop keeps the nav lane near-clean paper so the links never sit on the photo */
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.14) 0,#000 160px,#000 52%,transparent 97%),linear-gradient(90deg,rgba(0,0,0,.35) 0,#000 44%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.14) 0,#000 160px,#000 52%,transparent 97%),linear-gradient(90deg,rgba(0,0,0,.35) 0,#000 44%);
  mask-composite:intersect}
/* the film IS the hero background (Danny 8/18: video only, no still underneath).
   Before playback — and whenever play() is refused (reduced-motion, Low Power Mode) —
   the poster frame renders inside the same treatment, so the print never goes missing. */
.hero-print .hero-plate{box-shadow:0 18px 40px rgba(10,27,51,.16),0 2px 6px rgba(10,27,51,.08)}
.hero-print .hero-plate-wrap .stk-solo{box-shadow:0 8px 18px rgba(10,27,51,.25)}
/* the living print — a white studio stage inside the frame; main.js drifts the player
   as the hero scrolls past (Higgsfield video scrubs into this same stage; see index.html) */
.plate-stage{position:relative;aspect-ratio:4/5;overflow:hidden;
  background:linear-gradient(180deg,#FDFCF8 0%,#F4F1E9 78%,#ECE8DD 100%);
  border:1px solid rgba(10,27,51,.08)}
.plate-stage::after{content:"";position:absolute;left:18%;right:18%;bottom:5%;height:5%;
  border-radius:50%;background:radial-gradient(ellipse at center, rgba(10,27,51,.16), transparent 65%)}
.plate-player{position:absolute;left:50%;bottom:2%;height:94%;width:auto;max-width:none;
  transform:translateX(-50%);transform-origin:50% 100%;will-change:transform;z-index:1}
/* the wall of champions — past-winner photos crossfade inside the same plate frame.
   The floor-shadow ::after is hidden here: these are full photos, not a cutout on a stage. */
.plate-champs::after{display:none}
.plate-champ{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .9s ease}
.plate-champ.on{opacity:1}

/* ---------- photo hero — Game Night base + media-day plate (Danny's merge, 8/14) ----------
   Full-bleed real game photo graded to navy (CSS duotone, tunable), script in bone;
   the mounted print floats in the right lane where the illustrated ball used to live. */
.hero-dark{background:var(--navy)}
.hero-dark .hero-court{display:none}
.hero-media{position:absolute;inset:0;overflow:hidden}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:36% 24%;
  filter:grayscale(1) contrast(1.06) brightness(.92)}
.hero-media .grade-tint{position:absolute;inset:0;background:var(--navy);mix-blend-mode:color}
.hero-media .grade-mul{position:absolute;inset:0;background:rgba(10,27,51,.42);mix-blend-mode:multiply}
.hero-media .grade-shade{position:absolute;inset:0;
  background:linear-gradient(105deg,rgba(6,14,27,.88) 0%,rgba(6,14,27,.62) 46%,rgba(6,14,27,.18) 100%)}
.hero.hero-dark h1{color:var(--bone)} /* .hero.hero-dark: must outrank the later `.hero h1` navy rule */
/* paper-tuned chrome goes bone when the page opens on a dark hero */
.dark-hero .nav-brand span{color:var(--bone)}
.dark-hero .nav-links a{color:rgba(242,239,230,.72)}
.dark-hero .nav-links a:hover{color:var(--bone)}
.hero-dark .hero-block{color:var(--gold)}
.hero-dark .hero-sub{color:rgba(242,239,230,.82)}
.hero-dark .hero-sub b{color:var(--bone)}
.hero-dark .hero-next{background:rgba(242,239,230,.1);border:1px solid rgba(242,239,230,.28)}
.hero-dark .hero-side::after{display:none}
/* the plate — a mounted media-day print, slapped over the game like a physical photo */
.hero-plate-wrap{position:relative}
.hero-plate{background:var(--surface);padding:12px 12px 0;margin:0;
  box-shadow:0 24px 54px rgba(4,10,20,.55), 0 3px 8px rgba(4,10,20,.3);
  transform:rotate(2deg)}
.hero-plate > img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.hero-plate figcaption{font-family:var(--display);letter-spacing:.18em;font-size:13.5px;
  color:var(--mut);padding:12px 4px;display:flex;justify-content:space-between}
.hero-plate figcaption b{color:var(--orange)}
.hero-plate-wrap .stk-solo{position:absolute;top:-26px;left:-30px;width:88px;height:88px;z-index:3;
  transform:rotate(-9deg);border-radius:50%;box-shadow:0 8px 18px rgba(4,10,20,.45)}
@media(max-width:900px){
  /* stacked: keep the shade readable top-to-bottom, tuck the plate in under the CTA */
  .hero-media .grade-shade{background:linear-gradient(180deg,rgba(6,14,27,.86) 0%,rgba(6,14,27,.66) 55%,rgba(6,14,27,.38) 100%)}
  .hero-dark .hero-side{width:min(300px,78vw);margin-top:34px}
}

/* next-game chip — rides beside the CTA so the live data is never below the fold */
.hero-cta-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.hero-next{white-space:nowrap;background:var(--navy);color:var(--bone);text-decoration:none;
  font-size:12px;font-weight:700;letter-spacing:.08em;padding:11px 18px;border-radius:999px;
  transform:rotate(-1.5deg);box-shadow:0 8px 20px rgba(10,27,51,.18)}
.hero-next b{color:var(--orange)}
.hero-next:hover{transform:rotate(-1.5deg) translateY(-2px)}
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;align-items:start;padding-block:88px 72px}
  .hero-side{width:min(62vw,320px);margin:6px 0 0 auto}
  .hero-stickers{left:-14%}
  .stk-crest{width:52px;height:52px}
  .stk-badge{width:66px;height:66px}
  .hero-next{position:static;display:inline-block;margin-top:16px}
}
.hero h1{font-family:var(--script);font-size:clamp(44px,7.8vw,118px);line-height:1.02;color:var(--navy);
  transform:rotate(-2deg);transform-origin:left center;
  text-shadow:0.035em 0.035em 0 var(--orange);margin-bottom:20px}
.hero-block{font-family:var(--display);font-size:clamp(18px,2.6vw,30px);letter-spacing:.14em;margin-bottom:12px}
.hero-sub{color:var(--mut);font-size:16px;margin-bottom:28px;max-width:52ch}
.hero-sub b{color:var(--ink);font-weight:700}
.hero .float{opacity:0;transform:translateY(18px)}
.hero h1.float{transform:translateY(18px) rotate(-2deg)}
.hero.in .float{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}
.hero.in h1.float{transform:rotate(-2deg)}
.hero.in .float:nth-child(2){transition-delay:.08s}
.hero.in .float:nth-child(3){transition-delay:.16s}
.hero.in .float:nth-child(4){transition-delay:.24s}

/* ---------- court-line rail + dividers (the signature) ---------- */
.rail{position:fixed;left:calc(var(--gutter)/2);top:0;bottom:0;width:2px;z-index:20;pointer-events:none}
.rail i{display:block;width:100%;height:100%;background:rgba(10,27,51,.22);
  transform:scaleY(var(--drawn,0));transform-origin:top;will-change:transform}
@media(max-width:900px){.rail{display:none}}
.divider{margin:0;padding:0;border:0;height:140px;position:relative;contain:paint}
.divider svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
/* non-scaling-stroke keeps the line 2px even though preserveAspectRatio="none" stretches the box */
.divider path{stroke:rgba(10,27,51,.34);stroke-width:2;fill:none;vector-effect:non-scaling-stroke;
  stroke-linecap:round}
/* the line is VISIBLE by default — it only starts hidden when JS is running to draw it.
   No-JS, a throttled tab, or a failed observer therefore shows the line, never an empty gap. */
.divider .mask{transform:scaleX(1);transform-origin:left center;transform-box:fill-box}
.js .divider .mask{transform:scaleX(0);transition:transform .9s cubic-bezier(.6,0,.2,1)}
.js .divider.drawn .mask{transform:scaleX(1)}

/* divider-arch — the arch IS the Scoreboard header: one court line, the top-of-the-key
   arch, the script title inside it. Same philosophy: everything visible by default, .js
   hides it only to draw it back. On .drawn: line+arch stroke themselves L→R → the title
   fades in under the arch → the orange pulse laps the line and crowns the title. */
.divider-arch{height:140px;margin-bottom:30px}
.divider-arch h2{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);
  font-family:var(--script);font-size:clamp(26px,3.6vw,42px);color:var(--navy);line-height:1;
  white-space:nowrap}
.divider-arch .pulse{stroke:var(--orange);stroke-width:3;stroke-dasharray:56 1600;opacity:0}
/* hidden offset > dash length: offset exactly == dash with round caps leaves a cap-dot artifact */
.js .divider-arch .draw{stroke-dasharray:4000;stroke-dashoffset:4020;
  transition:stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1)}
.js .divider-arch.drawn .draw{stroke-dashoffset:0}
.js .divider-arch h2{opacity:0;transition:opacity .7s ease .8s}
.js .divider-arch.drawn h2{opacity:1}
.js .divider-arch.drawn .pulse{opacity:1;transition:opacity .4s ease 1.6s;
  animation:archPulse 10s linear 1.6s infinite}
/* travel = pulse length 1452 + dash 56 = 1508 of the 1656 period; the 90–100% hold is the
   breather between laps (dash fully past the end at both keyframe ends, so no seam pop) */
@keyframes archPulse{0%{stroke-dashoffset:1656}90%,100%{stroke-dashoffset:148}}
/* the arch replaces the section's top padding — this is what raises the scoreboard */
#nextup{padding-top:0}
@media(max-width:640px){.divider-arch{height:100px}.divider-arch h2{bottom:18px}}
/* divider-circle — center court, same system as the arch: the line strokes itself L→R
   (skipping the circle), the ring traces around as the reveal passes, then the orange
   pulse laps the line and rides the ring's top. Visible by default; .js hides to draw. */
.divider-circle .pulse{stroke:var(--orange);stroke-width:3;stroke-dasharray:56 1600;opacity:0}
.js .divider-circle .draw{stroke-dasharray:4000;stroke-dashoffset:4020;
  transition:stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1)}
/* ring hidden state: offset 315 parks the 310 dash fully off the 301.6 ring, no cap dot */
.js .divider-circle .ring{stroke-dasharray:310;stroke-dashoffset:315;
  transition:stroke-dashoffset .7s ease .45s}
.js .divider-circle.drawn .draw,
.js .divider-circle.drawn .ring{stroke-dashoffset:0}
.js .divider-circle.drawn .pulse{opacity:1;transition:opacity .4s ease 1.6s;
  animation:circlePulse 10s linear 1.6s infinite}
/* travel = pulse length 1455 + dash 56 = 1511 of the 1656 period; the hold is the breather */
@keyframes circlePulse{0%{stroke-dashoffset:1656}90%,100%{stroke-dashoffset:140}}

/* ---------- sections ---------- */
section{padding-block:var(--space-section)}
.sec-head{margin-bottom:34px}
.sec-head h2{font-family:var(--script);font-size:clamp(26px,3.6vw,42px);color:var(--navy);line-height:1.1}

/* next up — navy island card on paper */
.nextup-card{display:grid;grid-template-columns:auto 1fr auto;gap:26px;align-items:center;
  background:var(--navy);color:var(--bone);border-radius:var(--radius);padding:26px 30px;
  box-shadow:0 14px 34px rgba(10,27,51,.14)}
.nextup-date{font-family:var(--display);font-size:clamp(24px,3vw,34px);line-height:1}
.nextup-date small{display:block;font-family:var(--body);font-size:12px;letter-spacing:.14em;color:rgba(242,239,230,.65);margin-top:6px}
.nextup-match{font-family:var(--display);font-size:clamp(22px,3.4vw,40px);line-height:1.05}
.nextup-match span{color:rgba(242,239,230,.55)}
.nextup-venue{text-align:right;font-size:13px;color:rgba(242,239,230,.65)}
.nextup-note{margin-top:12px;font-size:12px;color:var(--mut)}
.nextup-fallback{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);
  padding:26px 30px;color:var(--mut);font-size:14px}
.nextup-fallback a{color:var(--ink)}
@media(max-width:760px){.nextup-card{grid-template-columns:1fr;gap:12px}.nextup-venue{text-align:left}}

/* scoreboard strip — Unrivaled scoreboard-first, our paper */
.scoreb{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,240px);gap:12px;
  overflow-x:auto;padding-bottom:8px;-webkit-overflow-scrolling:touch}
.sb-card{background:var(--surface);border:1px solid var(--hairline);border-radius:12px;padding:16px 18px;min-width:0}
.sb-lbl{font-size:10px;letter-spacing:.18em;color:var(--mut);text-transform:uppercase;font-weight:700;margin-bottom:10px}
.sb-row{display:flex;justify-content:space-between;gap:10px;font-family:var(--display);font-size:18px;padding:3px 0}
.sb-row .sc{font-variant-numeric:tabular-nums}
.sb-row.w{font-weight:400}
.sb-row.l{opacity:.55}
.sb-date{font-size:11px;color:var(--mut);margin-top:8px}
.sb-next{background:var(--navy);color:var(--bone);border-color:var(--navy)}
.sb-next .sb-lbl{color:var(--orange)}
.sb-next .sb-date{color:rgba(242,239,230,.65)}
.sb-more{display:flex;align-items:center;justify-content:center;text-decoration:none;
  font-weight:700;font-size:13px;color:var(--orange);border:1px dashed rgba(232,114,44,.5);border-radius:12px}

/* photo finals — the scoreboard, Option C (Danny's pick 8/16): every final rides its own
   navy-graded game photo (the hero duotone recipe), the next game is the empty gym.
   The strip pads outward so the horizontal-scroll container never clips the shadows. */
.scoreb-photo{grid-auto-columns:minmax(235px,1fr);gap:14px;
  /* the outward pull can never exceed the page gutter, or the strip forces sideways page scroll on phones */
  padding:28px min(28px,var(--gutter)) 112px;margin:-28px calc(-1 * min(28px,var(--gutter))) -84px}
.pc{position:relative;display:block;border-radius:12px;overflow:hidden;aspect-ratio:3/3.8;
  background:var(--navy);color:var(--bone);text-decoration:none;
  /* layered diffuse shadow — blur ramps 14→36→70 so the falloff has no hard edge */
  box-shadow:0 6px 14px rgba(10,27,51,.12),0 18px 36px rgba(10,27,51,.18),0 34px 70px rgba(10,27,51,.22);
  transition:box-shadow .35s ease,transform .35s ease}
.pc:hover{transform:translateY(-3px);
  box-shadow:0 8px 18px rgba(10,27,51,.14),0 24px 44px rgba(10,27,51,.24),0 44px 84px rgba(10,27,51,.28)}
.pc img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:grayscale(1) contrast(1.06) brightness(.92);transition:transform .45s ease}
.pc:hover img{transform:scale(1.04)}
.pc .grade-tint{position:absolute;inset:0;background:var(--navy);mix-blend-mode:color}
.pc .grade-mul{position:absolute;inset:0;background:rgba(10,27,51,.38);mix-blend-mode:multiply}
.pc .grade-shade{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(6,14,27,.32) 0%,rgba(6,14,27,.06) 40%,rgba(6,14,27,.88) 100%)}
.pc-top{position:absolute;top:14px;left:16px;z-index:2;font-size:10px;font-weight:700;
  letter-spacing:.2em;color:rgba(242,239,230,.75)}
.pc-score{position:absolute;left:16px;right:16px;bottom:14px;z-index:2}
.pc-score .sb-row{font-size:20px}
.pc-score .sb-row .sc{font-size:24px}
.pc-score .sb-row.w .sc{color:var(--orange)}
.pc-score .sb-row.l{opacity:.55}
.pc-date{font-size:11px;color:rgba(242,239,230,.6);margin-top:8px}
.pc-next .pc-top{color:var(--orange)}
.pc-next .grade-shade{background:linear-gradient(180deg,rgba(6,14,27,.5) 0%,rgba(6,14,27,.25) 45%,rgba(6,14,27,.9) 100%)}
.sb-more-pill{display:inline-flex;margin-top:14px;padding:12px 22px;border-radius:999px}
@media (prefers-reduced-motion: reduce){.pc,.pc img{transition:none}}

/* join the club — navy closer band */
.club{background:var(--navy);color:var(--bone);text-align:center}
.club h2{font-family:var(--script);font-size:clamp(34px,5vw,60px);color:var(--bone);margin-bottom:12px}
.club h2 em{font-style:normal;color:var(--orange)}
.club p{color:rgba(242,239,230,.7);max-width:46ch;margin:0 auto 24px;font-size:15px}

/* numbers — navy island */
.numbers{position:relative;background:var(--navy);color:var(--bone);overflow:hidden}
.numbers .wrap{position:relative;z-index:2;display:flex;gap:clamp(24px,4vw,56px);
  justify-content:space-between;align-items:baseline;flex-wrap:wrap;row-gap:34px}
.stat{font-family:var(--display)}
.stat b{display:block;font-size:clamp(40px,5.6vw,72px);line-height:1;font-weight:400}
@media(max-width:760px){.stat{flex:1 1 40%}}
.stat b .scr{font-family:var(--script);font-size:.55em;color:var(--orange);margin-right:6px;
  display:inline-block;transform:rotate(-3deg) translateY(-.1em)}
.stat span{font-family:var(--body);font-size:12px;letter-spacing:.18em;color:rgba(242,239,230,.6);text-transform:uppercase}
.giant-six{position:absolute;right:-4%;top:50%;transform:translateY(-52%);z-index:1;
  font-family:var(--script);font-size:clamp(260px,38vw,520px);line-height:1;color:rgba(242,239,230,.06);
  user-select:none;pointer-events:none}

/* media cards — paper cards, halftone print texture */
.media-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mc{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--hairline);
  background:
    radial-gradient(rgba(10,27,51,.08) 1px, transparent 1.5px) 0 0/14px 14px,
    var(--surface);
  aspect-ratio:4/5;display:flex;flex-direction:column;justify-content:flex-end;padding:22px;text-decoration:none;
  transition:transform .18s ease}
.mc:hover{transform:translateY(-3px) rotate(-.5deg)}
.mc-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.mc::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top, rgba(10,27,51,.88) 0%, rgba(10,27,51,.38) 46%, rgba(10,27,51,0) 72%)}
.mc-tag,.mc-title,.mc-cta{position:relative;z-index:2}
.mc-tag{font-size:11px;letter-spacing:.18em;color:rgba(242,239,230,.72);text-transform:uppercase;font-weight:600;margin-bottom:8px}
.mc-title{font-family:var(--display);font-size:clamp(22px,2.6vw,30px);line-height:1.05;color:var(--bone)}
.mc-cta{margin-top:10px;font-size:12px;color:var(--orange);font-weight:700}
@media(max-width:899px){.media-row{grid-template-columns:1fr}.mc{aspect-ratio:16/9}}
.sample-note{margin-top:14px;font-size:12px;color:var(--mut)}
.sample-note a{color:var(--ink)}

/* team cards */
.teams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.team{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);padding:18px}
.team-badge{width:44px;height:44px;border-radius:50%;background:var(--navy);
  display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:16px;color:var(--bone);
  margin-bottom:12px}
.team h3{font-family:var(--display);font-size:19px;letter-spacing:.04em;line-height:1.1}
.team .rec{margin-top:6px;font-size:13px;color:var(--mut)}
.team .rec b{color:var(--ink);font-weight:700}

/* player name grid */
.players-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 20px;margin-top:8px}
.player{padding:10px 0;border-bottom:1px solid var(--hairline);font-size:15px;line-height:1.25}
.player small{display:block;font-weight:400;color:var(--mut)}
.player b{font-weight:700;letter-spacing:.01em}

/* placeholder beats */
.beat-stub{border-top:1px solid var(--hairline)}
.beat-stub .wrap{display:flex;align-items:baseline;gap:22px;flex-wrap:wrap}
.beat-stub h2{font-family:var(--script);font-size:clamp(22px,2.6vw,32px);color:rgba(10,27,51,.35)}
.beat-stub p{font-size:13px;color:var(--mut)}

/* the four bottom beats — each heading now carries a strip of real prints
   (the .pc graded-photo card is the same device as the scoreboard strip) */
.beat-row{border-top:1px solid var(--hairline);padding-block:40px}
.beat-row .wrap{display:grid;grid-template-columns:minmax(230px,1fr) 2fr;gap:30px;align-items:center}
.beat-row h2{font-family:var(--script);font-size:clamp(24px,2.8vw,34px);color:var(--navy)}
.beat-row p{font-size:13.5px;color:var(--mut);margin-top:8px;max-width:36ch;line-height:1.6}
.beat-row .beat-cta{margin-top:16px}
.beat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.beat-strip .pc{aspect-ratio:3/3.4}
.beat-strip .pc:nth-child(1){transform:rotate(-1.2deg)}
.beat-strip .pc:nth-child(2){transform:rotate(.8deg) translateY(6px)}
.beat-strip .pc:nth-child(3){transform:rotate(-.5deg)}
@media(max-width:760px){.beat-row .wrap{grid-template-columns:1fr}.beat-strip{gap:10px}}

/* bottom pill nav — mobile only (the 8/18 call: Standings·Games·Stats·Rules + Register) */
.pillnav{display:none}
@media(max-width:760px){
  .pillnav{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;
    display:grid;grid-template-columns:repeat(5,1fr);gap:3px;
    background:var(--navy);border-radius:999px;padding:6px;
    box-shadow:0 10px 28px rgba(10,27,51,.35)}
  .pillnav a{min-width:0;text-align:center;font-family:var(--display);font-size:11px;letter-spacing:.03em;
    color:rgba(253,252,248,.75);padding:9px 0;border-radius:999px;text-decoration:none;white-space:nowrap;
    overflow:hidden;text-overflow:clip}
  .pillnav a[aria-current="page"]{background:rgba(253,252,248,.14);color:var(--bone)}
  .pillnav a.pn-reg{background:var(--orange);color:var(--bone)}
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
}

/* footer — navy island scoreboard */
footer{background:var(--navy);color:var(--bone);padding-block:56px 40px}
.score-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:32px;align-items:start}
.score-col h3{font-family:var(--display);font-size:22px;letter-spacing:.14em;margin-bottom:14px}
.score-col.away{text-align:right}
.score-col ul{list-style:none}
.score-col li{margin-bottom:8px}
.score-col a{font-size:14px;color:rgba(242,239,230,.65);text-decoration:none}
.score-col a:hover{color:var(--bone)}
.score-crest{align-self:center;text-align:center}
.score-crest img{width:64px;height:64px;border-radius:50%;margin:0 auto 8px}
.score-crest span{display:block;font-family:var(--script);font-size:14px;color:rgba(242,239,230,.7)}
.foot-note{margin-top:36px;padding-top:18px;border-top:1px solid rgba(242,239,230,.15);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;color:rgba(242,239,230,.55)}
@media(max-width:640px){.score-grid{grid-template-columns:1fr;gap:24px}.score-col.away{text-align:left}}

/* ---------- subpage chrome ---------- */
.page{padding-top:64px}
.page-head{padding:52px 0 34px}
.page-head .kicker{display:block}   /* h1 is inline-block (for the tilt) — kicker must not share its line */
.page-head h1{font-family:var(--script);font-size:clamp(40px,7.5vw,92px);line-height:1.05;color:var(--navy);
  transform:rotate(-1.5deg);transform-origin:left center;display:inline-block;
  text-shadow:0.03em 0.03em 0 var(--orange);margin-top:10px}
.page-head p{color:var(--mut);margin-top:14px;max-width:56ch}
.version-stamp{font-size:12px;color:var(--mut);margin-top:8px}
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 8px}
.filter-row button{cursor:pointer;font-family:var(--body)}
.filter-row button.active{background:var(--navy);color:var(--bone);border-color:var(--navy)}

/* schedule rows */
.week{margin-top:34px}
.week h3{font-family:var(--display);font-size:20px;letter-spacing:.08em;color:var(--mut);margin-bottom:8px}
.game-row{display:grid;grid-template-columns:150px 1fr auto auto;gap:18px;align-items:center;
  padding:16px 4px;border-bottom:1px solid var(--hairline)}
.game-row .gd{font-family:var(--display);font-size:19px}
.game-row .gd small{display:block;font-family:var(--body);font-size:11px;letter-spacing:.12em;color:var(--mut)}
.game-row .gm{font-family:var(--display);font-size:clamp(18px,2.4vw,26px)}
.game-row .gm span{color:var(--mut)}
.game-row .gv{font-size:12px;color:var(--mut);text-align:right}
@media(max-width:700px){.game-row{grid-template-columns:1fr auto}.game-row .gv,.game-row .tag{display:none}}

/* ---------- panel: the single bordered container both data pages live in ---------- */
.panel{border:1px solid var(--hairline);border-radius:16px;background:var(--surface);overflow:hidden}
.panel-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 24px;
  border-bottom:1px solid var(--hairline)}
.panel-head h2{font-family:var(--script);font-size:clamp(22px,2.8vw,32px);color:var(--navy);
  margin-right:auto;line-height:1.1}
.panel-filters{display:flex;gap:8px;flex-wrap:wrap}
.panel-filters button{cursor:pointer;font-family:var(--body)}
.panel-filters button.active{background:var(--navy);color:var(--bone);border-color:var(--navy)}
.panel-note{padding:14px 24px 20px;font-size:12px;color:var(--mut)}
.panel-note a{color:var(--ink)}

/* full-width tab sub-nav (their Leaders / Player Stats / Team Stats bar) */
.subnav{position:sticky;top:52px;z-index:25;background:var(--base);border-bottom:1px solid var(--hairline)}
.subnav .wrap{display:flex;gap:28px;overflow-x:auto}
.subnav button{background:none;border:0;cursor:pointer;font-family:var(--display);font-size:18px;
  letter-spacing:.06em;color:var(--mut);padding:15px 0;border-bottom:3px solid transparent;
  margin-bottom:-1px;white-space:nowrap}
.subnav button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--orange)}

/* ---------- games: score leads, winner carries the caret ---------- */
.gday{padding:22px 24px 4px}
.gday + .gday{border-top:1px solid var(--hairline)}
.gday-h{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.gday-h b{font-family:var(--display);font-size:19px;letter-spacing:.08em;font-weight:400}
.gday-h span{font-size:11px;letter-spacing:.14em;color:var(--mut);text-transform:uppercase}
.grow{display:grid;grid-template-columns:64px 1fr auto;gap:18px;align-items:center;
  background:var(--base);border:1px solid var(--hairline);border-radius:10px;
  padding:14px 18px;margin-bottom:10px}
.grow .state{font-family:var(--display);font-size:14px;letter-spacing:.1em;color:var(--mut)}
.gteams{display:flex;flex-direction:column;gap:5px;min-width:0}
.gteam{display:grid;grid-template-columns:13px 40px 1fr;gap:10px;align-items:center}
.gteam .caret{color:var(--orange);font-size:14px;line-height:1;text-align:center}
.gteam .sc{font-family:var(--display);font-size:clamp(19px,2.3vw,24px);text-align:right;
  font-variant-numeric:tabular-nums}
.gteam .nm{font-family:var(--display);font-size:clamp(17px,2.1vw,21px);letter-spacing:.03em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gteam.lost{color:var(--mut)}
.gteam.upcoming{grid-template-columns:13px 40px 1fr}
.g-right{display:flex;align-items:center;gap:12px;justify-content:flex-end}
.g-time{font-family:var(--display);font-size:17px;letter-spacing:.06em;white-space:nowrap;color:var(--mut)}
.btn-box{font-size:11px;font-weight:700;letter-spacing:.09em;padding:10px 16px;border-radius:8px;
  background:var(--navy);border:1px solid var(--navy);color:var(--bone);cursor:pointer;
  font-family:var(--body);white-space:nowrap}
.btn-box:hover{background:var(--ink)}
@media(max-width:700px){
  .gday{padding:18px 14px 4px}
  .grow{grid-template-columns:1fr auto;gap:10px 12px;padding:12px 14px}
  .grow .state{grid-column:1/-1;font-size:12px}
  .g-right{grid-column:1/-1;justify-content:flex-start}
  .panel-head{padding:16px}
}

/* box score dialog */
dialog.boxdlg{border:0;padding:0;background:transparent;max-width:min(760px,94vw);width:100%;
  margin:auto}   /* the * reset nukes dialog's default auto-centering margin */
dialog.boxdlg::backdrop{background:rgba(10,27,51,.55)}
.box-inner{background:var(--base);border-radius:14px;overflow:hidden;box-shadow:0 30px 70px rgba(10,27,51,.35)}
.box-head{background:var(--navy);color:var(--bone);padding:20px 24px;display:flex;align-items:center;gap:16px}
.box-head .bh-t{flex:1;min-width:0}
.box-head h3{font-family:var(--display);font-size:22px;letter-spacing:.04em}
.box-head p{font-size:12px;color:rgba(242,239,230,.65);margin-top:4px}
.box-close{background:rgba(242,239,230,.12);border:0;color:var(--bone);width:34px;height:34px;border-radius:50%;
  cursor:pointer;font-size:18px;line-height:1;flex:none}
.box-close:hover{background:rgba(242,239,230,.24)}
.box-body{max-height:70vh;overflow:auto;padding:8px 0 20px}
.box-team{padding:18px 24px 4px}
.box-team h4{font-family:var(--display);font-size:19px;letter-spacing:.05em;display:flex;justify-content:space-between}
.box-team h4 span{font-variant-numeric:tabular-nums}
.box-tbl{width:100%;border-collapse:collapse;margin-top:8px;font-size:13px}
.box-tbl th{font-family:var(--display);font-size:13px;letter-spacing:.08em;color:var(--mut);font-weight:400;
  text-align:right;padding:8px 6px;border-bottom:1px solid var(--hairline)}
.box-tbl th:first-child{text-align:left}
.box-tbl td{padding:9px 6px;text-align:right;border-bottom:1px solid var(--hairline);font-variant-numeric:tabular-nums}
.box-tbl td:first-child{text-align:left;font-weight:600}

/* ---------- stats page ---------- */
/* leaders: two columns of flat category lists — no cards */
.leaders-cols{display:grid;grid-template-columns:1fr 1fr}
.lead-col{padding:22px 24px}
.lead-col + .lead-col{border-left:1px solid var(--hairline)}
.lead-col > h3{font-family:var(--script);font-size:clamp(20px,2.2vw,26px);color:var(--navy);margin-bottom:16px}
.lead-cat + .lead-cat{margin-top:26px}
.lead-cat-h{display:flex;justify-content:space-between;align-items:center;gap:10px;
  background:rgba(10,27,51,.07);border-radius:6px;padding:9px 14px;
  font-family:var(--display);font-size:15px;letter-spacing:.1em}
.lead-cat-h span{font-size:11px;letter-spacing:.12em;color:var(--mut);font-family:var(--body);font-weight:700}
.lead-row{display:grid;grid-template-columns:22px 1fr auto;gap:12px;align-items:baseline;
  padding:11px 14px;border-bottom:1px solid var(--hairline)}
.lead-row:last-child{border-bottom:0}
.lead-row .rk{font-family:var(--display);font-size:15px;color:var(--mut)}
.lead-row .who{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lead-row .who b{font-weight:700;font-size:14px}
.lead-row .who small{font-size:12px;color:var(--mut);margin-left:8px}
.lead-row .v{font-family:var(--display);font-size:19px;font-variant-numeric:tabular-nums}
@media(max-width:900px){
  .leaders-cols{grid-template-columns:1fr}
  .lead-col + .lead-col{border-left:0;border-top:1px solid var(--hairline)}
  .lead-col{padding:18px 14px}
}

.page-flat{padding-bottom:40px}
.subnav{margin-top:52px}          /* clear the fixed bar */
.page-flat .wrap{padding-top:28px}
.tbl-scroll{overflow-x:auto;padding:4px 24px 8px}
@media(max-width:700px){.tbl-scroll{padding:4px 14px 8px}}
.stat-tbl{width:100%;border-collapse:collapse;font-size:13px;min-width:720px}
.stat-tbl th{font-family:var(--display);font-size:14px;letter-spacing:.08em;color:var(--mut);font-weight:400;
  text-align:right;padding:12px 8px;border-bottom:2px solid rgba(10,27,51,.16);
  cursor:pointer;white-space:nowrap;user-select:none;
  position:sticky;top:104px;background:var(--surface);z-index:2}
.stat-tbl th:hover{color:var(--ink)}
.stat-tbl th[aria-sort]{color:var(--ink)}
.stat-tbl th[aria-sort]::after{content:" ▾";color:var(--orange)}
.stat-tbl th[aria-sort="ascending"]::after{content:" ▴"}
.stat-tbl th.left,.stat-tbl td.left{text-align:left}
.stat-tbl td{padding:13px 8px;text-align:right;border-bottom:1px solid var(--hairline);font-variant-numeric:tabular-nums}
.stat-tbl tbody tr:hover{background:rgba(10,27,51,.03)}
.stat-tbl .pl{display:flex;align-items:center;gap:10px;white-space:nowrap}
.stat-tbl .pl .no{font-family:var(--display);font-size:13px;color:var(--mut);width:28px}
.stat-tbl .pl b{font-weight:700}
.stat-tbl .tm{font-size:11px;letter-spacing:.06em;color:var(--mut);white-space:nowrap}

/* standings */
.stand-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.stand-table{width:100%;min-width:520px;border-collapse:collapse;margin-top:10px}
.stand-table th{font-family:var(--display);font-size:15px;letter-spacing:.1em;color:var(--mut);text-align:left;
  padding:12px 10px;border-bottom:1px solid var(--hairline);font-weight:400}
.stand-table td{padding:15px 10px;border-bottom:1px solid var(--hairline);font-size:14px}
.stand-table .tn{font-family:var(--display);font-size:19px;letter-spacing:.03em}
.tn-logo{display:inline-block;width:32px;height:32px;border-radius:9px;object-fit:cover;
  vertical-align:-9px;margin-right:12px;border:1px solid var(--hairline)}
.stand-table .num{font-variant-numeric:tabular-nums}
.cutline td{border-top:2px dashed rgba(232,114,44,.7)}
.cutline-label{font-size:10px;letter-spacing:.18em;color:var(--orange);text-transform:uppercase;font-weight:700}

/* ---------- registration form ---------- */
.gate{max-width:440px;margin:0 auto;text-align:center;padding:40px 24px}
.gate h2{font-family:var(--script);font-size:clamp(26px,3.4vw,38px);color:var(--navy);margin-bottom:10px}
.gate p{color:var(--mut);font-size:14px;margin-bottom:22px}
.gate-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.gate-err{color:#B3261E;font-size:13px;margin-top:12px;min-height:18px}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:24px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field.full{grid-column:1/-1}
.field label{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--mut)}
.field label .req{color:var(--orange)}
input[type=text],input[type=tel],input[type=email],select,textarea{
  font-family:var(--body);font-size:15px;color:var(--ink);background:var(--base);
  border:1px solid rgba(10,27,51,.28);border-radius:8px;padding:12px 14px;width:100%}
input:focus,select:focus,textarea:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:transparent}
input::placeholder{color:rgba(93,103,120,.7)}
.hint{font-size:12px;color:var(--mut)}

.plan-pick{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:640px){.plan-pick{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;padding:18px 14px}}
.plan{position:relative;display:block;cursor:pointer}
.plan input{position:absolute;opacity:0;pointer-events:none}
.plan span{display:block;border:2px solid rgba(10,27,51,.2);border-radius:12px;padding:18px 20px;background:var(--base)}
.plan input:checked + span{border-color:var(--orange);background:#fff}
.plan input:focus-visible + span{outline:2px solid var(--navy);outline-offset:2px}
.plan b{display:block;font-family:var(--display);font-size:30px;line-height:1}
.plan em{display:block;font-style:normal;font-weight:700;font-size:13px;margin:6px 0 4px}
.plan small{display:block;font-size:12px;color:var(--mut);line-height:1.45}

/* sport picker — Bernardo's real sport marks as the choice (his 8/18 drop:
   "put this in the volleyball section / registration"). White logo backgrounds
   disappear into the card via multiply — the site's print treatment. */
.sport-pick{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:640px){.sport-pick{grid-template-columns:1fr}}
.sport{position:relative;display:block;cursor:pointer}
.sport input{position:absolute;opacity:0;pointer-events:none}
.sport span{display:flex;flex-direction:column;align-items:center;gap:8px;
  border:2px solid rgba(10,27,51,.2);border-radius:12px;padding:20px 16px 16px;
  background:var(--base);transition:border-color .2s ease}
.sport img{width:min(190px,64%);mix-blend-mode:multiply}
.sport em{font-style:normal;font-family:var(--display);font-size:14px;letter-spacing:.2em;color:var(--mut)}
.sport:hover span{border-color:rgba(10,27,51,.45)}
.sport input:checked + span{border-color:var(--orange);background:#fff}
.sport input:checked + span em{color:var(--ink)}
.sport input:focus-visible + span{outline:2px solid var(--navy);outline-offset:2px}

/* these live inside .field, so they must undo the uppercase label styling */
.field .check,.field .plan em,.field .plan small,.field .plan b{
  text-transform:none;letter-spacing:normal;color:var(--ink)}
.field .check{font-weight:400}
.field .plan small{color:var(--mut)}
.check{display:flex;gap:11px;align-items:flex-start;font-size:14px;line-height:1.5}
.check input{width:19px;height:19px;flex:none;margin-top:2px;accent-color:var(--orange)}
.check a{color:var(--ink);font-weight:700}

.pay-note{margin:0 24px 24px;background:var(--navy);color:var(--bone);border-radius:12px;padding:20px 22px}
.pay-note h4{font-family:var(--display);font-size:19px;letter-spacing:.05em;margin-bottom:8px}
.pay-note p{font-size:13px;color:rgba(242,239,230,.8);line-height:1.6}
.pay-note b{color:var(--orange)}
.form-actions{padding:0 24px 26px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.form-ok{padding:40px 24px;text-align:center}
.form-ok h2{font-family:var(--script);font-size:clamp(28px,4vw,44px);color:var(--navy);margin-bottom:12px}
.form-ok p{color:var(--mut);max-width:46ch;margin:0 auto 8px}

/* register tickets */
.tickets{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:30px}
.ticket{position:relative;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);
  padding:26px 26px 26px 34px;overflow:hidden;box-shadow:0 10px 26px rgba(10,27,51,.08)}
.ticket::before{content:"";position:absolute;left:12px;top:0;bottom:0;width:0;
  border-left:2px dashed rgba(10,27,51,.25)}
.ticket .tag{transform:rotate(-2deg);display:inline-block}
.ticket:nth-child(2) .tag{transform:rotate(1.5deg)}
.ticket:nth-child(3) .tag{transform:rotate(-1deg)}
.ticket h3{font-family:var(--display);font-size:30px;letter-spacing:.03em}
.ticket .price{font-family:var(--display);font-size:44px;margin:12px 0 2px}
.ticket .price small{font-family:var(--body);font-size:12px;color:var(--mut);letter-spacing:.06em}
.ticket ul{list-style:none;margin:14px 0 20px;font-size:13px;color:var(--mut)}
.ticket li{padding:5px 0;border-bottom:1px solid var(--hairline)}
.ticket .closes{font-size:12px;color:var(--mut);margin-top:12px}

/* rulebook */
.rulebook{max-width:760px}
.rule-sec{padding:26px 0;border-bottom:1px solid var(--hairline)}
.rule-sec h2{font-family:var(--display);font-size:26px;letter-spacing:.04em;margin-bottom:10px}
.rule-sec h2 a{text-decoration:none;color:var(--mut);margin-right:10px}
.rule-sec p{color:var(--mut);font-size:14px;max-width:64ch}

/* sponsor tiers */
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin-top:30px}
.tier{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);padding:26px}
.tier h3{font-family:var(--display);font-size:26px}
.tier.gold{border-color:rgba(184,134,47,.5)}
.tier.gold h3{color:var(--gold)}
.tier ul{list-style:none;margin:16px 0 20px;font-size:13px;color:var(--mut)}
.tier li{padding:6px 0;border-bottom:1px solid var(--hairline)}

@media (prefers-reduced-motion: reduce){
  .hero .float{opacity:1;transform:none}
  .hero h1.float{transform:rotate(-2deg)}
  .divider .mask{transform:scaleX(1);transition:none}
  .btn:hover{transform:none}
  .mc:hover{transform:none}
}

/* ---------- gallery — the print wall ---------- */
.gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px}
.gf-pill{font-family:var(--body);font-weight:600;font-size:12px;letter-spacing:.1em;cursor:pointer;
  background:rgba(10,27,51,.04);color:var(--ink);border:1px solid rgba(10,27,51,.28);
  border-radius:999px;padding:9px 18px;transition:background .15s ease}
.gf-pill:hover{background:rgba(10,27,51,.09)}
.gf-pill.on{background:var(--navy);color:var(--bone);border-color:var(--navy)}
.gf-pill:focus-visible{outline:2px solid var(--navy);outline-offset:3px}
.gwall{columns:3;column-gap:26px}
@media(max-width:1000px){.gwall{columns:2}}
@media(max-width:560px){.gwall{columns:1}}
.gcard{break-inside:avoid;margin:0 0 26px;background:var(--surface);padding:10px 10px 0;
  box-shadow:0 10px 26px rgba(10,27,51,.1),0 2px 5px rgba(10,27,51,.07)}
.gcard:nth-child(3n+1){transform:rotate(.5deg)}
.gcard:nth-child(3n+2){transform:rotate(-.5deg)}
.gcard img{width:100%;display:block;border:1px solid rgba(10,27,51,.06)}
.gcard figcaption{font-family:var(--display);letter-spacing:.18em;font-size:12px;color:var(--mut);
  padding:10px 4px 12px}
.gcard[hidden]{display:none}

/* ---------- premium partner — the paid homepage placement, one band under the scoreboard ---------- */
.sponsor-feature{padding-block:26px 54px}
.spf-card{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(24px,4vw,56px);
  align-items:center;background:var(--surface);padding:clamp(20px,3vw,40px);
  box-shadow:0 14px 34px rgba(10,27,51,.1),0 2px 5px rgba(10,27,51,.07)}
.spf-photo{margin:0}
.spf-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border:1px solid rgba(10,27,51,.08)}
.spf-photo figcaption{font-family:var(--display);letter-spacing:.18em;font-size:12px;color:var(--mut);
  padding-top:10px}
.spf-body h2{font-family:var(--script);font-size:clamp(30px,3.8vw,46px);color:var(--navy);line-height:1.08}
.spf-lede{color:var(--mut);margin:14px 0 24px;max-width:46ch}
.spf-lede b{color:var(--ink)}
@media(max-width:820px){.spf-card{grid-template-columns:1fr}}

/* ---------- the players — real media-day wall; warm print at rest, color on touch ---------- */
.pwall{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.pwall img{width:100%;aspect-ratio:1;object-fit:cover;display:block;
  border:1px solid rgba(10,27,51,.08);
  filter:grayscale(.85) sepia(.18) brightness(1.03);
  transition:filter .35s ease,transform .35s ease}
.pwall img:hover{filter:none;transform:scale(1.02)}
@media (prefers-reduced-motion: reduce){.pwall img{transition:none}}
@media(max-width:700px){.pwall{grid-template-columns:repeat(2,1fr);gap:10px}}

/* quiet footer link to the league admin (login-gated page) */
.foot-admin{color:var(--mut);text-decoration:none;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.foot-admin:hover{color:var(--orange)}
