/*
  GAST Tech theme styles. One file, plain CSS.
  Fonts are self-hosted from assets/fonts (copied from the @fontsource npm
  packages). No third-party requests. The font @font-face CSS is enqueued
  separately in functions.php (gast_assets) so it parallelizes with this file
  instead of serializing behind a render-blocking @import chain; the two latin
  woff2 are preloaded in header.php.
*/

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

:root {
  --bg: #f9ece6;
  --bg-warm: #f1ddd2;
  --surface: #e6d1c4;
  --border: #cfb3a6;
  --text: #2c1316;
  --text-soft: #4d262a;
  --muted: #5a423d;
  --accent: #7a1d2a;
  --dark-bg: #2a1217;
  --dark-text: #f9ece6;
  --dark-accent: #e0948c;

  --font-display: 'Playfair Display Variable', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --logo-mask: url('../img/gast-logo.png');
  --logo-aspect: 2000 / 370;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.brand-logo {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-image: var(--logo-mask);
  mask-image: var(--logo-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  aspect-ratio: var(--logo-aspect);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--text-soft);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
}

section[id] {
  scroll-margin-top: 84px;
}

/* Visible keyboard focus. */
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.contact :focus-visible {
  outline-color: var(--dark-text);
}

/* Skip link (visible on focus). */
.skip-link {
  position: absolute;
  left: 0;
  top: -120%;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Reveal start state, only when JS + motion are on. */
html.gsap-ready [data-reveal],
html.gsap-ready [data-hero-item],
html.gsap-ready [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 236, 230, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-logo {
  display: inline-flex;
  color: var(--text);
  flex-shrink: 0;
}
.site-logo .brand-logo {
  width: 108px;
  height: 20px;
}
/* On desktop the menu wrapper is transparent to layout (its children act as
   direct header flex items); on mobile it becomes a full-screen overlay. */
.site-menu {
  display: contents;
}
.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--accent);
}
.site-cta {
  margin-left: 0.5rem;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.lang-toggle a {
  color: var(--muted);
  text-decoration: none;
}
.lang-toggle a.is-active {
  color: var(--accent);
}
.lang-toggle a:hover {
  color: var(--text);
}
.nav-toggle {
  display: none;
  position: relative;
  z-index: 70; /* stays above the overlay so it can close it */
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 9px;
  margin-left: auto;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}
/* Hamburger morphs into an X (and goes light) while the overlay is open. */
.site-header.nav-open .nav-toggle span {
  background: var(--bg-warm);
}
.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}
.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.site-footer-brand {
  gap: 1rem;
}
.site-footer .site-logo {
  color: var(--text);
  display: inline-flex;
  width: max-content;
}
.site-footer .site-logo .brand-logo {
  width: 124px;
  height: 23px;
}
.site-footer-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-soft);
  max-width: 24ch;
  line-height: 1.45;
  margin: 0;
}
.site-footer-coltitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.site-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.site-footer-list li {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.4;
}
.site-footer-list a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer-list a:hover {
  color: var(--accent);
}
.site-footer-also {
  margin: 2.5rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 60ch;
}

/* Back-to-top button: hidden until the page is scrolled down a bit. */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(42, 18, 23, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s ease;
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  background: var(--dark-bg);
}
.to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .to-top,
  .to-top.is-visible {
    transform: none;
    transition: opacity 0.25s ease;
  }
}

/* Sections */
.home-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.home-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 20ch;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 60ch;
}
.section-note {
  color: var(--muted);
  margin: -0.5rem 0 2rem;
}

/* Hero */
.hero {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  /* Playfair Display: high-contrast didone for the editorial hero. Heavy
     weight pushes the contrast even further than the default. */
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 38ch;
  margin-top: -0.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  margin: 2.5rem 0 0;
}
.hero-trust {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 30ch;
  line-height: 1.4;
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo {
  aspect-ratio: 4 / 5;
}
.hero-photo img,
.over-photo-tall img {
  object-position: top center;
}

/* Colophon line between hero and Voor wie. Italic Fraunces, middot separators,
   centered, sized to read like a quiet between-section breath. Not a social-
   proof bar: no uppercase tracking, no pills, no equal column slots. */
.cred {
  background: var(--bg);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--border);
}
.cred-line {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}
.cred-item:not(:last-child)::after {
  content: "·";
  display: inline-block;
  margin: 0 0.75rem;
  color: var(--border);
  font-style: normal;
}
@media (max-width: 600px) {
  .cred-item:not(:last-child)::after {
    margin: 0 0.4rem;
  }
}

