/* ==========================================================================
   NACHTWERF — DEMO Bouwgroep
   Overgenomen uit Claude Design: "Website 1 - Nachtwerf"
   Styleguide: #0A0A0B bg · #EDEDEF tekst · #FCA311 accent · radius 2px
   Breakpoints: >=1024 desktop · 768-1023 twee kolommen · <=767 stack + hamburger
   ========================================================================== */

/* --------------------------------------------------------- tokens + reset */
:root {
  --bg: #0a0a0b;
  --fg: #ededef;
  --accent: #fca311;
  --accent-hi: #ffc046;

  --line: rgba(255, 255, 255, .14);
  --line-soft: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .16);
  --line-hard: rgba(255, 255, 255, .25);

  --fg-70: rgba(237, 237, 239, .7);
  --fg-60: rgba(237, 237, 239, .6);
  --fg-55: rgba(237, 237, 239, .55);
  --fg-50: rgba(237, 237, 239, .5);
  --fg-45: rgba(237, 237, 239, .45);
  --body: rgba(237, 237, 239, .78);

  --display: 'Anton', sans-serif;
  --sans: 'Schibsted Grotesk', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --gutter: 5vw;
  --section: 110px;
  --container: 1240px;
  --gap: 22px;
  --radius: 2px;
  --nav-h: 79px;
}

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

html { scroll-behavior: smooth; }

/* overflow-x hoort op html, niet op body: op body maakt het van body een
   scroll-container en scrollt de pagina zelf niet meer (reveals vuren dan nooit). */
html { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }

img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--bg); }

input::placeholder,
textarea::placeholder { color: rgba(237, 237, 239, .35); }

/* ------------------------------------------------------------- keyframes */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1.16) translate(-18px, -12px); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ----------------------------------------------------------- typografie  */
.label {
  font: 500 12px var(--mono);
  letter-spacing: .24em;
  color: var(--accent);
}

.eyebrow {
  font: 600 11px var(--mono);
  letter-spacing: .2em;
  color: var(--fg-50);
}

.mono { font-family: var(--mono); }

h1, h2, h3 { margin: 0; }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
}

/* ------------------------------------------------------------- structuur */
.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section) var(--gutter);
}

.section--divider { border-top: 1px solid var(--line-soft); }

.fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------- knoppen */
.btn {
  display: inline-block;
  font: 600 15px var(--sans);
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}

.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-hi); opacity: 1; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .38);
  color: var(--fg);
  padding: 15px 28px;
}
.btn--ghost:hover { border-color: #fff; opacity: 1; }

.btn--nav {
  border-color: rgba(252, 163, 17, .65);
  color: var(--accent);
  font: 600 13.5px var(--sans);
  padding: 11px 20px;
}
.btn--nav:hover { background: rgba(252, 163, 17, .12); opacity: 1; }

.link-mono {
  font: 600 13px var(--mono);
  color: var(--accent);
}

.link-mono--underline {
  border-bottom: 1px solid rgba(252, 163, 17, .5);
  padding-bottom: 3px;
}

/* ------------------------------------------------------------------- nav */
.site-nav {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}

.site-nav--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 0;
  background: transparent;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand:hover { opacity: 1; }

.brand__name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: .02em;
}

.brand__suffix {
  font: 500 11px var(--mono);
  letter-spacing: .24em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a.is-active { color: var(--accent); }

/* hamburger */
.nav-toggle {
  display: none;
  width: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--fg);
  margin-bottom: 5px;
}
.nav-toggle span:last-child {
  margin-bottom: 0;
  width: 14px;
  margin-left: auto;
  background: var(--accent);
}

