/* =============================================================
   FEMKE — 40 JAAR
   Een cadeau-website in de sfeer van een luxe reismagazine.

   Inhoud
   01 · Design tokens
   02 · Reset & basis
   03 · Typografie & gedeelde elementen
   04 · Scrollvoortgang & korrel
   05 · Sectie 1 — Hero
   06 · Sectie 2 — Videoboodschappen
   07 · Sectie 3 — De onthulling
   08 · Sectie 4 — Reismagazine
   09 · Sectie 5 — Routekaart
   10 · Sectie 6 — Tijdlijn
   11 · Sectie 7 — Slot
   12 · Responsive (met extra aandacht voor iPad)
   13 · Toegankelijkheid & print
   ============================================================= */


/* =============================================================
   01 · DESIGN TOKENS
   ============================================================= */
:root {
  /* Kleuren — zacht wit, warm zand, terracotta, diep oceaanblauw, subtiel goud */
  --paper:        #FBF8F4;
  --paper-warm:   #F6F0E8;
  --sand:         #EADFD1;
  --sand-deep:    #D9C7B0;
  --clay:         #C2673C;
  --clay-soft:    #D98B62;
  --ocean:        #123A4B;
  --ocean-soft:   #1F5468;
  --gold:         #C4A264;
  --gold-light:   #E3CFA6;

  --ink:          #2A2521;
  --ink-soft:     #6B6058;
  --ink-faint:    #9A9089;
  --line:         rgba(42, 37, 33, 0.10);

  /* Typografie */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Vloeiende schaal */
  --fs-eyebrow: clamp(0.68rem, 0.62rem + 0.25vw, 0.8rem);
  --fs-body:    clamp(1rem, 0.95rem + 0.28vw, 1.15rem);
  --fs-lede:    clamp(1.08rem, 1rem + 0.5vw, 1.35rem);
  --fs-h3:      clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --fs-h2:      clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem);
  --fs-xl:      clamp(2.6rem, 1.3rem + 5vw, 6rem);
  --fs-hero:    clamp(2.5rem, 1rem + 6.2vw, 7rem);

  /* Ruimte */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --wrap: 1280px;
  --section-y: clamp(5.5rem, 10vw, 11rem);

  /* Vorm */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  /* Schaduw — altijd zacht, nooit hard */
  --shadow-sm: 0 2px 10px rgba(42, 37, 33, 0.05);
  --shadow-md: 0 18px 44px -22px rgba(42, 37, 33, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(18, 58, 75, 0.40);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}


/* =============================================================
   02 · RESET & BASIS
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3, p, blockquote, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }


/* =============================================================
   03 · TYPOGRAFIE & GEDEELDE ELEMENTEN
   ============================================================= */
.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ocean);
}
.display--xl { font-size: var(--fs-xl); }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.1rem;
}

.lede {
  font-size: var(--fs-lede);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 1.5rem;
}

.dateline {
  margin-top: 2rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section-head { max-width: 780px; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lede { margin-inline: auto; }

.rule {
  display: inline-block;
  width: clamp(28px, 6vw, 60px);
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  vertical-align: middle;
}


/* =============================================================
   04 · SCROLLVOORTGANG & KORREL
   ============================================================= */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 900;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--clay), var(--gold));
  transition: width 0.12s linear;
}

/* Zachte filmkorrel voor een gedrukte, warme uitstraling */
.grain {
  position: fixed;
  inset: 0;
  z-index: 800;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* =============================================================
   05 · SECTIE 1 — HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ocean);
  isolation: isolate;
}

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

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.12);
  animation: kenburns 26s var(--ease-soft) forwards;
}

/* Elegante donkere gradient voor leesbaarheid */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(10, 26, 34, 0.10) 0%, rgba(10, 26, 34, 0.55) 62%, rgba(8, 20, 27, 0.80) 100%),
    linear-gradient(180deg, rgba(12, 30, 40, 0.55) 0%, rgba(12, 30, 40, 0.15) 32%, rgba(10, 24, 32, 0.70) 100%);
}

.hero__inner {
  position: relative;
  text-align: center;
  padding: 12vh var(--gutter) 18vh;
  max-width: 1120px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 252, 246, 0.72);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #FFFDF9;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

/* Woord-voor-woord opkomen: filmisch en rustig */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
  animation: wordRise 1.5s var(--ease) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.11s);
}

.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  font-weight: 200;
  letter-spacing: 0.02em;
  color: rgba(255, 250, 243, 0.80);
}

