/* =============================================================
   Yarha & Fimme — 19 · 09 · 2026
   Warm cream, water blue, terracotta accent. Cormorant + Nunito Sans.
   ============================================================= */

/* ----------------------------- Fonts ------------------------ */
/* Cooper BT — drops in automatically once font files land in
   public/fonts/cooper-bt/. font-display: swap keeps a clean serif
   fallback (Cormorant Garamond) until the files are present. */
@font-face {
  font-family: "Cooper BT";
  src: url("../fonts/cooper-bt/CoopeBTLig.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../fonts/cooper-bt/CoopeBTLigIta.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../fonts/cooper-bt/Cooper BT.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../fonts/cooper-bt/CoopeBTMed.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../fonts/cooper-bt/CoopeBTMedIta.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../fonts/cooper-bt/CoopeBTBlaHea.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../fonts/cooper-bt/CoopeBTBlaItaHea.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ----------------------------- Tokens ----------------------- */
:root {
  --cream:      #f5f1d8; /* page background (warm beige) */
  --gold:       #EBC77E; /* muted gold, used sparingly */
  --blue-grey:  #A6B6AC; /* soft water blue-grey, warmed */
  --teal:       #6A827B; /* slate teal, labels & rules, warmed */
  --ink:        #312216; /* dark brown, all type       */
  --terracotta: #C25E4B; /* single accent              */
  --terracotta-deep: #A94A38;
  --paper:      #FBF6EC; /* paper white, cards         */

  --hairline:   rgba(106, 130, 123, 0.40); /* teal @ 40% */
  --hairline-soft: rgba(106, 130, 123, 0.22);

  --water-bg:   #DCE6E9; /* pale wash of blue-grey for water sections */

  --font-display: "Cooper BT", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 62ch;
  --pad-section: clamp(6rem, 12vw, 10rem);
  --pad-x: clamp(1.35rem, 5vw, 4rem);

  --header-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1); /* ~power2.out */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.15rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle SVG paper-noise overlay ~4% over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(194, 94, 75, 0.22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ------------------------- Typography ----------------------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 1.1rem;
}
.eyebrow--sm { font-size: 0.66rem; margin-bottom: 0.6rem; }
.eyebrow--light { color: rgba(251, 246, 236, 0.92); }

.num {
  font-family: var(--font-display);
  font-weight: 300;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.02em;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.section__title em {
  font-style: italic;
  color: var(--teal);
}
/* Bescheidener maat voor utility-secties (Praktisch, FAQ) —
   het grote corps blijft voor de emotionele momenten. */
.section__title--sm { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }

h3 { font-weight: 500; }

a { color: var(--terracotta); text-decoration: none; }

strong { font-weight: 700; }

/* Animated underline for inline body links */
.panel__text a,
.callout a,
.section__intro a,
.cadeau__text a {
  position: relative;
  color: var(--terracotta);
}
.panel__text a::after,
.callout a::after,
.section__intro a::after,
.cadeau__text a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.panel__text a:hover::after,
.callout a:hover::after,
.section__intro a:hover::after,
.cadeau__text a:hover::after { transform: scaleX(1); }

/* --------------------------- Layout ------------------------- */
.section {
  position: relative;
  z-index: 2;
  padding: var(--pad-section) var(--pad-x);
}
.section > * { max-width: 1180px; margin-inline: auto; }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__intro {
  max-width: var(--measure);
  margin: 1.4rem 0 0;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}

/* Water-toned sections */
.section--water {
  background:
    linear-gradient(180deg,
      rgba(157, 180, 191, 0.0) 0%,
      rgba(157, 180, 191, 0.16) 12%,
      rgba(157, 180, 191, 0.16) 88%,
      rgba(157, 180, 191, 0.0) 100%);
}

/* ============================ HEADER ======================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1320px;
  margin-inline: auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
/* Scrolled state */
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
}
.site-header.is-scrolled .header-inner { height: 62px; }

/* Monogram lockup */
.monogram {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}
.monogram__amp {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  font-size: 0.92em;
}
/* Over the hero, before scroll, monogram is light */
.site-header:not(.is-scrolled) .monogram { color: var(--paper); }
.site-header:not(.is-scrolled) .monogram__amp { color: var(--gold); }

.primary-nav { margin-left: auto; }
.primary-nav__list {
  display: flex;
  gap: clamp(1rem, 2vw, 2.1rem);
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav__list a {
  position: relative;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.3rem 0;
}
.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.primary-nav__list a:hover::after,
.primary-nav__list a:focus-visible::after { transform: scaleX(1); }
.site-header:not(.is-scrolled) .primary-nav__list a { color: var(--paper); }

.header-cta { margin-left: 0.4rem; }

/* ---------------------------- Buttons ----------------------- */
.btn {
  --btn-bg: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.72em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  line-height: 1;
}
.btn--accent {
  background: var(--btn-bg);
  color: var(--paper);
}
.btn--accent:hover { background: var(--terracotta-deep); }
.btn--ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--hairline);
}
.btn--ghost:hover { background: rgba(94, 124, 137, 0.08); color: var(--ink); }

/* --------------------------- Hamburger ---------------------- */
.hamburger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.hamburger__line {
  position: absolute;
  left: 9px; right: 9px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.3s var(--ease);
}
.hamburger__line:nth-child(1) { top: 17px; }
.hamburger__line:nth-child(2) { top: 26px; }
.site-header:not(.is-scrolled) .hamburger__line { background: var(--paper); }
body.menu-open { overflow: hidden; }
body.menu-open .hamburger__line { background: var(--paper); }
body.menu-open .hamburger__line:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .hamburger__line:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ------------------------ Overlay menu ---------------------- */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.overlay-menu.is-open { opacity: 1; visibility: visible; }
.overlay-menu__nav {
  text-align: center;
  padding: 2rem;
}
.overlay-menu__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 2rem;
}
.overlay-menu__nav ul {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}
.overlay-menu__nav li { margin: 0.4rem 0; overflow: hidden; }
.overlay-menu__nav a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1.25;
  color: var(--paper);
  display: inline-block;
}
.overlay-menu__nav a:hover { color: var(--gold); }
.overlay-menu__date {
  margin-top: 2.5rem;
  color: rgba(251, 246, 236, 0.6);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

/* ============================= HERO ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--pad-x) 5rem;
  overflow: hidden;
  z-index: 2;
}
.hero__media {
  position: absolute;
  inset: -8% 0 0 0;   /* extra top room for parallax */
  z-index: -2;
  will-change: transform;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 34%, rgba(235, 199, 126, 0.22) 0%, rgba(235, 199, 126, 0) 55%),
    linear-gradient(180deg, rgba(49, 34, 22, 0.42) 0%, rgba(49, 34, 22, 0.18) 34%, rgba(49, 34, 22, 0.30) 66%, rgba(49, 34, 22, 0.62) 100%);
}
.hero__content { max-width: 60rem; }

