/* ── Lettertypes (zelf gehost, OFL-licentie) ─────────────────────────────── */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #050608;
  --ink: #f4f5f7;
  --muted: #8b919b;
  --dim: #3a3e45;
  --blue: #3aa0ff;
  --red: #ff3b3b;
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--blue); color: #000; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #000; padding: 10px 14px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 14px; }

/* ── Laadscherm ──────────────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 300; background: #000; color: var(--ink);
  display: grid; place-items: center;
}
.no-js .loader, .loader.is-done { display: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-mark { width: 120px; height: 60px; color: var(--blue); overflow: visible; }
.loader-mark path { stroke-dasharray: 80; stroke-dashoffset: 80; }
.loader-word { font: 700 1.6rem/1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
.loader-count { position: absolute; right: var(--pad); bottom: var(--pad); font: 800 clamp(4rem, 14vw, 12rem)/0.8 var(--display); font-stretch: 125%; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ── Cursor ──────────────────────────────────────────────────────────────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none;
  transform: translate3d(-100px, -100px, 0); transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease);
  display: none;
}
.has-cursor .cursor { display: block; }
.cursor.is-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

/* ── Navigatie ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 24px;
  padding: 22px var(--pad); transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 15px; color: var(--blue); overflow: visible; }
.brand-word { font: 700 1.15rem/1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); }
.nav-links a { display: block; padding: 8px 16px; border-radius: 99px; text-decoration: none; font-size: 0.92rem; color: rgba(244, 245, 247, 0.8); transition: background 0.3s, color 0.3s; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.lang { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18);
  font: 600 0.78rem/1 var(--mono); letter-spacing: 0.06em; color: var(--ink); text-decoration: none; transition: background 0.3s, border-color 0.3s; }
.lang:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }
.nav-cta { padding: 11px 20px; border-radius: 99px; background: var(--ink); color: #000; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
@media (max-width: 760px) { .nav nav { display: none; } .lang { margin-left: auto; } }

/* ── Knoppen ─────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 24px; border-radius: 99px;
  background: var(--ink); color: #000; text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: background 0.4s var(--ease);
}
.pill i {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #000; color: var(--ink);
  font-style: normal; transition: transform 0.5s var(--ease), background 0.4s;
}
.pill:hover i { transform: rotate(-45deg); background: var(--blue); }
.pill-lg { font-size: clamp(1.05rem, 2vw, 1.4rem); padding-left: 30px; }
.pill-lg i { width: 52px; height: 52px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.signal { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.55), transparent 28%, transparent 55%, rgba(5, 6, 8, 0.9));
}
.no-webgl .hero { background: radial-gradient(60% 50% at 50% 60%, rgba(58, 160, 255, 0.25), transparent 70%), var(--bg); }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(28px, 5vh, 56px); }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font: 500 0.82rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 245, 247, 0.75); margin-bottom: clamp(14px, 2.4vh, 26px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: lightbar 1.2s steps(1) infinite; }
@keyframes lightbar { 0% { background: var(--red); box-shadow: 0 0 12px var(--red); } 50% { background: var(--blue); box-shadow: 0 0 12px var(--blue); } }
.hero-title {
  font: 800 clamp(3.2rem, 10.6vw, 11.5rem)/0.84 var(--display); font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -0.045em;
}
.hero-title .line { display: block; }
.hero-title em { font-size: 1.12em; line-height: 0.7; color: var(--blue); }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; margin-top: clamp(22px, 4vh, 44px); }
.hero-sub { max-width: 40ch; font-size: clamp(1rem, 1.4vw, 1.18rem); color: rgba(244, 245, 247, 0.78); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; top: 84px; width: 1px; height: 56px; background: rgba(255, 255, 255, 0.15); overflow: hidden; display: none; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ── Lichtkrant ──────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; padding: clamp(28px, 5vw, 64px) 0; border-block: 1px solid rgba(255, 255, 255, 0.08); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee span {
  font: 800 clamp(3rem, 9vw, 8.5rem)/1 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.04em;
  padding: 0 0.28em; white-space: nowrap;
}
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 245, 247, 0.7); }
.marquee b { font-size: clamp(1.4rem, 3vw, 2.6rem); color: var(--blue); font-weight: 400; }
.marquee b:nth-of-type(even) { color: var(--red); }

/* ── Statement ───────────────────────────────────────────────────────────── */
.statement { padding: clamp(110px, 18vw, 240px) var(--pad); }
.statement-text {
  max-width: 22ch; font: 600 clamp(2rem, 5.4vw, 5.6rem)/1.02 var(--display); font-stretch: 105%; letter-spacing: -0.035em;
}
.statement-text em { color: var(--blue); }

