/* Duometis — premium editorial (nov 2026)
   Huisstijl: aubergine, lila, magenta + het eigen weefpatroon. Mobiel eerst.
   Beweging: alleen transform/opacity, gestuurd via --p (zie site.js). */

:root {
	--paper: #fbf9fc;
	--tint: #f3ecf7;
	--line: #e3d9ec;
	--ink: #2a2438;
	--ink-2: #453d59;
	--muted: #6a6180;
	--accent: #e02060;
	--accent-deep: #b3134f;
	--purple: #6b4a8f;
	--lilac: #b9a3ce;
	--dark: #231d30;
	--dark-2: #2f2840;
	--on-dark: #f6f1fa;
	--on-dark-muted: #bfb0d1;
	--on-dark-line: rgba(246, 241, 250, .15);

	--serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--gutter: 20px;
	--wrap: 1220px;
	--section: clamp(84px, 12vw, 168px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--k: .45; /* sterkte van parallax: mobiel rustiger */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--sans); font-size: 17px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 em, h2 em, .em { font-style: italic; color: var(--accent); }
.dark h2 em { color: #ff6b9a; }
p { margin: 0 0 1em; }

.label { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .25s, gap .25s var(--ease); width: fit-content; }
.text-link:hover { color: var(--accent); gap: 14px; }

/* ---------- Knoppen ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 28px; background: var(--ink); color: var(--paper);
	border: 1px solid var(--ink); border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none;
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover .arr { transform: translateX(5px); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--lilac); }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.light { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn .in { transition: transform .3s var(--ease); }
.btn:hover .in { transform: translateY(-2px) rotate(-6deg); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.icon-btn:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; transform: translateY(-2px); }

/* ---------- Kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 252, .84); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 14px; }
.brand { text-decoration: none; line-height: 1; }
.wordmark, .giant {
	font-family: var(--sans); font-weight: 700; letter-spacing: -.04em; color: var(--purple);
	background: linear-gradient(rgba(224, 32, 96, .42), rgba(107, 74, 143, .42)), url(/assets/img/patroon.webp) 30% 40% / 520px auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.wordmark { font-size: 27px; display: block; transition: background-position 1.2s var(--ease); }
.brand:hover .wordmark { background-position: 70% 60%; }
.nav { display: none; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-actions .icon-btn { display: none; }
.lang { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-decoration: none; color: var(--muted); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: color .25s, background .25s; }
.lang:hover { color: var(--ink); background: var(--tint); }
.note { grid-column: 1 / -1; color: var(--muted); font-size: 15px; margin: 0; }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { display: grid; grid-template-rows: 0fr; background: var(--paper); transition: grid-template-rows .45s var(--ease); visibility: hidden; }
.mobile-nav > * { min-height: 0; }
.mobile-nav { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease), visibility 0s .5s; }
.menu-open .mobile-nav { max-height: 420px; visibility: visible; transition: max-height .5s var(--ease); border-top: 1px solid var(--line); }
.mobile-nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.mobile-nav a small { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(var(--read, 0)); transform-origin: left; display: none; }
.is-article .progress { display: block; }

/* ---------- Hero ---------- */
.hero { --p: 0; position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); overflow: clip; }
.hero-grid { display: grid; gap: 44px; }
.hero-copy { transform: translate3d(0, calc(var(--p) * var(--k) * -70px), 0); opacity: calc(1 - var(--p) * 1.15); }
.hero h1 { font-size: clamp(2.3rem, 10vw, 4.6rem); margin: 20px 0 0; }
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; max-width: 100%; }
.mask > span { display: inline-block; }
.mask > .em { padding-right: .06em; }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 33em; margin: 24px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta .btn { flex: 1 1 auto; }

