:root {
  --midnight: #090806;
  --charcoal: #15120e;
  --charcoal-soft: #211c16;
  --ivory: #f8f1e5;
  --ivory-deep: #ede1cf;
  --champagne: #e8d5b5;
  --gold: #c49a52;
  --gold-bright: #d8b56a;
  --gold-light: #f3d995;
  --taupe: #9a8670;
  --white: #fffdf8;
  --ink: #211c17;
  --muted: #736555;
  --error: #9f3430;
  --success: #557254;
  --gold-gradient: linear-gradient(115deg, #8f692d 0%, #d8b56a 28%, #f3d995 50%, #b8883f 72%, #e9cb87 100%);
  --gold-soft-gradient: linear-gradient(135deg, rgba(243, 217, 149, .92), rgba(164, 121, 53, .92));
  --dark-gradient: linear-gradient(145deg, #080705, #18130e 56%, #0b0906);
  --shadow-soft: 0 22px 70px rgba(42, 30, 18, .14);
  --shadow-deep: 0 32px 90px rgba(0, 0, 0, .38);
  --serif: "Cormorant Garamond", Georgia, serif;
  --fashion: "Bodoni Moda", Didot, serif;
  --script: "Great Vibes", cursive;
  --sans: "Manrope", system-ui, sans-serif;
  --arabic: "Noto Naskh Arabic", serif;
  --ease-luxury: cubic-bezier(.22, 1, .36, 1);
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 280px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--midnight);
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.opening-active,
body.modal-active { overflow: hidden; }

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
svg { display: block; }
blockquote { margin-inline: 0; }
[hidden] { display: none !important; }

::selection { color: var(--midnight); background: var(--gold-light); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  inset-inline-start: 10px;
  padding: 10px 15px;
  color: var(--midnight);
  background: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus-visible { transform: translateY(0); }

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
}

.section-dark { color: var(--white); background: var(--midnight); }
.section-ivory { background: var(--ivory); }
.section-light { background: var(--white); }
section[id] { scroll-margin-top: calc(var(--header-height) + 26px); }
.section-ivory .eyebrow,
.section-light .eyebrow,
.modal .eyebrow { color: #8c6228; }

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Opening experience */
.opening-experience {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 50%, rgba(124, 90, 38, .13), transparent 34%),
    radial-gradient(circle at 8% 0%, rgba(216, 181, 106, .08), transparent 31%),
    var(--dark-gradient);
  transition: opacity 1s ease, visibility 0s linear 1s;
}

.opening-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: screen;
  background-image:
    repeating-radial-gradient(circle at 18% 22%, transparent 0 2px, rgba(255,255,255,.12) 2.5px 3px),
    repeating-radial-gradient(circle at 72% 64%, transparent 0 3px, rgba(255,255,255,.08) 3.5px 4px);
  background-size: 17px 19px, 23px 27px;
}

.opening-experience.is-playing .opening-copy,
.opening-experience.is-playing .opening-editorial {
  opacity: 0;
  pointer-events: none;
}

.opening-experience.is-playing .opening-card-wrap {
  transform: scale(1.025);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .58), 0 0 80px rgba(216, 181, 106, .12);
}

.opening-experience.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-light {
  position: absolute;
  z-index: 0;
  width: 34vw;
  height: 130vh;
  top: -20vh;
  opacity: .12;
  filter: blur(24px);
  background: linear-gradient(90deg, transparent, rgba(243, 217, 149, .7), transparent);
  pointer-events: none;
  animation: lightSweep 12s ease-in-out infinite alternate;
}

.opening-light-one { left: 5vw; transform: rotate(18deg); }
.opening-light-two { right: -7vw; transform: rotate(-15deg); animation-delay: -6s; }

@keyframes lightSweep {
  from { opacity: .05; translate: -4vw 0; }
  to { opacity: .18; translate: 5vw 0; }
}

.opening-layout {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100vw - 72px));
  height: min(900px, calc(100svh - 40px));
  display: grid;
  grid-template-columns: minmax(100px, .55fr) minmax(300px, 500px) minmax(310px, .8fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
}

.opening-editorial {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: .78;
  writing-mode: vertical-rl;
  transition: opacity .45s ease;
}

.fine-rule { width: 1px; height: 100%; max-height: 220px; background: linear-gradient(transparent, var(--gold), transparent); }
.opening-index, .opening-edition { font-size: 9px; letter-spacing: .4em; }
.opening-edition { color: var(--taupe); }

.opening-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 0;
}

.opening-card-wrap {
  position: relative;
  height: min(88svh, 860px);
  max-width: 100%;
  aspect-ratio: 859 / 1522;
  overflow: hidden;
  background: #d9cdbb;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(243, 217, 149, .18);
  transition: transform 1s var(--ease-luxury), box-shadow 1s var(--ease-luxury);
}

.opening-card-wrap::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 80px rgba(57,42,24,.08);
}

.opening-poster,
.opening-video,
.opening-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opening-poster { z-index: 1; opacity: 1; transition: opacity .24s ease; }
.opening-video { z-index: 2; opacity: 0; transition: opacity .24s ease; }
.is-playing .opening-video { opacity: 1; }
.is-playing .opening-poster { opacity: 0; }

.card-glint {
  position: absolute;
  z-index: 6;
  inset: -20%;
  pointer-events: none;
  opacity: .32;
  background: linear-gradient(108deg, transparent 37%, rgba(255,255,255,.48) 48%, transparent 58%);
  transform: translateX(-65%);
  animation: cardGlint 5.5s ease-in-out infinite 1.2s;
}

@keyframes cardGlint {
  0%, 45% { transform: translateX(-65%); opacity: 0; }
  55% { opacity: .35; }
  75%, 100% { transform: translateX(65%); opacity: 0; }
}

.seal-hotspot {
  position: absolute;
  z-index: 8;
  top: 52%;
  left: 50%;
  width: 22%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.seal-hotspot:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 8px; }
.seal-ripple, .seal-ripple::before {
  position: absolute;
  content: "";
  inset: 6%;
  border: 1px solid rgba(243, 217, 149, .52);
  border-radius: 50%;
  animation: sealBreath 2.5s ease-in-out infinite;
}
.seal-ripple::before { inset: -8px; animation-delay: -.8s; }

