/* ==========================================================================
   AURACRAFT — stylesheet
   Dark, high-contrast, expressive. Built mobile-first.
   ========================================================================== */

:root {
  --bg: #0a0a0c;
  --bg-soft: #111114;
  --bg-card: rgba(245, 244, 239, 0.04);
  --bg-card-hover: rgba(245, 244, 239, 0.07);
  --ink: #f4f3ee;
  --ink-dim: #8b8b93;
  --ink-mute: #57575f;
  --line: rgba(244, 243, 238, 0.1);
  --line-strong: rgba(244, 243, 238, 0.22);

  --accent: #dcff4f;
  --accent-ink: #0c0d02;
  --violet: #8266ff;
  --coral: #ff5d47;

  /* Lichtere varianten van violet en coral, bedoeld voor tekst op een donkere
     achtergrond: allebei ruim 8:1 contrast, waar de basiskleuren te donker
     uitvallen voor een kop. */
  --violet-light: #b6a7ff;
  --coral-light: #ff9c8a;
  /* Vierde neonkleur, voor de vierde dienst en de agent-kopjes. */
  --aqua: #5fe3ff;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --container: 1240px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radius: 20px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: auto;
  /* Nooit zijwaarts scrollen, ook niet als een gloed ergens uitsteekt. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---- utility ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px 2px currentColor;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

/* ---- grain + glow layers ------------------------------------------------ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* Wrapper only handles position/size + scroll parallax (driven by GSAP).
   The continuous ambient drift lives on ::before so the two animations
   never fight over the same transform. */
.aura-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.aura-glow::before {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: auraDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes auraDrift {
  0% {
    transform: translate(-4%, -3%) scale(0.94);
  }
  50% {
    transform: translate(3%, 4%) scale(1.06);
  }
  100% {
    transform: translate(-2%, 5%) scale(0.98);
  }
}

/* ---- cursor glow --------------------------------------------------------
   A small, soft accent glow that trails the pointer. Deliberately NOT a
   replacement cursor: the real system cursor stays visible and in place at
   all times, so clicking, text selection and typing feel completely normal.
   Desktop + fine pointer + motion allowed only (see main.js).
   ------------------------------------------------------------------------ */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 400; /* under header/chat/cookie UI — never covers a control */
  opacity: 0;
  background: radial-gradient(circle, rgba(220, 255, 79, 0.55), rgba(220, 255, 79, 0) 68%);
  filter: blur(2px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
  transition: opacity 0.35s ease;
}

.cursor-glow.is-visible {
  opacity: 0.75;
}

/* Hovering something clickable: a touch brighter and slightly larger.
   The scale itself is applied by JS inside the same transform. */
.cursor-glow.is-active {
  opacity: 1;
}

@media (pointer: coarse), (hover: none), (max-width: 899px) {
  .cursor-glow {
    display: none;
  }
}

/* ---- preloader ----------------------------------------------------------
   First visit of a session only (js/preloader.js sets html.is-preloading
   before first paint). Hidden by default so a repeat page view never even
   renders it, and skipped entirely for prefers-reduced-motion.
   ------------------------------------------------------------------------ */
.preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transform: translateY(0);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1);
}

html.is-preloading .preloader,
.preloader.is-leaving {
  display: flex;
}

.preloader.is-leaving {
  transform: translateY(-101%);
}

html.is-preloading body {
  overflow: hidden;
}

