/* ==========================================================
   The Match Report — website styles
   Brand palette from the iOS/Android design system (BRANDING.md)
   ========================================================== */
/* Self-hosted fonts (SIL Open Font License) — Fredoka matches the apps' rounded type, Bangers adds the comic SFX */
@font-face { font-family: "Bangers"; src: url("../assets/fonts/bangers-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../assets/fonts/fredoka-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../assets/fonts/fredoka-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../assets/fonts/fredoka-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../assets/fonts/fredoka-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --scarlet: #D6071A;
  --crimson: #9E020F;
  --yellow: #FFDE0D;
  --cream: #FAF2D1;
  --paper: #EDE3BA;
  --ink: #0F0D0A;
  --grass: #1F6B33;
  --grass-light: #2A8A45;
  --white: #fff;

  --display: "Bangers", "Impact", "Arial Black", sans-serif;
  --round: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;

  --keyline: 3px solid var(--ink);
  --shadow: 5px 6px 0 var(--ink);
  --shadow-lg: 8px 9px 0 var(--ink);
  --radius: 14px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--round);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px dashed var(--scarlet); outline-offset: 3px; }

/* ---------- Textures ---------- */
.newsprint {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(15,13,10,.10) 1.2px, transparent 1.4px);
  background-size: 8px 8px;
}
.halftone-red {
  background-color: var(--scarlet);
  background-image:
    radial-gradient(rgba(158,2,15,.55) 2px, transparent 2.4px),
    linear-gradient(180deg, var(--scarlet), var(--crimson));
  background-size: 12px 12px, 100% 100%;
  color: var(--white);
}
.halftone-ink {
  background-color: #17140f;
  background-image: radial-gradient(rgba(255,222,13,.10) 1.6px, transparent 1.9px);
  background-size: 11px 11px;
  color: var(--cream);
}
.halftone-yellow {
  background-color: var(--yellow);
  background-image: radial-gradient(rgba(214,7,26,.16) 2px, transparent 2.4px);
  background-size: 12px 12px;
}

/* ---------- Typography ---------- */
.comic-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: .95;
  transform: rotate(-1deg);
  text-shadow: 3px 3px 0 var(--yellow);
}
.comic-title.on-dark { color: var(--yellow); text-shadow: 4px 4px 0 var(--ink); }
.comic-title.sm { font-size: 1.7rem; transform: none; text-shadow: none; }
.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  color: var(--scarlet);
  margin-bottom: .5rem;
}
.eyebrow-yellow { color: var(--yellow); }
.lead { font-size: 1.15rem; max-width: 60ch; margin-top: 1rem; }
.on-dark { color: var(--cream); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--round); font-weight: 700; font-style: italic;
  text-transform: uppercase; text-decoration: none; letter-spacing: .02em;
  padding: 12px 20px; border: var(--keyline); border-radius: 10px;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  color: var(--ink);
}
.btn:hover { transform: translate(-1px,-2px); box-shadow: 5px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,3px); box-shadow: 0 0 0 var(--ink); }
.btn-red { background: var(--scarlet); color: var(--white); }
.btn-yellow { background: var(--yellow); }
.btn-cream { background: var(--cream); }
.btn-ink { background: var(--ink); color: var(--yellow); border-color: var(--yellow); box-shadow: 3px 4px 0 var(--yellow); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 4px solid var(--yellow);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand-word {
  font-family: var(--display); font-size: 1.7rem; letter-spacing: .03em;
  color: var(--yellow); text-shadow: 2px 2px 0 var(--scarlet); text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) {
  color: var(--cream); text-decoration: none; font-weight: 600;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px;
  background: var(--scarlet); transition: right .2s ease;
}
.site-nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--yellow); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; position: relative; overflow: hidden; }
.sunburst {
  position: absolute; inset: -50%;
  background: repeating-conic-gradient(from 0deg at 68% 50%, rgba(255,222,13,.10) 0 7.5deg, transparent 7.5deg 15deg);
  animation: spin 80s linear infinite;
  pointer-events: none;
}
.sunburst-dark { background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(214,7,26,.22) 0 7.5deg, transparent 7.5deg 15deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.masthead-strip {
  display: inline-flex; flex-wrap: wrap; gap: 0;
  background: var(--yellow); color: var(--ink); border: var(--keyline);
  box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg);
  font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em;
  margin-bottom: 24px;
}
.masthead-strip span { padding: 6px 12px; }
.masthead-strip span + span { border-left: 3px solid var(--ink); }

