:root {
  --cream: #f8f0d9;
  --paper: #fdf8ec;
  --sage: #f1e2c2;
  --rose: #9c1c33;
  --rose-dark: #650f20;
  --gold: #b8863f;
  --gold-light: #e3c078;
  --brown: #341210;
  --ink: #241a15;
  --muted: #6e6259;
  --forest: #34503a;
  --shadow: 0 24px 80px rgba(58, 30, 14, .16);
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: hidden;
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Cormorant Garamond", serif;
  overflow-x: hidden;
}
body:not(.invite-open) main {
  opacity: 0;
  transform: scale(.985);
}
body.invite-open main {
  animation: siteReveal .9s ease both;
}
img, iframe { display: block; max-width: 100%; }
button, input { font: inherit; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity 1.2s ease, visibility 1.2s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader.is-opening .envelope-loader {
  animation: envelopeOpenScale 1.05s cubic-bezier(.22, 1, .36, 1) both;
}
.loader.is-opening .loader-instruction {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}
.envelope-loader {
  position: relative;
  width: min(720px, 90vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2.2rem, 5vh, 3.4rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.envelope-art {
  width: min(560px, 80vw);
  max-height: min(50vh, 490px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 55px rgba(58, 30, 14, .16));
}
.loader-instruction {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: .45rem;
  color: var(--rose);
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .68);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.loader-instruction > span {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.12;
}
.loader-instruction small {
  font-family: Cinzel, serif;
  font-size: clamp(.68rem, 1vw, .86rem);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.envelope-loader:hover .envelope-art {
  filter: drop-shadow(0 34px 68px rgba(58, 30, 14, .2));
}
.shree {
  margin: 0;
  color: var(--rose);
  font-weight: 500;
  font-style: italic;
}

.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(62, 43, 32, .88);
  color: var(--paper);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.music-toggle span::before { content: "♪"; font-size: 1.25rem; }
.music-toggle.is-muted span::before { content: "◼"; font-size: .8rem; }

.petals {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
}
.petals span {
  position: absolute;
  top: -8vh;
  animation: fall linear infinite;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.08));
}
.scratch-burst {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 75;
  width: 0;
  height: 0;
  pointer-events: none;
}
.scratch-burst span {
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--size, 18px);
  animation: burstFlower 1.2s cubic-bezier(.16, 1, .3, 1) forwards;
  filter: drop-shadow(0 5px 8px rgba(58, 30, 14, .12));
}

section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
main,
footer {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: hidden;
}
.paper { background: var(--paper); }
.sage { background: var(--sage); }

/* ==========================================================================
   Auspicious Lord Ganesha Invocation Section
   ========================================================================== */
.ganesha-section {
  padding: clamp(4.5rem, 7.5vw, 6.8rem) 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 250, 238, .92), rgba(253, 248, 236, .72) 48%, rgba(253, 248, 236, .98)),
    var(--paper);
}

.ganesha-card {
  width: min(720px, 94vw);
  margin: 1.6rem auto 0;
  padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(184, 134, 63, .38);
  border-radius: 24px;
  background: rgba(255, 250, 240, .78);
  box-shadow: 0 24px 80px rgba(58, 30, 14, .09);
  backdrop-filter: blur(4px);
  position: relative;
}

.ganesh-section-img {
  width: clamp(96px, 12vw, 136px);
  height: auto;
  margin: 0 auto 1.2rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(168, 116, 45, .2));
  animation: ganeshSectionFloat 3.8s ease-in-out infinite;
}

.ganesha-shloka {
  margin: 0 0 .5rem;
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  letter-spacing: .08em;
  line-height: 1.3;
}

.ganesha-sanskrit-slogan {
  margin: .9rem auto 0;
  color: var(--brown);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.65;
}

.ganesha-slogan-trans {
  width: min(560px, 100%);
  margin: .9rem auto 0;
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(.98rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

@keyframes ganeshSectionFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 14px 26px rgba(168, 116, 45, .2));
  }
  50% {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 20px 32px rgba(199, 154, 72, .32));
  }
}

