/* ==========================================================================
   Family Pahladsingh — v2
   Design system: "Daylight"
   Near-white paper, near-black ink, one terracotta accent
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Neutrals — near-black ink on warm off-white paper */
  --ink-rgb: 25 23 20;
  --light-rgb: 255 255 255;
  --ink-900: #191714;
  --ink-800: #232019;
  --ink-700: #322d25;
  --ink-600: #4a443a;

  --paper-50: #faf8f5;
  --paper-100: #f3f0ea;
  --paper-200: #e7e2da;
  --paper-300: #d6cfc4;

  --text-900: #191714;
  --text-700: #3a3630;
  --text-500: #6b6660;
  --text-300: #9a948c;

  --on-dark-900: #ffffff;
  --on-dark-600: #d9d5cf;
  --on-dark-400: #9c968e;

  /* Accent — terracotta, the single warm colour */
  --gold-600: #b64e2c;
  --gold-500: #c75b39;
  --gold-400: #e07a55;
  --gold-200: #f6e2da;
  --accent-deep: #b04a28;

  /* Secondary meanings */
  --henna-600: #b64e2c;
  --henna-400: #e07a55;
  --leaf-700: #2f6b52;
  --leaf-400: #4f9b78;

  /* Hero wash behind the photograph */
  --sky-1: #191714;
  --sky-2: #241f19;
  --sky-3: #3a2f26;
  --sky-4: #6d4f3c;
  --sky-5: #b06a45;

  /* Type */
  --font-display: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Space scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: none;
  --shadow-md: 0 24px 60px rgba(25, 23, 20, .1);

  --shell: 1160px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-700);
  background: var(--paper-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-900);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 var(--s-4);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-200); color: var(--text-900); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.shell--narrow { max-width: 760px; }

.section { padding-block: clamp(30px, 3.6vw, 48px); }
/* Twee blokken met dezelfde achtergrond lopen in elkaar over; daar mag de lucht ertussen kleiner.
   Bij een kleurwissel (wit naar papier naar donker) blijft de ruimte ruim, dat markeert de overgang. */
.section + .section:not(.section--paper):not(.section--dark),
.section--paper + .section--paper,
.section--dark + .section--dark { padding-top: clamp(18px, 2.2vw, 28px); }
.section--paper { background: var(--paper-100); }
.section--dark { background: var(--ink-900); color: var(--on-dark-600); }
.section--dark h2, .section--dark h3 { color: var(--on-dark-900); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--s-3);
  background: var(--ink-900);
  color: var(--on-dark-900);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: var(--s-4); }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  max-width: 120px;
}
.section--dark .eyebrow { color: var(--gold-400); }
.section--dark .eyebrow::after { background: linear-gradient(90deg, var(--gold-500), transparent); }

.display {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 72;
}

.h2 { font-size: clamp(28px, 3.6vw, 44px); }
.h3 { font-size: clamp(20px, 2vw, 26px); }

.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--text-500);
}
.section--dark .lede { color: var(--on-dark-600); }

.muted { color: var(--text-500); }
.small { font-size: 14px; line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold-500); color: var(--ink-900); }
.btn--gold:hover { background: var(--gold-400); }

.btn--ink { background: var(--ink-900); color: var(--on-dark-900); }
.btn--ink:hover { background: var(--ink-700); }

.btn--ghost {
  border-color: rgb(var(--light-rgb) / .35);
  color: var(--on-dark-900);
  background: rgb(var(--light-rgb) / .04);
}
.btn--ghost:hover { border-color: var(--on-dark-900); background: rgb(var(--light-rgb) / .1); }

.btn--ghost-ink {
  border-color: var(--paper-300);
  color: var(--text-900);
  background: transparent;
}
.btn--ghost-ink:hover { border-color: var(--text-900); }

.btn--sm { padding: 10px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  font-size: 15px;
  color: var(--henna-600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(var(--ink-rgb) / .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgb(var(--light-rgb) / .08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--on-dark-900);
  margin-right: auto;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.nav a {
  color: var(--on-dark-600);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--on-dark-900); border-bottom-color: var(--gold-500); }

.lang {
  display: flex;
  gap: var(--s-1);
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--on-dark-400);
}
.lang a { text-decoration: none; padding: 4px 6px; border-radius: var(--radius-sm); }
.lang a[aria-current="true"] { color: var(--ink-900); background: var(--gold-400); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    linear-gradient(165deg, var(--sky-1) 0%, var(--sky-2) 38%, var(--sky-3) 68%, var(--sky-4) 88%, var(--sky-5) 100%);
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  filter: grayscale(1) contrast(1.06) brightness(1.02);
  mix-blend-mode: luminosity;
  opacity: .62;
}
.hero__credit {
  margin: 0;
  padding-bottom: var(--s-4);
  text-align: right;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgb(var(--light-rgb) / .45);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgb(var(--ink-rgb) / .9) 8%, rgb(var(--ink-rgb) / .6) 48%, rgb(var(--ink-rgb) / .25) 80%),
    linear-gradient(0deg, rgb(var(--ink-rgb) / .8), transparent 42%);
}
.hero__inner {
  padding-block: clamp(80px, 13vw, 168px) clamp(40px, 6vw, 72px);
  max-width: 720px;
}
.hero .display { color: var(--on-dark-900); }
.hero .display em {
  font-style: italic;
  color: var(--gold-400);
  font-variation-settings: "SOFT" 20, "WONK" 1;
  padding-right: .07em; /* italic right bearing */
}
.hero__lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--on-dark-600);
  max-width: 56ch;
  margin-top: var(--s-5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
}

/* Stat strip */
.stats {
  border-top: 1px solid rgb(var(--light-rgb) / .12);
  background: rgb(var(--ink-rgb) / .55);
  backdrop-filter: blur(6px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding-block: var(--s-6) var(--s-5);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  color: var(--gold-400);
  font-variation-settings: "WONK" 1;
}
.stat__label {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-400);
  margin-top: var(--s-2);
}

.rm-doorlopend {
  margin: var(--s-5) 0 0; padding-left: var(--s-4); border-left: 2px solid var(--gold-500);
  font-size: 15px; line-height: 1.65; color: var(--text-500); max-width: 78ch;
}

