/* ============================================================
   One New Man — stylesheet
   Eén stylesheet voor alle pagina's. Geen framework, geen build.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper: #fbf8f1;
  --paper-warm: #f4eee2;
  --sand: #ece3d2;
  --line: #ddd3c0;
  --ink: #16241e;
  --ink-soft: #43534a;
  --ink-mute: #6b7a70;
  --olive: #33553f;
  --olive-deep: #1d332a;
  --olive-tint: #e7ece2;
  --gold: #a97b32;
  --gold-soft: #d8bd8b;
  --white: #fff;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.15rem, 1.09rem + 0.3vw, 1.32rem);
  --step-2: clamp(1.4rem, 1.28rem + 0.6vw, 1.78rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4: clamp(2.15rem, 1.7rem + 2.2vw, 3.5rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(3.25rem, 7vw, 6rem);
  --measure: 68ch;

  --shadow-sm: 0 1px 2px rgb(22 36 30 / 0.06), 0 2px 8px rgb(22 36 30 / 0.04);
  --shadow: 0 10px 30px -12px rgb(22 36 30 / 0.25);
  --ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--olive);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* ankers landen onder de plakkende kopbalk in plaats van erachter */
  scroll-padding-top: 5.75rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, audio { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p, li { text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(1180px, 100% - (var(--gutter) * 2)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.section--sand { background: var(--paper-warm); }
.section--olive { background: var(--olive-deep); color: #eef1ea; }
.section--olive h2, .section--olive h3 { color: #fdfaf4; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: 0.7;
}
.section--olive .eyebrow { color: var(--gold-soft); }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 58ch; }
.section--olive .lead { color: #cfd8c9; }
.muted { color: var(--ink-mute); }
.small { font-size: var(--step--1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.78rem 1.3rem; border-radius: 999px;
  font-size: 0.94rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--olive); color: var(--white); }
.btn--primary:hover { background: var(--olive-deep); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--olive-deep); }
.btn--light:hover { background: var(--white); color: var(--olive-deep); }
.btn--outline-light { border-color: rgb(255 255 255 / 0.45); color: #fff; }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 4.6rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 2.4rem; height: 2.4rem; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive-deep); color: var(--gold-soft);
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.02em;
}
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: 0.01em; }
.brand__tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  padding: 0.5rem 0.72rem; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500;
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--olive-tint); color: var(--olive-deep); font-weight: 600; }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 0.9rem; cursor: pointer; font-size: 0.88rem; font-weight: 600;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars span { display: block; width: 15px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: flex; }
}

/* Twee kolommen met een smallere zijkolom (agenda) */
.split--aside { align-items: start; }
@media (min-width: 900px) {
  .split--aside { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    padding: 0.75rem var(--gutter) 1.1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav a { padding: 0.7rem 0.8rem; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav.is-open { display: flex; }
  .site-header__inner { position: relative; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--olive-deep); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(102deg, rgb(16 32 26 / 0.94) 0%, rgb(16 32 26 / 0.82) 42%, rgb(16 32 26 / 0.55) 100%),
    radial-gradient(120% 90% at 15% 20%, rgb(0 0 0 / 0.35), transparent 70%);
}
.hero__inner {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
@media (min-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr); } }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--step-1); color: #e8dcc4; margin-top: 1rem; max-width: 34ch;
}
.hero__text { margin-top: 1.35rem; color: #d6ddd2; max-width: 46ch; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .btn-row { margin-top: 2rem; }

/* Next-event card */
.next-card {
  background: rgb(251 248 241 / 0.97);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  box-shadow: 0 18px 50px -22px rgb(0 0 0 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.4);
}
.next-card__label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.next-card__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.next-card__date {
  display: flex; align-items: baseline; gap: 0.6rem; margin-top: 0.8rem;
}
.next-card__day { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 0.9; }
.next-card__month { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-soft); }
.next-card__meta { margin-top: 1rem; display: grid; gap: 0.45rem; font-size: 0.93rem; color: var(--ink-soft); }
.next-card__meta dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); }
.next-card__meta dd { margin: 0; }
.next-card__meta > div { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.75rem; align-items: baseline; }
.next-card__actions { margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.next-card__actions .btn { padding: 0.6rem 1rem; font-size: 0.86rem; }
.next-card__note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-mute); }