[data-hero-step] {
  opacity: 0;
  transform: translateY(14px);
  animation: softRise 1.4s var(--ease) forwards;
}
[data-hero-step="1"] { animation-delay: 0.15s; }
[data-hero-step="2"] { animation-delay: 1.5s; }
[data-hero-step="3"] { animation-delay: 2.2s; }

.scroll-cue {
  position: absolute;
  bottom: clamp(1.75rem, 5vh, 3.25rem);
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  color: rgba(255, 252, 246, 0.7);
  z-index: 2;
}
.scroll-cue__label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}
.scroll-cue__line {
  position: relative;
  display: block;
  width: 1px;
  height: 58px;
  background: rgba(255, 252, 246, 0.22);
  overflow: hidden;
}
.scroll-cue__line span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  animation: cueDrop 2.6s var(--ease-soft) infinite;
}

@keyframes kenburns {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}
@keyframes wordRise {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes softRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cueDrop {
  0%   { transform: translateY(-100%); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translateY(250%); opacity: 0; }
}


/* =============================================================
   06 · SECTIE 2 — VIDEOBOODSCHAPPEN
   ============================================================= */
.section--memories {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 55%, var(--paper) 100%);
  overflow: hidden;
}

.memories {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.memories__swiper {
  padding-block: 1.5rem 2.5rem;
  padding-inline: 0;
  overflow: visible;
}

.memories .swiper-slide {
  width: min(86vw, 780px);
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
  transform: scale(0.9);
  opacity: 0.42;
}
.memories .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

/* Videokaart */
.vcard {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #1B3D4C, #0E2734);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.vcard__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0E2734;
}

/* Zachte gradient onderin de kaart voor de tekst */
.vcard__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 30, 0.28) 0%, rgba(8, 22, 30, 0) 38%, rgba(8, 22, 30, 0.72) 100%);
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.vcard.is-playing .vcard__veil { opacity: 0; }

.vcard__meta {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.25rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  right: clamp(1.25rem, 3vw, 2.25rem);
  color: #FFFCF7;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.vcard.is-playing .vcard__meta {
  opacity: 0;
  transform: translateY(10px);
}
.vcard__role {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}
.vcard__name {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
}

/* Afspeelknop */
.vcard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: opacity 0.5s var(--ease);
}
.vcard.is-playing .vcard__play { opacity: 0; pointer-events: none; }

.vcard__play-circle {
  width: clamp(66px, 9vw, 94px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 249, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 253, 249, 0.4);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.vcard__play:hover .vcard__play-circle,
.vcard__play:focus-visible .vcard__play-circle {
  transform: scale(1.08);
  background: rgba(255, 253, 249, 0.26);
}
.vcard__play-circle svg {
  width: 32%;
  translate: 8% 0;
  fill: #FFFDF9;
}

/* Zachte gloed rond de actieve kaart */
.memories .swiper-slide-active .vcard::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(227, 207, 166, 0.28);
  pointer-events: none;
}

/* Navigatie */
.nav-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 12;
  width: clamp(46px, 5vw, 58px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), background 0.4s var(--ease);
}
.nav-btn svg { width: 42%; }
.nav-btn:hover { transform: translateY(-50%) scale(1.07); background: #fff; }
.nav-btn--prev { left: clamp(0.75rem, 3vw, 3rem); }
.nav-btn--next { right: clamp(0.75rem, 3vw, 3rem); }
.nav-btn.is-disabled { opacity: 0.25; pointer-events: none; }

.memories__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  flex-wrap: wrap;
  padding-inline: var(--gutter);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand-deep);
  transition: all 0.5s var(--ease);
}
.dot.is-active {
  width: 30px;
  border-radius: 4px;
  background: var(--clay);
}

.memories__hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
}


/* =============================================================
   07 · SECTIE 3 — DE ONTHULLING
   ============================================================= */
.reveal {
  position: relative;
  height: 340vh;           /* geeft de scroll-choreografie de ruimte */
  background: var(--paper);
}

.reveal__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.reveal__bg { position: absolute; inset: 0; z-index: -3; }

