/* ======================================================================
   Jimme Jongman | Esports & Simracing Broadcast
   Eén stylesheet voor de hele site.

   De site is opgezet als één uitzending. Drie dingen komen overal terug:
     - het beeldkader met de afgesneden hoek (uit de J's van het logo)
     - het naamkaartje (.l3): geel label met de rol, donkere balk met de titel
     - de wipe van links naar rechts, in de richting van het afspeelteken

   1  Tokens (kleur, type, maat, beweging)
   2  Basis
   3  Bouwstenen (knoppen, links, thema's, secties, naamkaartje)
   4  Kop en menu
   5  Home: de regie (programmabeeld, bronnen, bediening) en de cijfers
   6  Home: opdrachtgevers, disciplines, uitgelicht, quote, agenda, afsluiting
   7  Dienstpagina's
   8  Lijsten met uitzendingen, rollen, grafiek en filters
   9  Over en contact
   10 Footer en privacyvenster
   11 Beweging en de stinger
   ====================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Kleur: afgeleid van het logo (nachtblauw vlak, witte J's, geel afspeelteken) en het merkblauw */
  --night: #0A0B2E;
  --night-2: #12143F;
  --night-3: #1C1F5A;
  --blue: #2A2CE5;
  --blue-deep: #1E20B4;
  --blue-soft: #A3A6FF;
  --signal: #FFD43A;
  --paper: #F1F2FA;
  --white: #FFFFFF;
  --ink: #0B0C3B;
  --slate: #474A78;
  --mist: #BABEEC;
  --live: #FF3B30;
  --error: #B3261E;

  /* Type: één familie (Archivo, het letterbeeld van het logo) in drie breedtes */
  --font: 'Archivo', 'Segoe UI', Arial, sans-serif;
  --w-display: 112%;
  --w-text: 100%;
  --w-data: 88%;
  --fs-hero: clamp(2rem, 10.8cqi, 6rem);
  --fs-h1: clamp(2.75rem, 1.2rem + 6.2vw, 6.5rem);
  --fs-h2: clamp(1.875rem, 1.25rem + 2.4vw, 3.25rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  --fs-sub: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: 1.0625rem;

  /* Maat */
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --head-h: 80px;
  --s-2: 8px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px;
  --section: clamp(64px, 9vw, 136px);
  --cut: 18px;            /* de afgesneden hoek uit het logo; hoeken zijn nooit rond */

  /* Beweging */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cut: cubic-bezier(0.7, 0, 0.2, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;
  --t-slow: 720ms;
  --t-stage: 6500ms;      /* zo lang staat een uitzending in het programmabeeld */

  /* Lagen */
  --z-menu: 40;
  --z-head: 50;
  --z-stinger: 90;
}

/* Thema's: elke sectie kiest er één en krijgt daarmee al zijn kleuren */
.on-night { --bg: var(--night); --fg: var(--white); --soft: var(--mist); --line: rgba(255, 255, 255, 0.16); --tile: var(--night-2); --tile-2: var(--night-3); --link: var(--white); --focus: var(--signal); --btn-bg: var(--signal); --btn-fg: var(--night); --btn-over: var(--white); --tri: var(--signal); --c-esports: var(--blue-soft); --c-simracing: var(--white); }
.on-blue  { --bg: var(--blue); --fg: var(--white); --soft: #DCDDFC; --line: rgba(255, 255, 255, 0.28); --tile: var(--blue-deep); --tile-2: var(--night); --link: var(--white); --focus: var(--signal); --btn-bg: var(--signal); --btn-fg: var(--night); --btn-over: var(--white); --tri: var(--signal); --c-esports: var(--white); --c-simracing: var(--night); }
.on-paper { --bg: var(--paper); --fg: var(--ink); --soft: var(--slate); --line: rgba(11, 12, 59, 0.16); --tile: var(--white); --tile-2: var(--white); --link: var(--blue); --focus: var(--blue); --btn-bg: var(--ink); --btn-fg: var(--white); --btn-over: var(--blue); --tri: var(--blue); --c-esports: var(--blue); --c-simracing: var(--ink); }
.on-night, .on-blue, .on-paper { background: var(--bg); color: var(--fg); }

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-stretch: var(--w-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link, inherit); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3 { font-stretch: var(--w-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.1; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--focus, var(--signal)); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--night); }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 20px; background: var(--signal); color: var(--night); font-weight: 700; text-decoration: none; transition: top var(--t-fast); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3. Bouwstenen ---------- */
/* De afgesneden hoek: linksboven en rechtsonder, net als de J's in het logo */
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

.btn {
  --cut: 12px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-stretch: 104%;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: color var(--t-mid) var(--ease-cut);
}
.btn::before { content: ''; position: absolute; inset: 0 -24px; z-index: -1; background: var(--btn-over); transform: translateX(-105%) skewX(-24deg); transition: transform var(--t-mid) var(--ease-cut); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-24deg); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: -6px; outline-color: var(--btn-fg); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-ink { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-over: var(--blue); }
.on-night .btn-ink, .on-blue .btn-ink { --btn-bg: var(--signal); --btn-fg: var(--night); --btn-over: var(--white); }

/* Tweede keus: een tekstlink met het afspeelteken uit het logo ervoor */
.tri { flex: none; display: inline-block; width: 0.72em; height: 0.84em; background: var(--tri, currentColor); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform var(--t-mid) var(--ease-out); }
.playlink { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--fg); font-weight: 700; font-stretch: 104%; font-size: 1.0625rem; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color var(--t-fast); }
.playlink:hover { text-decoration-color: currentColor; }
.playlink:hover .tri { transform: translateX(5px); }

.textbtn { padding: 0; border: 0; background: none; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 24px; }
.textbtn:hover { text-decoration-thickness: 2px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }

