/* ==========================================================================
   AD-Development — gedeelde stijlen
   Basis: diep inktblauw, één familie (Archivo) die over de breedte-as varieert:
   expanded voor koppen, normaal voor lopende tekst, condensed voor meetwaarden.
   ========================================================================== */

:root {
  --nacht: #080B1C;
  --diep: #0F1430;
  --diep-2: #161C3E;
  --frost: #E9ECF7;
  --nevel: #9097B8;
  --paper: #EDEFF6;
  --ink: #0A0F2C;
  --ink-nevel: #4A5175;

  --fg: var(--frost);
  --muted: var(--nevel);
  --line: rgba(170, 182, 235, .14);
  --line-strong: rgba(170, 182, 235, .30);
  --surface: var(--diep);

  --accent: #A99CFF;
  --accent-2: #7FE0D0;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --t-xs: 13px;
  --t-sm: 15px;
  --t-base: 18px;
  --t-md: clamp(19px, 1.45vw, 22px);
  --t-lg: clamp(24px, 2.2vw, 31px);
  --t-xl: clamp(32px, 3.7vw, 56px);
  --t-2xl: clamp(38px, 5.6vw, 88px);
  --t-hero: clamp(38px, 7.4vw, 128px);

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1480px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.75, 0, .2, 1);
}

.page-onco { --accent: #FF7DB4; --accent-2: #8E80FF; }
.page-hpc  { --accent: #FFB24A; --accent-2: #FF6A3D; }

.theme-paper {
  --fg: var(--ink);
  --muted: var(--ink-nevel);
  --line: rgba(10, 15, 44, .14);
  --line-strong: rgba(10, 15, 44, .32);
  background: var(--paper);
  color: var(--ink);
}

/* ---------- reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--t-base);
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--frost); color: var(--ink);
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.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;
}

/* ---------- typografie ---------- */
.section-title {
  font-size: var(--t-2xl);
  font-stretch: 125%;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 15ch;
  text-wrap: balance;
}
.lede { font-size: var(--t-md); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.readout {
  font-size: var(--t-xs);
  font-stretch: 62%;
  font-weight: 500;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.readout b { color: var(--fg); font-weight: 600; }

/* ---------- knoppen ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 26px;
  font-size: var(--t-sm); font-weight: 500; font-stretch: 112%; line-height: 1;
  letter-spacing: .01em;
  border: 0; border-radius: 2px; cursor: pointer;
  transition: color .45s var(--ease), box-shadow .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn--solid { background: var(--frost); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); box-shadow: inset 0 0 0 1px transparent; }
.theme-paper .btn--solid { background: var(--ink); color: var(--paper); }
.theme-paper .btn--solid:hover { color: var(--ink); }
.btn__bars { display: inline-grid; grid-auto-flow: column; gap: 2px; align-items: end; height: 10px; }
.btn__bars i { width: 2px; background: currentColor; height: 40%; transition: height .5s var(--ease); }
.btn__bars i:nth-child(2) { height: 70%; transition-delay: .04s; }
.btn__bars i:nth-child(3) { height: 100%; transition-delay: .08s; }
.btn:hover .btn__bars i { height: 100%; }
.btn:hover .btn__bars i:nth-child(3) { height: 40%; }

/* ---------- logo ---------- */
.mark { width: 30px; height: 30px; flex: none; }
.mark rect { fill: currentColor; transition: transform .6s var(--ease); }
a:hover .mark rect:nth-of-type(odd) { transform: translateX(3px); }
a:hover .mark rect:nth-of-type(even) { transform: translateX(-3px); }
.brand { font-size: 17px; letter-spacing: -.01em; font-stretch: 100%; font-weight: 400; white-space: nowrap; }
.brand b { font-weight: 700; font-stretch: 125%; letter-spacing: .01em; }

/* ---------- navigatie ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(8, 11, 28, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(170, 182, 235, .12);
}
.nav__inner { display: flex; align-items: center; gap: 40px; height: 76px; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--frost); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 10px 14px; font-size: var(--t-sm); color: var(--nevel);
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--frost); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { padding: 13px 20px; color: var(--frost); }
.nav__toggle {
  display: none; margin-left: auto; padding: 10px 0 10px 14px; background: none; border: 0;
  color: var(--frost); font-size: var(--t-sm); cursor: pointer; align-items: center; gap: 10px;
}
.nav__toggle-icon { display: grid; gap: 5px; width: 22px; }
.nav__toggle-icon i { height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--nacht);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.menu a { display: block; padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(28px, 8vw, 44px); font-stretch: 125%; font-weight: 300; letter-spacing: -.02em; }
.menu a:last-of-type { border-bottom: 1px solid var(--line); }
.menu .readout { margin-top: 28px; }

/* ---------- paginaovergang: parallelle balken ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 120; pointer-events: none;
  display: grid; grid-template-columns: repeat(8, 1fr);
}
.curtain i {
  background: var(--diep);
  transform: scaleY(0); transform-origin: 50% 100%;
  box-shadow: inset -1px 0 0 rgba(170, 182, 235, .08);
}
.curtain i::after {
  content: ""; display: block; height: 2px; background: var(--accent); opacity: .9;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
html.is-leaving .curtain { pointer-events: all; }
html.is-leaving .curtain i { animation: curtainIn .6s var(--ease-io) forwards; animation-delay: calc(var(--i) * 38ms); }
html.is-entering .curtain i {
  transform: scaleY(1); transform-origin: 50% 0;
  animation: curtainOut .75s var(--ease-io) forwards; animation-delay: calc(120ms + var(--i) * 42ms);
}
@keyframes curtainIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes curtainOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* ---------- koppen die openklappen (één laadmoment per pagina) ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span {
  display: inline-block;
  transform: translateY(105%);
  font-stretch: 62%;
  transition: transform 1.1s var(--ease), font-stretch 1.6s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms + 150ms);
}
[data-split].is-in .w > span { transform: none; font-stretch: 125%; }
.js-off [data-split] .w > span { transform: none; font-stretch: 125%; }

/* ---------- overgang: balkenrand tussen secties ---------- */
.edge-bars {
  position: relative; height: clamp(90px, 16vh, 180px);
  display: grid; grid-template-columns: repeat(var(--n, 28), 1fr); align-items: end;
  gap: 0;
}
.edge-bars i {
  height: var(--h); background: var(--to, var(--nacht));
  transform: scaleY(var(--grow, 1)); transform-origin: 50% 100%;
  transition: transform .2s linear;
}
.edge-bars--down { align-items: start; }
.edge-bars--down i { transform-origin: 50% 0; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; background: var(--nacht); border-top: 1px solid var(--line); padding-block: 72px 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand a { display: inline-flex; align-items: center; gap: 12px; color: var(--frost); }
.footer__brand p { color: var(--muted); max-width: 36ch; font-size: var(--t-sm); }
.footer h2 { font-size: var(--t-sm); font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer ul a { font-size: var(--t-sm); transition: color .3s; }
.footer ul a:hover { color: var(--accent); }
.footer__base {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line);
}
.footer__base a:hover { color: var(--fg); }

/* ==========================================================================
   Hoofdpagina
   ========================================================================== */

.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.field.is-fallback {
  background:
    radial-gradient(60% 50% at 70% 40%, rgba(169, 156, 255, .18), transparent 70%),
    radial-gradient(40% 40% at 85% 75%, rgba(127, 224, 208, .12), transparent 70%);
}
.field-labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.field-label {
  position: absolute; left: 0; top: 0;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 2px;
  background: rgba(8, 11, 28, .62);
  font-size: 12px; font-stretch: 75%; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
  color: var(--frost); opacity: 0; transition: opacity .5s var(--ease);
  will-change: transform, opacity;
}
.field-label i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--c, var(--accent)); }
.field-label--hub { background: var(--frost); color: var(--ink); border-color: transparent; font-weight: 600; }

main { position: relative; z-index: 2; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-block: 132px 48px; }
.hero__inner { position: relative; }
.hero__title {
  font-size: var(--t-hero); font-stretch: 125%; font-weight: 300;
  line-height: .97; letter-spacing: -.035em; max-width: 11.5ch;
  hyphens: manual;
}
.hero__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
  margin-top: clamp(32px, 5vh, 56px); padding-top: 28px; border-top: 1px solid var(--line);
}
.hero__lede { font-size: var(--t-md); color: var(--muted); max-width: 50ch; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hud {
  position: absolute; top: 104px; right: var(--gutter); z-index: 2;
  display: grid; gap: 4px; justify-items: end; text-align: right;
}
.hero__hint { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.hero__hint i { width: 1px; height: 36px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__hint i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* disciplines: vastgezette scrollvertelling */
.disc { position: relative; height: 420vh; }
.disc__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.disc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.disc__text { display: flex; flex-direction: column; gap: 36px; padding-top: 40px; }
.disc__intro { font-size: var(--t-md); color: var(--muted); max-width: 30ch; }
.disc__steps { list-style: none; padding: 0; display: grid; }
.disc__step {
  grid-area: 1 / 1; opacity: 0; transform: translateY(28px); visibility: hidden;
  transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s .6s;
}
.disc__step.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .7s var(--ease) .1s, transform .9s var(--ease) .1s, visibility 0s; }
.disc__label { display: flex; align-items: baseline; gap: 14px; font-size: var(--t-sm); color: var(--accent); font-weight: 500; }
.disc__label span { font-stretch: 62%; font-variant-numeric: tabular-nums; color: var(--muted); }
.disc__claim {
  margin: 16px 0 22px;
  font-size: var(--t-xl); font-stretch: 125%; font-weight: 300; line-height: 1.04; letter-spacing: -.025em;
  max-width: 14ch; text-wrap: balance;
}
.disc__step p { color: var(--muted); max-width: 44ch; }
.taglist { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 48ch; }
.taglist li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--fg); background: rgba(8, 11, 28, .4); }
.disc__progress { display: flex; gap: 6px; max-width: 420px; }
.disc__progress span { position: relative; height: 2px; flex: 1; background: var(--line); overflow: hidden; }
.disc__progress span i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.disc__meter {
  position: absolute; right: var(--gutter); bottom: 40px;
  display: grid; grid-template-columns: auto auto; align-items: end; gap: 6px 18px;
  opacity: 0; transition: opacity .6s var(--ease);
}
.disc__meter.is-on { opacity: 1; }
.disc__meter .readout { grid-column: 1 / -1; }
.disc__meter strong { font-size: 44px; font-stretch: 62%; font-weight: 400; line-height: .9; font-variant-numeric: tabular-nums; }
.disc__meter svg { width: 168px; height: 48px; overflow: visible; }

/* aanpak: lichte sectie met vulbare rail */
.approach { position: relative; }
.approach__fade { height: 46vh; background: linear-gradient(180deg, rgba(237, 239, 246, 0) 0%, rgba(237, 239, 246, .55) 55%, var(--paper) 100%); }
.approach__body { padding-block: 24px 120px; }
.approach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.approach__head { position: sticky; top: 120px; align-self: start; display: grid; gap: 28px; }
.approach__head .lede { max-width: 40ch; }
.rail { list-style: none; padding: 0 0 0 44px; position: relative; --fill: 0; }
.rail::before, .rail::after { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; }
.rail::before { background: var(--line); }
.rail::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--fill)); }
.rail li { position: relative; padding: 0 0 64px; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px 24px; }
.rail li:last-child { padding-bottom: 0; }
.rail li::before {
  content: ""; position: absolute; left: -44px; top: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong);
  transition: box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.rail li.is-reached::before { background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 6px rgba(10, 15, 44, .08); }
