/* "Match-day editorial" — blue-led, one gold accent, big display type,
   dark/light section rhythm. Still no web fonts and no framework: the
   brief calls for this to be fast on a poor connection at a football
   ground, so the editorial feel comes from scale, weight and rhythm on
   the system stack, not from a font download. Every section below is
   complete, readable HTML with nothing hidden by CSS — the motion layer
   (public-assets/motion.js) only ever adds on top. */

/* Midnight + electric lime. The token names below kept their old identifiers
   (--blue, --gold) so every rule in this file re-themes from one block; the
   values are midnight and lime now, and the names are read as "brand fill"
   and "accent". */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --blue: #0b1220;          /* brand fill: midnight */
  --blue-dark: #070a10;     /* deeper midnight */
  --blue-deep: #05070c;
  --blue-light: #e9edf3;    /* cool tint for light surfaces */
  --ink: #0b1220;
  --ink-2: #161f2b;
  --muted: #56606b;
  --muted-on-dark: rgba(243,245,247,0.68);
  --border: #dde3ea;
  --border-on-dark: rgba(255,255,255,0.12);
  --white: #ffffff;
  --bg: #f6f7f9;
  /* The one accent: electric lime. Rules, the primary button, current
     markers. On light surfaces it is a fill or a rule, never body text. */
  --gold: #d7ff3d;
  --gold-deep: #7fa400;
  --header-h: 58px;
  --display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Reduced motion means no animated scrolling either — anchor jumps land
   instantly, the same way the motion layer stands down entirely. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

a { color: var(--ink); }

h1, h2, h3 { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; }
/* Display voice on everything that carries it: wide Archivo at 800. */
.section-title, .stat__value, .statement__text, .credential__label, .player-card__v,
.timeline__entry, .quote p, .cta__copy h2, .page-header h1, .hero h1 {
  font-family: var(--display); font-stretch: 125%;
}

/* Section titles share one display scale so the whole site reads as one
   system. Mono caption labels are the only secondary voice. */
.section-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(11,18,32,0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header__inner { display: flex; align-items: center; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; flex-shrink: 0; }
/* The monogram: two K's from the display face, back to back, stems
   touching. Inline SVG (lib/render.js reads public-assets/logo/
   kk-mark.svg), the left K in currentColor and the right in lime. */
.brand__mark { display: block; height: 24px; width: auto; color: var(--white); transition: transform 420ms cubic-bezier(0.76, 0, 0.24, 1); }
.brand:hover .brand__mark { transform: scale(1.06); }
/* Five links don't fit one row at 390px — a horizontal scroll strip keeps
   the header one fixed-height row at any width. */
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; position: relative; }
.nav::-webkit-scrollbar { display: none; }
.nav-link { position: relative; z-index: 1; color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.88rem; font-weight: 600; padding: 8px 12px; white-space: nowrap; flex-shrink: 0; }
.nav-link:hover, .nav-link:focus-visible { color: var(--white); outline: none; }
.nav-link--active { color: var(--white); }
/* The current page is marked by a short lime rule, not a filled pill: the
   hover is the letters rolling (below), and two fills would fight it. */
.nav-link--active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold); }

/* ---- Rolling letters: the site's link hover ----
   Each character sits above a lime copy of itself inside a clipped line.
   Hover rolls every pair up one line, staggered by --i (set per letter in
   the markup), so the word reads as if it were re-set in lime, left to
   right. Server-rendered spans, aria-hidden; the link carries aria-label.
   Nothing here needs JS, so the Home world gets it too. */
.roll__w { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll__c { display: inline-block; position: relative; transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1); transition-delay: calc(var(--i, 0) * 22ms); }
.roll__c > span { display: block; }
.roll__c > span + span { position: absolute; left: 0; top: 100%; color: var(--gold); }
.roll__arrow { display: inline-block; margin-left: 0.35em; vertical-align: top; line-height: 1.2; transition: transform 420ms cubic-bezier(0.76, 0, 0.24, 1) 60ms; }
@media (hover: hover) and (pointer: fine) {
  .roll:hover .roll__c, .roll:focus-visible .roll__c { transform: translateY(-100%); }
  .roll:hover .roll__arrow, .roll:focus-visible .roll__arrow { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .roll__c, .roll__arrow { transition: none; }
}

/* ---- Hero: full viewport, media behind, name at display scale ---- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-end;
  background: var(--blue-deep); color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__img, .hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* object-position leans up so faces/action stay in frame under the
     bottom-anchored copy. */
  object-position: 50% 30%;
}
/* Built and toggled entirely by hero-video-fx.js (motion-src) — never in
   the server HTML. A tileable noise texture (inline SVG turbulence, no
   image request) flashed briefly during a glitch burst. */
