@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@property --lr { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --ink: #0a1628;
  --ink-raised: #122136;
  --ink-deep: #070e1b;
  --paper: #f3f1ec;
  --mist: #aeb9c8;
  --focus: #7fe0c2;
  --line: rgba(243, 241, 236, 0.16);
  --field-border: #6e7884;
  --error: #ffb4b4;

  --display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 20px; --s5: 32px; --s6: 52px; --s7: 84px; --s8: 136px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 124px; /* focused elements and #anchors land below the fixed header */
  transition: background-color 1.2s ease;
}
[hidden] { display: none !important; }
html.lights-down, html.lights-down body { background: var(--ink-deep); }
/* the body carries the navy too: a host that paints its own root background (an embed, the artifact viewer)
   would otherwise show through behind the fading hero photo */
body {
  margin: 0; min-height: 100%;
  background: var(--ink); transition: background-color 1.2s ease;
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a, button, summary, label[for], input[type="radio"], input[type="checkbox"], select { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--focus); }
a:active { opacity: 0.8; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 30;
  padding: var(--s3) var(--s4); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s3); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- photo stage, particle canvas, loupe ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-hero { object-position: 68% 42%; }
.stage::after {
  /* scrim for the hero copy: the left and lower parts fall into the page navy */
  content: ""; position: absolute; inset: 0;
  transition: opacity 1.2s ease;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.58) 42%, rgba(10, 22, 40, 0) 68%),
    linear-gradient(0deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0) 38%);
}
html.lights-down .stage::after { opacity: 0; }
html.motion .hero-copy, html.motion .stage { visibility: hidden; animation: hero-failsafe 0s linear 4s forwards; } /* motion.js reveals them once start states are set; the animation shows them anyway if motion.js never runs */
@keyframes hero-failsafe { to { visibility: visible; } }
.stage-watch {
  z-index: 1; /* above the hero scrim */
  left: 50%; width: 50%;
  object-position: 50% 45%;
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.loupe {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  clip-path: circle(var(--lr) at var(--lx, 50%) var(--ly, 50%));
  transition: --lr .35s var(--ease-out);
}

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--gutter) var(--s6);
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.97) 0%, rgba(10, 22, 40, 0.9) 50%, rgba(10, 22, 40, 0) 100%);
  pointer-events: none;
}
.top a, .top button { pointer-events: auto; }
.top-nav { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); }
.wordmark {
  color: var(--paper); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
/* the logo: letters follow currentColor, the point on the flag of the 1 is the one mint mark */
.logo { display: block; height: 1.45rem; width: auto; }
@media (max-width: 760px) { .logo { height: 1.3rem; } }
.logo-point { fill: var(--focus); }
.top-links { display: flex; gap: var(--s5); }
.top-links a {
  color: var(--mist); font-size: 0.9375rem; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.top-links a:hover, .top-links a[aria-current="page"] { color: var(--paper); }
/* language switch: the other language's code, its full name for screen readers */
.lang-switch { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; font-weight: 600; min-width: 44px; justify-content: center; }
.top-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--focus); }

.motion-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; min-width: 44px; padding: 0 var(--s3);
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--ink-raised); color: var(--mist);
  font: 500 0.875rem/1 var(--body);
}
.motion-toggle .icon { fill: currentColor; flex: none; }
.motion-toggle .icon-play { display: none; }
.motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }
.motion-toggle:hover { color: var(--paper); border-color: rgba(243, 241, 236, 0.32); }
.motion-toggle:active { transform: translateY(1px); }
.motion-toggle[aria-pressed="true"] { color: var(--paper); }
html.reduced .motion-toggle { display: none; }
html:not(.field-on) .motion-toggle { visibility: hidden; } /* no field running (no JS, or field.js failed): no dead control */

