/* ============================================
   Tokens
   ============================================ */
:root {
    --bg: #f6efe6;
    --bg-2: #efe5d6;
    --paper: #fbf6ef;
    --ink: #2b2722;
    --ink-soft: #5b5249;
    --ink-faint: #8a8076;
    --line: #d8cab5;
    --accent: #b56b4a;
    --accent-soft: #d99a7c;

    --pastel-peach: #f4cdb8;
    --pastel-sage: #c8d3b7;
    --pastel-rose: #ecc4c4;
    --pastel-sky: #c2cfd6;
    --pastel-butter: #f0dfa8;

    --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    --mono: 'DM Mono', ui-monospace, monospace;

    --container: 1280px;
    --gutter: 6vw;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;

    --t-fast: 0.25s cubic-bezier(.2,.8,.2,1);
    --t-base: 0.4s cubic-bezier(.2,.8,.2,1);
    --t-slow: 0.6s cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* Subtle film grain over everything */
.grain {
    position: fixed; inset: 0; pointer-events: none;
    opacity: 0.06; mix-blend-mode: multiply; z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================
   Generic helpers
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 400;
    line-height: 1.4;
}
.eyebrow-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow-rule {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--ink);
}
.eyebrow-center {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Section base */
.section {
    padding: 140px 0;
    position: relative;
    z-index: 2;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(280px, 1fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 70px;
}
.section-head-left .eyebrow-line { margin-bottom: 18px; }
.section-title {
    font-family: var(--display);
    font-size: clamp(56px, 7vw, 96px);
    line-height: 0.92;
    margin: 0;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.section-title em {
    font-style: italic;
    font-weight: 300;
}
.section-title-wide {
    white-space: nowrap;
    font-size: clamp(40px, 6vw, 88px);
    letter-spacing: -0.025em;
}
.rsvp-title-wide {
    white-space: nowrap;
    font-size: clamp(48px, 8vw, 112px);
}
@media (max-width: 720px) {
    .section-title-wide,
    .rsvp-title-wide {
        white-space: normal;
    }
}
.section-lede {
    font-family: var(--serif);
    font-size: clamp(20px, 1.6vw, 24px);
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
    color: var(--ink);
    text-wrap: pretty;
    max-width: 580px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
    line-height: 1;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn[hidden] { display: none; }
.btn .arrow { font-family: serif; font-size: 14px; transform: translateY(-1px); }
.btn-sm { padding: 13px 22px; font-size: 11px; }
.btn-primary {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-light {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost-dark:hover { background: var(--paper); }
.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn[disabled] { opacity: 0.35; cursor: not-allowed; transform: none; }

/* ============================================
   Navigation
   ============================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 12px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding var(--t-base), background var(--t-base), border-color var(--t-base), backdrop-filter var(--t-base);
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    padding: 6px var(--gutter);
    background: rgba(246, 239, 230, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(0,0,0,0.06);
}
/* Hero is dark; nav text light until scrolled */
#navbar:not(.scrolled) {
    color: #fff;
}
#navbar:not(.scrolled) .nav-monogram {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}
#navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
#navbar:not(.scrolled) .nav-cta { background: rgba(255,255,255,0.95); color: var(--ink); border-color: transparent; }
#navbar:not(.scrolled) .nav-cta:hover { background: #fff; }
#navbar:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    color: inherit;
}
.nav-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.04em;
    color: var(--ink);
    transition: color var(--t-fast), border-color var(--t-fast);
}
.nav-monogram-amp { font-size: 8px; margin: 0 1px; }
.nav-logo-text { transition: opacity var(--t-fast); }
#navbar.scrolled .nav-logo-text { opacity: 0; width: 0; overflow: hidden; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.04em;
    opacity: 0.78;
    transition: opacity var(--t-fast);
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background var(--t-fast), color var(--t-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    z-index: 51;
}
.nav-toggle span {
    width: 24px; height: 1.5px;
    background: var(--ink);
    transition: transform var(--t-fast), opacity var(--t-fast);
}

/* ============================================
   Hero
   ============================================ */
#hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    color: #fff;
    padding: 140px var(--gutter) 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("12006.jpg");
    background-size: cover;
    background-position: center 35%;
    z-index: -2;
    transform: scale(1.05);
    animation: heroPan 30s ease-in-out infinite alternate;
}
@keyframes heroPan {
    from { transform: scale(1.05) translate3d(0, 0, 0); }
    to   { transform: scale(1.12) translate3d(-1%, -1.5%, 0); }
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 70% at 50% 100%, rgba(43,39,34,0.65) 0%, rgba(43,39,34,0.25) 45%, transparent 80%),
        linear-gradient(180deg, rgba(43,39,34,0.35) 0%, rgba(43,39,34,0.15) 35%, rgba(43,39,34,0.55) 100%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-top: 20px;
}
.hero-eyebrow-line {
    width: 28px; height: 1px;
    background: rgba(255,255,255,0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin-top: 28px;
}
.hero-title {
    font-family: var(--display);
    font-size: clamp(72px, 13vw, 200px);
    line-height: 0.86;
    letter-spacing: -0.03em;
    margin: 0;
    font-weight: 300;
    text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}
.hero-title-row { display: block; }
.hero-title-italic { font-style: italic; }
.hero-amp {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 0.55em;
    vertical-align: 0.12em;
    margin: 0 0.06em;
    color: var(--accent-soft);
    font-style: italic;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 36px;
}
.hero-meta-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero-meta-block .eyebrow {
    color: rgba(255,255,255,0.7);
}
.hero-meta-value {
    font-family: var(--serif);
    font-size: clamp(20px, 1.8vw, 26px);
    color: #fff;
    font-weight: 400;
}
.hero-meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.4);
}

.countdown {
    display: inline-flex;
    align-items: stretch;
    margin-top: 42px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.countdown-item {
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 78px;
    border-right: 1px solid rgba(255,255,255,0.18);
}
.countdown-item:last-child { border-right: none; }
.countdown-number {
    font-family: var(--display);
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    color: #fff;
}
.countdown-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.hero-quote {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 80px auto 0;
    text-align: center;
}
.hero-quote-text {
    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.5;
    font-style: italic;
    font-weight: 300;
    color: #fff;
    margin: 0;
    text-wrap: pretty;
    text-shadow: 0 1px 20px rgba(0,0,0,0.3);
}
.hero-quote-attr {
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

.hero-scroll {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.7);
    z-index: 1;
}
.hero-scroll-line {
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.55);
    animation: scrollPulse 2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.7; }
    50% { transform: scaleY(0.45); opacity: 1; }
}

