:root {
  --ivory: #F7F1E6;
  --paper: #FCF9F3;
  --cream: #EFE5D3;
  --espresso: #2E211B;
  --brown: #6A574B;
  --wine: #6E1F2E;
  --wine-deep: #521522;
  --gold: #B8955A;
  --gold-soft: #DCC79E;
  --sage: #8E9B82;
  --line: rgba(46, 33, 27, .12);
  --shadow: 0 30px 60px -30px rgba(46, 33, 27, .35), 0 10px 20px -12px rgba(46, 33, 27, .18);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 72px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* fine paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--wine); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
main, .footer { position: relative; z-index: 2; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 .9rem; font: 600 .72rem/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--wine);
}
.eyebrow--soft { color: var(--brown); }
.h2 {
  margin: 0 0 1.25rem; font: 400 clamp(2.4rem, 5.5vw, 4.2rem)/1.04 var(--serif); letter-spacing: -.01em;
}
em, .h2 em { font-style: italic; color: var(--wine); font-weight: 400; }
.lead { font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.45 var(--serif); color: var(--espresso); }
p { color: var(--brown); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  background: var(--bg); cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), color .4s, border-color .4s;
}
.btn::after { /* soft sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  transition: transform .9s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(110%) skewX(-20deg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--wine { --bg: var(--wine); color: #FBF3E6; box-shadow: 0 14px 30px -14px rgba(110, 31, 46, .7); }
.btn--wine:hover { --bg: var(--wine-deep); box-shadow: 0 20px 36px -16px rgba(110, 31, 46, .8); }
.btn--ghost { border-color: rgba(46, 33, 27, .3); color: var(--espresso); }
.btn--ghost:hover { border-color: var(--wine); color: var(--wine); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .68rem; }
.btn--block { width: 100%; }

/* ---------- Cover ---------- */
.cover {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; perspective: 1800px;
}
.cover__door {
  position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--paper);
  background-image:
    radial-gradient(circle at 30% 20%, rgba(220, 199, 158, .18), transparent 50%),
    repeating-linear-gradient(0deg, rgba(46, 33, 27, .012) 0 2px, transparent 2px 4px);
  transition: transform 1.6s cubic-bezier(.7, 0, .2, 1), box-shadow 1.6s;
  backface-visibility: hidden;
}
.cover__door::after { /* inner gold border frame */
  content: ""; position: absolute; inset: 22px; border: 1px solid rgba(184, 149, 90, .45);
}
.cover__door--l { left: 0; transform-origin: left center; box-shadow: inset -30px 0 40px -30px rgba(46, 33, 27, .25); }
.cover__door--l::after { right: 0; border-right: 0; }
.cover__door--r { right: 0; transform-origin: right center; box-shadow: inset 30px 0 40px -30px rgba(46, 33, 27, .25); }
.cover__door--r::after { left: 0; border-left: 0; }
.cover__content { position: relative; text-align: center; transition: opacity .6s, transform .8s var(--ease-out); }
.cover__hint { font: italic 400 1.15rem var(--serif); color: var(--brown); margin-top: 1.4rem; animation: breathe 2.6s ease-in-out infinite; }
.seal {
  width: 128px; height: 128px; border-radius: 50%; border: 0; cursor: pointer; position: relative;
  background: radial-gradient(circle at 35% 30%, #8A2C3D, var(--wine) 45%, #4A111C);
  box-shadow: 0 18px 40px -12px rgba(82, 21, 34, .7), inset 0 -6px 14px rgba(0, 0, 0, .3), inset 0 4px 10px rgba(255, 255, 255, .15);
  transition: transform .6s var(--ease-out);
}
.seal::before { /* wax drip edge */
  content: ""; position: absolute; inset: -7px; border-radius: 47% 53% 49% 51% / 52% 46% 54% 48%;
  background: inherit; z-index: -1; filter: brightness(.85);
}
.seal::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px solid rgba(231, 211, 164, .55); }
.seal:hover { transform: scale(1.05) rotate(-3deg); }
.seal__mono { font: 500 2.1rem/1 var(--serif); color: #EBD7A8; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.seal__mono i { font-style: italic; font-size: .8em; margin: 0 .08em; }
.cover.open .cover__door--l { transform: rotateY(-105deg); box-shadow: inset -30px 0 40px -30px rgba(46, 33, 27, .4), 30px 0 60px rgba(46, 33, 27, .2); }
.cover.open .cover__door--r { transform: rotateY(105deg); box-shadow: inset 30px 0 40px -30px rgba(46, 33, 27, .4), -30px 0 60px rgba(46, 33, 27, .2); }
.cover.open .cover__content { opacity: 0; transform: scale(.9) translateY(-10px); }
.cover.gone { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .5s, box-shadow .5s, transform .6s var(--ease-out);
}
.nav.scrolled { background: rgba(247, 241, 230, .96); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; max-width: 1360px; margin: auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 2rem; }
.logo { font: 500 1.7rem/1 var(--serif); text-decoration: none; letter-spacing: .04em; margin-right: auto; }
.logo i { color: var(--wine); font-weight: 400; }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: 2.2rem; }
.nav__links a {
  position: relative; text-decoration: none; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brown);
  padding: 8px 0; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wine);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__links a:hover, .nav__links a.active { color: var(--espresso); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 7px; cursor: pointer; position: relative; z-index: 60; }
