/* =========================================================================
   Topstukken — design system
   Ivoor papier, witte panelen, Faustina voor koppen en leestekst, Figtree voor de interface,
   teal als enige echte accentkleur. Zie DESIGN-NOTES.md voor alle componenten.
   ========================================================================= */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Faustina";
  src: url("../fonts/faustina-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Faustina";
  src: url("../fonts/faustina-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* kleur */
  --bg: #f5f5f1;            /* ivoor papier */
  --bg-deep: #ecece5;       /* iets diepere ivoortint voor banden */
  --surface: #ffffff;       /* panelen en kaarten */
  --ink: #1a1d1f;           /* tekst */
  --ink-strong: #111111;    /* koppen */
  --muted: #555555;         /* secundaire tekst (6,8:1 op ivoor) */
  --subtle: #6b6b66;        /* kleine labels (4,9:1 op ivoor) */
  --line: #e0e1db;          /* haarlijnen */
  --line-strong: #c9cbc4;   /* randen van invoervelden, golfvorm */

  --teal: #2ea6be;          /* accent: onderstrepingen, golfvorm, details */
  --teal-500: #2596ad;      /* play-knop (3,5:1 op wit) */
  --teal-600: #1b7f94;      /* knoppen met witte tekst (4,7:1) */
  --teal-700: #146577;      /* hover */
  --teal-ink: #167286;      /* linktekst (5,5:1 op wit) */
  --teal-wash: #e6f3f6;     /* zachte achtergrond */
  --blue: #6192c9;          /* spaarzaam: tweede linkkleur */
  --ochre: #e8b04a;         /* "goed doen"-accent, alleen decoratief */
  --ochre-ink: #8a5d0c;     /* ochre als tekst (5,2:1) */
  --ochre-wash: #fbf1dc;

  --ok: #2f7d4f;  --ok-wash: #e8f3ec;
  --warn: #8a5d0c; --warn-wash: #fbf1dc;
  --err: #b3261e; --err-wash: #fbeceb;

  --dark: #1a1d1f;          /* footer en toplijn */
  --dark-2: #23272a;
  --on-dark: #f2f2ee;
  --on-dark-muted: #b9bcb6;
  --line-dark: #34393c;

  /* typografie */
  --font-serif: "Faustina", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.5rem, 1.55rem + 3.6vw, 4.5rem);
  --fs-h1: clamp(2rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  --fs-h3: clamp(1.3rem, 1.15rem + .55vw, 1.6rem);
  --fs-h4: 1.2rem;
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-read: 1.1875rem;     /* serif leestekst (excerpt, prose) */
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  --lh-tight: 1.08;
  --lh-head: 1.15;
  --lh-body: 1.6;
  --lh-read: 1.62;

  /* ruimte */
  --s-1: .25rem;  --s-2: .5rem;  --s-3: .75rem;  --s-4: 1rem;   --s-5: 1.5rem;
  --s-6: 2rem;    --s-7: 3rem;   --s-8: 4rem;    --s-9: 6rem;   --s-10: 8rem;
  --section: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --gutter: 16px;
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --measure: 68ch;

  /* vorm */
  --r-xs: 2px; --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(17 17 17 / .04), 0 2px 10px -2px rgb(17 17 17 / .06);
  --shadow-2: 0 14px 34px -16px rgb(17 17 17 / .28);
  --shadow-art: 0 2px 4px rgb(17 17 17 / .08), 0 24px 48px -22px rgb(17 17 17 / .5);
  --focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--teal-ink);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}
@media (min-width: 720px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

/* ---------- reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--lh-head);
  letter-spacing: -.012em;
  color: var(--ink-strong);
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: break-word; /* vangnet: een woord dat echt niet past, breekt liever dan dat het buiten beeld loopt */
}
/* Lange Nederlandse samenstellingen (Beeldverantwoording, Toegankelijkheid) mogen in grote koppen afbreken */
h1, h2 { hyphens: auto; hyphenate-limit-chars: 10 4 4; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { text-wrap: pretty; hyphens: auto; hyphenate-limit-chars: 12 5 5; }
.hero__work, .ep-card__work, .ep-card__meta, .fund-card__text, .rg-tool p, figcaption, .field__hint, .xs, .small, .player__note, .facts-row, .newsletter__note { hyphens: manual; }
strong, b { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }
abbr[title] { text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: rgb(46 166 190 / .28); color: var(--ink-strong); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-xs); }
input, textarea { caret-color: var(--teal-ink); }
html { scrollbar-color: var(--line-strong) var(--bg); }

a { color: var(--teal-ink); text-decoration-line: underline; text-decoration-color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: .22em; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--teal-700); text-decoration-color: currentColor; }

.i { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- toegankelijkheid ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--surface); color: var(--ink); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); box-shadow: var(--shadow-2); font-weight: 600; }
.skip:focus { top: var(--s-3); }
main:focus { outline: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--maxw-narrow) + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(1280px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--white { background: var(--surface); }
.section--deep { background: var(--bg-deep); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-7); }
.section__head > div { max-width: 42rem; }
.section__head p { color: var(--muted); margin-top: var(--s-4); font-size: var(--fs-lead); font-family: var(--font-serif); line-height: 1.5; }
.section__foot { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; align-items: center; }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.grid-2 { display: grid; gap: var(--s-6); }
.grid-3 { display: grid; gap: var(--s-6); }
.grid-4 { display: grid; gap: var(--s-5); }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
.serif { font-family: var(--font-serif); }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.pb-section { padding-bottom: var(--section); }
.mb-0 { margin-bottom: 0 !important; } .mb-4 { margin-bottom: var(--s-4); } .mb-6 { margin-bottom: var(--s-6); }

