/* Helmex Afbouw, homepage
   Merk: zwart #1D1D1B en geel #FDC300 uit het logo.
   Eén thema (donker, zoals de Helmex-bus), scherpe hoeken.
   Koppen: Unbounded (breed en geometrisch, zoals het logo). Tekst: Archivo. */

@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded-var.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #121211;
  --ink-2: #191917;
  --ink-3: #22221f;
  --line: rgba(237, 237, 232, 0.14);
  --line-strong: rgba(237, 237, 232, 0.28);
  --text: #ededE8;
  --muted: #a8a8a0;
  --yellow: #fdc300;
  --yellow-ink: #1d1d1b;
  --plaster: #e9e9e4;

  --display: "Unbounded", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;

  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --section: clamp(88px, 12vw, 176px);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); scrollbar-color: #4a4a45 var(--ink); accent-color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.has-intro body { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
a, button, input, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
input, textarea { caret-color: var(--yellow); }
address { font-style: normal; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol, fieldset, legend { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--yellow-ink); }

.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; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--yellow-ink);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.dot { color: var(--yellow); font-style: normal; }

.h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--body); font-weight: 700; font-size: 1rem; font-stretch: 105%;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms, color 200ms, border-color 200ms;
}
.btn:active { transform: scale(0.97); }
.btn--yellow { background: var(--yellow); color: var(--yellow-ink); }
.btn--yellow:hover { background: #ffd23d; }
.btn--ghost { border-color: rgba(237, 237, 232, 0.55); color: var(--text); background: rgba(18, 18, 17, 0.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--text); background: rgba(18, 18, 17, 0.5); }
.btn--ghost .icon { transition: transform 240ms var(--ease-out); }
.btn--ghost:hover .icon { transform: translate(2px, 2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-stretch: 108%; text-decoration: none;
  padding-bottom: 6px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow);
  transform-origin: left; transition: transform 320ms var(--ease-out);
}
.link-arrow .icon { transition: transform 280ms var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow:hover::after { transform: scaleX(0.4); }

/* ---------- Intro ---------- */
.intro { display: none; }
.has-intro .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  animation: intro-failsafe 1ms 5s forwards;
}
.has-intro .intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--yellow); }
.intro__svg { width: min(58vw, 380px); height: auto; display: block; overflow: visible; }
.intro__bar { transform-box: fill-box; transform-origin: left center; }
.intro__m { transform-box: fill-box; transform-origin: center top; }
.intro__panel { display: none; }
@keyframes intro-failsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- Voortgangsbalk ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color 300ms, border-color 300ms;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(18, 18, 17, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo img { width: 112px; height: auto; }
.nav__links { display: none; gap: 30px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }
.nav__tel { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.nav__actions .btn { display: none; }
.nav__burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; background: none; border: 0; cursor: pointer; padding: 0; }
.nav__burger span { display: block; width: 26px; height: 2px; background: var(--text); transition: transform 300ms var(--ease-out); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
@media (min-width: 640px) { .nav__actions .btn { display: inline-flex; } }
@media (min-width: 1100px) { .nav__links { display: flex; } .nav__burger { display: none; } }
@media (min-width: 1280px) { .nav__tel { display: inline-flex; } }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  overscroll-behavior: contain; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-family: var(--display); font-size: clamp(1.7rem, 8vw, 2.6rem); font-weight: 700; text-decoration: none; letter-spacing: -0.03em; line-height: 1.2; padding: 4px 0; }
.menu__foot { display: grid; gap: 8px; color: var(--muted); }
.menu__foot .btn { justify-self: start; margin-bottom: 16px; color: var(--yellow-ink); }
.menu__foot a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__stage { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; --wipe: -8%; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--villa { object-position: 50% 60%; transform-origin: 38% 58%; }
.hero__img--detail { opacity: 0; object-position: 50% 50%; }
.hero__trowel { display: none; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 12, 11, 0.78) 0%, rgba(12, 12, 11, 0.5) 34%, rgba(12, 12, 11, 0.08) 62%, rgba(12, 12, 11, 0) 100%),
    linear-gradient(to top, rgba(12, 12, 11, 0.8) 0%, rgba(12, 12, 11, 0.3) 38%, rgba(12, 12, 11, 0) 60%),
    linear-gradient(to bottom, rgba(12, 12, 11, 0.6) 0%, rgba(12, 12, 11, 0) 20%);
}
@media (max-width: 767px) {
  .hero__shade {
    background:
      linear-gradient(to top, rgba(12, 12, 11, 0.9) 0%, rgba(12, 12, 11, 0.62) 45%, rgba(12, 12, 11, 0.15) 75%),
      linear-gradient(to bottom, rgba(12, 12, 11, 0.6) 0%, rgba(12, 12, 11, 0) 20%);
  }
}
.hero__copy { position: relative; z-index: 2; padding-bottom: clamp(56px, 11vh, 120px); }
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.05rem, 6.2vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__sub { max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #e2e2dc; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__detail { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(56px, 11vh, 120px); display: none; }
.hero__detail-title {
  font-family: var(--display); font-size: clamp(1.9rem, 4.6vw, 4.2rem); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.045em; max-width: 13ch; margin-bottom: 20px;
}
.hero__detail-text { max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #e2e2dc; }
.hero__detail-cap { margin-top: 22px; font-size: 0.875rem; font-weight: 600; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.hero__detail-cap::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3; background: rgba(237, 237, 232, 0.12); }
.hero__bar span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0.08); }