.burger span { display: block; width: 26px; height: 1.4px; background: var(--espresso); transition: transform .5s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ivory); padding: calc(var(--nav-h) + 4vh) var(--pad) 40px;
  display: flex; flex-direction: column; overflow: hidden;
  clip-path: circle(0 at calc(100% - 44px) 36px); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 36px); }
.mobile-menu ul { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: block; padding: 14px 0; font: 400 2.3rem/1.15 var(--serif); text-decoration: none;
  transform: translateY(110%); transition: transform .7s var(--ease-out);
}
.mobile-menu.open li a { transform: none; }
.mobile-menu li:nth-child(2) a { transition-delay: .05s } .mobile-menu li:nth-child(3) a { transition-delay: .1s }
.mobile-menu li:nth-child(4) a { transition-delay: .15s } .mobile-menu li:nth-child(5) a { transition-delay: .2s }
.mobile-menu li:nth-child(6) a { transition-delay: .25s } .mobile-menu li:nth-child(7) a { transition-delay: .3s }
.mobile-menu li a:active { color: var(--wine); }
.mobile-menu__sprig { position: absolute; right: -30px; bottom: -20px; width: 180px; height: 300px; opacity: .5; transform: rotate(-18deg); }

/* ---------- Particles ---------- */
#particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; align-items: center; gap: 3rem;
  padding: calc(var(--nav-h) + 24px) var(--pad) 80px; max-width: 1360px; margin: auto; position: relative;
}
.hero__text { text-align: center; position: relative; z-index: 2; }
.hero__names {
  margin: .3rem 0 0; font: 300 clamp(4.2rem, 16vw, 9.2rem)/.92 var(--serif); letter-spacing: -.02em;
  display: flex; flex-direction: column; align-items: center;
}
.hero__names .amp { font-style: italic; color: var(--wine); font-size: .62em; line-height: 1; margin: .05em 0; }
.split { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(.45em) rotateX(-70deg); transform-origin: 50% 100%; filter: blur(6px);
  transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out), filter 1.1s; transition-delay: calc(.45s + var(--i) * .07s); }
