/* Zelf-gehoste fonts (Fontshare-licentie: gratis voor commercieel gebruik) */
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

/* =========================================================
   VIRTUAL FRAMES STUDIO — V4
   Dark editorial. Huge type. Scroll-driven.
   Referentie-DNA: Altrum — herbouwd in VFS-taal.
   ========================================================= */

:root {
  /* Palette */
  --bg:        #070707;
  --bg-soft:   #0D0D0D;
  --panel:     #161616;
  --line:      rgba(245, 242, 236, 0.12);
  --bone:      #F5F2EC;
  --bone-70:   rgba(245, 242, 236, 0.68);
  --bone-40:   rgba(245, 242, 236, 0.4);
  --signal:    #E5301B;

  /* Type */
  --font-display: "Clash Display", "Arial Narrow", sans-serif;
  --font-body:    "Satoshi", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", monospace;

  /* Scale */
  --h1:        clamp(3rem, 9.5vw, 8.5rem);
  --h2:        clamp(2.2rem, 5.5vw, 4.6rem);
  --idx-title: clamp(2.4rem, 6.5vw, 6.2rem);
  --footer-xl: clamp(2.6rem, 10vw, 9.5rem);

  /* Layout */
  --gutter:    clamp(20px, 3.5vw, 56px);
  --sec-pad:   clamp(110px, 16vw, 240px);
  --radius:    0.6rem;
  --radius-pill: 10rem;
}

/* Ultrawide: content centreert op 1720px — de gutter groeit mee,
   dus ook absoluut gepositioneerde elementen blijven uitgelijnd. */
@media (min-width: 1832px) {
  :root { --gutter: calc((100vw - 1720px) / 2); }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* hard slot op horizontaal scrollen/pannen (ook iOS Safari,
     die overflow-x op body alleen negeert); clip breekt geen
     position: sticky, hidden is de fallback voor oude browsers */
  overflow-x: hidden;
  overflow-x: clip;
  /* iOS: blokkeer de horizontale pan-gesture zelf (verticaal
     scrollen en pinch-zoom blijven gewoon werken) */
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: none;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: none;
}

body.is-locked { overflow: hidden; }

/* derde slot: knip uitstekende animatie-elementen (gekantelde
   werk-kaarten, marquee) al op <main>-niveau af — clip maakt geen
   scrollcontainer, dus sticky/pinning blijft werken */
main.main { overflow-x: clip; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accent { color: var(--signal); }
.accent-italic { color: var(--signal); font-style: italic; font-weight: 500; }

::selection { background: var(--signal); color: var(--bone); }

/* Focus */
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

/* =========================================================
   PRELOADER — VFS™ letters schuiven samen, daarna wipe.
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: visibility 0s linear 1.6s;
}
.loader.is-done { visibility: hidden; pointer-events: none; }

.loader-mark { overflow: hidden; }
.loader-logo {
  display: block;
  transform: translateY(130%);
  color: var(--bone);
}
.loader-logo svg {
  display: block;
  width: clamp(240px, 42vw, 460px);
  height: auto;
}

.loader-curtain {
  position: absolute;
  inset: 0;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}

/* =========================================================
   NAV — Altrum: logo links, links gecentreerd, burger rechts,
   progressive blur-strook bovenaan (.blur-effect).
   ========================================================= */
.blur-effect {
  z-index: 890;
  position: fixed;
  inset: 0 0 auto;
  height: 110px;
  pointer-events: none;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  -webkit-mask-image: linear-gradient(#000 50%, transparent 100%);
  mask-image: linear-gradient(#000 50%, transparent 100%);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter);
}

.nav-logo { grid-column: 1; display: block; color: var(--bone); transition: color 0.3s; justify-self: start; }
.nav-logo:hover { color: var(--signal); }
.nav-logo-svg { display: block; width: clamp(170px, 16vw, 230px); height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  justify-self: center;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  padding-bottom: 6px;
}
.nav-link em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--bone-40);
}
/* char-roll: twee gestapelde kopieën in een masker (JS animeert) */
.nav-roll {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 1.25;
}
.nav-txt { display: block; }
/* tweede kopie exact één regel lager, klaar om binnen te rollen */
.nav-txt + .nav-txt {
  position: absolute;
  top: 100%;
  left: 0;
}
/* onderlijn die bij hover opnieuw binnenschuift */
.nav-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  overflow: hidden;
}
.nav-line i {
  display: block;
  height: 1px;
  background: var(--bone);
}

.nav-burger {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50px;
  height: 15px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--bone);
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* Fullscreen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--bg-soft);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s cubic-bezier(0.83, 0, 0.17, 1);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }

.menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(70px + 4vh) var(--gutter) 5vh;
}
.menu-nav { display: flex; flex-direction: column; }
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.35em 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 7vh, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: color 0.3s, padding-left 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.menu-item em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-40);
}
.menu-item:hover { color: var(--signal); padding-left: 0.4em; }

.menu-foot { display: flex; gap: clamp(40px, 8vw, 120px); flex-wrap: wrap; }
.menu-foot-col { display: flex; flex-direction: column; gap: 0.45em; font-size: 0.9rem; }
.menu-foot-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-40);
  margin-bottom: 0.4em;
}
.menu-foot-col a { color: var(--bone-70); transition: color 0.25s; }
.menu-foot-col a:hover { color: var(--signal); }

/* taalswitcher in het menu */
.menu-langs { display: flex; flex-direction: column; }
.menu-langs a { width: max-content; }
.menu-langs a.is-current { color: var(--signal); pointer-events: none; }


