/* ==========================================================================
   JvE Media · stijl "Signaal"
   Monochroom, typografisch. Signaal (#4B55FF) is de enige kleur.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --ink: #101010;
    --paper: #F6F6F6;
    --graphite: #8B8B90;
    --signal: #4B55FF;

    --bg: var(--ink);
    --fg: var(--paper);
    --muted: var(--graphite);
    --surface: #171718;
    --line: rgba(246, 246, 246, .13);
    --line-strong: rgba(246, 246, 246, .32);
    --curtain: #0A0A0A;
    --on-signal: #FFFFFF;

    --f-display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
    --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    --margin: clamp(16px, 4vw, 56px);
    --gutter: clamp(12px, 1.6vw, 24px);
    --section: clamp(72px, 12vw, 160px);
    --header-h: 72px;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-wave: cubic-bezier(.76, 0, .24, 1);
    --t-fast: 180ms;
    --t-mid: 420ms;
    --t-slow: 900ms;

    color-scheme: dark;
}

:root[data-theme="light"] {
    --signal: #2F3BFF;
    --bg: var(--paper);
    --fg: var(--ink);
    --muted: #64646A;
    --surface: #ECECEC;
    --line: rgba(16, 16, 16, .12);
    --line-strong: rgba(16, 16, 16, .32);
    --curtain: #101010;
    color-scheme: light;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--f-display);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color var(--t-mid) ease, color var(--t-mid) ease;
    overflow-x: clip;
}

img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
::selection { background: var(--signal); color: var(--on-signal); }

:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
    border-radius: 2px;
}

.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;
}

.skip {
    position: fixed; top: 12px; left: 12px; z-index: 200;
    padding: .7em 1.1em; background: var(--signal); color: var(--on-signal);
    transform: translateY(-160%); transition: transform var(--t-mid) var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- Typografie ---------- */
.display, .h1, .h2, .h3 { text-transform: lowercase; }
.hero-title { font-size: clamp(2.6rem, 6.3vw, 6.6rem) !important; }
.display {
    font-size: clamp(3.2rem, 9vw, 9.5rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .9;
}
.h1 {
    font-size: clamp(2.6rem, 6.5vw, 6rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .92;
}
.h2 {
    font-size: clamp(2rem, 4.4vw, 4rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .95;
}
.h3 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.05;
}
.lead {
    font-family: var(--f-serif);
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    line-height: 1.3;
    font-weight: 400;
    max-width: 34ch;
}
.serif { font-family: var(--f-serif); }
:is(.display, .h1, .h2) + :is(.lead, p) { margin-top: clamp(18px, 2.2vw, 32px); }
.label, .mono {
    font-family: var(--f-mono);
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 400;
}
.label { color: var(--muted); display: block; margin-bottom: 1.2rem; }
.optional { color: var(--muted); text-transform: none; letter-spacing: 0; margin-left: .4em; }

/* regel-reveal (JS splitst koppen in regels) */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }

/* ---------- Grid en secties ---------- */
.wrap {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--margin);
}
.grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
}
.col-text { grid-column: 1 / span 7; }
.col-text-narrow { grid-column: 1 / span 5; }
.col-object { grid-column: 8 / span 5; }
.col-form { grid-column: 7 / span 6; }
.col-wide { grid-column: 6 / span 7; }

.section {
    padding-block: var(--section);
    border-top: 1px solid var(--line);
}
.section-tight { padding-top: clamp(32px, 5vw, 64px); border-top: 0; }
.section-head { align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head > :first-child { grid-column: 1 / span 6; }
.section-head .section-intro { grid-column: 8 / span 5; margin: 0; }
.section-more { margin: clamp(32px, 4vw, 56px) 0 0; }

@media (max-width: 1023px) {
    .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .col-text, .col-text-narrow, .col-object, .col-form, .col-wide,
    .section-head > :first-child, .section-head .section-intro { grid-column: 1 / -1; }
    .section-head .section-intro { margin-top: 1.5rem; }
    .col-object, .col-form, .col-wide { margin-top: clamp(32px, 6vw, 56px); }
}
@media (max-width: 639px) {
    .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Knoppen en links ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .7em;
    padding: 1.05em 1.6em;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    text-transform: lowercase;
    overflow: hidden;
    isolation: isolate;
    transition: color var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
    will-change: transform;
}
.btn::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform var(--t-mid) var(--ease-wave);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn-sm { padding: .8em 1.2em; font-size: 14px; }
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-signal::before { background: var(--fg); }
.btn-signal:hover, .btn-signal:focus-visible { color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--bg); border-color: var(--fg); }
.btn .icon-arrow { width: 1.1em; height: 1.1em; transition: transform var(--t-mid) var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-weight: 600;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: .2em;
    transition: border-color var(--t-fast) ease, gap var(--t-mid) var(--ease-out);
}
.link-arrow:hover { border-color: var(--signal); gap: .8em; }
.link-arrow .icon-arrow { width: 1em; height: 1em; }