.eyebrow--light { text-shadow: 0 1px 12px rgba(49,34,22,0.35); }

.hero__title {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 1.5rem + 9vw, 8rem);
  text-shadow: 0 2px 30px rgba(49, 34, 22, 0.35);
}
.hero__names em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  padding: 0 0.12em;
}
.hero__date {
  margin: 1.4rem 0 0;
  font-size: clamp(1.5rem, 0.9rem + 3vw, 3rem);
  color: var(--paper);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 20px rgba(49, 34, 22, 0.4);
}
.hero__meta {
  margin: 1.6rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(251, 246, 236, 0.86);
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(251, 246, 236, 0.8);
}
.hero__cue-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.64rem;
  font-weight: 700;
}
.hero__cue-line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(251,246,236,0.9), rgba(251,246,236,0));
  transform-origin: top;
  animation: cueDrift 2.4s var(--ease) infinite;
}
@keyframes cueDrift {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(14px); opacity: 0; }
}

/* ============================ INTRO ========================= */
.section--intro { padding-block: clamp(5rem, 10vw, 8rem); }
.intro {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.intro__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0.6rem 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.intro__lead em { font-style: italic; color: var(--teal); }
.intro__body {
  margin: 2rem auto 0;
  max-width: var(--measure);
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}

/* ========================== LOCATIES ======================== */
.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 52rem;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  padding: 1.5rem 1.8rem;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-left: 3px solid var(--terracotta);
  border-radius: 4px;
}
.callout__mark {
  flex: none;
  width: 8px; height: 8px;
  margin-top: 0.62em;
  background: var(--gold);
  transform: rotate(45deg);
}
.callout p { margin: 0; font-size: 0.98rem; }
.callout em { font-style: italic; color: var(--terracotta); font-weight: 600; }