/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100svh;
  padding: calc(70px + 2vh) var(--gutter) clamp(1.6rem, 4vh, 3rem);
  overflow: hidden;
  z-index: 1;
}
/* Alles na de hero schuift eroverheen (hero wordt gepind via JS) */
.page-rest {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.hero-media { position: absolute; inset: 0; z-index: -1; }

/* Uitscroll-lijnen: 12 dunne balken, gelijk verdeeld, groeien
   van hoogte 0 naar ~120% van hun vak — van onder naar boven
   gestaggerd (Altrum line-small-divider). */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 8.4%;
  background: var(--bg);
  transform: scaleY(0);
  transform-origin: center top;
  will-change: transform;
}
.hero-lines span:nth-child(1)  { top: 0; }
.hero-lines span:nth-child(2)  { top: 8.33%; }
.hero-lines span:nth-child(3)  { top: 16.66%; }
.hero-lines span:nth-child(4)  { top: 25%; }
.hero-lines span:nth-child(5)  { top: 33.33%; }
.hero-lines span:nth-child(6)  { top: 41.66%; }
.hero-lines span:nth-child(7)  { top: 50%; }
.hero-lines span:nth-child(8)  { top: 58.33%; }
.hero-lines span:nth-child(9)  { top: 66.66%; }
.hero-lines span:nth-child(10) { top: 75%; }
.hero-lines span:nth-child(11) { top: 83.33%; }
.hero-lines span:nth-child(12) { top: 91.66%; }
.hero-since, .hero-brand, .hero-svc, .hero-tag, .hero-scroll, .hero-talk {
  z-index: 1;
}
.hero-svc-item { overflow: hidden; }
.hero-brand { position: relative; will-change: transform, filter; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
/* Geen overlay — beeld op volle helderheid */
.hero-shade { display: none; }

.hero-since {
  position: absolute;
  top: calc(70px + 3vh);
  left: var(--gutter); /* links uitgelijnd met het VFS-logo */
  color: var(--bone-70);
}

/* Gigantisch logo, linksboven — Altrum-stijl */
.hero-brand { margin-top: clamp(1rem, 5vh, 3.5rem); }
.hero-brand-logo {
  display: block;
  width: clamp(280px, 42vw, 620px);
  height: auto;
}

.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: inline-block; transform: translateY(145%); }
html.no-js .hero-line-inner,
html.reduced .hero-line-inner { transform: none; }

/* Dienstenlijst links */
.hero-svc {
  position: absolute;
  left: var(--gutter);
  top: 46%;
  display: flex;
  flex-direction: column;
  min-width: clamp(200px, 20vw, 280px);
}
.hero-svc-item {
  border-bottom: 1px solid rgba(245, 242, 236, 0.25);
}
.hero-svc-item a {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  padding: 0.55em 0;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  transition: color 0.25s, padding-left 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-svc-item a:hover { color: var(--signal); padding-left: 0.4em; }
.hero-svc-item em { font-style: normal; color: var(--bone-70); }

/* Tagline (h1) linksonder */
.hero-tag {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(4.4rem, 11vh, 7rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: min(22em, 52vw);
}
.hero-tag-dim { color: var(--bone-70); }

.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.6rem, 4vh, 3rem);
  color: var(--bone-70);
}

/* Let's talk — rechtsonder, minimaal */
.hero-talk {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.6rem, 4vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5em;
  text-align: right;
}
.hero-talk-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--bone-70);
}
.hero-talk-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-talk-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
  padding-bottom: 0.12em;
  position: relative;
}
.hero-talk-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--bone);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1), background 0.3s;
}
.hero-talk:hover .hero-talk-line { color: var(--signal); }
.hero-talk:hover .hero-talk-line::after { background: var(--signal); transform: scaleX(0.4); transform-origin: left center; }
.hero-talk-arrow {
  font-size: 0.8em;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-talk:hover .hero-talk-arrow { transform: translateX(6px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.85em 1.9em;
  font-weight: 500;
  font-size: 0.92rem;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.btn:hover::before { transform: translateY(0); }

.btn-solid { background: var(--bone); color: var(--bg); }
.btn-solid::before { background: var(--signal); }
.btn-solid:hover { color: var(--bone); }

.btn-ghost { border: 1px solid var(--line); color: var(--bone); }
.btn-ghost::before { background: var(--bone); }
.btn-ghost:hover { color: var(--bg); }

.btn-lg { padding: 1.05em 2.4em; font-size: 1rem; }

/* =========================================================
   SECTIONS — shared
   ========================================================= */
section { padding: var(--sec-pad) var(--gutter) 0; }

@keyframes marquee { to { transform: translateX(-50%); } }

.sec-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); max-width: 1400px; }

.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--h2);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18em;
}
.sec-intro {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  color: var(--bone-70);
  max-width: 38rem;
}

/* =========================================================
   ABOUT — gepinde track, gescrubde foto-stack (Altrum-spec):
   bovenste foto schuift omhoog weg, onderliggende zoomt uit
   1.6 naar 1; tekstkaarten wisselen per regel.
   ========================================================= */
.about { padding-top: clamp(30px, 5vw, 80px); }
.about-track { height: 320svh; }
.about-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding-block: 8vh;
}

.about-photos {
  position: relative;
  height: 78vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.about-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}
.about-photo._01 { z-index: 3; }
.about-photo._02 { z-index: 2; }
.about-photo._03 { z-index: 1; }
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