/* Vrijstaand portret voor een paneel: hoofd steekt boven de rand uit */
.hero-visual { position: relative; width: min(84vw, 430px); margin: 8px auto 0; perspective: 1300px; }
.stage { position: relative; aspect-ratio: 1200 / 1417; transform-style: preserve-3d; transform: rotateY(calc(var(--ry, 0) * 1deg + (1 - var(--p)) * var(--turn, 0deg))) rotateX(calc(var(--rx, 0) * 1deg)); transition: transform .6s var(--ease); will-change: transform; }
.cut-clip { position: absolute; inset: -6% 0 0 0; overflow: hidden; transform: translateZ(40px); pointer-events: none; }
.cutout { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; transform-origin: 50% 100%; transform: scale(calc(1 + var(--p) * var(--k) * .07)); -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); }
.namecard { position: absolute; left: -10px; bottom: 30px; background: rgba(251, 249, 252, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px 12px 16px; display: grid; line-height: 1.25; transform: translateZ(90px); box-shadow: 0 18px 40px -22px rgba(42, 36, 56, .5); }
.pill.p1 { right: -5%; top: 40%; transform: translate3d(0, calc(var(--p) * var(--k) * -150px), 0); }
.pill.p2 { left: -7%; top: 26%; transform: translate3d(0, calc(var(--p) * var(--k) * -90px), 0); }
.pill.p3 { right: -3%; bottom: 13%; transform: translate3d(0, calc(var(--p) * var(--k) * -220px), 0); }
.namecard strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.namecard span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pill { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 14px 30px -18px rgba(42, 36, 56, .45); }
.scroll-cue { display: none; }

/* ---------- Bewegende regel ---------- */
.marquee { --p: 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(16px, 2.4vw, 30px) 0; }
.marquee-track { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); width: max-content; font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 3.8rem); line-height: 1; white-space: nowrap; transform: translate3d(calc(var(--p) * -32%), 0, 0); will-change: transform; }
.marquee-track span:nth-of-type(even) { font-style: italic; color: var(--purple); }
.marquee-track i { width: .34em; height: .34em; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Hoofdstukken ---------- */
section { padding: var(--section) 0; position: relative; }
.chapter h2, .sec-head h2 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
.tint { background: var(--tint); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .label { color: var(--on-dark-muted); }
.dark p { color: var(--on-dark-muted); }

/* 01 Vraagstukken */
.split { display: grid; gap: 40px; }
.split-head { display: grid; gap: 18px; align-content: start; }
.split-head p { color: var(--muted); margin: 0; max-width: 26em; }
.questions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.questions li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.questions .n { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); letter-spacing: .06em; }
.questions p { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.16; letter-spacing: -.006em; text-wrap: pretty; }
.questions a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: .16em; transition: color .25s; }
.questions a:hover { color: var(--accent-deep); }
.focus-on li { opacity: .3; }
.focus-on li.focus { opacity: 1; transform: translateX(6px); }

/* 02 Werkwijze */
.curtain { --p: 1; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; transform: scale(calc(.93 + .07 * min(1, var(--p) * 3.2))); transform-origin: 50% 100%; padding-bottom: clamp(48px, 7vw, 96px); }
.statement-head { margin-top: 20px; max-width: 16ch; }
.statement { --p: 1; margin: clamp(32px, 5vw, 64px) 0 0; font-family: var(--serif); font-size: clamp(1.75rem, 4.3vw, 3.5rem); line-height: 1.14; letter-spacing: -.01em; color: var(--on-dark) !important; max-width: 24em; text-wrap: pretty; }
.statement .w { opacity: clamp(.16, calc(var(--p) * (var(--n) + 8) - var(--i)), 1); }

