/* ==========================================================
   Teal Aurum — film wedding invitation
   ========================================================== */

:root {
  --night: #0F2E2C;
  --teal: #174B49;
  --teal-2: #233F3B;
  --gold: #C9A55C;
  --gold-hi: #F3DFA6;
  --gold-lo: #8E6E32;
  --ivory: #F0F1E7;
  --cream: #F8F6EC;
  --ink: #23403C;
  --muted: #6A7C75;

  --serif: "Cormorant Garamond", Georgia, serif;
  --caps: "Cinzel", "Cormorant Garamond", serif;
  --script: "Imperial Script", cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  --gold-grad: linear-gradient(120deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--caps);
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.script { font-family: var(--script); font-weight: 400; }
.display {
  font-weight: 300;
  font-size: clamp(46px, 9vw, 92px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--cream);
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ==========================================================
   Intro
   ========================================================== */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #1D4A46 0%, var(--night) 62%, #071A19 100%);
  transition: opacity 1.2s var(--ease), visibility 0s 1.2s;
}
.intro.is-gone { opacity: 0; visibility: hidden; }

/* Fine gold threads of light that drift down */
.intro__streaks {
  position: absolute; inset: -10% 0 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(243, 223, 166, .16) 63px 64px, transparent 64px 141px),
    repeating-linear-gradient(90deg, transparent 0 97px, rgba(201, 165, 92, .12) 97px 98px, transparent 98px 211px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
  animation: streaks 9s linear infinite;
}
@keyframes streaks { from { transform: translateY(-6%); } to { transform: translateY(6%); } }

.intro__drape {
  position: absolute; top: -4%; height: 108%; width: min(26vw, 260px);
  object-fit: fill; opacity: .75;
  filter: sepia(1) saturate(1.9) hue-rotate(-8deg) brightness(.62) contrast(1.1);
  transition: transform 2.2s var(--ease-io), opacity 1.6s ease;
}
.intro__drape--left  { left: -5%; -webkit-mask-image: linear-gradient(to right, #000 50%, transparent); mask-image: linear-gradient(to right, #000 50%, transparent); }
.intro__drape--right { right: -5%; transform: scaleX(-1); -webkit-mask-image: linear-gradient(to left, #000 50%, transparent); mask-image: linear-gradient(to left, #000 50%, transparent); }

.frame {
  position: relative; width: min(74vw, 400px); aspect-ratio: 1;
  display: grid; place-items: center;
  animation: frame-in 1.6s var(--ease) both;
  transition: transform 1.4s var(--ease-io), opacity 1s ease;
}
@keyframes frame-in { from { opacity: 0; transform: scale(.92); } }
.frame__rings { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 12px rgba(243, 223, 166, .35)); }
.frame__dash { transform-origin: 100px 100px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.frame__bloom {
  width: 44%;
  filter: drop-shadow(0 0 24px rgba(243, 223, 166, .5));
  animation: breathe 4.5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.04); filter: drop-shadow(0 0 40px rgba(243, 223, 166, .8)); } }

.intro__names {
  position: absolute; left: 0; right: 0; top: calc(50% + min(37vw, 200px) + 22px);
  text-align: center;
  font-family: var(--caps); font-size: 15px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-hi);
  animation: frame-in 1.6s .5s var(--ease) both;
}
.intro__names span { color: var(--gold); }

.tap {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 16px;
  border: 1px solid rgba(243, 223, 166, .55); border-radius: 999px;
  background: rgba(10, 32, 30, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--caps); font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-hi);
  box-shadow: 0 0 30px rgba(201, 165, 92, .25);
  animation: frame-in 1.4s .9s var(--ease) both;
  transition: opacity .5s ease, transform .5s ease;
}
.tap:hover { box-shadow: 0 0 40px rgba(243, 223, 166, .45); }
.tap__dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-hi), var(--gold) 60%, transparent 62%);
  position: relative;
}
.tap__dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--gold); opacity: 0;
  animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* After the tap: frame blooms open, drapes slide away, film fades in */
