/* ============================================================
   TIME TRAVEL TOURS — COMING SOON WEBSITE
   style.css
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Kleuren (Stijlgids) ── */
  --navy:        #0d1530;   /* hoofdachtergrond */
  --navy-mid:    #111d3a;   /* cards, panels */
  --navy-light:  #1a2645;   /* borders, hover states */
  --navy-deep:   #060e1e;   /* diepste achtergrond */
  --gold:        #c5a059;   /* primaire accentkleur */
  --gold-bright: #d4af37;   /* hover state goud */
  --gold-pale:   #e8d5a3;   /* subtiele gold-accenten */
  --parchment:   #f5edd8;   /* lichte achtergronden (zelden) */

  --text:        #f0e8d5;   /* hoofdtekst op donker */
  --text-dim:    #9a8f7a;   /* subtekst, placeholders */

  --bg-primary:  #0d1530;
  --bg-secondary:#060e1e;
  --bg-card:     #111d3a;
  --border:      rgba(197,160,89,0.2);
  --border-hover:rgba(197,160,89,0.35);
  --glow:        rgba(197,160,89,0.08);

  /* ── Fonts (Stijlgids) ── */
  --font-display: 'Lora', Georgia, serif;
  --font-ui:      'Cinzel', serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;

  /* ── Easing ── */
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-gold: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --navy:        #f5edd8;
  --navy-mid:    #e5dcc5;
  --navy-light:  #d4c9b0;
  --navy-deep:   #f9f5ee;
  --gold:        #c5a059;
  --gold-bright: #b87333;
  --text:        #0d1530;
  --text-dim:    #586384;
  --bg-primary:  #f5edd8;
  --bg-secondary:#ffffff;
  --bg-card:     #e5dcc5;
  --border:      rgba(197,160,89,0.2);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

/* ── Typography Scale ──────────────────────────────────────── */
.display-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.1;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
}
.display-sm {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
}
.headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.25;
}

/* Cinzel label — taglines, badges, labels */
.label {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Navigation ───────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2.5rem;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s,
              transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

/* Fullscreen mode — nav slides up out of view */
#nav.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#nav.scrolled {
  background: rgba(6,14,30,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* ── Ankerdoelen ──────────────────────────────────────────── */
/* De balk staat vast bovenaan, dus zonder marge landt een anker eronder en
   valt de kop van de sectie weg. Eén bron voor beide routes: een klik binnen
   de pagina (de browser gebruikt scroll-margin-top zelf) én binnenkomst via
   /variant-v2.html#anker — initHashLanding() in main.js leest deze waarde uit.
   Gemeten navigatiehoogte: 75px op desktop, 67px onder 768px — de marge is
   die hoogte plus 8px lucht. Verandert de hoogte van de balk, dan verandert
   deze waarde mee. */
:root {
  --anker-marge: 84px;
  /* Halve balkhoogte. De balk ligt vast over de hero heen, dus alles wat in
     het venster centreert staat zonder deze correctie te hoog.
     MOET gelijk blijven aan HERO_V_OFFSET in main.js. */
  --hero-v-offset: 37px;
}

#quotes,
#hoe-het-werkt,
#tour-grid,
#partners,
#faq,
#over-ons,
#newsletter-section {
  scroll-margin-top: var(--anker-marge);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

/* Logo afbeelding — ronde clip, geen mix-blend-mode */
.nav-logo-img {
  /* Was 64px. Het logo bepaalde in z'n eentje de hoogte van de balk
     (20 + 64 + 20 = 104px); daardoor stond er veel lucht boven en onder de
     menu-items, die zelf maar 17px hoog zijn. */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--glow);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--text);
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#lang-toggle {
  background: none;
  border: 1px solid rgba(249, 247, 242, 0.45); /* cream, always visible over any bg */
  color: rgba(249, 247, 242, 0.85);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
#lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.65rem;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-1px); }

/* ── Hero Portal ──────────────────────────────────────────── */
#hero {
  position: relative;
}

/* Gezet door het inline script in de <head> zolang de pagina met een anker
   binnenkomt, en weggehaald door main.js zodra we geland zijn. visibility en
   niet display: de hoogte moet blijven staan, anders klopt de scrollpositie
   waar we heen springen niet meer. */
html[data-hero-stil] #hero {
  visibility: hidden;
}

#hero-spacer {
  /* 210vh = 100vh zichtbaar + 75vh p-fase (hero-crossfades) + 35vh rustzone.
     Was 310vh en daarna 240vh; beide te veel scrollen voor te weinig
     gebeurtenis. De echte traagheid zat trouwens in scrub 0.5 — zie main.js.
     Q+R (zoom-reveal + telefoon schuift) spelen als timed animatie ná de
     p-fase. De rustzone daarna houdt de sticky wrap staan zodat het eindbeeld
     — telefoon met de speelknop, tekst ernaast — stil en full-screen in beeld
     ligt. Die rustzone is óók de speling die voorkomt dat één tik omhoog je
     terug de tijdlijn in schiet: je moet er eerst helemaal doorheen.
     HERO_P_VH en HERO_HOLD_VH in main.js MOETEN hiermee kloppen. */
  height: 210vh;
  position: relative;
}

.hero-pin-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  /* overflow: hidden verwijderd — knipt anders f-krul/g-staart af.
     De hero-stages zijn inset:0 en clippen zichzelf via hun eigen stacking. */
}

/* Stage layers */
.hero-stage {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: none;
}

/* Echte hero-afbeeldingen met cinematische overlay per tijdperk */

