:root {
  --off-white: #F7F5F2;
  --navy: #1A2B3C;
  --navy-light: #2E4057;
  --gold: #B8975A;
  --gold-light: #D4B07A;
  --muted: #8A8A8A;
  --rule: #DDD8D0;
  --block-bg: #EDE9E3;
  --max: 680px;
  --max-wide: 1040px;

  /* Case colours — generiek (slaagpercenten, ROI, winnaars/verliezers) */
  --green: #5A7A5A;
  --green-bg: #EFF4EF;
  --green-acc: #7AAD7A;
  --red: #7A3A2A;
  --red-bg: #F4EEEC;
  --red-acc: #C07060;
  /* Studio-identiteiten */
  --tf: #1740a0;
  --tf-bg: #EDF1FB;
  --tf-acc: #2257d3;
  --pl: #7a2810;
  --pl-bg: #FEF0EB;
  --pl-acc: #e16335;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p { text-align: justify; }

/* ── PIXEL PROGRESS BAR ── */
#xp-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(26,43,60,0.08); z-index: 100; }
#xp-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%); transition: width 0.1s linear; position: relative; }
#xp-fill::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: white; opacity: 0.6; }

/* ── SHARED LAYOUT ── */
.container     { max-width: var(--max);      margin: 0 auto; padding: 0 24px; }
.container-wide{ max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }
section + section { border-top: 1px solid var(--rule); }

.pixel-texture { background-image: radial-gradient(circle, rgba(184,151,90,0.12) 1px, transparent 1px); background-size: 24px 24px; }

/* ── LEVEL BADGE ── */
.level-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; }
.level-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--navy); color: var(--gold);
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  clip-path: polygon(4px 0%, calc(100% - 4px) 0%, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0% calc(100% - 4px), 0% 4px);
}
.level-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.level-line { flex: 0 0 32px; height: 1px; background: var(--rule); }

/* ── PIXEL DIVIDER ── */
.pixel-div { display: flex; gap: 3px; align-items: center; margin: 48px 0; justify-content: center; }
.pixel-div span { width: 4px; height: 4px; background: var(--rule); display: block; }
.pixel-div span:nth-child(3) { background: var(--gold); width: 8px; height: 8px; }

/* ── TYPOGRAPHY ── */
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
h1.headline { font-family: 'Lora', serif; font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.14; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 24px; }
h2.section-head { font-family: 'Lora', serif; font-size: clamp(22px, 3.5vw, 34px); font-weight: 700; line-height: 1.2; color: var(--navy); margin-bottom: 18px; }
h3.sub-head { font-family: 'Lora', serif; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--navy); margin-bottom: 10px; }
.deck { font-size: 17px; font-weight: 300; line-height: 1.75; color: var(--navy-light); margin-bottom: 32px; }
.body-text { font-size: 15px; line-height: 1.85; color: var(--navy-light); margin-bottom: 18px; text-align: justify; }
.pullquote { border-left: 3px solid var(--gold); padding: 14px 0 14px 22px; margin: 32px 0; }
.pullquote p { font-family: 'Lora', serif; font-size: 20px; font-style: italic; line-height: 1.5; color: var(--navy); margin-bottom: 8px; }
.pullquote cite { font-size: 12px; color: var(--muted); font-style: normal; letter-spacing: 0.04em; }

/* ── BYLINE ── */
.byline { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.byline-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--block-bg); border: 1px solid var(--rule); flex-shrink: 0; }
.byline-meta { font-size: 12px; color: var(--muted); line-height: 1.55; }
.byline-meta strong { color: var(--navy); }

/* ── PLACEHOLDERS ── */
.ph { background: var(--block-bg); border: 1.5px dashed var(--rule); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; text-align: center; padding: 16px; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; }