@keyframes sealBreath {
  0%, 100% { opacity: .18; transform: scale(.85); }
  50% { opacity: .8; transform: scale(1.16); }
}

.opening-copy {
  max-width: 430px;
  transition: opacity .45s ease;
}

.opening-copy h1 {
  margin: 0;
  color: transparent;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--fashion);
  font-size: clamp(52px, 5.7vw, 92px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .96;
}

.opening-intro {
  max-width: 390px;
  margin: 24px 0 30px;
  color: rgba(255, 253, 248, .65);
  font-family: var(--serif);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.55;
}

.skip-opening {
  display: block;
  margin-top: 18px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid rgba(232, 213, 181, .35);
  color: rgba(255, 253, 248, .62);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Buttons */
.luxury-button {
  position: relative;
  isolation: isolate;
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  padding: 12px 22px 11px;
  border: 1px solid rgba(216, 181, 106, .72);
  border-radius: 999px;
  color: var(--white);
  background: rgba(9, 8, 6, .15);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  transition: color .35s ease, border-color .35s ease, transform .35s var(--ease-luxury), box-shadow .35s ease;
}

.luxury-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  opacity: 0;
  background: var(--gold-gradient);
  transition: opacity .35s ease;
}

.luxury-button::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -100%;
  left: -38%;
  width: 24%;
  height: 300%;
  opacity: .6;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: rotate(20deg);
  transition: left .65s ease;
}

.luxury-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.luxury-button:hover { transform: translateY(-2px); border-color: var(--gold-light); box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.luxury-button:hover::after { left: 118%; }
.luxury-button:active { transform: translateY(0) scale(.98); }

.luxury-button-solid {
  border-color: transparent;
  color: var(--midnight);
  background: var(--gold-gradient);
  box-shadow: 0 12px 30px rgba(179, 135, 59, .18);
}

.luxury-button-solid::before { background: linear-gradient(115deg, #f3d995, #bd8c3b); }
.luxury-button-solid:hover::before { opacity: 1; }
.luxury-button-quiet { border-color: rgba(255,255,255,.22); }

.luxury-button-dark {
  color: var(--ink);
  border-color: rgba(144, 103, 43, .48);
  background: transparent;
}
.luxury-button-dark:hover { color: var(--midnight); }
.luxury-button-dark:hover::before { opacity: 1; }

/* Navigation */
.site-header {
  position: fixed;
  z-index: 200;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  width: min(1320px, calc(100vw - 28px));
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(216, 181, 106, .16);
  border-radius: 999px;
  color: var(--white);
  background: rgba(9, 8, 6, .42);
  box-shadow: 0 16px 45px rgba(0,0,0,.08);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity .6s ease, transform .6s var(--ease-luxury), background .35s ease, border-color .35s ease;
}

.site-header.visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.site-header.scrolled { background: rgba(9, 8, 6, .86); border-color: rgba(216,181,106,.28); }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-monogram {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,181,106,.58);
  border-radius: 50%;
  color: var(--gold-light);
  font: 500 15px/1 var(--fashion);
}

.nav-brand-copy { display: grid; line-height: 1.15; }
.nav-brand-copy strong { font: 500 17px/1.1 var(--serif); letter-spacing: .03em; }
.nav-brand-copy small { margin-top: 3px; color: var(--gold); font-size: 7px; letter-spacing: .18em; text-transform: uppercase; }

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.3vw, 34px);
}

.primary-navigation a,
.nav-rsvp {
  position: relative;
  padding: 8px 0;
  border: 0;
  color: rgba(255,253,248,.65);
  background: transparent;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: translateX(-50%);
  transition: width .3s var(--ease-luxury);
}

.primary-navigation a:hover,
.primary-navigation a.active { color: var(--white); }
.primary-navigation a.active::after { width: 20px; }
.nav-rsvp { color: var(--gold-light); }

.language-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(216,181,106,.22);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 34px;
  min-height: 36px;
  padding: 5px 7px;
  border: 0;
  border-radius: 999px;
  color: rgba(255,253,248,.55);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] { color: var(--midnight); background: var(--gold-bright); }

.nav-toggle { display: none; }

/* Music */
.music-button {
  position: fixed;
  z-index: 190;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(216,181,106,.52);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(9,8,6,.88);
  box-shadow: 0 10px 38px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, border-color .25s ease;
}

.music-button.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.music-button:hover { border-color: var(--gold-light); }
.record {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 3px, rgba(243,217,149,.45) 4px 4.5px);
}
.record .mone-icon { position: relative; z-index: 1; width: 15px; height: 15px; }
.record i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.music-button.is-playing .record { animation: recordSpin 5s linear infinite; }
.music-button:not(.is-playing) .record { opacity: .55; }
.music-label {
  position: absolute;
  right: calc(100% + 10px);
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(216,181,106,.22);
  color: rgba(255,253,248,.8);
  background: rgba(9,8,6,.88);
  font-size: 9px;
  letter-spacing: .08em;
  opacity: 0;
  pointer-events: none;
  transform: translateX(5px);
  transition: opacity .2s ease, transform .2s ease;
}
.music-button:hover .music-label,
.music-button:focus-visible .music-label { opacity: 1; transform: translateX(0); }
@keyframes recordSpin { to { transform: rotate(360deg); } }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(.72) contrast(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom { to { transform: scale(1.055); } }

.hero-veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,8,6,.62) 0%, rgba(9,8,6,.25) 38%, rgba(9,8,6,.74) 100%),
    radial-gradient(circle at 50% 42%, transparent 0, rgba(9,8,6,.16) 45%, rgba(9,8,6,.7) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,8,6,.38), transparent 30% 70%, rgba(9,8,6,.38));
}

.hero-ornament {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: min(18vw, 220px);
  height: 60vh;
  opacity: .38;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-ornament::before,
.hero-ornament::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--gold), transparent);
}
.hero-ornament::before { top: 0; height: 42%; }
.hero-ornament::after { bottom: 0; height: 42%; }
.hero-ornament-left { left: 3vw; }
.hero-ornament-right { right: 3vw; }
.hero-ornament-left::before, .hero-ornament-left::after { transform: rotate(18deg); }
.hero-ornament-right::before, .hero-ornament-right::after { transform: rotate(-18deg); }

.hero-content {
  width: min(1000px, calc(100vw - 40px));
  padding: calc(var(--header-height) + 90px) 0 120px;
  text-align: center;
}

