/* ==========================================================================
   DPM186
   Gebouwd op maatvoering. Niet op marketing.

   Palet: Pruisisch blauw + papierwit / lichtgrijs. Geen zwart, geen bone.
   Staaloranje (--staal) komt op de hele site EXACT drie keer voor:
     1. .cursor            — de tekencursor (stip + ring)
     2. .tb__rev.is-tick   — REV in het titelblok licht op bij een revisie
     3. .contact__mail     — het e-mailadres in de footer
   Lijnwerk: 1px, pen-op-calque. Geen hand-drawn wobble.
   ========================================================================== */

:root {
  --paper:       #F4F5F7;
  --paper-2:     #E9EBEE;
  --paper-3:     #D6DAE0;
  --blauw:       #003153;
  --blauw-2:     #12507F;
  --blauw-deep:  #012640;
  --staal:       #F4611D;

  --line:        rgba(0, 49, 83, 0.18);
  --line-strong: rgba(0, 49, 83, 0.5);
  --line-paper:  rgba(244, 245, 247, 0.22);
  --line-paper-strong: rgba(244, 245, 247, 0.55);

  --font-display: 'Archivo Variable', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Space Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --font-body:    'Alegreya Sans', 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --gap: clamp(16px, 2vw, 32px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-sheet: cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-mono-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/alegreya-sans-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/alegreya-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/alegreya-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/alegreya-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/alegreya-sans-latin-700-normal.woff2') format('woff2'); }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--blauw);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [data-cursor] { cursor: none; }

h1, h2, h3, p, ul, ol, dl { margin: 0; }
[hidden] { display: none !important; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
video { display: block; }
i { font-style: normal; }
::selection { background: var(--blauw); color: var(--paper); }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Fine 5 mm calque grid behind the paper sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 49, 83, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 49, 83, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}
main, .contact { position: relative; z-index: 1; }

/* ---------- Sheet corner marks ---------- */
.sheet { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.sheet__mark { position: absolute; width: 22px; height: 22px; opacity: .6; transition: color .5s; color: var(--blauw); }
.sheet__mark::before, .sheet__mark::after { content: ''; position: absolute; background: currentColor; }
.sheet__mark::before { width: 100%; height: 1px; }
.sheet__mark::after { width: 1px; height: 100%; }
.sheet__mark--tl { top: 14px; left: 14px; }
.sheet__mark--tl::before { top: 0; left: 0; } .sheet__mark--tl::after { top: 0; left: 0; }
.sheet__mark--tr { top: 14px; right: 14px; }
.sheet__mark--tr::before { top: 0; right: 0; } .sheet__mark--tr::after { top: 0; right: 0; }
.sheet__mark--bl { bottom: 14px; left: 14px; }
.sheet__mark--bl::before { bottom: 0; left: 0; } .sheet__mark--bl::after { bottom: 0; left: 0; }
.sheet__mark--br { bottom: 14px; right: 14px; }
.sheet__mark--br::before { bottom: 0; right: 0; } .sheet__mark--br::after { bottom: 0; right: 0; }
body[data-theme="dark"] .sheet__mark { color: var(--paper); }

/* ---------- Cursor (staaloranje 1/3) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100;
  pointer-events: none;
  color: var(--staal);
  opacity: 0;
  transition: opacity .3s;
  display: none;
}
html.has-cursor .cursor { display: block; }
.cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: currentColor; }
.cursor__ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid currentColor; border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s;
}
.cursor__tick { position: absolute; background: currentColor; }
.cursor__tick--n, .cursor__tick--s { width: 1px; height: 7px; left: 50%; margin-left: -.5px; }
.cursor__tick--e, .cursor__tick--w { height: 1px; width: 7px; top: 50%; margin-top: -.5px; }
.cursor__tick--n { top: -9px; } .cursor__tick--s { bottom: -9px; }
.cursor__tick--w { left: -9px; } .cursor__tick--e { right: -9px; }
.cursor.is-hover .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-down .cursor__ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px var(--gutter);
  color: var(--blauw);
  transition: color .5s;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
body[data-theme="dark"] .nav { color: var(--paper); }
.nav__brand { text-decoration: none; display: flex; flex-direction: column; gap: 3px; }
.nav__mark { font-family: var(--font-display); font-weight: 800; font-stretch: 118%; letter-spacing: .02em; font-size: 15px; line-height: 1; }
.nav__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; position: relative; padding-bottom: 4px; line-height: 1;
}
.nav__idx { opacity: .72; margin-right: 6px; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }

/* Hamburger-toggle: alleen zichtbaar op mobiel (zie @media hieronder) */
.nav__toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 30px; height: 30px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav__toggle-line { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; }
.nav.is-open .nav__toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle-line:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html.nav-open-lock body { touch-action: none; }

/* ---------- Section head (shared) ---------- */
.section-head__label { display: flex; align-items: center; gap: 12px; opacity: .8; margin-bottom: 28px; }
.section-head__label .idx { font-weight: 700; }
.section-head__label::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 100%;
  font-size: clamp(38px, 5.2vw, 84px);
  line-height: .95; letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-head__intro {
  max-width: 34em;
  margin-top: 26px;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.5;
  font-weight: 300;
}

/* Dimension line (maatlijn): 1px line with 45° ticks and a centred label */
.maat { position: relative; height: 1px; background: currentColor; opacity: .55; margin-top: 56px; }
.maat::before, .maat::after {
  content: ''; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; transform: rotate(45deg);
}
.maat::before { left: 0; } .maat::after { right: 0; }
.maat__label {
  position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  padding: 0 8px; background: var(--paper); font-size: 10px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-wrap { min-height: 100vh; position: relative; }
.hero {
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
}
.hero__content {
  position: relative; z-index: 3;
  min-width: 0;
  padding: clamp(112px, 14vh, 160px) var(--gutter) clamp(32px, 5vh, 64px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__kicker { opacity: .72; margin-bottom: clamp(24px, 4vh, 50px); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 850; font-stretch: 92%;
  font-size: clamp(48px, 6.2vw, 112px);
  line-height: .87;
  letter-spacing: -0.055em;
  color: var(--blauw);
  text-wrap: balance;
  max-width: 8.8em;
}
.hero__intro {
  max-width: 31em;
  margin-top: clamp(24px, 3.5vh, 42px);
  font-size: clamp(19px, 1.45vw, 25px);
  line-height: 1.43;
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 4vh, 46px); }
.hero__spec {
  width: 100%;
  margin-top: auto; padding-top: clamp(30px, 5vh, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero__spec > div { padding: 11px 14px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.hero__spec > div:first-child { border-left: 1px solid var(--line); }
.hero__spec dt { font-size: 9px; opacity: .72; margin-bottom: 5px; }
.hero__spec dd { margin: 0; font-size: 10px; text-transform: none; letter-spacing: .02em; }
.hero__visual { position: relative; min-width: 0; overflow: hidden; background: var(--paper-2); border-left: 1px solid var(--line-strong); }
.hero__video, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; object-fit: cover;
}
.hero__poster { z-index: 0; }
.hero__video { z-index: 1; opacity: 0; transition: opacity .4s; }
.hero__video.is-ready { opacity: 1; }
.hero__visual picture { display: contents; }
.hero__figure {
  position: absolute; z-index: 2; right: -.035em; top: 50%; transform: translateY(-52%);
  font-family: var(--font-display); font-size: clamp(130px, 22vw, 430px); font-weight: 900; font-stretch: 125%;
  line-height: .75; letter-spacing: -.08em; color: var(--paper); mix-blend-mode: soft-light; opacity: .78;
}
.hero__visual::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,49,83,.16), transparent 32%, transparent 68%, rgba(0,49,83,.42));
}
.hero__visual-label { position: absolute; z-index: 3; top: 92px; left: 24px; display: flex; flex-direction: column; gap: 5px; color: var(--paper); text-shadow: 0 1px 10px rgba(0,49,83,.7); }
.hero__signal {
  position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 32px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  color: var(--paper); text-shadow: 0 1px 10px rgba(0,49,83,.7);
}
.hero__signal i { height: 1px; background: currentColor; position: relative; }
.hero__signal i::after { content: ''; position: absolute; right: 0; top: -3px; width: 1px; height: 7px; background: currentColor; transform: rotate(45deg); }
.hero__signal strong { font-weight: 700; }
.hero__meta {
  position: absolute; top: 92px; right: 24px; z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-end; text-align: right;
  color: var(--paper); opacity: .82;
  text-shadow: 0 1px 10px rgba(0,49,83,.7);
}
.hero__frames { font-variant-numeric: tabular-nums; transition: opacity .6s; }
.hero__frames.is-done { opacity: 0; }
.hero__scroll { display: flex; align-items: center; gap: 10px; }
.hero__scroll-line { display: block; width: 40px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ''; position: absolute; inset: 0; background: var(--paper);
  animation: scrollline 2.2s var(--ease-sheet) infinite;
}
@keyframes scrollline { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ==========================================================================
   MANIFEST — kinetic
   ========================================================================== */
.manifest-wrap { height: 280vh; background: var(--blauw); color: var(--paper); position: relative; }
.manifest {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
}
.manifest__words { position: relative; width: 92vw; height: 2.1em; font-size: 12vw; }
.word {
  position: absolute; left: 50%; top: 50%;   /* centring via GSAP xPercent/yPercent */
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 100%;
  font-size: 12vw;              /* JS fits each word to 90 % of the viewport width */
  line-height: .88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity, filter;
  pointer-events: none;
}
.word.is-active { pointer-events: auto; }
.manifest__rule {
  position: absolute; left: 50%; bottom: 26vh;
  width: min(60vw, 720px); height: 1px;
  margin-left: calc(min(60vw, 720px) / -2);
  background: var(--paper); opacity: .5;
  transform: scaleX(0); transform-origin: left center;
}
.manifest__sub {
  position: absolute; left: 50%; bottom: 14vh;
  transform: translate(-50%, 12px);
  width: min(92vw, 760px);
  text-align: center;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 300; font-style: italic;
  opacity: 0;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.manifest__sub.is-visible { opacity: .92; transform: translate(-50%, 0); }
.manifest__index { position: absolute; left: var(--gutter); bottom: 28px; opacity: .8; font-variant-numeric: tabular-nums; }
.manifest__meta { position: absolute; left: var(--gutter); top: 96px; opacity: .72; }

/* ==========================================================================
   WERK
   ========================================================================== */
.werk { padding: 22vh var(--gutter) 18vh; background: var(--paper); }
.werk .section-head { max-width: 1400px; margin: 0 auto 0; }
.werk__grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.werk__cta {
  max-width: 1400px; margin: 1px auto 0;
  border: 1px solid var(--line); padding: clamp(22px, 3vw, 38px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
  background: var(--paper);
}
.werk__cta p { max-width: 44em; font-size: clamp(17px, 1.2vw, 21px); font-weight: 300; }
.werk__cta strong { font-weight: 700; }
.werk__cta .btn { flex: 0 0 auto; }
.project {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(400px, 38vw, 570px);
  padding: clamp(20px, 2.4vw, 38px);
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--blauw);
  text-decoration: none;
  transition: background .55s var(--ease-out), color .55s var(--ease-out);
}
.project::before, .project::after {
  content: ''; position: absolute; z-index: 3; width: 10px; height: 10px; pointer-events: none;
  border-color: currentColor; border-style: solid; opacity: .48;
}
.project::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.project::after { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; }
.project:focus-visible { outline: 2px solid currentColor; outline-offset: -8px; }
.project__top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 18px; opacity: .7; }
.project__mark {
  position: absolute; z-index: -1; right: -.045em; top: 46%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: clamp(110px, 17vw, 290px); font-weight: 900; font-stretch: 125%;
  line-height: .72; letter-spacing: -.075em; opacity: .055; white-space: nowrap;
  transition: transform .85s var(--ease-out), opacity .55s var(--ease-out);
}
.project__body { position: relative; z-index: 2; margin-top: auto; max-width: 43em; }
.project__title {
  font-family: var(--font-display); font-weight: 820; font-stretch: 100%;
  font-size: clamp(31px, 3.6vw, 60px); line-height: .94; letter-spacing: -.04em;
}
.project__desc { max-width: 36em; margin-top: 18px; font-size: clamp(16px, 1.12vw, 20px); line-height: 1.48; font-weight: 300; }
.project__meta { display: flex; flex-wrap: wrap; gap: 5px 0; margin-top: 22px; opacity: .7; }
.project__meta li + li::before { content: '·'; margin: 0 13px; opacity: .6; }
.project:is(a):hover { background: var(--blauw); color: var(--paper); }
.project:is(a):hover .project__mark { transform: translate(-.04em, -50%); opacity: .11; }
.project--monde { background: var(--blauw); color: var(--paper); }
.project--monde:is(a):hover { background: var(--blauw-deep); }
.project--chateau { background: var(--blauw-deep); color: var(--paper); }
.project--chateau:is(a):hover { background: #061D2D; }
.project--se {
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 23px, rgba(0,49,83,.055) 24px);
}
.project--soon .project__top span:last-child { border: 1px solid currentColor; padding: 4px 7px; margin-top: -4px; }

/* Korte doorgang op de bouwpagina: Studio blijft zichtbaar zonder de
   sectorspecifieke propositie over te nemen. */
.studio-bridge {
  position: relative;
  margin: 0 var(--gutter) 18vh;
  padding: clamp(34px, 5vw, 76px);
  border: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  gap: clamp(34px, 6vw, 100px);
  background: var(--paper-2);
  overflow: hidden;
}
.studio-bridge::after {
  content: 'S'; position: absolute; right: -.04em; top: 50%; z-index: 0;
  transform: translateY(-51%);
  font-family: var(--font-display); font-size: clamp(220px, 36vw, 620px); font-weight: 900;
  line-height: .7; opacity: .035; pointer-events: none;
}
.studio-bridge__label, .studio-bridge__title, .studio-bridge__body { position: relative; z-index: 1; }
.studio-bridge__label { grid-column: 1 / -1; display: flex; gap: 12px; opacity: .7; }
.studio-bridge__label span { font-weight: 700; }
.studio-bridge__title {
  font-family: var(--font-display); font-weight: 840; font-stretch: 100%;
  font-size: clamp(42px, 6vw, 92px); line-height: .92; letter-spacing: -.045em;
}
.studio-bridge__body { align-self: end; }
.studio-bridge__body p { max-width: 31em; font-size: clamp(18px, 1.35vw, 23px); line-height: 1.5; font-weight: 300; }
.studio-bridge__body .btn { margin-top: 28px; }

/* ==========================================================================
   DIENSTEN — editorial two-column
   ========================================================================== */
.diensten {
  padding: 16vh var(--gutter) 20vh;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap);
  max-width: calc(1400px + 2 * var(--gutter)); margin: 0 auto;
  border-top: 1px solid var(--line);
}
.diensten__intro { grid-column: 1 / span 4; position: sticky; top: 16vh; align-self: start; }
.diensten__list { grid-column: 6 / span 7; padding-top: 6px; }
.dienst {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap);
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.dienst:last-child { border-bottom: 1px solid var(--line); }
.dienst::after {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--blauw); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.dienst:hover::after { transform: scaleX(1); }
.dienst__idx { display: block; opacity: .72; margin-bottom: 12px; }
.dienst__name {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 100%;
  font-size: clamp(26px, 2.7vw, 44px);
  line-height: .95; letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  transition: transform .6s var(--ease-out);
}
.dienst:hover .dienst__name { transform: translateX(8px); }
.dienst__desc { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.5; font-weight: 300; }
.dienst__tags { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; opacity: .8; }
.dienst__tags li + li::before { content: '·'; margin: 0 12px; opacity: .6; }

/* ==========================================================================
   DE MAKER
   ========================================================================== */
.maker {
  position: relative; min-height: 100vh;
  display: grid; align-items: end;
  color: var(--paper);
  overflow: hidden;
  background: var(--blauw-deep);
}
.maker__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.maker__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(1, 38, 64, .94) 0%, rgba(1, 38, 64, .72) 38%, rgba(1, 38, 64, .18) 75%, rgba(1, 38, 64, .05) 100%),
    linear-gradient(0deg, rgba(1, 38, 64, .7) 0%, rgba(1, 38, 64, 0) 45%);
}
.maker__content { position: relative; z-index: 2; padding: 24vh var(--gutter) 12vh; max-width: 820px; }
.maker__text { max-width: 36em; font-size: clamp(18px, 1.35vw, 23px); line-height: 1.5; font-weight: 300; margin-top: 22px; }
.maker__text + .maker__text { margin-top: 16px; }
.maker__block {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-paper-strong);
  max-width: 620px;
}
.maker__block > div { display: grid; grid-template-columns: 1fr; padding: 12px 16px; border-bottom: 1px solid var(--line-paper); border-right: 1px solid var(--line-paper); }
.maker__block > div:nth-child(2n) { border-right: 0; }
.maker__block > div:nth-last-child(-n+2) { border-bottom: 0; }
.maker__block dt { opacity: .72; font-size: 10px; margin-bottom: 4px; }
.maker__block dd { margin: 0; font-size: 12px; }

/* ==========================================================================
   CONTACT — oversized footer
   ========================================================================== */
.contact {
  background: var(--blauw); color: var(--paper);
  padding: 22vh var(--gutter) 28px;
  position: relative;
}
.contact__inner { max-width: 1400px; margin: 0 auto; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 100%;
  font-size: clamp(46px, 9vw, 176px);
  line-height: .9; letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 9.2em;
}
.contact__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px;
  margin-top: clamp(40px, 6vw, 96px);
}
/* staaloranje 3/3 */
.contact__mail {
  color: var(--staal);
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.8vw, 46px);
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: .1em;
  line-height: 1.1;
  transition: opacity .3s;
}
.contact__mail:hover { opacity: .85; }
.contact__social { display: flex; gap: 28px; }
.contact__social a { text-decoration: none; position: relative; padding-bottom: 4px; }
.contact__social a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.contact__social a:hover::after { transform: scaleX(1); }