.locations {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 6rem);
}
.location {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.location--reverse .location__icon { order: 2; }
.location--reverse .location__body { order: 1; text-align: right; }
.location__icon {
  display: grid;
  place-items: center;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(235, 199, 126, 0.28), rgba(235, 199, 126, 0) 68%),
    var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 6px;
  line-height: 1;
}
.location__icon { aspect-ratio: 4 / 3; }
.location__icon svg { width: clamp(64px, 8vw, 96px); height: auto; }
.location__icon img {
  width: clamp(150px, 20vw, 240px);
  max-width: 85%;
  max-height: 80%;
  height: auto;
  object-fit: contain;
}

/* Handgetekende lijniconen — zelfde streekstijl als het bootje in de divider */
.icon-line { display: block; }
.icon-line path,
.icon-line circle,
.icon-line rect {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-line--accent path,
.icon-line--accent rect { stroke: var(--terracotta); }
.location__label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.5rem;
}
.location__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}
.location__text {
  margin: 0;
  max-width: 40ch;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}
.location--reverse .location__text { margin-left: auto; }

/* ====================== SAILBOAT DIVIDER ==================== */
.boat-divider {
  position: relative;
  z-index: 2;
  height: 90px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(157,180,191,0) 0%, rgba(157,180,191,0.18) 100%);
}
.boat-divider__wave {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 60px;
}
.boat-divider__wave path { fill: rgba(157, 180, 191, 0.4); }
.boat-divider__boat {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 92px;
  height: auto;
  transform-origin: 50% 90%;
  will-change: transform;
}

/* ========================== PROGRAMMA ======================= */
.tabs__list {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--paper);
}
.tabs__tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 0.65em 1.5em;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.tabs__tab.is-active { background: var(--ink); color: var(--paper); }

/* Panels: without JS both are visible & stacked. With JS, only active shown. */
.tabs__panel[hidden] { display: block; }      /* no-JS: show evening programma too */
.js .tabs__panel[hidden] { display: none; }
.tabs__panel:not(:first-of-type) { margin-top: 3rem; }
.js .tabs__panel { margin-top: 0; }

/* Vertical timeline */
.timeline {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}
/* drawn centre line */
.timeline::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px;
  left: 120px;
  width: 1.5px;
  background: var(--hairline);
}
.timeline__fill {
  position: absolute;
  top: 6px;
  left: 120px;
  width: 1.5px;
  height: calc(100% - 12px);
  background: var(--terracotta);
  transform: scaleY(0);
  transform-origin: top;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__time {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem);
  color: var(--teal);
  text-align: right;
  padding-top: 0.1rem;
  line-height: 1;
}
.timeline__node {
  position: absolute;
  left: 120px;
  top: 0.55rem;
  width: 13px; height: 13px;
  transform: translate(-50%, 0);
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--terracotta);
  z-index: 2;
}
.timeline__node::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--terracotta);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}
.timeline__node.is-lit::after { transform: scale(1); }
.timeline__node--end { border-color: var(--teal); }
.timeline__node--end::after { background: var(--teal); }

.timeline__card { padding-top: 0.1rem; }
.timeline__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0 0 0.2rem;
}
.timeline__place {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0 0 0.5rem;
}
.timeline__desc {
  margin: 0;
  font-size: 0.96rem;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}