.section { padding-block: var(--section); }
.section-flush { padding-top: 0; }
.section-line { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: var(--s-4); max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--soft); font-size: var(--fs-lead); max-width: 38rem; }
.section-more { margin-top: clamp(32px, 4vw, 56px); }
.split { display: grid; gap: var(--s-7) clamp(32px, 6vw, 96px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split > .section-head { margin-bottom: 0; position: sticky; top: calc(var(--head-h) + 32px); }
}

/* Het naamkaartje uit een uitzending. Staat in elk beeldkader, linksonder. */
.l3 { position: absolute; left: 0; bottom: clamp(16px, 3vw, 40px); z-index: 5; display: grid; justify-items: start; max-width: 86%; }
.l3-tab { --cut: 8px; display: inline-block; padding: 6px 16px 6px 20px; background: var(--signal); color: var(--night); font-weight: 800; font-stretch: var(--w-data); font-size: 1.0625rem; line-height: 1.2; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); transform-origin: left; }
.l3-main { display: grid; gap: 2px; padding: 12px 28px 14px 20px; background: var(--night); color: var(--white); }
.l3-main strong { font-weight: 800; font-stretch: 106%; font-size: clamp(1.125rem, 0.9rem + 1vw, 1.625rem); line-height: 1.15; letter-spacing: -0.01em; }
.l3-main span { color: var(--mist); font-size: 1rem; line-height: 1.35; }

/* ---------- 4. Kop en menu ---------- */
.site-head { --fg: var(--white); --focus: var(--signal); position: fixed; inset: 0 0 auto 0; z-index: var(--z-head); color: var(--white); background: transparent; transition: background var(--t-mid), box-shadow var(--t-mid); }
.site-head.scrolled, .site-head.open { background: var(--night); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14); }
.head-row { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; color: var(--white); text-decoration: none; }
.mark { width: 40px; height: 40px; flex: none; }
.mk-j { fill: currentColor; }
.mk-p { fill: var(--signal); transform-origin: 34px 32px; transition: transform var(--t-mid) var(--ease-out); }
.brand:hover .mk-p { transform: translateX(3px); }
.brand-name { font-weight: 800; font-stretch: var(--w-display); font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; color: var(--white); font-weight: 600; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform var(--t-mid) var(--ease-cut); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .nav-cta { display: none; }

.head-tools { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 24px); }
.lang { display: flex; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--mist); font-weight: 700; font-size: 1rem; text-decoration: none; }
.lang a:hover { color: var(--white); }
.lang a[aria-current] { color: var(--white); box-shadow: inset 0 -3px 0 var(--signal); }
.btn-head { --btn-bg: var(--signal); --btn-fg: var(--night); --btn-over: var(--white); min-height: 48px; padding: 0 22px; font-size: 1rem; white-space: nowrap; flex: none; }

.menu-btn { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px 0 8px; border: 0; background: none; color: var(--white); font-weight: 700; font-size: 1rem; }
.menu-ico { position: relative; width: 26px; height: 14px; }
.menu-ico i { position: absolute; left: 0; right: 0; height: 3px; background: currentColor; transition: transform var(--t-mid) var(--ease-cut), top var(--t-mid) var(--ease-cut); }
.menu-ico i:first-child { top: 0; }
.menu-ico i:last-child { top: 11px; }
.site-head.open .menu-ico i:first-child { top: 5px; transform: rotate(45deg); }
.site-head.open .menu-ico i:last-child { top: 5px; transform: rotate(-45deg); }

/* Vijf menu-items, de taalkeuze en de knop passen pas vanaf 1280px naast elkaar; tot 1440px met krappere tussenruimte.
   Verander je deze grens, pas dan ook de 1280 in site.js aan (bij het menu). */
@media (min-width: 1280px) and (max-width: 1439px) {
  .head-row { gap: 24px; }
  .nav { gap: 22px; }
  .head-tools { gap: 12px; }
}
@media (max-width: 1279px) {
  .btn-head { display: none; }
  .menu-btn { display: inline-flex; }
  .head-tools { margin-left: auto; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; z-index: var(--z-menu); flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 24px var(--gutter) 40px; background: var(--night); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity var(--t-mid), visibility 0s linear var(--t-mid); }
  .site-head.open .nav { visibility: visible; opacity: 1; transition: opacity var(--t-mid); }
  .nav a { min-height: 68px; font-size: 1.75rem; font-weight: 800; font-stretch: var(--w-display); border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .nav a::after { display: none; }
  .nav a[aria-current] { color: var(--signal); }
  .nav .nav-cta { display: inline-flex; justify-content: center; margin-top: 32px; min-height: 60px; background: var(--signal); color: var(--night); font-size: 1.125rem; font-weight: 700; font-stretch: 104%; border: 0; }
  .nav .nav-cta[aria-current] { color: var(--night); }
}
@media (max-width: 420px) {
  :root { --head-h: 68px; }
  .mark { width: 34px; height: 34px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 1.0625rem; }
  .menu-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { min-width: 48px; justify-content: center; padding: 0; }
  .lang a { min-width: 40px; }
}

/* ---------- 5. Home: de regie ---------- */
.hero { position: relative; padding-top: calc(var(--head-h) + clamp(24px, 5vh, 64px)); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); align-items: center; }
.hero-copy { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); justify-items: start; min-width: 0; }
/* Het gezicht bij de naam: hetzelfde kader met afgesneden hoek als de rest van de site */
.hero-face, .portrait { position: relative; display: block; aspect-ratio: 1; background: var(--night-2); overflow: hidden; }
.hero-face { --cut: 14px; width: clamp(88px, 18cqi, 116px); }
.portrait { --cut: 20px; width: min(200px, 60%); margin-top: var(--s-2); }
.hero-face img, .portrait img { width: 100%; height: 100%; object-fit: cover; }