.preloader__word {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* One mask per letter, so each one rises from behind its own edge. */
.preloader__l {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.preloader__l > span {
  display: inline-block;
  transform: translateY(115%);
  animation: preloadLetter 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* "aura" in the accent colour, "craft" light — same relationship as the logo */
.preloader__l--accent > span {
  color: var(--accent);
}

.preloader__l--soft > span {
  font-weight: 300;
  color: var(--ink);
}

/* 9 letters, 35 ms apart: the wordmark has fully landed at ~0.85 s */
.preloader__l:nth-child(1) > span {
  animation-delay: 0.04s;
}
.preloader__l:nth-child(2) > span {
  animation-delay: 0.075s;
}
.preloader__l:nth-child(3) > span {
  animation-delay: 0.11s;
}
.preloader__l:nth-child(4) > span {
  animation-delay: 0.145s;
}
.preloader__l:nth-child(5) > span {
  animation-delay: 0.18s;
}
.preloader__l:nth-child(6) > span {
  animation-delay: 0.215s;
}
.preloader__l:nth-child(7) > span {
  animation-delay: 0.25s;
}
.preloader__l:nth-child(8) > span {
  animation-delay: 0.285s;
}
.preloader__l:nth-child(9) > span {
  animation-delay: 0.32s;
}

.preloader__dot {
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px 3px var(--accent);
  margin-left: 0.14em;
  transform: scale(0);
  animation: preloadDot 0.45s 0.44s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloadLetter {
  to {
    transform: translateY(0);
  }
}

@keyframes preloadDot {
  to {
    transform: scale(1);
  }
}

/* ---- scroll progress ----------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 600;
  pointer-events: none;
  background: rgba(244, 243, 238, 0.06);
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (min-width: 900px) {
  .scroll-progress {
    height: 3px;
  }
}

/* ---- headings / display type -------------------------------------------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 600;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

/* ---- buttons ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #eaff85;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* magnetic wrapper keeps hit-area stable while inner label moves */
.magnetic {
  display: inline-block;
}

/* ---- header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding-block: clamp(1rem, 3vw, 1.5rem);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header.is-scrolled .site-header__bar {
  background: rgba(10, 10, 12, 0.85);
  border-color: var(--line-strong);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo__aura {
  background: linear-gradient(100deg, var(--accent), #fff 60%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo__craft {
  font-weight: 300;
  color: var(--ink);
  margin-left: 0.05em;
}

.logo__dot {
  width: 0.35em;
  height: 0.35em;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-left: 0.15em;
  box-shadow: 0 0 10px 2px var(--accent);
  transform: translateY(-0.6em);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.main-nav a {
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.25s;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--bg);
  padding: 6rem var(--pad) 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-in-out);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.4rem);
}

.mobile-nav .btn {
  margin-top: 2.5rem;
  width: fit-content;
}

@media (min-width: 900px) {
  .main-nav {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ---- hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  /* Vertically centred. The top padding clears the fixed header, the bottom
     padding only keeps the content off the scroll cue — so the block sits
     optically in the middle of the viewport. min-height (not height) keeps
     the section growing on short viewports, so nothing is ever clipped. */
  align-items: center;
  padding-top: clamp(5rem, 10vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
  overflow: clip;
}

/* While the consent banner floats over the bottom of the viewport it would
   sit on top of the CTA row and swallow clicks meant for it. Reserve that
   strip for exactly as long as the banner is on screen; the moment it is
   dismissed the hero settles back into the centre. */
html.cookie-banner-open .hero {
  padding-bottom: clamp(9rem, 20vh, 13rem);
}

.hero__glow-a {
  width: 46vw;
  height: 46vw;
  top: -10%;
  right: -10%;
}

.hero__glow-a::before {
  background: var(--violet);
}

.hero__glow-b {
  width: 34vw;
  height: 34vw;
  bottom: 0%;
  left: -8%;
}

.hero__glow-b::before {
  background: var(--accent);
  opacity: 0.25;
}

/* Glazen monogram: een 3D-vorm die met de scroll meedraait. Het canvas
   wordt pas zichtbaar als Three.js klaar is (is-ready), zodat er nooit een
   leeg vlak flitst. Op een telefoon staat alleen het stilstaande beeld. */
.hero__monogram {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero__monogram.is-ready {
  opacity: 1;
}

.hero__monogram-still {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  right: 4%;
  top: 50%;
  width: min(520px, 36vw);
  height: auto;
  transform: translateY(-50%);
  display: none;
}

@media (max-width: 899px) {
  .hero__monogram-still {
    display: block;
    width: 62vw;
    right: -8vw;
    top: 4%;
    transform: none;
    opacity: 0.75;
  }
  /* Zodra de 3D klaar is, neemt het canvas het over van het stilstaande beeld. */
  .hero__monogram.is-ready + .hero__monogram-still {
    display: none;
  }
}

html.reduced-motion .hero__monogram {
  display: none;
}

html.reduced-motion .hero__monogram-still {
  display: block;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.25rem);
}

.hero__kicker {
  margin-bottom: 1.4rem;
}

.hero__title {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  max-width: 16ch;
}

/* Each word gets its own mask (see .word-mask) so the line itself can stay
   overflow-visible — no clipped descenders, no clipped text-stroke. */
.hero__line {
  display: block;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hero__sub {
  max-width: 34ch;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- 404 page (reuses .hero) -------------------------------------------- */
.notfound-hero {
  min-height: 90svh;
  align-items: center;
}

.notfound-hero__title {
  max-width: 22ch;
  font-size: clamp(2.1rem, 6.4vw, 4.6rem);
}

/* ---- bedankt page (reuses .hero) ----------------------------------------- */
.thankyou-hero {
  min-height: 90svh;
  align-items: center;
}

.thankyou-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.thankyou-check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  animation: checkPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.thankyou-check svg {
  width: 38px;
  height: 38px;
}

.thankyou-check__path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: checkDraw 0.45s 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes checkPop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes checkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.thankyou-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.thankyou-sub {
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 34ch;
}

.thankyou-direct {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 0.5rem;
}

.thankyou-direct a {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  color: var(--ink);
  transition: color 0.25s;
}

.thankyou-direct a:hover {
  color: var(--accent);
}

.thankyou-note {
  color: var(--ink-mute);
  font-size: 0.85rem;
  max-width: 40ch;
}

.thankyou-actions {
  margin-top: 1rem;
  justify-content: center;
}

/* ---- intro / text reveal ------------------------------------------------ */
.intro {
  position: relative;
  padding-block: clamp(5rem, 14vw, 9rem);
}

.intro .eyebrow {
  margin-bottom: 1.75rem;
}

.reveal-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 5.2vw, 3.4rem);
  line-height: 1.3;
  max-width: 22ch;
}

/* Begint gedimd en licht op bij het scrollen. --ink-dim en niet --ink-mute:
   die laatste haalt het leesbaarheidscontrast niet. */
.reveal-text .word {
  color: var(--ink-dim);
  transition: none;
}

.reveal-text .word.is-lit,
html.reduced-motion .reveal-text .word {
  color: var(--ink);
}

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

/* ---- services (horizontal scroll) --------------------------------------- */
.services {
  position: relative;
  padding-top: clamp(3rem, 8vw, 5rem);
}

.services__head {
  padding-inline: var(--pad);
  max-width: var(--container);
  margin-inline: auto;
}

.services__pin {
  overflow: hidden;
}

.services__addon {
  margin-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.services__addon strong {
  color: var(--accent);
  font-weight: 700;
}

.services__track {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-inline: var(--pad);
  will-change: transform;
}

@media (max-width: 899px) {
  .services__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-block: 1rem 2rem;
    -webkit-overflow-scrolling: touch;
  }
  .services__track::-webkit-scrollbar {
    display: none;
  }
  .service-card {
    scroll-snap-align: start;
  }
}

.service-card {
  position: relative;
  flex: 0 0 clamp(280px, 82vw, 420px);
  min-height: clamp(380px, 60vh, 560px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-card), transparent 60%);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: border-color 0.4s, background-color 0.4s;
}

.service-card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(160deg, var(--bg-card-hover), transparent 60%);
}

.service-card__index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  /* Neon: een zachte gloed in de eigen kleur, zodat het nummer als eerste opvalt. */
  text-shadow: 0 0 22px color-mix(in srgb, currentColor 55%, transparent);
}

/* Elke dienst een eigen neonkleur: nummer, label onderaan en de gloed op de kaart. */
.service-card:nth-child(1) .service-card__index,
.service-card:nth-child(1) .service-card__tag {
  color: var(--accent);
}
.service-card:nth-child(2) .service-card__index,
.service-card:nth-child(2) .service-card__tag {
  color: var(--violet-light);
}
.service-card:nth-child(3) .service-card__index,
.service-card:nth-child(3) .service-card__tag {
  color: var(--aqua);
}
.service-card:nth-child(4) .service-card__index,
.service-card:nth-child(4) .service-card__tag {
  color: var(--coral-light);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: 1.5rem;
  line-height: 1.15;
}

.service-card__pitch {
  color: var(--ink-dim);
  margin-top: 1.1rem;
  max-width: 32ch;
}

.service-card__price {
  color: var(--ink-mute);
  font-size: 0.82rem;
  margin-top: 0.85rem;
  max-width: 30ch;
}

.service-card__tag {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.service-card__glyph {
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  z-index: -1;
}

/* 3D-beeld per dienst, rechtsonder. De beelden hebben een doorzichtige
   achtergrond (het zwart van de generator is naar alpha omgezet), dus ze
   vallen zonder mengtruc in de kaart. */
.service-card__img {
  position: absolute;
  right: 2%;
  bottom: 2%;
  width: 58%;
  height: auto;
  /* Boven de kaartachtergrond en de kleurgloed, zodat screen echt mengt en
     het zwart wegvalt; de tekst blijft zichtbaar omdat zwart niets toevoegt. */
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.service-card:nth-child(1) .service-card__glyph {
  background: var(--accent);
}
.service-card:nth-child(2) .service-card__glyph {
  background: var(--violet);
}
.service-card:nth-child(3) .service-card__glyph {
  background: var(--aqua);
}
.service-card:nth-child(4) .service-card__glyph {
  background: var(--coral);
}

/* De kop van een dienstenkaart is nu het probleem van de klant, als citaat.
   Iets kleiner dan voorheen, zodat een langere zin op de kaart past. */
.service-card__title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.service-card__pitch strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---- werkwijze ----------------------------------------------------------- */
.process {
  padding-block: clamp(5rem, 12vw, 8rem);
  position: relative;
}

.process__list {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 0rem);
  grid-template-columns: 1fr;
}

.process__line {
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}

.process__line-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--accent), var(--violet));
  transform-origin: top;
}