/* mobiel menu-overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  color: var(--fg);
  display: none;
  flex-direction: column;
}
.mobile-menu.is-open { display: flex; }

.mobile-menu__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.mobile-menu__close {
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.mobile-menu__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

.mobile-menu__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0;
}
.mobile-menu__item:last-child { border-bottom: 0; }

.mobile-menu__item span:first-child {
  font-family: var(--display);
  font-size: 40px;
  text-transform: uppercase;
}
.mobile-menu__item.is-active span:first-child { color: var(--accent); }

.mobile-menu__item span:last-child {
  font: 600 11px var(--mono);
  color: var(--fg-50);
}

.mobile-menu__foot { padding: 0 20px 40px; }

.mobile-menu__cta {
  display: block;
  background: var(--accent);
  color: var(--bg);
  font: 600 14.5px var(--sans);
  padding: 15px;
  border-radius: var(--radius);
  text-align: center;
}

.mobile-menu__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font: 400 10.5px var(--mono);
  color: var(--fg-50);
}

body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 780px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: -70px;
  animation: kb 30s ease-in-out infinite alternate;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10, 10, 11, .62) 0%,
    rgba(10, 10, 11, .18) 38%,
    rgba(10, 10, 11, .4) 62%,
    rgba(10, 10, 11, .92) 100%);
}

.grain {
  position: absolute;
  inset: -100px;
  z-index: 2;
  pointer-events: none;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='300'%20height='300'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.8'%20numOctaves='2'/%3E%3C/filter%3E%3Crect%20width='300'%20height='300'%20filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(1) infinite;
}

.hero__inner {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 110px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  pointer-events: none;
}

.hero__copy { max-width: 820px; }

.hero__kicker {
  font: 500 12px var(--mono);
  letter-spacing: .24em;
  color: var(--accent);
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .1s both;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 8.6vw, 122px);
  line-height: .94;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 18px 0 20px;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .22s both;
}

.hero__lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(237, 237, 239, .85);
  max-width: 52ch;
  margin: 0;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .36s both;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .5s both;
}
.hero__actions .btn { pointer-events: auto; }

.hero__stats {
  width: 216px;
  flex: none;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .64s both;
}

.hero__stat {
  border-top: 1px solid var(--line-hard);
  padding: 12px 0 18px;
}
.hero__stat:last-child { padding-bottom: 0; }

.hero__stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
}

.hero__stat span {
  display: block;
  font: 500 10.5px var(--mono);
  letter-spacing: .18em;
  color: var(--fg-60);
  margin-top: 4px;
}

/* ------------------------------------------------------------ tickerbalk */
.ticker-bar {
  position: relative;
  z-index: 30;
  margin-top: -56px;
  height: 56px;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line-strong);
  background: rgba(10, 10, 11, .72);
  backdrop-filter: blur(6px);
  pointer-events: none;
  overflow: hidden;
}

.ticker-bar__flag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-right: 1px solid var(--line-strong);
  flex: none;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.8s infinite;
  flex: none;
}

.ticker-bar__flag span:last-child {
  font: 600 11px var(--mono);
  letter-spacing: .2em;
  white-space: nowrap;
}

.ticker-bar__track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker {
  display: flex;
  gap: 64px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  font: 400 12px var(--mono);
  letter-spacing: .12em;
  color: rgba(237, 237, 239, .75);
  padding-left: 32px;
}

.ticker i { color: var(--accent); font-style: normal; }

/* --------------------------------------------------------- intro/bedrijf */
.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
}

.split--start { align-items: start; }
.split--flip { grid-template-columns: .9fr 1.1fr; }

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 20px 0 24px;
}

.section-title--sm {
  font-size: clamp(36px, 4vw, 56px);
  margin: 18px 0 0;
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  max-width: 56ch;
  margin: 0;
}

.stat-row {
  display: flex;
  gap: 56px;
  margin-top: 48px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  color: var(--accent);
}

.stat span {
  display: block;
  font: 500 11px var(--mono);
  letter-spacing: .16em;
  color: var(--fg-60);
  margin-top: 6px;
}

.photo-tall { position: relative; }

.photo-tall .frame { height: 460px; }

.photo-tall__badge {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--accent);
  color: var(--bg);
  padding: 16px 20px;
  font: 600 12px var(--mono);
  letter-spacing: .14em;
  pointer-events: none;
}

/* -------------------------------------------------------------- diensten */
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.head-row__meta {
  font: 400 12px var(--mono);
  letter-spacing: .1em;
  color: var(--fg-55);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.mt-52 { margin-top: 52px; }
.mt-56 { margin-top: 56px; }

.service {
  border: 1px solid var(--line-strong);
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.service:hover { border-color: var(--accent); transform: translateY(-5px); }

.service__no { font: 600 12px var(--mono); color: var(--accent); }

.service__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  text-transform: uppercase;
  margin: 16px 0 14px;
}

.service p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-70);
  margin: 0 0 22px;
}

/* ------------------------------------------------------------- projecten */
.feature {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-top: 52px;
}

