/* iDesi Media – site styles */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html, body { background: #000; color: #fff; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; }
/* the hidden attribute always wins over display rules (e.g. the form after sending) */
[hidden] { display: none !important; }

:root {
  --bg: #000;
  --fg: #fff;
  --accent: #9d8bff;
  --ink: #0b0b14; /* dark text on gradient fills */
  --grad: linear-gradient(100deg, #a48dff 0%, #6f8bff 45%, #4ee3ff 100%);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --pad-x: clamp(20px, 6.95vw, 120px);
}

html, body {
  height: 100%;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg);
}

#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
#scene.dragging { cursor: grabbing; }

.ui { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.ui a, .ui button { pointer-events: auto; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: absolute;
  top: clamp(24px, 4.7vh, 40px);
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
}
/* logo image scales smoothly from phone to large desktop */
.logo-img { display: block; height: clamp(19px, 1.1vw + 14px, 27px); width: auto; }

.nav-links { display: flex; gap: clamp(20px, 3.4vw, 52px); list-style: none; }
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Arrows ---------- */
.arrows {
  position: absolute;
  top: 18.9%;
  left: 76.7%;
  display: flex;
  gap: 32px;
  transform: translate(-19px, -50%);
}
.arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--fg);
  background: transparent;
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.arrow svg { width: 18px; height: 18px; }
.arrow:hover { border-color: var(--fg); }

/* ---------- Dots ---------- */
.dots {
  position: absolute;
  right: calc(var(--pad-x) - 7px);
  top: 49.4%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 33px;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--fg);
  background: var(--fg);
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.dot:hover { transform: scale(1.2); }
.dot[aria-current="true"] { background: transparent; border-color: var(--accent); }

/* ---------- Swapping slide copy ---------- */
.swap { transition: opacity .45s ease, transform .45s ease; }
.swapping .swap { opacity: 0; transform: translateY(10px); }

/* ---------- Bottom-left tagline ---------- */
.tagline {
  position: absolute;
  left: var(--pad-x);
  bottom: clamp(40px, 7.5vh, 70px);
  max-width: 30ch;
  font-size: clamp(24px, 2.45vw, 40px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.tagline strong { font-weight: 700; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- CTA + line + counter ---------- */
.cta-row {
  position: absolute;
  left: 45.6%;
  right: var(--pad-x);
  /* centre the row on the tagline: its bottom + half its two lines, minus half the number's height */
  bottom: calc(clamp(40px, 7.5vh, 70px) + 1.2 * clamp(24px, 2.45vw, 40px) - 0.45 * clamp(110px, 12.5vw, 220px));
  display: flex;
  align-items: center;
}
.cta {
  flex: none;
  padding: 0 18px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, .85);
  border-radius: 6px;
  background: rgba(0, 0, 0, .15);
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, opacity .45s ease, transform .45s ease;
}
.cta svg { width: 16px; height: 16px; }
.cta:hover { border-color: var(--accent); }
.cta-line { flex: 1; height: 1.5px; background: rgba(255, 255, 255, .8); min-width: 40px; }
.count {
  flex: none;
  margin-left: clamp(14px, 1.6vw, 26px);
  padding-right: .06em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(110px, 12.5vw, 220px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  user-select: none;
  font-variant-numeric: tabular-nums;
}
.swapping .count { opacity: 0; transform: translateY(14%); }

/* ---------- Responsive ---------- */
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  /* sit a fixed distance below the menu bar, whatever the screen height */
  .arrows { left: auto; right: var(--pad-x); top: calc(clamp(24px, 4.7vh, 40px) + 96px); transform: none; gap: 14px; }
  .tagline { bottom: clamp(150px, 20vh, 220px); }
  .cta-row { left: var(--pad-x); right: var(--pad-x); bottom: 28px; }
  .count { font-size: clamp(96px, 17vw, 150px); }
}
@media (max-width: 640px) {
  .dots { gap: 20px; right: 16px; }
  .dot { width: 10px; height: 10px; }
  .count { font-size: clamp(80px, 22vw, 104px); }
}
@media (prefers-reduced-motion: reduce) {
  .swap, .cta, .count, .nav-links a::after { transition: none !important; }
}

/* =========================================================
   Over ons: manifesto + "alles onder één dak" panel
   ========================================================= */
.about {
  position: relative;
  background: var(--bg);
  padding: clamp(110px, 14vw, 200px) var(--pad-x) clamp(90px, 11vw, 160px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .76);
}
.eyebrow::after { content: ''; width: 48px; height: 1px; background: var(--grad); }

.statement {
  max-width: 21ch;
  margin: 34px auto 0;
  font-size: clamp(28px, 3.65vw, 54px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-align: center;
  color: #6b6b6b;
}
.about > .eyebrow { justify-content: center; }
.about > .eyebrow::before { content: ''; width: 48px; height: 1px; background: var(--grad); }
.statement .w { transition: color .15s linear, opacity .15s linear; }
.statement .w.acc {
  padding-bottom: .12em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  padding-right: .04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Shared bits ---------- */
.card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent; border-image: var(--grad) 1;
  padding-bottom: 3px;
}
.text-link svg { width: 15px; height: 15px; transition: transform .3s; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Wat we doen: dienstenlijst als index ---------- */
.wwd { margin-top: clamp(110px, 13vw, 190px); scroll-margin-top: clamp(80px, 9vw, 130px); }
.wwd-head h2 {
  margin-top: 22px;
  max-width: 14ch;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: .94;
  font-weight: 800;
  letter-spacing: -0.038em;
}
.wwd-head h2 span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.wwd-list { list-style: none; margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid rgba(255, 255, 255, .16); }
.wwd-list li { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.wwd-list a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 56px;
  align-items: center;
  gap: 24px;
  padding: clamp(26px, 3vw, 40px) 0;
  color: var(--fg);
  text-decoration: none;
}
/* purple-blue band sweeps in from the left on hover */
.wwd-list a::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--pad-x) * -1);
  z-index: -1;
  background: linear-gradient(90deg, rgba(111, 139, 255, .55), rgba(111, 139, 255, .12));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.wwd-list a:hover::before, .wwd-list a:focus-visible::before { transform: scaleX(1); }
.wwd-list .n { font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; transition: color .4s; }
.wwd-list .t {
  font-size: clamp(30px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.wwd-list .d { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .76); max-width: 40ch; transition: color .4s; }
.wwd-list .go {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: background .4s, color .4s, border-color .4s, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.wwd-list .go svg { width: 20px; height: 20px; }
.wwd-list a:hover .n { color: #fff; }
.wwd-list a:hover .t { transform: translateX(14px); }
.wwd-list a:hover .d { color: rgba(255, 255, 255, .9); }
.wwd-list a:hover .go { background: #fff; color: #000; border-color: #fff; transform: rotate(45deg); }

.wwd-foot {
  margin-top: clamp(56px, 6vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.wwd-quote .stars { letter-spacing: 2px; }
.wwd-quote blockquote { margin-top: 14px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; max-width: 34ch; }
.wwd-quote figcaption { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .68); }
.wwd-cta { justify-self: end; text-align: right; }
.wwd-cta p { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.wwd-cta .mail-btn { margin-top: 18px; text-decoration: none; }

/* reveal on enter */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .wwd-list a { grid-template-columns: 30px minmax(0, 1fr) 42px; gap: 10px 14px; }
  .wwd-list .t { font-size: clamp(26px, 7.4vw, 48px); }
  .wwd-list .d { grid-column: 2 / 3; grid-row: 2; }
  .wwd-list .go { grid-column: 3; grid-row: 1 / span 2; width: 42px; height: 42px; }
  .wwd-foot { grid-template-columns: 1fr; }
  .wwd-cta { justify-self: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wwd-list a::before, .wwd-list .t, .wwd-list .go { transition: none; }
}

/* =========================================================
   Werk: featured projects + marquee of all clients
   ========================================================= */
.work {
  position: relative;
  background: var(--bg);
  padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 11vw, 160px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.work-head {
  padding: 0 var(--pad-x);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.work-head h2 {
  margin-top: 22px;
  font-size: clamp(48px, 7.6vw, 128px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -0.038em;
}
.work-head h2 span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.work-aside { max-width: 34ch; padding-bottom: 10px; }
.work-aside p { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .8); }

.projects {
  list-style: none;
  margin-top: clamp(56px, 7vw, 100px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 3.5vw, 56px);
  row-gap: clamp(56px, 6vw, 90px);
}
/* editorial stagger: the right column sits lower */
.projects li:nth-child(even) { transform: translateY(clamp(40px, 7vw, 120px)); }
.projects li:nth-child(even).reveal:not(.in) { transform: translateY(calc(clamp(40px, 7vw, 120px) + 28px)); }

.project { display: block; color: var(--fg); text-decoration: none; }
.shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, .12);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  background: #141414;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.shot-bar span {
  margin-left: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, .64);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.shot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .5s ease;
  filter: saturate(.9);
}
.visit {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.visit svg { width: 14px; height: 14px; }
.project:hover .shot-img img, .project:focus-visible .shot-img img { transform: scale(1.045); filter: saturate(1); }
.project:hover .visit, .project:focus-visible .visit { opacity: 1; transform: none; }

.project-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  margin-top: 20px;
}
.project-meta .num { font-size: 13px; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.project-meta h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; letter-spacing: -0.02em; }
.project-meta .what { font-size: 13px; color: rgba(255, 255, 255, .72); text-align: right; }
.project-meta .sector {
  grid-column: 2 / -1;
  margin-top: -8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .64);
}

/* ---------- Marquee with every client ---------- */
.clients {
  margin-top: clamp(140px, 15vw, 240px);
}
.clients-head {
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.marquee {
  margin-top: 34px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; }
.marquee li {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  padding-right: clamp(28px, 3vw, 48px);
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .5);
  transition: color .3s;
}
.marquee li:hover { color: #fff; }
.marquee li::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Reviews
   ========================================================= */
.reviews {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(90px, 11vw, 160px) var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.reviews-head h2 {
  margin-top: 22px;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: .94;
  font-weight: 800;
  letter-spacing: -0.038em;
}
.reviews-head h2 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.score { display: flex; align-items: center; gap: 16px; padding-bottom: 10px; }
.score .stars { font-size: 22px; letter-spacing: 3px; }
.score p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .76); }
.score p strong { color: var(--fg); font-weight: 600; }
.score a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* one big quote at a time */
.rv-stage {
  position: relative;
  margin-top: clamp(56px, 7vw, 100px);
  display: grid;
  min-height: clamp(260px, 30vw, 380px);
}
.rv-stage::before {
  content: '“';
  position: absolute;
  top: -.32em;
  left: -.04em;
  font-size: clamp(200px, 26vw, 420px);
  line-height: 1;
  font-weight: 800;
  color: rgba(157, 139, 255, .14);
  pointer-events: none;
}
.rv-quote {
  grid-area: 1 / 1;
  position: relative;
  align-self: center;
  padding-left: clamp(0px, 8vw, 140px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .7s;
}
.rv-quote.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .7s ease .1s, transform .7s cubic-bezier(.2, .7, .2, 1) .1s, visibility 0s;
}
.rv-quote blockquote {
  max-width: 24ch;
  font-size: clamp(28px, 3.9vw, 60px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.rv-quote blockquote em { padding-bottom: .12em; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; padding-right: .04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rv-quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .76); }
.rv-quote figcaption b { color: var(--fg); font-weight: 600; }
.rv-quote figcaption::before { content: ''; width: 36px; height: 1px; background: var(--accent); }

/* reviewer tabs with a progress line */
.rv-tabs {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(14px, 2vw, 28px);
}
.rv-tabs button {
  position: relative;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: none;
  color: rgba(255, 255, 255, .64);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .3s;
}
.rv-tabs button b { display: block; font-size: 16px; font-weight: 600; }
.rv-tabs button span { display: block; margin-top: 4px; font-size: 13px; }
.rv-tabs button::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--grad);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.rv-tabs button:hover { color: rgba(255, 255, 255, .8); }
.rv-tabs button[aria-selected="true"] { color: var(--fg); }

/* =========================================================
   Contact + footer
   ========================================================= */
.contact-section {
  position: relative;
  background: var(--bg);
  padding: clamp(110px, 13vw, 200px) var(--pad-x) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.contact-section h2, .contact-page h1 {
  margin-top: 26px;
  font-size: clamp(54px, 9.4vw, 160px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -0.042em;
}
.contact-section h2 span, .contact-page h1 span {
  display: block;
  margin-left: .06em; /* optical: the italic p leans left, line its body up with the edge */
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.contact-grid {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-lead p { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .84); max-width: 34ch; }
.mail-btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 60px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.mail-btn svg { width: 18px; height: 18px; transition: transform .3s; }

.mail-btn:hover svg { transform: translate(3px, -3px); }

.channels { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .16); }
.channels li { padding: 26px 24px 0 0; }
.channels li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .16); }
.channels .card-label { display: block; }
.channels a, .channels button {
  display: inline-block;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  font-family: inherit;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  background-image: var(--grad);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s ease;
}
.channels a:hover, .channels button:hover { background-size: 100% 1px; }
.channels .value {
  display: block;
  margin-top: 14px;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.channels small { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .68); }


@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .channels { grid-template-columns: 1fr; }
  .channels li, .channels li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
}

@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; }
  .projects li:nth-child(even),
  .projects li:nth-child(even).reveal.in { transform: none; }
  .projects li:nth-child(even).reveal:not(.in) { transform: translateY(28px); }
  .project-meta { grid-template-columns: auto 1fr; }
  .project-meta .what { grid-column: 2; text-align: left; margin-top: -8px; }
  .visit { opacity: 1; transform: none; height: 30px; padding: 0 12px; font-size: 11px; right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee ul { flex-wrap: wrap; row-gap: 12px; padding: 0 var(--pad-x); }
  .marquee ul[aria-hidden] { display: none; }
  .shot-img img, .visit { transition: none; }
}
/* =========================================================
   Button hover: colour floods in from where the cursor enters,
   drains out where it leaves; buttons lean slightly toward the cursor
   ========================================================= */
.fx { position: relative; overflow: hidden; isolation: isolate; }
.fx::before {
  content: '';
  position: absolute;
  left: var(--fx-x, 50%);
  top: var(--fx-y, 50%);
  width: var(--fx-d, 320px);
  height: var(--fx-d, 320px);
  border-radius: 50%;
  background: var(--fx-fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
  z-index: -1;
  pointer-events: none;
}
.fx:hover::before, .fx:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.fx:hover, .fx:focus-visible { color: var(--fx-ink); }
.fx svg { position: relative; }

.cta.fx { --fx-fill: var(--grad); --fx-ink: var(--ink);
  transition: color .35s ease, border-color .35s ease, opacity .45s ease, transform .45s ease, translate .45s cubic-bezier(.2, .7, .2, 1); }
.mail-btn.fx { --fx-fill: #fff; --fx-ink: var(--ink);
  transition: color .35s ease, translate .45s cubic-bezier(.2, .7, .2, 1); }
.arrow.fx { --fx-fill: #fff; --fx-ink: #000;
  transition: color .35s ease, border-color .35s ease, translate .45s cubic-bezier(.2, .7, .2, 1); }

/* "Bezoek website" pill: arrow nudges when the project is hovered */
.visit svg { transition: transform .35s ease; }
.project:hover .visit svg { transform: translate(2px, -2px); }

@media (prefers-reduced-motion: reduce) {
  .fx::before { transition: none; }
  .fx { translate: none !important; }
}

/* =========================================================
   Contact form
   ========================================================= */
.contact-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); }
.contact-side .contact-lead { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .84); }
.contact-side .channels { margin-top: 34px; grid-template-columns: 1fr; border-top: 0; }
.contact-side .channels li,
.contact-side .channels li + li { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }

.cf { display: grid; gap: 26px; }
.cf-set { border: 0; padding: 0; margin: 0; }
.cf-set legend, .cf-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .76);
}
.cf-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.cf-chips label { position: relative; cursor: pointer; }
.cf-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cf-chips span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  font-size: 14px;
  font-weight: 500;
  transition: background .25s, border-color .25s, color .25s;
}
.cf-chips label:hover span { border-color: rgba(255, 255, 255, .6); }
.cf-chips input:checked + span { background: var(--grad); border-color: transparent; color: var(--ink); }
.cf-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cf-field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.cf-field input, .cf-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  font-size: 17px;
  padding: 10px 0 12px;
  transition: border-color .25s;
}
.cf-field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(255, 255, 255, .52); }
.cf-field input:hover, .cf-field textarea:hover { border-bottom-color: rgba(255, 255, 255, .55); }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.cf-field small { font-size: 12px; color: rgba(255, 255, 255, .64); }