.link-btn {
    color: var(--muted);
    transition: color var(--t-fast) ease;
}
.link-btn:hover { color: var(--fg); }

.prose a, .form a, .contact-direct a, .facts a {
    text-decoration: underline;
    text-decoration-color: var(--signal);
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    transition: transform var(--t-mid) var(--ease-out), background-color var(--t-mid) ease, border-color var(--t-mid) ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
    height: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: block; width: 92px; flex: none; }
.brand .logo { width: 100%; height: auto; }
.logo-play { fill: var(--signal); }

.nav-list { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav-link {
    position: relative;
    font-size: 15px; font-weight: 500;
    padding-block: .4em;
}
.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--signal);
    transform: scaleX(0); transform-origin: right;
    transition: transform var(--t-mid) var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-contact-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line);
    transition: border-color var(--t-fast) ease;
}
.theme-toggle:hover { border-color: var(--line-strong); }
.theme-dot {
    width: 14px; height: 14px; border-radius: 50%;
    border: 1.5px solid var(--fg);
    background: linear-gradient(90deg, var(--fg) 50%, transparent 50%);
    transition: transform var(--t-slow) var(--ease-wave);
}
[data-theme="light"] .theme-dot { transform: rotate(180deg); }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-bars, .menu-bars::before {
    position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--fg);
    transition: transform var(--t-mid) var(--ease-wave), top var(--t-mid) var(--ease-wave);
}
.menu-bars { top: 16px; }
.menu-bars::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 899px) {
    .menu-toggle { display: block; }
    .header-cta { display: none; }
    .nav {
        position: fixed; inset: 0; z-index: -1;
        background: var(--bg);
        display: flex; align-items: flex-end;
        padding: calc(var(--header-h) + 24px) var(--margin) 48px;
        clip-path: inset(0 0 100% 0);
        transition: clip-path var(--t-slow) var(--ease-wave);
        visibility: hidden;
    }
    .nav.is-open { clip-path: inset(0); visibility: visible; }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-link { font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; text-transform: lowercase; }
    .nav-contact-mobile { display: block; }
    .site-header.menu-open { background: transparent; border-color: transparent; transform: none; }
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .has-cursor .cursor {
        display: grid; place-items: center;
        position: fixed; top: 0; left: 0; z-index: 150;
        width: 10px; height: 10px; margin: -5px 0 0 -5px;
        border-radius: 50%;
        background: #fff;
        mix-blend-mode: difference;
        pointer-events: none;
        transition: width var(--t-mid) var(--ease-out), height var(--t-mid) var(--ease-out), margin var(--t-mid) var(--ease-out), background-color var(--t-fast) ease, opacity var(--t-fast) ease;
    }
    .has-cursor .cursor.has-label {
        width: 78px; height: 78px; margin: -39px 0 0 -39px;
        background: var(--signal);
        mix-blend-mode: normal;
    }
    .has-cursor .cursor.is-hidden { opacity: 0; }
    .has-cursor body, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor .chip input, .has-cursor .scene { cursor: none; }
    .cursor-label {
        font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
        color: var(--on-signal); opacity: 0; transition: opacity var(--t-fast) ease;
    }
    .cursor.has-label .cursor-label { opacity: 1; }
}

