/* ============================================================
   Dirq Solutions — bold editorial, light, navy
   Type: Archivo (display + body) · IBM Plex Mono (labels)
   ============================================================ */

/* Self-hosted fonts (latin subset). Was Google Fonts; self-hosten elimineert
   de render-blocking cross-origin fetch (googleapis + gstatic) en versnelt LCP.
   Archivo is een variable font (één bestand dekt 400–800). */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/archivo-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plexmono-400.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/plexmono-500.woff2) format('woff2');
}

:root {
  --ink: #0a1628;
  --navy: #032d5c;
  --accent: #1d5fd6;            /* interactive blue, tweakable */
  --accent-ink: #ffffff;
  --bg: #fbfcfd;
  --bg-soft: #f1f4f8;
  --line: #dde4ec;
  --muted: #51607a;
  --radius: 18px;
  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-dur: 0.9s;
}

body[data-motion="calm"] { --reveal-dur: 0.35s; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--navy); color: #fff; }

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

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 56px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, opacity 0.45s var(--ease-out);
}
/* Bioscoop-modus: tijdens de full-bleed filmtakeover faden nav + chat weg. */
body.film-immersive .nav { opacity: 0; pointer-events: none; }
body.film-immersive #sitebot { opacity: 0; pointer-events: none; }
.nav.scrolled {
  background: rgba(251, 252, 253, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--navy);
}
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 99px; color: var(--ink);
  transition: background 0.2s;
}
.nav-links a:hover { background: var(--bg-soft); }
.nav-cta-group { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex; border: 1.5px solid var(--line); border-radius: 99px;
  overflow: hidden; font-family: var(--font-mono); font-size: 12px;
}
.lang-toggle button {
  border: 0; background: transparent; padding: 6px 12px; cursor: pointer;
  font: inherit; letter-spacing: 0.08em; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button.active { background: var(--navy); color: #fff; }

/* ---------- Mobiele nav (hamburger) ---------- */
/* De burger wordt runtime door dirq.js geïnjecteerd; zonder JS blijven de
   links gewoon zichtbaar (vandaar de html.js-guards). */
.nav-burger { display: none; }
.nav-links .nav-cta-mobile { display: none; }

@media (max-width: 880px) {
  .nav-inner { gap: 12px; }

  /* De linkbalk wordt een uitklap-paneel onder de header */
  html.js .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    margin-left: 0;
    padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 56px -28px rgba(3, 45, 92, 0.3);
  }
  html.js .nav.nav--open .nav-links { display: flex; }
  html.js .nav-links a {
    display: flex; align-items: center;
    font-size: 17px; min-height: 48px; padding: 0 14px; border-radius: 12px;
  }
  html.js .nav-links .nav-cta-mobile {
    display: inline-flex; justify-content: center;
    margin-top: 10px; min-height: 48px; border-radius: 99px;
    color: var(--accent-ink);
  }

  .nav-cta-group { margin-left: auto; gap: 10px; }

  html.js .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0;
    border: 1.5px solid var(--line); border-radius: 12px;
    background: transparent; color: var(--navy); cursor: pointer;
    transition: background 0.2s;
  }
  html.js .nav-burger:hover { background: var(--bg-soft); }
  .nav-burger svg { width: 22px; height: 22px; }
  .nav-burger .ico-close { display: none; }
  .nav--open .nav-burger .ico-open { display: none; }
  .nav--open .nav-burger .ico-close { display: block; }

  /* Het open paneel hoort een dichte balk boven zich te hebben */
  .nav.nav--open {
    background: var(--bg);
    box-shadow: 0 1px 0 var(--line);
  }
}