/* Routekaart: de afgeronde fases ingeklapt, zodat je meteen ziet waar we nu staan. */
.fasesklaar { margin-bottom: var(--s-5); }
.fasesklaar > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 15px; font-weight: 500; color: var(--text-500);
  padding: var(--s-2) 0;
}
.fasesklaar > summary::-webkit-details-marker { display: none; }
.fasesklaar > summary::after { content: "+"; font-size: 19px; line-height: 1; color: var(--accent, #C75B39); }
.fasesklaar[open] > summary::after { content: "\2212"; }
.fasesklaar > summary:hover { color: var(--accent, #C75B39); }
.fasesklaar .phase:first-child { border-top: 0; }

/* ---------- Inhoudsopgave rechts ---------- */
.paginaindex {
  position: fixed; right: max(12px, calc((100vw - var(--shell)) / 2 - 168px)); top: 50%;
  transform: translateY(-50%); z-index: 20; width: 152px;
}
.paginaindex ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.paginaindex a {
  display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--paper-300);
  font-size: 13px; line-height: 1.35; color: var(--text-300); text-decoration: none;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.paginaindex a:hover { color: var(--text-900); border-left-color: var(--gold-500); }
.paginaindex a[aria-current="true"] {
  color: var(--accent, #C75B39); border-left-color: var(--accent, #C75B39); font-weight: 500;
}
.paginaindex__knop { display: none; }
/* zonder ruimte naast de tekst: een knopje rechtsonder dat de lijst uitklapt */
@media (max-width: 1480px) {
  .paginaindex {
    top: auto; bottom: 16px; right: 16px; transform: none;
    width: auto; max-width: calc(100vw - 32px);
    display: flex; flex-direction: column-reverse; align-items: flex-end; gap: var(--s-2);
  }
  .paginaindex__knop {
    display: inline-flex; align-items: center; gap: 8px;
    font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
    padding: 10px 16px; border-radius: var(--radius-pill);
    background: var(--paper-50); color: var(--text-900);
    border: 1px solid var(--paper-300); box-shadow: 0 6px 20px rgba(25, 23, 20, .12);
  }
  .paginaindex__knop::before { content: "\2630"; font-size: 15px; line-height: 1; color: var(--accent, #C75B39); }
  .paginaindex__knop:hover, .paginaindex.is-open .paginaindex__knop { border-color: var(--accent, #C75B39); }
  .paginaindex ul {
    display: none; width: 260px; max-width: 100%; max-height: 60vh; overflow-y: auto;
    padding: var(--s-3); background: var(--paper-50);
    border: 1px solid var(--paper-200); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  }
  .paginaindex.is-open ul { display: grid; }
  .paginaindex a { font-size: 14px; padding: 8px 0 8px 12px; }
}
@media print { .paginaindex { display: none; } }

/* ---------- Section head ---------- */
/* Kop en inleiding lopen over dezelfde breedte als de blokken eronder. */
.section-head { max-width: none; margin-bottom: var(--s-6); }
.section-head .h2 { max-width: none; }
.section-head .lede { margin-top: var(--s-4); max-width: none; }

/* ---------- Timeline ---------- */
.timeline + .timeline { margin-top: var(--s-5); }
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--s-5);
  counter-reset: step;
}
.tl-card {
  position: relative;
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  padding: var(--s-6) var(--s-5) var(--s-5);
  box-shadow: var(--shadow-sm);
}
.section--paper .tl-card { background: #fff; }
.tl-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--s-5);
  right: var(--s-5);
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--henna-400));
  border-radius: 0 0 3px 3px;
}
.tl-card__year {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--henna-600);
  margin-bottom: var(--s-2);
}
.tl-card h3 { font-size: 21px; margin-bottom: var(--s-3); }
.tl-card p { font-size: 15.5px; line-height: 1.6; color: var(--text-500); }
.tl-card dl {
  margin: var(--s-4) 0 0;
  padding-top: var(--s-4);
  border-top: 1px dashed var(--paper-300);
  font-size: 13px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px var(--s-3);
}
.tl-card dt { color: var(--text-300); letter-spacing: .04em; text-transform: uppercase; font-size: 11px; padding-top: 3px; }
.tl-card dd { margin: 0; color: var(--text-700); font-weight: 500; }

/* ---------- Quote ---------- */
.quote {
  border-left: 3px solid var(--gold-500);
  padding-left: var(--s-5);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.32;
  color: var(--text-900);
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
.section--dark .quote { color: var(--on-dark-900); }
.quote footer {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-300);
  margin-top: var(--s-4);
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--top { align-items: start; }

/* ---------- Tree preview ---------- */
.tree-panel {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid rgb(var(--light-rgb) / .1);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-md);
}
.tree-shot {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .28);
  margin-bottom: var(--s-5);
}

.tree-search {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: rgb(var(--light-rgb) / .07);
  border: 1px solid rgb(var(--light-rgb) / .14);
  border-radius: var(--radius-pill);
  padding: 11px var(--s-4);
  color: var(--on-dark-400);
  font-size: 15px;
  margin-bottom: var(--s-5);
}
.tree-search kbd {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 11px;
  border: 1px solid rgb(var(--light-rgb) / .2);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--on-dark-400);
}
.tree-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-5);
  font-size: 12.5px;
  color: var(--on-dark-400);
}
.tree-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--gold { background: var(--gold-500); }
.dot--leaf { background: var(--leaf-400); }
.dot--henna { background: var(--henna-400); }

/* Feature list */
.feature-list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-5); }
/* In het stamboomblok staan de vier punten naast elkaar, anders wordt dat blok erg hoog. */
@media (min-width: 900px) {
  #tree .feature-list { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); margin-top: var(--s-5); }
  #tree .feature-list h3 { font-size: 16.5px; }
  #tree .feature-list p { font-size: 14.5px; }
}
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: var(--s-4); }
.feature-list h3 { font-size: 18px; margin-bottom: 4px; }
.feature-list p { font-size: 15.5px; color: var(--text-500); }
.section--dark .feature-list p { color: var(--on-dark-400); }
.feature-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(217, 160, 60, .14);
  color: var(--gold-600);
  border: 1px solid rgba(217, 160, 60, .3);
}
.section--dark .feature-icon { color: var(--gold-400); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
  /* kaarten naast elkaar even hoog: rustiger beeld dan blokken die half zo hoog zijn */
  align-items: stretch;
}
/* De uitnodiging om zelf een verhaal te sturen staat over de volle breedte,
   zodat de rij verhalen er niet scheef bij hangt. */
.card-grid > .card--dashed {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; justify-items: start; text-align: left; gap: 4px var(--s-5); padding: var(--s-5);
}
.card-grid > .card--dashed .card__meta { grid-column: 1; margin: 0; }
.card-grid > .card--dashed h3 { grid-column: 1; margin: 0; }
.card-grid > .card--dashed > p:not(.card__meta) { grid-column: 1; margin: 0; }
.card-grid > .card--dashed > p:last-child { grid-column: 2; grid-row: 1 / -1; align-self: center; }
@media (max-width: 720px) { .card-grid > .card--dashed { display: block; } }
.card {
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.card--dashed {
  background: transparent;
  border-style: dashed;
  border-color: var(--paper-300);
  box-shadow: none;
  justify-content: center;
  align-items: flex-start;
}
/* Hoofdstukkaarten op de startpagina: de hele kaart is een link, en ze zijn even hoog. */
/* een kaart die alleen op de laatste rij overblijft: over de volle breedte, tekst mee */
.card-grid > .card--vol { grid-column: 1 / -1; }
.card-grid > .card--vol p { max-width: none; }
@media (min-width: 861px) {
  .card-grid > .card--vol {
    display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto;
    align-items: center; gap: var(--s-3) var(--s-5);
  }
  .card-grid > .card--vol .card__meta { grid-column: 1; margin: 0; }
  .card-grid > .card--vol h3 { grid-column: 1; grid-row: 2; margin: 0; }
  .card-grid > .card--vol p { grid-column: 2; grid-row: 1 / -1; align-self: center; margin: 0; }
  .card-grid > .card--vol .card__link { grid-column: 3; grid-row: 1 / -1; align-self: center; margin: 0; }
}

.card--link { text-decoration: none; color: inherit; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.card--link:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.card__link { margin-top: auto; font-size: 15px; font-weight: 500; color: var(--accent, #C75B39); }

.card__meta {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-300);
}
.card h3 { font-size: 20px; margin: 0; }
.card p { font-size: 15.5px; color: var(--text-500); }

.photo-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(45deg, var(--paper-100) 0 10px, var(--paper-200) 10px 20px);
  display: grid;
  place-items: center;
  color: var(--text-300);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--paper-200);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
  counter-reset: s;
}
.step { counter-increment: s; padding-top: var(--s-5); border-top: 2px solid rgb(var(--light-rgb) / .16); }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--gold-400);
  display: block;
  margin-bottom: var(--s-3);
}
.step h3 { font-size: 19px; margin-bottom: var(--s-2); }
.step p { font-size: 15px; color: var(--on-dark-400); }

