/* ==========================================================================
   Sal's Socials — basis en held
   ========================================================================== */

:root {
  --ink: #0b0d0a;
  --ink-2: #131610;
  --ink-3: #1d2119;
  --line: rgb(236 241 229 / 0.1);
  --line-strong: rgb(236 241 229 / 0.2);
  --paper: #eceee7;
  --paper-ink: #10130e;
  --paper-dim: #4b5245;
  --text: #f1f4ec;
  --text-dim: #a4ab9d;
  --lime: #cdf24b;
  --lime-hover: #daf86f;
  --on-lime: #0b0d0a;

  --f-display: "Funnel Display", "Host Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-text: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 40px;
  --r-lg: 24px;
  --r-md: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1320px;
}

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

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-color: #3a4034 var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--lime);
  accent-color: var(--lime);
}

::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--lime); color: var(--on-lime); font-weight: 600;
  translate: 0 -200%;
}
.skip:focus-visible { translate: 0 0; }

/* Intro-beginstand: alleen als beweging mag en het script draait */
.motion [data-intro] { opacity: 0; }

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

.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px 0 26px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; appearance: none; -webkit-appearance: none;
  font: 600 1rem/1 var(--f-text); letter-spacing: -0.005em; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out), scale 0.16s var(--ease-out);
}
.btn:active { scale: 0.97; }
.btn .icon--arrow-up-right { transition: rotate 0.4s var(--ease-out); }
.btn:hover .icon--arrow-up-right { rotate: 45deg; }

.btn--lime { background: var(--lime); color: var(--on-lime); }
.btn--lime:hover { background: var(--lime-hover); }

.btn--ghost { color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink-3); border-color: var(--ink-3); }

.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--small { --h: 44px; padding: 0 16px 0 20px; font-size: 0.9375rem; }

.btn--ink { background: var(--paper-ink); color: var(--paper); }
.btn--ink:hover { background: #262b22; }

/* Focusring op lichte vlakken in inkt in plaats van lime */
.about :focus-visible, .work :focus-visible, .keywords :focus-visible,
.reviews :focus-visible, .faq :focus-visible, .work-page :focus-visible, .legal :focus-visible { outline-color: var(--paper-ink); }

/* --------------------------------------------------------------------------
   Navigatie
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed; inset: 14px var(--gutter) auto; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}

.site-nav__bar {
  pointer-events: auto;
  width: min(100%, 1180px);
  display: flex; align-items: center; gap: 20px;
  padding: 7px 7px 7px 24px; border-radius: 999px;
  background: rgb(19 22 16 / 0.72);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.wordmark { display: block; flex: none; line-height: 0; }
.wordmark img { width: auto; height: 21px; }

.site-nav__links { display: flex; gap: 2px; margin-inline: auto; }
.site-nav__links a {
  padding: 11px 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--text-dim);
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.site-nav__links a:hover { color: var(--text); background: var(--ink-3); }

.site-nav__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang {
  display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line);
  font: 600 0.8125rem/1 var(--f-text); letter-spacing: 0.02em;
}
.lang a {
  display: grid; place-items: center; min-width: 36px; height: 32px; border-radius: 999px;
  color: var(--text-dim); transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--ink-3); color: var(--lime); }

.menu-toggle {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; background: var(--text); color: var(--ink);
  font-size: 1.25rem; cursor: pointer;
}
.menu-toggle > span { display: grid; place-items: center; grid-area: 1 / 1; transition: opacity 0.2s, rotate 0.35s var(--ease-out); }
.menu-toggle__close { opacity: 0; rotate: -90deg; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { opacity: 0; rotate: 90deg; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { opacity: 1; rotate: 0deg; }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: none; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 112px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--ink); overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
}
.menu.is-open { clip-path: inset(0); }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links a {
  display: block; padding: 6px 0;
  font: 700 clamp(2.25rem, 9vw, 3.25rem)/1.05 var(--f-display); letter-spacing: -0.04em; color: var(--text);
}
.menu__links a:active { color: var(--lime); }
.menu__reach { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.menu__reach p { font-size: 0.875rem; color: var(--text-dim); }
.menu__reach a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.menu__reach .icon { color: var(--lime); }

@media (max-width: 960px) {
  .site-nav__links, .site-nav__contact { display: none; }
  .menu-toggle { display: grid; }
  .menu { display: flex; }
  .site-nav__bar { padding-left: 20px; }
}

/* --------------------------------------------------------------------------
   Held
   -------------------------------------------------------------------------- */

.hero {
  --seam: clamp(96px, 13vh, 132px); /* hoe ver de bento over de naad in het papier steekt */
  position: relative; isolation: isolate;
  padding: clamp(136px, 17.5vh, 192px) var(--gutter) 0;
}

.hero::before {
  content: ""; position: absolute; inset: 0 0 var(--seam) 0; z-index: -2;
  background: var(--ink);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; z-index: -3;
  height: calc(var(--seam) + var(--r-xl));
  background: var(--paper);
}

.hero__glass {
  position: absolute; top: 0; left: 0; z-index: -1;
  width: 100%; height: calc(100% - var(--seam));
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  opacity: 0; transition: opacity 1.8s var(--ease-out);
  pointer-events: none;
}
.hero__glass.is-live { opacity: 1; }

.hero__copy {
  max-width: 1080px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero__title {
  margin: 0;
  font: 700 clamp(2.875rem, 1.1rem + 5.6vw, 5.5rem)/0.94 var(--f-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--text);
}
.hero__title .hl { color: var(--lime); }

.hero__lede {
  max-width: 56ch; margin-top: 22px;
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem); line-height: 1.55;
  color: var(--text-dim); text-wrap: pretty;
}

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Bento over de naad */

.bento {
  list-style: none; padding: 0;
  --u: clamp(236px, 29vh, 300px); /* hoogte van de uitgelichte kaart; de rest schaalt mee */
  max-width: var(--max); margin: clamp(36px, 5vh, 72px) auto 0;
  display: grid; grid-template-columns: 1.05fr 0.92fr 1.3fr 0.92fr 1fr;
  align-items: end; gap: 14px;
}

.bento__cell { --speed: 0; min-width: 0; }
.bento__cell--portrait    { height: calc(var(--u) * 0.86); --speed: 60; }
.bento__cell--disciplines { height: calc(var(--u) * 0.76); --speed: 130; }
.bento__cell--feature     { height: var(--u); --speed: 30; }
.bento__cell--tess        { height: calc(var(--u) * 0.8); --speed: 150; }
.bento__cell--ads         { height: calc(var(--u) * 0.82); --speed: 90; }

.card {
  position: relative; height: 100%; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
}

.card--photo { background: var(--ink-3); }
.card--photo img { width: 100%; height: 100%; object-fit: cover; }
.bento__cell--portrait img { object-position: 50% 20%; }

.chip {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: grid; gap: 2px; padding: 11px 14px; border-radius: var(--r-md);
  background: rgb(11 13 10 / 0.7);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.chip strong { font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }
.chip span { font-size: 0.8125rem; line-height: 1.3; color: var(--text-dim); }

.card--dark {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  padding: 22px; background: var(--ink-2); border: 1px solid var(--line);
}
.card--dark > div:last-child { margin-top: auto; }
.card__icons { display: flex; gap: 12px; color: var(--lime); font-size: 1.5rem; }

.card__title {
  display: block;
  font: 700 clamp(1.375rem, 0.95rem + 0.75vw, 1.75rem)/1 var(--f-display);
  letter-spacing: -0.035em;
}
.card__text { display: block; margin-top: 8px; font-size: 0.9375rem; line-height: 1.4; color: var(--text-dim); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span {
  padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500;
}

.card--lime {
  display: flex; flex-direction: column; gap: 12px; padding: 12px;
  background: var(--lime); color: var(--on-lime);
  will-change: transform;
}
.card--lime .card__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 6px 0 8px; font-size: 0.8125rem; font-weight: 600;
}
.card--lime .card__top .icon { transition: rotate 0.4s var(--ease-out); }
.card--lime:hover .card__top .icon { rotate: 45deg; }
.card--lime .card__foot { padding: 0 8px 6px; }
.card--lime .card__text { color: rgb(11 13 10 / 0.72); margin-top: 6px; }

.browser {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden; background: var(--ink);
  box-shadow: 0 20px 32px -20px rgb(11 13 10 / 0.6);
}
.browser__bar { display: flex; gap: 6px; padding: 9px 12px; flex: none; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #343a2f; }
.browser__bar i:first-child { background: var(--lime); }
.browser__viewport { position: relative; flex: 1; min-height: 0; overflow: hidden; container-type: size; }
.browser__shot { width: 100%; }

/* --------------------------------------------------------------------------
   Over Sal
   -------------------------------------------------------------------------- */

.about {
  --paper-line: rgb(16 19 14 / 0.12);
  background: var(--paper); color: var(--paper-ink);
  padding: 168px 40px 144px;
}
.about__inner { max-width: var(--max); margin-inline: auto; }

.about__intro {
  display: grid; grid-template-columns: minmax(210px, 1fr) 3.3fr;
  gap: clamp(24px, 4vw, 72px); align-items: start;
}

.about__aside { position: sticky; top: 112px; display: grid; gap: 22px; }

.about__title {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font: 700 1.25rem/1.1 var(--f-display); letter-spacing: -0.02em;
}
.about__title::before {
  content: ""; width: 12px; height: 12px; border-radius: 4px; flex: none;
  background: var(--lime); outline: 1px solid rgb(16 19 14 / 0.18); outline-offset: -1px;
}

.about__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.about__facts li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--paper-dim); }
.about__facts .icon { color: var(--paper-ink); }

.statement {
  font: 600 clamp(1.875rem, 0.85rem + 2.75vw, 3.5rem)/1.1 var(--f-display);
  letter-spacing: -0.035em; text-wrap: pretty;
}

.mark {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 92% / 100% 0.36em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.pill {
  display: inline-block; vertical-align: middle;
  width: 1.55em; height: 0.8em; margin: -0.1em 0.04em 0;
  border-radius: 999px; overflow: hidden; background: var(--ink-3);
}
.pill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pill--site img { object-position: 50% 0; }
.pill--lime { display: inline-grid; place-items: center; width: 1.2em; background: var(--lime); color: var(--on-lime); }
.pill--lime .icon { width: 0.5em; height: 0.5em; }

.about__row {
  display: grid; grid-template-columns: 2fr 1fr; gap: 14px;
  margin-top: clamp(64px, 8vw, 128px);
}

.about__subtitle {
  margin: 0;
  font: 700 clamp(1.5rem, 1.05rem + 0.9vw, 2rem)/1.05 var(--f-display); letter-spacing: -0.035em;
}

.steps-card {
  padding: 40px; border-radius: var(--r-lg);
  background: #f7f8f4; border: 1px solid var(--paper-line);
}

.steps { position: relative; margin-top: 36px; view-timeline-name: --steps; }
.steps__track {
  position: absolute; top: 17px; left: 0; right: 0; height: 2px;
  background: var(--paper-line); border-radius: 2px;
}
.steps__fill { position: absolute; inset: 0; background: var(--paper-ink); transform-origin: 0 50%; border-radius: inherit; }

.steps__list {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.steps__list li { position: relative; padding-top: 56px; counter-increment: step; }
.steps__list li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 11px;
  background: var(--paper-ink); color: var(--lime);
  font: 700 1rem/1 var(--f-display);
}
.steps__list h4 { margin: 0; font: 600 1.0625rem/1.25 var(--f-text); }
.steps__list p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.5; color: var(--paper-dim); }

.reach-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 40px; border-radius: var(--r-lg);
  background: var(--ink); color: var(--text);
}
.reach-card__text { margin-top: 12px; color: var(--text-dim); line-height: 1.5; }
.reach-card__actions { display: grid; gap: 10px; }
.reach-card__actions .btn { width: 100%; }
.reach-card__mail {
  justify-self: center; margin-top: 4px; font-size: 0.875rem; color: var(--text-dim);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong);
  transition: color 0.2s var(--ease-out);
}
.reach-card__mail:hover { color: var(--text); }