.onderhoek {
  max-width: 1400px; margin: clamp(60px, 10vw, 140px) auto 0;
  display: grid; grid-template-columns: 3fr repeat(8, minmax(0, 1fr));
  border: 1px solid var(--line-paper-strong);
}
.onderhoek__cell strong[data-rev-mirror] { font-variant-numeric: tabular-nums; }
.onderhoek__cell { padding: 10px 12px; border-right: 1px solid var(--line-paper); display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.onderhoek__cell:last-child { border-right: 0; }
.onderhoek__cell span { opacity: .72; font-size: 9px; }
.onderhoek__cell strong { font-weight: 400; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact__colophon { max-width: 1400px; margin: 14px auto 0; opacity: .72; }

/* ==========================================================================
   TITELBLOK (fixed)
   ========================================================================== */
.tb {
  position: fixed; right: 14px; bottom: 14px; z-index: 45;
  background: var(--paper); color: var(--blauw);
  border: 1px solid var(--line-strong);
  font-size: 10px;
  min-width: 176px;
  box-shadow: 0 8px 30px rgba(0, 49, 83, .12);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.tb.is-docked { opacity: 0; transform: translateY(12px); pointer-events: none; }
.tb.is-uit { opacity: 0; transform: translateY(12px); pointer-events: none; }
.tb__head { display: flex; justify-content: space-between; gap: 18px; padding: 7px 10px; border-bottom: 1px solid var(--line-strong); font-weight: 700; }
.tb__row { display: grid; grid-template-columns: 62px 1fr; }
.tb__row + .tb__row { border-top: 1px solid var(--line); }
.tb__k { padding: 5px 10px; border-right: 1px solid var(--line-strong); opacity: .72; }
.tb__v { padding: 5px 10px; font-variant-numeric: tabular-nums; transition: color .5s; }
/* staaloranje 2/3 — revisie licht op */
.tb__rev.is-tick .tb__v { color: var(--staal); transition: none; }

/* ==========================================================================
   COOKIEMELDING — verschijnt tot je kiest, laadt zelf geen tracking.
   Google Analytics start pas ná "Accepteren" (zie js/consent.js).
   ========================================================================== */
.cookie {
  position: fixed; left: var(--gutter); right: auto; bottom: 18px; z-index: 110;
  width: min(520px, calc(100vw - 2 * var(--gutter))); margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  background: var(--paper); color: var(--blauw);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 30px rgba(0, 49, 83, .18);
  padding: 16px 18px;
}
.cookie[hidden] { display: none; }
.cookie__tekst { margin: 0; flex: 1 1 260px; font-size: 14px; font-weight: 300; line-height: 1.5; }
.cookie__tekst a { color: inherit; }
.cookie__acties { display: flex; gap: 10px; flex: 0 0 auto; margin-left: auto; }
@media (max-width: 520px) {
  .cookie { left: 10px; right: 10px; width: auto; padding: 14px; gap: 12px; }
  .cookie__acties { width: 100%; justify-content: flex-end; margin-left: 0; }
}
.cookie__herzie {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer; text-decoration: none;
}

/* ==========================================================================
   Reveal defaults (JS animates from these)
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); }
html.no-js [data-reveal] { opacity: 1; transform: none; }
[data-line] { transform-origin: left center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 6fr) minmax(340px, 5fr); }
  .hero__content { padding-right: clamp(28px, 4vw, 54px); }
  .hero__title { font-size: clamp(46px, 6.8vw, 72px); }
  .diensten { grid-template-columns: 1fr; gap: 48px 0; }
  .diensten__intro { grid-column: auto; position: static; }
  .diensten__list { grid-column: auto; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(320px, 46svh); }
  .hero__content { padding: 104px var(--gutter) 38px; }
  .hero__title { font-size: clamp(46px, 11.4vw, 74px); max-width: 9em; }
  .hero__intro { max-width: 34em; }
  .hero__spec { margin-top: 42px; padding-top: 0; }
  .hero__visual { min-height: 320px; border-left: 0; border-top: 1px solid var(--line-strong); }
  .hero__visual-label, .hero__meta { top: 22px; }
  .hero__signal { bottom: 22px; }
  .werk__cta { align-items: flex-start; flex-direction: column; }
  .project { min-height: 390px; }
  .werk__grid { grid-template-columns: 1fr; }
  .studio-bridge { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; border-left: 0; border-right: 0; }
  .dienst { grid-template-columns: 1fr; gap: 14px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 39;
    flex-direction: column; gap: 0;
    background: var(--paper); color: var(--blauw);
    padding: 8px var(--gutter) 18px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 12px 30px rgba(0, 49, 83, .12);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease-sheet), opacity .25s;
  }
  .nav.is-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { display: block; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
  .nav__links a:first-child { border-top: 0; }
  .onderhoek { grid-template-columns: 1fr 1fr; }
  .onderhoek__cell { border-bottom: 1px solid var(--line-paper); }
  .onderhoek__cell:nth-child(2n) { border-right: 0; }
  .onderhoek__cell--wide { grid-column: 1 / -1; border-right: 0; }
  .onderhoek__cell:nth-last-child(-n+2) { border-bottom: 0; }
  .manifest__rule { bottom: 30vh; }
  .manifest__sub { bottom: 17vh; }
  .tb { min-width: 150px; font-size: 9px; }
  .tb__row { grid-template-columns: 52px 1fr; }
  .maker__block { grid-template-columns: 1fr; }
  .maker__block > div { border-right: 0; }
  .maker__block > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-paper); }
  .maker__block > div:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .sheet { display: none; }
  .tb { display: none; }
  .hero__content { padding-top: 90px; }
  .hero__title { font-size: clamp(43px, 12.3vw, 60px); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { justify-content: space-between; width: 100%; }
  .hero__spec { grid-template-columns: 1fr; }
  .hero__spec > div { border-left: 1px solid var(--line); border-bottom: 0; }
  .hero__spec > div:last-child { border-bottom: 1px solid var(--line); }
  .hero__meta { display: none; }
}

/* ==========================================================================
   KNOP — blauwe omlijning, pijl schuift uit als een maatlijn
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 13px 18px 13px 20px;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .3s, color .3s;
}
.btn__maat { position: relative; width: 26px; height: 1px; background: currentColor; transition: width .45s var(--ease-out); }
.btn__maat::before, .btn__maat::after {
  content: ''; position: absolute; right: -1px; top: -3px; width: 1px; height: 7px; background: currentColor; transform: rotate(45deg);
}
.btn__maat::after { transform: rotate(-45deg); }
.btn:hover .btn__maat, .btn:focus-visible .btn__maat { width: 44px; }
.btn:disabled { opacity: .5; cursor: default; }

/* ==========================================================================
   CONTACT — kanalen
   ========================================================================== */
.contact__intro { max-width: 34em; margin-top: 28px; font-size: clamp(18px, 1.35vw, 23px); line-height: 1.5; font-weight: 300; opacity: .92; }
.contact__kanalen { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.contact__tel { font-size: clamp(18px, 1.4vw, 24px); font-weight: 300; }
.contact__tel .mono { opacity: .72; margin-right: 10px; }
.contact__tel a { text-decoration: none; font-family: var(--font-mono); font-size: .92em; letter-spacing: -.01em; border-bottom: 1px solid var(--line-paper-strong); }
.contact__tel-noot { opacity: .7; }
.contact__colophon a { text-decoration: none; }
@media (max-width: 520px) { .contact__tel-noot { display: none; } }

/* ==========================================================================
   RECEPTIE — digitale balie
   ========================================================================== */
.receptie__tab {
  position: fixed; left: 14px; top: 50%; z-index: 46;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 9px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--blauw);
  font-size: 10px; letter-spacing: .12em; cursor: pointer; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .5s, transform .5s var(--ease-out), background .3s, color .3s;
}
.receptie__tab.is-shown { opacity: 1; pointer-events: auto; }
.receptie__tab:hover, .receptie__tab[aria-expanded="true"] { background: var(--blauw); color: var(--paper); }
.receptie__tab-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.receptie__tab[aria-expanded="true"] .receptie__tab-dot { background: currentColor; }
.receptie__tab-sub { opacity: .72; }

.receptie {
  position: fixed; left: 56px; bottom: 40px; z-index: 120;
  width: min(440px, calc(100vw - 70px));
  max-height: calc(100vh - 80px); overflow: auto;
  background: var(--paper); color: var(--blauw);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 60px rgba(0, 49, 83, .18);
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.receptie.is-open { opacity: 1; transform: translateY(0); }
.receptie__head {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--line-strong);
  font-weight: 700; position: sticky; top: 0; background: var(--paper); z-index: 1;
}
.receptie__stapnr { margin-left: auto; font-weight: 400; opacity: .72; font-variant-numeric: tabular-nums; }
.receptie__close {
  width: 30px; height: 30px; border: 1px solid var(--line); background: transparent; color: inherit;
  font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s;
}
.receptie__close:hover { background: var(--blauw); color: var(--paper); }
.receptie__form { padding: 22px 20px 18px; }
.receptie__stap { border: 0; padding: 0; margin: 0; display: none; }
.receptie__stap.is-active { display: block; }
.receptie__vraag {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(20px, 1.6vw, 24px); line-height: 1.1; padding: 0; margin-bottom: 18px;
}
.receptie__opties { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 9px 12px; border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.chip input:checked + span { background: var(--blauw); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--blauw); outline-offset: 2px; }
.receptie__veld {
  display: block; width: 100%; margin: 0 0 14px;
  padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent;
  font-family: var(--font-body); font-size: 18px; color: var(--blauw); border-radius: 0; resize: vertical;
}
.receptie__veld::placeholder { color: rgba(0, 49, 83, .45); }
.receptie__veld:focus { outline: none; border-bottom-color: var(--blauw); box-shadow: 0 1px 0 var(--blauw); }
.receptie__veld.is-fout { border-bottom-color: var(--blauw); box-shadow: 0 1px 0 var(--blauw); }
textarea.receptie__veld { margin-bottom: 16px; }
.receptie__fout { margin: -8px 0 12px; opacity: .8; font-size: 10px; }
.receptie__check { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 12px; cursor: pointer; font-weight: 300; }
.receptie__check input { width: 16px; height: 16px; accent-color: var(--blauw); margin: 0; }
.receptie__hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.receptie__foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.receptie__spacer { flex: 1; }
.receptie__terug { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 8px 0; opacity: .7; }
.receptie__terug:hover { opacity: 1; }
.receptie__klaar, .receptie__mislukt { padding: 26px 20px 8px; font-weight: 300; }
.receptie__klaar p + p, .receptie__mislukt p + p { margin-top: 10px; }
.receptie__klaar a, .receptie__mislukt a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.receptie__klaar-rev { opacity: .72; margin-top: 18px !important; }
.receptie__noot { padding: 12px 20px 16px; opacity: .72; border-top: 1px solid var(--line); margin-top: 10px; }

@media (max-width: 820px) {
  .receptie__tab {
    left: 14px; top: auto; bottom: 14px; writing-mode: horizontal-tb; transform: none; padding: 9px 14px;
  }
  .receptie__tab-sub { display: none; }
  .receptie { left: 14px; right: 14px; bottom: 14px; width: auto; max-height: calc(100vh - 28px); }
  .hero__meta { bottom: 64px; }
  /* zelfde reden als .hero__meta hierboven: de receptie-tab schuift op mobiel
     naar bottom:14px en zou anders onder de cookiemelding verdwijnen */
  .cookie { bottom: 64px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-wrap { height: 100vh; }
  .manifest-wrap { height: auto; }
  .manifest { position: relative; height: auto; min-height: 100vh; padding: 20vh var(--gutter); }
  .manifest__words { height: auto; width: auto; }
  .word { position: static; transform: none; opacity: 1; display: block; white-space: normal; margin: .1em 0; }
  .manifest__sub { position: static; transform: none; opacity: .92; margin-top: 40px; }
  .manifest__rule, .manifest__index, .manifest__meta { display: none; }
  .caret { animation: none; }
  .hero__scroll-line::after { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .receptie, .receptie__tab { transition: none; }
}

/* ==========================================================================
   STUDIO — apart positioneringsblad naast de bouwpraktijk
   ========================================================================== */
.studio-hero {
  position: relative; min-height: 100svh;
  padding: clamp(130px, 18vh, 190px) var(--gutter) clamp(48px, 8vh, 90px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--blauw); color: var(--paper); overflow: hidden;
}
.studio-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(244,245,247,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,245,247,.055) 1px, transparent 1px);
  background-size: 48px 48px;
}
.studio-hero::after {
  content: 'STUDIO'; position: absolute; right: -.035em; bottom: -.08em;
  font-family: var(--font-display); font-size: clamp(120px, 25vw, 430px); font-weight: 900;
  font-stretch: 120%; letter-spacing: -.08em; line-height: .7; opacity: .035; pointer-events: none;
}
.studio-hero__index, .studio-hero__content, .studio-hero__spec { position: relative; z-index: 1; }
.studio-hero__index { position: absolute; right: var(--gutter); top: 100px; opacity: .72; }
.studio-hero__kicker { opacity: .7; margin-bottom: 30px; }
.studio-hero__title {
  max-width: 11.5em; font-family: var(--font-display); font-weight: 850; font-stretch: 100%;
  font-size: clamp(52px, 7.8vw, 132px); line-height: .86; letter-spacing: -.055em;
}
.studio-hero__intro { max-width: 38em; margin-top: 34px; font-size: clamp(19px, 1.5vw, 26px); line-height: 1.48; font-weight: 300; }
.studio-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.studio-hero__spec {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px; margin-top: clamp(70px, 12vh, 130px); border-top: 1px solid var(--line-paper);
}
.studio-hero__spec > div { padding: 13px 18px 13px 0; border-right: 1px solid var(--line-paper); }
.studio-hero__spec > div + div { padding-left: 18px; }
.studio-hero__spec dt { opacity: .72; margin-bottom: 7px; }
.studio-hero__spec dd { text-transform: none; letter-spacing: .02em; font-size: 12px; }
.studio-work { padding-top: 18vh; }
.studio-position {
  padding: 18vh var(--gutter); background: var(--blauw); color: var(--paper);
}
.studio-position > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.studio-position__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; margin-top: clamp(50px, 7vw, 100px); background: var(--line-paper);
  border: 1px solid var(--line-paper);
}
.studio-position__grid article { min-height: 330px; padding: clamp(24px, 3vw, 44px); background: var(--blauw); display: flex; flex-direction: column; }
.studio-position__grid article > span { opacity: .72; }
.studio-position__grid h3 { margin-top: auto; font-family: var(--font-display); font-size: clamp(27px, 2.6vw, 44px); line-height: .98; letter-spacing: -.035em; }
.studio-position__grid p { margin-top: 18px; max-width: 28em; font-weight: 300; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.5; }
.contact--studio { padding-top: 16vh; }
.contact--studio .contact__social { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

@media (max-width: 820px) {
  .studio-hero { padding-top: 120px; }
  .studio-hero__index { display: none; }
  .studio-hero__title { font-size: clamp(48px, 13.5vw, 78px); }
  .studio-hero__spec, .studio-position__grid { grid-template-columns: 1fr; }
  .studio-hero__spec > div { border-right: 0; border-bottom: 1px solid var(--line-paper); padding: 13px 0; }
  .studio-hero__spec > div + div { padding-left: 0; }
  .studio-hero__spec > div:last-child { border-bottom: 0; }
  .studio-position__grid article { min-height: 280px; }
  .contact--studio .contact__social { align-items: flex-start; }
}

/* ==========================================================================
   TEMPLATES — tekeningenlijst (/templates) en bedankt-pagina.
   Geen nieuw staaloranje: de drie bestaande plekken gelden ook hier.
   ========================================================================== */
.register {
  padding: calc(18vh + 40px) var(--gutter) 10vh;
  max-width: calc(1400px + 2 * var(--gutter)); margin: 0 auto;
}
.register__head { max-width: 1400px; }
.register .section-head__title { max-width: 11em; }
.register__spec {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line-strong); margin-top: clamp(40px, 5vw, 72px);
  background: var(--paper);
}
.register__spec li { padding: 12px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.register__spec li:last-child { border-right: 0; }
.register__spec span { opacity: .72; font-size: 9px; }
.register__spec strong { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bladen {
  margin: 0 max(var(--gutter), calc((100% - 1400px) / 2)) 4vh;
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.tpl {
  position: relative; background: var(--paper);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0;
  scroll-margin-top: 90px;
}
.tpl::before, .tpl::after {
  content: ''; position: absolute; z-index: 2; width: 10px; height: 10px; pointer-events: none;
  border-color: currentColor; border-style: solid; opacity: .5;
}
.tpl::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.tpl::after { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.tpl__media {
  position: relative; display: block; overflow: hidden; background: var(--paper-2);
  border-right: 1px solid var(--line); aspect-ratio: 1280 / 889; text-decoration: none; color: var(--paper);
}
.tpl__desktop { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.005); transition: transform 1.4s var(--ease-out); }
.tpl__media:hover .tpl__desktop { transform: scale(1.03); }
.tpl__mobiel {
  position: absolute; right: clamp(14px, 2.2vw, 30px); bottom: clamp(14px, 2.2vw, 30px);
  width: clamp(80px, 13%, 140px); height: auto;
  border: 1px solid rgba(244, 245, 247, .9); box-shadow: 0 18px 50px rgba(0, 49, 83, .35);
  transform: translateY(14px); opacity: 0; transition: opacity .45s ease, transform .8s var(--ease-out);
}
.tpl__media:hover .tpl__mobiel, .tpl__media:focus-visible .tpl__mobiel { opacity: 1; transform: translateY(0); }
.tpl__demo {
  position: absolute; left: 14px; top: 14px; padding: 8px 10px;
  background: var(--blauw); color: var(--paper); opacity: 0; transform: translateY(-6px);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.tpl__media:hover .tpl__demo, .tpl__media:focus-visible .tpl__demo { opacity: 1; transform: none; }
.tpl__body { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 40px); }
.tpl__top { display: flex; justify-content: space-between; gap: 16px; opacity: .7; }
.tpl__title {
  font-family: var(--font-display); font-weight: 800; font-stretch: 100%;
  font-size: clamp(34px, 3.6vw, 60px); line-height: .95; letter-spacing: -0.03em;
  margin-top: 18px;
}
.tpl__desc { margin-top: 16px; max-width: 34em; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.5; font-weight: 300; }
.tpl__meta { margin-top: 22px; border-top: 1px solid var(--line); }
.tpl__meta > div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tpl__meta dt { opacity: .72; }
.tpl__meta dd { text-transform: none; letter-spacing: .02em; font-size: 12px; line-height: 1.5; }
.tpl__acties { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }
.btn--vol { background: var(--blauw); color: var(--paper); border-color: var(--blauw); }
.btn--vol:hover { background: var(--blauw-2); border-color: var(--blauw-2); }
.btn--stil { border-color: transparent; padding-left: 4px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.btn--stil:hover { text-decoration-color: currentColor; }
.bladen__melding { background: var(--paper); padding: 16px var(--gutter); opacity: .85; }
.tpl__akkoord { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-weight: 300; font-size: .8em; line-height: 1.4; opacity: .85; cursor: pointer; }
.tpl__akkoord input { width: 16px; height: 16px; accent-color: var(--blauw); margin: 2px 0 0; flex-shrink: 0; }
.tpl__melding { margin-top: 10px; opacity: .85; }
.tpl__melding:empty { display: none; }

/* Inbegrepen: hergebruikt .diensten; "Wel"/"Niet" als index */
.inbegrepen { border-top: 0; padding-top: 12vh; }

/* Routes: donkere sectie met twee kolommen */
.routes { background: var(--blauw); color: var(--paper); padding: 18vh var(--gutter); }
.routes__inner { max-width: 1400px; margin: 0 auto; }
.routes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper-strong); margin-top: clamp(40px, 5vw, 72px); }
.route { background: var(--blauw); padding: clamp(22px, 2.6vw, 44px); display: flex; flex-direction: column; }
.route__head { display: flex; justify-content: space-between; opacity: .72; }
.route__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.6vw, 44px); line-height: .95; letter-spacing: -0.03em; margin-top: 16px; }
.route__stappen { margin-top: 26px; display: grid; gap: 14px; font-weight: 300; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.5; }
.route__stappen li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.route__stappen .mono { opacity: .72; padding-top: 4px; }
.route__stappen code, .vraag code, .bedankt code { font-family: var(--font-mono); font-size: .8em; padding: 1px 5px; border: 1px solid var(--line-paper); }
.vraag code, .bedankt code { border-color: var(--line-strong); }
.route__noot { margin-top: 22px; opacity: .75; font-weight: 300; font-size: clamp(15px, 1vw, 17px); line-height: 1.5; }
.route .btn { align-self: flex-start; margin-top: 26px; }

/* Vragen: definitielijst met lijnen */
.vragen { padding: 16vh var(--gutter) 18vh; max-width: calc(1400px + 2 * var(--gutter)); margin: 0 auto; }
.vragen__inner { max-width: 1400px; }
.vragen__lijst { margin-top: clamp(36px, 4vw, 60px); border-top: 1px solid var(--line); }
.vraag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line); }
.vraag dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.35vw, 23px); letter-spacing: -0.02em; line-height: 1.2; }
.vraag dd { font-weight: 300; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.5; max-width: 40em; }
.vraag a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

