/* Strijbos Mediation, versie 2
   Layout: dossier-grid. Links uitgelijnd, haarlijnen, kleine labels, één accentkleur.
   Huisstijl blijft: inkt, donkerblauw accent, Fraunces voor koppen, Inter voor tekst.
   Zakelijker dan v1: koeler wit in plaats van crème, geen grote citaten, meer structuur. */

:root {
  --paper: #fcfcfd;
  --band: #f1f3f7;
  --ink: #15161a;
  --muted: #4f5664;
  --rule: #dde2ea;
  --accent: #1d3a8a;
  --accent-hover: #162d6d;
  --on-accent: #ffffff;
  --accent-tint: #e9eef9;
  --deep: #15161a;
  --deep-fg: #eef0f4;
  --deep-muted: #a9afbb;
  --deep-rule: #2c303a;
  --deep-accent: #9db4ec;
  --chip: #ffffff;
  --logo-filter: none;
  --logo-opacity: 1;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --t-xs: 0.78rem;
  --t-sm: 0.9rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
  --t-2xl: clamp(1.9rem, 1.45rem + 1.9vw, 2.75rem);
  --t-3xl: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);

  --max: 1160px;
  --radius: 4px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111318; --band: #171a21; --ink: #eceef2; --muted: #a6acb8; --rule: #2a2f3a;
    --accent: #9db4ec; --accent-hover: #b8caf3; --on-accent: #0f1320; --accent-tint: #1b2338;
    --deep: #0a0b0e; --deep-fg: #eceef2; --deep-muted: #a6acb8; --deep-rule: #23262e; --deep-accent: #9db4ec;
    --chip: #f4f5f7; --logo-filter: brightness(0) invert(1); --logo-opacity: 0.82;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111318; --band: #171a21; --ink: #eceef2; --muted: #a6acb8; --rule: #2a2f3a;
  --accent: #9db4ec; --accent-hover: #b8caf3; --on-accent: #0f1320; --accent-tint: #1b2338;
  --deep: #0a0b0e; --deep-fg: #eceef2; --deep-muted: #a6acb8; --deep-rule: #23262e; --deep-accent: #9db4ec;
  --chip: #f4f5f7; --logo-filter: brightness(0) invert(1); --logo-opacity: 0.82;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 72, "SOFT" 0, "WONK" 0;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
.lead { font-size: var(--t-lg); color: var(--muted); max-width: 40rem; line-height: 1.55; }
.prose { display: grid; gap: 1.1em; max-width: 38rem; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 560px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

.eyebrow {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand svg { width: 26px; height: 26px; color: var(--ink); flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 1rem; }
.brand-role { font-size: var(--t-xs); color: var(--muted); letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; font-size: var(--t-sm); color: var(--muted); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-accent); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule); color: var(--ink);
  border-radius: var(--radius); padding: 0.45rem 0.75rem; font: inherit; font-size: var(--t-sm); cursor: pointer;
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem max(16px, env(safe-area-inset-right, 0px)) 1.4rem max(16px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-base); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.3rem; border-radius: var(--radius);
  font: inherit; font-size: var(--t-sm); font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-line { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-band { background: var(--band); }
.section-head { display: grid; gap: 0.9rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 44rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Hero */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero-grid > * { min-width: 0; }
.hero-copy { display: grid; gap: 1.5rem; }
.hero-copy h1 { max-width: 15ch; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
.hero-photo figcaption {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: 0.5rem 0.8rem; font-size: var(--t-xs); line-height: 1.35;
}
.hero-photo figcaption strong { display: block; font-size: var(--t-sm); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-creds { order: 2; } .hero-photo { order: 3; }
  .hero-photo { max-width: 360px; }
}
@media (max-width: 560px) { .hero-photo img { aspect-ratio: 1 / 1; object-position: 50% 30%; } .lead { font-size: 1.1rem; } }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule); margin-top: clamp(2.5rem, 5vw, 4rem);
}
.facts div { padding: 1.1rem 1.2rem 0 0; display: grid; gap: 0.2rem; min-width: 0; }
.facts dt { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-size: var(--t-sm); font-weight: 500; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; } }

/* Entry cards: the one place with card styling */
.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.entry {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.8rem;
  padding: 1.6rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s, transform .15s;
}
.entry:hover { border-color: var(--accent); }
.entry .who { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.entry h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-xl); }
.entry p { color: var(--muted); font-size: var(--t-sm); }
.entry .more { font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .entries { grid-template-columns: minmax(0, 1fr); } }
.adviser-strip {
  margin-top: 1rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding: 1.1rem 1.6rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.adviser-strip .label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.adviser-strip p { color: var(--ink); font-size: var(--t-sm); }
@media (max-width: 760px) { .adviser-strip { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; padding-inline: 0; } }

/* Situations */
.situations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.situations li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--rule);
}
.tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-tint); padding: 0.2rem 0.5rem; border-radius: 3px; white-space: nowrap;
}

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 2.5rem; }
.benefits > div { border-top: 2px solid var(--ink); padding-top: 1rem; display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.benefits p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 860px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }

/* Cases, as dossier entries */
.cases { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.case { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.case-meta { display: grid; gap: 0.25rem; align-content: start; font-size: var(--t-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-variant-numeric: tabular-nums; }
.case-meta .year { color: var(--ink); font-size: var(--t-sm); letter-spacing: 0.02em; }
.case-body { display: grid; gap: 0.5rem; max-width: 44rem; }
.case-body p { color: var(--muted); }
.case-body .outcome { color: var(--ink); }
.case-body .outcome b { font-weight: 600; color: var(--accent); }
@media (max-width: 640px) { .case { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; } .case-meta { grid-auto-flow: column; justify-content: start; gap: 1rem; } }

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.quotes figure { margin: 0; display: grid; gap: 1rem; align-content: start; padding-left: 1.5rem; border-left: 3px solid var(--accent); }
.quotes blockquote { margin: 0; font-family: var(--font-display); font-size: var(--t-xl); line-height: 1.4; letter-spacing: -0.005em; }
.quotes figcaption { font-size: var(--t-sm); color: var(--muted); }
.quotes figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.logos { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.logos li { background: var(--chip); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.6rem 0.9rem; display: flex; align-items: center; }
.logos img { height: 30px; width: auto; }

/* Articles */
.articles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.articles a { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.articles time { font-size: var(--t-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.articles span.t { font-family: var(--font-display); font-size: var(--t-lg); }
.articles a:hover span.t { color: var(--accent); }
.articles .arr { color: var(--accent); }
@media (max-width: 560px) { .articles a { grid-template-columns: minmax(0, 1fr) auto; } .articles time { grid-column: 1 / -1; } }
.textlink { color: var(--accent); font-weight: 600; font-size: var(--t-sm); text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.inlinelink { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.inlinelink:hover { color: var(--accent); }

/* Contact band */
.contact { background: var(--deep); color: var(--deep-fg); }
.contact .eyebrow { color: var(--deep-accent); }
.contact h2 { color: var(--deep-fg); }
.contact .lead { color: var(--deep-muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.contact-grid > * { min-width: 0; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--deep-rule); }
.contact-list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--deep-rule); align-items: baseline; }
.contact-list .k { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--deep-muted); font-weight: 600; }
.contact-list a { color: var(--deep-fg); text-decoration: none; font-size: var(--t-lg); overflow-wrap: anywhere; user-select: all; }
.contact-list a:hover { color: var(--deep-accent); }
.contact-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-photo { max-width: 320px; } }
@media (max-width: 480px) { .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } }

/* Footer */
.site-footer { background: var(--deep); color: var(--deep-muted); border-top: 1px solid var(--deep-rule); font-size: var(--t-sm); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; }
.site-footer a { color: var(--deep-muted); text-decoration: none; }
.site-footer a:hover { color: var(--deep-fg); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* Subpages */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-hero .inner { display: grid; gap: 1.3rem; max-width: 48rem; }
.crumb { font-size: var(--t-sm); color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--ink); }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.points li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.points li > * { min-width: 0; }
.points p { color: var(--muted); }
@media (max-width: 680px) { .points li { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; } }

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--font-display); font-size: var(--t-xl); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 1.1rem; font-family: var(--font-body);
  font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.4rem; max-width: 40rem; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.steps li::before { content: "Stap " counter(s); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.steps p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.timeline-note {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.2rem;
  padding: 1.2rem 1.4rem; background: var(--accent-tint); border-radius: var(--radius);
}
.timeline-note b { font-family: var(--font-display); font-weight: 400; font-size: var(--t-xl); color: var(--accent); }
.timeline-note span { color: var(--ink); }

.casefile {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center;
  border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--paper);
}
.casefile .num { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.casefile .num small { display: block; font-family: var(--font-body); font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; font-weight: 600; }
.casefile p { color: var(--muted); }
.casefile p + p { margin-top: 0.6rem; }
.casefile strong { color: var(--ink); }
@media (max-width: 600px) { .casefile { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }

.cta-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-strip h2 { font-size: var(--t-xl); max-width: 30ch; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Credentials shelf: logos on a light shelf in both themes so the dark logos stay legible */
.credentials { background: var(--chip); border-block: 1px solid var(--rule); }
.credentials .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2.5rem; padding-block: 1.4rem; }
.credentials .label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #4f5664; }
.credentials ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(2rem, 5vw, 4rem); }
.credentials img { width: auto; }
.credentials .l-mfn, .credentials .l-nmv, .credentials .l-hlf { height: 46px; }
.credentials .l-result { height: 28px; }
.credentials .l-efm { height: 34px; }
@media (max-width: 560px) {
  .credentials .l-mfn, .credentials .l-nmv, .credentials .l-hlf { height: 36px; } .credentials .l-result { height: 22px; } .credentials .l-efm { height: 27px; }
  .credentials ul { gap: 1.2rem 1.8rem; }
}

.hero-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: var(--t-sm); color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-meta b { color: var(--ink); font-weight: 600; }
.hero-meta { font-size: var(--t-base); }

/* Logos in the hero itself, on a light plate so they read in both themes */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 5vw, 4.5rem); }
.hero-grid { align-items: center; }
.hero-creds { grid-column: 1 / -1; background: var(--chip); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.1rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 2rem; }
.hero-creds .label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #4f5664; }
.hero-creds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem clamp(1.5rem, 3vw, 2.8rem); }
.hero-grid { row-gap: clamp(1.5rem, 3vw, 2.5rem); }
.hero-photo img { max-height: 470px; }
.hero-creds img { width: auto; }
.hero-creds .l-mfn, .hero-creds .l-nmv, .hero-creds .l-hlf { height: 42px; }
.hero-creds .l-result { height: 26px; }
.hero-creds .l-efm { height: 31px; }
@media (max-width: 560px) { .hero-creds .l-mfn, .hero-creds .l-nmv, .hero-creds .l-hlf { height: 34px; } .hero-creds .l-result { height: 21px; } .hero-creds .l-efm { height: 25px; } .hero-creds ul { gap: 1rem 1.5rem; } }

/* Mobile: logos as a swipeable row. MfN, Result ADR and EFM always fit in view; NMv and HLF scroll in. */
@media (max-width: 560px) {
  .hero-creds, .credentials .wrap { display: grid; gap: 0.7rem; }
  .hero-creds { padding: 0.9rem 0 0.9rem 0.9rem; }
  .hero-creds .label { padding-right: 0.9rem; }
  .hero-creds ul, .credentials ul {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 14px; padding-right: 0.9rem;
  }
  .hero-creds ul::-webkit-scrollbar, .credentials ul::-webkit-scrollbar { display: none; }
  .hero-creds li, .credentials li { flex: 0 0 auto; scroll-snap-align: start; }
  .hero-creds .l-mfn, .credentials .l-mfn { height: 11vw; }
  .hero-creds .l-result, .credentials .l-result { height: 6.2vw; }
  .hero-creds .l-efm, .credentials .l-efm { height: 7.4vw; }
  .hero-creds .l-nmv, .credentials .l-nmv { height: 10.4vw; }
  .hero-creds .l-hlf, .credentials .l-hlf { height: 10.4vw; }
}
.hero { padding-block: clamp(2rem, 4vw, 3.25rem) clamp(3rem, 5vw, 4.5rem); }
.hero-copy { gap: 1.25rem; }
@media (min-width: 861px) { .hero-photo img { max-height: 430px; } }

/* Articles */
.article { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.article-inner { max-width: 42rem; display: grid; gap: 1.1rem; }
.article-inner h1 { font-size: var(--t-2xl); }
.article-meta { color: var(--muted); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.article-body { display: grid; gap: 1.15rem; margin-top: 1rem; border-top: 1px solid var(--rule); padding-top: 2rem; }
.article-body p, .article-body li { color: var(--ink); line-height: 1.75; }
.article-body h2 { font-size: var(--t-xl); margin-top: 1rem; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.article-body blockquote {
  margin: 0.5rem 0; padding: 0.2rem 0 0.2rem 1.4rem; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: var(--t-lg); line-height: 1.5; color: var(--ink);
}
.article-body .article-cta { margin-top: 1rem; padding: 1.2rem 1.4rem; background: var(--band); border-radius: var(--radius); color: var(--muted); }
.article-body .article-cta a { font-weight: 600; text-decoration: none; display: inline-block; margin-top: 0.3rem; }
.info-block { background: var(--band); border-radius: var(--radius); padding: 1rem 1.2rem; line-height: 1.7; }
.notfound { padding-block: clamp(4rem, 10vw, 8rem); }
@media (max-width: 560px) { .articles a { row-gap: 0.25rem; } }

/* Open logo row (replaces the boxed versions) */
.credentials { background: transparent; border: 0; border-bottom: 1px solid var(--rule); }
.credentials .wrap { display: block; padding-block: clamp(2rem, 4vw, 2.75rem); }
.logo-row { display: grid; justify-items: center; gap: 1.6rem; }
.logo-row-home { margin-top: clamp(3.5rem, 7vw, 5rem); }
.logo-row .label {
  display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 46rem;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.logo-row .label::before, .logo-row .label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.logo-row ul {
  list-style: none; margin: 0; padding: 0; width: 100%;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.8rem clamp(2.5rem, 6vw, 5rem);
}
.logo-row li { flex: 0 0 auto; }
.logo-row img { width: auto; filter: var(--logo-filter); opacity: var(--logo-opacity); }
.logo-row .l-mfn { height: 54px; }
.logo-row .l-result { height: 30px; }
.logo-row .l-efm { height: 38px; }
.logo-row .l-nmv, .logo-row .l-hlf { height: 50px; }
@media (max-width: 560px) {
  .logo-row { gap: 1.2rem; }
  .logo-row ul {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
    padding-inline: max(16px, env(safe-area-inset-left, 0px));
    scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px));
    width: calc(100% + 2 * max(16px, env(safe-area-inset-left, 0px)));
    gap: 2rem;
  }
  .logo-row ul::-webkit-scrollbar { display: none; }
  .logo-row li { scroll-snap-align: start; }
  .logo-row li:last-child { padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .logo-row .l-mfn { height: 12vw; }
  .logo-row .l-result { height: 6.6vw; }
  .logo-row .l-efm { height: 8.4vw; }
  .logo-row .l-nmv, .logo-row .l-hlf { height: 11vw; }
}
@media (min-width: 861px) {
  .logo-row ul { flex-wrap: nowrap; justify-content: space-between; max-width: 64rem; gap: 2rem; }
}

/* Logo row placed between content sections on inner pages */
.credentials { border: 0; background: var(--paper); }
.credentials .wrap { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.section-band + .credentials .wrap { border-top: 0; }
.credentials .wrap { border-top: 0; padding-block: clamp(0.5rem, 2vw, 1.5rem) clamp(3rem, 6vw, 4.5rem); }
.section-band + .credentials .wrap { padding-top: clamp(2.5rem, 5vw, 4rem); }

.hero-photo img { object-position: 50% 35%; }

/* Home: logo row in its own grey band directly under the hero */
.logos-band { padding-block: clamp(2.25rem, 4.5vw, 3.25rem); border-block: 1px solid var(--rule); }
.logos-band .logo-row { gap: 1.4rem; }
.entry { background: var(--paper); }
.section:not(.section-band) .entry { background: var(--band); border-color: transparent; }
.section:not(.section-band) .entry:hover { border-color: var(--accent); }

/* EFM lemniscaat (werkwijze) */
.efm-figure { margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; }
.efm-figure svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
.efm-figure .ef-under { fill: var(--accent-tint); }
.efm-figure .ef-loop { fill: none; stroke: var(--accent); stroke-width: 3.5; }
.efm-figure .ef-arrow { fill: var(--accent); }
.efm-figure text { text-anchor: middle; fill: var(--ink); }
.efm-figure .ef-party { font-size: 20px; font-weight: 600; }
.efm-figure .ef-title { font-size: 25px; font-weight: 600; }
.efm-figure .ef-sub, .efm-figure .ef-mid { font-size: 17px; fill: var(--muted); }
.efm-figure .ef-side { text-anchor: start; font-size: 15px; fill: var(--muted); }
.efm-figure .ef-bar { fill: var(--ink); }
.efm-figure .ef-bartext { fill: var(--paper); font-size: 16px; font-weight: 600; letter-spacing: 0.14em; }
