/* Seyi & Sam — white pearl wedding site */
:root {
  --white: #ffffff;
  --pearl: #fbfaf8;
  --pearl-2: #f6f3f1;
  --pearl-3: #efebea;
  --ink: #4a3a40;
  --ink-soft: #7d6b70;
  --ink-faint: #a7a1aa;
  --line: rgba(120, 110, 125, .16);
  --gold: #bf9b5f;
  --gold-deep: #a07c42;
  --gold-light: #ecd6a2;
  --gold-grad: linear-gradient(135deg, #a88447 0%, #ecd6a2 38%, #c49c58 58%, #f1dfb2 78%, #b08c4f 100%);
  --blush: #e8c1c0;
  --petal: #f6e3e1;
  --rose: #c98f95;
  --rose-deep: #9a5f68;
  --iris: linear-gradient(100deg, #c98f95 0%, #ecd6a2 30%, #e8c1c0 55%, #bf9b5f 80%, #c98f95 100%);
  --pearl-ball: radial-gradient(circle at 32% 28%, #fff 0 12%, #f8f4f6 28%, #ebe4ea 55%, #d8d0da 78%, #c8c0cb 100%);
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --sans: 'Jost', 'Avenir Next', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; margin: 0; line-height: 1.15; }
p { margin: 0; }
::selection { background: var(--petal); }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 48px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.script { font-family: var(--script); font-size: clamp(44px, 7vw, 64px); line-height: 1.1; color: var(--ink); }

/* Iridescent text shimmer */
.names__one, .names__two, .section-head h2, .rsvp h2, .footer__names {
  background: linear-gradient(100deg, #4f3a42 0%, #4f3a42 34%, #c98f95 43%, #ecd6a2 50%, #bf9b5f 56%, #4f3a42 66%, #4f3a42 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 9s var(--ease) infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }

/* ───────── Nav ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
}
.nav.is-solid {
  background: rgba(251, 250, 248, .78);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.nav__mark { font-family: var(--serif); font-size: 22px; letter-spacing: .18em; text-decoration: none; }
.nav__mark span { font-family: var(--script); letter-spacing: 0; font-size: 26px; color: var(--gold); }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 36px); align-items: center; }
.nav__links a {
  font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft); position: relative; padding: 6px 0;
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--iris); transform: scaleX(0); transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links .nav__rsvp {
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink);
  background: rgba(255,255,255,.6);
}
.nav__links .nav__rsvp::after { display: none; }
.nav__links .nav__rsvp:hover { border-color: #cbbfcc; box-shadow: 0 6px 20px -10px rgba(120,100,130,.5); }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; gap: 6px; width: 40px; height: 40px; place-content: center;
    background: none; border: 0; cursor: pointer; z-index: 2;
  }
  .nav__toggle span { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(251, 250, 248, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
  }
  .nav__links a { font-size: 14px; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
}

/* ───────── Hero ───────── */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 120px 24px 110px; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #fbfaf8 55%, #f3efee 100%);
}
.hero__sheen, .rsvp__sheen { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 26s ease-in-out infinite alternate;
}
.b1 { width: 46vmax; height: 46vmax; left: -14vmax; top: -12vmax; background: #f6dcdb; }
.b2 { width: 38vmax; height: 38vmax; right: -12vmax; top: 8vmax; background: #f6ead3; animation-delay: -8s; }
.b3 { width: 34vmax; height: 34vmax; left: 18vmax; bottom: -18vmax; background: #f4dcd8; animation-delay: -14s; }
.b4 { width: 22vmax; height: 22vmax; right: 18vmax; bottom: -6vmax; background: #f3e4cc; animation-delay: -20s; }
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); }
  100% { transform: translate3d(-3vmax, 5vmax, 0) scale(.96); }
}
.hero__pearls { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 900px; }

.names { margin: 28px 0 22px; display: flex; flex-direction: column; align-items: center; }
.names__one, .names__two {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(64px, 12vw, 148px); line-height: 1.05; padding: 0 .15em;
}
.names__amp {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(30px, 4.5vw, 52px); margin: -.1em 0 -.05em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__invite { font-style: italic; font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); line-height: 1.6; }

.strand { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 34px auto; position: relative; }
.strand::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 260px; height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(191,155,95,.7), transparent);
}
.strand i {
  position: relative; display: block; border-radius: 50%; background: var(--pearl-ball);
  box-shadow: 0 2px 5px rgba(110, 95, 115, .22), inset -1px -2px 3px rgba(150,135,155,.25);
}
.strand i:nth-child(1), .strand i:nth-child(9) { width: 5px; height: 5px; }
.strand i:nth-child(2), .strand i:nth-child(8) { width: 7px; height: 7px; }
.strand i:nth-child(3), .strand i:nth-child(7) { width: 9px; height: 9px; }
.strand i:nth-child(4), .strand i:nth-child(6) { width: 11px; height: 11px; }
.strand i:nth-child(5) { width: 16px; height: 16px; }
.strand--small i:nth-child(1), .strand--small i:nth-child(7) { width: 5px; height: 5px; }
.strand--small i:nth-child(2), .strand--small i:nth-child(6) { width: 7px; height: 7px; }
.strand--small i:nth-child(3), .strand--small i:nth-child(5) { width: 9px; height: 9px; }
.strand--small i:nth-child(4) { width: 13px; height: 13px; }

.hero__date { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
.hero__date span { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.hero__date strong {
  font-weight: 300; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: .12em;
  padding: 0 clamp(14px, 3vw, 30px); border-inline: 1px solid var(--line);
}

.countdown { display: flex; justify-content: center; gap: clamp(10px, 2.4vw, 22px); margin: 40px 0 42px; }
.countdown div {
  width: clamp(68px, 11vw, 92px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; gap: 2px; position: relative;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.98), rgba(250,247,248,.85) 55%, rgba(236,230,237,.8));
  box-shadow: 0 10px 30px -14px rgba(110, 95, 120, .45), inset 0 0 0 1px rgba(255,255,255,.9), inset -4px -6px 14px rgba(180,165,185,.18);
}
.countdown div::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1px;
  background: conic-gradient(from 120deg, #e8c1c0, #ecd6a2, #bf9b5f, #f6e3e1, #c98f95, #e8c1c0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.countdown span { font-size: clamp(24px, 3.6vw, 34px); font-weight: 300; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.countdown small { font-family: var(--sans); font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-faint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 0; color: var(--ink);
}
.btn--pearl {
  position: relative; padding: 17px 40px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f4f0f2);
  box-shadow: 0 14px 34px -16px rgba(154, 95, 104, .55), inset 0 0 0 1px rgba(191, 155, 95, .65), inset 0 -3px 8px rgba(232,193,192,.3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn--pearl::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(246, 220, 219, .8) 45%, rgba(236, 214, 162, .7) 55%, transparent 70%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.btn--pearl:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(154, 95, 104, .6), inset 0 0 0 1px rgba(191, 155, 95, .95); }
.btn--pearl:hover::after { transform: translateX(120%); }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 24px; height: 40px;
  border: 1px solid rgba(120,110,125,.35); border-radius: 14px; z-index: 1;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--ink-soft); animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ───────── Sections ───────── */
section { position: relative; }
.welcome, .story, .day, .gallery, .travel, .faq, .rsvp { padding: clamp(90px, 12vw, 150px) 0; }

.welcome { text-align: center; background: var(--white); }
.lede { font-size: clamp(21px, 2.4vw, 26px); font-weight: 300; line-height: 1.75; margin-top: 18px; color: #555058; }
.signature { margin-top: 26px; font-style: italic; color: var(--ink-soft); }

.section-head { text-align: center; margin-bottom: clamp(54px, 7vw, 84px); }
.section-head h2 { font-size: clamp(44px, 6.4vw, 76px); margin-top: 14px; padding-bottom: .05em; }
.pearl-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.pearl-rule::before, .pearl-rule::after { content: ""; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); transform-origin: right; transition: transform 1.4s var(--ease) .3s; }
.reveal:not(.is-in) .pearl-rule::before, .reveal:not(.is-in) .pearl-rule::after { transform: scaleX(0); }
.pearl-rule::after { transform: scaleX(-1); transform-origin: right; }
.reveal:not(.is-in) .pearl-rule::after { transform: scaleX(0); }
.pearl-rule i { width: 11px; height: 11px; border-radius: 50%; background: var(--pearl-ball); box-shadow: 0 2px 6px rgba(110,95,115,.25); }

/* Pearl placeholder tiles (swap for real photos later) */
.pearl-tile {
  position: relative; margin: 0; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.95), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(246, 226, 200, .9), transparent 50%),
    radial-gradient(circle at 75% 20%, rgba(246, 218, 217, .95), transparent 50%),
    radial-gradient(circle at 25% 85%, rgba(240, 210, 208, .8), transparent 55%),
    #f8efed;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 20px 50px -30px rgba(100, 85, 110, .45);
}
.pearl-tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform 1.6s var(--ease);
}
.pearl-tile:hover::before { transform: translateX(100%); }
.pearl-tile span {
  position: relative; font-style: italic; font-size: 16px; color: var(--ink-faint);
  padding: 6px 16px; border: 1px solid rgba(191,155,95,.35); border-radius: 999px; background: rgba(255,255,255,.5); color: var(--rose-deep);
}
.pearl-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pearl-tile.photo { background: var(--pearl); }
.pearl-tile.photo img { transition: transform 1.2s var(--ease); }
.pearl-tile.photo:hover img { transform: scale(1.04); }
.pearl-tile.photo::before { z-index: 1; pointer-events: none; }