@media (max-width: 600px) {
  .ganesha-section {
    padding: clamp(3.6rem, 8vw, 4.8rem) 1rem;
  }
  .ganesha-card {
    padding: 2rem 1.2rem;
  }
  .ganesh-section-img {
    width: 88px;
    margin-bottom: 1rem;
  }
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
  padding-block: 20px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 238, .88), rgba(253, 248, 236, .5) 42%, rgba(253, 248, 236, .12) 70%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(253, 248, 236, .32), rgba(253, 248, 236, .08) 48%, rgba(253, 248, 236, .36) 100%),
    radial-gradient(circle at 50% 46%, rgba(255, 250, 240, .82), rgba(255, 250, 240, .34) 35%, transparent 58%);
}
.destination-hero {
  min-height: 100svh;
  background: #3d0d14;
}
.destination-hero .hero-bg {
  filter: saturate(.92) sepia(.08) brightness(.86);
}
.destination-hero::after {
  background:
    linear-gradient(90deg, rgba(61, 13, 20, .74), rgba(253, 248, 236, .22) 50%, rgba(61, 13, 20, .64)),
    radial-gradient(circle at 50% 44%, rgba(255, 250, 240, .82), rgba(255, 250, 240, .42) 32%, transparent 60%);
}
.destination-hero .hero-copy {
  padding-inline: clamp(1rem, 4vw, 3rem);
  border: 1px solid rgba(184, 134, 63, .34);
  border-radius: 28px;
  background: rgba(253, 248, 236, .62);
  box-shadow: 0 28px 80px rgba(58, 30, 14, .12);
  backdrop-filter: blur(4px);
}
.hero-venue {
  display: grid;
  gap: .5rem;
  margin: clamp(1.6rem, 3vh, 2.4rem) auto 0;
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-venue strong {
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  font-weight: 500;
}
.hero-venue span {
  color: #60493d;
  font-size: clamp(.72rem, 1vw, .88rem);
}
.hero-copy {
  width: min(760px, 92vw);
  padding-top: clamp(3.2rem, 5.4vh, 5.2rem);
  padding-bottom: clamp(3.4rem, 6vh, 5.5rem);
}
.ganesh {
  width: clamp(86px, 9vw, 126px);
  margin: 0 auto .7rem;
  filter: drop-shadow(0 12px 22px rgba(168, 116, 45, .18));
}
.shree {
  display: inline-block;
  margin-top: .25rem;
  color: var(--rose);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  letter-spacing: .01em;
}
.invite {
  position: relative;
  width: min(660px, 100%);
  margin: clamp(2.1rem, 4vh, 3.1rem) auto clamp(1.5rem, 3vh, 2.3rem);
  color: #1e1510;
  font-size: clamp(1.2rem, 1.75vw, 1.75rem);
  font-weight: 400;
  line-height: 1.48;
}

.hero em::before,
.hero em::after {
  content: "";
  display: inline-block;
  width: clamp(54px, 7vw, 92px);
  height: 1px;
  margin: 0 .85rem .32em;
  background: linear-gradient(90deg, transparent, rgba(184, 134, 63, .62), transparent);
  vertical-align: middle;
}
.name-logo {
  width: min(390px, 76vw);
  /*margin: 0 auto clamp(1.5rem, 3vh, 2.2rem);*/
  margin: 2.5rem auto clamp(2.5rem, 3vh, 3.2rem);
  filter: drop-shadow(0 16px 28px rgba(84, 56, 28, .16));
}
.hero h1 {
  margin: .1rem 0 .05rem;
  color: var(--rose-dark);
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 1.08;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.parents {
  margin: .95rem 0 0;
  color: #1d130f;
  font-size: clamp(1.03rem, 1.42vw, 1.34rem);
  font-weight: 400;
  line-height: 1.45;
}
.hero em {
  display: block;
  margin: clamp(1.5rem, 3vh, 2.25rem) 0 .15rem;
  color: var(--rose-dark);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  font-style: italic;
  font-weight: 500;
}

.scratch-section {
  /*min-height: 410px;*/
  display: grid;
  place-items: center;
  padding: 2.5rem 1.5rem;
}
.ornament {
  margin: 0 auto 2rem;
  color: var(--gold);
  text-align: center;
  font-size: 1.05rem;
}
.ornament.compact { margin: .5rem auto 1.4rem; }
.section-florals::before,
.section-florals::after {
  position: absolute;
  color: rgba(63, 93, 58, .36);
  font-size: clamp(1.7rem, 3vw, 3rem);
}
.section-florals::before { content: "🌿"; left: 1.8rem; top: 2rem; }
.section-florals::after { content: "🌸"; right: 1.8rem; top: 2.8rem; color: rgba(243, 128, 156, .3); }
.scratch-card {
  position: relative;
  width: min(450px, 86vw);
  height: 126px;
  border: 1px solid rgba(184, 134, 63, .7);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, #c99a4c, #f3d896 50%, #a87830);
  box-shadow: 0 28px 70px rgba(184, 134, 63, .2);
}
.scratch-result {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .25rem;
  background: #fdf8ec;
  color: var(--rose-dark);
  text-align: center;
}
.countdown {
  display: none;
  grid-template-columns: repeat(4, minmax(48px, 1fr));
  gap: .55rem;
  width: min(390px, 86vw);
  margin: 1.35rem auto 0;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease, visibility .55s ease;
}
.countdown.is-visible {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.countdown span {
  display: grid;
  place-items: center;
  align-content: center;
  justify-items: center;
  gap: .12rem;
  min-height: 68px;
  padding: .56rem .3rem .48rem;
  border-radius: 12px;
  background: rgba(253, 248, 236, .82);
  border: 1px solid rgba(184, 134, 63, .25);
  box-shadow: 0 14px 34px rgba(184, 134, 63, .12);
}
.countdown b {
  display: block;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}
.countdown small {
  display: block;
  color: #3f5d3a;
  font-family: Cinzel, serif;
  font-size: .54rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}
.scratch-result small,
.label,
.event-detail span,
.rsvp-form label {
  font-family: Cinzel, serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
}
.scratch-result small { font-size: .72rem; color: #3f5d3a; }
.scratch-result strong { font-size: 1.55rem; }
.scratch-result span { color: var(--muted); }
.scratch-card canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
  cursor: grab;
  touch-action: none;
  transform: translateZ(0);
}

.events,
.shlok-section,
.families,
.rsvp,
.venue,
.couple-gallery {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  text-align: center;
}
h2, .rsvp h3 {
  margin: 0;
  color: var(--rose-dark);
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.15;
  letter-spacing: .015em;
  padding-block: .15em;
}
.event-card {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 2 / 3;
  min-height: 0;
  margin: 4.2rem auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: white;
  isolation: isolate;
}
.itinerary-grid {
  width: min(1180px, 100%);
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
}
.function-tags {
  width: min(960px, 100%);
  margin: 0 auto 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}
.function-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(184, 134, 63, .42);
  border-radius: 999px;
  background: rgba(253, 248, 236, .54);
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.itinerary-grid article {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: .7rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid rgba(184, 134, 63, .36);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.46), rgba(253, 248, 236, .68)),
    radial-gradient(circle at 85% 12%, rgba(184, 134, 63, .2), transparent 8rem);
  box-shadow: 0 18px 55px rgba(58, 30, 14, .08);
}
.itinerary-grid article:nth-child(3n + 1) {
  background:
    linear-gradient(135deg, rgba(255,255,255,.44), rgba(253, 248, 236, .64)),
    radial-gradient(circle at 90% 15%, rgba(164, 35, 67, .12), transparent 8rem);
}
.itinerary-grid span,
.family-list span {
  color: #3f5d3a;
  font-family: Cinzel, serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.itinerary-grid h3 {
  margin: 0;
  color: var(--rose-dark);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.15;
}
.itinerary-grid p {
  margin: 0;
  color: #4f4038;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}
.couple-gallery {
  background:
    radial-gradient(circle at 20% 16%, rgba(184, 134, 63, .14), transparent 18rem),
    var(--paper);
  padding-top: clamp(3.8rem, 6vw, 5.4rem);
  padding-bottom: clamp(3.8rem, 6vw, 5.4rem);
}
.gallery-grid {
  width: min(1120px, 100%);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.gallery-grid img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 3;
  border-radius: 160px 160px 16px 16px;
}
.gallery-grid img:nth-child(2) {
  grid-column: span 2;
  grid-row: span 3;
}
.gallery-grid img:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(5), 
.gallery-grid img:nth-child(6) {
  object-position: center center;
}
.event-bg,
.event-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.event-bg {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
.event-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(45, 0, 11, .34), rgba(70, 0, 20, .18) 39%, rgba(40,0,12,.38)),
    radial-gradient(circle at 50% 42%, rgba(70,0,20,.08) 0 24%, rgba(30,0,8,.46) 84%);
}
.event-content {
  position: relative;
  z-index: 2;
  width: min(430px, 84%);
  margin: 0 auto;
  padding-top: clamp(12.5rem, 7vw, 10rem);
}
.event-content h3 {
  margin: 0 0 .4rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(3.3rem, 6vw, 5rem);
  line-height: 1.04;
  padding-block: .08em;
  text-shadow: 0 2px 14px rgba(0,0,0,.38);
}
.quote {
  margin: 1.1rem 0 3.8rem;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
}
.event-detail { margin: 1.55rem auto; }
.event-detail span {
  display: block;
  margin-bottom: .35rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
}
.event-detail b {
  display: block;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.45;
}

.shlok-section {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding-top: clamp(3.8rem, 6vw, 5.4rem);
  padding-bottom: clamp(3.8rem, 6vw, 5.4rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 238, .9), rgba(253, 248, 236, .7) 48%, rgba(253, 248, 236, .95)),
    url("../assets/media/wedding-hero.jpg") center / cover;
}
.shlok-ganesh {
  width: clamp(72px, 9vw, 106px);
  margin: 0 auto .65rem;
  filter: drop-shadow(0 12px 22px rgba(168, 116, 45, .16));
}
.shlok-card {
  width: min(680px, 100%);
  margin: .5rem auto 0;
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.2rem, 4vw, 2.8rem);
  border: 1px solid rgba(184, 134, 63, .36);
  border-radius: 18px;
  background: rgba(255, 250, 240, .68);
  box-shadow: 0 24px 80px rgba(58, 30, 14, .08);
}
.sanskrit {
  margin: 0;
  color: var(--rose-dark);
  font-size: clamp(1.1rem, 3.3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.7;
}
.translation {
  width: min(520px, 100%);
  margin: 1.1rem auto 0;
  color: #4f4038;
  font-size: clamp(0.88rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.65;
}

.label {
  margin: 0;
  color: #3f5d3a;
  font-size: .8rem;
}
.family-card,
.rsvp-form,
.map-card {
  width: min(720px, 100%);
  margin: 2.5rem auto 0;
  border: 1px solid rgba(184, 134, 63, .58);
  border-radius: 18px;
  background: rgba(253, 248, 236, .54);
  box-shadow: 0 18px 60px rgba(58, 30, 14, .07);
}
.family-card { padding: 3rem 1.5rem; }
.family-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  text-align: center;
}
.family-list div {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 14px;
  background: rgba(253, 248, 236, .44);
}
.family-list p {
  margin: .9rem 0 0;
  color: var(--muted);
  font-family: Cinzel, serif;
  font-size: clamp(.86rem, 1.2vw, 1rem);
  letter-spacing: .08em;
  line-height: 1.8;
}
.family-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: Cinzel, serif;
  letter-spacing: .1em;
  line-height: 1.8;
}
.section-copy {
  width: min(760px, 100%);
  margin: 0.6rem auto 0;
  color: rgba(39, 29, 24, .76);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-style: italic;
}
.respond { margin-top: 4rem; }
.rsvp h3 {
  margin-top: .35rem;
  font-size: clamp(3.3rem, 5.4vw, 5.3rem);
}
.rsvp-form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.45rem, 5vw, 3.3rem);
  background: rgba(247, 236, 214, .54);
  box-shadow: 0 18px 60px rgba(58, 30, 14, .07);
  text-align: left;
}
.rsvp-field {
  display: grid;
  gap: .7rem;
  color: #3f5d3a;
  font-size: .82rem;
  font-weight: 400;
}
.rsvp-field span {
  font-family: Cinzel, serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.rsvp-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  border: 1px solid rgba(184, 134, 63, .36);
  border-radius: 10px;
  background: rgba(255, 251, 246, .9);
  color: var(--ink);
  outline: 0;
}
.rsvp-field input::placeholder {
  color: rgba(120, 108, 99, .82);
}
.attendance {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(184, 134, 63, .36);
  border-radius: 10px;
  background: rgba(247, 236, 214, .36);
  color: var(--ink);
  font-family: "Cormorant Garamond", serif !important;
  font-size: 1.05rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.attendance input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}