/* ── ANNOTATION ── */
.wf-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: white; color: var(--muted); border: 1px solid var(--rule); padding: 3px 9px; border-radius: 2px; margin-bottom: 16px; }
.wf-tag .d,
.wf-tag .e { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.wf-tag.audio .d { background: var(--navy); }
.wf-tag.video .d { background: var(--tf-acc); }
.wf-tag.video .e { background: var(--pl-acc); }
.wf-tag.extern .d { background: #43aa8d; }
.wf-note { font-size: 11px; font-style: italic; color: var(--muted); border-left: 2px solid var(--gold-light); padding-left: 10px; margin-top: 8px; line-height: 1.5; }

/* ── CASE BADGES ── */
.case-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px 4px 8px; border-radius: 1px; margin-bottom: 12px; }
.case-badge.a { background: var(--tf-bg); color: var(--tf); border: 1px solid var(--tf-acc); }
.case-badge.b { background: var(--pl-bg); color: var(--pl); border: 1px solid var(--pl-acc); }
.case-badge::before { content: ''; width: 6px; height: 6px; border-radius: 1px; display: block; }
.case-badge.a::before { background: var(--tf-acc); }
.case-badge.b::before { background: var(--pl-acc); }

/* ── CASE CHAPTER BLOCK ── */
.case-chapter { padding: 40px 36px; border-radius: 2px; position: relative; overflow: hidden; }
.case-chapter.a { background: var(--tf-bg); border: 1px solid rgba(34,87,211,0.2); color: var(--tf); }
.case-chapter.b { background: var(--pl-bg); border: 1px solid rgba(225,99,53,0.2); color: var(--pl); }
.case-chapter::before { content: ''; position: absolute; top: 0; left: 0; width: 20px; height: 20px; background: currentColor; opacity: 0.06; clip-path: polygon(0 0, 100% 0, 0 100%); }

/* ── CASE GRID ── */
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
@media (max-width: 700px) { .case-split { grid-template-columns: 1fr; } }

/* ── STUDIO INTRO CARDS ── */
.studio-card { background: white; border: 1px solid var(--rule); padding: 28px; border-radius: 2px; position: relative; }
.studio-card .case-badge.a { background: var(--tf-acc); color: white; border-color: var(--tf-acc); }
.studio-card .case-badge.a::before { background: white; }
.studio-card .case-badge.b { background: var(--pl-acc); color: white; border-color: var(--pl-acc); }
.studio-card .case-badge.b::before { background: white; }
.studio-card .logo-ph { height: 120px; background: var(--block-bg); border: 1.5px dashed var(--rule); border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 11px; color: var(--muted); }
.studio-card h3 { font-family: 'Lora', serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.studio-card .meta { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.studio-card dl { display: grid; grid-template-columns: 90px 1fr; gap: 4px 14px; font-size: 13px; }
.studio-card dt { font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.studio-card dd { color: var(--navy-light); }
.studio-card .case-badge { position: absolute; top: 18px; right: 18px; margin: 0; }

/* ── STAT INLINE ── */
.stat-inline { font-family: 'Lora', serif; font-size: clamp(32px, 5vw, 54px); font-weight: 700; color: var(--gold); line-height: 1; display: block; margin: 28px 0 6px; }
.stat-caption { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 20px; }

/* ── VIDEO BLOCK ── */
.video-wrap { background: var(--navy); padding: 80px 0; }
.video-player-ph {
  width: 100%; aspect-ratio: 16/9;
  background: #0F1B28; border: 1.5px dashed rgba(255,255,255,0.1);
  border-radius: 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; margin: 20px 0;
}
.play-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(184,151,90,0.5); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 16px; transition: all 0.2s; cursor: pointer; }
.play-btn:hover { border-color: var(--gold); background: rgba(184,151,90,0.08); }
.video-caption { font-size: 11px; color: rgba(255,255,255,0.28); letter-spacing: 0.06em; text-align: center; }

.answer-block { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 2px; padding: 24px 28px; margin-top: 20px; }
.answer-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }

/* dark section overrides */
.video-wrap .kicker, .conclusion-section .kicker { color: var(--gold-light); }
.video-wrap .section-head, .conclusion-section .section-head, .video-wrap h2, .conclusion-section h2 { color: white; font-family: 'Lora', serif; font-size: clamp(20px,3vw,32px); font-weight:700; line-height:1.22; margin-bottom:16px; }
.video-wrap .body-text, .conclusion-section .body-text { color: rgba(255,255,255,0.6); font-size:15px; line-height:1.8; margin-bottom:16px; }
.video-wrap .level-badge .level-label, .conclusion-section .level-badge .level-label { color: rgba(255,255,255,0.3); }
.video-wrap .level-badge .level-num, .conclusion-section .level-badge .level-num { background: rgba(255,255,255,0.1); }
.video-wrap .level-badge .level-line, .conclusion-section .level-badge .level-line { background: rgba(255,255,255,0.1); }
.video-wrap .wf-tag { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); }
.video-wrap .wf-note { color: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.2); }
.video-wrap .case-badge.a { background: rgba(34,87,211,0.15); border-color: rgba(34,87,211,0.3); }
.video-wrap .case-badge.b { background: rgba(225,99,53,0.12); border-color: rgba(225,99,53,0.3); }
.video-wrap .bullet-list { color: rgba(255,255,255,0.6); }
.video-wrap .bullet-list li::before { background: var(--gold-light); }

