/* ===================== RESET & TOKENS ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--demo-bar-h) + 20px);
}

:root {
  --bg: #F4EFE3;
  --bg-alt: #EBE3D2;
  --bg-white: #FFFFFF;
  --ink: #2B2822;
  --text: #6E6555;
  --text-light: #9C927F;
  --gold: #B08D4F;
  --gold-dark: #8C6E38;
  --gold-light: #E4D3AC;
  --line: rgba(176, 141, 79, .22);
  --line-soft: rgba(176, 141, 79, .12);
  --foil: linear-gradient(115deg, #8C6E38 0%, #B08D4F 25%, #E4D3AC 50%, #B08D4F 72%, #8C6E38 100%);
  --nav-h: 72px;
  --demo-bar-h: 52px;
  --names-style: normal;
  --font-names: 'Tangerine', cursive;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dark); }

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

@keyframes goldShimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.shimmer-text {
  background: var(--foil);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldShimmer 9s ease-in-out infinite alternate;
}
.shimmer-rule {
  display: inline-block;
  background: var(--foil);
  background-size: 200% auto;
  animation: goldShimmer 9s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* ===================== DEMO BAR ===================== */
.demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  height: var(--demo-bar-h);
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  background: rgba(246, 243, 234, .96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #E5E0D2;
  padding: 0 1rem;
  text-decoration: none;
}
.demo-bar:hover { background: rgba(246, 243, 234, 1); }
.demo-bar__logo { height: 40px; width: auto; flex-shrink: 0; }
.demo-bar__text { display: none; font-size: .72rem; letter-spacing: .01em; color: #6B6657; white-space: nowrap; }
.demo-bar__text strong { color: #2C2A24; font-weight: 600; }
@media (min-width: 560px) { .demo-bar__text { display: inline; } }
.demo-bar__sep { width: 1px; height: 14px; background: #D8D6C5; flex-shrink: 0; }
.demo-bar__cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  color: #5A6549; font-weight: 500; white-space: nowrap; flex-shrink: 0;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: var(--demo-bar-h); left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  padding: 0 clamp(1.1rem, 4vw, 2.25rem);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  border-bottom: 1px solid var(--line-soft);
}
.nav__logo {
  font-family: var(--font-names);
  font-size: 2.3rem; line-height: 1; padding-top: 4px;
  color: var(--gold);
}
.nav__logo em { font-family: var(--font-heading); font-size: 1.1rem; font-style: italic; vertical-align: middle; }
.nav__links { list-style: none; display: none; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: center; }
.nav__link { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); }
.nav__link:hover { color: var(--gold); }
.nav__rsvp {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold); border: 1.5px solid var(--gold); border-radius: 999px;
  padding: .5rem 1.25rem; transition: background .25s ease, color .25s ease;
}
.nav__rsvp:hover { background: var(--gold); color: #fff; }
.nav__burger {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 38px; height: 38px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav__burger span {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .3s ease, opacity .2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.75rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__link { font-family: var(--font-heading); font-size: 1.9rem; color: var(--ink); }
.mobile-menu__rsvp {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold);
  border: 1.5px solid var(--gold); border-radius: 999px; padding: .65rem 1.8rem; margin-top: .5rem;
}

/* ===================== KENNISMAKING POPUP ===================== */
.popup {
  position: fixed; left: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px); z-index: 650;
  width: min(340px, calc(100vw - 32px));
  background: #F6F3EA; border: 1px solid #E5E0D2; border-radius: 3px;
  box-shadow: 0 30px 60px -34px rgba(44, 42, 36, .42);
  padding: 20px 20px 22px;
  transform: translateY(140%); opacity: 0;
  transition: transform .56s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.popup.is-shown { transform: translateY(0); opacity: 1; }
.popup__close {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #6B6657; background: #FAF8F2; border: 1px solid #E5E0D2; border-radius: 50%;
  cursor: pointer; font-size: 1rem; line-height: 1; padding: 0;
}
.popup__close:hover { color: #2C2A24; background: #D8D6C5; }
.popup__logo-row { display: flex; align-items: center; margin-bottom: 1rem; }
.popup__logo { height: 40px; width: auto; }
.popup__title { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; line-height: 1.3; color: #2C2A24; margin: 0 0 .5rem; padding-right: 1.5rem; }
.popup__text { font-size: .85rem; line-height: 1.6; color: #6B6657; margin: 0 0 1rem; }
.popup__faces { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.15rem; }
.popup__avatars { display: flex; }
.popup__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #F6F3EA; }
.popup__avatar + .popup__avatar { margin-left: -10px; }
.popup__faces-label { font-size: .78rem; color: #6B6657; }
.popup__faces-label strong { color: #2C2A24; font-weight: 600; }
.popup__cta {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: #fff; background: #5A6549;
  border-radius: 999px; padding: .65rem 1.3rem;
}
.popup__cta:hover { background: #4B5640; color: #fff; }

/* ===================== SHARED SECTION HELPERS ===================== */
.eyebrow {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .3em;
  color: var(--gold); text-align: center; margin-bottom: .6rem;
}
.section-title {
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--ink); text-align: center; margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

/* ===================== HERO ===================== */
.hero {
  position: relative; display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--bg);
  padding-top: calc(var(--nav-h) + var(--demo-bar-h));
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.9fr 1fr; height: calc(100svh - var(--nav-h) - var(--demo-bar-h)); }
}
.hero__photo { position: relative; min-height: 66svh; overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(30,26,20,.62) 0%, rgba(30,26,20,.22) 42%, rgba(30,26,20,0) 72%);
}
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 4vw, 3rem);
  padding: 0 clamp(1.4rem, 5vw, 3rem); z-index: 2; pointer-events: none;
  animation: fadeInUp 1.1s ease .25s both;
}
.hero__eyebrow { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: .5rem; }
.hero__title {
  font-family: var(--font-names); font-style: var(--names-style); font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 6.5rem); line-height: .92;
  width: fit-content; padding: .04em .12em .16em 0;
}
.hero__sub { font-size: clamp(.82rem, 1.4vw, 1rem); letter-spacing: .06em; color: rgba(255,255,255,.92); max-width: 34ch; margin-top: .35rem; }

.hero__info {
  position: relative; background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(2.5rem, 5vw, 3rem) 1.5rem; min-height: 46svh;
}
.hero__info-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  max-width: 340px; width: 100%; animation: fadeInUp 1.1s ease .45s both;
}
.hero__monogram-wrap { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.hero__monogram { font-family: var(--font-names); font-style: var(--names-style); font-size: 3rem; line-height: 1; color: var(--gold); }
.hero__rule { width: 46px; height: 1.5px; }
.hero__venue { font-size: .74rem; text-transform: uppercase; letter-spacing: .28em; color: var(--text-light); }
.hero__date { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; color: var(--ink); }

.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; font-variant-numeric: tabular-nums; padding: .15rem 0 .35rem; }
.countdown__item { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 46px; }
.countdown__value { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1; color: var(--gold); letter-spacing: .02em; }
.countdown__label { font-size: .58rem; text-transform: uppercase; letter-spacing: .2em; color: var(--text-light); }

.hero__cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
  border: 1.5px solid var(--gold); border-radius: 999px; padding: .7rem 2rem; min-width: 220px;
  transition: background .25s ease, color .25s ease;
}
.hero__cta:hover { background: var(--gold); color: #fff; }

/* ===================== WELKOM ===================== */
.welcome { background: var(--bg-alt); padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; text-align: center; }
.welcome__inner { max-width: 640px; margin: 0 auto; }
.welcome__ornament { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--gold); opacity: .65; display: block; margin-bottom: .9rem; }
.welcome__eyebrow { font-size: .7rem; text-transform: uppercase; letter-spacing: .32em; color: var(--text-light); margin-bottom: 1.5rem; }
.welcome__date {
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.15; letter-spacing: .02em; margin-bottom: .9rem;
}
.welcome__venue { font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--ink); margin-bottom: .3rem; }
.welcome__region { font-size: .82rem; letter-spacing: .08em; color: var(--text-light); margin-bottom: 1.9rem; }
.welcome__text { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.85; color: var(--text); max-width: 52ch; margin: 0 auto; text-wrap: pretty; }
.welcome__divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.welcome__divider-line { width: 44px; height: 1px; background: var(--gold); opacity: .4; }
.welcome__divider-heart { color: var(--gold); opacity: .6; font-size: .9rem; }