@media (max-width: 1100px) {
  .about__row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .about { padding: 128px 24px 96px; }
  .about__intro { grid-template-columns: 1fr; gap: 28px; }
  .about__aside { position: static; }
  .about__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .steps__track { display: none; }
  .steps__list { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .steps__list li { padding-top: 50px; }
}

@media (max-width: 560px) {
  .about { padding: 112px 16px 80px; }
  .steps-card, .reach-card { padding: 24px; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li { padding: 0 0 0 52px; min-height: 36px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement .w { animation: word-in linear both; animation-timeline: view(); animation-range: cover 14% cover 36%; }
    .statement .mark { animation: mark-in linear both; animation-timeline: view(); animation-range: cover 24% cover 44%; }
    .statement .pill { animation: pill-in linear both; animation-timeline: view(); animation-range: cover 8% cover 30%; }
    .steps__fill { animation: fill-in linear both; animation-timeline: --steps; animation-range: cover 10% cover 40%; }
    .steps__list li { animation: step-in linear both; animation-timeline: --steps; }
    .steps__list li:nth-child(1) { animation-range: cover 6% cover 18%; }
    .steps__list li:nth-child(2) { animation-range: cover 12% cover 24%; }
    .steps__list li:nth-child(3) { animation-range: cover 18% cover 30%; }
    .steps__list li:nth-child(4) { animation-range: cover 24% cover 36%; }
  }
}

@keyframes word-in { from { color: rgb(16 19 14 / 0.14); } }
@keyframes mark-in { from { background-size: 0% 0.36em; } }
@keyframes pill-in { from { scale: 0.3; rotate: -14deg; } }
@keyframes fill-in { from { scale: 0 1; } }
@keyframes step-in { from { opacity: 0.15; translate: 0 20px; } }

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

.work {
  background: var(--paper); color: var(--paper-ink);
  padding: 24px 40px 144px;
}

.work__title {
  margin: 0 auto; max-width: var(--max);
  display: grid; justify-items: center; text-align: center;
  font: 800 clamp(3.75rem, 0.6rem + 12.4vw, 11.5rem)/0.84 var(--f-display);
  letter-spacing: -0.04em;
}
.work__line { display: flex; align-items: center; justify-content: center; }

/* Het object dat het woord openbreekt, zoals WOR■KS in de referentie */
.cube-slot {
  --s: 0.36em;
  display: inline-grid; place-items: center; flex: none;
  width: 1.02em; height: 0.7em; margin: 0.04em 0.05em 0;
  border-radius: 0.16em; background: var(--ink);
  perspective: 2.4em; overflow: hidden;
}
.cube {
  position: relative; width: var(--s); height: var(--s);
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(38deg);
}
.cube i {
  position: absolute; inset: 0; border-radius: 0.03em;
  border: 0.012em solid rgb(205 242 75 / 0.9);
  background: linear-gradient(135deg, rgb(236 241 229 / 0.3), rgb(205 242 75 / 0.05));
}
.cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube::before {
  content: ""; position: absolute; inset: 32%; border-radius: 50%;
  background: var(--lime);
}

.work__list {
  max-width: var(--max); margin: 88px auto 0;
  display: grid; gap: 112px;
}

.case { view-timeline-name: --case; }

.case__media {
  position: relative; aspect-ratio: 16 / 9; max-height: 88vh; padding: 24px;
  border-radius: 28px; overflow: hidden; background: var(--ink-2);
}
.case--ink .case__media { background: var(--ink-2); }
.case--lime .case__media { background: var(--lime); }
.case--paper .case__media { background: #dfe2d8; }

.case__stage { position: absolute; inset: 0; perspective: 1800px; }

.device {
  position: absolute; overflow: hidden; background: var(--ink);
  box-shadow: 0 48px 64px -36px rgb(0 0 0 / 0.6);
}
.device--desktop {
  left: 9%; top: 11%; width: 68%; height: 96%;
  border-radius: 14px; outline: 1px solid rgb(236 241 229 / 0.12);
  transform-origin: 50% 100%;
}
.device__bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  background: #171a14; border-bottom: 1px solid rgb(236 241 229 / 0.08);
}
.device__bar i { width: 8px; height: 8px; border-radius: 50%; background: #343a2f; }
.device__bar i:first-child { background: var(--lime); }
.device__url {
  margin-inline: auto; padding: 4px 14px; border-radius: 999px;
  background: rgb(236 241 229 / 0.06); font-size: 0.75rem; color: var(--text-dim);
  translate: -14px 0;
}
.device__screen { position: absolute; top: 34px; right: 0; bottom: 0; left: 0; overflow: hidden; container-type: size; }
.device__shot { width: 100%; }

.device--phone {
  right: 8%; top: 20%; width: 19%; aspect-ratio: 9 / 19.5;
  border: 6px solid #1b1f18; border-radius: 30px;
}
.device--phone .device__screen { top: 0; border-radius: 24px; }

.device__url:empty { display: none; }

.work__more { display: flex; justify-content: center; margin-top: 96px; }

.case__meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: 22px; padding-inline: 4px;
}
.case__name {
  margin: 0;
  font: 700 clamp(1.625rem, 1rem + 1.2vw, 2.25rem)/1 var(--f-display); letter-spacing: -0.035em;
}
.case__info { margin-top: 8px; font-size: 0.9375rem; color: var(--paper-dim); }
.case__link {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 46px; padding: 0 16px 0 20px; border-radius: 999px;
  border: 1px solid rgb(16 19 14 / 0.22);
  font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.case__link .icon { transition: rotate 0.4s var(--ease-out); }
.case__link:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.case__link:hover .icon { rotate: 45deg; }

@media (max-width: 760px) {
  .work { padding: 8px 16px 96px; }
  .work__list { margin-top: 56px; gap: 72px; }
  .work__more { margin-top: 64px; }
  .case__media { aspect-ratio: 4 / 5; border-radius: 20px; }
  .device--desktop { left: 7%; top: 7%; width: 108%; height: 66%; border-radius: 12px; }
  .device__bar { height: 28px; }
  .device__screen { top: 28px; }
  .device__url { display: none; }
  .device--phone { right: 9%; top: 36%; width: 42%; border-width: 5px; border-radius: 26px; }
  .device--phone .device__screen { top: 0; border-radius: 21px; }
  .case__meta { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cube { animation: cube-turn linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .cube-slot { animation: slot-open linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    .device--desktop { animation: desk-rise linear both; animation-timeline: --case; animation-range: entry 0% cover 48%; }
    .device--phone { animation: phone-drift linear both; animation-timeline: --case; animation-range: cover 0% cover 100%; }
    .device__shot { animation: shot-scroll linear both; animation-timeline: --case; animation-range: cover 35% cover 95%; }
  }

  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    .work__line--1 { animation: line-from-left linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .work__line--2 { animation: line-from-right linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}

@keyframes cube-turn { from { transform: rotateX(-24deg) rotateY(-70deg); } to { transform: rotateX(-24deg) rotateY(290deg); } }
@keyframes slot-open { from { width: 0.08em; } }
@keyframes line-from-left { from { translate: -12vw 0; } }
@keyframes line-from-right { from { translate: 12vw 0; } }
@keyframes desk-rise { from { transform: rotateX(32deg) translateY(16%) scale(0.9); } }
@keyframes phone-drift { from { transform: translateY(40%) rotate(7deg); } to { transform: translateY(-12%) rotate(-3deg); } }
@keyframes shot-scroll { to { translate: 0 calc((-100% + 100cqh) * 0.55); } }

/* --------------------------------------------------------------------------
   Donker blok: klanten en diensten
   -------------------------------------------------------------------------- */

.dark-block {
  position: relative; margin-top: -40px;
  background: var(--ink); color: var(--text);
  border-radius: 40px 40px 0 0;
}

.clients { padding: 112px 40px 0; }
.clients__inner {
  max-width: var(--max); margin-inline: auto;
  padding-bottom: 88px; border-bottom: 1px solid var(--line);
}
.clients__label {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0;
  font: 500 0.9375rem/1.3 var(--f-text); color: var(--text-dim);
}
.clients__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.clients__row {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 32px clamp(40px, 6vw, 96px);
}
.clients__row img { width: auto; height: var(--h, 40px); opacity: 0.62; transition: opacity 0.3s var(--ease-out); }
.clients__row li:hover img { opacity: 1; }

.services { padding: 104px 40px 144px; }
.services__inner { max-width: var(--max); margin-inline: auto; }

.services__head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px 64px; align-items: end; }
.services__title {
  margin: 0;
  font: 700 clamp(2.5rem, 1.1rem + 3.9vw, 4.75rem)/0.96 var(--f-display); letter-spacing: -0.04em;
}
.services__title span { display: block; }
.services__title span + span { color: var(--text-dim); }
.services__intro { display: grid; gap: 28px; justify-items: start; padding-bottom: 6px; }
.services__intro p { max-width: 46ch; color: var(--text-dim); line-height: 1.55; }

.services__grid {
  list-style: none; margin: 88px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}

.service {
  position: relative;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 460px; padding: 28px; border-radius: 24px;
  background: var(--ink-2); border: 1px solid var(--line);
}
.service__icon { display: block; color: var(--lime); }
.service__icon .icon { width: 40px; height: 40px; }
.service__title {
  margin: 0;
  font: 700 clamp(1.625rem, 1.15rem + 0.8vw, 2.125rem)/1 var(--f-display); letter-spacing: -0.035em;
}
.service__text { margin-top: auto; font-size: 0.9375rem; line-height: 1.5; color: var(--text-dim); }

.service--lead {
  --tilt: 0deg; /* eindstand recht; de kanteling zit alleen in de uitdeelanimatie */
  rotate: var(--tilt); z-index: 1;
  background: var(--paper); color: var(--paper-ink); border-color: transparent;
  box-shadow: 0 48px 64px -32px rgb(0 0 0 / 0.7);
}
.service--lead .service__icon { color: var(--paper-ink); }
.service--lead .service__text { margin-top: 0; color: var(--paper-dim); }

.service__list { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.service__list li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 500; }
.service__list .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 7px;
  background: var(--lime); color: var(--on-lime);
}

.service__link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 0.9375rem; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.service__link .icon { transition: rotate 0.4s var(--ease-out); }
.service__link:hover .icon { rotate: 45deg; }

@media (max-width: 1100px) {
  .services__head { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .service { min-height: 380px; }
}

@media (max-width: 640px) {
  .dark-block { margin-top: -28px; border-radius: 28px 28px 0 0; }
  .clients { padding: 88px 16px 0; }
  .clients__inner { padding-bottom: 64px; }
  .clients__row { gap: 28px 40px; }
  .services { padding: 72px 16px 96px; }
  .services__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .service { min-height: 0; gap: 20px; }
  .service__text { margin-top: 12px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .clients__row li { animation: logo-in linear both; animation-timeline: view(); }
    .clients__row li:nth-child(1) { animation-range: entry 0% cover 22%; }
    .clients__row li:nth-child(2) { animation-range: entry 8% cover 26%; }
    .clients__row li:nth-child(3) { animation-range: entry 16% cover 30%; }
    .clients__row li:nth-child(4) { animation-range: entry 24% cover 34%; }
    .clients__row li:nth-child(5) { animation-range: entry 32% cover 38%; }

    .services__title span { animation: title-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 32%; }

    .service { animation: card-deal linear both; animation-timeline: view(); }
    .service--lead { animation-name: card-deal-lead; }
    .service:nth-child(1) { animation-range: entry 0% cover 30%; }
    .service:nth-child(2) { animation-range: entry 8% cover 36%; }
    .service:nth-child(3) { animation-range: entry 16% cover 42%; }
    .service:nth-child(4) { animation-range: entry 24% cover 48%; }
  }
}

@keyframes logo-in { from { opacity: 0; translate: 0 24px; } }
@keyframes title-rise { from { clip-path: inset(0 0 100% 0); translate: 0 0.4em; } }
@keyframes card-deal { from { opacity: 0; translate: 0 120px; rotate: 6deg; } }
@keyframes card-deal-lead { from { opacity: 0; translate: 0 160px; rotate: 16deg; } to { rotate: var(--tilt); } }

/* Mobiel: kaarten staan onder elkaar, dus geen draaiing; klaar zodra de kaart helemaal in beeld is */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
    .service, .service--lead { animation-name: card-rise; }
    .service:nth-child(n) { animation-range: entry 0% entry 90%; }
  }
}

@keyframes card-rise { from { opacity: 0; translate: 0 40px; } }

/* --------------------------------------------------------------------------
   Prijzen
   -------------------------------------------------------------------------- */

.pricing { position: relative; padding: 24px 40px 144px; }

/* Decoratief woord achter de kop: gegenereerde inhoud, niet voorgelezen */
.pricing::before {
  content: attr(data-ghost) / "";
  position: absolute; top: 0; left: 8vw; right: 8vw; /* ruimte voor de ±6vw drift zonder horizontale scroll */
  font: 800 16vw/0.8 var(--f-display); letter-spacing: -0.04em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgb(236 241 229 / 0.12);
  pointer-events: none; user-select: none;
}

.pricing__inner { position: relative; max-width: var(--max); margin-inline: auto; }

.pricing__head { display: grid; justify-items: center; gap: 22px; padding-top: 10.5vw; text-align: center; }
.pricing__title {
  margin: 0;
  font: 700 clamp(2.5rem, 1.1rem + 3.9vw, 4.75rem)/0.96 var(--f-display); letter-spacing: -0.04em;
}
.pricing__title span { display: block; }
.pricing__title span + span { color: var(--text-dim); }
.pricing__lede { max-width: 52ch; color: var(--text-dim); line-height: 1.55; }

.plans {
  list-style: none; margin: 80px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch;
}

.plan {
  display: flex; flex-direction: column; gap: 6px; padding: 8px;
  border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line);
}
.plan__top {
  display: grid; gap: 18px; padding: 26px;
  border-radius: 21px; background: var(--ink); border: 1px solid var(--line);
}
.plan__name { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 600; }
.plan__name .icon { width: 26px; height: 26px; color: var(--lime); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.plan__price strong {
  font: 700 clamp(2.5rem, 1.7rem + 1.6vw, 3.5rem)/1 var(--f-display); letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.plan__price--text strong { font-size: clamp(2rem, 1.45rem + 1.1vw, 2.75rem); line-height: 1.1; }
.plan__from { font-size: 0.9375rem; color: var(--text-dim); }
.plan__vat { font-size: 0.8125rem; color: var(--text-dim); }
.plan__desc { min-height: 3em; font-size: 0.9375rem; line-height: 1.5; color: var(--text-dim); }
.plan__cta { width: 100%; margin-top: 4px; }

.plan__features { display: grid; align-content: start; gap: 16px; padding: 22px 26px 26px; }
.plan__features-title { font-size: 0.8125rem; font-weight: 600; color: var(--text-dim); }
.plan__features ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.4; }
.plan__features .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--lime); }

.plan--featured { background: var(--lime); border-color: transparent; color: var(--on-lime); }
.plan--featured .plan__top { color: var(--text); border-color: transparent; }
.plan--featured .plan__features-title { color: rgb(11 13 10 / 0.7); }
.plan--featured .plan__features .icon { color: var(--on-lime); }

.pricing__note { margin-top: 48px; text-align: center; color: var(--text-dim); }
.pricing__note a {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: var(--text); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.pricing__note a .icon { transition: rotate 0.4s var(--ease-out); }
.pricing__note a:hover .icon { rotate: 45deg; }

@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan__desc { min-height: 0; }
}

@media (max-width: 640px) {
  .pricing { padding: 16px 16px 96px; }
  .pricing__head { padding-top: 12vw; }
  .plans { margin-top: 56px; }
  .plan__top { padding: 22px; }
  .plan__features { padding: 20px 22px 22px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pricing::before { animation: ghost-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .plan { animation: plan-rise linear both; animation-timeline: view(); }
    .plan:nth-child(1) { animation-range: entry 0% cover 28%; }
    .plan:nth-child(2) { animation-range: entry 6% cover 32%; }
    .plan:nth-child(3) { animation-range: entry 12% cover 36%; }
  }
}

@keyframes ghost-drift { from { translate: -6vw 0; } to { translate: 6vw 0; } }
@keyframes plan-rise { from { opacity: 0; transform: perspective(1400px) translateY(140px) rotateX(24deg); } to { transform: perspective(1400px); } }

/* --------------------------------------------------------------------------
   Cijfers
   -------------------------------------------------------------------------- */

.stats { padding: 0 40px 144px; }
.stats__inner { max-width: var(--max); margin-inline: auto; padding-top: 112px; border-top: 1px solid var(--line); }

.stats__head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px 64px; align-items: end; }
.stats__title {
  margin: 0;
  font: 700 clamp(2.5rem, 1.1rem + 3.9vw, 4.75rem)/0.96 var(--f-display); letter-spacing: -0.04em;
}
.stats__title span { display: block; }
.stats__title span + span { color: var(--text-dim); }
.stats__intro { display: grid; gap: 28px; justify-items: start; padding-bottom: 6px; }
.stats__intro p { max-width: 42ch; color: var(--text-dim); line-height: 1.55; }

.stats__grid {
  list-style: none; margin: 80px 0 0; padding: 0;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px;
}

.stat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 340px; padding: 32px; border-radius: 24px;
  background: var(--ink-2); border: 1px solid var(--line);
}
.stat__value {
  display: flex; align-items: flex-start;
  font: 800 clamp(5rem, 3rem + 4.4vw, 8.5rem)/0.82 var(--f-display); letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat__suffix { font-size: 0.5em; line-height: 1; margin: 0.06em 0 0 0.04em; color: var(--text-dim); }
.stat__number { display: inline-block; text-align: right; }
.stat__unit {
  margin: 0.2rem 0 0 0.9rem;
  font: 600 1rem/1.2 var(--f-text); letter-spacing: 0; color: var(--lime);
}
.stat__text { max-width: 36ch; font-size: 0.9375rem; line-height: 1.5; color: var(--text-dim); }

@media (max-width: 1000px) {
  .stats__head { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .stat--wide { grid-column: 1 / -1; }
  .stat { min-height: 280px; }
}

@media (max-width: 640px) {
  .stats { padding: 0 16px 96px; }
  .stats__inner { padding-top: 80px; }
  .stats__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .stat { min-height: 0; padding: 26px; gap: 36px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stat { animation: stat-wipe linear both; animation-timeline: view(); }
    .stat:nth-child(1) { animation-range: entry 5% cover 30%; }
    .stat:nth-child(2) { animation-range: entry 12% cover 36%; }
    .stat:nth-child(3) { animation-range: entry 19% cover 42%; }
  }
}

@keyframes stat-wipe { from { clip-path: inset(100% 0 0 0 round 24px); } to { clip-path: inset(0 0 0 0 round 24px); } }

/* --------------------------------------------------------------------------
   Zwevende labels
   -------------------------------------------------------------------------- */

.keywords {
  --floor: 120px;
  position: relative; margin-top: -40px; padding: 64px 40px 40px;
  background: var(--paper); color: var(--paper-ink);
  border-radius: 40px 40px 0 0;
  overflow: clip; /* de labels vallen van boven de rand naar binnen */
}

.keywords__stage { position: relative; max-width: var(--max); height: 430px; margin-inline: auto; }

.tags-pile { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0 0 var(--floor) 0; z-index: 1; /* labels rusten óp de vloer */ }

/* Het slot bepaalt plek en hoek (CSS, per breedte); het label erin is van GSAP. Nooit allebei op één element. */
.tag-slot { position: absolute; left: var(--x); bottom: var(--b); translate: -50% 0; rotate: var(--r); }
.tag-slot:has(.is-dragging) { z-index: 5; }

.tag {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 0.42em 0.95em 0.48em; border-radius: 999px;
  font: 600 clamp(1.125rem, 0.7rem + 1.2vw, 1.875rem)/1 var(--f-display); letter-spacing: -0.02em;
  box-shadow: 0 16px 22px -14px rgb(16 19 14 / 0.4);
  user-select: none; -webkit-user-select: none;
}
.tag--xl { font-size: clamp(1.75rem, 1rem + 2.4vw, 3.25rem); }
.tag--lg { font-size: clamp(1.375rem, 0.8rem + 1.7vw, 2.375rem); }
.tag--sm { font-size: clamp(1rem, 0.7rem + 0.8vw, 1.5rem); }

.tag--ink { background: var(--paper-ink); color: var(--paper); }
.tag--white { background: #fbfcf8; color: var(--paper-ink); box-shadow: inset 0 0 0 1px rgb(16 19 14 / 0.1), 0 16px 22px -14px rgb(16 19 14 / 0.4); }
.tag--outline { background: var(--paper); color: var(--paper-ink); box-shadow: inset 0 0 0 2px var(--paper-ink), 0 16px 22px -14px rgb(16 19 14 / 0.4); }
.tag--lime { background: var(--lime); color: var(--on-lime); }

@media (pointer: fine) {
  .tag { cursor: grab; }
  .tag.is-dragging { cursor: grabbing; }
}

.keywords__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--floor);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 22px 24px; border-radius: 28px; background: var(--lime);
}
.keywords__floor p { font-size: 0.875rem; font-weight: 600; color: rgb(11 13 10 / 0.72); }
.keywords__hint-coarse { display: none; }
@media (pointer: coarse) {
  .keywords__hint-fine { display: none; }
  .keywords__hint-coarse { display: inline; }
}

@media (max-width: 760px) {
  .keywords { margin-top: -28px; padding: 48px 16px 16px; border-radius: 28px 28px 0 0; }
  .keywords__stage { height: auto; }
  .tags-pile {
    position: static; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end;
    gap: 12px 6px; padding: 24px 0 20px;
  }
  .tag-slot { position: static; translate: none; rotate: calc(var(--r) * 0.5); }
  .keywords__floor { position: static; height: 72px; align-items: center; padding: 16px 24px; }
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews { background: var(--paper); color: var(--paper-ink); padding: 128px 40px 152px; }
.reviews__inner { max-width: var(--max); margin-inline: auto; }

.reviews__head { display: grid; justify-items: center; gap: 22px; text-align: center; }
.reviews__title {
  margin: 0;
  font: 700 clamp(2.5rem, 1.1rem + 3.9vw, 4.75rem)/0.96 var(--f-display); letter-spacing: -0.04em;
}
.reviews__title span { display: block; }
.reviews__title span + span { color: var(--paper-dim); }
.reviews__lede { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; color: var(--paper-dim); }
.reviews__lede-stars { display: inline-flex; gap: 2px; color: var(--paper-ink); }
.reviews__lede-stars .icon { width: 18px; height: 18px; }

.reviews__stack { list-style: none; max-width: 760px; margin: 72px auto 0; padding: 0; display: grid; gap: 14px; }
.reviews__stack.is-stacked { display: block; position: relative; touch-action: pan-y; }
.is-stacked .review { position: absolute; top: 0; left: 0; right: 0; user-select: none; -webkit-user-select: none; }
.is-stacked .review[data-depth="0"] { cursor: grab; }
.is-stacked .review.is-dragging { cursor: grabbing; }

.review {
  display: flex; flex-direction: column; gap: 32px;
  padding: 44px; border-radius: 28px;
  background: var(--ink); color: var(--text);
  box-shadow: 0 40px 60px -40px rgb(16 19 14 / 0.55);
  transition: background-color 0.5s var(--ease-out);
}
.review[data-depth="1"] { background: var(--lime); }
.review[data-depth="2"], .review[data-depth="3"] {
  background: #fbfcf8;
  box-shadow: inset 0 0 0 1px rgb(16 19 14 / 0.08), 0 40px 60px -40px rgb(16 19 14 / 0.55);
}
.is-stacked .review > * { transition: opacity 0.35s var(--ease-out); }
.is-stacked .review:not([data-depth="0"]) > * { opacity: 0; }

.review__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.review__stars { display: inline-flex; gap: 3px; color: var(--lime); }
.review__stars .icon { width: 20px; height: 20px; }
.review__source { font-size: 0.8125rem; font-weight: 600; color: var(--text-dim); }

.review__quote { margin: 0; }
.review__quote p {
  font: 500 clamp(1.25rem, 0.95rem + 0.8vw, 1.75rem)/1.36 var(--f-display);
  letter-spacing: -0.015em; text-wrap: pretty;
}

.review__author { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--lime); color: var(--on-lime); font: 700 1.25rem/1 var(--f-display);
}
.review__name { font-weight: 600; }
.review__meta { font-size: 0.875rem; color: var(--text-dim); }
.review__mark { margin-left: auto; color: var(--lime); }
.review__mark .icon { width: 44px; height: 44px; }

.reviews__controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; }
.reviews__controls[hidden] { display: none; }
.reviews__count { min-width: 5ch; text-align: center; font: 600 1rem/1 var(--f-display); font-variant-numeric: tabular-nums; }

.round-btn {
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border-radius: 50%; border: 1px solid rgb(16 19 14 / 0.22); background: transparent; color: var(--paper-ink);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), scale 0.16s var(--ease-out);
}
.round-btn:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.round-btn:active { scale: 0.94; }
.round-btn .icon { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .reviews { padding: 96px 16px 112px; }
  .reviews__stack { margin-top: 48px; }
  .review { padding: 28px; gap: 24px; border-radius: 24px; }
  .review__mark .icon { width: 32px; height: 32px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reviews__carousel { animation: stack-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}

@keyframes stack-in { from { opacity: 0; translate: 0 120px; rotate: -4deg; } }

/* Mobiel: zonder draaiing, anders steekt de stapel tijdens het binnenkomen buiten het scherm */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
    .reviews__carousel { animation-name: stack-in-straight; }
  }
}