/* Stage 1 — Modern Amsterdam: koele navy-desaturation */
.hero-stage--modern {
  background-image:
    linear-gradient(
      to bottom,
      rgba(6,14,30,0.25) 0%,
      rgba(6,14,30,0.15) 40%,
      rgba(6,14,30,0.55) 100%
    ),
    url('public/assets/hero/hero-modern.webp');
  background-size: cover;
  background-position: center center;
  opacity: 1;
}

/* Stage 2 — Gouden Eeuw 1648: warme amber-gloed */
.hero-stage--golden {
  background-image:
    linear-gradient(
      to bottom,
      rgba(20,10,0,0.2) 0%,
      rgba(20,10,0,0.1) 40%,
      rgba(20,10,0,0.55) 100%
    ),
    url('public/assets/hero/hero-1648.webp');
  background-size: cover;
  background-position: center 20%; /* toren/haven omlaag, meer lucht boven tekst */
}

/* De 1450-laag is er niet meer. In main.js staat al "stage-1450 removed" en
   geen enkele pagina heeft dit element nog; de opmaak en de afbeelding stonden
   alleen nog mee te reizen naar productie. Terug te halen uit de historie als
   die tussenstap ooit terugkomt. */

/* Stage 4 — Middeleeuws Amsterdam 1275: donker, nevelachtig */
.hero-stage--medieval {
  background-image:
    linear-gradient(
      to bottom,
      rgba(8,5,0,0.3) 0%,
      rgba(8,5,0,0.1) 35%,
      rgba(8,5,0,0.65) 100%
    ),
    url('public/assets/hero/hero-1275.webp');
  background-size: cover;
  background-position: center 15%; /* dam/brug omlaag, tekst valt over horizon */
}

/* SVG placeholders verbergen nu echte afbeeldingen actief zijn */
.hero-stage-art { display: none; }

/* Subtiel rasterpatroon */
.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.012) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.012) 80px);
  pointer-events: none;
}

/* Skyline illustraties */
.hero-stage-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8rem;
  pointer-events: none;
}

.hero-silhouette {
  width: 100%;
  max-width: 900px;
  padding: 0 2rem;
  opacity: 0.15;
}

.hero-stage--modern  .hero-silhouette svg path { fill: var(--gold-pale); }
.hero-stage--golden  .hero-silhouette svg path { fill: var(--gold); }
.hero-stage--medieval .hero-silhouette svg path { fill: #7a6040; }

/* AI-label — EU AI Act art. 50, verplicht sinds 2 aug 2026. Link
   naar ai.html met de volledige uitleg. Zie brand-voice/ai-label.md. */
.hero-ai-label{
  position:absolute; left:1.5rem; bottom:1.25rem; z-index:6;
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.35rem .6rem .35rem .45rem; border-radius:999px;
  background:rgba(6,14,30,.55); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.18);
  text-decoration:none; opacity:.82; transition:opacity .25s ease;
}
.hero-ai-label:hover,.hero-ai-label:focus-visible{opacity:1;}
.hero-ai-label img{height:19px; width:auto; display:block;}
.hero-ai-label span{
  font-family:'Cinzel',serif; font-size:.62rem; letter-spacing:.14em;
  text-transform:uppercase; color:rgba(255,255,255,.9); white-space:nowrap;
}
@media (max-width:640px){
  .hero-ai-label{left:1rem; bottom:1rem; padding:.3rem .5rem .3rem .4rem;}
  .hero-ai-label span{display:none;}
}

/* Filmische vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(6,14,30,0.88) 100%);
  pointer-events: none;
  z-index: 2;
}


/* Grain / filmtextuur */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}

/* Sepia veroudering */
.hero-sepia {
  position: absolute;
  inset: 0;
  background: rgba(139, 90, 43, 0);
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: color;
}

/* Donkere pill achter de tekst — zachte feathered edges via blur pseudo-element */
.hero-text-group {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  /* Ruime padding zodat f-krul (boven) en g-staart (onder) nooit raken */
  padding: 2.25rem 2.5rem 2.75rem;
  background: transparent;
}

/* Feathered dark backdrop */
.hero-text-group::before {
  content: '';
  position: absolute;
  inset: -16px -20px;  /* inset dicht bij de box — ::before mag body niet oversteken */
  background: rgba(6, 14, 30, 0.58);
  border-radius: 28px;
  filter: blur(22px);
  z-index: -1;
}

/* Hero Content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 2rem;
  pointer-events: none;
}

/* Text group: absoluut gepositioneerd net boven de scroll hint */
.hero-text-group {
  position: absolute !important;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  /* Ruim genoeg zodat body overflow-x:hidden geen letters raakt */
  max-width: min(1280px, calc(100vw - 3rem));
  z-index: 12;
  overflow: visible;
  text-align: center; /* gecentreerd bij meerdere regels */
}

.hero-stage-label {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-top: 1rem;
  margin-bottom: 0;
  opacity: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  position: relative; /* stacking context */
  z-index: 1;         /* onder de tagline */
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.18; /* ruimer voor f-krul (boven) en g-staart (onder) */
  color: var(--text);
  margin-bottom: 0;
  max-width: 900px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: unset; /* container bepaalt de breedte, niet de tagline zelf */
}

.hero-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 480px;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  color: rgba(249, 247, 242, 0.7);
  font-size: 1.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(197,160,89,0.7), transparent);
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(6px); }
}

/* ── Horizontale Tijdlijn ─────────────────────────────────── */
#timeline-horizontal {
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 2rem;
  height: 60px;
  z-index: 15;
  pointer-events: none;
}

/* De horizontale lijn — goud links (verleden), dim rechts (heden) */
.tl-bar {
  position: absolute;
  left: 0; right: 0;
  bottom: 20px;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--gold) 0%,
    rgba(197,160,89,0.18) 100%
  );
}