/* ---------- shared ---------- */
main { position: relative; }
main > *, .credits { position: relative; z-index: 3; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 var(--s5); border-radius: 10px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  transition: transform .3s var(--ease-out), background-color .3s ease;
}
.btn-primary { background: var(--focus); color: var(--ink); }
.btn-primary:hover { background: #a3ebd5; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline-color: var(--paper); }
.link-quiet, .link-cta {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--paper); text-decoration: none; position: relative;
}
.link-quiet::after, .link-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--line);
}
.link-cta::before {
  content: ""; position: absolute; left: 0; bottom: 8px; height: 1px; width: 100%; z-index: 1;
  background: var(--focus); transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--ease-out);
}
.link-cta:hover::before, .link-cta:focus-visible::before, .link-quiet:hover::after { transform: scaleX(1); background: var(--focus); }
.display { font-family: var(--display); font-variation-settings: "opsz" 96; letter-spacing: -0.035em; }
.w { display: inline-block; }
.c { display: inline-block; white-space: pre; }
/* split text keeps one readable copy for assistive tech; it must not double a selection or copy */
[data-split] > .sr-only, .mail > .sr-only { -webkit-user-select: none; user-select: none; }
.rule {
  position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line); transform-origin: left center;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: grid; align-content: end;
  padding: var(--s8) var(--gutter) var(--s7);
}
.hero-copy { max-width: min(44rem, 56vw); }
.hero-title {
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 700;
  font-size: clamp(2.6rem, 1.2rem + 5.2vw, 6.25rem); line-height: 0.98; letter-spacing: -0.04em;
  margin-bottom: var(--s3); max-width: 12ch; text-wrap: balance;
}
.hero-sub {
  font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 560;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--paper); margin-top: var(--s3); margin-bottom: var(--s4);
}
.hero-lede { max-width: 38ch; color: var(--paper); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: var(--s5); }

/* ---------- aanpak: four steps ---------- */
.aanpak-title {
  font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 620;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em;
  max-width: 22ch; padding: var(--s8) var(--gutter) var(--s6);
}
.flow { position: relative; padding: 0 var(--gutter) var(--s8); }
.anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.anchor-1 { top: 0; } .anchor-2 { top: 33%; } .anchor-3 { top: 66%; } .anchor-4 { top: 100%; }
.steps { display: grid; gap: var(--s7); }
.step { max-width: min(36rem, 52vw); }
.step-num { font-size: 0.9375rem; color: var(--paper); margin-bottom: var(--s4); font-variant-numeric: tabular-nums; }
.step-num .num { color: var(--focus); margin-right: var(--s2); }
.statement {
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 640;
  font-size: clamp(2rem, 1rem + 3.8vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 15ch;
}
.step-sub { margin-top: var(--s5); color: var(--mist); max-width: 40ch; }
.loupe-hint { margin-top: var(--s4); font-size: 0.875rem; color: var(--mist); }
.tasks { margin-top: var(--s5); display: grid; gap: var(--s1); }
.tasks li { padding: 6px 0 22px; font-size: 1rem; color: var(--paper); width: max-content; max-width: 100%; }
.tasks li[data-ai]::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--focus); margin-right: var(--s2); vertical-align: middle;
}
.flow-rail { display: none; }

html.motion .flow { height: 400vh; padding: 0; }
html.motion .anchor-1 { top: 17.5%; }
html.motion .anchor-2 { top: 39.5%; }
html.motion .anchor-3 { top: 59.5%; }
html.motion .anchor-4 { top: 79.5%; }
html.motion .flow-sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; align-items: center; padding: 0 var(--gutter);
}
html.motion .steps { gap: 0; }
html.motion .step { grid-area: 1 / 1; }
html.motion .tasks { position: absolute; left: 60%; top: 30%; margin: 0; }
html.motion .flow-rail {
  display: block; position: absolute; left: var(--gutter); top: 16svh;
  width: min(240px, 40vw); height: 1px; background: var(--line);
}
.flow-rail-fill { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left center; }
.flow-rail .tick { position: absolute; top: -3px; width: 1px; height: 7px; background: var(--mist); }
.flow-rail .tick:nth-of-type(1) { left: 0; } .flow-rail .tick:nth-of-type(2) { left: 33.3%; }
.flow-rail .tick:nth-of-type(3) { left: 66.6%; } .flow-rail .tick:nth-of-type(4) { left: calc(100% - 1px); }