/* ---------- Paginaovergang: inkt-gordijn ---------- */
.curtain {
    position: fixed; inset: 0; z-index: 120;
    background: var(--curtain);
    color: #F6F6F6;
    display: grid; place-items: center;
    pointer-events: none;
    transform: translateY(101%);
}
.js .curtain { transform: none; animation: curtainOut var(--t-slow) var(--ease-wave) .3s forwards; }
.curtain.is-leaving { animation: curtainIn 600ms var(--ease-wave) forwards; pointer-events: all; }
.curtain-inner { display: grid; justify-items: center; gap: 18px; }
.curtain-logo { width: 120px; }
.curtain-line { display: block; width: 120px; height: 1px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.curtain-line::after {
    content: ""; position: absolute; inset: 0; background: var(--signal);
    transform-origin: left; animation: curtainLine .5s var(--ease-out) forwards;
}
@keyframes curtainOut { to { transform: translateY(-101%); } }
@keyframes curtainIn { from { transform: translateY(101%); } to { transform: none; } }
@keyframes curtainLine { from { transform: scaleX(0); } to { transform: none; } }

/* ---------- Hero met bouwveld ---------- */
.hero { position: relative; }
.js .hero { height: 260vh; }
.hero-sticky {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex; align-items: center;
    overflow: hidden;
    padding-top: var(--header-h);
}
.js .hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.scene.scene-hero { position: absolute; inset: 0; z-index: 0; }
.scene-hero .scene-poster {
    position: absolute; left: auto; right: 2vw; top: 50%;
    width: min(52vw, 680px); height: auto; max-width: none; transform: translateY(-50%);
}
.hero-grid { width: 100%; pointer-events: none; }
.hero-grid a, .hero-grid button { pointer-events: auto; }
.hero-text { grid-column: 1 / span 7; position: relative; z-index: 2; }
.hero-title { margin-bottom: clamp(24px, 3vw, 40px); }
.hero-lead { margin-bottom: clamp(28px, 3.5vw, 44px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-stages {
    position: absolute; right: var(--margin); bottom: 28px; z-index: 2;
    display: flex; gap: 20px; color: var(--muted);
}
.hero-stages li { transition: color var(--t-mid) ease; }
.hero-stages li span { color: inherit; opacity: .6; margin-right: .3em; }
.hero-stages li.is-active { color: var(--fg); }
.hero-stages li.is-active span { color: var(--signal); opacity: 1; }
.hero .scene-hint { position: absolute; left: var(--margin); bottom: 28px; z-index: 2; margin: 0; }

/* hero-intro (CSS, zodat de kop ook zonder bibliotheken direct verschijnt) */
@media (prefers-reduced-motion: no-preference) {
    .js .hero-title .line > span { transform: translateY(105%); animation: lineIn var(--t-slow) var(--ease-out) forwards; }
    .js .hero-title .line:nth-child(1) > span { animation-delay: .75s; }
    .js .hero-title .line:nth-child(2) > span { animation-delay: .81s; }
    .js .hero-title .line:nth-child(3) > span { animation-delay: .87s; }
    .js .hero-kicker, .js .hero-lead, .js .hero-actions, .js .hero-stages, .js .hero .scene-hint {
        opacity: 0; animation: fadeUp var(--t-slow) var(--ease-out) 1.05s forwards;
    }
}
@keyframes lineIn { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
    .scene-hero.is-ready canvas { opacity: .6; }
    .hero-text { grid-column: 1 / -1; }
    .hero-sticky { align-items: flex-end; padding-bottom: 12vh; }
    .scene-hero .scene-poster { top: 30%; right: -10vw; width: 90vw; opacity: .35; }
    .hero-stages { bottom: 20px; left: var(--margin); right: auto; }
    .hero .scene-hint { display: none; }
}

/* ---------- 3D-scènes ---------- */
.scene { position: relative; }
.scene canvas {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;
    opacity: 0; transition: opacity var(--t-slow) ease;
    touch-action: pan-y;
}
.scene.is-ready canvas { opacity: 1; }
.scene-poster {
    position: absolute; inset: 0; width: 100%; height: 100%;
    color: var(--fg); opacity: .55;
    transition: opacity var(--t-slow) ease;
}
.scene.is-ready .scene-poster { opacity: 0; }
.scene-page, .scene-monogram { aspect-ratio: 1 / 1; width: 100%; }
.scene-poster-logo { display: grid; place-items: center; }
.scene-poster-logo .poster-logo { width: 60%; height: auto; }
.scene-hint {
    color: var(--muted); margin: 14px 0 0;
    display: flex; align-items: center; gap: 8px;
}
.scene-hint::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }


/* ---------- Doorlopende dienstenregel ---------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    padding-block: clamp(20px, 3vw, 36px);
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    font-size: clamp(2rem, 5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
    animation: marquee 38s linear infinite;
}
.marquee-track span { padding-right: .3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifest ---------- */
.manifest {
    max-width: 15ch;
    font-size: clamp(2.6rem, 7vw, 6.6rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .95;
    margin: 0;
}
.manifest .w { transition: color var(--t-fast) linear; }

/* ---------- Diensten-rijen ---------- */
.service-list { border-bottom: 1px solid var(--line); }
.service-list li { border-top: 1px solid var(--line); }
.service-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: center;
    padding-block: clamp(22px, 3vw, 40px);
    isolation: isolate;
}
.service-row::before {
    content: ""; position: absolute; inset: 0 calc(var(--margin) * -1); z-index: -1;
    background: var(--surface);
    transform: scaleY(0); transform-origin: bottom;
    transition: transform var(--t-mid) var(--ease-wave);
}
.service-row:hover::before, .service-row:focus-visible::before { transform: none; }
.service-title { grid-column: 1 / span 6; transition: transform var(--t-mid) var(--ease-out); }
.service-row:hover .service-title { transform: translateX(14px); }
.service-short { grid-column: 7 / span 5; margin: 0; color: var(--muted); transition: color var(--t-fast) ease; }
.service-row:hover .service-short { color: var(--fg); }
.service-arrow { grid-column: 12; justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out); }
.service-arrow .icon-arrow { width: 18px; height: 18px; }
.service-row:hover .service-arrow { background: var(--signal); border-color: var(--signal); color: var(--on-signal); transform: rotate(-45deg); }
@media (max-width: 767px) {
    .service-title, .service-short { grid-column: 1 / span 10; }
    .service-short { margin-top: .6em; }
    .service-arrow { grid-column: 11 / span 2; grid-row: 1; width: 38px; height: 38px; }
}

/* ---------- Cases ---------- */
.cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 44px) var(--gutter);
}
.case-card a { display: block; }
.case-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
}
.case-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 32px 32px;
    transition: transform var(--t-slow) var(--ease-out);
}
.case-mark {
    position: absolute; left: 6%; bottom: -6%;
    font-size: clamp(8rem, 16vw, 15rem); font-weight: 900; letter-spacing: -.06em; line-height: .8;
    z-index: 1;
    transition: transform var(--t-slow) var(--ease-out), color var(--t-mid) ease;
}
.case-visual::after {
    content: ""; position: absolute; right: 8%; top: 10%; width: 14px; height: 14px; background: var(--signal);
    transform: scale(0); transition: transform var(--t-mid) var(--ease-out);
}
.case-card a:hover .case-mark { transform: translateY(-8%); }
.case-card a:hover .case-grid { transform: scale(1.08); }
.case-card a:hover .case-visual::after { transform: none; }
.case-meta { padding-top: 18px; }
.case-meta h3 { margin-bottom: .45em; }
.case-meta p { color: var(--muted); margin-bottom: .9em; }
.case-card-next .case-visual { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.case-card-next .case-mark { color: var(--signal); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.tags li { border: 1px solid var(--line); padding: .3em .7em; border-radius: 999px; }
@media (max-width: 1023px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Werkwijze (horizontaal) ---------- */
.steps-section { overflow: hidden; }
.steps-track {
    display: flex;
    gap: var(--gutter);
    padding-inline: max(var(--margin), calc((100vw - 1440px) / 2 + var(--margin)));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.steps-track::-webkit-scrollbar { display: none; }
.is-pinned-steps .steps-track { overflow: visible; scroll-snap-type: none; width: max-content; }
.steps-section.is-pinned-steps { padding-block: 0; }
.is-pinned-steps .steps-sticky { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
.step {
    flex: 0 0 min(400px, 78vw);
    scroll-snap-align: start;
    border-top: 1px solid var(--line-strong);
    padding-top: 22px;
}
.step-num { display: block; color: var(--signal); margin-bottom: clamp(48px, 7vw, 110px); font-size: 13px; }
.step h3 { margin-bottom: .5em; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.step p { color: var(--muted); max-width: 34ch; }

.timeline-step {
    border-top: 1px solid var(--line);
    padding-block: clamp(40px, 6vw, 80px);
    align-items: baseline;
}
.timeline-step .step-num { grid-column: 1 / span 1; margin: 0; }
.timeline-step h2 { grid-column: 2 / span 6; }
.timeline-step p { grid-column: 8 / span 5; margin: 0; }
@media (max-width: 1023px) {
    .timeline-step .step-num { grid-column: 1 / -1; margin-bottom: 1rem; }
    .timeline-step h2, .timeline-step p { grid-column: 1 / -1; }
    .timeline-step p { margin-top: 1rem; }
}

/* ---------- Eigen merken ---------- */
.brands h1, .brands h2 { margin-bottom: 1.5rem; }
.brand-list { margin-top: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.brand-list li { border-top: 1px solid var(--line); }
.brand-list li > a, .brand-list li > .brand-name { display: block; }
.brand-list li > a, .brand-list li {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
}
.brand-list li { padding-block: 18px; }
.brand-list li > a { grid-column: 1 / -1; }
.brand-name { font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; }
.brand-list .mono { color: var(--muted); justify-self: end; }
.brand-text { grid-column: 1 / -1; color: var(--muted); }
.brand-soon .brand-name { color: var(--muted); }
.brand-soon .mono { color: var(--signal); }
.case-soon .case-visual { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.case-soon .case-mark { color: var(--muted); }
.brands .scene-monogram { max-width: 520px; margin-left: auto; }

/* ---------- Kenmerken ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--gutter);
    margin-top: clamp(32px, 5vw, 64px);
}
.feature { border-top: 1px solid var(--line); padding: 24px 0 40px; }
.feature h3 { margin-bottom: .6em; }
.feature p { color: var(--muted); max-width: 44ch; }
@media (max-width: 639px) { .feature-grid { grid-template-columns: 1fr; } }
.result-line { display: flex; gap: 1rem; align-items: baseline; max-width: none; margin-top: 24px; flex-wrap: wrap; }
.result-line .label { margin: 0; }

.service-blocks > li { border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.service-blocks > li:first-child { border-top: 0; padding-top: 0; }
.service-blocks h2 a { transition: color var(--t-fast) ease; }
.service-blocks h2 a:hover { color: var(--muted); }
.service-blocks .lead { margin-top: 1rem; }
.checklist { margin-bottom: 24px; }
.checklist li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.checklist li::before { content: ""; width: 6px; height: 6px; background: var(--signal); flex: none; }

/* ---------- Case-detail ---------- */
.case-head { align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.case-head h2 { grid-column: 1 / span 7; }
.case-facts { grid-column: 9 / span 4; margin: 0; }
.case-facts div, .facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.case-facts dt, .facts dt { color: var(--muted); }
.case-facts dd, .facts dd { margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--f-display); font-size: 15px; }
.case-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.case-body section { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.case-body h3 { margin-bottom: .8rem; }
.metrics { display: flex; flex-wrap: wrap; gap: var(--gutter); margin-top: clamp(32px, 5vw, 56px); }
.metrics li { flex: 1 1 200px; border-top: 1px solid var(--signal); padding-top: 14px; display: grid; gap: 6px; }
.metric-num { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
@media (max-width: 1023px) {
    .case-head h2, .case-facts { grid-column: 1 / -1; }
    .case-facts { margin-top: 24px; }
    .case-body { grid-template-columns: 1fr; }
}
.facts { margin: 32px 0 0; max-width: 640px; }
.facts-wide { max-width: 860px; margin: 0 0 40px; }
.facts-wide div { grid-template-columns: 14em 1fr; }
@media (max-width: 639px) { .facts div, .facts-wide div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
    list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 22px 0;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -.02em;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor;
    transition: transform var(--t-mid) var(--ease-wave);
}
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item[open] .faq-plus::before { background: var(--signal); }
.faq-answer p { color: var(--muted); padding-bottom: 24px; margin: 0; }

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 28px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field .label { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gutter); }
@media (max-width: 639px) { .field-row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 12px; }

.form input[type="text"], .form input[type="email"], .form select, .form textarea {
    width: 100%;
    background: transparent;
    color: var(--fg);
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 10px 0 12px;
    font: 400 18px/1.4 var(--f-display);
    transition: border-color var(--t-fast) ease;
    appearance: none;
}
.form select {
    background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
    background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
    background-size: 5px 5px; background-repeat: no-repeat;
    padding-right: 28px;
}
.form select option { background: var(--bg); color: var(--fg); }
.form textarea { resize: vertical; min-height: 130px; }
.form ::placeholder { color: var(--muted); opacity: 1; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--signal); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { box-shadow: 0 1px 0 0 var(--signal); }
.form [aria-invalid="true"] { border-color: var(--signal); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
    display: inline-block;
    padding: .6em 1.05em;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 15px;
    transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input {
    appearance: none; flex: none;
    width: 20px; height: 20px; margin: 1px 0 0;
    border: 1px solid var(--line-strong); border-radius: 3px;
    display: grid; place-items: center; cursor: pointer;
    transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.check input:checked { background: var(--signal); border-color: var(--signal); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }

.field-error {
    margin: 0;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em;
    border-left: 2px solid var(--signal); padding-left: 10px;
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { color: var(--muted); margin: 0; }
.form-status:empty { display: none; }
.form-status { padding: 16px 18px; border-left: 2px solid var(--signal); background: var(--surface); }
.form-status.is-ok { font-family: var(--f-serif); font-size: 1.2rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.scan .form-scan { align-self: end; }
.contact-section { scroll-margin-top: var(--header-h); }
.contact-direct { margin-top: 24px; color: var(--muted); }
.contact-direct a { color: var(--fg); text-transform: none; }

/* ---------- Paginakoppen ---------- */
.page-hero {
    padding-top: calc(var(--header-h) + clamp(48px, 9vw, 130px));
    padding-bottom: clamp(56px, 8vw, 120px);
}
.page-hero .h1 { margin-bottom: clamp(20px, 3vw, 36px); }
.page-hero .col-object { align-self: center; }
.crumbs { color: var(--muted); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--fg); }
.crumbs-top { padding-top: calc(var(--header-h) + 40px); }
.crumbs-top + .brands { border-top: 0; padding-top: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-self: end; justify-content: flex-start; }
.hero-404 { min-height: 90vh; display: flex; align-items: center; }

.prose { max-width: 66ch; }
.prose h2 { margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--fg); }
.prose .mono { color: var(--muted); margin-top: 3em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: var(--section); overflow: hidden; }
.footer-cta { margin-bottom: clamp(64px, 10vw, 140px); }
.footer-big {
    display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .25em;
    font-size: clamp(2.8rem, 8.4vw, 8.6rem);
    font-weight: 800; letter-spacing: -.055em; line-height: .9;
    transition: color var(--t-mid) ease;
}
.footer-big .icon-arrow { width: .6em; height: .6em; align-self: center; color: var(--signal); transition: transform var(--t-mid) var(--ease-out); }
.footer-big:hover .icon-arrow { transform: translateX(.12em) rotate(-45deg); }
.footer-big:hover span { color: var(--muted); }
.footer-grid { row-gap: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer-brand { grid-column: 1 / span 4; }
.footer-grid > :nth-child(2) { grid-column: 6 / span 2; }
.footer-grid > :nth-child(3) { grid-column: 8 / span 2; }
.footer-grid > :nth-child(4) { grid-column: 10 / span 3; }
.footer-logo { display: block; width: 140px; margin-bottom: 18px; }
.footer-sign { font-size: 1.35rem; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { transition: color var(--t-fast) ease; display: inline-block; }
.footer-col a:hover { color: var(--muted); }
.footer-col address { margin-bottom: 18px; line-height: 1.7; }
.socials { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
    padding-block: 24px 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-legal, .footer-tools { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--fg); }
@media (max-width: 1023px) {
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > :nth-child(2), .footer-grid > :nth-child(3) { grid-column: span 3; }
    .footer-grid > :nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
    .footer-grid > :nth-child(2), .footer-grid > :nth-child(3) { grid-column: span 2; }
}

/* ---------- Laat de site vallen ---------- */
.is-dropping .fall-body { position: fixed !important; margin: 0 !important; z-index: 90; will-change: transform; pointer-events: none; }
.drop-layer { position: fixed; inset: 0; z-index: 95; cursor: grab; touch-action: none; }
.drop-layer:active { cursor: grabbing; }
.drop-reset {
    position: fixed; left: 50%; bottom: 24px; z-index: 96; transform: translateX(-50%);
}

/* ---------- Toegankelijkheid: minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
    .js .hero { height: auto; }
    .js .hero-sticky { position: relative; height: auto; }
    .js .curtain { animation: none; transform: translateY(101%); }
    .marquee-track { animation: none; }
    .scene canvas { display: none; }
}

@media print {
    .site-header, .curtain, .cursor, .scene, .marquee, .site-footer .footer-tools { display: none !important; }
    body { background: #fff; color: #000; }
}