.intro.is-playing .tap,
.intro.is-playing .intro__names { opacity: 0; pointer-events: none; }
.intro.is-playing .frame { transform: scale(2.4); opacity: 0; }
.intro.is-playing .intro__drape--left  { transform: translateX(-100%); opacity: 0; }
.intro.is-playing .intro__drape--right { transform: scaleX(-1) translateX(-100%); opacity: 0; }

.intro__film {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease .4s;
  pointer-events: none;
}
.intro.is-playing .intro__film { opacity: 1; }
@media (min-aspect-ratio: 3/4) {
  .intro__film {
    left: 50%; translate: -50% 0; width: calc(100svh * 2 / 3);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  }
}

/* A warm white-gold flash bridges the film into the hero */
.intro__flash {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, #FFF8E2, rgba(243, 223, 166, .6) 45%, transparent 75%);
  opacity: 0; transition: opacity .9s ease;
}
.intro.is-flash .intro__flash { opacity: 1; }

/* ==========================================================
   Controls + side dots
   ========================================================== */
.controls {
  position: fixed; z-index: 150; top: 16px; right: 16px;
  display: flex; gap: 8px; align-items: center;
}
.controls[hidden] { display: none; }
.ctl {
  height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(243, 223, 166, .5);
  background: rgba(10, 32, 30, .6); color: var(--gold-hi);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--caps); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.ctl[hidden] { display: none; }
.ctl--round { width: 36px; padding: 0; display: grid; place-items: center; }
.ctl svg { width: 18px; height: 18px; fill: var(--gold-hi); }
.ctl .ico-off { display: none; }
.ctl[aria-pressed="false"] .ico-on { display: none; }
.ctl[aria-pressed="false"] .ico-off { display: inline; }

.dots {
  position: fixed; z-index: 90; right: 18px; top: 50%; translate: 0 -50%;
  display: grid; gap: 16px;
}
.dots[hidden] { display: none; }
.dots a {
  position: relative; display: block; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(240, 241, 231, .35);
  transition: background .3s, transform .3s;
}
.dots a::before {
  content: attr(data-label); position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  font-family: var(--caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-hi); white-space: nowrap;
  opacity: 0; transition: opacity .3s;
}
.dots a.is-active { background: var(--gold); transform: scale(1.35); box-shadow: 0 0 10px rgba(243, 223, 166, .7); }
.dots a.is-active::before, .dots a:hover::before { opacity: 1; }
@media (max-width: 600px) { .dots a::before { display: none; } .dots { right: 10px; } }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  display: grid; place-items: start center;
  text-align: center;
  background: var(--night);
}
/* On wide screens the portrait film sits in a column over a blurred copy of itself */
.hero::before {
  content: ""; position: absolute; inset: -40px;
  background: url("media/couple-poster.webp") center / cover;
  filter: blur(28px) brightness(.55) saturate(1.1);
}
.hero__film {
  position: absolute; top: 0; left: 50%; translate: -50% 0;
  height: 100%; width: 100%; object-fit: cover;
}
@media (min-aspect-ratio: 3/4) {
  .hero__film { width: calc(100svh * 9 / 16); box-shadow: 0 0 80px rgba(0, 0, 0, .45); }
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 32, 30, .82) 0%, rgba(10, 32, 30, .45) 30%, rgba(10, 32, 30, 0) 52%),
    linear-gradient(to top, rgba(10, 32, 30, .92) 0%, rgba(10, 32, 30, .6) 18%, rgba(10, 32, 30, 0) 36%);
}
.bokeh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__text, .hero__foot {
  position: relative; z-index: 2;
  display: grid; justify-items: center; gap: 6px;
  padding: 0 24px;
  text-shadow: 0 2px 18px rgba(5, 20, 19, .6);
}
.hero__text { margin-top: max(6vh, 40px); }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 84px; }
.hero__names { display: grid; justify-items: center; line-height: .86; margin: 6px 0 0; font-weight: 300; }
.hero__names span {
  display: inline-block;
  font-family: var(--script); font-size: clamp(58px, 15vw, 84px);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .08em .35em; /* room for the script swashes, which the gradient clip would cut */
  filter: drop-shadow(0 2px 10px rgba(5, 20, 19, .55));
}
.hero__names em { font-style: italic; font-size: 26px; color: var(--cream); margin: -10px 0; }
.hero__flourish { width: 40px; margin-bottom: 4px; filter: drop-shadow(0 0 10px rgba(243, 223, 166, .6)); }
.hero__date { font-family: var(--caps); font-size: 14px; letter-spacing: .4em; color: var(--cream); }
.hero__line { max-width: 290px; margin-top: 4px; font-style: italic; font-size: 17px; line-height: 1.4; color: var(--cream); }