/* Vaste jaar-markering — hangt onder de lijn */
.tl-tick {
  position: absolute;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-mark {
  width: 1px;
  height: 7px;
  background: rgba(197,160,89,0.38);
  margin-top: 1px;
}

.tl-tick span {
  font-family: var(--font-ui);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  color: rgba(197,160,89,0.48);
  margin-top: 4px;
  white-space: nowrap;
}

.tl-tick.active .tl-mark  { background: rgba(197,160,89,0.6); }
.tl-tick.active span       { color: rgba(232,213,163,0.55); }

/* Verberg tussenliggende jaren op klein scherm */
.tl-minor { }

/* Bewegende indicator — staat boven de lijn */
.tl-indicator {
  position: absolute;
  top: 36px; /* dot-middelpunt op de bar: bar zit op top:40px, dot is 8px hoog → top:36 */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column; /* dot → naald → jaar, van boven naar beneden */
  align-items: center;
  will-change: left;
}

.tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(197,160,89,0.75);
  flex-shrink: 0;
}

.tl-needle {
  width: 1px;
  height: 16px;
  background: linear-gradient(to bottom, var(--gold), rgba(197,160,89,0.15));
  flex-shrink: 0;
}

.tl-year {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--gold);
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Stage voortgangsbalken — dunne lijn helemaal onderaan */
.portal-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  gap: 4px;
  padding: 0 2.5rem 0.5rem;
  pointer-events: none;
}

