:root {
  --blush: #fce4ec;
  --blush-soft: #fdf1f5;
  --rose: #f6a5c0;
  --rose-deep: #e07a9c;
  --pink-ink: #9d5470;
  --champagne: #f7e7c4;
  --gold: #c9a24b;
  --gold-light: #e6c878;
  --gold-deep: #a67c2e;
  --ink: #4a2f3a;
  --white: #fffaf7;
  --shadow: rgba(157, 84, 112, 0.18);
  --font-script: "Great Vibes", cursive;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Montserrat", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, #fff6fb 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, #fdf6e6 0%, transparent 45%),
    linear-gradient(160deg, var(--blush-soft) 0%, #fff 40%, var(--champagne) 100%);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.6rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgba(166, 124, 46, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(166, 124, 46, 0.45); }
.btn--block { width: 100%; margin-top: 0.5rem; }

/* ---------- Section headings ---------- */
.section__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--pink-ink);
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.section__whisper {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  background-color: #5a3446;
  background-image:
    linear-gradient(160deg, rgba(90,52,70,0.45) 0%, rgba(60,34,46,0.35) 45%, rgba(90,52,70,0.5) 100%),
    url("assets/photos/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(35,18,26,0.6) 0%, rgba(35,18,26,0.35) 45%, rgba(35,18,26,0.1) 78%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 720px; animation: rise 1.4s ease both; }
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero__prelude {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #fdf1f5;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero__name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.5rem, 13vw, 7rem);
  line-height: 1.05;
  background: linear-gradient(135deg, #f9b8d0, #f7e7c4, #e6c878);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.4rem 0 0.6rem;
  filter: drop-shadow(0 3px 14px rgba(0,0,0,0.55));
}
.hero__divider, .footer__divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 1rem auto; max-width: 340px;
}
.hero__divider .line, .footer__divider .line {
  height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.butterfly-mark { color: var(--rose-deep); font-size: 1.2rem; }
.hero__tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fce4ec;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero__date {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--gold); border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  animation: scroll 1.6s infinite;
}

/* ---------- Countdown ---------- */
.countdown { padding: 4.5rem 1.5rem; text-align: center; }
.countdown__grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem;
  margin-top: 2rem;
}
.count {
  min-width: 110px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 18px;
  padding: 1.4rem 1rem;
  box-shadow: 0 10px 30px var(--shadow);
}
.count__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: var(--rose-deep);
  line-height: 1;
}
.count__label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Story ---------- */
.story { max-width: 720px; margin: 2rem auto; padding: 3.5rem 1.8rem; text-align: center; }
.story__ornament { font-size: 2rem; color: var(--gold); margin-bottom: 0.6rem; }
.story__text {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-style: italic;
  color: var(--ink);
  margin: 1.4rem auto;
  max-width: 620px;
}
.story__signoff { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.story__signature { font-family: var(--font-script); font-size: 3rem; color: var(--rose-deep); line-height: 1; }

/* Featured story with background image */
.story--feature {
  position: relative;
  max-width: none;
  margin: 2rem 0;
  padding: 5rem 1.8rem;
  overflow: hidden;
  border-radius: 26px;
}
.story--feature .story__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,250,247,0.78), rgba(253,241,245,0.82)),
    url("assets/photos/story-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--blush-soft);
}
.story--feature .story__inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}

/* ---------- Details ---------- */
.details-section { padding: 3.5rem 0 4rem; text-align: center; }
.details-section .story__ornament { font-size: 2rem; color: var(--gold); margin-bottom: 0.4rem; }
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  max-width: 1050px;
  margin: 2rem auto 0;
  padding: 0 1.8rem;
}
.detail-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 22px;
  padding: 2.6rem 1.8rem;
  text-align: center;
  box-shadow: 0 12px 34px var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.detail-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px var(--shadow); }
.detail-card__icon { font-size: 2rem; margin-bottom: 0.8rem; }
.detail-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--pink-ink);
  margin-bottom: 0.6rem;
}
.detail-card__lead { font-style: italic; font-size: 1.15rem; color: var(--gold-deep); margin-bottom: 0.3rem; }
.detail-card__link {
  display: inline-block; margin-top: 0.9rem;
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rose-deep); text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px;
}

/* ---------- My Eighteens ---------- */
.eighteens { max-width: 1050px; margin: 0 auto; padding: 2rem 1.8rem 4rem; text-align: center; }
.eighteens .story__ornament { font-size: 2rem; color: var(--gold); margin-bottom: 0.4rem; }
.eighteens__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.eighteen-card {
  font-family: inherit;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 20px;
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: 0 12px 30px var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.eighteen-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px var(--shadow); }
.eighteen-card:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.eighteen-card h3 {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem;
  color: var(--pink-ink); margin: 0.4rem 0 0.5rem;
}
.eighteen-card__cue {
  display: inline-block; margin-top: 0.2rem;
  font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-deep);
  border-bottom: 1px solid var(--rose); padding-bottom: 2px;
}