@keyframes stack-in-straight { from { opacity: 0; translate: 0 60px; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { background: var(--paper); color: var(--paper-ink); padding: 112px 40px 184px; }
.faq__inner {
  max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: minmax(280px, 0.85fr) 1.4fr; gap: 72px; align-items: start;
}
.faq__aside { position: sticky; top: 112px; display: grid; gap: 22px; justify-items: start; }
.faq__title {
  margin: 0;
  font: 700 clamp(2.5rem, 1.1rem + 3.9vw, 4.75rem)/0.96 var(--f-display); letter-spacing: -0.04em;
}
.faq__title span { display: block; }
.faq__title span + span { color: var(--paper-dim); }
.faq__lede { max-width: 36ch; color: var(--paper-dim); line-height: 1.55; }

.faq-item { border-bottom: 1px solid rgb(16 19 14 / 0.14); }
.faq-item:first-child { border-top: 1px solid rgb(16 19 14 / 0.14); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px; cursor: pointer; list-style: none;
  font: 600 clamp(1.125rem, 0.95rem + 0.5vw, 1.4375rem)/1.3 var(--f-display); letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgb(16 19 14 / 0.2);
  transition: rotate 0.45s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.faq-item__icon .icon { width: 20px; height: 20px; }
.faq-item summary:hover .faq-item__icon { background: var(--lime); border-color: var(--lime); }
.faq-item[open] .faq-item__icon { rotate: 45deg; background: var(--paper-ink); border-color: var(--paper-ink); color: var(--lime); }
.faq-item__answer { max-width: 62ch; padding: 0 66px 28px 4px; line-height: 1.6; color: var(--paper-dim); }

@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq { interpolate-size: allow-keywords; }
    .faq-item::details-content {
      block-size: 0; overflow: clip;
      transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete;
    }
    .faq-item[open]::details-content { block-size: auto; }
  }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  position: relative; margin-top: -40px; padding: 128px 40px 144px;
  background: var(--ink); color: var(--text); border-radius: 40px 40px 0 0;
}
.contact__inner {
  max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.contact__title {
  margin: 0;
  font: 700 clamp(2.75rem, 1.2rem + 3.3vw, 4.25rem)/0.95 var(--f-display); letter-spacing: -0.04em;
}
.contact__title span { display: block; text-wrap: balance; }
.contact__title span + span { color: var(--lime); }
.contact__lede { max-width: 44ch; margin-top: 24px; color: var(--text-dim); line-height: 1.55; }

.reach-list { list-style: none; margin: 48px 0 0; padding: 0; }
.reach-list li:first-child .reach-item { border-top: 1px solid var(--line); }
.reach-item {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 18px;
  padding: 22px 8px; border-bottom: 1px solid var(--line);
}
.reach-item > * { transition: translate 0.4s var(--ease-out); }
.reach-item > .icon { width: 26px; height: 26px; color: var(--lime); }
.reach-item > .icon--arrow-up-right { width: 22px; height: 22px; color: var(--text-dim); transition: rotate 0.4s var(--ease-out), color 0.25s var(--ease-out); }
.reach-item__label { display: block; font-size: 0.8125rem; color: var(--text-dim); }
.reach-item__value {
  display: block; margin-top: 2px; overflow-wrap: anywhere;
  font: 600 clamp(1.25rem, 1rem + 0.7vw, 1.625rem)/1.2 var(--f-display); letter-spacing: -0.02em;
  transition: color 0.25s var(--ease-out);
}
a.reach-item:hover > :not(.icon--arrow-up-right) { translate: 10px 0; }
a.reach-item:hover .reach-item__value { color: var(--lime); }
a.reach-item:hover > .icon--arrow-up-right { rotate: 45deg; color: var(--lime); }

.contact-form {
  display: grid; gap: 20px; padding: 40px;
  border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field__optional { font-weight: 400; color: var(--text-dim); }

.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font: 400 1rem/1.4 var(--f-text); color: var(--text);
  background: var(--ink); border: 1px solid var(--line-strong); border-radius: 14px;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8e9588; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(236 241 229 / 0.35); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--lime); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #f0a193; }
.field__error { font-size: 0.8125rem; line-height: 1.4; color: #f0a193; }
.field__error:empty { display: none; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select .icon { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--text-dim); pointer-events: none; }

.contact-form__actions { display: grid; gap: 10px; margin-top: 4px; }
.contact-form__actions .btn { width: 100%; }
.contact-form__status { font-size: 0.9375rem; line-height: 1.5; color: var(--lime); }
.contact-form__status:empty { display: none; }
.contact-form__note { font-size: 0.8125rem; color: var(--text-dim); }

@media (max-width: 1000px) {
  .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .faq__aside { position: static; }
}

@media (max-width: 640px) {
  .faq { padding: 88px 16px 136px; }
  .faq-item summary { padding: 22px 0; gap: 16px; }
  .faq-item__answer { padding: 0 0 24px; }
  .contact { margin-top: -28px; padding: 96px 16px 96px; border-radius: 28px 28px 0 0; }
  .contact-form { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .reach-item { padding: 18px 4px; gap: 14px; }
}

/* --------------------------------------------------------------------------
   Plaatspagina (website laten maken in ...)
   -------------------------------------------------------------------------- */

.place { background: var(--paper); color: var(--paper-ink); padding: 148px 40px 112px; }
.place__inner { max-width: var(--max); margin-inline: auto; }
.place .crumbs { justify-content: flex-start; margin: 0 0 28px; }
.place__title {
  max-width: 16ch; margin: 0;
  font: 700 clamp(2.75rem, 1.2rem + 4.2vw, 5.25rem)/0.95 var(--f-display); letter-spacing: -0.04em;
  text-wrap: balance;
}
.place__lede { max-width: 60ch; margin-top: 24px; font-size: 1.125rem; line-height: 1.6; color: var(--paper-dim); }
.place__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.place__facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px;
  margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid rgb(16 19 14 / 0.14);
}
.place__facts li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--paper-dim); }
.place__facts .icon { color: var(--paper-ink); }

.btn--outline { color: var(--paper-ink); border-color: rgb(16 19 14 / 0.25); }
.btn--outline:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }

