/* Sophie — Apple-achtige basis: rust, systeemtypografie, subtiele diepte */

:root {
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.07);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.06);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --accent: #ea5800;
  --accent-hover: #f97316;
  /* Accent voor benadrukte tekst */
  --text-accent: #c2410c;
  --gradient-start: #f97316;
  --gradient-end: #fb923c;
  --nav-blur: saturate(180%) blur(20px);
  /* Menu-pill (.nav__pill); effen equivalent op wit voor o.a. footer */
  --nav-pill-bg: rgb(242, 243, 246);
  --surface-pill-solid: #f2f3f6;
  --nav-scale: 1.1374;
  --nav-font-size: calc(13px * var(--nav-scale));
  --nav-logo-size: calc(21px * var(--nav-scale));
  --nav-item-pad-y: calc(8px * var(--nav-scale));
  --nav-item-pad-x: calc(12px * var(--nav-scale));
  --nav-gap: calc(8px * var(--nav-scale));
  --nav-mobile-font-size: calc(17px * var(--nav-scale));
  --nav-mobile-logo-size: calc(19px * var(--nav-scale));
  --nav-mega-panel-pad: calc(6px * var(--nav-scale));
  --nav-mega-panel-pad-left: 0px;
  --nav-mega-panel-pad-right: calc(8px * var(--nav-scale));
  --nav-mega-item-pad-left: var(--nav-item-pad-x);
  --nav-mega-item-pad-right: calc(12px * var(--nav-scale));
  --nav-mega-min-width: calc((100% + 2rem) * 1.68);
  --nav-mobile-cta-font-size: calc(15px * var(--nav-scale));
  --nav-mobile-cta-min-h: calc(44px * var(--nav-scale));
  --nav-mobile-cta-pad-y: calc(11px * var(--nav-scale));
  --nav-mobile-cta-pad-x: calc(16px * var(--nav-scale));
  --nav-max-width: 100%;
  --nav-side-pad: clamp(12px, 1.4vw, 20px);
  --max: 980px;
  --page-copy-max: 760px;
  /* Zelfde als .page-body met 22px horizontale padding: leesbare kolombreedte */
  --page-text-column: calc(var(--page-copy-max) - 44px);
  --footer-font-size: 0.8125rem; /* 13px — één vaste maat voor alle voettekst */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Zelfde typografie als .sophie-xai-hero__title (“De AI-agent voor alles…”) */
  --title-weight: 300;
  --title-tracking: -0.065em;
  /* Hero H1 — Sophie, Maatwerk, Over ons (20% kleiner dan oorspronkelijk 48–82px) */
  --xai-hero-title-size: clamp(38px, 5.7vw, 66px);
  --xai-hero-title-size-md: clamp(34px, 10vw, 46px);
  --xai-hero-title-size-sm: clamp(30px, 9.6vw, 40px);
  /* Hero-hoogte afgestemd op kleinere titels — minder leegte boven showcase-widgets */
  --xai-hero-min-height: clamp(448px, 59svh, 608px);
  --xai-hero-pad-bottom: clamp(24px, 4vh, 44px);
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  /* Ruimte onder sticky nav bij ankers (#id) */
  scroll-padding-top: 72px;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 64px;
  }

  body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
}

strong, b {
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

.text-accent {
  color: var(--text-accent);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.nav.nav--scroll-hidden {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }

  .nav.nav--scroll-hidden {
    transform: none;
    pointer-events: auto;
  }
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top, 0px)) calc(22px + env(safe-area-inset-right, 0px)) 12px
    calc(22px + env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 101;
}

.nav__logo {
  font-weight: 600;
  font-size: var(--nav-logo-size);
  letter-spacing: -0.03em;
}

.nav__menu {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font: inherit;
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  transition: background 0.2s ease;
}

.nav__menu:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
}

.nav__menu:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(0, 113, 227, 0.34),
    0 8px 20px rgba(0, 0, 0, 0.12);
}

.nav__menu-bar {
  display: block;
  width: 16px;
  height: 1.8px;
  border-radius: 999px;
  background: #1d1d1f;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.nav--menu-open .nav__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav--menu-open .nav__menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav--menu-open .nav__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav__menu-bar {
    transition: none;
  }
}

.nav__links {
  display: none;
  position: relative;
  gap: var(--nav-gap);
  font-size: var(--nav-font-size);
  justify-content: center;
  align-items: center;
}

.nav__pill {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-radius: 6px;
  background: var(--nav-pill-bg);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    left 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.nav__pill.nav__pill--no-motion {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav__pill {
    transition: opacity 0.15s ease;
  }
}

.nav__links .nav-pill-target {
  position: relative;
  z-index: 1;
}

.nav__links .nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-item-pad-y) var(--nav-item-pad-x);
  border-radius: 6px;
  color: var(--text);
  opacity: 0.88;
  background: transparent;
  transition: opacity 0.2s ease;
}

.nav__links .nav-item:hover {
  opacity: 1;
}

.nav__links .nav-item.nav-item--active {
  opacity: 1;
  font-weight: 500;
}

.nav__links .nav-item:focus-visible {
  outline: none;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(234, 88, 0, 0.35);
}

.nav-more {
  position: relative;
  z-index: 1;
}

.nav-more__toggle {
  border: none;
  font: inherit;
  cursor: pointer;
}

.nav-more__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
}

.nav-more__panel[hidden] {
  display: none;
}

.nav-mega {
  width: min(520px, calc(100vw - 32px));
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: left;
  box-shadow:
    0 24px 60px rgba(10, 16, 29, 0.14),
    0 2px 8px rgba(10, 16, 29, 0.06);
}

.nav-mega__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  text-align: left;
}

.nav-mega__card {
  display: block;
  padding: 14px 16px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  text-align: left;
  transition: background 0.18s ease;
}

.nav-mega__card:hover {
  background: var(--nav-pill-bg);
}

.nav-mega__card-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  text-align: left;
}

.nav-mega__card-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(19, 21, 26, 0.58);
}

.nav-more__link.nav-item--active,
.nav-mega__card.nav-item--active {
  background: var(--nav-pill-bg);
}

.nav-more__link.nav-item--active .nav-mega__card-title,
.nav-mega__card.nav-item--active .nav-mega__card-title {
  color: var(--text);
  font-weight: 500;
}

.nav-more--active .nav-more__toggle {
  opacity: 1;
  font-weight: 500;
}

@media (min-width: 768px) {
  .nav-more__panel[hidden] {
    display: block;
  }

  .nav-more__panel {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 10px, 0);
    pointer-events: none;
    transition:
      opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.22s;
  }

  .nav-more:hover .nav-more__panel,
  .nav-more--open .nav-more__panel,
  .nav-more:focus-within .nav-more__panel {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .nav-more:hover,
  .nav-more--open,
  .nav-more:focus-within {
    z-index: 130;
  }

  .nav-more__panel::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }

  .nav-more__panel {
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    transform: translate3d(0, 10px, 0);
  }

  .nav-mega,
  .nav-more__link {
    text-align: left;
  }

  .nav-mega {
    width: var(--nav-mega-min-width);
    min-width: var(--nav-mega-min-width);
    padding:
      var(--nav-mega-panel-pad)
      var(--nav-mega-panel-pad-right)
      var(--nav-mega-panel-pad)
      var(--nav-mega-panel-pad-left);
    border-radius: 10px;
    box-shadow:
      0 10px 28px rgba(10, 16, 29, 0.1),
      0 1px 4px rgba(10, 16, 29, 0.06);
  }

  .nav-mega__grid {
    gap: 2px;
    width: 100%;
    justify-items: stretch;
    align-items: stretch;
  }

  .nav-mega__card {
    display: block;
    width: 100%;
    padding:
      var(--nav-item-pad-y)
      var(--nav-mega-item-pad-right)
      var(--nav-item-pad-y)
      var(--nav-mega-item-pad-left);
    border-radius: 6px;
    text-align: left;
    box-sizing: border-box;
  }

  .nav-mega__card:hover {
    background: var(--nav-pill-bg);
  }

  .nav-mega__card-title {
    display: block;
    width: 100%;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.022em;
    text-align: left;
  }

  .nav-mega__card-desc {
    display: block;
    font-size: 11px;
    color: rgba(19, 21, 26, 0.5);
    margin-top: 2px;
  }

  .nav-more__link.nav-item--active,
  .nav-mega__card.nav-item--active {
    background: var(--nav-pill-bg);
  }

  .nav-more__link.nav-item--active .nav-mega__card-title,
  .nav-mega__card.nav-item--active .nav-mega__card-title {
    color: var(--text);
  }

  .nav-more__toggle {
    gap: 0.35em;
  }

  .nav-more__toggle::after {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: -1px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    opacity: 0.5;
    transform: rotate(45deg);
    transition:
      transform 0.22s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.18s ease;
  }

  .nav-more:hover .nav-more__toggle::after,
  .nav-more--open .nav-more__toggle::after,
  .nav-more:focus-within .nav-more__toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
    opacity: 0.65;
  }
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  flex-shrink: 0;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--nav-font-size);
  padding: var(--nav-item-pad-y) var(--nav-item-pad-x);
  border-radius: 6px;
  white-space: nowrap;
}

.nav__cta--primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  border-radius: 980px;
}

.nav__cta--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.nav__cta--primary:hover {
  background: var(--accent-hover);
  opacity: 1;
  transform: scale(1.03);
}

.nav__cta--primary:hover::after {
  transform: translateX(130%);
}

.nav__cta--ghost {
  background: transparent;
  color: var(--text);
  border: none;
  opacity: 0.92;
}

.nav__cta--ghost:hover,
.nav__cta--ghost:focus-visible {
  background: var(--nav-pill-bg);
  opacity: 1;
}