.portal-progress-stage {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.portal-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Section Base ─────────────────────────────────────────── */
.section {
  padding: 7rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .label {
  margin-bottom: 1rem;
}

.section-header h2 {
  color: var(--text);
  margin-bottom: 1rem;
}

.section-header p {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.phone-frame {
  width: 220px;
  height: 460px;
  background: #080c14;
  border-radius: 36px;
  border: 6px solid #1a2030;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 64px rgba(0,0,0,0.7),
    0 0 40px var(--glow),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

/* Notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #080c14;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Placeholder schermen */
.screen-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.screen-placeholder-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.screen-placeholder-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.3;
}

.screen-placeholder-sub {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.screen-map     { background: linear-gradient(160deg, #080f18, #111d30); }
.screen-audio   { background: linear-gradient(160deg, #120e05, #251a08); }
.screen-overlay { background: linear-gradient(160deg, #080e08, #111e12); }
.screen-route   { background: linear-gradient(160deg, #0c0814, #1a1025); }
.screen-story   { background: linear-gradient(160deg, #08101a, #111e30); }

/* ══════════════════════════════════════════════════
   ZOOM-OUT REVEAL
   Lives INSIDE .hero-pin-wrap — no separate section.
   JS drives these via initHeroPortal onUpdate (q phase).
══════════════════════════════════════════════════ */

/* ── Medieval backdrop ────────────────────────────────────── */
/* Identical to hero-stage--medieval so the handover is invisible.
   Starts at opacity: 0; JS switches it on at the start of q phase,
   then clips it from full-bleed → phone shape. */
.zr-stage {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to bottom,
      rgba(8,5,0,0.3) 0%,
      rgba(8,5,0,0.1) 35%,
      rgba(8,5,0,0.65) 100%
    ),
    url('public/assets/hero/hero-1275.webp');
  background-size: cover;
  background-position: center 15%;
  z-index: 20; /* above all hero overlays (vignette 2, grain 3, sepia 4, content 10, timeline 15) */
  opacity: 0;  /* JS controls */
  /* clip-path animated by JS via getZrClipPath(t) */
}

/* Same subtle grain as the hero for visual continuity */
.zr-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.012) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.012) 80px);
  pointer-events: none;
}

/* ── Phone chrome ring ────────────────────────────────────── */
/* A transparent frame positioned over the clipped stage area. */
.zr-phone-ring {
  position: absolute;
  /* Dimensions must stay in sync with getZrPhoneDims() in main.js */
  width: 280px;
  height: 560px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 22; /* above zr-stage (20) */
  pointer-events: none;
  opacity: 0; /* JS fades in */
  border-radius: 44px;
  border: 8px solid #1a2030;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.65),
    0 0 60px rgba(197,160,89,0.10);
}

/* Notch */
.zr-phone-ring::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 88px; height: 26px;
  background: #080c14;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

/* Home indicator pill */
.zr-phone-ring::after {
  content: '';
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}

/* ── Content: eyebrow + title + tagline ──────────────────── */
.zr-content {
  position: absolute;
  z-index: 23; /* above phone ring (22) */
  text-align: center;
  opacity: 0; /* JS fades in */
  pointer-events: none;
  /* Mobile: centered below the phone */
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(540px, calc(100vw - 3rem));
}

.zr-eyebrow {
  margin-bottom: 1rem;
}

/* Brand title — the centrepiece of the reveal */
.zr-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--gold);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
  text-shadow:
    0 2px 24px rgba(0,0,0,0.45),
    0 0 60px rgba(197,160,89,0.18);
}

.zr-title-city {
  display: block;
  font-family: var(--font-ui);  /* Cinzel — looks good at uppercase */
  font-size: 0.44em;
  letter-spacing: 0.28em;
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.7;
  text-transform: uppercase;
  text-shadow: none;
  margin-top: 0.2em;
}

/* Tagline under the title — Cormorant Garamond, NOT Cinzel (which is all-caps) */
.zr-tagline {
  font-family: var(--font-body);    /* Cormorant Garamond — readable at mixed case */
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-dim);
  line-height: 1.5;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

/* Desktop: phone shifted 80px left of centre, content to the right */
@media (min-width: 768px) {
  .zr-phone-ring {
    left: calc(50% - 80px); /* shift phone left, making room for text */
    top: calc(50% + var(--hero-v-offset)); /* onder de vaste balk uit */
    transform: translate(-50%, -50%);
    /* LET OP: .zr-phone-ui moet exact deze left aanhouden, anders liggen de
       speelknop en het bijschrift niet op de telefoon. Die regel staat in
       variant-v2-extra.css — dat bestand laadt ná dit bestand en zou een
       kopie hier overschrijven. */
  }

  .zr-content {
    /* Phone right edge sits at 50% - 80px + 140px = 50% + 60px.
       Content starts 24px to the right of that. */
    left: calc(50% + 84px);
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    width: min(480px, calc(50vw - 104px));
    bottom: auto;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  /* Breedte, hoogte en radius komen van _syncPhoneSize() in main.js — die
     schaalt met de schermhoogte zodat er tekst onder de telefoon past.
     Stond hier op een vaste 220×440 en dat viel over de copy heen. */
  /* Notch on mobile */
  .zr-phone-ring::before {
    width: 62px;
    height: 20px;
  }
}

/* ── Mobile phone-interior title (inside zr-stage clip) ─── */
#zr-mob-title {
  display: none; /* desktop: hidden */
}
@media (max-width: 767px) {
  #zr-mob-title {
    display: block;
    position: absolute;
    bottom: 52px;           /* sits near bottom of the phone screen */
    left: 0; right: 0;
    text-align: center;
    opacity: 0;             /* JS fades in with r-phase */
    pointer-events: none;
    z-index: 5;
    padding: 0 20px;
  }
  .zr-mob-eyebrow {
    font-family: var(--font-ui);  /* Cinzel */
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.40em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.85);
    margin: 0 0 6px;
  }
  .zr-mob-headline {
    font-family: var(--font-display);  /* Lora */
    font-style: italic;
    font-weight: 600;
    font-size: 1.55rem;
    line-height: 1.05;
    color: #f0e8d5;
    margin: 0;
    text-shadow:
      0 2px 16px rgba(0,0,0,0.70),
      0 0 40px rgba(197,160,89,0.18);
  }
}

/* ── Landing copy inside hero-pin-wrap (r-phase) ─────────── */
/* Shows while the phone is sliding right, still pinned.     */
#zr-landing-copy {
  position: absolute;
  inset: 0;
  z-index: 25; /* above phone ring (22) */
  display: flex;
  align-items: center;
  /* Occupy left half — phone slides into right half.
     padding-left grows with vw so text+phone stay optically centred
     on large screens instead of spreading to the edges.
     Boven staat twee keer --hero-v-offset: dit blok centreert verticaal, dus
     een marge bovenaan verschuift het midden met de helft daarvan omlaag —
     precies dezelfde correctie als de telefoon krijgt. Zo blijven tekst en
     telefoon op één lijn én staat het geheel onder de balk in balans. */
  padding: calc(var(--hero-v-offset) * 2) calc(50vw + 28px) 0 clamp(64px, 12vw, 360px);
  box-sizing: border-box;
  opacity: 0; /* JS drives this */
  pointer-events: none; /* JS removes this when copy is visible */
}

/* clamp() already handles ≤1279px gracefully — no override needed */
@media (max-width: 767px) {
  /* Mobile: copy appears below the phone (phone shifts up in r-phase) */
  #zr-landing-copy {
    display: flex;
    padding: 0 2rem 4.5rem;  /* more bottom padding pulls text up, closing gap to phone */
    align-items: flex-end;
    justify-content: center;
    text-align: center;
  }
  #zr-landing-copy .landing-copy { width: 100%; }
  #zr-landing-copy .landing-gold-rule { display: none; }
  #zr-landing-copy .landing-eyebrow  { display: none; }
  #zr-landing-copy .landing-headline { display: none; }
  #zr-landing-copy .landing-tagline {
    font-size: 1.2rem;
    margin-top: 0;
  }
  #zr-landing-copy .landing-cta {
    margin-top: 18px;
    padding: 13px 22px;
    font-size: 11px;
  }
}

/* ══════════════════════════════════════════════════
   LANDING SECTION — Two-column hero landing
══════════════════════════════════════════════════ */

#landing-section {
  background: #f9f7f2;       /* cream — always, regardless of theme */
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.landing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 160px 112px 96px;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── Copy column ── */
.landing-copy {
  position: relative;
}

.landing-gold-rule {
  position: absolute;
  left: -28px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    #c5a059 30%,
    #c5a059 70%,
    transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

.landing-eyebrow {
  font-family: var(--font-ui);   /* Cinzel */
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  /* Was #9a7a3f. Dat haalt op de crème ondergrond 3,75:1 en de norm voor
     kleine tekst is 4,5:1 — zie de toelichting bij --v2-gold-dp bovenaan
     variant-v2-extra.css, waar die afweging al was gemaakt. */
  color: var(--v2-gold-dp);
  text-transform: uppercase;
  margin: 0;
}

.landing-headline {
  font-family: var(--font-display);  /* Lora */
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.75rem, 7vw, 6.25rem);  /* 60→100px */
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  /* Gold shimmer — fallback color for clip unsupported */
  color: #c5a059;
  background: linear-gradient(90deg, #c5a059 0%, #d4af37 50%, #c5a059 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-tagline {
  font-family: var(--font-body);    /* Cormorant Garamond */
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.5vw, 2.125rem);  /* 22→34px */
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: #131626;
  opacity: 0.92;
  max-width: 520px;
  margin: 36px 0 0;
}

.landing-tagline em {
  color: var(--v2-gold-dp);
  font-style: italic;
}

.landing-cta {
  display: inline-block;
  margin-top: 44px;
  background: transparent;
  color: var(--v2-gold-dp);
  border: 1.5px solid var(--v2-gold-dp);
  padding: 17px 32px;
  border-radius: 8px;
  font-family: var(--font-ui);   /* Cinzel */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.landing-cta:hover {
  background: var(--v2-gold-dp);   /* zelfde goud als de rand, anders springt hij van tint */
  color: #f9f7f2;
}

/* ── Phone column ── */
.landing-phone-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.landing-halo {
  position: absolute;
  inset: 5% 15%;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.landing-phone {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 574px;   /* 280 × 2.05 */
  border-radius: 36px;
  background: #1a1d2a;
  padding: 8px;
  box-sizing: border-box;
  box-shadow:
    0 30px 90px rgba(212,175,55,0.18),
    0 8px 24px rgba(8,12,30,0.30);
}

.landing-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background: #000;
}

.landing-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  border-radius: 12px;
  background: #000;
  pointer-events: none;
}

.landing-phone-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.7);
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 1279px) {
  .landing-inner {
    padding: 100px 64px 80px;
    gap: 40px;
  }
  .landing-phone {
    width: 260px;
    height: 533px;
    border-radius: 34px;
  }
  .landing-phone-notch,
  .landing-phone-bar { width: 83px; }
}

