:root {
  --bg: #e4e7ec;
  --panel-bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #0066cc;
  --border: #e5e7eb;
  --viz-bg: #f7f8fa;
  --wef-blue: #0066cc;
  --wef-dark: #111827;
  --nav-link: #4b5563;
  --nav-link-active: #111827;
  --brand-kicker-matrix: var(--matrix-blue, #0284c7);
  --brand-kicker-versus: #fbbf24;
  --brand-kicker-one: #059669;
  --brand-ui-size: 14px;
  --brand-ui-weight: 600;
  --brand-ui-line: 1.5;

  /* —— Filmisch Matrix-palet (afgestemd op fotografie & visioenen) —— */
  --matrix-blue: #0284c7;           /* matrix-blauw interface & telemetrie */
  --matrix-dark-brown: #16181b;     /* donkergrijsbruin nachtasfalt */
  --matrix-dark-surface: #101316;   /* diepe achtergrond / console-panel */
  --matrix-blue-dark: #0e3d54;      /* donker/diep cyaanblauw (randen & diepte) */
  --matrix-blue-mid: #0284c7;       /* middel cyaanblauw (telemetrie / interface) */
  --matrix-blue-fluor: #22d3ee;     /* fluor cyaanblauw (HUD, wireframes, neon glow) */
  --matrix-blue-light: #a5f3fc;     /* licht fluor cyaan (hoge leesbaarheid / teksten) */
  --matrix-green: #10b981;          /* matrix-groen telemetrie / terminal */
  --matrix-green-fluor: #34d399;    /* fluor groen (HUD accent) */
  --matrix-green-light: #6ee7b7;    /* licht fluor groen */
  --matrix-grey: #94a3b8;           /* neutraal staalgrijs */
  --matrix-grey-warm: #8d8a85;      /* warm straat- en gevelgrijs */
  --matrix-surface: #e4e7ec;        /* lichte matrix-grijs pagina-achtergrond */
  --matrix-white: #ffffff;          /* zuiver wit contrast */
  --walk-gutter: 28px;              /* hero + hook + deepen kantlijn */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
}

body > header {
  height: 56px;
  background: var(--bg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
  z-index: 300;
  flex-shrink: 0;
}

.header-left { display: flex; align-items: center; gap: 12px; min-width: 220px; }

/* Pool-markering links — zelfde register als walk-kicker */
.pole-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.pole-mark-link,
.pole-mark-sep {
  text-decoration: none;
  font-size: var(--brand-ui-size);
  font-weight: var(--brand-ui-weight);
  line-height: var(--brand-ui-line);
  letter-spacing: 0.02em;
  padding: 0 0 3px;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.pole-mark-link {
  text-transform: uppercase;
}

.pole-mark-link--matrix,
.pole-mark .kicker-brand--matrix {
  color: var(--brand-kicker-matrix);
}

.pole-mark-link--matrix:hover {
  color: var(--matrix-blue-dark, #0e3d54);
}

.pole-mark-link--matrix.active {
  color: var(--brand-kicker-matrix);
  border-bottom-color: var(--brand-kicker-matrix);
}

.pole-mark-link--versus,
.pole-mark .kicker-brand--versus {
  color: var(--brand-kicker-versus);
}

.pole-mark-link--versus.active {
  border-bottom-color: var(--brand-kicker-versus);
}

.pole-mark-link--one,
.pole-mark .kicker-brand--one {
  color: var(--brand-kicker-one);
}

.pole-mark-link--one.active {
  border-bottom-color: var(--brand-kicker-one);
}

.pole-mark-link:hover,
.pole-mark-sep:hover {
  opacity: 1;
}

body.js-ready .seo-shell {
  display: none !important;
}

.seo-shell h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.seo-shell blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--border); }

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
}

.wef-logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #111827;
  text-transform: uppercase;
}

.wef-logo::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, #0066cc, #3b82f6);
  margin: 3px auto 0;
  border-radius: 1px;
}

.header-subtitle {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #6b7280;
  margin-top: 1px;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav { display: flex; gap: 22px; font-size: var(--brand-ui-size); line-height: var(--brand-ui-line); }

.nav a {
  text-decoration: none;
  color: var(--nav-link);
  font-weight: var(--brand-ui-weight);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover { color: var(--nav-link-active); }

.nav a.active {
  color: var(--nav-link-active);
  border-bottom-color: var(--nav-link-active);
}

.header-right .search-wrap { display: none !important; }

.search-wrap { position: relative; }

#search {
  width: 180px;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 12px;
  background: #f9fafb;
}

#search:focus { outline: none; border-color: #0066cc; background: #fff; }

#search-results {
  display: none;
  position: absolute;
  right: 0;
  top: 32px;
  width: 320px;
  max-height: 360px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 400;
}

#search-results.open { display: block; }

.search-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  font-size: 12px;
}

.search-item:hover { background: #f8fafc; }

.search-item small { display: block; color: var(--muted); font-size: 10px; }

#container {
  display: flex;
  height: calc(100vh - 56px);
}

#viz {
  flex: 1;
  background: var(--viz-bg);
  position: relative;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

#panel {
  width: 400px;
  background: var(--panel-bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 16px rgba(0,0,0,0.05);
  border-left: 1px solid var(--border);
  transition: width 0.2s ease, margin 0.2s ease;
}

#panel.hidden {
  width: 0;
  border: 0;
  overflow: hidden;
}

.viz-header {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 140px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #4b5563;
}

#trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 11.5px;
  color: #6b7280;
  min-width: 0;
}

#trail i {
  margin: 0 7px;
  font-style: normal;
  color: #d1d5db;
}

#trail button {
  background: none;
  border: 0;
  color: #4b5563;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  font-family: inherit;
}

#trail button:hover { color: #0066cc; }

#trail span { color: #111827; font-weight: 600; }

#trail .trail-hint {
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0.2px;
}

.viz-header .back {
  display: none;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.viz-header .back.visible { display: flex; }

.viz-header .back:hover { background: rgba(0,0,0,0.04); }

#history-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 50;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
}

#history-menu {
  display: none;
  position: absolute;
  top: 46px;
  right: 20px;
  z-index: 80;
  background: #fff;
  border: 1px solid var(--border);
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

#history-menu.open { display: block; }

#history-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

#history-menu button:hover { background: #f8fafc; }

#hide-panel {
  position: absolute;
  bottom: 18px;
  right: 20px;
  z-index: 60;
  font-size: 12px;
  background: transparent;
  border: 0;
  color: #4b5563;
  cursor: pointer;
}

#chart { width: 100%; height: 100%; display: block; }

.node-label {
  font-size: 10px;
  fill: #1f2937;
  pointer-events: none;
  font-weight: 600;
  letter-spacing: 0.15px;
}

.node-label.outer {
  font-size: 9px;
  font-weight: 500;
}

.node-label.center {
  font-size: 12px;
  font-weight: 700;
  fill: #fff;
}

.center-sub {
  font-size: 8px;
  fill: rgba(255,255,255,0.8);
  pointer-events: none;
  letter-spacing: 1px;
}

#tooltip {
  position: absolute;
  background: #fff;
  color: #111827;
  padding: 6px 11px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid var(--border);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  z-index: 200;
  border-radius: 3px;
  max-width: 240px;
  line-height: 1.35;
}