/* ---------- reel ---------- */
.reel { padding: var(--s8) 0; }
.reel-head { padding: 0 var(--gutter) var(--s6); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); }
.reel-title {
  font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 620;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch;
}
.reel-note { color: var(--mist); font-size: 0.875rem; }
.reel-track { display: grid; gap: var(--s7); padding: 0 var(--gutter); }
.frame { position: relative; }
.frame-media { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: var(--ink-raised); }
.frame-media img { width: 100%; height: 100%; object-fit: cover; }
.frame-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.74) 38%, rgba(10, 22, 40, 0) 66%);
}
.bracket { position: absolute; z-index: 1; width: 34px; height: 34px; border: 0 solid var(--focus); }
.b-tl { top: 22px; left: 22px; border-top-width: 2px; border-left-width: 2px; transform-origin: top left; }
.b-tr { top: 22px; right: 22px; border-top-width: 2px; border-right-width: 2px; transform-origin: top right; }
.b-bl { bottom: 22px; left: 22px; border-bottom-width: 2px; border-left-width: 2px; transform-origin: bottom left; }
.b-br { bottom: 22px; right: 22px; border-bottom-width: 2px; border-right-width: 2px; transform-origin: bottom right; }
.frame figcaption {
  position: absolute; left: clamp(28px, 4vw, 64px); bottom: clamp(28px, 4vw, 60px); right: 28px; z-index: 2;
  display: grid; gap: var(--s2);
}
.frame-count { font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--paper); }
.frame-verb {
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 700;
  font-size: clamp(2.25rem, 1rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -0.04em;
}
.frame-line { font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); max-width: 34ch; }
@media (min-width: 1024px) {
  html.motion .reel {
    height: 100svh; padding: calc(var(--s7) + var(--s3)) 0 0; overflow: hidden;
    display: grid; grid-template-rows: auto minmax(0, 1fr);
  }
  html.motion .reel-head { padding-bottom: var(--s5); }
  html.motion .reel-track { display: flex; gap: 4vw; width: max-content; min-height: 0; padding-bottom: var(--s5); }
  html.motion .frame { width: 72vw; flex: none; }
  html.motion .frame-media { aspect-ratio: auto; height: 100%; max-height: 70svh; }
}

/* ---------- diensten ---------- */
.diensten {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5);
  padding: var(--s8) var(--gutter);
}
.diensten-title {
  grid-column: 2 / span 8; font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 620;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: var(--s7); max-width: 18ch;
}
.discipline { position: relative; padding-top: var(--s5); }
.discipline-software { grid-column: 2 / span 5; }
.discipline-advice { grid-column: 8 / span 4; margin-top: var(--s8); }
.discipline-title {
  font-family: var(--display); font-weight: 620; font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: var(--s4);
}
.discipline-text { color: var(--mist); max-width: 38ch; }
.deliverables { margin: var(--s5) 0 var(--s4); }
.deliverables li { padding: var(--s3) 0; border-top: 1px solid var(--line); }
.deliverables li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- spec sheet ---------- */
.spec {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5);
  padding: var(--s7) var(--gutter) var(--s8);
}
.spec-title {
  grid-column: 2 / span 3; font-family: var(--display); font-weight: 620;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.08; letter-spacing: -0.025em;
}
.spec-list { grid-column: 6 / span 6; }
.spec-row {
  display: grid; grid-template-columns: 10rem 1fr; gap: var(--s4);
  padding: var(--s4) 0; border-top: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--mist); }