@media (max-width: 767px) {
  #landing-section { min-height: auto; padding: 0; }
  .landing-inner {
    grid-template-columns: 1fr;
    padding: 80px 24px 56px;
    gap: 40px;
  }
  .landing-gold-rule { display: none; }
  .landing-cta { display: block; text-align: center; }
  .landing-phone-col { order: 2; }
  .landing-copy { order: 1; }
  .landing-phone {
    width: 280px;
    height: 574px;
  }
  .landing-phone-notch,
  .landing-phone-bar { width: 90px; }
}

/* ══════════════════════════════════════════════════
   BENEFITS SECTION — Alternating phone rows
══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   BENEFITS — HOE HET WERKT (redesign V2)
   Always-light section (cream bg regardless of theme)
══════════════════════════════════════════════════ */

#benefits-section {
  background: #0d1530; /* matches footer blue */
  overflow: visible;
}

.benefits-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
}

/* ── Section header ──────────────────────────────── */
.benefits-header {
  text-align: center;
  margin-bottom: 6rem;
}

.benefits-eyebrow {
  font-family: var(--font-ui);        /* Cinzel */
  font-weight: 600;
  font-size: 2.25rem;
  letter-spacing: 0.25em;
  color: #9a7a3f;                     /* gold-deep */
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.benefits-headline {
  font-family: var(--font-display);   /* Lora */
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-top: 1.25rem;
  padding-bottom: 0.15em; /* ruimte voor descenders (j, g) bij background-clip */
  background: linear-gradient(90deg, #7d6430 0%, #9a7a3f 50%, #7d6430 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Route rows wrapper ──────────────────────────── */
.benefits-rows {
  position: relative;
  overflow: visible;
}

/* Mobile vertical line — runs full height behind phones */
@media (max-width: 767px) {
  .benefits-rows::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(197,160,89,0.38) 4%,
      rgba(197,160,89,0.38) 96%,
      transparent 100%
    );
    z-index: 0; /* phones (inside rows z:1-4) sit above this */
    pointer-events: none;
  }
}

/* ── Row layout ──────────────────────────────────── */
.benefit-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 2.5rem 2rem;
  position: relative;
}

/* Phone left, card right */
.benefit-row--left {
  justify-content: center;
  padding-right: calc(2rem + 14%);
}

/* Phone right, card left — row-reverse flips the flex order */
.benefit-row--right {
  justify-content: center;
  flex-direction: row-reverse;
  padding-left: calc(2rem + 14%);
}

/* Step 4: centered card only, no phone */
.benefit-row--center {
  justify-content: center;
  padding-top: 3.5rem; /* extra room for top marker */
}

/* No vertical overlap between rows (design uses clean spacing) */
.benefit-row + .benefit-row { margin-top: 60px; }

/* Row stacking contexts — higher index = above the mobile line */
.benefit-row[data-benefit="1"] { z-index: 4; }
.benefit-row[data-benefit="2"] { z-index: 3; }
.benefit-row[data-benefit="3"] { z-index: 2; }
.benefit-row[data-benefit="4"] { z-index: 1; }

/* ── Phone column ────────────────────────────────── */
.benefit-phone-col {
  flex-shrink: 0;
  position: relative;
  z-index: 2; /* above chain-route SVG (z:1) */
}

/* Phone frame — smaller than global default (200 × 410) */
.benefit-phone-col .phone-frame {
  width: 200px;
  height: 410px;
  border-radius: 28px;
  box-shadow:
    0 24px 60px rgba(8,12,30,0.16),
    0 6px 14px rgba(8,12,30,0.09);
}
.benefit-phone-col .phone-frame::before {
  width: 72px;
  height: 20px;
}
.benefit-phone-col .phone-screen {
  border-radius: 22px;
}

/* ── Card column ─────────────────────────────────── */
.benefit-card-col {
  flex-shrink: 0;
  width: 420px;
  position: relative;
  z-index: 2; /* above chain-route SVG */
  display: flex;
  align-items: center;
}

.benefit-row--center .benefit-card-col {
  width: 480px;
}