.process__step {
  position: relative;
  padding: 1.75rem 0 1.75rem 4.5rem;
  border-top: 1px solid var(--line);
}

.process__step:last-child {
  border-bottom: 1px solid var(--line);
}

.process__num {
  position: absolute;
  left: 0;
  top: 1.75rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  z-index: 2;
}

.process__step-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.process__step-desc {
  margin-top: 0.6rem;
  color: var(--ink-dim);
  max-width: 46ch;
}

@media (min-width: 700px) {
  .process__step {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    gap: 2rem;
    padding-left: 5.5rem;
  }
  .process__num {
    top: 50%;
    transform: translateY(-50%);
  }
  .process__line {
    left: 32px;
  }
}


/* Werkwijze: links de stappen, rechts de website die zich opbouwt. De
   rechterkolom plakt in beeld terwijl de stappen voorbij scrollen. */
.process__layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}

.process__stage {
  perspective: 1200px;
  perspective-origin: 50% 40%;
  order: -1;
}

@media (min-width: 900px) {
  .process__layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
  .process__stage {
    order: 0;
    position: sticky;
    top: clamp(6rem, 18vh, 10rem);
    min-height: 60vh;
    display: flex;
    align-items: center;
  }
}

.build__site {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 14 / 9;
  margin-inline: auto;
  transform: rotateX(10deg) rotateY(-12deg);
  transform-style: preserve-3d;
}