/* ===================== PROGRAMMA ===================== */
.programma { background: var(--bg); padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; }
.programma__inner { max-width: 660px; margin: 0 auto; }
.timeline { position: relative; padding-left: 38px; list-style: none; }
.timeline__line { position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--gold); opacity: .25; }
.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item__dot { position: absolute; left: -33px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); z-index: 1; }
.timeline-item__time { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: .25rem; }
.timeline-item__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.35rem; color: var(--ink); margin-bottom: .15rem; }
.timeline-item__desc { font-style: italic; color: var(--text); line-height: 1.7; max-width: 34rem; }

/* ===================== LOCATIE ===================== */
.locatie { background: var(--bg-alt); padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; }
.locatie__inner { max-width: 1000px; margin: 0 auto; }
.locatie__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.5rem, 4vw, 2.5rem); align-items: stretch; }
.locatie__image { position: relative; border-radius: 14px; overflow: hidden; min-height: 300px; box-shadow: 0 8px 30px rgba(43,40,34,.1); }
.locatie__image img { width: 100%; height: 100%; object-fit: cover; }
.locatie__info { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.locatie__address { font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; color: var(--ink); margin-bottom: .3rem; }
.locatie__desc { line-height: 1.75; color: var(--text); }
.travel-list { display: flex; flex-direction: column; gap: 1.1rem; }
.travel-item { display: flex; gap: .9rem; align-items: flex-start; }
.travel-item__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .95rem;
}
.travel-item__title { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin-bottom: .15rem; }
.travel-item__desc { font-size: .92rem; line-height: 1.6; color: var(--text); }
.locatie__route-link {
  align-self: flex-start; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
  border: 1.5px solid var(--gold); border-radius: 999px; padding: .6rem 1.5rem;
  transition: background .25s ease, color .25s ease;
}
.locatie__route-link:hover { background: var(--gold); color: #fff; }

/* ===================== RSVP ===================== */
.rsvp { background: var(--bg); padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; }
.rsvp__inner { max-width: 600px; margin: 0 auto; }
.rsvp__deadline { font-family: var(--font-names); font-style: var(--names-style); font-size: 1.5rem; color: var(--gold); text-align: center; margin-bottom: 2.25rem; }
.form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group__hint { text-transform: none; letter-spacing: 0; color: var(--text-light); }
.form label {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink);
}
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; padding: .75rem 1rem; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg-white); border: 1.5px solid var(--line); border-radius: 8px; outline: none;
}
.form select, .form textarea { cursor: pointer; }
.form textarea { resize: vertical; cursor: auto; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.radio-group { display: flex; flex-direction: column; gap: .55rem; }
.radio-group__options { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-group__option { display: flex; align-items: center; gap: .5rem; color: var(--ink); cursor: pointer; }
.radio-group__option input { accent-color: var(--gold); width: 18px; height: 18px; cursor: pointer; }
.guest-box {
  display: none; flex-direction: column; gap: 1.4rem; border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 1.3rem;
}
.guest-box.is-shown { display: flex; }
.guest-box__row { display: flex; flex-direction: column; gap: 1.4rem; }
@media (min-width: 520px) { .guest-box__row { flex-direction: row; } .guest-box__row > * { flex: 1; } }
.rsvp__submit {
  align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 2.5rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em;
  background: var(--gold); color: #fff; border: 1.5px solid var(--gold); border-radius: 999px;
  cursor: pointer; min-width: 220px; transition: background .25s ease, color .25s ease;
}
.rsvp__submit:hover { background: transparent; color: var(--gold); }
.thankyou { display: none; text-align: center; animation: fadeInUp .5s ease; padding: 1rem 0; }
.thankyou.is-shown { display: block; }
.thankyou__icon { font-size: 2.75rem; margin-bottom: 1rem; color: var(--gold); }
.thankyou__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.6rem; color: var(--ink); margin-bottom: .6rem; }
.thankyou__msg { font-size: 1rem; line-height: 1.8; color: var(--text); max-width: 40ch; margin: 0 auto; }
.thankyou__reset {
  margin-top: 1.6rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
  background: none; border: 1.5px solid var(--gold); border-radius: 999px; padding: .6rem 1.6rem; cursor: pointer;
}
.thankyou__reset:hover { background: var(--gold); color: #fff; }
.rsvp__disclaimer { text-align: center; font-size: .74rem; color: var(--text-light); margin-top: 1.6rem; font-style: italic; }

/* ===================== FAQ ===================== */
.faq { background: var(--bg-alt); padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; }
.faq__inner { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item__button {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; width: 100%;
  padding: 1.35rem 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink);
}
.faq-item__icon {
  flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid var(--gold-light); color: var(--gold); font-weight: 300;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: #fff; }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__answer { padding: 0 0 1.35rem; line-height: 1.8; color: var(--text); }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg-white); border-top: 1px solid var(--line-soft); padding: clamp(3rem, 7vw, 4.5rem) 1.25rem 2rem; text-align: center; }
.footer__inner { max-width: 760px; margin: 0 auto; }
.footer__names { font-family: var(--font-names); font-style: var(--names-style); font-size: clamp(2.4rem, 6vw, 3.2rem); line-height: 1; color: var(--gold); margin-bottom: .5rem; }
.footer__date { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--text-light); margin-bottom: 2.25rem; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.75rem; margin-bottom: 2.25rem; text-align: center; }
.footer__heading { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: .5rem; }
.footer__text { font-size: .88rem; line-height: 1.7; color: var(--text); }
.footer__rule { display: inline-block; width: 60px; height: 1.5px; margin-bottom: 1.5rem; }
.footer__hashtag { font-family: var(--font-names); font-style: var(--names-style); font-size: 1.4rem; color: var(--gold); margin-bottom: 1.25rem; }
.footer__credit { font-size: .72rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: .35rem; flex-wrap: wrap; }
.footer__credit-logo { height: 28px; width: auto; }