/* ── Benefit card ────────────────────────────────── */
.benefit-card {
  position: relative;
  background: #f5edd8;              /* parchment */
  border: 1px solid #e8d9b8;        /* parchment-dk */
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  width: 100%;
  overflow: visible;                /* marker overflows edges */
  box-shadow:
    0 16px 40px rgba(8,12,30,0.06),
    0 2px 6px rgba(8,12,30,0.03);
}

.benefit-card--final {
  text-align: center;
  padding-top: 3rem; /* room for top marker */
}

/* Uniform padding — marker is now a sibling column, not inside the card */

/* ── Marker column — dedicated flex child between phone & card ── */
.step-marker-col {
  flex-shrink: 0;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3; /* above SVG line (z:1) and phone/card (z:2) */
}

/* ── Step marker — icon ring ─────────────────────── */
/* Default: sits inside .step-marker-col (no absolute positioning needed) */
.step-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f9f7f2;              /* cream */
  border: 1.5px solid #c5a059;      /* gold */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(8,12,30,0.07),
    0 1px 3px rgba(197,160,89,0.22);
  flex-shrink: 0;
}

.step-marker svg,
.step-marker i {
  width: 22px;
  height: 22px;
  color: #9a7a3f;                   /* gold-deep */
  stroke-width: 1.5;
}

/* Step 4: marker has no marker-col — sits above the card */
.benefit-card--final .step-marker {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}

/* ── Card typography ─────────────────────────────── */
.benefit-card-eyebrow {
  font-family: var(--font-ui);      /* Cinzel */
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.42em;
  color: #9a7a3f;
  opacity: 0.8;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.benefit-row-headline {
  font-family: var(--font-display); /* Lora */
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #131626;                   /* navy-deep */
  margin: 0 0 1rem;
}

.benefit-sub {
  font-family: var(--font-body);    /* Cormorant Garamond */
  font-style: italic;
  font-weight: 400;
  font-size: 1.275rem;
  line-height: 1.6;
  color: #131626;
  opacity: 0.78;
  margin: 0;
}

/* ── Chain-route SVG (drawn by JS) ──────────────── */
.chain-route-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1; /* between backgrounds (0) and phone/card cols (2) */
}

/* ── End ornament ────────────────────────────────── */
.benefits-end-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 5rem;
  opacity: 0.45;
}
.benefits-end-line {
  width: 60px;
  height: 1px;
  background: #c5a059;
}
.benefits-end-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5a059;
}

/* ──────────────────────────────────────────────────
   AUDIO PLAYER (benefit 2)
────────────────────────────────────────────────── */
.benefit-audio-player {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.75rem;
  gap: 1.5rem;
  background: linear-gradient(160deg, #120e05, #251a08);
}

/* Location · year label */
.benefit-audio-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-align: center;
}

/* Play / Pause button */
/* ── Halo fade animation — subtiel, traag, goud / wit ─────── */
@keyframes haloFade {
  0%   { opacity: 0.45; transform: scale(1);   }
  100% { opacity: 0;    transform: scale(2.1); }
}

.benefit-audio-play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px; /* optical centering for ▶ */
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  position: relative; /* anchor for halo pseudo-elements */
}

/* Two offset halo rings — start at button size, expand + fade out */
.benefit-audio-play::before,
.benefit-audio-play::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(197,160,89,0.22);
  animation: haloFade 3.6s ease-out infinite;
  pointer-events: none;
}
.benefit-audio-play::after {
  animation-delay: 1.8s; /* offset = half cycle → continuous alternating pulse */
}

/* Stop halos while playing — button is already active */
.benefit-audio-play.playing::before,
.benefit-audio-play.playing::after {
  animation: none;
  opacity: 0;
}

.benefit-audio-play:hover {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 0 24px rgba(197,160,89,0.32);
}

.benefit-audio-play.playing {
  background: rgba(197,160,89,0.10);
  padding-left: 0; /* ⏸ is optically centred */
}

.benefit-audio-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* Scrubber + time wrapper */
.benefit-audio-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Scrubber — large touch target, 1px visible line */
.benefit-audio-track {
  width: 100%;
  height: 44px; /* min touch target height */
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Visible 1px track line */
.benefit-audio-track::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(197,160,89,0.22);
  transform: translateY(-50%);
  pointer-events: none;
}

/* Gold fill (progress) */
.benefit-audio-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  width: 0%;
  background: var(--gold);
  transform: translateY(-50%);
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Thumb dot */
.benefit-audio-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.15s var(--ease-gold);
}

.benefit-audio-track:hover .benefit-audio-thumb {
  transform: translate(-50%, -50%) scale(1.4);
}

/* Time readout */
.benefit-audio-time {
  font-family: 'Courier New', 'Lucida Console', monospace;
  font-size: 0.58rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ──────────────────────────────────────────────────
   VIDEO PHONE (benefit 3) — portrait mode
────────────────────────────────────────────────── */
.benefit-video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.benefit-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}

.benefit-video-wrap {
  display: none; /* JS toggles to block */
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}