@media (max-width: 560px) {
  /* Balk-CTA weg op smalle schermen — hij staat in het paneel én in de hero */
  .nav-cta-group > .btn { display: none; }
  .nav-logo span { font-size: 17px; }
  /* Telefoon-hero: floor omlaag zodat langere regels niet afbreken/clippen.
     .cta-final .display is specifieker en houdt z'n eigen maat. */
  .display { font-size: clamp(40px, 12vw, 56px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 0;
  padding: 14px 28px; border-radius: 99px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn .arr { transition: transform 0.25s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Reveal system ---------- */
html.js :where(.rv) {
  opacity: 0; transform: translateY(34px);
  transition: opacity var(--reveal-dur) var(--ease-out), transform var(--reveal-dur) var(--ease-out);
  transition-delay: var(--rv-delay, 0s);
}
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
/* Boven-de-vouw hero onthult zich METEEN via CSS (niet via de deferred JS) en
   transform-only (opacity blijft 1), zodat de LCP-tekst direct opaak schildert
   i.p.v. te wachten op de reveal. Slide-up blijft als premium entree. */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero .rv {
    opacity: 1; transform: none;
    animation: heroSlide var(--reveal-dur) var(--ease-out) both;
    animation-delay: var(--rv-delay, 0s);
  }
}
@keyframes heroSlide { from { transform: translateY(28px); } }

/* ---------- Hero (shared) ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 60px; position: relative; }
.hero-eyebrow { color: var(--accent); margin-bottom: 26px; }
.display {
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(52px, 8.6vw, 132px); margin: 0;
  text-wrap: balance;
}
.display .accent { color: var(--accent); }
.display .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--navy);
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px); color: var(--muted);
  max-width: 560px; margin: 30px 0 38px; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* hero variant switching */
.hero.hero-variant { display: none; }
body[data-hero="monolith"] #hero-monolith.hero-variant,
body[data-hero="split"] #hero-split.hero-variant,
body[data-hero="showcase"] #hero-showcase.hero-variant { display: flex; }

/* Variant B: split */
.hero-split-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
@media (max-width: 920px) { .hero-split-grid { grid-template-columns: 1fr; } }

/* Variant C: showcase */
.hero-center { text-align: center; align-items: center; display: flex; flex-direction: column; }
.hero-center .hero-sub { margin-inline: auto; }
.hero-peek {
  margin-top: 64px; width: min(880px, 92%);
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 -20px 80px -40px rgba(3, 45, 92, 0.35);
  overflow: hidden; background: #fff;
}

/* floating chat card (variants A teaser + B card) */
.chat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(3, 45, 92, 0.25);
  padding: 22px; width: min(400px, 100%);
}
.chat-card-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.bot-dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.bot-dot.online::after { content: ""; }
.chat-card-head .name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.chat-card-head .status { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat-card-head .status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fa363;
}

.msg { display: flex; margin-bottom: 10px; }
.msg .bubble {
  padding: 11px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.45;
  max-width: 85%; text-wrap: pretty;
}
.msg.user { justify-content: flex-end; }
.msg.user .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot .bubble { background: var(--bg-soft); border-bottom-left-radius: 4px; }
html.js :where(.msg.appear) { display: none; }
.msg.appear.on { display: flex; animation: msgIn 0.45s var(--ease-out) both; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
}
@media (prefers-reduced-motion: reduce) { .msg.appear.on { animation: none; } }

.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

/* ---------- Marquee under hero A ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; padding: 14px 0;
  user-select: none;
}
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 28s linear infinite; }
body[data-motion="calm"] .marquee-track { animation-duration: 80s; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee-track span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.marquee-track span::after { content: "·"; margin-left: 48px; color: var(--accent); }

/* ---------- Merkfilm: cinematic scroll-takeover ---------- */
.film-band { background: var(--ink); }
/* Hoge track waarover de film z'n "overname" uitvoert; sticky binnenkant. */
.film-track { height: 260vh; position: relative; }
.film-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.film-frame {
  position: relative; overflow: hidden; background: #04203f;
  /* JS interpoleert width/height/border-radius op scroll (zie dirq.js). */
  width: var(--film-w, 60vw);
  height: var(--film-h, 33.75vw);
  border-radius: var(--film-r, 18px);
  box-shadow: 0 50px 120px -50px rgba(29, 95, 214, 0.55);
  will-change: width, height, border-radius;
}
.film-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(29, 95, 214, 0.92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 40px -8px rgba(29, 95, 214, 0.8);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.film-play:hover { transform: scale(1.08); background: var(--accent); }
.film-play svg { width: 38px; height: 38px; margin-left: 4px; }
.film-play[hidden] { display: none; } /* class-display overrulede anders de [hidden]-default */

/* Geluid-toggle rechtsonder op de film */
.film-sound {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(4, 18, 34, 0.55); color: #fff; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s var(--ease-out);
}
.film-sound:hover { background: rgba(29, 95, 214, 0.9); transform: scale(1.06); }
.film-sound svg { width: 24px; height: 24px; }
.film-sound[hidden] { display: none; }
.film-sound .ico-sound { display: none; }
.film-sound[aria-pressed="true"] .ico-muted { display: none; }
.film-sound[aria-pressed="true"] .ico-sound { display: block; }

/* Geen JS / reduced-motion: geen pin, gewoon een nette kaart in een band. */
.film-band:not(.film-ready) .film-track { height: auto; padding: clamp(56px, 8vh, 110px) 0; }
.film-band:not(.film-ready) .film-sticky { position: static; height: auto; }
.film-band:not(.film-ready) .film-frame {
  width: min(1120px, calc(100% - 2 * clamp(20px, 4vw, 56px)));
  height: auto; aspect-ratio: 16 / 9; margin: 0 auto; border-radius: var(--radius);
}
@media (prefers-reduced-motion: reduce) {
  /* dwing de statische kaart af, ongeacht film-ready */
  .film-band .film-track { height: auto !important; padding: clamp(56px,8vh,110px) 0; }
  .film-band .film-sticky { position: static !important; height: auto; }
  .film-band .film-frame {
    width: min(1120px, calc(100% - 2 * clamp(20px,4vw,56px))) !important;
    height: auto !important; aspect-ratio: 16/9; margin: 0 auto; border-radius: var(--radius) !important;
  }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(90px, 12vh, 160px); }
.sec-head { max-width: 820px; margin-bottom: clamp(44px, 6vh, 80px); }
.sec-eyebrow { color: var(--accent); margin-bottom: 18px; }
.h2 {
  font-size: clamp(36px, 4.6vw, 64px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.04; margin: 0;
  text-wrap: balance;
}
.sec-sub { color: var(--muted); font-size: 19px; max-width: 560px; margin-top: 22px; text-wrap: pretty; }

/* ---------- Demo (pinned scrollytelling) ---------- */
.demo-track { height: 420vh; }
body[data-motion="calm"] .demo-track { height: 300vh; }
.demo-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.demo-grid {
  display: grid; grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(28px, 4vw, 64px); align-items: center; width: 100%;
}
@media (max-width: 960px) {
  .demo-sticky { align-items: flex-start; padding-top: calc(72px + 14px); }
  .browser-body { height: min(440px, 46svh); }
  .demo-grid { grid-template-columns: 1fr; gap: 16px; }
  .demo-captions {
    display: flex; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; scrollbar-width: none;
  }
  .demo-captions::-webkit-scrollbar { display: none; }
  .demo-caption {
    flex: 0 0 min(76vw, 300px); scroll-snap-align: start;
    opacity: 0.45; transform: none; padding: 12px 0;
  }
  .demo-caption.active { opacity: 1; }
  .demo-caption h3 { font-size: 18px; margin: 6px 0 4px; }
  .demo-caption p { font-size: 14px; }
}

.demo-caption {
  padding: 18px 0; opacity: 0.22; transform: translateX(-8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  border-top: 1px solid var(--line);
}
.demo-caption.active { opacity: 1; transform: none; }
.demo-caption .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.demo-caption h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 6px; }
.demo-caption p { margin: 0; color: var(--muted); font-size: 16px; max-width: 330px; }

/* fake browser */
.browser {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 100px -40px rgba(3, 45, 92, 0.35);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f6f8fa;
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; }
.browser-dots i:nth-child(1) { background: #fc5f57; }
.browser-dots i:nth-child(2) { background: #fdbc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1; max-width: 380px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  padding: 5px 14px; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-body { position: relative; height: min(560px, 62vh); overflow: hidden; }

/* fake bakery site */
.bakery { height: 100%; display: flex; flex-direction: column; font-size: 14px; }
.bakery-nav {
  display: flex; align-items: center; gap: 18px; padding: 16px 26px;
  border-bottom: 1px solid #efe7da; background: #fffdf8;
}
.bakery-logo { font-weight: 800; font-size: 16px; color: #6b3f1d; letter-spacing: -0.01em; }
.bakery-nav span { color: #9b8468; font-size: 13px; }
.bakery-nav span:first-of-type { margin-left: auto; }
.bakery-hero { flex: 1; background: linear-gradient(160deg, #fdf6ea, #f7e9d3); padding: 40px 26px; position: relative; }
.bakery-hero .mock-h { font-size: clamp(22px, 2.6vw, 34px); color: #4a2c12; margin: 0 0 10px; letter-spacing: -0.02em; line-height: 1.1; max-width: 330px; }
.bakery-hero p { color: #8a6d4d; margin: 0 0 18px; max-width: 300px; font-size: 13.5px; }
.bakery-pill { display: inline-block; background: #6b3f1d; color: #fff; border-radius: 99px; padding: 8px 18px; font-size: 13px; font-weight: 600; }
.bakery-img {
  position: absolute; right: 26px; bottom: 26px; width: 38%; aspect-ratio: 4/3;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, #f0e2cc, #f0e2cc 10px, #e8d6ba 10px, #e8d6ba 20px);
  display: grid; place-items: center;
}
.bakery-img span { font-family: var(--font-mono); font-size: 10px; color: #a98a62; letter-spacing: 0.1em; }
@media (max-width: 640px) { .bakery-img { display: none; } }

/* chat widget inside browser */
.widget-bubble {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(3, 45, 92, 0.55);
  transition: transform 0.4s var(--ease-out);
}
.widget-bubble svg { width: 26px; height: 26px; }
.widget-bubble.hidden { transform: scale(0); }

.widget {
  position: absolute; right: 20px; bottom: 20px; z-index: 4;
  width: min(340px, calc(100% - 40px)); height: min(440px, calc(100% - 40px));
  background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -25px rgba(3, 45, 92, 0.45);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(24px) scale(0.92); opacity: 0;
  transform-origin: bottom right;
  transition: transform 0.55s var(--ease-out), opacity 0.45s var(--ease-out);
}
.widget.open { transform: none; opacity: 1; }
.widget-head {
  background: var(--navy); color: #fff; padding: 14px 18px;
  display: flex; align-items: center; gap: 11px;
}
.widget-head .bot-dot { background: rgba(255, 255, 255, 0.16); width: 34px; height: 34px; font-size: 12px; }
.widget-head .name { font-weight: 700; font-size: 14px; }
.widget-head .status { font-size: 11.5px; opacity: 0.75; }
.widget-body { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.widget-body .msg .bubble { font-size: 13.5px; }
.widget-chips { display: none; flex-wrap: wrap; gap: 8px; padding: 0 16px 8px; }
.widget-chips.on { display: flex; animation: msgIn 0.45s var(--ease-out) both; }
.widget-chips button {
  font: 600 12.5px var(--font-display); color: var(--accent);
  background: #fff; border: 1.5px solid var(--accent); border-radius: 99px;
  padding: 7px 14px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.widget-chips button:hover { background: var(--accent); color: #fff; }
.widget-foot {
  border-top: 1px solid var(--line); padding: 12px 16px;
  font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center;
}
.widget-foot .brand { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  border-top: 2px solid var(--ink); padding-top: 26px;
}
.step .num {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.14em;
}
.step h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 12px; }
.step p { color: var(--muted); margin: 0; font-size: 17px; }

/* ---------- Features ---------- */
.features-band { background: var(--navy); color: #fff; }
.features-band .h2 { color: #fff; }
.features-band .sec-sub { color: rgba(255, 255, 255, 0.65); }
.features-band .sec-eyebrow { color: #8db4ee; }
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.3s;
}
.feat:hover { background: rgba(255, 255, 255, 0.05); }
.feat .glyph { font-family: var(--font-mono); color: #8db4ee; font-size: 15px; letter-spacing: 0.1em; }
.feat h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin: 16px 0 10px; }
.feat p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); align-items: stretch; }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; } }
.price-card {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 2.6vw, 40px); background: #fff;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(3, 45, 92, 0.25); }
.price-card.hot { border-color: var(--accent); position: relative; }
.price-card.hot .flag {
  position: absolute; top: -13px; left: 28px;
  background: var(--accent); color: #fff; border-radius: 99px;
  font: 600 12px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px;
}
.price-card .tier { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.price-card .amount { font-size: clamp(44px, 4vw, 58px); font-weight: 800; letter-spacing: -0.04em; margin: 18px 0 2px; line-height: 1; }
.price-card .amount small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .for { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.price-card ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; font-size: 15.5px; }
.price-card ul li { padding-left: 26px; position: relative; }
.price-card ul li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.price-card .btn { margin-top: auto; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 20px;
  padding: 26px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ind {
  font-weight: 400; color: var(--accent); font-size: 26px; line-height: 1;
  transition: transform 0.3s var(--ease-out); flex-shrink: 0;
}
.faq-item[open] summary .ind { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 28px 46px; color: var(--muted); max-width: 680px; margin: 0; text-wrap: pretty; }

/* ---------- Contact / CTA ---------- */
.cta-final { text-align: center; }
.cta-final .display { font-size: clamp(44px, 7vw, 110px); }
.cta-final .hero-sub { margin-inline: auto; }
.cta-meta { margin-top: 56px; display: flex; gap: clamp(24px, 5vw, 72px); justify-content: center; flex-wrap: wrap; }
.cta-meta a { text-decoration: none; }
.cta-meta .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cta-meta .val { font-size: 19px; font-weight: 600; margin-top: 6px; }
.cta-meta .val:hover { color: var(--accent); }

/* ---------- Contact form (lead-intake → CRM) ---------- */
.contact-form { max-width: 620px; margin: 40px auto 0; text-align: left; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.cf-field { margin-bottom: 16px; }
.cf-field label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.cf-field input, .cf-field textarea {
  width: 100%; padding: 13px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-field input:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.cf-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-submit { width: 100%; justify-content: center; cursor: pointer; border: 0; }
.cf-submit[disabled] { opacity: 0.6; cursor: wait; }
.cf-status { margin-top: 14px; min-height: 1.4em; font-size: 15px; text-align: center; }
.cf-status.ok { color: #1a7f4b; }
.cf-status.err { color: #c0392b; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 50px; }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-inner img { height: 30px; }
.foot-inner .copy { color: var(--muted); font-size: 14px; }
.foot-links { margin-left: auto; display: flex; gap: 22px; }
.foot-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ---------- About page ---------- */
.about-hero { padding-top: 180px; padding-bottom: 90px; }
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-body p { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); margin: 0 0 1.4em; text-wrap: pretty; }
.about-body p.lede { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.4; }
.values { display: grid; gap: 0; margin-top: 8px; }
.value { border-top: 1px solid var(--line); padding: 26px 0; }
.value h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.015em; }
.value p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- make it yours (live preview) ---------- */
.yours-grid {
  display: grid; grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
@media (max-width: 960px) { .yours-grid { grid-template-columns: 1fr; } }
.ctrl-label { color: var(--muted); display: block; margin-bottom: 14px; }
.ctrl-input {
  width: 100%; border: 0; border-bottom: 2.5px solid var(--ink); background: transparent;
  font: 700 clamp(24px, 2.4vw, 32px) var(--font-display); letter-spacing: -0.02em;
  color: var(--ink); padding: 6px 2px 12px; outline: none; margin-bottom: 38px;
  border-radius: 0; transition: border-color 0.2s;
}
.ctrl-input:focus { border-color: var(--accent); }
.ctrl-input::placeholder { color: #b6c0cf; }
.type-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.type-chip {
  font: 600 15px var(--font-display); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 99px;
  padding: 11px 20px; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.type-chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.type-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.yours-note { color: var(--muted); font-size: 15px; margin-top: 32px; max-width: 320px; text-wrap: pretty; }

.pv-stage { height: min(580px, 66vh); }
.pv-site { height: 100%; display: flex; flex-direction: column; font-size: 14px; }
.pv-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 26px; background: var(--pv-bg1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pv-logo { font-weight: 800; font-size: 16px; color: var(--pv-acc); letter-spacing: -0.01em; }
.pv-nav nav { display: flex; gap: 18px; }
.pv-nav nav span { color: var(--pv-mut); font-size: 13px; }
.pv-hero { flex: 1; background: linear-gradient(160deg, var(--pv-bg1), var(--pv-bg2)); padding: 40px 26px; }
.pv-hero .mock-h { font-size: clamp(22px, 2.4vw, 32px); color: var(--pv-ink); margin: 0 0 10px; letter-spacing: -0.02em; line-height: 1.1; max-width: 320px; }
.pv-hero p { color: var(--pv-mut); margin: 0 0 18px; max-width: 300px; font-size: 13.5px; }
.pv-pill { display: inline-block; background: var(--pv-acc); color: #fff; border-radius: 99px; padding: 8px 18px; font-size: 13px; font-weight: 600; }

.pv-widget .widget-head { background: var(--pv-acc); transition: background 0.4s; }
.pv-widget .msg.user .bubble { background: var(--pv-acc); transition: background 0.4s; }
.pv-widget .widget-chips button { color: var(--pv-acc); border-color: var(--pv-acc); }
.pv-widget .widget-chips button:hover { background: var(--pv-acc); color: #fff; }

/* ---------- site's own chatbot ---------- */
/* Tijdens de pinned demo botst de echte chat-bubble met de nep-chat in de
   browser-mock (zelfde hoek). Verberg de bubble zolang de demo in beeld is,
   behalve als het gesprek al open staat. Class komt uit dirq.js (IO). */
body.demo-in-view #sitebot:not(.open) { opacity: 0; pointer-events: none; }
#sitebot { transition: opacity 0.3s; }

#sitebot .sitebot-bubble {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 16px 40px -12px rgba(3, 45, 92, 0.55);
  transition: transform 0.3s var(--ease-out), background 0.2s;
}
#sitebot .sitebot-bubble:hover { transform: scale(1.08); }
#sitebot .sitebot-bubble svg { width: 26px; height: 26px; position: absolute; transition: opacity 0.2s, transform 0.3s var(--ease-out); }
#sitebot .ico-close { opacity: 0; transform: rotate(-90deg); }
#sitebot.open .ico-close { opacity: 1; transform: none; }
#sitebot.open .ico-chat { opacity: 0; transform: rotate(90deg); }

#sitebot .sitebot-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 80;
  width: min(372px, calc(100vw - 32px));
  height: min(540px, calc(100svh - 130px));
  background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(3, 45, 92, 0.45);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(0.94); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.45s var(--ease-out), opacity 0.35s var(--ease-out);
}
#sitebot.open .sitebot-panel { transform: none; opacity: 1; pointer-events: auto; }
#sitebot .widget-body .msg .bubble { font-size: 13.5px; }
#sitebot .sitebot-chips { display: flex; }
.sitebot-input {
  display: flex; gap: 8px; align-items: center;
  border-top: 1px solid var(--line); padding: 10px 12px;
}
.sitebot-input input {
  flex: 1; border: 0; outline: none; font: 400 14px var(--font-display);
  color: var(--ink); padding: 10px 6px; background: transparent;
}
.sitebot-input button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}
.sitebot-input button:hover { transform: scale(1.08); }
.sitebot-input button svg { width: 17px; height: 17px; }

/* page enter */
@media (prefers-reduced-motion: no-preference) {
  .page-enter { animation: pageIn 0.8s var(--ease-out) both; }
  @keyframes pageIn { from { opacity: 0; transform: translateY(20px); } }
}

/* ---------- production extras ---------- */
.team-photo-ph {
  margin: 0; width: 100%; aspect-ratio: 4/5;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px;
  display: grid; place-items: center; color: var(--muted);
}

/* ---------- ROI calculator ---------- */
.roi-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
@media (max-width: 920px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-controls label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-bottom: 6px;
}
.roi-controls label .cur { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-transform: none; }
.roi-controls input[type="range"] {
  width: 100%; accent-color: var(--accent); margin: 4px 0 40px; cursor: pointer;
}
.roi-note { color: var(--muted); font-size: 15.5px; max-width: 380px; text-wrap: pretty; margin: 0; }
.roi-result { text-align: left; }
.roi-num {
  font-weight: 800; font-size: clamp(56px, 6.5vw, 104px);
  letter-spacing: -0.045em; line-height: 1; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.roi-label { color: var(--muted); margin-top: 14px; }
.roi-compare { font-size: 19px; font-weight: 600; margin: 22px 0 32px; }
.roi-small { color: var(--muted); font-size: 13.5px; margin-top: 26px; }

/* ---------- footer grid ---------- */
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col .foot-h { color: var(--ink); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; padding: 5px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.foot-brand .copy { color: var(--muted); font-size: 14px; margin: 0 0 6px; }

/* ---------- sector pages ---------- */
.sector-hero { padding-top: 170px; padding-bottom: 70px; }
.sector-hero .display { font-size: clamp(40px, 6vw, 88px); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
@media (max-width: 880px) { .pains { grid-template-columns: 1fr; } }
.pain { border-top: 2px solid var(--ink); padding-top: 22px; }
.pain p { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.convo-wrap { display: flex; justify-content: center; }
.convo {
  width: min(440px, 100%); background: #fff;
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(3, 45, 92, 0.25); overflow: hidden;
}
.convo .widget-head { background: var(--pv-acc, var(--navy)); color: #fff; }
.convo .convo-body { padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.convo .msg.user .bubble { background: var(--pv-acc, var(--accent)); color: #fff; }

/* ---------- kennisbank / articles ---------- */
.article-hero { padding-top: 170px; padding-bottom: 40px; }
.article-hero h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 18px 0 0; max-width: 880px; text-wrap: balance; }
.article-meta { color: var(--muted); }
.article-body { max-width: 720px; padding-bottom: clamp(70px, 9vh, 130px); }
.article-body p { font-size: 18.5px; line-height: 1.75; margin: 0 0 1.5em; text-wrap: pretty; }
.article-body p.lede { font-size: 22px; font-weight: 600; line-height: 1.55; letter-spacing: -0.012em; }
.article-body h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.025em; margin: 1.8em 0 0.7em; }
.article-body ul { font-size: 18.5px; line-height: 1.75; padding-left: 24px; margin: 0 0 1.5em; }
.article-body li { margin-bottom: 0.5em; }
.article-body .takeaway {
  border: 1.5px solid var(--accent); border-radius: var(--radius);
  padding: 24px 28px; margin: 2em 0; font-size: 18px; font-weight: 600;
}
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
@media (max-width: 880px) { .kb-grid { grid-template-columns: 1fr; } }
.kb-card {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 2.4vw, 36px); background: #fff; text-decoration: none;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.2s;
}
.kb-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(3,45,92,0.25); border-color: var(--accent); }
.kb-card h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.018em; margin: 0; line-height: 1.25; }
.kb-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.kb-card .more { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: auto; }