.hero__static {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay; opacity: 0; pointer-events: none;
}
/* Scrim only where the copy sits: the top of the frame stays at full
   vibrance, the bottom third darkens for legibility. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6,31,77,0.92) 0%, rgba(6,31,77,0.55) 32%, rgba(6,31,77,0) 62%),
    linear-gradient(to bottom, rgba(6,31,77,0.35) 0%, rgba(6,31,77,0) 22%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%;
  padding-top: clamp(4rem, 12vh, 8rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
}
.hero:not(:has(.hero__img)) { min-height: 0; align-items: center; }
.hero:not(:has(.hero__img)) .hero__content { padding: clamp(4rem, 10vw, 7rem) clamp(20px, 4vw, 40px); }
.hero h1 {
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0 0 clamp(1rem, 2.5vw, 1.75rem);
  max-width: 9ch;
}
.hero__rule { width: 56px; height: 3px; background: var(--gold); margin: 0 0 clamp(1rem, 2vw, 1.5rem); }
.hero__sub { color: rgba(255,255,255,0.92); font-weight: 700; font-size: clamp(0.95rem, 1.6vw, 1.15rem); letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.hero__tagline { color: rgba(255,255,255,0.8); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.5; margin: 0; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero__link { color: var(--white); font-weight: 600; text-decoration: none; font-size: 0.95rem; opacity: 0.9; }
.hero__link:hover { opacity: 1; }
/* SplitText (hero-reveal.js / heading-reveal.js) wraps each line in a
   .split-line — clip it so words animate in from below the line. JS-
   constructed only; a no-JS visitor never has these elements. */
.split-line { overflow: hidden; display: block; }

/* ---- Buttons ---- */
/* A fill rises from the bottom edge on hover (transform on a pseudo, no
   layout properties). White buttons fill lime; lime buttons fill white. */
.button {
  display: inline-block; position: relative; isolation: isolate; overflow: hidden;
  background: var(--white); color: var(--ink);
  font-weight: 700; padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-size: 0.95rem; letter-spacing: -0.01em;
  transition: color 320ms ease, transform 320ms ease;
}
.button::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gold); transform: translateY(102%);
  transition: transform 480ms cubic-bezier(0.76, 0, 0.24, 1);
}
.button:hover::before, .button:focus-visible::before { transform: none; }
.button:hover, .button:focus-visible { color: var(--ink); }
.button--gold { background: var(--gold); color: var(--ink); }
.button--gold::before { background: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .button, .button::before { transition: none; }
}