/* ── AUDIO BLOCK ── */
.audio-block {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  background: white;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: 2px;
  margin: 18px 0;
}
.audio-block .audio-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 13px;
  cursor: pointer;
  transition: transform 0.15s;
}
.audio-block .audio-btn:hover { transform: scale(1.05); }
.audio-block .audio-meta { line-height: 1.4; }
.audio-block .audio-meta .who { font-family: 'Lora', serif; font-size: 16px; font-weight: 700; color: var(--navy); }
.audio-block .audio-meta .role { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.audio-block .audio-wave {
  display: flex; align-items: center; gap: 2px; height: 24px;
  opacity: 0.25;
  transition: opacity 0.25s ease;
}
.audio-block .audio-wave i {
  display: block; width: 2px; background: var(--gold); border-radius: 1px;
}
.audio-block .duration { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; font-family: 'Inter', monospace; }

.audio-block.with-quote { display: block; padding: 22px 24px; }
.audio-block.with-quote .top { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; }
.audio-block.with-quote .audio-quote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
}

/* ── MAP SECTION ── */
.map-section { background: #EDE9E4; }
.map-ph { width: 100%; height: 480px; background: #E4E0D9; border: 1.5px dashed var(--rule); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; margin: 28px 0; position: relative; overflow: hidden; }
.map-ph-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; }

/* ── DATA SECTION ── */
.data-section { background: #F0EDE8; }
.data-chart-ph { width: 100%; background: white; border: 1.5px dashed var(--rule); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; margin: 24px 0; padding: 32px 20px; }
.fake-bars { display: flex; align-items: flex-end; gap: 6px; height: 100px; }
.fake-bar { width: 28px; background: var(--block-bg); border: 1px solid var(--rule); border-radius: 1px 1px 0 0; transition: background 0.2s; cursor: pointer; }
.fake-bar:hover { background: var(--gold-light); }
.fake-bar.green { background: var(--green-bg); border-color: var(--green-acc); }
.fake-bar.gold { background: var(--gold); border-color: var(--gold); }

/* ── PLOTLY VIZ CONTAINERS ── */
.viz-container {
  width: 100%;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 18px 16px 10px;
  margin: 14px 0 0;
  position: relative;
}
.viz-container.sankey-h   { height: 580px; }
.viz-container.bars-h     { height: 420px; }
.viz-container.donut-h    { height: 360px; }
.viz-container.scatter-h  { height: 520px; }
.viz-caption {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.02em;
  margin: 10px 4px 0;
  line-height: 1.55;
}
.viz-caption strong { color: var(--navy); font-style: normal; font-weight: 600; }
.viz-headline {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 36px 0 4px;
  letter-spacing: -0.005em;
}
.viz-blurb {
  font-size: 14px;
  color: var(--navy-light);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 620px;
}

/* ── HEADING CONTEXT OVERRIDES ──
   .viz-headline carries margin-top:36px for free-flowing text.
   Inside a card/box the box padding already provides separation — remove it.
   When a kicker label directly precedes a heading, collapse to the kicker's own margin-bottom. */
.pain-content .viz-headline,
.studio-card .viz-headline,
.roi-reality .viz-headline { margin-top: 0; }
.kicker + .viz-headline { margin-top: 0; }

.stat-inline[data-target] {
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.stat-inline.stat-success { color: var(--green); }
.stat-inline.stat-warn    { color: var(--red); }

/* Insight callout */
.viz-insight {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 14px;
  background: white;
  border: 1px solid var(--rule);
  padding: 16px 20px;
  margin-top: 14px;
  border-radius: 2px;
}
.viz-insight .bar { background: var(--gold); border-radius: 1px; }
.viz-insight .label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 4px;
}
.viz-insight p {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.6;
  margin: 0;
}
.viz-insight.green .bar   { background: var(--green-acc); }
.viz-insight.green .label { color: var(--green); }
.viz-insight.red   .bar   { background: var(--red-acc); }
.viz-insight.red   .label { color: var(--red); }

.data-section .js-plotly-plot .plotly .modebar { display: none !important; }
.data-section .hoverlayer .hovertext { font-family: 'Inter', sans-serif !important; }

/* ── §11 ROI ── */
.roi-stat-mediaan  { color: var(--red); }
.roi-stat-fte      { color: var(--gold); }
.roi-stat-winners  { color: var(--green); }

.extremes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 700px) { .extremes-grid { grid-template-columns: 1fr; } }

.extreme-box {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 24px 26px 22px;
  position: relative;
}
.extreme-box.winners { border-top: 3px solid var(--green-acc); }
.extreme-box.losers  { border-top: 3px solid var(--red-acc); }

.extreme-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.extreme-box.winners .extreme-title { color: var(--green); }
.extreme-box.losers  .extreme-title { color: var(--red); }

.extreme-box ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ranking;
}
.extreme-box li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  counter-increment: ranking;
}
.extreme-box li:first-child { border-top: none; padding-top: 4px; }
.extreme-box li::before {
  content: counter(ranking);
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}
.extreme-box.winners li::before { color: var(--green-acc); }
.extreme-box.losers  li::before { color: var(--red-acc); }