/* Eenheid van taal: vastgezette scène */
.unity { --p: 1; padding: 0; }
.unity-pin { padding: var(--section) 0; overflow: clip; }
.unity-grid { display: grid; gap: 24px; align-items: center; }
.unity-copy { display: grid; gap: 16px; }
.unity-copy h2 { font-size: clamp(2rem, 5.4vw, 3.8rem); }
.unity-copy p { margin: 0; max-width: 30em; }
.unity-stage { --q: min(1, calc(var(--p) / .58)); position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; font-size: clamp(13px, 1vw + 9px, 19px); perspective: 900px; }
.ring { position: absolute; inset: 14%; border-radius: 50%; border: 1px solid var(--on-dark-line); transform: scale(calc(1.5 - var(--q) * .5)); opacity: calc(.3 + var(--q) * .7); }
.ring.r2 { inset: 28%; transform: scale(calc(2 - var(--q))); }
.term { position: absolute; left: 50%; top: 50%; font-family: var(--serif); font-style: italic; font-size: 2.1em; line-height: 1; white-space: nowrap; padding: .28em .7em .36em; border-radius: 999px; border: 1px solid var(--on-dark-line); background: var(--dark-2); color: var(--on-dark);
	transform: translate(-50%, -50%) translate3d(calc(var(--x) * (1 - var(--q))), calc(var(--y) * (1 - var(--q))), calc(var(--z) * (1 - var(--q)))) rotate(calc(var(--r) * (1 - var(--q)))) scale(calc(1 - var(--q) * .3));
	opacity: calc(1 - (var(--p) - .5) * 6); will-change: transform, opacity; }
.term.t1 { --x: -3.3em; --y: -4.2em; --z: 60px; --r: -9deg; }
.term.t2 { --x: 2.9em; --y: -2em; --z: -80px; --r: 7deg; }
.term.t3 { --x: -3.9em; --y: 1.6em; --z: -40px; --r: 6deg; }
.term.t4 { --x: 1.9em; --y: 4.3em; --z: 90px; --r: -5deg; }
.code-card { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: .3em; padding: 1.5em 2em 1.6em; border-radius: 1.4em; background: var(--on-dark); color: var(--dark); box-shadow: 0 40px 90px -30px rgba(224, 32, 96, .55);
	--a: min(1, max(0, calc((var(--p) - .52) * 5))); opacity: var(--a); transform: translate(-50%, -50%) rotateX(calc((1 - var(--a)) * 40deg)) scale(calc(.82 + var(--a) * .18)); will-change: transform, opacity; }
