/* ═══════════════════════════════════════════════════════════════
   MUSIC & SMILES — Gladson ♥ Reeba · 12.09.2026
   A concert-programme of a wedding website.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
    --ivory:       #FDF8F0;
    --ivory-soft:  #F7EFDF;
    --paper:       #FFFEFA;
    --gold:        #C9A84C;
    --gold-light:  #E0C97A;
    --gold-pale:   #F0E6C8;
    --plum:        #1F0844;
    --plum-deep:   #140530;
    --plum-night:  #0E031F;
    --plum-mid:    #4A1D6E;
    --plum-light:  #8B5FC4;
    --blush:       #F0C4B5;
    --emerald:     #2E6B52;
    --text:        #1A0830;
    --muted:       #7B6B7E;
    --ink-on-night:#F3EADF;

    --display: 'Cormorant Garamond', 'Times New Roman', serif;
    --label:   'Montserrat', 'Helvetica Neue', sans-serif;
    --body:    'EB Garamond', Georgia, serif;

    --ease: cubic-bezier(.22,.61,.2,1);
    --shadow-lg: 0 30px 80px -20px rgba(31, 8, 68, .35);
    --shadow-md: 0 16px 44px -16px rgba(31, 8, 68, .28);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
    background: var(--ivory);
    color: var(--text);
    font-family: var(--body);
    font-size: 1.125rem;
    line-height: 1.75;
    overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* film-grain wash over everything */
body::after {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: 60;
    opacity: .05;
    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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ── Type & layout primitives ─────────────────────────────────── */
.container { width: min(1120px, 92vw); margin-inline: auto; }
.container--narrow { width: min(760px, 92vw); }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section--night { background: linear-gradient(175deg, var(--plum) 0%, var(--plum-deep) 60%, var(--plum-night) 100%); color: var(--ink-on-night); }
.section--soft { background: var(--ivory-soft); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; }
h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: .01em; margin-bottom: .4em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.kicker {
    font-family: var(--label);
    font-size: .78rem; font-weight: 600;
    letter-spacing: .34em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}
.section--night .kicker { color: var(--gold-light); }
.lede {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    max-width: 46ch;
    color: var(--muted);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section--night .lede { color: #C9BBD8; }
.eyebrow {
    font-family: var(--label);
    font-size: .8rem; font-weight: 500;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold-light);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-family: var(--label);
    font-size: .8rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    padding: 1em 1.9em;
    border-radius: 100px;
    border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
    text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%); color: var(--plum); box-shadow: 0 10px 30px -10px rgba(201,168,76,.65); }
.btn--gold:hover { box-shadow: 0 16px 36px -10px rgba(201,168,76,.8); }
.btn--ghost { border-color: rgba(243,234,223,.5); color: var(--ink-on-night); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--plum { background: var(--plum); color: var(--ivory); box-shadow: var(--shadow-md); }
.btn--plum:hover { background: var(--plum-mid); }
.btn--ghost-dark { border-color: rgba(31,8,68,.3); color: var(--plum); }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--plum-mid); }
.btn--big { width: 100%; padding: 1.2em; font-size: .9rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ── Reveal animations ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; } .d4 { transition-delay: .48s; }
.d5 { transition-delay: .6s; }  .d6 { transition-delay: .72s; }
.d7 { transition-delay: .84s; }