.rail__n { font-size: 56px; font-stretch: 62%; font-weight: 300; line-height: .9; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .5s var(--ease); }
.rail li.is-reached .rail__n { color: var(--ink); }
.rail h3 { font-size: var(--t-lg); font-stretch: 125%; font-weight: 400; letter-spacing: -.015em; line-height: 1.15; }
.rail p { grid-column: 2; color: var(--muted); max-width: 52ch; }
.rail__dur { grid-column: 2; font-size: var(--t-xs); font-stretch: 75%; font-weight: 500; color: var(--ink); }
.approach__note { margin-top: 48px; padding-left: 44px; }

/* specialisaties */
.spec { position: relative; padding-block: 120px 140px; background: var(--nacht); }
.spec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 64px; }
.spec__panels { display: flex; gap: 16px; }
.spec__panel {
  position: relative; flex: 1 1 0; min-height: min(78vh, 720px); overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px; background: var(--diep);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: flex-grow .8s var(--ease), border-color .5s var(--ease);
}
.spec__panel:hover, .spec__panel:focus-visible { flex-grow: 1.45; border-color: var(--line-strong); }
.spec__panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.spec__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 11, 28, 0) 35%, rgba(8, 11, 28, .92) 85%); pointer-events: none; }
.spec__body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 44px); display: grid; gap: 16px; }
.spec__panel--onco { --accent: #FF7DB4; }
.spec__panel--hpc { --accent: #FFB24A; }
.spec__body h3 { font-size: var(--t-xl); font-stretch: 125%; font-weight: 300; letter-spacing: -.025em; line-height: 1.02; }
.spec__body p { color: var(--muted); max-width: 44ch; }
.spec__go { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: var(--t-sm); color: var(--fg); }
.spec__go i { width: 28px; height: 1px; background: var(--accent); position: relative; transition: width .6s var(--ease); }
.spec__go i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
.spec__panel:hover .spec__go i { width: 64px; }
.spec__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.spec__tags li { list-style: none; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.spec__tags { padding: 0; }

/* manifest met oplichtende woorden */
.manifesto { position: relative; padding-block: 140px; background: var(--nacht); }
.manifesto__text {
  font-size: var(--t-xl); font-stretch: 112%; font-weight: 300; line-height: 1.18; letter-spacing: -.02em;
  max-width: 26ch;
}
.manifesto__text .lw { color: var(--fg); opacity: .16; transition: opacity .35s linear; }
.manifesto__text .lw.is-lit { opacity: 1; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 112px; border-top: 1px solid var(--line); }
.principles div { padding: 28px 28px 0 0; }
.principles div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.principles dt { font-size: var(--t-md); font-stretch: 125%; font-weight: 500; margin-bottom: 10px; }
.principles dd { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }

/* contact */
.contact { position: relative; padding-block: 140px; background: var(--diep); border-top: 1px solid var(--line); overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 80px; }
.contact__title { font-size: var(--t-2xl); font-stretch: 125%; font-weight: 300; letter-spacing: -.03em; line-height: 1; max-width: 10ch; }
.contact__intro { display: grid; gap: 28px; align-content: start; }
.contact__mail { font-size: var(--t-lg); font-stretch: 112%; font-weight: 400; border-bottom: 1px solid var(--line-strong); justify-self: start; padding-bottom: 6px; transition: border-color .3s, color .3s; }
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.form__field { display: grid; gap: 8px; }
.form__field--wide { grid-column: 1 / -1; }
.form label { font-size: var(--t-sm); color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0; font-size: var(--t-base); color: var(--fg); transition: border-color .3s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--diep); color: var(--frost); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__note { font-size: var(--t-xs); color: var(--muted); max-width: 40ch; }
.form__error { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--accent); min-height: 1.5em; }

/* ==========================================================================
   Specialisatiepagina's (oncologie en HPC)
   ========================================================================== */

.phero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--nacht); }
.phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 28, .92) 0%, rgba(8, 11, 28, .62) 34%, rgba(8, 11, 28, 0) 62%),
    linear-gradient(0deg, rgba(8, 11, 28, .9) 0%, rgba(8, 11, 28, 0) 38%);
}
.phero__inner { position: relative; z-index: 2; padding-block: 140px 56px; pointer-events: none; }
.phero__inner a, .phero__inner button { pointer-events: auto; }
.phero__crumb { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; font-size: var(--t-sm); color: var(--muted); }
.phero__crumb a:hover { color: var(--fg); }
.phero__crumb i { width: 18px; height: 1px; background: var(--line-strong); }
.phero__title {
  font-size: clamp(38px, 6.6vw, 112px); font-stretch: 125%; font-weight: 300;
  line-height: .98; letter-spacing: -.035em; max-width: 12ch;
}
.phero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: 40px; max-width: 980px; }
.phero__lede { color: var(--muted); font-size: var(--t-md); max-width: 48ch; }
.phero__hud {
  position: absolute; z-index: 3; right: var(--gutter); top: 104px;
  display: grid; gap: 4px; justify-items: end; text-align: right; pointer-events: none;
}
.phero__hint { position: absolute; z-index: 3; right: var(--gutter); bottom: 56px; pointer-events: none; }