/* Steps. Three editorial rows: large serif numeral on the left, title and
   body on the right. Hairline rules between rows. Replaces the 3-equal-card
   grid (which the taste-skill flags as feature-trio slop). */
.steps-head {
  max-width: 38ch;
}
.steps-list {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.step-item {
  display: grid;
  grid-template-columns: clamp(3.5rem, 8vw, 6rem) minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 0.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  grid-row: span 2;
  align-self: start;
  /* Nudge the numeral baseline down to align visually with the title cap. */
  margin-top: -0.1em;
}
.step-item .step-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text);
}
.step-item .step-body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}
@media (max-width: 760px) {
  .step-item {
    grid-template-columns: clamp(2.5rem, 12vw, 3.5rem) minmax(0, 1fr);
    grid-template-areas: "num title" "num body";
    row-gap: 0.4rem;
  }
  .step-num { grid-area: num; grid-row: auto; }
  .step-item .step-title { grid-area: title; }
  .step-item .step-body { grid-area: body; }
}

/* Aanpak. Two zones:
   1. .aanpak-top: text on the left, the à-la-carte diagram on the right.
   2. .compare-rows: four full-width strikethrough-vs-bold rows, replacing the
      old two-column "Us vs Them" table. Visual cue (struck wine left, bold
      serif right) carries the meaning without explicit column headers. */