/* ═══════════════════════ NAV ═══════════════════════ */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem clamp(1.2rem, 4vw, 3rem);
    color: var(--ink-on-night);
    transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
    background: rgba(20, 5, 48, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px -18px rgba(0,0,0,.6);
    padding-block: .6rem;
}
.nav__brand { display: flex; align-items: center; gap: .65rem; font-family: var(--display); font-size: 1.35rem; letter-spacing: .12em; }
.nav__brand em { color: var(--gold-light); font-style: italic; }
.nav__mark { width: 38px; height: 38px; color: var(--gold-light); }
.mark-note { font-size: 17px; fill: currentColor; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__links a {
    font-family: var(--label); font-size: .72rem; font-weight: 500;
    letter-spacing: .22em; text-transform: uppercase;
    opacity: .85; transition: opacity .25s, color .25s;
    position: relative; padding-block: .4rem;
}
.nav__links a:hover { opacity: 1; color: var(--gold-light); }
.nav__links a.active { color: var(--gold-light); opacity: 1; }
.nav__cta {
    border: 1.5px solid var(--gold); border-radius: 100px;
    padding: .65em 1.4em !important; color: var(--gold-light);
}
.nav__cta:hover { background: var(--gold); color: var(--plum) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: .6rem; z-index: 102; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
    min-height: 100svh;
    display: grid; place-items: center;
    position: relative;
    background:
        radial-gradient(120% 90% at 50% 0%, var(--plum-mid) 0%, transparent 55%),
        radial-gradient(80% 60% at 80% 100%, rgba(139,95,196,.25) 0%, transparent 60%),
        linear-gradient(170deg, var(--plum) 0%, var(--plum-deep) 55%, var(--plum-night) 100%);
    color: var(--ink-on-night);
    overflow: hidden;
    text-align: center;
    padding: 7rem 1.2rem 5rem;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 2; max-width: 1000px; }
.hero__names {
    display: flex; align-items: center; justify-content: center;
    gap: clamp(1rem, 4vw, 2.6rem);
    flex-wrap: wrap;
    font-size: clamp(3.2rem, 11vw, 8rem);
    font-weight: 500;
    letter-spacing: .02em;
    margin: 1.6rem 0 1rem;
    text-shadow: 0 8px 60px rgba(0,0,0,.45);
}
.hero__amp { width: clamp(72px, 11vw, 120px); color: var(--gold-light); flex: 0 0 auto; }
.amp-note { font-size: 30px; fill: currentColor; }
.amp-amp { font-family: var(--display); font-style: italic; font-size: 44px; fill: currentColor; }
.hero__line { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.1rem); font-weight: 300; }
.hero__line em { color: var(--gold-light); font-weight: 500; }
.hero__dates {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 1rem 2.2rem; margin: 2.6rem 0 2.2rem;
}
.hero__dates > div { display: grid; gap: .15rem; }
.hero__dates strong { font-family: var(--label); font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.hero__dates span { font-family: var(--display); font-size: 1.25rem; }
.hero__dates-divider { color: var(--gold); font-size: 1.3rem; opacity: .8; }
.countdown { display: flex; justify-content: center; gap: clamp(1.2rem, 4vw, 2.8rem); margin-bottom: 2.6rem; }
.countdown__unit { display: grid; gap: .1rem; min-width: 64px; }
.countdown__unit span { font-family: var(--display); font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 600; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.countdown__unit label { font-family: var(--label); font-size: .64rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.hero__cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    width: 26px; height: 44px; border: 1.5px solid rgba(243,234,223,.5); border-radius: 20px;
    z-index: 2;
}
.hero__scroll span {
    position: absolute; top: 8px; left: 50%; width: 4px; height: 9px;
    background: var(--gold-light); border-radius: 4px;
    transform: translateX(-50%);
    animation: scrollcue 1.8s var(--ease) infinite;
}
@keyframes scrollcue { 0%,100% { transform: translate(-50%, 0); opacity: 1; } 70% { transform: translate(-50%, 14px); opacity: 0; } }

/* ═══════════════════════ WELCOME RIBBON ═══════════════════════ */
.ribbon {
    background: linear-gradient(100deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    color: var(--plum);
    padding: 1.5rem 0 1.2rem;
    overflow: hidden;
    text-align: center;
}
.ribbon__track {
    display: inline-flex; align-items: center; gap: 2.6rem;
    white-space: nowrap; will-change: transform;
    animation: marquee 36s linear infinite;
    font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 500;
    padding-right: 2.6rem;
}
.ribbon__track i { font-style: normal; font-size: .85em; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ribbon__caption {
    font-family: var(--label); font-size: .68rem; font-weight: 600;
    letter-spacing: .3em; text-transform: uppercase;
    opacity: .75; margin-top: .5rem;
}

/* ═══════════════════════ THE TALE ═══════════════════════ */
.movements { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.movement {
    background: var(--paper);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 18px;
    padding: clamp(1.8rem, 3vw, 2.6rem);
    position: relative;
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: 1rem;
}
.movement::before {
    content: ''; position: absolute; inset: 8px;
    border: 1px solid rgba(201,168,76,.25); border-radius: 12px;
    pointer-events: none;
}
.movement__no {
    font-family: var(--display); font-size: 3.4rem; line-height: 1;
    color: var(--gold);
}
.movement__tempo { font-family: var(--label); font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.movement h3 { color: var(--plum); }
.movement p { font-size: 1.06rem; }
.movement em { color: var(--plum-mid); }
.movement__foot {
    margin-top: auto; padding-top: 1rem;
    border-top: 1px dashed rgba(201,168,76,.5);
    font-family: var(--display); font-style: italic; font-size: 1.1rem !important;
    color: var(--emerald);
}

/* ═══════════════════════ THE JOURNEY ═══════════════════════ */
.journey__map { max-width: 820px; margin-inline: auto; }
.jpath {
    fill: none;
    stroke-width: 2.6; stroke-linecap: round;
}
.jpath--his  { stroke: var(--gold-light); }
.jpath--hers { stroke: var(--blush); }
.jpath--one  { stroke: var(--gold); stroke-width: 3.4; filter: drop-shadow(0 0 6px rgba(201,168,76,.6)); }
.jnode { opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.jnode.lit { opacity: 1; transform: none; }
.jnode circle { fill: var(--gold-light); stroke: rgba(243,234,223,.35); stroke-width: 6; }
.jnode--right circle { fill: var(--blush); }
.jnode--end circle { fill: var(--gold); }
.jnode__title {
    font-family: var(--label); font-size: 17px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    fill: var(--ink-on-night);
}
.jnode__title--big { font-size: 21px; fill: var(--gold-light); letter-spacing: .2em; }
.jnode__sub { font-family: var(--display); font-style: italic; font-size: 18px; fill: #C9BBD8; }
.jnode--right .jnode__title, .jnode--right .jnode__sub { text-anchor: end; }
.jstar { fill: var(--gold-light); filter: drop-shadow(0 0 14px rgba(224,201,122,.8)); }

/* ═══════════════════════ TICKETS ═══════════════════════ */
.tickets { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); }
.ticket {
    display: grid; grid-template-columns: 1fr 190px;
    background: var(--paper);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(201,168,76,.4);
    position: relative;
    overflow: hidden;
}
.ticket__main { padding: clamp(1.8rem, 4vw, 3rem); }
.ticket__label { font-family: var(--label); font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.ticket h3 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--plum); }
.ticket h3 span { font-style: italic; font-weight: 400; color: var(--plum-mid); }
.ticket__date { font-family: var(--label); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: .9rem 0 .2rem; }
.ticket__time { font-size: 1.1rem; color: var(--muted); margin-bottom: 1rem; }
.ticket__time strong { color: var(--text); }
.ticket address { font-size: 1.05rem; line-height: 1.6; border-left: 2px solid var(--gold-pale); padding-left: 1rem; margin-bottom: 1.4rem; }
.ticket__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.ticket__actions .btn { padding: .8em 1.3em; font-size: .7rem; }
.ticket__stub {
    border-left: 2px dashed rgba(31,8,68,.25);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .9rem; padding: 1.4rem .9rem; text-align: center;
    background: linear-gradient(160deg, var(--gold-pale), #f7ecce);
    position: relative;
}
/* punch holes on the perforation */
.ticket__stub::before, .ticket__stub::after {
    content: ''; position: absolute; left: -13px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--ivory);
    box-shadow: inset 0 0 0 1px rgba(201,168,76,.4);
}
.ticket__stub::before { top: -12px; }
.ticket__stub::after { bottom: -12px; }
.ticket__admit { font-family: var(--display); font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .12em; color: var(--plum); }
.ticket__seat { font-family: var(--label); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticket__barcode {
    width: 90%; height: 38px;
    background: repeating-linear-gradient(90deg, var(--plum) 0 2px, transparent 2px 5px, var(--plum) 5px 6px, transparent 6px 10px);
    opacity: .8; border-radius: 2px;
}
.ticket__hash { font-family: var(--label); font-size: .6rem; font-weight: 700; letter-spacing: .16em; color: var(--plum-mid); }

/* ═══════════════════════ BE THE BAND ═══════════════════════ */
.band__machine {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(224,201,122,.25);
    border-radius: 24px;
    padding: clamp(1.6rem, 4vw, 2.8rem);
    backdrop-filter: blur(6px);
}
.band__pads { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
.pad {
    aspect-ratio: 1 / 1.05;
    border-radius: 18px;
    border: 1.5px solid rgba(243,234,223,.22);
    background: linear-gradient(160deg, rgba(139,95,196,.18), rgba(31,8,68,.5));
    color: var(--ink-on-night);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
    transition: transform .15s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.pad:hover { transform: translateY(-3px); border-color: rgba(224,201,122,.6); }
.pad__icon { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--gold-light); line-height: 1; }
.pad__name { font-family: var(--label); font-size: clamp(.72rem, 1.6vw, .85rem); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.pad__sub { font-family: var(--display); font-style: italic; font-size: clamp(.8rem, 1.6vw, .95rem); opacity: .65; }
.pad.on {
    border-color: var(--gold);
    background: linear-gradient(160deg, rgba(201,168,76,.32), rgba(31,8,68,.55));
    box-shadow: 0 0 34px -6px rgba(201,168,76,.55), inset 0 0 24px -12px rgba(224,201,122,.6);
}
.pad.hit { animation: padhit .18s var(--ease); }
@keyframes padhit { 40% { transform: scale(.96); } }
.band__bar {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    margin-top: 1.6rem; padding-top: 1.4rem;
    border-top: 1px solid rgba(243,234,223,.14);
}
.band__tempo { font-family: var(--label); font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.band__hint { margin-top: 1.1rem; font-family: var(--display); font-style: italic; opacity: .7; text-align: center; }

/* ═══════════════════════ FAMILIES ═══════════════════════ */
.families { text-align: center; }
.families .kicker, .families h2 { text-align: center; }
.families__grid {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: center;
    margin-top: clamp(2rem, 5vw, 3.4rem);
}
.family {
    background: var(--paper);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 18px;
    padding: clamp(1.8rem, 3.4vw, 2.8rem);
    box-shadow: var(--shadow-md);
}
.family h3 { color: var(--gold); font-style: italic; font-size: 1.4rem; margin-bottom: 1.2rem; }
.family dt { font-family: var(--label); font-size: .66rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 1rem; }
.family dd { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); color: var(--plum); margin-top: .2rem; }
.families__amp { font-family: var(--display); font-style: italic; font-size: clamp(3rem, 7vw, 5rem); color: var(--gold); }
.families__note { margin-top: 2.4rem; font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--plum-mid); }

/* ═══════════════════════ TRAVEL ═══════════════════════ */
.travel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
.travel__card {
    background: var(--paper);
    border-radius: 18px;
    border: 1px solid rgba(201,168,76,.35);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-md);
}
.travel__card h3 { color: var(--plum); margin-bottom: 1rem; }
.travel__card h3 span { font-style: italic; font-weight: 400; color: var(--gold); font-size: .7em; }
.travel__card ul { list-style: none; display: grid; gap: .9rem; }
.travel__card li { font-size: 1.04rem; padding-left: .2rem; }
.travel__card strong { color: var(--plum-mid); }
.travel__note { margin-top: 2rem; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--muted); text-align: center; }

/* ═══════════════════════ RSVP ═══════════════════════ */
.rsvp form { display: grid; gap: 1.5rem; margin-top: .6rem; }
.field { display: grid; gap: .5rem; }
.field label, .field legend {
    font-family: var(--label); font-size: .72rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold-light);
}
.field label small { text-transform: none; letter-spacing: .05em; font-weight: 400; opacity: .8; }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field textarea {
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(243,234,223,.25);
    border-radius: 12px;
    padding: .95em 1.1em;
    color: var(--ink-on-night);
    font-size: 1.05rem;
    transition: border-color .3s, background .3s;
    width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.09); }
.field textarea { resize: vertical; min-height: 90px; }
fieldset.field { border: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
    display: inline-block;
    padding: .8em 1.4em;
    border: 1.5px solid rgba(243,234,223,.3);
    border-radius: 100px;
    font-family: var(--label); font-size: .76rem; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase;
    transition: all .25s var(--ease);
    cursor: pointer;
    user-select: none;
}
.choice:hover span { border-color: rgba(224,201,122,.7); }
.choice input:checked + span {
    background: linear-gradient(120deg, var(--gold), var(--gold-light));
    border-color: var(--gold); color: var(--plum); font-weight: 700;
    box-shadow: 0 8px 24px -8px rgba(201,168,76,.7);
}
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.field--small { max-width: 320px; }
#attending-details { display: grid; gap: 1.5rem; }
#attending-details.hidden, .hidden { display: none !important; }
.form-error { color: #F0A8A8; font-family: var(--label); font-size: .85rem; letter-spacing: .04em; }
.rsvp__success { text-align: center; padding: 3rem 1rem 1rem; }
.rsvp__success-icon { font-size: 3.4rem; margin-bottom: 1rem; }
.rsvp__success h3 { font-size: 2.2rem; color: var(--gold-light); margin-bottom: .6rem; }
.rsvp__success--light h3 { color: var(--plum); }
.rsvp__cal { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ═══════════════════════ GUESTBOOK ═══════════════════════ */
.upload-zone {
    border: 2px dashed rgba(31,8,68,.3);
    border-radius: 18px;
    background: var(--paper);
    padding: clamp(2.2rem, 5vw, 3.4rem);
    text-align: center;
    cursor: pointer;
    transition: border-color .3s, background .3s, transform .2s var(--ease);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--gold); background: #FFFDF4; transform: translateY(-2px); }
.upload-zone__icon { font-size: 2.6rem; display: block; margin-bottom: .6rem; }
.upload-zone__sub { font-family: var(--label); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.upload-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.upload-previews:empty { margin: .6rem 0; }
.upload-previews figure { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
.upload-previews img { width: 100%; height: 100%; object-fit: cover; }
.upload-previews button {
    position: absolute; top: 4px; right: 4px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(20,5,48,.8); color: #fff;
    font-size: .8rem; line-height: 1;
    display: grid; place-items: center;
}
.guestbook .form-error { color: #A33B3B; }

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer {
    background: var(--plum-night);
    color: var(--ink-on-night);
    text-align: center;
    padding: clamp(3.4rem, 7vw, 5.5rem) 1.2rem 3rem;
    display: grid; justify-items: center; gap: 1rem;
}
.footer__hash {
    font-family: var(--display);
    font-size: clamp(2rem, 6.5vw, 3.6rem);
    font-style: italic;
    background: linear-gradient(110deg, var(--gold) 10%, var(--gold-light) 45%, #f3e3ae 50%, var(--gold-light) 55%, var(--gold) 90%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.footer__dates { font-family: var(--label); font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.footer__mark { width: 44px; color: var(--gold-light); margin-top: .6rem; }
.footer__mark-link { display: inline-block; border-radius: 50%; transition: transform .3s var(--ease), filter .3s; }
.footer__mark-link:hover { transform: rotate(8deg) scale(1.08); filter: drop-shadow(0 0 12px rgba(224,201,122,.7)); }
.footer__made { font-family: var(--display); font-style: italic; opacity: .65; }

/* confetti overlay */
#confetti-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 920px) {
    .movements { grid-template-columns: 1fr; }
    .travel__grid { grid-template-columns: 1fr; }
    .families__grid { grid-template-columns: 1fr; }
    .families__amp { display: none; }
}
@media (max-width: 760px) {
    .nav__links {
        position: fixed; inset: 0;
        flex-direction: column; justify-content: center;
        background: rgba(14,3,31,.97);
        backdrop-filter: blur(10px);
        gap: 1.6rem;
        transform: translateY(-100%);
        transition: transform .45s var(--ease);
        z-index: 101;
    }
    .nav__links.open { transform: none; }
    .nav__links a { font-size: 1rem; }
    .nav__burger { display: flex; }
    .hero__names { flex-direction: column; gap: .4rem; line-height: 1; }
    .hero__amp { width: 64px; margin-block: .4rem; }
    .eyebrow { font-size: .66rem; letter-spacing: .2em; }
    .hero__dates-divider { display: none; }
    .countdown { gap: .9rem; }
    .countdown__unit { min-width: 0; }
    .countdown__unit span { font-size: 1.9rem; }
    .ticket { grid-template-columns: 1fr; }
    .ticket__stub {
        border-left: none; border-top: 2px dashed rgba(31,8,68,.25);
        flex-direction: row; flex-wrap: wrap; padding: 1.1rem;
    }
    .ticket__stub::before, .ticket__stub::after { left: auto; top: -12px; }
    .ticket__stub::before { left: -12px; }
    .ticket__stub::after { right: -12px; top: -12px; bottom: auto; }
    .ticket__barcode { width: 100%; height: 28px; order: 5; }
    .band__pads { grid-template-columns: 1fr 1fr; }
    .choice-row { flex-direction: column; }
    .choice span { display: block; text-align: center; }
}

/* ═══════════════════════ REDUCED MOTION ═══════════════════════ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .ribbon__track { animation: none; transform: none; }
    .hero__scroll span { animation: none; }
    .jnode { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