.extreme-game {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.extreme-studio {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.extreme-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
}
.extreme-amounts {
  color: var(--navy-light);
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'tnum' 1;
}
.roi-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 2px;
  font-feature-settings: 'tnum' 1;
}
.roi-badge.green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-acc); }
.roi-badge.red   { background: var(--red-bg);   color: var(--red);   border: 1px solid var(--red-acc); }

.roi-reality {
  background: white;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 26px 30px;
  margin-top: 22px;
  border-radius: 2px;
}
.roi-reality h5 {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.roi-reality p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--navy-light);
  margin-bottom: 12px;
}
.roi-reality ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
}
.roi-reality ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
  color: var(--navy-light);
  line-height: 1.6;
  border-bottom: 1px dashed var(--rule);
}
.roi-reality ul li:last-child { border-bottom: none; }
.roi-reality ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 10px; height: 2px;
  background: var(--gold);
}
.roi-reality strong { color: var(--navy); font-weight: 600; }
.roi-reality .highlight {
  margin-top: 16px;
  padding: 14px 16px;
  background: #FAF6EE;
  border: 1px solid rgba(184,151,90,0.35);
  border-radius: 2px;
  font-size: 13.5px;
  color: var(--navy);
  line-height: 1.6;
}
.roi-reality .highlight strong { color: var(--red); }

