/* ==========================================================================
   DIYA & KABIR — A TREASURE WORTH KEEPING
   Concept: "The Jewel Box" — the site opens with a ring box you unlock with
   a key; each ceremony afterwards is styled as its own gemstone colour.
   ========================================================================== */

:root {
  --color-cream: #FBF1EA;
  --color-cream-card: #FFF8F3;
  --color-plum: #4A1942;
  --color-plum-mid: #6B2A5F;
  --color-plum-deep: #2E0F29;
  --color-rosegold: #C98A6B;
  --color-rosegold-light: #E8B8A0;
  --color-ink: #2E1626;
  --color-cream-text: #FBF1EA;

  --jewel-haldi: #C98A26;
  --jewel-mehendi: #3D6B4F;
  --jewel-sangeet: #B0245A;
  --jewel-wedding: #8E1B30;
  --jewel-reception: #5B3A8E;

  --font-display: 'Marcellus', serif;
  --font-script: 'Parisienne', cursive;
  --font-body: 'Mulish', sans-serif;

  --space-3xs: 0.25rem; --space-2xs: 0.5rem; --space-xs: 0.75rem; --space-sm: 1rem;
  --space-md: 1.5rem; --space-lg: 2.5rem; --space-xl: 4rem; --space-2xl: 6rem; --space-3xl: 9rem;

  --container-width: 1140px;
  --radius-sm: 4px; --radius-md: 10px;
  --ease-jewel: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s var(--ease-jewel);
  --transition-slow: 0.6s var(--ease-jewel);

  --pattern-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%23C98A6B' opacity='0.35'/%3E%3C/svg%3E");
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--color-cream); color: var(--color-ink); font-family: var(--font-body); font-size: 16px; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--color-plum); color: var(--color-cream-text); }
:focus-visible { outline: 2px solid var(--color-rosegold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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

/* Typography */
.eyebrow { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-rosegold); text-align: center; margin-bottom: var(--space-sm); }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); text-align: center; color: var(--color-plum); margin-bottom: var(--space-md); }
.section-title--light { color: var(--color-cream-text); }
.section-lede { font-weight: 300; font-size: 1.05rem; max-width: 560px; text-align: center; margin: 0 auto var(--space-xl); color: #6B4A61; }
.section-lede--light { color: rgba(251,241,234,0.75); }
.section-doodle { display: block; width: 80px; height: auto; color: var(--color-rosegold); margin: 0 auto var(--space-md); }
.celebrations .section-doodle { color: var(--color-rosegold-light); }

/* Layout */
main section, .footer { padding: var(--space-2xl) var(--space-md); position: relative; }
.countdown, .story, .couple, .family, .gallery, .venue, .treasury, .contact, .celebrations__grid, .rsvp__form { max-width: var(--container-width); margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: var(--space-2xs); font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.06em; padding: 1rem 2rem; border: 1.5px solid var(--color-plum); border-radius: var(--radius-sm); transition: var(--transition-fast); cursor: pointer; }
.btn--primary { background: var(--color-plum); color: var(--color-cream-text); }
.btn--primary:hover { background: var(--color-plum-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--color-plum); }
.btn--ghost:hover { background: var(--color-plum); color: var(--color-cream-text); }

/* --------------------------------------------------------------------------
   THE GATE — ring box + key
   -------------------------------------------------------------------------- */
.gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gate__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, var(--color-plum-mid) 0%, var(--color-plum-deep) 75%); }
.gate__content { position: relative; z-index: 2; text-align: center; padding: var(--space-md); }
.gate__eyebrow { font-family: var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.7rem; color: var(--color-rosegold); margin-bottom: var(--space-sm); }
.gate__title { font-family: var(--font-script); font-size: clamp(2.6rem, 8vw, 4rem); color: var(--color-cream); margin-bottom: var(--space-xl); }
.gate__title span { color: var(--color-rosegold); font-family: var(--font-display); font-size: 0.55em; margin: 0 0.25em; }