.hero-eyebrow { color: var(--champagne); }
.hero-title {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-family: var(--fashion);
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 400;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.2vw, 32px);
  margin: 0;
  color: var(--white);
  font-family: var(--script);
  font-size: clamp(76px, 11vw, 170px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .92;
  text-shadow: 0 10px 45px rgba(0,0,0,.45);
}

.hero-ampersand {
  color: var(--gold-bright);
  font-family: var(--fashion);
  font-size: .32em;
  font-style: italic;
  translate: 0 4px;
}

.hero-date {
  margin: 26px 0 0;
  color: var(--champagne);
  font-family: var(--fashion);
  font-size: clamp(13px, 1.2vw, 17px);
  letter-spacing: .25em;
  text-transform: uppercase;
}

.hero-vow {
  margin: 14px auto 30px;
  color: rgba(255,253,248,.82);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
}

.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255,253,248,.58);
  font-size: 8px;
  letter-spacing: .25em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cueMove 2s ease-in-out infinite; }
@keyframes cueMove { 50% { transform: translateY(6px); opacity: .45; } }

/* Invitation card */
.invitation-section { position: relative; padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; }
.invitation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background: url("../backgrounds/ivory-paper.webp") center / 700px auto repeat;
  mix-blend-mode: multiply;
}
.invitation-section::after {
  content: "M&A";
  position: absolute;
  inset-inline-start: -3vw;
  bottom: -6vw;
  color: rgba(154,134,112,.06);
  font: 500 clamp(150px, 28vw, 430px)/.7 var(--fashion);
  letter-spacing: -.1em;
  pointer-events: none;
}

