/* ==========================================================================
   Sophie — v4 editoriale laag
   Monochroom: inkt, pruimzwart voor koppen, warm grijs, wit. De schilderijen
   en video's brengen de kleur. Grote lichte typografie, veel lucht, beeld in
   afgeronde kaders met parallax. Geen decoratieve accenten, geen nep-UI.
   ========================================================================== */

:root {
  --v4-ink: #111114;
  --v4-plum: #1b0624;
  --v4-text: #3b3a41;
  --v4-muted: #6f6e76;
  --v4-faint: #9b9aa1;
  --v4-line: rgba(17, 17, 20, 0.09);
  --v4-line-strong: rgba(17, 17, 20, 0.16);
  --v4-paper: #ffffff;
  --v4-sand: #f4f3ef;
  --v4-stone: #e9e7e1;
  --v4-wrap: 1180px;
  --v4-narrow: 800px;
  --v4-radius: 28px;
  --v4-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --v4-shadow: 0 40px 100px -40px rgba(17, 17, 20, 0.35);
}

/* Knoppen sitewide: inkt in plaats van oranje */
.btn--primary,
.nav__cta.nav__cta--primary,
.home-hero-spotlight .home-hero__actions .btn--primary { background: var(--v4-ink); color: #fff; }
.btn--primary:hover,
.nav__cta.nav__cta--primary:hover { background: #2a2a30; }
.btn--primary::after { display: none; }
.footer__btn--primary { background: #fff; color: var(--v4-ink); border-color: #fff; }
.footer__btn--primary:hover { background: #e9e7e1; }
.btn--light { background: #fff; color: var(--v4-ink); }
.btn--light:hover { background: #f1f0ec; transform: scale(1.03); }
.btn--ghost { color: var(--v4-ink); }
.sophie-xai-hero__cursor { background: #fff; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.v4-section { position: relative; padding: clamp(96px, 11vw, 168px) 0; }
.v4-section--tight { padding: clamp(56px, 6vw, 96px) 0; }
.v4-section--flush-top { padding-top: 0; }
.v4-section--flush-bottom { padding-bottom: 0; }
.v4-section--sand { background: var(--v4-sand); }
.v4-section--ink { background: var(--v4-ink); color: #fff; }
.v4-section--ink .v4-h2, .v4-section--ink .v4-h3, .v4-section--ink .v4-statement { color: #fff; }
.v4-section--ink .v4-lead, .v4-section--ink .v4-p { color: rgba(255, 255, 255, 0.72); }
.v4-section--ink .v4-kicker { color: rgba(255, 255, 255, 0.5); }

.v4-wrap { width: min(var(--v4-wrap), calc(100% - 48px)); margin: 0 auto; }
.v4-wrap--narrow { width: min(var(--v4-narrow), calc(100% - 48px)); }
.v4-wrap--wide { width: min(1400px, calc(100% - 48px)); }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.v4-kicker {
  display: block;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-muted);
}
.v4-h1 { margin: 0; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; font-weight: 300; letter-spacing: -0.045em; color: var(--v4-plum); }
.v4-h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.042em;
  color: var(--v4-plum);
  text-wrap: balance;
}
.v4-h2--md { font-size: clamp(28px, 3.2vw, 44px); }
.v4-h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; color: var(--v4-ink); }
.v4-lead {
  margin: 26px 0 0;
  max-width: 620px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--v4-text);
  text-wrap: pretty;
}
.v4-p { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 300; color: var(--v4-muted); text-wrap: pretty; }
.v4-p + .v4-p { margin-top: 14px; }
.v4-p strong { color: var(--v4-ink); font-weight: 500; }
.v4-p a { color: var(--v4-ink); text-decoration: underline; text-decoration-color: var(--v4-line-strong); text-underline-offset: 4px; }
.v4-p a:hover { opacity: 1; text-decoration-color: var(--v4-ink); }

.v4-head { max-width: 820px; }
.v4-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.v4-head--center .v4-lead { margin-left: auto; margin-right: auto; }
.v4-head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px 72px; align-items: end; max-width: none; }
.v4-head--split .v4-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.v4-head--split .v4-lead { margin-top: 0; padding-bottom: 8px; }
.v4-head + * { margin-top: clamp(48px, 6vw, 88px); }

.v4-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.v4-head--center .v4-actions { justify-content: center; }
.v4-link { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--v4-ink); }
.v4-link .v4-arrow { width: 16px; height: 16px; transition: transform 0.4s var(--v4-ease); }
.v4-link:hover { opacity: 1; }
.v4-link:hover .v4-arrow { transform: translateX(5px); }
.btn--arrow { gap: 10px; }
.btn--arrow .v4-arrow { width: 15px; height: 15px; transition: transform 0.4s var(--v4-ease); }
.btn--arrow:hover .v4-arrow { transform: translateX(4px); }

/* Statement: één grote lichte zin */
.v4-statement {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--v4-plum);
  text-wrap: balance;
}
.v4-statement strong { font-weight: 400; }
.v4-statement--sm { font-size: clamp(24px, 2.8vw, 40px); }

/* Editoriale kolommen: kleine kop links, tekst rechts */
.v4-editorial { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 80px; align-items: start; }
.v4-editorial__aside { position: sticky; top: 112px; }
.v4-editorial__aside .v4-h2 { font-size: clamp(30px, 3.4vw, 46px); }
.v4-editorial__body .v4-p { font-size: 18px; line-height: 1.62; }
.v4-editorial__body .v4-p + .v4-p { margin-top: 18px; }
.v4-editorial__body .v4-lead { margin-top: 0; }
.v4-editorial__body .v4-lead + .v4-p { margin-top: 22px; }

/* Genummerde index (rijen met haarlijn) */
.v4-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--v4-line); }
.v4-index__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--v4-line);
}
.v4-index__num { font-size: 15px; font-weight: 300; letter-spacing: -0.01em; color: var(--v4-faint); font-variant-numeric: tabular-nums; padding-top: 6px; }
.v4-index__title { margin: 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; font-weight: 300; letter-spacing: -0.03em; color: var(--v4-plum); }
.v4-index__text { font-size: 17px; line-height: 1.6; font-weight: 300; color: var(--v4-muted); }
.v4-index__text strong { color: var(--v4-ink); font-weight: 500; }
.v4-section--ink .v4-index, .v4-section--ink .v4-index__row { border-color: rgba(255, 255, 255, 0.12); }
.v4-section--ink .v4-index__title { color: #fff; }
.v4-section--ink .v4-index__text { color: rgba(255, 255, 255, 0.66); }
.v4-section--ink .v4-index__text strong { color: #fff; }
.v4-section--ink .v4-index__num { color: rgba(255, 255, 255, 0.4); }

/* Pijlers: 3 of 4 tekstkolommen */
.v4-pillars { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 40px 36px; }
.v4-pillar__num { display: block; margin-bottom: 26px; font-size: 15px; font-weight: 300; color: var(--v4-faint); font-variant-numeric: tabular-nums; }
.v4-pillar .v4-h3 { font-size: 21px; }
.v4-pillar .v4-p { font-size: 16px; }
.v4-section--ink .v4-pillar .v4-h3 { color: #fff; }
.v4-section--ink .v4-pillar__num { color: rgba(255, 255, 255, 0.4); }

/* Checklist, sober */
.v4-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.v4-list li { padding: 14px 0; border-top: 1px solid var(--v4-line); font-size: 16.5px; line-height: 1.5; color: var(--v4-text); font-weight: 300; }
.v4-list li:last-child { border-bottom: 1px solid var(--v4-line); }
.v4-list li strong { color: var(--v4-ink); font-weight: 500; }
.v4-section--ink .v4-list li { border-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.76); }
.v4-section--ink .v4-list li strong { color: #fff; }

/* --------------------------------------------------------------------------
   Beeld
   -------------------------------------------------------------------------- */
.v4-media {
  position: relative;
  margin: 0;
  border-radius: var(--v4-radius);
  overflow: hidden;
  background: var(--v4-stone);
  isolation: isolate;
  aspect-ratio: var(--ar, 16 / 10);
}
.v4-media--tall { --ar: 4 / 5; }
.v4-media--wide { --ar: 21 / 9; }
.v4-media--square { --ar: 1; }
.v4-media img, .v4-media video {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, var(--v4-py, 0px), 0);
  will-change: transform;
}
.v4-media--static img, .v4-media--static video { inset: 0; height: 100%; transform: none; }
.v4-media__cap {
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 2;
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #fff;
  background: rgba(17, 17, 20, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.v4-media__cap strong { display: block; font-weight: 500; font-size: 14px; }

/* Twee beelden naast elkaar, verspringend */
.v4-duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.v4-duo > :last-child { margin-top: clamp(48px, 8vw, 120px); }

/* Tekst + beeld */
.v4-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.v4-split--flip > :first-child { order: 2; }
.v4-split__copy .v4-h2 { font-size: clamp(30px, 3.4vw, 48px); }
.v4-split__copy .v4-p { margin-top: 22px; }
.v4-split__copy .v4-lead { font-size: 19px; }

/* Grote videokader */
.v4-frame {
  position: relative;
  border-radius: var(--v4-radius);
  overflow: hidden;
  background: var(--v4-stone);
  box-shadow: var(--v4-shadow);
}
.v4-frame video, .v4-frame img { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   Cijfers, logo's, citaat, team, tijdlijn, FAQ, CTA
   -------------------------------------------------------------------------- */
.v4-stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px 40px; }
.v4-stat { padding-top: 22px; border-top: 1px solid var(--v4-line-strong); }
.v4-stat__val { display: block; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; font-weight: 300; letter-spacing: -0.045em; color: var(--v4-plum); font-variant-numeric: tabular-nums; }
.v4-stat__val small { font-size: 0.42em; letter-spacing: -0.01em; color: var(--v4-muted); margin-left: 4px; }
.v4-stat__label { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--v4-muted); }
.v4-section--ink .v4-stat { border-color: rgba(255, 255, 255, 0.18); }
.v4-section--ink .v4-stat__val { color: #fff; }
.v4-section--ink .v4-stat__val small, .v4-section--ink .v4-stat__label { color: rgba(255, 255, 255, 0.55); }

.v4-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 60px; }
.v4-logos img { height: 32px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: opacity 0.5s, filter 0.5s; }
.v4-logos img:hover { filter: none; opacity: 1; }
.v4-logos__note { width: 100%; margin: 0 0 6px; text-align: center; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v4-faint); }

.v4-quote { margin: 0; }
.v4-quote blockquote { margin: 0; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.16; font-weight: 300; letter-spacing: -0.035em; color: var(--v4-plum); text-wrap: balance; max-width: 980px; }
.v4-quote figcaption { margin-top: 30px; display: flex; align-items: center; gap: 16px; font-size: 14.5px; color: var(--v4-muted); }
.v4-quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; filter: saturate(0.9); }
.v4-quote figcaption strong { display: block; color: var(--v4-ink); font-weight: 500; }
.v4-section--ink .v4-quote blockquote { color: #fff; }
.v4-section--ink .v4-quote figcaption { color: rgba(255, 255, 255, 0.6); }
.v4-section--ink .v4-quote figcaption strong { color: #fff; }

.v4-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.v4-person__img { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--v4-stone); }
.v4-person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: saturate(0.85); transition: transform 1.4s var(--v4-ease), filter 0.8s; }
.v4-person:hover .v4-person__img img { transform: scale(1.04); filter: saturate(1); }
.v4-person__body { padding: 18px 4px 0; }
.v4-person__name { display: block; font-size: 18px; font-weight: 500; color: var(--v4-ink); letter-spacing: -0.015em; }
.v4-person__role { display: block; margin-top: 3px; font-size: 14px; color: var(--v4-muted); }
.v4-person__quote { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--v4-muted); font-weight: 300; }
.v4-person__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.v4-person__links a { font-size: 13.5px; font-weight: 500; color: var(--v4-ink); text-decoration: underline; text-decoration-color: var(--v4-line-strong); text-underline-offset: 4px; }
.v4-person__links a:hover { opacity: 1; text-decoration-color: var(--v4-ink); }