.gate__scene { perspective: 1200px; position: relative; width: 260px; height: 210px; margin: 0 auto var(--space-lg); }
.gate__box { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }

.gate__base { position: absolute; bottom: 0; left: 50%; margin-left: -110px; width: 220px; height: 125px; background: linear-gradient(160deg, var(--color-plum-mid), var(--color-plum-deep)); border: 2px solid var(--color-rosegold); border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.gate__keyhole { position: absolute; top: 40%; left: 50%; margin-left: -10px; margin-top: -13px; width: 20px; height: 26px; }
.gate__keyhole::before { content: ''; position: absolute; top: 0; left: 50%; margin-left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-plum-deep); border: 1px solid var(--color-rosegold); }
.gate__keyhole::after { content: ''; position: absolute; bottom: 0; left: 50%; margin-left: -3px; width: 6px; height: 14px; background: var(--color-plum-deep); border-left: 1px solid var(--color-rosegold); border-right: 1px solid var(--color-rosegold); }

.gate__glow { position: absolute; top: 18%; left: 50%; width: 10px; height: 10px; margin-left: -5px; margin-top: -5px; background: radial-gradient(circle, #FFE9C7 0%, rgba(255,233,199,0) 70%); border-radius: 50%; opacity: 0; z-index: 5; pointer-events: none; transform: scale(0.3); }

.gate__clasp { position: absolute; top: 38%; left: 50%; margin-left: -16px; margin-top: -10px; width: 32px; height: 20px; z-index: 6; background: linear-gradient(160deg, var(--color-rosegold-light), var(--color-rosegold)); border: 1px solid var(--color-plum-deep); border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.35); transform-origin: 50% 100%; }
.gate__clasp::after { content: ''; position: absolute; top: 50%; left: 50%; margin-left: -3px; margin-top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-plum-deep); }

.gate__lid { position: absolute; top: 0; left: 50%; margin-left: -110px; width: 220px; height: 95px; background: linear-gradient(160deg, var(--color-plum-mid), var(--color-plum-deep)); border: 2px solid var(--color-rosegold); border-radius: 10px 10px 4px 4px; transform-origin: 50% 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.gate__lid-face { display: flex; align-items: center; justify-content: center; height: 100%; }
.gate__lid-emblem { width: 44px; height: 44px; color: var(--color-rosegold); }

.gate__key { position: absolute; bottom: -8px; left: 50%; margin-left: -45px; width: 90px; color: var(--color-rosegold); padding: 0; }
.gate__key:hover { filter: brightness(1.25); }
.gate__key-svg { width: 100%; }

.gate__prompt { font-family: var(--font-body); font-size: 0.85rem; color: rgba(251,241,234,0.7); letter-spacing: 0.03em; transition: opacity 0.3s ease; }
.gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.8s ease, visibility 0.8s ease; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: rgba(74,25,66,0.1); z-index: 1000; }
.scroll-progress__bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--color-rosegold), var(--color-plum)); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 900; display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) var(--space-lg); background: rgba(251,241,234,0); transition: var(--transition-fast); }
.nav.is-scrolled { background: rgba(251,241,234,0.92); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(74,25,66,0.08); }
.nav__crest { width: 38px; height: 38px; color: var(--color-plum); flex-shrink: 0; }
.nav__crest svg { width: 100%; height: 100%; }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--color-plum); }
.nav__links a { position: relative; padding-bottom: 4px; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--color-rosegold); transition: var(--transition-fast); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { border: 1px solid var(--color-plum); padding: 0.5rem 1rem; border-radius: var(--radius-sm); }
.nav__cta::after { display: none; }
.nav__music { width: 34px; height: 34px; color: var(--color-plum); font-size: 0.95rem; flex-shrink: 0; }
.nav__music.is-playing { color: var(--color-rosegold); animation: pulse-glow 2s ease-in-out infinite; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 26px; flex-shrink: 0; }
.nav__toggle span { width: 100%; height: 2px; background: var(--color-plum); transition: var(--transition-fast); }