.wef-card { display: flex; flex-direction: column; min-height: 100%; }

.hero {
  height: 172px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #111827;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background: linear-gradient(to top, rgba(17,24,39,0.86), transparent);
}

.hero .hero-kicker {
  position: absolute;
  bottom: 44px;
  left: 20px;
  right: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  z-index: 2;
}

.hero .hero-title {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  z-index: 2;
}

/* Gestapelde hero-tekst (fork, walk-carousel) — geen absolute overlay */
.hero-text-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  min-height: 0;
}

.hero-text-stack .hero-kicker,
.hero-text-stack .collection-hero-kicker,
.hero-text-stack .walk-film-kicker {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
}

.hero-text-stack .hero-title,
.hero-text-stack .walk-film-title {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  color: #fff;
}

.hero-text-stack .hero-tagline,
.hero-text-stack .walk-film-caption {
  position: static;
}

.hero-text-stack .hero-tagline {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin: 0;
}

.card-body { padding: 18px 20px 28px; }

.layer-step {
  display: flex;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.layer-step li {
  flex: 1;
  font-size: 9.5px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 0 2px 8px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.layer-step li.on {
  color: #0066cc;
  border-bottom-color: #0066cc;
  font-weight: 700;
}

.layer-step li.done { color: #4b5563; }

.layer-step button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
  padding: 0;
  font-family: inherit;
}

.layer-step button:hover { color: #0066cc; }

.layer-step--compact {
  margin-bottom: 8px;
}

.layer-step--compact li {
  font-size: 8px;
  letter-spacing: 0.25px;
  padding-bottom: 5px;
}

.unit { margin-bottom: 18px; }

.unit h3 {
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 7px;
}

.unit.haak h3 { color: #0066cc; }

.unit-hint {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
  line-height: 1.45;
}

.because { color: #6b7280; font-size: 11.5px; }

.unwrap {
  display: block;
  width: 100%;
  margin: 4px 0 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #0066cc;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
}

.unwrap:hover {
  background: #eff6ff;
  border-color: #0066cc;
}

.badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}

.badge.documented { background: #e8f1fb; color: #0066cc; }
.badge.in-development { background: #f3f4f6; color: #4b5563; }
.badge.mirror { background: #f5f0e6; color: #8a6d3b; }
.badge.echo { background: #f3eef7; color: #6b4c8a; }

.curation {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.topic-intro, .scene-fact {
  font-size: 13px;
  line-height: 1.58;
  color: #374151;
  margin-bottom: 14px;
}

.quote {
  font-size: 13px;
  line-height: 1.5;
  color: #111827;
  border-left: 2px solid #0066cc;
  padding: 2px 0 2px 12px;
  margin: 0 0 10px;
  font-style: italic;
}

.quote-src {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}

.quote-src a { color: #0066cc; text-decoration: none; }
.quote-src a:hover { text-decoration: underline; }

.source-list { margin: 0 0 16px; padding-left: 1.2em; }
.source-list a { color: #0066cc; text-decoration: none; }
.source-list a:hover { text-decoration: underline; }

.sub-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }

.sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12.5px;
  border: 1px solid transparent;
  background: none;
  width: 100%;
  text-align: left;
  color: inherit;
  font-family: inherit;
}

.sub-item:hover { background: #f8fafc; border-color: #e5e7eb; }

.sub-item .num { font-size: 10px; font-weight: 700; color: #0066cc; min-width: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }

.chip {
  font-size: 11px;
  padding: 4px 9px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  color: #374151;
}

.chip:hover { border-color: #0066cc; color: #0066cc; }

/* ── Home Discover panel ── */

#panel.home-panel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wef-card--home {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  max-height: 100%;
}

.wef-card--home .hero--home {
  height: 112px;
  flex-shrink: 0;
}

.wef-card--home .hero--home .hero-title {
  font-size: 17px;
}

.wef-card--home .hero--home .hero-kicker {
  bottom: 36px;
  font-size: 9px;
}

.card-body--home {
  padding: 12px 16px 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.wef-card--home .unit {
  margin-bottom: 10px;
}

.wef-card--home .unit h3 {
  margin-bottom: 4px;
  font-size: 9px;
}

.topic-intro--compact {
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 0;
}

.quote--compact {
  font-size: 12px;
  margin-bottom: 6px;
}

.wef-card--home .quote-src {
  margin-bottom: 0;
}

.home-gids-hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  margin: 8px 0 10px;
}

.home-rails {
  margin-bottom: 10px;
}

.home-rail {
  margin-bottom: 12px;
}

.home-rail:last-child {
  margin-bottom: 0;
}

.home-rail-label {
  font-size: 9px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.home-rail-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.home-rail-track::-webkit-scrollbar {
  height: 4px;
}

.home-rail-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.home-rail-card {
  flex: 0 0 168px;
  width: 168px;
  aspect-ratio: 16 / 10;
  scroll-snap-align: start;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: #374151;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.home-rail-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.home-rail-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.home-rail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.52) 0%, rgba(17, 24, 39, 0.06) 52%, transparent 100%);
  pointer-events: none;
}

.home-rail-card-title {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.home-rail-card-sub {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 8.5px;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.home-action-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
}

.home-action-link:hover {
  text-decoration: underline;
}

.home-action-sep {
  color: #d1d5db;
  font-size: 11px;
}

.fact-block {
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.fact-block h4 { font-size: 13px; margin-bottom: 6px; }

.fact-card {
  padding: 18px 20px;
  border: none;
  border-top: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 3px 5px 16px rgba(17, 24, 39, 0.08), 1px 2px 4px rgba(17, 24, 39, 0.04);
}
.fact-card .badge { margin-bottom: 10px; }
.fact-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #111827;
}
.fact-card .scene-fact {
  font-size: 16px;
  line-height: 1.62;
  color: #374151;
  margin: 0 0 14px;
}
.fact-card .quote {
  font-size: 16px;
  line-height: 1.58;
  margin: 0 0 12px;
}
.fact-card .quote-src {
  font-size: 13px;
  margin: 0;
}
.fact-card-stack { margin: 0; }
.fact-card-stack .pole-overview-hook-grid { gap: 16px; }

/* Onderbouwing flush onder hero — zelfde opzet als hook */
.walk-film--matrix .walk-film-deepen-panel > .fact-card-stack,
.walk-film--one .walk-film-deepen-panel > .fact-card-stack {
  width: calc(100% + 2 * var(--walk-gutter, 28px));
  max-width: none;
  margin-left: calc(-1 * var(--walk-gutter, 28px));
  margin-right: calc(-1 * var(--walk-gutter, 28px));
  margin-top: 0;
  border-top: 1px solid var(--bg);
  box-sizing: border-box;
}
.walk-film--matrix .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-grid {
  gap: 0;
}
.walk-film--one .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-grid {
  gap: 4px;
}

.actions { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }

.actions button, button.plain {
  background: #fff;
  border: 1px solid var(--border);
  color: #374151;
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
}

.actions button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.scene-meta {
  font-size: 10.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  line-height: 1.45;
}

.timeline { padding: 8px 0 24px; }

.tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}

.tl-item:hover { background: #fafafa; }

.tl-year { font-size: 12px; font-weight: 700; color: #0066cc; }

.walk-nav { display: flex; justify-content: space-between; margin-top: 16px; }

@media (max-width: 860px) {
  body > header { padding: 0 10px; }
  .header-left { min-width: auto; display: flex; flex-shrink: 0; }
  .header-center {
    position: static;
    transform: none;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
  }
  .header-subtitle { display: none; }
  .wef-logo { font-size: 9px; letter-spacing: 1px; }
  .header-right { margin-left: 0; gap: 10px; flex-shrink: 0; }
  .nav { gap: 10px; font-size: 11px; }
  #search { width: 88px; font-size: 11px; padding: 6px 8px; min-height: 32px; }
  #search-results { width: min(92vw, 320px); right: -8px; }
  #panel { width: min(100vw, 340px); }
  .hero { height: 140px; }
  .hero-title { font-size: 17px; }
  .node-label { font-size: 9px; }
  .node-label.outer { font-size: 7.5px; }
  #history-btn { top: 10px; right: 10px; font-size: 11px; min-height: 44px; padding: 8px 12px; }
  #hide-panel { bottom: 12px; right: 12px; min-height: 44px; padding: 8px 10px; }
  body.home-discover .viz-header,
  body.home-discover #history-btn { display: none; }
  body.home-discover #chart { padding-top: 8px; }
}

@media (max-width: 640px) {
  #container { flex-direction: column; }
  #viz { height: 52vh; border-right: 0; border-bottom: 1px solid var(--border); }
  body.home-discover #viz { height: auto; flex: 1; }
  body.home-discover #chart { min-height: 42vh; }
  #panel { width: 100%; height: calc(48vh - 56px); box-shadow: none; }
  #panel.hidden { width: 100%; height: 0; }
  .nav a:last-child { display: none; }
  .home-rail-card { flex: 0 0 148px; width: 148px; }
  .collection-grid--voice { grid-template-columns: 1fr; }
}

/* ── Collection & portrait pages ── */

body.collection-mode {
  overflow-x: clip;
  overflow-y: auto;
}
body.collection-mode #container { display: none; }

#collection {
  min-height: calc(100vh - 56px);
  background: var(--bg);
  overflow-x: clip;
  overflow-y: auto;
}
#collection.hidden { display: none; }

.collection-back {
  padding: 12px 28px 0;
  font-size: 12.5px;
  background: var(--bg);
  position: relative;
  z-index: 5;
}
.collection-back button {
  background: none; border: 0; color: #4b5563; cursor: pointer;
  font-size: inherit; font-family: inherit;
  padding: 10px 0; min-height: 44px;
}
.collection-back button:hover { color: #0066cc; }

.collection-hero {
  height: 480px; background-size: cover; background-position: center 30%;
  position: relative; background-color: #111827;
}
.collection-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(17,24,39,0.38) 0%, transparent 48%),
    linear-gradient(to right, rgba(17,24,39,0.22) 0%, transparent 42%);
}
.collection-hero-text {
  position: absolute; left: 48px; bottom: 36px; right: 40%; z-index: 2;
  color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.55);
}
.collection-hero-text h1 {
  font-size: 32px; font-weight: 700; line-height: 1.15;
  margin-bottom: 12px; letter-spacing: -0.3px;
}
.collection-hero-text p {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.92); max-width: 520px;
}

.collection-strip {
  background: #111827; display: flex; align-items: center;
  justify-content: space-between; padding: 14px 28px; gap: 16px;
}
.collection-body { padding: 28px 28px 48px; }
.collection-section-title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.collection-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px;
}
.collection-card {
  position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  cursor: pointer; background-size: cover; background-position: center top;
  background-color: #374151; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.collection-card:hover {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.collection-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.48) 0%, rgba(17,24,39,0.06) 50%, transparent 100%);
}
.collection-card-title {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3;
}
.collection-card-sub {
  position: absolute; left: 14px; right: 14px; bottom: 34px; z-index: 2;
  color: rgba(255,255,255,0.82); font-size: 11px;
}
.collection-card.portrait-card { background-position: center 15%; }

.collection-hero-kicker {
  font-size: var(--brand-ui-size);
  font-weight: var(--brand-ui-weight);
  line-height: var(--brand-ui-line);
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.88;
  margin-bottom: 8px;
}
.collection-card-caption {
  position: absolute; left: 14px; right: 14px; bottom: 38px; z-index: 2;
  color: rgba(255,255,255,0.86); font-size: 11px; line-height: 1.35;
}
.collection-card--topic .collection-card-title { bottom: 12px; }

.collection-grid--voice { grid-template-columns: repeat(3, 1fr); }
.voice-card {
  aspect-ratio: 16 / 13; min-height: 168px;
  background-position: center 20%;
}
.voice-card .collection-card-sub { bottom: 36px; font-size: 10px; }
.voice-card .collection-card-title { bottom: 14px; font-size: 13px; }
.voice-card .collection-card-quote {
  position: absolute; left: 12px; right: 12px; top: 52px; bottom: 58px; z-index: 2;
  color: rgba(255,255,255,0.9); font-size: 11px; line-height: 1.4;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
  font-style: italic;
}
.collection-sources { list-style: none; padding: 0; margin: 0 0 24px; font-size: 13px; }
.collection-sources a { color: #0066cc; text-decoration: none; }
.collection-sources a:hover { text-decoration: underline; }
.collection-sources li { margin-bottom: 8px; }

/* —— Home fork: drie ingangen —— */
body.home-fork > header { display: none !important; }
body.home-fork #container { height: 100vh; }
body.home-fork #chart,
body.home-fork #home-bottom,
body.home-fork #hide-panel,
body.home-fork #history-btn,
body.home-fork .viz-header { display: none !important; }
body.home-fork #viz { border-right: 0; }
body.home-fork #home-fork { flex: 1; min-height: 0; overflow: auto; padding: 0; }
.fork-doors {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 100vh;
}
.fork-doors--three { grid-template-columns: 1fr 1fr 1fr; }
.fork-door { cursor: pointer; min-height: 280px; }
.fork-door:focus-visible { outline: 2px solid var(--wef-blue); outline-offset: -2px; }
.fork-hero { height: 100%; min-height: 100vh; border-radius: 0; }
.fork-door-enter {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.fork-door:hover .fork-door-enter,
.fork-door:focus-visible .fork-door-enter { opacity: 0.85; }
@media (hover: none) {
  .fork-door-enter { opacity: 0.75; }
}
/* Pool-kicker merkdelen — gedeeld header / walk / fork / nav */
.kicker-brand {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.kicker-brand--matrix { color: var(--brand-kicker-matrix); }
.kicker-brand--versus { color: var(--brand-kicker-versus); }
.kicker-brand--one { color: var(--brand-kicker-one); }

.walk-film-kicker-link--one,
.walk-film-kicker-link--versus,
.walk-film-kicker-link--matrix {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 1;
}

.walk-film-kicker-link--matrix,
.walk-film-kicker-link--matrix .kicker-brand--matrix,
.walk-film-overlay .kicker-brand--matrix,
.hero-text-stack .kicker-brand--matrix,
.collection-hero-kicker .kicker-brand--matrix {
  color: var(--matrix-blue-fluor, #22d3ee);
}

.walk-film-kicker-link--matrix:hover,
.walk-film-kicker-link--matrix:focus-visible {
  color: var(--matrix-blue-light, #a5f3fc);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
}

.walk-film-kicker--static {
  cursor: default;
  pointer-events: none;
}

/* —— Versus index —— */
.versus-visions-hero,
.versus-vision-hero {
  min-height: min(52vh, 480px);
}
.versus-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.versus-vision-card {
  position: relative;
  min-height: 168px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.versus-vision-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.88) 0%, rgba(17,24,39,0.2) 60%, transparent 100%);
}
.versus-vision-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.versus-vision-card:focus-visible {
  outline: 2px solid var(--wef-blue);
  outline-offset: 2px;
}
.versus-vision-card-kicker,
.versus-vision-card-title {
  position: relative;
  z-index: 1;
  color: #fff;
}
.versus-vision-card-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.versus-vision-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.vision-empty-hint,
.vision-archive-hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 16px;
}
.collection-section-subtitle {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 12px;
}
.versus-archive { border-top: 1px solid var(--border); padding-top: 28px; }
.versus-index-hero {
  height: min(72vh, 640px); min-height: 280px;
}
.versus-index-hero.walk-film-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.9) 0%, rgba(17,24,39,0.25) 55%, transparent 100%);
}
.versus-index .walk-film-deepen-panel {
  border-top: 1px solid var(--border);
}
.versus-index-body {
  padding: 28px 28px 48px; max-width: 1200px; margin: 0 auto;
}
.theme-index-body .unit.haak .topic-intro {
  max-width: 56ch;
}
.versus-section { margin-bottom: 36px; }
.versus-section:last-child { margin-bottom: 0; }
.versus-portrait-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px;
}
.versus-portrait-card {
  cursor: pointer; border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; background: #fff; transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.versus-portrait-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px);
}
.versus-portrait-card:focus-visible {
  outline: 2px solid var(--wef-blue); outline-offset: 2px;
}
.versus-portrait-drawn {
  width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: center;
  display: block;
  background: #f5f5f1;
}
.versus-portrait-meta {
  padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px;
}
.versus-portrait-meta strong { font-size: 13px; line-height: 1.3; }
.versus-portrait-meta span {
  font-size: 11px; color: var(--muted); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.versus-film-card {
  cursor: pointer; border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; background: #fff; transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.versus-film-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px);
}
.versus-film-card:focus-visible {
  outline: 2px solid var(--wef-blue); outline-offset: 2px;
}
.versus-film-poster {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  background: #e5e7eb;
}
body[data-brand="versus"] .versus-index-hero::after {
  background: linear-gradient(to top, rgba(17,24,39,0.92) 0%, rgba(17,24,39,0.3) 55%, transparent 100%);
}

/* —— Pole accent colours —— */
body[data-pole="one"] { --accent: #b45309; }
body[data-pole="one"] .pole-toggle a.active { color: #b45309; }
body[data-pole="one"] .wef-logo::after {
  background: linear-gradient(to right, #b45309, #fbbf24);
}
body[data-pole="one"] .badge.documented { background: #fef3c7; color: #92400e; }

body[data-brand="versus"] .wef-logo::after {
  background: linear-gradient(to right, #4b5563, #9ca3af);
}

/* —— Vandaag strip —— */
.vandaag-strip {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 4px;
  background: #eff6ff; border: 1px solid #bfdbfe; font-size: 13px; line-height: 1.45;
}
.vandaag-strip--one { background: #fffbeb; border-color: #fde68a; }
.vandaag-label {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.vandaag-text { margin: 0; color: var(--text); }
.vandaag-link {
  background: none; border: 0; padding: 0; font: inherit; color: #0066cc;
  cursor: pointer; text-align: left; text-decoration: underline;
}

/* —— Walk als film / hero-carrousel —— */
body.walk-film-mode #container { display: none !important; }
/* —— Discover index —— */
.discover-index {
  max-width: 960px; margin: 0 auto; padding: 24px 28px 48px;
}
.discover-toolbar { margin-bottom: 20px; }
#discover-search {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 12px 14px; font-size: 15px; font-family: inherit;
  background: #fff; min-height: 44px;
}
#discover-search:focus { outline: none; border-color: #0066cc; }
.discover-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.discover-tag {
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
  cursor: pointer; font-family: inherit; color: var(--muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.discover-tag:hover { border-color: #0066cc; color: #0066cc; }
.discover-tag.active {
  border-color: #0066cc; background: #eff6ff; color: #0066cc;
}
.discover-meta { margin-bottom: 16px; }
.discover-count {
  margin: 0; font-size: 12px; color: var(--muted); letter-spacing: 0.3px;
}
.discover-list { display: flex; flex-direction: column; gap: 10px; }
.discover-item {
  display: flex; gap: 14px; align-items: stretch;
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
  cursor: pointer; overflow: hidden; text-align: left;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.discover-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.07); transform: translateY(-1px);
}
.discover-item:focus-visible {
  outline: 2px solid var(--wef-blue); outline-offset: 2px;
}
.discover-item-thumb {
  flex: 0 0 112px; width: 112px; min-height: 72px;
  background-size: cover; background-position: center;
  background-color: #374151;
}
.discover-item-body {
  flex: 1; min-width: 0; padding: 12px 14px 12px 0;
  display: flex; flex-direction: column; gap: 4px; justify-content: center;
}
.discover-item-title { font-size: 14px; line-height: 1.35; }
.discover-item-sub { font-size: 12px; color: var(--muted); line-height: 1.4; }
.discover-item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.discover-item-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px; background: #f3f4f6; color: #4b5563;
}
.discover-empty {
  margin: 24px 0; color: var(--muted); font-size: 14px; text-align: center;
}
body.discover-index-mode #collection { display: block !important; }
body.discover-index-mode #container { display: none !important; }
body.monitor-versus-mode #panel { border-left-color: rgba(255,255,255,0.08); }

.versus-monitor-viz {
  position: absolute;
  inset: 52px 0 0 0;
  z-index: 12;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 12px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.versus-monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}
.versus-monitor-node {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-color: #1f2937;
  text-align: left;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.versus-monitor-node::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.92) 0%, rgba(17,24,39,0.35) 45%, rgba(17,24,39,0.08) 100%);
  pointer-events: none;
}
.versus-monitor-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.versus-monitor-node.on {
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,102,204,0.35);
}
.versus-monitor-node-body {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
  pointer-events: none;
}
.versus-monitor-node-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.versus-monitor-node-sub {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 500;
  opacity: 0.82;
  line-height: 1.3;
}
.versus-monitor-node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.versus-monitor-tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(3px);
}
.walk-film {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
}
.walk-film-frame {
  height: min(72vh, 640px); min-height: 280px; background-size: cover;
  background-position: center; position: relative; background-color: #111827;
}
.walk-film-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.9) 0%, rgba(17,24,39,0.25) 55%, transparent 100%);
}
.walk-film-overlay {
  position: absolute;
  left: var(--walk-gutter, 28px);
  bottom: 28px;
  right: 88px;
  z-index: 2;
  color: #fff;
  height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.walk-film-dots-wrap {
  width: 100%;
  flex-shrink: 0;
}
.walk-film-overlay-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 0;
  flex: 1;
}
.walk-film-overlay--dive .walk-film-caption { max-width: calc(100% - 148px); }
.walk-film-kicker {
  font-size: var(--brand-ui-size);
  font-weight: var(--brand-ui-weight);
  line-height: var(--brand-ui-line);
  text-transform: none;
  letter-spacing: 0.02em;
  opacity: 0.92;
  margin: 0 0 6px;
}

.walk-film-kicker-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  text-transform: uppercase;
}

.walk-film-kicker-line .walk-film-kicker-link {
  display: inline;
  margin: 0;
  opacity: 1;
}

.kicker-trail {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.kicker-separator {
  margin: 0 0.38em;
}
.walk-film-kicker-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.walk-film-kicker-link:hover,
.walk-film-kicker-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 1;
}
.walk-film-kicker-topic {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.walk-film-kicker-topic:hover,
.walk-film-kicker-topic:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}
.walk-film-title-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
}
.walk-film-title-row .walk-film-title { margin: 0; flex: 1; min-width: 0; }
.walk-film-title-row--enter { flex-direction: column; align-items: flex-start; gap: 8px; }
.walk-film-title { font-size: 28px; margin: 0 0 10px; letter-spacing: -0.3px; }
.walk-film-enter-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.58);
  background: transparent;
  color: rgba(255,255,255,0.92);
  font: 500 14px/1.4 inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.walk-film-enter-link span {
  font-size: 17px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.walk-film-enter-link:hover,
.walk-film-enter-link:focus-visible {
  border-color: #fff;
  color: #fff;
  outline: none;
}
.walk-film-enter-link:hover span,
.walk-film-enter-link:focus-visible span {
  transform: translateX(3px);
}
.walk-film-caption {
  font-size: 19px; line-height: 1.55; margin: 0; max-width: 56ch;
  opacity: 0.95; font-weight: 400;
}
.walk-film-dots--overlay { margin: 0; }
.walk-film-dots--hoofdplaat .walk-film-dot { opacity: 0.55; }
.walk-film-overlay .walk-film-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255,255,255,0.35);
  transition: width 0.2s ease, background 0.2s ease;
}
.walk-film-overlay .walk-film-dot.on {
  width: 22px; background: rgba(255,255,255,0.95);
}
.walk-film-overlay .walk-film-dot:hover { background: rgba(255,255,255,0.7); }
.walk-film-ghost {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(17,24,39,0.35);
  color: rgba(255,255,255,0.92); font-size: 18px; line-height: 1; cursor: pointer;
  backdrop-filter: blur(4px);
}
.walk-film-ghost:hover {
  background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.55);
}
.walk-film-ghost--prev { left: 16px; }
.walk-film-ghost--next { right: 16px; }
.walk-film--bridge .walk-film-frame {
  min-height: min(52vh, 420px);
}
.walk-film-overlay--bridge {
  align-items: flex-end;
  justify-content: flex-start;
}
.walk-film--bridge .walk-film-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  opacity: 0.92;
}
.carousel-bridge-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 14px;
  max-width: 420px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(8,10,16,0.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
  text-align: left;
}
.carousel-bridge-preview:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(8,10,16,0.68);
}
.carousel-bridge-preview-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
}
.carousel-bridge-preview-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.carousel-bridge-preview-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.carousel-bridge-preview-title {
  font-size: 15px;
  line-height: 1.25;
  color: #fff;
}
.carousel-bridge-preview-cta {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}
.walk-film-bar {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 12px 24px 0; flex-wrap: wrap;
}
.walk-film-dots { display: flex; align-items: center; gap: 6px; }
.walk-film-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--border); cursor: pointer;
}
.walk-film-dot.on { background: var(--wef-blue); }
.walk-film-btn {
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--border);
  background: #fff; border-radius: 4px; font-size: 13px; cursor: pointer;
}
.walk-film-btn--primary { background: var(--wef-blue); color: #fff; border-color: var(--wef-blue); }
.walk-film-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; flex: 1; }
.walk-film-deepen-panel {
  padding: 28px var(--walk-gutter, 28px) 48px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
/* —— Pole terminal tokens (matrix / one) —— */
.walk-film--matrix,
.pole-overview--matrix {
  --pole-terminal-surface: #101316;
  --pole-terminal-accent: #34d399;
  --pole-terminal-accent-glow: rgba(52, 211, 153, 0.65);
  --pole-terminal-text: #a5f3fc;
  --pole-terminal-text-bright: #22d3ee;
  --pole-terminal-text-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
  --pole-terminal-border: rgba(34, 211, 238, 0.32);
  --pole-terminal-scanline: rgba(0, 0, 0, 0.28);
  --pole-terminal-panel-shadow: 3px 5px 18px rgba(16, 19, 22, 0.28), 0 0 14px rgba(34, 211, 238, 0.08);
  --pole-terminal-header: rgba(103, 232, 249, 0.75);
  --pole-terminal-radial-a: rgba(34, 211, 238, 0.08);
  --pole-terminal-radial-b: rgba(2, 132, 199, 0.12);
  --pole-terminal-tag-shadow: rgba(34, 211, 238, 0.1);
  --pole-terminal-src: #ffffff;
  --pole-terminal-src-label: rgba(255, 255, 255, 0.65);
  --pole-terminal-src-link: #ffffff;
  --pole-section-title: #336699;
  --pole-card-bg: #ffffff;
  --pole-card-radius: 0;
  --pole-card-shadow: none;
  --pole-deepen-border: rgba(148, 163, 184, 0.35);
  --pole-hook-header-border: rgba(148, 163, 184, 0.28);
}

.walk-film--one,
.pole-overview--one {
  --pole-terminal-surface: #ffffff;
  --pole-terminal-accent: #d97706;
  --pole-terminal-accent-glow: rgba(217, 119, 6, 0.45);
  --pole-terminal-text: #1a3d32;
  --pole-terminal-text-bright: #b45309;
  --pole-terminal-text-shadow: none;
  --pole-terminal-border: rgba(217, 119, 6, 0.22);
  --pole-terminal-scanline: rgba(0, 0, 0, 0.035);
  --pole-terminal-panel-shadow: 3px 5px 16px rgba(17, 24, 39, 0.06);
  --pole-terminal-header: rgba(4, 120, 87, 0.82);
  --pole-terminal-radial-a: rgba(52, 211, 153, 0.06);
  --pole-terminal-radial-b: rgba(217, 119, 6, 0.05);
  --pole-terminal-tag-shadow: rgba(52, 211, 153, 0.08);
  --pole-terminal-src: #64748b;
  --pole-terminal-src-label: #94a3b8;
  --pole-terminal-src-link: #047857;
  --pole-section-title: #047857;
  --pole-card-bg: #ffffff;
  --pole-card-radius: 0;
  --pole-card-shadow: none;
  --pole-deepen-border: rgba(120, 140, 120, 0.35);
  --pole-hook-header-border: rgba(120, 140, 120, 0.28);
}

body[data-pole="one"] { --bg: #e8ebe6; }

.walk-film--matrix .walk-film-deepen-panel,
.walk-film--one .walk-film-deepen-panel {
  max-width: none;
  padding-top: 0;
  border-top: none;
}

/* Hook-cards flush onder hero — full bleed 50/50, kantlijn = --walk-gutter */
.walk-film--matrix .walk-film-deepen-panel > .pole-overview > .pole-overview-hook,
.walk-film--one .walk-film-deepen-panel > .pole-overview > .pole-overview-hook {
  width: calc(100% + 2 * var(--walk-gutter, 28px));
  max-width: none;
  margin-left: calc(-1 * var(--walk-gutter, 28px));
  margin-right: calc(-1 * var(--walk-gutter, 28px));
  margin-top: 0;
  border-top: 1px solid var(--bg);
  box-sizing: border-box;
}
.walk-film--matrix .pole-overview-hook-grid {
  gap: 0;
}
.walk-film--one .pole-overview-hook-grid {
  gap: 4px;
}

/* Flush hook/onderbouwing — tekst in cards op kantlijn (padding op hook/stack) */
.walk-film--matrix .walk-film-deepen-panel > .pole-overview > .pole-overview-hook .pole-overview-hook-grid,
.walk-film--one .walk-film-deepen-panel > .pole-overview > .pole-overview-hook .pole-overview-hook-grid,
.walk-film--matrix .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-grid,
.walk-film--one .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-grid {
  padding-inline: 0;
}
.walk-film--matrix .walk-film-deepen-panel > .pole-overview > .pole-overview-hook .pole-overview-hook-panel--lede,
.walk-film--one .walk-film-deepen-panel > .pole-overview > .pole-overview-hook .pole-overview-hook-panel--lede,
.walk-film--matrix .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-panel--lede,
.walk-film--one .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-panel--lede {
  padding-left: var(--walk-gutter, 28px);
  padding-right: 24px;
}
.walk-film--matrix .walk-film-deepen-panel > .pole-overview > .pole-overview-hook .pole-overview-hook-panel--quote,
.walk-film--one .walk-film-deepen-panel > .pole-overview > .pole-overview-hook .pole-overview-hook-panel--quote,
.walk-film--matrix .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-panel--quote,
.walk-film--one .walk-film-deepen-panel > .fact-card-stack .pole-overview-hook-panel--quote {
  padding-right: var(--walk-gutter, 28px);
}

/* Pole deepen — kaartvlak per kant (matrix + one vierkant) */
.pole-overview--matrix .pole-overview-hook-panel--lede {
  background: var(--pole-card-bg, #ffffff);
  border: none;
  border-radius: var(--pole-card-radius, 0);
  box-shadow: var(--pole-card-shadow, none);
}
.pole-overview--one .pole-overview-hook-panel--lede {
  background: var(--pole-card-bg, #ffffff);
  border: none;
  border-radius: var(--pole-card-radius, 0);
  box-shadow: var(--pole-card-shadow, none);
}
.pole-overview--matrix .pole-overview-hook-header,
.pole-overview--one .pole-overview-hook-header {
  border-bottom-color: var(--pole-hook-header-border);
}
.pole-overview--matrix .pole-theme-card,
.pole-overview--matrix .pole-topic-card,
.pole-overview--matrix .versus-vision-card,
.pole-overview--one .pole-theme-card,
.pole-overview--one .pole-topic-card {
  border: none;
}
.pole-overview--matrix .pole-theme-card:hover,
.pole-overview--matrix .pole-topic-card:hover,
.pole-overview--matrix .versus-vision-card:hover,
.pole-overview--one .pole-theme-card:hover,
.pole-overview--one .pole-topic-card:hover {
  box-shadow: none;
}

/* —— Matrix / One pole overview (hoofdplaat deepen) —— */
.pole-overview { margin: 0; }
.pole-overview-hook { margin-bottom: 36px; }
.pole-overview-hook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pole-overview-hook-grid--solo { grid-template-columns: 1fr; }
.pole-overview--matrix .pole-overview-hook-panel {
  border-radius: var(--pole-card-radius, 0);
  box-shadow: var(--pole-card-shadow, none);
}
.pole-overview--one .pole-overview-hook-panel {
  border-radius: var(--pole-card-radius, 0);
  box-shadow: var(--pole-card-shadow, none);
}
.pole-overview-hook-panel {
  position: relative;
  min-height: 168px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
}
.pole-overview-hook-panel--lede {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 3px 5px 16px rgba(17, 24, 39, 0.08), 1px 2px 4px rgba(17, 24, 39, 0.04);
}
.pole-overview-hook-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #f1f5f9;
}
.pole-overview-hook-tag {
  font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 102, 204, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}
.pole-overview--matrix .pole-overview-hook-tag--terminal,
.pole-overview--one .pole-overview-hook-tag--terminal {
  color: var(--pole-terminal-text);
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0px, rgba(0, 0, 0, 0.28) 1px, transparent 1px, transparent 3px),
    var(--pole-terminal-surface);
  border: 1px solid var(--pole-terminal-border);
  box-shadow: 0 0 8px var(--pole-terminal-tag-shadow);
  text-shadow: 0 0 10px var(--pole-terminal-glow);
  padding: 3px 8px;
}
.pole-overview--versus .pole-overview-hook-tag {
  color: #6d28d9;
  background: rgba(109, 40, 217, 0.08);
}
.pole-overview-hook-kicker {
  font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.pole-overview-hook-scope {
  margin-left: auto;
  font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
}
.pole-overview-hook-panel--quote {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border: 1px solid rgba(0, 102, 204, 0.24);
  box-shadow: 3px 5px 16px rgba(0, 102, 204, 0.12), 1px 2px 4px rgba(0, 102, 204, 0.06);
}
.pole-overview-lede {
  font-size: 15.5px;
  line-height: 1.62;
  color: #1f2937;
  margin: 0;
}
.pole-overview-quote-block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 0;
  background: transparent;
}
.pole-overview-hook-panel.pole-overview-quote-block {
  border-radius: 10px;
}
.pole-overview--matrix .pole-overview-hook-panel.pole-overview-quote-block {
  border-radius: var(--pole-card-radius, 0);
}
.pole-overview--one .pole-overview-hook-panel.pole-overview-quote-block {
  border-radius: var(--pole-card-radius, 0);
}
.pole-overview--versus .pole-overview-hook-panel--quote {
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid rgba(109, 40, 217, 0.24);
  box-shadow: 3px 5px 16px rgba(109, 40, 217, 0.12);
}

/* —— Pole terminal / ASCII scherm voor hoofdcitaat —— */
.pole-overview--matrix .pole-overview-hook-panel--quote,
.pole-overview--one .pole-overview-hook-panel--quote {
  background:
    radial-gradient(ellipse at 40% 0%, var(--pole-terminal-radial-a) 0%, transparent 70%),
    radial-gradient(ellipse at 90% 100%, var(--pole-terminal-radial-b) 0%, transparent 60%),
    repeating-linear-gradient(180deg, var(--pole-terminal-scanline) 0px, var(--pole-terminal-scanline) 1px, transparent 1px, transparent 3px),
    var(--pole-terminal-surface);
  border: none;
  box-shadow: none;
  padding: 22px 24px 22px 30px;
}
.pole-overview--matrix .pole-overview-hook-panel--quote::after,
.pole-overview--one .pole-overview-hook-panel--quote::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--pole-terminal-accent);
  box-shadow: 0 0 12px var(--pole-terminal-accent-glow);
  border-radius: 0;
  pointer-events: none;
}
.pole-overview--matrix .pole-overview-hook-panel--quote::before,
.pole-overview--one .pole-overview-hook-panel--quote::before {
  display: block;
  font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--pole-terminal-header);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.pole-overview--matrix .pole-overview-hook-panel--quote::before {
  content: "┌── [ SYS_REC // 6G-GRID SPECIFICATION ] ─────────────────────────";
}
.pole-overview--one .pole-overview-hook-panel--quote::before {
  content: "┌── [ SYS_REC // LIVING-POOL SPECIFICATION ] ──────────────────────";
}
.pole-overview--matrix .pole-overview-quote,
.pole-overview--one .pole-overview-quote {
  font-size: 14px;
  line-height: 1.68;
  font-style: normal;
  color: var(--pole-terminal-text);
  text-shadow: var(--pole-terminal-text-shadow);
  letter-spacing: 0.015em;
  margin: 0 0 14px;
}
.pole-overview--matrix .pole-overview-quote {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
}
.pole-overview--one .pole-overview-quote {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.62;
  font-style: italic;
  letter-spacing: 0.01em;
}
.pole-overview--matrix .pole-overview-quote::before,
.pole-overview--one .pole-overview-quote::before {
  content: "> ";
  color: var(--pole-terminal-text-bright);
  margin-right: 2px;
}
.pole-overview--matrix .pole-overview-quote::after,
.pole-overview--one .pole-overview-quote::after {
  content: none;
  display: none;
}
.pole-overview--one .pole-overview-quote::before {
  font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace;
  font-style: normal;
}
.pole-overview--matrix .pole-overview-quote--typewriter:not(.pole-overview-quote--typed)::after,
.pole-overview--one .pole-overview-quote--typewriter:not(.pole-overview-quote--typed)::after {
  content: "█";
  display: inline-block;
  font-size: 11px;
  color: var(--pole-terminal-text-bright);
  vertical-align: baseline;
}
.pole-overview--one .pole-overview-quote--typewriter:not(.pole-overview-quote--typed)::after {
  font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace;
  font-style: normal;
}
.pole-overview--matrix .pole-overview-quote-source,
.pole-overview--one .pole-overview-quote-source { display: none; }
.pole-overview--matrix .pole-overview-hook-panel--quote .quote-src,
.pole-overview--one .pole-overview-hook-panel--quote .quote-src {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--pole-terminal-src);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pole-overview--matrix .pole-overview-hook-panel--quote .quote-src::before,
.pole-overview--one .pole-overview-hook-panel--quote .quote-src::before {
  content: "└── BRON:";
  color: var(--pole-terminal-src-label);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.pole-overview--matrix .pole-overview-hook-panel--quote .quote-src a,
.pole-overview--one .pole-overview-hook-panel--quote .quote-src a {
  color: var(--pole-terminal-src-link);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--pole-terminal-src-link) 50%, transparent);
  transition: color 0.15s ease, text-decoration-color 0.15s ease, text-shadow 0.15s ease;
}
.pole-overview--matrix .pole-overview-hook-panel--quote .quote-src a:hover,
.pole-overview--one .pole-overview-hook-panel--quote .quote-src a:hover {
  color: var(--pole-terminal-src-link);
  text-decoration-color: var(--pole-terminal-src-link);
  text-shadow: 0 0 10px color-mix(in srgb, var(--pole-terminal-src-link) 60%, transparent);
}
.pole-overview-quote {
  font-size: 15px;
  line-height: 1.58;
  margin: 0 0 8px;
  font-style: italic;
  color: #111827;
}
.pole-overview-hook-panel .quote-src {
  margin-bottom: 0;
  font-size: 11px;
}
.pole-overview-section { margin-bottom: 36px; }
.pole-overview-section:last-child { margin-bottom: 0; }