/* ---------- Business grid ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--paper-200);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.biz {
  background: var(--paper-50);
  padding: var(--s-5);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  transition: background .18s var(--ease);
}
.biz:hover { background: #fff; }
.biz strong { font-family: var(--font-display); font-size: 18px; color: var(--text-900); font-weight: 600; }
.biz span { font-size: 13.5px; color: var(--text-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(1000px 340px at 18% 0%, rgba(217, 160, 60, .2), transparent 62%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  color: var(--on-dark-900);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5.5vw, 68px);
  text-align: center;
}
.cta-band h2 { color: var(--on-dark-900); }
.cta-band .lede { margin-inline: auto; max-width: 54ch; color: var(--on-dark-600); }
.cta-band .hero__actions { justify-content: center; margin-top: var(--s-6); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--on-dark-400);
  padding-block: var(--s-8) var(--s-6);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgb(var(--light-rgb) / .1);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--s-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.site-footer a { color: var(--on-dark-600); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark-900); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  padding-top: var(--s-5);
  font-size: 13px;
  color: var(--on-dark-400);
}

/* ---------- Divider motif ---------- */
.motif {
  display: block;
  margin: 0 auto;
  width: 120px;
  opacity: .8;
}

/* ---------- Style guide extras ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4); }
.swatch { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--paper-200); background: #fff; }
.swatch__chip { height: 84px; }
.swatch__body { padding: var(--s-3) var(--s-4) var(--s-4); }
.swatch__name { font-weight: 600; font-size: 14px; color: var(--text-900); }
.swatch__hex { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--text-500); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--paper-200); vertical-align: top; }
.spec-table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-300); font-weight: 600; }
.spec-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--paper-100); padding: 2px 6px; border-radius: 4px; }

.demo-box {
  border: 1px dashed var(--paper-300);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
.demo-box--dark { background: var(--ink-900); border-color: rgba(251,247,240,.2); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .hero__art, .cta-band { background: #fff !important; color: #000 !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Additions: language buttons, notes, photos, roadmap, palette themes
   ========================================================================== */

/* ---------- Language buttons ---------- */
.lang button {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--on-dark-400);
  background: none;
  border: 0;
  padding: 5px 7px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}
.lang button:hover { color: var(--on-dark-900); }
.lang button[aria-current="true"] { color: var(--ink-900); background: var(--gold-400); }

/* ---------- Devanagari ---------- */
html[lang="hi"] {
  --font-display: "Noto Sans Devanagari", "Instrument Sans", sans-serif;
  --font-body: "Noto Sans Devanagari", "Inter", sans-serif;
}
html[lang="hi"] body { line-height: 1.85; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.35; letter-spacing: 0; }
html[lang="hi"] .display { line-height: 1.25; letter-spacing: 0; font-size: clamp(32px, 5vw, 60px); }
html[lang="hi"] .eyebrow { letter-spacing: .06em; }
html[lang="hi"] .stat__label, html[lang="hi"] .card__meta,
html[lang="hi"] .site-footer h4 { letter-spacing: .04em; text-transform: none; }

/* Het registerblokje in de kaarten van 1889 en 1895 is ingeklapt en staat onder de foto:
   eerst het verhaal en het schip, dan pas de administratie. */
.voyage--reg .voyage__body { padding-bottom: var(--s-3); }
.voyage--reg dl { margin-top: 0; padding-top: 0; border-top: 0; }

/* Nickerie en haar telkaart horen bij elkaar: één breed blok met de scan links. */
.tl-card--breed {
  margin-top: var(--s-5); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: var(--s-5) var(--s-6); align-items: start;
}
.tl-card--breed .pf { margin: 0; }
.tl-card--breed .pf__frame { border-radius: var(--radius-sm); }
.tl-card--breed figcaption { margin-top: var(--s-3); }
.tl-card--breed__tekst h3 { margin-bottom: var(--s-2); }
@media (max-width: 720px) {
  .tl-card--breed { grid-template-columns: 1fr; align-items: start; }
}