/* Hero — asymmetric editorial split */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 15%, var(--color-plum-mid) 0%, var(--color-plum) 45%, var(--color-plum-deep) 100%); overflow: hidden; text-align: left; padding: calc(var(--space-2xl) + 2rem) var(--space-md) var(--space-2xl); }
.hero__pattern { position: absolute; inset: 0; background-image: var(--pattern-dots); opacity: 0.5; }
.hero__grid { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-2xl); align-items: center; }
.hero__text { max-width: 480px; }
.hero__eyebrow { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-rosegold-light); margin-bottom: var(--space-md); }
.hero__names { font-family: var(--font-script); font-size: clamp(3rem, 6.5vw, 5.2rem); color: var(--color-cream); line-height: 1.05; margin-bottom: var(--space-2xs); }
.hero__amp { color: var(--color-rosegold); font-size: 0.6em; margin: 0 0.2em; }
.hero__doodle { width: 90px; height: auto; color: var(--color-rosegold); margin-bottom: var(--space-md); }
.hero__tagline { font-style: italic; font-size: 1.05rem; color: var(--color-rosegold-light); margin-bottom: var(--space-md); max-width: 380px; }
.hero__date { display: flex; align-items: center; gap: var(--space-2xs); font-family: var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-cream); font-size: 0.9rem; margin-bottom: var(--space-lg); }
.hero__date i { font-size: 0.5rem; color: var(--color-rosegold); }
.hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero__actions .btn--ghost { color: var(--color-cream); border-color: var(--color-rosegold); }
.hero__actions .btn--ghost:hover { background: var(--color-rosegold); color: var(--color-plum-deep); }

.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__visual-ring { position: absolute; width: 110px; height: 110px; color: var(--color-rosegold); opacity: 0.45; top: -8%; right: 4%; z-index: 1; }
.hero__portrait { position: relative; z-index: 2; width: min(320px, 100%); aspect-ratio: 4/5; border-radius: 63% 37% 41% 59% / 55% 45% 55% 45%; overflow: hidden; border: 3px solid var(--color-rosegold); box-shadow: 0 30px 60px rgba(0,0,0,0.35); transform: rotate(-3deg); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero__scroll { position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: var(--space-2xs); font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-rosegold-light); z-index: 2; }
.hero__scroll span { width: 1px; height: 30px; background: linear-gradient(var(--color-rosegold), transparent); }

/* Countdown — jewel-pendant necklace */
.countdown { text-align: center; }
.necklace { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: var(--space-md); max-width: 640px; margin: var(--space-xl) auto 0; padding-top: 34px; }
.necklace__chain { position: absolute; top: 0; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--color-rosegold) 12%, var(--color-rosegold) 88%, transparent); }
.necklace__pendant {
  position: relative; width: 92px; height: 106px; flex-shrink: 0;
  clip-path: polygon(50% 0%, 93% 22%, 100% 62%, 50% 100%, 0% 62%, 7% 22%);
  background: linear-gradient(160deg, var(--color-cream-card), #F1DAC6);
  border: 1px solid var(--color-rosegold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(74,25,66,0.2);
}
.necklace__pendant::before { content: ''; position: absolute; top: -15px; left: 50%; margin-left: -5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--color-rosegold); }
.necklace__pendant--drop { margin-top: 16px; }
.necklace__value { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--color-plum); line-height: 1; }
.necklace__label { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-rosegold); margin-top: var(--space-3xs); }