.aanpak {
  background: var(--bg-warm);
}
.aanpak-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.aanpak-text .lead {
  max-width: 38ch;
}
.compare-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 2.5vw, 1.85rem) 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.compare-left {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}
.compare-left s {
  text-decoration-line: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
}
.compare-right {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}
@media (max-width: 860px) {
  .aanpak-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .compare-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Inline concept diagrams (SVG). They live in the document flow so they inherit
   the site fonts, animate with data-reveal and recolour via CSS, instead of
   loading as a flat <img>. Source files in assets/img/diagrams. */
.alacarte {
  margin-top: 1.75rem;
}
.alacarte svg,
.aanpak-flow svg,
.steps-figure svg {
  display: block;
  width: 100%;
  height: auto;
}
/* "Van losse tools naar een bron": a full-width flow that sits between the
   aanpak intro and the comparison rows it sets up. */
.aanpak-flow {
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 780px;
}
/* Stappenplan: the wide flow reads on desktop; on narrow screens its labels
   would shrink past readability, so the numbered list takes over there. Exactly
   one of the two is shown at a time. */
.steps-figure {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}
@media (min-width: 761px) {
  .steps-list {
    display: none;
  }
}
@media (max-width: 760px) {
  .steps-figure {
    display: none;
  }
}

/* Voor wie. Asymmetric grid: sticky title + italic question on the left,
   four numbered editorial statements on the right. Replaces the 2x2 bullet-
   card pattern (which the taste-skill flags as feature-grid slop). Each
   signal is its own typographic moment, separated by hairline rules, with
   a small mono numeral hanging in the gutter. */
.voorwie {
  background: var(--bg-warm);
}
.voorwie-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.voorwie-head {
  position: sticky;
  top: clamp(80px, 12vh, 120px);
}
.voorwie-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
.voorwie-q {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--muted);
  max-width: 22ch;
}
.voorwie-list {
  list-style: none;
  counter-reset: voorwie;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.voorwie-list li {
  counter-increment: voorwie;
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2.1rem) 0;
  padding-left: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1.28;
  color: var(--text);
  text-wrap: pretty;
}
.voorwie-list li::before {
  content: "0" counter(voorwie);
  position: absolute;
  left: 0;
  top: calc(clamp(1.4rem, 2.5vw, 2.1rem) + 0.55em);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.voorwie-cta {
  /* CTA lives OUTSIDE .voorwie-grid (see template comment), so no
     grid-column needed. Margin-top creates the breathing room. */
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.voorwie-cta-note {
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 860px) {
  .voorwie-grid {
    grid-template-columns: 1fr;
  }
  .voorwie-head {
    position: static;
  }
  .voorwie-q {
    max-width: none;
  }
}

/* Fixes. Three editorial rows: big serif metric on the left as the moment,
   title + body on the right as the story. Replaces the 3-equal-card grid.
   The "binnenkort meer" tag lives in the section header now, printed once
   instead of repeated per row. */
.fixes-head {
  max-width: 56ch;
}
.fixes-head .section-note {
  margin-top: 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.fix-soon {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fixes-list {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  border-top: 1px solid var(--border);
}
.fix-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  column-gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.fix-metric {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.fix-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fix-text .fix-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}
.fix-text .fix-body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
}
/* Fix card linked to its blog story. Keeps the row's grid layout; the title
   shifts to the accent on hover/focus and a "Lees het verhaal" cue trails it. */
.fix-row-link {
  text-decoration: none;
  color: inherit;
}
.fix-row-link .fix-title {
  transition: color 0.2s ease;
}
.fix-row-link:hover .fix-title,
.fix-row-link:focus-visible .fix-title {
  color: var(--accent);
}
.fix-row-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.fix-readmore {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.fix-readmore::after {
  content: " \2192";
  transition: margin-left 0.2s ease;
}
.fix-row-link:hover .fix-readmore::after,
.fix-row-link:focus-visible .fix-readmore::after {
  margin-left: 0.25rem;
}
@media (max-width: 760px) {
  .fix-row {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
  }
}

/* Prijs — the price moment. Dark wine full-bleed band breaks the warm-cream
   rhythm and lets the price land as a real headline, not a polite card. */
.prijs {
  background: var(--dark-bg);
  color: var(--dark-text);
  text-align: left;
}
.prijs-inner {
  /* .home-container already gives max-width 1080 + 1.5rem side gutter. Don't
     reset its padding (a leftover from the old card-style prijs) or mobile
     loses its side gutter and the content runs flush to the viewport edge. */
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "eyebrow ."
    "amount  aside";
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: end;
}
.prijs-inner .eyebrow {
  grid-area: eyebrow;
  color: var(--dark-accent);
  margin: 0;
}
.prijs-amount {
  grid-area: amount;
  font-family: var(--font-display);
  font-weight: 700;
  /* HUGE. Confident editorial scale. */
  font-size: clamp(3.8rem, 13vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--dark-text);
  margin: 0;
}
.prijs-amount span {
  font-size: 0.28em;
  font-weight: 400;
  color: var(--dark-accent);
  letter-spacing: 0;
  white-space: nowrap;
}
.prijs-aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  /* Tiny breathing room so the CTA's lower edge doesn't kiss the amount's
     baseline exactly. Half a rem reads as "intentional gap" not collision. */
  padding-bottom: 0.4rem;
}
.prijs-aside .lead {
  text-align: left;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--dark-text);
  opacity: 0.92;
  margin: 0;
}
.prijs-inner .btn-primary {
  background: var(--bg);
  color: var(--dark-bg);
  font-size: 1.05rem;
  padding: 1.1rem 2rem;
}
.prijs-inner .btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  .prijs-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "amount"
      "aside";
    align-items: start;
    row-gap: 1rem;
  }
  .prijs-aside {
    padding-bottom: 0;
    gap: 1rem;
  }
}

/* FAQ */
.faq-inner {
  max-width: 760px;
}
.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 0 1.2rem;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 62ch;
  /* Clip during the GSAP height animation in reveal.js so the smooth open/close
     does not leak content outside the row. */
  overflow: hidden;
}

/* Over */
.over {
  background: var(--bg-warm);
}
.over-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.over-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.over-photo-tall {
  aspect-ratio: 4 / 5;
}
.over-photo-wide {
  aspect-ratio: 7 / 5;
}
.signature {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text);
  margin-top: 1.5rem;
}