/* ========================== PRAKTISCH ======================= */
.praktisch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.panel {
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 6px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.panel__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.panel__text { margin: 0 0 1rem; color: color-mix(in srgb, var(--ink) 84%, transparent); }
.panel__text:last-child { margin-bottom: 0; }
.panel__note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--teal);
}
.panel--feature {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(235, 199, 126, 0.16), rgba(235, 199, 126, 0) 60%),
    var(--paper);
  border-left: 3px solid var(--gold);
}

/* thin-rule detail rows */
.detail-rows { margin: 0; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0.25rem;
  border-top: 1px solid var(--hairline);
}
.detail-row:last-child { border-bottom: 1px solid var(--hairline); }
.detail-row dt {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0;
}
.detail-row dd {
  margin: 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}
.detail-row--accent dd { color: var(--terracotta); }

/* ============================ RSVP ========================== */
.section--rsvp {
  background:
    linear-gradient(180deg, rgba(157,180,191,0.10), rgba(157,180,191,0.10));
}
.rsvp {
  max-width: 640px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 8px;
  padding: clamp(1.6rem, 4vw, 3rem);
}

/* step indicator */
.rsvp__steps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0 0 2.2rem;
  padding: 0;
  counter-reset: step;
}
.rsvp__steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--blue-grey);
}
.rsvp__steps li::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 0.9rem;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--teal);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.rsvp__steps li.is-active { color: var(--ink); }
.rsvp__steps li.is-active::before {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}
.rsvp__steps li.is-done::before {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper);
}

/* honeypot — visually hidden, still submittable */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* steps */
.rsvp-step[hidden] { display: block; }        /* no-JS: show all steps stacked */
.js .rsvp-step[hidden] { display: none; }
.rsvp-step {
  border: none;
  margin: 0; padding: 0;
  min-width: 0;
}
.rsvp-step:not(:first-of-type) { margin-top: 2.5rem; }
.js .rsvp-step { margin-top: 0; }
.rsvp-step__legend {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.4rem;
  padding: 0;
}

.field { margin-bottom: 1.4rem; }
.field > label,
.field--choice > legend {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  padding: 0;
}
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input::placeholder { color: color-mix(in srgb, var(--teal) 66%, transparent); }
.field input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(194, 94, 75, 0.14);
}
.field input[aria-invalid="true"] { border-color: var(--terracotta); }

.field--choice { border: none; padding: 0; margin-bottom: 1.4rem; min-width: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.choice:hover { border-color: var(--teal); }
.choice input { accent-color: var(--terracotta); width: 1rem; height: 1rem; margin: 0; }
.choice:has(input:checked) {
  border-color: var(--terracotta);
  background: rgba(194, 94, 75, 0.08);
}

.field__error {
  margin: 0.45rem 0 0;
  color: var(--terracotta-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.conditional { overflow: hidden; }

.rsvp-badge {
  margin: 0 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background: rgba(94, 124, 137, 0.10);
  border: 1px solid var(--hairline-soft);
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--teal);
}
.rsvp-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  transform: rotate(45deg);
}

.rsvp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.rsvp-form__status {
  margin: 1.2rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}
.rsvp-form__status.is-error {
  background: rgba(194, 94, 75, 0.10);
  color: var(--terracotta-deep);
  border: 1px solid rgba(194, 94, 75, 0.3);
}
.rsvp-form__status.is-loading { color: var(--teal); }

/* confirmation */
.rsvp-confirm { text-align: center; padding: 1rem 0; }
.rsvp-confirm__mark {
  display: inline-block;
  width: 46px;
  margin-bottom: 0.6rem;
}
.rsvp-confirm__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  margin: 0 0 0.8rem;
}
.rsvp-confirm__text {
  margin: 0 auto;
  max-width: 42ch;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}

/* ========================= OVERNACHTEN ====================== */
.lodging {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}
.marker-list {
  list-style: none;
  margin: 0; padding: 0;
}
.marker-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.98rem;
}
.marker-list li:last-child { border-bottom: none; }
.marker-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.25rem;
  width: 7px; height: 7px;
  background: var(--terracotta);
  transform: rotate(45deg);
}