/* ---------- voorbeelden ---------- */
.voorbeelden { background: var(--ink-raised); padding: var(--s8) var(--gutter); }
.voorbeelden-head { max-width: 44rem; margin: 0 0 var(--s7) calc(100% / 12); }
.vb-title {
  font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 620;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch;
}
.vb-intro { margin-top: var(--s4); color: var(--mist); }
.vb-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5);
  padding: var(--s5) 0; border-top: 1px solid var(--line);
}
.vb-row:last-child { border-bottom: 1px solid var(--line); }
.vb-num { grid-column: 1; color: var(--focus); font-variant-numeric: tabular-nums; font-size: 0.9375rem; padding-top: 0.4em; }
.vb-role {
  grid-column: 2 / span 4; font-family: var(--display); font-weight: 620;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); line-height: 1.12; letter-spacing: -0.02em;
}
.vb-kicker { display: block; font-family: var(--body); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0; color: var(--mist); margin-bottom: var(--s1); }
.vb-now { grid-column: 6 / span 3; color: var(--mist); }
.vb-after { grid-column: 9 / span 4; }
.vb-label { font-size: 0.875rem; color: var(--mist); margin-bottom: var(--s2); }
.vb-after .vb-label::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--focus); margin-right: var(--s2); vertical-align: middle;
}

/* ---------- een: one maker ---------- */
.een {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5);
  min-height: 100svh; align-content: center; padding: var(--s8) var(--gutter);
}
.een-copy { grid-column: 2 / span 6; }
.een-title {
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 680;
  font-size: clamp(2rem, 1rem + 3.4vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch;
}
.een-lede { margin-top: var(--s5); color: var(--mist); max-width: 40ch; }
.principles { grid-column: 2 / span 7; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s7); }
.principles li { border-top: 1px solid var(--line); padding-top: var(--s4); }
.principles h3 { font-family: var(--display); font-weight: 620; font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: var(--s2); }
.principles p { color: var(--mist); font-size: 1rem; }
.een-caption { grid-column: 2 / span 7; margin-top: var(--s6); font-size: 0.9375rem; color: var(--mist); }

/* ---------- contact band ---------- */
.contact { min-height: 90svh; display: grid; align-content: center; gap: var(--s6); padding: var(--s8) var(--gutter); overflow-x: clip; }
.contact-title {
  font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 620;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch;
}
.contact-lede { margin: var(--s4) 0 var(--s5); color: var(--mist); }
.mail {
  position: relative; justify-self: start;
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 700;
  font-size: clamp(2.5rem, 0.6rem + 8vw, 8.5rem); line-height: 1; letter-spacing: -0.045em;
  color: var(--paper); text-decoration: none; padding-bottom: var(--s3); overflow-wrap: anywhere;
}
.mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--focus);
  transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease-out);
}
.mail:hover::after, .mail:focus-visible::after { transform: scaleX(1); }

/* ---------- credits ---------- */
.credits { padding: var(--s8) var(--gutter) var(--s6); text-align: center; }
.credits-roll { display: grid; justify-items: center; gap: var(--s7); }
.credits-list { display: grid; gap: var(--s4); width: min(46rem, 100%); }
.credit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: baseline; }
.credit dt { text-align: right; color: var(--mist); font-size: 1rem; }
.credit dd { text-align: left; font-weight: 500; font-size: 1.125rem; }
.credits-next { display: grid; justify-items: center; gap: var(--s3); }
.credits-next-label { color: var(--mist); font-size: 1rem; }
.credits-next-title {
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 700;
  font-size: clamp(2.25rem, 1rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: var(--s4);
}
/* the studio ident after the credits, like the logo at the end of a film */
.credits-ident { display: grid; justify-items: center; gap: var(--s4); margin-top: var(--s8); }
.credits-ident-label { color: var(--mist); font-size: 1rem; }
.credits-ident img { width: min(15rem, 62vw); height: auto; }
.legal { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--mist); font-size: 0.9375rem; }
.credits-short { padding-top: 0; }
.credits-short .legal { margin-top: 0; }