.hero__divider { width: 200px; height: 24px; color: var(--gold); margin: 1.6rem auto 1rem; display: block; }
.hero__date { font: 400 clamp(1.15rem, 2vw, 1.45rem)/1.5 var(--serif); color: var(--espresso); margin: 0 0 2.2rem; }
.hero__date .dot { color: var(--gold); margin: 0 .6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__in { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
body.ready .hero__in { opacity: 1; transform: none; }
body.ready .split .ch { opacity: 1; transform: none; filter: none; }

.hero__art { position: relative; width: min(84vw, 520px); margin: 0 auto; order: -1; }
.arch-stack { position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.arch {
  margin: 0; position: relative; aspect-ratio: 4 / 5.1; border-radius: 999px 999px 28px 28px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--cream); transform: translateZ(30px);
}
.arch img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; will-change: transform; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46, 33, 27, .18), transparent 40%); pointer-events: none; }
.arch-line { position: absolute; inset: -16px; border: 1px solid rgba(184, 149, 90, .7); border-radius: 999px 999px 36px 36px; transform: translateZ(10px); }
.arch-paper {
  position: absolute; inset: 22px -26px -26px 22px; background: var(--paper); border-radius: 999px 999px 32px 32px;
  box-shadow: 0 20px 40px -24px rgba(46, 33, 27, .3); transform: translateZ(-20px) rotate(3deg);
}
.fl { position: absolute; pointer-events: none; will-change: transform; filter: drop-shadow(0 10px 12px rgba(46, 33, 27, .14)); }
.fl > use { animation: sway 9s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.fl--a { width: 120px; height: 200px; left: -64px; bottom: 4%; transform-origin: bottom; }
.fl--a use { animation-duration: 11s; }
.fl--b { width: 96px; height: 96px; left: -34px; bottom: -14px; }
.fl--c { width: 70px; height: 70px; left: 38px; bottom: -30px; }
.fl--d { width: 34px; height: 52px; left: 6px; bottom: 74px; }
.fl--e { width: 100px; height: 170px; right: -50px; top: 6%; }
.fl--e use { animation-duration: 13s; animation-delay: -4s; }
.fl--f { width: 64px; height: 64px; right: -26px; top: 22%; }
.fl--b use, .fl--c use, .fl--f use { animation-name: spin; animation-duration: 40s; animation-timing-function: linear; transform-origin: center; }
.rings { position: absolute; width: 92px; left: -70px; top: 16%; filter: drop-shadow(0 8px 10px rgba(122, 90, 40, .3)); animation: float 7s ease-in-out infinite; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 40px; border: 1px solid rgba(46, 33, 27, .3); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--wine); animation: cue 2.2s var(--ease) infinite; }

/* ---------- Sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad); position: relative; }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
[data-reveal] { opacity: 0; transform: translateY(36px); filter: blur(4px); transition: opacity 1.2s var(--ease-out), transform 1.3s var(--ease-out), filter 1.2s; }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Countdown ---------- */
.countdown { padding: 40px var(--pad) 20px; position: relative; z-index: 2; }
.paper {
  position: relative; max-width: 1040px; margin: auto; text-align: center; padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 64px);
  background: var(--paper); border-radius: 6px; box-shadow: var(--shadow);
}
.paper::before, .paper::after { /* stacked stationery sheets */
  content: ""; position: absolute; inset: 0; background: var(--paper); border-radius: 6px; z-index: -1;
  box-shadow: 0 10px 30px -18px rgba(46, 33, 27, .35);
}
.paper::before { transform: rotate(-1.6deg) translateY(10px); background: #F4ECDD; }
.paper::after { transform: rotate(1.1deg) translateY(16px); background: #EFE5D3; z-index: -2; }
.paper > :not(.cd) { position: relative; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); margin: 1.5rem 0 1.8rem; }
.cd__unit { position: relative; padding: 0 4px; }
.cd__unit + .cd__unit::before { content: ""; position: absolute; left: 0; top: 18%; height: 54%; width: 1px; background: linear-gradient(transparent, var(--gold-soft), transparent); }
.cd__num {
  display: block; font: 300 clamp(2.6rem, 10vw, 6.4rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--espresso);
}
.cd__label { display: block; margin-top: .8rem; font: 600 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--wine); }
.cd__note { font: italic 400 1.1rem var(--serif); margin: 0; }