/* Compacte voet */
.contact--compact { padding-top: 14vh; }
.contact__title--klein { font-size: clamp(38px, 5.6vw, 96px); }
.contact--compact .onderhoek { margin-top: clamp(40px, 6vw, 90px); grid-template-columns: 3fr repeat(8, minmax(0, 1fr)); }
.blad-bedankt .contact--compact { padding-top: 40px; }
.blad-bedankt .contact--compact .onderhoek { margin-top: 0; grid-template-columns: 3fr repeat(5, minmax(0, 1fr)); }

/* Bedankt */
.bedankt { min-height: 70vh; }
.bedankt__naam { display: block; font-size: .62em; font-weight: 700; margin-top: .25em; opacity: .85; }
.bedankt__acties { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.bedankt__stappen { margin-top: 44px; display: grid; gap: 12px; max-width: 36em; font-weight: 300; font-size: clamp(16px, 1.1vw, 19px); line-height: 1.5; }
.bedankt__stappen li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.bedankt__stappen .mono { opacity: .72; padding-top: 4px; }
.bedankt__ref { margin-top: 36px; opacity: .72; }
.bedankt__mailnoot { opacity: .8; }

/* ---------- Juridisch (privacy / voorwaarden) ---------- */
.juridisch { margin-top: 56px; max-width: 42em; }
.juridisch h2 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 100%;
  font-size: clamp(21px, 1.8vw, 27px); letter-spacing: -0.01em;
  margin-top: 48px;
}
.juridisch h2:first-of-type { margin-top: 8px; }
.juridisch p, .juridisch li {
  font-size: clamp(16px, 1.05vw, 18px); line-height: 1.65; font-weight: 300;
  margin-top: 14px;
}
.juridisch ul, .juridisch ol { margin-top: 14px; padding-left: 1.3em; }
.juridisch ul { list-style: disc; }
.juridisch ol { list-style: decimal; }
.juridisch li { margin-top: 8px; }
.juridisch li:first-child { margin-top: 0; }
.juridisch a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
.juridisch a:hover { text-decoration-color: currentColor; }
.juridisch strong { font-weight: 700; }
.juridisch .identiteit {
  margin-top: 8px; border: 1px solid var(--line-strong); padding: 18px 20px;
  display: grid; gap: 12px 24px; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--paper);
}
.juridisch .identiteit dt { opacity: .72; font-size: 9px; margin-bottom: 4px; }
.juridisch .identiteit dd { margin: 0; font-family: var(--font-body); font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: normal; }
@media (max-width: 640px) {
  .juridisch .identiteit { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .tpl { grid-template-columns: 1fr; }
  .tpl__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .register__spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .register__spec li { border-bottom: 1px solid var(--line); }
  .register__spec li:nth-child(3n) { border-right: 0; }
  .register__spec li:nth-last-child(-n+3) { border-bottom: 0; }
  .routes__grid { grid-template-columns: 1fr; }
  .vraag { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 820px) {
  .bladen { margin-left: 0; margin-right: 0; border-left: 0; border-right: 0; }
  .tpl::before, .tpl::after { display: none; }
  .register { padding-top: calc(12vh + 40px); }
  .register__spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .register__spec li:nth-child(3n) { border-right: 1px solid var(--line); }
  .register__spec li:nth-child(2n) { border-right: 0; }
  .register__spec li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .register__spec li:nth-last-child(-n+2) { border-bottom: 0; }
  .contact--compact .onderhoek, .blad-bedankt .contact--compact .onderhoek { grid-template-columns: 1fr 1fr; }
  .tpl__meta > div { grid-template-columns: 70px 1fr; }
}
.dienst__link { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.dienst__link:hover { border-bottom-color: currentColor; }

/* Werk op de bouwpagina — kleurvarianten voor het schaakbord (2 × 2). */
.project--vol { background: var(--blauw); color: var(--paper); }
.project--vol:is(a):hover { background: var(--blauw-deep); }
.project--diep { background: var(--blauw-deep); color: var(--paper); }
.project--diep:is(a):hover { background: #061D2D; }

/* Nav met ondergrond na scrollen — het logo liep anders over koppen heen. */
.nav { transition: color .5s, background-color .3s, box-shadow .3s; }
.nav.is-vast { background: rgba(244,245,247,.94); box-shadow: 0 1px 0 var(--line); }
body[data-theme="dark"] .nav.is-vast { background: rgba(0,49,83,.94); box-shadow: 0 1px 0 rgba(244,245,247,.14); }
@supports (backdrop-filter: blur(1px)) {
  .nav.is-vast { backdrop-filter: blur(8px); background: rgba(244,245,247,.86); }
  body[data-theme="dark"] .nav.is-vast { background: rgba(0,49,83,.86); }
}

/* Studio — Le Roi du Monde als moederhuis over de volle breedte, met de
   zeven Mondes als rij tegels (elk een eigen domein). */
.project--huis { grid-column: 1 / -1; min-height: clamp(520px, 44vw, 700px); }
.project--huis .project__mark { top: 38%; }
.project--huis .project__body { max-width: 52em; }
.project__title a, .project__live { color: inherit; text-decoration: none; }
.project__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.project__live { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.project__top:has(.project__live) { opacity: 1; }
.project__top:has(.project__live) > span { opacity: .7; }
.mondes {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px; margin-top: clamp(28px, 3.4vw, 48px);
  background: var(--line-paper); border: 1px solid var(--line-paper);
}
.mondes a {
  display: flex; flex-direction: column; gap: 6px; min-height: 104px;
  padding: 14px 14px 16px; background: var(--blauw); color: var(--paper); text-decoration: none;
  transition: background .35s var(--ease-out);
}
.mondes a:hover, .mondes a:focus-visible { background: var(--blauw-deep); }
.mondes a:focus-visible { outline: 2px solid var(--paper); outline-offset: -4px; }
.mondes__nr { opacity: .6; }
.mondes strong {
  margin-top: auto; font-family: var(--font-display); font-weight: 800; font-stretch: 100%;
  font-size: clamp(17px, 1.35vw, 22px); letter-spacing: -.02em; text-transform: none;
}
.mondes__sub { opacity: .7; text-transform: none; letter-spacing: .02em; }
@media (max-width: 1024px) { .mondes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .project--huis { min-height: 0; }
  .project--huis .project__body { margin-top: 120px; }
  .mondes { grid-template-columns: 1fr 1fr; }
  .mondes li:last-child { grid-column: 1 / -1; }
  .mondes a { min-height: 84px; }
}

/* ==========================================================================
   MOBIEL — verfijningen (sep 2026)
   ========================================================================== */
/* Tikvlak hamburger 44 × 44 (lijnen blijven 26 px breed) */
@media (max-width: 820px) {
  .nav__toggle { width: 44px; height: 44px; padding: 0 9px; margin: -7px -9px 0 0; }
  /* Kortere kinetische sectie: drie woorden hoeven geen acht schermen scroll */
  .manifest-wrap { height: 210vh; }
  /* Minder lege vlakken tussen de secties */
  .diensten { padding-bottom: 10vh; }
  .werk { padding-top: 12vh; padding-bottom: 12vh; }
  .studio-work { padding-top: 12vh; }
  /* Receptie-tab schuift weg tijdens het naar beneden scrollen en in de contactsectie */
  .receptie__tab.is-shown.is-tucked { opacity: 0; transform: translateY(24px); pointer-events: none; }
  /* Footerlinks: ruimer tikvlak zonder de regel te verbreden */
  .contact__colophon a, .contact__colophon .cookie__herzie { display: inline-block; padding: 10px 0; }
}

/* ==========================================================================
   CASESTUDY — /werk/<slug>: projectblad met zes vaste bladen
   (De vraag · Het inzicht · De oplossing · Het systeem · Technologie · Resultaat).
   Geen nieuw staaloranje.
   ========================================================================== */
.case-hero {
  position: relative; overflow: hidden;
  padding: clamp(130px, 18vh, 190px) var(--gutter) clamp(56px, 9vh, 110px);
  background: var(--blauw-deep); color: var(--paper);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: end;
}
.case-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(244,245,247,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244,245,247,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.case-hero__mark {
  position: absolute; left: -.04em; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(180px, 34vw, 560px); line-height: .7; letter-spacing: -.08em; opacity: .045; pointer-events: none;
}
.case-hero__inner, .case-hero__shot { position: relative; z-index: 1; }
.case-hero__kicker { opacity: .72; margin-bottom: 26px; }
.case-hero__kicker a { text-decoration: none; border-bottom: 1px solid var(--line-paper-strong); }
.case-hero__title {
  font-family: var(--font-display); font-weight: 880; font-stretch: 100%;
  font-size: clamp(64px, 9vw, 160px); line-height: .84; letter-spacing: -.06em;
}
.case-hero__lead { max-width: 30em; margin-top: 28px; font-size: clamp(19px, 1.45vw, 25px); line-height: 1.45; font-weight: 300; }
.case-hero__spec { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 6vh, 70px); border-top: 1px solid var(--line-paper); }
.case-hero__spec > div { padding: 12px 0; border-bottom: 1px solid var(--line-paper); }
.case-hero__spec > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line-paper); }
.case-hero__spec > div:nth-child(even) { padding-left: 16px; }
.case-hero__spec dt { opacity: .66; margin-bottom: 6px; }
.case-hero__spec dd { text-transform: none; letter-spacing: .02em; font-size: 12px; }
.case-hero__spec a { text-decoration: none; border-bottom: 1px solid var(--line-paper-strong); }
.case-hero__shot { margin: 0; }
.case-hero__shot img, .case__figuur img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line-paper-strong); box-shadow: 0 30px 80px rgba(0, 20, 34, .45);
}
.case-hero__shot figcaption, .case__figuur figcaption { margin-top: 12px; opacity: .66; }

.case { background: var(--paper); color: var(--blauw); padding: 0 var(--gutter); }
.case__blad {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 90px);
  padding: clamp(64px, 11vh, 130px) 0; border-bottom: 1px solid var(--line);
}
.case__blad:last-child { border-bottom: 0; }
.case__kop { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 14px; }
.case__nr { opacity: .6; }
.case__titel { font-family: var(--font-display); font-weight: 820; font-stretch: 100%; font-size: clamp(34px, 3.6vw, 60px); line-height: .95; letter-spacing: -.04em; }
.case__tekst { max-width: 46em; }
.case__tekst > p { font-size: clamp(17px, 1.2vw, 20px); line-height: 1.6; font-weight: 300; }
.case__tekst > p + p, .case__tekst > * + p { margin-top: 22px; }
.case__groot { font-size: clamp(22px, 1.9vw, 32px) !important; line-height: 1.3 !important; font-weight: 400 !important; letter-spacing: -.01em; }
.case__tijdlijn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 36px 0 30px; border-top: 1px solid var(--blauw); position: relative; }
.case__tijdlijn li { position: relative; padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.case__tijdlijn li::before { content: ''; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--blauw); }
.case__tijdlijn span { opacity: .66; }
.case__tijdlijn strong { font-family: var(--font-display); font-size: clamp(17px, 1.3vw, 21px); font-weight: 800; text-transform: none; letter-spacing: -.01em; }
.case__tijdlijn em { font-style: normal; text-transform: none; letter-spacing: .01em; opacity: .8; line-height: 1.45; }
.case__dimensies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 34px 0 24px; background: var(--line); border: 1px solid var(--line); }
.case__dimensies li { background: var(--paper); padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 22px; font-family: var(--font-display); text-transform: none; font-size: clamp(18px, 1.35vw, 22px); font-weight: 780; letter-spacing: -.01em; }
.case__dimensies span { font-family: var(--font-mono); font-size: 10px; font-weight: 400; opacity: .6; }
.case__keten { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-bottom: 30px; }
.case__keten i { width: 26px; height: 1px; background: currentColor; margin: 0 10px; position: relative; opacity: .6; }
.case__keten i::after { content: ''; position: absolute; right: -1px; top: -3px; width: 1px; height: 7px; background: currentColor; transform: rotate(45deg); }
.case__blad--beeld .case__figuur, .case__figuur { grid-column: 2; margin: 18px 0 0; }
.case__figuur img { border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0, 49, 83, .14); }
.case__figuur--mobiel { max-width: 320px; }
.case__stack { border-top: 1px solid var(--line); margin-bottom: 26px; }
.case__stack > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.case__stack dt { opacity: .66; }
.case__stack dd { text-transform: none; letter-spacing: .02em; font-size: 13px; }
.case__opgeleverd { border-top: 1px solid var(--line); }
.case__opgeleverd li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.2vw, 20px); line-height: 1.5; font-weight: 300; }
.case__opgeleverd strong { font-weight: 700; }
.case__noot { margin-top: 24px !important; font-size: 11px !important; line-height: 1.6 !important; opacity: .72; max-width: 40em; }
.case__acties { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

@media (max-width: 1024px) {
  .case-hero { grid-template-columns: 1fr; align-items: start; }
  .case-hero__shot { max-width: 820px; }
}
@media (max-width: 820px) {
  .case-hero { padding-top: 116px; }
  .case__blad { grid-template-columns: 1fr; padding: 64px 0; }
  .case__kop { position: static; flex-direction: row; align-items: baseline; gap: 14px; }
  .case__figuur, .case__blad--beeld .case__figuur { grid-column: auto; }
  .case__tijdlijn { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .case__dimensies { grid-template-columns: 1fr 1fr; }
  .case__stack > div { grid-template-columns: 92px 1fr; }
  .case__figuur--mobiel { max-width: 240px; }
}