@media (max-width: 899px) {
  .build__site {
    width: min(360px, 78vw);
  }
}

.blok {
  position: absolute;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(40, 40, 48, 0.9), rgba(18, 18, 22, 0.95));
  border: 1px solid rgba(220, 255, 79, 0.55);
  box-shadow: 0 0 24px -6px rgba(220, 255, 79, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  will-change: transform;
}

.blok--bar { left: 0; top: 0; width: 100%; height: 8%; }
.blok--hero { left: 0; top: 12%; width: 58%; height: 40%; }
.blok--beeld { left: 62%; top: 12%; width: 38%; height: 40%; background: linear-gradient(160deg, rgba(130, 102, 255, 0.35), rgba(18, 18, 22, 0.95)); }
.blok--k1 { left: 0; top: 58%; width: 30%; height: 30%; }
.blok--k2 { left: 35%; top: 58%; width: 30%; height: 30%; }
.blok--k3 { left: 70%; top: 58%; width: 30%; height: 30%; }
.blok--knop { left: 0; top: 92%; width: 26%; height: 8%; border-radius: 999px; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 30px -4px rgba(220, 255, 79, 0.7); }

/* Tekstregels als grijze balkjes */
.blok span {
  position: absolute;
  left: 10%;
  top: 28%;
  height: 10%;
  width: 60%;
  border-radius: 4px;
  background: rgba(244, 243, 238, 0.18);
}

.blok span + span {
  top: 48%;
  width: 40%;
}

/* ---- waarom -------------------------------------------------------------- */
.why {
  padding-block: clamp(5rem, 12vw, 8rem);
}

.why__grid {
  margin-top: clamp(2rem, 6vw, 3.5rem);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .why__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why__card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.why__card-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.why__card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 1.25rem;
}

/* Elke kaart een eigen kleur, in dezelfde volgorde als de accenten op de
   dienstenkaarten hierboven. */
.why__card:nth-child(1) .why__card-title {
  color: var(--accent);
}

.why__card:nth-child(2) .why__card-title {
  color: var(--violet-light);
}

.why__card:nth-child(3) .why__card-title {
  color: var(--coral-light);
}

.why__card-desc {
  margin-top: 0.75rem;
  color: var(--ink-dim);
}


/* ---- over mij ------------------------------------------------------------- */
.about {
  padding-block: clamp(5rem, 12vw, 8rem);
}

.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.about__photo {
  max-width: 440px;
}

.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Tijdelijke plek voor de foto; verdwijnt zodra er een <img> staat. */
.about__placeholder {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: linear-gradient(160deg, rgba(130, 102, 255, 0.18), var(--bg-soft) 60%);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}

.about__text {
  display: grid;
  gap: 1.25rem;
}

.about__text .section-head {
  margin-bottom: 0;
}

.about__lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--ink);
  max-width: 48ch;
}

.about__body {
  color: var(--ink-dim);
  max-width: 48ch;
}

.about__cta {
  width: fit-content;
}

.about__cards {
  margin-top: clamp(3rem, 7vw, 5rem);
}

/* ---- werk (opgeleverde projecten) --------------------------------------- */
.work {
  padding-block: clamp(5rem, 12vw, 8rem);
}

.work-case {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}

/* Vanaf deze breedte past de schermafbeelding naast de tekst zonder dat een
   van de twee in de verdrukking komt. */
@media (min-width: 900px) {
  .work-case {
    grid-template-columns: 1.15fr 1fr;
  }
}

/* Twee of meer projecten: ruimte ertussen, en de tweede spiegelt zodat de
   pagina niet als een lijst van dezelfde kaart gaat lezen. */
.work-case + .work-case {
  margin-top: clamp(4rem, 9vw, 7rem);
}

/* `nth-of-type` en niet `nth-child`: de sectiekop staat als eerste kind in de
   sectie, waardoor de eerste case bij `nth-child` al als "even" telde en
   meteen gespiegeld werd. */
@media (min-width: 900px) {
  .work-case:nth-of-type(even) .work-case__shot {
    order: 2;
  }
}

.work-case__shot {
  position: relative;
  display: block;
  border-radius: var(--radius);
  /* De telefoon steekt bewust buiten de hoek van de schermafbeelding uit; met
     overflow: hidden zou juist dat stukje worden weggeknipt. */
  transition: transform 0.5s var(--ease-out);
}

.work-case__desktop {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}

.work-case__phone {
  position: absolute;
  right: -2%;
  bottom: -12%;
  width: 22%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.95);
}

.work-case__shot:hover {
  transform: translateY(-6px);
}

.work-case__index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}