/* ---------- Story ---------- */
.story__grid { display: grid; gap: clamp(48px, 7vw, 110px); align-items: center; }
.story__media { position: relative; }
.story__frame { border-radius: 260px 260px 20px 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.story__frame img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.fl--story { width: 110px; height: 180px; right: -36px; bottom: -40px; transform: scaleX(-1); }
.fl--story2 { width: 64px; height: 64px; right: 40px; bottom: -26px; }
.story__stamp {
  position: absolute; left: -10px; top: 12%; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center;
  background: var(--ivory); border: 1px solid var(--gold-soft); font: 600 .6rem/1.3 var(--sans); letter-spacing: .25em; text-transform: uppercase;
  text-align: center; color: var(--brown); box-shadow: 0 10px 24px -14px rgba(46, 33, 27, .4); margin: 0;
}
.story__stamp em { display: block; font: italic 400 1.6rem/1 var(--serif); letter-spacing: 0; }
.signature { font: italic 400 1.6rem var(--serif); color: var(--espresso); margin-top: 2rem; }
.signature i { color: var(--wine); }

.timeline { list-style: none; padding: 0; margin: clamp(80px, 10vw, 140px) 0 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold-soft), var(--gold), var(--gold-soft)); }
.tl { position: relative; padding: 0 0 44px 44px; }
.tl::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold); box-shadow: 0 0 0 5px var(--ivory); }
.tl--now::before { background: var(--wine); border-color: var(--wine); }
.tl__year { font: italic 400 1.3rem/1 var(--serif); color: var(--gold); }
.tl h3 { font: 500 1.65rem/1.2 var(--serif); margin: .4rem 0 .5rem; }
.tl p { margin: 0; font-size: .95rem; }
.tl:nth-child(2) { transition-delay: .1s } .tl:nth-child(3) { transition-delay: .2s } .tl:nth-child(4) { transition-delay: .3s }

/* ---------- Events ---------- */
.events__grid { display: grid; gap: 32px; max-width: 980px; margin: auto; perspective: 1400px; }
.card { transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.card__inner {
  position: relative; text-align: center; padding: 64px 32px 44px; background: var(--paper);
  border-radius: 220px 220px 14px 14px; box-shadow: var(--shadow); transform-style: preserve-3d;
  transition: box-shadow .6s var(--ease-out);
}
.card__inner::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(184, 149, 90, .45); border-radius: 210px 210px 8px 8px; pointer-events: none; }
.card:hover .card__inner { box-shadow: 0 50px 80px -40px rgba(46, 33, 27, .45), 0 14px 24px -14px rgba(46, 33, 27, .2); }
.card__inner > * { transform: translateZ(28px); }
.card__icon { width: 52px; height: 52px; color: var(--gold); margin: 0 auto 1.2rem; display: block; }
.card__title { font: 400 2.4rem/1.1 var(--serif); margin: 0 0 1.6rem; }
.card__meta { margin: 0 auto 2rem; max-width: 280px; }
.card__meta div { padding: 12px 0; border-top: 1px solid var(--line); }
.card__meta div:last-child { border-bottom: 1px solid var(--line); }
.card__meta dt { font: 600 .6rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--wine); margin-bottom: 6px; }
.card__meta dd { margin: 0; font: 400 1.2rem/1.35 var(--serif); }