/* Story timeline */
.story { background: linear-gradient(180deg, var(--white), var(--pearl)); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(60px, 9vw, 110px); }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(191,155,95,.55) 8%, rgba(201,143,149,.55) 92%, transparent);
  transform-origin: top; transform: scaleY(var(--progress, 0));
}
.moment { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; position: relative; }
.moment::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; translate: -50% -50%;
  border-radius: 50%; background: var(--pearl-ball); box-shadow: 0 0 0 6px var(--pearl), 0 3px 10px rgba(110,95,115,.3);
}
.moment__photo { aspect-ratio: 4 / 5; border-radius: 220px 220px 8px 8px; }
.moment:nth-child(even) .moment__photo { order: 2; }
.moment:nth-child(even) .moment__text { text-align: right; }
.moment__year { font-family: var(--sans); font-size: 12px; letter-spacing: .34em; color: var(--rose); }
.moment h3 { font-size: clamp(30px, 3.4vw, 40px); margin: 10px 0 14px; font-style: italic; }
.moment p:last-child { color: var(--ink-soft); max-width: 42ch; }
.moment:nth-child(even) p:last-child { margin-left: auto; }

@media (max-width: 760px) {
  .timeline::before { left: 14px; }
  .moment { grid-template-columns: 1fr; gap: 26px; padding-left: 44px; }
  .moment::before { left: 14px; top: 0; translate: -50% 0; }
  .moment__photo { width: min(100%, 340px); }
  .moment:nth-child(even) .moment__photo { order: 0; }
  .moment:nth-child(even) .moment__text { text-align: left; }
  .moment:nth-child(even) p:last-child { margin-left: 0; }
}

/* The day */
.day { background: var(--pearl); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(22px, 3vw, 36px); }
.card {
  position: relative; text-align: center; padding: 70px clamp(28px, 4vw, 52px) 48px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.7));
  border-radius: 6px;
  box-shadow: 0 30px 60px -40px rgba(100, 85, 110, .45), inset 0 0 0 1px rgba(255,255,255,1), 0 0 0 1px var(--line);
}
.card::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(191, 155, 95, .4); border-radius: 3px; pointer-events: none;
}
.card__pearl {
  position: absolute; top: -18px; left: 50%; translate: -50% 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--pearl-ball); box-shadow: 0 8px 18px -6px rgba(110,95,115,.45), 0 0 0 6px var(--pearl);
}
.card__label { font-family: var(--sans); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.card__time { font-size: 44px; font-weight: 300; margin: 6px 0 4px; }
.card h3 { font-size: 28px; font-style: italic; }
.card__place { color: var(--ink-soft); }
.card__note { color: var(--ink-soft); font-size: 17px; margin: 18px auto 26px; max-width: 30ch; }
.link {
  font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid rgba(150,135,155,.4); transition: border-color .3s, color .3s;
  position: relative; z-index: 1;
}
.link:hover { border-color: var(--gold); color: var(--gold); }

.schedule {
  list-style: none; padding: 0; margin: clamp(70px, 9vw, 100px) auto 0; max-width: 560px;
}
.schedule li {
  display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.schedule li:first-child { border-top: 1px solid var(--line); }
.schedule time { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.schedule span { font-size: 22px; font-style: italic; }

.dress { text-align: center; margin: clamp(80px, 10vw, 120px) auto 0; max-width: 620px; }
.dress h3 { font-size: clamp(28px, 3.4vw, 38px); margin: 14px 0; }
.dress p:not(.eyebrow) { color: var(--ink-soft); }
.swatches { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 26px); margin-top: 34px; flex-wrap: wrap; }
.swatches figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.swatches figcaption { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.swatches .is-gold { background: radial-gradient(circle at 32% 28%, #fff6de 0 10%, transparent 30%), var(--gold-grad) !important; }
.swatches span {
  width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 10%, var(--c) 55%, color-mix(in srgb, var(--c), #8a7f90 18%) 100%);
  box-shadow: 0 8px 18px -10px rgba(100,85,110,.55), inset 0 0 0 1px rgba(255,255,255,.7);
  transition: transform .4s var(--ease);
}
.swatches span:hover { transform: translateY(-4px) scale(1.06); }

/* Gallery */
.gallery { background: var(--white); }
.grid {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 18vw, 230px);
}
.grid .pearl-tile { border-radius: 4px; }
.g1 { grid-column: span 2; grid-row: span 2; border-radius: 300px 300px 4px 4px !important; }
.g2 { grid-row: span 2; }
.g5 { grid-column: span 2; }
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g1 { grid-column: span 2; }
  .g5 { grid-column: span 1; }
}

/* Quote band */
.quote {
  padding: clamp(100px, 14vw, 170px) 24px; text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(246, 218, 217, .95), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(246, 230, 200, .9), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(240, 210, 208, .8), transparent 60%),
    #fbf4f2;
}
.quote blockquote { margin: 0 auto; max-width: 860px; }
.quote p { font-size: clamp(32px, 5vw, 58px); font-weight: 300; font-style: italic; line-height: 1.3; }
.quote cite { display: block; margin-top: 24px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }

/* Travel */
.travel { background: var(--pearl); }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(30px, 4vw, 56px); }
.info__item { padding-top: 26px; border-top: 1px solid var(--line); position: relative; }
.info__item::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--pearl-ball); box-shadow: 0 2px 5px rgba(110,95,115,.3);
}
.info h3 { font-size: 28px; font-style: italic; margin-bottom: 10px; }
.info p { color: var(--ink-soft); font-size: 18px; }