/* Warme familietinten */
.reveal__bg--warm {
  background:
    radial-gradient(90% 70% at 50% 30%, #FDF7EF 0%, #F1E2CE 48%, #E3C9AC 100%);
}
/* Mediterraan: zeelucht, zon en zout */
.reveal__bg--sea {
  opacity: 0;
  background:
    radial-gradient(70% 55% at 50% 12%, rgba(255, 236, 199, 0.95) 0%, rgba(255, 214, 160, 0.35) 34%, rgba(255, 214, 160, 0) 62%),
    linear-gradient(180deg, #8FCBD8 0%, #4A9DB5 38%, #1F6C88 68%, #123A4B 100%);
}

.reveal__sun {
  position: absolute;
  z-index: -2;
  top: 18%;
  left: 50%;
  width: min(90vw, 760px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 170, 0.85) 0%, rgba(255, 205, 140, 0.35) 42%, rgba(255, 205, 140, 0) 70%);
  opacity: 0;
  filter: blur(6px);
}

/* Trage lichtglans over de onthulling */
.reveal__shimmer {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.18) 50%, transparent 62%);
  translate: -60% 0;
  opacity: 0;
  pointer-events: none;
}
.reveal.is-lit .reveal__shimmer {
  animation: shimmer 3.4s var(--ease-soft) 0.4s;
}
@keyframes shimmer {
  0%   { translate: -70% 0; opacity: 0; }
  25%  { opacity: 1; }
  100% { translate: 70% 0; opacity: 0; }
}

.reveal__content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding-inline: var(--gutter);
  text-align: center;
}

.reveal__lines { position: relative; }

.reveal__line {
  position: absolute;
  inset: auto 0 auto 0;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 1rem + 4vw, 4.2rem);
  line-height: 1.2;
  color: var(--ocean);
  opacity: 0;
  filter: blur(10px);
  transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  text-wrap: balance;
}
.reveal__line.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.reveal__line--number span {
  font-size: 1.7em;
  font-weight: 300;
  color: var(--clay);
  letter-spacing: -0.03em;
}

/* De onthulling zelf */
.reveal__final {
  opacity: 0;
  transform: scale(0.94);
  filter: blur(14px);
  transition: opacity 1.3s var(--ease), transform 1.6s var(--ease), filter 1.3s var(--ease);
}
.reveal__final.is-visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.reveal__kicker {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 252, 245, 0.8);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.reveal__headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.4rem, 0.8rem + 7.2vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #FFFDF8;
  text-transform: uppercase;
  text-shadow: 0 4px 60px rgba(6, 32, 45, 0.45);
}
.reveal__headline span { display: inline-block; }
.reveal__headline .gold {
  background: linear-gradient(100deg, #F3DFB4 0%, #C4A264 42%, #FBEFD3 62%, #C4A264 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.reveal__meta {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 252, 245, 0.86);
  flex-wrap: wrap;
}
.reveal__meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0.8;
}


/* =============================================================
   08 · SECTIE 4 — REISMAGAZINE
   ============================================================= */
.section--brochure {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 70%, var(--paper-warm) 100%);
}

/* Redactionele spreads */
.spread {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  margin-top: clamp(4rem, 9vw, 8rem);
}
.spread--reverse .spread__media { order: 2; }

.spread__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.spread__media img {
  width: 100%;
  height: 108%;
  object-fit: cover;
  will-change: transform;
}

.spread__body .display { margin-bottom: 1.6rem; }
.spread__body p {
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 1.1rem;
  font-size: var(--fs-lede);
  line-height: 1.7;
}

/* Citaat */
.pullquote {
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--ocean);
  color: #FBF6EC;
  text-align: center;
  border-radius: var(--r-xl);
  margin-inline: var(--gutter);
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 100% at 50% 0%, rgba(196, 162, 100, 0.22), transparent 65%);
}
.pullquote blockquote {
  position: relative;
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 0.9rem + 2.4vw, 3.1rem);
  line-height: 1.28;
  text-wrap: balance;
}

/* Bestemmingskaarten */
.cards {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.card--wide { grid-column: span 2; }
.card--tall { grid-row: span 2; }

.card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  min-height: clamp(280px, 34vw, 380px);
  display: flex;
  align-items: flex-end;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.card--tall { min-height: clamp(320px, 46vw, 500px); }

@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .card:hover .card__media img { transform: scale(1.06); }
}

.card__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 30, 40, 0) 30%, rgba(12, 30, 40, 0.30) 58%, rgba(10, 26, 35, 0.82) 100%);
}

.card__body {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  color: #FFFCF6;
}
.card__no {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}
.card__body h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.08;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}
.card__body p {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 250, 242, 0.84);
  max-width: 38ch;
}


/* =============================================================
   09 · SECTIE 5 — ROUTEKAART
   ============================================================= */
.section--map {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 40%);
}

.map-frame {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #EDE7DE;
}
#map {
  height: clamp(420px, 62vh, 680px);
  width: 100%;
  z-index: 1;
}