/* Story — horizontal keepsake carousel */
.story { text-align: center; }
.keepsake-swiper { max-width: 920px; margin: var(--space-2xl) auto 0; padding-bottom: var(--space-md); }
.keepsake-swiper .swiper-slide { width: 320px; height: auto; }
.keepsake-card { background: var(--color-cream-card); border: 1px solid var(--color-rosegold); border-radius: var(--radius-md); padding: var(--space-lg); text-align: left; box-shadow: 0 16px 32px rgba(74,25,66,0.12); height: 100%; }
.keepsake-card__frame { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: var(--space-md); background: var(--color-plum-mid); display: flex; align-items: center; justify-content: center; }
.keepsake-card__placeholder { color: var(--color-rosegold-light); font-size: 2rem; opacity: 0.7; }
.keepsake-card__date { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-rosegold); }
.keepsake-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--color-plum); margin: var(--space-2xs) 0 var(--space-2xs); }
.keepsake-card p { color: #6B4A61; font-weight: 300; }
.keepsake-swiper .swiper-pagination-bullet { background: var(--color-rosegold); opacity: 0.4; }
.keepsake-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--color-plum); }
.keepsake-swiper__nav { display: flex; justify-content: center; gap: var(--space-md); margin-top: var(--space-md); }
.keepsake-swiper__prev, .keepsake-swiper__next { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-rosegold); color: var(--color-plum); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); }
.keepsake-swiper__prev:hover, .keepsake-swiper__next:hover { background: var(--color-plum); color: var(--color-cream); }

/* Bride & Groom */
.couple { text-align: center; }
.couple__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-lg); align-items: center; margin-top: var(--space-xl); }
.couple__card { text-align: center; }
.couple__frame { width: 200px; aspect-ratio: 4/5; margin: 0 auto var(--space-md); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-rosegold); background: var(--color-plum-mid); display: flex; align-items: center; justify-content: center; }
.couple__placeholder { color: var(--color-rosegold-light); font-size: 2rem; opacity: 0.7; }
.couple__name { font-family: var(--font-script); font-size: 2.4rem; color: var(--color-plum); }
.couple__parents { font-size: 0.85rem; color: var(--color-rosegold); margin: var(--space-3xs) 0 var(--space-sm); }
.couple__bio { max-width: 320px; margin: 0 auto; color: #6B4A61; font-weight: 300; font-size: 0.95rem; }
.couple__social { margin-top: var(--space-sm); font-size: 1.2rem; color: var(--color-rosegold); }
.couple__heart { display: flex; align-items: center; justify-content: center; }
.couple__heart-frame { width: 190px; aspect-ratio: 1/1.05; clip-path: url(#heartClip); background: var(--color-rosegold); padding: 8px; }
.couple__heart-frame img { width: 100%; height: 100%; object-fit: cover; clip-path: url(#heartClip); display: block; }

/* Celebrations — jewel cards */
.celebrations { background: var(--color-plum-deep); background-image: var(--pattern-dots); text-align: center; max-width: 100%; padding: var(--space-2xl) var(--space-md); }
.celebrations .eyebrow, .celebrations .section-lede { color: var(--color-rosegold-light); }
.celebrations .section-title { color: var(--color-cream-text); }
.celebrations__grid { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); }
.jewel-card { --gem: var(--color-rosegold); border: 1px solid color-mix(in srgb, var(--gem) 55%, transparent); border-radius: var(--radius-md); padding: var(--space-lg) var(--space-sm); position: relative; transition: var(--transition-fast); background: color-mix(in srgb, var(--gem) 8%, transparent); }
.jewel-card:hover { transform: translateY(-6px); border-color: var(--gem); background: color-mix(in srgb, var(--gem) 16%, transparent); }
.jewel-card__gem { display: block; font-size: 0.8rem; color: var(--gem); margin-bottom: var(--space-sm); }
.jewel-card__icon { font-size: 1.5rem; color: var(--gem); margin-bottom: var(--space-sm); }
.jewel-card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-cream-text); margin-bottom: var(--space-2xs); }
.jewel-card__meta { font-family: var(--font-display); font-size: 0.75rem; color: var(--gem); }
.jewel-card__place { font-size: 0.78rem; color: rgba(251,241,234,0.55); margin-top: var(--space-3xs); }
.jewel-card--haldi { --gem: var(--jewel-haldi); }
.jewel-card--mehendi { --gem: var(--jewel-mehendi); }
.jewel-card--sangeet { --gem: var(--jewel-sangeet); }
.jewel-card--wedding { --gem: var(--jewel-wedding); }
.jewel-card--reception { --gem: var(--jewel-reception); }

/* Family */
.family { text-align: center; }
.family__houses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); margin-top: var(--space-xl); }
.family__house-title { font-family: var(--font-script); font-size: 1.8rem; color: var(--color-plum); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rosegold); }
.family__members { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); }
.family__member { width: 110px; }
.family__avatar { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto var(--space-2xs); border: 1px solid var(--color-rosegold); display: flex; align-items: center; justify-content: center; background: var(--color-cream-card); color: var(--color-plum); font-size: 1.2rem; }
.family__member p { font-size: 0.85rem; font-weight: 500; }
.family__member span { font-family: var(--font-display); font-size: 0.68rem; color: var(--color-rosegold); text-transform: uppercase; letter-spacing: 0.06em; }