/* Contact */
.contact {
  background: var(--dark-bg);
  color: var(--dark-text);
  text-align: center;
}
.contact-inner {
  max-width: 60ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--dark-text);
}
.contact-sub {
  color: var(--bg-warm);
  line-height: 1.6;
  font-size: 1.1rem;
}
.contact-mail {
  font-size: 0.95rem;
  color: var(--dark-accent);
}
.contact-mail a {
  color: var(--dark-text);
}
.btn-on-dark {
  background: var(--bg);
  color: var(--accent);
}
.btn-on-dark:hover {
  background: #ffffff;
}

/* 404 page — the routing failure is the page. */
.e404-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.e404-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 32rem;
}
.e404-eyebrow,
.e404-status {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.e404-code {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
}
.e404-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--text);
  max-width: 28ch;
}
.e404-home {
  align-self: flex-start;
  margin-top: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.e404-home:hover {
  color: var(--accent);
}

/* Flow graph */
.e404-graph svg {
  width: 100%;
  height: auto;
  max-height: 420px;
}
.e404-node rect {
  fill: var(--text, #2c1316);
}
.e404-node text {
  fill: var(--bg-warm, #f1ddd2);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
}
.e404-wire {
  stroke: var(--text, #2c1316);
  stroke-width: 2;
  fill: none;
}
.e404-stub {
  stroke: var(--accent, #7a1d2a);
  stroke-width: 2;
  stroke-dasharray: 5 5;
  fill: none;
}
.e404-halo {
  fill: none;
  stroke: var(--accent, #7a1d2a);
  stroke-width: 2;
  opacity: 0.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: e404-pulse 2.2s ease-in-out infinite;
}
@keyframes e404-pulse {
  0%, 100% { opacity: 0.22; transform: scale(0.92); }
  50%       { opacity: 0.55; transform: scale(1.06); }
}
.e404-orphan rect {
  fill: none;
  stroke: var(--accent, #7a1d2a);
  stroke-width: 2;
}
.e404-orphan text {
  fill: var(--accent, #7a1d2a);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
}
.e404-arc {
  stroke: var(--accent, #7a1d2a);
  stroke-width: 2.5;
  fill: none;
  opacity: 0;
}
.error-404.is-resolved .e404-halo {
  animation: none;
  opacity: 0.18;
}
@media (prefers-reduced-motion: reduce) {
  .e404-halo {
    animation: none;
    opacity: 0.4;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .over-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    aspect-ratio: 16 / 10;
  }
  .e404-grid {
    grid-template-columns: 1fr;
  }
  .e404-graph {
    order: -1;
  }
  .e404-graph svg {
    max-height: 280px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  .site-footer-brand {
    align-items: center;
  }
  .site-footer-tagline {
    max-width: none;
  }
  .site-footer-list {
    align-items: center;
  }
  .site-footer-also {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}
@media (max-width: 760px) {
  .site-header-inner {
    position: relative;
  }
  .nav-toggle {
    display: flex;
  }

  /* Full-screen overlay menu. */
  .site-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    margin: 0;
    padding: clamp(5rem, 18vw, 7rem) 2rem 3rem;
    background: var(--dark-bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .site-header.nav-open .site-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* The header's backdrop-filter would otherwise make it the containing block
     for the fixed overlay, trapping it inside the header. Drop it while open so
     the overlay fills the viewport. */
  .site-header.nav-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
  }

  .site-menu .site-nav {
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
  }
  .site-menu .site-nav a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.1;
    color: var(--dark-text);
    padding: 0.3rem 0;
  }
  .site-menu .site-nav a:hover {
    color: var(--dark-accent);
  }

  .site-menu .lang-toggle {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--bg-warm);
  }
  .site-menu .lang-toggle a {
    color: var(--bg-warm);
  }
  .site-menu .lang-toggle a.is-active {
    color: var(--dark-accent);
  }

  .site-menu .site-cta {
    display: inline-flex;
    align-self: flex-start;
    margin: 0.25rem 0 0;
    background: var(--bg-warm);
    color: var(--dark-bg);
  }
  .site-menu .site-cta:hover {
    background: #fff;
  }

  /* Lock the page behind the overlay. */
  body.menu-open {
    overflow: hidden;
  }
}

/* Keep the sticky header clear of the WP admin bar when logged in. */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