/* Pole deepen — sectietitels */
.pole-overview--matrix .pole-overview-section[class*="--layer-"] .collection-section-title,
.pole-overview--one .pole-overview-section[class*="--layer-"] .collection-section-title {
  color: var(--pole-section-title);
}

.pole-theme-grid,
.pole-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pole-theme-card,
.pole-topic-card {
  position: relative;
  min-height: 168px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.pole-topic-card { min-height: 184px; }
.pole-theme-card::after,
.pole-topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.9) 0%, rgba(17,24,39,0.25) 55%, transparent 100%);
}
.pole-theme-card:hover,
.pole-topic-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.pole-theme-card:focus-visible,
.pole-topic-card:focus-visible {
  outline: 2px solid var(--wef-blue);
  outline-offset: 2px;
}
.pole-overview--one .pole-theme-card:focus-visible,
.pole-overview--one .pole-topic-card:focus-visible {
  outline-color: #b45309;
}
.pole-theme-card-kicker,
.pole-theme-card-title,
.pole-topic-card-kicker,
.pole-topic-card-title,
.pole-topic-card-line {
  position: relative;
  z-index: 1;
  color: #fff;
}
.pole-theme-card-kicker,
.pole-topic-card-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.pole-theme-card-title,
.pole-topic-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.pole-topic-card-line {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.88;
  margin-top: 6px;
  font-weight: 400;
}