/* Gallery */
.gallery { text-align: center; }
.gallery__swiper { margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); }
.gallery__swiper .swiper-slide { width: 240px; aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-rosegold); box-shadow: 0 12px 24px rgba(74,25,66,0.15); }
.gallery__slide-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-cream); font-size: 1.8rem; }
.swiper-pagination-bullet { background: var(--color-rosegold); opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--color-plum); }
.gallery__grid { columns: 4 220px; column-gap: var(--space-sm); }
.gallery__tile { break-inside: avoid; margin-bottom: var(--space-sm); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--color-rosegold); }
.gallery__tile-inner { width: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-cream); font-size: 1.5rem; transition: var(--transition-fast); }
.gallery__tile:hover .gallery__tile-inner { transform: scale(1.06); }
.gallery__tile:hover::after { opacity: 1; }
.gallery__tile::after { content: '\f00e'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(46,15,41,0.55); color: var(--color-rosegold-light); opacity: 0; transition: var(--transition-fast); }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(46,15,41,0.94); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition-fast); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__frame { width: min(80vw, 500px); aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-rosegold); }
.lightbox__placeholder { width: 100%; height: 100%; background: var(--color-plum-mid); display: flex; align-items: center; justify-content: center; color: var(--color-rosegold-light); font-size: 3rem; }
.lightbox__close { position: absolute; top: var(--space-lg); right: var(--space-lg); font-size: 2.5rem; color: var(--color-rosegold-light); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--color-rosegold-light); padding: var(--space-sm); }
.lightbox__prev { left: var(--space-md); }
.lightbox__next { right: var(--space-md); }

/* Venue */
.venue { text-align: center; }
.venue__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-top: var(--space-xl); align-items: stretch; text-align: left; }
.venue__info { border: 1px solid var(--color-rosegold); border-radius: var(--radius-md); padding: var(--space-lg); display: flex; flex-direction: column; justify-content: center; background: var(--color-cream-card); }
.venue__info h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--color-plum); margin-bottom: var(--space-sm); }
.venue__info p { color: #6B4A61; margin-bottom: var(--space-sm); font-weight: 300; }
.venue__info i { color: var(--color-rosegold); margin-right: var(--space-3xs); }
.venue__note { font-size: 0.85rem; font-style: italic; }
.venue__info .btn { align-self: flex-start; margin-top: var(--space-sm); }
.venue__map { min-height: 320px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-rosegold); }
.venue__map iframe { width: 100%; height: 100%; min-height: 320px; }