/* FAQ */
.faq { background: var(--white); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: clamp(21px, 2.4vw, 25px); transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; translate: 0 -50%;
  border-radius: 50%; background: var(--pearl-ball); box-shadow: 0 2px 6px rgba(110,95,115,.3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.accordion details[open] summary::after { transform: scale(1.35); box-shadow: 0 0 0 5px rgba(236, 228, 238, .8), 0 2px 6px rgba(110,95,115,.3); }
.accordion summary:hover { color: #7c6f80; }
.accordion details p { padding: 0 44px 26px 0; color: var(--ink-soft); }

/* RSVP */
.rsvp { overflow: hidden; background: linear-gradient(180deg, var(--white), #fbefed); }
.rsvp__sheen .blob { opacity: .5; }
.rsvp__card {
  position: relative; text-align: center; padding: clamp(50px, 7vw, 80px) clamp(24px, 6vw, 70px);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 8px;
  box-shadow: 0 40px 80px -50px rgba(100, 85, 110, .6), inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px var(--line);
}
.rsvp h2 { font-size: clamp(40px, 5.4vw, 60px); margin-top: 4px; }
.rsvp__by { font-style: italic; color: var(--ink-soft); margin: 8px 0 40px; }

.form { display: grid; gap: 26px; text-align: left; }
.field { display: grid; gap: 6px; }
.field > span, .choice legend {
  font-family: var(--sans); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft);
}
.field input, .field textarea {
  font: inherit; font-size: 20px; color: var(--ink); background: transparent; border: 0;
  border-bottom: 1px solid rgba(140, 125, 145, .35); padding: 8px 2px; border-radius: 0; resize: vertical;
  transition: border-color .4s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); font-style: italic; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field.is-invalid input { border-bottom-color: #c39595; }

.choice { border: 0; padding: 0; margin: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.choice legend { margin-bottom: 12px; padding: 0; }
.choice label { flex: 1 1 200px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 999px;
  border: 1px solid rgba(140, 125, 145, .28); font-size: 19px; font-style: italic;
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.choice span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 1px solid rgba(140, 125, 145, .45); transition: all .4s var(--ease);
}
.choice input:checked + span { border-color: #cdbfcf; background: rgba(255,255,255,.9); box-shadow: 0 10px 24px -14px rgba(110,90,120,.5); }
.choice input:checked + span::before { border-color: transparent; background: var(--pearl-ball); box-shadow: 0 2px 6px rgba(110,95,115,.35); transform: scale(1.15); }
.choice input:focus-visible + span { outline: 2px solid #cdbfcf; outline-offset: 3px; }
.choice.is-invalid span { border-color: #d9b4b4; }

.form .btn { justify-self: center; margin-top: 10px; }
.form__hint { text-align: center; font-size: 15px; font-style: italic; color: var(--ink-faint); }

.thanks { padding: 30px 0 10px; }
.thanks__pearl {
  width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: var(--pearl-ball);
  box-shadow: 0 14px 30px -10px rgba(110,95,115,.5); animation: pop .9s var(--ease) both;
}
.thanks h3 { font-family: var(--script); font-size: 56px; }
.thanks p { color: var(--ink-soft); margin-top: 8px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Footer */
.footer { text-align: center; padding: 80px 24px 70px; background: linear-gradient(180deg, #fbefed, #f7e4e2); border-top: 1px solid rgba(191,155,95,.25); }
.footer .strand { margin: 0 auto 30px; }
.footer__names { font-family: var(--script); font-size: clamp(48px, 7vw, 72px); line-height: 1.1; }
.footer__names span { -webkit-text-fill-color: var(--gold); color: var(--gold); }
.footer__date { margin-top: 10px; font-family: var(--sans); font-size: 12px; letter-spacing: .3em; color: var(--ink-soft); }
.footer__tag { margin-top: 22px; font-style: italic; color: var(--ink-faint); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ═════════ Blush & gold accents ═════════ */
.script { color: var(--rose-deep); }
.welcome .script, .rsvp .script { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .2em; }
.signature { color: var(--rose); }
.nav__mark span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card__pearl { background: radial-gradient(circle at 32% 28%, #fff 0 12%, #fbeeee 30%, #efd3d2 60%, #d9b2b2 100%); }
.footer__names span { -webkit-text-fill-color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }

/* Names write themselves in once the doors open */
.names__one, .names__two { clip-path: inset(-30% 100% -30% -10%); }
.is-live .names__one { animation: shimmer 9s var(--ease) 2.6s infinite, write 1.8s cubic-bezier(.6,.1,.3,1) .25s forwards; }
.is-live .names__two { animation: shimmer 9s var(--ease) 3.2s infinite, write 1.8s cubic-bezier(.6,.1,.3,1) 1s forwards; }
@keyframes write { to { clip-path: inset(-30% -10% -30% -10%); } }
.hero .reveal { transition-duration: 1.6s; }

/* Hero parallax hook */
.hero__inner { will-change: transform, opacity; }

/* Gentle hover lifts */
.card { transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(154, 95, 104, .55), inset 0 0 0 1px #fff, 0 0 0 1px rgba(191,155,95,.35); }
.grid .pearl-tile { transition: transform .9s var(--ease); }
.grid .pearl-tile:hover { transform: scale(1.02); }

/* Page-wide drifting petals */
.petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }


/* ═════════════════════════════════════════════
   Intro — a dreamy 3D doorway in the clouds
   Units: 1em = 1/40 of the doorway width.
   ═════════════════════════════════════════════ */
.intro-lock, .intro-lock body { overflow: hidden; }
.intro {
  --W: min(420px, 84vw, calc((100svh - 230px) * .8));
  --gold-line: linear-gradient(135deg, #a88447, #f1dfb2 45%, #c49c58 60%, #f6e8c4 80%, #b08c4f);
  position: fixed; inset: 0; z-index: 100; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #fbefee 0%, #fcf4f1 38%, #f9e6e0 64%, #f4dccb 100%);
  transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }

/* sky + drifting clouds */
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: 120vmax; height: 120vmax; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255,250,240,.95) 0%, rgba(255,236,222,.5) 22%, transparent 50%);
}
.cloud { position: absolute; border-radius: 50%; background: #fff; filter: blur(28px); opacity: .85; animation: cloud 40s linear infinite; }
.c1 { width: 46vw; height: 14vw; left: -10vw; top: 8%; animation-duration: 70s; }
.c2 { width: 34vw; height: 11vw; right: -8vw; top: 22%; animation-duration: 55s; animation-direction: reverse; }
.c3 { width: 60vw; height: 16vw; left: -20vw; bottom: 4%; opacity: .95; animation-duration: 80s; }
.c4 { width: 50vw; height: 15vw; right: -16vw; bottom: 10%; animation-duration: 62s; animation-direction: reverse; }
.c5 { width: 26vw; height: 9vw; left: 30%; top: 2%; opacity: .6; animation-duration: 90s; }
@keyframes cloud { 0% { transform: translateX(-6vw); } 50% { transform: translateX(6vw); } 100% { transform: translateX(-6vw); } }

/* title */
.intro__title { position: relative; z-index: 5; text-align: center; margin-bottom: clamp(6px, 2vh, 18px); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.intro__eyebrow { font-family: var(--sans); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--rose-deep); opacity: 0; animation: rise 1.2s var(--ease) .4s forwards; }
.intro__names { font-family: var(--script); font-size: clamp(42px, 7vw, 66px); line-height: 1.15; color: #4f3a42; opacity: 0; animation: rise 1.4s var(--ease) .7s forwards; }
.intro__names span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em; }
.intro__hint { position: relative; z-index: 5; margin-top: clamp(10px, 2.4vh, 22px); font-style: italic; color: var(--ink-soft); font-size: 17px; opacity: 0; animation: rise 1s var(--ease) 3s forwards, breathe 3s ease-in-out 4s infinite; }
.intro__skip {
  position: absolute; right: 22px; bottom: 20px; z-index: 7; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft);
  padding: 8px 4px; border-bottom: 1px solid rgba(191,155,95,.4); opacity: 0; animation: rise 1s var(--ease) 3.2s forwards;
}
.intro__skip:hover { color: var(--rose-deep); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes breathe { 50% { opacity: .45; } }
.bloom { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 55%, #fff, #fffaf7 60%, #fdf3f0); transition: opacity .9s ease; }

/* 3D stage */
.stage { position: relative; z-index: 4; perspective: 1500px; perspective-origin: 50% 55%; }
.scene { position: relative; transform-style: preserve-3d; will-change: transform; opacity: 0; animation: sceneIn 2.2s cubic-bezier(.2,.8,.2,1) .5s forwards; }
@keyframes sceneIn { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: none; } }
.doorway { position: relative; width: var(--W); height: calc(var(--W) * 1.25); font-size: calc(var(--W) / 40); transform-style: preserve-3d; }

/* floor */
.floor {
  position: absolute; left: 50%; top: calc(var(--W) * 1.25 - 1px); width: calc(var(--W) * 3.2); height: calc(var(--W) * 1.6);
  transform-origin: 50% 0; transform: translateX(-50%) rotateX(84deg);
  background:
    radial-gradient(ellipse 30% 40% at 50% 0%, rgba(255,255,255,.98), rgba(255,255,255,0) 100%),
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(248,226,222,.9), rgba(248,226,222,0) 100%),
    repeating-linear-gradient(115deg, rgba(220,190,185,.0) 0 40px, rgba(220,190,185,.18) 41px, rgba(220,190,185,0) 44px 90px);
  -webkit-mask: radial-gradient(ellipse 50% 60% at 50% 0%, #000 40%, transparent 100%);
          mask: radial-gradient(ellipse 50% 60% at 50% 0%, #000 40%, transparent 100%);
}
.floor__glow {
  position: absolute; left: 50%; top: 0; width: 34%; height: 60%; translate: -50% -40%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,226,190,.95), rgba(255,210,190,0) 70%); opacity: .25; transition: opacity 2s ease, transform 2s ease;
}
.mist { position: absolute; left: 50%; top: calc(var(--W) * 1.1); width: calc(var(--W) * 2.4); height: calc(var(--W) * .4); translate: -50% 0; transform: translateZ(80px); pointer-events: none; }
.mist i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.85); filter: blur(22px); animation: drift 18s ease-in-out infinite alternate; }
.mist i:nth-child(1) { left: 0; top: 30%; width: 50%; height: 50%; }
.mist i:nth-child(2) { left: 45%; top: 40%; width: 55%; height: 45%; animation-delay: -6s; }
.mist i:nth-child(3) { left: 20%; top: 55%; width: 60%; height: 40%; animation-delay: -12s; opacity: .7; }

/* columns */
.column { position: absolute; top: 20%; bottom: 2%; width: 11%; transform: translateZ(3em); transform-style: preserve-3d; }
.column--l { left: 3%; } .column--r { right: 3%; }
.column i { position: absolute; left: 0; right: 0; display: block; }
.column__shaft {
  top: 3.4em; bottom: 2.6em; margin: 0 .5em; border-radius: .2em;
  background:
    linear-gradient(90deg, rgba(150,105,100,.38), rgba(255,255,255,0) 30%, rgba(255,255,255,.75) 48%, rgba(255,255,255,0) 64%, rgba(150,105,100,.42)),
    repeating-linear-gradient(90deg, #f1e3de 0 .35em, #fffdfb .35em .85em, #e6d3cc .85em .95em);
  box-shadow: 0 1em 2em -1em rgba(120,70,80,.4);
}
.column__cap {
  top: 0; height: 3.4em; margin: 0 -.4em;
  background:
    radial-gradient(circle at 12% 62%, #fffdfb 0 .55em, #d9c3bb .6em .75em, transparent .8em),
    radial-gradient(circle at 88% 62%, #fffdfb 0 .55em, #d9c3bb .6em .75em, transparent .8em),
    linear-gradient(180deg, #fffdfb 0 18%, #c9a96a 18% 24%, #fbf3ef 24% 46%, #ecdcd6 100%);
  border-radius: .3em .3em .6em .6em;
  box-shadow: 0 .4em .8em -.3em rgba(120,70,80,.35), inset 0 -.2em .3em rgba(150,105,100,.2);
}
.column__base {
  bottom: 0; height: 2.6em; margin: 0 -.5em;
  background: linear-gradient(180deg, #fffdfb 0 30%, #c9a96a 30% 36%, #f7ece8 36% 62%, #e2d0c9 62% 66%, #f3e6e1 66%);
  border-radius: .3em .3em .1em .1em; box-shadow: 0 .6em 1em -.4em rgba(120,70,80,.4);
}

/* carved stone surround */
.surround {
  position: absolute; left: 16.5%; right: 16.5%; top: 6%; bottom: 2%;
  border-radius: 50% 50% 0 0 / 28.6% 28.6% 0 0; transform: translateZ(-3em);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%),
    linear-gradient(90deg, #ead9d2, #fffaf7 18%, #ffffff 50%, #fffaf7 82%, #ead9d2);
  box-shadow: 0 2.6em 4em -2em rgba(120, 70, 80, .45), inset 0 .3em .4em rgba(255,255,255,.9), inset 0 -.2em .6em rgba(150,105,100,.18);
}
.surround i { position: absolute; display: block; border-radius: inherit; pointer-events: none; }
.surround__moulding { inset: 1.2em 1.2em 0; border-radius: 50% 50% 0 0 / 30% 30% 0 0; box-shadow: inset 0 0 0 .15em rgba(191,155,95,.7), inset 0 0 0 .55em #fffaf7, inset 0 0 0 .65em rgba(201,143,149,.35); }
.surround__bead { inset: 2.4em 2.4em 0; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: repeating-conic-gradient(from 0deg at 50% 100%, rgba(191,155,95,.0) 0 2deg, rgba(191,155,95,.0) 2deg 4deg); box-shadow: inset 0 .25em .5em rgba(150,105,100,.25); }
.keystone {
  position: absolute; left: 50%; top: 4.6%; width: 4.6em; height: 4.4em; translate: -50% 0; transform: translateZ(2.6em);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
  background: linear-gradient(180deg, #fffefd, #f2e4df); display: grid; place-items: center;
  box-shadow: inset 0 0 0 .15em rgba(191,155,95,.8);
}
.keystone::before { content: ""; position: absolute; inset: .35em .7em; clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%); box-shadow: inset 0 0 0 .1em rgba(191,155,95,.7); }
.keystone span { font-family: var(--script); font-size: 1.7em; line-height: 1; margin-top: -.2em; background: var(--gold-line); -webkit-background-clip: text; background-clip: text; color: transparent; }
.keystone em { font-style: normal; font-size: .75em; }

/* the opening */
.opening {
  position: absolute; left: 23%; right: 23%; top: 12%; bottom: 2%;
  transform-style: preserve-3d;
}
.opening::before {  /* inner frame ring */
  content: ""; position: absolute; inset: -.5em -.5em 0; border-radius: 50% 50% 0 0 / 26.5% 26.5% 0 0; transform: translateZ(1.4em);
  box-shadow: 0 0 0 .25em #fbf1ee, 0 0 0 .4em rgba(191,155,95,.85), inset 0 0 0 .1em rgba(191,155,95,.5); pointer-events: none;
}
.beyond {
  position: absolute; inset: 0; overflow: hidden; border-radius: 50% 50% 0 0 / 25.4% 25.4% 0 0; transform: translateZ(-2em);
  background: linear-gradient(180deg, #fff2ec 0%, #fde5de 40%, #f9dccb 62%, #f3cfb8 100%);
}
.beyond i { position: absolute; display: block; }
.beyond__sun { left: 50%; top: 62%; width: 160%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #fffaf2 12%, rgba(255,236,214,.85) 28%, rgba(255,220,200,0) 58%); transition: transform 2.4s ease, opacity 2.4s ease; }
.beyond__rays { left: 50%; top: 62%; width: 300%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.55) 0deg 3deg, rgba(255,255,255,0) 3deg 13deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 55%); mask: radial-gradient(circle, #000 0, transparent 55%);
  animation: spin 50s linear infinite; opacity: .7; }
.beyond__hill { bottom: -12%; border-radius: 50%; filter: blur(3px); }
.beyond__hill.h1 { left: -30%; width: 100%; height: 34%; background: linear-gradient(180deg, #f3d2cf, #e9b9b9); opacity: .65; }
.beyond__hill.h2 { right: -30%; width: 100%; height: 30%; background: linear-gradient(180deg, #f6e1c8, #eccaa6); opacity: .7; }
.beyond__aisle { left: 50%; bottom: 0; width: 60%; height: 32%; translate: -50% 0; clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,240,236,.95)); }
@keyframes spin { to { transform: rotate(1turn); } }

.jamb { position: absolute; top: 27.8%; bottom: 0; width: 3.6em; transform-origin: 0 50%;
  background: linear-gradient(90deg, #d9c4bd, #efe1dc); }
.jamb--l { left: 0; transform: translateZ(1.4em) rotateY(90deg); }
.jamb--r { right: 0; transform-origin: 100% 50%; transform: translateZ(1.4em) rotateY(-90deg); background: linear-gradient(270deg, #d9c4bd, #efe1dc); }

.fanlight {
  position: absolute; left: 0; right: 0; top: 0; height: 25.4%; overflow: hidden; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,252,246,.98), rgba(253,232,224,.9) 55%, rgba(244,214,190,.85));
  box-shadow: inset 0 -.4em 1em rgba(255,255,255,.8);
  transition: filter 2s ease;
}
.fanlight svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fanlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.8) 45%, transparent 60%); animation: glassSheen 6s ease-in-out 2.5s infinite; transform: translateX(-120%); }
@keyframes glassSheen { 0%, 40% { transform: translateX(-120%); } 70%, 100% { transform: translateX(120%); } }
.transom { position: absolute; left: -.3em; right: -.3em; top: 25.4%; height: 2.4%; transform: translateZ(.6em);
  background: linear-gradient(180deg, #fffefd, #eee0db); box-shadow: inset 0 .12em 0 #fff, inset 0 -.12em 0 rgba(191,155,95,.6), 0 .3em .5em -.2em rgba(120,70,80,.3); }

/* door leaves — real 3D slabs with thickness */
.leaves { position: absolute; left: 0; right: 0; top: 27.8%; bottom: 0; transform-style: preserve-3d; }
.seam-light { position: absolute; left: 50%; top: 2%; bottom: 0; width: 2px; translate: -50% 0; transform: translateZ(-.5em);
  background: #fff6e8; box-shadow: 0 0 .8em .3em rgba(255,226,190,.9), 0 0 2.4em .6em rgba(255,214,190,.6);
  animation: seam 3s ease-in-out infinite; }
@keyframes seam { 50% { opacity: .55; } }
.leaf { position: absolute; top: 0; bottom: 0; width: 50%; transform-style: preserve-3d; transition: transform 2.8s cubic-bezier(.62, 0, .22, 1); }
.leaf--l { left: 0; transform-origin: 0 50%; }
.leaf--r { right: 0; transform-origin: 100% 50%; }
.leaf__face { position: absolute; top: 0; bottom: 0; backface-visibility: hidden; }
.leaf__front, .leaf__back { left: 0; right: 0; }
.leaf__front {
  transform: translateZ(.5em); transform-style: preserve-3d;
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 30%),
    repeating-linear-gradient(90deg, rgba(230,205,198,.0) 0 .5em, rgba(230,205,198,.14) .5em .55em),
    linear-gradient(180deg, #fffdfb 0%, #faf0ed 55%, #f1e0dc 100%);
  box-shadow: inset 0 0 0 .1em rgba(191,155,95,.8), inset 0 0 0 .4em #fff9f6, inset 0 0 0 .5em rgba(191,155,95,.4);
  transition: filter 2.8s ease;
}
.leaf--l .leaf__front { box-shadow: inset 0 0 0 .1em rgba(191,155,95,.8), inset 0 0 0 .4em #fff9f6, inset 0 0 0 .5em rgba(191,155,95,.4), inset -.8em 0 1.2em -.8em rgba(150,100,100,.3); }
.leaf--r .leaf__front { box-shadow: inset 0 0 0 .1em rgba(191,155,95,.8), inset 0 0 0 .4em #fff9f6, inset 0 0 0 .5em rgba(191,155,95,.4), inset .8em 0 1.2em -.8em rgba(150,100,100,.3); }
.leaf__back { transform: rotateY(180deg) translateZ(.5em); background: linear-gradient(180deg, #f6e9e5, #e8d6d0); box-shadow: inset 0 0 0 .1em rgba(191,155,95,.6); }
.leaf__edge { width: 1em; background: linear-gradient(90deg, #e3cfc8, #f8eeea 50%, #dcc6be); }
.leaf--l .leaf__edge { right: -.5em; transform: rotateY(90deg); }
.leaf--r .leaf__edge { left: -.5em; transform: rotateY(-90deg); }

.leaf__front i { position: absolute; display: block; }
.pane {
  left: 15%; right: 15%; top: 6%; height: 42%;
  border-radius: 50% 50% .25em .25em / 24% 24% .25em .25em;
  background:
    linear-gradient(90deg, transparent calc(50% - .1em), rgba(191,155,95,.9) calc(50% - .1em) calc(50% + .1em), transparent calc(50% + .1em)),
    linear-gradient(180deg, transparent 52%, rgba(191,155,95,.9) 52% calc(52% + .2em), transparent calc(52% + .2em)),
    linear-gradient(160deg, rgba(255,255,255,.95), rgba(252,230,224,.85) 45%, rgba(246,218,184,.8));
  box-shadow: 0 0 0 .2em #fff8f4, 0 0 0 .32em rgba(191,155,95,.75), inset 0 0 1.4em rgba(255,242,226,.95), inset 0 0 0 .12em rgba(191,155,95,.8);
  animation: paneGlow 4s ease-in-out infinite;
}
@keyframes paneGlow { 50% { box-shadow: 0 0 0 .2em #fff8f4, 0 0 0 .32em rgba(191,155,95,.75), inset 0 0 2.2em rgba(255,236,210,1), inset 0 0 0 .12em rgba(191,155,95,.8); } }
.raised {
  left: 15%; right: 15%; border-radius: .2em;
  background: linear-gradient(135deg, #ffffff, #f4e7e3);
  box-shadow: inset .14em .14em 0 #fff, inset -.14em -.14em 0 rgba(160,110,105,.2), 0 0 0 .22em #fbf2ef, 0 0 0 .32em rgba(191,155,95,.6), .1em .2em .4em rgba(120,80,80,.18);
}
.raised--mid { top: 55%; height: 9%; }
.raised--low { top: 69%; height: 24%; }
.raised--low::after { content: ""; position: absolute; inset: 22% 18%; border-radius: 50%; box-shadow: inset 0 0 0 .1em rgba(191,155,95,.55); }
.handle { top: 50%; width: 1.3em; height: 1.3em; border-radius: 50%; translate: 0 -50%;
  background: radial-gradient(circle at 35% 30%, #fff6dc, #e3c486 40%, #a88447 100%); box-shadow: 0 .15em .3em rgba(110,70,40,.4); transform-style: preserve-3d; }
.leaf--l .handle { right: 6%; } .leaf--r .handle { left: 6%; }
.handle b { position: absolute; left: 50%; top: 50%; width: .45em; height: 3.4em; margin: -.4em 0 0 -.225em; border-radius: .3em;
  background: var(--gold-line); transform: translateZ(.7em); box-shadow: .2em .4em .5em rgba(110,70,40,.35); }

/* wax seal: small, glossy, with satin ribbon tails */
.seal {
  position: absolute; left: 50%; top: 44%; z-index: 3; width: 4.3em; height: 4.3em; translate: -50% -50%; transform: translateZ(1.6em);
  border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer;
  display: grid; place-items: center; transition: opacity .6s ease .5s, scale .5s var(--ease);
  animation: sealBob 3.2s ease-in-out 2.4s infinite;
}
.seal:hover { scale: 1.07; }
.seal__ribbon { position: absolute; left: -35%; top: -6%; width: 170%; height: 170%; z-index: -1; overflow: visible;
  filter: drop-shadow(0 .15em .2em rgba(110,50,60,.25)); transition: opacity .5s; }
.seal__glow { position: absolute; inset: -.5em; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255,226,214,.85), rgba(255,214,214,0) 68%);
  animation: sealHalo 2.6s ease-in-out infinite; }
.seal__half { position: absolute; inset: 0;
  border-radius: 53% 47% 51% 49% / 48% 53% 47% 52%;           /* a hand-poured wax edge */
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.7) 0 6%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 50% 50%, #d58c98 0%, #b8606f 55%, #8e3f4e 88%, #7a3342 100%);
  box-shadow: inset 0 0 0 .16em rgba(255,255,255,.12), inset 0 -.25em .5em rgba(60,15,25,.45), inset 0 .2em .35em rgba(255,220,220,.35),
    0 .35em .8em -.2em rgba(110,40,55,.6);
  transition: transform 1.1s cubic-bezier(.3, .6, .3, 1), opacity 1.1s ease; }
.seal__half--l { clip-path: polygon(0 0, 52% 0, 46% 30%, 54% 55%, 47% 100%, 0 100%); }
.seal__half--r { clip-path: polygon(52% 0, 100% 0, 100% 100%, 47% 100%, 54% 55%, 46% 30%); }
.seal::before { content: ""; position: absolute; inset: .42em; border-radius: 50%; z-index: 1; transition: opacity .3s;
  border: .07em solid rgba(241, 223, 178, .85);
  box-shadow: 0 0 0 .1em rgba(120, 40, 55, .35), inset 0 0 0 .1em rgba(120, 40, 55, .3), inset 0 0 .4em rgba(70,20,30,.35); }
.seal__mono { position: relative; z-index: 1; font-family: var(--script); font-size: 1.7em; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(160deg, #fffaf0 10%, #f6e2b0 45%, #e3c27e 70%, #fff3d6 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .05em .03em rgba(70,20,30,.55)); transition: opacity .3s; }
.seal__mono em { font-style: normal; font-size: .62em; }
.seal:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
@keyframes sealBob { 0%, 100% { transform: translateZ(1.6em) translateY(0) rotate(0); } 50% { transform: translateZ(1.6em) translateY(-.12em) rotate(-3deg); } }
@keyframes sealHalo { 0%, 100% { opacity: .35; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
.intro.is-opening .seal__ribbon, .intro.is-opening .seal__glow { opacity: 0; }

/* florals */
.florals { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(4em); pointer-events: none; }
.florals .cl { transform-box: fill-box; transform-origin: center; animation: bloomIn 1.6s cubic-bezier(.2,1.4,.4,1) both, sway 7s ease-in-out infinite alternate; }
@keyframes bloomIn { from { transform: scale(0) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sway { from { rotate: -1.5deg; } to { rotate: 1.5deg; } }

/* candles */
.candles { position: absolute; bottom: -2%; display: flex; align-items: flex-end; gap: .6em; transform: translateZ(7em); }
.candles--l { left: -5%; } .candles--r { right: -5%; }
.candle { position: relative; width: 2.4em; border-radius: .25em .25em .3em .3em / .6em .6em .3em .3em;
  background: linear-gradient(90deg, #e9dcd6, #fffdfb 35%, #fff 50%, #f7eeea 70%, #dccbc4);
  box-shadow: 0 .6em 1em -.4em rgba(120,70,80,.35); }
.candle::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .9em; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #fff6e8, #f3e5dd); }
.k1 { height: 9em; } .k2 { height: 6.4em; } .k3 { height: 4.4em; }
.candle b { position: absolute; left: 50%; bottom: calc(100% - .2em); width: .8em; height: 1.8em; margin-left: -.4em;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 75%, #fffef6 0 22%, #ffd98a 45%, #ff9f55 75%, rgba(255,140,80,0) 100%);
  transform-origin: 50% 100%; animation: flicker 1.8s ease-in-out infinite; filter: blur(.3px); }
.candle b::after { content: ""; position: absolute; left: 50%; top: 40%; width: 7em; height: 7em; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,150,.45), rgba(255,214,150,0) 65%); pointer-events: none; }
.k2 b { animation-duration: 2.3s; animation-delay: -.6s; } .k3 b { animation-duration: 1.5s; animation-delay: -1.1s; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1) rotate(-1deg); } 25% { transform: scale(.94, 1.06) rotate(2deg); } 50% { transform: scale(1.04, .95) rotate(-2deg); } 75% { transform: scale(.97, 1.04) rotate(1deg); } }

/* ─── opening sequence ─── */
.intro.is-opening .seal { opacity: 0; animation: none; }
.intro.is-opening .seal::before, .intro.is-opening .seal__mono { opacity: 0; }
.intro.is-opening .seal__half--l { transform: translate(-3em, 1.2em) rotate(-35deg); opacity: 0; }
.intro.is-opening .seal__half--r { transform: translate(3em, 1.6em) rotate(30deg); opacity: 0; }
.intro.is-opening .seam-light { animation: none; box-shadow: 0 0 2em .8em rgba(255,236,210,1), 0 0 5em 2em rgba(255,220,190,.8); }
.intro.is-opening .leaf--l { transform: rotateY(98deg); transition-delay: .55s; }
.intro.is-opening .leaf--r { transform: rotateY(-98deg); transition-delay: .55s; }
.intro.is-opening .leaf__front { filter: brightness(.9); transition-delay: .55s; }
.intro.is-opening .beyond__sun { transform: scale(1.5); }
.intro.is-opening .floor__glow { opacity: 1; transform: scale(1.6); }
.intro.is-opening .fanlight { filter: brightness(1.15); }
.intro.is-opening .intro__hint, .intro.is-opening .intro__skip { opacity: 0 !important; animation: none; transition: opacity .4s; }
.intro.is-zoom .intro__title { opacity: 0; transform: translateY(-30px); }
.intro.is-zoom .bloom { opacity: 1; transition: opacity 1s ease .7s; }

@media (prefers-reduced-motion: reduce) {
  .scene, .intro__eyebrow, .intro__names, .intro__hint, .intro__skip { opacity: 1; }
  .florals .cl { animation: none; }
}
@media (max-width: 480px) { .intro__eyebrow { font-size: 9.5px; letter-spacing: .2em; } }

/* ── Real content additions ── */
.schedule__title { text-align: center; font-size: clamp(28px, 3.4vw, 38px); font-style: italic; margin: clamp(70px, 9vw, 100px) 0 0; }
.schedule__title + .schedule { margin-top: 28px; }
.schedule li.is-then { border-bottom-style: dashed; padding: 10px 0; }
.schedule li.is-then span { font-size: 19px; color: var(--ink-soft); position: relative; padding-left: 22px; }
.schedule li.is-then span::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pearl-ball); box-shadow: 0 1px 4px rgba(110,95,115,.35);
}
@media (max-width: 480px) { .schedule li { grid-template-columns: 80px 1fr; gap: 14px; } }

.info__item--wide { grid-column: 1 / -1; }
.info__small { font-size: 16px !important; font-style: italic; margin-top: 12px; }
.parks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.parks li {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: 6px; background: rgba(255,255,255,.75);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px var(--line), 0 14px 30px -24px rgba(100,85,110,.5);
}
.parks strong { font-weight: 500; font-size: 20px; }
.parks span { font-family: var(--sans); font-size: 14px; letter-spacing: .02em; color: var(--ink-soft); }

.rsvp__frame { text-align: left; margin: 0 -6px; }
.rsvp__frame iframe { display: block; width: 100%; min-height: 420px; border: 0; }
.rsvp__fallback { margin-top: 18px; }
.rsvp__fallback a { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* Music toggle */
.music {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -16px rgba(100,85,110,.55), inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px var(--line);
  animation: musicIn .8s var(--ease) both;
}
.music[hidden] { display: none; }
.music:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.music__icon { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.music__icon i { width: 3px; height: 5px; border-radius: 2px; background: var(--gold-grad, var(--gold)); }
.music.is-playing .music__icon i { animation: musicBar 1.1s ease-in-out infinite; }
.music.is-playing .music__icon i:nth-child(2) { animation-delay: -.4s; }
.music.is-playing .music__icon i:nth-child(3) { animation-delay: -.8s; }
@keyframes musicBar { 0%, 100% { height: 5px; } 50% { height: 16px; } }
@keyframes musicIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .music.is-playing .music__icon i { animation: none; height: 12px; } }

/* ═════════════════════════════════════════════════════════════
   Romantic garden theme: blush, champagne and gold, with florals
   (overrides the earlier pearl styling)
   ═════════════════════════════════════════════════════════════ */
:root {
  --pearl: #fdf6f3;
  --pearl-2: #f9ebe7;
  --pearl-3: #f3dcd8;
  --ink: #4b343b;
  --ink-soft: #7f6066;
  --ink-faint: #b39aa0;
  --line: rgba(176, 120, 128, .2);
  --pearl-ball: radial-gradient(circle at 32% 28%, #fff 0 12%, #fbe3e3 32%, #f0c2c6 62%, #d993a0 100%);
  --wash:
    radial-gradient(ellipse 60% 45% at 12% 18%, rgba(246, 205, 207, .55), transparent 70%),
    radial-gradient(ellipse 55% 40% at 88% 30%, rgba(246, 226, 196, .5), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(244, 212, 214, .45), transparent 70%);
}
body { background: #fdf6f3; }
::selection { background: #f3cfd3; color: var(--ink); }

/* Soft watercolour washes behind every section */
.welcome { background: var(--wash), #fffaf8; overflow: hidden; }
.day { background: radial-gradient(ellipse 50% 35% at 90% 8%, rgba(246,205,207,.5), transparent 70%), radial-gradient(ellipse 50% 40% at 5% 70%, rgba(246,226,196,.45), transparent 70%), linear-gradient(180deg, #fdf3f1, #fbece9); }
.gallery { background: var(--wash), #fffaf8; overflow: hidden; }
.travel { background: radial-gradient(ellipse 60% 45% at 85% 15%, rgba(246,226,196,.5), transparent 70%), linear-gradient(180deg, #fbece9, #fdf4f1); overflow: hidden; }
.faq { background: var(--wash), #fffaf8; overflow: hidden; }
.rsvp { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,255,255,.8), transparent 70%), linear-gradient(180deg, #fdf1ef, #f7dcdc); }
.footer { background: linear-gradient(180deg, #f7dcdc, #f2cfd0); border-top: 0; }

/* Hero: a dreamy blush sky */
.hero { background: radial-gradient(ellipse at 50% 42%, #fffaf7 0%, #fcefeb 48%, #f6dcd9 100%); }
.blob { opacity: .7; }
.b1 { background: #f5c9cd; }
.b2 { background: #f7e1bf; }
.b3 { background: #f2c3c9; }
.b4 { background: #fbe1d3; }
.hero__flora { position: absolute; inset: 0; pointer-events: none; }
.names__one, .names__two {
  background: linear-gradient(100deg, #4b343b 0%, #6d4852 40%, #a0646f 50%, #6d4852 60%, #4b343b 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.is-live .names__one { animation: write 2.2s .35s var(--ease) both, ink 9s 3s ease-in-out infinite; }
.is-live .names__two { animation: write 2.2s 1.1s var(--ease) both, ink 9s 4s ease-in-out infinite; }
@keyframes write { from { clip-path: inset(-20% 100% -20% -10%); } to { clip-path: inset(-20% -10% -20% -10%); } }
@keyframes ink { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.names__amp { animation: ampGlow 4s ease-in-out infinite; display: inline-block; }
@keyframes ampGlow { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(-4deg); } }

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn--pearl {
  background: linear-gradient(180deg, #fffafa, #f8dfe0);
  box-shadow: 0 14px 34px -14px rgba(176, 96, 110, .6), inset 0 0 0 1px rgba(191, 155, 95, .7), inset 0 -3px 10px rgba(232, 170, 178, .35);
}
.btn--ghost {
  padding: 16px 30px; border-radius: 999px; background: rgba(255,255,255,.35);
  box-shadow: inset 0 0 0 1px rgba(176, 120, 128, .35); transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.btn--ghost:hover { background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(191,155,95,.8); transform: translateY(-2px); }

.countdown div {
  background: radial-gradient(circle at 34% 28%, #ffffff, #fdeeee 55%, #f6d5d8);
  box-shadow: 0 12px 30px -14px rgba(176, 96, 110, .55), inset 0 0 0 1px rgba(255,255,255,.9), inset -4px -6px 14px rgba(220, 150, 162, .2);
}
.countdown span { display: inline-block; }
.countdown span.roll { animation: roll .6s var(--ease); }
@keyframes roll { from { transform: translateY(-40%); opacity: 0; filter: blur(2px); } }

.nav.is-solid { background: rgba(253, 241, 239, .82); }
.nav__mark { cursor: pointer; }

/* Scroll progress: a blush ribbon with a rosebud tip */
.vine { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.vine i {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #f3c4c9, #e8a2ad 45%, #d9b36e 100%);
  box-shadow: 0 0 12px rgba(232, 162, 173, .7);
}
body:not(.is-live) .vine { display: none; }

/* ── Florals ── */
.flora { display: block; overflow: visible; pointer-events: none; }
.flora--corner { position: absolute; width: clamp(170px, 30vw, 340px); height: auto; aspect-ratio: 1; z-index: 0; }
.flora--sm { width: clamp(120px, 22vw, 250px); opacity: .95; }
.flora--tl { top: -10px; left: -10px; }
.flora--tr { top: -10px; right: -10px; transform: scaleX(-1); }
.flora--bl { bottom: -10px; left: -10px; transform: scaleY(-1); }
.flora--br { bottom: -10px; right: -10px; transform: scale(-1, -1); }
.hero .flora--tr, .hero .flora--bl { width: clamp(130px, 22vw, 260px); }
.flora__sway { transform-box: view-box; transform-origin: 0 0; animation: sway 8s ease-in-out infinite alternate; }
.flora__sway--centre { transform-origin: 50% 50%; animation-duration: 6s; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.8deg) scale(1.015); } }
/* blooming in when scrolled into view */
.flora > g { transition: opacity 1.6s var(--ease), scale 1.8s var(--ease); transform-box: view-box; }
.flora--corner > g { transform-origin: 0 0; }
.flora:not(.is-in) > g { opacity: 0; scale: .55; }
.hero .flora > g, .flora.is-in > g { opacity: 1; scale: 1; }
body:not(.is-live) .hero .flora > g { opacity: 0; scale: .55; }
.welcome .container, .gallery .container, .travel .container, .faq .container { position: relative; z-index: 1; }

.garland { width: min(360px, 86vw); margin: 26px auto 30px; }
.garland svg { display: block; width: 100%; height: auto; overflow: visible; }
.garland--footer { margin: 0 auto 22px; }

.pearl-rule svg { width: 46px; height: 36px; overflow: visible; }
.pearl-rule { gap: 10px; }
.reveal:not(.is-in) .pearl-rule svg { opacity: 0; transform: scale(.4) rotate(-30deg); }
.pearl-rule svg { transition: opacity 1s var(--ease) .2s, transform 1.2s var(--ease) .2s; }

/* Venue cards: a posy instead of a pearl */
.card { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,247,246,.85)); will-change: transform; }
.card::after { border-color: rgba(214, 160, 168, .45); }
.card__pearl { width: 96px; height: 96px; top: -50px; background: none; box-shadow: none; border-radius: 0; overflow: visible; filter: drop-shadow(0 8px 10px rgba(150, 90, 100, .18)); }
.card { margin-top: 30px; }

/* Petal bullets for small details */
.info__item::before, .accordion summary::after, .schedule li.is-then span::before {
  border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #fbe0e2, #e7a3ae);
}
.info__item::before { width: 11px; height: 11px; top: -6px; rotate: 45deg; }
.accordion summary::after { rotate: 45deg; }
.accordion details[open] summary::after { transform: scale(1.35) rotate(90deg); box-shadow: 0 0 0 5px rgba(246, 214, 217, .7); }
.accordion summary:hover { color: #a0646f; }

/* Save the date */
.save { text-align: center; margin: clamp(60px, 8vw, 90px) auto 0; max-width: 560px; }
.save .script { font-size: clamp(44px, 7vw, 60px); }
.save__text { color: var(--ink-soft); font-style: italic; margin: 6px 0 22px; }
.save__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Gallery: soft frames, a little lift, tap to open */
.gallery__hint { text-align: center; font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin: -40px 0 26px; }
.grid .photo { cursor: zoom-in; outline: none; box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(214, 160, 168, .45), 0 24px 40px -26px rgba(150, 80, 95, .55); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.grid .photo:hover, .grid .photo:focus-visible { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(191,155,95,.7), 0 34px 50px -26px rgba(150, 80, 95, .6); }
.grid .photo:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
.grid .g1 { box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(191,155,95,.55), 0 30px 50px -28px rgba(150, 80, 95, .6); }

/* Ribbon */
.ribbon {
  overflow: hidden; padding: 20px 0; position: relative; z-index: 1;
  background: linear-gradient(90deg, #f6d3d6, #f9e6d6 50%, #f6d3d6);
  border-block: 1px solid rgba(191, 155, 95, .35);
}
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon span { font-family: var(--script); font-size: clamp(30px, 4vw, 44px); line-height: 1; white-space: nowrap; color: var(--ink); }
.ribbon em { font-family: var(--serif); font-style: italic; font-size: .7em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ribbon svg { width: 38px; height: 30px; flex: none; overflow: visible; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* RSVP card with florals tucked into its corners */
.rsvp__card { overflow: visible; background: rgba(255, 252, 251, .8); }
.flora--card { width: clamp(120px, 24vw, 200px); z-index: 2; }
.flora--card.flora--tl { top: -46px; left: -40px; }
.flora--card.flora--br { bottom: -46px; right: -40px; }
.rsvp .container { position: relative; }
.rsvp__frame { position: relative; z-index: 3; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 60px 16px;
  background: radial-gradient(ellipse at center, rgba(75, 52, 59, .82), rgba(40, 26, 31, .94));
  opacity: 0; transition: opacity .4s var(--ease); touch-action: pan-y;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__frame { margin: 0; max-width: min(92vw, 900px); text-align: center; }
.lightbox__frame img {
  max-width: 100%; max-height: 74vh; border-radius: 4px; display: block; margin: 0 auto;
  box-shadow: 0 0 0 6px #fff, 0 30px 80px -20px rgba(0,0,0,.6); user-select: none; -webkit-user-drag: none;
}
.lightbox.is-turn img { animation: lbIn .6s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94) rotate(-1deg); } }
.lightbox__frame figcaption { margin-top: 18px; color: #fbe9e7; font-style: italic; font-size: 18px; }
.lightbox__btn, .lightbox__close {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.14);
  width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s;
}
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(255,255,255,.3); }
.lightbox__prev { left: max(10px, 2vw); top: 50%; translate: 0 -50%; }
.lightbox__next { right: max(10px, 2vw); top: 50%; translate: 0 -50%; }
.lightbox__close { top: max(14px, env(safe-area-inset-top)); right: 14px; font-size: 30px; }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; translate: 0 0; } .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); } }

.music { background: rgba(255, 247, 246, .88); }

@media (max-width: 600px) {
  .hero .flora--tl, .hero .flora--br { width: 52vw; }
  .hero .flora--tr, .hero .flora--bl { width: 36vw; }
  .hero .flora--tl { top: 44px; }
  .hero .flora--tr { top: 44px; }
  .flora--sm { width: 36vw; }
  .flora--card { width: 34vw; }
  .flora--card.flora--tl { top: -34px; left: -20px; }
  .flora--card.flora--br { bottom: -34px; right: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  .flora__sway, .ribbon__track, .names__amp, .is-live .names__one, .is-live .names__two { animation: none !important; }
  .names__one, .names__two { clip-path: none; }
}

.registry__btn { margin-top: 18px; padding: 15px 30px; }