.benefit-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benefit-video-btn {
  position: absolute;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.benefit-video-btn:hover { background: rgba(0, 0, 0, 0.78); }

.benefit-video-btn-close {
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.85rem;
}

.benefit-video-btn-play {
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

/* ──────────────────────────────────────────────────
   BENEFITS — RESPONSIVE
────────────────────────────────────────────────── */

/* Tablet: reduce sway padding */
@media (max-width: 1100px) {
  .benefit-row + .benefit-row { margin-top: 40px; }
  .benefit-row--left  { padding-right: calc(1rem + 8%); padding-left: 1rem; }
  .benefit-row--right { padding-left:  calc(1rem + 8%); padding-right: 1rem; }
}

@media (max-width: 900px) {
  .benefit-row + .benefit-row { margin-top: 24px; }
  .benefit-card-col { width: 320px; }
  .benefit-row--left  { padding-right: calc(1rem + 3%); padding-left: 1rem; }
  .benefit-row--right { padding-left:  calc(1rem + 3%); padding-right: 1rem; }
}

/* Mobile: single column, card first → phone second */
@media (max-width: 767px) {
  .benefits-wrap { padding: 5rem 1.25rem 3rem; }
  .benefits-header { margin-bottom: 3rem; }

  /* Hide desktop SVG line, show CSS vertical line instead */
  .chain-route-svg { display: none; }

  /* Stack all rows as columns, card first (order:-1) */
  .benefit-row,
  .benefit-row--right,
  .benefit-row--left,
  .benefit-row--center {
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center;
    padding: 2rem 1rem 1rem;
    margin-top: 0 !important;
    gap: 1.5rem;
  }

  /* Mobile order: card → marker → phone */
  .benefit-card-col  { order: -1; width: 100%; max-width: 380px; }
  .step-marker-col   { order:  0; }
  .benefit-phone-col { order:  1; }

  .benefit-row--center .benefit-card-col { max-width: 380px; }

  .benefit-card { text-align: left; }
  .benefit-card--final { text-align: center; }
}



/* ── Newsletter ───────────────────────────────────────────── */
/* ══════════════════════════════════════════════════
   NEWSLETTER — centered, always-dark navy section
══════════════════════════════════════════════════ */

#newsletter-section {
  background: #131626; /* --navy-deep, always dark regardless of theme */
  padding: 0;
}

.newsletter-wrap {
  padding: 5.5rem 2rem 5rem;
  max-width: 480px;      /* matches form field width + breathing room */
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo mark */
.newsletter-logo-mark {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin-bottom: 2rem;
}

/* Eyebrow — Cinzel uppercase */
.newsletter-eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #9a7a3f; /* --gold-deep */
  margin: 0 0 1.25rem;
}

/* Divider ── · ── */
.newsletter-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  width: 140px;
}
.newsletter-divider span:not(.newsletter-divider-dot) {
  flex: 1;
  height: 1px;
  background: rgba(197, 160, 89, 0.35);
}
.newsletter-divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5a059;
  flex: none;
}

/* Headline — Lora italic, gold shimmer */
.newsletter-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.25;
  max-width: 540px;
  margin: 0 0 1.25rem;
  padding-bottom: 0.15em; /* ruimte voor descenders (j, g) bij background-clip */
  background: linear-gradient(90deg, #7d6430 0%, #9a7a3f 50%, #7d6430 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Lead paragraph */
.newsletter-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(249, 247, 242, 0.65);
  max-width: 400px;
  margin: 0 0 2.75rem;
}

/* Form — stacked column */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 1.5rem;
}

/* Label + input wrapper */
.newsletter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.newsletter-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a6b50; /* --muted */
}

/* Inputs — parchment fill, gold focus */
.newsletter-input {
  width: 100%;
  height: 52px;
  background: #f5edd8; /* --parchment */
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: #131626; /* --navy-deep */
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0 1.1rem;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.newsletter-input:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.newsletter-input::placeholder { color: #9a8870; }

/* Submit button — metallic gold gradient, full width */
.newsletter-submit {
  width: 100%;
  height: 56px;
  background: linear-gradient(180deg, #c5a059 0%, #9a7a3f 100%);
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.5);
  color: #131626;
  border: none;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
  margin-top: 0.25rem;
}

.newsletter-submit:hover  { filter: brightness(1.08); }
.newsletter-submit:active { transform: translateY(1px); filter: brightness(0.97); }
.newsletter-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Micro-copy */
.newsletter-disclaimer {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249, 247, 242, 0.35);
  margin: 0;
}

/* Feedback message */
.newsletter-message {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  min-height: 1.4em;
  transition: color 0.3s;
}

.newsletter-message.success { color: #6fcf97; }
.newsletter-message.error   { color: #e07070; }

/* ══════════════════════════════════════════════════
   FOOTER — Polished two-column layout
══════════════════════════════════════════════════ */

/* Footer is always dark navy — both light and dark mode.
   Override CSS tokens inside #footer so all children use dark-mode colours. */
#footer {
  background: #0d1530;
  position: relative;
  /* Scoped token overrides so text/borders/cards stay dark-mode inside footer */
  --text:        #f0e8d5;
  --text-dim:    #9a8f7a;
  --bg-card:     #111d3a;
  --border:      rgba(197,160,89,0.2);
  --border-hover:rgba(197,160,89,0.35);
  --gold:        #c5a059;
  color: #f0e8d5;
}

/* ── Gold ornament line — shared by footer + section headers ── */
.section-ornament,
.footer-ornament {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(197,160,89,0.20) 15%,
    rgba(197,160,89,0.65) 50%,
    rgba(197,160,89,0.20) 85%,
    transparent 100%
  );
  margin: 0;
}

/* Footer ornament is the transition seam between newsletter and footer.
   In light mode (white above → navy below) needs a bit more presence. */
.footer-ornament {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(197,160,89,0.18) 10%,
    rgba(197,160,89,0.75) 50%,
    rgba(197,160,89,0.18) 90%,
    transparent 100%
  );
}

/* Narrower version for inside section headers */
.section-ornament {
  max-width: 280px;
  margin: 0.9rem auto;
}