.feature__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 32px 26px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, .85));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.feature__tag {
  font: 600 11px var(--mono);
  letter-spacing: .2em;
  color: var(--accent);
}

.feature__name {
  font-family: var(--display);
  font-size: 38px;
  text-transform: uppercase;
  margin-top: 8px;
}

.feature__meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.feature__meta span {
  font: 400 12px var(--mono);
  color: rgba(237, 237, 239, .75);
}

.feature__meta a {
  pointer-events: auto;
  font: 600 12.5px var(--mono);
  color: var(--accent);
}

.card {
  display: block;
  cursor: pointer;
  transition: transform .3s;
}
.card:hover { transform: translateY(-5px); opacity: 1; }

.card__media { position: relative; height: 250px; overflow: hidden; border-radius: var(--radius); }

.card__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.card__name { font-weight: 600; font-size: 15.5px; }

.card__meta { font: 400 11px var(--mono); color: var(--fg-55); }

/* -------------------------------------------------------------- werkwijze */
.step { border-top: 2px solid rgba(255, 255, 255, .2); padding-top: 20px; }
.step--first { border-top-color: var(--accent); }

.step b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  color: rgba(237, 237, 239, .85);
}
.step--first b { color: var(--accent); }

.step h3 { font-size: 17px; font-weight: 700; margin: 12px 0 10px; }

.step p { font-size: 14.5px; line-height: 1.6; color: var(--fg-70); margin: 0; }

/* -------------------------------------------------------------- veiligheid */
.photo-wide { height: 420px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chip {
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 10px 16px;
  font: 600 12px var(--mono);
  letter-spacing: .12em;
  border-radius: var(--radius);
}

.chip--accent { border-color: var(--accent); color: var(--accent); }

.chip--select { cursor: pointer; color: var(--fg-70); border-color: var(--line-hard); font-size: 12.5px; transition: border-color .25s, color .25s; }
.chip--select:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------ referenties */
.quote-xl {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 26px 0 18px;
  max-width: 24ch;
}

.quote-source { font: 400 12.5px var(--mono); color: var(--fg-60); }

.testimonial {
  border-left: 1px solid rgba(252, 163, 17, .6);
  padding: 6px 0 6px 24px;
}

.testimonial p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(237, 237, 239, .82);
  margin: 0 0 14px;
}

.testimonial span { font: 400 12px var(--mono); color: var(--fg-55); }

/* ---------------------------------------------------------------- contact */
.cta-section {
  padding: 130px var(--gutter) 120px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.cta-watermark {
  position: absolute;
  right: -40px;
  bottom: -70px;
  font-family: var(--display);
  font-size: 340px;
  line-height: 1;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
  user-select: none;
}

.cta-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 80px);
  text-transform: uppercase;
  margin: 20px 0 26px;
  max-width: 16ch;
}

.cta-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  max-width: 52ch;
  margin: 0 0 34px;
}

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn { padding: 17px 30px; }
.cta-actions .btn--ghost { padding: 16px 30px; }

/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 64px var(--gutter) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-grid p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-60);
  max-width: 34ch;
  margin: 16px 0 0;
}

.footer-col__title {
  font: 600 11px var(--mono);
  letter-spacing: .2em;
  color: var(--fg-50);
  margin-bottom: 16px;
}

.footer-col__list {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.footer-col__list span { color: var(--fg-70); }

.footer-col__list--mono {
  font: 400 13px var(--mono);
  color: var(--fg-70);
}

.footer-bar {
  border-top: 1px solid var(--line-soft);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 400 11.5px var(--mono);
  color: var(--fg-45);
}

.footer-slim {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px var(--gutter) 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font: 400 11.5px var(--mono);
  color: var(--fg-45);
}

.footer-slim a { color: var(--accent); }

/* ============================================================ projectpagina */
.crumbs {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 11.5px var(--mono);
  letter-spacing: .18em;
  color: var(--fg-55);
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) .05s both;
}
.crumbs a { color: var(--accent); }

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 20px;
}

.project-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 6.4vw, 92px);
  line-height: .96;
  text-transform: uppercase;
  margin: 0;
  max-width: 14ch;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .15s both;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(252, 163, 17, .5);
  border-radius: var(--radius);
  flex: none;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .3s both;
}

.status-pill span:last-child {
  font: 600 11.5px var(--mono);
  letter-spacing: .16em;
  color: var(--accent);
  white-space: nowrap;
}

