:root {
  color-scheme: light;
  --paper: #fbf8f4;
  --paper-deep: #f3ebe5;
  --rose: #b8767d;
  --rose-dark: #88575e;
  --rose-light: #ead2ce;
  --gold: #b69a6b;
  --ink: #403437;
  --muted: #887b79;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --content: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
::selection { color: #fff; background: var(--rose); }

.youtube-audio { position: fixed; left: 0; bottom: 0; width: 1px; height: 1px; overflow: hidden; opacity: .01; pointer-events: none; z-index: 1; }
.youtube-audio iframe { width: 1px; height: 1px; border: 0; }
.opening { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; overflow: hidden; padding: 2rem 1.25rem; background: radial-gradient(ellipse at 50% 44%, #fffdfa 0, #faf5f0 48%, #f1e6e0 100%); transition: opacity .85s ease, visibility .85s ease; }
.opening::before, .opening::after { position: absolute; content: ""; width: min(72vw, 630px); aspect-ratio: 1; border: 1px solid rgba(182,154,107,.22); border-radius: 50%; pointer-events: none; }
.opening::before { width: min(82vw, 730px); }
.opening::after { width: min(70vw, 610px); }
.opening__glow { position: absolute; width: min(70vw, 500px); aspect-ratio: 1; border-radius: 50%; background: rgba(234,210,206,.32); filter: blur(60px); }
.opening__content { position: relative; z-index: 1; width: min(100%, 580px); text-align: center; }
.eyebrow { margin: 0; color: var(--rose); font-size: .66rem; font-weight: 600; letter-spacing: .22em; line-height: 1.7; text-transform: uppercase; }
.opening__intro { margin: 1.1rem 0 .4rem; color: var(--muted); font-family: var(--serif); font-size: 1rem; font-style: italic; }
.opening__name { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(3rem, 12vw, 5rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; }
.opening__name span { display: block; margin-top: .15rem; color: var(--gold); font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .45em; text-transform: uppercase; }
.envelope-wrap { display: flex; justify-content: center; margin: 2rem 0 1rem; perspective: 900px; }
.envelope { position: relative; width: min(75vw, 300px); aspect-ratio: 1.52; padding: 0; border: 0; background: transparent; cursor: pointer; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.envelope:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 12px; border-radius: 8px; }
.envelope__body { position: absolute; inset: 0; z-index: 2; overflow: hidden; border: 1px solid rgba(182,154,107,.48); border-radius: 4px; background: linear-gradient(145deg,#f2e3d9,#fffcf7 56%,#eeded4); box-shadow: 0 24px 60px rgba(109,79,75,.14), inset 0 0 30px rgba(255,255,255,.65); }
.envelope__body::before, .envelope__body::after { position: absolute; inset: 0; content: ""; }
.envelope__body::before { background: linear-gradient(32deg, transparent 49.7%, rgba(182,154,107,.35) 50%, transparent 50.4%), linear-gradient(-32deg, transparent 49.7%, rgba(182,154,107,.35) 50%, transparent 50.4%); }
.envelope__body::after { background: linear-gradient(180deg, transparent 48%, rgba(255,255,255,.22)); }
.envelope__letter { position: absolute; z-index: 1; left: 11%; right: 11%; top: 8%; height: 77%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(182,154,107,.3); background: #fffdf9; box-shadow: 0 0 24px rgba(105,77,67,.09); transition: transform .9s cubic-bezier(.2,.75,.2,1); }
.envelope__letter-mark { color: var(--rose); font-family: var(--serif); font-size: 2.7rem; font-style: italic; line-height: 1; }
.envelope__letter-copy { margin-top: .4rem; color: var(--gold); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; }
.envelope__flap { position: absolute; z-index: 3; inset: 0 0 auto; height: 58%; transform-origin: 50% 0; clip-path: polygon(0 0, 100% 0, 50% 100%); border-top: 1px solid rgba(182,154,107,.55); background: linear-gradient(160deg,#f9eee7,#ead7cd); transition: transform .7s cubic-bezier(.3,.7,.2,1), z-index .1s .25s; }
.envelope__seal { position: absolute; z-index: 4; left: 50%; top: 54%; display: grid; width: 52px; aspect-ratio: 1; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(117,66,72,.42); border-radius: 50%; color: #fff8f5; background: radial-gradient(circle at 38% 30%, #d5969b, #aa6770 70%); box-shadow: 0 4px 12px rgba(79,45,48,.25), inset 0 0 0 3px rgba(255,255,255,.22); font-family: var(--serif); font-size: 1.65rem; font-style: italic; transition: opacity .3s, transform .35s; }
.envelope:hover .envelope__seal { transform: translate(-50%,-50%) scale(1.08); }
.envelope.is-opening .envelope__flap { z-index: 1; transform: rotateX(180deg); }
.envelope.is-opening .envelope__letter { transform: translateY(-45%); }
.envelope.is-opening .envelope__seal { opacity: 0; transform: translate(-50%,-80%) scale(.7); }
.opening__hint { margin: .9rem 0 0; color: var(--muted); font-size: .74rem; letter-spacing: .08em; }
.opening__date { margin: 2rem 0 0; color: var(--gold); font-size: .61rem; font-weight: 600; letter-spacing: .24em; }
.opening__spark { position: absolute; color: var(--gold); opacity: .72; animation: twinkle 3s ease-in-out infinite; }
.opening__spark--one { top: 20%; left: 18%; font-size: 1.4rem; }
.opening__spark--two { top: 29%; right: 20%; font-size: 1.15rem; animation-delay: .8s; }
.opening__spark--three { bottom: 21%; left: 22%; font-size: 1.1rem; animation-delay: 1.4s; }
.opening.is-dismissed { visibility: hidden; opacity: 0; pointer-events: none; }
@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: .9; transform: scale(1.15) rotate(20deg); } }

#invitation { overflow: clip; opacity: 0; visibility: hidden; transition: opacity .8s ease .25s, visibility .8s ease .25s; }
body.is-open #invitation { opacity: 1; visibility: visible; }
.music-toggle { position: fixed; z-index: 10; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .58rem; min-height: 44px; padding: .55rem .85rem; border: 1px solid rgba(182,154,107,.42); border-radius: 30px; color: var(--ink); background: rgba(255,253,249,.91); box-shadow: 0 8px 25px rgba(79,56,55,.1); backdrop-filter: blur(12px); cursor: pointer; font-size: .7rem; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, background .2s, visibility .3s; }
body.is-open .music-toggle { opacity: 1; visibility: visible; }
.music-toggle:hover { transform: translateY(-2px); background: #fff; }
.music-toggle__icon { color: var(--rose); font-size: 1.1rem; }
.music-toggle__bars { display: flex; align-items: center; gap: 2px; height: 14px; }
.music-toggle__bars i { display: block; width: 2px; height: 6px; border-radius: 2px; background: var(--gold); animation: music-wave .75s ease-in-out infinite alternate; }
.music-toggle__bars i:nth-child(2) { height: 12px; animation-delay: .2s; }
.music-toggle__bars i:nth-child(3) { height: 8px; animation-delay: .4s; }
.music-toggle[aria-pressed="false"] .music-toggle__bars i { animation-play-state: paused; transform: scaleY(.35); }
@keyframes music-wave { to { transform: scaleY(.4); } }

.hero { position: relative; display: grid; min-height: min(880px, 100vh); min-height: min(880px, 100svh); place-items: center; overflow: hidden; padding: 6rem 1.5rem 5.2rem; background: linear-gradient(180deg,#fcf9f5 0%,#f8f0eb 53%,#f2e7e1 100%); text-align: center; }
.hero::before, .hero::after { position: absolute; content: ""; pointer-events: none; }
.hero::before { inset: 22px; border: 1px solid rgba(182,154,107,.27); }
.hero::after { inset: 30px; border: 1px solid rgba(182,154,107,.1); }
.hero__grain { position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(rgba(125,93,86,.34) .45px, transparent .55px); background-size: 7px 7px; mask-image: linear-gradient(transparent,black 28%,black 75%,transparent); pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: min(100%, 660px); }
.hero__eyebrow { margin-bottom: 1.65rem; }
.hero__pretitle { margin: 0; color: var(--rose); font-family: var(--serif); font-size: clamp(1.2rem, 5vw, 1.7rem); font-style: italic; }
.hero__name { margin: -.15rem 0 .25rem; color: var(--ink); font-family: var(--serif); font-size: clamp(5.3rem, 21vw, 10rem); font-weight: 400; letter-spacing: -.075em; line-height: .99; }
.hero__rule { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.1rem auto; color: var(--gold); }
.hero__rule span { width: 52px; height: 1px; background: var(--gold); opacity: .7; }
.hero__rule i { font-size: .8rem; font-style: normal; }
.hero__date { margin: 1rem 0 .25rem; font-size: clamp(1.35rem, 5.8vw, 2.1rem); letter-spacing: .16em; }
.hero__date span { color: var(--rose); font-size: .8em; }
.hero__day { margin: .5rem 0; color: var(--muted); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.hero__dot { padding: 0 .45rem; color: var(--gold); }
.hero__ornament { position: absolute; top: 50%; z-index: 1; width: clamp(110px, 21vw, 235px); color: var(--rose); opacity: .5; transition: transform .2s linear; }
.hero__ornament--left { left: max(-2rem, calc((100vw - 1250px)/2)); transform: translate3d(0,calc(-38% + var(--parallax-offset,0px)),0); }
.hero__ornament--right { right: max(-2rem, calc((100vw - 1250px)/2)); transform: translate3d(0,calc(-38% + var(--parallax-offset,0px)),0); }
.scroll-cue { position: absolute; top: calc(100% + 2.8rem); left: 50%; display: flex; flex-direction: column; align-items: center; gap: .65rem; transform: translateX(-50%); color: var(--muted); font-size: .64rem; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.scroll-cue i { position: relative; display: block; width: 1px; height: 26px; overflow: hidden; background: rgba(182,154,107,.35); }
.scroll-cue i::after { position: absolute; top: -14px; left: 0; width: 1px; height: 14px; content: ""; background: var(--rose); animation: scroll-down 1.5s ease-in-out infinite; }
@keyframes scroll-down { to { transform: translateY(42px); } }
.hero__bottom-line { position: absolute; bottom: 0; left: 50%; width: 1px; height: 38px; background: var(--gold); }

.section-pad { position: relative; padding: clamp(5rem, 11vw, 9rem) 1.25rem; }
.section-inner { position: relative; z-index: 1; width: min(100%, var(--content)); margin: 0 auto; }
.message { background: var(--paper); text-align: center; }
.message__inner { max-width: 720px; }
.quote-mark { display: block; height: 67px; margin: .7rem 0 -.2rem; color: var(--rose-light); font-family: var(--serif); font-size: 6rem; line-height: 1; }
.message__quote { max-width: 700px; margin: 0 auto; color: var(--ink); font-family: var(--serif); font-size: clamp(1.75rem, 5.6vw, 3.1rem); font-weight: 400; line-height: 1.34; }
.message__copy { max-width: 540px; margin: 1.5rem auto 0; color: var(--muted); font-size: .93rem; }
.message__signature { display: flex; flex-direction: column; margin-top: 1.8rem; color: var(--rose); }
.message__signature span { font-family: var(--serif); font-size: .88rem; font-style: italic; }
.message__signature strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }

.family { overflow: hidden; background: #f5eeea; text-align: center; }
.family::before, .family::after { position: absolute; top: 50%; width: 30vw; max-width: 380px; aspect-ratio: 1; border: 1px solid rgba(182,154,107,.16); border-radius: 50%; content: ""; transform: translateY(-50%); }
.family::before { left: -18vw; }
.family::after { right: -18vw; }
.family__inner { max-width: 900px; }
.family__heading { margin-bottom: 3.2rem; }
.section-title { margin: .5rem 0; color: var(--ink); font-family: var(--serif); font-size: clamp(2.3rem, 7vw, 4rem); font-weight: 400; line-height: 1.15; }
.title-flourish { color: var(--gold); font-size: .83rem; letter-spacing: .25em; }
.family__columns { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(1rem, 5vw, 4rem); }
.family-card { position: relative; padding: 2.25rem 1.3rem; }
.family-card__number { position: absolute; top: 0; left: 50%; color: rgba(182,154,107,.42); font-family: var(--serif); font-size: 4rem; line-height: 1; transform: translateX(-50%); }
.family-card .eyebrow { position: relative; margin: 1.3rem 0 .9rem; }
.family-card h3 { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 400; line-height: 1.65; }
.family-card h3 span { color: var(--rose); font-style: italic; }
.family__divider { display: grid; width: 1px; height: 128px; place-items: center; background: rgba(182,154,107,.45); }
.family__divider span { display: grid; width: 31px; aspect-ratio: 1; place-items: center; color: var(--gold); background: #f5eeea; }
.family__closing { margin: 2rem auto 0; color: var(--muted); font-family: var(--serif); font-size: 1.05rem; font-style: italic; }

.celebration { overflow: hidden; background: #fbf8f4; text-align: center; }
.celebration__backdrop { position: absolute; top: 50%; left: 50%; width: min(82vw, 700px); aspect-ratio: 1; border: 1px solid rgba(182,154,107,.12); border-radius: 50%; transform: translate(-50%,-50%); }
.celebration__backdrop::before, .celebration__backdrop::after { position: absolute; inset: 7%; border: 1px solid rgba(182,154,107,.09); border-radius: 50%; content: ""; }
.celebration__backdrop::after { inset: 15%; }
.celebration__inner { max-width: 920px; }
.date-card { position: relative; width: min(100%, 550px); margin: 2.6rem auto 3.5rem; padding: 2rem 1.5rem 1.7rem; border: 1px solid rgba(182,154,107,.52); background: rgba(255,253,249,.8); box-shadow: 0 22px 60px rgba(95,68,63,.06); }
.date-card::before { position: absolute; inset: 7px; border: 1px solid rgba(182,154,107,.22); content: ""; pointer-events: none; }
.date-card__day { position: relative; margin: 0; color: var(--rose); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.date-card__date { position: relative; display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .5rem 0; }
.date-card__date > span:first-child { color: var(--ink); font-family: var(--serif); font-size: clamp(5rem, 16vw, 7rem); line-height: 1; }
.date-card__date i { width: 1px; height: 60px; background: rgba(182,154,107,.65); }
.date-card__month { max-width: 130px; color: var(--rose-dark); font-family: var(--serif); font-size: clamp(1.3rem, 5vw, 2rem); line-height: 1.15; text-align: left; }
.date-card__year { position: relative; margin: .8rem 0 1.5rem; color: var(--muted); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.countdown { position: relative; display: flex; justify-content: center; gap: clamp(.8rem, 4vw, 2rem); padding-top: 1rem; border-top: 1px solid rgba(182,154,107,.25); }
.countdown div { display: flex; min-width: 46px; flex-direction: column; }
.countdown strong { color: var(--rose-dark); font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.countdown span { color: var(--muted); font-size: .6rem; letter-spacing: .07em; }
.venue-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.6rem; }
.venue-card { padding: 1.8rem .7rem; }
.venue-card__icon { display: block; margin-bottom: .8rem; color: var(--gold); font-size: 1.6rem; }
.venue-card h3 { margin: .3rem 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.venue-card__time { margin: .3rem 0; color: var(--rose-dark); font-family: var(--serif); font-size: 1.5rem; }
.venue-card__time small { font-family: var(--sans); font-size: .65rem; letter-spacing: .09em; }
.venue-card__place { margin: .25rem 0; color: var(--muted); font-size: .86rem; }
.venue-grid__connector { color: var(--gold); font-size: 1.2rem; }
.celebration__note { margin: 1.2rem 0 0; color: var(--muted); font-size: .78rem; font-style: italic; }

.itinerary { background: #f5eeea; }
.itinerary__inner { max-width: 790px; }
.itinerary__heading { margin-bottom: 3rem; text-align: center; }
.timeline { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 5.5rem; margin: 0; padding: 0; list-style: none; }
.timeline::before { position: absolute; top: 15px; bottom: 15px; left: 50%; width: 1px; content: ""; background: linear-gradient(transparent,rgba(182,154,107,.8) 8%,rgba(182,154,107,.8) 92%,transparent); }
.timeline__item { position: relative; display: grid; min-height: 110px; grid-column: 1 / -1; grid-template-columns: 1fr 22px 1fr; align-items: start; padding: 0 0 1.5rem; }
.timeline__dot { position: relative; z-index: 1; grid-column: 2; grid-row: 1; width: 13px; height: 13px; margin: .36rem auto 0; border: 3px solid #f5eeea; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px rgba(182,154,107,.45); }
.timeline__event { grid-row: 1; }
.timeline__item:nth-child(odd) .timeline__event { grid-column: 1; padding-right: 2rem; text-align: right; }
.timeline__item:nth-child(even) .timeline__event { grid-column: 3; padding-left: 2rem; text-align: left; }
.timeline__item time { display: block; padding-top: .08rem; color: var(--rose-dark); font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; }
.timeline__item time small { font-family: var(--sans); font-size: .58rem; letter-spacing: .04em; }
.timeline__item h3 { margin: .12rem 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; line-height: 1.3; }
.timeline__item p { margin: .25rem 0 0; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.countdown__message { grid-column: 1 / -1; margin: 0; color: var(--rose-dark); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }

.details { overflow: hidden; background: var(--paper); }
.details__inner { display: grid; max-width: 900px; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.details__ornament { position: absolute; top: 50%; left: 50%; color: rgba(182,154,107,.12); font-size: 17rem; line-height: 1; transform: translate(-50%,-50%); }
.gift-card, .passes-card { position: relative; min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 1.7rem; border: 1px solid rgba(182,154,107,.36); background: rgba(255,253,249,.82); text-align: center; }
.gift-card::before, .passes-card::before { position: absolute; inset: 7px; border: 1px solid rgba(182,154,107,.18); content: ""; pointer-events: none; }
.gift-card__icon, .passes-card__ticket { color: var(--rose); font-family: var(--serif); font-size: 2.1rem; }
.gift-card .eyebrow, .passes-card .eyebrow { margin-top: .7rem; font-size: .59rem; }
.gift-card .section-title, .passes-card .section-title { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
.gift-card > p:last-child { max-width: 330px; margin: .5rem 0 0; color: var(--muted); font-size: .82rem; }
.passes-card__count { margin: .5rem 0 0; color: var(--muted); font-family: var(--serif); font-size: 1.25rem; }
.passes-card__count strong { display: inline-block; margin: 0 .25rem; color: var(--rose-dark); font-size: 2.3rem; font-weight: 400; vertical-align: middle; }
.passes-card__note { max-width: 260px; margin: .35rem 0 0; color: var(--muted); font-size: .76rem; }

.rsvp { overflow: hidden; background: linear-gradient(155deg,#f2e6e1 0%,#f8f1ec 55%,#f2e8e2 100%); text-align: center; }
.rsvp::before, .rsvp::after { position: absolute; top: 50%; width: min(45vw, 430px); aspect-ratio: 1; border: 1px solid rgba(182,154,107,.24); border-radius: 50%; content: ""; transform: translateY(-50%); }
.rsvp::before { left: -18%; }
.rsvp::after { right: -18%; }
.rsvp__halo { position: absolute; top: 50%; left: 50%; width: min(72vw, 590px); aspect-ratio: 1; border: 1px solid rgba(182,154,107,.18); border-radius: 50%; transform: translate(-50%,-50%); }
.rsvp__inner { max-width: 640px; }
.rsvp .section-title { margin: .8rem 0; font-size: clamp(2.8rem, 8vw, 4.5rem); }
.rsvp__inner > p:not(.eyebrow):not(.rsvp__phone) { max-width: 430px; margin: .8rem auto 1.8rem; color: var(--muted); font-size: .9rem; }
.rsvp__button { position: relative; display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: .7rem; padding: .85rem 1.55rem; border: 1px solid var(--rose-dark); border-radius: 2px; color: #fffaf7; background: var(--rose-dark); box-shadow: 0 8px 22px rgba(107,68,73,.18); text-decoration: none; transition: color .2s, background .2s, transform .2s, box-shadow .2s; }
.rsvp__button:hover { transform: translateY(-2px); color: var(--rose-dark); background: #fffaf7; box-shadow: 0 12px 26px rgba(107,68,73,.15); }
.rsvp__button svg { width: 19px; height: 19px; fill: currentColor; }
.rsvp__button > span { margin-left: .2rem; font-size: 1rem; }
.rsvp__phone { margin: .8rem 0 0; color: var(--muted); font-size: .73rem; letter-spacing: .08em; }

.footer { display: flex; min-height: 270px; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem; color: #fffaf7; background: #59484a; text-align: center; }
.footer__star { color: #ddc59d; font-size: 1.15rem; }
.footer p { margin: .6rem 0 .25rem; font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.footer strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; }
.footer small { margin-top: .35rem; color: rgba(255,250,247,.65); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: translate(0,0); }
.timeline__item:nth-child(2) { transition-delay: .06s; }
.timeline__item:nth-child(3) { transition-delay: .12s; }
.timeline__item:nth-child(4) { transition-delay: .18s; }
.timeline__item:nth-child(5) { transition-delay: .24s; }
.timeline__item:nth-child(6) { transition-delay: .3s; }

@media (min-width: 760px) {
  .hero { min-height: min(900px, 100svh); padding-top: 7rem; padding-bottom: 6.5rem; }
  .hero::before { inset: 34px; }
  .hero::after { inset: 43px; }
  .scroll-cue { top: calc(100% + 3.4rem); }
  .family-card { padding: 2.8rem 2rem; }
  .date-card { padding: 2.5rem 2rem 1.9rem; }
  .timeline { gap: 0 7rem; }
  .timeline__item { min-height: 122px; }
}
@media (max-width: 600px) {
  .opening { padding-inline: 1rem; }
  .opening__eyebrow { font-size: .58rem; }
  .opening__intro { font-size: .9rem; }
  .opening__date { font-size: .54rem; letter-spacing: .17em; }
  .opening__spark--one { left: 7%; }
  .opening__spark--two { right: 8%; }
  .opening__spark--three { left: 11%; }
  .hero { min-height: 760px; min-height: 94svh; padding-bottom: 6rem; }
  .hero::before { inset: 13px; }
  .hero::after { inset: 19px; }
  .hero__ornament { top: auto; bottom: 9%; width: 105px; opacity: .32; }
  .hero__ornament--left { left: -30px; transform: translate3d(0,var(--parallax-offset,0px),0) rotate(-10deg); }
  .hero__ornament--right { right: -30px; transform: translate3d(0,var(--parallax-offset,0px),0) rotate(10deg); }
  .hero__eyebrow { margin-bottom: 1.25rem; font-size: .57rem; }
  .hero__date { letter-spacing: .11em; }
  .scroll-cue { top: calc(100% + 2.6rem); }
  .section-pad { padding: 5rem 1.2rem; }
  .family__columns { grid-template-columns: 1fr; gap: .4rem; }
  .family__divider { width: 100%; height: 1px; margin: .3rem 0; }
  .family__divider span { padding: 0 .7rem; }
  .family-card { padding: 1.8rem .5rem; }
  .family__closing { margin-top: 1.2rem; font-size: .95rem; }
  .date-card { margin-top: 2rem; margin-bottom: 2.5rem; padding: 1.7rem .9rem 1.35rem; }
  .countdown { gap: .85rem; }
  .countdown strong { font-size: 1.35rem; }
  .countdown span { font-size: .54rem; }
  .venue-grid { gap: .4rem; }
  .venue-card { padding: 1.3rem .2rem; }
  .venue-card h3 { font-size: 1.3rem; }
  .venue-card__place { font-size: .73rem; }
  .venue-grid__connector { font-size: .9rem; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 73px; }
  .timeline__item, .timeline__item:nth-child(odd), .timeline__item:nth-child(even) { grid-column: 1; min-height: 96px; grid-template-columns: 62px 22px 1fr; text-align: left; }
  .timeline__item:nth-child(odd) .timeline__event, .timeline__item:nth-child(even) .timeline__event { grid-column: 3; grid-row: 1; padding: 0 0 0 1rem; text-align: left; }
  .timeline__dot { grid-column: 2; grid-row: 1; }
  .timeline__item time { text-align: left; }
  .timeline__item h3 { font-size: 1.08rem; }
  .timeline__item p { font-size: .68rem; }
  .details__inner { grid-template-columns: 1fr; gap: 1rem; }
  .gift-card, .passes-card { min-height: 270px; }
  .rsvp::before, .rsvp::after { width: 65vw; }
  .music-toggle { right: .7rem; bottom: max(.7rem, env(safe-area-inset-bottom)); min-height: 42px; padding: .45rem .72rem; }
}
@media (max-width: 360px) {
  .countdown { gap: .55rem; }
  .countdown div { min-width: 41px; }
  .countdown strong { font-size: 1.2rem; }
  .venue-card__time { font-size: 1.25rem; }
  .timeline::before { left: 68px; }
  .timeline__item, .timeline__item:nth-child(odd), .timeline__item:nth-child(even) { grid-template-columns: 57px 22px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