/* RSVP */
.rsvp { background: var(--color-plum-deep); background-image: var(--pattern-dots); text-align: center; max-width: 100%; padding: var(--space-2xl) var(--space-md); }
.rsvp__form { max-width: 560px; margin: var(--space-xl) auto 0; text-align: left; display: grid; gap: var(--space-md); }
.rsvp__row label, .rsvp__legend { display: block; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-rosegold-light); margin-bottom: var(--space-2xs); }
.rsvp__row input, .rsvp__row select, .rsvp__row textarea { width: 100%; background: rgba(251,241,234,0.06); border: 1px solid rgba(201,138,107,0.5); border-radius: var(--radius-sm); padding: var(--space-sm); color: var(--color-cream-text); transition: var(--transition-fast); }
.rsvp__row input:focus, .rsvp__row select:focus, .rsvp__row textarea:focus { border-color: var(--color-rosegold); background: rgba(251,241,234,0.1); }
.rsvp__row input::placeholder, .rsvp__row textarea::placeholder { color: rgba(251,241,234,0.35); }
.rsvp__toggle { display: flex; gap: var(--space-md); font-size: 0.9rem; color: var(--color-cream-text); font-weight: 300; }
.rsvp__toggle label { display: flex; align-items: center; gap: var(--space-3xs); text-transform: none; letter-spacing: normal; font-family: var(--font-body); }
.rsvp__submit { justify-self: center; margin-top: var(--space-sm); }
.rsvp__submit-icon { width: 20px; height: 20px; }
.rsvp__success { display: none; max-width: 420px; margin: var(--space-xl) auto 0; text-align: center; }
.rsvp__success.is-visible { display: block; }
.rsvp__success-icon { width: 60px; height: 60px; color: var(--color-rosegold); margin: 0 auto var(--space-sm); }
.rsvp__success h3 { font-family: var(--font-script); font-size: 2rem; color: var(--color-cream-text); margin-bottom: var(--space-2xs); }
.rsvp__success p { color: var(--color-rosegold-light); font-weight: 300; }

/* Treasury */
.treasury { text-align: center; }
.treasury__card { max-width: 480px; margin: var(--space-xl) auto 0; border: 1px solid var(--color-rosegold); border-radius: var(--radius-md); padding: var(--space-lg); display: flex; gap: var(--space-lg); align-items: center; background: var(--color-cream-card); text-align: left; }
.treasury__qr { flex-shrink: 0; width: 120px; text-align: center; }
.treasury__qr svg { border-radius: var(--radius-sm); border: 1px solid var(--color-rosegold); }
.treasury__qr span { display: block; font-size: 0.65rem; color: #6B4A61; margin-top: var(--space-2xs); font-style: italic; }
.treasury__details p { margin-bottom: var(--space-2xs); font-size: 0.9rem; }
.treasury__details .btn { margin-top: var(--space-sm); font-size: 0.7rem; padding: 0.7rem 1.2rem; }

/* Contact */
.contact { text-align: center; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-xl); max-width: 560px; margin-inline: auto; }
.contact__card { border: 1px solid var(--color-rosegold); border-radius: var(--radius-md); padding: var(--space-lg) var(--space-sm); display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); transition: var(--transition-fast); }
.contact__card:hover { background: var(--color-plum); color: var(--color-cream-text); transform: translateY(-4px); }
.contact__card i { font-size: 1.6rem; color: var(--color-rosegold); }
.contact__card:hover i { color: var(--color-rosegold-light); }
.contact__card span { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.06em; }

/* Footer */
.footer { background: var(--color-plum-deep); color: var(--color-cream-text); text-align: center; padding: var(--space-2xl) var(--space-md) var(--space-xl); }
.footer__crest { width: 52px; height: 52px; margin: 0 auto var(--space-sm); color: var(--color-rosegold); }
.footer__names { font-family: var(--font-script); font-size: 2.4rem; margin-bottom: var(--space-2xs); }
.footer__verse { color: var(--color-rosegold-light); font-style: italic; margin-bottom: var(--space-lg); }
.footer__links { display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-lg); font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.06em; }
.footer__links a:hover { color: var(--color-rosegold); }
.footer__credit { font-size: 0.75rem; color: rgba(251,241,234,0.4); }

/* Back to top */
.back-to-top { position: fixed; bottom: var(--space-md); right: var(--space-md); z-index: 500; width: 44px; height: 44px; border-radius: 50%; background: var(--color-plum); color: var(--color-cream-text); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: var(--transition-fast); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