/* ── COMPARISON BARS ── */
.comp-row { display: grid; grid-template-columns: 140px 1fr 90px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.comp-row:last-child { border-bottom: none; }
.comp-row .label { font-size: 13px; font-weight: 600; color: var(--navy); }
.comp-row .bar-track { height: 14px; background: var(--block-bg); border-radius: 1px; position: relative; overflow: hidden; }
.comp-row .bar-fill { height: 100%; background: var(--gold); position: absolute; left: 0; top: 0; transition: width 0.6s ease; }
.comp-row .val { font-family: 'Lora', serif; font-size: 14px; font-weight: 700; color: var(--navy); text-align: right; }

/* ── STATS ROW ── */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0; border: 1px solid var(--rule); }
@media (max-width: 600px) { .stats-row { grid-template-columns: 1fr; } }
.stat-cell { padding: 28px 22px; background: white; text-align: center; }
.stat-cell + .stat-cell { border-left: 1px solid var(--rule); }
@media (max-width: 600px) {
  .stat-cell + .stat-cell { border-left: none; border-top: 1px solid var(--rule); }
}

/* ── BULLET LIST ── */
.bullet-list { list-style: none; padding: 0; margin: 14px 0 0; }
.bullet-list li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 14px; color: var(--navy-light); line-height: 1.55; }
.bullet-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--gold); border-radius: 1px; }
.bullet-list.green li::before { background: var(--tf-acc); }
.bullet-list.red li::before { background: var(--pl-acc); }
.case-split .bullet-list.green li { color: white; }
.case-split .bullet-list.red li { color: white; }
.case-split .case-badge.a { color: white; }
.case-split .case-badge.b { color: white; }

/* ── PAIN POINT ROW ── */
.pain-row {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px;
  background: white; border: 1px solid var(--rule);
  padding: 22px 24px; margin: 14px 0; border-radius: 2px;
}
.pain-content { min-width: 0; }
.pain-row .pn { font-family: 'Lora', serif; font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1; }
.pain-row h4 { font-family: 'Lora', serif; font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.pain-row p { font-size: 14px; color: var(--navy-light); line-height: 1.65; margin-bottom: 10px; }
.pain-row .viz-caption { font-size: 11px; color: var(--muted); font-style: italic; line-height: 1.55; margin-bottom: 16px; }

.pain-divider { height: 1px; background: var(--rule); margin: 40px 0 0; }

/* ── EXPERT CARD ── */
.expert-split {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 20px;
  align-items: center;
  background: var(--block-bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 20px;
  margin: 24px 0;
}
.expert-split.reversed { grid-template-columns: 130px 1fr; }
.expert-figure { margin: 0; }
.expert-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--block-bg);
  border: 1px solid var(--rule);
}
.expert-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; image-rendering: pixelated; }
.expert-name { font-family: 'Lora', serif; font-size: 17px; font-weight: 600; color: var(--navy); margin: 4px 0 8px; }
@media (max-width: 560px) { .expert-split, .expert-split.reversed { grid-template-columns: 1fr; } }

/* ── VIDEO BLOCK (inline) ── */
.video-block { margin: 16px 0 24px; border-radius: 2px; overflow: hidden; background: var(--navy); }
.video-block video { width: 100%; display: block; }
.video-block .video-caption { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; padding: 10px 16px; }
.video-intro { font-style: italic; color: var(--muted); }