/* ---------- document page (privacy) ---------- */
.doc-page {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5);
  padding: calc(var(--s8) + var(--s4)) var(--gutter) var(--s8);
}
.doc-date { margin-top: var(--s4); color: var(--mist); font-size: 0.9375rem; }
.doc-body { grid-column: 2 / span 6; display: grid; gap: var(--s6); }
.doc-body section { display: grid; gap: var(--s3); border-top: 1px solid var(--line); padding-top: var(--s4); }
.doc-body h2 { font-family: var(--display); font-weight: 620; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.015em; }
.doc-body p { max-width: 62ch; color: var(--paper); }
.doc-body a { color: var(--paper); }
.legal a[aria-current="page"] { text-decoration-color: var(--focus); }
@media (max-width: 1023px) { .doc-body { grid-column: 1 / span 9; } }
@media (max-width: 760px) { .doc-page { grid-template-columns: 1fr; } .doc-body { grid-column: 1; gap: var(--s5); } }

/* ---------- contact page ---------- */
.page-contact .stage { display: none; }
.contact-page {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5);
  padding: calc(var(--s8) + var(--s4)) var(--gutter) var(--s8);
}
.page-intro { grid-column: 2 / span 6; margin-bottom: var(--s6); }
.page-title {
  font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 680;
  font-size: clamp(2.25rem, 1rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch;
}
.page-lede { margin-top: var(--s5); color: var(--mist); max-width: 40ch; }
.page-lede a { color: var(--paper); }
.contact-form { grid-column: 2 / span 6; display: grid; gap: var(--s5); }
.next-steps { grid-column: 9 / span 3; align-self: start; position: sticky; top: var(--s8); }

/* ---------- contact chat: fixed questions, one at a time, no AI ---------- */
.chat { grid-column: 2 / span 6; display: grid; gap: var(--s4); min-width: 0; }
.chat-note { color: var(--mist); font-size: 0.9375rem; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.chat-log { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.msg { display: flex; max-width: min(34rem, 88%); }
.msg.bot { justify-self: start; }
.msg.you { justify-self: end; }
.msg-text, .msg-edit {
  display: block; padding: var(--s3) var(--s4); border-radius: 18px; font: inherit; font-size: 1rem; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere; text-align: left;
}
.msg.bot .msg-text { background: var(--ink-raised); color: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
/* the visitor's own answers: paper bubbles; a tap reopens that question */
.msg-edit { background: var(--paper); color: var(--ink); border: 0; border-bottom-right-radius: 6px; cursor: pointer; }
.msg-edit:hover { box-shadow: 0 0 0 2px var(--mist); }
.msg-new { animation: msg-in .28s var(--ease-out) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .msg-new { animation: none; } }
.mail-card { padding: var(--s4); border-radius: 14px; background: var(--ink-raised); border: 1px solid var(--line); display: grid; gap: var(--s2); width: 100%; }
.msg-mail { max-width: 100%; width: 100%; }
.mail-to { color: var(--mist); font-size: 0.875rem; }
.mail-subject { font-weight: 600; }
.mail-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--paper); font-size: 0.9375rem; }
.chat-input { display: grid; gap: var(--s3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  min-height: 44px; padding: var(--s2) var(--s4); border-radius: 999px; border: 1px solid var(--field-border);
  background: var(--ink-raised); color: var(--paper); font: 500 1rem/1.2 var(--body); cursor: pointer;
}
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--focus); }
.chip-skip { background: transparent; color: var(--mist); }
.chat-form { display: grid; gap: var(--s3); }
.chat-text { min-height: 140px; }
.chat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
.chat-restart { background: none; border: 0; padding: var(--s2) 0; font: inherit; color: var(--paper); cursor: pointer; }
.chat-hint { color: var(--mist); font-size: 0.875rem; }
@media (max-width: 1023px) { .chat { grid-column: 1 / span 7; } }
@media (max-width: 760px) { .chat { grid-column: 1; } .msg { max-width: 92%; } }

/* ---------- FAQ (homepage) ---------- */
.faq { padding: var(--s8) var(--gutter) var(--s7); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); }
.faq-head { grid-column: 1 / span 4; align-self: start; }
.faq-title { font-family: var(--display); font-variation-settings: "opsz" 72; font-weight: 620; font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.03em; }
.faq-intro { margin-top: var(--s4); color: var(--mist); max-width: 32ch; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: var(--s4) 0; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--mist); font-size: 1.5rem; line-height: 1; flex: none; display: inline-block; transition: transform .25s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-q { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.faq-a { padding: 0 0 var(--s4); max-width: 60ch; color: var(--paper); }
.faq-item summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
@media (max-width: 760px) {
  .faq { grid-template-columns: 1fr; padding-top: var(--s7); }
  .faq-head, .faq-list { grid-column: 1; }
  .faq-list { margin-top: var(--s5); }
}
.next-steps h2 { font-family: var(--display); font-weight: 620; font-size: 1.375rem; letter-spacing: -0.015em; margin-bottom: var(--s4); }
.next-steps ol { display: grid; gap: var(--s4); counter-reset: n; }
.next-steps li { counter-increment: n; border-top: 1px solid var(--line); padding-top: var(--s3); color: var(--mist); font-size: 1rem; }
.next-steps li::before { content: "0" counter(n); display: block; color: var(--focus); font-variant-numeric: tabular-nums; font-size: 0.875rem; margin-bottom: var(--s1); }

.field { display: grid; gap: var(--s2); border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { font-weight: 500; color: var(--paper); padding: 0; }
.field .hint { color: var(--mist); font-size: 0.9375rem; }
.optional { color: var(--mist); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: var(--s3) var(--s4);
  background: var(--ink-raised); color: var(--paper);
  border: 1px solid var(--field-border); border-radius: 8px;
  font: 400 1rem/1.5 var(--body);
}
.textarea { min-height: 180px; resize: vertical; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--mist); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--s6); }
.pills { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.pill {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4);
  border: 1px solid var(--field-border); border-radius: 999px; background: var(--ink-raised); color: var(--paper);
}
.pill:hover { border-color: var(--mist); }
.pill input { accent-color: var(--focus); width: 18px; height: 18px; margin: 0; }
.pill:has(input:checked) { border-color: var(--focus); }
.pill:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.counter { color: var(--mist); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.error-text { color: var(--error); font-size: 0.9375rem; }
.error-text:empty { display: none; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); }
.pill:has(input[aria-invalid="true"]) { border-color: var(--error); }
.error-summary { border: 1px solid var(--error); border-radius: 8px; padding: var(--s4); }
.error-summary h2 { font-size: 1.0625rem; font-weight: 600; color: var(--error); margin-bottom: var(--s2); }
.error-summary ul { display: grid; gap: var(--s1); }
.error-summary a { color: var(--paper); }
.form-actions { display: grid; gap: var(--s3); justify-items: start; }
.form-actions .btn { border: 0; }
.form-note { color: var(--mist); font-size: 0.9375rem; max-width: 46ch; }
.copy-panel { border: 1px solid var(--line); border-radius: 8px; padding: var(--s4); display: grid; gap: var(--s3); }
.copy-panel h2 { font-size: 1.0625rem; font-weight: 600; }
.copy-panel p { color: var(--mist); font-size: 0.9375rem; }
.btn-secondary { background: transparent; color: var(--paper); border: 1px solid var(--field-border); }
.btn-secondary:hover { border-color: var(--paper); }
.status { color: var(--focus); font-size: 0.9375rem; }
/* the live region stays rendered while empty, so its first message is announced */
.status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* hints that only make sense while the field runs */
html:not(.motion) .loupe-hint, html.paused .loupe-hint, html:not(.field-on) .loupe-hint,
html:not(.field-on) .een-caption { display: none; }