/* ============================================
   Ons verhaal
   ============================================ */
.section-verhaal {
    background: var(--bg);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.story-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px 4px 200px 200px / 4px 4px 90px 90px;
    padding: 42px 36px 60px;
    position: relative;
    overflow: hidden;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -20px rgba(43,39,34,0.18);
}
.story-dot {
    position: absolute;
    top: 22px; right: 22px;
    width: 14px; height: 14px;
    border-radius: 50%;
}
.story-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
}
.story-title {
    font-family: var(--display);
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
    margin: 18px 0 20px;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--ink);
}
.story-body {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
    text-wrap: pretty;
}
.story-arc {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    opacity: 0.5;
    pointer-events: none;
}

.signature {
    margin-top: 90px;
    text-align: center;
}
.signature-script {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(64px, 9vw, 128px);
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.signature .eyebrow { margin-top: 14px; display: inline-block; }

/* ============================================
   Programma
   ============================================ */
.section-programma {
    background: var(--bg-2);
    overflow: hidden;
}
.programma-blob {
    position: absolute;
    top: 60px; right: -8%;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: var(--pastel-rose);
    filter: blur(70px);
    opacity: 0.4;
    z-index: 0;
}

.day-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}
.day-tab {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: left;
    transition: all var(--t-base);
    font-family: inherit;
}
.day-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -15px rgba(43,39,34,0.2);
}
.day-tab.is-active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.day-tab-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.day-tab-weekday {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    opacity: 0.55;
}
.day-tab.is-active .day-tab-weekday { opacity: 0.7; }
.day-tab-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    opacity: 0.55;
}
.day-tab.is-active .day-tab-dot { opacity: 1; }
.day-tab-date {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 300;
    margin-top: 10px;
    line-height: 1;
    letter-spacing: -0.01em;
}
.day-tab-name {
    font-size: 13px;
    margin-top: 8px;
    opacity: 0.75;
}
.day-tab.is-active .day-tab-name { opacity: 0.9; }

.day-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 56px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.day-card-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.5s cubic-bezier(.2,.8,.2,1);
}
.day-card-blob {
    position: absolute;
    top: -40px; right: -40px;
    width: 240px; height: 240px;
    border-radius: 50%;
    opacity: 0.55;
    filter: blur(2px);
    z-index: 0;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.day-card-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}