/* ---- Statement: one large editorial paragraph ---- */
.statement { padding: clamp(4rem, 9vw, 8rem) clamp(20px, 4vw, 40px) clamp(2.5rem, 6vw, 5rem); }
.statement__text {
  margin: 0; max-width: 24ch;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement__text em { font-style: normal; color: var(--blue); }

/* ---- Credentials: Bento "anchored" (one large inverted tile) ---- */
.credentials { padding: 0 clamp(20px, 4vw, 40px) clamp(3rem, 7vw, 6rem); }
.credentials__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.credential {
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
}
.credential__label { margin: 0; font-size: 1.2rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; color: var(--blue); }
.credential__detail { margin: auto 0 0; padding-top: 0.85rem; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.credential:first-child { background: var(--blue); border-color: var(--blue); color: var(--white); }
.credential:first-child .credential__label { color: var(--white); }
.credential:first-child .credential__detail { color: rgba(255,255,255,0.78); }
@media (min-width: 768px) {
  .credentials__grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
  .credential:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1024px) {
  .credentials__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; grid-auto-rows: minmax(170px, auto); }
  .credential:first-child { grid-column: span 2; grid-row: span 2; }
  .credential:first-child .credential__label { font-size: clamp(2rem, 3vw, 2.8rem); }
  .credential:first-child .credential__detail { max-width: 36ch; font-size: 1.05rem; }
}

/* ---- Stats band: dark ground, huge numerals (real numbers only) ---- */
.stats { background: var(--ink); color: var(--white); padding: clamp(4rem, 9vw, 8rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem); }
.stat { border-top: 1px solid var(--border-on-dark); padding-top: 1rem; }
.stat__value {
  display: block;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: 0.4em; font-weight: 700; letter-spacing: -0.01em; color: var(--muted-on-dark); margin-left: 0.15em; }
.stat__label { display: block; margin-top: 0.75rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); }
.stats__asat { margin: clamp(2rem, 4vw, 3rem) auto 0; color: var(--muted-on-dark); font-size: 0.85rem; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Coach quote: full-bleed, the third-party voice at scale ---- */
.quote { padding: clamp(4rem, 10vw, 9rem) 0; background: var(--blue); color: var(--white); }
.quote__inner { position: relative; }
.quote__mark {
  position: absolute; top: -0.5em; left: -0.08em;
  font-size: clamp(6rem, 14vw, 11rem); font-weight: 800; line-height: 1;
  color: rgba(255,255,255,0.14); font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}
.quote blockquote { margin: 0; padding-left: clamp(1.5rem, 4vw, 3rem); position: relative; }
/* ch is relative to the element's own font-size, so the measure lives on
   the paragraph, not the 16px blockquote. */
.quote p {
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  line-height: 1.18; letter-spacing: -0.03em; font-weight: 700;
  margin: 0 0 1.25rem; max-width: 24ch; text-wrap: balance;
}
.quote cite { font-style: normal; font-weight: 600; color: var(--gold); font-size: 0.9rem; letter-spacing: 0.02em; }

/* ---- Photo rail: horizontal strip; pinned + scrubbed sideways by
   photo-rail.js on desktop. Without JS it is a plain snap-scrolling
   strip, fully usable by touch or trackpad. ---- */
.rail { background: var(--bg); padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.rail__head .section-title { margin: 0; }
.rail__head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.rail__head a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* The strip starts on the content column's left edge (same maths as
   .wrap: centred 1120px max plus its padding), so the first photo lines
   up under the heading rather than hugging the viewport edge; from there
   it runs off the right edge, which is the point of a rail. */
.rail__track {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 clamp(20px, 4vw, 40px);
  padding-left: max(clamp(20px, 4vw, 40px), calc((100% - 1120px) / 2 + clamp(20px, 4vw, 40px)));
  /* Mandatory snap aligns the first item to the scrollport's edge, which
     would scroll straight past that padding on load; matching
     scroll-padding keeps the snap positions on the content column. */
  scroll-padding-left: max(clamp(20px, 4vw, 40px), calc((100% - 1120px) / 2 + clamp(20px, 4vw, 40px)));
  -webkit-overflow-scrolling: touch;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 min(72vw, 360px); scroll-snap-align: start; margin: 0; }
.rail__item:last-child { margin-right: max(clamp(20px, 4vw, 40px), calc((100vw - 1120px) / 2)); }
.rail.is-pinned .rail__track { overflow: visible; }

/* ---- Photos (shared by rail and Media page grid) ---- */
.photo { margin: 0; }
.photo__link { display: block; cursor: zoom-in; }
.photo img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
.photo figcaption { margin-top: 0.75rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 12px; }

/* ---- Video (click-to-load YouTube; the href is the no-JS path) ---- */
.video { padding: clamp(3rem, 7vw, 6rem) clamp(20px, 4vw, 40px); }
.video-block { margin-bottom: 4px; }
.video__frame { position: relative; display: block; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__title { font-weight: 600; margin-top: 10px; }
.video__frame--thumb { cursor: pointer; }
.video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(11,61,145,0.9); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; padding-left: 4px;
}
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-bottom: 12px; }
.video-grid .video__title { font-size: 0.85rem; }

/* ---- Timeline: alternating around a centre rule; a progress line is
   drawn down the rule by timeline-progress.js as you scroll. ---- */