.map-frame__legend {
  position: absolute;
  left: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.05rem;
  border-radius: 100px;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legend-dot {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--clay);
}

/* Aangepaste markers */
.pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 6px;
  rotate: -45deg;
  background: linear-gradient(150deg, var(--clay-soft), var(--clay));
  border: 2px solid #FFFDF9;
  box-shadow: 0 8px 18px -6px rgba(18, 58, 75, 0.55);
  transition: transform 0.35s var(--ease);
}
.pin span {
  rotate: 45deg;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: #FFFDF9;
}
.pin--ocean { background: linear-gradient(150deg, var(--ocean-soft), var(--ocean)); }
.pin--sm { width: 22px; height: 22px; border-width: 1.5px; }
.pin--sm span { font-size: 0.9rem; line-height: 0; }
.pin-wrap { background: none; border: 0; }
.leaflet-marker-icon:hover .pin { transform: scale(1.14); }

/* Popups in dezelfde stijl als de site */
.leaflet-popup-content-wrapper {
  border-radius: var(--r-md) !important;
  background: #FFFDF9;
  box-shadow: var(--shadow-lg) !important;
  padding: 0.35rem 0.3rem;
}
.leaflet-popup-content {
  margin: 1.1rem 1.35rem !important;
  font-family: var(--sans);
  line-height: 1.6;
  width: auto !important;
  min-width: 200px;
}
.leaflet-popup-tip { background: #FFFDF9; }
.leaflet-popup-close-button { color: var(--ink-faint) !important; }

.pop__no {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
}
.pop__title {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ocean);
  margin: 0.25rem 0 0.5rem;
}
.pop__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.pop__act {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ocean);
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.pop__act strong { font-weight: 500; }

.leaflet-container { font-family: var(--sans); background: #E9E3DA; }
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255, 253, 249, 0.8) !important;
}
.leaflet-control-zoom a {
  border-radius: 10px !important;
  color: var(--ocean) !important;
  border-color: var(--line) !important;
}

/* Routestappen onder de kaart */
.route-chips {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.35rem;
  align-items: center;
}
.route-chips li { display: flex; align-items: center; gap: 0.35rem; }
.route-chips button {
  padding: 0.5rem 1.05rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #FFFDF9;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
}
.route-chips button:hover,
.route-chips button:focus-visible {
  color: #FFFDF9;
  background: var(--ocean);
  border-color: var(--ocean);
  transform: translateY(-2px);
}
.route-chips .arrow { color: var(--sand-deep); font-size: 0.8rem; }


/* =============================================================
   10 · SECTIE 6 — TIJDLIJN
   ============================================================= */
.section--timeline { background: var(--paper); }

.timeline {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 1rem;
}
/* De lijn zelf */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  translate: -50% 0;
  background: linear-gradient(180deg, transparent, var(--sand-deep) 12%, var(--sand-deep) 88%, transparent);
}

.timeline__item {
  position: relative;
  width: 50%;
  padding-right: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.timeline__item:nth-child(even) {
  margin-left: auto;
  padding-right: 0;
  padding-left: clamp(2rem, 4vw, 3.5rem);
  text-align: left;
}
.timeline__item:nth-child(odd) { text-align: right; }

/* Het punt op de lijn */
.timeline__item::after {
  content: "";
  position: absolute;
  top: clamp(1.9rem, 3vw, 2.4rem);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--clay);
  box-shadow: 0 0 0 5px var(--paper);
}
.timeline__item:nth-child(odd)::after  { right: clamp(-5.5px, -0.35vw, -5.5px); right: -5.5px; }
.timeline__item:nth-child(even)::after { left: -5.5px; }

.timeline__card {
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
@media (hover: hover) {
  .timeline__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}
.timeline__date {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
}
.timeline__card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem);
  color: var(--ocean);
  line-height: 1.12;
  margin-bottom: 0.5rem;
}
.timeline__card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}


/* =============================================================
   11 · SECTIE 7 — SLOT
   ============================================================= */
.finale {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(5rem, 12vw, 9rem);
  background:
    linear-gradient(180deg, #FBF8F4 0%, #FBEEDD 22%, #F6D3AE 52%, #E7A87C 76%, #C2673C 100%);
}

.finale__glow {
  position: absolute;
  z-index: -1;
  bottom: -28vh;
  left: 50%;
  translate: -50% 0;
  width: min(150vw, 1400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 183, 0.9) 0%, rgba(255, 205, 150, 0.35) 40%, rgba(255, 205, 150, 0) 68%);
  animation: breathe 11s var(--ease-soft) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.07); opacity: 1; }
}