.about-panel {
  position: relative;
  height: 78vh;
  background: #181818;
  border-radius: 10px;
  padding: clamp(1.6rem, 2.5vw, 2.5rem);
  overflow: hidden;
}
.about-panel-top {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #3a3a3a;
  padding-top: 16px;
}
.about-panel-label {
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}
.about-panel-label i { font-style: normal; color: var(--bone-40); }

.about-card {
  position: absolute;
  inset: 5.5rem clamp(1.6rem, 2.5vw, 2.5rem) 8.5rem;
  display: flex;
  flex-direction: column;
}
.about-card._02, .about-card._03 { visibility: hidden; }
html.reduced .about-card._02, html.reduced .about-card._03 { visibility: visible; }

.about-step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 11em;
  margin: auto 0;
}
.about-card p {
  color: var(--bone-70);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 27rem;
}
.about-card .sr-line { overflow: hidden; padding-bottom: 0.32em; margin-bottom: -0.32em; }

.about-panel-btn {
  position: absolute;
  left: clamp(1.6rem, 2.5vw, 2.5rem);
  bottom: clamp(1.6rem, 2.5vw, 2.5rem);
  z-index: 2;
}

.about-progress {
  position: absolute;
  right: clamp(1.6rem, 2.5vw, 2.5rem);
  bottom: clamp(1.8rem, 2.8vw, 2.8rem);
  display: flex;
  gap: 8px;
}
.about-progress span {
  width: 34px; height: 2px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.4s;
}
.about-progress span.is-active { background: var(--signal); }

/* =========================================================
   WORK — sticky card stack (Altrum featured works)
   ========================================================= */
.work { padding-inline: 0; }
.work .sec-head { padding-inline: var(--gutter); }

.stack-item { position: relative; height: 100svh; }
.stack-card {
  position: sticky;
  top: 0;
  height: 100svh;
  background: var(--bg);
  overflow: hidden;
}
/* Beeld in container met vaste radius (Altrum .main-image):
   komt klein + gekanteld binnen, settelt vlak; bij het uitscrollen
   zoomt het naar scale 3 (dive-through). */
.stack-media {
  position: absolute;
  inset: 2vh 2%;
  display: block;
  overflow: hidden;
  border-radius: 50px;
  will-change: transform;
}
.stack-media::after {
  /* leesbaarheid van de titel op lichte beelden */
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, 0.55));
  pointer-events: none;
}
.stack-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

.stack-tags {
  position: absolute;
  top: clamp(4.5rem, 10vh, 6.5rem);
  left: var(--gutter);
  color: var(--bone-70);
  pointer-events: none;
}

.stack-info {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1.6rem, 5vh, 3.4rem);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
  pointer-events: none;
}
.stack-year { color: var(--bone-70); }
.stack-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}

.work-more {
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0;
}

/* =========================================================
   SERVICES — grote hover-lijst
   ========================================================= */
.idx-list { border-top: 1px solid var(--line); }

.idx-item { position: relative; border-bottom: 1px solid var(--line); }

.idx-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.1rem, 2.2vw, 2rem) 0;
}
.idx-num { color: var(--signal); }
.idx-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--idx-title);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--bone-40);
  transition: color 0.45s cubic-bezier(0.65, 0, 0.35, 1), -webkit-text-stroke-color 0.45s;
}
.idx-item:hover .idx-title,
.idx-link:focus-visible .idx-title {
  color: var(--bone);
  -webkit-text-stroke-color: transparent;
}
.idx-tags { color: var(--bone-40); text-align: right; }

.idx-img {
  position: absolute;
  top: 50%; right: 14%;
  width: clamp(200px, 22vw, 360px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(0.85) rotate(-3deg);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.idx-item:hover .idx-img {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0deg);
}
.idx-img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   WHY — sticky links, hoge kaarten rechts (referentie-stijl)
   ========================================================= */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.why-left {
  position: sticky;
  top: 16vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.4rem, 2.4vw, 2.2rem);
}
.why-intro {
  color: var(--bone-70);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 30rem;
}
.why-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.8rem);
}
.why-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(300px, 44vh, 420px);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: border-color 0.4s, background 0.4s;
}
.why-card:hover { border-color: rgba(245, 242, 236, 0.3); background: var(--panel); }
.why-num { color: var(--signal); }
.why-card-body { display: flex; flex-direction: column; gap: 0.9rem; }
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.why-card p { color: var(--bone-70); font-size: 1rem; max-width: 30rem; }

/* =========================================================
   PROCESS
   ========================================================= */
.proc-list { border-top: 1px solid var(--line); counter-reset: step; }
.proc-step {
  display: grid;
  grid-template-columns: clamp(5rem, 14vw, 14rem) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.proc-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--bone-40);
}
.proc-step:hover .proc-num { color: var(--signal); -webkit-text-stroke-color: transparent; transition: color 0.4s; }
.proc-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.5em;
}
.proc-body p { color: var(--bone-70); max-width: 34rem; }