.attendance span {
  line-height: 1.35;
}
.rsvp-form button,
.direction-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c69752, #9c6f28);
  color: white;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(184, 134, 63, .26);
}
.rsvp-form button {
  width: 100%;
  min-height: 56px;
  margin: .3rem auto 0;
  cursor: pointer;
}
.rsvp-contact {
  display: block;
  margin: .25rem 0 .2rem;
  color: #3f5d3a;
  font-family: Cinzel, serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.thanks {
  display: none;
  margin: .6rem 0 0;
  color: var(--rose-dark);
  text-align: center;
}
.rsvp-form.is-sent .thanks { display: block; }
.map-card {
  height: 360px;
  overflow: hidden;
}
.map-card iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.05); }
.direction-btn {
  margin-top: 2rem;
  min-width: 180px;
  padding: 0 1.4rem;
}
.reception-note {
  width: min(720px, 100%);
  margin: 1.8rem auto 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(184, 134, 63, .46);
  border-radius: 16px;
  background: rgba(253, 248, 236, .58);
  box-shadow: 0 16px 50px rgba(58, 30, 14, .06);
}
.reception-note span {
  display: block;
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.reception-note p {
  margin: .55rem auto 0;
  color: rgba(39, 29, 24, .76);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}
.reception-direction {
  margin-top: 1.1rem;
  min-height: 46px;
  padding-inline: 1.25rem;
}

.couple-note-section {
  position: relative;
  padding: clamp(5.5rem, 9vw, 8rem) 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(164, 35, 67, .1), transparent 26%),
    radial-gradient(circle at 86% 78%, rgba(184, 134, 63, .16), transparent 30%),
    linear-gradient(180deg, var(--paper) 0%, #f6eadc 100%);
}

.couple-note-section::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgba(184, 134, 63, .28);
  border-radius: 46% 46% 28px 28px / 12% 12% 28px 28px;
  pointer-events: none;
}