/* ---------- Live stream ---------- */
.live__sub { margin: -.4rem auto 0; max-width: 460px; font: italic 400 1.2rem/1.5 var(--serif); }
.live__frame {
  max-width: 980px; margin: auto; padding: 14px; background: var(--paper); border-radius: 26px; box-shadow: var(--shadow);
  border: 1px solid rgba(184, 149, 90, .35);
}
.live__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #1E1612; }
.live__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.55); transition: transform 1.4s var(--ease-out); }
.live__screen:hover .live__poster { transform: scale(1.04); }
.live__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(231, 211, 164, .7); background: rgba(110, 31, 46, .92); color: #F3E6C8;
  display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); transition: transform .5s var(--ease-out), background .4s;
}
.live__play svg { width: 30px; height: 30px; margin-left: 4px; }
.live__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(231, 211, 164, .5); animation: ripple 2.6s var(--ease) infinite; }
.live__play:hover { transform: scale(1.07); background: var(--wine-deep); }
.live__play[hidden] { display: none; }
.live__badge {
  position: absolute; left: 18px; top: 18px; margin: 0; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(252, 249, 243, .92); color: var(--espresso); font: 600 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.live.has-stream .live__dot { background: #C0392B; animation: breathe 1.6s ease-in-out infinite; }
.live__soon { position: absolute; inset: auto 0 0; margin: 0; padding: 0 24px 26px; text-align: center; color: #EFE3CC; font: italic 400 clamp(1.1rem, 2.4vw, 1.5rem)/1.4 var(--serif); }
.live.has-stream .live__soon { display: none; }
.live__actions { text-align: center; margin-top: 26px; }
.live__actions .btn[hidden] { display: none; }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 8px; justify-content: flex-start; margin: 0 calc(var(--pad) * -1) 36px; padding: 0 var(--pad) 4px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brown); transition: all .4s var(--ease-out);
}
.chip:hover { border-color: var(--wine); color: var(--wine); }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
/* mobile: swipeable row */
.masonry { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 12px; scrollbar-width: none; }
.masonry::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 78%; scroll-snap-align: center; position: relative; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; border-radius: 16px;
  background: var(--cream); aspect-ratio: 4 / 5; font-size: 0; transition: opacity .5s, transform .6s var(--ease-out);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .8s; opacity: 0; }