/* koppen met teal onderstreping (zoals een liniaal onder een titel) */
.h-accent { position: relative; padding-bottom: .42em; }
.h-accent::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--teal); border-radius: 2px; }
.center .h-accent::after, .h-accent.is-center::after { left: 50%; transform: translateX(-50%); }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.025em; }
.lead { font-family: var(--font-serif); font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); }
.read { font-family: var(--font-serif); font-size: var(--fs-read); line-height: var(--lh-read); }

/* ---------- knoppen ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 650; line-height: 1.15; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s var(--ease-out);
}
.btn:hover { --btn-bd: var(--ink); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 1.15em; height: 1.15em; }
.btn--primary { --btn-bg: var(--teal-600); --btn-fg: #fff; --btn-bd: var(--teal-600); }
.btn--primary:hover { --btn-bg: var(--teal-700); --btn-bd: var(--teal-700); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: #000; --btn-bd: #000; }
.btn--ghost { --btn-bg: transparent; --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--line-dark); }
.btn--light:hover { --btn-bd: var(--on-dark); --btn-fg: #fff; }
.btn--danger { --btn-bg: var(--surface); --btn-fg: var(--err); --btn-bd: #e3b4b0; }
.btn--danger:hover { --btn-bg: var(--err-wash); --btn-bd: var(--err); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: var(--fs-small); }
.btn--lg { min-height: 54px; padding: .8em 1.7em; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 1.1em; height: 1.1em; border: 2px solid var(--btn-fg); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* tekstlink met pijl */
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-family: var(--font-sans); padding-block: 8px; margin-block: -8px; } /* groter tikvlak, zelfde opmaak */
.more .i { width: 1em; height: 1em; transition: transform .2s var(--ease-out); }
.more:hover .i { transform: translateX(3px); }
.link-quiet { color: inherit; text-decoration-color: var(--line-strong); }
.link-quiet:hover { color: var(--teal-ink); text-decoration-color: var(--teal); }