.v4-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.v4-milestone { padding-top: 22px; border-top: 1px solid var(--v4-line-strong); }
.v4-milestone--now { border-top-color: var(--v4-ink); }
.v4-milestone time { display: block; font-size: 14px; color: var(--v4-faint); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.v4-milestone .v4-h3 { font-size: 19px; }
.v4-milestone .v4-p { font-size: 15.5px; }

.v4-faq { display: grid; gap: 0; border-top: 1px solid var(--v4-line); }
.v4-faq details { border-bottom: 1px solid var(--v4-line); }
.v4-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 400; letter-spacing: -0.015em; color: var(--v4-ink); }
.v4-faq summary::-webkit-details-marker { display: none; }
.v4-faq summary i { position: relative; width: 28px; height: 28px; flex: none; transition: transform 0.5s var(--v4-ease); }
.v4-faq summary i::before, .v4-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--v4-ink); transform: translate(-50%, -50%); }
.v4-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.v4-faq details[open] summary i { transform: rotate(45deg); }
.v4-faq__body { padding: 0 60px 26px 0; font-size: 16.5px; line-height: 1.62; color: var(--v4-muted); font-weight: 300; max-width: 760px; }
.v4-faq__body p { margin: 0; }
.v4-faq__body p + p { margin-top: 12px; }
.v4-faq__body a { color: var(--v4-ink); text-decoration: underline; text-underline-offset: 4px; }
.v4-faq-group + .v4-faq-group { margin-top: clamp(56px, 7vw, 96px); }
.v4-faq-group .v4-h2--md { margin-bottom: 28px; }