.code-card .k { font-family: var(--mono); font-size: .7em; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.code-card strong { font-family: var(--mono); font-weight: 500; font-size: 2.2em; letter-spacing: -.02em; line-height: 1.1; }
.code-card .v { font-family: var(--serif); font-style: italic; font-size: 1.5em; line-height: 1; }

/* 03 Over Linda */
.about { display: grid; gap: 44px; }
.about-photo { --p: .5; position: relative; width: min(72vw, 340px); }
.about-frame { border-radius: 28px; overflow: hidden; aspect-ratio: 1; transform: rotate(calc((.5 - var(--p)) * var(--k) * 12deg)); box-shadow: 0 30px 70px -40px rgba(42, 36, 56, .6); }
.about-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14) translate3d(0, calc((var(--p) - .5) * -9%), 0); }
.about-tag { position: absolute; right: -18px; bottom: 22px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; box-shadow: 0 16px 30px -16px rgba(224, 32, 96, .8); }
.about-copy { display: grid; gap: 22px; align-content: start; }
.bio p { color: var(--ink-2); max-width: 36em; }
.bio p:first-child { font-size: 1.12em; color: var(--ink); }
.timeline { list-style: none; margin: 4px 0 6px; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; align-items: baseline; }
.timeline .y { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.about-copy .btn { width: fit-content; }

/* Diensten */
.svcs { display: grid; gap: 16px; }
.svc { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px 26px 24px; display: grid; gap: 14px; align-content: start; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.svc::after { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(.4); transition: opacity .5s, transform .7s var(--ease); pointer-events: none; }
.svc-n { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--lilac); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent-deep); position: relative; z-index: 1; }
.svc h3 { font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.06; position: relative; z-index: 1; }
.svc p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; max-width: 32em; position: relative; z-index: 1; }
.svc-link { margin-top: 6px; font-size: 14.5px; font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s, gap .3s var(--ease); position: relative; z-index: 1; }
.svc-link:hover { color: var(--accent-deep); gap: 14px; }
@media (hover: hover) { .svc:hover { transform: translateY(-5px); border-color: var(--lilac); box-shadow: 0 34px 60px -40px rgba(42, 36, 56, .5); } .svc:hover::after { opacity: .1; transform: scale(1); } }
.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); }
.svc-cta p { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
@media (min-width: 760px) { .svcs { grid-template-columns: 1fr 1fr; gap: 20px; } .svc { padding: 34px 32px 28px; } .svc-cta { justify-content: space-between; } }

/* Aanbevelingen */
.recs-sec { padding-top: 0; }
.recs-sec .text-link .in { flex: none; }
.recs { display: grid; align-items: start; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.recs::-webkit-scrollbar { display: none; }
.rec { margin: 0; scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px 22px; display: grid; gap: 22px; align-content: space-between; position: relative; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.rec::before { content: "\201C"; font-family: var(--serif); font-size: 64px; line-height: .6; color: var(--accent); display: block; height: 22px; }
.rec blockquote { margin: 0; }
.rec blockquote p { margin: 0; font-family: var(--serif); font-size: 1.32rem; line-height: 1.28; letter-spacing: -.004em; color: var(--ink); text-wrap: pretty; }
.rec figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.rec .av { width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--purple); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; flex: none; }
.rec strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.rec small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.rec.big { background: var(--dark); border-color: var(--dark); }
.rec.big blockquote p, .rec.big strong { color: var(--on-dark); }
.rec.big small { color: var(--on-dark-muted); }
.rec.big figcaption { border-top-color: var(--on-dark-line); }
.rec.big .av { background: var(--dark-2); color: var(--on-dark); }
@media (hover: hover) { .rec:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(42, 36, 56, .5); } }
@media (min-width: 760px) {
	.recs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 20px; align-items: start; }
	.rec { padding: 34px 32px 28px; }
	.rec.big { grid-row: span 3; }
	.rec.big blockquote p { font-size: 1.6rem; }
}
@media (min-width: 1000px) { .rec blockquote p { font-size: 1.42rem; } .rec.big blockquote p { font-size: 1.85rem; line-height: 1.22; } }

/* 04 Artikelen: kaarten */
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 18ch; }
.cards { display: grid; gap: 40px 28px; }
.card { display: grid; gap: 18px; text-decoration: none; align-content: start; perspective: 900px; }
.card-img { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); position: relative; transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)); transition: transform .5s var(--ease), box-shadow .5s; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.card-img::after { content: ""; position: absolute; inset: 0; background: var(--purple); mix-blend-mode: color; opacity: 0; transition: opacity .6s; pointer-events: none; }
.card-body { display: grid; gap: 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meta b { font-weight: 500; color: var(--accent-deep); }
.card-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.05rem); line-height: 1.08; letter-spacing: -.01em; transition: color .3s; text-wrap: balance; }
.card .ex { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.card .by { font-size: 13.5px; color: var(--muted); }
.card .go { font-size: 14.5px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); margin-top: 4px; }
.card .go i { font-style: normal; border-bottom: 1px solid currentColor; }
.card:hover .card-title { color: var(--accent-deep); }
.card:hover .card-img img { transform: scale(1.06); }
.card:hover .card-img { box-shadow: 0 34px 60px -34px rgba(42, 36, 56, .6); }
.card[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
	.card-img img { filter: grayscale(1) contrast(1.04); }
	.card-img::after { opacity: .55; }
	.card:hover .card-img img, .card:focus-visible .card-img img { filter: none; }
	.card:hover .card-img::after, .card:focus-visible .card-img::after { opacity: 0; }
}