.invitation-shell {
  display: grid;
  grid-template-columns: minmax(230px, .75fr) minmax(440px, 720px);
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.section-intro h2,
.center-heading h2,
.split-heading h2,
.couple-copy h2,
.rsvp-panel h2,
.venue-copy h2 {
  margin: 0;
  font-family: var(--fashion);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.section-intro h2 { max-width: 370px; font-size: clamp(44px, 5vw, 72px); }
.section-intro > p:last-child { max-width: 390px; margin: 26px 0 0; color: var(--muted); font-family: var(--serif); font-size: 20px; }

.paper-invitation {
  position: relative;
  padding: 14px;
  background: linear-gradient(140deg, #fffdf7, #eee2ce);
  box-shadow: 0 44px 100px rgba(54,39,20,.2), 0 2px 0 rgba(255,255,255,.8) inset;
  transform: rotate(.5deg);
}

.paper-invitation::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background: url("../backgrounds/ivory-paper.webp") center / 480px auto repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.paper-inner {
  position: relative;
  z-index: 1;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(52px, 8vw, 94px) clamp(34px, 7vw, 88px);
  border: 1px solid rgba(157,112,46,.72);
  text-align: center;
  box-shadow: inset 0 0 0 4px rgba(255,253,248,.64), inset 0 0 0 5px rgba(157,112,46,.23);
}

.paper-inner::before,
.paper-inner::after {
  content: "";
  width: 42px;
  height: 1px;
  margin: 24px 0;
  background: var(--gold-gradient);
}

.paper-kicker { margin: 0; color: #946c31; font-size: 10px; font-weight: 700; letter-spacing: .32em; }
.paper-flourish { margin-top: 22px; color: var(--gold); font-size: 13px; }
.paper-inner > p { max-width: 510px; color: #625548; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }

.paper-names {
  display: grid;
  justify-items: center;
  margin: 16px 0 21px;
  color: #8f652c;
  font-family: var(--script);
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .75;
}
.paper-names span:nth-child(2) { margin: 7px 0 3px; font: italic 27px/1 var(--fashion); }
.paper-event { margin: 22px 0 8px !important; color: var(--ink) !important; font-family: var(--sans) !important; font-size: 10px !important; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.paper-details { display: flex; align-items: center; justify-content: center; gap: 15px; color: #4b4034; font-family: var(--fashion); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.paper-details i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.paper-venue { margin: 15px 0 2px !important; color: #8f652c !important; font-weight: 600; }
.paper-address { margin: 0 !important; font-size: 14px !important; }
.paper-inner blockquote { max-width: 440px; margin: 8px 0 0; color: #786652; font: italic 16px/1.6 var(--serif); }
.paper-monogram { display: grid; place-items: center; width: 58px; height: 58px; margin-top: 25px; border: 1px solid var(--gold); border-radius: 50%; color: #90682f; font: 500 17px/1 var(--fashion); }

.paper-corner { position: absolute; z-index: 3; width: 50px; height: 50px; pointer-events: none; }
.paper-corner::before, .paper-corner::after { content: ""; position: absolute; background: var(--gold); }
.paper-corner::before { width: 36px; height: 1px; }
.paper-corner::after { width: 1px; height: 36px; }
.paper-corner-tl { top: 25px; left: 25px; }
.paper-corner-tr { top: 25px; right: 25px; transform: rotate(90deg); }
.paper-corner-bl { bottom: 25px; left: 25px; transform: rotate(-90deg); }
.paper-corner-br { bottom: 25px; right: 25px; transform: rotate(180deg); }

/* Couple */
.couple-section { padding: clamp(95px, 12vw, 180px) 0; overflow: hidden; }
.couple-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(55px, 10vw, 150px); }
.couple-media { position: relative; max-width: 650px; }
.editorial-initials { position: absolute; z-index: 0; top: -70px; left: -80px; color: rgba(196,154,82,.11); font: 400 clamp(110px, 15vw, 220px)/1 var(--fashion); letter-spacing: -.12em; white-space: nowrap; }
.portrait-frame { position: relative; z-index: 1; padding: 12px; border: 1px solid rgba(196,154,82,.58); border-radius: 48% 48% 8px 8px / 32% 32% 8px 8px; box-shadow: var(--shadow-soft); }
.portrait-frame::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; z-index: -1; border: 1px solid rgba(196,154,82,.17); border-radius: inherit; }
.portrait-still,
.story-video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: calc(48% - 8px) calc(48% - 8px) 3px 3px / calc(32% - 8px) calc(32% - 8px) 3px 3px; filter: saturate(.9) contrast(1.02); }
.portrait-still { display: block; }
.story-video { position: absolute; z-index: 2; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); opacity: 0; transition: opacity .8s ease; }
.story-video.is-ready { opacity: 1; }
.story-motion-button { position: absolute; z-index: 3; right: 30px; bottom: 30px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--charcoal); background: rgba(239,205,137,.88); box-shadow: 0 10px 30px rgba(9,8,6,.2); backdrop-filter: blur(10px); cursor: pointer; transition: transform .25s ease, background .25s ease; }
.story-motion-button:hover { transform: scale(1.06); background: var(--gold-light); }
.story-motion-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.story-motion-button .motion-play-icon { display: none; fill: currentColor; stroke: none; }
.story-motion-button.is-paused .motion-pause-icon { display: none; }
.story-motion-button.is-paused .motion-play-icon { display: block; }
.portrait-caption { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 15px; margin: 17px 3px 0; color: #6b5a49; font-size: 8px; font-weight: 600; letter-spacing: .2em; }
.couple-copy h2 { font-size: clamp(55px, 6.5vw, 92px); }
.couple-copy h2 em { color: var(--gold); font-family: var(--script); font-size: .8em; font-weight: 400; }
.couple-copy .lead { margin: 30px 0 18px; color: #4f4234; font: 500 clamp(24px, 2.5vw, 35px)/1.28 var(--serif); }
.couple-copy > p:last-of-type { max-width: 570px; color: var(--muted); font-family: var(--serif); font-size: 19px; line-height: 1.75; }
.signature-line { display: block; width: 130px; height: 36px; margin-top: 30px; border-bottom: 1px solid var(--gold); border-radius: 50%; transform: rotate(-6deg); opacity: .65; }

/* Golden promise */
.promise-section { position: relative; padding: clamp(100px, 13vw, 190px) 0; overflow: hidden; }
.promise-section::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(216,181,106,.13); pointer-events: none; }
.promise-glow { position: absolute; top: 15%; left: 50%; width: 800px; height: 500px; border-radius: 50%; background: rgba(177,126,44,.12); filter: blur(120px); transform: translateX(-50%); }
.center-heading { max-width: 790px; margin-inline: auto; text-align: center; }
.center-heading h2 { color: inherit; font-size: clamp(49px, 7vw, 92px); }
.center-heading > p:last-child { max-width: 680px; margin: 27px auto 0; color: rgba(255,253,248,.6); font-family: var(--serif); font-size: clamp(18px, 1.8vw, 22px); }

.promise-path { position: relative; max-width: 1060px; margin: clamp(70px, 9vw, 120px) auto 0; }
.promise-line { position: absolute; inset: 10px 0 auto; width: 100%; height: 130px; overflow: visible; }
.promise-line path { fill: none; stroke: url(#none); stroke: rgba(216,181,106,.28); stroke-width: 1; stroke-dasharray: 6 8; }
.promise-path ol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.promise-path li { position: relative; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; }
.promise-path li::before { content: ""; position: absolute; top: 54px; left: 50%; width: 11px; height: 11px; border: 1px solid var(--gold-bright); border-radius: 50%; background: var(--midnight); box-shadow: 0 0 0 7px rgba(196,154,82,.08); transform: translateX(-50%); }
.promise-path li span { color: rgba(232,213,181,.38); font: 400 11px/1 var(--fashion); letter-spacing: .16em; }
.promise-path li strong { margin-top: 12px; color: var(--champagne); font: 500 clamp(17px, 1.8vw, 23px)/1.2 var(--serif); }

/* Countdown */
.countdown-section { position: relative; padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; }
.countdown-section .center-heading h2 { color: var(--ink); font-size: clamp(42px, 5.5vw, 75px); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; max-width: 920px; margin: 58px auto 0; }
.countdown-card {
  position: relative;
  min-height: 190px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(196,154,82,.38);
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(232,213,181,.24));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 45px rgba(68,46,22,.07);
  backdrop-filter: blur(12px);
}
.countdown-card::before, .countdown-card::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--gold); opacity: .65; }
.countdown-card::before { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.countdown-card::after { right: 8px; bottom: 8px; border-right: 1px solid; border-bottom: 1px solid; }
.countdown-card > span { color: #8d652e; font: 400 clamp(48px, 6vw, 78px)/1 var(--fashion); font-variant-numeric: tabular-nums; transition: opacity .18s ease, transform .18s ease; }
.countdown-card > span.tick { opacity: .25; transform: translateY(-5px); }
.countdown-card small { margin-top: 13px; color: #665646; font-size: 8px; font-weight: 700; letter-spacing: .27em; text-transform: uppercase; }
.countdown-begun { margin: 58px auto 0; color: #8d652e; font: 400 clamp(34px,5vw,60px)/1.2 var(--fashion); text-align: center; }

/* Details */
.details-section { padding: clamp(100px, 12vw, 170px) 0; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; margin-bottom: 58px; }
.split-heading h2 { font-size: clamp(48px, 6vw, 82px); }
.split-heading > p { max-width: 450px; margin: 0 0 6px; color: var(--muted); font-family: var(--serif); font-size: 19px; }
.details-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid rgba(196,154,82,.3); border-bottom: 1px solid rgba(196,154,82,.3); }
.detail-card { position: relative; min-height: 260px; padding: 34px 24px 30px; border-inline-end: 1px solid rgba(196,154,82,.2); }
.detail-card:last-child { border-inline-end: 0; }
.detail-number { position: absolute; top: 17px; inset-inline-end: 18px; color: rgba(154,134,112,.45); font-size: 8px; letter-spacing: .12em; }
.detail-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(196,154,82,.46); border-radius: 50%; color: #a07639; font-family: Georgia,serif; font-size: 19px; }
.detail-card h3 { margin: 48px 0 12px; color: #665646; font-size: 8px; letter-spacing: .22em; text-transform: uppercase; }
.detail-card p { margin: 0; color: var(--ink); font: 500 clamp(19px, 1.7vw, 24px)/1.22 var(--serif); }
.detail-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.details-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 42px; }

/* Timeline */
.timeline-section { padding: clamp(100px, 12vw, 165px) 0; }
.event-timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); margin: 70px 0 0; padding: 0; list-style: none; }
.event-timeline::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent); opacity: .55; }
.timeline-event { position: relative; padding: 0 16px; text-align: center; }
.timeline-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin: 21px auto 28px; border: 1px solid var(--gold-light); border-radius: 50%; background: var(--midnight); box-shadow: 0 0 0 8px rgba(196,154,82,.08); }
.timeline-time { color: var(--gold-bright); font: 400 clamp(18px, 2vw, 25px)/1 var(--fashion); }
.timeline-event h3 { max-width: 165px; margin: 12px auto 0; color: rgba(255,253,248,.68); font: 500 16px/1.35 var(--serif); }

/* Gallery */
.gallery-section { position: relative; padding: clamp(100px, 12vw, 180px) 0; overflow: hidden; }
.gallery-section::before { content: ""; position: absolute; inset: 0; opacity: .2; background: url("../backgrounds/ivory-paper.webp") center/720px repeat; mix-blend-mode: multiply; }
.editorial-gallery { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 360px 360px; gap: 16px; }
.gallery-item { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 0; background: #d8cbb6; cursor: zoom-in; }
.gallery-feature { grid-row: 1 / 3; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(9,8,6,.72)); pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform 1s var(--ease-luxury), filter .6s ease; }
.gallery-feature img { object-position: 52% center; }
.gallery-promise img { object-position: center; }
.gallery-venue img { object-position: center; }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(.95); }
.gallery-item > span { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: var(--white); text-align: left; }
.gallery-item small { color: var(--gold-light); font-size: 8px; letter-spacing: .2em; }
.gallery-item strong { font: 500 clamp(20px,2vw,28px)/1.1 var(--serif); }

/* Venue */
.location-section { padding: clamp(100px, 12vw, 175px) 0; }
.location-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 0 clamp(50px, 8vw, 120px); align-items: center; }
.venue-visual { position: relative; padding: 11px; border: 1px solid rgba(196,154,82,.42); box-shadow: var(--shadow-soft); }
.venue-visual img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(.72) sepia(.1) contrast(1.02); }
.venue-stamp { position: absolute; right: -25px; bottom: -25px; width: 92px; height: 92px; display: grid; place-content: center; border: 1px solid #a97b38; border-radius: 50%; color: #9b6f32; background: var(--ivory); box-shadow: 0 12px 30px rgba(63,43,20,.16); font: 500 20px/1.15 var(--fashion); text-align: center; }
.venue-stamp::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(169,123,56,.4); border-radius: 50%; }
.venue-stamp small { font: 600 8px/1 var(--sans); letter-spacing: .18em; }
.venue-copy h2 { max-width: 500px; font-size: clamp(49px, 6vw, 82px); }
.venue-copy > p { max-width: 480px; margin: 22px 0 30px; color: var(--muted); font-family: var(--serif); font-size: 19px; }
.venue-meta { display: flex; align-items: center; justify-content: space-between; max-width: 420px; padding: 18px 0; border-top: 1px solid rgba(196,154,82,.25); border-bottom: 1px solid rgba(196,154,82,.25); }
.venue-meta span { color: #665646; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.venue-meta strong { color: #8e652f; font: 500 22px/1 var(--fashion); }
.venue-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; border: 0; border-bottom: 1px solid rgba(196,154,82,.55); color: #805a29; background: transparent; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.map-frame { grid-column: 1 / -1; height: 420px; margin-top: 80px; padding: 8px; border: 1px solid rgba(196,154,82,.4); border-radius: 18px; background: var(--ivory); box-shadow: var(--shadow-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 11px; filter: sepia(.35) saturate(.65) contrast(1.04); }

/* RSVP and footer */
.rsvp-section { position: relative; padding: clamp(95px, 11vw, 150px) 24px; overflow: hidden; }
.rsvp-section::before { content: ""; position: absolute; inset: 0; opacity: .25; background: url("../backgrounds/ivory-paper.webp") center/660px repeat; mix-blend-mode: multiply; }
.rsvp-panel { position: relative; z-index: 1; width: min(860px, 100%); margin: 0 auto; padding: clamp(55px, 8vw, 90px) clamp(25px, 7vw, 85px); border: 1px solid rgba(196,154,82,.55); background: rgba(255,253,248,.62); box-shadow: inset 0 0 0 8px rgba(248,241,229,.8), inset 0 0 0 9px rgba(196,154,82,.18), var(--shadow-soft); text-align: center; }
.rsvp-panel h2 { max-width: 660px; margin-inline: auto; font-size: clamp(44px, 6vw, 76px); }
.rsvp-panel > p:not(.eyebrow,.rsvp-deadline) { max-width: 600px; margin: 24px auto 0; color: var(--muted); font-family: var(--serif); font-size: 19px; }
.rsvp-deadline { margin: 22px 0 28px; color: #665646; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.rsvp-deadline strong { color: #815a2a; }
.rsvp-seal { position: relative; width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 30px; border-radius: 50%; color: var(--gold-light); background: radial-gradient(circle at 35% 28%, #d7b669, #9b6e2e 72%, #6e481b); box-shadow: 0 11px 26px rgba(102,70,24,.26); font: 500 18px/1 var(--fashion); }
.rsvp-seal::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,239,189,.58); border-radius: 50%; }

.closing-section { position: relative; min-height: 720px; display: grid; place-items: center; overflow: hidden; padding: 110px 24px 70px; text-align: center; background: radial-gradient(circle at 50% 43%, rgba(143,99,35,.2), transparent 30%), var(--dark-gradient); }
.closing-section::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(216,181,106,.13); }
.closing-content { position: relative; z-index: 2; max-width: 820px; }
.closing-monogram { width: 104px; height: 104px; display: grid; place-items: center; margin: 0 auto 32px; border: 1px solid rgba(216,181,106,.62); border-radius: 50%; color: var(--gold-light); font: 500 26px/1 var(--fashion); box-shadow: 0 0 0 8px rgba(216,181,106,.035); }
.closing-content h2 { margin: 0; font: 400 clamp(66px, 9vw, 132px)/.9 var(--script); }
.closing-content h2 em { color: var(--gold-bright); font-family: var(--fashion); font-size: .36em; font-weight: 400; }
.closing-content blockquote { max-width: 650px; margin: 34px auto 22px; color: rgba(255,253,248,.72); font: italic clamp(20px,2.2vw,28px)/1.55 var(--serif); }
.closing-date { margin: 0 0 30px; color: var(--champagne); font: 400 12px/1.2 var(--fashion); letter-spacing: .24em; text-transform: uppercase; }
.back-to-top { display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; margin: 38px auto 0; color: rgba(255,253,248,.5); font-size: 8px; letter-spacing: .2em; text-decoration: none; text-transform: uppercase; }
.back-to-top i { font-style: normal; color: var(--gold); font-size: 17px; }
.footer-line { position: absolute; z-index: 3; left: 42px; right: 42px; bottom: 28px; display: flex; justify-content: space-between; color: rgba(255,253,248,.52); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }

/* Modal */
.modal, .lightbox {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.modal.open, .lightbox.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal-backdrop, .lightbox-backdrop { position: absolute; inset: 0; background: rgba(5,4,3,.78); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); }
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(40px, 7vw, 72px);
  border: 1px solid rgba(196,154,82,.63);
  color: var(--ink);
  background:
    linear-gradient(rgba(248, 241, 229, .91), rgba(248, 241, 229, .91)),
    url("../backgrounds/ivory-paper.webp") center / 600px repeat,
    var(--ivory);
  box-shadow: var(--shadow-deep), inset 0 0 0 8px rgba(255,253,248,.58), inset 0 0 0 9px rgba(196,154,82,.2);
  transform: translateY(25px) scale(.98);
  transition: transform .55s var(--ease-luxury);
}
.modal.open .modal-dialog { transform: translateY(0) scale(1); }
.modal-close, .lightbox-close { position: absolute; z-index: 5; top: 14px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; color: var(--gold); background: transparent; font: 300 30px/1 var(--sans); cursor: pointer; }
.modal-monogram { position: absolute; top: 26px; left: 30px; color: rgba(154,111,48,.4); font: 500 14px/1 var(--fashion); }
.modal-dialog h2 { max-width: 560px; margin: 0; font: 400 clamp(39px,5vw,61px)/1.04 var(--fashion); letter-spacing: -.04em; }
.modal-intro { margin: 16px 0 32px; color: var(--muted); font: 18px/1.5 var(--serif); }
#rsvpForm { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.full-field { grid-column: 1 / -1; }
.field { min-width: 0; }
.field label, .field legend { display: block; margin: 0 0 7px; color: #665746; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.field fieldset, fieldset.field { padding: 0; border: 0; }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid rgba(154,111,48,.34);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255,253,248,.7);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(196,154,82,.1); }
.response-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.response-options label { position: relative; margin: 0; cursor: pointer; }
.response-options input { position: absolute; opacity: 0; pointer-events: none; }
.response-options span { min-height: 53px; display: grid; place-items: center; padding: 10px; border: 1px solid rgba(154,111,48,.3); color: #6b5a47; background: rgba(255,253,248,.55); text-align: center; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.response-options input:checked + span { border-color: #9d7134; color: var(--white); background: #8e652f; }
.response-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { width: 100%; margin-top: 6px; }
.submit-button[disabled] { opacity: .6; cursor: wait; }
.form-message { min-height: 21px; margin: -10px 0 0; color: var(--error); font-size: 12px; }
.success-state { padding: 30px 0 12px; text-align: center; }
.success-seal { width: 100px; height: 100px; display: grid; place-items: center; margin: 0 auto 32px; border: 1px solid rgba(196,154,82,.7); border-radius: 50%; color: #936a31; box-shadow: 0 0 0 8px rgba(196,154,82,.08); font: 500 23px/1 var(--fashion); }
.success-state h2 { margin-inline: auto; }
.success-state > p:not(.eyebrow) { max-width: 500px; margin: 20px auto 28px; color: var(--muted); font-family: var(--serif); font-size: 19px; }

/* Lightbox */
.lightbox { z-index: 410; }
.lightbox-dialog { position: relative; z-index: 1; width: min(1100px, 100%); height: min(88svh, 860px); display: grid; place-items: center; color: var(--white); outline: none; }
.lightbox-dialog figure { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0,1fr) auto; place-items: center; margin: 0; }
.lightbox-dialog img { width: auto; height: 100%; max-height: calc(88svh - 65px); object-fit: contain; box-shadow: 0 25px 80px rgba(0,0,0,.55); }
.lightbox-dialog figcaption { padding-top: 15px; color: var(--champagne); font: 500 19px/1.2 var(--serif); }
.lightbox-close { top: -8px; right: -4px; color: var(--white); }
.lightbox-arrow { position: absolute; z-index: 3; top: 50%; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(216,181,106,.5); border-radius: 50%; color: var(--gold-light); background: rgba(9,8,6,.5); cursor: pointer; transform: translateY(-50%); }
.lightbox-previous { left: -64px; }
.lightbox-next { right: -64px; }
.lightbox-count { position: absolute; right: 0; bottom: 2px; color: rgba(255,253,248,.4); font-size: 9px; letter-spacing: .15em; }

.toast { position: fixed; z-index: 600; left: 50%; bottom: 24px; max-width: calc(100vw - 32px); padding: 10px 16px; border: 1px solid rgba(216,181,106,.4); color: var(--white); background: rgba(9,8,6,.92); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity .25s ease, transform .25s ease; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
.noscript-message { position: fixed; z-index: 700; inset: auto 12px 12px; padding: 14px; color: var(--midnight); background: var(--gold-light); text-align: center; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--ease-luxury); transition-delay: var(--reveal-delay, 0ms); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.detail-card:nth-child(2), .timeline-event:nth-child(2) { --reveal-delay: 70ms; }
.detail-card:nth-child(3), .timeline-event:nth-child(3) { --reveal-delay: 140ms; }
.detail-card:nth-child(4), .timeline-event:nth-child(4) { --reveal-delay: 210ms; }
.detail-card:nth-child(5), .timeline-event:nth-child(5) { --reveal-delay: 280ms; }

/* RTL typography and flow */
[dir="rtl"] body { font-family: var(--arabic); }
[dir="rtl"] .eyebrow,
[dir="rtl"] .luxury-button,
[dir="rtl"] .primary-navigation a,
[dir="rtl"] .nav-rsvp,
[dir="rtl"] .detail-card h3,
[dir="rtl"] .countdown-card small,
[dir="rtl"] .field label,
[dir="rtl"] .field legend { letter-spacing: 0; }
[dir="rtl"] .hero-names,
[dir="rtl"] .paper-names,
[dir="rtl"] .couple-copy h2,
[dir="rtl"] .closing-content h2 { font-family: var(--arabic); line-height: 1.2; }
[dir="rtl"] .opening-copy h1,
[dir="rtl"] .section-intro h2,
[dir="rtl"] .center-heading h2,
[dir="rtl"] .split-heading h2,
[dir="rtl"] .rsvp-panel h2,
[dir="rtl"] .venue-copy h2,
[dir="rtl"] .modal-dialog h2 { font-family: var(--arabic); letter-spacing: 0; line-height: 1.18; }
[dir="rtl"] .luxury-button svg { transform: rotate(180deg); }
[dir="rtl"] .gallery-item > span { text-align: right; }
[dir="rtl"] .lightbox-previous { left: auto; right: -64px; }
[dir="rtl"] .lightbox-next { right: auto; left: -64px; }

@media (max-width: 1100px) {
  :root { --shell: min(calc(100% - 40px), 980px); }
  .opening-layout { grid-template-columns: 40px minmax(280px, 460px) minmax(280px, .8fr); gap: 38px; }
  .nav-brand-copy { display: none; }
  .primary-navigation { gap: 17px; }
  .details-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .detail-card { border-bottom: 1px solid rgba(196,154,82,.2); }
  .detail-card:nth-child(3) { border-inline-end: 0; }
  .detail-card:nth-child(n+4) { border-bottom: 0; }
  .event-timeline { gap: 5px; }
  .lightbox-previous { left: 8px; }
  .lightbox-next { right: 8px; }
  [dir="rtl"] .lightbox-previous { right: 8px; }
  [dir="rtl"] .lightbox-next { left: 8px; }
}

@media (max-width: 820px) {
  :root { --header-height: 64px; --shell: min(calc(100% - 32px), 720px); }
  .opening-layout { width: 100%; height: 100svh; display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; gap: 0; padding: max(12px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom)); }
  .opening-editorial { display: none; }
  .opening-stage { grid-row: 1; min-height: 0; }
  .opening-card-wrap { height: min(75svh, 690px); max-width: calc(100vw - 34px); }
  .opening-copy { grid-row: 2; max-width: none; padding-top: 11px; text-align: center; }
  .opening-copy .eyebrow, .opening-copy h1, .opening-intro { display: none; }
  .opening-copy .luxury-button { min-height: 45px; }
  .skip-opening { margin: 9px auto 0; }
  .site-header { width: calc(100vw - 20px); min-height: 64px; grid-template-columns: auto 1fr auto; gap: 10px; padding: 8px 10px; border-radius: 20px; }
  .nav-monogram { width: 44px; height: 44px; font-size: 13px; }
  .nav-toggle { position: relative; display: grid; place-content: center; gap: 6px; justify-self: end; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
  .nav-toggle > span:not(.sr-only) { display: block; width: 21px; height: 1px; background: var(--champagne); transition: transform .3s ease; }
  .site-header.menu-open .nav-toggle > span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .site-header.menu-open .nav-toggle > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-navigation { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: grid; justify-items: stretch; gap: 0; padding: 12px 20px; border: 1px solid rgba(216,181,106,.22); border-radius: 18px; background: rgba(9,8,6,.95); box-shadow: 0 22px 50px rgba(0,0,0,.28); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, visibility 0s linear .25s, transform .25s ease; }
  .site-header.menu-open .primary-navigation { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .primary-navigation a, .nav-rsvp { width: 100%; padding: 12px 4px; text-align: start; }
  .primary-navigation a::after { display: none; }
  .language-switcher { justify-self: end; }
  .language-switcher button { min-width: 34px; min-height: 38px; padding-inline: 5px; }
  .language-switcher button:nth-child(2), .language-switcher button:nth-child(3) { font-size: 8px; }
  .hero-content { padding-top: 135px; }
  .hero-names { flex-direction: column; gap: 0; font-size: clamp(76px,18vw,118px); line-height: .72; }
  .hero-ampersand { margin: 14px 0 7px; }
  .hero-ornament { display: none; }
  .invitation-shell, .couple-grid, .location-grid { grid-template-columns: 1fr; }
  .invitation-shell { gap: 55px; }
  .section-intro { max-width: 560px; text-align: center; margin-inline: auto; }
  .section-intro h2, .section-intro > p:last-child { margin-inline: auto; }
  .paper-invitation { width: min(650px,100%); margin-inline: auto; }
  .paper-inner { min-height: 670px; }
  .couple-grid { gap: 70px; }
  .couple-media { width: min(600px, 92%); margin-inline: auto; }
  .couple-copy { max-width: 620px; margin-inline: auto; text-align: center; }
  .couple-copy > p:last-of-type { margin-inline: auto; }
  .signature-line { margin-inline: auto; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .details-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-card:nth-child(3) { border-inline-end: 1px solid rgba(196,154,82,.2); }
  .detail-card:nth-child(2n) { border-inline-end: 0; }
  .detail-card:nth-child(n+4) { border-bottom: 1px solid rgba(196,154,82,.2); }
  .detail-card:last-child { grid-column: 1/-1; border: 0; text-align: center; }
  .detail-card:last-child .detail-icon { margin-inline: auto; }
  .event-timeline { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .event-timeline::before { top: 0; bottom: 0; left: 26px; right: auto; width: 1px; height: auto; background: linear-gradient(transparent, var(--gold) 12%, var(--gold) 88%, transparent); }
  .timeline-event { min-height: 105px; display: grid; grid-template-columns: 54px 100px 1fr; align-items: center; padding: 0; text-align: start; }
  .timeline-dot { grid-column: 1; grid-row: 1; margin: 0 0 0 21px; transform: translateX(-50%); }
  .timeline-time { grid-column: 2; grid-row: 1; }
  .timeline-event h3 { grid-column: 3; grid-row: 1; max-width: none; margin: 0; }
  [dir="rtl"] .event-timeline::before { left: auto; right: 26px; }
  [dir="rtl"] .timeline-dot { margin: 0 21px 0 0; transform: translateX(50%); }
  .editorial-gallery { grid-template-rows: 320px 320px; }
  .venue-copy { max-width: 620px; margin: 70px auto 0; text-align: center; }
  .venue-copy > p { margin-inline: auto; }
  .venue-meta { margin-inline: auto; }
  .venue-buttons { justify-content: center; }
  .map-frame { margin-top: 65px; height: 380px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  body { font-size: 15px; }
  .site-header { grid-template-columns: auto auto 1fr; }
  .language-switcher { gap: 0; border: 0; padding: 0; }
  .language-switcher button { min-width: 29px; min-height: 31px; }
  .language-switcher button:nth-child(2) { width: 45px; }
  .language-switcher button:nth-child(3) { width: 45px; }
  .hero-video { object-position: center; }
  .hero-content { width: calc(100vw - 28px); padding: 125px 0 110px; }
  .hero-title { font-size: 15px; letter-spacing: .16em; }
  .hero-names { font-size: clamp(70px,23vw,108px); }
  .hero-date { font-size: 11px; letter-spacing: .16em; }
  .hero-actions { display: grid; width: min(330px,100%); margin-inline: auto; }
  .luxury-button { min-height: 48px; padding-inline: 18px; font-size: 9px; }
  .opening-card-wrap { height: min(73svh, 640px); }
  .invitation-section, .couple-section, .promise-section, .countdown-section, .details-section, .timeline-section, .gallery-section, .location-section { padding-top: 92px; padding-bottom: 92px; }
  .invitation-section::after { display: none; }
  .paper-invitation { padding: 8px; transform: none; }
  .paper-inner { min-height: 620px; padding: 54px 24px; }
  .paper-inner > p { font-size: 16px; }
  .paper-names { font-size: 58px; }
  .paper-details { flex-wrap: wrap; gap: 8px; font-size: 11px; }
  .paper-corner { display: none; }
  .editorial-initials { left: -12px; top: -45px; }
  .portrait-frame { padding: 7px; border-radius: 44% 44% 5px 5px / 27% 27% 5px 5px; }
  .portrait-frame::before { inset: -10px 10px 10px -10px; }
  .portrait-still, .story-video { border-radius: calc(44% - 5px) calc(44% - 5px) 2px 2px / calc(27% - 5px) calc(27% - 5px) 2px 2px; }
  .story-video { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); }
  .story-motion-button { right: 21px; bottom: 21px; width: 44px; height: 44px; }
  .promise-section::before, .closing-section::before { inset: 10px; }
  .promise-line { display: none; }
  .promise-path { margin-top: 52px; }
  .promise-path ol { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; gap: 0; }
  .promise-path ol::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 50%; width: 1px; background: linear-gradient(transparent, rgba(216,181,106,.55), transparent); }
  .promise-path li { min-height: 108px; justify-content: center; padding-inline-start: calc(50% + 24px); align-items: flex-start; text-align: start; }
  .promise-path li:nth-child(even) { padding-inline: 0 calc(50% + 24px); align-items: flex-end; text-align: end; }
  .promise-path li::before { top: 50%; transform: translate(-50%,-50%); }
  .countdown-grid { grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 42px; }
  .countdown-card { min-height: 142px; }
  .countdown-card > span { font-size: 48px; }
  .split-heading { margin-bottom: 42px; }
  .details-grid { display: block; border-bottom: 0; }
  .detail-card, .detail-card:nth-child(3), .detail-card:nth-child(n+4), .detail-card:last-child { min-height: 0; display: grid; grid-template-columns: 50px 1fr; gap: 0 15px; padding: 24px 8px; border: 0; border-bottom: 1px solid rgba(196,154,82,.2); text-align: start; }
  .detail-card:last-child { border-bottom: 1px solid rgba(196,154,82,.2); }
  .detail-card:last-child .detail-icon { margin: 0; }
  .detail-number { top: 16px; inset-inline-end: 5px; }
  .detail-icon { grid-row: 1 / 4; width: 42px; height: 42px; }
  .detail-card h3 { margin: 0 0 5px; }
  .detail-card p { font-size: 20px; }
  .details-actions { display: grid; }
  .timeline-event { grid-template-columns: 54px 85px 1fr; }
  .editorial-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 430px 240px; gap: 8px; }
  .gallery-feature { grid-column: 1/-1; grid-row: 1; }
  .gallery-promise, .gallery-venue { grid-row: 2; }
  .gallery-item > span { left: 14px; right: 14px; bottom: 14px; display: block; }
  .gallery-item strong { display: block; margin-top: 4px; font-size: 17px; }
  .venue-stamp { right: -5px; bottom: -32px; width: 78px; height: 78px; }
  .venue-meta { padding-inline: 3px; }
  .venue-buttons { display: grid; justify-items: center; }
  .map-frame { height: 330px; padding: 5px; }
  .rsvp-section { padding-inline: 14px; }
  .rsvp-panel { padding: 56px 22px; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { width: 100%; max-height: 94svh; padding: 50px 20px 32px; border-width: 1px 0 0; }
  #rsvpForm { grid-template-columns: 1fr; gap: 17px; }
  .full-field { grid-column: 1; }
  .response-options { grid-template-columns: 1fr; }
  .closing-section { min-height: 690px; padding-inline: 20px; }
  .closing-content h2 { display: grid; line-height: .7; }
  .closing-content h2 em { margin: 12px 0 8px; }
  .footer-line { left: 22px; right: 22px; justify-content: center; }
  .footer-line span:last-child { display: none; }
  .lightbox { padding: 12px; }
  .lightbox-dialog { height: 90svh; }
  .lightbox-dialog img { max-height: calc(90svh - 70px); }
  .lightbox-arrow { top: auto; bottom: 28px; }
  .lightbox-previous { left: 5px; }
  .lightbox-next { right: 5px; }
  [dir="rtl"] .lightbox-previous { right: 5px; }
  [dir="rtl"] .lightbox-next { left: 5px; }
  .lightbox-count { right: 50%; transform: translateX(50%); }
}

@media (max-width: 360px) {
  .site-header { width: calc(100vw - 12px); }
  .nav-monogram { width: 40px; height: 40px; }
  .nav-toggle { width: 39px; }
  .language-switcher button { min-width: 27px; width: auto !important; font-size: 7px !important; }
  .hero-names { font-size: 72px; }
  .opening-card-wrap { height: min(70svh, 555px); }
  .paper-inner { min-height: 570px; padding-inline: 17px; }
  .paper-names { font-size: 51px; }
  .editorial-gallery { grid-template-rows: 370px 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .particle-canvas { display: none; }
  .story-video, .story-motion-button { display: none; }
}