.cover-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.4rem, 9vw, 7.4rem); line-height: .86; letter-spacing: .015em;
}
.cover-title .line { display: block; }
.cover-title .l1 {
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-3deg); transform-origin: left;
}
.cover-title .l2 {
  color: var(--white);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-3deg) translateX(.3em); transform-origin: left;
}
.hero-sub { font-size: 1.2rem; max-width: 34em; margin: 28px 0 28px; color: var(--cream); }
.hero-sub strong { color: var(--yellow); }
.hero-note { font-size: .9rem; opacity: .9; margin-top: 14px; }

.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.store-row.center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--white); text-decoration: none;
  border: 3px solid var(--white); outline: 3px solid var(--ink);
  border-radius: 12px; padding: 9px 18px 9px 14px; min-width: 190px;
  box-shadow: 6px 7px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-badge:hover { transform: translate(-2px,-3px) rotate(-1deg); box-shadow: 9px 10px 0 var(--ink); }
.store-badge svg { width: 30px; height: 30px; flex: none; }
.store-badge span { display: flex; flex-direction: column; font-weight: 600; font-size: 1.35rem; line-height: 1.05; }
.store-badge small { font-size: .7rem; font-weight: 500; letter-spacing: .04em; }

.hero-art { position: relative; }
.cover-panel {
  position: relative;
  background: var(--cream);
  background-image: radial-gradient(rgba(214,7,26,.25) 2px, transparent 2.4px);
  background-size: 10px 10px;
  border: 5px solid var(--ink); border-radius: 6px;
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(2deg);
  aspect-ratio: 5 / 4;
  overflow: visible;
}
.hero-player {
  position: absolute; width: 118%; max-width: none; left: -14%; bottom: -6%;
  filter: drop-shadow(6px 6px 0 rgba(15,13,10,.85));
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
.hero-burst { position: absolute; right: -24px; top: -36px; width: 150px; height: 150px; font-size: 1.25rem; }
.hero-speech { position: absolute; left: -18px; top: 18px; max-width: 220px; }

/* ---------- Comic bits: bursts & speech bubbles ---------- */
.burst {
  display: grid; place-items: center; text-align: center;
  font-family: var(--display); text-transform: uppercase; line-height: .95;
  color: var(--ink);
  clip-path: polygon(50% 0%, 61% 15%, 79% 6%, 79% 24%, 98% 22%, 88% 39%, 100% 50%, 88% 61%, 98% 78%, 79% 76%, 79% 94%, 61% 85%, 50% 100%, 39% 85%, 21% 94%, 21% 76%, 2% 78%, 12% 61%, 0% 50%, 12% 39%, 2% 22%, 21% 24%, 21% 6%, 39% 15%);
  filter: drop-shadow(0 0 0 var(--ink));
  animation: pulse 2.4s ease-in-out infinite;
}
.burst span { transform: rotate(-8deg); padding: 18%; }
.burst-yellow { background: var(--yellow); }
.burst-red { background: var(--scarlet); color: var(--yellow); }
@keyframes pulse { 0%,100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(4deg) scale(1.07); } }

.speech {
  position: relative; background: var(--white); color: var(--ink);
  border: var(--keyline); border-radius: 18px; padding: 10px 14px;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}