.v4-cta {
  position: relative;
  margin: 0 24px;
  border-radius: var(--v4-radius);
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: clamp(56px, 8vw, 112px) 24px;
  text-align: center;
  color: #fff;
  background: #1a1c1e;
}
.v4-cta__img { position: absolute; inset: -22% 0; width: 100%; height: 144%; object-fit: cover; z-index: -2; transform: translate3d(0, var(--v4-py, 0px), 0); will-change: transform; }
.v4-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 12, 0.3), rgba(10, 10, 12, 0.66)); }
.v4-cta .v4-kicker { color: rgba(255, 255, 255, 0.65); }
.v4-cta .v4-h2 { color: #fff; }
.v4-cta .v4-lead { color: rgba(255, 255, 255, 0.82); margin-left: auto; margin-right: auto; }
.v4-cta__panel { max-width: 760px; }
.v4-cta .v4-actions { justify-content: center; }
.v4-cta__note { margin: 24px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   Hero (schilderij-kaart) — sober
   -------------------------------------------------------------------------- */
.page--sophie-xai .sophie-xai-hero__inner,
.page--maatwerk-xai .sophie-xai-hero__inner,
.page--about-xai .sophie-xai-hero__inner {
  background-image: none !important;
  min-height: clamp(480px, 66svh, 680px);
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4.5vw, 72px);
  isolation: isolate;
}
.v4-hero-img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: center 40%; z-index: 0; pointer-events: none; will-change: transform; transform: translate3d(0, var(--v4-py, 0px), 0) scale(1.02); }
.v4-hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 8, 10, 0.06) 0%, rgba(8, 8, 10, 0) 35%, rgba(8, 8, 10, 0.6) 100%), linear-gradient(90deg, rgba(8, 8, 10, 0.3) 0%, rgba(8, 8, 10, 0) 60%); }
.page--sophie-xai .sophie-xai-hero__copy,
.page--maatwerk-xai .sophie-xai-hero__copy,
.page--about-xai .sophie-xai-hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; max-width: 880px; margin: 0; }
.page--sophie-xai .sophie-xai-hero__title,
.page--maatwerk-xai .sophie-xai-hero__title,
.page--about-xai .sophie-xai-hero__title { text-align: left; margin: 0; min-height: 2.1em; font-size: clamp(36px, 5.2vw, 70px); line-height: 1.03; letter-spacing: -0.045em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.v4-hero-kicker { display: block; margin: 0 0 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.v4-hero-lead { margin: 22px 0 0; max-width: 580px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; font-weight: 300; color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3); }
.v4-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.v4-hero-actions .btn--primary { background: #fff; color: var(--v4-ink); }
.v4-hero-actions .btn--primary:hover { background: #ececea; }
.v4-hero-actions .btn--ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.v4-hero-actions .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* Home hero: lichte typografie */
.home-hero-spotlight .page-hero--home h1 { margin-bottom: 22px; }
.home-hero-spotlight .home-hero__line--brand { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px; opacity: 0; }
.home-hero-spotlight .home-hero__line--1 { font-size: clamp(38px, 5.6vw, 78px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.02; max-width: 13ch; }
.home-hero-spotlight .home-lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; }
.home-hero-spotlight .home-hero__actions .btn--primary { background: #fff; color: var(--v4-ink); }
.home-hero-spotlight .home-hero__actions .btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Ankerrij (Sophie) — sticky + top volgt site-nav (zie sophie-page.css) */
.sophie-xai-anchors a.is-active { color: var(--v4-ink); }

/* Architectuurdiagram (bestaande SVG) monochroom */
.sophie-architecture-diagram .arch-node--core rect { fill: var(--v4-ink) !important; stroke: var(--v4-ink) !important; }
.sophie-architecture-diagram rect[fill="#fdf1ea"] { fill: #f4f3ef !important; stroke: #d9d7d1 !important; }
.sophie-architecture-diagram text[fill="#a8380f"], .sophie-architecture-diagram text[fill="#c2441a"] { fill: #3b3a41 !important; }
.sophie-architecture-diagram #arch-arrow-dash path { fill: #6f6e76 !important; }
.sophie-architecture-diagram .ln-dash { stroke: #6f6e76 !important; }

/* --------------------------------------------------------------------------
   Beweging
   -------------------------------------------------------------------------- */
html.v4 .v4-r { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(5px); transition: opacity 1.1s var(--v4-ease), transform 1.2s var(--v4-ease), filter 1s var(--v4-ease); transition-delay: var(--d, 0s); will-change: opacity, transform, filter; }
html.v4 .v4-r--scale { transform: scale(0.96); }
html.v4 .v4-r.is-in { opacity: 1; transform: none; filter: none; }
html.v4 .v4-stagger > * { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--v4-ease), transform 1.1s var(--v4-ease); }
html.v4 .v4-stagger.is-in > * { opacity: 1; transform: none; }
html.v4 .v4-stagger.is-in > :nth-child(1) { transition-delay: 0.05s; }
html.v4 .v4-stagger.is-in > :nth-child(2) { transition-delay: 0.16s; }
html.v4 .v4-stagger.is-in > :nth-child(3) { transition-delay: 0.27s; }
html.v4 .v4-stagger.is-in > :nth-child(4) { transition-delay: 0.38s; }
html.v4 .v4-stagger.is-in > :nth-child(5) { transition-delay: 0.49s; }
html.v4 .v4-stagger.is-in > :nth-child(6) { transition-delay: 0.6s; }
html.v4 .v4-stagger.is-in > :nth-child(n + 7) { transition-delay: 0.7s; }
html.v4 .v4-words .v4-w { display: inline-block; opacity: 0; transform: translate3d(0, 0.45em, 0); filter: blur(4px); transition: opacity 0.8s var(--v4-ease), transform 1s var(--v4-ease), filter 0.8s var(--v4-ease); transition-delay: calc(var(--wi) * 0.055s); }
html.v4 .v4-words.is-in .v4-w { opacity: 1; transform: none; filter: none; }
/* Haarlijnen tekenen zichzelf */
html.v4 .v4-index__row, html.v4 .v4-stat, html.v4 .v4-milestone, html.v4 .v4-list li { position: relative; }
html.v4 .v4-stagger .v4-index__row, html.v4 .v4-stagger .v4-stat, html.v4 .v4-stagger .v4-milestone { border-top-color: transparent; border-bottom-color: transparent; }
html.v4 .v4-stagger .v4-index__row::after, html.v4 .v4-stagger .v4-stat::before, html.v4 .v4-stagger .v4-milestone::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--v4-line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--v4-ease); transition-delay: inherit; }
html.v4 .v4-stagger .v4-index__row::after { top: auto; bottom: -1px; }
html.v4 .v4-stagger.is-in .v4-index__row::after, html.v4 .v4-stagger.is-in .v4-stat::before, html.v4 .v4-stagger.is-in .v4-milestone::before { transform: scaleX(1); }
html.v4 .v4-stagger.is-in .v4-index { border-top-color: var(--v4-line); }
html.v4 .v4-stagger .v4-index { border-top-color: transparent; transition: border-color 1s; }
.v4-section--ink .v4-stagger .v4-index__row::after, .v4-section--ink .v4-stagger .v4-stat::before { background: rgba(255, 255, 255, 0.18); }
.v4-milestone--now::before { background: var(--v4-ink) !important; }

@media (prefers-reduced-motion: reduce) {
  html.v4 .v4-r, html.v4 .v4-stagger > *, html.v4 .v4-words .v4-w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  html.v4 .v4-stagger .v4-index__row::after, html.v4 .v4-stagger .v4-stat::before, html.v4 .v4-stagger .v4-milestone::before { transform: none !important; }
}

/* --------------------------------------------------------------------------
   Responsief
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .v4-team, .v4-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v4-stats { --cols: 2; }
  .v4-pillars { --cols: 2; }
}
@media (max-width: 860px) {
  .v4-section { padding: clamp(72px, 14vw, 112px) 0; }
  .v4-wrap, .v4-wrap--narrow, .v4-wrap--wide { width: calc(100% - 40px); }
  .v4-head--split, .v4-editorial, .v4-split, .v4-duo { grid-template-columns: 1fr; gap: 24px; }
  .v4-editorial__aside { position: static; }
  .v4-split--flip > :first-child { order: 0; }
  .v4-duo > :last-child { margin-top: 0; }
  .v4-index__row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .v4-index__num { padding-top: 0; }
  .v4-pillars { --cols: 1; gap: 32px; }
  .v4-team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .v4-person__quote { display: none; }
  .v4-timeline { grid-template-columns: 1fr; }
  .v4-cta { margin: 0 16px; min-height: 0; border-radius: 22px; }
  .v4-media { border-radius: 20px; }
  .v4-faq__body { padding-right: 0; }
  .page--sophie-xai .sophie-xai-hero__inner, .page--maatwerk-xai .sophie-xai-hero__inner, .page--about-xai .sophie-xai-hero__inner { min-height: clamp(440px, 72svh, 580px); padding: 28px 22px; }
  .page--sophie-xai .sophie-xai-hero__title, .page--maatwerk-xai .sophie-xai-hero__title, .page--about-xai .sophie-xai-hero__title { font-size: clamp(30px, 8.6vw, 42px); }
  .v4-hero-actions .btn { min-height: 44px; font-size: 15px; padding: 0 18px; }
}
@media (max-width: 520px) {
  .v4-team { grid-template-columns: 1fr; }
  .v4-stats { --cols: 1; }
  .v4-logos { gap: 20px 28px; }
  .v4-logos img { height: 24px; }
}

/* Omlijnde knop op donkere/foto-achtergrond */
.btn--outline { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.42) !important; box-shadow: none !important; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12) !important; border-color: rgba(255, 255, 255, 0.7) !important; }

/* Videokader met bijsnijding (Area2.mp4 heeft witte randen in het bestand) */
.v4-frame--crop { aspect-ratio: var(--crop-ar, 2062 / 798); }
.v4-frame--crop video { position: absolute; left: var(--crop-x, -0.29%); top: var(--crop-y, -25.8%); width: var(--crop-w, 110.4%); height: var(--crop-h, 135.4%); object-fit: fill; }
.v4-frame { position: relative; }

/* Sobere vergelijkingstabel */
.v4-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.v4-table th, .v4-table td { padding: 18px 24px 18px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--v4-line); line-height: 1.5; }
.v4-table th { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v4-faint); padding-top: 0; }
.v4-table td:first-child { font-weight: 500; color: var(--v4-ink); width: 22%; }
.v4-table td:nth-child(2) { color: var(--v4-muted); font-weight: 300; }
.v4-table td:nth-child(3) { color: var(--v4-ink); font-weight: 300; }
@media (max-width: 860px) {
  .v4-table thead { display: none; }
  .v4-table tr { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--v4-line); }
  .v4-table td { display: block; padding: 0; border: 0; width: auto !important; }
  .v4-table td:nth-child(2)::before { content: "Generieke chatbot — "; color: var(--v4-faint); }
  .v4-table td:nth-child(3)::before { content: "Sophie — "; font-weight: 500; }
}