.work-case__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  margin-top: 1.25rem;
  color: var(--accent);
}

.work-case__desc {
  color: var(--ink-dim);
  margin-top: 1.1rem;
  max-width: 46ch;
}

/* De case in drie delen: probleem, oplossing, resultaat. Het resultaat krijgt
   een accentrand, want dat is wat een ondernemer wil weten. */
.work-case__steps {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.work-case__step {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.work-case__step--result {
  border-color: rgba(220, 255, 79, 0.45);
}

.work-case__step dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-case__step dd {
  margin: 0.45rem 0 0;
  color: var(--ink-dim);
  max-width: 46ch;
}

.work-case__step--result dd {
  color: var(--ink);
}

.work-case__step q {
  display: block;
  margin-top: 0.6rem;
  font-style: italic;
  color: var(--ink-dim);
}

.work-case__step q::before,
.work-case__step q::after {
  content: "\201C";
}

.work-case__step q::after {
  content: "\201D";
}

.work-case__tags {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.work-case__tags li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.work-case__link {
  margin-top: 1.75rem;
}

/* Het citaat van de klant, over de volle breedte onder de twee kolommen.
   In de rechterkolom maakte het die kolom veel langer dan de foto ernaast,
   waardoor er een gat onder het beeld viel. */
.work-case__quote {
  grid-column: 1 / -1;
  max-width: 68ch;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.work-case__quote p {
  margin: 0;
}

.work-case__quote p + p {
  margin-top: 0.9rem;
}

.work-case__quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}

/* De telefoon steekt onderuit; bij verminderde beweging blijft alles stil. */
@media (prefers-reduced-motion: reduce) {
  .work-case__shot,
  .work-case__shot:hover {
    transition: none;
    transform: none;
  }
}

/* ---- testimonials (section currently commented out in HTML) ------------- */
.testimonials {
  padding-block: clamp(5rem, 12vw, 8rem);
}

.testimonials__grid {
  margin-top: clamp(2rem, 6vw, 3.5rem);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
}

.testimonial-card__author {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card__name {
  font-weight: 700;
}

.testimonial-card__role {
  color: var(--ink-mute);
  font-size: 0.85rem;
}

.testimonial-card--placeholder {
  grid-column: 1 / -1;
  text-align: center;
  border-style: dashed;
  background: transparent;
}

.testimonial-card--placeholder .testimonial-card__quote {
  color: var(--ink-mute);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
}


/* ---- de nachtploeg (AI-agents) ------------------------------------------ */
.crew {
  padding-block: clamp(5rem, 12vw, 8rem);
}

.crew__intro {
  color: var(--ink-dim);
  max-width: 58ch;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.crew__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .crew__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Zes kaarten: twee rijen van drie. */
@media (min-width: 1000px) {
  .crew__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.crew__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  min-width: 0;
}

.crew__status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
}

.crew__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-mute);
}

.crew__status--live {
  border-color: rgba(220, 255, 79, 0.45);
  color: var(--accent);
}

.crew__status--live::before {
  background: var(--accent);
  box-shadow: 0 0 10px 1px var(--accent);
  animation: crewPulse 2.4s ease-in-out infinite;
}

@keyframes crewPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.crew__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.15;
  color: var(--accent);
  text-shadow: 0 0 24px color-mix(in srgb, currentColor 45%, transparent);
}

/* Elke agent een eigen neonkleur voor het kopje. */
.crew__card:nth-child(2) .crew__title { color: var(--violet-light); }
.crew__card:nth-child(3) .crew__title { color: var(--coral-light); }
.crew__card:nth-child(4) .crew__title { color: var(--aqua); }
.crew__card:nth-child(5) .crew__title { color: var(--violet-light); }
.crew__card:nth-child(6) .crew__title { color: var(--coral-light); }

.crew__rows {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.crew__rows dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.crew__rows dd {
  margin: 0.3rem 0 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.crew__rows div:nth-child(2) dd {
  color: var(--ink);
}

.crew__note {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink-dim);
  font-size: 0.95rem;
  max-width: 68ch;
}

.crew__note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- actieblok: gratis AI-chatbot, tot 1 januari 2027 ------------------- */
.actie {
  position: relative;
  margin-inline: var(--pad);
  margin-block: clamp(3rem, 8vw, 5rem);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3rem);
  border-radius: calc(var(--radius) * 1.4);
  background: linear-gradient(135deg, #15151b, #0c0c0e 60%);
  border: 1px solid rgba(220, 255, 79, 0.35);
  box-shadow: 0 0 90px -30px rgba(220, 255, 79, 0.45);
  overflow: hidden;
}

.actie__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}

/* Desktop: video links, tekst rechts. Op een telefoon staat de video boven
   de tekst (de volgorde in de HTML). */
@media (min-width: 900px) {
  .actie__inner {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.actie__media {
  min-width: 0;
}

.actie__media[hidden] {
  display: none;
}

/* Geen beeld (video en demo allebei weg): één kolom. */
.actie__inner:has(.actie__media[hidden]) {
  grid-template-columns: 1fr;
}

.actie__inner:has(.actie__media[hidden]) .actie__title {
  max-width: 24ch;
}

.actie__video[hidden],
.actie__demo[hidden] {
  display: none;
}

/* ---- chatdemo in het actieblok ------------------------------------------ */
.actie__demo {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 1px solid rgba(220, 255, 79, 0.4);
  background: linear-gradient(160deg, #17171d, #0b0b0e 70%);
  box-shadow: 0 0 60px -10px rgba(220, 255, 79, 0.45);
  overflow: hidden;
  font-family: var(--font-body);
}

/* De website op de achtergrond: een balk, wat tekstregels, een knop. */
.demo__site {
  position: absolute;
  inset: 8% 8% 8% 8%;
  display: grid;
  gap: 6%;
  align-content: start;
  opacity: 0.9;
}

.demo__bar {
  height: 7%;
  border-radius: 6px;
  background: rgba(244, 243, 238, 0.16);
}

.demo__line {
  height: 5%;
  width: 55%;
  border-radius: 4px;
  background: rgba(244, 243, 238, 0.2);
}

.demo__line--kop {
  height: 9%;
  width: 62%;
  background: rgba(244, 243, 238, 0.34);
}

.demo__line--kort {
  width: 38%;
}

.demo__knop {
  height: 8%;
  width: 28%;
  border-radius: 999px;
  background: rgba(220, 255, 79, 0.55);
}

/* Het chatvenster rechtsonder, zoals de echte chat op de site. */
.demo__chat {
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: 58%;
  height: 78%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.demo__head {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.55em 0.7em;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(130, 102, 255, 0.18), transparent);
  font-size: clamp(0.55rem, 1.1vw, 0.72rem);
  font-weight: 700;
}

.demo__avatar {
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  flex-shrink: 0;
}

.demo__tijd {
  margin-left: auto;
  font-weight: 600;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.demo__msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45em;
  padding: 0.6em 0.7em;
  font-size: clamp(0.55rem, 1.15vw, 0.74rem);
  line-height: 1.35;
}

.demo__msg {
  max-width: 86%;
  padding: 0.45em 0.7em;
  border-radius: 10px;
  animation: demoIn 0.4s var(--ease-out) both;
}

.demo__msg--bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-bottom-left-radius: 3px;
  color: var(--ink);
}

.demo__msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-bottom-right-radius: 3px;
}

.demo__typing {
  align-self: flex-start;
  display: flex;
  gap: 3px;
  padding: 0.55em 0.7em;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  animation: demoIn 0.3s var(--ease-out) both;
}

.demo__typing span {
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--ink-mute);
  animation: chatTyping 1s infinite ease-in-out;
}

.demo__typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.demo__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes demoIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 899px) {
  .demo__chat {
    width: 64%;
  }
}

