/* ==========================================================================
   CVWgraphics: Make it bold, keep it clean.
   Basis = rustige, gewone pagina. De scroll-scènes staan onder html.motion,
   zodat de site ook zonder JS of met "beperkte beweging" volledig werkt.
   ========================================================================== */
:root {
  --bg: #121316;
  --card: #191a1e;
  --input: #1b1c21;
  --line: rgba(255, 255, 255, 0.1);
  --white: #f5f6f8;
  --muted: #8e939e;
  --orange: #ff441f;
  --orange-hover: #ff5a38;
  --glow-color: #ff441f;
  --display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 3vw, 40px);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); color: var(--white); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { overflow-x: clip; line-height: 1.5; background: var(--bg); position: relative; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
em { font-style: normal; color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.anchor { height: 0; }

main { position: relative; z-index: 2; }

/* ---------- Sterren & gloed ---------- */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .7; }
.glow { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .2;
  background: radial-gradient(60vmax 45vmax at 50% 60%, var(--glow-color), transparent 70%); }

/* ---------- Openingsshutter ---------- */
.shutter { display: none; }
.motion .shutter { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.shutter-half { position: absolute; left: 0; width: 100%; height: 50.5%; background: #0b0c0e; }
.shutter-top { top: 0; } .shutter-bottom { bottom: 0; }
.shutter-core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.shutter-core img { width: 84px; height: auto; }
.shutter-bar { width: 140px; height: 2px; background: var(--line); overflow: hidden; }
.shutter-bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) and (hover: hover) {
  /* De eigen cursor staat pas aan na de eerste muisbeweging; tot dan blijft de gewone zichtbaar. */
  .has-cursor, .has-cursor * { cursor: none !important; }
  .has-cursor input, .has-cursor textarea { cursor: text !important; }
  .has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; width: 30px; height: 30px; margin: -2px 0 0 -2px; --arrow: var(--orange); }
  .cursor.is-hidden { opacity: 0; }
  .cursor svg { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 2px 2px; transition: transform .25s var(--ease); filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35)); }
  .cursor path { fill: var(--arrow); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transition: fill .2s; }
  .cursor.is-link svg, .cursor.is-media svg { transform: scale(1.22); }
  .cursor span { position: absolute; left: 30px; top: 30px; padding: .55em .9em; border-radius: 999px; background: var(--orange); color: #fff; font: 800 11px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .2s; }
  .cursor.is-media span { opacity: 1; }
  /* Op oranje wordt de pijl donker, boven het donkere formulier weer oranje. */
  .on-orange .cursor { --arrow: #121316; }
  .on-orange .cursor.on-form { --arrow: var(--orange); }
}

/* ---------- Pil ---------- */
.pill { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px; background: var(--orange); color: #fff;
  font: 800 13px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, transform .3s var(--ease); }
.pill:hover { background: var(--orange-hover); transform: scale(1.04); }
.pill-ghost { background: rgba(18, 19, 22, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.pill-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Navigatie ---------- */
/* Drie gelijke kolommen: de menuknoppen staan zo exact in het midden, los van de breedte van logo en knop. */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px var(--gutter); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav-logo { justify-self: start; }
.nav-links { grid-column: 2; }
.nav-right { grid-column: 3; justify-self: end; }
.nav-logo img { width: 52px; height: auto; }
.nav-links { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(18, 19, 22, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-links a { padding: .55em 1.1em; border-radius: 999px; font: 800 12px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: rgba(245, 246, 248, .72); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: #fff; }
.nav-links a.is-on { color: #fff; background: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; background: rgba(18, 19, 22, .55); }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 55; background: #0b0c0e; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 80px var(--gutter) 60px;
  visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease), visibility 0s .6s; }
.menu.is-open { visibility: visible; clip-path: inset(0); transition: clip-path .6s var(--ease); }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font: 800 clamp(28px, 9.4vw, 72px)/1.08 var(--display); text-transform: uppercase; display: flex; gap: 14px; align-items: baseline; }
.menu-mail { color: var(--muted); font-size: 15px; }

/* ---------- Zoeker (HUD) ---------- */
.hud { display: none; }
.motion .hud { display: block; position: fixed; left: 20px; top: 112px; bottom: 44px; width: 2px; z-index: 50; pointer-events: none; }
.hud-track { position: absolute; inset: 0; border-radius: 2px; background: rgba(255, 255, 255, .2); pointer-events: auto; cursor: pointer; touch-action: none; }
.hud-track::before { content: ''; position: absolute; top: 0; bottom: 0; left: -10px; right: -10px; }
.hud-track i { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--orange); transform: scaleY(0); transform-origin: top; }
.hud-handle { position: absolute; left: -6px; top: 0; display: flex; align-items: center; gap: 8px; pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.hud-handle::before { content: ''; position: absolute; inset: -12px -8px; }
.hud-dot { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(18, 19, 22, .85), 0 0 0 4px rgba(255, 255, 255, .5); transition: transform .3s var(--ease); }
.hud-bubble { position: relative; display: flex; align-items: center; gap: 7px; padding: .62em 1em; border-radius: 999px; white-space: nowrap;
  background: rgba(18, 19, 22, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 20px rgba(0, 0, 0, .35);
  font: 800 11px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: #fff; transition: opacity .35s, transform .35s var(--ease), background-color .2s; }
.hud-bubble::before { content: ''; position: absolute; left: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; transform: rotate(45deg); background: inherit; border-radius: 1px; }
.hud-handle:hover .hud-dot, .hud.is-dragging .hud-dot { transform: scale(1.25); }
.hud.is-dragging .hud-handle { cursor: grabbing; }
.hud.is-dragging .hud-bubble { background: var(--orange); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: rec 1.6s infinite; }
.hud.is-dragging .rec { background: #fff; }
@keyframes rec { 50% { opacity: .2; } }

/* ---------- Scène-basis ---------- */
.scene { position: relative; }
.stage { position: relative; padding: 96px var(--gutter); }
.motion .scene .stage { position: sticky; top: 0; height: var(--vh); padding: 0; overflow: clip; }
.scene-tag { font: 600 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: rgba(245, 246, 248, .75); margin-bottom: 18px; }
.motion .scene-tag { position: absolute; top: 84px; left: var(--gutter); z-index: 6; margin: 0; }
.mega { font: 800 clamp(52px, 17vw, 300px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 28px; }
.motion .mega { margin: 0; white-space: nowrap; }

/* ---------- 00 Hero ---------- */
.hero .stage { padding: 0; height: var(--vh); overflow: clip; }
.motion .hero { height: 280vh; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; background: #000; }
.hero-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 19, 22, .55), rgba(18, 19, 22, .62) 60%, rgba(18, 19, 22, .82)); }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 var(--gutter); z-index: 3; }
.hero-title { font: 800 clamp(40px, 7vw, 150px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
@media (min-width: 761px) { .hero-title .line-in { white-space: nowrap; } }
@media (max-width: 760px) {
  .hero-title { font-size: 12.6vw; }
  .hero-title em { display: block; }
}
.hero-title .line { display: block; }
.motion .hero-title .line { overflow: clip; overflow-clip-margin: .1em; }
.hero-title .line-in { display: block; }
.hero-sub { margin-top: 1.6em; font: 600 clamp(12px, 1.15vw, 16px)/1.5 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 246, 248, .86); }
.hero-sub span { display: block; margin-top: .35em; color: rgba(245, 246, 248, .6); }
/* Vier diensten onder de showreel. Zonder scroll-scènes staan ze onderaan de video. */
.hero-tags { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; z-index: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.hero-tags a { padding: .75em 1.25em; border-radius: 999px; background: rgba(18, 19, 22, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); white-space: nowrap; text-align: center;
  font: 800 clamp(12px, 1.15vw, 18px)/1 var(--display); letter-spacing: .05em; text-transform: uppercase; transition: background-color .2s, box-shadow .2s, transform .3s var(--ease); }
.hero-tags a:hover { background: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); transform: scale(1.05); }
.motion .hero-tags { left: 15%; right: 15%; top: calc(87% + clamp(10px, 2vh, 22px)); bottom: auto; flex-wrap: nowrap; justify-content: space-between; }
.motion .hero-tags a { font-size: clamp(11px, 1.1vw, 18px); padding: .75em 1.1em; }
.hero-scroll { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font: 600 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll svg { width: 12px; height: 30px; color: var(--orange); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(7px); } }

/* ---------- See my work ---------- */
.motion .see { height: 220vh; }
.see .stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 5vh, 56px); padding-left: 0; padding-right: 0; }
.see-title { font: 800 min(13.4vw, 30vh)/.98 var(--display); text-transform: uppercase; text-align: center; padding: 0 var(--gutter); }
.see-line { display: block; white-space: nowrap; }
.see-title .ch { display: inline-block; }
.ticker { overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; align-items: center; gap: 1.1em; will-change: transform; padding-right: 1.1em; }
.ticker span { font: 800 clamp(18px, 3vw, 44px)/1.2 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(245, 246, 248, .5); }
.ticker b { width: .5em; height: .5em; font-size: clamp(18px, 3vw, 44px); border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- Video: projectkaarten die van rechts naar links schuiven ---------- */
/* Zonder scroll-scènes is de rij gewoon horizontaal te swipen. */
.reel .stage { padding-left: 0; padding-right: 0; }
.reel-track { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.motion .reel-track { position: absolute; left: 0; top: 0; bottom: 0; overflow: visible; padding: clamp(150px, 22vh, 230px) clamp(64px, 7vw, 140px) 0; will-change: transform; }
/* Titel linksboven, net boven de kaarten, zoals bij Websites. Zonder scroll-scènes staat ze gewoon boven de rij. */
.reel-head { padding: 0 var(--gutter) 24px; }
.motion .reel-head { position: absolute; left: clamp(64px, 7vw, 140px); right: var(--gutter); top: clamp(84px, 11vh, 110px); z-index: 3; padding: 0; }
.reel-title { font: 800 clamp(40px, 5vw, 96px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 .25em; }
.reel-count { display: flex; align-items: center; gap: .6em; font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.reel-hint { white-space: nowrap; margin-left: 1em; padding: .7em 1em; border-radius: 999px; color: rgba(245, 246, 248, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.reel-hint i { display: inline-block; font-style: normal; animation: nudgeX 1.8s var(--ease) infinite; }
@keyframes nudgeX { 50% { transform: translateX(6px); } }

.reel-card { position: relative; flex: none; height: min(60vh, 620px); aspect-ratio: .72; border-radius: 26px; overflow: hidden; isolation: isolate; container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 7cqi 6cqi 8cqi; text-align: center; color: #fff;
  background: var(--card); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); scroll-snap-align: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.reel-card video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
/* Gekleurde waas in de kleur van het project, zoals een filter over de beelden */
.reel-tint { position: absolute; inset: 0; z-index: -1; transition: opacity .6s var(--ease);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 60%, transparent) 0%, color-mix(in srgb, var(--c) 72%, #000 10%) 55%, color-mix(in srgb, var(--c) 70%, #000 45%) 100%); }
.reel-name { margin: auto 0; font: 800 13.5cqi/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.reel-btn { padding: 1.15em 2.2em; border-radius: 999px; background: #f5f1ea; color: #121316; font: 800 clamp(10px, 3.6cqi, 13px)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.reel-card:hover, .reel-card:focus-visible { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 2px var(--c); }
.reel-card:hover video { transform: scale(1); }
.reel-card:hover .reel-tint { opacity: .45; }
.reel-card:hover .reel-btn { background: var(--c); color: #121316; transform: scale(1.06); }

.reel-end { flex: none; width: clamp(240px, 24vw, 400px); margin-right: clamp(24px, 6vw, 120px); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-left: clamp(8px, 2vw, 40px); scroll-snap-align: end; }
.reel-end-title { font: 800 clamp(30px, 3.4vw, 64px)/.95 var(--display); text-transform: uppercase; }
.reel-bar { display: none; }
.motion .reel-bar { display: block; position: absolute; left: 50%; bottom: clamp(24px, 5vh, 48px); width: min(40vw, 320px); height: 2px; transform: translateX(-50%); border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.reel-bar i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
@media (max-width: 760px) {
  .motion .reel-track { padding: 170px 34px 0; }
  .motion .reel-head { left: 34px; top: 84px; }

  .reel-title { font-size: clamp(38px, 12vw, 64px); }
  .reel-count { font-size: 11px; white-space: nowrap; }
  .reel-hint { margin-left: .4em; }
  .reel-card { height: min(56vh, 112vw); border-radius: 22px; }
  .reel-end { width: 70vw; margin-right: 8vw; }
  .reel-card:hover, .reel-card:focus-visible { transform: none; }
}

/* ---------- Project-weergave ---------- */
.case { position: fixed; inset: 0; z-index: 110; visibility: hidden; color: var(--white); --c: var(--orange);
  background: radial-gradient(70vmax 50vmax at 85% 0%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%), #0e0f12;
  clip-path: inset(0 round 0); transition: clip-path .75s var(--ease), visibility 0s .75s; }
.case.is-open { visibility: visible; transition: clip-path .75s var(--ease); }
.case-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 430px); grid-template-rows: auto minmax(0, 1fr); gap: 18px clamp(20px, 2.4vw, 36px);
  padding: 18px var(--gutter) var(--gutter); opacity: 0; transform: translateY(24px); transition: opacity .35s, transform .6s var(--ease); }
.case.is-shown .case-inner { opacity: 1; transform: none; transition: opacity .5s .2s, transform .8s .2s var(--ease); }
.case-top { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.case-back { justify-self: start; display: inline-flex; white-space: nowrap; gap: .6em; padding: .8em 1.3em; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); font: 800 12px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; transition: background-color .2s; }
.case-back:hover { background: rgba(255, 255, 255, .1); }
.case-count { white-space: nowrap; font: 800 13px/1 var(--display); letter-spacing: .14em; color: var(--c); }
.case-close { justify-self: end; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 28px; line-height: 1; transition: transform .3s var(--ease); }
.case-close:hover { transform: rotate(90deg); }
.case-player { position: relative; min-height: 0; border-radius: 22px; overflow: hidden; background: #000; isolation: isolate; }
.case-player-bg { position: absolute; inset: -10%; z-index: -1; background-size: cover; background-position: center; filter: brightness(.45) blur(40px); }
.case-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.case-now { position: absolute; left: 16px; top: 16px; padding: .6em 1em; border-radius: 999px; background: rgba(18, 19, 22, .72); font: 800 11px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; pointer-events: none; }
.case-side { min-height: 0; display: flex; flex-direction: column; }
.case-tag { align-self: flex-start; padding: .6em 1em; border-radius: 999px; background: var(--c); color: #121316; font: 800 11px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.case-title { margin: .3em 0 .7em; font: 800 clamp(32px, 3vw, 58px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.case-meta { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.case-thumbs { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 12px; padding: 3px; margin: -3px; scrollbar-width: thin; }
.case-thumb { position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.case-thumb span { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--card); transition: box-shadow .3s; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; filter: brightness(.75); }
.case-thumb span::after { content: ''; position: absolute; left: 50%; top: 50%; margin: -17px 0 0 -17px; width: 34px; height: 34px; border-radius: 50%; background: rgba(18, 19, 22, .7)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='white'/%3E%3C/svg%3E") center / 20px no-repeat; transition: background-color .3s, transform .3s var(--ease); }
.case-thumb b { font: 800 12px/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.case-thumb small { display: block; font: 500 11px/1 var(--body); letter-spacing: .04em; color: var(--muted); margin-top: 3px; }
.case-thumb:hover img { transform: scale(1.06); filter: brightness(1); }
.case-thumb:hover span::after { transform: scale(1.12); }
.case-thumb.is-on span { box-shadow: 0 0 0 2px var(--c); }
.case-thumb.is-on img { filter: brightness(1); }
.case-thumb.is-on span::after { background-color: var(--c); }
.case-next { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 20px; border-radius: 18px; text-align: left; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s; }
.case-next span { font: 600 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-next strong { grid-row: 2; font: 800 clamp(18px, 1.6vw, 24px)/1.1 var(--display); text-transform: uppercase; }
.case-next i { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 24px; transition: transform .3s var(--ease); }
.case-next:hover { background: var(--next, var(--c)); color: #121316; box-shadow: none; }
.case-next:hover span { color: rgba(18, 19, 22, .7); }
.case-next:hover i { transform: translateX(6px); }
@media (max-width: 900px) {
  .case-inner { display: block; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter) 32px; }
  .case-inner { padding-top: 0; }
  .case-top { position: sticky; top: 0; z-index: 3; grid-template-columns: auto 1fr auto; margin: 0 calc(var(--gutter) * -1) 12px; padding: 12px var(--gutter) 10px; background: rgba(14, 15, 18, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .case-count { justify-self: end; margin-right: 14px; }
  .case-all { display: none; }
  .case-back { font-size: 11px; }
  .case-back { padding: .8em 1.1em; background: rgba(18, 19, 22, .8); }
  .case-close { width: 44px; height: 44px; }
  .case-player { height: min(64vh, 125vw); transition: height .4s var(--ease); }
  .case-player[data-aspect="h"] { height: calc((100vw - var(--gutter) * 2) * 9 / 16); }
  .case-side { margin-top: 20px; }
  .case-title { font-size: clamp(30px, 10vw, 56px); }
  .case-thumbs { display: flex; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 3px var(--gutter); scrollbar-width: none; }
  .case-thumbs::-webkit-scrollbar { display: none; }
  .case-thumb { flex: none; width: 44vw; max-width: 220px; scroll-snap-align: start; }
  .case-thumb b { font-size: 11px; overflow-wrap: anywhere; }
}

@media (max-width: 360px) { .case-count, .reel-hint { display: none; } }

/* ---------- Web ---------- */
.web-title { font: 800 clamp(44px, 9vw, 150px)/.95 var(--display); text-transform: uppercase; margin-bottom: 20px; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.browser-bar { height: 32px; background: #24262c; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .24); }
.browser-bar span { margin-left: 10px; font-size: 11px; color: rgba(255, 255, 255, .6); }
.browser-view { height: 56vh; overflow: hidden; }
.browser-view img { width: 100%; height: auto; }
.phone { display: none; }
.web-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.motion .web { height: 480vh; }
.motion .web-title { position: absolute; left: var(--gutter); top: 110px; z-index: 1; margin: 0; font-size: clamp(40px, 7.4vw, 124px); }
.motion .devices { position: absolute; left: 50%; bottom: 0; width: min(92vw, 1120px); transform: translateX(-50%); height: calc(var(--vh) - 96px); z-index: 3; perspective: 1400px; display: flex; align-items: flex-end; }
.motion .browser { position: relative; width: 100%; border-radius: 14px 14px 0 0; transform-origin: 50% 100%; will-change: transform; }
.motion .browser-view { height: calc(var(--vh) - 128px); }
.motion .browser-view img, .motion .phone-view img { will-change: transform; }
.motion .phone { display: block; position: absolute; right: -2%; bottom: 8vh; width: min(21vh, 22vw); aspect-ratio: 390 / 800; border-radius: 26px; border: 5px solid #24262c; background: #24262c; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); z-index: 4; }
.phone-view { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #fff; }
.phone-view img { width: 100%; height: auto; }
.motion .web-cta { position: absolute; left: 0; right: 0; bottom: 58px; z-index: 6; margin: 0; flex-wrap: nowrap; justify-content: center; pointer-events: none; }
.motion .web-cta .pill { pointer-events: auto; }
@media (max-width: 760px) {
  .motion .devices { width: 100%; height: calc(var(--vh) - 96px); justify-content: center; }
  .motion .browser { display: none; }
  .motion .phone { position: relative; right: auto; bottom: 0; width: min(74vw, 40vh); aspect-ratio: auto; height: 74vh; border-bottom: 0; border-radius: 30px 30px 0 0; }
  .motion .phone-view { border-radius: 24px 24px 0 0; }
  .motion .web-title { top: 100px; font-size: clamp(30px, 10vw, 60px); }
  .motion .web-cta { bottom: 44px; }
  .motion .web-cta { gap: 8px; }
  .motion .web-cta .pill { font-size: 10px; padding: 1.1em .9em; letter-spacing: .02em; }
}

/* ---------- Grafisch ---------- */
.wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.wall-col { display: flex; flex-direction: column; gap: 12px; }
.art { display: block; width: 100%; overflow: hidden; border-radius: 10px; background: var(--card); }
.art img { width: 100%; height: auto; }
.grafisch-title { font: 800 clamp(44px, 12vw, 230px)/.92 var(--display); text-transform: uppercase; }
@media (min-width: 800px) { .wall { grid-template-columns: repeat(3, 1fr); } }
.motion .grafisch { height: 400vh; }
.motion .wall { position: absolute; left: 50%; top: 50%; width: max(112vw, 700px); margin: 0; gap: clamp(12px, 2vw, 28px); transform: translate(-50%, -50%) rotate(-7deg); z-index: 2; }
.motion .wall-col { gap: clamp(12px, 2vw, 28px); will-change: transform; }
.motion .grafisch-title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; z-index: 4; pointer-events: none; color: #fff; font-size: min(10.4vw, 30vh); }

/* ---------- Toolkit ---------- */
.toolkit { padding: clamp(80px, 16vh, 180px) var(--gutter) clamp(80px, 14vh, 160px); }
.toolkit-title { font: 800 clamp(44px, 9vw, 150px)/.95 var(--display); text-transform: uppercase; text-align: center; margin-bottom: clamp(32px, 7vh, 72px); }
.tools { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); max-width: 1120px; margin: 0 auto; perspective: 900px; }
.tool-card { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(24px, 3vw, 40px) 12px; text-align: center; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s; animation: toolFloat 6s ease-in-out infinite; }
.tool:nth-child(2n) .tool-card { animation-duration: 7s; animation-delay: -1.5s; }
.tool:nth-child(3n) .tool-card { animation-duration: 6.5s; animation-delay: -3s; }
.tool:nth-child(4n) .tool-card { animation-duration: 7.5s; animation-delay: -4.2s; }
@keyframes toolFloat { 50% { transform: translateY(-7px) rotateY(3deg); } }
.tool-card:hover { box-shadow: inset 0 0 0 1px var(--orange), 0 18px 40px rgba(0, 0, 0, .5); }
.tool-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: var(--orange); }
.tool-icon svg { width: 100%; height: 100%; }
.tool-icon.is-badge { border-radius: 14px; background: var(--orange); color: #fff; font: 800 21px/1 var(--display); letter-spacing: -.03em; }
.tool-name { font: 800 12px/1.25 var(--display); letter-spacing: .06em; text-transform: uppercase; color: rgba(245, 246, 248, .72); }
@media (max-width: 760px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */
.wipe .stage { padding: 0; }
.wipe-orange { background: var(--orange); color: #121316; padding: 80px var(--gutter); }
.wipe-title { font: 800 clamp(44px, 12.4vw, 240px)/.94 var(--display); text-transform: uppercase; }
.motion .wipe { height: 240vh; }
/* Twee regels: "Let's build" en "together." De titel staat op 70% schaal, dus de regels breken niet op de volle breedte. */
.motion .wipe-title { white-space: nowrap; }
.motion .wipe-orange { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; clip-path: circle(0% at 50% 60%); }
.contact { position: relative; background: var(--orange); color: #121316; padding: clamp(40px, 8vh, 90px) var(--gutter) 64px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 1240px; margin: 0 auto; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.contact-kicker { font: 800 clamp(26px, 3.6vw, 52px)/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.contact-offer { font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; max-width: 26em; margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font: 800 clamp(17px, 1.8vw, 24px)/1.2 var(--display); }
.contact-links a { border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* Op het oranje worden logo, knop en zoeker donker zodat ze zichtbaar blijven */
.nav-logo img { transition: filter .3s; }
.pill, .nav-links { transition: background-color .3s, color .3s, transform .3s var(--ease); }
.on-orange .nav-logo img { filter: brightness(0); }
.on-orange .nav .pill { background: #121316; }
.on-orange .nav-links { background: rgba(18, 19, 22, .85); }
.on-orange .nav-links a.is-on { background: transparent; }
.on-orange .hud-track { background: rgba(18, 19, 22, .25); }
.on-orange .hud-track i { background: #121316; }
.on-orange .hud-dot { background: #121316; box-shadow: 0 0 0 3px var(--orange), 0 0 0 4px rgba(18, 19, 22, .5); }
.form { background: var(--bg); color: var(--white); border-radius: 24px; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field-label { font: 600 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field label span { text-transform: none; letter-spacing: 0; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--input); color: var(--white); font: 16px/1.4 var(--body); resize: vertical; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font: 600 14px/1 var(--body); transition: background-color .2s, border-color .2s; }
.chip.is-on { background: var(--orange); border-color: var(--orange); color: #fff; }
.submit { min-height: 56px; border-radius: 999px; background: var(--orange); color: #fff; font: 800 15px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; transition: background-color .2s, transform .3s var(--ease); }
.submit:hover { background: var(--orange-hover); transform: scale(1.015); }
.submit:disabled { opacity: .6; }
.form-status:empty { display: none; }
.form-status { font-size: 14px; }
.form-status a { text-decoration: underline; }
.form-status[data-state="success"] { color: #6fe08f; }
.form-note { font-size: 12px; color: var(--muted); }
.form-note a { text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: 1240px; margin: clamp(40px, 8vh, 80px) auto 0; font-size: 13px; font-weight: 500; }
.foot-tag { margin-left: auto; font-family: var(--display); font-weight: 800; }
.foot a { text-decoration: underline; }

/* ---------- Lightbox ---------- */
.box { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.box.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
.box-bg { position: absolute; inset: 0; background: rgba(8, 9, 11, .94); }
.box-media { position: relative; max-width: 94vw; max-height: 90vh; display: flex; }
.box-media video, .box-media img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; border-radius: 12px; background: #000; display: none; }
.box-media video.is-on, .box-media img.is-on { display: block; }
.box-close, .box-nav { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.box-close { top: 16px; right: 16px; font-size: 28px; }
.box-nav { top: 50%; margin-top: -24px; }
.box-prev { left: 16px; } .box-next { right: 16px; }
@media (max-width: 760px) {
  .box-nav { top: auto; bottom: 16px; margin: 0; }
  .box-prev { left: calc(50% - 56px); } .box-next { right: calc(50% - 56px); }
  .box-media video, .box-media img { max-height: 78vh; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 760px) {
  .nav { padding: 10px var(--gutter); }
  .nav-logo img { width: 44px; }
  .nav-links { display: none; }
  .nav .pill { display: none; }
  .burger { display: block; }
  .motion .scene-tag { top: 70px; left: 34px; }
  .submit { font-size: clamp(11px, 3.6vw, 13px); white-space: nowrap; }
  .motion .hud { left: 12px; top: 96px; bottom: 28px; }
  .hud-dot { width: 12px; height: 12px; }
  .hud-handle { left: -5px; }
  .hud-bubble { font-size: 10px; padding: .6em .9em; }
  /* Op mobiel verschijnt de balk enkel tijdens het scrollen, zoals een gewone scrollbalk, zodat hij geen tekst kruist. */
  .motion .hud { transition: opacity .4s; }
  .motion .hud.is-idle:not(.is-dragging) { opacity: 0; }
  .hud.is-idle:not(.is-dragging) .hud-track, .hud.is-idle:not(.is-dragging) .hud-handle { pointer-events: none; }
  .motion .hero-tags { left: 5%; right: 5%; top: calc(76% + 14px); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .toolkit-title { font-size: clamp(30px, 11vw, 64px); }
  .wipe-title { font-size: 12vw; }
  .contact-kicker { font-size: clamp(22px, 7.4vw, 40px); }
  .contact-links { font-size: clamp(15px, 5vw, 22px); }
  .hero-tags a, .motion .hero-tags a { font-size: clamp(9px, 2.6vw, 12px); padding: 1.1em .4em; letter-spacing: .02em; min-width: 0; }
  .motion .wall { width: 165vw; grid-template-columns: repeat(3, 1fr); }
  .foot-tag { margin-left: 0; width: 100%; }
}

/* Beperkte beweging: alles staat stil en leesbaar */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