.services__grid--three { grid-template-columns: repeat(3, 1fr); }

.place-work { background: var(--paper); color: var(--paper-ink); padding: 112px 40px 144px; }
.place__heading { margin: 0; font: 700 clamp(1.75rem, 1.2rem + 1.4vw, 2.75rem)/1.05 var(--f-display); letter-spacing: -0.035em; }
.place__text { max-width: 60ch; margin-top: 14px; line-height: 1.6; color: var(--paper-dim); }
.place-work .projects { margin-top: 48px; }
.place__more { margin-top: 36px; }
.place__more a {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.place__more .icon { transition: rotate 0.4s var(--ease-out); }
.place__more a:hover .icon { rotate: 45deg; }

/* Alleen de regiopagina: de kernen eronder, als lijst van tekstlinks met een haarlijn ertussen */
/* Tussenruimte naar het werkblok is verdeeld over beide secties, zodat de laatste
   link niet tegen de onderrand van zijn eigen vlak sluit */
.place-links { background: var(--paper); color: var(--paper-ink); padding: 112px 40px 56px; }
.place-links + .place-work { padding-top: 56px; }
.place-links__grid {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px;
}
.place-links__item {
  display: block; padding: 26px 0; color: inherit;
  border-top: 1px solid rgb(16 19 14 / 0.14);
}
.place-links__name {
  display: flex; align-items: center; gap: 10px;
  font: 700 1.375rem/1.15 var(--f-display); letter-spacing: -0.025em;
}
.place-links__name .icon { transition: rotate 0.4s var(--ease-out); }
.place-links__item:hover .place-links__name .icon { rotate: 45deg; }
.place-links__text { display: block; margin-top: 8px; font-size: 0.9375rem; line-height: 1.5; color: var(--paper-dim); }

.place :focus-visible, .place-work :focus-visible, .place-links :focus-visible { outline-color: var(--paper-ink); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .place-links__grid li { animation: card-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
  }
}

@media (max-width: 1100px) {
  .services__grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .place { padding: 120px 16px 88px; }
  .place-work { padding: 88px 16px 96px; }
  .place-links { padding: 88px 16px 44px; }
  .place-links + .place-work { padding-top: 44px; }
  .place-links__grid { grid-template-columns: 1fr; }
  .place__facts { gap: 12px 24px; }
  .services__grid--three { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Prijsgids (wat kost een website)
   -------------------------------------------------------------------------- */

.guide { padding-bottom: 72px; }

/* Het antwoord staat meteen onder de kop, in een donker vlak: dit is waar
   bezoekers en AI-assistenten voor komen */
.guide__answer {
  max-width: 68ch; margin: 40px 0 0; padding: 28px 32px;
  background: var(--ink); color: var(--paper); border-radius: 24px;
  font: 500 clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem)/1.5 var(--f-text);
}

.guide-prices { background: var(--paper); color: var(--paper-ink); padding: 40px 40px 112px; }
.guide-table-wrap { margin-top: 40px; overflow-x: auto; border-radius: 20px; border: 1px solid rgb(16 19 14 / 0.14); }
.guide-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.guide-table th, .guide-table td {
  padding: 18px 22px; border-bottom: 1px solid rgb(16 19 14 / 0.1);
  font-size: 1rem; line-height: 1.5; vertical-align: top;
}
.guide-table thead th {
  font-size: 0.8125rem; font-weight: 600; color: var(--paper-dim);
  background: rgb(16 19 14 / 0.03);
}
.guide-table tbody th { font: 700 1.0625rem/1.4 var(--f-display); letter-spacing: -0.01em; }
.guide-table__price { font: 700 1.25rem/1.3 var(--f-display); white-space: nowrap; }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }
.guide__note { margin-top: 18px; font-size: 0.875rem; color: var(--paper-dim); }

.factors { padding: 104px 40px 144px; }
.factors__inner { max-width: var(--max); margin-inline: auto; }
.factors__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; }
.factors__lede { margin: 0; max-width: 46ch; line-height: 1.6; color: var(--text-dim); }
.factors__grid {
  list-style: none; margin: 72px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
}
.factor { border-top: 1px solid rgb(236 238 231 / 0.16); padding-top: 20px; }
.factor__n { display: block; font: 700 0.8125rem/1 var(--f-text); letter-spacing: 0.08em; color: var(--lime); }
.factor__title { margin: 14px 0 0; font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -0.02em; }
.factor__text { margin: 10px 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-dim); }