.shot img.loaded { opacity: 1; }
.shot:hover img { transform: scale(1.06); }
.shot__cap {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px; text-align: left; color: #FBF3E6; font: italic 400 1.2rem/1.2 var(--serif);
  background: linear-gradient(transparent, rgba(30, 20, 16, .6)); opacity: 0; transform: translateY(8px); transition: all .6s var(--ease-out);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
.shot[hidden] { display: none; }
.shot.fade { opacity: 0; transform: scale(.96); }

.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(28, 20, 16, .94); display: grid; place-items: center; opacity: 0; transition: opacity .5s; touch-action: pan-y; }
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(92vw, 1200px); text-align: center; }
.lb__fig img { max-width: 100%; max-height: 80svh; margin: auto; border-radius: 6px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); transition: opacity .35s, transform .5s var(--ease-out); }
.lb__fig img.swap { opacity: 0; transform: scale(.97); }
.lb__fig figcaption { color: #EADFCB; margin-top: 16px; font: italic 400 1.25rem var(--serif); display: flex; justify-content: center; gap: 16px; align-items: baseline; }
.lb__fig small { font: 500 .7rem var(--sans); letter-spacing: .2em; color: var(--gold-soft); font-style: normal; }
.lb__close, .lb__nav { position: absolute; border: 1px solid rgba(234, 223, 203, .25); background: transparent; color: #EADFCB; border-radius: 50%; width: 52px; height: 52px; font: 300 2rem/1 var(--serif); cursor: pointer; transition: background .3s, border-color .3s; }
.lb__close:hover, .lb__nav:hover { background: rgba(234, 223, 203, .1); border-color: var(--gold-soft); }
.lb__close { top: 18px; right: 18px; }
.lb__nav { top: 50%; transform: translateY(-50%); display: none; }
.lb__prev { left: 24px; } .lb__next { right: 24px; }

/* ---------- Venue ---------- */
.venue { max-width: none; overflow: hidden; background: var(--cream); }
.venue__map { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brown); opacity: .13; pointer-events: none; }
.venue__grid { position: relative; max-width: 1280px; margin: auto; display: grid; align-items: center; }
.venue__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.venue__photo img { width: 100%; height: 114%; object-fit: cover; margin-top: -7%; }
.venue__card {
  position: relative; background: var(--paper); border-radius: 18px; padding: clamp(28px, 4vw, 48px); margin: -60px 12px 0; box-shadow: var(--shadow);
}
.venue__card address { font: italic 400 1.2rem var(--serif); color: var(--espresso); margin-bottom: 1rem; }
.mapcard { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin: 1.6rem 0; background: var(--ivory); }
.mapcard iframe { display: block; width: 100%; height: 200px; border: 0; filter: grayscale(.85) sepia(.25) contrast(.95); }
.mapcard__foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.mapcard__foot svg { width: 26px; height: 26px; color: var(--wine); flex: none; }
.mapcard__foot strong { display: block; font: 500 1.15rem/1.2 var(--serif); }
.mapcard__foot small { color: var(--brown); font-size: .78rem; }

/* ---------- Families ---------- */
.families { text-align: center; }
.families__grid { display: grid; gap: 28px; align-items: center; max-width: 960px; margin: auto; }
.family h3 { font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.3 var(--serif); margin: .4rem 0 .4rem; }
.family h3 i { color: var(--wine); }
.family p:last-child { margin: 0; font-size: .92rem; }
.families__sep { width: 46px; height: 46px; margin: auto; animation: spin 50s linear infinite; }
.families__divider { width: 220px; height: 24px; color: var(--gold); margin: 64px auto 20px; display: block; }
.families__quote { font: italic 400 clamp(1.3rem, 2.4vw, 1.7rem)/1.4 var(--serif); color: var(--espresso); max-width: 560px; margin: 0 auto; }

/* ---------- RSVP ---------- */
.rsvp__card { max-width: 760px; margin: auto; background: var(--paper); border-radius: 220px 220px 18px 18px; padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 72px) clamp(36px, 6vw, 64px); box-shadow: var(--shadow); position: relative; }
.rsvp__card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(184, 149, 90, .4); border-radius: 210px 210px 12px 12px; pointer-events: none; }
.rsvp__card .h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font: 600 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--espresso); margin-bottom: 10px; padding: 0; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--brown); }
input:not([type="radio"]), select, textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid rgba(46, 33, 27, .18); border-radius: 12px; background: var(--ivory);
  font: 400 1rem var(--sans); color: var(--espresso); transition: border-color .3s, box-shadow .3s, background .3s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236A574B' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184, 149, 90, .16); }
[aria-invalid="true"] { border-color: var(--wine) !important; }
.err { margin: 8px 0 0; font-size: .8rem; color: var(--wine); min-height: 0; }
.err:empty { display: none; }
.row { display: grid; gap: 0 18px; }
.choices { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.choice { position: relative; cursor: pointer; margin: 0 !important; letter-spacing: 0 !important; text-transform: none !important; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 10px 12px; border: 1px solid rgba(46, 33, 27, .18); border-radius: 12px;
  font: 400 1.15rem/1.2 var(--serif); color: var(--espresso); background: var(--ivory); transition: all .4s var(--ease-out);
}
.choice:hover span { border-color: var(--gold); }
.choice input:checked + span { background: var(--wine); border-color: var(--wine); color: #FBF3E6; box-shadow: 0 12px 24px -14px rgba(110, 31, 46, .8); transform: translateY(-1px); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.attending { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease-out), opacity .5s; }
.attending > div { min-height: 0; overflow: hidden; padding: 4px; margin: -4px; }
.attending.off { grid-template-rows: 0fr; opacity: 0; }
.success { text-align: center; padding: 20px 0; outline: none; }
.success__seal { width: 120px; height: 120px; margin: 0 auto 20px; }
.s-ring { stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw 1.4s var(--ease-out) forwards; }
.s-fill { transform-origin: center; transform: scale(0); animation: pop .8s .5s var(--ease-out) forwards; }
.s-check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s 1.1s var(--ease-out) forwards; }
.success .h2, .success p { opacity: 0; animation: rise 1s 1.2s var(--ease-out) forwards; }
.success p { animation-delay: 1.4s; font: 400 1.2rem/1.5 var(--serif); max-width: 440px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 80px var(--pad) 110px; border-top: 1px solid var(--line); }
.footer__mono { font: 300 3.4rem/1 var(--serif); color: var(--espresso); margin: 0 0 12px; }
.footer__mono i { color: var(--wine); }
.footer p { margin: 4px 0; }
.footer__tag { font: 600 .7rem var(--sans); letter-spacing: .3em; color: var(--gold); }

/* ---------- Music ---------- */
.music {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(184, 149, 90, .5); background: var(--paper); color: var(--wine); cursor: pointer; box-shadow: var(--shadow);
  display: grid; place-items: center; transition: transform .5s var(--ease-out);
}
.music:hover { transform: scale(1.06); }
.music::before, .music::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; }
.music__ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); color: var(--gold); opacity: 0; transition: opacity .5s; }
.music__icon { width: 22px; height: 22px; }
.i-bars { display: none; fill: currentColor; }
.i-bars rect { transform-origin: center; transform-box: fill-box; transition: transform .08s linear; }
.music { --beat: 0; }
.music.playing { transform: scale(calc(1 + var(--beat) * .1)); transition: transform .08s linear;
  box-shadow: var(--shadow), 0 0 calc(var(--beat) * 34px) calc(var(--beat) * 6px) rgba(184, 149, 90, .55); }