.cf-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cf-som { min-width: 220px; }
.cf-som label { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; color: var(--fg); }
.cf-som-row { display: flex; align-items: center; gap: 10px; }
.cf-som-row input { width: 90px; }
.cf-som-new {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: none; color: var(--fg);
  display: grid; place-items: center; cursor: pointer; transition: border-color .25s, transform .4s;
}
.cf-som-new svg { width: 16px; height: 16px; }
.cf-som-new:hover { border-color: var(--accent); transform: rotate(-90deg); }
.cf-submit { margin-top: 0; }
.cf-submit:disabled { opacity: .6; cursor: progress; }

.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-status:empty { display: none; }
.cf-status { font-size: 14px; color: #f0b4a8; }
.cf-privacy { font-size: 13px; color: rgba(255, 255, 255, .64); }
.cf-privacy a { color: rgba(255, 255, 255, .86); }

.is-invalid input, .is-invalid textarea { border-bottom-color: #e58f7d; }
.is-invalid .cf-chips span { border-color: rgba(229, 143, 125, .6); }
.cf-err { font-size: 13px; color: #f0b4a8; }

.cf-done { border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: clamp(28px, 4vw, 48px); }
.cf-done:focus { outline: none; }
.cf-done h3 { margin-top: 18px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.03em; }
.cf-done p:last-child { margin-top: 12px; color: rgba(255, 255, 255, .84); line-height: 1.6; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cf-row { grid-template-columns: 1fr; }
  .cf-bottom { flex-direction: column; align-items: stretch; }
  .cf-submit { justify-content: center; }
}

/* =========================================================
   Subpages: werk, privacybeleid, 404
   ========================================================= */
.site-top {
  position: absolute;
  top: clamp(24px, 4.7vh, 40px);
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.sub main { display: block; }

.page-work { padding-top: clamp(150px, 18vw, 230px); border-top: 0; }
.work-head h1 {
  margin-top: 22px;
  font-size: clamp(48px, 7.6vw, 128px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -0.038em;
}
.work-head h1 span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.filters-row {
  margin-top: clamp(48px, 6vw, 80px);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.filters button:hover { border-color: rgba(255, 255, 255, .6); }
.filters button[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: var(--ink); }
.filter-count { font-size: 14px; color: rgba(255, 255, 255, .72); }

.projects.projects-grid {
  margin-top: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: clamp(44px, 5vw, 70px);
}
.projects.projects-grid li:nth-child(even),
.projects.projects-grid li:nth-child(even).reveal.in { transform: none; }
.projects.projects-grid li:nth-child(even).reveal:not(.in) { transform: translateY(28px); }
.projects-grid .project-meta h3 { font-size: clamp(18px, 1.35vw, 21px); }
.projects-grid .project-meta { grid-template-columns: auto 1fr; }
.projects-grid .project-meta .what { grid-column: 2; text-align: left; margin-top: -8px; }
.projects li[hidden], .work-rows li[hidden] { display: none; }

.more-work { margin-top: clamp(90px, 10vw, 140px); padding: 0 var(--pad-x); }
.more-lead { margin-top: 18px; max-width: 56ch; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.work-rows { list-style: none; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.work-rows li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.work-rows a, .work-rows div {
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  color: var(--fg);
  text-decoration: none;
}
.row-name { font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -0.025em; transition: color .25s, transform .35s ease; }
.row-what { font-size: 14px; color: rgba(255, 255, 255, .72); }
.row-go svg { width: 20px; height: 20px; color: var(--accent); transition: transform .3s; }
.work-rows a:hover .row-name { color: var(--accent); transform: translateX(6px); }
.work-rows a:hover .row-go svg { transform: translate(3px, -3px); }

.cta-band { padding-top: clamp(64px, 8vw, 120px); border-top: 0; }

/* legal text */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(150px, 18vw, 230px) var(--pad-x) clamp(60px, 8vw, 110px);
  box-sizing: content-box;
}
.legal h1 { margin-top: 22px; font-size: clamp(44px, 6vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -0.038em; }
.legal-lead { margin-top: 30px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.legal h2 { margin-top: 52px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.legal p, .legal li { margin-top: 14px; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .84); }
.legal ul { padding-left: 20px; }
.legal li { margin-top: 6px; }
.legal a, .link-btn { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.legal-date { margin-top: 48px !important; font-size: 13px !important; color: rgba(255, 255, 255, .64) !important; }

/* 404 */
.not-found {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(150px, 18vw, 220px) var(--pad-x) 60px;
}
.not-found h1 { margin-top: 22px; font-size: clamp(48px, 8vw, 136px); line-height: .92; font-weight: 800; letter-spacing: -0.038em; }
.not-found h1 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.not-found > p { margin-top: 30px; max-width: 46ch; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .84); }
.nf-actions { margin-top: 36px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.nf-actions .mail-btn { margin-top: 0; text-decoration: none; }
.nf-actions .text-link { margin-top: 0; }

@media (max-width: 1100px) {
  .projects.projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .projects.projects-grid { grid-template-columns: 1fr; }
  .work-rows a, .work-rows div { grid-template-columns: 1fr 24px; gap: 4px 16px; }
  .row-what { grid-column: 1; grid-row: 2; }
  .row-go { grid-column: 2; grid-row: 1 / span 2; }
}

/* =========================================================
   Footer
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.footer {
  position: relative;
  margin-top: clamp(80px, 9vw, 130px);
  padding: clamp(48px, 5vw, 72px) 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
/* gradient accent along the top line */
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(80px, 14vw, 200px);
  height: 1px;
  background: var(--grad);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.footer-brand .logo-img { height: clamp(26px, 1.6vw + 18px, 36px); }
.footer-brand p {
  margin-top: 22px;
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.footer-brand p strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15em; padding-right: .05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.footer-col .card-label { margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a, .footer-col button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .86);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color .25s, transform .3s ease;
}
.footer-col a::before, .footer-col button::before {
  content: '';
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--grad);
  transition: width .3s ease, margin-right .3s ease;
}
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-col a:hover::before, .footer-col button:hover::before { width: 14px; margin-right: 8px; }

.footer-bottom {
  margin-top: clamp(56px, 6vw, 90px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .68);
}
.footer-bottom a { color: rgba(255, 255, 255, .84); text-decoration: none; transition: color .25s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-note { display: inline-flex; align-items: center; gap: 10px; }
.footer-note i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 0 rgba(157, 139, 255, .6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(157, 139, 255, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(157, 139, 255, 0); }
}
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.to-top svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: transform .35s ease, border-color .25s, background .25s, color .25s;
}
.to-top:hover svg { transform: translateY(-4px); border-color: transparent; background: var(--grad); color: var(--ink); }

@media (max-width: 980px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-note i { animation: none; }
}

@media (max-width: 760px) {
  .rv-tabs { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .rv-quote { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-quote, .rv-quote.is-active { transition: none; transform: none; }
}

/* =========================================================
   Dienstpagina's
   ========================================================= */
.svc-hero { padding: clamp(150px, 18vw, 230px) var(--pad-x) 0; }
.svc-hero h1 {
  margin-top: 22px;
  font-size: clamp(50px, 8.4vw, 140px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -0.042em;
}
.svc-hero h1 span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.svc-hero-row {
  margin-top: clamp(40px, 5vw, 70px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.svc-lead { max-width: 52ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, .86); }
.svc-hero-row .mail-btn, .svc-extra .mail-btn { margin-top: 0; text-decoration: none; }

.svc-block { padding: clamp(90px, 10vw, 150px) var(--pad-x) 0; }

.svc-features {
  list-style: none;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.svc-features li {
  padding: 34px 28px 38px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.svc-features li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.svc-features .n, .svc-steps .n { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.svc-features h3 { margin-top: 18px; font-size: clamp(21px, 1.7vw, 26px); font-weight: 700; letter-spacing: -0.025em; }
.svc-features p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .76); }

.svc-extra {
  margin: clamp(80px, 9vw, 130px) var(--pad-x) 0;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 22px;
  border: 1px solid rgba(157, 139, 255, .4);
  background: radial-gradient(120% 140% at 0% 0%, rgba(111, 139, 255, .35), transparent 60%), #0d0b1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.svc-extra h2 { margin-top: 16px; font-size: clamp(32px, 3.6vw, 56px); font-weight: 800; letter-spacing: -0.034em; line-height: 1; }
.svc-extra p:not(.eyebrow) { margin-top: 14px; max-width: 52ch; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .84); }

.svc-steps { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.svc-steps li { position: relative; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.svc-steps li::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--grad); }
.svc-steps b { display: block; margin-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.svc-steps p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .76); }

.svc-work-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.svc-work-head .text-link { margin-top: 0; }
.svc-work .projects { padding: 0; }

.svc-faq { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 980px; }
.svc-faq details { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.svc-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary span {
  position: relative;
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: transform .35s ease, background .25s, border-color .25s;
}
.svc-faq summary span::before, .svc-faq summary span::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.svc-faq summary span::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .25s; }
.svc-faq details[open] summary span { transform: rotate(180deg); background: var(--grad); border-color: transparent; color: var(--ink); }
.svc-faq details[open] summary span::after { opacity: 0; }
.svc-faq summary:hover span { border-color: var(--accent); }
.svc-faq details p { padding: 0 60px 28px 0; max-width: 70ch; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .84); }
.svc-faq details p a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: 3px; }

.svc-others ul { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.svc-others a {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24);
  color: var(--fg); text-decoration: none; font-size: 16px; font-weight: 600;
  transition: border-color .25s, background .25s;
}
.svc-others a svg { width: 16px; height: 16px; transition: transform .3s; }
.svc-others a:hover { border-color: var(--accent); background: rgba(111, 139, 255, .25); }
.svc-others a:hover svg { transform: translateX(4px); }

@media (max-width: 980px) {
  .svc-features { grid-template-columns: 1fr 1fr; }
  .svc-features li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .svc-features li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .16); }
  .svc-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-features { grid-template-columns: 1fr; }
  .svc-features li:nth-child(even) { padding-left: 0; border-left: 0; }
  .svc-steps { grid-template-columns: 1fr; }
  .svc-faq details p { padding-right: 0; }
  .svc-work-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Pakketten (/pakketten/)
   ========================================================= */
.pk-block { padding: clamp(70px, 8vw, 120px) var(--pad-x) 0; }
.pk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.pk-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.2vw, 34px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #0d0c14, #060609);
  transition: border-color .4s, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.pk-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 50% 0%, rgba(157, 139, 255, .22), transparent 65%);
  opacity: 0;
  transition: opacity .5s;
}
.pk-card:hover { border-color: rgba(157, 139, 255, .45); transform: translateY(-4px); }
.pk-card:hover::before { opacity: 1; }
.pk-card.is-best {
  border-color: rgba(157, 139, 255, .7);
  background: linear-gradient(180deg, #120f24, #07060c);
  box-shadow: 0 0 0 1px rgba(157, 139, 255, .15), 0 30px 80px -30px rgba(111, 139, 255, .6);
}
.pk-card.is-best::before { opacity: 1; }
.pk-flag {
  position: absolute;
  top: -13px;
  left: clamp(26px, 2.2vw, 34px);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pk-name { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.pk-for { margin-top: 10px; min-height: 2.9em; font-size: 16px; font-weight: 600; line-height: 1.45; }
.pk-price {
  margin-top: 22px;
  font-size: clamp(50px, 4.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pk-price .cur { font-size: .38em; font-weight: 600; vertical-align: .95em; margin-right: 4px; letter-spacing: 0; }
.pk-vat { margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .68); }
.pk-desc { margin-top: 18px; min-height: 4.8em; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .8); }

.pk-pages { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pk-pages summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.pk-pages summary::-webkit-details-marker { display: none; }
.pk-pages strong { font-size: 16px; font-weight: 700; width: max-content; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pk-pages summary span { font-size: 13px; color: rgba(255, 255, 255, .72); transition: color .25s; }
.pk-pages summary span::after { content: ' +'; }
.pk-pages[open] summary span::after { content: ' –'; }
.pk-pages summary:hover span { color: #fff; }
.pk-pages p { padding: 0 0 16px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .84); }
.pk-pages em { font-style: normal; color: rgba(255, 255, 255, .64); }

.pk-kop { margin-top: 22px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .68); }
.pk-feats { list-style: none; margin-top: 8px; flex: 1; }
.pk-feats li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
}
.pk-feats svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--accent); }

.pk-card > .mail-btn, .pk-btn { margin-top: 28px; justify-content: space-between; text-decoration: none; }
.pk-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background .3s, border-color .3s, color .3s;
}
.pk-btn svg, .pk-card > .mail-btn svg { width: 17px; height: 17px; transition: transform .3s; }
.pk-btn:hover { background: #fff; border-color: #fff; color: #000; }
.pk-btn:hover svg, .pk-card > .mail-btn:hover svg { transform: translateX(4px); }

/* vergelijkingstabel */
.pk-compare { margin-top: clamp(40px, 5vw, 64px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; }
.pk-compare summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .3s;
}
.pk-compare summary::-webkit-details-marker { display: none; }
.pk-compare summary:hover { background: rgba(111, 139, 255, .18); }
.pk-compare summary i {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: transform .3s, background .3s, border-color .3s;
}
.pk-compare summary i::before, .pk-compare summary i::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.pk-compare summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .25s; }
.pk-compare[open] summary i { transform: rotate(180deg); background: var(--grad); border-color: transparent; color: var(--ink); }
.pk-compare[open] summary i::after { opacity: 0; }
.pk-scroll { overflow-x: auto; border-top: 1px solid rgba(255, 255, 255, .12); }
.pk-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.pk-table th, .pk-table td { padding: 15px 20px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pk-table tbody tr:last-child th, .pk-table tbody tr:last-child td { border-bottom: 0; }
.pk-table tbody th { text-align: left; font-weight: 500; color: rgba(255, 255, 255, .86); }
.pk-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .84); }
.pk-table .is-best { background: rgba(111, 139, 255, .14); color: #fff; }
.pk-table thead .is-best { color: var(--accent); }
.pk-table tbody tr:hover th, .pk-table tbody tr:hover td { background-color: rgba(255, 255, 255, .03); }
.pk-table .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: var(--ink); }
.pk-table .yes svg { width: 14px; height: 14px; }
.pk-table .no { color: rgba(255, 255, 255, .5); }

.pk-custom { margin-top: clamp(60px, 7vw, 100px); }

@media (max-width: 1180px) {
  .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
}
@media (max-width: 680px) {
  .pk-grid { grid-template-columns: 1fr; }
  .pk-for, .pk-desc { min-height: 0; }
  .pk-table th, .pk-table td { padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pk-card, .pk-card:hover { transition: none; transform: none; }
}

/* Onderhoudspakketten (op /diensten/onderhoud/) */
.pk-onderhoud { padding-top: clamp(90px, 10vw, 150px); }
.pk-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.pk-head h2 {
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: .95;
}
.pk-head h2 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p, j) inside the gradient */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.pk-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #0b0a12;
}
.pk-toggle[hidden] { display: none; }
.pk-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .84);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.pk-toggle button:hover { color: #fff; }
.pk-toggle button[aria-pressed="true"] { background: var(--grad); color: var(--ink); }
.pk-toggle button span {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(157, 139, 255, .22);
  color: #dcd5ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pk-toggle button[aria-pressed="true"] span { background: var(--ink); color: #fff; }

.pk-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-price .per { margin-left: 6px; font-size: .3em; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .72); }
.pk-alt { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(111, 139, 255, .16); font-size: 14px; font-weight: 600; color: #dcd5ff; }
.pk-onderhoud .pk-kop { margin-top: 26px; }
.pk-note { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .72); }

@media (max-width: 980px) {
  .pk-grid.is-3 { grid-template-columns: 1fr; max-width: 560px; row-gap: 34px; }
}
@media (max-width: 480px) {
  .pk-toggle { width: 100%; }
  .pk-toggle button { flex: 1; justify-content: center; gap: 6px; padding: 0 10px; font-size: 14px; }
  .pk-toggle button span { padding: 4px 7px; font-size: 10px; }
}
.pk-toggle button span { white-space: nowrap; }
@media (max-width: 480px) { .pk-toggle button { flex: 1 1 auto; } }
@media (max-width: 360px) {
  .pk-toggle button { padding: 0 8px; font-size: 13px; gap: 5px; }
  .pk-toggle button span { padding: 3px 6px; font-size: 9px; letter-spacing: 0; }
}

/* =========================================================
   Homepage werk: desktop en telefoon per project
   ========================================================= */
.dprojects { row-gap: clamp(70px, 8vw, 120px); }
.dproj-devices { position: relative; isolation: isolate; padding: 0 11% 9% 0; }
.dproj-devices::before {
  content: '';
  position: absolute;
  inset: 12% 14% 4% 6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(157, 139, 255, .28), transparent 70%);
  filter: blur(28px);
  opacity: .6;
  transition: opacity .6s ease;
}
.dproj:hover .dproj-devices::before, .dproj:focus-visible .dproj-devices::before { opacity: 1; }
.dproj-devices .dev-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.dproj:hover .dev-phone, .dproj:focus-visible .dev-phone { transform: translateY(-10px); }
.dproj .visit { right: auto; left: 18px; }

.dev-browser {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 90px -40px rgba(0, 0, 0, .9);
}
.dev-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; background: #161616; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.dev-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.dev-bar span { margin-left: 10px; font-size: 12px; color: rgba(255, 255, 255, .68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-browser .screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.dev-phone {
  position: relative;
  padding: 6px;
  border-radius: 30px;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .95), inset 0 0 0 2px #1d1d1d;
}
.dev-phone::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 12px; left: 50%;
  width: 30%; height: 14px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.dev-phone .screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 24px; overflow: hidden; background: #fff; }
.screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

@media (max-width: 760px) {
  .dproj-devices .dev-phone { border-radius: 22px; padding: 4px; }
  .dproj-devices .dev-phone .screen { border-radius: 18px; }
  .dproj-devices .dev-phone::before { top: 8px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .dproj-devices .dev-phone { transition: none; }
  .dproj:hover .dev-phone, .dproj:focus-visible .dev-phone { transform: none; }
}

/* =========================================================
   Sticky menu: floats as a liquid-glass pill once you scroll
   ========================================================= */
/* keep anchor targets clear of the fixed menu */
.work { scroll-margin-top: 40px; }

.topbar {
  position: fixed;
  z-index: 100;
  top: clamp(24px, 4.7vh, 40px);
  left: var(--pad-x);
  right: var(--pad-x);
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    top .55s cubic-bezier(.2, .7, .2, 1),
    left .55s cubic-bezier(.2, .7, .2, 1),
    right .55s cubic-bezier(.2, .7, .2, 1),
    padding .55s cubic-bezier(.2, .7, .2, 1),
    background-color .45s ease,
    border-color .45s ease,
    box-shadow .45s ease,
    backdrop-filter .45s ease;
}
/* soft specular highlight + a hint of the brand gradient along the rim */
.topbar::before, .topbar::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease;
}
.topbar::before {
  background:
    radial-gradient(120% 140% at 12% -30%, rgba(255, 255, 255, .22), transparent 45%),
    radial-gradient(80% 120% at 92% 130%, rgba(78, 227, 255, .10), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
}
.topbar::after {
  padding: 1px;
  background: linear-gradient(100deg, rgba(164, 141, 255, .55), rgba(255, 255, 255, .12) 35%, rgba(255, 255, 255, .06) 60%, rgba(78, 227, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.topbar.is-stuck {
  top: 12px;
  left: max(12px, calc(var(--pad-x) - 24px));
  right: max(12px, calc(var(--pad-x) - 24px));
  padding: 15px 24px;
  background-color: rgba(18, 16, 30, .38);
  border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    0 14px 40px -12px rgba(0, 0, 0, .75);
}
.topbar.is-stuck::before, .topbar.is-stuck::after { opacity: 1; }
/* no glass support: a solid, slightly see-through bar */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar.is-stuck { background-color: rgba(14, 12, 24, .92); }
}
@media (max-width: 640px) {
  .topbar.is-stuck, .topbar.menu-open { padding: 13px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar, .topbar::before, .topbar::after { transition: none; }
}

/* =========================================================
   Menu bar: links, call / mail buttons, CTA, phone menu
   ========================================================= */
.topbar { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; }
.topnav { justify-self: center; }
.topbar .nav-links a { text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.topnav-cta { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; }

.top-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.top-ic svg { width: 17px; height: 17px; }
.top-ic:hover, .top-ic:focus-visible { background: var(--grad); border-color: transparent; color: var(--ink); transform: translateY(-1px); }
.tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(20, 18, 34, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity .2s, transform .2s;
}
.top-ic:hover .tip, .top-ic:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }

.top-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-left: 4px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s, box-shadow .3s;
}
.top-cta svg { width: 15px; height: 15px; transition: transform .3s; }
.top-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(139, 108, 255, .8); }
.top-cta:hover svg { transform: translate(2px, -2px); }

.top-burger { display: none; }

/* glass look also while the phone menu is open */
.topbar.menu-open {
  top: 12px;
  left: max(12px, calc(var(--pad-x) - 24px));
  right: max(12px, calc(var(--pad-x) - 24px));
  padding: 15px 24px;
  background-color: rgba(18, 16, 30, .5);
  border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}
.topbar.menu-open::before, .topbar.menu-open::after { opacity: 1; }

@media (max-width: 1180px) {
  .top-cta { display: none; }
}
@media (max-width: 900px) {
  .topbar { grid-template-columns: auto 1fr; }
  .top-actions { justify-self: end; }
  .top-burger {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
  }
  .top-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1.6px;
    border-radius: 2px;
    background: #fff;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .top-burger span:first-child { transform: translateY(-3.5px); }
  .top-burger span:last-child { transform: translateY(3.5px); }
  .top-burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .top-burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  .topnav {
    position: absolute;
    justify-self: stretch;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 14px 22px 22px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #0c0b14;
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 60px -20px rgba(0, 0, 0, .85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s;
  }
  .topbar.menu-open .topnav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
  .topnav .nav-links { flex-direction: column; gap: 0; }
  .topnav .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .topnav .nav-links a { display: block; padding: 15px 2px; font-size: 19px; font-weight: 600; letter-spacing: .08em; }
  .topnav .nav-links a::after { display: none; }
  .topnav .nav-links a[aria-current="page"] { color: var(--accent); }
  .topnav .topnav-cta { display: block; border-bottom: 0; padding-top: 18px; }
  .topnav .topnav-cta a { display: inline-flex; margin-top: 0; padding: 0 24px; height: 52px; font-size: 15px; letter-spacing: 0; text-transform: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topnav, .topbar.menu-open { background-color: rgba(14, 12, 24, .96); }
}
@media (prefers-reduced-motion: reduce) {
  .top-ic, .top-cta, .tip, .top-burger span, .topnav { transition: none !important; }
}

/* =========================================================
   New pages: /diensten/ and /contact/
   ========================================================= */
.wwd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.wwd-head .text-link { margin-bottom: 14px; }
.wwd-page .wwd-list { margin-top: 30px; }
.svc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc-duo .svc-extra { margin: 0; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.svc-duo .svc-extra h2 { font-size: clamp(30px, 3vw, 46px); }
.contact-page { padding-top: clamp(130px, 14vw, 200px); }
.foot-only { padding-top: 0; border-top: 0; }
/* the contact card below sets the gap, so the last block of a page adds none */
main > :last-child { padding-bottom: 0; margin-bottom: 0; }
@media (max-width: 900px) {
  .svc-duo { grid-template-columns: 1fr; }
}

/* Browser autofill: keep the dark field and white text instead of the light-blue fill */
.cf-field input:-webkit-autofill,
.cf-field input:-webkit-autofill:hover,
.cf-field input:-webkit-autofill:focus,
.cf-field textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #000 inset;
  box-shadow: 0 0 0 1000px #000 inset;
  transition: background-color 9999s ease-out 0s;
}
.cf-field input:-webkit-autofill:focus { box-shadow: 0 0 0 1000px #000 inset, 0 1px 0 0 var(--accent); }
.cf-field input:autofill { background: #000; color: #fff; }

/* =========================================================
   Homepage: werkwijze (sticky counter + steps on a rail)
   ========================================================= */
.proc {
  padding: clamp(90px, 11vw, 160px) var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.proc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 140px); }
.proc-sticky { position: sticky; top: clamp(120px, 17vh, 170px); }
.proc h2 {
  margin-top: 22px;
  font-size: clamp(40px, 4.8vw, 80px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.038em;
}
.proc h2 span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em; padding-bottom: .16em; margin-bottom: -.16em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.proc-counter { display: flex; align-items: flex-start; margin-top: clamp(36px, 6vh, 72px); line-height: 1; }
.proc-win { display: block; height: 1em; overflow: hidden; font-family: var(--serif); font-style: italic; font-size: clamp(110px, 10vw, 180px); letter-spacing: -0.02em; }
.proc-reel { display: flex; flex-direction: column; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.proc-reel span {
  display: block;
  height: 1em;
  padding-right: .08em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.proc-total { margin: .9em 0 0 14px; font-size: 15px; letter-spacing: .18em; color: rgba(255, 255, 255, .72); }
.proc-bar { margin-top: 26px; max-width: 340px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.proc-bar span { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--grad); transition: transform .3s linear; }
.proc-label { margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #c9c0ff; }

.psteps { list-style: none; position: relative; padding-left: 52px; }
.psteps::before, .psteps::after { content: ''; position: absolute; left: 6px; top: 8px; bottom: 0; width: 1px; }
.psteps::before { background: rgba(255, 255, 255, .12); }
.psteps::after { background: linear-gradient(180deg, #a48dff, #4ee3ff); transform-origin: top; transform: scaleY(var(--p, 0)); }
.pstep { position: relative; padding: clamp(56px, 11vh, 120px) 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pstep:first-child { padding-top: 0; }
.pstep:last-child { border-bottom: 0; padding-bottom: 0; }
.pstep-head { position: relative; display: flex; align-items: center; }
.pstep-dot {
  position: absolute;
  left: -52px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .35);
  transition: background .5s, border-color .5s, box-shadow .5s;
}
.pstep.is-done .pstep-dot { background: #6f8bff; border-color: transparent; }
.pstep.is-active .pstep-dot { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 6px rgba(139, 108, 255, .14), 0 0 22px rgba(139, 108, 255, .7); }
.pstep-idx { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.pstep h3 {
  margin-top: 18px;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.02;
}
.pstep p { max-width: 470px; margin-top: 18px; color: rgba(255, 255, 255, .76); font-size: 17px; line-height: 1.6; }
.pstep .pstep-out {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 7px 16px 7px 7px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  color: #ececec;
  font-size: 14px;
  line-height: 1.3;
}
.pstep-out span {
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(139, 108, 255, .18);
  color: #d6d0ff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .proc-grid { grid-template-columns: 1fr; gap: 48px; }
  .proc-sticky { position: static; }
  .proc-counter, .proc-bar, .proc-label { display: none; }
  .psteps { padding-left: 36px; }
  .pstep-dot { left: -36px; }
  .pstep { padding: 48px 0; }
  .pstep h3 { font-size: 30px; }
  .pstep .pstep-out { gap: 10px; font-size: 13.5px; border-radius: 22px; padding: 6px 14px 6px 6px; }
  .pstep-out span { font-size: 10px; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .proc-reel, .proc-bar span, .pstep-dot { transition: none; }
}


/* =========================================================
   Contact block at the bottom of the subpages: glowing card
   ========================================================= */
.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(40px, 7vw, 110px) clamp(26px, 6vw, 96px);
  border: 1px solid rgba(255, 255, 255, .1);
  background: #07060d;
}
.cta-card::before, .cta-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .75;
  pointer-events: none;
  animation: cta-drift 14s ease-in-out infinite alternate;
}
.cta-card::before { width: max(55%, 340px); left: -10%; top: -35%; background: radial-gradient(circle, #8b6cff, transparent 65%); }
.cta-card::after { width: max(50%, 320px); right: -12%; bottom: -45%; background: radial-gradient(circle, #4ee3ff, transparent 65%); animation-delay: -7s; }
@keyframes cta-drift { to { transform: translate(8%, 10%) scale(1.15); } }
.cta-card-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.cta-card h2 {
  margin-top: 22px;
  margin-left: 0;
  font-size: clamp(42px, 6vw, 100px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.cta-card h2 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 0 .06em .16em 0;
  margin-bottom: -.16em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.cta-card-side p { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 38ch; }
.cta-card-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-card-actions .mail-btn { margin-top: 0; text-decoration: none; }
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s;
}
.ghost-btn svg { width: 18px; height: 18px; }
.ghost-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); }
.cta-card-note { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.cta-card-note li::before { content: '✓'; margin-right: 8px; color: #b3a8ff; }
@media (max-width: 900px) {
  .cta-card-grid { grid-template-columns: 1fr; }
  .cta-card::before { left: -40%; top: -20%; }
  .cta-card::after { right: -45%; bottom: -25%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-card::before, .cta-card::after { animation: none; }
}

/* =========================================================
   Menu: Diensten dropdown
   ========================================================= */
.has-sub { position: relative; display: flex; align-items: center; gap: 4px; }
.sub-toggle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .3s ease; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  width: 330px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(14, 12, 24, .97);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 60px -18px rgba(0, 0, 0, .85);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s;
}
/* invisible bridge so the panel stays open while the mouse travels down */
.subnav::before { content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.has-sub:hover .subnav, .has-sub.open .subnav, .has-sub:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.has-sub.shut .subnav { opacity: 0; visibility: hidden; transform: translate(-50%, -6px); }
.subnav ul { list-style: none; }
.topbar .subnav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: background .2s;
}
.topbar .subnav a::after { display: none; }
.subnav a b { display: block; font-weight: 600; }
.subnav a span { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .76); }
.topbar .subnav a:hover, .topbar .subnav a:focus-visible { background: rgba(255, 255, 255, .08); }
.topbar .subnav .subnav-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 13px 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0 0 14px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #d6d0ff;
}
.subnav-all svg { width: 15px; height: 15px; }

/* phone menu: the services sit right under Diensten */
@media (max-width: 900px) {
  .topnav .has-sub { display: block; }
  .sub-toggle { display: none; }
  .topnav .subnav,
  .topnav .has-sub:hover .subnav,
  .topnav .has-sub:focus-within .subnav,
  .topnav .has-sub.open .subnav,
  .topnav .has-sub.shut .subnav {
    position: static;
    width: auto;
    padding: 0 0 12px 14px;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .subnav::before { display: none; }
  .topnav .subnav a { padding: 9px 2px; font-size: 16px; color: rgba(255, 255, 255, .84); }
  .topnav .subnav a span { display: none; }
  .topnav .subnav li { border: 0; }
  .topnav .subnav .subnav-all { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .subnav, .sub-toggle svg { transition: none !important; }
}