/* ---------- Fact strip ---------- */
.facts { border-top: 1px solid var(--line); background: var(--paper-warm); }
.facts__grid { display: grid; gap: 1.4rem; padding-block: 1.7rem; }
@media (min-width: 700px) { .facts__grid { grid-template-columns: repeat(3, 1fr); } }
.fact { display: flex; gap: 0.85rem; align-items: flex-start; }
.fact__icon {
  flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--olive-tint); color: var(--olive); font-size: 0.95rem;
}
.fact h3 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.fact p { margin-top: 0.25rem; font-size: 0.97rem; }

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--wide { align-items: start; }
.split--wide { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--wide { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.card {
  display: flex; flex-direction: column; gap: 0.65rem;
  padding: clamp(1.15rem, 2vw, 1.6rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: var(--step-1); }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card a.card__link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; }
.card a.card__link:hover { gap: 0.6rem; }
.section--olive .card { background: #fbf8f1; border-color: transparent; }
.section--olive .card p { color: var(--ink-soft); }

.media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media--tall img { aspect-ratio: 3 / 4; }
.media--wide img { aspect-ratio: 16 / 10; }
.media figcaption { font-size: 0.78rem; color: var(--ink-mute); padding: 0.6rem 0.2rem 0; }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section-head p { max-width: 52ch; }

/* ---------- Agenda list ---------- */
.event-list { display: grid; gap: 0.7rem; list-style: none; padding: 0; }
.event {
  display: grid; gap: 0.35rem 1.25rem;
  grid-template-columns: 1fr;
  padding: 1.05rem 1.25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  align-items: center;
}
@media (min-width: 720px) { .event { grid-template-columns: 6.5rem 1fr auto; } }
.event__date {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--olive);
  display: flex; align-items: baseline; gap: 0.35rem;
}
.event__date span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.event__title { font-weight: 600; }
.event__meta { font-size: 0.88rem; color: var(--ink-mute); }
.event--special { border-color: var(--gold-soft); background: #fdf8ee; }
.event--past { opacity: 0.55; }
.badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.55rem; border-radius: 999px; background: var(--olive-tint); color: var(--olive-deep);
}
.badge--gold { background: #f4e6cb; color: #7a561f; }
.badge--muted { background: var(--sand); color: var(--ink-mute); }

/* ---------- Feasts / timeline ---------- */
.timeline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 0.5rem; }
.timeline li { position: relative; padding: 0.85rem 0 0.85rem 1.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: -0.47rem; top: 1.35rem;
  width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--olive);
}
.timeline li.is-past::before { border-color: var(--line); background: var(--sand); }
.timeline li.is-past { color: var(--ink-mute); }
.timeline__date { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.timeline li.is-past .timeline__date { color: var(--ink-mute); }
.timeline__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.timeline__note { font-size: 0.9rem; color: var(--ink-mute); }

/* ---------- Prose (Fundament etc.) ----------
   Eén ritme voor de hele tekst: vaste marges in rem, onafhankelijk van het
   lettertype van het element. Secties beginnen met een kop en worden onderling
   door dezelfde maat gescheiden. */
.prose { max-width: var(--measure); line-height: 1.72; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 1.15rem; }
.prose h2 { margin-block: 2.75rem 0.9rem; }
.prose h3 { margin-block: 2.1rem 0.7rem; font-size: var(--step-1); }
.prose h4 { margin-block: 1.6rem 0.5rem; font-size: 1.02rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
.prose section + section { margin-top: 3.25rem; }
.prose section > :first-child { margin-top: 0; }
.prose section > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin-block: 1.6rem; padding: 1.15rem 1.5rem;
  border-left: 3px solid var(--gold-soft); background: var(--paper-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: var(--step-1); font-style: italic;
  line-height: 1.55; color: var(--ink);
}
.prose blockquote p { margin: 0; }
/* kaarten en kaders binnen de tekst houden hun eigen ritme */
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.toc {
  position: sticky; top: 6rem;
  padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.toc h2 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.toc ol { list-style: none; padding: 0; margin: 0.8rem 0 0; display: grid; gap: 0.15rem; counter-reset: toc; }
.toc a { display: block; padding: 0.4rem 0.55rem; border-radius: var(--radius-sm); text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); }
.toc a:hover { background: var(--sand); color: var(--ink); }
.toc a.is-active { background: var(--olive-tint); color: var(--olive-deep); font-weight: 600; }
@media (max-width: 999px) { .toc { position: static; } }
.article-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 1000px) { .article-layout { grid-template-columns: 15rem minmax(0, 1fr); } }

/* ---------- Recordings ---------- */
.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--olive-deep); color: #f2f4ee;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  transform: translateY(110%); transition: transform 0.28s ease;
  padding: 0.7rem 0 clamp(0.7rem, 1.6vw, 1rem);
}
.player-bar.is-visible { transform: translateY(0); }
.player-bar__inner { display: grid; gap: 0.55rem 1.25rem; align-items: center; }
@media (min-width: 760px) { .player-bar__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; } }
.player-bar__title { font-family: var(--font-display); font-size: 1rem; }
.player-bar__speaker { font-size: 0.8rem; color: #b9c6b8; }
.player-bar audio { width: 100%; height: 36px; }
.player-bar__close {
  background: none; border: 1px solid rgb(255 255 255 / 0.3); color: #fff;
  border-radius: 999px; width: 2.2rem; height: 2.2rem; cursor: pointer; justify-self: end;
}

.filters { display: grid; gap: 0.75rem; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
@media (min-width: 700px) { .filters { grid-template-columns: 2fr 1fr; } }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select {
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); font-size: 0.95rem;
}
.field input:focus, .field select:focus { border-color: var(--olive); }

.rec-list { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.rec {
  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: center;
  padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); border: 1px solid transparent;
}
.rec:hover { background: var(--paper-warm); border-color: var(--line); }
.rec.is-playing { background: var(--olive-tint); border-color: #c9d6c6; }
.rec__main { min-width: 0; }
.rec__title {
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  font-weight: 600; font-size: 0.98rem; color: var(--ink); display: inline-flex; gap: 0.5rem; align-items: baseline;
}
.rec__title:hover { color: var(--olive); }
.rec--pres .rec__title, .rec--pres .rec__title:hover { color: var(--ink); cursor: default; }
.rec__play {
  flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--olive); color: #fff; display: inline-grid; place-items: center; font-size: 0.6rem;
}
.rec__meta { font-size: 0.82rem; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 0.25rem 0.7rem; }
.rec__actions { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; }
.rec__actions a { text-decoration: none; color: var(--ink-mute); }
.rec__actions a:hover { color: var(--olive); text-decoration: underline; }
.recs-count { font-size: 0.88rem; color: var(--ink-mute); margin-bottom: 0.75rem; }
.empty-state { padding: 2rem; text-align: center; color: var(--ink-mute); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Callout / contact ---------- */
.callout {
  display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg); background: var(--olive-tint); border: 1px solid #d3ddce;
}
@media (min-width: 800px) { .callout { grid-template-columns: 1fr auto; align-items: center; } }
.callout h2 { font-size: var(--step-2); }
.contact-grid { display: grid; gap: 1.25rem 2rem; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-item h3 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.contact-item p, .contact-item address { font-style: normal; margin-top: 0.3rem; color: var(--ink-soft); }
.contact-item a { word-break: break-word; }

/* ---------- Page header ---------- */
.page-head { background: var(--paper-warm); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { font-size: var(--step-3); max-width: 22ch; }
.page-head p { margin-top: 0.9rem; max-width: 56ch; color: var(--ink-soft); }

/* Kopbalk met foto uit het oude archief. De foto staat rechts op zijn eigen
   formaat (niet opgeblazen) en loopt via een masker zachties over in het
   donkere vlak waar de titel staat. */
.page-head--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--olive-deep);
  border-color: transparent;
  color: #eef1ea;
  padding-block: clamp(3rem, 6vw, 4.75rem);
  min-height: clamp(15rem, 27vw, 20rem);
  display: flex;
  align-items: center;
}
.page-head--photo h1 { color: #fff; }
.page-head--photo p { color: #d3dccd; }
.page-head--photo .eyebrow { color: var(--gold-soft); }
.page-head__photo { position: absolute; inset: 0; z-index: -2; }
.page-head__photo img {
  position: absolute; top: 0; right: 0;
  height: 100%; width: auto; max-width: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}
.page-head--photo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--olive-deep) 0%, var(--olive-deep) 36%,
      rgb(29 51 42 / 0.72) 55%, rgb(29 51 42 / 0.28) 78%, rgb(29 51 42 / 0.3) 100%);
}
@media (max-width: 760px) {
  .page-head--photo { min-height: 0; }
  .page-head__photo img { opacity: 0.6; mask-image: none; -webkit-mask-image: none; }
  .page-head--photo::after {
    background: linear-gradient(180deg, rgb(24 43 35 / 0.82) 0%, rgb(24 43 35 / 0.9) 55%, var(--olive-deep) 100%);
  }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-deep); color: #cfd8c9; padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.site-footer a { color: #e7ece1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__mark { background: #f6f2e8; color: var(--olive-deep); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; font-size: 0.92rem; }
.site-footer p, .site-footer address { font-size: 0.92rem; font-style: normal; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.14);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem; color: #a9b7a6;
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.stack > * + * { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
