/* =========================================================
   Little Bird Studio's: donker thema, wit op zwart
   ========================================================= */

:root {
  --bg: #050505;
  --bg-2: #0c0c0c;
  --bg-3: #141414;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f4f4f2;
  --text-2: #a9a9a6;
  --text-3: #6d6d6a;
  --white: #ffffff;

  --font-sans: "Inter", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;

  --max: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 96px;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtiele korrel over de hele pagina */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .035;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--white); color: var(--bg); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--white); color: var(--bg); padding: 10px 14px; text-decoration: none; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Scrollbalk ---------- */

html { color-scheme: dark; }
::-webkit-scrollbar { width: 14px; height: 14px; background: var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { min-height: 60px; border: 4px solid transparent; border-radius: 100px; background: rgba(255,255,255,.22) content-box; }
::-webkit-scrollbar-thumb:hover { border-width: 3px; background: rgba(255,255,255,.5) content-box; }
::-webkit-scrollbar-thumb:active { border-width: 3px; background: var(--white) content-box; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
/* Firefox kent de regels hierboven niet */
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; } }

/* ---------- Typografie ---------- */

h1, h2, h3, h4 { color: var(--white); line-height: 1.05; letter-spacing: -0.03em; font-weight: 650; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7.6vw, 6.4rem); letter-spacing: -0.05em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.04em; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--text-2); max-width: 38em; line-height: 1.6; }
.muted { color: var(--text-3); }
.dim { color: var(--text-3); }
.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }

.gradient-text {
  background: linear-gradient(180deg, #fff 0%, #fff 40%, #7a7a78 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outline-text { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }

/* ---------- Knoppen ---------- */

.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; min-height: 52px;
  font: 600 .95rem/1 var(--font-sans); letter-spacing: -.01em;
  text-decoration: none; border-radius: 100px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--white);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), border-color .3s, color .3s, background .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--white); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--bg); border-color: var(--white); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--white); color: var(--bg); border-color: var(--white); }
.btn-primary::before { background: #d9d9d6; }

.btn-small { min-height: 42px; padding: 10px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.btn .meta { font: 400 .74rem/1 var(--font-mono); opacity: .6; letter-spacing: 0; }

.text-link { font-weight: 600; text-decoration: none; position: relative; padding-bottom: 3px; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .4s var(--ease); }
.text-link:hover::after { transform: scaleX(0); }

kbd {
  font-family: var(--font-mono); font-size: .72rem; line-height: 1;
  padding: 4px 6px; border-radius: 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px;
  color: var(--text-2); background: var(--bg-3);
}

/* ---------- Scrollvoortgang ---------- */

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--header-h);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity .4s;
}
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header { border-bottom-color: transparent; }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; position: relative; z-index: 2; }
.brand img { height: 68px; width: auto; transition: opacity .3s; }
.brand:hover img { opacity: .8; }

.header-actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }

.header-links { display: flex; gap: 4px; margin-right: 10px; }
.header-links a {
  font-size: .9rem; font-weight: 500; color: var(--text-2); text-decoration: none;
  padding: 8px 12px; border-radius: 100px; transition: color .25s, background .25s;
}
.header-links a:hover, .header-links a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.07); }
.menu-open .header-links { opacity: 0; pointer-events: none; }

.cmd-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 12px 0 14px; border-radius: 100px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  color: var(--text-2); cursor: pointer; font-size: .85rem;
  transition: border-color .25s, color .25s, background .25s;
}
.cmd-btn:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.cmd-btn svg { width: 15px; height: 15px; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 8px 0 18px; border-radius: 100px;
  background: var(--white); color: var(--bg); border: 0; cursor: pointer;
  font-weight: 600; font-size: .9rem;
}
.menu-btn .label { position: relative; overflow: hidden; height: 1.2em; display: inline-block; }
.menu-btn .label span { display: block; transition: transform .5s var(--ease); line-height: 1.2; }
.menu-btn .label span + span { position: absolute; top: 100%; left: 0; }
.menu-open .menu-btn .label span { transform: translateY(-100%); }
.menu-btn .icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg);
  display: grid; place-items: center; position: relative;
}
.menu-btn .icon i {
  position: absolute; width: 12px; height: 1.5px; background: var(--white); border-radius: 2px;
  transition: transform .5s var(--ease);
}
.menu-btn .icon i:first-child { transform: translateY(-3px); }
.menu-btn .icon i:last-child { transform: translateY(3px); }
.menu-open .menu-btn .icon i:first-child { transform: rotate(45deg); }
.menu-open .menu-btn .icon i:last-child { transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */

.menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--bg);
  clip-path: circle(0px at var(--mx, calc(100% - 60px)) var(--my, 40px));
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
  visibility: hidden;
  overflow-y: auto;
}
.menu-open .menu { clip-path: circle(150% at var(--mx, calc(100% - 60px)) var(--my, 40px)); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s 0s; }