/* De bronnenlijst onder "1.094 namen" */
.bronlijst { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.bronlijst li { display: grid; gap: 2px; }
.bronlijst a, .bronlijst__naam { font-weight: 500; color: var(--text-900); text-underline-offset: 2px; }
.bronlijst a { color: var(--accent, #C75B39); }
.bronlijst span:not(.bronlijst__naam) { color: var(--text-500); }

/* Een bronnenblok dat los onder een hoofdstuk staat (dus niet in een uitklapper) krijgt lucht
   boven zich; de selector is zwaar genoeg om de algemene marge verderop te winnen. */
.shell > .voyage__bronnen,
.voyage__bronnen.naambronnen { margin: var(--s-6) 0 0; }
.naamfiguur {
  margin: var(--s-6) 0 0; padding: var(--s-5); background: #fff;
  border: 1px solid var(--paper-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.naamfiguur__kop h3 { font-size: 19px; margin: 0 0 4px; }
.naamfiguur__kop p { margin: 0 0 var(--s-5); font-size: 14.5px; line-height: 1.6; color: var(--text-500); max-width: 80ch; }
.naamgrafiek { width: 100%; height: auto; }
.naamgrafiek .ng-nm { font-size: 14px; fill: var(--text-900); font-weight: 500; }
.naamgrafiek .ng-tot { font-size: 13px; fill: var(--text-500); }
.naamgrafiek rect { rx: 3; }
.naamlegenda {
  list-style: none; margin: var(--s-4) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px var(--s-4); font-size: 13px; color: var(--text-500);
}
.naamlegenda li { display: inline-flex; align-items: center; gap: 7px; }
.naamlegenda li > span:first-child { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.naamfiguur__bron { margin: var(--s-4) 0 0; font-size: 12.5px; line-height: 1.55; color: var(--text-300); }
.voyage__bronnen.naambronnen li { margin-bottom: 6px; }

.tree-gratis { margin-top: var(--s-4); max-width: 62ch; color: var(--on-dark-400); }

/* Het blok over het depot in Calcutta */
.dp-quote { margin: 0 0 var(--s-5); font-size: 16.5px; }
.dp-quote cite { display: block; margin-top: var(--s-3); font-style: normal; font-size: 13px; color: var(--text-500); }
.dp-cijfers { display: grid; gap: var(--s-4); align-content: start; }
.dp-cijfers > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: var(--s-4); align-items: baseline; }
.dp-cijfers strong {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em;
  color: var(--accent, #C75B39); text-align: right;
}
.dp-cijfers span { font-size: 14.5px; line-height: 1.55; color: var(--text-500); }
.voyage__na { margin: var(--s-4) 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text-700); }
.voyage__na.small { font-size: 13.5px; color: var(--text-500); }
@media (max-width: 560px) {
  .dp-cijfers > div { grid-template-columns: 1fr; gap: 2px; }
  .dp-cijfers strong { text-align: left; }
}

/* ---------- De twee registerkaarten ---------- */
.kaarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: var(--s-5); }
.kaart-reg {
  background: #fff; border: 1px solid var(--paper-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: var(--s-5); border-top: 3px solid var(--accent, #C75B39);
}
.kaart-reg header { margin-bottom: var(--s-4); }
.kaart-reg__nr {
  font-family: var(--font-display); font-size: 13px; letter-spacing: .12em;
  color: var(--accent, #C75B39); margin: 0 0 4px;
}
.kaart-reg h3 { font-size: 20px; margin: 0 0 2px; }
.kaart-reg__sub { font-size: 14px; color: var(--text-500); margin: 0; }
.kaart-reg dl {
  margin: 0; display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 8px var(--s-4); font-size: 14.5px;
}
.kaart-reg dt { color: var(--text-500); }
.kaart-reg dd { margin: 0; color: var(--text-900); }
.kaart-reg__iid {
  margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  background: var(--paper-100);
}
.kaart-reg__iidkop {
  margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-500);
}
html[lang="hi"] .kaart-reg__iidkop { text-transform: none; letter-spacing: 0; font-size: 13px; }
.kaart-reg__iid dl { font-size: 13.5px; gap: 5px var(--s-3); grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); }
.kaart-reg__iid dd { color: var(--text-700); }

.kaart-reg__bron {
  margin: var(--s-4) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--paper-200);
  display: flex; flex-direction: column; gap: 6px; font-size: 13.5px;
}
.kaart-reg__bron a { color: var(--accent, #C75B39); text-underline-offset: 2px; }
#kaarten .notes { margin-top: var(--s-6); }
@media (max-width: 560px) {
  .kaart-reg dl { grid-template-columns: 1fr; gap: 2px; }
  .kaart-reg dd { margin-bottom: 8px; }
}

/* ---------- Notes under the timeline ---------- */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}
/* Blijft er op een brede pagina één notitie alleen over op de laatste rij, dan trekken we
   die over de volle breedte in plaats van hem in de hoek te laten hangen. */
@media (min-width: 721px) {
  .notes > .note:last-child:nth-child(3n + 1) { grid-column: 1 / -1; max-width: none; }
}

.note {
  border-left: 2px solid var(--paper-300);
  padding-left: var(--s-5);
}
.note--open { border-left-color: var(--henna-400); }
.note__h {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-300);
  margin-bottom: var(--s-2);
}
.note--open .note__h { color: var(--henna-600); }
.note p { color: var(--text-500); }

/* ---------- Next stage callout ---------- */
.next-stage {
  margin-top: var(--s-7);
  border: 1px dashed rgb(var(--light-rgb) / .28);
  border-radius: var(--radius-md);
  padding: var(--s-5);
}
.next-stage h3 { font-size: 19px; margin: var(--s-2) 0 var(--s-3); color: var(--on-dark-900); }
.next-stage p { color: var(--on-dark-400); }
.next-stage .card__meta { color: var(--gold-400); }

/* ---------- Historic photographs ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-4);
}
.pf { margin: 0; grid-column: span 4; }
.pf--wide { grid-column: span 6; }
.pf--half { grid-column: span 6; }
.pf__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--paper-300);
  background: var(--paper-200);
  box-shadow: var(--shadow-sm);
}
.pf__frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: sepia(.22) contrast(1.04) saturate(.85);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}
.pf:hover .pf__frame img { filter: sepia(.05) contrast(1.02); transform: scale(1.02); }
.pf--tall .pf__frame img { aspect-ratio: 3 / 4; }
/* Een document (ansichtkaart, scan) mag niet bijgesneden worden: daar staat de tekst op. */
.pf--heel .pf__frame img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}
.pf--heel:hover .pf__frame img { filter: none; transform: none; }
.pf figcaption {
  margin-top: var(--s-3);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-700);
}
.pf .credit {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-300);
}
.pf .credit a { color: inherit; }
.photo-note {
  margin-top: var(--s-6);
  font-size: 13.5px;
  color: var(--text-500);
  max-width: 78ch;
}

@media (max-width: 860px) {
  .pf, .pf--wide, .pf--half { grid-column: span 6; }
}
@media (max-width: 520px) {
  .pf, .pf--wide, .pf--half { grid-column: span 12; }
}

/* ---------- Roadmap ---------- */
.roadmap {
  display: grid;
  gap: var(--s-4);
  counter-reset: phase;
}
.phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-6);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--paper-200);
  align-items: start;
}
.section--dark .phase { border-top-color: rgb(var(--light-rgb) / .14); }
.phase:last-child { border-bottom: 1px solid var(--paper-200); }
.section--dark .phase:last-child { border-bottom-color: rgb(var(--light-rgb) / .14); }
.phase__label {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-300);
}
.section--dark .phase__label { color: var(--on-dark-400); }
.phase__klaar {
  margin-top: var(--s-2);
  font-size: 13.5px;
  color: var(--text-300);
}
.section--dark .phase__klaar { color: var(--on-dark-400); }
.phase h3 { font-size: clamp(21px, 2.2vw, 27px); margin-bottom: var(--s-3); }
.phase p { color: var(--text-500); max-width: 62ch; }
.section--dark .phase p { color: var(--on-dark-600); }
.phase ul {
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-2);
  font-size: 15px;
}
.phase li { padding-left: 24px; position: relative; color: var(--text-500); }
.section--dark .phase li { color: var(--on-dark-400); }
.phase li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: .7;
}
.chip {
  display: inline-block;
  margin-top: var(--s-3);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
}
.chip--done { color: var(--leaf-700); }
.chip--now { color: var(--gold-600); background: rgba(217, 160, 60, .12); }
.chip--next { color: var(--henna-600); }
.chip--later { color: var(--text-300); }
.section--dark .chip--done { color: var(--leaf-400); }
.section--dark .chip--now { color: var(--gold-400); }
.section--dark .chip--next { color: var(--henna-400); }
.section--dark .chip--later { color: var(--on-dark-400); }