.actie__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(220, 255, 79, 0.4);
  background: var(--bg);
  box-shadow: 0 0 60px -10px rgba(220, 255, 79, 0.45);
}

.actie__text {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  min-width: 0;
}

.actie__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.actie__title {
  max-width: 18ch;
}

.actie__body {
  color: var(--ink-dim);
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

/* Countdown: vier blokjes, ook op een telefoon op één regel. */
.actie__countdown {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 420px;
}

.actie__cd {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  padding: 0.6rem 0.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.actie__cd strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.actie__cd span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.actie__cta {
  margin-top: 0.25rem;
}

.actie__fine {
  color: var(--ink-mute);
  font-size: 0.82rem;
  max-width: 56ch;
}

/* Regel in de hero die naar de actie wijst. */
.hero__actie {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 255, 79, 0.45);
  background: rgba(220, 255, 79, 0.08);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.25s, background-color 0.25s;
}

.hero__actie:hover {
  border-color: var(--accent);
  background: rgba(220, 255, 79, 0.14);
}

.hero__actie[hidden] {
  display: none;
}

.hero__actie span {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Contactgegevens in het afsluitende blok. */
.cta__actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* .magnetic zet knoppen op inline-block; deze knop heeft een icoon naast de
   tekst en moet daarom flex blijven. */
.btn.cta__whatsapp {
  display: inline-flex;
}

.cta__whatsapp svg {
  width: 18px;
  height: 18px;
}

.cta__direct {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  color: var(--ink-dim);
}

.cta__direct-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 0.35rem;
}

.cta__direct a {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  transition: color 0.2s;
}

.cta__direct a:hover {
  color: var(--accent);
}

/* Cookie-instellingen in de footer is een knop, opgemaakt als de links ernaast. */
.footer__link-button {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--ink-dim);
  text-align: left;
  transition: color 0.2s;
}

.footer__link-button:hover {
  color: var(--accent);
}

/* Citaat van de klant in het resultaatblok van een case. */
.work-case__step-cite {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}

/* Vinkje in het contactformulier. */
.field--check label {
  position: static;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-dim);
  font-size: 0.95rem;
  pointer-events: auto;
  transform: none;
  cursor: pointer;
}

.field--check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--accent);
}

.field--check label:has(input:checked) {
  border-color: var(--accent);
  color: var(--ink);
}