.pole-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.walk-film-deepen-panel .unit { margin-bottom: 22px; }
.walk-film-deepen-panel .unit:last-child { margin-bottom: 0; }
.walk-film-deepen-panel .unit h3 {
  font-size: 11px; letter-spacing: 0.75px; margin-bottom: 10px; color: #6b7280;
}
.walk-film-deepen-panel .unit.haak h3 { color: #0066cc; }
.walk-film-deepen-panel .topic-intro,
.walk-film-deepen-panel .scene-fact {
  font-size: 16px; line-height: 1.62; color: #374151; margin-bottom: 0;
}
.walk-film-deepen-panel .fact-card .scene-fact { margin-bottom: 14px; }
.walk-film-deepen-panel .quote {
  font-size: 16px; line-height: 1.58; margin-bottom: 12px;
}
.walk-film-deepen-panel .quote-src { font-size: 13px; margin-bottom: 0; }
.walk-film-deepen-panel .chips { margin-top: 4px; }

/* —— Sound mute —— */
.sound-mute {
  position: absolute; right: 12px; bottom: 12px; z-index: 40;
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.92); border-radius: 4px; font-size: 12px; cursor: pointer;
}
.sound-mute.hidden { display: none; }
body.home-discover .sound-mute,
body.home-fork .sound-mute { display: none; }