.guide-costs { background: var(--paper); color: var(--paper-ink); padding: 112px 40px 112px; }
.guide-costs__list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; }
.guide-cost { padding: 26px 0; border-top: 1px solid rgb(16 19 14 / 0.14); display: grid; grid-template-columns: 1fr 2fr; gap: 12px 40px; }
.guide-cost__title { margin: 0; font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -0.02em; }
.guide-cost__text { margin: 0; line-height: 1.6; color: var(--paper-dim); }

.guide :focus-visible, .guide-prices :focus-visible, .guide-costs :focus-visible { outline-color: var(--paper-ink); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .factors__grid .factor { animation: card-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .guide-costs__list .guide-cost { animation: card-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
  }
}

@media (max-width: 1100px) {
  .factors__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .guide { padding-bottom: 56px; }
  .guide__answer { padding: 22px 20px; }
  .guide-prices { padding: 32px 16px 88px; }
  .factors { padding: 72px 16px 96px; }
  .factors__head { grid-template-columns: 1fr; align-items: start; }
  .factors__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .guide-costs { padding: 88px 16px 88px; }
  .guide-cost { grid-template-columns: 1fr; gap: 8px; }

  /* De tabel wordt een lijst: een derde kolom die je eerst moet wegscrollen
     leest slecht op een telefoon, en afgekapte letters ogen als een fout */
  .guide-table-wrap { overflow-x: visible; }
  .guide-table { min-width: 0; }
  .guide-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .guide-table tr { display: block; padding: 20px 18px; border-bottom: 1px solid rgb(16 19 14 / 0.1); }
  .guide-table tbody tr:last-child { border-bottom: 0; }
  .guide-table th, .guide-table td { display: block; padding: 0; border-bottom: 0; }
  .guide-table tbody th { font-size: 1.125rem; }
  .guide-table__price { margin-top: 6px; }
  .guide-table tbody td:last-child { margin-top: 8px; font-size: 0.9375rem; color: var(--paper-dim); }
}

/* --------------------------------------------------------------------------
   Werkpagina
   -------------------------------------------------------------------------- */

.work-page { background: var(--paper); color: var(--paper-ink); padding: 148px 40px 176px; }

.crumbs {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  max-width: var(--max); margin: 0 auto 36px; font-size: 0.875rem; color: var(--paper-dim);
}
.crumbs a {
  font-weight: 600; color: var(--paper-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}

.work-page__lede { max-width: 54ch; margin: 32px auto 0; text-align: center; line-height: 1.55; color: var(--paper-dim); }

.projects {
  list-style: none; max-width: var(--max); margin: 88px auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 24px;
}

.project__link { display: block; color: inherit; }

/* Oneven aantal: het laatste project over de volle breedte, zodat er nooit een lege cel overblijft */
@media (min-width: 761px) {
  .project:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .project:last-child:nth-child(odd) .project__media { aspect-ratio: 21 / 8; }
}
.project__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 24px; background: var(--ink-2);
  box-shadow: 0 32px 48px -36px rgb(16 19 14 / 0.45);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale 0.8s var(--ease-out); }
a.project__link:hover .project__media img { scale: 1.04; }

.project__chip {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px 10px 18px; border-radius: 999px;
  background: var(--lime); color: var(--on-lime); font-size: 0.875rem; font-weight: 600;
  opacity: 0; translate: 0 12px;
  transition: opacity 0.3s var(--ease-out), translate 0.4s var(--ease-out);
}
a.project__link:hover .project__chip, a.project__link:focus-visible .project__chip { opacity: 1; translate: 0 0; }
@media (hover: none) { .project__chip { opacity: 1; translate: none; } }

.project__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; padding-inline: 4px; }
.project__name { margin: 0; font: 700 clamp(1.5rem, 1rem + 1vw, 2rem)/1 var(--f-display); letter-spacing: -0.03em; }
.project__info { font-size: 0.9375rem; color: var(--paper-dim); text-align: right; }