.project-hero { animation: rise 1s cubic-bezier(.16, 1, .3, 1) .35s both; }
.project-hero .frame { height: 520px; }

.progress {
  height: 3px;
  background: rgba(255, 255, 255, .14);
  margin-top: 22px;
  position: relative;
}

.progress i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--accent);
}

.progress-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font: 400 11px var(--mono);
  letter-spacing: .14em;
  color: var(--fg-55);
}
.progress-legend span:nth-child(2) { color: var(--accent); }

.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 18px 0 20px;
}

.prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 18px;
}

.tick-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.tick-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: rgba(237, 237, 239, .8);
}

.tick-list li::before {
  content: '\2192';
  color: var(--accent);
  font-family: var(--mono);
}

.factsheet {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.factsheet__rows { display: grid; margin-top: 18px; }

.factsheet__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.factsheet__row dt { font: 400 12px var(--mono); color: var(--fg-55); margin: 0; }
.factsheet__row dd { font-size: 14.5px; font-weight: 600; text-align: right; margin: 0; }

.factsheet .btn {
  display: block;
  text-align: center;
  margin-top: 22px;
  font-size: 14.5px;
  padding: 15px 20px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 250px 250px;
  gap: var(--gap);
}

.gallery__lead { grid-row: 1 / 3; }

.pager { display: grid; grid-template-columns: 1fr 1fr; }

.pager a {
  padding: 44px var(--gutter);
  display: block;
  transition: background .25s;
}
.pager a:hover { background: rgba(255, 255, 255, .04); opacity: 1; }
.pager a:first-child { border-right: 1px solid var(--line-soft); }
.pager a:last-child { text-align: right; }

.pager__label { font: 500 11px var(--mono); letter-spacing: .2em; color: var(--fg-50); }

.pager__title {
  font-family: var(--display);
  font-size: 26px;
  text-transform: uppercase;
  margin-top: 10px;
}

/* ============================================================ contactpagina */
.page-head { padding: 80px var(--gutter) 0; }

.page-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 86px);
  line-height: .96;
  text-transform: uppercase;
  margin: 20px 0 18px;
  max-width: 18ch;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .15s both;
}

.page-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(237, 237, 239, .75);
  max-width: 52ch;
  margin: 0;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .28s both;
}
.page-lead strong { color: var(--accent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  margin-top: 64px;
  align-items: start;
}

.form {
  display: grid;
  gap: 22px;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .4s both;
}

.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field { display: grid; gap: 9px; }

.field > span {
  font: 600 11px var(--mono);
  letter-spacing: .18em;
  color: var(--fg-60);
}

.field input,
.field textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 15px 16px;
  color: var(--fg);
  font: 400 15px var(--sans);
  outline: none;
  width: 100%;
  transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--accent); }

.form__note {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form__note span { font: 400 11.5px var(--mono); color: var(--fg-50); }

.form .btn--primary { padding: 17px 32px; }

.contact-aside {
  display: grid;
  gap: 22px;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .5s both;
}

.info-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
}

.info-card__body { font-size: 15.5px; line-height: 1.8; margin-top: 14px; }
.info-card__body span { color: var(--fg-60); }

.map {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    #141416;
}

.map__pin {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--bg);
  border: 1px solid rgba(252, 163, 17, .5);
  padding: 9px 14px;
  font: 600 10.5px var(--mono);
  letter-spacing: .16em;
  color: var(--accent);
  pointer-events: none;
}

.map__marker {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(252, 163, 17, .18);
}

.alert-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.alert-card span:last-child {
  font: 400 12.5px var(--mono);
  letter-spacing: .08em;
  color: var(--fg-70);
}

/* ================================================================= 404 */
.error-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.error-page__ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  font-family: var(--display);
  font-size: min(44vw, 560px);
  line-height: 1;
  color: rgba(255, 255, 255, .045);
  pointer-events: none;
  user-select: none;
}

.error-page__body {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px var(--gutter);
}

.error-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(252, 163, 17, .5);
  border-radius: var(--radius);
  padding: 11px 18px;
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) .05s both;
}

.error-badge span:last-child {
  font: 600 11px var(--mono);
  letter-spacing: .2em;
  color: var(--accent);
}

.error-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1;
  text-transform: uppercase;
  margin: 28px 0 18px;
  max-width: 18ch;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .18s both;
}