.note-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.note-image-wrap {
  position: relative;
  width: min(430px, 100%);
  margin: 0 auto;
  border-radius: 48% 48% 24px 24px / 35% 35% 24px 24px;
  isolation: isolate;
}

.note-image-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid rgba(184, 134, 63, .45);
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .75), transparent 42%),
    rgba(184, 134, 63, .08);
}

.note-image-wrap::after {
  content: "";
  position: absolute;
  inset: auto -20px -22px 18%;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(58, 30, 14, .16), transparent 68%);
  z-index: -2;
}

.note-couple-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(.96) contrast(1.02);
  box-shadow: 0 28px 70px rgba(58, 30, 14, .2);
}

.note-content {
  position: relative;
  text-align: left;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.note-kicker {
  margin: 0 0 .7rem;
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.note-content h2 {
  margin: 0;
  color: var(--rose-dark);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .01em;
}

.note-divider {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.1rem 0 1.35rem;
  color: var(--gold);
}

.note-divider::before,
.note-divider::after {
  content: "";
  width: min(120px, 26vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 134, 63, .74), transparent);
}

.note-divider span {
  color: var(--gold);
  font-size: 1rem;
}

.note-content p {
  max-width: 660px;
  margin: 0 0 .95rem;
  color: rgba(39, 29, 24, .78);
  font-size: clamp(1.05rem, 1.75vw, 1.28rem);
  line-height: 1.72;
}

.note-lead {
  color: var(--rose-dark) !important;
  font-style: italic;
  font-weight: 600;
}

.note-highlight {
  margin-top: 1.25rem !important;
  color: var(--rose-dark) !important;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem) !important;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35 !important;
}