/* ---- cta ------------------------------------------------------------------ */
.cta {
  position: relative;
  margin-inline: var(--pad);
  margin-block: clamp(4rem, 10vw, 6rem);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 4rem);
  border-radius: calc(var(--radius) * 1.4);
  background: linear-gradient(135deg, #17171c, #0c0c0e 60%);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.cta__glow {
  width: 60%;
  height: 60%;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
}

.cta__glow::before {
  background: var(--violet);
}

.cta__title {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 6vw, 4rem);
  max-width: 16ch;
  margin-inline: auto;
}

.cta__sub {
  position: relative;
  z-index: 1;
  color: var(--ink-dim);
  max-width: 40ch;
  margin: 1.25rem auto 0;
}

.cta__actions {
  position: relative;
  z-index: 1;
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

/* ---- footer ---------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(3rem, 8vw, 5rem) 2rem;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer__brand .logo {
  font-size: 1.6rem;
}

.footer__tagline {
  margin-top: 1rem;
  color: var(--ink-dim);
  max-width: 34ch;
}

.footer__heading {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__list a {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--accent);
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-dim);
}

.footer__bottom a {
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom a:hover {
  color: var(--ink);
}

/* ============================== CHATBOT ================================= */
.chat-widget {
  position: fixed;
  right: clamp(1rem, 4vw, 1.75rem);
  bottom: clamp(1rem, 4vw, 1.75rem);
  z-index: 700;
  font-family: var(--font-body);
  /* No flex/gap here on purpose: the panel is positioned absolutely
     (see .chat-panel) so it never contributes to this box's size, even
     while closed. That keeps the widget's own footprint equal to just
     the toggle button, anchored tight to the bottom-right corner. */
  pointer-events: none;
}

.chat-toggle {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(220, 255, 79, 0.45);
  position: relative;
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
  transition: opacity 0.2s, transform 0.2s;
}

.chat-toggle .icon-close {
  position: absolute;
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
}

.chat-widget.is-open .chat-toggle .icon-chat {
  opacity: 0;
  transform: scale(0.6) rotate(45deg);
}

.chat-widget.is-open .chat-toggle .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.chat-toggle .ping {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--bg);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 1rem);
  width: min(370px, calc(100vw - 2rem));
  height: min(560px, 72vh);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: scale(0.9) translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}

.chat-widget.is-open .chat-panel {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.chat-panel__head {
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(130, 102, 255, 0.15), transparent);
}

.chat-panel__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  flex-shrink: 0;
}

.chat-panel__head-text strong {
  display: block;
  font-size: 0.95rem;
}

.chat-panel__head-text span {
  font-size: 0.78rem;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-panel__head-text span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6bffa0;
  display: inline-block;
}

.chat-panel__ai {
  margin-left: auto;
  align-self: flex-start;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  flex-shrink: 0;
}

.chat-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-msg {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-msg--bot {
  background: var(--bg-card);
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg--user {
  background: var(--accent);
  color: var(--accent-ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 600;
}

.chat-msg a {
  color: var(--accent);
  text-decoration: underline;
}

.chat-msg--bot ul {
  margin: 0.4em 0 0.2em;
  padding-left: 1.2em;
}

.chat-msg--bot li {
  margin: 0.15em 0;
}

.chat-msg--bot strong {
  font-weight: 700;
}

.chat-msg--bot a {
  color: var(--ink);
  font-weight: 700;
}

.chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: flex-start;
  max-width: 92%;
}

.chat-suggestion {
  text-align: left;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-dim);
  transition: border-color 0.2s, color 0.2s;
}

.chat-suggestion:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-mute);
  animation: chatTyping 1s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chatTyping {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.chat-panel__form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem;
  border-top: 1px solid var(--line);
}

.chat-panel__form input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.chat-panel__form input:focus {
  border-color: var(--accent);
}

.chat-panel__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-panel__send svg {
  width: 16px;
  height: 16px;
}

/* ============================== COOKIES ================================= */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 800;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease-out);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--ink-dim);
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner__actions .btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
}

/* On a phone the banner sits directly over the hero's call-to-action, so it
   is kept as compact as it can be while staying readable and tappable
   (buttons keep a ~44px hit area). */
@media (max-width: 599px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 1rem 1.1rem;
  }

  .cookie-banner p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .cookie-banner__actions {
    margin-top: 0.85rem;
    gap: 0.5rem;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 auto;
    padding: 0.72rem 0.9rem;
    font-size: 0.8rem;
  }

  .cookie-banner__actions .btn-primary {
    flex-basis: 100%;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(6, 6, 7, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  width: 100%;
  max-width: 480px;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  transform: translateY(16px);
  transition: transform 0.3s var(--ease-out);
}

.modal-overlay.is-visible .cookie-modal {
  transform: translateY(0);
}

.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.cookie-modal > p {
  margin-top: 0.75rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.cookie-option:last-of-type {
  border-bottom: 1px solid var(--line);
}

.cookie-option__text strong {
  display: block;
  font-size: 0.95rem;
}

.cookie-option__text span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-dim);
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--line-strong);
  flex-shrink: 0;
  transition: background-color 0.25s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out);
}