.lens-hud {
  position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none;
  padding: 10px 12px; min-width: 150px;
  background: rgba(8, 11, 28, .78); border: 1px solid var(--line-strong); border-radius: 3px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; gap: 3px; opacity: 0; transition: opacity .4s var(--ease);
}
.lens-hud.is-on { opacity: 1; }
.lens-hud .readout { display: flex; justify-content: space-between; gap: 18px; }
.lens-hud .readout i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.lens-hud__title { font-size: 12px; font-weight: 600; font-stretch: 75%; color: var(--fg); margin-bottom: 4px; }

.block { position: relative; padding-block: clamp(96px, 12vw, 160px); background: var(--nacht); }
.block--surface { background: var(--diep); }
.block__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.block__head .lede { justify-self: end; }

/* accordeon: toepassingen */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 24px;
  padding: 30px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--fg);
}
.acc__title { font-size: var(--t-lg); font-stretch: 125%; font-weight: 300; letter-spacing: -.015em; line-height: 1.15; transition: color .4s var(--ease), transform .6s var(--ease); }
.acc__btn:hover .acc__title { transform: translateX(10px); }
.acc__btn[aria-expanded="true"] .acc__title { color: var(--accent); }
.acc__meta { font-size: var(--t-xs); font-stretch: 75%; color: var(--muted); text-align: right; }
.acc__icon { position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .4s, box-shadow .4s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--accent); color: var(--ink); box-shadow: none; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__content { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; padding: 0 68px 40px 0; }
.acc__content p { color: var(--muted); max-width: 54ch; }
.acc__content ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.acc__content li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; font-size: var(--t-sm); }
.acc__content li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent); }

/* twee kolommen: tekst + visualisatie */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split__text { display: grid; gap: 28px; align-content: start; }
.split__text p { color: var(--muted); max-width: 52ch; }
.viz-frame { position: relative; border: 1px solid var(--line); border-radius: 6px; background: var(--diep); overflow: hidden; }
.viz-frame canvas, .viz-frame svg { width: 100%; height: auto; }
.viz-frame__bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--fg); }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.legend i.dash { width: 18px; height: 0; border-radius: 0; border-top: 2px dashed var(--c); background: none; }
.legend i.line { width: 18px; height: 2px; border-radius: 1px; }

/* pijplijn: echte volgorde */
.pipeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: p; position: relative; }
.pipeline li { position: relative; padding: 40px 28px 0 0; }
.pipeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.pipeline li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 140ms);
}
.pipeline.is-in li::after { transform: scaleX(1); }
.pipeline__dot { position: absolute; left: 0; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--fg); z-index: 1; }
.pipeline__n { display: block; font-size: 48px; font-stretch: 62%; font-weight: 300; line-height: 1; color: var(--muted); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.pipeline h3 { font-size: var(--t-md); font-stretch: 112%; font-weight: 500; line-height: 1.25; margin-bottom: 12px; }
.pipeline p { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }

/* datasheet */
.sheet { border-top: 1px solid var(--line); }
.sheet__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
.sheet__row:hover { background: linear-gradient(90deg, rgba(170, 182, 235, .05), transparent 80%); }
.sheet__row h3 { font-size: var(--t-md); font-stretch: 125%; font-weight: 400; letter-spacing: -.01em; line-height: 1.25; }
.sheet__row p { color: var(--muted); font-size: var(--t-sm); line-height: 1.65; max-width: 52ch; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.chips li { font-size: 13px; padding: 4px 10px; border-radius: 3px; background: rgba(170, 182, 235, .07); border: 1px solid var(--line); color: var(--fg); font-stretch: 87.5%; }

/* call-to-action band */
.cta { position: relative; padding-block: clamp(110px, 14vw, 190px); background: var(--nacht); overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.cta__title { font-size: var(--t-2xl); font-stretch: 125%; font-weight: 300; letter-spacing: -.03em; line-height: 1.02; max-width: 15ch; }
.cta__side { display: grid; gap: 28px; justify-items: start; }
.cta__side p { color: var(--muted); }
.cta__lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* formulier-elementen in visualisaties */
.controls { display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: end; padding: 18px; border-top: 1px solid var(--line); }
.control { display: grid; gap: 8px; min-width: 200px; flex: 1 1 200px; }
.control label { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-sm); color: var(--muted); }
.control output { color: var(--fg); font-stretch: 75%; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--accent) var(--v, 50%), var(--line-strong) var(--v, 50%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--frost); box-shadow: 0 0 0 4px rgba(8, 11, 28, .9), 0 0 0 5px var(--accent); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--frost); box-shadow: 0 0 0 4px rgba(8, 11, 28, .9), 0 0 0 5px var(--accent); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(8, 11, 28, .9), 0 0 0 7px var(--accent); }