.menu-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 75%);
}

.menu-inner {
  position: relative; min-height: 100%;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 6vw;
  padding: calc(var(--header-h) + 4vh) var(--pad) 40px;
  max-width: 1480px; margin: 0 auto;
}

.menu-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-nav li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu-nav li:first-child { border-top: 1px solid var(--line); }
.menu-nav a {
  display: flex; align-items: baseline; gap: 22px;
  padding: clamp(8px, 1.4vh, 16px) 0;
  text-decoration: none; color: var(--text-3);
  font-size: clamp(1.7rem, min(5.2vw, 6.6vh), 4.4rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1.1;
  transform: translateY(105%); transition: transform .9s var(--ease), color .3s;
}
.menu-open .menu-nav a { transform: none; }
.menu-open .menu-nav li:nth-child(1) a { transition-delay: .25s, 0s; }
.menu-open .menu-nav li:nth-child(2) a { transition-delay: .3s, 0s; }
.menu-open .menu-nav li:nth-child(3) a { transition-delay: .35s, 0s; }
.menu-open .menu-nav li:nth-child(4) a { transition-delay: .4s, 0s; }
.menu-open .menu-nav li:nth-child(5) a { transition-delay: .45s, 0s; }
.menu-open .menu-nav li:nth-child(6) a { transition-delay: .5s, 0s; }
.menu-open .menu-nav li:nth-child(7) a { transition-delay: .55s, 0s; }
.menu-nav a .idx { font: 400 .8rem/1 var(--font-mono); letter-spacing: .05em; color: var(--text-3); min-width: 28px; transform: translateY(-1.2em); }
.menu-nav a .tag { margin-left: auto; font: 400 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); align-self: center; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease); }
.menu-nav a:hover, .menu-nav a:focus-visible, .menu-nav a[aria-current="page"] { color: var(--white); }
.menu-nav a:hover .tag, .menu-nav a:focus-visible .tag { opacity: 1; transform: none; }
.menu-nav a[aria-current="page"] .idx::after { content: " ●"; color: var(--white); }

.menu-side { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; opacity: 0; transform: translateY(20px); transition: opacity .6s .45s, transform .8s .45s var(--ease); }
.menu-open .menu-side { opacity: 1; transform: none; }
.menu-closing .menu-side, .menu-closing .menu-nav a { transition-delay: 0s !important; }

.menu-preview {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
}
.menu-preview figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .5s, transform .9s var(--ease); }
.menu-preview figure.active { opacity: 1; transform: none; }
.menu-preview img { width: 100%; height: 100%; object-fit: cover; }
.menu-preview figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: .92rem; color: var(--text);
}
.menu-preview figcaption b { display: block; font: 400 .72rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-bottom: 2px; }
.menu-preview .preview-blank { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1c1c1c, var(--bg-2)); }
.menu-preview .preview-blank img { width: 60%; height: auto; object-fit: contain; opacity: .9; }

.menu-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; font-size: .92rem; }
.menu-meta h4 { font: 400 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
.menu-meta a { color: var(--text); text-decoration: none; }
.menu-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu-meta p { margin: 0; color: var(--text-2); }
.clock { font-family: var(--font-mono); color: var(--white); font-size: 1.05rem; }
.menu-hint { font-size: .85rem; color: var(--text-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Command palette ---------- */

.cmdk {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 12vh 16px 16px;
}
.cmdk.open { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.cmdk-box {
  max-width: 620px; margin: 0 auto;
  background: rgba(18,18,18,.96); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04) inset;
  overflow: hidden; animation: pop .25s var(--ease);
}
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.cmdk-input-row { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.cmdk-input-row svg { width: 18px; height: 18px; color: var(--text-3); flex: none; }
.cmdk-input { flex: 1; height: 60px; border: 0; outline: 0; background: transparent; color: var(--white); font: 400 1.05rem var(--font-sans); }
.cmdk-input::placeholder { color: var(--text-3); }
.cmdk-list { list-style: none; margin: 0; padding: 8px; max-height: min(420px, 55vh); overflow-y: auto; }
.cmdk-group { font: 400 .7rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 12px 12px 8px; }
.cmdk-item {
  display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px;
  cursor: pointer; color: var(--text-2);
}
.cmdk-item .ico { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; flex: none; font-family: var(--font-mono); font-size: .8rem; color: var(--text-2); }
.cmdk-item .t { color: var(--text); }
.cmdk-item .d { font-size: .82rem; color: var(--text-3); margin-left: auto; text-align: right; }
.cmdk-item[aria-selected="true"] { background: rgba(255,255,255,.08); }
.cmdk-item[aria-selected="true"] .ico { border-color: var(--line-strong); color: var(--white); }
.cmdk-empty { padding: 28px; text-align: center; color: var(--text-3); }
.cmdk-foot { display: flex; gap: 16px; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--text-3); }
.cmdk-foot span { display: inline-flex; gap: 6px; align-items: center; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--white); color: var(--bg); padding: 12px 18px; border-radius: 100px;
  font-weight: 600; font-size: .9rem; transition: opacity .3s, transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Cursor (alleen met muis) ---------- */

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--white); mix-blend-mode: difference; }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(255,255,255,.5); transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: transparent; border-color: rgba(255,255,255,.7); }