.fade { opacity: 0; transform: translateY(18px); }
.is-open .fade { animation: rise 1.4s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; z-index: 2; bottom: 26px; left: 50%; translate: -50% 0;
  width: 24px; height: 38px; border: 1px solid rgba(243, 223, 166, .7); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold-hi);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================
   Story + countdown
   ========================================================== */
.story {
  position: relative; overflow: hidden;
  padding: 120px max(28px, 8vw) 110px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 165, 92, .16), transparent 55%),
    linear-gradient(180deg, var(--night), var(--teal) 70%, var(--teal-2));
}
.story > * { position: relative; max-width: 760px; margin-left: auto; margin-right: auto; }
.story__corner {
  position: absolute; top: -20px; right: -60px; width: min(70vw, 520px); max-width: none;
  transform: scaleX(-1); opacity: .28; pointer-events: none;
}
.story .display { margin: 18px auto 40px; }
.story__cols { display: grid; gap: 18px 40px; color: rgba(240, 241, 231, .78); font-size: 19px; }
@media (min-width: 720px) { .story__cols { grid-template-columns: 1fr 1fr; } }

.countdown { margin-top: 70px; padding-top: 34px; border-top: 1px solid rgba(201, 165, 92, .35); }
.countdown__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin: 18px 0 14px;
  background: rgba(201, 165, 92, .35);
  border: 1px solid rgba(201, 165, 92, .35);
}
.countdown__grid div { background: rgba(7, 26, 25, .82); padding: 20px 14px 16px; }
.countdown__grid span {
  display: block; font-size: clamp(34px, 8vw, 56px); line-height: 1; font-weight: 300;
  font-variant-numeric: tabular-nums; color: var(--cream);
}
.countdown__grid small {
  display: block; margin-top: 10px;
  font-family: var(--caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.countdown__when { font-style: italic; color: rgba(240, 241, 231, .7); }

/* ==========================================================
   Chapters
   ========================================================== */
.chapters {
  padding: 110px max(20px, 6vw) 120px;
  background: linear-gradient(180deg, var(--teal-2), var(--night));
}
.chapters > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.chapters__head { display: grid; gap: 18px; align-items: end; margin: 16px auto 36px; }
.chapters__head p { color: rgba(240, 241, 231, .7); max-width: 340px; }
@media (min-width: 760px) { .chapters__head { grid-template-columns: 1.2fr 1fr; } }

.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-bottom: 18px; padding-bottom: 4px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(201, 165, 92, .45); background: transparent;
  font-family: var(--caps); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(240, 241, 231, .75);
  transition: background .3s, color .3s, border-color .3s;
}
.tabs button[aria-selected="true"] { background: var(--gold-grad); color: var(--night); border-color: transparent; }

.chapter {
  position: relative; overflow: hidden;
  display: grid; min-height: 460px;
  border: 1px solid rgba(201, 165, 92, .35);
  background: #0A2422;
}
.chapter__art {
  width: 100%; height: 260px; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
  transition: opacity .5s ease, transform 6s ease;
}
.chapter:hover .chapter__art { transform: scale(1.04); }
.chapter__body { position: relative; padding: 4px 28px 36px; display: grid; gap: 6px; align-content: start; }
@media (min-width: 760px) {
  .chapter { grid-template-columns: 1fr 1fr; height: 540px; }
  .chapter__art { height: 540px; -webkit-mask-image: linear-gradient(to right, #000 65%, transparent); mask-image: linear-gradient(to right, #000 65%, transparent); }
  .chapter__body { padding: 60px 48px; align-content: center; }
}
.chapter__num { font-size: 40px; font-weight: 300; color: var(--gold); line-height: 1; }
.chapter__when { font-family: var(--caps); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi); margin-top: 12px; }
.chapter__title { font-size: clamp(44px, 8vw, 68px); font-weight: 300; line-height: 1.05; color: var(--cream); }
.chapter__tag { font-style: italic; font-size: 21px; color: rgba(240, 241, 231, .85); }
.chapter__place, .chapter__dress { color: rgba(240, 241, 231, .65); font-size: 17px; }
.chapter__place { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(201, 165, 92, .3); }
.chapter.is-swapping .chapter__body > *, .chapter.is-swapping .chapter__art { opacity: 0; }
.chapter__body > * { transition: opacity .35s ease; }

/* ==========================================================
   Film band
   ========================================================== */
.film-band {
  position: relative; height: 92vh; height: 92svh; min-height: 560px;
  overflow: hidden; display: grid; place-items: end center;
  background: var(--night);
}
.film-band::before {
  content: ""; position: absolute; inset: -40px;
  background: url("media/couple-poster.webp") center / cover;
  filter: blur(28px) brightness(.5);
}
.film-band__video {
  position: absolute; top: 0; left: 50%; translate: -50% 0;
  height: 100%; width: 100%; object-fit: cover; object-position: 50% 35%;
}
@media (min-aspect-ratio: 3/4) { .film-band__video { width: calc(92svh * 9 / 16); } }
.film-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 32, 30, .92), rgba(10, 32, 30, 0) 40%);
}
.film-band__quote {
  position: relative; z-index: 2; padding: 0 28px 60px; text-align: center;
  font-style: italic; font-size: clamp(20px, 4.6vw, 26px); color: var(--cream);
}