.note-signature {
  margin-top: 1.1rem !important;
  color: var(--gold) !important;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem) !important;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .03em;
}

.note-direction-link {
  display: inline-flex;
  margin-top: .5rem;
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.note-direction-link:hover {
  color: var(--gold);
}

.note-floral,
.note-particle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.note-floral {
  width: clamp(140px, 18vw, 230px);
  height: clamp(180px, 24vw, 300px);
  opacity: .36;
  background:
    radial-gradient(circle at 30% 24%, rgba(164, 35, 67, .34) 0 10px, transparent 11px),
    radial-gradient(circle at 44% 39%, rgba(255, 201, 205, .58) 0 8px, transparent 9px),
    radial-gradient(ellipse at 54% 70%, rgba(184, 134, 63, .5) 0 12px, transparent 13px),
    linear-gradient(62deg, transparent 0 46%, rgba(184, 134, 63, .45) 47% 49%, transparent 50%);
}

.note-floral-left {
  left: -30px;
  bottom: 8%;
  transform: rotate(-14deg);
}

.note-floral-right {
  right: -34px;
  top: 10%;
  transform: scaleX(-1) rotate(-8deg);
}

.note-particle {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(184, 134, 63, .55);
  box-shadow:
    46px 24px 0 rgba(164, 35, 67, .22),
    86px -12px 0 rgba(184, 134, 63, .22),
    -38px 62px 0 rgba(164, 35, 67, .18);
}

.note-particle-one {
  left: 18%;
  top: 16%;
}

.note-particle-two {
  right: 22%;
  bottom: 18%;
}

.footer {
  position: relative;
  padding: clamp(4.8rem, 8vw, 7rem) 1.5rem clamp(4.4rem, 7vw, 6.4rem);
  background:
    radial-gradient(circle at 50% 20%, rgba(184, 134, 63, .15), transparent 36%),
    linear-gradient(180deg, #4a0f18, #240a0e);
  color: var(--paper);
  text-align: center;
  border-top: 5px solid rgba(184, 134, 63, .55);
  isolation: isolate;
}
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  bottom: clamp(1.2rem, 3vw, 2.6rem);
  width: clamp(150px, 20vw, 250px);
  height: clamp(170px, 24vw, 290px);
  opacity: .92;
  background:
    radial-gradient(circle at 24% 72%, #f6b5bd 0 10px, #d98291 11px 16px, transparent 17px),
    radial-gradient(circle at 34% 57%, #f8d1d5 0 7px, transparent 8px),
    radial-gradient(circle at 48% 38%, #f3bcc4 0 6px, transparent 7px),
    radial-gradient(circle at 68% 28%, #f6d5d7 0 5px, transparent 6px),
    radial-gradient(ellipse at 52% 76%, rgba(63, 93, 58, .9) 0 10px, transparent 11px),
    radial-gradient(ellipse at 62% 61%, rgba(63, 93, 58, .86) 0 8px, transparent 9px),
    linear-gradient(54deg, transparent 0 46%, rgba(169, 129, 76, .62) 47% 49%, transparent 50%);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .14));
  z-index: -1;
}
.footer::before {
  left: clamp(-2rem, -2vw, -.6rem);
  transform: rotate(-10deg);
}
.footer::after {
  right: clamp(-2rem, -2vw, -.6rem);
  transform: scaleX(-1) rotate(-10deg);
}
.footer-inner {
  position: relative;
  width: min(900px, 92vw);
  margin: 0 auto;
}
.footer .label {
  color: var(--paper);
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  letter-spacing: .36em;
}
.footer h2 {
  margin: clamp(.8rem, 2vw, 1.25rem) 0 .35rem;
  color: var(--paper);
  font-size: clamp(4.2rem, 9vw, 8.4rem);
  line-height: .95;
  padding-block: .12em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  transform: none;
}
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: .35rem auto clamp(1.6rem, 3vw, 2.3rem);
  color: var(--gold);
}
.footer-divider::before,
.footer-divider::after {
  content: "";
  width: clamp(72px, 12vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 134, 63, .9), transparent);
}
.footer-divider span { color: var(--gold-light); font-size: 1.35rem; }
.footer-date {
  color: var(--paper);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-style: italic;
}
.footer-heart {
  margin: .75rem auto .45rem;
  color: var(--gold);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
}
.footer-tag {
  color: var(--paper);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-style: italic;
}
.footer p:not(.label) {
  margin: .45rem 0;
}

@keyframes fall {
  to { transform: translate3d(7vw, 112vh, 0) rotate(240deg); }
}
@keyframes burstFlower {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2) rotate(0deg);
  }
  16% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.95) rotate(var(--rotate));
  }
}
@keyframes envelopeOpenScale {
  0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  42% { opacity: 1; transform: translateY(-8px) scale(1.08); filter: blur(0); }
  100% { opacity: 0; transform: translateY(18px) scale(1.35); filter: blur(8px); }
}
@keyframes siteReveal {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    place-items: center;
  }
  .hero-bg { object-position: center top; }
  .hero-copy {
    padding-top: 3.2rem;
    padding-bottom: 2.6rem;
  }
  .invite {
    width: min(430px, 100%);
    margin-top: 1.8rem;
    margin-bottom: 1.45rem;
    font-size: 1.02rem;
    line-height: 1.65;
  }
  .hero h1 {
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
    /* font-size: clamp(2.45rem, 11vw, 4.1rem); */
    line-height: 1.08;
  }
  .parents {
    margin-top: 1.2rem;
    font-size: 1rem;
  }
  .hero em { margin-top: 1.65rem; }
  .scratch-section { min-height: 400px; padding: 4rem 1.1rem; }
  .shlok-section {
    min-height: auto;
    padding: 2.35rem 1rem;
    align-content: center;
    background-position: center top;
  }
  .couple-gallery {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .shlok-section .ornament {
    margin-bottom: 1rem;
  }
  .shlok-card {
    margin-top: .2rem;
    padding: 1.45rem 1rem;
    border-radius: 14px;
  }
  .sanskrit {
    font-size: 1.22rem;
    line-height: 1.55;
  }
  .translation {
    margin-top: .8rem;
    font-size: .92rem;
    line-height: 1.45;
  }
  .destination-hero {
    min-height: 100svh;
  }
  .destination-hero .hero-copy {
    width: min(440px, 92vw);
    padding-inline: 1rem;
  }
  .itinerary-grid,
  .family-list {
    grid-template-columns: 1fr;
  }
  .itinerary-grid article {
    min-height: auto;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1.15rem;
  }
  .gallery-grid img:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
  }
  .gallery-grid img:nth-child(1) {
    grid-row: auto;
    border-radius: 120px 120px 14px 14px;
  }
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(5) {
    object-position: center center;
  }
  .event-card {
    min-height: 0;
    border-radius: 14px;
  }
  .event-content { width: 88%; }
  .event-detail b { font-size: 1.08rem; }
  .map-card { height: 420px; }
  .couple-note-section {
    padding: 3.2rem 1rem 3.6rem;
  }
  .couple-note-section::before {
    inset: .6rem;
    border-radius: 88px 88px 22px 22px;
  }
  .note-shell {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .note-image-wrap {
    width: min(255px, 74vw);
  }
  .note-image-wrap::before {
    inset: -10px;
  }
  .note-image-wrap::after {
    height: 44px;
    bottom: -14px;
  }
  .note-couple-img {
    aspect-ratio: 1 / 1.16;
  }
  .note-content {
    text-align: center;
    padding: 0;
  }
  .note-kicker {
    margin-bottom: .45rem;
    font-size: .62rem;
    letter-spacing: .18em;
  }
  .note-content h2 {
    font-size: clamp(2.05rem, 10vw, 3.05rem);
    line-height: 1.12;
  }
  .note-divider {
    justify-content: center;
    margin: .65rem 0 .9rem;
  }
  .note-content p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: .62rem;
    font-size: 1rem;
    line-height: 1.52;
  }
  .note-highlight {
    margin-top: .85rem !important;
    font-size: 1.22rem !important;
  }
  .note-signature {
    margin-top: .65rem !important;
    font-size: 1.32rem !important;
  }
  .note-direction-link {
    margin-top: .15rem;
    font-size: .62rem;
  }
  .note-floral {
    opacity: .24;
  }
  .rsvp {
    padding: 4rem 1rem;
  }
  .rsvp h2 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
    line-height: 1.14;
    padding-block: .08em;
  }
  .rsvp .section-copy {
    margin-top: .45rem;
    font-size: 1.02rem;
    line-height: 1.45;
  }
  .rsvp h3 {
    margin-top: .2rem;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.12;
    padding-block: .08em;
  }
  .footer::before,
  .footer::after {
    width: 120px;
    height: 150px;
    opacity: .62;
  }
  .footer h2 {
    font-size: clamp(2.35rem, 10vw, 3.55rem);
    line-height: 1.1;
    padding-block: .06em;
  }
}

@media (max-width: 820px) {
  .rsvp h2 {
    font-size: clamp(2.1rem, 9vw, 3.25rem);
    line-height: 1.12;
    padding-block: .06em;
  }

  .rsvp h3 {
    font-size: clamp(1.9rem, 8vw, 2.85rem);
    line-height: 1.12;
    padding-block: .06em;
  }

  .footer h2 {
    font-size: clamp(2.25rem, 9vw, 3.4rem);
    line-height: 1.1;
    padding-block: .06em;
  }
}