.finale__inner { position: relative; max-width: 900px; }

.finale__heart {
  width: clamp(38px, 5vw, 54px);
  color: var(--clay);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  opacity: 0.85;
  animation: heartbeat 3.6s var(--ease-soft) infinite;
}
@keyframes heartbeat {
  0%, 100%   { transform: scale(1); }
  8%         { transform: scale(1.13); }
  16%        { transform: scale(1); }
  24%        { transform: scale(1.09); }
  34%        { transform: scale(1); }
}

.finale__text {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 0.9rem + 3.4vw, 4rem);
  line-height: 1.22;
  color: var(--ocean);
  text-wrap: balance;
}
.finale__signoff {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 0.9rem + 1.6vw, 2.2rem);
  color: #7A3D22;
}
.finale__mark {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.85);
}

/* Zachte opstijgende hartjes */
.finale__hearts { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.float-heart {
  position: absolute;
  bottom: -6%;
  color: rgba(255, 255, 255, 0.55);
  animation: floatUp linear infinite;
}
.float-heart svg { width: 100%; height: auto; fill: currentColor; }
@keyframes floatUp {
  0%   { transform: translateY(0) scale(0.85) rotate(-6deg); opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: 0.7; }
  100% { transform: translateY(-108vh) scale(1.05) rotate(8deg); opacity: 0; }
}


/* =============================================================
   12 · RESPONSIVE
   ============================================================= */

/* — iPad landscape / kleine laptop — */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card--wide { grid-column: span 2; }
  .card--tall { grid-row: span 1; min-height: clamp(280px, 34vw, 380px); }
}

/* — iPad portrait (het belangrijkste scherm) — */
@media (max-width: 1024px) {
  :root { --wrap: 900px; }

  .memories .swiper-slide { width: min(88vw, 720px); }

  .spread {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.75rem);
  }
  .spread--reverse .spread__media { order: 0; }
  .spread__media { aspect-ratio: 16 / 11; }
  .spread__body p { max-width: 60ch; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }

  #map { height: clamp(400px, 58vh, 560px); }

  /* Tijdlijn wordt één kolom met de lijn links */
  .timeline::before { left: 6px; translate: 0 0; }
  .timeline__item,
  .timeline__item:nth-child(even),
  .timeline__item:nth-child(odd) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding-left: clamp(2rem, 5vw, 2.75rem);
    padding-right: 0;
  }
  .timeline__item:nth-child(odd)::after,
  .timeline__item:nth-child(even)::after { left: 0.5px; right: auto; }
}

/* — Telefoon — */
@media (max-width: 680px) {
  :root { --section-y: clamp(4rem, 14vw, 6rem); }

  .hero__inner { padding-block: 16vh 22vh; }
  .hero__eyebrow { letter-spacing: 0.3em; }

  .memories .swiper-slide { width: 84vw; }
  .memories .swiper-slide { transform: scale(0.94); opacity: 0.5; }
  .vcard { aspect-ratio: 4 / 5; }

  .nav-btn { display: none; }   /* op telefoon is vegen natuurlijker */

  .reveal { height: 320vh; }

  .pullquote { margin-inline: 0; border-radius: var(--r-lg); }

  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }

  .map-frame { border-radius: var(--r-lg); }
  #map { height: 62vh; }

  .route-chips { justify-content: flex-start; }
}


/* =============================================================
   13 · TOEGANKELIJKHEID & PRINT
   ============================================================= */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respecteer de voorkeur voor minder beweging: alles zichtbaar, niets beweegt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero__title .word,
  [data-hero-step] { opacity: 1; transform: none; filter: none; }
  .hero__img { transform: none; }

  /* De onthulling wordt een rustige, statische pagina */
  .reveal { height: auto; }
  .reveal__stage { position: relative; height: auto; padding-block: 6rem; }
  .reveal__lines {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .reveal__line {
    position: static;
    opacity: 1;
    filter: none;
    transform: none;
    translate: 0 0;
  }
  .reveal__final { opacity: 1; transform: none; filter: none; }
  .reveal__bg--sea { opacity: 1; }
  .reveal__line { color: #FFFDF8; }
  .reveal__line--number span { color: var(--gold-light); }
}

@media print {
  .grain, .scroll-progress, .nav-btn, .scroll-cue { display: none; }
  body { background: #fff; }
}