.song-tag {
  position: fixed; right: 84px; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 59; margin: 0;
  display: flex; flex-direction: column; padding: 8px 16px; border-radius: 999px; background: var(--paper);
  border: 1px solid rgba(184, 149, 90, .4); box-shadow: 0 10px 24px -14px rgba(46, 33, 27, .4); pointer-events: none;
  opacity: 0; transform: translateX(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.song-tag.show { opacity: 1; transform: none; }
.song-tag small { font: 600 .55rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--wine); }
.song-tag span { font: italic 400 1.05rem/1.2 var(--serif); color: var(--espresso); white-space: nowrap; }
.music.playing .i-play { display: none; }
.music.playing .i-bars { display: inline; }
.music.playing .music__ring { opacity: 1; animation: spin 12s linear infinite; }
.music.playing::before { animation: ripple 2.8s var(--ease) infinite; }
.music.playing::after { animation: ripple 2.8s 1.4s var(--ease) infinite; }

/* ---------- Keyframes ---------- */
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 60% { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ripple { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
@keyframes eq { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .row { grid-template-columns: 1fr 1fr; }
  .masonry { display: block; columns: 2; column-gap: 18px; overflow: visible; margin: 0; padding: 0; }
  .shot { display: block; width: 100%; margin: 0 0 18px; break-inside: avoid; aspect-ratio: auto; height: auto; }
  .shot img { height: auto; aspect-ratio: 1 / var(--r, 1); }
  .filters { justify-content: center; margin: 0 0 40px; padding: 0; flex-wrap: wrap; overflow: visible; }
  .events__grid { grid-template-columns: 1fr 1fr; }
  .card__inner { padding: 72px 28px 48px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .lb__nav { display: block; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
  .hero { grid-template-columns: 1.05fr 1fr; gap: 4vw; }
  .hero__text { text-align: left; }
  .hero__names { align-items: flex-start; }
  .hero__names .amp { margin-left: .9em; }
  .hero__divider { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__art { order: 0; width: min(38vw, 520px); }
  .story__grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 3; column-gap: 22px; }
  .shot { margin-bottom: 22px; }
  /* horizontal timeline */
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 0 40px; }
  .timeline::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent); }
  .tl { padding: 44px 0 0; }
  .tl::before { left: 0; top: 0; }
  .venue__grid { grid-template-columns: 1.25fr 1fr; }
  .venue__card { margin: 0 0 0 -90px; }
  .families__grid { grid-template-columns: 1fr auto 1fr; gap: 48px; }
}

@media (hover: none) { .shot__cap { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