/* ── CONCLUSION / DARK SECTIONS ── */
.conclusion-section { background: var(--navy); }
.conclusion-section .viz-headline,
.conclusion-section h3.viz-headline { color: rgba(255,255,255,0.9); }
.conclusion-section .body-text { color: rgba(255,255,255,0.65); }
.credits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; }
.credits-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .credits-grid, .credits-grid--two { grid-template-columns: 1fr; } }
.credit-item { padding: 20px; background: rgba(255,255,255,0.04); }
.credit-role { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.credit-name { font-size: 14px; color: var(--navy-light); }
.conclusion-section .credit-name { color: rgba(255,255,255,0.6); }

/* ── JOURNALIST CREDIT CARDS ── */
.journalists-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 16px 0 48px; }
@media (max-width: 600px) { .journalists-grid { grid-template-columns: 1fr; } }
.journalist-card { margin: 0; }
.journalist-photo { height: 240px; border-radius: 2px; overflow: hidden; background: #233344; }
.journalist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; image-rendering: pixelated; }
.journalist-card figcaption { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; margin-top: 10px; line-height: 1.4; }
.journalist-card figcaption strong { display: block; color: rgba(255,255,255,0.85); font-weight: 600; margin-bottom: 6px; }
.credit-roles-list { list-style: none; padding: 0; margin: 0; }
.credit-roles-list li { position: relative; padding-left: 14px; margin-bottom: 4px; font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.55; letter-spacing: 0.04em; }
.credit-roles-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; background: var(--gold); border-radius: 1px; }

/* ── JOURNALIST CARDS – LICHTE ACHTERGROND ── */
.journalists-grid--light .journalist-photo { background: var(--block-bg); }
.journalists-grid--light .journalist-card figcaption { color: var(--navy-light); }
.journalists-grid--light .journalist-card figcaption strong { color: var(--navy); }
.journalists-grid--light .credit-roles-list li { color: var(--muted); }
@media (max-width: 600px) { .journalists-grid--light { grid-template-columns: 1fr !important; } }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SPLIT GRID ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 24px 0; align-items: start; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } }

/* ── CRITERIA OVERVIEW ── */
.criteria-wrap { background: var(--block-bg); border: 1px solid var(--rule); padding: 28px 30px; border-radius: 2px; margin: 24px 0; }

.fase-label { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.fase-label::before { content: ''; display: block; width: 8px; height: 8px; background: var(--gold); border-radius: 1px; }
.fase-label.green::before { background: var(--green-acc); }

.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }

.check-card { background: white; border: 1px solid var(--rule); border-top: 3px solid var(--green-acc); padding: 18px 16px; border-radius: 2px; }
.check-card .cc-mark { width: 24px; height: 24px; background: var(--green-bg); border: 1px solid var(--green-acc); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--green); font-weight: 700; margin-bottom: 12px; }
.check-card strong { display: block; font-family: 'Lora', serif; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.check-card p { font-size: 13px; color: var(--navy-light); line-height: 1.55; margin: 0; }

.crit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
@media (max-width: 640px) { .crit-grid { grid-template-columns: 1fr; } }
.crit-grid .crit-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

.crit-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: white; border: 1px solid var(--rule); border-left: 3px solid var(--gold); padding: 18px 16px; border-radius: 2px; }
.crit-num { font-family: 'Lora', serif; font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1; }
.crit-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.crit-item p { font-size: 13px; color: var(--navy-light); line-height: 1.55; margin: 0; }