@media (max-width: 760px) {
  .phase { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ---------- Contact form ---------- */
.form {
  display: grid;
  gap: var(--s-4);
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-700);
}
.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  font: inherit;
  font-size: 16px;
  color: var(--text-900);
  background: var(--paper-50);
  border: 1px solid var(--paper-300);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  width: 100%;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.form select { appearance: none; background-image: none; cursor: pointer; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  background: #fff;
  border-color: var(--gold-500);
  outline: 2px solid transparent;
}
.form input:user-invalid,
.form textarea:user-invalid { border-color: var(--henna-400); }

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-500);
  cursor: pointer;
}
.check input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--gold-500); }

.botcheck { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: 14.5px; min-height: 1.2em; }
.form-status.is-ok { color: var(--leaf-700); font-weight: 500; }
.form-status.is-error { color: var(--henna-600); font-weight: 500; }

@media (max-width: 560px) {
  .form { padding: var(--s-5); }
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Component treatments
   ========================================================================== */

/* ---------- Typography: tighter, larger, no wonk ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -.025em;
  font-variation-settings: normal;
}
.display {
  font-size: clamp(40px, 6.6vw, 82px);
  line-height: .98;
  letter-spacing: -.04em;
  font-variation-settings: normal;
}
.hero .display em {
  font-style: normal;
  color: var(--gold-400);
}
.h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.05; }
.stat__value { letter-spacing: -.03em; font-variation-settings: normal; }
.quote {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.02em;
  border-left-width: 2px;
  border-left-color: var(--gold-500);
  font-variation-settings: normal;
}

/* ---------- Labels: sentence case pills instead of spaced caps ---------- */
.eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-600);
}
.eyebrow::after {
  height: 1px;
  background: var(--paper-200);
  max-width: none;
}
.section--dark .eyebrow::after { background: rgb(var(--light-rgb) / .16); }

.stat__label,
.card__meta,
.phase__label,
.note__h,
.site-footer h4,
.chip,
.brand__sub {
  text-transform: none;
  letter-spacing: 0;
}
.stat__label,
.card__meta,
.note__h { font-size: 14px; }
.brand__sub { font-size: 12px; color: var(--on-dark-400); margin-top: 4px; }

/* ---------- Header: light, not a dark bar ---------- */
.site-header {
  background: rgb(250 248 245 / .82);
  border-bottom: 1px solid var(--paper-200);
}
.brand { color: var(--text-900); }
.brand__sub { color: var(--text-500); }
.nav a { color: var(--text-700); }
.nav a:hover { color: var(--text-900); border-bottom-color: var(--gold-500); }
.lang button { color: var(--text-500); }
.lang button:hover { color: var(--text-900); }
.lang button[aria-current="true"] { background: var(--text-900); color: #fff; }
.brand__mark circle[stroke] { stroke: var(--gold-500); }
.brand__mark g[stroke] { stroke: var(--gold-500); }
.brand__mark g[fill] { fill: var(--gold-400); }

/* ---------- Hero: photo in full tone, hard-edged scrim ---------- */
.hero__photo {
  filter: grayscale(.15) contrast(1.02);
  mix-blend-mode: normal;
  opacity: .9;
  object-position: 50% 62%;
}
.hero__scrim {
  background:
    linear-gradient(95deg, rgb(var(--ink-rgb) / .94) 0%, rgb(var(--ink-rgb) / .78) 42%, rgb(var(--ink-rgb) / .35) 82%),
    linear-gradient(0deg, rgb(var(--ink-rgb) / .7), transparent 38%);
}
.stats { background: rgb(var(--ink-rgb) / .72); }

/* ---------- Buttons: squarer, flatter ---------- */
.btn { border-radius: 10px; font-weight: 500; }
.btn--gold { background: var(--accent-deep); color: #fff; }
.btn--gold:hover { background: #963d1f; }
.btn:hover { transform: none; }
.btn--ghost:hover,
.btn--ghost-ink:hover { background: rgb(var(--light-rgb) / .12); }

/* ---------- Surfaces: flat, 1px borders, no vintage texture ---------- */
.card,
.tl-card {
  border-color: var(--paper-200);
  box-shadow: none;
  background: #fff;
}
.tl-card::before { display: none; }
.tl-card {
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.tl-card__year {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  font-size: 14px;
  color: var(--text-500);
}
.tl-card dl { border-top-style: solid; border-top-color: var(--paper-200); }
.photo-slot {
  background: var(--paper-100);
  border-style: dashed;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Photographs: no sepia ---------- */
.pf__frame {
  border: 0;
  border-radius: var(--radius-md);
  background: var(--paper-100);
}
.pf__frame img { filter: contrast(1.03); }
.pf:hover .pf__frame img { filter: contrast(1.03); transform: scale(1.015); }

/* ---------- Roadmap & chips ---------- */
.phase { border-top-color: var(--paper-200); }
.section--dark .phase { border-top-color: rgb(var(--light-rgb) / .14); }
.phase li::before { background: var(--gold-500); opacity: 1; width: 5px; height: 5px; }
.chip {
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  border-width: 1px;
}
.chip--now { background: var(--gold-200); }
/* live, maar nog in aanbouw: opvallender dan "mee bezig" */
.chip--beta { color: #fff; background: var(--accent-deep); }
.section--dark .chip--beta { color: #fff; background: var(--gold-500); }

/* ---------- Tree panel & CTA band ---------- */
.tree-panel {
  background: var(--ink-800);
  border-color: rgb(var(--light-rgb) / .12);
  border-radius: var(--radius-lg);
}
.cta-band {
  background: var(--ink-900);
  border-radius: var(--radius-lg);
}
.feature-icon {
  background: rgb(199 91 57 / .16);
  border-color: rgb(199 91 57 / .38);
  color: var(--gold-400);
  border-radius: 10px;
}
.biz { min-height: 124px; }
.biz--add { background: var(--paper-100); }
.next-stage { border-radius: var(--radius-md); }

/* ---------- Contact form ---------- */
.form {
  border-color: var(--paper-200);
  border-radius: var(--radius-md);
  box-shadow: none;
}
.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  background: #fff;
  border-color: var(--paper-200);
  border-radius: 10px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--text-900);
  box-shadow: 0 0 0 3px rgb(199 91 57 / .14);
}
.check input { accent-color: #b04a28; }

/* Empty photo slot that asks for a contribution */
.photo-slot--wanted {
  text-decoration: none;
  color: var(--gold-600);
  font-weight: 500;
  text-align: center;
  padding: var(--s-4);
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.photo-slot--wanted:hover { background: var(--gold-200); border-color: var(--gold-400); }

/* ---------- Personal note from the keeper ---------- */
.keeper-note {
  max-width: 68ch;
  margin: 0 0 var(--s-7);
  padding: var(--s-5) var(--s-6);
  background: var(--gold-200);
  border-radius: var(--radius-md);
}
.keeper-note h3 {
  font-size: 18px;
  margin-bottom: var(--s-3);
  color: var(--gold-600);
}
.keeper-note p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-700);
  margin-bottom: var(--s-3);
}
.keeper-note__sign {
  font-weight: 500;
  color: var(--text-900);
  margin-bottom: 0;
}
@media (max-width: 560px) { .keeper-note { padding: var(--s-5); } }

/* ---------- Contract-number decoder ---------- */
.decoder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-6);
  align-items: center;
  margin-top: var(--s-7);
  padding: var(--s-5) var(--s-6);
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
}
.decoder__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}
.decoder__letter { color: var(--gold-600); }
.decoder__slash { color: var(--text-300); margin: 0 2px; }
.decoder__digits { color: var(--text-900); }
.decoder h3 { font-size: 19px; margin-bottom: var(--s-2); }
.decoder p { color: var(--text-500); margin-bottom: var(--s-2); }
.decoder p:last-child { color: var(--text-300); margin-bottom: 0; }

@media (max-width: 620px) {
  .decoder { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ---------- Victim name list ---------- */
.namelist {
  list-style: none;
  margin: 0 0 var(--s-4);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--paper-200);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.name {
  background: var(--paper-50);
  padding: 10px var(--s-4);
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  font-size: 15px;
}
.name__n { font-weight: 500; color: var(--text-900); }
.name__num { font-size: 12.5px; color: var(--text-300); margin-left: auto; }
.name__yr {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--gold-200);
  color: var(--gold-600);
}
.name--r, .name--x { background: #fff; }

/* ---------- Contract number lookup ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lookup { display: flex; gap: var(--s-2); margin-top: var(--s-4); max-width: 420px; }
.lookup input {
  flex: 1;
  font: inherit;
  font-size: 16px;
  color: var(--text-900);
  background: #fff;
  border: 1px solid var(--paper-200);
  border-radius: 10px;
  padding: 10px 13px;
  min-width: 0;
}
.lookup input:focus {
  outline: none;
  border-color: var(--text-900);
  box-shadow: 0 0 0 3px rgb(199 91 57 / .14);
}
.lookup__out { margin-top: var(--s-3); font-size: 15px; min-height: 1.2em; }
.lookup__out.is-ok { color: var(--text-700); }
.lookup__out.is-error { color: var(--henna-600); }
.lookup__out strong { color: var(--text-900); }
.lookup__link { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tree-caption { margin-top: var(--s-4); color: var(--on-dark-400); }

/* Document scans: show the whole sheet, never crop it */
.pf__frame { display: block; }
.pf--doc .pf__frame {
  background: var(--paper-100);
  border: 1px solid var(--paper-200);
  padding: var(--s-3);
}
.pf--doc .pf__frame img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  max-height: 520px;
  margin-inline: auto;
  width: auto;
  max-width: 100%;
}
.pf--doc:hover .pf__frame img { transform: none; filter: none; }

/* ==========================================================================
   Timeline cards, second pass: wider, calmer, no dead white space
   ========================================================================== */
.timeline {
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  align-items: start;
  gap: var(--s-5);
}
.tl-card {
  padding: var(--s-6);
  border-top-width: 2px;
}
.tl-card__year {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gold-600);
  margin-bottom: var(--s-1);
}
.tl-card h3 {
  font-size: clamp(20px, 1.9vw, 24px);
  margin-bottom: var(--s-3);
  letter-spacing: -.02em;
}
.tl-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-700);
  max-width: 52ch;
}
.tl-card dl {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  grid-template-columns: 116px 1fr;
  gap: var(--s-3) var(--s-4);
  font-size: 14.5px;
  align-items: baseline;
}
.tl-card dt {
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-300);
  padding-top: 0;
}
.tl-card dd { color: var(--text-700); font-weight: 400; }
.tl-card dd strong, .tl-card dd b { font-weight: 500; }