.speech::after {
  content: ""; position: absolute; left: 32px; bottom: -18px;
  border: 10px solid transparent; border-top: 14px solid var(--ink); border-left-width: 4px;
}
.speech::before {
  content: ""; position: absolute; left: 35px; bottom: -11px; z-index: 1;
  border: 7px solid transparent; border-top: 10px solid var(--white); border-left-width: 2px;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--yellow); border-block: 4px solid var(--ink);
  overflow: hidden; white-space: nowrap; transform: rotate(-1deg) scale(1.02);
  position: relative; z-index: 2; margin-top: -16px;
}
.ticker-track { display: inline-flex; gap: 48px; padding: 12px 0; animation: ticker 50s linear infinite; }
.ticker-track span { font-weight: 700; text-transform: uppercase; font-size: .95rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Panels ---------- */
.panel {
  background: var(--cream); border: var(--keyline); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; position: relative;
}

/* Comic strip */
.strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.strip .panel { padding-top: 64px; min-height: 260px; border-radius: 4px; }
.strip .panel:nth-child(odd) { transform: rotate(-1.2deg); }
.strip .panel:nth-child(even) { transform: rotate(1deg); background: var(--white); }
.strip h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.strip p { font-size: 1rem; margin: 0; }
.panel-no {
  position: absolute; top: -3px; left: -3px; background: var(--ink); color: var(--yellow);
  font-family: var(--display); font-size: 1.4rem; padding: 4px 14px; border-radius: 4px 0 10px 0;
}
.panel-sfx {
  position: absolute; top: 12px; right: 14px; font-family: var(--display);
  font-size: 2.2rem; letter-spacing: .03em; transform: rotate(8deg);
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink);
}
.sfx-red { color: var(--scarlet); }
.sfx-yellow { color: var(--yellow); }
.sfx-green { color: #3fbf62; }

/* ---------- Live game ---------- */
.live-grid { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.tick-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 36px; }
.tick-list li::before {
  content: "★"; position: absolute; left: 0; top: -1px; width: 26px; height: 26px;
  display: grid; place-items: center; background: var(--scarlet); color: var(--yellow);
  border: 2px solid var(--ink); border-radius: 50%; font-size: .8rem;
}
.tick-list strong { color: var(--yellow); }
.grassroots .tick-list li::before { background: var(--yellow); color: var(--scarlet); }
.try-hint { margin-top: 24px; font-weight: 700; color: var(--yellow); }

.live-demo { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phone {
  width: 340px; max-width: 100%; aspect-ratio: 9 / 18.5;
  background: var(--ink); border: 4px solid #3a352c; border-radius: 46px;
  padding: 12px; position: relative;
  box-shadow: 0 0 0 4px var(--ink), 14px 16px 0 var(--scarlet);
}
.phone-notch { position: absolute; top: 14px; left: 50%; width: 96px; height: 26px; background: var(--ink); border-radius: 20px; transform: translateX(-50%); z-index: 5; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--grass); display: flex; flex-direction: column; }
.scorebar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 6px;
  padding: 44px 14px 6px; background: rgba(15,13,10,.55); color: var(--white);
}
.scorebar small { display: block; font-size: .6rem; font-weight: 700; color: var(--yellow); letter-spacing: .08em; }
.scorebar b { font-size: .8rem; font-weight: 700; line-height: 1.1; }
.scorebar .right { text-align: right; }
.score { font-family: var(--display); font-size: 2.2rem; line-height: 1; display: flex; gap: 6px; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); }
.score i { font-style: normal; color: var(--white); }
.score span.bump { animation: bump .6s cubic-bezier(.3,1.8,.5,1); display: inline-block; }
@keyframes bump { 0% { transform: scale(2.2) rotate(-10deg); color: var(--white); } 100% { transform: scale(1); } }
.clockbar { display: flex; justify-content: space-between; padding: 2px 14px 6px; background: rgba(15,13,10,.55); color: var(--cream); font-weight: 700; font-size: .72rem; letter-spacing: .06em; }

.pitch {
  position: relative; flex: 1;
  background: repeating-linear-gradient(180deg, var(--grass) 0 11%, var(--grass-light) 11% 22%);
}
.pitch-lines i { position: absolute; border: 2px solid rgba(255,255,255,.75); }
.pitch-lines .halfway { left: 0; right: 0; top: 50%; border-width: 2px 0 0; }
.pitch-lines .circle { width: 26%; aspect-ratio: 1; left: 37%; top: 50%; transform: translateY(-50%); border-radius: 50%; }
.pitch-lines .box { left: 25%; width: 50%; height: 12%; }
.pitch-lines .box.top { top: -2px; border-top: 0; }
.pitch-lines .box.bottom { bottom: -2px; border-bottom: 0; }