.timeline { padding: clamp(4rem, 9vw, 8rem) clamp(20px, 4vw, 40px); }
.timeline__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2.25rem; position: relative; }
.timeline__progress { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--gold); transform-origin: top; transform: scaleY(0); pointer-events: none; }
.timeline__item { position: relative; padding-left: 1.75rem; border-left: 1px solid var(--border); }
.timeline__marker { position: absolute; top: 0.5rem; left: 0; width: 9px; height: 9px; border-radius: 50%; background-color: var(--ink); transform: translateX(-50%); }
.timeline__date { margin: 0 0 0.4rem; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.timeline__entry { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
.timeline__caption { max-width: 52ch; margin: 0.5rem 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.timeline__item--current .timeline__marker { background-color: var(--gold); }
.timeline__item--current .timeline__date { color: var(--gold-deep); }
@media (min-width: 768px) {
  .timeline__list { gap: 0; }
  .timeline__item { width: 50%; padding-left: 0; padding-bottom: 2.75rem; border-left-width: 0; }
  .timeline__item:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--border); text-align: right; }
  .timeline__item:nth-child(even) { margin-left: 50%; padding-left: 2.5rem; border-left: 1px solid var(--border); }
  .timeline__item:nth-child(odd) .timeline__caption { margin-left: auto; }
  .timeline__item:nth-child(odd) .timeline__marker { left: auto; right: 0; transform: translateX(50%); }
  .timeline__item:nth-child(even) .timeline__marker { left: 0; }
}

/* ---- CTA: the close. Dark ground, holds. ---- */
.cta {
  padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 6vw, 6rem);
  display: flex; flex-direction: column; align-items: center; gap: 2.25rem;
  text-align: center; background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(11,61,145,0.55), rgba(11,61,145,0) 60%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta__copy h2 { margin: 0; font-size: clamp(2.4rem, 6.5vw, 5.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; text-wrap: balance; max-width: 14ch; }
.cta__copy p { max-width: 40ch; margin: 1.5rem auto 0; color: var(--muted-on-dark); font-size: 1.05rem; line-height: 1.55; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.cta__link { color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; opacity: 0.85; }
.cta__link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---- Secondary pages ---- */
.page-header { padding: clamp(4rem, 9vw, 7rem) clamp(20px, 4vw, 40px) clamp(1rem, 2vw, 1.5rem); }
.page-header h1 { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; text-wrap: balance; }
.page-header::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: clamp(1.25rem, 2vw, 1.75rem); }
.eyebrow { display: block; margin: 0 0 1rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.prose { padding: clamp(1rem, 2vw, 1.5rem) clamp(20px, 4vw, 40px) clamp(2rem, 4vw, 3rem); }
.prose > p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--muted); max-width: 52ch; margin: 0; }
.prose h2, .wrap > h2, .results h2, .video h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: clamp(2rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--blue-light); color: var(--blue); padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; }

.player-card, .teams { padding: clamp(1rem, 2vw, 1.5rem) clamp(20px, 4vw, 40px) clamp(2rem, 4vw, 3rem); }
.player-card__grid, .teams__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-auto-rows: auto; gap: 1rem; }
.player-card__grid > div, .teams__grid > div {
  display: flex; flex-direction: column; min-height: 10rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
}
.player-card__k { margin-bottom: 0.75rem; color: var(--muted); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.player-card__v { font-size: 1.35rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
.player-card__asat { font-size: 0.8rem; margin-top: 12px; color: var(--muted); }
@media (min-width: 1024px) { .player-card__grid, .teams__grid { gap: 1.25rem; grid-auto-rows: minmax(150px, auto); } }

.results { padding: clamp(1rem, 2vw, 1.5rem) clamp(20px, 4vw, 40px) clamp(2rem, 4vw, 3rem); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 480px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
th { color: var(--muted); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- Photo lightbox (photo-lightbox.js builds it; never in the HTML) ---- */
.photo-lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: clamp(1.5rem, 6vw, 4rem); background: rgba(15,20,30,0.94); }
.photo-lightbox.is-open { display: flex; }
.photo-lightbox img { max-width: min(90vw, 960px); max-height: 85vh; width: auto; height: auto; object-fit: contain; border-radius: 14px; }
.photo-lightbox__close { position: absolute; top: clamp(1rem, 4vw, 1.5rem); right: clamp(1rem, 4vw, 1.5rem); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.photo-lightbox__close:hover { background: rgba(255,255,255,0.28); }
body.photo-lightbox-open { overflow: hidden; }

/* ---- Contact form ---- */
.contact-form { display: flex; flex-direction: column; gap: 4px; max-width: 520px; margin-top: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.85rem; margin-top: 12px; }
.contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; width: 100%; background: var(--white); }
.contact-form .checkbox { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.contact-form .checkbox input { width: auto; }
.contact-form button { margin-top: 18px; align-self: flex-start; border: none; cursor: pointer; background: var(--blue); color: var(--white); }
.contact-form button:hover { background: var(--blue-dark); }

.site-footer { padding: 32px clamp(20px, 4vw, 40px) 56px; text-align: center; color: var(--muted); font-size: 0.8rem; }

@media (min-width: 700px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