/* ── Het kastje (vastgezet tijdens scrollen) ─────────────────────────────── */
.product { position: relative; height: 320vh; }
.product-pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: radial-gradient(55% 55% at 50% 52%, #10141b 0%, var(--bg) 70%);
}
.device-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.device-canvas.is-dragging { cursor: grabbing; }
.product-copy { position: absolute; left: var(--pad); top: clamp(92px, 14vh, 140px); z-index: 2; pointer-events: none; }
.product-kicker { font: 500 0.82rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.product-title { font: 800 clamp(2.4rem, 6vw, 6rem)/0.9 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.045em; }
.product-title em { color: var(--blue); font-size: 1.1em; }
.product-points { position: absolute; left: var(--pad); bottom: clamp(56px, 12vh, 120px); z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; pointer-events: none; }
.product-points li { display: flex; align-items: baseline; gap: 14px; font: 600 clamp(1.1rem, 2vw, 1.6rem)/1.1 var(--display); font-stretch: 110%; letter-spacing: -0.02em; }
.product-points span { font: 500 0.78rem/1 var(--mono); color: var(--muted); }
.drag-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; font: 500 0.78rem/1 var(--mono); color: var(--muted); pointer-events: none; transition: opacity 0.6s; white-space: nowrap; }
.drag-hint.is-gone { opacity: 0; }
.no-webgl .device-canvas, .no-webgl .drag-hint { display: none; }
@media (max-width: 760px) {
  .product-points { bottom: 64px; }
}

/* ── Waarden ─────────────────────────────────────────────────────────────── */
.values { padding: clamp(80px, 12vw, 180px) var(--pad); display: grid; gap: clamp(36px, 6vw, 80px); }
.value { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); align-items: end; gap: 12px 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: clamp(16px, 2vw, 28px); }
.value-word {
  font: 800 clamp(4rem, 17vw, 17rem)/1 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.055em;
  color: var(--ink); margin-bottom: -0.12em; transition: color 0.6s var(--ease);
}
.value-word span { color: var(--red); }
.value:hover .value-word { color: var(--blue); }
.value p { max-width: 32ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); padding-bottom: 1.2em; }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; } .value p { padding-bottom: 0; } }

/* ── Slot ────────────────────────────────────────────────────────────────── */
.finale { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(120px, 16vh, 180px) var(--pad) 0; }
.lights { position: absolute; inset: 0; pointer-events: none; }
.lights span { position: absolute; top: 18%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(90px); opacity: 0; }
.light-blue { left: -12vw; background: rgba(58, 160, 255, 0.55); animation: flash-a 1.4s steps(1) infinite; }
.light-red { right: -12vw; background: rgba(255, 59, 59, 0.5); animation: flash-b 1.4s steps(1) infinite; }
@keyframes flash-a { 0%, 20% { opacity: 0.9; } 21%, 100% { opacity: 0.12; } }
@keyframes flash-b { 0%, 49% { opacity: 0.1; } 50%, 70% { opacity: 0.85; } 71%, 100% { opacity: 0.1; } }
.finale-content { position: relative; z-index: 2; max-width: 980px; }
.finale-title { font: 800 clamp(3rem, 9vw, 9rem)/0.86 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.045em; }
.finale-title em { color: var(--ink); font-size: 1.08em; }
.finale-content p { margin: 26px 0 34px; max-width: 42ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(244, 245, 247, 0.8); }
.wordmark {
  position: relative; z-index: 1; margin-top: clamp(60px, 10vh, 120px); align-self: center;
  font: 800 14.6vw/0.72 var(--display); font-stretch: 125%; letter-spacing: -0.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244, 245, 247, 0.22); transform: translateY(18%);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 26px var(--pad) 34px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.85rem; color: var(--muted); }

/* ── Minder beweging ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  body.is-loading { overflow: auto; }
  .pulse-dot, .lights span, .scroll-cue span { animation: none; }
  .lights span { opacity: 0.35; }
  .product { height: auto; }
  .product-pin { position: relative; }
}