/* De naam is de kop. Daaronder in dezelfde h1 wat hij doet, dan de slogan. */
.hero-title { font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.025em; }
.hero-title .line { display: block; }
.hero-name { white-space: nowrap; }
.hero-role { max-width: 31rem; margin-top: 0.7em; font-size: var(--fs-sub); font-weight: 700; font-stretch: 104%; line-height: 1.25; letter-spacing: -0.005em; text-wrap: balance; }
.hero-slogan { padding-left: 16px; border-left: 4px solid var(--signal); font-weight: 800; font-stretch: var(--w-display); font-size: clamp(1.1875rem, 4.5cqi, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.hero-slogan span { display: inline-block; }
.hero-lede { color: var(--soft); font-size: var(--fs-lead); max-width: 34rem; }
.hero .actions { margin-top: var(--s-2); }

.status { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--soft); font-size: 1rem; text-decoration: none; }
.status i { flex: none; width: 10px; height: 10px; background: var(--signal); }
.status strong { color: var(--white); font-weight: 600; }
.status:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.status.live i { background: var(--live); border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

/* Het programmabeeld */
.stage { --cut: clamp(20px, 3vw, 44px); min-width: 0; }
.stage-frame { position: relative; aspect-ratio: 16 / 10; background: var(--blue); overflow: hidden; }
.stage-slides, .slide { position: absolute; inset: 0; }
.slide { visibility: hidden; background: var(--blue); }
.slide.is-on, .slide.is-prev { visibility: visible; }
.slide.is-on { z-index: 2; }
.slide.is-prev { z-index: 1; }
.slide-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--blue); }
.slide-fallback img { width: 34%; max-height: 52%; object-fit: contain; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--t-mid); }
.slide-img.ok { opacity: 1; }
.slide-img.is-43 { transform: scale(1.34); }
.stage-frame::after { content: ''; position: absolute; inset: 40% 0 0 0; z-index: 3; background: linear-gradient(to top, rgba(10, 11, 46, 0.72), rgba(10, 11, 46, 0)); pointer-events: none; }
.stage-sweep { position: absolute; top: -10%; bottom: -10%; left: 0; z-index: 4; width: 14px; background: var(--signal); transform: translateX(-60px) skewX(-18deg); pointer-events: none; visibility: hidden; }
.stage-sweep.go { visibility: visible; }

/* Label rechtsboven tijdens een herhaling */
.stage-tag { --cut: 8px; position: absolute; top: clamp(14px, 2.2vw, 26px); right: clamp(14px, 2.2vw, 26px); z-index: 6; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; background: var(--signal); color: var(--night); font-weight: 800; font-stretch: var(--w-data); font-size: 1.0625rem; line-height: 1; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); visibility: hidden; }
.stage-tag svg { width: 20px; height: 20px; }
.stage-tag path { fill: var(--night); }
.stage.replay .stage-tag { visibility: visible; }

/* De speler voor een uitzending die je op de site terugkijkt */
.stage-player { position: absolute; inset: 0; z-index: 7; background: #000; }
.stage-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.stage.has-player .l3 { display: none; }

/* De bronnen: elke uitgelichte uitzending is een bron die je zelf in beeld kunt zetten */
.sources { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-top: 6px; }
.sources button { position: relative; aspect-ratio: 16 / 9; min-height: 44px; padding: 0; border: 0; background: var(--blue); overflow: hidden; }
.sources img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: opacity var(--t-mid); }
.sources img.src-logo { inset: 16% 22%; width: 56%; height: 68%; object-fit: contain; }
.sources button:hover img, .sources button[aria-current] img { opacity: 1; }
.sources button::before { content: ''; position: absolute; inset: 0 0 auto 0; z-index: 2; height: 4px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform var(--t-mid) var(--ease-cut); }
.sources button[aria-current]::before { transform: scaleX(1); }
.sources button i { position: absolute; inset: auto 0 0 0; z-index: 2; height: 4px; background: var(--white); transform: scaleX(0); transform-origin: left; }
.motion .stage.playing .sources button[aria-current] i { animation: seg var(--t-stage) linear forwards; }
.motion .stage.playing.held .sources button[aria-current] i { animation-play-state: paused; }
@keyframes seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* De bediening onder het beeld */
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 10px; }
.stage-bar .push { margin-left: auto; }
.ctl { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--mist); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.ctl:hover { color: var(--white); }
.ctl .tri { background: var(--signal); }
.ctl-replay { padding: 0 18px 0 12px; background: var(--night-2); color: var(--white); font-weight: 700; transition: background var(--t-fast); }
.ctl-replay:hover { background: var(--night-3); }
.ctl-replay svg { width: 24px; height: 24px; }
.ctl-replay .mk-p { transform-origin: 34px 32px; }
.ctl-replay:hover .mk-p { transform: translateX(3px); }
.ctl .ico { position: relative; width: 12px; height: 14px; }
.ctl .ico::before, .ctl .ico::after { content: ''; position: absolute; top: 0; bottom: 0; width: 4px; background: currentColor; }
.ctl .ico::before { left: 0; }
.ctl .ico::after { right: 0; }
.ctl[aria-pressed="true"] .ico::before { width: 12px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ctl[aria-pressed="true"] .ico::after { display: none; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: min(640px, calc(100svh - var(--head-h) - 220px)); }
  /* Het beeld loopt door tot voorbij de kolom, richting de rand van het scherm */
  .stage { --bleed: min(120px, calc(var(--gutter) + max(0px, (100vw - var(--max)) / 2))); }
  .stage-frame { margin-right: calc(-1 * var(--bleed)); }
}
@media (max-width: 959px) {
  .hero-copy { gap: var(--s-4); }
  .stage-frame { margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 16 / 9; clip-path: none; }
  .l3 { max-width: 92%; }
}
@media (max-width: 599px) {
  .stage-frame { aspect-ratio: 4 / 3; }
  .sources { gap: 4px; }
  .sources button { aspect-ratio: auto; height: 46px; }
}