/* ---------- Names modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(74, 47, 58, 0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  animation: fade 0.3s ease;
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative;
  width: 100%; max-width: 480px; max-height: 82vh; overflow-y: auto;
  background: linear-gradient(160deg, var(--white), var(--blush-soft));
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 24px;
  padding: 2.6rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.modal__box .story__ornament { font-size: 1.6rem; color: var(--gold); margin-bottom: 0.2rem; }
.modal__close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--pink-ink);
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.modal__title {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.8rem;
  color: var(--pink-ink); margin-bottom: 1.2rem;
}
.modal__list { list-style: none; padding: 0; text-align: center; }
.modal__list li {
  font-size: 1.1rem; color: var(--ink);
  padding: 0.5rem 0; border-bottom: 1px solid rgba(201, 162, 75, 0.22);
}
.modal__list li:last-child { border-bottom: none; }

/* ---------- Dress code ---------- */
.dresscode { max-width: 820px; margin: 0 auto; padding: 3rem 1.8rem; text-align: center; }
.dresscode .story__ornament { font-size: 2rem; color: var(--gold); margin-bottom: 0.4rem; }
.dresscode__text { font-style: italic; font-size: 1.2rem; margin-bottom: 2rem; color: var(--ink); }
.dresscode__subtitle {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem;
  color: var(--pink-ink); margin: 2.4rem 0 1.2rem;
}
.dresscode__note {
  max-width: 620px; margin: 2.4rem auto 0; text-align: left;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 18px; padding: 1.6rem 1.8rem;
  box-shadow: 0 10px 28px var(--shadow);
}
.dresscode__note--warn { border-left: 4px solid var(--rose-deep); }
.dresscode__note > p { font-style: italic; color: var(--ink); margin-bottom: 0.6rem; }
.dresscode__list { list-style: none; padding: 0; }
.dresscode__list li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.4rem; color: var(--ink);
}
.dresscode__list li::before {
  content: "\2717"; position: absolute; left: 0; color: var(--rose-deep); font-size: 0.85rem;
}
.dresscode__specials { margin-top: 1rem; }
.dresscode__posters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  align-items: start;
  gap: 1.6rem;
  width: 100%;
  max-width: 820px;
  margin: 1.8rem auto 0;
}
.dresscode__poster img { aspect-ratio: 1023 / 1537; object-fit: cover; }
@media (max-width: 640px) {
  .dresscode__posters { grid-template-columns: minmax(0, 360px); }
}
.dresscode__poster {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 12px 32px var(--shadow);
  border: 1px solid rgba(201, 162, 75, 0.4);
  transition: box-shadow 0.4s ease;
}
.dresscode__poster:hover { box-shadow: 0 20px 44px var(--shadow); }
.dresscode__poster img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s ease;
}
.dresscode__poster:hover img { transform: scale(1.05); }
.dresscode__poster::after {
  content: "\1F50D";
  position: absolute; bottom: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.85); color: var(--pink-ink);
  box-shadow: 0 4px 14px var(--shadow);
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.dresscode__poster:hover::after { opacity: 1; transform: translateY(0); }

/* Slide-in on scroll */
.slide-in {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}
.slide-in--left { transform: translateX(-70px); }
.slide-in--right { transform: translateX(70px); }
.slide-in.visible { opacity: 1; transform: translateX(0); }
.dresscode__poster--wide {
  width: min(1040px, 94vw);
  margin: 1.8rem 50% 0;
  transform: translateX(-50%);
}
.dresscode__poster--wide:hover { transform: translateX(-50%) translateY(-6px); }
.dresscode__block {
  max-width: 620px; margin: 1.4rem auto 0; text-align: left;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 18px; padding: 1.6rem 1.8rem;
  box-shadow: 0 10px 28px var(--shadow);
}
.dresscode__block h4 {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem;
  color: var(--rose-deep); margin-bottom: 0.2rem;
}
.dresscode__block p { color: var(--ink); }
.dresscode__small {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.6rem;
}
.palette { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.4rem; }
.swatch {
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 10px;
  box-shadow: 0 8px 20px var(--shadow);
  border: 2px solid rgba(255,255,255,0.7);
}
.swatch span {
  font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(74,47,58,0.75);
  background: rgba(255,255,255,0.7); padding: 2px 8px; border-radius: 10px;
}
.swatch--blush { background: var(--blush); }
.swatch--rose { background: var(--rose); }
.swatch--champagne { background: var(--champagne); }
.swatch--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); }
.swatch--gold span { color: #fff; background: rgba(0,0,0,0.15); }
.swatch--purple { background: #d6c6f0; }
.swatch--yellow { background: #f6ecb0; }
.swatch--blue { background: #c3ddf2; }

/* ---------- RSVP ---------- */
.rsvp { padding: 4rem 1.5rem 5rem; }
.rsvp__inner {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 26px;
  padding: 3rem 2rem;
  box-shadow: 0 16px 44px var(--shadow);
}
.rsvp__note { font-style: italic; color: var(--gold-deep); margin-bottom: 2rem; }
.rsvp__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; text-align: left;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--pink-ink); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink);
  padding: 0.8rem 1rem;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 12px;
  background: rgba(255,255,255,0.85);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(224, 122, 156, 0.18);
}
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio { font-family: var(--font-sans); font-size: 0.85rem; color: var(--ink); display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.rsvp__success {
  grid-column: 1 / -1; text-align: center; margin-top: 0.5rem;
  font-style: italic; font-size: 1.15rem; color: var(--rose-deep);
}
.rsvp__qr { margin-top: 2rem; }
.rsvp__qr-label {
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--pink-ink); margin-bottom: 0.8rem;
}
.rsvp__qr-box {
  width: 150px; height: 150px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed rgba(201, 162, 75, 0.6); border-radius: 16px;
  font-family: var(--font-sans); font-size: 0.72rem; color: var(--gold-deep);
  background: rgba(255,255,255,0.6); padding: 0.6rem;
}

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 3.5rem 1.5rem 4rem; }
.footer__divider { margin-bottom: 1rem; }
.footer__name { font-family: var(--font-script); font-size: 3rem; color: var(--rose-deep); line-height: 1; }
.footer__sub { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-deep); margin-top: 0.4rem; }
.footer__top {
  display: inline-block; margin-top: 1.6rem;
  font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--pink-ink); text-decoration: none;
  border-bottom: 1px solid var(--rose); padding-bottom: 2px;
}