/* =========================================================
   FAQ — Altrum faq-grid: links sticky titel + intro + link,
   rechts compacte toggles (1.2rem, plus-icoon 30px).
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.faq-left {
  position: sticky;
  top: 100px;
  align-self: start;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.2rem, 2vw, 1.8rem);
}
.faq-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.faq-sub { color: var(--bone-70); max-width: 26rem; }

.faq-item { margin-bottom: 10px; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid #333;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.6px;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--signal); }
.faq-item summary i {
  position: relative;
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.faq-item summary i::before { width: 14px; height: 1.5px; }
.faq-item summary i::after  { width: 14px; height: 1.5px; transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p {
  color: var(--bone-70);
  padding: 15px 60px 15px 0;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-left { position: static; max-width: 100%; }
  .faq-body p { padding-right: 0; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding-top: var(--sec-pad); }

.footer-cta {
  padding: 0 var(--gutter);
  max-width: 1400px;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--footer-xl);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.footer-line { display: block; overflow: hidden; }
.footer-sub { color: var(--bone-70); max-width: 34rem; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.footer-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.footer-marquee {
  border-block: 1px solid var(--line);
  margin-top: var(--sec-pad);
  padding: clamp(1rem, 2vw, 1.8rem) 0;
  overflow: hidden;
}
.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--bone-40);
}
@media (prefers-reduced-motion: reduce) { .footer-marquee-track { animation: none; } }

.footer-base { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) 2rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-col { display: flex; flex-direction: column; gap: 0.55em; font-size: 0.92rem; }
.footer-col a { color: var(--bone-70); width: fit-content; transition: color 0.25s; }
.footer-col a:hover { color: var(--signal); }
.footer-col-label {
  color: var(--bone-40);
  margin-bottom: 0.5em;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--bone-40);
}
.footer-legal-links { display: flex; gap: 1.4rem; }
.footer-legal a { transition: color 0.25s; }
.footer-legal a:hover { color: var(--bone); }
.footer-made { color: var(--bone-40); }

/* =========================================================
   REVEAL STATES (JS toggles)
   ========================================================= */
.split-reveal .sr-line { display: block; overflow: hidden; }
.split-reveal .sr-inner { display: inline-block; transform: translateY(110%); }
html.reduced .split-reveal .sr-inner { transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1120px) {
  .nav-links { display: none; }
}

@media (max-width: 1023px) {
  /* gestapeld maar nog steeds gepind + gescrubd */
  .about-track { height: 300svh; }
  .about-pin {
    grid-template-columns: 1fr;
    grid-template-rows: 34svh 1fr;
    gap: 1rem;
    padding-block: calc(64px + 2vh) 3vh;
    align-items: stretch;
  }
  .about-photos { height: 100%; }
  .about-panel { height: 100%; }
  .about-card { inset: 3.6rem 1.2rem 6.6rem; }
  .about-step-title { font-size: clamp(1.5rem, 6vw, 2.1rem); }
  .about-card p { font-size: 0.95rem; }
  .about-panel-btn { left: 1.2rem; bottom: 1.2rem; }
  .about-progress { right: 1.2rem; bottom: 1.5rem; }
  .about-panel { padding: 1.2rem; }
}
/* reduced motion: nette statische stapel */
html.reduced .about-track { height: auto; }
html.reduced .about-pin {
  position: static;
  height: auto;
  grid-template-columns: 1fr;
  grid-template-rows: none;
  gap: 2rem;
  padding-block: 0 0;
}
html.reduced .about-photos { height: 46vh; }
html.reduced .about-panel {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 1.4rem;
}
html.reduced .about-card {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
html.reduced .about-step-title { margin: 0; }
html.reduced .about-panel-btn {
  position: static;
  align-self: flex-start;
  margin-top: 0.5rem;
}
html.reduced .about-progress { display: none; }
/* desktop reduced: naast elkaar blijven kan ook netjes */
@media (min-width: 1024px) {
  html.reduced .about-pin { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  html.reduced .about-photos { height: 70vh; position: sticky; top: 100px; }
}

@media (max-width: 767px) {
  .mono { font-size: 0.62rem; }

  .nav-links { display: none; }
  .nav-logo-svg { width: 160px; }
  .blur-effect { height: 80px; }

  .hero { padding-top: calc(64px + 2vh); }
  .hero-since { display: none; }
  .hero-brand { margin-top: 2vh; }
  .hero-brand-logo { width: min(78vw, 360px); }
  .hero-svc {
    position: static;
    margin-top: 4vh;
    min-width: 0;
    max-width: 320px;
  }
  .hero-tag { bottom: clamp(6.4rem, 16vh, 9rem); font-size: clamp(1.3rem, 5.6vw, 1.7rem); right: var(--gutter); }
  .hero-scroll { display: none; }
  .hero-talk { left: var(--gutter); right: var(--gutter); align-items: flex-start; text-align: left; }


  .stack-item { height: 78svh; }
  .stack-card { height: 78svh; }
  .stack-media { border-radius: 10px; inset: 1.5vh 2%; }
  .stack-tags { top: 4.2rem; }

  .idx-link { grid-template-columns: 1fr; gap: 0.4rem; }
  .idx-title { font-size: clamp(2.1rem, 10.5vw, 3.4rem); color: var(--bone); -webkit-text-stroke: 0; }
  .idx-tags { text-align: left; }
  .idx-img { display: none; }

  .why-split { grid-template-columns: 1fr; }
  .why-left { position: static; }
  .why-card { min-height: 0; gap: 2.2rem; }

  .proc-step { grid-template-columns: 1fr; gap: 0.8rem; }


  .footer-cols { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   SUBPAGINA'S
   ========================================================= */
.page-hero {
  position: relative; /* anker voor o.a. de contact-chat */
  padding: calc(90px + 8vh) var(--gutter) clamp(3rem, 7vw, 5.5rem);
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 11em;
}
.page-hero-intro {
  margin-top: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--bone-70);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 38rem;
}
.page-hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* Groot statement-blok */
.statement { max-width: 1250px; }
.statement-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.statement-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 62rem;
}
.statement-cols p { color: var(--bone-70); font-size: clamp(1rem, 1.3vw, 1.15rem); }

/* Genummerde rijen (wat je krijgt / pijlers) */
.rowlist { border-top: 1px solid var(--line); }
.rowlist-item {
  display: grid;
  grid-template-columns: 5rem 1fr 1.4fr;
  gap: clamp(1rem, 3vw, 3.5rem);
  align-items: baseline;
  padding: clamp(1.5rem, 2.8vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.rowlist-num { color: var(--signal); }
.rowlist-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.rowlist-item p { color: var(--bone-70); max-width: 36rem; }

/* Case-meta */
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.case-meta > div { background: var(--bg); padding: clamp(1.1rem, 2vw, 1.6rem) clamp(0.2rem, 1vw, 1rem) clamp(1.1rem, 2vw, 1.6rem) 0; }
.case-meta dt { margin-bottom: 0.5em; color: var(--bone-40); }
.case-meta dd {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.98rem, 1.4vw, 1.2rem);
}
.case-meta dd a { transition: color 0.25s; }
.case-meta dd a:hover { color: var(--signal); }

/* Case-hero beeld */
.case-cover {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Case prose */
.case-prose { max-width: 52rem; }
.case-prose p {
  color: var(--bone-70);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}
.case-prose p + p { margin-top: 1.4em; }
.case-prose strong { color: var(--bone); font-weight: 600; }

/* Case galerij */
.case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.case-gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.case-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-gallery figure:hover img { transform: scale(1); }

/* Vorig / volgend project */
.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
}
.prevnext a {
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  transition: color 0.3s, padding-left 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.prevnext a:last-child { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); padding-left: clamp(1rem, 3vw, 2.5rem); }
.prevnext a:first-child { padding-right: clamp(1rem, 3vw, 2.5rem); }
.prevnext a:hover { color: var(--signal); }
.prevnext .mono { color: var(--bone-40); }
.prevnext strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.contact-aside { position: sticky; top: 16vh; display: flex; flex-direction: column; gap: 2rem; }
.contact-aside-block { display: flex; flex-direction: column; gap: 0.5em; }
.contact-aside-block .mono { color: var(--bone-40); margin-bottom: 0.4em; }
.contact-aside-block a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
  width: fit-content;
  transition: color 0.25s;
}
.contact-aside-block a:hover { color: var(--signal); }

.form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5em; }
.form-field label { font-size: 0.85rem; color: var(--bone-70); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--bone);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9em 1em;
  transition: border-color 0.3s;
}
.form-field textarea { min-height: 9em; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--signal); }
.form .btn { align-self: flex-start; }