/* ── FOOTER ── */
footer { background: #111B26; padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-brand { font-family: 'Lora', serif; font-size: 13px; font-style: italic; color: rgba(255,255,255,0.28); }
.footer-meta { font-size: 11px; color: rgba(255,255,255,0.18); letter-spacing: 0.06em; }
footer a { font-size: 11px; color: rgba(255,255,255,0.18); letter-spacing: 0.06em; text-decoration: none; }
footer a:hover { color: rgba(255,255,255,0.4); }

/* ── STEUNVORMEN GRID ── */
/* Desktop: 2 kolommen via inline style — class laat ons mobile overschrijven */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE  (≤ 640 px)
   Alle regels hier zijn additief: niets hier raakt het desktop-
   ontwerp. Doel: layout werkt op gsm zonder stijlwijzigingen op PC.
════════════════════════════════════════════════════════════════ */

/* Voorkom html-level horizontaal scrollen (body had al overflow-x:hidden,
   maar sommige browsers scrollen via het html-element) */
html { overflow-x: hidden; }

@media (max-width: 640px) {

  /* ── §04 steunvormen: 2-kol inline-grid → 1-kolom ── */
  .cards-grid { grid-template-columns: 1fr; }

  /* ── Grafiek-containers: hoogte verlagen op gsm ──
     De vaste hoogtes zijn gebouwd voor desktop; op mobile zijn minder
     verticale pixels nodig en scrolt de pagina prettiger. */
  .viz-container.bars-h    { height: 320px; }
  .viz-container.sankey-h  { height: 500px; }
  .viz-container.scatter-h { height: 380px; }

  /* ── Audio-blokken: 3-koloms grid overflowt op kleine schermen ──
     Kolom 3 (wave ≈ 128 px + duration ≈ 80 px = ~220 px auto) past
     niet meer naast knop (56 px) en metadata (1fr) op ≤ 375 px.
     Oplossing: collapse naar 2 kolommen, drop 3de kind naar volle
     tweede rij, verberg de decoratieve wave-balken. */
  .audio-block.with-quote .top {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .audio-block.with-quote .top > :nth-child(3) {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 56px;
  }
  /* Verberg waveform (puur decoratief) — duration-tekst blijft zichtbaar */
  .audio-wave { display: none; }

  /* ── §07 pain-row: extra nesting compresseert audio nog harder ──
     Reduceer interne padding zodat audio-blok genoeg ruimte krijgt */
  .pain-row { padding: 18px 16px; gap: 12px; }

  /* ── §10 vergelijkingsbalken: vaste kolommen (140 px + 90 px)
     zijn krap op 375 px — iets inkrimpen ── */
  .comp-row {
    grid-template-columns: 88px 1fr 58px;
    gap: 8px;
  }
  .comp-row .label { font-size: 11px; }
  .comp-row .val   { font-size: 12px; }
}

/* ── Pijnpunten: nummer boven content stapelen op zeer smalle schermen ──
   Op 360–400 px is de 28 px nummerkolom naast de content acceptabel,
   maar een gestapelde layout oogt intentioneler en geeft content meer lucht. */
@media (max-width: 400px) {
  .pain-row {
    grid-template-columns: 1fr;
  }
  .pain-row .pn {
    font-size: 18px;
    margin-bottom: 2px;
  }
}

/* ── Budgetgrafiek (inline SVG) op smalle schermen ──
   De SVG schaalt via viewBox, maar bij < 480 px worden de y-aslabels
   (font-size 10 px in SVG-coördinaten) te klein om te lezen. Eerdere
   oplossing (horizontaal scrollbare container) verstopte de Duitsland-balk
   en de legende buiten beeld zonder scroll-aanwijzing — verward met een
   "loopt uit het scherm"-bug. Nu: op mobiel de SVG vervangen door
   .chart-mobile, vaste HTML-staven die altijd volledig in beeld passen. */
.chart-mobile { display: none; }

@media (max-width: 480px) {
  .chart-desktop { display: none; }
  .chart-mobile {
    display: flex; flex-direction: column; gap: 14px;
    width: 100%; padding: 4px 4px 8px;
  }
  .mbar {
    display: grid; grid-template-columns: 76px 1fr 54px;
    align-items: center; gap: 8px;
  }
  .mbar-label { font-size: 12px; font-family: 'Inter', sans-serif; color: #1A2B3C; }
  .mbar-track { background: #EFEBE4; border-radius: 3px; height: 18px; overflow: hidden; }
  .mbar-fill { height: 100%; border-radius: 3px; }
  .mbar-value { font-size: 12px; font-weight: 700; font-family: 'Lora', serif; text-align: right; }
}