/* —— Dual-pole portrait toggle —— */
.portrait-pole-toggle {
  display: flex; align-items: center; gap: 4px; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
}
.portrait-pole-btn {
  background: none; border: 0; padding: 6px 4px; min-height: 44px;
  color: var(--muted); cursor: pointer; font: inherit;
}
.portrait-pole-btn.active { color: var(--wef-blue); }

/* —— Stemmen voice cards —— */
.voice-card-inner {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 12px 14px;
}
.voice-card-name {
  position: relative; z-index: 2; color: #fff; font-size: 14px; font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.voice-card-quote {
  position: absolute; left: 12px; right: 12px; top: 48px; bottom: 52px; z-index: 2;
  margin: 0; padding: 0; border: 0; color: rgba(255,255,255,0.92);
  font-size: 13px; line-height: 1.45; font-style: italic;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.voice-card-sub {
  position: relative; z-index: 2; color: rgba(255,255,255,0.78); font-size: 10px; margin-top: 4px;
}
.voice-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(17,24,39,0.88) 0%, rgba(17,24,39,0.35) 50%, rgba(17,24,39,0.15) 100%);
}

.topic-page { max-width: 920px; margin: 0 auto; }
.topic-hero { border-radius: 0; }
.topic-body { padding: 0 28px 48px; }

