/* Speak Up Play On — one stylesheet for every page */
:root {
  /* Clay court + chalk */
  --ground: #f5f2ec;      /* chalk */
  --tone: #e9e4da;        /* chalk, one step down */
  --ink: #15171a;         /* charcoal */
  --ink-2: #464a50;
  --accent: #e2552d;      /* clay: fills only, always with charcoal text */
  --pitch: #1f4e8c;       /* track blue field */
  --raise: #24272c;       /* a surface one step up from charcoal */
  --on-dark: #f5f2ec;
  --on-dark-2: #cfc9bf;
  --focus: #1f4e8c;

  --font: "Archivo", system-ui, sans-serif;
  --d1: clamp(2.6rem, 12.5vw, 10rem);
  --d2: clamp(2rem, 6vw, 5.5rem);
  --statement: clamp(1.375rem, 2.6vw, 2.25rem);
  --body: 1.125rem;
  --small: 0.9375rem;

  --gutter: clamp(16px, 2.5vw, 32px);
  --section: clamp(88px, 12vw, 200px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html:has(.filters) { scroll-padding-top: 88px; } /* keep focused items clear of the sticky sport filter */
[id] { scroll-margin-top: 16px; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: var(--body); line-height: 1.55;
  font-variation-settings: "wdth" 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Blue fails 3:1 on green, lime and the dark photo scrim: use the section's own ink there. */
.field-pitch :focus-visible, .field-ink :focus-visible, .bar :focus-visible, .foot :focus-visible, .hero :focus-visible, .sport:focus-visible { outline-color: var(--on-dark); }
.field-accent :focus-visible { outline-color: var(--ink); }
::selection { background: var(--accent); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 12px 16px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3, .display {
  font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: .92; margin: 0 0 .35em; text-wrap: balance;
}
h1, .d1 { font-size: var(--d1); }
h2, .d2 { font-size: var(--d2); }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: .95; }
.statement { font-size: var(--statement); line-height: 1.25; font-weight: 500; max-width: 30ch; margin: 0 0 1em; }
p { margin: 0 0 1em; max-width: 66ch; }
.small { font-size: var(--small); }
.num { font-variant-numeric: tabular-nums; }

/* Frame */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; }
.field-ink { background: var(--ink); color: var(--on-dark); }
.field-ink .soft, .field-pitch .soft { color: var(--on-dark-2); }
.field-pitch { background: var(--pitch); color: var(--on-dark); }
.field-accent { background: var(--accent); color: var(--ink); }
.field-tone { background: var(--tone); }
.soft { color: var(--ink-2); }

/* Bar */
.bar { background: var(--ink); color: var(--on-dark); position: relative; z-index: 5; }
.bar .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.wordmark { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: 1.5rem; letter-spacing: -0.01em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 4px; }
.menu summary::-webkit-details-marker { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 22px; border: 0; border-radius: 0; cursor: pointer;
  font: 700 1.0625rem/1.2 var(--font); text-decoration: none;
  background: var(--accent); color: var(--ink);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.alt { background: var(--ground); color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--on-dark); }
.btn.small { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page head (inner pages) */
.pagehead { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 72px); }
.pagehead h1 + p { font-size: var(--statement); line-height: 1.25; max-width: 32ch; font-weight: 500; }

/* Home hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 0; background: var(--ink); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,23,26,.1) 15%, rgba(21,23,26,.9) 88%); } /* neutral scrim under text */
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(32px, 6vw, 80px); width: 100%; }
.hero h1 { max-width: 22ch; }
.hero .statement { color: #fff; }
.credit { font-size: .8125rem; opacity: .85; margin-top: 18px; }
.credit a { text-decoration-thickness: 1px; }

/* Whistle teaser + game */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.wide-left { grid-template-columns: 7fr 5fr; }
.situation { font-size: var(--statement); line-height: 1.25; font-weight: 600; margin: 0 0 28px; max-width: 32ch; }
.choices { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.choice {
  width: 100%; text-align: left; min-height: 64px; padding: 18px 22px; border: 0; border-radius: 0; cursor: pointer;
  font: 600 1.125rem/1.35 var(--font); background: var(--ground); color: var(--ink);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.field-ink .choice { background: var(--raise); color: var(--on-dark); }
.field-accent .choice { background: var(--ink); color: var(--on-dark); }
@media (hover: hover) { .choice:hover:not([disabled]) { transform: translateX(6px); } }
.choice[aria-pressed="true"].best { background: var(--accent); color: var(--ink); }
.choice[aria-pressed="true"].weak { background: #f3d2c6; color: var(--ink); }
.field-accent .choice[aria-pressed="true"].best { background: var(--ground); }
.choice.best::before { content: "\2713\00a0\00a0"; font-weight: 800; }
.choice.weak::before { content: "\2717\00a0\00a0"; font-weight: 800; }
.choice[disabled] { cursor: default; }
.feedback { padding: 22px 24px; background: var(--ground); color: var(--ink); margin-bottom: 20px; }
.feedback p:last-child { margin-bottom: 0; }
.feedback .verdict { font-weight: 800; font-size: 1.25rem; margin-bottom: .4em; }
.realworld { background: var(--ground); color: var(--ink); padding: clamp(24px, 3vw, 40px); margin: 0 0 20px; }
.realworld blockquote { margin: 0 0 12px; font-size: var(--statement); line-height: 1.25; font-weight: 600; max-width: 30ch; }
.progress { display: flex; gap: 6px; margin: 0 0 32px; }
.progress span { height: 8px; flex: 1; background: #3a3e45; }
.progress span.done { background: var(--accent); }
.progress span.now { background: var(--on-dark); }
.sporttag { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 800; padding: 4px 10px; margin-bottom: 18px; font-size: 1rem; }
.gamebar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.linkbtn:hover { text-decoration-thickness: 3px; }
.linkbtn { background: none; border: 0; padding: 8px 0; font: 600 1rem var(--font); color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* Numbers band */
.numbers { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.bignum { font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(5rem, 17vw, 16rem); line-height: .82; letter-spacing: -0.03em; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.midnum { font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: .85; letter-spacing: -0.03em; margin: 0 0 12px; }
.stack > * + * { margin-top: clamp(40px, 5vw, 72px); }
.counted { font-size: var(--small); color: var(--on-dark-2); max-width: 46ch; }
.counted strong { color: var(--on-dark); }

/* Quote with photo */
.photoquote { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.photoquote figure { margin: 0; }
.photoquote img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
blockquote.big { margin: 0 0 24px; font-size: var(--statement); line-height: 1.25; font-weight: 600; max-width: 26ch; }
blockquote.big::before { content: "\201C"; display: block; font-size: 6rem; line-height: .6; font-weight: 800; color: var(--pitch); margin-bottom: 12px; }
.who { font-weight: 800; font-size: 1.125rem; margin: 0; }

/* Ways list */
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ways li { padding: 28px 0 28px 0; }
.ways li:nth-child(odd) { padding-right: clamp(24px, 4vw, 64px); }
.ways strong { display: block; font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: .95; margin-bottom: 8px; }

/* Sports gallery */
.sports { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(180px, 20vw, 300px); gap: 8px; }
.sport { position: relative; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.sport img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sport:hover img { transform: scale(1.04); }
.sport::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(21,23,26,.8)); }
.sport span { position: absolute; left: 18px; bottom: 14px; right: 18px; z-index: 1; font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: .9; }
.sport span small { display: block; text-transform: none; font-variation-settings: "wdth" 100; font-weight: 600; font-size: .9375rem; margin-top: 6px; }
.sport.a { grid-column: span 4; grid-row: span 2; }
.sport.b { grid-column: span 2; grid-row: span 2; }
.sport.c, .sport.d, .sport.e { grid-column: span 2; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(40px, 5vw, 64px); position: sticky; top: 0; z-index: 3; background: var(--ground); padding: 12px 0; }
.filters button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 0; cursor: pointer; font: 700 1rem var(--font); background: var(--tone); color: var(--ink); transition: background-color .15s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.filters button:hover { background: var(--accent); color: var(--ink); }

/* Stories */
.story { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 5vw, 80px); padding: clamp(48px, 6vw, 88px) 0; }
.story + .story { background: none; }
.story:nth-child(even) { background: var(--tone); box-shadow: 0 0 0 100vmax var(--tone); clip-path: inset(0 -100vmax); }
.story h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); margin-bottom: .2em; }
.story .ctx { color: var(--ink-2); margin: 0; }
.story blockquote { margin: 0 0 20px; font-size: var(--statement); line-height: 1.25; font-weight: 600; max-width: 28ch; }
.label { display: inline-block; font-size: .875rem; font-weight: 700; background: var(--ink); color: var(--on-dark); padding: 3px 9px; margin: 0 6px 6px 0; }
.label.lite { background: var(--tone); color: var(--ink); }
.story:nth-child(even) .label.lite { background: var(--ground); }

/* Video list */
.videos { list-style: none; margin: 0; padding: 0; }
.videos li { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; padding: 28px 0; align-items: start; }
.videos li + li { border-top: 0; }
.videos li:nth-child(odd) { background: var(--raise); box-shadow: 0 0 0 100vmax var(--raise); clip-path: inset(0 -100vmax); }
.videos .vtitle { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 800; line-height: 1.2; margin-bottom: .4em; max-width: 48ch; }
.videos p { margin: 0 0 .4em; }

/* Evidence */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.howto strong { display: block; font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: .95; margin-bottom: 10px; }
.sportblock { padding-top: clamp(56px, 6vw, 96px); }
.sportblock > h2 { margin-bottom: .2em; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; }
.fact { display: grid; grid-template-columns: minmax(150px, 3fr) 8fr; gap: clamp(20px, 4vw, 56px); padding: 32px 0; content-visibility: auto; contain-intrinsic-size: auto 320px; }
.fact:nth-child(odd) { background: var(--tone); box-shadow: 0 0 0 100vmax var(--tone); clip-path: inset(0 -100vmax); }
.fact .val { font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: .9; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.fact .claim { font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin-bottom: .6em; }
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: var(--small); margin: 0 0 12px; max-width: 80ch; }
.meta dt { font-weight: 700; }
.meta dd { margin: 0; }
.caveat { font-size: var(--small); background: var(--ground); padding: 12px 16px; margin: 0 0 10px; max-width: 80ch; }
.fact:nth-child(even) .caveat { background: var(--tone); }
.caveat strong { font-weight: 800; }
details.gaps { margin-top: 24px; max-width: 80ch; }
details.gaps summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
details.gaps ul { padding-left: 1.2em; }
details.gaps li { margin-bottom: .6em; font-size: var(--small); }

/* Support */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(32px, 4vw, 48px); max-width: 980px; }
.steps li { display: grid; grid-template-columns: clamp(56px, 7vw, 96px) 1fr; gap: 20px; counter-increment: s; }
.steps li::before { content: counter(s); font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(3rem, 6vw, 5rem); line-height: .85; color: var(--pitch); }
.steps h3 { margin-bottom: .25em; }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); }
.route { padding: 28px 0; }
.route h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.phrases { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 900px; }
.phrases li { background: var(--ground); color: var(--ink); padding: 20px 24px; font-size: 1.25rem; font-weight: 600; }

/* Teams */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.timeline li { background: var(--tone); padding: 24px; }
.timeline .mins { font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(2.6rem, 4vw, 3.75rem); line-height: .9; display: block; margin-bottom: 10px; }
.sheet { background: #fff; color: var(--ink); padding: clamp(24px, 4vw, 56px); max-width: 900px; }
.sheet h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.sheet ol { padding-left: 1.3em; }
.sheet li { margin-bottom: .6em; }
.writein { display: block; height: 72px; background: var(--tone); margin: 8px 0 20px; }
.card { background: var(--accent); color: var(--ink); padding: clamp(28px, 4vw, 56px); max-width: 720px; }
.card p.display { font-size: clamp(2rem, 4.5vw, 3.75rem); margin: 0 0 .4em; line-height: .95; }

/* About */
table { border-collapse: collapse; width: 100%; font-size: var(--small); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #d6cfc2; }
th { font-weight: 800; background: var(--tone); }
.tablewrap { overflow-x: auto; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.placeholder { background: var(--accent); padding: 0 6px; font-weight: 700; }

/* Footer */
.foot { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 8vw, 120px) 0 32px; overflow: hidden; }
.foot .name { font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(3rem, 15vw, 15rem); line-height: .82; letter-spacing: -0.03em; margin: 0 0 40px; white-space: nowrap; color: var(--on-dark); max-width: none; }
.foot .row { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.foot .linkbtn { min-height: 44px; }
.foot nav a:hover { text-decoration: underline; }
.foot p { color: var(--on-dark-2); font-size: var(--small); }

/* Home scroll motion (js/home-motion.js adds .gsap-home only when motion is allowed) */
.flood { display: none; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .06em; margin-top: -.06em; }
.hero h1 .word > span { display: inline-block; }
.gsap-home .hero img { animation: none; will-change: transform; }
@media (min-width: 901px) {
  .gsap-home #whistle { position: relative; background: var(--ink); min-height: 100vh; display: flex; align-items: center; }
  .gsap-home #whistle .flood { display: block; position: absolute; inset: 0; background: var(--accent); }
  .gsap-home #whistle > .wrap { position: relative; width: 100%; }
  .gsap-home .reel { overflow: hidden; }
  .gsap-home .sports { display: flex; width: max-content; gap: 8px; }
  .gsap-home .sport { flex: none; width: min(52vw, 760px); height: min(66vh, 600px); }
}

/* Motion: content is visible unless JS opts in */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.hero img { animation: drift 24s var(--ease) both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.reveal-in { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise { opacity: 1; transform: none; }
}
.calm *, .calm *::before, .calm *::after { animation: none !important; transition: none !important; }
.calm .rise { opacity: 1 !important; transform: none !important; }

/* Phone */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu[open] .nav { display: flex; flex-direction: column; gap: 0; position: absolute; right: 0; top: 100%; background: var(--ink); padding: 8px 20px 16px; min-width: 220px; }
  .menu[open] .nav a { padding: 12px 0; }
  .bar .btn { min-height: 44px; padding: 8px 14px; font-size: .9375rem; }
  .split, .split.wide-left, .numbers, .photoquote, .story, .fact, .cols, .routes { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .ways li:nth-child(odd) { padding-right: 0; }
  .howto { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  /* Phones: the sports reel is a native swipe strip. */
  .reel { margin: 0 calc(var(--gutter) * -1); }
  .sports { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .sports::-webkit-scrollbar { display: none; }
  .sport, .sport.a, .sport.b, .sport.c, .sport.d, .sport.e { flex: 0 0 78%; height: 320px; scroll-snap-align: start; }
  .hero { min-height: 88vh; }
  .photoquote img { aspect-ratio: 4 / 4.4; }
  .videos li { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr; gap: 0; }
  .meta dd { margin-bottom: 6px; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 1.2rem; }
  .timeline { grid-template-columns: 1fr; }
}

/* Print: the teams discussion sheet prints on its own */
@media print {
  body.printing > *:not(main) { display: none !important; }
  body.printing main > *:not(#sheet) { display: none !important; }
  body.printing #sheet { padding: 0; background: none; }
  body.printing .noprint { display: none !important; }
  .sheet { max-width: none; padding: 0; }
}