.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats > div { padding: 18px; display: grid; gap: 4px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { font-size: 30px; font-stretch: 62%; font-weight: 400; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats span { font-size: var(--t-xs); color: var(--muted); }

.tooltip {
  position: absolute; z-index: 5; left: 0; top: 0; pointer-events: none;
  padding: 8px 10px; border-radius: 3px; background: rgba(8, 11, 28, .94); border: 1px solid var(--line-strong);
  font-size: 13px; line-height: 1.45; color: var(--fg); white-space: nowrap; opacity: 0; transition: opacity .15s;
}
.tooltip.is-on { opacity: 1; }
.tooltip b { font-weight: 600; }
.tooltip span { color: var(--muted); }

/* code vergelijking */
.code-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.code { border: 1px solid var(--line); border-radius: 6px; background: var(--diep); overflow: hidden; }
.code__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.code__head h3 { font-size: var(--t-sm); font-weight: 500; }
.code pre { margin: 0; padding: 20px 18px 24px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #C9CEE6; tab-size: 4; }
.code .k { color: #C5B9FF; }
.code .f { color: var(--accent); }
.code .c { color: #6E7598; font-style: italic; }
.code .n { color: #8FE3D6; }
.code mark { background: rgba(255, 178, 74, .1); color: inherit; box-shadow: inset 2px 0 0 var(--accent); display: inline-block; min-width: calc(100% + 36px); margin: 0 -18px; padding: 0 18px; }

/* ==========================================================================
   Responsief
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding-inline: 10px; }
  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles div:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

@media (max-width: 900px) {
  :root { --t-base: 17px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__foot, .phero__foot { grid-template-columns: 1fr; gap: 28px; }
  .hero__hud { display: none; }

  .disc__sticky { align-items: flex-end; }
  .disc__grid { grid-template-columns: 1fr; }
  .disc__text {
    gap: 20px; padding: 24px 0 28px;
    background: linear-gradient(180deg, rgba(8, 11, 28, 0), rgba(8, 11, 28, .86) 22%, var(--nacht) 100%);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .disc__intro { display: none; }
  .disc__claim { font-size: clamp(26px, 7vw, 36px); margin: 10px 0 12px; }
  .disc__step p { font-size: 15px; }
  .taglist { margin-top: 14px; }
  .taglist li { font-size: 12px; padding: 4px 10px; }
  .disc__meter { top: 84px; bottom: auto; right: var(--gutter); }
  .disc__meter strong { font-size: 32px; }
  .disc__meter svg { width: 110px; height: 34px; }

  .approach__grid, .spec__head, .contact__grid, .block__head, .split, .split--rev, .cta__inner, .acc__content { grid-template-columns: 1fr; }
  .approach__head { position: static; }
  .block__head .lede { justify-self: start; }
  .spec__panels { flex-direction: column; }
  .spec__panel { min-height: 460px; }
  .spec__panel:hover { flex-grow: 1; }
  .acc__content { padding-right: 0; gap: 24px; }
  .acc__btn { grid-template-columns: minmax(0, 1fr) 44px; }
  .acc__meta { display: none; }
  .sheet__row { grid-template-columns: 1fr; gap: 12px; }
  .code-compare { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .phero__hud { display: none; }
  .phero__scrim { background: linear-gradient(0deg, rgba(8, 11, 28, .96) 0%, rgba(8, 11, 28, .7) 45%, rgba(8, 11, 28, .1) 80%); }
}

@media (max-width: 640px) {
  .rail { padding-left: 34px; }
  .rail li { grid-template-columns: 1fr; padding-bottom: 48px; }
  .rail li::before { left: -34px; }
  .rail p, .rail__dur { grid-column: 1; }
  .rail__n { font-size: 40px; }
  .approach__note { padding-left: 34px; }
  .pipeline { grid-template-columns: 1fr; row-gap: 40px; }
  .principles { grid-template-columns: 1fr; }
  .principles div, .principles div + div { padding: 24px 0 0; border-left: 0; }
  .principles div + div { border-top: 1px solid var(--line); margin-top: 24px; }
  .form { grid-template-columns: 1fr; }
  .stats { --cols: 1 !important; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .phero__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-split] .w > span { transform: none; font-stretch: 125%; }
}

/* leesbaarheid van de heldtekst boven het deeltjesveld */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 28, .78) 0%, rgba(8, 11, 28, .35) 45%, rgba(8, 11, 28, 0) 70%),
    linear-gradient(0deg, rgba(8, 11, 28, .7) 0%, rgba(8, 11, 28, 0) 45%);
}

.disc__step .disc__claim { color: var(--fg); }

/* navigatie boven lichte secties */
.nav.is-light.is-scrolled { background: rgba(237, 239, 246, .78); box-shadow: 0 1px 0 rgba(10, 15, 44, .1); }
.nav.is-light .nav__brand, .nav.is-light .nav__toggle { color: var(--ink); }
.nav.is-light .nav__links a { color: var(--ink-nevel); }
.nav.is-light .nav__links a:hover, .nav.is-light .nav__links a[aria-current="page"] { color: var(--ink); }
.nav.is-light .nav__links a::after { background: var(--ink); }
.nav.is-light .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(10, 15, 44, .3); }
.nav.is-light .btn--ghost:hover { box-shadow: inset 0 0 0 1px transparent; }
.nav, .nav__brand, .nav__links a, .nav .btn--ghost { transition: background-color .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease); }

/* lichte blokken op de specialisatiepagina's */
.pblock { padding-block: clamp(56px, 7vw, 110px) clamp(40px, 5vw, 80px); }

/* federated learning */
#federated { width: 100%; height: auto; padding: 12px 12px 0; }
.fed__steps { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; border-top: 1px solid var(--line); counter-reset: f; }
.fed__steps li { counter-increment: f; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: var(--t-sm); line-height: 1.45; color: var(--muted); transition: color .4s var(--ease); }
.fed__steps li::before { content: counter(f); font-stretch: 62%; font-weight: 600; font-variant-numeric: tabular-nums; transition: color .4s var(--ease); }
.fed__steps li.is-active { color: var(--fg); }
.fed__steps li.is-active::before { color: var(--accent); }
#multimodal { width: 100%; }
@media (max-width: 640px) { .fed__steps { grid-template-columns: 1fr; } }

/* HPC: tijdlijn en grafiek */
.gantt__stage { position: relative; padding: 22px 18px 8px; }
.gantt__stage canvas { width: 100%; }
.amdahl__stage { position: relative; padding: 10px 12px 4px; }
.amdahl__stage svg { width: 100%; height: auto; overflow: visible; }
.legend i.hatch { width: 14px; height: 10px; border-radius: 2px; background: repeating-linear-gradient(135deg, rgba(144, 151, 184, .7) 0 1px, transparent 1px 4px); box-shadow: inset 0 0 0 1px rgba(144, 151, 184, .25); }
.controls--bare { padding: 8px 0 0; border-top: 0; }
.gantt .viz-frame__bar { align-items: center; flex-wrap: wrap; }
.viz-frame .btn { flex: none; }

.rank-labels { position: absolute; inset: 0; pointer-events: none; }
.rank-labels span { position: absolute; color: rgba(233, 236, 247, .5); font-size: 11px; }

/* lensinfo alleen naast de lens op brede schermen */
@media (max-width: 900px) { .lens-hud { display: none; } }

/* geen subpixelnaad tussen balkenrand en aangrenzende sectie */
.edge-bars { margin-bottom: -1px; }
.edge-bars--down { margin-bottom: 0; margin-top: -1px; }
.edge-bars i { will-change: transform; }

/* ==========================================================================
   Uitbreiding: talen, onderzoek, AI-governance
   ========================================================================== */
.page-gov { --accent: #8FC2FF; --accent-2: #F2C14E; }

/* taalschakelaar */
.nav__lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav__lang a { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; font-stretch: 87.5%; letter-spacing: .04em; color: var(--nevel); transition: color .3s var(--ease), background-color .3s var(--ease); }
.nav__lang a:hover { color: var(--frost); }
.nav__lang a[aria-current] { background: rgba(233, 236, 247, .12); color: var(--frost); }
.nav.is-light .nav__lang { box-shadow: inset 0 0 0 1px rgba(10, 15, 44, .25); }
.nav.is-light .nav__lang a { color: var(--ink-nevel); }
.nav.is-light .nav__lang a[aria-current] { background: rgba(10, 15, 44, .08); color: var(--ink); }
.nav__links { gap: 2px; }
.menu__lang { margin-top: 24px; }
.menu .menu__lang a { display: inline; padding: 0; border: 0; font-size: var(--t-md); font-stretch: 100%; font-weight: 400; color: var(--accent); }
.menu .menu__lang + .readout { margin-top: 12px; }
@media (max-width: 900px) {
  .nav__lang { margin-left: auto; }
  .nav__toggle { margin-left: 14px; }
}

/* footer met KvK */
.footer__base span + span { margin-right: auto; }

/* specialisaties: drie panelen */
.spec__panel--gov { --accent: #8FC2FF; }
@media (min-width: 901px) and (max-width: 1280px) { .spec__body h3 { font-size: clamp(26px, 2.6vw, 40px); } }

/* onderzoek */
.research .split { align-items: start; }
.cite { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.55; }
.cite dt { color: var(--muted); }
.cite dd { color: var(--fg); }
.research__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.research canvas { width: 100%; }
.research .stats strong { font-size: 26px; }
.viz-frame__note { padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--muted); }
@media (max-width: 640px) { .cite { grid-template-columns: 1fr; gap: 2px; } .cite dd { margin-bottom: 10px; } }

/* risicoklassen-verkenner */
.classifier { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; align-items: start; }
.cases { list-style: none; padding: 0; display: grid; gap: 8px; }
.case {
  width: 100%; display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 15px 18px; border-radius: 4px; border: 1px solid var(--line); background: transparent;
  color: var(--fg); font-size: var(--t-sm); text-align: left; cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.case i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .3s, box-shadow .3s; }
.case:hover { border-color: var(--line-strong); background: rgba(170, 182, 235, .04); }
.case[aria-pressed="true"] { border-color: var(--c); background: rgba(170, 182, 235, .07); }
.case[aria-pressed="true"] i { background: var(--c); box-shadow: none; }
.verdict { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.verdict__pyramid { padding: 26px; border-right: 1px solid var(--line); display: grid; align-content: center; }
.verdict__pyramid svg { width: 100%; height: auto; }
.verdict__body { padding: 26px 28px; display: grid; gap: 16px; align-content: start; }
.verdict__tier { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 600; color: var(--fg); }
.verdict__tier i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.verdict h3 { font-size: var(--t-lg); font-stretch: 125%; font-weight: 300; letter-spacing: -.015em; line-height: 1.15; }
.verdict p { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.verdict__meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; font-size: var(--t-sm); padding: 14px 0; border-block: 1px solid var(--line); }
.verdict__meta dt { color: var(--muted); }
.verdict ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.verdict li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: var(--t-sm); line-height: 1.5; }
.verdict li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.disclaimer { margin-top: 20px; font-size: var(--t-xs); color: var(--muted); max-width: 90ch; }

/* tijdlijn */
.timeline { --top: 150px; list-style: none; padding: 0; margin: 0; position: relative; height: 330px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: var(--top); height: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 0; top: var(--top); height: 2px; width: var(--today, 0%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.timeline__today { position: absolute; top: calc(var(--top) - 40px); left: var(--today, 0%); height: 52px; width: 1px; background: var(--accent-2); }
.timeline__today span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; font-stretch: 87.5%; color: var(--accent-2); }
.ms { position: absolute; left: var(--x); width: 190px; margin-left: -7px; }
.ms::before { content: ""; position: absolute; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--nacht); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ms.is-past::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(143, 194, 255, .15); }
.ms.is-up { bottom: calc(100% - var(--top) + 22px); }
.ms.is-down { top: calc(var(--top) + 26px); }
.ms.is-up::before { bottom: -29px; }
.ms.is-down::before { top: -32px; }
.ms.is-end { margin-left: 0; transform: translateX(calc(-100% + 7px)); text-align: right; }
.ms.is-end::before { left: auto; right: 0; }
.ms time { display: block; font-size: 12px; font-weight: 600; font-stretch: 87.5%; color: var(--accent); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.ms:not(.is-past) time { color: var(--muted); }
.ms h3 { font-size: var(--t-sm); font-weight: 600; line-height: 1.35; }
.ms p { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
@media (max-width: 1000px) {
  .timeline { height: auto; padding-left: 34px; }
  .timeline::before { top: 6px; bottom: 6px; left: 6px; right: auto; width: 2px; height: auto; }
  .timeline__fill, .timeline__today { display: none; }
  .ms, .ms.is-up, .ms.is-down, .ms.is-end { position: relative; left: auto; top: auto; bottom: auto; width: auto; margin: 0 0 26px; transform: none; text-align: left; }
  .ms::before, .ms.is-up::before, .ms.is-down::before, .ms.is-end::before { left: -34px; right: auto; top: 3px; bottom: auto; }
}

/* AIGP-certificering */
.credential { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.credential__text { display: grid; gap: 26px; justify-items: start; }
.credential__text p { color: var(--muted); max-width: 54ch; }
.badge {
  position: relative; overflow: hidden; aspect-ratio: 1.45; border-radius: 10px; padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(143, 194, 255, .16), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(242, 193, 78, .1), transparent 60%),
    var(--diep);
  display: grid; align-content: space-between;
}
.badge__lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.badge__top { position: relative; display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-sm); color: var(--muted); }
.badge__code { position: relative; font-size: clamp(64px, 9vw, 132px); font-stretch: 125%; font-weight: 700; letter-spacing: -.02em; line-height: .9; color: var(--frost); }
.badge__name { position: relative; display: grid; gap: 4px; }
.badge__name strong { font-size: var(--t-md); font-stretch: 112%; font-weight: 500; }
.badge__name span { font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 900px) {
  .classifier, .verdict, .credential { grid-template-columns: 1fr; }
  .verdict__pyramid { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 20px 8px; }
  .verdict__pyramid svg { max-width: 360px; margin-inline: auto; }
}
.contact__alt { justify-self: start; color: var(--muted); font-size: var(--t-sm); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.contact__alt:hover { color: var(--accent); border-color: var(--accent); }
.taglist a { border-bottom: 1px solid var(--line-strong); }
.taglist a:hover { color: var(--accent); }

.nowrap { white-space: nowrap; }
.section-title--sm { font-size: var(--t-xl); max-width: 18ch; }
@media (min-width: 901px) { .spec__body h3 { font-size: clamp(28px, 2.7vw, 44px); } }

/* smalle telefoons: menuknop alleen als icoon, de tekst blijft voor schermlezers */
@media (max-width: 480px) {
  .nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__inner { gap: 16px; }
  .brand { font-size: 16px; }
}

/* ==========================================================================
   Contactformulier: captcha, honeypot en bevestiging
   ========================================================================== */
/* honeypot: buiten beeld, niet met display:none zodat bots het veld wel zien */
.form__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.captcha {
  width: 100%; max-width: 420px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 4px; border: 1px solid var(--line-strong); background: rgba(8, 11, 28, .35);
  color: var(--fg); font-size: var(--t-sm); text-align: left; cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.captcha:hover { border-color: var(--accent); }
.captcha__box { position: relative; width: 22px; height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .3s, box-shadow .3s; }
.captcha__state { font-size: 12px; font-weight: 600; font-stretch: 87.5%; color: var(--muted); font-variant-numeric: tabular-nums; }
.captcha[data-state="solving"] { cursor: progress; }
.captcha[data-state="solving"] .captcha__box { box-shadow: none; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.captcha[data-state="done"] { border-color: var(--accent); cursor: default; }
.captcha[data-state="done"] .captcha__box { background: var(--accent); box-shadow: none; }
.captcha[data-state="done"] .captcha__box::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.captcha[data-state="done"] .captcha__state { color: var(--accent); }
.captcha[data-state="error"] { border-color: #E3466F; }
.captcha[data-state="error"] .captcha__state { color: #FF8FA8; }
.captcha__help { margin-top: 8px; font-size: var(--t-xs); color: var(--muted); max-width: 52ch; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .captcha[data-state="solving"] .captcha__box { animation: none; border-top-color: var(--line-strong); } }

.form__error a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.btn[disabled] { opacity: .65; cursor: progress; }

.form__done {
  align-self: start; display: grid; gap: 14px; padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(8, 11, 28, .35);
}
.form__done:focus { outline: none; }
.form__done h3 { font-size: var(--t-lg); font-stretch: 125%; font-weight: 300; letter-spacing: -.015em; line-height: 1.15; }
.form__done p { color: var(--muted); max-width: 46ch; }
.form__done-mark { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); }
.form__done-mark::after {
  content: ""; position: absolute; left: 16px; top: 10px; width: 10px; height: 19px;
  border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* het hidden-attribuut wint altijd van display-regels */
[hidden] { display: none !important; }

/* ==========================================================================
   Inzichten, artikelen, privacyverklaring en 404
   ========================================================================== */
/* navigatie met vijf links: compacter tussen 900 en 1240 pixels */
@media (min-width: 901px) and (max-width: 1240px) {
  .nav__inner { gap: 22px; }
  .nav__links a { padding-inline: 9px; }
  .nav__links a::after { left: 9px; right: 9px; }
  .nav__cta { padding: 12px 16px; }
}
@media (min-width: 901px) and (max-width: 1040px) { .nav__cta { display: none; } }

/* leesvoortgang onder de navigatie */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* kop van een artikel of tekstpagina */
.ahead { position: relative; background: var(--nacht); padding-block: clamp(150px, 20vh, 210px) clamp(56px, 7vw, 96px); overflow: hidden; }
.ahead__lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.ahead .wrap { position: relative; }
.ahead__title { font-size: clamp(36px, 5.4vw, 88px); font-stretch: 125%; font-weight: 300; line-height: 1; letter-spacing: -.032em; max-width: 18ch; text-wrap: balance; }
.ahead__lede { margin-top: 32px; font-size: var(--t-md); color: var(--muted); max-width: 60ch; }
.ahead__meta { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.ahead__meta div { display: grid; gap: 2px; }
.ahead__meta dt { font-size: var(--t-xs); color: var(--muted); }
.ahead__meta dd { font-size: var(--t-sm); color: var(--fg); }
.ahead__meta a { border-bottom: 1px solid var(--line-strong); }
.ahead__meta a:hover { color: var(--accent); border-color: var(--accent); }

/* leeslichaam: inhoudsopgave links, tekst rechts */
.reading { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 128px); }
.reading__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 108px; display: grid; gap: 14px; font-size: var(--t-sm); }
.toc h2 { font-size: var(--t-sm); font-weight: 500; color: var(--muted); }
.toc ol { list-style: none; padding: 0; display: grid; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.4; transition: color .3s var(--ease), border-color .3s var(--ease); }
.toc a:hover { color: var(--fg); }
.toc a.is-active { color: var(--fg); border-left-color: var(--ink); }

.prose { font-size: 19px; line-height: 1.72; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; font-size: var(--t-lg); font-stretch: 125%; font-weight: 400; letter-spacing: -.018em; line-height: 1.15; scroll-margin-top: 110px; text-wrap: balance; }
.prose h3 { margin-top: 1.8em; font-size: var(--t-md); font-stretch: 112%; font-weight: 500; line-height: 1.3; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 600; }
.prose a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s; }
.prose a:hover { border-color: currentColor; }
.prose .lead { font-size: var(--t-md); line-height: 1.6; }
.prose figure { margin-block: 2em; }
.prose > :first-child { margin-top: 0; }
.prose .btn { border-bottom: 0; }
.prose .legend { padding: 0; }
.prose .legend li { margin: 0; }

/* kernpunt en fout/beter-blok */
.callout { padding: 22px 26px; border-left: 3px solid var(--ink); background: rgba(10, 15, 44, .05); border-radius: 0 4px 4px 0; }
.callout p + p { margin-top: .7em; }
.callout__label { font-size: var(--t-sm); font-weight: 600; margin-bottom: 6px; }
.fix { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 17px; line-height: 1.6; }
.fix > div { padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.fix > div + div { border-left: 1px solid var(--line); background: rgba(10, 15, 44, .04); }
.fix h3 { margin: 0; font-size: var(--t-sm); font-stretch: 100%; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.fix h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.sources { font-size: var(--t-sm); line-height: 1.55; color: var(--muted); }
.sources li + li { margin-top: .5em; }
.prose .disclaimer { font-size: var(--t-xs); max-width: none; }

/* auteur */
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 3em; padding-top: 28px; border-top: 1px solid var(--line); }
.author__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.author__mark .mark { width: 30px; height: 30px; }
.author__name { font-size: var(--t-md); font-stretch: 112%; font-weight: 500; line-height: 1.3; }
.author p { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; margin-top: 6px; }
.author a { border-bottom: 1px solid var(--line-strong); }

/* donker eiland in lichte tekst: grafiek */
.island { --fg: var(--frost); --muted: var(--nevel); --line: rgba(170, 182, 235, .14); --line-strong: rgba(170, 182, 235, .3); color: var(--frost); background: var(--diep); border-radius: 8px; overflow: hidden; }
.island figcaption, .island .viz-frame__bar { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.island figcaption strong { font-size: var(--t-sm); font-weight: 600; }
.island .legend li { font-size: 14px; }
.dumbbell { position: relative; padding: 10px 14px 6px; }
.dumbbell svg { width: 100%; height: auto; overflow: visible; }
.dumbbell text { font-family: var(--font); }
.dumbbell .row:hover .row__bg, .dumbbell .row:focus .row__bg { fill: rgba(170, 182, 235, .07); }
.dumbbell .row:focus { outline: none; }
.dumbbell .row:focus-visible .row__bg { stroke: var(--accent); stroke-width: 1; }
.tip {
  position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; min-width: 200px; max-width: 280px;
  padding: 12px 14px; border-radius: 4px; background: rgba(8, 11, 28, .94); border: 1px solid var(--line-strong);
  font-size: 13px; line-height: 1.5; color: var(--frost); opacity: 0; transition: opacity .2s;
}
.tip.is-on { opacity: 1; }
.tip strong { display: block; font-size: 14px; margin-bottom: 4px; }
.tip span { display: block; color: var(--nevel); }
.island details { border-top: 1px solid var(--line); font-size: 14px; }
.island summary { padding: 12px 20px; cursor: pointer; color: var(--nevel); }
.island summary:hover { color: var(--frost); }
.datatable { width: 100%; border-collapse: collapse; font-size: 14px; }
.datatable th, .datatable td { text-align: left; padding: 9px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.datatable th { font-weight: 500; color: var(--nevel); }
.datatable td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* zelftest */
.check { border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.check__head { padding: 22px 24px 18px; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.check__head h3 { margin: 0; font-size: var(--t-md); font-stretch: 112%; font-weight: 500; }
.check__head p { font-size: var(--t-sm); color: var(--muted); }
.check ul { list-style: none; padding: 0; margin: 0; }
.check li, .prose .check li { margin: 0; border-bottom: 1px solid var(--line); }
.check label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 24px; cursor: pointer; font-size: 17px; line-height: 1.5; transition: background-color .3s; }
.check label:hover { background: rgba(10, 15, 44, .04); }
.check input { appearance: none; width: 20px; height: 20px; margin: 3px 0 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: transparent; cursor: pointer; position: relative; transition: background-color .25s, box-shadow .25s; }
.check input:checked { background: var(--ink); box-shadow: none; }
.check input:checked::after { content: ""; position: absolute; left: 6.5px; top: 3px; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.check__foot { padding: 20px 24px 24px; display: grid; gap: 14px; background: rgba(10, 15, 44, .04); }
.check__meter { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: 3px; height: 10px; }
.check__meter i { border-radius: 2px; background: rgba(10, 15, 44, .1); transition: background-color .35s var(--ease); }
.check__meter i.is-on { background: var(--ink); }
.check__result { font-size: var(--t-sm); line-height: 1.55; }
.check__result strong { font-weight: 600; }
.check__foot .btn { justify-self: start; }

/* verder lezen */
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 1.4em; }
.related a { display: grid; gap: 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; border-bottom-width: 1px; transition: border-color .3s, background-color .3s; }
.related a:hover { border-color: var(--line-strong); background: rgba(10, 15, 44, .04); }
.related span { font-size: var(--t-xs); color: var(--muted); }
.related strong { font-size: 17px; font-stretch: 112%; font-weight: 500; line-height: 1.35; }

/* overzicht van artikelen */
.posts { border-top: 1px solid var(--line); list-style: none; padding: 0; }
.post { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.post::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.post:hover::before, .post:focus-within::before { transform: scaleX(1); }
.post__meta { display: grid; gap: 4px; align-content: start; font-size: var(--t-sm); color: var(--muted); }
.post h2 { font-size: var(--t-lg); font-stretch: 125%; font-weight: 300; letter-spacing: -.018em; line-height: 1.12; max-width: 24ch; }
.post h2 a::after { content: ""; position: absolute; inset: 0; }
.post p { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.post .chips { justify-content: flex-end; }
.post__go { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: var(--t-sm); font-weight: 500; }
.post__go i { width: 28px; height: 1px; background: var(--accent); position: relative; transition: width .6s var(--ease); }
.post__go i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
.post:hover .post__go i { width: 56px; }

/* verder lezen op de governancepagina */
.readmore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.readmore a { position: relative; display: grid; gap: 14px; align-content: space-between; min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 6px; background: var(--diep); transition: border-color .4s var(--ease); }
.readmore a:hover { border-color: var(--accent); }
.readmore span { font-size: var(--t-xs); color: var(--muted); }
.readmore strong { font-size: var(--t-md); font-stretch: 112%; font-weight: 400; line-height: 1.3; }

/* ==========================================================================
   Hoofdpagina: over mij en instapdiensten
   ========================================================================== */
.about { position: relative; padding-block: clamp(110px, 12vw, 170px); background: var(--diep); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__id { position: sticky; top: 120px; display: grid; gap: 28px; }
.about__portrait { position: relative; aspect-ratio: 4 / 5; max-width: 420px; border-radius: 6px; overflow: hidden; background: var(--nacht); border: 1px solid var(--line); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__slices { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(6, 1fr); padding: 18% 14%; gap: 6%; }
.about__slices i { border-radius: 999px; background: linear-gradient(90deg, rgba(169, 156, 255, .9), rgba(127, 224, 208, .75)); transform: translateX(calc(var(--x) * 1%)); width: calc(var(--w) * 1%); margin-left: calc(var(--l) * 1%); transition: transform 1.4s var(--ease); }
.about__portrait.is-in .about__slices i { transform: translateX(calc(var(--x) * .25%)); }
.about__portrait figcaption { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; justify-content: space-between; gap: 12px; }
.about__name { font-size: var(--t-xl); font-stretch: 125%; font-weight: 300; letter-spacing: -.025em; line-height: 1; }
.about__role { margin-top: 10px; color: var(--muted); }
.about__body { display: grid; gap: 22px; }
.about__body > p { color: var(--muted); max-width: 60ch; }
.about__body > p.about__lead { font-size: var(--t-md); color: var(--fg); line-height: 1.5; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.55; }
.facts dt { padding-right: 32px; color: var(--muted); }
.facts dd a { border-bottom: 1px solid var(--line-strong); }
.facts dd a:hover { color: var(--accent); border-color: var(--accent); }
.about__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.offers .pblock { padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.offers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer { display: flex; flex-direction: column; gap: 28px; padding: clamp(26px, 3.4vw, 48px); border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255, 255, 255, .45); }
.offer__name { font-size: var(--t-xl); font-stretch: 125%; font-weight: 300; letter-spacing: -.025em; line-height: 1; }
.offer__promise { margin-top: 14px; font-size: var(--t-md); line-height: 1.45; max-width: 34ch; }
.offer__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.offer__meta div { padding: 14px 16px 14px 0; display: grid; gap: 2px; align-content: start; }
.offer__meta div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.offer__meta dt { font-size: var(--t-xs); color: var(--muted); }
.offer__meta dd { font-size: var(--t-sm); font-weight: 500; line-height: 1.4; }
.weeks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; }
.weeks li { display: grid; gap: 10px; align-content: start; }
.weeks li::before { content: ""; height: 6px; border-radius: 2px; background: var(--ink); opacity: calc(.35 + var(--i) * .3); }
.weeks b { font-size: var(--t-xs); font-weight: 600; }
.weeks span { display: block; font-size: var(--t-sm); line-height: 1.45; color: var(--muted); }
.offer h4 { font-size: var(--t-sm); font-weight: 600; margin-bottom: 10px; }
.offer ul.ticks { list-style: none; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: var(--t-sm); line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.offer .btn { align-self: flex-start; margin-top: auto; }
.offers__note { margin-top: 28px; font-size: var(--t-sm); color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   404
   ========================================================================== */
.lost { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 140px 80px; background: var(--nacht); overflow: hidden; }
.lost__code { position: relative; font-size: clamp(140px, 30vw, 460px); font-stretch: 125%; font-weight: 200; letter-spacing: -.05em; line-height: .8; user-select: none; }
.lost__code > span:first-child { display: block; color: transparent; }
.lost__slice { position: absolute; inset: 0; color: var(--frost); clip-path: inset(calc(var(--i) * 16.667%) 0 calc((5 - var(--i)) * 16.667%) 0); transform: translateX(calc(var(--x, 0) * 1px)); transition: transform 1.2s var(--ease); }
.lost__slice:nth-child(odd) { color: var(--accent); }
.lost__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.lost__text { display: grid; gap: 24px; justify-items: start; padding-bottom: 2vw; }
.lost__text h1 { font-size: var(--t-xl); font-stretch: 125%; font-weight: 300; letter-spacing: -.025em; line-height: 1.05; max-width: 14ch; }
.lost__text p { color: var(--muted); max-width: 44ch; }
.lost__links { list-style: none; padding: 0; display: grid; width: 100%; border-top: 1px solid var(--line); }
.lost__links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .3s, padding .4s var(--ease); }
.lost__links a:hover { color: var(--accent); padding-left: 8px; }
.lost__en { font-size: var(--t-sm); }
.lost__en a { border-bottom: 1px solid var(--line-strong); }

@media (max-width: 1100px) {
  .reading__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
  .reading__grid > :last-child:empty { display: none; }
}
@media (max-width: 900px) {
  .reading__grid, .about__grid, .offers__grid, .lost__grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: none; }
  .toc h2 { display: none; }
  .about__id { position: static; }
  .about__portrait { max-width: 320px; }
  .post { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .post .chips { justify-content: flex-start; }
  .readmore { grid-template-columns: 1fr; }
  .readmore a { min-height: 0; }
}
@media (max-width: 640px) {
  .prose { font-size: 17.5px; }
  .fix { grid-template-columns: 1fr; }
  .fix > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .related { grid-template-columns: 1fr; }
  .offer__meta { grid-template-columns: 1fr; }
  .offer__meta div, .offer__meta div + div { padding: 10px 0; border-left: 0; }
  .offer__meta div + div { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 4px; }
  .datatable th, .datatable td { padding-inline: 14px; }
}

/* kleine aanvullingen */
.readmore-block { padding-bottom: 0; }
.ahead + .block { padding-top: clamp(24px, 3vw, 48px); }
.offers__note a, .form__note a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.offers__note a:hover, .form__note a:hover { color: var(--accent); border-color: var(--accent); }
.theme-paper .offers__note a:hover { color: var(--ink); border-color: var(--ink); }
.author .author__name { color: var(--fg); margin-top: 0; }
.edge-bars i { box-shadow: 1px 0 0 var(--to, var(--nacht)); }
/* 404: de plakken staan net naast elkaar; met JavaScript beginnen ze ver uit elkaar en schuift lost.js ze bij */
.lost__slice:nth-child(2) { --x: -6.0; } .lost__slice:nth-child(3) { --x: 8.1; } .lost__slice:nth-child(4) { --x: -10.2; } .lost__slice:nth-child(5) { --x: 6.0; } .lost__slice:nth-child(6) { --x: -8.1; } .lost__slice:nth-child(7) { --x: 10.2; }
@media (prefers-reduced-motion: no-preference) { .js .lost__slice:nth-child(2) { --x: -160; } .js .lost__slice:nth-child(3) { --x: 216; } .js .lost__slice:nth-child(4) { --x: -272; } .js .lost__slice:nth-child(5) { --x: 160; } .js .lost__slice:nth-child(6) { --x: -216; } .js .lost__slice:nth-child(7) { --x: 272; } }