/* ---------- toplijn met waarschuwingszin ---------- */
.strip { background: var(--dark); color: var(--on-dark); font-size: var(--fs-xs); letter-spacing: .01em; }
.strip__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 34px; padding-block: 6px; }
.strip__slogan { font-weight: 600; }
.strip__slogan .i { display: inline-block; vertical-align: -3px; width: 15px; height: 15px; margin-right: 6px; color: var(--teal); }
.strip a { color: var(--on-dark); text-decoration-color: var(--teal); white-space: nowrap; }
.strip a:hover { color: #fff; }
@media (max-width: 520px) { .strip__link { display: none; } .strip__in { justify-content: center; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(245 245 241 / .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgb(17 17 17 / .35); }
.site-header__in { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-strong); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink-strong); }
.brand__mark { width: 42px; height: 42px; flex: none; border-radius: 7px; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .08); }
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-weight: 650; font-size: 1.7rem; letter-spacing: -.02em; }
.brand__line { font-size: .78rem; color: var(--subtle); margin-top: 5px; letter-spacing: .02em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.nav__list { display: flex; gap: 4px; }
.nav__list a { display: block; padding: .55em .7em; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 1rem; border-radius: var(--r-sm); position: relative; }
.nav__list a::after { content: ""; position: absolute; left: .7em; right: .7em; bottom: .3em; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--ink-strong); }
.nav__actions { display: flex; align-items: center; gap: var(--s-3); }
.nav__login { display: inline-flex; align-items: center; gap: .4em; padding: .55em .5em; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__login:hover { color: var(--teal-ink); }
.site-header__cta { display: none; }
.burger { display: none; width: 46px; height: 46px; margin-right: -8px; border: 0; background: none; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.burger .i { width: 26px; height: 26px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1079px) {
  :root { --header-h: 66px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.5rem; }
  .burger { display: inline-flex; }
  .site-header__cta { display: inline-flex; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 39;
    max-height: calc(100dvh - var(--header-h) - 34px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(17 17 17 / .35);
    padding: var(--s-2) var(--gutter) var(--s-6);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease-out); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: .95em 0; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: var(--s-3); margin-top: var(--s-5); }
  .nav__login { justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); min-height: 48px; background: var(--surface); }
  .nav__actions .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__mark svg { width: 22px; height: 22px; }
  .brand__name { font-size: 1.32rem; }
  .brand__line { font-size: .7rem; }
  .site-header__in { gap: var(--s-3); }
  .site-header__cta { padding-inline: .9em; }
}
@media (max-width: 359px) {
  .site-header__cta { display: none; }
  .burger { margin-left: auto; }
}

/* ---------- hero (nieuwste aflevering) ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section); }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero__title { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.028em; max-width: 14ch; }
.hero__ep { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h3); color: var(--ink-strong); margin-top: var(--s-4); display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .6em; }
.hero__ep span { font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-small); color: var(--subtle); }
.hero__work { margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-small); display: flex; align-items: center; gap: .5em; }
.hero__work .i { color: var(--teal-ink); width: 1.1em; height: 1.1em; }
.hero__excerpt { margin-top: var(--s-5); max-width: 36rem; font-family: var(--font-serif); font-size: var(--fs-read); line-height: var(--lh-read); color: var(--ink); }
.hero__more { margin-top: var(--s-4); }
.hero__player { margin-top: var(--s-6); max-width: 40rem; }
.hero__art { position: relative; justify-self: center; width: 100%; max-width: min(440px, 82vw); }
.hero__art img { width: 100%; box-shadow: var(--shadow-art); background: var(--line); }
.hero__art figcaption { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--subtle); line-height: 1.45; }
.hero__art figcaption em { font-style: italic; color: var(--muted); font-family: var(--font-serif); font-size: .95rem; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(3rem, 5vw, 5.5rem); }
  .hero__art { justify-self: end; }
}

/* ---------- audio player ---------- */
.player {
  --wave-h: 44px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-4); row-gap: var(--s-3);
  align-items: center;
  padding: var(--s-4) var(--s-4) var(--s-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xs);
}
.player__play {
  grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--teal-500); color: #fff; box-shadow: 0 6px 14px -8px rgb(23 120 140 / .9);
  transition: background-color .18s, transform .2s var(--ease-out);
}
.player__play:hover { background: var(--teal-600); transform: scale(1.04); }
.player__play .i { width: 26px; height: 26px; }
.player__play .i-pause { display: none; }
.player.is-playing .player__play .i-play { display: none; }
.player.is-playing .player__play .i-pause { display: block; }
.player__play .i-play { margin-left: 3px; }
.player.is-loading .player__play { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(46 166 190 / .18); } }
.player__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); min-width: 0; }
.player__title { font-size: var(--fs-small); font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-width: 0; }
.player__badge { flex: none; font-size: .72rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-wash); padding: .2em .55em; border-radius: var(--r-xs); }
.player__controls { display: flex; align-items: center; gap: var(--s-1); }
.player__skip { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); border-radius: 50%; transition: background-color .15s, color .15s; }
.player__skip:hover { background: var(--teal-wash); color: var(--teal-ink); }
.player__skip .i { width: 24px; height: 24px; stroke-width: 1.6; }
.player__time { margin-left: auto; font-size: var(--fs-xs); color: var(--subtle); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.player__wave {
  grid-column: 1 / -1; position: relative; height: var(--wave-h); cursor: pointer; touch-action: none;
  border-bottom: 2px solid var(--line); --p: 0%;
}
.player__wave::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: var(--p); background: var(--teal); }
.player__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.player__bars span { flex: 1 1 0; min-width: 1px; background: var(--line-strong); border-radius: 1px 1px 0 0; }
.player__bars--played { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.player__bars--played span { background: var(--teal); }
.player__wave:hover .player__bars:not(.player__bars--played) span { background: #bfc2ba; }
.player__wave:focus-visible { box-shadow: var(--focus); }
.player__native { grid-column: 1 / -1; width: 100%; }
.player.is-enhanced .player__native { display: none; }
.player:not(.is-enhanced) .player__controls, .player:not(.is-enhanced) .player__wave, .player:not(.is-enhanced) .player__play { display: none; }
.player__note { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--subtle); margin-top: -2px; }
.player--compact { --wave-h: 34px; padding: var(--s-3); column-gap: var(--s-3); }
.player--compact .player__play { width: 46px; height: 46px; }
.player--compact .player__play .i { width: 22px; height: 22px; }

/* ---------- aflevering-kaart (afbeelding links, paneel rechts) ---------- */
.ep-list { display: grid; gap: var(--s-6); }
.ep-card { display: grid; background: var(--surface); box-shadow: var(--shadow-1); }
.ep-card__media { position: relative; display: block; overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.ep-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.ep-card:hover .ep-card__media img { transform: scale(1.025); }
.ep-card__num { position: absolute; left: 0; top: 0; background: var(--surface); color: var(--ink-strong); font-family: var(--font-serif); font-weight: 600; font-size: .95rem; padding: .35em .75em; }
.ep-card__body { display: flex; flex-direction: column; padding: var(--s-5) var(--s-5) var(--s-5); min-width: 0; }
.ep-card__title { font-size: var(--fs-h3); }
.ep-card__title a { color: inherit; text-decoration: none; }
.ep-card__title a:hover { color: var(--teal-ink); }
.ep-card__meta { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--subtle); font-weight: 550; letter-spacing: .01em; }
.ep-card__work { margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--muted); display: flex; gap: .45em; align-items: flex-start; }
.ep-card__work .i { width: 1.15em; height: 1.15em; color: var(--teal-ink); margin-top: .1em; }
.ep-card__excerpt { margin-top: var(--s-3); font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.ep-card__more { margin-top: var(--s-3); font-size: var(--fs-small); }
.ep-card__player { margin-top: auto; padding-top: var(--s-5); }
@media (min-width: 760px) {
  .ep-card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .ep-card__media { aspect-ratio: auto; min-height: 100%; }
  .ep-card__media img { position: absolute; inset: 0; }
  .ep-card__body { padding: var(--s-6) clamp(1.5rem, 3vw, 2.75rem) var(--s-6); }
}
/* op een witte band krijgen kaarten een haarlijn in plaats van schaduw */
.section--white .ep-card, .section--white .fund-card, .section--white .ep-mini, .section--white .help-org, .section--white .cta-panel { box-shadow: none; outline: 1px solid var(--line); outline-offset: -1px; }
.section--white .fund-card__body, .section--white .ep-card__body { background: var(--surface); }
/* kleine variant (raster) */
.ep-mini { display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; }
.ep-mini__media { aspect-ratio: 1; overflow: hidden; background: var(--line); }
.ep-mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.ep-mini:hover .ep-mini__media img { transform: scale(1.03); }
.ep-mini__body { padding: var(--s-4); }
.ep-mini__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: var(--ink-strong); }
.ep-mini__meta { font-size: var(--fs-xs); color: var(--subtle); margin-top: var(--s-2); }