/* Studio manifest */
.manifest {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 30em;
}
.manifest .accent-italic { font-weight: 500; }

@media (max-width: 900px) {
  .statement-cols { grid-template-columns: 1fr; }
  .rowlist-item { grid-template-columns: 3.2rem 1fr; }
  .rowlist-item p { grid-column: 2; }
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a:last-child { border-left: 0; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; }
}

/* =========================================================
   MASKER-FIX — ademruimte zodat descenders/italics niet
   worden afgeknipt door de reveal-maskers.
   ========================================================= */
.chmask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.14em 0.12em 0.34em;
  margin: -0.14em -0.12em -0.34em;
}
.chmask > * { display: inline-block; }

/* regel-masker voor koppen: knipt nooit horizontaal binnen de regel */
.linemask {
  display: block;
  overflow: hidden;
  padding: 0.18em 0.5em 0.48em;
  margin: -0.18em -0.5em -0.48em;
}

.about-card .sr-line {
  padding-bottom: 0.32em;
  margin-bottom: -0.32em;
}
.hero-line {
  padding-bottom: 0.28em;
  margin-bottom: -0.28em;
}
/* footer-titel maskert per char — regel zelf niet meer clippen */
.footer-line { overflow: visible; }

/* =========================================================
   DIENSTEN-OVERZICHT — Altrum /services structuur:
   kaarten met links de dienst-header, rechts sub-rijen;
   zwevende thumb bij hover.
   ========================================================= */
.svco-hero {
  position: relative;
  height: clamp(360px, 55svh, 600px);
  padding: calc(90px + 6vh) var(--gutter) clamp(1.8rem, 4vh, 3rem);
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.svco-media { position: absolute; inset: 0; z-index: 0; }
.svco-hero-title, .svco-hero .hero-talk { position: relative; z-index: 1; }
.svco-hero .hero-talk {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.8rem, 4vh, 3rem);
}
.svco-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.svco-hero-title .count {
  font-family: var(--font-mono);
  font-size: 0.2em;
  color: var(--bone-40);
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 0.3em;
}

.svco-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.6rem);
  padding: 0 var(--gutter);
}
.svco-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  background: var(--bg-soft);
  border: 1px solid #333;
  border-radius: 10px;
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2.4vw, 2rem);
}
.svco-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 210px;
}
.svco-head-top { display: flex; flex-direction: column; gap: 1rem; }
.svco-num { color: var(--signal); }
.svco-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.svco-desc { color: var(--bone-70); max-width: 370px; }
.svco-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  width: fit-content;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3em;
  transition: color 0.25s, border-color 0.25s;
}
.svco-link:hover { color: var(--signal); border-color: var(--signal); }

.svco-rows { display: flex; flex-direction: column; }
.svco-row {
  display: grid;
  grid-template-columns: 3rem 1fr 1.1fr;
  align-items: baseline;
  gap: clamp(0.8rem, 1.6vw, 1.6rem);
  padding: 1.15rem 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
  cursor: default;
}
.svco-row:last-child { border-bottom: 0; }
.svco-row-num { color: var(--signal); }
.svco-row-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  transition: color 0.25s;
}
.svco-row-desc { color: var(--bone-70); font-size: 0.9rem; }