#home-bottom {
  background: var(--panel-bg);
  border-top: 1px solid var(--border);
  padding: 12px 24px 18px;
}
#home-bottom.hidden { display: none; }
#home-gids { margin-bottom: 10px; }
#home-gids .home-gids-hint { margin: 6px 0 8px; }
.home-actions--strip {
  margin-top: 8px; padding-top: 0; border-top: 0;
}

body.home-discover #container { flex-direction: column; }
body.home-discover #viz {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  border-right: 0; overflow: hidden;
}
body.home-discover #chart { flex: 1; min-height: 220px; width: 100%; }
body.home-discover #panel { display: none !important; width: 0; }
body.home-discover #hide-panel { display: none; }
body.home-discover .viz-header,
body.home-discover #history-btn { display: none; }
body.home-discover .home-rail { margin-bottom: 10px; }
body.home-discover .home-rail:last-child { margin-bottom: 0; }
body.home-discover .home-rail-track { padding-bottom: 4px; }

.portrait-page { max-width: 820px; margin: 0 auto; padding: 0 28px 48px; }
.portrait-header {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0 20px; border-bottom: 1px solid var(--border);
  height: auto;
  min-height: 0;
  background: transparent;
  border-top: 0;
  position: static;
  z-index: auto;
}
.portrait-photo {
  width: 140px; height: 140px; object-fit: cover; border-radius: 4px;
  flex-shrink: 0; background: #e5e7eb;
}
.portrait-meta h1 { font-size: 26px; margin: 8px 0 4px; letter-spacing: -0.3px; }
.portrait-role { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin: 0; }
.portrait-credit { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.portrait-credit a { color: inherit; }
.portrait-body { padding-top: 8px; }
.portrait-body .unit { margin-top: 20px; }
.portrait-quote { margin: 0 0 16px; }
.portrait-quote blockquote.quote { margin: 0 0 6px; }
.video-list { list-style: none; padding: 0; margin: 0; }
.video-list li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.video-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.video-list a { font-weight: 600; color: #0066cc; text-decoration: none; }
.video-list a:hover { text-decoration: underline; }
.book-list .book-title { font-weight: 600; }
.video-note { font-size: 12px; color: var(--muted); margin-top: 3px; }
.video-link { font-size: 13px; margin: 0 0 14px; line-height: 1.5; }
.video-link a { font-weight: 600; color: #0066cc; text-decoration: none; }
.video-link a:hover { text-decoration: underline; }
.portrait-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 4px; margin: 0 0 12px; background: #111827;
}
.portrait-embed iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

.film-page { max-width: 920px; margin: 0 auto; }
.film-hero {
  height: 420px; background-size: cover; background-position: center;
  position: relative; background-color: #111827;
}
.film-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.85) 0%, rgba(17,24,39,0.2) 55%, transparent 100%);
}
.film-hero-overlay {
  position: absolute; left: 28px; bottom: 28px; right: 28px; z-index: 2; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.film-hero-overlay h1 { font-size: 28px; margin: 6px 0 4px; letter-spacing: -0.3px; }
.film-kind { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; opacity: 0.85; margin: 0; }
.film-meta { font-size: 14px; opacity: 0.9; margin: 0; }
.film-credit { font-size: 11px; opacity: 0.7; margin: 8px 0 0; }
.film-body { padding: 0 28px 48px; }
.kern-list { margin: 0; padding-left: 18px; line-height: 1.55; font-size: 14px; }
.kern-list li { margin-bottom: 8px; }
.episode-list { list-style: none; padding: 0; margin: 0; }
.episode-item { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.episode-item:last-child { border-bottom: 0; }
.episode-item .chips { margin-top: 8px; }

@media (max-width: 1100px) {
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid--voice { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .versus-vision-grid { grid-template-columns: repeat(2, 1fr); }
  .fork-doors, .fork-doors--three { grid-template-columns: 1fr; }
  .fork-hero, .fork-door { min-height: 42vh; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-grid--voice { grid-template-columns: repeat(2, 1fr); }
  .collection-hero { height: 280px; }
  .collection-hero-text { left: 20px; bottom: 24px; right: 20px; max-width: none; }
  .collection-hero-text h1 { font-size: 24px; }
  .collection-hero-text p { font-size: 14px; line-height: 1.45; }
  .walk-film-frame { height: min(58vh, 480px); }
  :root { --walk-gutter: 16px; }
  .walk-film-overlay { right: 64px; bottom: 20px; height: 168px; }
  .walk-film-overlay--dive .walk-film-caption { max-width: 100%; padding-bottom: 52px; }
  .walk-film-enter-link { font-size: 13px; }
  .walk-film-title { font-size: 22px; }
  .walk-film-caption { font-size: 16px; }
  .walk-film-deepen-panel .topic-intro,
  .walk-film-deepen-panel .scene-fact,
  .walk-film-deepen-panel .quote { font-size: 15px; }
  .walk-film-bar { padding: 10px 16px 0; }
  .walk-film-ghost { width: 40px; height: 40px; font-size: 16px; }
  .walk-film-deepen-panel { padding: 16px var(--walk-gutter, 16px) 40px; }
  .walk-film--matrix .walk-film-deepen-panel,
  .walk-film--one .walk-film-deepen-panel { padding-top: 0; }
  .pole-overview-hook-grid,
  .pole-overview-hook-grid--solo { grid-template-columns: 1fr; }
  .fact-card-stack .pole-overview-hook-grid,
  .fact-card-stack .pole-overview-hook-grid--solo { grid-template-columns: 1fr; }
  .pole-overview-hook-panel { min-height: 0; }
  .pole-theme-grid,
  .pole-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .pole-quotes-grid { grid-template-columns: 1fr; }
  .film-hero, .topic-hero { height: 280px; }
  .film-hero-overlay { left: 20px; right: 20px; bottom: 20px; }
  .film-hero-overlay h1 { font-size: 24px; }
  .collection-back { padding: 10px 16px 0; }
  .collection-body { padding: 20px 16px 40px; }
  .portrait-page { padding: 0 16px 40px; }
  .film-body, .topic-body { padding: 0 16px 40px; }
  .portrait-header { flex-direction: column; align-items: center; text-align: center; }
  .portrait-photo { width: 120px; height: 120px; }
  .voice-card { min-height: 188px; }
  .voice-card-quote { top: 46px; bottom: 66px; -webkit-line-clamp: 3; }
}
@media (max-width: 480px) {
  .versus-vision-grid { grid-template-columns: 1fr; }
  .pole-theme-grid,
  .pole-topic-grid { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-grid--voice { grid-template-columns: 1fr; }
  .collection-hero { height: 240px; }
  .film-hero, .topic-hero { height: 240px; }
  .voice-card { min-height: 200px; aspect-ratio: auto; }
  body > header { flex-wrap: nowrap; }
  .wef-logo::after { width: 24px; }
  #search { width: 72px; }
}