/* De cijfers: tellen zichzelf uit de gegevens */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 14rem; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: clamp(20px, 2.6vw, 32px) 16px clamp(20px, 2.6vw, 32px) 0; }
.stats dd { font-weight: 800; font-stretch: var(--w-display); font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3.25rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats dt { color: var(--soft); font-size: 1.0625rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 8.75rem; } }
@media (max-width: 719px) { .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- 6. Home: de rest ---------- */
/* Opdrachtgevers: een doorlopende band, zoals de balk onder in een uitzending */
.ticker { padding-block: clamp(28px, 3.6vw, 48px) clamp(40px, 5vw, 72px); overflow: hidden; }
.ticker h2 { margin-bottom: var(--s-4); font-size: 1.125rem; font-stretch: var(--w-text); font-weight: 600; letter-spacing: 0; color: var(--soft); }
.ticker-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ticker-track a { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--tile); transition: background var(--t-mid); }
.ticker-track a:hover { background: var(--tile-2); }
.ticker-track img { width: 58%; height: 62%; object-fit: contain; transition: transform var(--t-mid) var(--ease-out); }
.ticker-track a:hover img { transform: scale(1.08); }
.ticker-track a[data-light] { background: var(--paper); }
@media (min-width: 640px) { .ticker-track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ticker-track { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* Met beweging: één rij die van links naar rechts loopt. Staat stil zodra je erop staat. */
.motion .ticker.run .ticker-track { display: flex; width: max-content; max-width: none; margin: 0; padding: 0 8px 0 0; animation: ticker 56s linear infinite; }
.motion .ticker.run .ticker-track li { flex: none; width: clamp(150px, 15vw, 240px); }
.motion .ticker.run:hover .ticker-track, .motion .ticker.run:focus-within .ticker-track, html.paused .ticker.run .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.duo { display: grid; background: var(--night); }
.duo-panel { position: relative; display: grid; align-items: end; min-height: clamp(520px, 62vw, 700px); overflow: hidden; isolation: isolate; }
.duo-bg { position: absolute; inset: 0; z-index: -1; }
/* Het beeld van een uitzending als sfeer: vervaagd en in de kleur van het vlak, zodat de tekst erin niet meeleest */
.duo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; mix-blend-mode: luminosity; filter: blur(5px); transform: scale(1.06); transition: transform 1.4s var(--ease-out), opacity var(--t-slow); }
.duo-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 40%, transparent 115%); }
.duo-bg img.is-43 { transform: scale(1.4); }
.duo-panel:hover .duo-bg img { transform: scale(1.12); opacity: 0.42; }
.duo-panel:hover .duo-bg img.is-43 { transform: scale(1.46); }
.duo-in { display: grid; gap: var(--s-5); justify-items: start; padding: clamp(40px, 6vw, 88px) var(--gutter); max-width: 44rem; }
.duo-title { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem); line-height: 0.98; }
.duo-text { font-size: var(--fs-lead); color: var(--soft); max-width: 32rem; }
.duo-stat { font-weight: 700; font-size: 1.125rem; }
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; transition: grid-template-columns var(--t-slow) var(--ease-out); }
  .duo:has(.duo-panel:first-of-type:hover) { grid-template-columns: 1.12fr 0.88fr; }
  .duo:has(.duo-panel:last-of-type:hover) { grid-template-columns: 0.88fr 1.12fr; }
  .duo-panel:first-of-type .duo-in { margin-left: auto; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); max-width: none; width: 100%; }
  .duo-panel:last-of-type .duo-in { padding-inline: clamp(40px, 5vw, 80px) var(--gutter); }
}