/* ---------- Secties ---------- */

main { position: relative; }
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section.tight { padding: clamp(56px, 8vw, 100px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 11em; }
.hero .lead { margin-top: 8px; }

.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 1;
}
.hero-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 400 .76rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 34px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--white); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border: 1px solid var(--line-strong); border-radius: 100px;
  font: 400 .78rem/1 var(--font-mono); color: var(--text-2); background: rgba(255,255,255,.03); margin-bottom: 28px;
}
.status-pill .live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* Typende regel */
.typer { font-family: var(--font-mono); color: var(--text-2); font-size: clamp(.85rem, 1.2vw, 1rem); margin-top: 26px; min-height: 1.6em; }
.typer .prompt { color: var(--text-3); }
.typer .caret { display: inline-block; width: .55em; height: 1.1em; background: var(--white); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Marquee ---------- */

.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 400 .9rem/1 var(--font-mono); letter-spacing: .04em; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--text-3); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Diensten ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2); overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,.09), transparent 45%);
}
.service:hover { border-color: var(--line-strong); }
.service:hover::before { opacity: 1; }
.service .num { font: 400 .78rem/1 var(--font-mono); color: var(--text-3); display: flex; justify-content: space-between; margin-bottom: 64px; }
.service .num svg { width: 22px; height: 22px; color: var(--text-2); }
.service p { color: var(--text-2); margin: 0; }

/* ---------- Werk / projectkaarten ---------- */

.work { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.work-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); background: var(--bg-2);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), border-color .4s;
  will-change: transform;
}
.work-card:hover { border-color: var(--line-strong); }
.work-card.span-4 { grid-column: span 4; }
.work-card.span-2 { grid-column: span 2; }
.work-card.span-3 { grid-column: span 3; }
.work-card.span-6 { grid-column: span 6; }
.work-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.work-card.span-2 .work-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.045); }
.work-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 24px 26px 26px; }
.work-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0 0 6px; }
.work-body p { color: var(--text-2); margin: 0; font-size: .96rem; max-width: 34em; }
.work-go {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease);
}
.work-card:hover .work-go { background: var(--white); color: var(--bg); transform: rotate(-45deg); }
.work-tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  font: 400 .7rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: 100px; padding: 7px 11px; color: var(--white);
}

.covers-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; height: 100%; align-items: center; background: radial-gradient(circle at 50% 0%, #1b1b1b, #070707); }
.covers-strip img { width: 100%; height: auto; aspect-ratio: 900 / 1278; object-fit: cover; border-radius: 6px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.8); transform: translateY(10px); filter: brightness(.78); transition: transform .6s var(--ease), filter .4s, box-shadow .6s; }
.covers-strip img:hover { transform: translateY(-12px) scale(1.04); filter: none; box-shadow: 0 28px 40px -14px rgba(0,0,0,.9); }
.covers-strip.grid6 { grid-template-columns: repeat(3, auto); grid-template-rows: 1fr 1fr; justify-content: center; align-items: center; gap: 14px 16px; padding: 22px 18px 30px; height: 100%; }
.covers-strip.grid6 img { height: 100%; width: auto; min-height: 0; }

.work-media.brand-card {
  display: grid; place-items: center; aspect-ratio: 21 / 8;
  background:
    radial-gradient(ellipse at 20% 120%, rgba(255,140,30,.22), transparent 55%),
    radial-gradient(ellipse at 90% -20%, rgba(255,255,255,.08), transparent 50%),
    linear-gradient(180deg, #0d0d0d, #060606);
}
.brand-card .route-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.brand-card .route-bg path { stroke-dasharray: 6 8; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.brand-card img { position: relative; width: min(56%, 520px); height: auto; object-fit: contain; transition: transform 1s var(--ease); }
.work-card:hover .brand-card img { transform: scale(1.035); }
.work-card.span-3 .work-media.brand-card { aspect-ratio: 16 / 10; }
.values.four { grid-template-columns: repeat(4, 1fr); }

/* ---------- Statistieken ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px 30px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 650; letter-spacing: -0.05em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 10px; font-size: .9rem; color: var(--text-2); }

/* ---------- Projectpagina ---------- */

.project-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 120px)) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.project-hero .crumbs { font: 400 .78rem/1 var(--font-mono); color: var(--text-3); letter-spacing: .06em; margin-bottom: 28px; display: flex; gap: 10px; }
.project-hero .crumbs a { color: var(--text-2); text-decoration: none; }
.project-hero .crumbs a:hover { color: var(--white); }
.project-hero h1 { font-size: clamp(3.2rem, 10vw, 8.5rem); line-height: .95; margin-bottom: 28px; }
.project-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }

.meta-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.meta-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.meta-list div:nth-child(odd) { padding-right: 16px; }
.meta-list dt { font: 400 .7rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.meta-list dd { margin: 0; color: var(--text); font-size: .96rem; }

.showcase { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.showcase img { width: 100%; height: auto; }

.browser-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: #1a1a1a; box-shadow: 0 60px 120px -40px rgba(0,0,0,.9); }
.browser-frame .bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #161616; border-bottom: 1px solid var(--line); }
.browser-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.browser-frame .bar span { margin-left: 12px; font: 400 .74rem/1 var(--font-mono); color: var(--text-3); background: #0d0d0d; padding: 6px 12px; border-radius: 6px; flex: 1; max-width: 360px; }
.browser-frame img { width: 100%; height: auto; display: block; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.split.center { align-items: center; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

.feature-list { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.feature-list li { counter-increment: f; display: grid; grid-template-columns: 56px 1fr; gap: 6px 10px; padding: 26px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before { content: counter(f, decimal-leading-zero); font: 400 .8rem/1.9 var(--font-mono); color: var(--text-3); grid-row: span 2; }
.feature-list h3 { margin: 0; font-size: 1.15rem; }
.feature-list p { margin: 0; color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .88rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--text-2); background: var(--bg-2); transition: border-color .3s, color .3s; }
.chips li:hover { border-color: var(--line-strong); color: var(--white); }
.chips.mono li { font-family: var(--font-mono); font-size: .78rem; }

/* Galerij (horizontaal scrollen) */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 760px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 18px; margin: 0 calc(-1 * var(--pad)); cursor: grab; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); user-select: none; -webkit-user-drag: none; }
.gallery figcaption { margin-top: 12px; font-size: .9rem; color: var(--text-2); }
.gallery figcaption b { font: 400 .72rem/1 var(--font-mono); color: var(--text-3); margin-right: 8px; }

/* Covers (Mapesu) */
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); perspective: 1400px; }
.covers.six { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px) clamp(12px, 2.4vw, 32px); max-width: 1000px; margin: 0 auto; }
.cover {
  --rx: 0deg; --ry: 0deg; --lift: 28px;
  margin: 0; position: relative; cursor: zoom-in;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--ease);
}
.cover img { filter: brightness(.72) saturate(.9); transition: filter .5s, box-shadow .7s var(--ease); }
.cover:hover, .cover:focus-visible { --lift: -14px; z-index: 1; }
.cover:hover img, .cover:focus-visible img { filter: none; box-shadow: 0 50px 80px -24px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.1); }
.cover figcaption { transition: color .4s, transform .7s var(--ease); }
.cover:hover figcaption { color: var(--white); }
.cover img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.cover::after { content: ""; position: absolute; inset: 0; border-radius: 10px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, transparent 35%); opacity: 0; transition: opacity .4s; }
.cover:hover::after { opacity: 1; }
.cover figcaption { margin-top: 14px; font: 400 .74rem/1.4 var(--font-mono); letter-spacing: .06em; color: var(--text-3); text-transform: uppercase; }