/* tablets (761 to 1023px): fewer, wider columns */
@media (min-width: 761px) and (max-width: 1023px) {
  .diensten-title, .spec-title, .spec-list, .een-copy, .principles, .een-caption { grid-column: 1 / -1; }
  .discipline-software { grid-column: 1 / span 6; }
  .discipline-advice { grid-column: 7 / span 6; margin-top: var(--s7); }
  .spec-title { margin-bottom: var(--s5); }
  .voorbeelden-head { margin-left: 0; }
  .vb-num { grid-column: 1; }
  .vb-role { grid-column: 2 / span 11; margin-bottom: var(--s3); }
  .vb-now { grid-column: 2 / span 5; }
  .vb-after { grid-column: 7 / span 6; }
  .page-intro, .contact-form { grid-column: 1 / span 7; }
  .next-steps { grid-column: 9 / span 4; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .top { padding: var(--s3) var(--gutter) var(--s5); }
  .wide-only { display: none; }
  .motion-toggle { padding: 0; }
  .motion-toggle .toggle-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stage-hero { object-position: 64% 35%; }
  html { scroll-padding-top: 96px; }
  .stage::after {
    background: linear-gradient(0deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.86) 45%, rgba(10, 22, 40, 0.7) 64%, rgba(10, 22, 40, 0) 88%);
  }
  .stage-watch { left: 0; width: 100%; top: 45%; height: 55%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .hero-copy { max-width: none; }
  .step { max-width: none; }
  html.motion .flow { height: 300vh; }
  /* anchors retuned for 300vh, so the field reaches each step when its text does */
  html.motion .anchor-1 { top: 13.33%; }
  html.motion .anchor-2 { top: 35.33%; }
  html.motion .anchor-3 { top: 55.33%; }
  html.motion .anchor-4 { top: 75.33%; }
  html.motion .flow-sticky { align-items: start; padding-top: max(88px, min(22svh, calc(100svh - 546px))); }
  html.motion .tasks { position: static; margin-top: var(--s4); }
  html.motion .flow-rail { top: 15svh; }
  .loupe-hint { display: none; }
  .reel-track { gap: var(--s6); }
  .frame-media { aspect-ratio: 4 / 5; }
  .frame-media::after { display: none; }
  .frame figcaption { position: static; padding-top: var(--s4); }
  .diensten, .spec, .een, .contact-page { grid-template-columns: 1fr; }
  .diensten-title, .discipline-software, .discipline-advice, .spec-title, .spec-list,
  .een-copy, .principles, .een-caption, .page-intro, .contact-form, .next-steps { grid-column: 1; }
  .discipline-advice { margin-top: var(--s6); }
  .spec-title { margin-bottom: var(--s5); }
  .spec-row { grid-template-columns: 1fr; gap: var(--s1); }
  .voorbeelden-head { margin-left: 0; }
  .vb-row { grid-template-columns: 2.25rem 1fr; row-gap: var(--s3); }
  .vb-num { grid-column: 1; }
  .vb-role, .vb-now, .vb-after { grid-column: 2; }
  .principles { grid-template-columns: 1fr; }
  .een { padding-bottom: 34svh; }
  .credit { grid-template-columns: 1fr; gap: 0; }
  .credit dt, .credit dd { text-align: center; }
  .next-steps { position: relative; margin-top: var(--s6); }
}
@media (max-width: 760px) and (max-height: 620px) {
  html.motion .statement { font-size: 1.75rem; }
  html.motion .step-sub { margin-top: var(--s3); }
  html.motion .tasks { margin-top: var(--s3); gap: 0; }
  html.motion .tasks li { padding: 3px 0 12px; }
}
@media (hover: none) { .loupe-hint { display: none; } }

/* ---------- without the motion layout (reduced motion, or GSAP missing): a calm document ---------- */
html:not(.motion) .stage, html:not(.motion) #field { position: absolute; height: 100svh; }
html:not(.motion) .stage-watch, html:not(.motion) .loupe { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; transition: none; }
  .btn, .link-cta::before, .mail::after, .loupe, .stage::after { transition: none; }
}