/* Game-logo's: groot genoeg om in één oogopslag te herkennen */
.games { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.games li { display: grid; gap: 10px; justify-items: start; width: 112px; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.games img { --cut: 12px; width: 112px; height: 108px; object-fit: cover; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

/* Ook voor andere producties */
.also { padding-block: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.also-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 48px; }
.also p { max-width: 48rem; color: var(--soft); font-size: var(--fs-lead); }
.also strong { color: var(--fg); }

/* Uitgelicht werk: hetzelfde beeldkader en naamkaartje als bovenaan */
.feat { display: grid; gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px); }
.shot { display: grid; grid-template-rows: auto auto; align-content: start; gap: 14px; color: var(--fg); text-decoration: none; }
.shot-media { --cut: clamp(16px, 2vw, 28px); position: relative; display: block; aspect-ratio: 4 / 3; background: var(--blue); overflow: hidden; }
.shot-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.shot-media > img.is-43 { transform: scale(1.34); }
.shot-media.is-logo > img { inset: 12% 28% auto 28%; width: 44%; height: 46%; object-fit: contain; }
.shot-media::before { content: ''; position: absolute; inset: 45% 0 0 0; z-index: 2; background: linear-gradient(to top, rgba(10, 11, 46, 0.72), rgba(10, 11, 46, 0)); pointer-events: none; }
.shot .l3 { bottom: clamp(12px, 1.8vw, 24px); max-width: 92%; }
.shot .l3-main strong { font-size: clamp(1.0625rem, 0.85rem + 0.8vw, 1.5rem); }
a.shot:hover .shot-media > img { transform: scale(1.05); }
a.shot:hover .shot-media > img.is-43 { transform: scale(1.4); }
.shot-foot { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--soft); font-size: 1rem; }
.shot-foot img { --cut: 6px; width: 44px; height: 42px; object-fit: cover; flex: none; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.shot-link { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--fg); font-weight: 700; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; }
a.shot:hover .shot-link { text-decoration-color: currentColor; }
a.shot:hover .shot-link .tri { transform: translateX(5px); }
@media (min-width: 700px) {
  .feat { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .shot { grid-column: span 6; }
  .shot-media { aspect-ratio: 16 / 9; }
}
@media (min-width: 1000px) {
  /* Zigzag: breed en smal wisselen per rij; het smalle beeld groeit mee tot dezelfde hoogte */
  .shot { grid-template-rows: 1fr auto; }
  .shot:nth-child(4n+1), .shot:nth-child(4n+4) { grid-column: span 7; }
  .shot:nth-child(4n+2), .shot:nth-child(4n+3) { grid-column: span 5; }
  .shot:nth-child(4n+2) .shot-media, .shot:nth-child(4n+3) .shot-media { aspect-ratio: auto; min-height: 240px; height: 100%; }
}

/* Referentie */
.quote { padding-block: clamp(72px, 9vw, 136px); }
.quote figure { display: grid; gap: var(--s-7); }
.quote blockquote { font-weight: 800; font-stretch: var(--w-display); font-size: clamp(2rem, 1.1rem + 4.4vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance; }
.quote figcaption { display: flex; align-items: center; gap: 20px; max-width: 34rem; color: var(--soft); font-size: 1.0625rem; line-height: 1.45; }
.quote figcaption img { width: 64px; height: 64px; padding: 8px; object-fit: contain; background: var(--night); flex: none; }
.quote figcaption strong { display: block; color: var(--white); font-size: 1.1875rem; }

/* Agenda */
.rundown { border-top: 2px solid var(--fg); }
.rundown li { border-bottom: 1px solid var(--line); }
.rundown .rd { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 24px; align-items: center; padding: 20px 0; color: var(--fg); text-decoration: none; }
.rd-date { display: grid; font-weight: 800; font-stretch: var(--w-display); line-height: 1; }
.rd-date b { font-size: 2.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rd-date span { margin-top: 6px; font-size: 1rem; font-weight: 600; font-stretch: var(--w-text); color: var(--soft); }
.rd-main { display: grid; gap: 4px; }
.rd-main strong { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.rd-main span { color: var(--soft); font-size: 1rem; }
.rd-when { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; }
.rd-when i { width: 10px; height: 10px; background: var(--tri); }
.rundown li.live .rd-when i { background: var(--live); border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
a.rd:hover .rd-main strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.rundown .none { padding: 24px 0; font-size: var(--fs-lead); }
@media (min-width: 720px) {
  .rundown .rd { grid-template-columns: 92px minmax(0, 1fr) auto; }
  .rd-when { grid-column: 3; justify-self: end; }
}

/* Afsluiting met het beeldmerk groot op de achtergrond */
.closer { position: relative; padding-block: clamp(80px, 10vw, 160px); border-top: 1px solid rgba(255, 255, 255, 0.16); overflow: hidden; isolation: isolate; }
.closer::after { content: ''; position: absolute; z-index: -1; right: -6%; top: 50%; width: min(62vw, 720px); aspect-ratio: 1; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%2312143F' d='M47 14H56V48L48 56H30V41H39V47H47Z'/%3E%3Cpath fill='%2312143F' d='M17 50H8V16L16 8H34V23H25V17H17Z'/%3E%3Cpath fill='%232A2CE5' d='M27 24 41 32 27 40Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.closer-in { display: grid; gap: var(--s-5); justify-items: start; }
.closer h2 { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 5rem); max-width: 14ch; }
.closer p { color: var(--soft); font-size: var(--fs-lead); max-width: 34rem; }
.closer .actions { margin-top: var(--s-4); }

/* ---------- 7. Dienstpagina's ---------- */
.page-hero { padding-top: calc(var(--head-h) + clamp(48px, 8vw, 112px)); padding-bottom: clamp(56px, 8vw, 120px); overflow: clip; }
.page-hero-slim { padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: end; }
.page-hero-copy { display: grid; gap: var(--s-5); justify-items: start; min-width: 0; }
.page-hero h1 { font-size: var(--fs-h1); line-height: 0.94; letter-spacing: -0.03em; }
.page-hero h1 .line { display: block; }
.lead { font-size: var(--fs-sub); line-height: 1.35; font-weight: 500; max-width: 36rem; }
.page-hero .lead { color: var(--soft); }
.page-hero .lead-big { color: var(--white); font-weight: 700; font-stretch: 104%; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.15; max-width: 24ch; }
.page-hero-wide h1 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.5rem); }
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .page-hero-wide { grid-column: 1 / -1; max-width: 60rem; }
}

.gamewall { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 20px; }
.gamewall li { display: grid; gap: 12px; align-content: start; }
.gamewall img { --cut: 16px; width: 100%; aspect-ratio: 187 / 180; object-fit: cover; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.gamewall strong { font-size: 1.1875rem; font-weight: 800; font-stretch: 104%; line-height: 1.2; }
.gamewall span { color: var(--soft); font-size: 1rem; line-height: 1.4; }
.gamewall .noimg { display: grid; place-items: center; aspect-ratio: 187 / 180; background: var(--tile); font-weight: 800; font-size: 1.5rem; }

.roles { display: grid; gap: clamp(32px, 4vw, 56px); }
.role { display: grid; gap: var(--s-4); align-content: start; justify-items: start; padding-top: 24px; border-top: 4px solid var(--fg); }
.role h3 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.role p { max-width: 36rem; }
.role-proof { color: var(--soft); }
.role-stat { font-weight: 800; font-stretch: var(--w-data); font-size: 1.1875rem; }
@media (min-width: 900px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roles-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.facts { border-top: 2px solid var(--fg); }
.facts > div { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { color: var(--soft); }
.facts dd a { display: inline-block; padding-block: 3px; color: var(--fg); font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 560px) { .facts > div { grid-template-columns: 160px minmax(0, 1fr); } }

.longest { border-top: 2px solid var(--fg); }
.longest li { display: grid; grid-template-columns: minmax(96px, auto) minmax(0, 1fr); gap: 4px 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.longest b { font-weight: 800; font-stretch: var(--w-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.longest strong { display: block; font-size: 1.25rem; line-height: 1.25; }
.longest span { color: var(--soft); }
.longest a { display: inline-block; padding-block: 2px; color: var(--fg); text-underline-offset: 4px; }

.series { display: grid; gap: 8px; }
.series li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; align-items: center; padding: 16px 20px; background: var(--tile); }
.series img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; background: var(--night-2); }
.series strong { align-self: end; font-size: 1.125rem; line-height: 1.25; }
.series span { align-self: start; color: var(--soft); font-size: 1rem; }
@media (min-width: 720px) { .series { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .series { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 8. Lijsten, rollen, grafiek en filters ---------- */
.rows { border-top: 2px solid var(--fg); }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row-logo { grid-row: span 3; align-self: start; display: grid; place-items: center; width: 48px; height: 48px; background: var(--night-2); }
.row-logo img { width: 100%; height: 100%; object-fit: contain; }
.row-main { display: grid; gap: 2px; }
.row-main strong { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.row-main small { color: var(--soft); font-size: 1rem; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; color: var(--soft); font-size: 1rem; }
.row-role { color: var(--fg); font-weight: 700; }
.row-game { display: inline-flex; align-items: center; gap: 10px; }
.row-game img { --cut: 6px; width: 40px; height: 38px; object-fit: cover; flex: none; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.row-date, .row-len { font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-link a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--link); font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }
.row-link .tri { width: 0.62em; height: 0.74em; }
@media (min-width: 1000px) {
  .row { grid-template-columns: 56px minmax(0, 2.4fr) minmax(0, 1.25fr) minmax(0, 1.5fr) 132px 84px 150px; gap: 20px; padding: 14px 0; }
  .row-logo { grid-row: auto; width: 56px; height: 56px; }
  .row-meta { display: contents; }
  .row-link { justify-self: end; }
  .row-len { text-align: right; }
}

/* Smalle variant voor een lijst die in een kolom staat: rol, game en datum op één regel onder de titel */
@media (min-width: 1000px) {
  .rows-compact .row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 6px 20px; padding: 16px 0; }
  .rows-compact .row-logo { grid-row: 1 / span 2; }
  .rows-compact .row-main { grid-column: 2; }
  .rows-compact .row-meta { display: flex; grid-column: 2; }
  .rows-compact .row-link { grid-column: 3; grid-row: 1 / span 2; }
  .rows-compact .row-len { text-align: left; }
}

/* Een uitzending binnen een groep: de organisator staat al in de kop van de groep */
.row.child { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .row.child { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.25fr) minmax(0, 1.5fr) 132px 84px 150px; } }

/* Groepen: organisator, daaronder de serie, daaronder de uitzendingen */
.rows-grouped > li.grp { padding: 0; border-bottom: 1px solid var(--line); display: block; }
.grp summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; }
.grp summary::-webkit-details-marker { display: none; }
.grp-logo { grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; background: var(--night-2); }
.grp-logo img { width: 100%; height: 100%; object-fit: contain; }
.grp-name { font-size: var(--fs-h3); font-weight: 800; font-stretch: 106%; letter-spacing: -0.015em; line-height: 1.15; }
.grp-sub { grid-column: 2; color: var(--soft); font-size: 1rem; }
.grp-tot { grid-row: 1 / span 2; grid-column: 3; display: inline-flex; align-items: center; gap: 14px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.grp-tot .tri { background: var(--fg); transform: rotate(90deg); transition: transform var(--t-mid) var(--ease-out); }
.grp details[open] > summary .grp-tot .tri { transform: rotate(-90deg); }
.grp summary:hover .grp-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.grp ul { border-top: 1px solid var(--line); padding-left: clamp(0px, 4vw, 72px); }
.grp ul > li:last-child { border-bottom: 0; }
.grp .sub > details > summary { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 0; }
.grp .sub .grp-tot { grid-column: 2; grid-row: 1; }
.grp .sub .grp-name { font-size: 1.1875rem; font-stretch: var(--w-text); font-weight: 700; letter-spacing: 0; }
.grp .sub { border-bottom: 1px solid var(--line); }
@media (max-width: 559px) { .grp-tot span { display: none; } }

/* Het portfolio opent met het werk per rol */
.roletabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.roletabs button { display: grid; gap: 6px; align-content: start; justify-items: start; min-width: 0; min-height: 104px; padding: 18px 16px; border: 2px solid var(--ink); background: transparent; color: var(--ink); text-align: left; transition: background var(--t-fast), color var(--t-fast); }
.roletabs strong { font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.3125rem); font-weight: 800; font-stretch: 104%; line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.roletabs span { color: var(--slate); font-size: 1rem; line-height: 1.3; }
.roletabs button:hover { background: var(--white); }
.roletabs button[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: inset 0 6px 0 var(--signal); }
.roletabs button[aria-pressed="true"] span { color: var(--mist); }
.roledesc { margin: 24px 0 clamp(28px, 3.4vw, 44px); max-width: 46rem; font-size: var(--fs-lead); }
@media (min-width: 700px) { .roletabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .roletabs { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; } }

/* Uren per maand. Staat in de kop van het portfolio; de kleuren volgen het thema. */
.chart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.chart-head h2 { font-size: 1.375rem; }
.chart-legend { display: flex; gap: 20px; font-weight: 600; font-size: 1rem; }
.chart-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; }
.sw-esports { background: var(--c-esports); }
.sw-simracing { background: var(--c-simracing); }
.chart-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(2px, 0.5vw, 6px); align-items: start; }
.chart-bars button { display: grid; grid-template-rows: 200px auto; gap: 8px; min-width: 0; padding: 0; border: 0; background: none; color: var(--fg); }
.chart-bars button[disabled] { cursor: default; }
.chart-bars b { margin-bottom: 4px; font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; line-height: 1.2; }
.chart-bars .col { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; border-bottom: 2px solid var(--fg); }
.chart-bars .col i { display: block; transform-origin: bottom; transition: opacity var(--t-fast); }
.chart-bars .seg-esports { background: var(--c-esports); }
.chart-bars .seg-simracing { background: var(--c-simracing); }
.chart-bars small { font-size: 0.875rem; font-weight: 600; color: var(--soft); text-align: center; line-height: 1.2; }
.chart-bars small em { display: block; font-style: normal; color: var(--fg); }
.chart-bars button:not([disabled]):hover .col i { opacity: 0.78; }
.chart-bars button[aria-pressed="true"] small { color: var(--fg); font-weight: 800; box-shadow: inset 0 -3px 0 var(--signal); }
.chart-bars.has-sel button[aria-pressed="false"] .col i { opacity: 0.3; }
.chart-hint { margin-top: 16px; color: var(--soft); font-size: 1rem; min-height: 1.6em; }
.chart-hint .textbtn { margin-left: 8px; color: var(--fg); }
@media (max-width: 639px) {
  /* Op een smal scherm blijven de kolommen breed genoeg om aan te tikken; de grafiek schuift dan opzij */
  .chart-bars { grid-auto-columns: minmax(26px, 1fr); overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .chart-bars button { grid-template-rows: 150px auto; }
  .chart-bars b { font-size: 0.8125rem; }
  .chart-bars small { font-size: 0.75rem; }
}

.filters { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 28px; }
.filter-search { flex: 1 1 100%; max-width: 420px; }
.filters legend { margin-bottom: 8px; font-weight: 700; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; font-size: 1rem; transition: background var(--t-fast), color var(--t-fast); }
.chips button:hover { background: var(--white); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.filter-search { display: grid; gap: 8px; }
.filter-search label { font-weight: 700; font-size: 1rem; }
.filter-search input { width: 100%; min-height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 0; background: var(--white); font-size: 1.0625rem; }
.list-count { margin-bottom: 16px; font-weight: 700; font-size: 1.0625rem; }
.filter-note, .empty { padding: 16px 0; font-size: 1.0625rem; }
.filter-note .textbtn, .empty .textbtn { margin-left: 12px; color: var(--blue); }

/* ---------- 9. Over en contact ---------- */
.prose { display: grid; gap: var(--s-5); max-width: 40rem; font-size: var(--fs-lead); }
.prose .aka { color: var(--soft); font-size: var(--fs-body); }
.prose .actions { margin-top: var(--s-4); }
.stats-side, .stats-stack { min-height: 14rem; margin-top: 0; }
.stats-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); }
.stats-stack > div:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 960px) { .stats-side { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } .stats-side > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.faq { border-top: 2px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.25rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 28px; width: 12px; height: 14px; background: var(--blue); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: rotate(90deg); transition: transform var(--t-mid) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-90deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 48px 24px 0; color: var(--soft); max-width: 40rem; }

.contact-grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.form { display: grid; gap: 24px; }
.form h2 { font-size: var(--fs-h3); }
.form-note { margin-top: -12px; color: var(--soft); font-size: 1rem; }
.form-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .pick legend { font-weight: 700; font-size: 1.0625rem; }
.field label i, .pick legend i { font-style: normal; font-weight: 400; color: var(--soft); }
.field .hint { color: var(--soft); font-size: 1rem; margin-top: -4px; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 2px solid var(--slate); border-radius: 0; background: var(--white); color: var(--ink); font-size: 1.0625rem; line-height: 1.5; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .filter-search input:focus-visible { outline-offset: 0; border-color: var(--blue); }
.field .bad { border-color: var(--error); }
.err { color: var(--error); font-weight: 600; font-size: 1rem; }
.err:empty { display: none; }
.pick legend { margin-bottom: 10px; }
.pick { display: block; }
.pick label { display: inline-block; margin: 0 6px 8px 0; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--ink); background: transparent; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.pick span:hover { background: var(--white); }
.pick input:checked + span { background: var(--ink); color: var(--white); }
.pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.check { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--ink); border-radius: 0; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--ink); }
.check input:checked::after { content: ''; width: 12px; height: 7px; border-left: 3px solid var(--white); border-bottom: 3px solid var(--white); transform: translateY(-2px) rotate(-45deg); }
.form-send { display: grid; gap: 16px; justify-items: start; margin-top: 8px; }
.consent { color: var(--soft); font-size: 1rem; }
.formmsg { font-weight: 600; font-size: 1.0625rem; }
.formmsg:empty { display: none; }
.formmsg.ok, .formmsg.fail { padding: 18px 20px; background: var(--white); border-left: 6px solid var(--blue); }
.formmsg.fail { border-left-color: var(--error); color: var(--error); }
.formmsg a { color: inherit; }

.reach { display: grid; gap: 24px; padding: clamp(24px, 3vw, 40px); background: var(--white); }
.reach h2 { font-size: var(--fs-h3); }
.reach ul { display: grid; }
.reach li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.reach li a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--ink); font-size: 1.125rem; text-decoration: none; overflow-wrap: anywhere; }
.reach li a:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.reach li img, .reach-ico { width: 40px; height: 40px; flex: none; object-fit: contain; }
.reach-ico { display: grid; place-items: center; background: var(--ink); color: var(--white); font-style: normal; font-weight: 800; font-size: 1.25rem; }
.reach li span { padding-left: 54px; color: var(--soft); font-size: 1rem; }

/* ---------- 10. Footer en privacyvenster ---------- */
.site-foot { padding-block: clamp(56px, 7vw, 96px) 32px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.foot-grid { display: grid; gap: 40px clamp(32px, 6vw, 96px); }
.foot-brand { display: grid; gap: 16px; justify-items: start; max-width: 30rem; }
.foot-brand p { color: var(--soft); }
.foot-brand .foot-aka { font-size: 1rem; }
.foot-nav h2 { margin-bottom: 12px; font-size: 1.0625rem; font-stretch: var(--w-text); font-weight: 700; letter-spacing: 0; color: var(--soft); }
.foot-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--white); font-weight: 600; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); color: var(--soft); font-size: 1rem; }
.foot-base p:last-child { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-base a, .foot-base .textbtn { color: var(--soft); font-weight: 500; min-height: 32px; text-underline-offset: 4px; }
.foot-base a:hover, .foot-base .textbtn:hover { color: var(--white); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } }

dialog.privacy { --focus: var(--blue); width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(24px, 4vw, 44px); border: 0; background: var(--white); color: var(--ink); overflow-y: auto; }
dialog.privacy::backdrop { background: rgba(10, 11, 46, 0.78); }
.privacy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.privacy-head h2 { font-size: var(--fs-h3); }
.privacy-head .textbtn { min-height: 44px; color: var(--blue); }
dialog.privacy p + p { margin-top: 14px; }
dialog.privacy a { color: var(--blue); }

/* ---------- 11. Beweging en de stinger ---------- */
/* Alles hieronder werkt alleen met de klasse .motion op <html> (gezet als de bezoeker beweging niet
   heeft uitgezet). Er is één beweging: van links naar rechts, in de richting van het afspeelteken.
   Tekst wordt van links opengeveegd, beeld komt vrij doordat een blauw vlak schuin wegschuift. */

/* Tekst. De wipe zit op een binnenste element (.wipe-in, gezet door site.js): de browser ziet een
   element dat zichzelf helemaal wegknipt niet in beeld komen. */
.motion [data-reveal="wipe-text"]:not(.w) { opacity: 0; }
.motion [data-reveal="wipe-text"] > .wipe-in { display: block; clip-path: inset(-0.2em 100% -0.3em 0); transform: translateX(-16px); transition: clip-path 0.9s var(--ease-cut) var(--d, 0ms), transform 0.9s var(--ease-out) var(--d, 0ms); }
.motion [data-reveal="wipe-text"].in > .wipe-in { clip-path: inset(-0.2em -2% -0.3em 0); transform: none; }

.motion [data-reveal="lines"] .line > span { display: block; clip-path: inset(-0.1em 100% -0.2em 0); transform: translateX(-16px); transition: clip-path 0.9s var(--ease-cut), transform 0.9s var(--ease-out); }
.motion [data-reveal="lines"] .line + .line > span { transition-delay: 120ms; }
.motion [data-reveal="lines"].in .line > span { clip-path: inset(-0.1em -2% -0.2em 0); transform: none; }

/* Kleine onderdelen en rijen in een lijst schuiven hetzelfde stukje mee */
.motion [data-reveal="fade"] { opacity: 0; transform: translateX(-16px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.8s var(--ease-out) var(--d, 0ms); }
.motion [data-reveal="fade"].in { opacity: 1; transform: none; }
.motion [data-reveal="stagger"] > * { opacity: 0; transform: translateX(-16px); transition: opacity 0.5s ease calc(var(--i, 0) * 55ms), transform 0.7s var(--ease-out) calc(var(--i, 0) * 55ms); }
.motion [data-reveal="stagger"].in > * { opacity: 1; transform: none; }

/* Beeld en vlakken */
.motion [data-reveal="shutter"]::after { content: ''; position: absolute; inset: 0 -30%; z-index: 8; background: var(--blue); transform: skewX(-18deg) translateX(0); transition: transform 1s var(--ease-cut) var(--d, 0ms); pointer-events: none; }
.motion .on-blue[data-reveal="shutter"]::after { background: var(--night); }
.motion [data-reveal="shutter"].in::after { transform: skewX(-18deg) translateX(135%); }
.motion .shot-media[data-reveal="shutter"] > img { scale: 1.12; transition: scale 1.6s var(--ease-out) var(--d, 0ms), transform 0.9s var(--ease-out); }
.motion .shot-media[data-reveal="shutter"].in > img { scale: 1; }

/* Het naamkaartje: eerst het label, dan de balk, dan de tekst */
.motion .l3-tab { transition: transform 0.45s var(--ease-cut) 0.35s; }
.motion .l3-main { clip-path: inset(0 0 0 0); transition: clip-path 0.6s var(--ease-cut) 0.5s; }
.motion .l3-main strong, .motion .l3-main span { transition: opacity 0.4s ease 0.8s, transform 0.5s var(--ease-out) 0.8s; }
.motion .l3.out .l3-tab, .motion [data-reveal="shutter"]:not(.in) .l3-tab { transform: scaleX(0); transition-duration: 0.18s; transition-delay: 0s; }
.motion .l3.out .l3-main, .motion [data-reveal="shutter"]:not(.in) .l3-main { clip-path: inset(0 100% 0 0); transition-duration: 0.18s; transition-delay: 0s; }
.motion .l3.out .l3-main strong, .motion .l3.out .l3-main span, .motion [data-reveal="shutter"]:not(.in) .l3-main strong, .motion [data-reveal="shutter"]:not(.in) .l3-main span { opacity: 0; transform: translateX(-8px); transition-duration: 0s; transition-delay: 0s; }

/* Het programmabeeld opent bij het laden; daarna wisselt het met dezelfde wipe */
.motion [data-reveal="stage"] .stage-frame { clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%, -12% 100%, 0 0); transition: clip-path 1.1s var(--ease-cut) 250ms; }
.motion [data-reveal="stage"].in .stage-frame { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.motion [data-reveal="stage"] .sources button { opacity: 0; transform: translateX(-16px); transition: opacity 0.5s ease calc(900ms + var(--i, 0) * 60ms), transform 0.7s var(--ease-out) calc(900ms + var(--i, 0) * 60ms); }
.motion [data-reveal="stage"].in .sources button { opacity: 1; transform: none; }
.motion [data-reveal="stage"] .stage-bar { opacity: 0; transition: opacity 0.6s ease 1300ms; }
.motion [data-reveal="stage"].in .stage-bar { opacity: 1; }
@media (max-width: 959px) {
  .motion [data-reveal="stage"].in .stage-frame { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 0); }
}
.motion .slide.wipe { animation: slide-wipe 0.85s var(--ease-cut) both; }
@keyframes slide-wipe { from { clip-path: polygon(0 0, 0 0, -14% 100%, -14% 100%); } to { clip-path: polygon(0 0, 114% 0, 100% 100%, -14% 100%); } }
.motion .slide.is-on .slide-img { animation: push-in 9s linear both; }
@keyframes push-in { from { scale: 1.08; } to { scale: 1; } }
.motion .stage-sweep.go { animation: sweep 0.85s var(--ease-cut) both; }
@keyframes sweep { from { transform: translateX(-60px) skewX(-18deg); } to { transform: translateX(calc(var(--sweep-w, 900px) + 60px)) skewX(-18deg); } }
/* De herhaling: dezelfde wissel nog een keer, vertraagd */
.motion .stage.replay .slide.wipe, .motion .stage.replay .stage-sweep.go { animation-duration: 2.6s; animation-timing-function: cubic-bezier(0.45, 0, 0.35, 1); }
.motion .stage.replay .stage-tag { animation: tag-in 0.35s var(--ease-cut) both; }
@keyframes tag-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.motion [data-reveal="chart"] .col i { transform: scaleY(0); transition: transform 0.8s var(--ease-out) calc(var(--n, 0) * 35ms), opacity var(--t-fast); }
.motion [data-reveal="chart"].in .col i { transform: none; }

.motion .site-head.open .nav a { animation: nav-in 0.5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes nav-in { from { opacity: 0; transform: translateX(-24px); } }

/* De stinger: twee schuine vlakken met het beeldmerk. Veegt de pagina open bij binnenkomst en dicht
   bij vertrek, zoals de overgang naar een herhaling in een uitzending. */
.stinger { position: fixed; inset: 0; z-index: var(--z-stinger); overflow: hidden; pointer-events: none; visibility: hidden; }
.stinger i { position: absolute; top: -10%; bottom: -10%; left: -30%; width: 160%; transform: translateX(-112%) skewX(-18deg); }
.stinger .st-a { background: var(--signal); }
.stinger .st-b { background: var(--blue); }
.stinger svg { position: absolute; left: 50%; top: 50%; width: clamp(96px, 14vw, 176px); height: auto; translate: -50% -50%; color: var(--white); opacity: 0; }
.motion.st-in .stinger, .motion.st-leave .stinger { visibility: visible; }
.motion.st-in .stinger .st-b { animation: st-off 0.6s var(--ease-cut) 0.08s both; }
.motion.st-in .stinger .st-a { animation: st-off 0.6s var(--ease-cut) 0.17s both; }
.motion.st-in .stinger svg { animation: st-mark-out 0.3s ease 0.05s both; }
.motion.st-leave .stinger .st-a { animation: st-on 0.3s var(--ease-cut) both; }
.motion.st-leave .stinger .st-b { animation: st-on 0.3s var(--ease-cut) 0.06s both; }
.motion.st-leave .stinger svg { animation: st-mark-in 0.22s ease 0.14s both; }
@keyframes st-on { from { transform: translateX(-112%) skewX(-18deg); } to { transform: translateX(0) skewX(-18deg); } }
@keyframes st-off { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(112%) skewX(-18deg); } }
@keyframes st-mark-in { from { opacity: 0; scale: 0.86; } to { opacity: 1; scale: 1; } }
@keyframes st-mark-out { from { opacity: 1; } to { opacity: 0; translate: -30% -50%; } }

@media (prefers-reduced-motion: no-preference) {
  html.motion { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