@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr; }
  .tl-card p { max-width: none; }
}
@media (max-width: 560px) {
  .tl-card { padding: var(--s-5); }
  .tl-card dl { grid-template-columns: 1fr; gap: var(--s-1); }
  .tl-card dt { margin-top: var(--s-3); }
}

/* ==========================================================================
   Timeline cards: align the inner rows across each row of cards
   Year, heading, paragraph and the table line up exactly, so the grey rule
   starts at the same height in every card next to it.
   ========================================================================== */
@supports (grid-template-rows: subgrid) {
  .timeline > .tl-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    row-gap: 0;
    align-content: start;
  }
  /* cards without a data table still align on the first three rows */
  .timeline > .tl-card > :last-child { margin-bottom: 0; }
  .tl-card p { margin-bottom: 0; }
  .tl-card h3 { margin-bottom: var(--s-3); }
  .tl-card dl { margin-top: var(--s-5); align-self: start; }
  /* een kaart met een uitklapper direct in de kaart (zoals "1.094 namen") heeft er ook een extra rij bij;
     zonder deze regel viel de uitklapper over de tabel met "Jongste: geboren 2025" heen */
  .timeline > .tl-card:has(> details) { grid-row: span 5; }
  /* en dan de buurkaart ook, anders is de ene hoger dan de andere */
  .timeline:has(> .tl-card > details) > .tl-card { grid-row: span 5; }

  /* kaarten met een scheepsfoto hebben een vijfde rij */
  .timeline > .tl-card:has(.tl-card__extra) { grid-row: span 5; }

  /* De twee reiskaarten: ook de foto en de drie uitklappers op gelijke hoogte,
     zodat "Aan boord" bij Gangajalia naast "Aan boord" bij Durbarising staat,
     ook als alles openstaat. */
  .timeline--gelijk { grid-template-rows: repeat(7, auto); }
  .timeline--gelijk > .tl-card:has(.tl-card__extra) { grid-row: span 7; }
  .timeline--gelijk .tl-card__extra {
    display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0;
  }
  .timeline--gelijk .tl-card__schip { align-self: start; margin-bottom: var(--s-4); }
}

/* The five children, as a record table */
.kids { margin-top: var(--s-7); }
.kids .h3 { margin-bottom: var(--s-2); }
.kids > .small { max-width: none; }
.kids .spec-table { margin: var(--s-5) 0 var(--s-4); }
.kids .spec-table th:last-child, .kids .spec-table td:last-child { white-space: nowrap; }
.kids code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--paper-100); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 620px) {
  .kids .spec-table, .kids .spec-table tbody, .kids .spec-table tr, .kids .spec-table td { display: block; width: 100%; }
  .kids .spec-table thead { display: none; }
  .kids .spec-table tr { padding: var(--s-3) 0; border-bottom: 1px solid var(--paper-200); }
  .kids .spec-table td { border: 0; padding: 2px 0; }
  .kids .spec-table td:first-child { font-weight: 500; color: var(--text-900); }
}
.pf--full { grid-column: span 12; }
.pf--full .pf__frame img { max-height: 620px; }