@media (max-width: 900px) {
  .svco-card { grid-template-columns: 1fr; }
  .svco-head { min-height: 0; }
  .svco-row { grid-template-columns: 2.4rem 1fr; }
  .svco-row-desc { grid-column: 2; }
}


/* Gigantische sectietitel boven de works (Altrum h1.full-section) */
.work-giant {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 9.4vw, 9.7rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  padding: 0 var(--gutter);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

/* Landscape-telefoons: weinig hoogte — hero compact houden */
@media (max-height: 500px) and (max-width: 950px) {
  .hero-svc { display: none; }
  .hero-brand-logo { width: min(40vw, 280px); }
  .hero-tag { bottom: 5rem; }
}

/* Dienst-pagina's: originele banner full-bleed achter de hero */
.page-hero.has-media {
  position: relative;
  overflow: hidden;
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.page-hero.has-media > *:not(.svco-media):not(.hero-lines) {
  position: relative;
  z-index: 1;
}
/* subtiele gradient onderaan voor leesbaarheid op lichte beelden */
.page-hero.has-media::after {
  content: "";
  position: absolute;
  inset: 28% 0 0 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, 0.5) 42%, rgba(7, 7, 7, 0.85) 78%, var(--bg) 100%);
  pointer-events: none;
}
@media (max-width: 767px) {
  .page-hero.has-media { min-height: 64svh; }
}

/* Diensten-banner: beeld lost onderaan op in de achtergrond */
.svco-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  z-index: 0;
  background: linear-gradient(180deg, transparent, var(--bg) 100%);
  pointer-events: none;
}
.svco-hero-title, .svco-hero .hero-talk { z-index: 1; }

/* =========================================================
   VFS AI-CHAT — popup rechtsonder, in huisstijl
   ========================================================= */
.vchat { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 960; }

.vchat-fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.vchat-fab:hover { transform: scale(1.07); }
.vchat-fab svg { width: 24px; height: 24px; }
.vchat-fab-dot {
  position: absolute;
  top: 3px; right: 3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2.5px solid var(--bg);
}
.vchat.is-open .vchat-fab { display: none; }