.error-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(237, 237, 239, .75);
  max-width: 48ch;
  margin: 0;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .3s both;
}

.error-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) .42s both;
}

.error-ticker {
  position: relative;
  z-index: 2;
  height: 56px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line-strong);
  overflow: hidden;
}

.error-ticker .ticker {
  animation-duration: 26s;
  color: var(--fg-55);
}

/* ======================================================= 768 - 1023 tablet */
@media (max-width: 1023px) {
  :root { --section: 88px; }

  .nav-links { gap: 20px; font-size: 13.5px; }

  .split,
  .split--flip,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  .split--flip .photo-wide { order: -1; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .hero__stats { width: 180px; }
  .hero__inner { gap: 28px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; }
  .gallery__lead { grid-row: auto; grid-column: 1 / 3; height: 260px; }

  .cta-watermark { font-size: 200px; }
}

/* ============================================================ <= 767 mobiel */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section: 72px;
    --gap: 12px;
  }

  /* nav wordt hamburger */
  .site-nav,
  .site-nav--overlay {
    position: relative;
    padding: 14px var(--gutter);
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .brand__name { font-size: 19px; }
  .brand__suffix { font-size: 9.5px; letter-spacing: .22em; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  /* hero */
  .hero { height: 540px; min-height: 0; }
  .hero__media { inset: 0; animation: none; }

  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(10, 10, 11, .5),
      rgba(10, 10, 11, .2) 35%,
      rgba(10, 10, 11, .95));
  }

  .hero__inner {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 22px;
    display: block;
  }

  .hero__kicker { font-size: 10.5px; letter-spacing: .2em; }
  .hero__title { font-size: 52px; line-height: .95; margin: 12px 0; }
  .hero__lead { font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }

  .hero__actions {
    display: grid;
    gap: 10px;
    margin-top: 0;
  }
  .hero__actions .btn {
    text-align: center;
    font-size: 14.5px;
    padding: 15px;
  }
  .hero__actions .btn--ghost { padding: 14px; }

  .hero__stats { display: none; }

  /* ticker */
  .ticker-bar {
    margin-top: 0;
    height: 44px;
    border-bottom: 1px solid var(--line-strong);
    background: transparent;
    backdrop-filter: none;
  }
  .ticker-bar__flag { display: none; }
  .ticker {
    gap: 40px;
    font-size: 10.5px;
    letter-spacing: .1em;
    animation-duration: 22s;
    padding-left: 20px;
  }

  /* algemene sectiekoppen */
  .section-title { font-size: 30px; line-height: 1.04; margin: 12px 0; }
  .section-title--sm { font-size: 26px; margin: 12px 0 0; }
  .lead { font-size: 14px; line-height: 1.65; }

  .head-row { display: block; }
  .head-row__meta { display: none; }
  .head-row .link-mono { display: inline-block; margin-top: 14px; }

  .stat-row { gap: 28px; margin-top: 24px; flex-wrap: wrap; }
  .stat b { font-size: 32px; }
  .stat span { font-size: 9px; letter-spacing: .14em; }

  .photo-tall .frame { height: 300px; }
  .photo-tall__badge { left: 0; bottom: 0; font-size: 10px; padding: 12px 14px; }

  /* diensten -> gestapelde kaarten */
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .mt-52, .mt-56 { margin-top: 24px; }

  .service { padding: 18px; }
  .service__no { float: right; font-size: 11px; }
  .service__title { font-size: 20px; margin: 0 0 8px; }
  .service p { font-size: 13px; line-height: 1.55; margin: 0; }
  .service .link-mono { display: none; }

  /* projecten */
  .feature { height: 220px; margin-top: 20px; }
  .feature__overlay { padding: 60px 16px 14px; display: block; }
  .feature__tag { font-size: 9.5px; letter-spacing: .16em; }
  .feature__name { font-size: 22px; margin-top: 5px; }
  .feature__meta { display: none; }

  .card__media { height: 110px; }
  .card__row { display: block; margin-top: 8px; }
  .card__name { font-size: 12.5px; }
  .card__meta { font-size: 9.5px; margin-top: 2px; }

  .projects-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }

  /* werkwijze -> tijdlijn */
  .steps { display: block; }

  .step {
    border-top: 0;
    border-left: 2px solid rgba(255, 255, 255, .2);
    padding: 0 0 22px 18px;
  }
  .step:last-child { padding-bottom: 0; }
  .step--first { border-left-color: var(--accent); }

  .step b { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--fg-70); }
  .step--first b { color: var(--accent); }
  .step h3 { font-size: 15px; margin: 4px 0 0; }
  .step p { font-size: 13px; line-height: 1.55; margin-top: 5px; }

  /* veiligheid */
  .photo-wide { height: 240px; }
  .chips { gap: 8px; margin-top: 18px; }
  .chip { padding: 8px 12px; font-size: 10px; letter-spacing: .1em; }

  /* referenties */
  .quote-xl { font-size: 24px; margin: 16px 0 12px; max-width: none; }
  .quote-source { font-size: 10.5px; }
  .testimonial p { font-size: 14px; }

  /* cta */
  .cta-section { padding: 72px var(--gutter); }
  .cta-watermark { font-size: 120px; right: -10px; bottom: -20px; }
  .cta-title { font-size: 34px; margin: 12px 0 14px; }
  .cta-lead { font-size: 14px; margin-bottom: 22px; }
  .cta-actions { display: grid; gap: 10px; }
  .cta-actions .btn { text-align: center; padding: 15px; font-size: 14.5px; }
  .cta-actions .btn--ghost { padding: 14px; }

  /* footer */
  .site-footer { padding: 44px var(--gutter) 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-bar { display: block; font-size: 10.5px; line-height: 1.9; }
  .footer-slim { display: block; text-align: center; font-size: 10.5px; line-height: 2; }

  /* projectpagina */
  .page-head { padding: 28px var(--gutter) 0; }
  .crumbs { font-size: 10px; letter-spacing: .16em; }
  .project-head { display: block; margin-top: 14px; }
  .project-title { font-size: 38px; line-height: .98; max-width: none; }
  .status-pill { margin-top: 14px; padding: 8px 12px; }
  .status-pill span:last-child { font-size: 9.5px; letter-spacing: .14em; }

  .project-hero .frame { height: 230px; }
  .progress { margin-top: 14px; }
  .progress-legend { font-size: 9px; letter-spacing: .1em; margin-top: 8px; }

  .prose h2 { font-size: 22px; margin: 12px 0 12px; }
  .prose p { font-size: 14px; line-height: 1.65; }
  .tick-list li { font-size: 13.5px; }

  .factsheet { padding: 18px; }
  .factsheet__row { padding: 9px 0; }
  .factsheet__row dt { font-size: 10px; }
  .factsheet__row dd { font-size: 12.5px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 130px; gap: 12px; }
  .gallery__lead { grid-row: auto; grid-column: 1 / 3; height: 200px; }
  .gallery__last { display: none; }

  .pager { grid-template-columns: 1fr; }
  .pager a { padding: 24px var(--gutter); }
  .pager a:first-child { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .pager a:last-child { text-align: left; }
  .pager__title { font-size: 20px; }

  /* contactpagina */
  .page-title { font-size: 38px; margin: 12px 0 12px; }
  .contact-grid { margin-top: 32px; gap: 32px; }
  .form__pair { grid-template-columns: 1fr; gap: 16px; }
  .form { gap: 16px; }
  .form .btn--primary { width: 100%; text-align: center; }
  .form__note { display: grid; gap: 10px; }
  .map { height: 220px; }
  .info-card { padding: 20px; }
  .info-card__body { font-size: 14px; }
  .alert-card { padding: 18px 20px; align-items: flex-start; }
  .alert-card span:last-child { font-size: 11px; }

  /* 404 */
  .error-page__ghost { font-size: 230px; transform: translate(-50%, -55%); }
  .error-page__body { padding: 40px 24px; }
  .error-badge { padding: 9px 13px; }
  .error-badge span:last-child { font-size: 9.5px; letter-spacing: .16em; }
  .error-title { font-size: 34px; line-height: 1.02; margin: 20px 0 12px; }
  .error-lead { font-size: 14px; margin-bottom: 0; }
  .error-actions { display: grid; width: 100%; gap: 10px; margin-top: 24px; }
  .error-actions .btn { text-align: center; padding: 15px; }
  .error-ticker { height: 44px; }
}

/* zeer smalle toestellen */
@media (max-width: 380px) {
  .hero__title { font-size: 44px; }
  .project-title { font-size: 32px; }
  .error-title { font-size: 28px; }
}