/* ---------- Afbeelding vergroten ---------- */
.is-zoombaar { cursor: zoom-in; }
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(96vw, 1440px); max-height: 96vh;
  color: #fff;
}
.lightbox::backdrop { background: rgb(var(--ink-rgb) / .86); }
.lightbox img {
  display: block; margin-inline: auto;
  max-width: 100%; max-height: 80vh; width: auto; height: auto;
  border-radius: var(--radius-md); background: #fff;
  box-shadow: 0 30px 80px rgb(0 0 0 / .45);
}
.lightbox__cap {
  margin: var(--s-4) auto 0; max-width: 76ch; text-align: center;
  font-size: 14.5px; line-height: 1.55; color: rgb(255 255 255 / .82);
}
.lightbox__close {
  position: fixed; top: 18px; right: 20px;
  font: inherit; font-size: 14px; font-weight: 500;
  color: #fff; background: rgb(255 255 255 / .14);
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 8px; padding: 7px 14px; cursor: pointer;
}
.lightbox__close:hover { background: rgb(255 255 255 / .24); }
@media (max-width: 560px) { .lightbox img { max-height: 70vh; } }

/* ---------- Beta testers ---------- */
.beta-cta { border-style: solid; border-color: rgb(var(--light-rgb) / .22); }
.beta-cta .btn { margin-top: var(--s-4); }
.check--beta {
  padding: var(--s-3) var(--s-4);
  background: var(--paper-50, #faf8f5);
  border: 1px solid var(--paper-200);
  border-radius: 10px;
  color: var(--text-700);
}
.check--beta strong { display: block; font-weight: 500; color: var(--text-900); }
.check--beta .check__hint { display: block; margin-top: 2px; font-size: 13px; color: var(--text-500); }

/* ---------- Chapters: menu, contact button, current chapter ---------- */
.nav a[aria-current="true"] { color: var(--text-900); border-bottom-color: var(--gold-500); }
.nav-contact { flex: none; }
.site-header .lang { margin-left: var(--s-2); }
/* de mobiele plaatsing van deze knop staat onderaan, bij de kopbalkregels */

/* Take part: the steps on a light background */
.steps--light .step { border-top-color: var(--paper-300); }
.steps--light .step::before { color: var(--gold-600); }
.steps--light .step p { color: var(--text-500); }
.section-head--sub { margin-top: var(--s-8); }
.section-head--sub .h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; margin: 0 0 var(--s-3); }

/* ---------- De reiskaart (sectie #journey) ---------- */
.kaart { margin: 0; }
.kaart__vlak {
  background: #fbf9f6;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  padding: var(--s-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.kaart__svg { width: 100%; min-width: 700px; height: auto; display: block; }
.kaart__water { fill: #f7f4ee; }
.kaart__net line { stroke: #e4ded4; stroke-width: 1; }
.kaart__evenaar { stroke: #d8d0c3; stroke-width: 1; stroke-dasharray: 2 6; }
.kaart__land path { fill: #eee8dd; stroke: #e2dacc; stroke-width: 1; }
.kaart__streek text {
  fill: #b9b1a4; font-family: var(--font-body);
  font-size: 15px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; text-anchor: middle;
}
.kaart .ln { fill: none; stroke-linecap: round; }
.kaart .ln--zee { stroke: var(--gold-500); stroke-width: 3; }
.kaart .ln--land { stroke: var(--gold-500); stroke-width: 2; stroke-dasharray: 1 6; }
.kaart .ln--vlucht { stroke: var(--gold-600); stroke-width: 2.5; stroke-dasharray: 9 7; }
.kaart .ln--nu { stroke: var(--leaf-700); stroke-width: 1.6; stroke-dasharray: 2 6; opacity: .75; }
.kaart__nu circle { fill: rgb(79 155 120 / .16); stroke: var(--leaf-400); stroke-width: 1.2; }
.kaart__nu text {
  fill: var(--leaf-700); font-family: var(--font-body);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.kaart__langs text {
  fill: #a2604a; font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500;
}
.kaart .stop__punt { fill: var(--text-900); }
.kaart .stop--haven .stop__punt { fill: var(--gold-500); stroke: #fbf9f6; stroke-width: 2.5; }
.kaart .stop--zee .stop__punt { fill: #fbf9f6; stroke: var(--gold-500); stroke-width: 2.5; }
.kaart .stop__naam {
  fill: var(--text-900); font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
}

.kaart__sleep { display: none; margin: var(--s-3) 0 0; }
.kaart__legenda {
  list-style: none; margin: var(--s-5) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
  font-size: 14.5px; color: var(--text-500);
}
.kaart__legenda .lg { display: flex; align-items: center; gap: var(--s-3); }
.kaart__legenda .lg::before {
  content: ""; flex: none; width: 22px; height: 12px; border-radius: 2px;
}
.kaart__legenda .lg--haven::before {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-500); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--paper-200);
}
.kaart__legenda .lg--stop::before { width: 10px; height: 10px; border-radius: 50%; background: var(--text-900); }
.kaart__legenda .lg--vlucht::before {
  height: 0; border-top: 2.5px dashed var(--gold-600); border-radius: 0;
}
.kaart__legenda .lg--nu::before {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgb(79 155 120 / .2); border: 1.2px solid var(--leaf-400);
}
.kaart figcaption { margin-top: var(--s-4); max-width: 72ch; }

@media (max-width: 780px) {
  .kaart__sleep { display: block; }
  .kaart__streek text { font-size: 18px; }
  .kaart .stop__naam { font-size: 19px; }
  .kaart__nu text { font-size: 17px; }
  .kaart__langs text { font-size: 16px; }
}

/* ---------- Menu: breed scherm gewoon in de balk, telefoon achter een hamburger ---------- */
.menu, .menu__pop { display: contents; }
.menu__knop { display: none; }

@media (max-width: 860px) {
  .site-header__inner { min-height: 0; padding-block: var(--s-3); gap: var(--s-3); }
  .brand { flex: 1 1 auto; min-width: 0; margin-right: 0; gap: var(--s-2); }
  .site-header .lang { margin-left: auto; flex: none; }

  .menu { display: block; position: relative; flex: none; order: 3; }
  .menu__knop {
    display: grid; place-items: center; cursor: pointer; font: inherit;
    width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--paper-300); background: #fff; color: var(--text-900);
  }
  .menu.is-open .menu__knop { background: var(--text-900); color: #fff; border-color: var(--text-900); }
  .menu.is-open .menu__lijn1 { transform: translateY(5px) rotate(45deg); transform-origin: center; }
  .menu.is-open .menu__lijn2 { opacity: 0; }
  .menu.is-open .menu__lijn3 { transform: translateY(-5px) rotate(-45deg); transform-origin: center; }
  .menu__lijn1, .menu__lijn2, .menu__lijn3 { transition: transform .15s var(--ease), opacity .15s; }

  .menu__pop {
    display: none;
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
    min-width: 220px; padding: var(--s-3);
    background: #fff; border: 1px solid var(--paper-200); border-radius: 14px;
    box-shadow: 0 16px 40px rgb(25 23 20 / .16);
  }
  .menu.is-open .menu__pop { display: flex; flex-direction: column; gap: var(--s-2); }
  .menu__pop .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__pop .nav a {
    padding: 10px var(--s-3); border-radius: 8px; border-bottom: 0; font-size: 16px;
  }
  .menu__pop .nav a:hover,
  .menu__pop .nav a[aria-current="true"] { background: var(--paper-100); color: var(--text-900); }
  .menu__pop .nav-contact { margin: var(--s-2) 0 0; justify-content: center; text-align: center; }
}

@media (max-width: 620px) {
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 17px; }
  .brand__sub { display: none; }              /* scheelt een regel; staat ook in de voettekst */
}

/* ---------- Kaarten in een tijdlijn: twee naast elkaar, een losse laatste in het midden ---------- */
@media (min-width: 981px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .timeline > .tl-card:last-child:nth-child(odd) {
    grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--s-5) / 2);
  }
  /* tenzij de kaart juist over de volle breedte hoort, zoals "Onze eigen spelling" */
  .timeline > .tl-card--vol,
  .timeline > .tl-card--vol:last-child:nth-child(odd) {
    grid-column: 1 / -1; justify-self: stretch; width: auto;
  }
  /* en dan loopt de tekst ook door tot de rand, niet in een smalle kolom */
  .timeline > .tl-card--vol p { max-width: none; }
}

/* Een losse halve foto (zoals de telkaart van 1921) in het midden in plaats van links */
@media (min-width: 861px) {
  .photo-grid > .pf--half:only-child { grid-column: 4 / span 6; }
}

/* ---------- Scheepsfoto in de verhaalkaarten ---------- */
.tl-card__schip { margin: var(--s-5) 0 0; }
.tl-card__schip img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--paper-300); filter: grayscale(1) contrast(1.02);
}
.tl-card__schip figcaption { margin-top: var(--s-2); font-size: 13.5px; line-height: 1.5; color: var(--text-500); }
.tl-card__schip .credit { display: block; font-size: 12px; color: var(--text-300); }

/* ---------- Uitklapbare reisblokken met bronnen ---------- */
.tl-card__extra { display: flex; flex-direction: column; }
.voyage { border-top: 1px solid var(--paper-200); }
.tl-card__extra .tl-card__schip + .voyage { margin-top: var(--s-4); }
.voyage:last-child { border-bottom: 1px solid var(--paper-200); }
.voyage summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) 0; font-weight: 600; font-size: 15px; color: var(--text-900);
}
.voyage summary::-webkit-details-marker { display: none; }
.voyage summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent, #C75B39); font-weight: 400; }
.voyage[open] summary::after { content: "\2212"; }
.voyage summary:hover { color: var(--accent, #C75B39); }
.voyage__body { font-size: 14.5px; line-height: 1.6; color: var(--text-700); }
.voyage__body ul { margin: 0 0 var(--s-3); padding-left: 1.1em; }
.voyage__body li { margin-bottom: 6px; }
.voyage__body blockquote {
  margin: var(--s-3) 0; padding: var(--s-2) 0 var(--s-2) var(--s-4);
  border-left: 3px solid var(--gold-500); font-style: italic; color: var(--text-900);
}
.voyage__body blockquote span { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--text-500); }
.voyage__note { font-size: 13.5px !important; color: var(--text-500) !important; margin: 0 0 var(--s-3) !important; }
.voyage__tijd { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; gap: var(--s-2); }
.voyage__tijd li { display: grid; grid-template-columns: 92px 1fr; gap: var(--s-3); }
.voyage__tijd b { font-weight: 600; color: var(--gold-600); white-space: nowrap; }
.voyage__bronnen { margin: 0 0 var(--s-4); padding: var(--s-3); background: var(--paper-100); border-radius: var(--radius-sm); font-size: 12.5px; line-height: 1.5; color: var(--text-500); }
.voyage__bronnen p { margin: 0 0 4px !important; font-size: 12px !important; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-500) !important; }
.voyage__bronnen ul { margin: 0; padding-left: 1.1em; }
.voyage__bronnen a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) {
  .voyage__tijd li { grid-template-columns: 1fr; gap: 2px; }
}