/* teaser-popup naast de chatknop: promoot de gratis site-check */
.vchat-tease {
  position: absolute;
  right: 70px;
  bottom: 6px;
  width: max-content;
  max-width: min(270px, calc(100vw - 120px));
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #161616;
  border: 1px solid #2c2c2c;
  border-radius: 14px;
  border-bottom-right-radius: 5px;
  padding: 13px 15px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.vchat-tease.is-in { opacity: 1; transform: none; pointer-events: auto; }
.vchat-tease p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(245, 242, 236, 0.92);
}
.vchat-tease p strong { color: var(--bone); }
.vchat-tease p span { display: block; margin-top: 2px; color: var(--signal); font-weight: 600; }
.vchat-tease-close {
  flex-shrink: 0;
  margin: -4px -6px 0 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--bone-40);
  transition: color 0.25s, background 0.25s;
}
.vchat-tease-close:hover { color: var(--bone); background: #242424; }
.vchat.is-open .vchat-tease { display: none; }
@media (prefers-reduced-motion: reduce) {
  .vchat-tease { transition: opacity 0.3s; transform: none; }
}

.vchat-panel {
  padding: 0; /* overschrijft generieke section-padding */
  position: absolute;
  right: 0; bottom: 0;
  width: min(390px, calc(100vw - 32px));
  height: min(640px, calc(100svh - 96px));
  display: flex;
  flex-direction: column;
  background: #101010;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.vchat-panel[hidden] { display: none; }

.vchat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #101010;
  border-bottom: 1px solid #262626;
  flex-shrink: 0;
}
.vchat-head strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.vchat-status { display: inline-flex; align-items: center; gap: 0.5em; color: var(--bone-40); }
.vchat-status i { width: 6px; height: 6px; border-radius: 50%; background: #2ecc71; }
.vchat-close {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bone-40);
  width: 34px; height: 34px;
  border-radius: 50%;
  transition: color 0.25s, background 0.25s;
}
.vchat-close:hover { color: var(--bone); background: #1e1e1e; }

.vchat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overscroll-behavior: contain;
}
.vchat-msg {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.vchat-msg strong { font-weight: 700; color: var(--bone); }
.vchat-msg a { color: var(--signal); text-decoration: underline; text-underline-offset: 2px; }
.vchat-msg.is-bot {
  align-self: flex-start;
  background: #1d1d1d;
  color: rgba(245, 242, 236, 0.92);
  border-bottom-left-radius: 5px;
}
.vchat-msg.is-user {
  align-self: flex-end;
  background: var(--signal);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.vchat-lockedmsg { display: flex; flex-direction: column; gap: 7px; }
.vchat-lockrow {
  display: block;
  color: var(--bone-40);
  font-size: 0.88rem;
  border: 1px dashed #3a3a3a;
  border-radius: 9px;
  padding: 7px 11px;
  filter: blur(0.4px);
  user-select: none;
}

.vchat-typing { padding: 14px 16px; }
.vchat-typing span {
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--bone-40);
  animation: vchat-b 1.2s infinite;
}
.vchat-typing span:nth-child(2) { animation-delay: 0.15s; }
.vchat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes vchat-b { 30% { transform: translateY(-4px); opacity: 1; } }

.vchat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  flex-shrink: 0;
}
.vchat-chips[hidden] { display: none; }
.vchat-chips button {
  border: 1px solid #333;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.84rem;
  color: rgba(245, 242, 236, 0.8);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.vchat-chips button:hover { border-color: var(--signal); color: #fff; background: rgba(229, 48, 27, 0.1); }

.vchat-lead {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 16px;
  border-top: 1px solid #262626;
  background: #161616;
  flex-shrink: 0;
}
.vchat-lead[hidden] { display: none; }
.vchat-lead-title { font-size: 0.84rem; color: rgba(245, 242, 236, 0.75); }
.vchat-lead input {
  font: inherit;
  font-size: 0.92rem;
  color: var(--bone);
  background: #101010;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 13px;
}
.vchat-lead input::placeholder { color: var(--bone-40); }
.vchat-lead input:focus { outline: none; border-color: var(--signal); }
.vchat-send-lead {
  background: var(--signal);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 11px 0;
  font-weight: 600;
  font-size: 0.92rem;
  transition: filter 0.25s;
}
.vchat-send-lead:hover { filter: brightness(1.12); }

.vchat-input {
  display: flex;
  gap: 9px;
  padding: 13px 16px calc(13px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #262626;
  background: #101010;
  flex-shrink: 0;
}
.vchat-input input[name="q"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px; /* voorkomt iOS-zoom bij focus */
  color: var(--bone);
  background: #1d1d1d;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 11px 17px;
}
.vchat-input input[name="q"]::placeholder { color: var(--bone-40); }
.vchat-input input[name="q"]:focus { outline: none; border-color: var(--signal); }
.vchat-input button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: filter 0.25s, transform 0.25s;
}
.vchat-input button:hover { filter: brightness(1.12); transform: scale(1.05); }

/* mobiel: volwaardige sheet */
@media (max-width: 480px) {
  .vchat.is-open { right: 0; bottom: 0; left: 0; }
  .vchat-panel {
    position: fixed;
    inset: auto 8px 8px 8px;
    width: auto;
    height: min(78svh, 640px);
    border-radius: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vchat-typing span { animation: none; }
}

/* =========================================================
   PAGINA-OVERGANG — rode bol die voorbij rolt.
   Eerste bezoek: volle preloader. Interne navigatie: bol.
   ========================================================= */
.pageball {
  position: fixed;
  top: 50%;
  left: 0;
  width: 130vmax;
  height: 130vmax;
  margin-top: -65vmax;
  border-radius: 50%;
  background: var(--signal);
  transform: translateX(-140vmax);
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
}
/* vervolgbezoek: geen preloader, bol dekt het scherm bij aankomst */
html.is-trans .loader { display: none; }
html.is-trans .pageball { transform: translateX(calc(50vw - 65vmax)); }
html.reduced .pageball { display: none; }

/* =========================================================
   TEKST-VANGNET — niets loopt ooit uit beeld; lange woorden
   breken desnoods af in plaats van afgesneden te worden.
   ========================================================= */
.sec-title, .footer-title, .page-hero-title, .svco-hero-title, .svco-title,
.work-giant, .idx-title, .stack-title, .about-step-title, .statement-title,
.faq-title, .hero-tag, .manifest, .prevnext strong, .why-card h3,
.rowlist-item h3, .svco-row-title, .proc-body h3, .menu-item {
  overflow-wrap: break-word;
  min-width: 0;
}

/* =========================================================
   LICHTE BANNERS — beeld automatisch dimmen
   JS meet de helderheid van het bannerbeeld (evalHeroLight in
   v4.js); is het te licht voor de witte titels, dan krijgt de
   hero .is-light en wordt het beeld gedimd + de gradient
   versterkt. Donkere beelden blijven op volle helderheid.
   ========================================================= */
.page-hero.has-media .hero-slide img,
.svco-hero .hero-slide img,
.page-hero.has-media .svco-media img,
.svco-hero .svco-media img {
  transition: filter 0.7s ease;
}
.page-hero.has-media.is-light .svco-media img,
.svco-hero.is-light .svco-media img {
  filter: brightness(0.58) saturate(1.05);
}
.page-hero.has-media.is-light::after {
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.18), rgba(7, 7, 7, 0.55) 42%, rgba(7, 7, 7, 0.88) 78%, var(--bg) 100%);
  inset: 0;
}
.svco-hero.is-light .svco-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.22);
  pointer-events: none;
}

/* =========================================================
   OFFERTE-POPUP — offerte op maat aanvragen (contactpagina)
   ========================================================= */
.offx {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 3vh, 40px) clamp(10px, 3vw, 40px);
}
.offx[hidden] { display: none; }
.offx-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.offx-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86svh, 900px);
  display: flex;
  flex-direction: column;
  background: #101010;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  animation: offx-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0; /* overschrijft generieke section-padding */
}
@keyframes offx-in { from { opacity: 0; transform: translateY(26px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .offx-panel { animation: none; } }

.offx-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3.5vw, 2.4rem) 1rem;
  border-bottom: 1px solid #262626;
  flex-shrink: 0;
}
.offx-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.offx-head p { margin-top: 0.45em; color: var(--bone-70); font-size: 0.94rem; }
.offx-close {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--bone-40);
  transition: color 0.25s, background 0.25s;
}
.offx-close:hover { color: var(--bone); background: #1e1e1e; }

.offx-body {
  overflow-y: auto;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1.3rem, 3.5vw, 2.4rem) clamp(1.6rem, 3vw, 2.4rem);
  overscroll-behavior: contain;
}
.offx-sec { margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.offx-sec > .mono {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--signal);
  margin-bottom: 0.9em;
}
.offx-q { margin-bottom: 1.15rem; }
.offx-q:last-child { margin-bottom: 0; }
.offx-q > span {
  display: block;
  font-size: 0.92rem;
  color: rgba(245, 242, 236, 0.85);
  margin-bottom: 0.6em;
}
.offx-hint { color: var(--bone-40); font-size: 0.85em; }