/* Downloadkaarten */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.downloads.two { grid-template-columns: repeat(2, 1fr); }
.dl {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  text-decoration: none; overflow: hidden; transition: border-color .3s, transform .5s var(--ease);
}
.dl:hover { border-color: var(--white); transform: translateY(-4px); }
.dl .os { display: flex; justify-content: space-between; align-items: center; font: 400 .74rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.dl .os svg { width: 26px; height: 26px; color: var(--white); }
.dl h3 { margin: 18px 0 0; font-size: 1.5rem; }
.dl p { margin: 0; color: var(--text-2); font-size: .94rem; }
.dl .file { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font: 400 .78rem/1.4 var(--font-mono); color: var(--text-3); }
.dl .file b { color: var(--white); font-weight: 400; }
.dl.featured { background: var(--white); color: var(--bg); border-color: var(--white); }
.dl.featured h3 { color: var(--bg); }
.dl.featured p, .dl.featured .os, .dl.featured .file { color: #555; }
.dl.featured .os svg, .dl.featured .file b { color: var(--bg); }
.dl.featured .file { border-color: rgba(0,0,0,.12); }

.note { padding: 22px 24px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--text-2); font-size: .94rem; }
.note strong { color: var(--white); }

/* Workflow-stappen (LineWise) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 0; position: relative; counter-reset: s; }
.steps::after { content: ""; position: absolute; top: calc(50% + 0px); left: 20px; right: 20px; height: 0; }
.steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px; display: none; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step { position: relative; padding-right: 16px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); font: 400 .82rem/1 var(--font-mono); color: var(--white); margin-bottom: 18px; position: relative; transition: background .3s, color .3s; }
.step:hover::before { background: var(--white); color: var(--bg); }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--text-2); margin: 0; }

/* Tijdlijn */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 44px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--white); background: var(--bg); }
.timeline li.now::before { background: var(--white); box-shadow: 0 0 0 6px rgba(255,255,255,.1); }
.timeline .year { font: 400 .82rem/1 var(--font-mono); color: var(--text-3); display: block; margin-bottom: 10px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--text-2); margin: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.value .num { font: 400 .78rem/1 var(--font-mono); color: var(--text-3); display: block; margin-bottom: 44px; }
.value p { color: var(--text-2); margin: 0; }

/* Pagina-kop */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 130px)) 0 clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 7rem); max-width: 12em; }

/* Contact */
.contact-mail {
  display: inline-block; font-size: clamp(1.8rem, 6.4vw, 5.6rem); font-weight: 650; letter-spacing: -0.05em; line-height: 1.05;
  text-decoration: none; color: var(--white); word-break: break-word; position: relative;
}
.contact-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: 2px; background: var(--white); transform-origin: left; transition: transform .6s var(--ease); }
.contact-mail:hover::after { transform: scaleX(.3); }
.copy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* CTA */
.cta { position: relative; padding: clamp(100px, 14vw, 190px) 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(2.6rem, 8vw, 7rem); max-width: 11em; margin: 0 auto .4em; line-height: .98; }
.cta p { color: var(--text-2); max-width: 34em; margin: 0 auto; }
.cta .btn-row { justify-content: center; }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%); pointer-events: none; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 80px 0 32px; font-size: .93rem; color: var(--text-2); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo img { height: 92px; width: auto; margin-bottom: 18px; }
.site-footer h4 { font: 400 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 8px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--text); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-word {
  margin-top: 64px; font-size: clamp(3rem, 15vw, 15rem); font-weight: 700; letter-spacing: -0.06em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; user-select: none;
}
.footer-word { background: radial-gradient(340px circle at var(--fx, -600px) var(--fy, 50%), rgba(255,255,255,.95), rgba(255,255,255,0) 65%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 .78rem/1.4 var(--font-mono); color: var(--text-3); }
.footer-bottom button { background: none; border: 0; color: var(--text-3); font: inherit; cursor: pointer; padding: 0; }
.footer-bottom button:hover { color: var(--white); }

/* ---------- Lightbox ---------- */

.lightbox { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; background: rgba(0,0,0,.92); padding: 4vh 4vw; cursor: zoom-out; }
.lightbox.open { display: grid; animation: fade .25s ease; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.8); animation: pop .35s var(--ease); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0,0,0,.5); color: var(--white); font-size: 1.3rem; cursor: pointer; }

/* ---------- Animaties bij scrollen ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .65s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .05s; } .reveal.d2 { transition-delay: .1s; } .reveal.d3 { transition-delay: .15s; } .reveal.d4 { transition-delay: .2s; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .02em .22em; margin: -.02em -.02em -.22em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .65s var(--ease); transition-delay: calc(var(--i) * 28ms + 30ms); }
.split-words.visible .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .brand-card .route-bg path { animation: none; }
  html { scroll-behavior: auto; }
  .reveal, .split-words .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .scroll-cue i::after, .typer .caret, .status-pill .live { animation: none !important; }
  .menu, .menu-nav a, .menu-side { transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .header-links { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .steps::before { display: none; }
}

@media (max-width: 960px) {
  .services, .values, .values.four, .downloads, .downloads.two { grid-template-columns: 1fr; }
  .work-media.brand-card { aspect-ratio: 16 / 10; }
  .brand-card img { width: 70%; }
  .work { grid-template-columns: 1fr; }
  .work-card.span-4, .work-card.span-2, .work-card.span-3, .work-card.span-6 { grid-column: auto; }
  .work-card.span-2 .work-media { min-height: 0; aspect-ratio: 16 / 10; }
  .split, .project-hero-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .menu-inner { grid-template-columns: 1fr; gap: 36px; }
  .menu-preview { display: none; }
  .covers, .covers.six { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .brand img { height: 52px; }
  .cmd-btn .cmd-label, .cmd-btn kbd { display: none; }
  .cmd-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-btn { padding-left: 14px; }
  .hero-bottom .container > :last-child { display: none; }
  .meta-list { grid-template-columns: 1fr; }
  .meta-list div:nth-child(odd) { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu-meta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 86vw; }

}


/* ---------- Zachte overgang tussen pagina's ---------- */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .28s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Licht dat met de muis meegaat ---------- */