/* Diagramkader */
.v4-diagram { padding: clamp(20px, 4vw, 56px); border-radius: var(--v4-radius); background: var(--v4-sand); }
.v4-diagram svg { display: block; width: 100%; height: auto; max-width: 760px; margin: 0 auto; }

/* Design-sectie van de Sophie-pagina in de v4-typografie */
.page--sophie-xai .sophie-xai-design h2 { font-weight: 300; letter-spacing: -0.04em; font-size: clamp(30px, 3.4vw, 48px); color: var(--v4-plum); line-height: 1.06; }
.page--sophie-xai .sophie-xai-design { border-bottom: 0; }
.page--sophie-xai .sophie-xai-design .sophie-xai-kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v4-muted); }

/* Contact: gespreksflow in de editoriale kolom */
.page--contact .contact-layout { padding: 0; }
.page--contact .contact-flow { max-width: none; }
.page--contact .v4-list a { color: var(--v4-ink); text-decoration: none; }
.page--contact .v4-list a:hover { text-decoration: underline; text-underline-offset: 4px; opacity: 1; }

/* Hero-kaart, onafhankelijk van sophie-page.css (Contact laadt die niet) */
.page--about-xai .sophie-xai-hero, .page--maatwerk-xai .sophie-xai-hero, .page--sophie-xai .sophie-xai-hero { position: relative; display: block; min-height: 0; height: auto; padding: 0; overflow: visible; background: #fff; }
.page--about-xai .sophie-xai-hero__pin, .page--maatwerk-xai .sophie-xai-hero__pin, .page--sophie-xai .sophie-xai-hero__pin { position: relative; top: auto; display: flex; height: auto; min-height: 0; padding: 24px; background: #fff; }
.page--about-xai .sophie-xai-hero__inner, .page--maatwerk-xai .sophie-xai-hero__inner, .page--sophie-xai .sophie-xai-hero__inner { position: relative; display: flex; width: 100%; max-width: none; margin: 0; border-radius: clamp(24px, 3vw, 36px); overflow: hidden; background-color: #0d0d0e; color: #f4f4f5; box-sizing: border-box; }
.page--about-xai .sophie-xai-hero__title::before, .page--maatwerk-xai .sophie-xai-hero__title::before, .page--sophie-xai .sophie-xai-hero__title::before, .page--about-xai .sophie-xai-hero::before { content: none !important; }
.page--about-xai .sophie-xai-hero__media, .page--about-xai .sophie-xai-hero__overlay { display: none !important; }
@media (max-width: 860px) { .page--about-xai .sophie-xai-hero__pin, .page--maatwerk-xai .sophie-xai-hero__pin, .page--sophie-xai .sophie-xai-hero__pin { padding: 12px; } }

/* Architectuurdiagram: tekst- en lijnklassen (monochroom) */
.v4-diagram .th { font-size: 13px; font-weight: 500; }
.v4-diagram .ts { font-size: 10.5px; font-weight: 400; }
.v4-diagram .th-inv { font-size: 13px; font-weight: 500; fill: #fff; }
.v4-diagram .ts-inv { font-size: 10.5px; font-weight: 400; fill: rgba(255, 255, 255, 0.8); }
.v4-diagram .ln { stroke: #9b9aa1; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; fill: none; vector-effect: non-scaling-stroke; marker-end: url(#arch-arrow); }
.v4-diagram .ln-dash { stroke: #6f6e76; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; marker-end: url(#arch-arrow-dash); }
.v4-diagram #arch-arrow path { fill: #9b9aa1; }
.v4-diagram rect[stroke="#d3cfc4"] { stroke: #d9d7d1; }

/* Proza (privacy, artikels) */
.v4-prose { max-width: 720px; }
.v4-prose h2 { margin: 48px 0 14px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; color: var(--v4-plum); }
.v4-prose h2:first-child { margin-top: 0; }
.v4-prose h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--v4-ink); }
.v4-prose p, .v4-prose li { font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--v4-text); }
.v4-prose p { margin: 0 0 16px; }
.v4-prose ul { margin: 0 0 16px; padding-left: 20px; }
.v4-prose li { margin: 6px 0; }
.v4-prose strong { font-weight: 500; color: var(--v4-ink); }
.v4-prose a { color: var(--v4-ink); text-decoration: underline; text-decoration-color: var(--v4-line-strong); text-underline-offset: 4px; }
.v4-prose a:hover { opacity: 1; text-decoration-color: var(--v4-ink); }
.v4-meta { display: block; margin-top: 18px; font-size: 14px; color: var(--v4-faint); }

/* Paginakop zonder beeld (FAQ, Privacy, Blog) */
.v4-pagehead { padding: clamp(64px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.v4-pagehead .v4-h1 { max-width: 14ch; }
.v4-pagehead .v4-lead { max-width: 640px; }

/* Blog-index als redactionele lijst */
.v4-posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--v4-line); }
.v4-post { display: grid; grid-template-columns: 160px minmax(0, 1fr) 32px; gap: 24px 40px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--v4-line); color: inherit; text-decoration: none; transition: padding-left 0.5s var(--v4-ease); }
.v4-post:hover { opacity: 1; }
.v4-post__meta { font-size: 14px; color: var(--v4-faint); padding-top: 6px; font-variant-numeric: tabular-nums; }
.v4-post__title { margin: 0; font-size: clamp(21px, 2vw, 28px); line-height: 1.18; font-weight: 300; letter-spacing: -0.03em; color: var(--v4-plum); text-wrap: balance; }
.v4-post__excerpt { margin: 10px 0 0; font-size: 16px; line-height: 1.55; font-weight: 300; color: var(--v4-muted); max-width: 640px; }
.v4-post__arrow { width: 20px; height: 20px; margin-top: 8px; color: var(--v4-ink); transition: transform 0.5s var(--v4-ease); }
.v4-post:hover .v4-post__arrow { transform: translateX(6px); }
.v4-post--soon { opacity: 0.55; pointer-events: none; }
@media (max-width: 860px) { .v4-post { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; } .v4-post__arrow { display: none; } .v4-post__meta { padding-top: 0; } }

/* Ghost-knop sitewide: inkt-omlijning in plaats van oranje */
.btn--ghost { color: var(--v4-ink); box-shadow: inset 0 0 0 1px var(--v4-line-strong); background: transparent; }
.btn--ghost:hover { background: rgba(17, 17, 20, 0.05); box-shadow: inset 0 0 0 1px var(--v4-ink); }
.v4-hero-actions .btn--ghost, .home-hero-spotlight .home-hero__actions .btn--ghost { color: #fff; box-shadow: none; }

/* Gemeente-landingspagina's: leesbare kolom; artikellinks in inkt */
.page--gemeente .about-shell { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vh, 64px) 22px 96px; box-sizing: border-box; }
.page--gemeente .page-body, .page--gemeente .page-hero { max-width: none; }
.page-body a:not(.btn), .blog-article a:not(.btn), .page--gemeente p a:not(.btn) { color: var(--v4-ink); text-decoration: underline; text-decoration-color: var(--v4-line-strong); text-underline-offset: 4px; }
.page-body a:not(.btn):hover, .blog-article a:not(.btn):hover { text-decoration-color: var(--v4-ink); opacity: 1; }

/* Mobiel: inline --cols mag de stapeling niet blokkeren */
@media (max-width: 860px) {
  .v4-pillars { grid-template-columns: 1fr !important; }
  .v4-stats { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
  .v4-stats { grid-template-columns: 1fr !important; }
}