/* Met beweging: detail wordt als een stucstreek over de gevel getrokken */
.js-motion .hero__detail { display: block; opacity: 0; }
.js-motion .hero__img--detail {
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 5%), transparent calc(var(--wipe) + 5%));
  mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 5%), transparent calc(var(--wipe) + 5%));
}
.js-motion .hero__trowel {
  display: block; position: absolute; top: 0; bottom: 0; left: var(--wipe); width: 3px; margin-left: -1.5px;
  background: var(--yellow); opacity: 0; z-index: 1;
  box-shadow: 0 0 0 1px rgba(12, 12, 11, 0.25);
}

/* ---------- Cijfers ---------- */
.facts { padding-block: var(--section); }
.facts__grid { display: grid; gap: 64px; }
.facts__lead {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-stretch: 108%; font-weight: 700; line-height: 1.22;
  letter-spacing: -0.015em; max-width: 26ch; text-wrap: balance;
}
.facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }
.fact { border-top: 1px solid var(--line-strong); padding-top: 18px; position: relative; }
.fact::before { content: ""; position: absolute; top: -2px; left: 0; width: 36px; height: 3px; background: var(--yellow); transform-origin: left; }
.fact dt { color: var(--muted); font-size: 0.9375rem; font-weight: 500; margin-bottom: 8px; }
.fact dd {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.6vw, 5.2rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.05em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 0.06em;
}
.icon--star { width: 0.42em; height: 0.42em; color: var(--yellow); align-self: center; margin-left: 0.12em; }
@media (min-width: 1024px) {
  .facts__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .facts__list { gap: 56px 48px; }
}