.value, .dl { position: relative; overflow: hidden; }
.value::after, .work-card::after, .dl:not(.featured)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; border-radius: inherit;
  background: radial-gradient(360px circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,.08), transparent 60%);
}
.value:hover::after, .work-card:hover::after, .dl:not(.featured):hover::after { opacity: 1; }
.value { transition: border-color .35s; }
.value:hover { border-color: var(--line-strong); }

/* ---------- Werkwijze: lijn die meeloopt ---------- */

.flow { position: relative; padding-top: 34px; }
.flow::before, .flow::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--line); }
.flow::after { background: linear-gradient(90deg, rgba(255,255,255,.25), #fff); transform: scaleX(var(--p, 0)); transform-origin: left; }
.flow .value { opacity: .55; transition: opacity .4s, border-color .4s; }
.flow .value.on { opacity: 1; border-color: var(--line-strong); }
html:not(.js) .flow .value { opacity: 1; }

/* ---------- Interactieve omleidingskaart ---------- */

.route-section { background: radial-gradient(ellipse 60% 60% at 20% 60%, rgba(255,140,30,.07), transparent 65%); }
.route-toy { display: grid; grid-template-columns: 1fr 270px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.route-toy svg { width: 100%; height: auto; display: block; background: #0a0b0d; touch-action: manipulation; }
.rt-road { stroke: #2a2d33; stroke-width: 15; stroke-linecap: round; }
.rt-normal { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 2.5; stroke-dasharray: 5 7; opacity: 0; transition: opacity .3s; }
.detour .rt-normal { opacity: 1; }
.rt-route { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.detour .rt-route { stroke: #ff8c1e; filter: drop-shadow(0 0 7px rgba(255,140,30,.55)); }
.rt-edge { cursor: pointer; outline: none; }
.rt-hit { stroke: transparent; stroke-width: 34; }
.rt-mark { stroke: transparent; stroke-width: 15; stroke-linecap: round; pointer-events: none; transition: stroke .2s; }
.rt-edge:hover .rt-mark { stroke: rgba(255,255,255,.16); }
.rt-edge:focus-visible .rt-mark { stroke: rgba(255,255,255,.42); }
.rt-edge.closed .rt-mark { stroke: #e03131; stroke-width: 5; stroke-dasharray: 3 10; }
.rt-sign { pointer-events: none; opacity: 0; transition: opacity .2s; }
.rt-sign circle { fill: #e03131; stroke: #0a0b0d; stroke-width: 3; }
.rt-sign rect { fill: #fff; }
.rt-edge.closed .rt-sign { opacity: 1; }
.rt-stop { pointer-events: none; }
.rt-stop circle { fill: #0a0b0d; stroke: #fff; stroke-width: 3; }
.rt-stop text { fill: #fff; font: 700 15px var(--font-sans); }
.rt-bus { pointer-events: none; }
.rt-bus rect { fill: #fff; stroke: #0a0b0d; stroke-width: 2; }
.detour .rt-bus rect:first-child { fill: #ff8c1e; }
.rt-bus .rt-window { fill: #0a0b0d; stroke: none; }
.route-panel { padding: 28px; display: flex; flex-direction: column; gap: 20px; border-left: 1px solid var(--line); }
.route-state { margin: 0; min-height: 3.2em; font-size: 1.1rem; font-weight: 600; line-height: 1.4; color: var(--white); }
.no-route .route-state { color: #ff8787; }
.route-panel dl { margin: 0; display: grid; gap: 14px; }
.route-panel dt { font: 400 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.route-panel dd { margin: 0; font-size: 2rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.route-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.route-panel .text-link { align-self: flex-start; font-size: .92rem; }
@media (max-width: 860px) {
  .route-toy { grid-template-columns: 1fr; }
  .route-panel { border-left: 0; border-top: 1px solid var(--line); padding: 22px; }
  .route-state { min-height: 0; }
  .route-panel dl { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Music Party Hub ---------- */

.covers-strip.row6 { grid-template-columns: repeat(6, 1fr); gap: 16px; padding: 56px 28px 30px; }
.work-media.hub-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: radial-gradient(ellipse at 50% 35%, rgba(255,72,120,.34), transparent 62%), linear-gradient(160deg, #221733, #100d1b 70%); }
.work-media.hub-card img { width: 34%; max-width: 168px; height: auto; border-radius: 26%; object-fit: contain; box-shadow: 0 24px 60px -16px rgba(255,72,120,.6); }
.work-media.hub-card span { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.03em; color: #fff; }
.hub-hero { background: radial-gradient(ellipse 60% 80% at 80% 10%, rgba(255,72,120,.16), transparent 60%); }
.project-hero.hub-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 1; }
.hub-icon { width: 84px; height: 84px; border-radius: 22px; margin-bottom: 26px; }
.hub-showcase { position: relative; padding-right: clamp(0px, 12vw, 170px); }
.hub-phone { position: absolute; right: 0; bottom: -28px; width: clamp(130px, 19vw, 250px); border-radius: 26px; overflow: hidden; border: 6px solid #0c0c10; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 40px 80px -20px rgba(0,0,0,.95); }
.hub-phone img { width: 100%; height: auto; display: block; }
.hub-group { display: grid; grid-template-columns: 220px 1fr; gap: 24px 48px; padding: 30px 0; border-top: 1px solid var(--line); }
.hub-group:last-child { border-bottom: 1px solid var(--line); }
.hub-group h3 { margin: 0; }
.hub-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; }
.hub-group b { color: var(--white); font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.hub-group b span { font: 400 .74rem/1 var(--font-mono); color: #ff7d9c; }
.hub-group p { margin: 3px 0 0; color: var(--text-2); font-size: .94rem; }
@media (max-width: 760px) {
  .covers-strip.row6 { grid-template-columns: repeat(3, 1fr); padding-top: 60px; }
  .hub-group, .hub-group ul { grid-template-columns: 1fr; }
  .hub-showcase { padding-right: 0; padding-bottom: 40px; }
  .hub-phone { right: 10px; }
}

/* ---------- Demopagina (app in de website) ---------- */

body.app-mode { height: 100vh; height: 100dvh; overflow: hidden; }
body.app-mode::after { display: none; }
body.app-mode .progress { display: none; }
body.app-mode .site-header::before { opacity: 1; }
body.app-mode .site-header { border-bottom-color: var(--line); }

.app-page { height: 100%; display: flex; flex-direction: column; padding-top: var(--header-h); }

/* Tijdens het gebruik: de websiteheader maakt plaats voor één smalle balk */
body.playing .site-header { display: none; }
body.playing .app-page { padding-top: 0; }
.demo-top { display: none; }
body.playing .demo-top {
  flex: none; height: 46px; padding: 0 12px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  background: #0b0c0f; border-bottom: 1px solid rgba(255,255,255,.1);
}
.demo-top-left, .demo-top-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.demo-top-right { justify-content: flex-end; }
.demo-back { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: .86rem; white-space: nowrap; transition: background .2s, color .2s; }
.demo-back:hover { background: rgba(255,255,255,.08); color: var(--white); }
.demo-back svg { transform: rotate(180deg); }
.demo-home img { height: 32px; width: auto; }
.demo-top .app-wordmark { height: 20px; width: auto; }
.demo-key { font-size: .8rem; color: var(--text-2); white-space: nowrap; }
.demo-top code, .demo-steps code { font-family: var(--font-mono); color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); padding: 1px 7px; border-radius: 5px; }
.tool-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; min-width: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--text-2); font-size: .84rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.tool-btn:hover { color: var(--white); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.tool-btn svg { width: 15px; height: 15px; flex: none; }

/* Het speelscherm vult alles wat overblijft */
.demo-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0b0c0f; }
.demo-stage iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; display: block; transform-origin: 0 0; background: #f4f5f7; }
.demo-stage iframe[hidden] { display: none; }

/* Startscherm */
.demo-start { position: absolute; inset: 0; z-index: 2; overflow: auto; background: #08090b; transition: opacity .45s; }
.demo-start[hidden] { display: none; }
.demo-start.leaving { opacity: 0; pointer-events: none; }
.demo-start::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 78% 60%, rgba(255,140,30,.24), transparent 65%), radial-gradient(ellipse 50% 60% at 10% 0%, rgba(90,130,255,.12), transparent 60%);
}
.demo-start-inner { position: relative; min-height: 100%; max-width: 1500px; margin: 0 auto; padding: clamp(24px, 4vh, 56px) var(--pad); display: grid; grid-template-columns: minmax(380px, .85fr) 1.15fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.demo-start .app-wordmark { height: 40px; width: auto; margin-bottom: 26px; }
.demo-start h1 { font-size: clamp(2.1rem, 3.5vw, 3.5rem); letter-spacing: -0.045em; margin-bottom: 16px; }
.demo-start .lead { font-size: 1.05rem; margin: 0 0 24px; }
.demo-steps { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.demo-steps li { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--text-2); line-height: 1.45; }
.demo-steps b { font: 500 .74rem/1.9 var(--font-mono); color: #ff9d42; flex: none; }
.demo-go { min-height: 58px; padding: 16px 34px; font-size: 1.05rem; background: #ff8c1e; border-color: #ff8c1e; color: #111; }
.demo-go::before { background: #ffb062; }
.demo-go:hover { color: #111; border-color: #ffb062; }
.demo-meta { margin: 16px 0 0; font-size: .84rem; color: var(--text-2); }
.demo-shot { position: relative; margin: 0; border: 0; padding: 0; background: none; cursor: pointer; display: block; width: 100%; border-radius: 14px; overflow: hidden; box-shadow: 0 50px 110px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.14); transition: transform .6s var(--ease); }
.demo-shot:hover { transform: translateY(-6px); }
.demo-shot img { width: 100%; height: auto; display: block; }
.demo-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,9,11,.55)); }
.demo-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: #ff8c1e; color: #111; display: grid; place-items: center; box-shadow: 0 20px 50px -10px rgba(255,140,30,.8), 0 0 0 12px rgba(255,140,30,.18); transition: transform .4s var(--ease); }
.demo-play svg { width: 34px; height: 34px; margin-left: 5px; }
.demo-shot:hover .demo-play { transform: scale(1.08); }

/* Laadscherm */
.demo-loading { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 18px; background: #08090b; color: var(--text-2); font-size: .95rem; text-align: center; transition: opacity .4s; }
.demo-loading[hidden] { display: none; }
.demo-loading.done { opacity: 0; pointer-events: none; }
.demo-loading img { width: 64px; height: 64px; border-radius: 16px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); box-shadow: 0 0 40px -6px rgba(255,140,30,.7); } }
.demo-bar { width: 220px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.demo-bar span { display: block; width: 40%; height: 100%; border-radius: 4px; background: #ff8c1e; animation: load 1.2s var(--ease-in-out) infinite; }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
.demo-loading p { margin: 0; }
.demo-slow a { color: var(--white); }

@media (max-width: 980px) {
  .demo-start-inner { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .demo-shot { order: -1; max-height: 34vh; }
  .demo-shot img { object-fit: cover; object-position: top; max-height: 34vh; }
  .demo-key { display: none; }
}
@media (max-width: 640px) {
  .demo-start .app-wordmark { height: 30px; margin-bottom: 16px; }
  .demo-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .demo-go { width: 100%; }
  .demo-home, .tool-btn .t { display: none; }
  body.playing .demo-top { grid-template-columns: auto 1fr auto; padding: 0 6px; gap: 6px; }
  .demo-top .app-wordmark { height: 17px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .demo-loading img, .demo-bar span { animation: none; } }

/* Account */
.account-btn { text-decoration: none; }
.account-btn svg { width: 16px; height: 16px; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.prose p { color: var(--text-2, #b5b5b2); }
.prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Verkoopblokken LineWise */
#voordelen .value .num { margin-bottom: 26px; color: var(--accent, #ff8c1e); }
.lead strong { color: var(--white); font-weight: 600; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.compare > div { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.compare .yes { border-color: rgba(255,140,30,.45); background: linear-gradient(160deg, rgba(255,140,30,.12), transparent 70%), var(--bg-2); }
.compare h3 { font-size: 1.15rem; margin-bottom: 14px; }
.compare ul { list-style: none; margin: 0; padding: 0; color: var(--text-2); }
.compare li { padding: 9px 0 9px 28px; position: relative; }
.compare li::before { content: "\2715"; position: absolute; left: 0; color: var(--text-3); }
.compare .yes li::before { content: "\2713"; color: #ff8c1e; }
.compare .yes li { color: var(--white); }
.pilot { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 72px); padding: clamp(28px, 4.5vw, 64px); border-radius: 24px; border: 1px solid rgba(255,140,30,.4); background: radial-gradient(ellipse 70% 90% at 0 0, rgba(255,140,30,.2), transparent 70%), var(--bg-2); }
.pilot .btn-row { margin-top: 28px; }
.pilot-small { color: var(--text-2); font-size: .9rem; margin: 18px 0 0; }
.pilot-list { list-style: none; margin: 0; padding: 0; align-self: center; }
.pilot-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.pilot-list li:first-child { border-top: 0; }
.pilot-list b { display: block; font-weight: 600; }
.pilot-list span { color: var(--text-2); }
.pilot-steps { margin-top: clamp(40px, 5vw, 64px); }
.faq { margin-top: clamp(40px, 5vw, 64px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--text-2); max-width: 46em; margin: 0 0 22px; }
@media (max-width: 860px) { .pilot, .compare { grid-template-columns: 1fr; } }