.pp {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%);
  background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
  z-index: 2; transition: transform .2s;
}
.pp img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); object-fit: cover; }
.pp span { font-size: .62rem; font-weight: 700; color: var(--white); text-shadow: 0 1px 2px var(--ink); }
.pp:hover, .pp.active { transform: translate(-50%,-50%) scale(1.18); }
.pp.active img { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--scarlet); }
.pass-trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.pass-trail path { fill: none; stroke: var(--yellow); stroke-width: .9; stroke-dasharray: 2 1.6; stroke-linecap: round; filter: drop-shadow(0 0 .6px var(--ink)); animation: dash 1.2s linear forwards; }
@keyframes dash { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.mic { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 30px; height: 30px; background: var(--scarlet); border: 2px solid var(--white); border-radius: 50%; display: grid; place-items: center; font-size: .8rem; opacity: .9; z-index: 0; }

.timeline {
  list-style: none; margin: 0; padding: 8px 12px; height: 104px; overflow: hidden;
  background: var(--cream); color: var(--ink); border-top: 3px solid var(--ink); font-size: .74rem; line-height: 1.3;
  display: flex; flex-direction: column; gap: 4px;
}
.timeline li { animation: slidein .35s ease; flex-shrink: 0; }
.timeline b { display: inline-block; min-width: 30px; color: var(--scarlet); }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }

.goal-overlay {
  position: absolute; inset: 0; z-index: 10; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255,222,13,.95) 0 30%, rgba(214,7,26,.95) 70%);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.goal-overlay.show { opacity: 1; }
.goal-overlay img { position: absolute; height: 82%; width: auto; bottom: 0; filter: drop-shadow(5px 5px 0 var(--ink)); transform: translateY(40px); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.goal-overlay.show img { transform: translateY(0); }
.goal-burst { position: absolute; top: 9%; width: 200px; height: 200px; font-size: 3.4rem; z-index: 2; }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }

.demo-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 420px; }
.demo-controls .btn { font-size: .82rem; padding: 9px 13px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { padding-top: 44px; }
.feature h3 { font-weight: 700; font-size: 1.35rem; margin-bottom: 12px; }
.feature p { font-size: 1rem; }
.tilt-l { transform: rotate(-.8deg); }
.tilt-r { transform: rotate(.8deg); }
.feature-tag {
  position: absolute; top: -18px; left: 18px; padding: 6px 14px;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase;
  border: var(--keyline); border-radius: 6px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-3deg);
}
.tag-red { background: var(--scarlet); color: var(--white); }
.tag-yellow { background: var(--yellow); color: var(--ink); }
.tag-green { background: var(--grass); color: var(--white); }
.format-chips, .stat-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.format-chips span, .stat-cats span {
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  padding: 4px 12px; font-weight: 600; font-size: .85rem;
}
.face-row { display: flex; margin-top: 6px; }
.face-row img { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--ink); margin-right: -12px; transition: transform .2s; }
.face-row img:hover { transform: translateY(-8px) scale(1.12); z-index: 1; }
.mini-burst { position: absolute; right: -18px; bottom: -26px; width: 96px; height: 96px; font-size: 1.05rem; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.stats .comic-title { text-shadow: 3px 3px 0 var(--white); }
.stats .eyebrow { color: var(--crimson); }
.stat-cats { margin-top: 24px; }
.stat-card { background: var(--cream); }
.stat-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pill { background: var(--ink); color: var(--yellow); font-size: .7rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.record { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 20px; }
.record div { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; text-align: center; padding: 8px 4px; }
.record b { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--scarlet); }
.record small { font-weight: 700; font-size: .72rem; text-transform: uppercase; }
.stat-card h4 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 10px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 34px 92px 1fr 30px; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.bars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); }
.bars i { height: 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: 0; background: repeating-linear-gradient(45deg, var(--scarlet) 0 6px, var(--crimson) 6px 12px); transition: width 1.4s cubic-bezier(.2,.9,.3,1); }
.stat-card.in .bars i::after { width: var(--w); }
.bars b { font-family: var(--display); font-size: 1.3rem; text-align: right; }