/* =========================== CADEAU ========================= */
.section--cadeau {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(235, 199, 126, 0.16), rgba(235,199,126,0) 60%);
  text-align: center;
}
.cadeau { max-width: 44rem; margin-inline: auto; }
.cadeau__icon {
  display: inline-block;
  width: 58px;
  margin-bottom: 1.4rem;
}
.cadeau__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.3;
  margin: 1rem 0 1.4rem;
  color: var(--teal);
}
.cadeau__lead em { font-style: italic; }
.cadeau__text {
  margin: 0 auto;
  max-width: var(--measure);
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}

/* ============================= FAQ ========================== */
.accordion {
  max-width: 780px;
  margin-inline: auto;
}
.accordion__item { border-top: 1px solid var(--hairline); }
.accordion__item:last-child { border-bottom: 1px solid var(--hairline); }
.accordion h3 { margin: 0; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.accordion__trigger:hover { color: var(--terracotta); }
.accordion__marker {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
}
.accordion__marker::before,
.accordion__marker::after {
  content: "";
  position: absolute;
  background: var(--terracotta);
  top: 50%; left: 50%;
}
.accordion__marker::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.accordion__marker::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.accordion__trigger[aria-expanded="true"] .accordion__marker::after { transform: translate(-50%, -50%) scaleY(0); }

/* Without JS panels are fully visible; with JS they collapse (JS drives height). */
.accordion__panel[hidden] { display: block; }  /* neutralise UA [hidden]; keep measurable */
.accordion__panel { overflow: hidden; }
.js .accordion__panel { height: 0; }
.accordion__content {
  padding: 0 0.25rem 1.7rem;
  max-width: var(--measure);
}
.accordion__content p { margin: 0; color: color-mix(in srgb, var(--ink) 84%, transparent); }

/* ============================ FOOTER ======================== */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) var(--pad-x);
}
.site-footer__inner { max-width: 640px; margin-inline: auto; }
.monogram--footer {
  font-size: 2.4rem;
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.monogram--footer .monogram__amp { color: var(--gold); }
.site-footer__line {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--paper);
  margin: 0 0 0.8rem;
}
.site-footer__closing {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(244, 231, 206, 0.7);
}

/* ======================= Reveal defaults ==================== */
/* JS sets these to animate; plain fallback keeps content visible. */
.js [data-reveal] { opacity: 0; }
.js.reduced [data-reveal] { opacity: 1; }

/* ========================= Responsive ======================= */
@media (max-width: 860px) {
  .primary-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .location,
  .location--reverse {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .location--reverse .location__icon { order: 0; }
  .location--reverse .location__body { order: 0; text-align: left; }
  .location--reverse .location__text { margin-left: 0; }
  .location__icon {
    max-width: 240px;
    margin-inline: auto;
  }
  .location__icon img { width: clamp(130px, 40vw, 190px); }
}

@media (max-width: 560px) {
  .timeline::before,
  .timeline__fill { left: 8px; }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-left: 34px;
  }
  .timeline__time { text-align: left; }
  .timeline__node { left: 8px; top: 0.4rem; }
  .rsvp-actions { flex-direction: column-reverse; }
  .rsvp-actions .btn { width: 100%; }
  .rsvp__steps { gap: 0.6rem; }
  .rsvp__steps li span { display: none; }
}

/* ==================== Reduced motion ======================== */
@media (prefers-reduced-motion: reduce) {
  .hero__cue-line { animation: none; }
  * { scroll-behavior: auto; }
}

/* ==========================================================================
   PROGRAMMA — winding illustrated route map
   One vertical route on the beige background. Stops alternate left/right;
   each stop = watercolor icon + name + time. Soft hand-drawn watercolor
   "wake" strokes connect consecutive stops. Appended per build instructions.
   ========================================================================== */
.route {
  position: relative;
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 0;
  max-width: 36rem;
}