/* ── 3-column inner grid ───────────────────────── */
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Col 1: Brand ──────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  width: fit-content;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(197,160,89,0.18),
    0 0 28px rgba(197,160,89,0.14),
    0 4px 16px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s var(--ease-gold);
}
.footer-logo:hover .footer-logo-img {
  box-shadow:
    0 0 0 1px rgba(197,160,89,0.32),
    0 0 40px rgba(197,160,89,0.22),
    0 4px 20px rgba(0,0,0,0.5);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.2;
}

/* .footer-logo-city is weg — "Amsterdam" staat niet meer onder het logo,
   niet in de navigatie en niet in de footer (Frits, 26 aug). */

.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;         /* was 300 — too thin */
  font-size: 1.1rem;
  color: var(--text);       /* was text-dim — too pale */
  opacity: 0.8;
  line-height: 1.55;
}

.footer-founders {
  font-family: var(--font-ui);
  font-size: 0.72rem;       /* was 0.55rem — too small */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.85;            /* was 0.55 — too faint */
}

/* ── Col label (shared) ────────────────────────── */
.footer-col-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;        /* was 0.6rem */
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* ── Col 2: Links ──────────────────────────────── */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;       /* was 0.65rem */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, gap 0.2s;
  width: fit-content;
}
.footer-link:hover { color: var(--gold); gap: 0.65rem; }

.footer-link-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-link:hover .footer-link-icon { opacity: 1; }

/* ── Col 3: App badges ─────────────────────────── */
.footer-app-note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(197,160,89,0.30);
  border-radius: 10px;
  background: rgba(197,160,89,0.06);
  opacity: 0.85;
  cursor: default;
  user-select: none;
  width: 65%;               /* 35% shorter than full column — clean proportions */
}

.footer-badge-icon {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.footer-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-badge-store {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;       /* was 0.82rem */
  color: var(--text);
  line-height: 1.2;
}

/* ── Bottom bar ────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(197,160,89,0.08);
  padding: 1.25rem 2.5rem;
  max-width: 1140px;
  margin: 0 auto;
  /* Kolom, niet rij: de bedrijfsregel is te lang om naast de links te
     staan — op een telefoon werden het twee smalle koker-kolommen. */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

/* De regel met handelsnaam, adres, KvK en btw. Mollie controleert of die
   op de site staat — zie help.mollie.com, "Welke informatie moet er op mijn
   website staan?". Niet weghalen omdat hij zakelijk oogt: zonder deze regel
   kan Mollie niet vaststellen dat de site van ons is, en dat is een grond
   om uitbetalingen stop te zetten. */
.footer-bedrijf {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  opacity: 0.4;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 0.65rem;       /* was 0.52rem */
  letter-spacing: 0.1em;
  color: var(--text-dim);
  opacity: 0.55;            /* was 0.4 */
}

/* De OpenStreetMap-vermelding (ODbL) staat als link in de onderregel. Zelfde
   goud met dunne lijn als shop.css al gaf, zodat hij op elke pagina gelijk
   oogt, ook waar shop.css niet geladen wordt. */
.footer-bottom .footer-copyright a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(197,160,89,0.35);
}
.footer-bottom .footer-copyright a:hover { border-bottom-color: var(--gold); }

/* ── Footer responsive ─────────────────────────── */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  /* Brand spans full width on tablet */
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
    gap: 2rem;
  }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding: 1rem 1.5rem; }
}

/* ── Particles ────────────────────────────────────────────── */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
}

/* ── Scroll-reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-gold), transform 0.7s var(--ease-gold);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Utilities ────────────────────────────────────────────── */
.gold { color: var(--gold); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --anker-marge: 88px; } /* balk is hier 80px */
  #nav { padding: 1rem 1.25rem; }
  .nav-logo-text { display: none; }
  .nav-cta { padding: 0.45rem 0.9rem; font-size: 0.6rem; }

  #timeline-horizontal { left: 1.25rem; right: 1.25rem; }
  .tl-minor { display: none; }

  .portal-progress { padding: 0 1.25rem 0.4rem; }

  .hero-content { padding: 1.25rem; }

  .section { padding: 5rem 1.25rem; }

  /* newsletter is al column + full-width op alle schermgroottes */

}

@media (max-width: 480px) {
  .hero-tagline { font-size: clamp(1.8rem, 10vw, 2.5rem); }
}

/* ── Phone screen screenshots ─────────────────────────── */

/* Screenshots: fill the phone screen, top-aligned so UI is visible */
.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
  /* When the image file is missing, show a neutral dark background
     instead of the browser's broken-image icon */
  background: #0d1530;
}

/* Broken <img> — hide the broken icon, keep the dark background */
.phone-screen img:-moz-broken { opacity: 0; }

/* Play button used inside benefit 3 video preview */
.screen-play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #0d1530;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, background 0.15s ease;
  position: relative; /* anchor for halo pseudo-elements */
}
.screen-play-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

/* Two offset halo rings on video play button — wit op donkere achtergrond */
.screen-play-btn::before,
.screen-play-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  animation: haloFade 3.6s ease-out infinite;
  pointer-events: none;
}
.screen-play-btn::after {
  animation-delay: 1.8s;
}

/* ── Gold shimmer — kleur-animatie zonder background-clip: text ──
   background-clip: text knipt ascenders (f) en descenders (g) af
   omdat Lora italic buiten de layout-box uitsteekt.
   Oplossing: gewone color-animatie, geen transparantie-truc.       */
@keyframes goldShimmer {
  0%, 100% {
    color: #7d6430;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  }
  50% {
    color: #9a7a3f;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 40px rgba(154,122,63,0.2);
  }
}

.hero-tagline.gold-shimmer {
  color: #9a7a3f;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  animation: goldShimmer 3s ease-in-out infinite;
}