/* ==========================================================
   Venue
   ========================================================== */
.venue {
  position: relative; overflow: hidden;
  padding: 110px 24px 120px; text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(243, 223, 166, .22), transparent 60%),
    linear-gradient(180deg, #8C7442, #B89A5E 45%, #C9AE74);
  color: var(--night);
}
.venue .eyebrow { color: rgba(15, 46, 44, .75); }
.venue > *:not(.petals) { position: relative; z-index: 2; }
.venue__name { font-size: clamp(32px, 7vw, 48px); font-weight: 400; margin: 14px 0 8px; color: #0B2725; }
.venue__addr { font-size: 18px; color: rgba(15, 46, 44, .85); }
.venue__note { margin-top: 6px; }
.venue__map {
  width: min(100%, 620px); aspect-ratio: 16 / 10; margin: 30px auto 26px;
  border: 1px solid rgba(15, 46, 44, .25); box-shadow: 0 24px 50px rgba(15, 46, 44, .25);
  background: rgba(240, 241, 231, .5);
}
.venue__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.25) saturate(.9); }
.venue__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; padding: 13px 24px; border-radius: 999px;
  font-family: var(--caps); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--night); color: var(--gold-hi); box-shadow: 0 10px 24px rgba(15, 46, 44, .3); }
.btn--line { background: transparent; color: var(--night); border: 1px solid rgba(15, 46, 44, .55); }
.btn--line:hover { background: var(--night); color: var(--gold-hi); }