.day-card-icon {
    flex-shrink: 0;
    width: 60px; height: 60px;
}
.day-card-meta-text .eyebrow { color: var(--ink-soft); }
.day-card-spanish {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--accent);
    margin-top: 2px;
}
.day-card-title {
    font-family: var(--display);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 300;
    font-style: italic;
    margin: 0 0 22px;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
}
.day-card-body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
    max-width: 520px;
    text-wrap: pretty;
}
.day-card-moments {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.day-card-moment {
    display: flex;
    align-items: center;
    gap: 14px;
}
.day-card-moment-num {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-soft);
    flex-shrink: 0;
}
.day-card-moment-text {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--ink);
}
.day-card-side {
    border-left: 1px solid var(--line);
    padding-left: 48px;
}
.day-card-dresscode {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 300;
    margin-top: 8px;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.day-card-dressnote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--ink-soft);
    margin-top: 10px;
    line-height: 1.5;
}
.day-card-palette {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.day-card-chip {
    width: 48px; height: 60px;
    border-radius: 24px 24px 4px 4px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}
.day-card-time {
    margin-top: 30px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.day-card-time-value {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--ink);
}
.day-card-tag {
    margin-top: 30px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.5;
}
.day-card-tag-accent { color: var(--accent); }

/* ============================================
   Locatie
   ============================================ */
.section-locatie {
    background: var(--bg);
    overflow: hidden;
}
.locatie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.locatie-info .eyebrow-line { margin-bottom: 18px; }
.locatie-info .section-title { margin-bottom: 24px; }
.locatie-lede { max-width: 480px; margin-bottom: 0; }

.facts-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.fact {
    padding: 22px 24px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fact-value {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
}
.locatie-actions {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.locatie-map {
    position: relative;
}
.locatie-map-blob {
    position: absolute;
    inset: -10% -8% -10% -4%;
    background: var(--pastel-sky);
    opacity: 0.35;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}
.map-illustration {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-width: 560px;
    margin: 0 auto;
    display: block;
}
.locatie-photo {
    position: relative;
    z-index: 1;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    box-shadow: 0 30px 60px -30px rgba(43,39,34,0.35);
    border: 1px solid var(--line);
}
.locatie-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.map-pin-pulse {
    transform-origin: center;
    animation: pinPulse 2.4s ease-in-out infinite;
}
@keyframes pinPulse {
    0%, 100% { transform: scale(1); opacity: 0.18; }
    50% { transform: scale(2.2); opacity: 0.04; }
}
.locatie-marker-card {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    z-index: 2;
    max-width: 240px;
}
.marker-script {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    margin-top: 4px;
    color: var(--ink);
}
.locatie-marker-card p {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ============================================
   RSVP
   ============================================ */
.section-rsvp {
    background: var(--ink);
    color: var(--bg);
    overflow: hidden;
}
.section-rsvp .eyebrow { color: rgba(255,255,255,0.65); }
.section-rsvp .eyebrow-rule { background: rgba(255,255,255,0.5); }

.rsvp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}
.rsvp-blob-1 {
    top: -10%; left: -6%;
    width: 480px; height: 480px;
    background: var(--accent);
    opacity: 0.25;
}
.rsvp-blob-2 {
    bottom: -12%; right: -8%;
    width: 560px; height: 560px;
    background: var(--pastel-sage);
    opacity: 0.18;
}

.rsvp-head {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.rsvp-title {
    font-family: var(--display);
    font-size: clamp(64px, 9vw, 128px);
    line-height: 0.9;
    margin: 24px 0 0;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #fff;
}
.rsvp-title em {
    font-style: italic;
    color: var(--accent);
}
.rsvp-lede {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    margin: 24px auto 0;
    opacity: 0.88;
    font-weight: 300;
    line-height: 1.5;
    text-wrap: pretty;
    color: #fff;
}
.rsvp-deadline {
    margin-top: 18px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.rsvp-deadline strong { color: var(--accent-soft); font-weight: 400; }

.rsvp-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 48px 56px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

.rsvp-progress {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}
.rsvp-step-label { color: rgba(255,255,255,0.6); white-space: nowrap; }
.rsvp-progress-bar {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.15);
    position: relative;
}
.rsvp-progress-fill {
    position: absolute;
    inset: 0 100% 0 0;
    background: var(--accent);
    transition: right 0.5s cubic-bezier(.2,.8,.2,1);
}

.rsvp-step {
    display: none;
    min-height: 280px;
    animation: fadeUp 0.4s ease;
}
.rsvp-step.is-active { display: block; }
.rsvp-step-title {
    font-family: var(--display);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
}
.rsvp-step-sub {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: rgba(255,255,255,0.72);
    margin: 0 0 36px;
}

.rsvp-field {
    display: block;
    margin-bottom: 22px;
}
.rsvp-field .eyebrow {
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    display: block;
}
.rsvp-field input,
.rsvp-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 12px 0;
    font-size: 20px;
    font-family: var(--serif);
    color: #fff;
    outline: none;
    resize: vertical;
    transition: border-color var(--t-fast);
}
.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {
    color: rgba(255,255,255,0.35);
}
.rsvp-field input:focus,
.rsvp-field textarea:focus {
    border-bottom-color: var(--accent);
}

.rsvp-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.rsvp-choice {
    cursor: pointer;
    display: block;
}
.rsvp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rsvp-choice-card {
    display: block;
    padding: 32px 28px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.02);
    color: #fff;
    transition: all var(--t-fast);
    position: relative;
}
.rsvp-choice:hover .rsvp-choice-card {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
}
.rsvp-choice input:checked + .rsvp-choice-card {
    border-color: var(--accent);
    background: rgba(181,107,74,0.18);
}
.rsvp-choice-radio {
    position: absolute;
    top: 18px; right: 18px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    transition: border-color var(--t-fast);
}
.rsvp-choice input:checked + .rsvp-choice-card .rsvp-choice-radio {
    border-color: var(--accent);
}
.rsvp-choice input:checked + .rsvp-choice-card .rsvp-choice-radio::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--accent);
}
.rsvp-choice-icon {
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--accent-soft);
}
.rsvp-choice-title {
    display: block;
    font-family: var(--display);
    font-style: italic;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.rsvp-choice-sub {
    display: block;
    margin-top: 8px;
    opacity: 0.65;
    font-size: 14px;
}

.rsvp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    gap: 14px;
}
.rsvp-nav .btn-ghost-dark {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.2);
    background: transparent;
}
.rsvp-nav .btn-ghost-dark:hover:not([disabled]) {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.rsvp-success {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 80px 56px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.rsvp-success-script {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(72px, 10vw, 110px);
    color: var(--accent);
    line-height: 1;
    font-weight: 300;
}
.rsvp-success p {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    max-width: 520px;
    margin: 24px auto 0;
    opacity: 0.88;
    line-height: 1.5;
    text-wrap: pretty;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--ink);
    color: var(--bg);
    padding: 80px var(--gutter) 40px;
    position: relative;
    z-index: 2;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    max-width: var(--container);
    margin: 0 auto;
}
.site-footer .eyebrow { color: rgba(255,255,255,0.6); }
.footer-script {
    font-family: var(--display);
    font-size: clamp(48px, 5vw, 64px);
    line-height: 0.95;
    margin-top: 16px;
    font-style: italic;
    font-weight: 300;
    color: #fff;
}
.footer-line {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.5;
    margin-top: 18px;
    color: #fff;
}
.footer-bottom {
    max-width: var(--container);
    margin: 80px auto 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   Reveal animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
    .section { padding: 100px 0; }
    .section-head { grid-template-columns: 1fr; gap: 28px; align-items: start; margin-bottom: 50px; }
    .story-grid { grid-template-columns: 1fr; }
    .day-tabs { grid-template-columns: repeat(2, 1fr); }
    .day-card { padding: 36px 28px; }
    .day-card-inner { grid-template-columns: 1fr; gap: 36px; }
    .day-card-side {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 30px;
    }
    .locatie-grid { grid-template-columns: 1fr; gap: 60px; }
    .facts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 50px; }
    .rsvp-card { padding: 32px 24px; }
    .rsvp-choices { grid-template-columns: 1fr; }
    .rsvp-progress { flex-wrap: wrap; }

    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(82vw, 360px);
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 100px 32px 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform var(--t-base);
        box-shadow: -20px 0 60px -20px rgba(0,0,0,0.25);
        z-index: 50;
    }
    .nav-menu.is-open { transform: translateX(0); }
    .nav-links { flex-direction: column; gap: 18px; }
    .nav-links a { color: var(--ink); font-size: 18px; }
    .nav-cta { align-self: flex-start; }
    #navbar:not(.scrolled) .nav-links a { color: var(--ink); }
    #navbar:not(.scrolled) .nav-cta { background: var(--ink); color: var(--bg); }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero-meta { gap: 18px; }
    .hero-meta-divider { display: none; }
    .countdown-item { padding: 10px 14px; min-width: 60px; }
    .countdown-number { font-size: 22px; }

    .locatie-marker-card { left: 0; bottom: 10px; max-width: 220px; }
}

@media (max-width: 540px) {
    .day-tabs { grid-template-columns: 1fr 1fr; gap: 10px; }
    .day-tab { padding: 16px 14px; }
    .day-tab-date { font-size: 26px; }
    .countdown { width: 100%; max-width: 380px; }
    .countdown-item { flex: 1; padding: 10px 6px; min-width: 0; }
    .hero-cta-row .btn { width: 100%; justify-content: center; }
}