/* ---------- missie-citaat met ronde afbeelding ---------- */
.mission { display: grid; gap: var(--s-6); align-items: center; justify-items: center; text-align: center; }
.mission__img { width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--dark); }
.mission__img img { width: 100%; height: 100%; object-fit: cover; }
.mission__quote { max-width: 40rem; }
.mission__quote p { hyphens: manual; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.5; color: var(--ink); }
.mission__quote p::before { content: "“"; }
.mission__quote p::after { content: "”"; }
.mission__by { display: inline-block; margin-top: var(--s-5); font-family: var(--font-serif); font-weight: 600; font-size: 1.125rem; color: var(--ink-strong); padding-bottom: .4em; position: relative; font-style: normal; }
.mission__by::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--teal); border-radius: 2px; }
@media (min-width: 820px) {
  .mission { grid-template-columns: auto minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); text-align: left; justify-items: start; }
  .mission__img { width: 280px; }
}

/* ---------- luisteren / abonneren ---------- */
.listen { text-align: center; padding-bottom: var(--s-7); border-bottom: 1px solid var(--line); }
.listen h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-weight: 500; }
.listen__row { margin-top: var(--s-5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.listen__note { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--subtle); }

/* ---------- stappen (zo werkt de loterij) ---------- */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { position: relative; padding: var(--s-6) 0 var(--s-6) 4.5rem; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: var(--s-5); font-family: var(--font-serif); font-weight: 500; font-size: 3.25rem; line-height: 1; color: var(--teal); }
.step h3 { font-size: 1.4rem; }
.step p { margin-top: var(--s-2); color: var(--muted); max-width: 34ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .step { padding: var(--s-2) var(--s-6) var(--s-2) 0; border-bottom: 0; }
  .step + .step { padding-left: var(--s-6); border-left: 1px solid var(--line); }
  .step::before { position: static; display: block; margin-bottom: var(--s-4); }
}
.facts-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); color: var(--muted); }
.facts-row li { display: inline-flex; align-items: center; gap: .45em; }
.facts-row .i { color: var(--teal-ink); width: 1.1em; height: 1.1em; }

/* opvallend paneel voor een oproep (geen kaart-in-kaart) */
.cta-panel { display: grid; gap: var(--s-5); align-items: center; background: var(--surface); padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); box-shadow: var(--shadow-1); }
.cta-panel h3 { font-size: var(--fs-h3); }
@media (min-width: 900px) { .cta-panel { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 599px) { .cta-panel .btn-row .btn { flex: 1 1 100%; } }

/* ---------- fondsen ---------- */
.fund-card { display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-1); color: inherit; text-decoration: none; overflow: hidden; }
.fund-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.fund-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
a.fund-card:hover .fund-card__media img { transform: scale(1.03); }
.fund-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.fund-card__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--ink-strong); }
.fund-card__text { color: var(--muted); font-size: var(--fs-small); }
.fund-card__more { margin-top: auto; padding-top: var(--s-3); font-weight: 600; font-size: var(--fs-small); color: var(--teal-ink); display: inline-flex; align-items: center; gap: .4em; }
.fund-card__more .i { width: 1em; height: 1em; }
.share-bar { display: flex; height: 14px; border-radius: var(--r-pill); overflow: hidden; background: var(--line); }
.share-bar > span { display: block; height: 100%; }
.share-bar__charity { background: var(--teal); }
.share-bar__prizes { background: var(--ochre); }
.share-bar__costs { background: var(--line-strong); }
.share-legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-3); font-size: var(--fs-small); }
.share-legend li { display: inline-flex; align-items: center; gap: .5em; }
.share-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------- prijzentabel en tabellen ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--surface); box-shadow: var(--shadow-1); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.table caption { text-align: left; padding: var(--s-4) var(--s-5) 0; font-weight: 600; caption-side: top; }
.table th, .table td { padding: .85em var(--s-5); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); background: var(--surface); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table tbody th { font-weight: 600; }
.table tfoot td { font-weight: 650; border-top: 2px solid var(--line); border-bottom: 0; }
.prize-table .prize-amount { font-family: var(--font-serif); font-weight: 600; font-size: 1.125rem; color: var(--ink-strong); }
.dl-table { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s-2) var(--s-5); font-size: var(--fs-small); }
.dl-table dt { color: var(--subtle); }
.dl-table dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- placeholders van de exploitant (hooks operator/licence; overal op de site) ---------- */
.ph {
  font-family: var(--font-sans);
  font-size: .92em;
  background: var(--ochre-wash);
  color: var(--ochre-ink);
  border-bottom: 1px dashed var(--ochre);
  padding: 0 .2em;
  border-radius: var(--r-xs);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.site-footer .ph { background: rgb(232 176 74 / .16); color: #f3d9a4; border-bottom-color: rgb(243 217 164 / .6); }

/* ---------- wie organiseert de loterij (partial organiser) ---------- */
.org-block { display: grid; gap: var(--s-6); align-items: start; }
.org-block__text > * + * { margin-top: var(--s-4); }
.org-block__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.org-block__facts { background: var(--surface); box-shadow: var(--shadow-1); border-radius: var(--r-xs); padding: var(--s-5) var(--s-6); align-self: stretch; align-content: start; }
.section--white .org-block__facts { box-shadow: none; border: 1px solid var(--line); }
.org-block__facts dd { overflow-wrap: anywhere; }
@media (min-width: 860px) { .org-block { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); } }
@media (max-width: 420px) { .org-block__facts { grid-template-columns: minmax(0, 1fr); gap: 0; } .org-block__facts dd { margin-bottom: var(--s-3); } }

.org-note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }

/* ---------- verantwoord spelen ---------- */
.rg-block { display: grid; gap: var(--s-7); }
.rg-tools { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.rg-tool { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.rg-tool__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-wash); color: var(--teal-ink); }
.rg-tool h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 650; }
.rg-tool p { color: var(--muted); font-size: var(--fs-small); margin-top: 2px; }
.help-box { background: var(--dark); color: var(--on-dark); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.help-box h3 { color: #fff; font-size: var(--fs-h3); }
.help-box p { color: var(--on-dark-muted); margin-top: var(--s-3); }
.help-box__phone { display: inline-flex; align-items: center; gap: .5em; margin-top: var(--s-5); font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: #fff; text-decoration: none; }
.help-box__phone .i { color: var(--teal); width: .9em; height: .9em; }
.help-box__phone:hover { color: var(--teal); }
.help-box a:not(.help-box__phone):not(.btn) { color: var(--on-dark); }
.help-box .slogan { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); color: #fff; font-weight: 650; }
@media (min-width: 900px) { .rg-block { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(3rem, 6vw, 5rem); } }
.slogan { font-weight: 650; letter-spacing: .005em; }
.slogan--lg { font-family: var(--font-serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; }
.help-orgs { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .help-orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.help-org { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-4); align-items: start; background: var(--surface); padding: var(--s-5); box-shadow: var(--shadow-1); }
.help-org__logo { height: 64px; display: grid; place-items: center; background: var(--dark); border-radius: var(--r-sm); padding: 10px; }
.help-org__logo img { max-height: 44px; width: auto; }
.help-org__logo--plate { background: #fff; border: 1px solid var(--line); }
.help-org__logo--text { font-family: var(--font-sans); font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: .02em; }
.help-org h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 650; }
.help-org p { font-size: var(--fs-small); color: var(--muted); margin-top: var(--s-1); }
.help-org__contact { margin-top: var(--s-2); font-size: var(--fs-small); display: flex; flex-wrap: wrap; gap: .25em 1em; }

/* ---------- nieuwsbrief ---------- */
.newsletter { display: grid; gap: var(--s-6); align-items: center; }
.newsletter h2 { max-width: 18ch; }
.newsletter__form { display: grid; gap: var(--s-3); }
.newsletter__row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.newsletter__row .input { flex: 1 1 220px; min-width: 0; }
.newsletter__note { font-size: var(--fs-xs); color: var(--subtle); }
@media (min-width: 900px) { .newsletter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); } }

/* ---------- formulieren ---------- */
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .label, fieldset.field > legend { font-weight: 600; font-size: var(--fs-small); color: var(--ink); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field__hint { font-size: var(--fs-xs); color: var(--subtle); }
.field__error { font-size: var(--fs-xs); font-weight: 600; color: var(--err); display: flex; gap: .35em; align-items: flex-start; }
.field__error:empty { display: none; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: .7em .85em;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 1rem; line-height: 1.3;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: #75756f; }
.input:hover, .select:hover, .textarea:hover { border-color: #a9aca3; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgb(46 166 190 / .25); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; padding-right: 2.4em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7em center; background-size: 18px; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea, .input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--err); }
.field.is-invalid .input:focus, .input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgb(179 38 30 / .18); }
.birthdate { display: grid; grid-template-columns: minmax(0, 4.5rem) minmax(0, 1fr) minmax(0, 6rem); gap: var(--s-2); }
.birthdate label { display: block; font-size: var(--fs-xs); color: var(--subtle); margin-bottom: 4px; font-weight: 500; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--subtle); border-radius: var(--r-sm); }
.pw-toggle:hover { color: var(--ink); }
.pw-toggle[aria-pressed="true"] { color: var(--teal-ink); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3); align-items: start; font-size: var(--fs-small); line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal-600); cursor: pointer; }
.radio-cards { display: grid; gap: var(--s-2); }
.radio-card { position: relative; display: flex; gap: var(--s-3); align-items: center; padding: var(--s-4); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.radio-card:hover { border-color: #a9aca3; }
.radio-card input { accent-color: var(--teal-600); width: 20px; height: 20px; margin: 0; flex: none; }
.radio-card:has(input:checked) { border-color: var(--teal-600); box-shadow: 0 0 0 1px var(--teal-600); }
.radio-card:has(input:focus-visible) { box-shadow: var(--focus); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.form-foot { font-size: var(--fs-small); color: var(--muted); }

/* ---------- meldingen (eerlijke statussen) ---------- */
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: var(--s-4) var(--s-5); border: 1px solid; border-radius: var(--r-sm); font-size: var(--fs-small); line-height: 1.55; }
.notice > .i { margin-top: 1px; }
.notice strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.notice--info { background: var(--teal-wash); border-color: #bfe0e8; color: #0f4f5d; }
.notice--info > .i { color: var(--teal-ink); }
.notice--success { background: var(--ok-wash); border-color: #bcdcc8; color: #1d4d31; }
.notice--success > .i { color: var(--ok); }
.notice--warn { background: var(--warn-wash); border-color: #ecd3a1; color: #5e3f07; }
.notice--warn > .i { color: var(--warn); }
.notice--error { background: var(--err-wash); border-color: #efc4c0; color: #7c1a14; }
.notice--error > .i { color: var(--err); }
.notice a { color: inherit; text-decoration-color: currentColor; }
.form-status:empty { display: none; }
.status-pill { display: inline-flex; align-items: center; gap: .4em; padding: .2em .7em; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 650; background: var(--bg-deep); color: var(--muted); white-space: nowrap; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill--pending { background: var(--warn-wash); color: var(--warn); }
.status-pill--active { background: var(--ok-wash); color: var(--ok); }
.status-pill--cancelled { background: var(--bg-deep); color: var(--subtle); }

/* lege staat */
.empty { text-align: center; padding: var(--s-8) var(--s-5); background: var(--surface); box-shadow: var(--shadow-1); }
.empty__icon { width: 56px; height: 56px; margin: 0 auto var(--s-4); border-radius: 50%; display: grid; place-items: center; background: var(--teal-wash); color: var(--teal-ink); }
.empty h2, .empty h3 { font-size: var(--fs-h3); }
.empty p { color: var(--muted); max-width: 44ch; margin: var(--s-3) auto 0; }
.empty .btn-row { justify-content: center; margin-top: var(--s-5); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; cursor: pointer; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--ink-strong); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { flex: none; color: var(--teal-ink); transition: transform .25s var(--ease-out); }
.faq__item[open] summary .i { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--teal-ink); }
.faq__answer { padding: 0 0 var(--s-5); color: var(--ink); max-width: var(--measure); }
.faq__answer > * + * { margin-top: var(--s-3); }
.faq-group + .faq-group { margin-top: var(--s-7); }
.faq-group > h2 { font-size: var(--fs-h3); margin-bottom: var(--s-4); }

/* ---------- chips (filter) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: .45em 1em; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: var(--fs-small); font-weight: 550; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__count { font-size: var(--fs-xs); opacity: .7; }
.filter-bar { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.filter-bar__label { font-size: var(--fs-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--subtle); }
.search { position: relative; }
.search .i { position: absolute; left: .85em; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.search .input { padding-left: 2.6em; }

/* ---------- paginakop en juridische documenten ---------- */
.phead { padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem) clamp(2rem, 1.25rem + 2.5vw, 3.5rem); }
.phead h1 { max-width: 20ch; }
.phead__lead { margin-top: var(--s-5); max-width: 42rem; font-family: var(--font-serif); font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); }
.phead__meta { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--subtle); }
.crumbs { display: flex; flex-wrap: wrap; gap: .3em .5em; font-size: var(--fs-xs); color: var(--subtle); margin-bottom: var(--s-5); }
.crumbs a { color: var(--subtle); text-decoration-color: var(--line-strong); padding-block: 12px; } /* inline: groter tikvlak zonder verschuiving */
.crumbs a:hover { color: var(--teal-ink); }
.crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--line-strong); }

.doc { display: grid; gap: var(--s-7); padding-bottom: var(--section); }
@media (min-width: 1000px) { .doc { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-8); align-items: start; } }
.toc { font-size: var(--fs-small); }
.toc__title { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); margin-bottom: var(--s-3); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .4em 0 .4em var(--s-4); margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-current, .toc a[aria-current="true"] { color: var(--ink-strong); border-left-color: var(--teal); font-weight: 600; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + var(--s-5)); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; } }
@media (max-width: 999px) { .toc { background: var(--surface); padding: var(--s-5); box-shadow: var(--shadow-1); } }