/* ---------- Petals over the venue ---------- */
.petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: 0; left: var(--x); width: var(--size);
  will-change: transform;
  animation: fall var(--dur) linear var(--delay) infinite;
  opacity: 0;
}
.petal img { width: 100%; animation: flutter var(--sway) ease-in-out infinite alternate; }
@keyframes fall {
  0%   { transform: translate3d(0, -10%, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--alpha); }
  90%  { opacity: var(--alpha); }
  100% { transform: translate3d(var(--drift), var(--fall), 0) rotate(var(--rot)); opacity: 0; }
}
@keyframes flutter {
  from { transform: translateX(-16px) rotateY(0deg) rotateZ(-12deg); }
  to   { transform: translateX(16px) rotateY(60deg) rotateZ(12deg); }
}

/* ==========================================================
   RSVP
   ========================================================== */
.rsvp {
  position: relative; overflow: hidden;
  padding: 110px 20px;
  background: linear-gradient(180deg, var(--teal-2), var(--night));
}
.rsvp__spray {
  position: absolute; left: -70px; bottom: -40px; width: min(44vw, 300px); max-width: none;
  opacity: .3; pointer-events: none;
}
.rsvp__card {
  position: relative; z-index: 2;
  max-width: 460px; margin: 0 auto; padding: 44px 26px 32px;
  text-align: center;
  background: rgba(7, 26, 25, .7);
  border: 1px solid rgba(201, 165, 92, .45);
  border-radius: 200px 200px 12px 12px;
  box-shadow: inset 0 0 0 6px rgba(7, 26, 25, .7), inset 0 0 0 7px rgba(201, 165, 92, .25);
}
.rsvp__card .script { font-size: clamp(42px, 11vw, 56px); line-height: 1.1; margin: 10px 0 6px; }
.rsvp__card .script { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em; }
#rsvp-form { display: grid; gap: 8px; margin-top: 18px; text-align: left; }
#rsvp-form label, .choice legend { font-size: 16px; color: rgba(240, 241, 231, .8); }
#rsvp-form input[type="text"], #rsvp-form select {
  width: 100%; padding: 12px 14px;
  background: rgba(240, 241, 231, .06); border: 1px solid rgba(201, 165, 92, .4); border-radius: 4px;
  font-size: 17px; color: var(--cream);
}
#rsvp-form select option { color: var(--ink); }
#rsvp-form input:focus, #rsvp-form select:focus { outline: none; border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(201, 165, 92, .2); }
.choice { border: 0; padding: 0; margin: 8px 0 4px; display: grid; gap: 8px; }
.choice label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid rgba(201, 165, 92, .3); border-radius: 4px; cursor: pointer;
}
.choice input { accent-color: var(--gold); width: 16px; height: 16px; }
.choice label:has(input:checked) { border-color: var(--gold); background: rgba(201, 165, 92, .1); }
#rsvp-form .btn { justify-self: center; margin-top: 16px; background: var(--gold-grad); color: var(--night); }
.form-note { text-align: center; font-size: 14px; color: rgba(240, 241, 231, .55); }

/* ==========================================================
   Footer + toast
   ========================================================== */
.foot { padding: 70px 24px 90px; text-align: center; display: grid; gap: 10px; justify-items: center; background: #071A19; }
.foot__bloom { width: 54px; opacity: .9; }
.foot__names { font-size: 44px; line-height: 1.1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em; }
.replay {
  margin-top: 18px; background: none; border: 0; border-bottom: 1px solid rgba(243, 223, 166, .4);
  padding: 4px 2px; font-size: 17px; color: var(--gold-hi);
}

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  transform: translate(-50%, 16px);
  max-width: calc(100vw - 40px);
  padding: 10px 18px; border-radius: 999px;
  background: var(--gold-grad); color: var(--night); font-size: 15px; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   Scroll reveals + reduced motion
   ========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .petals, .bokeh, .intro__streaks { display: none; }
  html { scroll-behavior: auto; }
}