.work-cta {
  position: relative; margin-top: -40px; padding: 120px 40px 176px;
  border-radius: 40px 40px 0 0; background: var(--ink); color: var(--text); text-align: center;
}
.work-cta__title {
  margin: 0;
  font: 700 clamp(2.75rem, 1.2rem + 4.2vw, 5.25rem)/0.95 var(--f-display); letter-spacing: -0.04em;
}
.work-cta__title span { display: block; }
.work-cta__title span + span { color: var(--lime); }
.work-cta__text { max-width: 44ch; margin: 20px auto 0; color: var(--text-dim); line-height: 1.55; }
.work-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

@media (max-width: 760px) {
  .work-page { padding: 120px 16px 120px; }
  .projects { grid-template-columns: 1fr; gap: 48px; margin-top: 56px; }
  .project__media { border-radius: 20px; }
  .project__meta { flex-direction: column; gap: 8px; }
  .project__info { text-align: left; }
  .work-cta { margin-top: -28px; padding: 96px 16px 136px; border-radius: 28px 28px 0 0; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .project__media { animation: project-wipe linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .project:nth-child(even) .project__media { animation-range: entry 8% cover 34%; }
  }
}

@keyframes project-wipe { from { clip-path: inset(22% 0 0 0 round 24px); opacity: 0.4; } to { clip-path: inset(0 0 0 0 round 24px); opacity: 1; } }

/* --------------------------------------------------------------------------
   Privacy- en cookieverklaring
   -------------------------------------------------------------------------- */

.legal { background: var(--paper); color: var(--paper-ink); padding: 148px 40px 176px; }
.legal__head, .legal__layout { max-width: var(--max); margin-inline: auto; }
.legal .crumbs { justify-content: flex-start; margin: 0 0 28px; }
.legal__title {
  max-width: 14ch; margin: 0;
  font: 700 clamp(2.75rem, 1.2rem + 4.2vw, 5.25rem)/0.95 var(--f-display); letter-spacing: -0.04em;
  text-wrap: balance;
}
.legal__updated { margin-top: 22px; font-size: 0.875rem; color: var(--paper-dim); }
.legal__intro { max-width: 62ch; margin-top: 16px; font-size: 1.125rem; line-height: 1.6; color: var(--paper-dim); }

.legal__layout {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start;
  margin-top: 80px;
}
.legal__toc {
  position: sticky; top: 112px; padding: 20px;
  border-radius: 20px; background: #f7f8f4; border: 1px solid rgb(16 19 14 / 0.12);
}
.legal__toc-title { margin-bottom: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--paper-dim); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal__toc a {
  display: block; padding: 7px 10px; border-radius: 10px;
  font-size: 0.9375rem; line-height: 1.3; transition: background-color 0.2s var(--ease-out);
}
.legal__toc a:hover { background: rgb(16 19 14 / 0.06); }

.legal__body { max-width: 72ch; }
.legal-section { scroll-margin-top: 112px; }
.legal-section + .legal-section { margin-top: 56px; padding-top: 56px; border-top: 1px solid rgb(16 19 14 / 0.12); }
.legal-section h2 {
  margin: 0 0 16px;
  font: 700 clamp(1.5rem, 1.1rem + 0.9vw, 2rem)/1.1 var(--f-display); letter-spacing: -0.03em;
}
.legal-section h3 { margin: 28px 0 8px; font: 600 1.125rem/1.3 var(--f-text); }
.legal-section p, .legal-section li { font-size: 1.0625rem; line-height: 1.65; color: #2b3027; }
.legal-section p + p, .legal-section ul + p, .legal-section .legal-table-wrap + p { margin-top: 14px; }
.legal-section ul { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 1.2em; }
.legal-section li::marker { color: var(--paper-ink); }
.legal-section a {
  font-weight: 600; color: var(--paper-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.legal-section code { font: 500 0.875em/1 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }

.legal-table-wrap {
  margin-top: 16px; overflow-x: auto;
  border-radius: 16px; background: #f7f8f4; border: 1px solid rgb(16 19 14 / 0.12);
}
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; }
.legal-table th, .legal-table td {
  padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.45;
  border-bottom: 1px solid rgb(16 19 14 / 0.1);
}
.legal-table th { font-size: 0.8125rem; font-weight: 600; color: var(--paper-dim); background: rgb(16 19 14 / 0.03); }
.legal-table tr:last-child td { border-bottom: 0; }

@media (max-width: 1000px) {
  .legal__layout { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .legal__toc { position: static; }
}

@media (max-width: 640px) {
  .legal { padding: 120px 16px 120px; }
  .legal-section + .legal-section { margin-top: 40px; padding-top: 40px; }
}

/* --------------------------------------------------------------------------
   Cookiemelding
   -------------------------------------------------------------------------- */

.consent {
  position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 90;
  display: flex; justify-content: flex-end; pointer-events: none;
}
.consent[hidden] { display: none; }

.consent__card {
  width: min(100%, 460px); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 24px; border-radius: 24px; pointer-events: auto;
  background: var(--ink-2); color: var(--text); border: 1px solid var(--line-strong);
  box-shadow: 0 28px 48px -28px rgb(0 0 0 / 0.7);
}
.consent__title { margin: 0; font: 700 1.375rem/1.1 var(--f-display); letter-spacing: -0.02em; }
.consent__text { margin-top: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--text-dim); }
.consent__link { font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.consent__link:hover { color: var(--lime); }

.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }

.consent__prefs { display: grid; gap: 8px; margin-top: 18px; }
.consent__prefs[hidden] { display: none; }
.consent-option {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 16px; background: var(--ink); border: 1px solid var(--line);
}
label.consent-option { cursor: pointer; }
.consent-option__body { display: grid; gap: 2px; }
.consent-option__name { font-size: 0.9375rem; font-weight: 600; }
.consent-option__desc { font-size: 0.8125rem; line-height: 1.4; color: var(--text-dim); }
.consent-option__always { font-size: 0.8125rem; font-weight: 600; color: var(--lime); white-space: nowrap; }

.switch {
  position: relative; flex: none; width: 46px; height: 28px; margin: 0;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line-strong);
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.switch::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-dim);
  transition: translate 0.25s var(--ease-out), background-color 0.2s var(--ease-out);
}
.switch:checked { background: var(--lime); border-color: var(--lime); }
.switch:checked::after { translate: 18px 0; background: var(--ink); }

.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.consent__actions .btn { flex: 1 1 auto; }
.consent__actions [hidden] { display: none; }

.consent__settings, .site-footer__cookies {
  padding: 8px 4px; border: 0; background: none; cursor: pointer;
  font: 600 0.875rem/1.2 var(--f-text); color: var(--text);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.site-footer__cookies { font-weight: 500; color: var(--text-dim); transition: color 0.2s var(--ease-out); }
.site-footer__cookies:hover { color: var(--lime); }

@media (prefers-reduced-motion: no-preference) {
  .consent.is-visible .consent__card { animation: consent-in 0.5s var(--ease-out) both; }
}
@keyframes consent-in { from { opacity: 0; translate: 0 24px; } }

@media (max-width: 560px) {
  .consent { right: 8px; bottom: 8px; left: 8px; }
  .consent__card { width: 100%; padding: 20px; border-radius: 20px; }
}

/* --------------------------------------------------------------------------
   Lopende band
   -------------------------------------------------------------------------- */

.marquee {
  position: relative; display: block; height: 260px; margin-top: -48px;
  background: var(--ink); overflow: clip; /* de schuine banden steken buiten de breedte uit */
}
.marquee__band {
  position: absolute; top: 50%; left: -6%; right: -6%;
  display: flex; padding: 20px 0; overflow: hidden;
  translate: 0 -50%;
}
.marquee__band--paper { rotate: 3.5deg; background: var(--paper); color: var(--paper-ink); }
.marquee__band--lime { rotate: -3.5deg; background: var(--lime); color: var(--on-lime); box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.6); }

.marquee__track { display: flex; width: max-content; }
.marquee__group {
  display: flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap;
  font: 700 clamp(1.75rem, 1rem + 2.4vw, 3.25rem)/1 var(--f-display); letter-spacing: -0.03em;
}
.marquee__group .icon { width: 0.62em; height: 0.62em; }

.marquee:focus-visible { outline-offset: -6px; }

@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 40s linear infinite; }
  .marquee__band--paper .marquee__track { animation-direction: reverse; animation-duration: 46s; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}