.prose { max-width: var(--measure); font-family: var(--font-serif); font-size: var(--fs-read); line-height: var(--lh-read); color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--teal-ink); }
.prose blockquote { padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 1px solid var(--teal); font-style: italic; color: var(--muted); }
.prose .pull { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); line-height: 1.4; font-style: italic; color: var(--ink-strong); padding: var(--s-5) 0; border-block: 1px solid var(--line); margin-block: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: var(--fs-small); background: var(--surface); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .7em .9em; text-align: left; vertical-align: top; }
.prose th { font-weight: 650; }
.prose .notice { font-family: var(--font-sans); }
.prose--sans { font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); }
.prose--legal { font-family: var(--font-sans); font-size: 1rem; line-height: 1.65; }
.prose--legal h2 { font-family: var(--font-serif); }
.prose--legal h2 .num { color: var(--teal-ink); margin-right: .35em; }
.doc-meta { font-size: var(--fs-xs); color: var(--subtle); }

/* ---------- account ---------- */
.acc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); padding-bottom: var(--section); }
@media (min-width: 960px) { .acc { grid-template-columns: 250px minmax(0, 1fr); gap: var(--s-7); align-items: start; } }
.acc__nav { background: var(--surface); box-shadow: var(--shadow-1); padding: var(--s-3); }
@media (min-width: 960px) { .acc__nav { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.acc__user { padding: var(--s-3) var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); margin-bottom: var(--s-2); }
.acc__user strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; }
.acc__user span { font-size: var(--fs-xs); color: var(--subtle); word-break: break-all; }
.acc__menu { display: grid; gap: 2px; }
.acc__menu a, .acc__menu button { display: flex; align-items: center; gap: var(--s-3); width: 100%; padding: .65em var(--s-3); border: 0; background: none; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: var(--fs-small); font-weight: 550; text-align: left; }
.acc__menu a:hover, .acc__menu button:hover { background: var(--bg); }
.acc__menu [aria-current="page"], .acc__menu [aria-selected="true"], .acc__menu .is-active { background: var(--teal-wash); color: var(--teal-ink); font-weight: 650; }
.acc__menu .i { width: 1.15em; height: 1.15em; color: var(--subtle); }
.acc__menu [aria-current="page"] .i, .acc__menu [aria-selected="true"] .i { color: var(--teal-ink); }
@media (max-width: 959px) {
  .acc__menu { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .acc__menu::-webkit-scrollbar { display: none; }
  .acc__user { display: none; }
}
.acc__main { display: grid; gap: var(--s-5); min-width: 0; }
.panel { background: var(--surface); box-shadow: var(--shadow-1); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); min-width: 0; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-5); }
.panel__head h2 { font-size: var(--fs-h3); }
.panel__head p { color: var(--muted); font-size: var(--fs-small); width: 100%; }
.panel--danger { box-shadow: var(--shadow-1), inset 0 0 0 1px #efc4c0; }
.kv { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .kv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kv__item { padding: var(--s-4); background: var(--bg); border-radius: var(--r-sm); }
.kv__label { font-size: var(--fs-xs); color: var(--subtle); }
.kv__value { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--ink-strong); margin-top: 2px; font-variant-numeric: tabular-nums; }
.kv__sub { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.meter { height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; margin-top: var(--s-2); }
.meter > span { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.order-list { display: grid; gap: 0; }
.order { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.order:first-child { padding-top: 0; }
.order:last-child { border-bottom: 0; }
.order__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); align-items: center; }
.order__id { font-weight: 650; font-variant-numeric: tabular-nums; }
.order__meta { font-size: var(--fs-small); color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--line) 0 40%, #ecede8 50%, var(--line) 60% 100%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--r-sm); min-height: 1em; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* auth-pagina's (inloggen/registreren) */
.auth { display: grid; gap: var(--s-7); padding-bottom: var(--section); align-items: start; }
.auth__card { background: var(--surface); box-shadow: var(--shadow-1); padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); }
.auth__aside { color: var(--muted); }
@media (min-width: 960px) { .auth { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-8); } }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: var(--fs-small); margin-top: 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--teal); }
.site-footer__top { display: grid; gap: var(--s-7); padding-block: var(--s-8) var(--s-7); border-bottom: 1px solid var(--line-dark); }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .brand__line { color: var(--on-dark-muted); }
.site-footer__about { margin-top: var(--s-4); max-width: 32ch; line-height: 1.55; }
.site-footer__rss { display: inline-flex; align-items: center; gap: .45em; margin-top: calc(var(--s-4) - 8px); font-weight: 600; padding-block: 8px; margin-bottom: -8px; }
.site-footer__rss .i { color: var(--teal); width: 1.1em; height: 1.1em; }
.fcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.fcol h2 { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.fcol ul { display: grid; gap: .55em; }
@media (min-width: 720px) { .fcols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }

.rg-band { display: grid; gap: var(--s-6); padding-block: var(--s-7); border-bottom: 1px solid var(--line-dark); }
.rg-band__title { font-size: var(--fs-h3); color: #fff; }
.rg-band__text { margin-top: var(--s-3); max-width: 52ch; line-height: 1.6; }
.rg-band__text a { text-decoration: underline; text-decoration-color: var(--teal); }
.rg-band .slogan--lg { color: #fff; margin-top: var(--s-5); line-height: 1.25; }
@media (min-width: 520px) { .rg-band .slogan--lg { white-space: nowrap; } }
.rg-logos { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; }
.rg-logo { display: grid; justify-items: start; gap: 6px; }
.rg-logo img { height: 46px; width: auto; }
.rg-logo__plate { background: #fff; padding: 8px 12px; border-radius: var(--r-xs); display: block; }
.rg-logo__plate img { height: 52px; }
.rg-logo__cruks { display: grid; line-height: 1.05; }
.rg-logo__cruks b { font-size: 1.65rem; font-weight: 800; color: #fff; letter-spacing: .015em; }
.rg-logo__cruks small { font-size: .7rem; color: var(--on-dark-muted); max-width: 18ch; line-height: 1.25; margin-top: 3px; }
.rg-logo__caption { font-size: .7rem; color: var(--on-dark-muted); }
a.rg-logo:hover { text-decoration: none !important; }
a.rg-logo:hover .rg-logo__caption { color: #fff; }
@media (min-width: 1000px) { .rg-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-8); } }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5em 1.5em; padding-block: var(--s-5); border-bottom: 1px solid var(--line-dark); }
.site-footer__legal button { background: none; border: 0; padding: 0; color: var(--on-dark); font-size: inherit; text-decoration: none; }
.site-footer__legal button:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--teal); }
.site-footer__bottom { display: grid; gap: var(--s-2); padding-block: var(--s-5) var(--s-7); font-size: var(--fs-xs); line-height: 1.6; }
.site-footer__bottom p { max-width: 90ch; }
.site-footer :focus-visible { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--teal); }