.route__stop {
  position: relative;
  width: max-content;
  max-width: 62%;
  margin-top: clamp(2.25rem, 6.5vw, 4rem);
  text-align: center;
  /* horizontal placement + reveal target set below / by main.js */
}
.route__stop:first-child { margin-top: 0; }

/* Icon, name, time sit above the connector trails */
.route__icon {
  display: block;
  width: clamp(84px, 18vw, 128px);
  height: auto;
  margin: 0 auto 0.5rem;
  position: relative;
  z-index: 2;
  /* soft drop so watercolor icons lift off the beige */
  filter: drop-shadow(0 6px 10px rgba(60, 70, 80, 0.12));
}

.route__name {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + 0.8vw, 1.4rem);
  line-height: 1.15;
  color: var(--ink, #2c2a27);
}

.route__time {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft, rgba(60, 55, 50, 0.7));
}

/* ---- Horizontal rhythm: icon centre as fraction of container width ---- */
/* Each stop is centred on its target percentage via translateX(-50%).    */
.route__stop { left: 50%; transform: translateX(-50%); }
.route__stop:nth-child(1) { left: 63%; }
.route__stop:nth-child(2) { left: 21%; }
.route__stop:nth-child(3) { left: 48%; }
.route__stop:nth-child(4) { left: 69%; }
.route__stop:nth-child(5) { left: 27%; }
.route__stop:nth-child(6) { left: 19%; }
.route__stop:nth-child(7) { left: 54%; }
.route__stop:nth-child(8) { left: 41%; }
.route__stop:nth-child(9) { left: 67%; }

/* Gentle vertical overlap variation so it flows, not a rigid grid */
.route__stop:nth-child(2) { margin-top: clamp(1.75rem, 5.5vw, 3.25rem); }
.route__stop:nth-child(4) { margin-top: clamp(2.75rem, 7.5vw, 4.5rem); }
.route__stop:nth-child(6) { margin-top: clamp(1.5rem, 5vw, 3rem); }
.route__stop:nth-child(8) { margin-top: clamp(2.5rem, 7vw, 4.25rem); }

/* ---- Connector trails: soft watercolor wake between stop N and N+1 ---- */
.route__trail {
  position: absolute;
  top: 58%;
  left: 50%;
  width: clamp(70px, 16vw, 118px);
  height: clamp(96px, 24vw, 158px);
  z-index: 0;
  overflow: visible;
  pointer-events: none;
  transform-origin: top center;
  /* slight blur for a watery, hand-painted softness */
  filter: blur(0.6px);
}
.route__trail-wide {
  stroke: rgba(157, 180, 191, 0.35);
  stroke-width: 10;
  stroke-linecap: round;
}
.route__trail-fine {
  stroke: rgba(122, 150, 163, 0.45);
  stroke-width: 4;
  stroke-linecap: round;
}

/* Lean each trail toward the next stop (rotate ~= horizontal delta).      */
/* translateX keeps the trail anchored under the icon after the -50% shift. */
.route__stop:nth-child(1) .route__trail { transform: translateX(-50%) rotate(-26deg) scaleX(1.25); }
.route__stop:nth-child(2) .route__trail { transform: translateX(-50%) rotate(18deg)  scaleX(1.1); }
.route__stop:nth-child(3) .route__trail { transform: translateX(-50%) rotate(14deg); }
.route__stop:nth-child(4) .route__trail { transform: translateX(-50%) rotate(-26deg) scaleX(1.25); }
.route__stop:nth-child(5) .route__trail { transform: translateX(-50%) rotate(-6deg); }
.route__stop:nth-child(6) .route__trail { transform: translateX(-50%) rotate(22deg)  scaleX(1.2); }
.route__stop:nth-child(7) .route__trail { transform: translateX(-50%) rotate(-9deg); }
.route__stop:nth-child(8) .route__trail { transform: translateX(-50%) rotate(17deg)  scaleX(1.1); }

@media (max-width: 30rem) {
  .route__stop { max-width: 74%; }
}

@media (prefers-reduced-motion: reduce) {
  .route__trail { filter: none; }
}
