@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f6f6;
  --surface: #ffffff;
  --surface-2: #eceeef;
  --ink: #121416;
  --muted: #555b61;
  --line: #d9dcde;
  --accent: #1d3a5f;
  --accent-ink: #ffffff;
  --accent-soft: #dfe7f1;
  --logo-filter: none;
  --radius: 2px;
  --shadow: 0 18px 40px -24px rgb(29 58 95 / .35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1113;
    --surface: #171a1d;
    --surface-2: #1d2125;
    --ink: #eceef0;
    --muted: #a3aab1;
    --line: #2c3237;
    --accent: #9dbbe0;
    --accent-ink: #0d1726;
    --accent-soft: #1b2837;
    --logo-filter: invert(1);
    --shadow: 0 18px 40px -24px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1113; --surface: #171a1d; --surface-2: #1d2125; --ink: #eceef0; --muted: #a3aab1;
  --line: #2c3237; --accent: #9dbbe0; --accent-ink: #0d1726; --accent-soft: #1b2837; --logo-filter: invert(1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, input, label, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--radius);
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: inherit; font-size: 16px; font-weight: 550; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-primary .ico { transition: transform .3s var(--ease-out); }
.btn-primary:hover .ico { transform: translateX(3px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { width: 150px; height: auto; filter: var(--logo-filter); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted);
  padding: 6px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-call { min-height: 42px; padding: 0 16px; font-size: 15px; font-variant-numeric: tabular-nums; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .ico-close { display: none; }
.menu-toggle[aria-expanded="true"] .ico-open { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: block; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.eyebrow { font-size: 13px; font-weight: 550; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.hero-title { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 30ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-media { position: relative; }
.hero-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3.4; background: var(--surface-2); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.tape {
  position: absolute; left: -18px; bottom: -5px; width: 46%; height: 10px;
  background: var(--accent); transform-origin: left;
}

/* Facts */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-list li { padding: 26px 24px; display: grid; gap: 2px; }
.facts-list li + li { border-left: 1px solid var(--line); }
.facts-list strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.facts-list span { color: var(--muted); font-size: 15px; }

/* Sections */
.section-title { font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -0.035em; }
.services, .layers, .about, .reviews, .contact { padding: clamp(72px, 10vw, 136px) 0; }

/* Bento */
.bento {
  margin-top: 48px; display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "b b b b b b b i i i i i"
    "o o o o o o o o o o o o";
}
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tile-buiten { grid-area: b; }
.tile-binnen { grid-area: i; }
.tile-overig { grid-area: o; display: grid; grid-template-columns: 1.2fr 1fr; }
.tile-img { overflow: hidden; background: var(--surface-2); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.tile:hover .tile-img img { transform: scale(1.035); }
.tile-buiten .tile-img { aspect-ratio: 16 / 9; }
.tile-binnen .tile-img { aspect-ratio: 4 / 3; }
.tile-overig .tile-img { min-height: 280px; }
.tile-body { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 12px; align-content: start; }
.tile h3 { font-size: 24px; }
.tile p { color: var(--muted); max-width: 60ch; }
.tile-overig { background: var(--accent-soft); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--radius); font-size: 15px; font-weight: 500; background: var(--surface); }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 550; color: var(--accent); text-decoration: none; margin-top: 4px; width: fit-content; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Layers (process) */
.layers { background: var(--surface); border-block: 1px solid var(--line); }
.layers-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.layers-head { position: sticky; top: 120px; display: grid; gap: 20px; }
.layers-head p { color: var(--muted); max-width: 40ch; }
.steps { position: relative; padding: 8px 0 8px 48px; }
.steps-list { display: grid; gap: clamp(56px, 9vh, 110px); }
.steps-rail { position: absolute; left: 6px; top: 12px; bottom: 12px; width: 3px; background: var(--line); }
.steps-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; gap: 10px; counter-increment: s; }
.step::before {
  content: ""; position: absolute; left: -48px; top: 10px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--line); transition: border-color .4s, background-color .4s;
}
.step.is-on::before { border-color: var(--accent); background: var(--accent); }
.step h3 { font-size: clamp(26px, 2.6vw, 36px); }
.step p { color: var(--muted); font-size: 18px; max-width: 42ch; }

/* Work gallery */
.work { padding: clamp(72px, 10vw, 136px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.work-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.work-hint { color: var(--muted); font-size: 15px; }
.work-track {
  display: flex; gap: 16px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: end;
}
.work-track::-webkit-scrollbar { display: none; }
.shot { flex: none; width: clamp(240px, 26vw, 360px); scroll-snap-align: start; }
.shot-wide { width: clamp(300px, 36vw, 500px); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.shot-tall img { aspect-ratio: 4 / 5; }
.shot p { margin-top: 12px; font-weight: 550; }

/* About */
.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { overflow: hidden; border-radius: var(--radius); }
.about-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% 30%; }
.about-copy { display: grid; gap: 22px; }
.about-copy > p { color: var(--muted); max-width: 52ch; }
.pull { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; }
.pull p { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; font-style: italic; }

/* Materials */
.materials { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; }
.materials-img { position: absolute; inset: 0; }
.materials-img img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; }
.materials-panel-wrap { position: relative; padding-block: clamp(32px, 6vw, 72px); }
.materials-panel {
  max-width: 560px; background: var(--surface); padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius);
  display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .35);
}
.materials-panel .section-title { font-size: clamp(28px, 3vw, 40px); }
.materials-panel p { color: var(--muted); }
.brands { display: flex; gap: 10px; flex-wrap: wrap; }
.brands li { font-weight: 650; letter-spacing: .02em; padding: 8px 14px; background: var(--accent-soft); color: var(--ink); border-radius: var(--radius); }

/* Reviews */
.quotes { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.quote { display: grid; gap: 22px; padding-top: 28px; border-top: 2px solid var(--ink); }
.quote p { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.4; letter-spacing: -0.015em; font-weight: 450; }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption span { color: var(--muted); font-size: 15px; }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info > p { color: var(--muted); max-width: 44ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.details { margin: 12px 0 0; display: grid; gap: 16px; }
.details div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.details dt { color: var(--muted); font-size: 15px; padding-top: 1px; }
.details dd { margin: 0; overflow-wrap: anywhere; }
.details a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.details a:hover { text-decoration-color: currentColor; }

.form { display: grid; gap: 20px; background: var(--bg); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 550; font-size: 15px; padding: 0; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-size: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #ff8a80; } :root:not([data-theme="light"]) .field [aria-invalid="true"] { border-color: #ff8a80; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); background: var(--surface); font-weight: 500; font-size: 15px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.choices input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form .btn { justify-self: start; }
.form-note { font-size: 15px; color: var(--ink); }
.form-note:not(:empty) { padding: 14px 16px; background: var(--accent-soft); border-radius: var(--radius); }

/* Footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: start; }
.footer-logo { width: 150px; filter: var(--logo-filter); opacity: .9; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav ul { gap: 20px; }
  .header-call span { display: none; }
  .header-call { width: 44px; padding: 0; }
}
@media (max-width: 899px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; }
  .brand img { width: 112px; }
  .header-call { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 64px 0 auto 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease-out); }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav a { display: block; padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-img { aspect-ratio: 16 / 10; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .tape { left: -16px; width: 40%; height: 8px; bottom: -4px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-sub { margin-top: 16px; }
  .hero-ctas { margin-top: 24px; }
  .hero-ctas .btn { flex: 1 1 auto; }

  .facts-list { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .facts-list li { padding: 18px var(--gutter); }
  .facts-list li + li { border-left: 0; }
  .facts-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .facts-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts-list strong { font-size: 16px; }

  .bento { grid-template-columns: 1fr; grid-template-areas: "b" "i" "o"; }
  .tile-overig { grid-template-columns: 1fr; }
  .tile-overig .tile-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }

  .layers-grid { grid-template-columns: 1fr; }
  .layers-head { position: static; }
  .steps-list { gap: 44px; }

  .work-hint { display: block; }
  .work-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 28px; }
  .nav { overscroll-behavior: contain; }
  .about-grid, .contact-grid, .quotes { grid-template-columns: 1fr; }
  .materials { min-height: 0; display: block; }
  .materials-img { position: relative; height: 56vw; }
  .materials-img img { height: 100%; }
  .materials-panel-wrap { margin-top: -56px; padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { padding-bottom: 110px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); border-radius: 6px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -20px rgb(0 0 0 / .4);
    transform: translateY(140%); transition: transform .45s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); text-decoration: none; font-weight: 600; border: 1px solid var(--line); }
  .mobile-bar a.is-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
}
@media (min-width: 900px) {
  .work-hint { display: none; }
  .work { padding-block: clamp(40px, 6vw, 80px); }
  .work-pin { min-height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; }
}

/* Reveal defaults (JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