@keyframes marquee { to { translate: -50% 0; } }

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

.site-footer { background: var(--ink); color: var(--text); padding: 72px 40px 0; overflow: clip; }

.site-footer__inner {
  max-width: var(--max); margin-inline: auto; padding-bottom: 72px;
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px 32px;
  border-bottom: 1px solid var(--line);
}
.site-footer__brand img { width: 232px; height: auto; }
.site-footer__tagline { margin-top: 28px; font: 700 1.625rem/1.1 var(--f-display); letter-spacing: -0.03em; }
.site-footer__about { max-width: 36ch; margin: 12px 0 28px; color: var(--text-dim); line-height: 1.55; }

.site-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.875rem; font-weight: 600;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.social-link .icon { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--lime); color: var(--lime); }

.site-footer__col { font-style: normal; }
.site-footer__col h2 { margin: 6px 0 20px; font: 600 0.8125rem/1.2 var(--f-text); color: var(--text-dim); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer__col li { overflow-wrap: anywhere; }
.site-footer__col a { font-weight: 500; transition: color 0.2s var(--ease-out); }
.site-footer__col a:hover { color: var(--lime); }

.site-footer__bottom {
  max-width: var(--max); margin-inline: auto; padding: 24px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  font-size: 0.875rem; color: var(--text-dim);
}
.site-footer__top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); transition: color 0.2s var(--ease-out); }
.site-footer__top .icon { width: 16px; height: 16px; transition: translate 0.35s var(--ease-out); }
.site-footer__top:hover { color: var(--lime); }
.site-footer__top:hover .icon { translate: 0 -3px; }