.contain { background: #fff; border: 1px solid var(--line); }
.contain img, .cover-frame.contain img { object-fit: contain; }
.cover-frame.contain img { transform: none; }
@media (min-width: 760px) { .cover-frame.contain { aspect-ratio: 1280 / 719; } }

/* Blogoverzicht */
.page-head { padding: clamp(44px, 7vw, 104px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.5rem, 8vw, 5.4rem); margin-top: 20px; max-width: 15ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: background .3s, color .3s, border-color .3s; }
.chip small { font-family: var(--mono); font-size: 11px; color: var(--muted); transition: color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.on small { color: var(--lilac); }
.blog-list { padding-top: clamp(20px, 3vw, 40px); }
.plain { min-height: 60vh; display: grid; align-items: center; }
.plain p { margin-top: 28px; }

/* ---------- Artikel ---------- */
.article-head { padding: clamp(36px, 6vw, 84px) 0 clamp(28px, 4vw, 44px); }
.article-head .wrap { display: grid; gap: 18px; justify-items: start; }
.back { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .25s; }
.back:hover { color: var(--accent-deep); }
.article-head h1 { font-size: clamp(2.4rem, 7.4vw, 5.2rem); max-width: 17ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; width: 100%; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.article-meta b { font-weight: 500; color: var(--ink); }
.article-cover { --p: .5; margin: 0 auto; }
.cover-frame { border-radius: clamp(18px, 2.4vw, 30px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.14) translate3d(0, calc((var(--p) - .5) * -9%), 0); }
.article-cover figcaption, .fig figcaption { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.article-cover figcaption a, .fig figcaption a { text-underline-offset: 2px; }
.article-body { padding-top: clamp(36px, 5vw, 72px); }
.prose { max-width: 720px; font-size: 18px; line-height: 1.72; color: var(--ink-2); }
.prose > p:first-child { font-size: 1.2em; line-height: 1.55; color: var(--ink); }
.prose h2 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin: 1.9em 0 .55em; color: var(--ink); }
.prose h3 { font-size: 1.6rem; margin: 1.6em 0 .45em; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: .18em; color: var(--ink); transition: color .25s; }
.prose a:hover { color: var(--accent-deep); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose li::marker { color: var(--accent-deep); font-family: var(--mono); font-size: .85em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose pre { background: var(--dark); color: var(--on-dark); font-family: var(--mono); font-size: 14.5px; line-height: 1.6; padding: 18px 20px; border-radius: 14px; overflow-x: auto; margin: 1.4em 0; }
.fig { margin: 1.8em 0; }
.fig img { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fig.small img { max-width: min(100%, 460px); }
.prose li .fig { margin: 1.2em 0 1.4em; }
.table-wrap { overflow-x: auto; margin: 1.6em calc(var(--gutter) * -1); padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.45; }
.prose th { text-align: left; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink); }
.prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose td:first-child { font-family: var(--mono); font-size: 13.5px; white-space: nowrap; color: var(--ink); }
.over { max-width: 720px; margin: clamp(48px, 7vw, 88px) 0 0; background: var(--dark); color: var(--on-dark); border-radius: 24px; padding: 34px 26px 30px; position: relative; overflow: hidden; display: grid; gap: 16px; justify-items: start; }
.over::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: url(/assets/img/patroon.webp) center / 520px auto; }
.over .label { color: var(--on-dark-muted); }
.over p { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.25; color: var(--on-dark); }
.pager { display: grid; border-top: 1px solid var(--ink); margin: clamp(48px, 7vw, 88px) 0 var(--section); }
.pager a { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.pager .dir { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pager .t { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; transition: color .3s; }
.pager a:hover .t { color: var(--accent-deep); }

/* ---------- Contact + voet ---------- */
.contact { --p: .5; overflow: clip; }
.contact::before { content: ""; position: absolute; width: min(64vw, 560px); aspect-ratio: 1; right: -30%; top: 78%; border-radius: 50%; background: var(--accent); opacity: .92; transform: translate3d(0, calc(-50% + (var(--p) - .5) * var(--k) * -260px), 0); }
.contact .wrap { position: relative; }
.contact h2 { font-size: clamp(3rem, 12vw, 8.4rem); margin-top: 20px; line-height: .95; }
.contact h2 em { color: var(--on-dark); }
.contact p { max-width: 30em; margin: 24px 0 0; font-size: 1.08rem; color: var(--on-dark) !important; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 22px 28px; align-items: center; margin-top: 36px; }
.mail { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: clamp(1.7rem, 5.4vw, 3.2rem); line-height: 1.1; text-decoration: none; border-bottom: 1px solid rgba(246, 241, 250, .5); padding-bottom: 6px; transition: border-color .3s, gap .3s var(--ease); word-break: break-word; }
.mail:hover { border-color: var(--on-dark); gap: 20px; }
.mail .arr { font-size: .7em; }
.site-footer { --p: .5; background: var(--dark); color: var(--on-dark-muted); padding: 30px 0 0; font-size: 14px; overflow: hidden; border-top: 1px solid var(--on-dark-line); }
.foot-row { display: grid; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.site-footer a:hover { color: var(--on-dark); }
.giant { font-size: min(21.4vw, 266px); line-height: .78; margin: 24px 0 -0.1em -0.05em; background-size: 120% auto; background-position: calc(var(--p) * 100%) calc(100% - var(--p) * 100%); user-select: none; white-space: nowrap; }

/* ---------- Zwevende contactknop (alleen desktop) ---------- */
.dock { display: none; }
@media (min-width: 1000px) and (hover: hover) {
	.dock {
		position: fixed; left: 50%; bottom: 26px; z-index: 60; display: flex; align-items: center; gap: 12px;
		padding: 7px 8px 7px 7px; border-radius: 999px; text-decoration: none; color: var(--ink);
		background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(22px) saturate(1.9); backdrop-filter: blur(22px) saturate(1.9);
		border: 1px solid rgba(255, 255, 255, .7);
		box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px rgba(42, 36, 56, .06), 0 18px 44px -14px rgba(42, 36, 56, .38), 0 4px 12px -6px rgba(42, 36, 56, .2);
		transform: translate3d(-50%, 90px, 0) scale(.9); opacity: 0; pointer-events: none;
		transition: transform .7s cubic-bezier(.34, 1.4, .5, 1), opacity .35s ease, box-shadow .4s, background .4s;
	}
	.dock.show { transform: translate3d(-50%, 0, 0) scale(1); opacity: 1; pointer-events: auto; }
	.dock img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
	.dock-text { display: grid; line-height: 1.15; padding-right: 4px; }
	.dock-text b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
	.dock-text small { font-size: 12px; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, margin .45s var(--ease); }
	.dock-go { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 17px; flex: none; transition: background .35s, transform .5s cubic-bezier(.34, 1.4, .5, 1); }
	.dock.show:hover { transform: translate3d(-50%, -3px, 0) scale(1.03); background: rgba(255, 255, 255, .8); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(42, 36, 56, .08), 0 28px 60px -16px rgba(42, 36, 56, .45), 0 6px 16px -6px rgba(42, 36, 56, .22); }
	.dock:hover .dock-text small { max-height: 18px; opacity: 1; margin-top: 2px; }
	.dock:hover .dock-go { background: var(--accent); transform: translateX(2px) rotate(-45deg); }
	.dock:active { transition-duration: .15s; transform: translate3d(-50%, 0, 0) scale(.97) !important; }
	.dock:focus-visible { outline-offset: 4px; border-radius: 999px; }
}

/* ---------- Binnenkomst en onthulling (alleen met JS en zonder 'minder beweging') ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .mask > span { transform: translateY(115%); animation: word-up 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
	.js .intro { opacity: 0; animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 160ms); }
	.js .cutout { animation: cut-in 1.3s var(--ease) .45s both; }
	.js .namecard, .js .pill { animation: fade .8s ease both; }
	.js .namecard { animation-delay: 1.1s; } .js .pill.p1 { animation-delay: 1.2s; } .js .pill.p2 { animation-delay: 1.32s; } .js .pill.p3 { animation-delay: 1.44s; }
	.js [data-r] { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s ease var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
	.js [data-r="clip"] { opacity: 1; transform: none; transition: none; }
	.js [data-r="clip"] > :first-child { clip-path: inset(0 0 100% 0 round 28px); transition: clip-path 1.3s var(--ease) var(--d, 0ms); }
	.js [data-r].in { opacity: 1; transform: none; }
	.js [data-r="clip"].in > :first-child { clip-path: inset(0 0 0 0 round 28px); }
	.js .unity { height: 300vh; }
	.js .unity-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding: 76px 0 24px; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}
@keyframes word-up { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px 26px 26px); } to { clip-path: inset(0 0 0 0 round 999px 999px 26px 26px); } }
@keyframes panel-in { from { clip-path: inset(100% 0 0 0 round 34px); } to { clip-path: inset(0 0 0 0 round 34px); } }
@keyframes cut-in { from { opacity: 0; translate: 0 9%; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { from { scale: .3; opacity: 0; } to { scale: 1; opacity: .999; } }
@media (prefers-reduced-motion: reduce) {
	* { transition-duration: .01ms !important; animation: none !important; }
	.hero { --p: 0 !important; } .marquee { --p: 0 !important; }
	.focus-on li { opacity: 1; }
}

/* ---------- Vanaf tablet ---------- */
@media (min-width: 760px) {
	:root { --gutter: 40px; --k: .75; }
	body { font-size: 18px; }
	.cta .btn { flex: 0 0 auto; }
	.head-actions .icon-btn { display: inline-flex; }
	.questions li { grid-template-columns: 72px 1fr; padding: 32px 0; }
	.timeline li { grid-template-columns: 150px 1fr; }
	.cards { grid-template-columns: 1fr 1fr; }
	.card.feature { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
	.card.feature .card-title { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
	.card.feature .ex { font-size: 17px; max-width: 30em; }
	.cover-frame { aspect-ratio: 16 / 9; }
	.pager { grid-template-columns: 1fr 1fr; column-gap: 48px; }
	.pager a.next { text-align: right; }
	.foot-row { grid-template-columns: 1fr auto; align-items: center; }
	.table-wrap { margin-left: 0; margin-right: 0; padding: 0; }
	.over { padding: 44px 44px 40px; }
	.pill { font-size: 15px; padding: 11px 20px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
	:root { --k: 1; }
	.site-header > .wrap { height: 80px; }
	.wordmark { font-size: 30px; }
	.nav { display: flex; gap: 34px; }
	.menu-btn, .mobile-nav { display: none; }
	.hero { min-height: calc(100vh - 80px); display: grid; align-items: center; }
	.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
	.hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.7rem); }
	.hero-visual { width: min(100%, 470px); margin: 0 0 0 auto; }
	.stage { --turn: -7deg; }
	.namecard { left: -46px; bottom: 54px; }
	.pill.p1 { right: -11%; } .pill.p2 { left: -14%; } .pill.p3 { right: -7%; }
	.scroll-cue { display: block; position: absolute; left: 50%; bottom: 26px; width: 1px; height: 54px; background: var(--line); overflow: hidden; opacity: calc(1 - var(--p) * 4); }
	.scroll-cue span { position: absolute; inset: 0; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
	.split { grid-template-columns: 5fr 7fr; gap: 80px; }
	.split-head { position: sticky; top: 130px; }
	.unity-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
	.contact::before { right: -8%; top: 50%; }
	.about { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
	.about-photo { position: sticky; top: 130px; width: min(100%, 400px); }
	.sec-head { grid-template-columns: 1fr auto; align-items: end; }
	.sec-head .label { grid-column: 1 / -1; }
	.cards { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
	.article-body { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; }
	.article-body > * { grid-column: 2; }
	.article-head .wrap { justify-items: center; text-align: center; }
	.article-head h1 { max-width: 20ch; }
	.article-meta { justify-content: center; max-width: 720px; }
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Kleine telefoons: de vastgezette scène moet in één scherm passen */
@media (max-width: 759px) {
	.unity-copy p { font-size: 15.5px; }
	.unity-stage { width: min(100%, 46vh, 340px); }
}
