/* Richting 2 "Bouwen" · vakmanschap zichtbaar. Licht en warm, hout en steen.
   Letters: Manrope (koppen en tekst, strak en architectonisch, goed leesbaar).
   Kleur: warm wit als basis, zwart voor tekst, rood alleen voor knoppen en merktekens. */
@import url("../assets/ks.css");

body {
  --bg: #f6f3ee;
  --bg-2: #ece6dc;
  --tekst: #2b2926;
  --kop: #141414;
  --zacht: #5d5851;
  --eyebrow: #47433d;
  --accent-tekstkleur: #b0131a;
  --rand: rgba(20,20,20,.24);
  --rand-zacht: rgba(20,20,20,.1);
  --kaart: #ffffff;
  --veld: #ffffff;
  --fout: #b0131a;
  --nav-tekst: #141414;
  --nav-scrim: rgba(246,243,238,.9);
  --nav-bg: rgba(246,243,238,.92);
  --voet-bg: #141414;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --kop-gewicht: 700;
  --kop-spatiering: -.03em;
  --em-stijl: normal;
  --em-kleur: #c4161e;
  --citaat-stijl: normal;
  --radius: 10px;
  --knop-radius: 8px;
  --veld-radius: 8px;
}
h1 { font-size: clamp(2.6rem, 5.8vw, 4.9rem); line-height: 1.02; }
h2 { line-height: 1.06; }
.project-citaat p, .citaat-in blockquote p { font-weight: 600; letter-spacing: -.015em; }
.stap-nr { font-weight: 800; opacity: .18; }
.feit-groot { font-weight: 800; letter-spacing: -.04em; }

/* ── open kop: tekst links, projectfoto rechts met maatlijn ── */
.kop-licht {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: 1320px; margin: 0 auto; min-height: 94svh;
  padding: calc(var(--nav-h) + 40px) var(--goot) clamp(64px, 8vw, 104px);
}
.kop-licht .lead { color: var(--zacht); opacity: 1; }
.kop-beeld { position: relative; margin: 0; }
.kop-beeld img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.kop-beeld figcaption { position: absolute; left: 16px; top: 16px; padding: 8px 12px; border-radius: 6px; background: rgba(255,255,255,.94); font-size: .8rem; font-weight: 600; color: #141414; }
.maatlijn { position: absolute; left: 0; right: 0; bottom: -30px; height: 12px; border-inline: 1.5px solid var(--kop); display: flex; align-items: center; justify-content: center; }
.maatlijn::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--kop); }
.maatlijn span { position: relative; padding: 0 12px; background: var(--bg); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 900px) {
  .kop-licht { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav-h) + 24px); }
  .kop-beeld img { aspect-ratio: 3 / 2; }
}

/* ── scroll-opbouw: canvas blijft plakken, stappen scrollen erlangs ── */
.bouw { position: relative; background: #0e1114; }
.bouw-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.bouw-sticky canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.bouw-sticky .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 1; transition: opacity 900ms var(--ease-out); }
.bouw-sticky .poster.is-weg { opacity: 0; pointer-events: none; }
.bouw-label { position: absolute; z-index: 3; left: var(--goot); top: calc(var(--nav-h) + 20px); margin: 0; color: #f4efe6; display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.bouw-stappen { position: relative; z-index: 3; margin-top: -100svh; pointer-events: none; }
.bouw-stap { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--goot); max-width: 540px; margin-left: auto; }
.bouw-kaart { background: rgba(246,243,238,.95); color: var(--tekst); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.28); pointer-events: auto; }
.bouw-stap .nr { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-tekstkleur); margin: 0 0 .8em; }
.bouw-stap h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.bouw-stap p:last-child { color: var(--zacht); margin: 0; }
.bouw-stap { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.bouw-stap.is-in { opacity: 1; transform: none; }
@media (max-width: 820px) { .bouw-stap { margin-left: 0; max-width: none; justify-content: flex-end; padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .bouw-stap { opacity: 1; transform: none; transition: none; } }