@media (max-width: 767px) {
  .nav {
    --nav-mobile-text: #0a0a0a;
    --nav-mobile-muted: rgba(10, 10, 10, 0.42);
    --nav-mobile-divider: rgba(0, 0, 0, 0.065);
    z-index: 300;
    background: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  }

  .nav--menu-open {
    background: #fff;
  }

  .nav__inner {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    padding-bottom: 10px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .nav__logo,
  .nav__menu {
    position: relative;
    z-index: 320;
  }

  .nav__logo {
    flex-shrink: 0;
    font-size: var(--nav-mobile-logo-size);
  }

  .nav__actions {
    display: none;
  }

  .nav__menu {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    flex-shrink: 0;
    width: 36px;
    height: 32px;
    border: 2px solid rgba(0, 0, 0, 0.38);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    gap: 0;
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
  }

  .nav__menu:hover {
    background: #f7f7f8;
    border-color: rgba(0, 0, 0, 0.48);
    opacity: 1;
  }

  .nav__menu:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(234, 88, 0, 0.28);
  }

  .nav__menu-bar {
    display: block;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    transform-origin: center;
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.18s ease,
      height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav__menu-bar:nth-child(2) {
    display: none;
  }

  .nav__menu-bar:nth-child(1) {
    margin-right: 5px;
  }

  .nav__menu-bar:nth-child(3) {
    margin-left: 5px;
  }

  .nav--menu-open .nav__menu-bar:nth-child(1) {
    height: 17px;
    transform: translateX(3.5px) rotate(45deg);
  }

  .nav--menu-open .nav__menu-bar:nth-child(3) {
    height: 17px;
    transform: translateX(-3.5px) rotate(-45deg);
  }

  .nav__links {
    display: flex;
    position: fixed;
    inset: calc(56px + env(safe-area-inset-top, 0px)) 0 0;
    z-index: 310;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding:
      18px max(18px, env(safe-area-inset-right, 0px))
      calc(108px + env(safe-area-inset-bottom, 0px))
      max(18px, env(safe-area-inset-left, 0px));
    min-height: calc(100dvh - 56px - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 56px - env(safe-area-inset-top, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: clamp(22px, 6.4vw, 30px);
    font-weight: 400;
    letter-spacing: -0.045em;
    color: var(--nav-mobile-text);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -6px, 0);
    transition:
      opacity 0.26s ease,
      visibility 0.26s,
      transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.14) transparent;
  }

  .nav__links::-webkit-scrollbar {
    width: 6px;
  }

  .nav__links::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.16);
    border-radius: 100px;
  }

  .nav--menu-open .nav__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .nav__links .nav__pill {
    display: none;
  }

  .nav__links .nav-item {
    position: relative;
    z-index: 1;
    margin: 0;
    width: 100%;
    min-height: 58px;
    padding: 14px 2px;
    border-radius: 0;
    justify-content: space-between;
    opacity: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--nav-mobile-divider);
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--nav-mobile-text);
    font-size: inherit;
    line-height: 1.08;
    transition: background 0.16s ease, color 0.16s ease;
  }

  .nav__links > .nav-item::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-right: 1.7px solid var(--nav-mobile-muted);
    border-bottom: 1.7px solid var(--nav-mobile-muted);
    transform: rotate(-45deg);
  }

  .nav__links .nav-item + .nav-item,
  .nav__links > .nav-item + .nav-more,
  .nav__links > .nav-more + .nav-item {
    margin-top: 0;
  }

  .nav__links > .nav-item::before {
    content: none;
  }

  .nav-more {
    width: 100%;
    border-bottom: 1px solid var(--nav-mobile-divider);
  }

  .nav-more__toggle {
    width: 100%;
    min-height: 58px;
    padding: 14px 2px;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    border-radius: 0;
    border: none;
    border-bottom: none;
    background: transparent;
    color: var(--nav-mobile-text);
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.08;
  }

  .nav-more__toggle::after {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-top: -2px;
    margin-right: 3px;
    border-right: 1.7px solid var(--nav-mobile-muted);
    border-bottom: 1.7px solid var(--nav-mobile-muted);
    transform: rotate(45deg);
    transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .nav-more--open .nav-more__toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }

  .nav-more__panel {
    position: static;
    width: 100%;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .nav-more:not(.nav-more--open) .nav-more__panel,
  .nav-more:not(.nav-more--open) .nav-more__panel[hidden] {
    display: none;
  }

  .nav-mega {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-mega__grid {
    gap: 0;
  }

  .nav-mega__card {
    margin: 0;
    padding: 12px 2px 12px 18px;
    border: none;
    border-bottom: 1px solid var(--nav-mobile-divider);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-mega__card:last-child {
    border-bottom: none;
  }

  .nav-mega__card:hover {
    background: var(--nav-pill-bg);
    transform: none;
  }

  .nav-mega__card-title {
    display: block;
    width: 100%;
    font-size: clamp(18px, 5vw, 22px);
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
  }

  .nav-mega__card-desc {
    display: block;
    font-size: 11px;
    color: rgba(19, 21, 26, 0.5);
    margin-top: 2px;
  }

  .nav__links .nav-item:hover,
  .nav__links .nav-item:active,
  .nav-more__toggle:hover,
  .nav-more__toggle:active {
    background: transparent;
    opacity: 1;
    transform: none;
  }

  .nav__links .nav-item:focus-visible,
  .nav-more__toggle:focus-visible,
  .nav-mega__card:focus-visible {
    outline: none;
    background: var(--nav-pill-bg);
    box-shadow: none;
  }

  .nav__links .nav-item.nav-item--active,
  .nav-mega__card.nav-item--active {
    color: var(--text);
    font-weight: 500;
    background: transparent;
  }

  .nav-more--active .nav-more__toggle {
    color: var(--text);
    font-weight: 500;
  }

  .nav--menu-open .nav__actions {
    display: flex;
    position: fixed;
    left: max(18px, env(safe-area-inset-left, 0px));
    right: max(18px, env(safe-area-inset-right, 0px));
    bottom: 0;
    z-index: 315;
    gap: 10px;
    padding:
      14px 0
      calc(14px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
    border-top: 0;
  }

  .nav--menu-open .nav__cta {
    flex: 1;
    min-height: var(--nav-mobile-cta-min-h);
    border-radius: 6px;
    padding: var(--nav-mobile-cta-pad-y) var(--nav-mobile-cta-pad-x);
    font-size: var(--nav-mobile-cta-font-size);
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .nav--menu-open .nav__cta--ghost {
    background: transparent;
    border: none;
  }

  .nav--menu-open .nav__cta--ghost:hover,
  .nav--menu-open .nav__cta--ghost:focus-visible {
    background: var(--nav-pill-bg);
  }

  .nav--menu-open .nav__cta--primary {
    box-shadow: none;
  }
}

@media (min-width: 768px) {
  .nav__inner {
    max-width: var(--nav-max-width);
    width: 100%;
    padding-left: max(var(--nav-side-pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--nav-side-pad), env(safe-area-inset-right, 0px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(16px, 3vw, 48px);
  }

  .nav__logo {
    grid-column: 1;
    justify-self: start;
    margin-inline-start: 10%;
  }

  .nav__links {
    grid-column: 2;
    display: flex;
    justify-self: center;
  }

  .nav__actions {
    grid-column: 3;
    justify-self: end;
    margin-inline-end: 10%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__links {
    transition: opacity 0.2s ease, visibility 0.2s;
    transform: none !important;
  }

  .nav--menu-open .nav__links {
    transform: none !important;
  }

  @media (max-width: 767px) {
    .nav__links {
      transform: none !important;
    }

    .nav--menu-open .nav__links {
      transform: none !important;
    }
  }
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 22px 80px;
  text-align: center;
  position: relative;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.hero__title {
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translate3d(0, 0.42em, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero__title-line {
  display: block;
  opacity: 0;
  animation: hero-title-in 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__title-line:nth-of-type(1) {
  animation-delay: 0.08s;
}

.hero__title-line:nth-of-type(2) {
  animation-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero__gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 21px;
  line-height: 1.381;
  letter-spacing: 0.011em;
  color: var(--text-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  font-size: 17px;
  font-weight: 400;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.btn--ghost:hover {
  background: rgba(234, 88, 0, 0.08);
}

.hero__visual {
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__orb {
  width: min(420px, 90vw);
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(249, 115, 22, 0.38) 0%,
    rgba(251, 146, 60, 0.18) 45%,
    transparent 70%
  );
  filter: blur(0px);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-12px) scale(1.02);
    opacity: 0.95;
  }
}

/* Sections */
.section {
  padding: 88px 22px;
}

.section--tight {
  padding-top: 40px;
}

.section__header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.08349;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.section__sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.4211;
  color: var(--text-secondary);
}

/* Bento */
.bento {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .bento__card--wide {
    grid-column: 1 / -1;
  }
}

.bento__card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.bento__card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.bento__card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
}

.bento__mock {
  margin-top: 24px;
  height: 120px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
  border: 1px solid var(--border);
}

/* Features list */
.features {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.features__item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.features__item:last-child {
  border-bottom: none;
}

.features__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
}

.features__item h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.features__item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
}

/* Dark band */
.section--dark {
  background: #1d1d1f;
  color: #f5f5f7;
}

.section__header--light .section__sub {
  color: #a1a1a6;
}

.pill-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill {
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* CTA */
.cta {
  padding: 100px 22px;
}

.cta__box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cta__box h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.cta__box > p:not(.cta__fineprint) {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 19px;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 16px;
}

@media (min-width: 520px) {
  .cta__form {
    flex-direction: row;
    max-width: none;
  }

  .cta__form input {
    flex: 1;
  }
}

.cta__form input {
  min-height: 48px;
  padding: 0 18px;
  font-size: 17px;
  font-family: inherit;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}

.cta__form input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(234, 88, 0, 0.28);
  border-color: var(--accent);
}

.cta__fineprint {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}

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

/* Footer — zwart, platte knoppen */
.footer {
  margin-top: auto;
  padding: 48px 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  color: rgba(255, 255, 255, 0.92);
}

.footer a:hover {
  opacity: 1;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 40px 32px;
  }
}

.footer__logo {
  display: inline-block;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
}

.footer__logo:hover {
  opacity: 0.88;
}

.footer__mission {
  margin: 12px 0 20px;
  max-width: 26rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.footer__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
}

.footer__btn:hover {
  opacity: 1;
}

.footer__btn--primary {
  color: #fff;
  background: var(--accent);
}

.footer__btn--primary:hover {
  background: var(--accent-hover);
}

.footer__btn--secondary {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.footer__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.footer__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.footer__heading {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav li + li {
  margin-top: 10px;
}

.footer__nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__nav a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer__people {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__person {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__person:first-child {
  padding-top: 0;
}

.footer__person:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.footer__person-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.footer__person-role {
  display: block;
  margin: 4px 0 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__person-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer__social:hover {
  color: #fff;
}

.footer__social svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__social:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__legal {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}

body.login-standalone .footer {
  margin-top: 40px;
}

/* Subpagina’s */
.page {
  min-height: 40vh;
}

/* Sophie-pagina — Apple/OpenAI: wit & grijs, geen randen, veel witruimte */
.page--sophie {
  --sophie-gray: #f5f5f7;
  --sophie-gray-deep: #ebebef;
  --sophie-copy: min(620px, calc(100% - 44px));
  background: #ffffff;
}

.sophie-shell {
  width: 100%;
  max-width: var(--sophie-copy);
  margin: 0 auto;
  padding: 0 22px;
  box-sizing: border-box;
}

.sophie-section {
  padding: clamp(72px, 11vh, 120px) 0;
}

.sophie-section--gray {
  background: var(--sophie-gray);
}

.sophie-section--intro {
  padding-top: clamp(80px, 12vh, 128px);
}

.sophie-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.sophie-section__title {
  margin: 0 0 clamp(24px, 4vh, 36px);
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.08;
  color: var(--text);
  text-wrap: balance;
}

.sophie-lead {
  margin: 0 0 clamp(28px, 4vh, 40px);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.22;
  color: var(--text);
  text-wrap: balance;
}

.sophie-prose {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vh, 24px);
}

.sophie-prose p {
  margin: 0;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -0.012em;
  color: var(--text-secondary);
}

.sophie-quote {
  margin: clamp(8px, 2vh, 16px) 0;
  padding: clamp(24px, 4vw, 32px) clamp(24px, 4vw, 36px);
  background: var(--sophie-gray);
  border-radius: var(--radius-md);
  border: none;
}

.sophie-section--gray .sophie-quote {
  background: #ffffff;
}

.sophie-quote p {
  margin: 0;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.014em;
  color: var(--text);
  font-weight: 400;
}

.sophie-cta {
  max-width: 36em;
}

.sophie-cta__lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.sophie-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sophie-cta-band {
  padding-bottom: clamp(88px, 13vh, 140px);
}

.page--sophie .about-shell {
  max-width: var(--page-copy-max);
  margin: 0 auto;
  padding: 16px 22px 96px;
}

.page--sophie .page-hero--sophie {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.page--sophie .page-hero--sophie h1 {
  text-wrap: balance;
}

/* Modules — lichtgrijze band, geen randen */
.page--sophie .sophie-modules-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.page--sophie .sophie-modules-band .sophie-shell {
  max-width: min(var(--sophie-copy), calc(100% - 44px));
}

.page--sophie .sophie-modules-band__title {
  margin: 0 0 clamp(20px, 3vh, 28px);
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.08;
  color: var(--text);
}

.page--sophie .sophie-modules-band__title .hero-terminal__stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.06em;
  min-height: clamp(2.5rem, 8vw, 3.5rem);
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.08;
  letter-spacing: -0.034em;
  text-align: left;
}

.page--sophie .sophie-modules-band__title .hero-terminal__line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.1em;
  min-height: 1.05em;
  max-width: 100%;
}

.page--sophie .sophie-modules-band__title .hero-terminal__stage .typewriter__caret {
  flex-shrink: 0;
  align-self: baseline;
  vertical-align: baseline;
  top: 0;
  margin-left: 0.08em;
}

.page--sophie .sophie-modules-orbit {
  position: relative;
  min-height: 620px;
  margin: clamp(40px, 6vh, 56px) 0 clamp(48px, 7vh, 64px);
}

.page--sophie .sophie-modules-orbit__sphere-wrap {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78vw, 480px);
  height: min(78vw, 480px);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.page--sophie .sophie-modules-orbit__sphere {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  user-select: none;
}

.page--sophie .sophie-modules-orbit__widget {
  position: absolute;
  z-index: 2;
  border: none;
  border-radius: 980px;
  background: var(--nav-pill-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 10px 18px;
  white-space: nowrap;
  box-shadow: none;
  cursor: default;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease;
}

.page--sophie .sophie-modules-orbit__widget:hover {
  transform: scale(1.04);
  background: #e8e8ed;
}

.page--sophie .sophie-modules-orbit__widget:nth-child(1) {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(3) {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(1):hover {
  transform: translateX(-50%) scale(1.04);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(2):hover,
.page--sophie .sophie-modules-orbit__widget:nth-child(4):hover {
  transform: translateY(-50%) scale(1.04);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(3):hover {
  transform: translateX(-50%) scale(1.04);
}

/* Feature list — borderless, veel ruimte */
.page--sophie .sophie-feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vh, 56px);
  margin: 0;
  padding: 0;
}

.page--sophie .sophie-feature {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.page--sophie .sophie-feature__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: var(--text);
}

.page--sophie .sophie-feature__title .hero-terminal__stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  min-height: 1.2em;
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  letter-spacing: -0.024em;
  text-align: left;
}

.page--sophie .sophie-feature__title .hero-terminal__line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.1em;
  min-height: 1.05em;
  max-width: 100%;
}

.page--sophie .sophie-feature__title .hero-terminal__stage .typewriter__caret {
  flex-shrink: 0;
  align-self: baseline;
  vertical-align: baseline;
  top: 0;
  margin-left: 0.08em;
}

.page--sophie .sophie-feature__title .sophie-module-title__pink {
  color: var(--accent);
  animation: sophie-module-pink-blink 1.1s steps(1, end) infinite;
}

@keyframes sophie-module-pink-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.45;
  }
}

.page--sophie .sophie-feature__text {
  margin: 0;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -0.012em;
  color: var(--text-secondary);
}

html.js .page--sophie .reveal--d5.reveal--visible {
  transition-delay: 0.3s;
}

@media (max-width: 1000px) {
  .page--sophie .sophie-modules-orbit {
    min-height: 540px;
  }

  .page--sophie .sophie-modules-orbit__sphere-wrap {
    width: min(72vw, 400px);
    height: min(72vw, 400px);
  }
}

@media (max-width: 767px) {
  .sophie-section {
    padding: clamp(56px, 9vh, 80px) 0;
  }

  .sophie-section--intro {
    padding-top: clamp(64px, 10vh, 88px);
  }

  .sophie-shell {
    padding: 0 max(20px, env(safe-area-inset-left, 0px)) 0 max(20px, env(safe-area-inset-right, 0px));
  }

  .sophie-lead {
    font-size: clamp(22px, 6vw, 28px);
  }

  .sophie-section__title,
  .page--sophie .sophie-modules-band__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .sophie-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sophie-cta__actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .page--sophie .sophie-modules-orbit {
    min-height: 0;
    display: grid;
    gap: 10px;
    justify-items: center;
  }

  .page--sophie .sophie-modules-orbit__sphere-wrap {
    position: relative;
    inset: auto;
    transform: none;
    width: min(88vw, 340px);
    height: min(88vw, 340px);
    order: 1;
  }

  .page--sophie .sophie-modules-orbit__widget {
    position: static;
    transform: none !important;
    width: auto;
    text-align: center;
    order: 2;
  }

  .page--sophie .sophie-modules-orbit__widget:hover {
    transform: none !important;
  }

  .page--sophie .sophie-modules-band__title .hero-terminal__line {
    white-space: normal;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--sophie .sophie-modules-orbit__widget {
    transition: none;
  }

  .page--sophie .sophie-feature__title .sophie-module-title__pink {
    animation: none;
    opacity: 1;
  }
}

/* Sophie xAI redesign */
.page--sophie-xai {
  --sophie-xai-page: min(1072px, calc(100% - 40px));
  --sophie-xai-muted: #7b7b82;
  --sophie-xai-line: rgba(0, 0, 0, 0.06);
  --sophie-xai-soft: #f6f6f7;
  --sophie-xai-softer: #fbfbfc;
  --sophie-anim: 1.55;
  background: #ffffff;
  color: #0b0b0d;
}

.sophie-xai-hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: var(--xai-hero-min-height);
  padding: clamp(112px, 16vh, 168px) 20px var(--xai-hero-pad-bottom);
  text-align: center;
}

.sophie-xai-hero__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.sophie-xai-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 34px;
  color: #626269;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}

.sophie-xai-pill span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff3ed;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
}

.sophie-xai-hero__title,
.maatwerk-xai-hero__title,
.about-xai-hero__title {
  font-size: var(--xai-hero-title-size);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

.sophie-xai-hero__title {
  margin: 0 auto 18px;
  max-width: 760px;
  color: #050506;
}

.sophie-xai-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: baseline;
}

.sophie-xai-rotator__word {
  grid-area: 1 / 1;
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translate3d(0, 0.34em, 0);
  filter: blur(6px);
  animation: sophie-xai-word-cycle calc(24s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.sophie-xai-rotator__word::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: auto;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #ff0080 0%,
    #ff4500 16%,
    #ffd700 33%,
    #00e676 50%,
    #00b0ff 66%,
    #7c4dff 83%,
    #ff0080 100%
  );
  background-size: 300% 100%;
  background-position: 0% 0;
  filter: saturate(0) brightness(0.7);
  transform-origin: left center;
  transform: scaleX(0);
  animation:
    sophie-xai-underline calc(24s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) infinite,
    sophie-xai-color calc(24s * var(--sophie-anim, 1)) linear infinite,
    sophie-xai-flow calc(4s * var(--sophie-anim, 1)) linear infinite;
}

.sophie-xai-rotator__word:nth-child(2) { animation-delay: calc(6s * var(--sophie-anim, 1)); }
.sophie-xai-rotator__word:nth-child(2)::after {
  animation:
    sophie-xai-underline calc(24s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) calc(6s * var(--sophie-anim, 1)) infinite,
    sophie-xai-color calc(24s * var(--sophie-anim, 1)) linear calc(6s * var(--sophie-anim, 1)) infinite,
    sophie-xai-flow calc(4s * var(--sophie-anim, 1)) linear infinite;
}

.sophie-xai-rotator__word:nth-child(3) { animation-delay: calc(12s * var(--sophie-anim, 1)); }
.sophie-xai-rotator__word:nth-child(3)::after {
  animation:
    sophie-xai-underline calc(24s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) calc(12s * var(--sophie-anim, 1)) infinite,
    sophie-xai-color calc(24s * var(--sophie-anim, 1)) linear calc(12s * var(--sophie-anim, 1)) infinite,
    sophie-xai-flow calc(4s * var(--sophie-anim, 1)) linear infinite;
}

.sophie-xai-rotator__word:nth-child(4) { animation-delay: calc(18s * var(--sophie-anim, 1)); }
.sophie-xai-rotator__word:nth-child(4)::after {
  animation:
    sophie-xai-underline calc(24s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) calc(18s * var(--sophie-anim, 1)) infinite,
    sophie-xai-color calc(24s * var(--sophie-anim, 1)) linear calc(18s * var(--sophie-anim, 1)) infinite,
    sophie-xai-flow calc(4s * var(--sophie-anim, 1)) linear infinite;
}

/* 24s total / 4 words / 6s each */
@keyframes sophie-xai-word-cycle {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.34em, 0);
    filter: blur(6px);
  }
  3%, 21% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
  25%, 100% {
    opacity: 0;
    transform: translate3d(0, -0.22em, 0);
    filter: blur(6px);
  }
}

/* underline: draws in over ~1s, holds, hides on word exit */
@keyframes sophie-xai-underline {
  0%, 3%    { transform: scaleX(0); }
  8%, 21%   { transform: scaleX(1); }
  25%, 100% { transform: scaleX(0); }
}

/* gray for ~1s after draw, then pure rainbow — never a mix */
@keyframes sophie-xai-color {
  0%, 12%   { filter: saturate(0) brightness(0.7); }
  15%       { filter: saturate(1) brightness(1); }
  21%       { filter: saturate(1) brightness(1); }
  25%, 100% { filter: saturate(0) brightness(0.7); }
}

/* slow continuous rainbow sweep */
@keyframes sophie-xai-flow {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.sophie-xai-hero__lead {
  margin: 0 auto 34px;
  max-width: 740px;
  color: #8a8a91;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.sophie-xai-hero__actions,
.sophie-xai-api__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes sophie-xai-hero-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.sophie-xai-hero .sophie-xai-hero__title,
.sophie-xai-hero .sophie-xai-hero__lead,
.sophie-xai-hero .sophie-xai-hero__actions,
.maatwerk-xai-hero .maatwerk-xai-hero__title,
.maatwerk-xai-hero .maatwerk-xai-hero__lead,
.maatwerk-xai-hero .maatwerk-xai-hero__actions {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: sophie-xai-hero-enter calc(1.08s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, transform;
}

.sophie-xai-hero .sophie-xai-hero__title,
.maatwerk-xai-hero .maatwerk-xai-hero__title {
  animation-delay: calc(0.12s * var(--sophie-anim, 1));
}

.sophie-xai-hero .sophie-xai-hero__lead,
.maatwerk-xai-hero .maatwerk-xai-hero__lead {
  animation-delay: calc(0.28s * var(--sophie-anim, 1));
}

.sophie-xai-hero .sophie-xai-hero__actions,
.maatwerk-xai-hero .maatwerk-xai-hero__actions {
  animation-delay: calc(0.44s * var(--sophie-anim, 1));
}

@media (prefers-reduced-motion: reduce) {
  .sophie-xai-hero .sophie-xai-hero__title,
  .sophie-xai-hero .sophie-xai-hero__lead,
  .sophie-xai-hero .sophie-xai-hero__actions,
  .maatwerk-xai-hero .maatwerk-xai-hero__title,
  .maatwerk-xai-hero .maatwerk-xai-hero__lead,
  .maatwerk-xai-hero .maatwerk-xai-hero__actions {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

.page--sophie-xai .btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.page--sophie-xai .btn--primary {
  background: #050506;
  color: #fff;
}

.page--sophie-xai .btn--primary:hover {
  background: #242428;
}

.page--sophie-xai .btn--ghost {
  background: #fff;
  color: #111;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.page--sophie-xai .btn--ghost:hover {
  background: #f6f6f7;
  color: #111;
}

.sophie-xai-showcase {
  width: 100%;
  max-width: var(--sophie-xai-page);
  margin: 0 auto;
  padding: 0 20px clamp(92px, 12vh, 140px);
}

.sophie-xai-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sophie-xai-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sophie-xai-soft);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.035);
}

.sophie-xai-card--globe {
  padding: 0;
  min-height: 256px;
  background:
    radial-gradient(circle at 50% 115%, rgba(54, 118, 235, 0.22), transparent 58%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.06), transparent 28%),
    #080a1c;
}

.sophie-xai-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 248px;
  overflow: hidden;
  border-radius: inherit;
}

.sophie-xai-globe .mapboxgl-map {
  width: 100%;
  height: 100%;
}

.sophie-xai-globe .mapboxgl-canvas {
  display: block;
}

.sophie-xai-globe .mapboxgl-ctrl-bottom-right,
.sophie-xai-globe .mapboxgl-ctrl-top-right {
  display: none;
}

.sophie-xai-globe__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.sophie-xai-card--embed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.5vw, 24px);
  background: var(--sophie-xai-soft);
}

.sophie-xai-showcase-embed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-height: 100%;
}

.sophie-xai-showcase-embed__label {
  margin: 0;
  color: #8a8a91;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.sophie-xai-showcase-embed__terminal {
  flex: 1 1 auto;
  padding: 12px;
  border-radius: 10px;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sophie-xai-showcase-embed__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.sophie-xai-showcase-embed__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sophie-xai-showcase-embed__bar span:nth-child(1) {
  background: #ff5f57;
}

.sophie-xai-showcase-embed__bar span:nth-child(2) {
  background: #ffbd2e;
}

.sophie-xai-showcase-embed__bar span:nth-child(3) {
  background: #28c840;
}

.sophie-xai-showcase-embed__bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
}

.sophie-xai-showcase-embed__terminal pre {
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.6;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

.sophie-xai-showcase-embed__terminal code {
  font-family: inherit;
}

.sophie-xai-showcase-embed__muted {
  color: rgba(255, 255, 255, 0.36);
}

.sophie-xai-showcase-embed__highlight {
  color: #7ee787;
}

.sophie-xai-card--chat {
  padding: clamp(22px, 3vw, 30px);
}

.sophie-xai-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.sophie-xai-chat__bubble {
  max-width: 82%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: #85858c;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025);
}

html.js .sophie-xai-card--chat:not(.reveal--visible) .sophie-xai-chat__bubble {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
}

html.js .sophie-xai-card--chat.reveal--visible .sophie-xai-chat__bubble {
  animation: sophie-xai-message-in calc(0.86s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sophie-xai-chat__bubble--right {
  align-self: flex-end;
  color: #55555d;
}

html.js .sophie-xai-card--chat.reveal--visible .sophie-xai-chat__bubble:nth-child(1) {
  animation-delay: calc(0.35s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--chat.reveal--visible .sophie-xai-chat__bubble:nth-child(2) {
  animation-delay: calc(1.1s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--chat.reveal--visible .sophie-xai-chat__bubble:nth-child(3) {
  animation-delay: calc(1.85s * var(--sophie-anim, 1));
}

@keyframes sophie-xai-message-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.sophie-xai-card__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  color: #27272b;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.sophie-xai-card__label::after {
  display: none;
}

.sophie-xai-card--logic {
  background: #111;
  color: #fff;
}

.sophie-xai-card--imagine,
.sophie-xai-card--voice {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.sophie-xai-card--voice {
  background: var(--sophie-xai-soft);
  padding: 12px;
}

.sophie-xai-imagine {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
  align-content: stretch;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding: 12px;
  transition: gap calc(1.05s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1);
}

.sophie-xai-imagine__module.sophie-xai-module__visual--agenda {
  --from-x: -1.6rem;
  --from-y: -1.15rem;
  --from-r: -2.5deg;
}

.sophie-xai-imagine__module.sophie-xai-module__visual--meldingen {
  --from-x: 1.6rem;
  --from-y: -1.15rem;
  --from-r: 2.5deg;
}

.sophie-xai-imagine__module.sophie-xai-module__visual--community {
  --from-x: -1.6rem;
  --from-y: 1.15rem;
  --from-r: 2deg;
}

.sophie-xai-imagine__module.sophie-xai-module__visual--contact {
  --from-x: 1.6rem;
  --from-y: 1.15rem;
  --from-r: -2deg;
}

html.js .sophie-xai-card--imagine:not(.reveal--visible) .sophie-xai-imagine {
  gap: clamp(20px, 3.5vw, 28px);
}

html.js .sophie-xai-card--imagine:not(.reveal--visible) .sophie-xai-imagine__module {
  opacity: 0;
  transform: translate3d(var(--from-x, 0), var(--from-y, 0), 0) scale(0.91) rotate(var(--from-r, 0deg));
  filter: blur(7px);
}

html.js .sophie-xai-card--imagine:not(.reveal--visible) .sophie-xai-imagine__module span {
  opacity: 0;
  transform: translate3d(0, 0.4rem, 0);
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(0);
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--agenda {
  transition-delay: calc(0.05s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--agenda span {
  transition-delay: calc(0.24s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--meldingen {
  transition-delay: calc(0.13s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--meldingen span {
  transition-delay: calc(0.32s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--community {
  transition-delay: calc(0.21s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--community span {
  transition-delay: calc(0.4s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--contact {
  transition-delay: calc(0.29s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--imagine.reveal--visible .sophie-xai-imagine__module.sophie-xai-module__visual--contact span {
  transition-delay: calc(0.48s * var(--sophie-anim, 1));
}

.sophie-xai-imagine__module--landscape {
  grid-column: span 2;
  min-height: 72px;
}

.sophie-xai-imagine__module--square {
  grid-column: span 1;
  aspect-ratio: 1;
  min-height: 0;
  align-self: stretch;
  justify-self: stretch;
}

.sophie-xai-imagine__module {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  transition:
    opacity calc(0.92s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1),
    transform calc(1.08s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1),
    filter calc(0.95s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.sophie-xai-imagine__module span {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.04em;
  transition:
    opacity calc(0.72s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1),
    transform calc(0.72s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1);
}

.sophie-xai-imagine__module::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1));
  opacity: 0.72;
}

.sophie-xai-voice {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  background: #25d366;
  border-radius: 10px;
  transition:
    opacity calc(0.92s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1),
    transform calc(1.08s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1),
    filter calc(0.95s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

html.js .sophie-xai-card--voice:not(.reveal--visible) .sophie-xai-voice {
  opacity: 0;
  transform: translate3d(-1.6rem, -1.15rem, 0) scale(0.91) rotate(-2.5deg);
  filter: blur(7px);
}

html.js .sophie-xai-card--voice:not(.reveal--visible) .sophie-xai-whatsapp-logo {
  opacity: 0;
  transform: translate3d(0, 0.4rem, 0);
}

html.js .sophie-xai-card--voice.reveal--visible .sophie-xai-voice {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(0);
  transition-delay: calc(0.05s * var(--sophie-anim, 1));
}

html.js .sophie-xai-card--voice.reveal--visible .sophie-xai-whatsapp-logo {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(0.24s * var(--sophie-anim, 1));
}

.sophie-xai-voice-glow-disabled::before,
.sophie-xai-voice-glow-disabled::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  pointer-events: none;
}

.sophie-xai-voice::before,
.sophie-xai-voice::after {
  display: none;
}

.sophie-xai-whatsapp-logo {
  position: relative;
  z-index: 1;
  width: clamp(76px, 10vw, 112px);
  height: clamp(76px, 10vw, 112px);
  fill: #ffffff;
  filter: none;
  transition:
    opacity calc(0.72s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1),
    transform calc(0.72s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sophie-xai-whatsapp-glow {
  0% {
    opacity: 0.98;
    transform: translate(calc(-50% - min(34vw, 230px)), calc(-50% + min(18vw, 120px))) scale(0.98);
  }

  25% {
    opacity: 1;
    transform: translate(calc(-50% - min(18vw, 120px)), calc(-50% - min(18vw, 120px))) scale(1.08);
  }

  50% {
    opacity: 1;
    transform: translate(calc(-50% + min(34vw, 230px)), calc(-50% - min(18vw, 120px))) scale(1.02);
  }

  75% {
    opacity: 1;
    transform: translate(calc(-50% + min(18vw, 120px)), calc(-50% + min(18vw, 120px))) scale(1.12);
  }

  100% {
    opacity: 0.98;
    transform: translate(calc(-50% - min(34vw, 230px)), calc(-50% + min(18vw, 120px))) scale(0.98);
  }
}

@keyframes sophie-xai-whatsapp-ring {
  0% {
    opacity: 0.4;
    transform: translate(calc(-50% - min(32vw, 210px)), calc(-50% + min(17vw, 112px))) scale(0.92);
  }

  25% {
    opacity: 0.24;
    transform: translate(calc(-50% - min(16vw, 105px)), calc(-50% - min(17vw, 112px))) scale(1.28);
  }

  50% {
    opacity: 0.36;
    transform: translate(calc(-50% + min(32vw, 210px)), calc(-50% - min(17vw, 112px))) scale(0.98);
  }

  75% {
    opacity: 0.22;
    transform: translate(calc(-50% + min(16vw, 105px)), calc(-50% + min(17vw, 112px))) scale(1.36);
  }

  100% {
    opacity: 0.4;
    transform: translate(calc(-50% - min(32vw, 210px)), calc(-50% + min(17vw, 112px))) scale(0.92);
  }
}

.sophie-xai-code {
  height: 100%;
  padding: 18px 18px 42px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

.sophie-xai-code__bar,
.sophie-xai-code-card__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.sophie-xai-code__bar span,
.sophie-xai-code-card__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.sophie-xai-code__bar span:nth-child(1),
.sophie-xai-code-card__bar span:nth-child(1) {
  background: #ff5f57;
}

.sophie-xai-code__bar span:nth-child(2),
.sophie-xai-code-card__bar span:nth-child(2) {
  background: #ffbd2e;
}

.sophie-xai-code__bar span:nth-child(3),
.sophie-xai-code-card__bar span:nth-child(3) {
  background: #28c840;
}

.sophie-xai-code__bar strong {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
}

.sophie-xai-code pre,
.sophie-xai-code-card pre {
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.65;
  white-space: pre-wrap;
}

.sophie-xai-code code,
.sophie-xai-code-card code {
  font-family: inherit;
}

.sophie-xai-code code.sophie-xai-code--typing::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.18em;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.72);
  animation: sophie-xai-code-caret calc(0.9s * var(--sophie-anim, 1)) steps(1, end) infinite;
}

@keyframes sophie-xai-code-caret {
  0%,
  48% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.sophie-xai-api {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  width: 100%;
  max-width: var(--sophie-xai-page);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) 20px;
}

.sophie-xai-kicker {
  margin: 0 0 18px;
  color: #8a8a91;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.sophie-xai-api h2,
.sophie-xai-start h2 {
  margin: 0 0 18px;
  color: #050506;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.072em;
  line-height: 0.98;
  text-wrap: balance;
}

.sophie-xai-api p {
  margin: 0 0 28px;
  max-width: 440px;
  color: #86868d;
  font-size: 17px;
  line-height: 1.5;
}

.sophie-xai-api__actions {
  justify-content: flex-start;
}

.sophie-xai-metrics {
  display: flex;
  gap: 32px;
  margin: 34px 0 0;
}

.sophie-xai-metrics div {
  min-width: 72px;
}

.sophie-xai-metrics dt {
  color: #111;
  font-size: 15px;
  font-weight: 600;
}

.sophie-xai-metrics dd {
  margin: 4px 0 0;
  color: #9a9aa1;
  font-size: 12px;
}

.sophie-xai-api__visual {
  justify-self: stretch;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, #f7d2c8 0%, #d7675c 55%, #f08764 100%);
}

.sophie-xai-code-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 80px rgba(79, 24, 20, 0.16);
}

.sophie-xai-api__visual .sophie-xai-code-card pre {
  overflow: hidden;
}

.sophie-xai-code-card__bar button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #77777e;
  font: inherit;
  font-size: 12px;
}

.sophie-xai-code-card pre {
  color: #26262b;
}

.sophie-xai-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.sophie-xai-tabs__tab {
  margin: 0;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.44);
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.sophie-xai-tabs__tab:hover {
  color: rgba(0, 0, 0, 0.72);
}

.sophie-xai-tabs__tab:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.sophie-xai-tabs__tab.is-active,
.sophie-xai-tabs__tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.55);
  color: #111;
}

.sophie-xai-code-card pre.is-updating {
  opacity: 0.45;
  transition: opacity 0.16s ease;
}

.sophie-xai-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
  width: 100%;
  max-width: var(--sophie-xai-page);
  margin: 0 auto;
  padding: clamp(82px, 12vh, 132px) 20px;
}

.sophie-xai-info--light {
  background: var(--sophie-xai-soft);
  max-width: none;
  align-items: center;
  padding-left: max(20px, calc((100% - var(--sophie-xai-page)) / 2 + 20px));
  padding-right: max(20px, calc((100% - var(--sophie-xai-page)) / 2 + 20px));
}

.sophie-xai-info__visual {
  justify-self: stretch;
  width: 100%;
}

.sophie-xai-embed-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 14px;
  background: #111;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sophie-xai-embed-card__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.sophie-xai-embed-card__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.sophie-xai-embed-card__bar span:nth-child(1) {
  background: #ff5f57;
}

.sophie-xai-embed-card__bar span:nth-child(2) {
  background: #ffbd2e;
}

.sophie-xai-embed-card__bar span:nth-child(3) {
  background: #28c840;
}

.sophie-xai-embed-card__bar strong {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
}

.sophie-xai-embed-card pre,
.sophie-xai-embed-card__pre {
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(11px, 1.25vw, 13px);
  line-height: 1.65;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

.sophie-xai-embed-card__pre {
  position: relative;
}

html.js .sophie-xai-embed-card__sizer {
  display: block;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

html:not(.js) .sophie-xai-embed-card__sizer {
  display: none;
}

html.js .sophie-xai-embed-card__code {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sophie-xai-embed-card code {
  font-family: inherit;
}

.sophie-xai-embed-card__muted {
  color: rgba(255, 255, 255, 0.38);
}

.sophie-xai-embed-card__highlight {
  color: #7ee787;
}

.sophie-xai-embed-card__hint {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  min-height: 1.45em;
}

html.js .sophie-xai-embed-card:not(.sophie-xai-embed-card--ready) .sophie-xai-embed-card__hint {
  visibility: hidden;
}

html.js .sophie-xai-embed-card--ready .sophie-xai-embed-card__hint {
  visibility: visible;
  animation: sophie-embed-hint-in calc(0.55s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sophie-embed-hint-in {
  from {
    opacity: 0;
    transform: translate3d(0, 0.35rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.sophie-xai-embed-card__code {
  display: block;
}

.sophie-xai-embed-card__caret {
  background: #7ee787;
  margin-left: 2px;
  top: 0.06em;
}

.sophie-xai-info--routing {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  min-height: clamp(420px, 58svh, 620px);
  margin: 0;
  padding:
    clamp(88px, 14vh, 148px)
    max(20px, calc((100% - var(--sophie-xai-page)) / 2 + 20px));
  overflow: hidden;
  background: #5a4a62 url("assets/sophie-smartrouting-bg.png") center 48% / cover no-repeat;
  align-items: center;
}

.sophie-xai-info--routing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 8, 12, 0.72) 0%, rgba(8, 8, 12, 0.42) 42%, rgba(8, 8, 12, 0.28) 68%, rgba(8, 8, 12, 0.52) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.34) 100%);
  pointer-events: none;
}

.sophie-xai-info--routing .sophie-xai-info__copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.sophie-xai-info--routing .sophie-xai-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.sophie-xai-info--routing .sophie-xai-info__copy h2 {
  color: #fff;
}

.sophie-xai-info--routing .sophie-xai-info__copy p {
  color: rgba(255, 255, 255, 0.84);
}

.sophie-xai-info__copy h2 {
  margin: 0 0 24px;
  color: #050506;
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.066em;
  line-height: 1;
  text-wrap: balance;
}

.sophie-xai-info__copy p {
  margin: 0 0 18px;
  max-width: 620px;
  color: #73737a;
  font-size: 17px;
  line-height: 1.55;
}

.sophie-xai-routing-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.sophie-xai-routing-list li,
.sophie-xai-setup {
  border-radius: 18px;
  background: var(--sophie-xai-soft);
}

.sophie-xai-routing-list li {
  padding: 18px 20px;
  color: #242429;
  font-size: 15px;
  line-height: 1.45;
}

.sophie-xai-setup {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: #fff;
}

.sophie-xai-setup span {
  color: #aaaab0;
  font-size: 12px;
}

.sophie-xai-setup strong {
  margin-bottom: 18px;
  color: #151518;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.sophie-xai-modules {
  width: 100%;
  max-width: var(--sophie-xai-page);
  margin: 0 auto;
  padding: clamp(88px, 12vh, 140px) 20px;
}

.sophie-xai-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.sophie-xai-section-head h2 {
  margin: 0;
  color: #111;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.sophie-xai-section-head a {
  color: #8a8a91;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.sophie-xai-modules__lead {
  max-width: 700px;
  margin: -10px 0 34px;
  color: #77777f;
  font-size: 17px;
  line-height: 1.55;
}

.sophie-xai-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sophie-xai-module {
  display: block;
  color: #111;
}

.sophie-xai-module__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.sophie-xai-module__visual {
  position: relative;
}

.sophie-xai-module__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: module-glow-breathe calc(4s * var(--sophie-anim, 1)) ease-in-out infinite;
}

@keyframes module-glow-breathe {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

.sophie-xai-module__visual--agenda {
  background: linear-gradient(135deg, #123d44, #607067);
}
.sophie-xai-module__visual--agenda::before {
  background: radial-gradient(circle at 38% 38%, rgba(67, 213, 223, 0.85), transparent 55%);
  animation-delay: 0s;
}

.sophie-xai-module__visual--meldingen {
  background: linear-gradient(135deg, #18351d, #84a75c);
}
.sophie-xai-module__visual--meldingen::before {
  background: radial-gradient(circle at 50% 50%, rgba(163, 242, 143, 0.85), transparent 55%);
  animation-delay: 1s;
}

.sophie-xai-module__visual--community {
  background: linear-gradient(135deg, #114f65, #3c2a75);
}
.sophie-xai-module__visual--community::before {
  background: radial-gradient(circle at 62% 45%, rgba(191, 124, 255, 0.85), transparent 55%);
  animation-delay: 2s;
}

.sophie-xai-module__visual--contact {
  background: linear-gradient(135deg, #0a0a0d, #2f130b);
}
.sophie-xai-module__visual--contact::before {
  background: radial-gradient(circle at 68% 48%, rgba(255, 106, 35, 0.85), transparent 55%);
  animation-delay: 0.5s;
}

.sophie-xai-module time {
  display: block;
  margin-bottom: 7px;
  color: #a2a2a8;
  font-size: 12px;
}

.sophie-xai-module h3 {
  margin: 0 0 7px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.sophie-xai-module p {
  margin: 0;
  color: #606067;
  font-size: 14px;
  line-height: 1.45;
}

.sophie-xai-start {
  width: 100%;
  max-width: var(--sophie-xai-page);
  margin: 0 auto;
  padding: clamp(70px, 10vh, 110px) 20px clamp(104px, 14vh, 150px);
  text-align: center;
}

.sophie-xai-start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}

.sophie-xai-start__item {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 18px;
  background: var(--sophie-xai-soft);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.sophie-xai-start__item:hover,
.sophie-xai-start__item:focus-visible {
  transform: translateY(-3px);
  background: var(--accent);
}

.sophie-xai-start__item span {
  margin-bottom: auto;
  color: #a0a0a6;
  font-size: 13px;
  transition: color 0.35s ease;
}

.sophie-xai-start__item strong {
  margin-bottom: 8px;
  color: #111;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: color 0.35s ease;
}

.sophie-xai-start__item em {
  color: #77777f;
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
  transition: color 0.35s ease;
}

.sophie-xai-start__item:hover span,
.sophie-xai-start__item:focus-visible span {
  color: rgba(255, 255, 255, 0.72);
}

.sophie-xai-start__item:hover strong,
.sophie-xai-start__item:focus-visible strong {
  color: #fff;
}

.sophie-xai-start__item:hover em,
.sophie-xai-start__item:focus-visible em {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
  .sophie-xai-api,
  .sophie-xai-info,
  .sophie-xai-showcase__grid {
    grid-template-columns: 1fr;
  }

  .sophie-xai-module-grid,
  .sophie-xai-start__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sophie-xai-hero {
    min-height: auto;
    padding-top: 96px;
  }

  .sophie-xai-hero__title,
  .maatwerk-xai-hero__title,
  .about-xai-hero__title {
    font-size: var(--xai-hero-title-size-md);
    letter-spacing: -0.07em;
  }

  .sophie-xai-rotator {
    display: grid;
    margin: 0 auto;
  }

  .sophie-xai-card {
    min-height: 230px;
  }

  .sophie-xai-api,
  .sophie-xai-modules,
  .sophie-xai-start {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sophie-xai-metrics {
    flex-wrap: wrap;
  }

  .sophie-xai-module-grid,
  .sophie-xai-start__grid {
    grid-template-columns: 1fr;
  }

  .sophie-xai-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sophie-xai-rotator__word {
    animation: none;
    opacity: 0;
    transform: none;
    filter: none;
  }

  .sophie-xai-rotator__word:first-child {
    opacity: 1;
  }

  .sophie-xai-start__item {
    transition: none;
  }

  .sophie-xai-whatsapp-logo {
    animation: none;
  }

  .sophie-xai-voice::before,
  .sophie-xai-voice::after {
    animation: none;
  }

  .sophie-xai-chat__bubble {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .sophie-xai-embed-card__caret {
    animation: none;
    opacity: 1;
  }

  .sophie-xai-embed-card--ready .sophie-xai-embed-card__hint {
    animation: none !important;
  }

  .sophie-xai-imagine,
  .sophie-xai-imagine__module,
  .sophie-xai-imagine__module span,
  .sophie-xai-voice,
  .sophie-xai-whatsapp-logo {
    animation: none !important;
    transition: none !important;
    gap: 10px !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 22px 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.page-hero__title-line {
  display: block;
}

/* Sophie — hero: zelfde shell + typewriter als Over ons */
.page-hero--sophie .page-hero__lead,
.page-hero--contact .page-hero__lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 38em;
}

.page-hero__title--typewriter {
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -0.038em;
  min-height: clamp(5rem, 16vw, 7rem);
}

.page-hero--sophie .typewriter,
.page-hero--about .typewriter,
.page-hero--contact .typewriter {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.typewriter__row {
  display: block;
}

.typewriter__row + .typewriter__row {
  margin-top: 0.1em;
}

/* Vloeiende inkom-animatie van de paginatitel (Sophie + Over ons + Contact) */
.page-hero--about .typewriter .typewriter__row,
.page-hero--sophie .typewriter .typewriter__row,
.page-hero--contact .typewriter .typewriter__row {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: page-hero-title-row 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-hero--about .typewriter .typewriter__row:nth-child(2),
.page-hero--sophie .typewriter .typewriter__row:nth-child(2),
.page-hero--contact .typewriter .typewriter__row:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes page-hero-title-row {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero--about .typewriter .typewriter__row,
  .page-hero--sophie .typewriter .typewriter__row,
  .page-hero--contact .typewriter .typewriter__row {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.typewriter__caret {
  display: inline-block;
  width: 0.55em;
  min-width: 11px;
  height: 3.5px;
  margin-left: 4px;
  vertical-align: baseline;
  position: relative;
  top: 0.12em;
  background: var(--accent);
  border-radius: 2px;
  animation: typewriter-caret-blink 1.05s steps(1, end) infinite;
}

@keyframes typewriter-caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter__caret {
    animation: none;
    opacity: 1;
  }
}

.page-hero__lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.4211;
  color: var(--text-secondary);
}

.page-body {
  max-width: var(--page-copy-max);
  margin: 0 auto;
  padding: 0 22px 88px;
}

.page-body h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}

.page-body h2:first-child {
  margin-top: 0;
}

.page-body h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
  color: var(--text);
}

.page-body h2 + h3 {
  margin-top: 16px;
}

.page-body p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.page-body p:last-child {
  margin-bottom: 0;
}

.page-body ul {
  margin: 0 0 24px;
  padding-left: 1.25em;
  color: var(--text-secondary);
}

.page-body li {
  margin-bottom: 8px;
}

/* Over ons + Sophie — zelfde kolombreedte en afstand tot de navigatie */
.page--over-ons .about-shell,
.page--contact .about-shell {
  max-width: var(--page-copy-max);
  margin: 0 auto;
  padding: 40px 22px 96px;
}

.page--sophie .about-shell {
  max-width: var(--page-copy-max);
  margin: 0 auto;
  padding: 16px 22px 96px;
}

.page--over-ons .page-hero--about,
.page--sophie .page-hero--sophie,
.page--contact .page-hero--contact {
  max-width: none;
  margin: 0;
  padding: 0 0 8px;
  text-align: left;
}

.page--over-ons .page-hero--about h1,
.page--sophie .page-hero--sophie h1,
.page--contact .page-hero--contact h1 {
  text-wrap: balance;
}

.page--contact .page-hero__title--typewriter {
  min-height: clamp(2.75rem, 8vw, 3.75rem);
}

.page--sophie .page-body {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Meer witruimte tussen alinea’s; sectietitel (h2) dichter bij eigen tekst */
.page--sophie .page-body > p {
  margin: 0 0 22px;
}

.page--sophie .page-body > p:last-child {
  margin-bottom: 0;
}

.page--sophie .page-body > h2 {
  margin: 52px 0 10px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page--sophie .page-body > h2 + p {
  margin-top: 0;
}

.page--sophie .page-body > h3 {
  margin: 36px 0 8px;
  color: var(--text);
}

.page--sophie .page-body > h3 + p {
  margin-top: 0;
}

/* Sophie — modules: zwart, lichte copy, subtiel licht raster */
.page--sophie .sophie-modules-dark {
  --sophie-modules-grid-line: rgba(255, 255, 255, 0.06);
  width: 100vw;
  margin: 48px 0 56px;
  margin-left: calc(50% - 50vw);
  padding: 52px 22px 56px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #000000;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--sophie-grid-size) - 1px),
      var(--sophie-modules-grid-line) calc(var(--sophie-grid-size) - 1px),
      var(--sophie-modules-grid-line) var(--sophie-grid-size)
    ),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(var(--sophie-grid-size) - 1px),
      var(--sophie-modules-grid-line) calc(var(--sophie-grid-size) - 1px),
      var(--sophie-modules-grid-line) var(--sophie-grid-size)
    );
  background-attachment: fixed, fixed;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font);
}

.page--sophie .sophie-modules-dark__inner {
  max-width: min(var(--page-text-column), 100%);
  margin: 0 auto;
}

.page--sophie .sophie-modules-dark__title {
  margin: 0 0 14px;
  font-size: clamp(0.9375rem, 2.1vw + 0.65rem, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.96);
}

.page--sophie .sophie-modules-dark__title .hero-terminal__stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  min-height: clamp(2.25rem, 6vw, 3rem);
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: left;
}

.page--sophie .sophie-modules-dark__title .hero-terminal__line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.1em;
  min-height: 1.05em;
  max-width: 100%;
  white-space: nowrap;
}

.page--sophie .sophie-modules-dark__title .hero-terminal__stage .typewriter__caret {
  flex-shrink: 0;
  align-self: baseline;
  vertical-align: baseline;
  top: 0;
  margin-left: 0.08em;
}

.page--sophie .sophie-modules-dark__inner > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.5;
}

.page--sophie .sophie-modules-dark__inner > p:last-of-type {
  margin-bottom: 0;
}

.page--sophie .sophie-modules-dark a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page--sophie .sophie-modules-dark a:hover {
  color: #fb923c;
}

/* Sophie — modules: titel + uitleg in kolommen (geen kaarten) */
.page--sophie .sophie-modules-orbit {
  position: relative;
  min-height: 680px;
  margin: 28px 0 22px;
}

.page--sophie .sophie-modules-orbit__sphere-wrap {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(82vw, 520px);
  height: min(82vw, 520px);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.page--sophie .sophie-modules-orbit__sphere {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  user-select: none;
}

.page--sophie .sophie-modules-orbit__widget {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(249, 115, 22, 0.55);
  border-radius: 999px;
  background: rgba(15, 15, 17, 0.88);
  color: rgba(255, 255, 255, 0.94);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.5rem 0.95rem;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(1) {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(2) {
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(3) {
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.page--sophie .sophie-modules-orbit__widget:nth-child(4) {
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
}

.page--sophie .sophie-module-blocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin: 28px 0 0;
  min-width: 0;
}

.page--sophie .sophie-module-block {
  min-width: 0;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.page--sophie .sophie-module-block__title {
  margin: 0 0 10px;
  font-size: clamp(0.9375rem, 1.2vw + 0.6rem, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1d1d1f;
  transition: color 0.2s ease;
}

.page--sophie .sophie-module-block__title .hero-terminal__stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  min-height: 1.2em;
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: left;
}

.page--sophie .sophie-module-block__title .hero-terminal__line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.1em;
  min-height: 1.05em;
  max-width: 100%;
}

.page--sophie .sophie-module-block__title .hero-terminal__stage .typewriter__caret {
  flex-shrink: 0;
  align-self: baseline;
  vertical-align: baseline;
  top: 0;
  margin-left: 0.08em;
}

/* Alleen «contact» in «Direct contact»: roze, zacht knipperend (terminal-einde) */
.page--sophie .sophie-module-block__title .sophie-module-title__pink {
  color: #f472b6;
  animation: sophie-module-pink-blink 1.1s steps(1, end) infinite;
}

.page--sophie .sophie-module-block:hover .sophie-module-block__title .sophie-module-title__pink {
  color: #f9a8d4;
}

@keyframes sophie-module-pink-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.38;
  }
}

.page--sophie .sophie-module-block p {
  margin: 0;
  font-size: clamp(0.875rem, 0.35vw + 0.78rem, 0.9375rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(29, 29, 31, 0.76);
}

.page--sophie .sophie-module-block:hover .sophie-module-block__title {
  color: var(--accent);
}

.page--sophie .sophie-module-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1000px) {
  .page--sophie .sophie-modules-orbit {
    min-height: 580px;
  }

  .page--sophie .sophie-modules-orbit__sphere-wrap {
    width: min(78vw, 430px);
    height: min(78vw, 430px);
  }

  .page--sophie .sophie-module-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .page--sophie .sophie-modules-orbit {
    min-height: 0;
    display: grid;
    gap: 12px;
    justify-items: center;
  }

  .page--sophie .sophie-modules-orbit__sphere-wrap {
    position: relative;
    inset: auto;
    transform: none;
    width: min(90vw, 360px);
    height: min(90vw, 360px);
    order: 1;
  }

  .page--sophie .sophie-modules-orbit__widget {
    position: static;
    transform: none !important;
    width: min(86vw, 320px);
    text-align: center;
    order: 2;
  }

  .page--sophie .sophie-module-blocks {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--sophie .sophie-module-block__title {
    transition: none;
  }

  .page--sophie .sophie-module-block__title .sophie-module-title__pink {
    animation: none;
    opacity: 1;
  }
}

.page--over-ons .page-body--about {
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  text-align: left;
}

/* ─── Maatwerk — redesign ─── */
.page--maatwerk {
  --maatwerk-copy: min(var(--page-copy-max), calc(100% - 44px));
  --maatwerk-wide: min(var(--max), calc(100% - 44px));
  --maatwerk-grid-line: rgba(255, 255, 255, 0.06);
  background: #ffffff;
}

.maatwerk-shell {
  width: 100%;
  max-width: var(--maatwerk-copy);
  margin-left: max(22px, calc((100% - var(--max)) / 2 + 22px));
  margin-right: auto;
  padding-right: 22px;
  box-sizing: border-box;
}

.maatwerk-shell--wide {
  max-width: var(--maatwerk-wide);
}

.maatwerk-shell--hero {
  position: relative;
  z-index: 2;
}

/* Hero — volledig eerste scherm, video-achtergrond */
.maatwerk-hero {
  --maatwerk-hero-nav-offset: calc(64px + env(safe-area-inset-top, 0px));
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  margin-top: calc(-1 * var(--maatwerk-hero-nav-offset));
  padding: calc(var(--maatwerk-hero-nav-offset) + clamp(48px, 10vh, 112px)) 0 clamp(48px, 8vh, 80px);
  background: #8fa3b0;
  box-sizing: border-box;
}

.maatwerk-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.maatwerk-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

.maatwerk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.42) 100%),
    rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.maatwerk-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.maatwerk-hero__title {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.038em;
  text-wrap: balance;
  color: #fff;
}

.maatwerk-hero__line {
  display: block;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: home-hero-enter 1.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, transform;
}

.maatwerk-hero__line--0 {
  animation-delay: 0.06s;
}

.maatwerk-hero__line--1 {
  animation-delay: 0.12s;
}

.maatwerk-hero__line--2 {
  animation-delay: 0.28s;
}

.maatwerk-hero__line--3 {
  animation-delay: 0.44s;
}

.maatwerk-hero__line--4 {
  animation-delay: 0.6s;
}

.maatwerk-hero__lead {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.016em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.maatwerk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.maatwerk-hero__btn-ghost {
  background: #fff;
  color: #1d1d1f;
  box-shadow: none;
}

.maatwerk-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
}

/* Statement */
.maatwerk-statement {
  padding: clamp(64px, 10vh, 96px) 0 clamp(48px, 7vh, 72px);
}

.maatwerk-statement__text {
  margin: 0;
  max-width: 18em;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.032em;
  color: var(--text);
  text-wrap: balance;
}

.maatwerk-statement__text strong {
  font-weight: 600;
  color: var(--text-accent);
}

/* Shared section typography */
.maatwerk-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.maatwerk-kicker--light {
  color: rgba(255, 255, 255, 0.62);
}

.maatwerk-section__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.1;
  color: var(--text);
  text-wrap: balance;
}

.maatwerk-section__title--light {
  color: rgba(255, 255, 255, 0.96);
}

.maatwerk-section__lead {
  margin: 0 0 28px;
  max-width: 38em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.maatwerk-section__lead--light {
  color: rgba(255, 255, 255, 0.72);
}

.maatwerk-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.maatwerk-prose p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.maatwerk-prose strong {
  color: var(--text);
  font-weight: 600;
}

.maatwerk-prose__callout {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--text) !important;
}

/* Platform — split layout */
.maatwerk-platform-section {
  padding-bottom: clamp(64px, 9vh, 88px);
}

.maatwerk-platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.maatwerk-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.maatwerk-stack__layer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.maatwerk-stack__layer--1 {
  border-color: rgba(234, 88, 0, 0.22);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, #fff 100%);
}

.maatwerk-stack__layer--2 {
  margin-left: clamp(12px, 2vw, 24px);
}

.maatwerk-stack__layer--3 {
  margin-left: clamp(24px, 4vw, 48px);
}

.maatwerk-stack__layer:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.maatwerk-stack__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.maatwerk-stack__desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Aanpak — donkere full-bleed band */
.maatwerk-aanpak-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(64px, 10vh, 96px) 22px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0a0a0a;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(32px - 1px),
      var(--maatwerk-grid-line) calc(32px - 1px),
      var(--maatwerk-grid-line) 32px
    ),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(32px - 1px),
      var(--maatwerk-grid-line) calc(32px - 1px),
      var(--maatwerk-grid-line) 32px
    );
  background-attachment: fixed, fixed;
  color: rgba(255, 255, 255, 0.92);
}

.maatwerk-aanpak-band .maatwerk-shell {
  margin-left: auto;
  margin-right: auto;
  padding-right: 0;
}

.maatwerk-aanpak__head {
  max-width: 38em;
  margin-bottom: clamp(32px, 5vh, 44px);
}

.maatwerk-aanpak__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.maatwerk-aanpak__item {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.maatwerk-aanpak__item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.maatwerk-aanpak__num {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-hover);
}

.maatwerk-aanpak__item-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.96);
}

.maatwerk-aanpak__item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

/* Process — stappen */
.maatwerk-process {
  padding: clamp(64px, 10vh, 96px) 0;
}

.maatwerk-process__head {
  margin-bottom: clamp(32px, 5vh, 44px);
}

.maatwerk-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.maatwerk-process__step {
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-md);
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.maatwerk-process__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.maatwerk-process__step-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.maatwerk-process__step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* CTA — accent band */
.maatwerk-cta-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(64px, 10vh, 96px) 22px clamp(72px, 11vh, 104px);
  box-sizing: border-box;
  background: linear-gradient(135deg, #c2410c 0%, var(--accent) 48%, var(--accent-hover) 100%);
}

.maatwerk-cta-band .maatwerk-shell {
  margin-left: auto;
  margin-right: auto;
  padding-right: 0;
}

.maatwerk-cta {
  max-width: 38em;
}

.maatwerk-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn--on-dark.btn--primary {
  background: #fff;
  color: var(--accent);
}

.btn--on-dark.btn--primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #c2410c;
}

.btn--on-dark.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.btn--on-dark.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

html.js .reveal--d1.reveal--visible {
  transition-delay: 0.06s;
}

html.js .reveal--d2.reveal--visible {
  transition-delay: 0.12s;
}

html.js .reveal--d3.reveal--visible {
  transition-delay: 0.18s;
}

html.js .reveal--d4.reveal--visible {
  transition-delay: 0.24s;
}

@media (max-width: 767px) {
  .maatwerk-hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--maatwerk-hero-nav-offset) + clamp(32px, 8vh, 64px));
    padding-bottom: clamp(32px, 6vh, 48px);
  }

  .maatwerk-shell,
  .maatwerk-shell--wide {
    margin-left: 0;
    padding-left: max(22px, env(safe-area-inset-left, 0px));
    padding-right: max(22px, env(safe-area-inset-right, 0px));
  }

  .maatwerk-hero__title {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .maatwerk-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .maatwerk-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .maatwerk-statement {
    padding: 48px 0 40px;
  }

  .maatwerk-statement__text {
    font-size: clamp(22px, 6vw, 28px);
  }

  .maatwerk-platform-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .maatwerk-stack__layer--2,
  .maatwerk-stack__layer--3 {
    margin-left: 0;
  }

  .maatwerk-aanpak__list {
    grid-template-columns: 1fr;
  }

  .maatwerk-process__steps {
    grid-template-columns: 1fr;
  }

  .maatwerk-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .maatwerk-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

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

  .maatwerk-hero__media {
    background: #8fa3b0 url("assets/maatwerk-hero-bg.png") center center / cover no-repeat;
  }

  .maatwerk-hero__line {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .maatwerk-stack__layer,
  .maatwerk-aanpak__item {
    transition: none;
  }

  html.js .reveal--d1.reveal--visible,
  html.js .reveal--d2.reveal--visible,
  html.js .reveal--d3.reveal--visible,
  html.js .reveal--d4.reveal--visible {
    transition-delay: 0s;
  }
}

/* Maatwerk — xAI inspired redesign */
.page--maatwerk-xai {
  --maatwerk-xai-page: min(1072px, calc(100% - 40px));
  --maatwerk-xai-soft: #f6f6f7;
  --maatwerk-xai-muted: #7d7d84;
  background: #fff;
  color: #050506;
}

.maatwerk-xai-hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: var(--xai-hero-min-height);
  padding: clamp(112px, 16vh, 168px) 20px var(--xai-hero-pad-bottom);
  text-align: center;
}

.maatwerk-xai-hero__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.maatwerk-xai-hero__title {
  margin: 0 auto 18px;
  max-width: 760px;
  color: #050506;
}

.maatwerk-xai-rotator {
  position: relative;
  display: inline-grid;
  min-width: 6.4em;
  vertical-align: baseline;
}

.maatwerk-xai-rotator__word {
  grid-area: 1 / 1;
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.34em, 0);
  filter: blur(6px);
  animation: maatwerk-xai-word-cycle 10.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.maatwerk-xai-rotator__word:nth-child(2) {
  animation-delay: 2.6s;
}

.maatwerk-xai-rotator__word:nth-child(3) {
  animation-delay: 5.2s;
}

.maatwerk-xai-rotator__word:nth-child(4) {
  animation-delay: 7.8s;
}

@keyframes maatwerk-xai-word-cycle {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.34em, 0);
    filter: blur(6px);
  }

  8%,
  22% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }

  30%,
  100% {
    opacity: 0;
    transform: translate3d(0, -0.22em, 0);
    filter: blur(6px);
  }
}

.maatwerk-xai-hero__lead {
  margin: 0 auto 34px;
  max-width: 740px;
  color: #8a8a91;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.maatwerk-xai-hero__actions,
.maatwerk-xai-api__actions,
.maatwerk-xai-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.maatwerk-xai-hero__actions {
  align-items: center;
  justify-content: center;
}

.page--maatwerk-xai .btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.page--maatwerk-xai .btn--primary {
  background: #050506;
  color: #fff;
}

.page--maatwerk-xai .btn--primary:hover {
  background: #242428;
}

.page--maatwerk-xai .btn--ghost {
  background: #fff;
  color: #111;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.maatwerk-xai-showcase,
.maatwerk-xai-api,
.maatwerk-xai-modules,
.maatwerk-xai-process {
  width: 100%;
  max-width: var(--maatwerk-xai-page);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.maatwerk-xai-showcase {
  padding-bottom: clamp(84px, 12vh, 140px);
}

.maatwerk-xai-showcase__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
}

.maatwerk-xai-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--maatwerk-xai-soft);
}

.maatwerk-xai-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.maatwerk-xai-card--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.22) 100%);
}

.maatwerk-xai-card__label {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.maatwerk-xai-card--code {
  background: #111;
  color: #fff;
}

.maatwerk-xai-code {
  height: 100%;
  padding: 18px 18px 42px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

.maatwerk-xai-code__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.maatwerk-xai-code__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.maatwerk-xai-code__bar span:nth-child(1) {
  background: #ff5f57;
}

.maatwerk-xai-code__bar span:nth-child(2) {
  background: #ffbd2e;
}

.maatwerk-xai-code__bar span:nth-child(3) {
  background: #28c840;
}

.maatwerk-xai-code__bar strong {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
}

.maatwerk-xai-code pre {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.65;
  white-space: pre-wrap;
}

.maatwerk-xai-code code {
  font-family: inherit;
}

.maatwerk-xai-api {
  padding-top: clamp(82px, 12vh, 132px);
  padding-bottom: clamp(82px, 12vh, 132px);
}

.maatwerk-xai-api__copy {
  max-width: 640px;
}

.maatwerk-xai-kicker {
  margin: 0 0 18px;
  color: #8a8a91;
  font-size: 14px;
}

.maatwerk-xai-api h2,
.maatwerk-xai-process__head h2,
.maatwerk-xai-cta h2 {
  margin: 0 0 20px;
  color: #050506;
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.068em;
  line-height: 1;
  text-wrap: balance;
}

.maatwerk-xai-api p,
.maatwerk-xai-process__head p,
.maatwerk-xai-cta p {
  margin: 0 0 18px;
  color: var(--maatwerk-xai-muted);
  font-size: 17px;
  line-height: 1.55;
}

.maatwerk-xai-api__actions {
  margin-top: 28px;
}

.maatwerk-xai-modules {
  padding-top: clamp(88px, 12vh, 140px);
  padding-bottom: clamp(88px, 12vh, 140px);
}

.maatwerk-xai-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
}

.maatwerk-xai-section-head h2 {
  margin: 0;
  color: #111;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.maatwerk-xai-section-head a {
  color: #8a8a91;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.maatwerk-xai-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.maatwerk-xai-module__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.maatwerk-xai-module__visual span {
  position: relative;
  z-index: 1;
}

.maatwerk-xai-module__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: module-glow-breathe calc(4s * var(--sophie-anim, 1)) ease-in-out infinite;
}

.maatwerk-xai-module__visual--admin {
  background: linear-gradient(135deg, #123d44, #607067);
}

.maatwerk-xai-module__visual--admin::before {
  background: radial-gradient(circle at 30% 30%, rgba(67, 213, 223, 0.85), transparent 55%);
  animation-delay: 0s;
}

.maatwerk-xai-module__visual--modules {
  background: linear-gradient(135deg, #3d1b12, #d86c44);
}

.maatwerk-xai-module__visual--modules::before {
  background: radial-gradient(circle at 52% 42%, rgba(255, 179, 108, 0.85), transparent 55%);
  animation-delay: 1s;
}

.maatwerk-xai-module__visual--channels {
  background: linear-gradient(135deg, #114f65, #3c2a75);
}

.maatwerk-xai-module__visual--channels::before {
  background: radial-gradient(circle at 65% 45%, rgba(191, 124, 255, 0.85), transparent 55%);
  animation-delay: 2s;
}

.maatwerk-xai-module__visual--support {
  background: linear-gradient(135deg, #0a0a0d, #2f130b);
}

.maatwerk-xai-module__visual--support::before {
  background: radial-gradient(circle at 70% 48%, rgba(255, 106, 35, 0.85), transparent 55%);
  animation-delay: 0.5s;
}

.maatwerk-xai-module time {
  display: block;
  margin-bottom: 7px;
  color: #a2a2a8;
  font-size: 12px;
}

.maatwerk-xai-module h3 {
  margin: 0 0 7px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.maatwerk-xai-module p {
  margin: 0;
  color: #606067;
  font-size: 14px;
  line-height: 1.45;
}

.maatwerk-xai-process {
  padding-top: clamp(84px, 12vh, 132px);
  padding-bottom: clamp(84px, 12vh, 132px);
}

.maatwerk-xai-process__head {
  max-width: 760px;
  margin-bottom: 34px;
}

.maatwerk-xai-process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}

.maatwerk-xai-process__step {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 18px;
  background: var(--maatwerk-xai-soft);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.maatwerk-xai-process__step:hover {
  transform: translateY(-3px);
  background: #eeeeef;
}

.maatwerk-xai-process__step span {
  margin-bottom: auto;
  color: #a0a0a6;
  font-size: 13px;
}

.maatwerk-xai-process__step h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.maatwerk-xai-process__step p {
  margin: 0;
  color: #77777f;
  font-size: 14px;
  line-height: 1.45;
}

.maatwerk-xai-cta {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    clamp(72px, 10vh, 110px)
    max(20px, calc((100% - var(--maatwerk-xai-page)) / 2 + 20px))
    clamp(104px, 14vh, 150px);
  background: var(--maatwerk-xai-soft);
  box-sizing: border-box;
}

.maatwerk-xai-cta__inner {
  width: 100%;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.maatwerk-xai-cta__actions {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .maatwerk-xai-showcase__grid {
    grid-template-columns: 1fr;
  }

  .maatwerk-xai-module-grid,
  .maatwerk-xai-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .maatwerk-xai-hero {
    min-height: auto;
    padding-top: 96px;
  }

  .maatwerk-xai-hero__title {
    font-size: var(--xai-hero-title-size-md);
    letter-spacing: -0.07em;
  }

  .maatwerk-xai-rotator {
    display: grid;
    margin: 0 auto;
  }

  .maatwerk-xai-hero__actions,
  .maatwerk-xai-api__actions,
  .maatwerk-xai-cta__actions {
    flex-direction: column;
  }

  .maatwerk-xai-hero__actions .btn,
  .maatwerk-xai-api__actions .btn,
  .maatwerk-xai-cta__actions .btn {
    width: 100%;
  }

  .maatwerk-xai-module-grid,
  .maatwerk-xai-process__steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maatwerk-xai-rotator__word {
    animation: none;
    opacity: 0;
    transform: none;
    filter: none;
  }

  .maatwerk-xai-rotator__word:first-child {
    opacity: 1;
  }

  .maatwerk-xai-process__step {
    transition: none;
  }

  .maatwerk-xai-module__visual::before {
    animation: none;
    opacity: 0.65;
  }
}

/* Over ons — oranje bovenste sectie met titel-animatie */
.about-hero-band {
  width: 100%;
  background: var(--accent);
  padding: clamp(56px, 10vh, 104px) 0 clamp(52px, 9vh, 88px);
  min-height: clamp(252px, 34vh, 324px);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.about-hero-band__inner {
  width: 100%;
  max-width: var(--page-copy-max);
  margin: 0 auto;
  padding: 0 22px;
  box-sizing: border-box;
}

.about-hero-band .eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.about-hero-band .page-hero__title {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.038em;
  text-wrap: balance;
  color: #fff;
}

.about-hero-band__line {
  display: block;
  color: #fff;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: home-hero-enter 1.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, transform;
}

.about-hero-band__line--1 {
  animation-delay: 0.12s;
}

.about-hero-band__line--2 {
  animation-delay: 0.3s;
}

.about-hero-band__accent {
  font-weight: 700;
}

.about-hero-band__line--3 {
  animation-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-band__line {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

.page--over-ons .about-zegje {
  margin: 22px 0 0;
  padding: 0;
  border: none;
  color: var(--text);
  font-family: inherit;
}

.page--over-ons .about-zegje p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
}

.page--over-ons .about-zegje__quote {
  color: var(--accent);
  font-weight: 600;
}

.page--over-ons .about-zegje__by {
  font-style: italic;
  font-weight: 600;
  font-size: inherit;
  color: var(--accent);
  white-space: nowrap;
}

.page--over-ons .about-section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page--over-ons .about-section p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.page--over-ons .about-section p:last-child {
  margin-bottom: 0;
}

.page--over-ons .about-contact-card {
  margin-top: 4px;
  padding: 24px 22px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.page--over-ons .about-contact-card p {
  margin: 0 0 12px;
}

.page--over-ons .about-contact-card p:last-child {
  margin-bottom: 0;
}

.page--over-ons .about-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.page--over-ons .about-contact-label {
  min-width: 5.5rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

/* Over ons — team (galerij: foto bovenaan, naam + functie; ref. layout) */
.page--over-ons .about-team {
  margin-top: 0;
}

.page--over-ons .about-team .about-team__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 36px);
  max-width: 100%;
}

@media (max-width: 520px) {
  .page--over-ons .about-team .about-team__list {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

.page--over-ons .about-team .about-team__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

/* Portret-placeholder: lichtgrijs, licht afgeronde hoeken (zoals ref.) */
.page--over-ons .about-team .about-team__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 320px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ececee 0%, #e2e2e6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.page--over-ons .about-team .about-team__photo:is(img) {
  display: block;
  height: auto;
  object-fit: cover;
  background: none;
  box-shadow: none;
}

.page--over-ons .about-team .about-team__name {
  display: block;
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--accent);
  text-decoration: none;
  text-align: left;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.page--over-ons .about-team .about-team__name:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.page--over-ons .about-team .about-team__role {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  line-height: 1.45;
  text-align: left;
}

.page--over-ons .about-team .about-team__email {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
  text-align: left;
}

.page--over-ons .about-team .about-team__email a {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.page--over-ons .about-team .about-team__email a:hover {
  color: var(--text-accent);
  border-bottom-color: rgba(194, 65, 12, 0.35);
}

/* Over ons — xAI inspired redesign */
.page--about-xai {
  --about-xai-page: min(1072px, calc(100% - 40px));
  --about-xai-soft: #f6f6f7;
  --about-xai-muted: #7d7d84;
  background: #fff;
  color: #050506;
}

.about-xai-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 74svh, 760px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(112px, 16vh, 168px) max(20px, calc((100% - var(--about-xai-page)) / 2 + 20px))
    clamp(42px, 7vh, 72px);
  text-align: left;
}

.about-xai-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.about-xai-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(5, 5, 8, 0.72) 0%,
    rgba(5, 5, 8, 0.48) 60%,
    rgba(5, 5, 8, 0.28) 100%
  );
}

.about-xai-hero__inner {
  position: relative;
  z-index: 2;
}

.about-xai-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  margin: 0;
}

.about-xai-kicker {
  margin: 0 0 18px;
  color: #8a8a91;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.about-xai-hero__title {
  margin: 0 0 20px;
  max-width: 700px;
  color: #fff;
}

.about-xai-hero .about-xai-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.about-xai-rotator {
  position: relative;
  display: inline-grid;
  min-width: 4.9em;
  vertical-align: baseline;
}

.about-xai-rotator__word {
  grid-area: 1 / 1;
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.34em, 0);
  filter: blur(6px);
  animation: about-xai-word-cycle 10.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.about-xai-rotator__word:nth-child(2) {
  animation-delay: 2.6s;
}

.about-xai-rotator__word:nth-child(3) {
  animation-delay: 5.2s;
}

.about-xai-rotator__word:nth-child(4) {
  animation-delay: 7.8s;
}

@keyframes about-xai-word-cycle {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.34em, 0);
    filter: blur(6px);
  }

  8%,
  22% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }

  30%,
  100% {
    opacity: 0;
    transform: translate3d(0, -0.22em, 0);
    filter: blur(6px);
  }
}

.about-xai-hero__lead {
  max-width: 690px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.5;
}

.about-xai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.page--about-xai .btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.page--about-xai .btn--primary {
  background: #050506;
  color: #fff;
}

.page--about-xai .btn--primary:hover {
  background: #242428;
}

.page--about-xai .btn--ghost {
  background: #fff;
  color: #111;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.about-xai-showcase,
.about-xai-section,
.about-xai-roadmap,
.about-xai-team {
  width: 100%;
  max-width: var(--about-xai-page);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.about-xai-showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 14px;
  padding-top: clamp(72px, 11vh, 128px);
  padding-bottom: clamp(84px, 12vh, 140px);
}

.about-xai-panel {
  min-height: 320px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 16px;
  background: var(--about-xai-soft);
  overflow: hidden;
}

.about-xai-panel--mission {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--about-xai-soft);
}

.about-xai-panel__label {
  margin-bottom: auto;
  color: #9a9aa0;
  font-size: 13px;
}

.about-xai-panel h2,
.about-xai-section__copy h2,
.about-xai-roadmap__head h2 {
  margin: 0 0 18px;
  color: #050506;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.066em;
  line-height: 1;
  text-wrap: balance;
}

.about-xai-panel p,
.about-xai-section__copy p,
.about-xai-step p {
  margin: 0;
  color: var(--about-xai-muted);
  font-size: 17px;
  line-height: 1.55;
}

.about-xai-panel--quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #101012;
  color: #fff;
}

.about-xai-panel--quote blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.about-xai-panel--quote p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.about-xai-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
  padding-top: clamp(80px, 12vh, 130px);
  padding-bottom: clamp(80px, 12vh, 130px);
}

.about-xai-section__copy p + p {
  margin-top: 18px;
}

.about-xai-metrics {
  display: grid;
  gap: 12px;
}

.about-xai-metrics div,
.about-xai-step,
.about-xai-team__card {
  border-radius: 18px;
  background: var(--about-xai-soft);
}

.about-xai-metrics div {
  padding: 22px 24px;
}

.about-xai-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: #050506;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.about-xai-metrics span {
  color: var(--about-xai-muted);
  font-size: 14px;
}

.about-xai-roadmap {
  padding-top: clamp(84px, 12vh, 140px);
  padding-bottom: clamp(84px, 12vh, 140px);
}

.about-xai-roadmap__head {
  max-width: 700px;
  margin-bottom: 34px;
}

.about-xai-roadmap__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-xai-step {
  min-height: 240px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.about-xai-step:hover {
  transform: translateY(-3px);
  background: #eeeeef;
}

.about-xai-step span {
  margin-bottom: auto;
  color: #a1a1a7;
  font-size: 13px;
}

.about-xai-step h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.about-xai-team {
  padding-top: clamp(72px, 10vh, 110px);
  padding-bottom: clamp(104px, 14vh, 150px);
}

.about-xai-team__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
}

.about-xai-team__card {
  padding: 18px;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.about-xai-team__card:hover {
  transform: translateY(-3px);
  background: #eeeeef;
}

.about-xai-team__portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.6), transparent 20%),
    linear-gradient(135deg, #d9dde4 0%, #828b98 52%, #23262d 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 600;
  letter-spacing: -0.08em;
}

.about-xai-team__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-xai-team__portrait--warm {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.6), transparent 20%),
    linear-gradient(135deg, #f4d5c0 0%, #d86c44 52%, #351510 100%);
}

.about-xai-team__name {
  display: block;
  color: #111;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.about-xai-team__initials {
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1;
}

.about-xai-team__role {
  margin: 6px 0 12px;
  color: #77777f;
  font-size: 14px;
}

.about-xai-team__email {
  color: #77777f;
  font-size: 14px;
  text-decoration: none;
  word-break: break-word;
}

@media (max-width: 900px) {
  .about-xai-showcase,
  .about-xai-section {
    grid-template-columns: 1fr;
  }

  .about-xai-roadmap__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-xai-hero {
    min-height: auto;
    padding-top: 96px;
  }

  .about-xai-hero__title {
    font-size: var(--xai-hero-title-size-md);
    letter-spacing: -0.07em;
  }

  .about-xai-rotator {
    display: grid;
    margin: 0 auto;
  }

  .about-xai-hero__actions,
  .about-xai-team__list {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .about-xai-hero__actions .btn {
    width: 100%;
  }

  .about-xai-team__list {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-xai-rotator__word {
    animation: none;
    opacity: 0;
    transform: none;
    filter: none;
  }

  .about-xai-rotator__word:first-child {
    opacity: 1;
  }

  .about-xai-step,
  .about-xai-team__card {
    transition: none;
  }
}

.page--sophie-xai .reveal {
  transition:
    opacity calc(1.2s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1),
    transform calc(1.2s * var(--sophie-anim, 1)) cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .page--sophie-xai .reveal--d1.reveal--visible {
  transition-delay: calc(0.06s * var(--sophie-anim, 1));
}

html.js .page--sophie-xai .reveal--d2.reveal--visible {
  transition-delay: calc(0.12s * var(--sophie-anim, 1));
}

html.js .page--sophie-xai .reveal--d3.reveal--visible {
  transition-delay: calc(0.18s * var(--sophie-anim, 1));
}

html.js .page--sophie-xai .reveal--d4.reveal--visible {
  transition-delay: calc(0.24s * var(--sophie-anim, 1));
}

html.js .page--sophie-xai .reveal--d5.reveal--visible {
  transition-delay: calc(0.3s * var(--sophie-anim, 1));
}

/* Scroll reveal (vereist html.js — gezet in main.js) */
.reveal {
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal--instant {
  transition: none;
}

html.js .reveal:not(.reveal--visible) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

html.js .reveal.reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  html.js .reveal:not(.reveal--visible) {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.contact-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 0 0;
}

.page--contact .contact-layout {
  padding-bottom: 88px;
}

.contact-layout .cta__box {
  margin-top: 0;
}

/* Contact — gesprek (geen terminal-chrome; wel knipperende caret bij invoer) */
.contact-flow {
  text-align: left;
  width: 100%;
}

/* scrollIntoView(block: center): ruimte t.o.v. sticky nav + comfortabel midden */
#contact-flow-input-row,
.contact-flow__sent {
  scroll-margin-top: min(18vh, 120px);
  scroll-margin-bottom: min(12vh, 80px);
}

.contact-flow__active {
  width: 100%;
}

.contact-flow__history {
  margin: 0 0 32px;
  width: 100%;
}

.contact-flow__past {
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.contact-flow__past:last-of-type {
  margin-bottom: 0;
}

.contact-flow__past-q {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.contact-flow__past-a {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.contact-flow__question {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.contact-flow__hint {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.contact-flow__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.contact-flow__choice {
  appearance: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.contact-flow__choice:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: #f8f8f8;
}

.contact-flow__choice:focus-visible {
  outline: none;
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.contact-flow__choice--selected {
  border-color: rgba(234, 88, 0, 0.55);
  color: var(--accent);
  background: rgba(234, 88, 0, 0.08);
}

.contact-flow__answer-row {
  margin: 0 0 12px;
  min-height: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.contact-flow__single,
.contact-flow__multiline {
  width: 100%;
}

.contact-flow__textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  resize: vertical;
  min-height: 140px;
  outline: none;
}

.contact-flow__textarea::placeholder {
  color: rgba(234, 88, 0, 0.45);
}

.contact-flow__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(234, 88, 0, 0.22);
}

.contact-flow__field-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 1.6em;
  max-width: 100%;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-align: left;
}

.contact-flow__mirror {
  color: var(--accent);
  font-weight: 500;
  white-space: pre-wrap;
  word-break: break-word;
  pointer-events: none;
}

.contact-flow__caret {
  vertical-align: baseline;
}

.contact-flow__field {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: transparent;
  caret-color: transparent;
  outline: none;
}

.contact-flow__field:focus {
  outline: none;
}

.contact-flow__suggestions-wrap {
  position: relative;
  z-index: 3;
  margin-top: 6px;
  width: 100%;
  max-height: min(40vh, 280px);
  overflow: hidden auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.contact-flow__suggestions {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.contact-flow__suggestion {
  margin: 0;
  padding: 10px 14px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease;
}

.contact-flow__suggestion:hover,
.contact-flow__suggestion--active {
  background: rgba(234, 88, 0, 0.12);
  color: var(--accent);
}

/* Contact — Mapbox globe → gemeente */
.contact-globe-wrap {
  margin: 0 0 28px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.contact-globe__label {
  margin: 0;
  padding: 14px 16px 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.contact-globe__label strong {
  color: var(--accent);
  font-weight: 600;
}

.contact-globe {
  width: 100%;
  height: min(42vh, 380px);
  min-height: 220px;
}

.contact-globe .mapboxgl-ctrl-bottom-right {
  bottom: 8px;
  right: 8px;
}

@media (max-width: 767px) {
  .contact-globe-wrap {
    margin-bottom: 20px;
    border-radius: 14px;
  }

  .contact-globe__label {
    padding: 12px 14px 8px;
    font-size: 14px;
  }

  .contact-globe {
    height: clamp(220px, 44svh, 320px);
    min-height: 220px;
  }

  .contact-globe .mapboxgl-ctrl-top-right {
    top: 8px;
    right: 8px;
  }

  .contact-globe .mapboxgl-ctrl-group {
    transform: scale(0.92);
    transform-origin: top right;
  }
}

.contact-flow__err {
  margin: 0;
  font-size: 15px;
  color: var(--accent);
}

/* Contact — terminal na verzenden */
.contact-flow__sent {
  width: 100%;
  margin-top: 4px;
}

.contact-flow__sent-window {
  background: #1d1d1f;
  color: #34c759;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 20px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

.contact-flow__sent-banner {
  margin: 0 0 14px;
  font-size: 13px;
  color: #a1a1a6;
  font-weight: 500;
  user-select: none;
}

.contact-flow__sent-out {
  min-height: 1.6em;
}

.contact-flow__sent-line {
  margin: 0;
  color: #34c759;
}

.contact-flow__sent-caret {
  background: #34c759 !important;
  margin-left: 3px;
}

.contact-flow__sent-fineprint {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .contact-flow .typewriter__caret {
    animation: none;
    opacity: 1;
  }

  .contact-flow__sent .typewriter__caret {
    animation: none;
    opacity: 1;
  }
}

/* Home — uitgebreide shell (about-shell; hero staat erboven, volle breedte) */
.page--home .about-shell.home-shell {
  max-width: var(--page-copy-max);
  margin: 0 auto;
  padding: 16px 22px 96px;
}

/* Home — eerste sectie: volle breedte, hoge hero met landschapsachtergrond */
.home-hero-spotlight {
  position: relative;
  width: 100%;
  min-height: clamp(640px, 88vh, 980px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: clamp(56px, 10vh, 120px) 0 clamp(64px, 11vh, 140px);
  margin: 0;
  overflow: hidden;
  background: #b8bcc8 url("assets/home-hero-bg.png") center 40% / cover no-repeat;
}

.home-hero-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 0;
}

/* Home hero — witte titel + intro; zachte donkere overlay op achtergrond */
.home-hero-spotlight .page-hero--home h1,
.home-hero-spotlight .home-hero__line,
.home-hero-spotlight .home-lead {
  color: #fff;
}

@keyframes home-hero-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.home-hero-spotlight .home-hero__line,
.home-hero-spotlight .home-lead,
.home-hero-spotlight .home-hero__actions {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: home-hero-enter 1.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, transform;
}

.home-hero-spotlight .home-hero__line {
  display: block;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.home-hero-spotlight .home-hero__line--1 {
  animation-delay: 0.12s;
}

.home-hero-spotlight .home-hero__line--2 {
  animation-delay: 0.3s;
}

@keyframes home-hero-ai-bounce {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  35% {
    transform: translate3d(0, -0.22em, 0) scale(1.08, 0.92);
  }

  55% {
    transform: translate3d(0, 0, 0) scale(0.96, 1.06);
  }

  72% {
    transform: translate3d(0, -0.09em, 0) scale(1.04, 0.96);
  }

  88% {
    transform: translate3d(0, 0, 0) scale(0.99, 1.01);
  }
}

.home-hero-spotlight .home-hero__ai-bounce {
  display: inline-block;
  transform-origin: center bottom;
  animation: home-hero-ai-bounce 1.15s cubic-bezier(0.34, 1.28, 0.64, 1) 2s 1 both;
}

.home-hero-spotlight .home-lead {
  animation-delay: 0.52s;
}

.home-hero-spotlight .home-hero__actions {
  animation-delay: 0.72s;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-spotlight .home-hero__line,
  .home-hero-spotlight .home-lead,
  .home-hero-spotlight .home-hero__actions {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .home-hero-spotlight .home-hero__ai-bounce {
    animation: none;
    transform: none;
  }
}

.home-hero-spotlight .home-hero__actions .btn--ghost {
  background: #fff;
  color: #1d1d1f;
  box-shadow: none;
}

.home-hero-spotlight .home-hero__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
}

@media (max-width: 767px) {
  .page--over-ons .page-hero--about h1,
  .page--contact .page-hero--contact h1 {
    font-size: clamp(1.75rem, 7.6vw, 2.15rem);
    line-height: 1.16;
    letter-spacing: -0.028em;
    text-wrap: pretty;
  }

  .page--over-ons .page-hero--about .hero-terminal__line {
    display: block;
  }

  .page--contact .page-hero--contact .typewriter__row {
    line-height: 1.22;
    text-wrap: pretty;
  }

  .home-hero-spotlight {
    min-height: min(88dvh, 720px);
    padding: clamp(40px, 7vh, 72px) 0 clamp(48px, 9vh, 96px);
  }

  .home-hero-spotlight__inner {
    margin-left: 0;
    padding: 0 22px;
  }

  .sophie-hero-spotlight {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--sophie-hero-nav-offset) + clamp(32px, 8vh, 64px));
    padding-bottom: clamp(32px, 6vh, 48px);
  }

  .sophie-hero-spotlight__inner {
    margin-left: 0;
    padding: 0 22px;
  }

  .sophie-hero-spotlight .page-hero--sophie h1 {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .home-hero-spotlight .page-hero--home h1 {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .home-hero-spotlight .home-lead {
    font-size: 17px;
    line-height: 1.5;
  }

  .contact-flow__field-wrap,
  .contact-flow__textarea {
    font-size: 16px;
  }

  .contact-flow__question {
    font-size: clamp(1.35rem, 5.8vw, 1.65rem);
    line-height: 1.22;
  }

  .about-shell,
  .maatwerk-shell:not(.maatwerk-shell--hero) {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .footer__top {
    gap: 28px;
  }

  .footer__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__btn {
    width: 100%;
    justify-content: center;
  }

  /* Subpagina’s: titel + caret op één leesbare kolom */
  .page-hero--sophie .hero-terminal__stage,
  .page-hero--about .hero-terminal__stage,
  .page-hero--contact .hero-terminal__stage {
    min-height: clamp(5.25rem, 38vw, 7rem);
  }

  .page-hero--sophie .hero-terminal__line,
  .page-hero--about .hero-terminal__line,
  .page-hero--contact .hero-terminal__line {
    flex-wrap: wrap;
    max-width: 100%;
    row-gap: 0.06em;
  }

  .page--sophie .sophie-modules-dark__title .hero-terminal__line {
    white-space: normal;
    flex-wrap: wrap;
    max-width: 100%;
    min-height: 0;
  }

  .page--sophie .sophie-modules-dark__title .hero-terminal__stage {
    min-height: clamp(2.75rem, 18vw, 4rem);
  }

  .home-hero-spotlight .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-spotlight .home-hero__actions .btn {
    width: 100%;
    max-width: 22rem;
    margin-left: 0;
    margin-right: 0;
  }

  .home-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta__actions .btn {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.home-hero-spotlight__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-copy-max);
  margin: 0;
  margin-left: max(22px, calc((100% - var(--max)) / 2 + 22px));
  margin-right: auto;
  padding: 0 22px 0 0;
  box-sizing: border-box;
}

.home-hero-spotlight .page-hero--home {
  position: relative;
  text-align: left;
  padding: 0;
  max-width: 52rem;
  margin: 0;
}

.home-hero-spotlight .page-hero--home h1 {
  text-wrap: balance;
  font-size: clamp(34px, 5.2vw, 52px);
  margin: 0 0 20px;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.home-hero-spotlight .home-lead {
  margin: 0 0 28px;
  max-width: 38rem;
  font-size: 19px;
  line-height: 1.45;
  text-align: left;
}

.home-hero-spotlight .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  justify-content: flex-start;
}

/* Sophie — eerste sectie: volledig eerste scherm met schilderij-achtergrond */
.sophie-hero-spotlight {
  --sophie-hero-nav-offset: calc(64px + env(safe-area-inset-top, 0px));
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  margin-top: calc(-1 * var(--sophie-hero-nav-offset));
  padding: calc(var(--sophie-hero-nav-offset) + clamp(48px, 10vh, 112px)) 0 clamp(48px, 8vh, 80px);
  margin-bottom: 0;
  overflow: hidden;
  background: #8a7a72 url("assets/sophie-hero-bg.png") center 42% / cover no-repeat;
  box-sizing: border-box;
}

.sophie-hero-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.42) 100%),
    rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 0;
}

.sophie-hero-spotlight__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-copy-max);
  margin: 0;
  margin-left: max(22px, calc((100% - var(--max)) / 2 + 22px));
  margin-right: auto;
  padding: 0 22px 0 0;
  box-sizing: border-box;
}

.sophie-hero-spotlight .page-hero--sophie {
  position: relative;
  text-align: left;
  padding: 0;
  max-width: 52rem;
  margin: 0;
}

.sophie-hero-spotlight .eyebrow {
  display: none !important;
}

.sophie-hero-spotlight .page-hero__title--typewriter {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: home-hero-enter 1.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.12s;
  will-change: opacity, transform;
}

.sophie-hero-spotlight .page-hero--sophie h1,
.sophie-hero-spotlight .hero-terminal__stage,
.sophie-hero-spotlight .hero-terminal__line,
.sophie-hero-spotlight .hero__gradient {
  color: #fff;
}

.sophie-hero-spotlight .hero-terminal__stage {
  justify-content: flex-start;
}

.sophie-hero-spotlight .hero-terminal__line {
  justify-content: flex-start;
}

.sophie-hero-spotlight .page-hero--sophie h1 {
  text-wrap: balance;
  font-size: clamp(34px, 5.2vw, 52px);
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.sophie-hero-spotlight .typewriter__caret {
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .sophie-hero-spotlight .eyebrow,
  .sophie-hero-spotlight .page-hero__title--typewriter {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

.home-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 0 48px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .home-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.home-stat__value {
  display: block;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--text);
}

.home-stat__label {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.home-section {
  margin: 0 0 56px;
}

.home-section h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.home-section__intro {
  margin: 0 0 24px;
  max-width: 40rem;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.home-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-benefits li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.home-benefits__icon {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.7;
}

.home-benefits li div strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.home-benefits li div > span {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.home-cards {
  display: grid;
  gap: 16px;
  margin: 0 0 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .home-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-card {
  padding: 28px 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.home-card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.home-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.home-quote {
  margin: 0 0 48px;
  padding: 28px 26px;
  border-left: 4px solid var(--accent);
  background: rgba(234, 88, 0, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.home-quote p {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--text);
}

.home-quote footer {
  font-size: 15px;
}

.home-quote a {
  color: var(--accent);
}

.home-quote a:hover {
  opacity: 1;
  text-decoration: underline;
}

.home-cta {
  margin: 0;
  padding: 8px 0 0;
}

.home-cta__inner {
  text-align: center;
  padding: 44px 28px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.home-cta__inner h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.home-cta__inner > p {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--text-secondary);
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Home — minimal (oude hero-markup; kan leeg blijven) */
.page--home .hero {
  padding-top: 64px;
  padding-bottom: 32px;
}

.page--home .hero__lead {
  max-width: 38rem;
}

.page--home .hero__actions {
  margin-bottom: 0;
}

.home-facts {
  max-width: var(--page-copy-max);
  margin: 0 auto;
  padding: 0 22px 56px;
}

.home-facts__list {
  list-style: none;
  margin: 0 auto 28px;
  padding: 28px 26px 32px;
  max-width: 40rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.home-facts__list li {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.home-facts__list strong {
  font-weight: 600;
  color: var(--text);
}

.home-facts__more {
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
}

.home-facts__more a {
  color: var(--accent);
}

.home-facts__more a:hover {
  opacity: 1;
  text-decoration: underline;
}

.home-facts__sep {
  margin: 0 10px;
  opacity: 0.45;
}

/* Home — terminal typewriter */
.hero__title--terminal {
  letter-spacing: -0.045em;
}

.hero-terminal__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.06em;
  min-height: clamp(5rem, 15vw, 6.5rem);
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.05;
}

.page-hero--sophie .hero-terminal__stage,
.page-hero--about .hero-terminal__stage {
  min-height: clamp(5rem, 16vw, 7rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  text-align: left;
  align-items: flex-start;
  width: 100%;
}

.page-hero--sophie .hero-terminal__line,
.page-hero--about .hero-terminal__line {
  justify-content: flex-start;
}

.hero-terminal__line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.12em;
  min-height: 1.05em;
  max-width: 100%;
  text-wrap: balance;
}

/* Op de baseline / voet van de letters — niet verticaal centreren in de regel */
.hero-terminal__stage .typewriter__caret {
  flex-shrink: 0;
  align-self: baseline;
  vertical-align: baseline;
  top: 0;
  margin-left: 0.08em;
}

/* Meebouwen — developer terminal (niet in hoofdmenu) */
.page--mee-bouwen {
  max-width: 920px;
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top, 0px)) calc(22px + env(safe-area-inset-right, 0px))
    calc(48px + env(safe-area-inset-bottom, 0px)) calc(22px + env(safe-area-inset-left, 0px));
}

.dev-recruit {
  margin: 0;
}

.dev-terminal {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1117;
}

.dev-terminal__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #161b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dev-terminal__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dev-terminal__dot--r {
  background: #ff5f56;
}
.dev-terminal__dot--y {
  background: #ffbd2e;
}
.dev-terminal__dot--g {
  background: #27c93f;
}

.dev-terminal__title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #8b949e;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

.dev-terminal__body {
  min-height: min(70vh, 640px);
  padding: 22px 20px 28px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0;
  color: #e6edf3;
  overflow-x: auto;
}

.dev-terminal__body[aria-busy="false"] {
  scroll-behavior: smooth;
}

.dev-terminal__gap {
  height: 0.85em;
  min-height: 10px;
}

.dev-terminal__line {
  margin: 0;
  max-width: 72ch;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.dev-terminal__line + .dev-terminal__line {
  margin-top: 0.35em;
}

.dev-terminal__line--lead {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: #ffa657;
  margin-bottom: 0.15em;
}

.dev-terminal__line--lead + .dev-terminal__gap {
  margin-top: 0.25em;
}

.dev-terminal__line--h2 {
  margin-top: 0.65em;
  font-weight: 600;
  color: #79c0ff;
  letter-spacing: -0.01em;
}

.dev-terminal__line--h2:first-child {
  margin-top: 0;
}

.dev-terminal__line--p {
  color: #e6edf3;
}

.dev-terminal__line--sub {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(234, 88, 0, 0.45);
  color: #c9d1d9;
}

.dev-terminal__line--sub + .dev-terminal__line--sub {
  margin-top: 0.5em;
}

.dev-terminal__body .typewriter__caret {
  background: #3fb950;
  margin-left: 2px;
}

.dev-terminal__link {
  color: #58a6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dev-terminal__link:hover {
  color: #79c0ff;
  opacity: 1;
}

@media (max-width: 767px) {
  .dev-terminal__body {
    font-size: 13px;
    padding: 18px 16px 24px;
    min-height: 55vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dev-terminal__body[aria-busy="false"] {
    scroll-behavior: auto;
  }
}

.dev-terminal__line--closing {
  margin-top: 0.5em;
  font-weight: 600;
  color: #7ee787;
}

.dev-terminal__line--closing-hint {
  margin-top: 0.45em;
  font-size: 13px;
  font-weight: 400;
  color: #8b949e;
}

.dev-terminal__line--prompt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(240, 246, 252, 0.08);
}

.dev-terminal__prompt {
  color: #3fb950;
  flex-shrink: 0;
  user-select: none;
}

.dev-terminal__input {
  flex: 1;
  min-width: 12ch;
  margin: 0;
  padding: 0 0 2px;
  border: none;
  border-bottom: 1px solid rgba(63, 185, 80, 0.45);
  border-radius: 0;
  background: transparent;
  color: #e6edf3;
  font: inherit;
  letter-spacing: inherit;
  outline: none;
}

.dev-terminal__input:focus {
  border-bottom-color: #3fb950;
}

.dev-terminal__input::placeholder {
  color: #484f58;
}

@media (max-width: 767px) {
  .dev-terminal__input {
    font-size: 16px; /* voorkomt iOS-zoom bij focus */
  }
}

/* Meebouwen — stap-voor-stap formulier na "ja" */
.dev-recruit-flow__history {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(240, 246, 252, 0.08);
}

.dev-recruit-flow__past {
  margin-bottom: 1rem;
}

.dev-recruit-flow__past-q {
  margin: 0 0 0.2em;
  font-size: 12px;
  color: #8b949e;
}

.dev-recruit-flow__past-a {
  margin: 0;
  padding-left: 0.65rem;
  border-left: 2px solid rgba(63, 185, 80, 0.35);
  color: #c9d1d9;
  font-size: 13px;
  line-height: 1.5;
}

.dev-recruit-flow__echo {
  margin: 0.5rem 0 0;
  font-family: inherit;
  color: #7ee787;
}

.dev-recruit-flow__active {
  margin-top: 0.35rem;
}

.dev-terminal__line--flow-intro {
  margin-bottom: 0.65em;
  color: #8b949e;
  font-size: 13px;
}

.dev-terminal__line--flow-q {
  margin-top: 0.35em;
  color: #e6edf3;
}

.dev-recruit-flow__hint {
  margin: 0.35em 0 0.5em;
  font-size: 12px;
  color: #6e7681;
}

.dev-recruit-flow__err {
  margin: 0.4em 0 0;
  font-size: 13px;
  color: #ff7b72;
}

.dev-terminal__line--flow-done {
  margin-top: 0.75rem;
  color: #7ee787;
  font-weight: 500;
}

.dev-terminal__textarea {
  flex: 1;
  min-width: 12ch;
  min-height: 6.5rem;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(63, 185, 80, 0.35);
  border-radius: 6px;
  background: rgba(22, 27, 34, 0.85);
  color: #e6edf3;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1.45;
  resize: vertical;
  outline: none;
}

.dev-terminal__textarea:focus {
  border-color: #3fb950;
}

@media (max-width: 767px) {
  .dev-terminal__textarea {
    font-size: 16px;
  }
}

/* FixIt — globe hero */
.page--fixit {
  padding: 0;
  min-height: calc(100vh - 1px);
  min-height: calc(100dvh - 1px);
  background: #0c1020;
}

.fixit-hero {
  position: relative;
  /* Grid: kaart en tekst in dezelfde cel = volle breedte/hoogte (flex + 1 abs child gaf soms verkeerde map-maat). */
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(min(100vh, 920px), auto);
  width: 100%;
  overflow: hidden;
  background: #0c1020;
  isolation: isolate;
}

.fixit-globe {
  grid-column: 1;
  grid-row: 1;
  z-index: 0;
  width: 100%;
  min-width: 0;
  min-height: min(100vh, 920px);
  min-height: min(100dvh, 920px);
  height: 100%;
  align-self: stretch;
}

/* Mapbox zet canvas-breedte/hoogte zelf via resize(); niet forceren met !important (anders ‘kaartje in de hoek’). */
.fixit-globe .mapboxgl-map {
  width: 100%;
  height: 100%;
}

.fixit-globe .mapboxgl-canvas {
  display: block;
}

.fixit-map-fallback {
  margin: 0;
  padding: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  text-align: center;
}

.page--fixit .mapboxgl-ctrl-bottom-right {
  z-index: 3;
}

.fixit-hero__overlay {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: calc(100px + env(safe-area-inset-top, 0px)) 24px calc(40px + env(safe-area-inset-bottom, 0px));
  width: 100%;
  max-width: none;
  margin: 0;
  pointer-events: none;
  background: transparent;
  align-self: stretch;
  justify-self: stretch;
}

.fixit-hero__overlay * {
  pointer-events: auto;
}

.fixit-caption {
  margin: 0;
  color: #fff;
  font-size: clamp(0.9375rem, 2.1vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.fixit-eyebrow {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 767px) {
  .fixit-hero {
    grid-template-rows: minmax(100svh, auto);
    min-height: 100svh;
  }

  .fixit-globe {
    min-height: 100svh;
  }

  .fixit-hero__overlay {
    padding: calc(88px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile final polish — OpenAI-like spacing and alignment */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  .btn,
  .nav__cta {
    min-height: 44px;
    border-radius: 999px;
  }

  .nav--menu-open .nav__cta {
    min-height: 46px;
    border-radius: 999px;
    font-weight: 500;
  }

  .nav--menu-open .nav__cta--ghost {
    background: #f4f4f5;
  }

  .nav--menu-open .nav__cta--primary {
    background: #0a0a0a;
  }

  .home-hero-spotlight,
  .sophie-xai-hero,
  .maatwerk-xai-hero,
  .about-xai-hero {
    min-height: auto;
    padding-top: clamp(84px, 18svh, 118px);
    padding-bottom: clamp(28px, 6svh, 48px);
  }

  .home-hero-spotlight__inner,
  .sophie-hero-spotlight__inner {
    margin-left: 0;
    padding: 0 20px;
  }

  .home-hero-spotlight .page-hero--home h1,
  .sophie-xai-hero__title,
  .maatwerk-xai-hero__title,
  .about-xai-hero__title {
    font-size: var(--xai-hero-title-size-md);
    font-weight: 400;
    letter-spacing: -0.072em;
    line-height: 0.96;
  }

  .home-hero-spotlight .home-lead,
  .sophie-xai-hero__lead,
  .maatwerk-xai-hero__lead,
  .about-xai-hero__lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.48;
  }

  .sophie-xai-hero,
  .sophie-xai-showcase,
  .sophie-xai-api,
  .sophie-xai-modules,
  .sophie-xai-start,
  .maatwerk-xai-hero,
  .maatwerk-xai-showcase,
  .maatwerk-xai-api,
  .maatwerk-xai-modules,
  .maatwerk-xai-process,
  .maatwerk-xai-cta,
  .about-xai-hero,
  .about-xai-showcase,
  .about-xai-section,
  .about-xai-roadmap,
  .about-xai-team {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-xai-hero {
    text-align: left;
  }

  .about-xai-hero__inner {
    max-width: none;
  }

  .sophie-xai-hero__actions,
  .sophie-xai-api__actions,
  .maatwerk-xai-hero__actions,
  .maatwerk-xai-api__actions,
  .maatwerk-xai-cta__actions,
  .about-xai-hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .sophie-xai-hero__actions .btn,
  .sophie-xai-api__actions .btn,
  .maatwerk-xai-hero__actions .btn,
  .maatwerk-xai-api__actions .btn,
  .maatwerk-xai-cta__actions .btn,
  .about-xai-hero__actions .btn {
    width: 100%;
  }

  .sophie-xai-card,
  .sophie-xai-api__copy,
  .sophie-xai-api__demo,
  .sophie-xai-start__item,
  .maatwerk-xai-video,
  .maatwerk-xai-code,
  .maatwerk-xai-module,
  .maatwerk-xai-process__step,
  .maatwerk-xai-cta,
  .about-xai-panel,
  .about-xai-step,
  .about-xai-team__card,
  .cta__box {
    border-radius: 18px;
  }

  .sophie-xai-section-head h2,
  .maatwerk-xai-section-head h2,
  .maatwerk-xai-api__copy h2,
  .maatwerk-xai-cta h2,
  .about-xai-panel h2,
  .about-xai-section__copy h2,
  .about-xai-roadmap__head h2,
  .cta__box h2 {
    font-size: clamp(32px, 9.8vw, 46px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 1;
  }

  .contact-layout,
  .page--contact .contact-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-flow__choices {
    flex-direction: column;
  }

  .contact-flow__choice {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .nav__inner {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .nav__links {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .home-hero-spotlight .page-hero--home h1,
  .sophie-xai-hero__title,
  .maatwerk-xai-hero__title,
  .about-xai-hero__title {
    font-size: var(--xai-hero-title-size-sm);
  }
}

/* Mobile typography — lichtere gewichten (iOS rendert 500/600 vaak te zwaar) */
@media (max-width: 767px) {
  body {
    font-weight: 400;
    font-synthesis: none;
  }

  p,
  li,
  dd,
  label,
  .page-body,
  .sophie-xai-api__copy p,
  .sophie-xai-info__copy p,
  .maatwerk-xai-api__copy p,
  .about-xai-panel p,
  .about-xai-section__copy p,
  .about-xai-step p,
  .sophie-xai-module p,
  .maatwerk-xai-module p,
  .maatwerk-xai-cta p,
  .sophie-xai-modules__lead,
  .contact-flow__hint,
  .contact-flow__past-q {
    font-weight: 400;
  }

  h1,
  .page-hero h1,
  .page-hero__title,
  .sophie-hero-spotlight .page-hero--sophie h1 {
    font-weight: 400;
  }

  h2,
  .sophie-xai-api__copy h2,
  .sophie-xai-info__copy h2,
  .contact-flow__question {
    font-weight: 500;
  }

  h3,
  .sophie-xai-module h3,
  .maatwerk-xai-module h3,
  .about-xai-step h3,
  .about-xai-team__name,
  .footer__heading {
    font-weight: 500;
  }

  .nav__logo {
    font-weight: 500;
  }

  .nav__links .nav-item,
  .nav-more__toggle,
  .nav-mega__card-title {
    font-weight: 400;
  }

  .nav__links .nav-item.nav-item--active,
  .nav-more--active .nav-more__toggle {
    font-weight: 500;
  }

  .btn,
  .nav__cta,
  .footer__btn,
  .contact-flow__choice {
    font-weight: 500;
  }

  .sophie-xai-kicker,
  .maatwerk-xai-kicker,
  .about-xai-kicker,
  .eyebrow {
    font-weight: 400;
  }

  strong,
  b {
    font-weight: 600;
  }
}

/* Titeltypografie — overal de lichte Sophie-hero-stijl (font-weight 300, tracking -0.065em) */
:is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .hero__title,
  .section__header h2,
  .bento__card h3,
  .features__item h3,
  .cta__box h2,
  .sophie-section__title,
  .page--sophie .page-hero--sophie h1,
  .page--sophie .sophie-modules-band__title,
  .page--sophie .sophie-feature__title,
  .page--sophie .sophie-modules-dark__title,
  .page--sophie .sophie-module-block__title,
  .sophie-xai-hero__title,
  .sophie-xai-api h2,
  .sophie-xai-start h2,
  .sophie-xai-info__copy h2,
  .sophie-xai-section-head h2,
  .sophie-xai-module h3,
  .page-hero h1,
  .page-hero__title,
  .page-body h2,
  .page-body h3,
  .page--sophie .page-body > h2,
  .page--sophie .page-body > h3,
  .maatwerk-hero__title,
  .maatwerk-section__title,
  .maatwerk-xai-hero__title,
  .maatwerk-xai-api h2,
  .maatwerk-xai-process__head h2,
  .maatwerk-xai-cta h2,
  .maatwerk-xai-section-head h2,
  .maatwerk-xai-module h3,
  .maatwerk-xai-process__step h3,
  .about-hero-band .page-hero__title,
  .page--over-ons .about-section h2,
  .about-xai-hero__title,
  .about-xai-panel h2,
  .about-xai-section__copy h2,
  .about-xai-roadmap__head h2,
  .about-xai-step h3,
  .contact-flow__question,
  .home-hero-spotlight .page-hero--home h1,
  .home-hero__line,
  .sophie-hero-spotlight .page-hero--sophie h1,
  .page--over-ons .page-hero--about h1,
  .page--contact .page-hero--contact h1,
  .home-section h2,
  .home-card__title,
  .home-cta__inner h2,
  .dev-terminal__line--h2,
  .fixit-caption
) {
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
}

/* Home hero — titel vet */
.home-hero-spotlight .page-hero--home h1,
.home-hero-spotlight .home-hero__line {
  font-weight: 600;
}

/* Over ons — geselecteerde sectietitels vet */
.about-xai-panel--mission h2,
#about-mission-heading,
#about-roadmap-heading,
#about-team-heading {
  font-weight: 600;
}