/* ---------- Routes ---------- */
.routes { padding-bottom: var(--section); }
.routes__grid { display: grid; gap: 12px; }
.route {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: 420px; text-decoration: none; background: var(--ink-3); isolation: isolate;
}
.route__media { position: absolute; inset: 0; z-index: -2; }
.route__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--ease-out); }
.route::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12, 12, 11, 0.9) 0%, rgba(12, 12, 11, 0.45) 45%, rgba(12, 12, 11, 0.1) 100%);
}
.route__body { display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); max-width: 560px; }
.route__title { font-family: var(--display); font-size: clamp(1.45rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.route__text { color: #d8d8d1; text-wrap: pretty; }
.route__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-top: 6px; color: var(--yellow); }
.route__link .icon { transition: transform 300ms var(--ease-out); }
.route::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
.route:hover .route__media img, .route:focus-visible .route__media img { transform: scale(1.05); }
.route:hover .route__link .icon { transform: translateX(6px); }
.route:hover::after, .route:focus-visible::after { transform: scaleX(1); }
.route:focus-visible { outline-offset: -4px; }
@media (min-width: 1024px) {
  .routes__grid { grid-template-columns: 7fr 5fr; align-items: end; }
  .route { min-height: 64vh; max-height: 680px; }
  .route--biz { min-height: 50vh; }
}

/* ---------- Nieuwe Jas ---------- */
.jas { background: var(--ink-2); border-block: 1px solid var(--line); padding-block: var(--section); }
.jas__grid { display: grid; gap: 56px; }
.jas__title {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.jas__lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 34ch; margin-bottom: 20px; }

/* Doorsnede: arcering zoals op een bouwtekening */
.layers { margin-bottom: 32px; max-width: 520px; }
.layers__stage {
  position: relative; height: clamp(140px, 19vh, 200px);
  display: grid; grid-template-columns: 46fr 36fr 9fr; margin-top: 44px;
}
.layer { position: relative; transition: transform 800ms var(--ease-out), opacity 600ms ease; }
.layer--wall {
  background-color: #2b2b27;
  background-image: repeating-linear-gradient(45deg, rgba(237, 237, 232, 0.3) 0 1px, transparent 1px 11px);
  border: 1px solid rgba(237, 237, 232, 0.35);
}
.layer--iso {
  background-color: #d7dad2;
  background-image:
    radial-gradient(rgba(18, 18, 17, 0.18) 1.2px, transparent 1.6px),
    radial-gradient(rgba(18, 18, 17, 0.12) 1.2px, transparent 1.6px);
  background-size: 14px 14px, 14px 14px;
  background-position: 0 0, 7px 7px;
  border-block: 1px solid rgba(18, 18, 17, 0.2);
}
.layer--finish {
  background: #f4f4f0 url("../assets/img/afwerking-korrel-480.webp") center / 400% auto;
  transform-origin: top;
}
.layers__brace {
  position: absolute; bottom: calc(100% + 10px); left: calc(46 / 91 * 100%); right: 0; height: 12px;
  border-top: 3px solid var(--yellow); border-left: 1px solid var(--yellow); border-right: 1px solid var(--yellow);
  transition: opacity 500ms ease, transform 700ms var(--ease-out);
}
.layers__brace span {
  position: absolute; bottom: calc(100% + 8px); left: 0;
  font-family: var(--display); font-size: 0.8125rem; font-weight: 700; color: var(--yellow); letter-spacing: -0.01em; white-space: nowrap;
}
/* Legenda: kolommen exact gelijk aan de lagen; het streepje staat op de rand van elke laag */
.layers__legend {
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 36fr) minmax(0, 9fr);
  margin-top: 0; font-size: 0.8125rem; font-weight: 600; color: var(--muted);
}
.lg { position: relative; padding-top: 22px; line-height: 1.3; transition: opacity 500ms ease; }
.lg::before { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 14px; background: var(--line-strong); }
.lg--finish { justify-self: end; text-align: right; white-space: nowrap; }
.lg--finish::before { left: auto; right: 0; }

/* Smal scherm: gewone legenda met stalen, zodat labels elkaar niet raken */
@media (max-width: 599px) {
  .layers__legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
  .lg, .lg--finish { padding-top: 0; justify-self: auto; text-align: left; display: inline-flex; align-items: center; gap: 8px; }
  .lg::before, .lg--finish::before { position: static; width: 14px; height: 14px; flex: none; }
  .lg--wall::before { background: #2b2b27 repeating-linear-gradient(45deg, rgba(237, 237, 232, 0.45) 0 1px, transparent 1px 4px); outline: 1px solid rgba(237, 237, 232, 0.35); }
  .lg--iso::before { background: #d7dad2; }
  .lg--finish::before { background: #f4f4f0 url("../assets/img/afwerking-korrel-480.webp") center / 600% auto; }
}

.layers[data-state="1"] .layer--iso { opacity: 0; transform: translateX(28px); }
.layers[data-state="1"] .layer--finish, .layers[data-state="2"] .layer--finish { opacity: 0; transform: scaleY(0); }
.layers[data-state="1"] .lg--iso, .layers[data-state="1"] .lg--finish, .layers[data-state="2"] .lg--finish { opacity: 0.2; }
.layers:not([data-state="4"]) .layers__brace { opacity: 0; transform: translateY(8px); }

.jas__steps { display: grid; gap: 2px; }
.jas__steps li {
  position: relative; color: var(--muted); font-weight: 600; font-size: 0.9375rem;
  padding: 5px 0; transition: color 300ms, transform 450ms var(--ease-out);
}
.jas__steps li::before {
  content: ""; position: absolute; left: -36px; top: 50%; width: 24px; height: 2px; margin-top: -1px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease-out);
}
.jas__steps li.is-active { color: var(--text); transform: translateX(36px); }
.jas__steps li.is-active::before { transform: scaleX(1); }

.jas__flow { display: grid; gap: 64px; }
.jas__fig { overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 3; }
.jas__fig img { width: 100%; height: 100%; object-fit: cover; }
.jas__text { padding-top: 22px; display: grid; gap: 10px; }
.jas__text h3 { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.jas__text p { color: var(--muted); max-width: 46ch; }
.jas__outro { padding-top: 16px; }
.jas__outro-title { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 26px; max-width: 18ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 0.9375rem; }
.chips .icon { color: var(--yellow); }
.jas__subsidie { color: var(--muted); max-width: 46ch; margin-bottom: 28px; font-size: 0.9375rem; }

@media (max-width: 1023px) { .jas__steps { display: none; } }
@media (min-width: 1024px) {
  .jas__grid { grid-template-columns: 5fr 6fr; gap: 6vw; align-items: start; }
  .jas__side { position: sticky; top: calc(var(--nav-h) + 32px); }
  .jas__flow { gap: 14vh; padding-top: 2vh; }
  .jas__panel:nth-child(even) { margin-left: 12%; }
  .jas__panel:nth-child(odd) { margin-right: 12%; }
}

/* ---------- Projecten ---------- */
.projects { padding-block: var(--section); }
.projects__head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
.projects__intro { color: var(--muted); max-width: 46ch; font-size: 1.125rem; }
.projects__grid { display: grid; gap: 64px; }
.project__media { position: relative; display: block; overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 3; }
.project__frame { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; display: block; }
.project__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__img { transition: transform 900ms var(--ease-out); }
.project__detail { opacity: 0; transform: scale(1.08); transition: opacity 500ms ease, transform 900ms var(--ease-out); }
@media (hover: hover) {
  .project__media:hover .project__img, .project__media:focus-visible .project__img { transform: scale(1.04); }
  .project__media:hover .project__detail, .project__media:focus-visible .project__detail { opacity: 1; transform: scale(1); }
}
.project__body { padding-top: 22px; display: grid; gap: 6px; }
.project__title { font-family: var(--display); font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.18; }
.project__place { color: var(--yellow); font-weight: 600; font-size: 0.9375rem; }
.project__desc { color: var(--muted); max-width: 48ch; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.spec dt { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.spec dd { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.projects__more { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 559px) { .spec { grid-template-columns: 1fr 1fr; } .spec div:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .projects__head { grid-template-columns: 7fr 5fr; align-items: end; }
  .projects__intro { padding-bottom: 10px; }
  .projects__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 96px 40px; }
  .project--a { grid-column: 1 / 8; }
  .project--a .project__media { aspect-ratio: 3 / 2; }
  .project--b { grid-column: 9 / 13; margin-top: 22vh; }
  .project--b .project__media { aspect-ratio: 4 / 5; }
  .project--c { grid-column: 1 / 6; }
  .project--c .project__media { aspect-ratio: 4 / 5; }
  .project--d { grid-column: 6 / 13; margin-top: 14vh; }
  .project--d .project__media { aspect-ratio: 16 / 10; }
  .project--e { grid-column: 3 / 11; }
  .project--e .project__media { aspect-ratio: 21 / 10; }
}

/* ---------- Zakelijk ---------- */
.biz { position: relative; padding-bottom: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.biz__media { position: relative; height: clamp(320px, 62vh, 680px); overflow: hidden; }
.biz__media img { position: absolute; left: 0; right: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.biz__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12, 12, 11, 0.25), rgba(18, 18, 17, 0.2) 55%, var(--ink) 100%); }
.biz__grid { position: relative; display: grid; gap: 56px; margin-top: clamp(-120px, -10vw, -40px); }
.biz__lede { color: #d4d4cd; max-width: 50ch; font-size: 1.125rem; margin: 24px 0 36px; }
.biz__stat { display: flex; gap: 20px; align-items: center; margin-bottom: 36px; max-width: 520px; padding-block: 20px; border-block: 1px solid var(--line); }
.biz__num { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.biz__stat-text { color: var(--muted); font-size: 0.9375rem; }
.biz__case { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); align-self: start; }
.biz__case-fig { overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 22px; background: var(--ink-3); }
.biz__case-fig img { width: 100%; height: 100%; object-fit: cover; }
.biz__case-title { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.biz__case > p { color: var(--muted); margin-bottom: 20px; }
.biz__quote { margin-bottom: 22px; }
.biz__quote p { font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; color: var(--text); }
@media (min-width: 1024px) { .biz__grid { grid-template-columns: 7fr 5fr; gap: 80px; align-items: end; } }

.marquee { margin-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.marquee__label { font-size: 0.875rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em;
  color: #807f78; white-space: nowrap; padding-right: 0.7em; display: flex; align-items: center; gap: 0.7em;
  transition: color 300ms;
}
.marquee__list li::after { content: ""; width: 0.5em; height: 0.12em; background: var(--yellow); }
.marquee__list li:hover { color: var(--text); }
html:not(.js-motion) .marquee__track { width: auto; flex-wrap: wrap; padding-inline: var(--gutter); }
html:not(.js-motion) .marquee__list { flex-wrap: wrap; }
html:not(.js-motion) .marquee__list[aria-hidden] { display: none; }
html:not(.js-motion) .marquee__list li { font-size: clamp(1.1rem, 2.4vw, 1.8rem); }

/* ---------- Afwerkingen ---------- */
.finish { padding-block: var(--section); border-top: 1px solid var(--line); }
.finish .h2 { margin-bottom: 18px; max-width: 18ch; }
.finish__intro { color: var(--muted); max-width: 48ch; font-size: 1.125rem; margin-bottom: clamp(40px, 5vw, 64px); }
.finish__strips { display: flex; flex-direction: column; gap: 8px; }
.strip {
  position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left;
  background: var(--ink-3); flex: 0 0 88px;
  transition: flex-basis 700ms var(--ease-out), flex-grow 700ms var(--ease-out);
}
.strip.is-open { flex-basis: 62vh; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter 500ms; filter: saturate(0.85) brightness(0.8); }
.strip.is-open img { filter: none; }
.strip::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(12, 12, 11, 0.82), rgba(12, 12, 11, 0) 55%); }
.strip:not(.is-open)::after { background: linear-gradient(to top, rgba(12, 12, 11, 0.85), rgba(12, 12, 11, 0.55)); }
.strip__label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 2px; }
.strip__name { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.3rem); letter-spacing: -0.03em; line-height: 1.15; }
.strip__where { color: #d2d2cb; font-size: 0.875rem; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity 400ms 150ms, transform 500ms 150ms var(--ease-out); }
.strip.is-open .strip__where { opacity: 1; transform: none; }
.strip.is-open::before { content: ""; position: absolute; left: 18px; top: 18px; width: 36px; height: 3px; background: var(--yellow); z-index: 1; }
@media (min-width: 1024px) {
  .finish__strips { flex-direction: row; height: 72vh; min-height: 520px; max-height: 760px; gap: 10px; }
  .strip { flex: 1 1 0; }
  .strip.is-open { flex: 3.4 1 0; }
  .strip:not(.is-open) .strip__name { font-size: 0.875rem; }
  .strip:not(.is-open):hover img { transform: scale(1.05); filter: saturate(1) brightness(0.9); }
  .strip__label { left: 22px; right: 22px; bottom: 22px; }
}

/* ---------- Over ons ---------- */
.about { padding-block: var(--section); border-top: 1px solid var(--line); }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__fig { position: relative; aspect-ratio: 985 / 1280; overflow: hidden; background: var(--ink-3); }
.about__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.about__fig::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42%; height: 8px; background: var(--yellow); }
.about__copy .h2 { margin-bottom: 26px; }
.about__copy > p { color: #cfcfc8; max-width: 52ch; margin-bottom: 36px; font-size: 1.125rem; }
.about__quote { position: relative; padding-top: 34px; margin-bottom: 40px; }
.about__quote::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; background: var(--yellow); }
.about__quote p { font-family: var(--display); font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.03em; max-width: 30ch; }
.about__quote footer { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.about__points { display: grid; margin-bottom: 40px; max-width: 520px; }
.about__points li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.about__points strong { color: var(--text); font-weight: 700; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 5fr 6fr; gap: 96px; } }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--section); background: var(--ink-2); border-block: 1px solid var(--line); }
.reviews__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: clamp(48px, 6vw, 80px); }
.rating { display: grid; grid-template-columns: auto auto; column-gap: 16px; align-items: center; }
.rating__num { grid-row: span 2; font-family: var(--display); font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.rating__stars { display: flex; gap: 3px; color: var(--yellow); }
.rating__stars .icon { width: 20px; height: 20px; }
.icon--part { clip-path: inset(0 40% 0 0); }
.rating__src { color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.review-hero { margin-bottom: clamp(56px, 7vw, 96px); max-width: 1240px; }
.review-hero blockquote p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 2.2rem); font-weight: 600; line-height: 1.32; letter-spacing: -0.035em; text-wrap: pretty;
}
.review-hero figcaption, .review figcaption { margin-top: 22px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.review-hero figcaption span, .review figcaption span { color: var(--muted); font-weight: 500; font-size: 0.875rem; }
.review-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 82%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.review-row:focus-visible { outline-offset: -2px; }
.review { scroll-snap-align: start; background: var(--ink); padding: 32px 28px 28px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.review::before { content: ""; position: absolute; top: 0; left: 28px; width: 36px; height: 3px; background: var(--yellow); }
.review blockquote p { color: #d8d8d1; }
@media (min-width: 1024px) {
  .review-row { grid-auto-flow: initial; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* ---------- Partners ---------- */
.partners { padding-block: clamp(64px, 8vw, 112px); }
.partners__inner { display: grid; gap: 28px; }
.partners__title { font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: 0.01em; }
.partners__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.partners__logos li { background: var(--plaster); height: 124px; display: grid; place-items: center; padding: 22px; }
.partners__logos img { max-height: 60px; width: auto; max-width: 100%; transition: transform 400ms var(--ease-out); }
.partners__logos img[alt="Stukbouw"] { max-height: 76px; }
.partners__logos li:hover img { transform: scale(1.05); }
@media (min-width: 768px) { .partners__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .partners__logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center; isolation: isolate; }
.cta__media { position: absolute; inset: -12% 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 12, 11, 0.9) 0%, rgba(12, 12, 11, 0.72) 42%, rgba(12, 12, 11, 0.2) 80%),
    linear-gradient(to bottom, rgba(12, 12, 11, 0.35), rgba(12, 12, 11, 0.1) 50%, rgba(12, 12, 11, 0.5));
}
.cta__inner { padding-block: var(--section); }
@media (max-width: 767px) {
  .cta::before { background: linear-gradient(to bottom, rgba(12, 12, 11, 0.55), rgba(12, 12, 11, 0.8) 40%, rgba(12, 12, 11, 0.88)); }
}
.cta__title { font-family: var(--display); font-size: clamp(2.2rem, 5.8vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.05em; margin-bottom: 28px; }
.cta__text { max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #e2e2dc; margin-bottom: 36px; }

/* ---------- Contact en aanvraag ---------- */
.contact { padding-block: var(--section); }
.contact__grid { display: grid; gap: 56px; }
.contact__info .h2 { margin-bottom: 22px; max-width: 14ch; }
.contact__lede { color: var(--muted); max-width: 42ch; margin-bottom: 36px; font-size: 1.125rem; }
.contact__list { display: grid; gap: 18px; margin-bottom: 28px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.25rem; font-weight: 600; }
.contact__list .icon { color: var(--yellow); margin-top: 5px; width: 22px; height: 22px; }
.contact__list a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-decoration-color 250ms; }
.contact__list a:hover { text-decoration-color: var(--yellow); }
.contact__area { color: var(--muted); max-width: 40ch; margin-bottom: 28px; font-size: 0.9375rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color 200ms, color 200ms, border-color 200ms; }
.socials a:hover { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.socials .icon { width: 20px; height: 20px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

.wizard { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 28px; align-content: start; position: relative; }
.wizard__top { display: grid; gap: 12px; }
.wizard__count { font-size: 0.875rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.wizard__bar { height: 3px; background: var(--line); }
.wizard__bar span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0.25); transition: transform 600ms var(--ease-out); }
.wstep { display: grid; gap: 22px; }
.wstep[hidden] { display: none; }
.wstep__q { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 4px; }
.wstep__q:focus { outline: none; }
.choices { display: grid; gap: 10px; }
.choices[hidden] { display: none; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
  display: grid; gap: 4px; padding: 18px 20px; border: 1px solid #4a4a45; background: var(--ink); height: 100%;
  transition: border-color 200ms, background-color 200ms, transform 160ms var(--ease-out);
}
.choice:hover .choice__box { border-color: #7a7a72; }
.choice input:checked + .choice__box { border-color: var(--yellow); background: rgba(253, 195, 0, 0.08); box-shadow: inset 0 0 0 1px var(--yellow); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--yellow); outline-offset: 3px; }
.choice:active .choice__box { transform: scale(0.99); }
.choice__icon { width: 30px; height: 30px; color: var(--yellow); margin-bottom: 10px; }
.choice__title { font-weight: 700; font-size: 1.0625rem; }
.choice__sub { color: var(--muted); font-size: 0.9375rem; }
.choices--pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice--pill .choice__box { padding: 12px 16px; font-weight: 600; font-size: 0.9375rem; }
@media (min-width: 560px) {
  .choices:not(.choices--pills) { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field__label { font-weight: 600; font-size: 0.9375rem; }
.field__opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--ink); border: 1px solid #4a4a45; padding: 14px 16px; border-radius: 0;
  transition: border-color 200ms, box-shadow 200ms;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.field [aria-invalid="true"] { border-color: #ff8f7d; }
.field__error { color: #ff9c8c; font-size: 0.875rem; font-weight: 500; }
.wizard__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.wizard__nav .btn[hidden] { display: none; }
.wizard__done { display: grid; gap: 10px; justify-items: start; padding-block: 12px; }
.wizard__done[hidden] { display: none; }
.wizard__done:focus { outline: none; }
.wizard__done-icon { width: 44px; height: 44px; padding: 10px; background: var(--yellow); color: var(--yellow-ink); margin-bottom: 8px; }
.wizard__done-title { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -0.035em; }
.wizard__done p:last-child { color: var(--muted); max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { background: #0c0c0b; padding-block: clamp(64px, 8vw, 112px) 32px; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__logo { width: clamp(180px, 24vw, 320px); }
.footer__claim { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -0.035em; }
.footer__cols { display: grid; gap: 36px; padding-block: 48px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer__h { font-size: 0.875rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.footer__cols p, .footer__cols li { color: #d4d4cd; }
.footer__cols p + p { margin-top: 10px; }
.footer__cols ul { display: grid; gap: 6px; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--yellow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.footer__bottom a { color: var(--text); }
.footer__bottom a:hover { color: var(--yellow); }

/* ---------- Actiebalk mobiel ---------- */
.dock { display: none; }
@media (max-width: 767px) {
  .dock {
    display: flex; gap: 8px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 18, 17, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 450ms var(--ease-out);
  }
  .dock.is-visible { transform: none; }
  .dock__call {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px;
    border: 1px solid var(--line-strong); text-decoration: none; font-weight: 700;
  }
  .dock__cta { flex: 1; justify-content: center; min-height: 48px; padding: 0 12px; }
  .footer { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translateX(-50%);
  background: var(--yellow); color: var(--yellow-ink); font-weight: 600;
  padding: 14px 20px; max-width: min(92vw, 520px); text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
@media (max-width: 767px) { .toast { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* ---------- Begintoestanden alleen met JS + beweging ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .project__img, .strip img, .route__media img { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled, .dock { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn--ghost { background: rgba(18, 18, 17, 0.8); backdrop-filter: none; }
}

/* Gele streep boven elk cijfer groeit mee met de teller */
.js-motion .fact::before { transform: scaleX(0); transition: transform 1.6s var(--ease-out) 0.2s; }
.js-motion .fact.is-in::before { transform: scaleX(1); }