.offx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.offx-pills label { cursor: pointer; }
.offx-pills input { position: absolute; opacity: 0; pointer-events: none; }
.offx-pills i {
  display: inline-block;
  font-style: normal;
  border: 1px solid #3a3a3a;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 0.9rem;
  color: rgba(245, 242, 236, 0.82);
  transition: border-color 0.22s, color 0.22s, background 0.22s;
  user-select: none;
}
.offx-pills label:hover i { border-color: var(--bone-40); }
.offx-pills input:checked + i {
  border-color: var(--signal);
  background: rgba(229, 48, 27, 0.14);
  color: #fff;
}
.offx-pills input:focus-visible + i { outline: 2px solid var(--signal); outline-offset: 2px; }

.offx [data-when] { display: none; }
.offx [data-when].is-on { display: block; }

.offx .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .offx .form-row { grid-template-columns: 1fr; } }
.offx .form-field { margin-bottom: 1rem; }
.offx .form-field label {
  display: block;
  font-size: 0.92rem;
  color: rgba(245, 242, 236, 0.85);
  margin-bottom: 0.45em;
}
.offx .form-field input,
.offx .form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--bone);
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px 14px;
}
.offx .form-field textarea { min-height: 110px; resize: vertical; }
.offx .form-field input:focus,
.offx .form-field textarea:focus { outline: none; border-color: var(--signal); }
.offx .form-field input::placeholder,
.offx .form-field textarea::placeholder { color: var(--bone-40); }

.offx-submit {
  width: 100%;
  margin-top: 0.4rem;
  background: var(--signal);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 15px 0;
  font-weight: 600;
  font-size: 1rem;
  transition: filter 0.25s;
}
.offx-submit:hover { filter: brightness(1.12); }
.offx-submit[disabled] { opacity: 0.6; pointer-events: none; }

.offx-done { text-align: center; padding: clamp(2rem, 6vh, 4rem) 1rem; }
.offx-done h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 0.5em;
}
.offx-done p { color: var(--bone-70); max-width: 42ch; margin: 0 auto 1.6em; }

/* =========================================================
   GEANIMEERDE CHAT-MOCKUP — contact-hero (terug uit V3)
   Gescript gesprek met typindicatoren, bubble-in/out en
   tijdstempels; start zodra hij in beeld komt (v4.js).
   ========================================================= */
.contact-chat {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1rem, 4vh, 3rem);
  width: min(400px, 30vw);
  height: min(400px, 46svh);
  pointer-events: none;
  z-index: 0; /* achter de hero-tekst */
}
.page-hero > *:not(.contact-chat) { position: relative; z-index: 1; }
@media (max-width: 1119px) { .contact-chat { display: none; } }

.mockup-message {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  transform: rotate(-1.5deg);
  overflow: hidden;
  padding-top: 60px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
}
.mockup-message .bubble {
  background: var(--bone);
  color: #121212;
  padding: 18px 22px;
  border-radius: 20px 20px 20px 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  line-height: 1.28;
  max-width: 86%;
  align-self: flex-start;
}
.mockup-message .bubble.them {
  align-self: flex-end;
  background: var(--signal);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
}
.mockup-message .bubble .meta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.6;
}
.mockup-message .typing {
  align-self: flex-start;
  background: #1d1d1d;
  padding: 12px 18px;
  border-radius: 18px 18px 18px 4px;
  display: flex;
  gap: 5px;
}
.mockup-message .typing.them {
  align-self: flex-end;
  background: var(--signal);
  border-radius: 18px 18px 4px 18px;
  opacity: 0.85;
}
.mockup-message .typing span {
  width: 7px; height: 7px;
  background: var(--bone);
  border-radius: 50%;
  opacity: 0.4;
  animation: mm-blink 1.4s infinite ease-in-out;
}
.mockup-message .typing span:nth-child(2) { animation-delay: 0.2s; }
.mockup-message .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes mm-blink {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-3px); }
}
.mockup-message .bubble.is-entering,
.mockup-message .typing.is-entering {
  animation: mm-bubble-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes mm-bubble-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mockup-message .bubble.is-leaving,
.mockup-message .typing.is-leaving {
  animation: mm-bubble-out 0.4s ease-in both;
}
@keyframes mm-bubble-out {
  from { opacity: 1; transform: translateY(0); max-height: 220px; margin-top: 0; }
  to   { opacity: 0; transform: translateY(-12px); max-height: 0; margin-top: -14px; padding-top: 0; padding-bottom: 0; }
}
html.reduced .mockup-message .typing span { animation: none; }

/* na de reveal-animatie worden maskers losgelaten (v4.js) —
   vanaf dan kan er per definitie niets meer afgeknipt zijn */
.linemask.is-open, .chmask.is-open { overflow: visible; }

/* "Voorkeursbron op Google"-badge in de footer */
.pref-source {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  color: var(--bone-40);
  border: 1px solid #2e2e2e;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  transition: color 0.25s, border-color 0.25s;
  width: max-content;
}
.pref-source:hover { color: var(--bone); border-color: var(--signal); }
.pref-source svg { flex-shrink: 0; color: var(--signal); }