.voyage__noot { margin: var(--s-2) 0 0 !important; font-size: 11.5px !important; line-height: 1.5; color: var(--text-300) !important; font-style: italic; }

.voyage--verhaal { border-top: 1px solid var(--paper-200); margin-top: var(--s-4); }
.voyage--verhaal summary { font-size: 14px; }
.voyage--verhaal .voyage__body ul { font-size: 14px; }

/* Een brief uit het familiearchief, letterlijk overgenomen */
.voyage__body blockquote.brief {
  font-style: normal; font-size: 14px; line-height: 1.7; border-left-color: var(--paper-300);
  background: var(--paper-50); padding: var(--s-4); border-radius: var(--radius-sm);
}
.voyage__body blockquote.brief span { margin-top: var(--s-3); font-style: italic; }


/* ---------- Wat de familie vandaag doet (homepage) ---------- */
.nu-slot { margin-top: var(--s-6); max-width: none; }
.nu-slot2 { margin-top: var(--s-4); max-width: none; }
.nu-uitnodiging {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--paper-200);
  color: var(--text-500);
  max-width: none;
}
.nu-uitnodiging a { white-space: nowrap; }

/* ---------- Gelicentieerd beeld: kopieren ontmoedigen ----------
   Echte beveiliging bestaat niet op het web; dit houdt alleen de makkelijke weg dicht.
   De afbeelding vangt zelf geen muis, dus het rechtsklikmenu heeft geen "afbeelding
   opslaan als"; slepen en selecteren staan uit. Klikken voor de lightbox blijft werken,
   want dat luistert op .pf__frame. De echte bescherming is de lage resolutie op de
   server: het gekochte bestand staat buiten de webroot. */
.pf--beschermd img,
.lightbox.is-beschermd img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- De monsterrol: de volgorde waarin ze aan boord kwamen ---------- */
.rol { margin-top: var(--s-7); }
.rol__h {
  font-size: clamp(19px, 2vw, 23px);
  margin-bottom: var(--s-3);
}
.rol__lede { color: var(--text-500); margin-bottom: var(--s-6); }
.rol__kop {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--henna-600);
  margin: var(--s-6) 0 var(--s-3);
}
.rol__lijst {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--paper-300);
}
.rol__lijst li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 15em);
  gap: var(--s-3);
  align-items: baseline;
  padding: 9px 0 9px var(--s-3);
  border-bottom: 1px solid var(--paper-200);
  border-left: 2px solid transparent;
}
.rol__nr {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text-300);
}
.rol__wie { color: var(--text-900); }
.rol__meta { color: var(--text-500); font-size: 14px; }
.rol__lijst li.is-ons {
  border-left-color: var(--accent, #C75B39);
  background: rgba(199, 91, 57, .045);
}
.rol__lijst li.is-ons .rol__nr,
.rol__lijst li.is-ons .rol__wie { color: var(--accent, #C75B39); font-weight: 600; }
.rol__bron {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--paper-200);
  font-size: 13.5px;
  color: var(--text-300);
}
@media (max-width: 720px) {
  .rol__lijst li { grid-template-columns: 58px minmax(0, 1fr); }
  .rol__meta { grid-column: 2; font-size: 13px; }
}