/* ---------- Gallery ---------- */
.gallery { max-width: 1050px; margin: 0 auto; padding: 3.5rem 1.8rem; text-align: center; }
.gallery__sub { font-style: italic; color: var(--gold-deep); margin-bottom: 2.2rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 28px var(--shadow);
  border: 1px solid rgba(201, 162, 75, 0.4);
  background:
    linear-gradient(135deg, var(--blush) 0%, var(--champagne) 100%);
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "\2731";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  background: linear-gradient(0deg, rgba(157,84,112,0.35), transparent);
  opacity: 0; transition: opacity 0.4s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item.is-placeholder img { display: none; }
.gallery__item.is-placeholder::before {
  content: "\10047";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--rose-deep); opacity: 0.7;
}

/* ---------- Video background banner ---------- */
.video-banner {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.8rem;
  overflow: hidden;
  background-color: #2a1620;
}
.video-banner__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-banner__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(35,18,26,0.35) 0%, rgba(35,18,26,0.6) 100%);
}
.video-banner__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.video-banner__content .story__ornament { color: var(--gold-light); }
.video-banner__content .section__title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.video-banner__content .gallery__sub {
  color: var(--champagne);
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  margin-bottom: 0;
}

/* ---------- Music toggle ---------- */
.music-toggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
  color: #fff; box-shadow: 0 8px 22px rgba(166, 124, 46, 0.45);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.music-toggle:hover { transform: scale(1.08); }
.music-toggle__icon { font-size: 1.5rem; line-height: 1; }
.music-toggle__bars { display: none; align-items: flex-end; gap: 3px; height: 20px; }
.music-toggle__bars i {
  width: 3px; background: #fff; border-radius: 2px;
  animation: eq 0.9s infinite ease-in-out;
}
.music-toggle__bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.music-toggle__bars i:nth-child(2) { height: 80%; animation-delay: 0.15s; }
.music-toggle__bars i:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.music-toggle__bars i:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.music-toggle.playing .music-toggle__icon { display: none; }
.music-toggle.playing .music-toggle__bars { display: flex; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(74, 47, 58, 0.9);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  animation: fade 0.3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 88vw; max-height: 82vh;
  border-radius: 12px; border: 3px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox__close {
  position: absolute; top: 20px; right: 26px;
  background: none; border: none; color: #fff; font-size: 2.6rem; cursor: pointer;
  line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  font-size: 2.4rem; width: 54px; height: 54px; border-radius: 50%;
  cursor: pointer; transition: background 0.3s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.3); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Butterflies ---------- */
.butterfly-field { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.butterfly {
  position: absolute;
  width: 26px; height: 22px;
  will-change: transform;
}
.butterfly .wing {
  position: absolute; top: 0;
  width: 13px; height: 22px;
  background: linear-gradient(135deg, var(--rose), var(--gold-light));
  box-shadow: 0 0 6px rgba(224,122,156,0.4);
}
.butterfly .wing.left {
  left: 0; border-radius: 80% 10% 80% 30% / 90% 20% 80% 30%;
  transform-origin: right center;
  animation: flap-left 0.28s infinite ease-in-out;
}
.butterfly .wing.right {
  right: 0; border-radius: 10% 80% 30% 80% / 20% 90% 30% 80%;
  transform-origin: left center;
  animation: flap-right 0.28s infinite ease-in-out;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll { 0% { top: 8px; opacity: 1; } 100% { top: 26px; opacity: 0; } }
@keyframes flap-left { from { transform: rotateY(0deg); } to { transform: rotateY(65deg); } }
@keyframes flap-right { from { transform: rotateY(0deg); } to { transform: rotateY(-65deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .rsvp__form { grid-template-columns: 1fr; }
  .count { min-width: 42%; }
  .swatch { width: 72px; height: 72px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__nav { width: 44px; height: 44px; font-size: 2rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .music-toggle { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal, .slide-in { opacity: 1; transform: none; }
}