/* Het woordmerk reuzegroot en gedempt, zoals de naam onderaan de referentie */
.site-footer__giant {
  max-width: 1440px; margin: 16px auto 0; aspect-ratio: 2018 / 192;
  background: linear-gradient(180deg, #313829 0%, #171a14 85%);
  -webkit-mask: url("/assets/img/logo-wit.webp") center top / contain no-repeat;
  mask: url("/assets/img/logo-wit.webp") center top / contain no-repeat;
  translate: 0 22%;
}

@media (max-width: 1000px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .marquee { height: 180px; margin-top: -32px; }
  .marquee__band { padding: 14px 0; }
  .site-footer { padding: 56px 16px 0; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-footer__giant { animation: giant-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}

@keyframes giant-rise { from { translate: 0 90%; } to { translate: 0 22%; } }

/* --------------------------------------------------------------------------
   Held responsief
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .bento {
    display: flex; align-items: flex-end; gap: 12px;
    max-width: none; margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 2px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento__cell { flex: 0 0 clamp(236px, 38vw, 300px); scroll-snap-align: start; }
  .bento__cell--feature { flex-basis: clamp(272px, 48vw, 360px); }
}

@media (max-width: 560px) {
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .wordmark img { height: 17px; }
}

/* --------------------------------------------------------------------------
   Scrollgedreven beweging (CSS, buiten de hoofdthread)
   -------------------------------------------------------------------------- */

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .browser__shot {
      animation: site-scroll linear both;
      animation-timeline: scroll(root);
      animation-range: 0 120vh;
    }
  }

  @media (prefers-reduced-motion: no-preference) and (min-width: 1101px) {
    .bento__cell {
      animation: cell-rise linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    .hero__copy {
      animation: copy-recede linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80vh;
    }
  }
}

@keyframes site-scroll { to { translate: 0 calc(-100% + 100cqh); } }
@keyframes cell-rise { to { translate: 0 calc(var(--speed) * -1px); } }
@keyframes copy-recede { to { opacity: 0.15; translate: 0 -96px; scale: 0.96; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   404, bedankpagina, reactietijd en de vaste balk op mobiel
   -------------------------------------------------------------------------- */

.notfound__code { margin: 0 0 6px; font: 700 clamp(3rem, 2rem + 4vw, 5.5rem)/1 var(--f-display); letter-spacing: -0.04em; color: rgb(16 19 14 / 0.14); }
.notfound__en { max-width: 60ch; margin-top: 10px; font-size: 0.9375rem; color: var(--paper-dim); }
.notfound__heading { margin: 64px 0 0; font: 700 1.375rem/1.2 var(--f-display); letter-spacing: -0.025em; }
.notfound .place-links__grid { margin-top: 20px; }

.thanks__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 22px;
  border-radius: 50%; background: var(--lime); color: var(--ink);
}
.thanks__mark .icon { width: 28px; height: 28px; }
.thanks .guide__answer { margin-top: 28px; }

.contact__promise { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 600; }
.contact__promise .icon { flex: none; color: var(--lime); }

/* Vaste belbalk: alleen op de telefoon, en niet terwijl de cookiemelding open staat */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; inset: auto 0 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(11 13 10 / 0.92); backdrop-filter: blur(12px);
    border-top: 1px solid rgb(236 238 231 / 0.14);
  }
  .sticky-cta .btn { width: 100%; justify-content: center; padding-inline: 12px; }
  body { padding-bottom: 78px; }
  body:has(.consent:not([hidden])) .sticky-cta { display: none; }
}

/* Case study onder elke projectkaart */
.project__story { max-width: 62ch; margin: 16px 0 0; font-size: 0.9375rem; line-height: 1.65; color: var(--paper-dim); }
@media (max-width: 760px) { .project__story { margin-top: 12px; } }

/* Honeypot: onzichtbaar voor mensen, zichtbaar voor bots.
   Het verbergen staat ook inline op het element zelf, zodat het veld nooit
   zichtbaar wordt als dit stijlbestand later laadt of uit cache komt. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Twee lijstblokken onder elkaar op de overzichtspagina */
.place-links + .place-links { padding-top: 56px; }
@media (max-width: 760px) { .place-links + .place-links { padding-top: 44px; } }

/* Toelichting onder een lijstblok */
.place__text--note { margin-top: 32px; font-size: 0.9375rem; }