.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.switch:has(input:checked)::after {
  transform: translateX(20px);
}

.switch:has(input:checked) {
  background: var(--accent);
}

.switch:has(input:disabled) {
  opacity: 0.5;
}

.cookie-modal__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================== ANIMATIONS UTILS =========================
   Everything that starts hidden is gated on html.has-js, which js/preloader.js
   adds before first paint and removes again if the animation libraries never
   arrive (slow/blocked CDN). Without JS, or with a stalled CDN, all content
   simply renders as normal static HTML.
   ------------------------------------------------------------------------ */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

html.reduced-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

/* Hero support copy is pre-hidden so the build-in can't be preceded by a
   flash of finished layout. Same has-js gate: no JS, no hiding. */
html.has-js:not(.reduced-motion) [data-hero-intro] .hero__kicker,
html.has-js:not(.reduced-motion) [data-hero-intro] .hero__sub,
html.has-js:not(.reduced-motion) [data-hero-intro] .hero__actions {
  opacity: 0;
}

/* Word mask — used by the hero build-in. Padding/negative-margin pairs keep
   descenders and the em's text-stroke from being clipped by the mask. */
.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  padding-inline: 0.06em;
  margin-inline: -0.06em;
}

.word-mask__in {
  display: inline-block;
  will-change: transform;
}

/* Scroll mask reveal — the element clips its own content while the inner
   wrapper slides up from behind the bottom edge. Transform only. */
[data-mask] {
  position: relative;
  overflow: hidden;
  padding-bottom: 0.12em;
}

.mask__in {
  display: block;
  will-change: transform;
}

/* data-mask="panel": an accent plane wipes across before the text appears.
   Desktop only — one extra composited layer isn't worth it on phones. */
.mask__panel {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 900px) {
  html.has-js .mask__panel {
    display: block;
  }
}

html.reduced-motion .mask__panel {
  display: none;
}

/* ============================== CONTACT PAGE ============================= */
.page-hero {
  padding-top: clamp(8rem, 20vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
  position: relative;
  /* De gloed (.aura-glow) steekt buiten de sectie; zonder clip maakt dat de
     pagina op een telefoon breder dan het scherm. */
  overflow: clip;
}

.page-hero__title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  max-width: 18ch;
}

.page-hero__sub {
  margin-top: 1.25rem;
  color: var(--ink-dim);
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.contact-grid {
  padding-block: clamp(2rem, 6vw, 3rem) clamp(5rem, 10vw, 7rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-direct__label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.contact-direct__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  margin-top: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s;
  word-break: break-word;
}

.contact-direct__link:hover {
  color: var(--accent);
}

.contact-direct__block + .contact-direct__block {
  margin-top: 1.75rem;
}

.contact-direct__socials {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
}

.contact-direct__meta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.contact-direct__meta strong {
  color: var(--ink);
}

.form-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.field {
  position: relative;
  margin-bottom: 1.6rem;
}

.field label {
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  color: var(--ink-mute);
  font-size: 1rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.22s var(--ease-out), color 0.22s var(--ease-out), top 0.22s var(--ease-out);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1.6rem 1.1rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 1rem;
  transition: border-color 0.25s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b93' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field input:focus + label,
.field textarea:focus + label,
.field.is-filled label,
.field select:focus ~ label,
.field.select-filled label {
  transform: scale(0.78);
  top: 0.55rem;
  color: var(--accent);
}

.field-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--coral);
  min-height: 1.1em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--coral);
}

.form-error {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--coral);
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
}

.form-note a {
  color: var(--ink-dim);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
}

/* ============================== PRIVACY PAGE ============================= */
.legal {
  position: relative;
  padding-block: clamp(8rem, 18vw, 10rem) clamp(5rem, 10vw, 7rem);
  overflow: clip;
}

.legal__title {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.legal__updated {
  margin-top: 0.75rem;
  color: var(--ink-mute);
  font-size: 0.85rem;
}

.legal__body {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
  max-width: 74ch;
}

.legal__section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--accent);
}

.legal__section p,
.legal__section li {
  margin-top: 1rem;
  color: var(--ink-dim);
  line-height: 1.7;
}

.legal__section ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal__section strong {
  color: var(--ink);
}

.legal__table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 560px;
}

.legal__table th,
.legal__table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  vertical-align: top;
}

.legal__table th {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  background: var(--bg-card);
}

.legal__table tr:last-child td {
  border-bottom: none;
}

/* ============================== MOBILE PERFORMANCE =======================
   The ambient glows are very large blurred layers. Animating them forever
   costs real battery and frames on phones, so below the desktop breakpoint
   they become static and get a cheaper blur radius.
   ------------------------------------------------------------------------ */
@media (max-width: 899px) {
  .aura-glow::before {
    animation: none;
    filter: blur(60px);
  }
}

/* ============================== MOTION SAFETY ============================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .cursor-glow,
  .preloader {
    display: none !important;
  }

  .word-mask,
  [data-mask] {
    overflow: visible;
  }
}