/* ---------- age gate ---------- */
.agegate { border: 0; padding: 0; background: transparent; max-width: min(520px, calc(100vw - 2 * var(--gutter))); width: 100%; color: var(--ink); }
.agegate::backdrop { background: rgb(26 29 31 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.agegate__card { background: var(--bg); padding: clamp(1.75rem, 1rem + 3vw, 2.75rem); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .5); text-align: center; border-top: 4px solid var(--teal); }
.agegate__card .brand { justify-content: center; margin-bottom: var(--s-5); }
.agegate__card h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.agegate__card p { margin-top: var(--s-3); color: var(--muted); }
.agegate__actions { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.agegate__note { font-size: var(--fs-xs); margin-top: var(--s-5) !important; color: var(--subtle) !important; line-height: 1.5; }
.agegate__slogan { margin-top: var(--s-4) !important; font-weight: 650; color: var(--ink) !important; font-size: var(--fs-small); }
.agegate__minor { margin-top: var(--s-5); text-align: left; }
@media (prefers-reduced-motion: no-preference) {
  .agegate[open] .agegate__card { animation: rise .45s var(--ease-out); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
}

/* ---------- cookiebanner ---------- */
.cookiebar { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 60; max-width: 560px; margin-left: auto; background: var(--surface); color: var(--ink); padding: var(--s-5); box-shadow: 0 20px 50px -18px rgb(17 17 17 / .45), 0 0 0 1px var(--line); display: grid; gap: var(--s-4); font-size: var(--fs-small); line-height: 1.55; }
.cookiebar__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; color: var(--ink-strong); }
.cookiebar__opts { display: grid; gap: var(--s-2); padding: var(--s-3) var(--s-4); background: var(--bg); border-radius: var(--r-sm); }
.cookiebar__opt { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-xs); }
.cookiebar__opt b { font-weight: 650; }
.cookiebar__opt span { color: var(--subtle); text-align: right; }
@media (prefers-reduced-motion: no-preference) { .cookiebar:not([hidden]) { animation: rise .45s var(--ease-out); } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: var(--s-5); z-index: 70; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .8em 1.2em; border-radius: var(--r-sm); font-size: var(--fs-small); box-shadow: var(--shadow-2); max-width: calc(100vw - 2 * var(--gutter)); }

/* ---------- 404 ---------- */
.notfound { padding-block: var(--section); display: grid; gap: var(--s-7); align-items: center; }
.notfound__code { font-family: var(--font-serif); font-size: clamp(5rem, 3rem + 9vw, 10rem); line-height: .9; font-weight: 500; color: var(--teal); letter-spacing: -.04em; }
.notfound h1 { margin-top: var(--s-4); }
.notfound p { margin-top: var(--s-4); max-width: 46ch; }
.notfound__art img { box-shadow: var(--shadow-art); max-width: 320px; width: 100%; }
.notfound__art figcaption { font-size: var(--fs-xs); color: var(--subtle); margin-top: var(--s-3); }
@media (min-width: 860px) { .notfound { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }

/* ---------- beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- print ---------- */
@media print {
  .strip, .site-header, .site-footer, .cookiebar, .agegate, .player, .toc { display: none !important; }
  body { background: #fff; }
  .prose { max-width: none; }
}

/* ---------- touchscreens: tikvlakken van minstens ±40 px voor herhaalde links ---------- */
@media (pointer: coarse) {
  .fcol ul { gap: 0; }
  .fcol a { display: inline-block; padding-block: 11px; }
  .site-footer__legal { gap: 0 1.5em; }
  .site-footer__legal a, .site-footer__legal button { display: inline-block; padding-block: 8px; }
  .field__labelrow a, .form-actions a.small { padding-block: 10px; margin-block: -10px; }
}