/* ---------- Juniors ---------- */
.juniors-grid { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.juniors-art { position: relative; }
.portrait-panel { padding: 10px; transform: rotate(-2deg); background: var(--white); border-radius: 4px; }
.portrait-panel img { border: 3px solid var(--ink); }
.caption-box {
  position: absolute; top: -14px; left: 20px; background: var(--yellow); border: var(--keyline);
  padding: 4px 12px; font-weight: 700; font-style: italic; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink);
}
.juniors-speech { position: absolute; right: -20px; bottom: 40px; max-width: 200px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.mini { padding: 18px; }
.mini h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.mini p { font-size: .95rem; margin: 0; }

/* ---------- Grassroots ---------- */
.grass-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.celebrate-art { position: relative; }
.celebrate-art img { filter: drop-shadow(8px 8px 0 var(--ink)); max-height: 560px; margin-inline: auto; }
.celebrate-burst { position: absolute; top: 4%; left: -10px; width: 150px; height: 150px; font-size: 1.4rem; }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.role { padding: 18px 12px; text-align: center; }
.role:nth-child(3n+1) { background: var(--white); }
.role:nth-child(3n+2) { background: var(--yellow); }
.role b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .03em; text-transform: uppercase; color: var(--scarlet); overflow-wrap: anywhere; margin-bottom: 6px; }
.role p { font-size: .9rem; margin: 0; }

/* ---------- Download ---------- */
.download { text-align: center; }
.download-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.dl-icon { width: 160px; border-radius: 34px; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--scarlet); margin-bottom: 30px; animation: bob 3.5s ease-in-out infinite; }
.dl-title { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.dl-title .l2 { transform: rotate(-3deg); }
.download .lead { margin-bottom: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; }
.faq details { padding: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 1.1rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--scarlet); color: var(--white); border: 2px solid var(--ink); border-radius: 50%;
  font-family: var(--round); font-weight: 700; font-size: 1.3rem; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; background: var(--yellow); color: var(--ink); }
.faq details p { padding: 0 22px 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 48px 0 32px; border-top: 6px solid var(--scarlet); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand p { margin: 2px 0 0; font-size: .85rem; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--yellow); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.legal { grid-column: 1 / -1; font-size: .78rem; opacity: .65; margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px) scale(.96) rotate(var(--r, 0deg)); transition: opacity .6s ease, transform .6s cubic-bezier(.3,1.4,.5,1); }
.reveal.in { opacity: 1; transform: none; }
.strip .reveal.in:nth-child(odd) { transform: rotate(-1.2deg); }
.strip .reveal.in:nth-child(even) { transform: rotate(1deg); }
.feature.tilt-l.in { transform: rotate(-.8deg); }
.feature.tilt-r.in { transform: rotate(.8deg); }
.portrait-panel { transition: transform .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .live-grid, .stats-grid, .juniors-grid, .grass-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 30px auto 0; width: 100%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .juniors-art { max-width: 420px; margin-inline: auto; }
  .celebrate-art { max-width: 340px; margin-inline: auto; }
  .stat-card { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 4px solid var(--yellow); padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav .btn { margin-top: 12px; }
  .brand-word { font-size: 1.35rem; }
  .feature-grid, .strip, .cards-2 { grid-template-columns: 1fr; }
  .hero-burst { width: 110px; height: 110px; right: -6px; top: -30px; font-size: .95rem; }
  .hero-speech { left: 0; top: -10px; font-size: .85rem; max-width: 170px; }
  .juniors-speech { right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 30px 80px 1fr 26px; font-size: .82rem; }
  .masthead-strip span { padding: 5px 8px; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
