:root {
  --cream: #fff3e2;
  --paper: #fff9f1;
  --sage: #f7e6d7;
  --rose: #c21f32;
  --rose-dark: #8f0f1f;
  --gold: #d2a143;
  --brown: #3d1715;
  --ink: #2a1714;
  --muted: #7a5d52;
  --shadow: 0 24px 80px rgba(94, 36, 24, .14);
}

* { 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(85, 58, 35, .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(2rem, 4.8vw, 3.9rem);
  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(85, 58, 35, .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(79, 55, 34, .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); }
.hero {
  min-height: 100svh;
  display: grid;
  place-items: start center;
  text-align: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 238, .88), rgba(251, 246, 237, .5) 42%, rgba(251, 246, 237, .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(251, 246, 237, .32), rgba(251, 246, 237, .08) 48%, rgba(251, 246, 237, .36) 100%),
    radial-gradient(circle at 50% 46%, rgba(255, 250, 240, .82), rgba(255, 250, 240, .34) 35%, transparent 58%);
}
.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(126, 74, 31, .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(196, 147, 77, .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-weight: 600;
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}
.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.55rem, 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(210, 161, 67, .38);
  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(196, 147, 77, .7);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, #d7a764, #f0c984 50%, #bd8738);
  box-shadow: 0 28px 70px rgba(196, 147, 77, .2);
}
.scratch-result {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .25rem;
  background: var(--paper);
  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(251, 246, 237, .82);
  border: 1px solid rgba(196, 147, 77, .25);
  box-shadow: 0 14px 34px rgba(196, 147, 77, .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: var(--gold);
  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: var(--gold); }
.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-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;
}
.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: 600;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.12;
  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;
}

.event-list {
  width: min(1120px, 100%);
  margin: 2.4rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  text-align: left;
}

.event-item {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.55rem, 3vw, 2.35rem);
  border: 1px solid rgba(196, 147, 77, .42);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), rgba(251, 246, 237, .72)),
    radial-gradient(circle at 86% 12%, rgba(164, 35, 67, .13), transparent 8rem);
  box-shadow: 0 20px 58px rgba(79, 55, 34, .08);
  overflow: hidden;
}

.event-item::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(196, 147, 77, .2);
  background: rgba(196, 147, 77, .08);
}

.event-item .event-date {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: .42rem .78rem;
  border: 1px solid rgba(210, 161, 67, .48);
  border-radius: 999px;
  background: rgba(255, 249, 241, .86);
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(210, 161, 67, .12);
}

.event-item h3 {
  position: relative;
  z-index: 1;
  margin: 1rem 0 .65rem;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 600;
  line-height: 1.12;
}

.event-item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(39, 29, 24, .76);
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.event-venue {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1.15rem;
}

.event-venue span {
  display: block;
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.event-venue b {
  display: block;
  margin-top: .32rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 600;
  line-height: 1.35;
}

.event-venue a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: .85rem;
  padding: .5rem 1rem;
  border: 1px solid rgba(143, 15, 31, .35);
  border-radius: 999px;
  background: rgba(194, 31, 50, .08);
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.event-venue a:hover {
  transform: translateY(-2px);
  background: var(--rose-dark);
  color: var(--paper);
}

.gallery-grid {
  width: min(1120px, 100%);
  margin: 2.8rem auto 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-auto-rows: 240px;
  gap: clamp(.8rem, 1.7vw, 1.25rem);
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(196, 147, 77, .38);
  border-radius: 22px;
  background: rgba(251, 246, 237, .65);
  box-shadow: 0 20px 58px rgba(79, 55, 34, .09);
}

.gallery-grid figure:nth-child(2) img {
  object-position: center;
}
.gallery-grid figure:nth-child(5) img {
  object-position: center;
}
 
.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(38, 20, 15, .14));
  pointer-events: none;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-feature {
  grid-row: span 2;
}

.shlok-section {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 238, .9), rgba(251, 246, 237, .7) 48%, rgba(251, 246, 237, .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(126, 74, 31, .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(196, 147, 77, .36);
  border-radius: 18px;
  background: rgba(255, 250, 240, .68);
  box-shadow: 0 24px 80px rgba(79, 55, 34, .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: var(--gold);
  font-size: .8rem;
}
.family-card,
.rsvp-form,
.map-card {
  width: min(720px, 100%);
  margin: 2.5rem auto 0;
  border: 1px solid rgba(196, 147, 77, .58);
  border-radius: 18px;
  background: rgba(251, 246, 237, .54);
  box-shadow: 0 18px 60px rgba(80, 64, 45, .07);
}
.family-card {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background:
    linear-gradient(135deg, rgba(255, 249, 241, .76), rgba(247, 230, 215, .68)),
    radial-gradient(circle at 50% 0%, rgba(210, 161, 67, .12), transparent 45%);
}

.family-side {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(210, 161, 67, .42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 12%, rgba(194, 31, 50, .08), transparent 38%),
    rgba(255, 249, 241, .72);
  overflow: hidden;
}

.family-side::before,
.family-side::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(210, 161, 67, .24);
  border-radius: 50%;
}

.family-side::before {
  top: -34px;
  left: -28px;
}

.family-side::after {
  right: -34px;
  bottom: -30px;
}

.family-side span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(143, 15, 31, .08);
  color: var(--rose-dark);
  font-family: Cinzel, serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.family-side p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.family-side b {
  position: relative;
  z-index: 1;
  margin: .45rem 0;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
}
.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 {
  position: relative;
  display: grid;
  gap: 1.35rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.45rem, 5vw, 3.3rem);
  border-color: rgba(210, 161, 67, .48);
  background:
    radial-gradient(circle at 12% 0%, rgba(194, 31, 50, .08), transparent 28%),
    radial-gradient(circle at 88% 100%, rgba(210, 161, 67, .14), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 241, .94), rgba(255, 243, 226, .88));
  box-shadow:
    0 22px 70px rgba(94, 36, 24, .11),
    inset 0 0 0 1px rgba(255, 255, 255, .46);
  text-align: left;
  overflow: hidden;
}

.rsvp-form::before,
.rsvp-form::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.rsvp-form::before {
  right: -54px;
  top: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(210, 161, 67, .22);
  background: rgba(210, 161, 67, .07);
}

.rsvp-form::after {
  left: -44px;
  bottom: -54px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(194, 31, 50, .18);
  background: rgba(194, 31, 50, .05);
}
.rsvp-field {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .7rem;
  color: var(--rose-dark);
  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(210, 161, 67, .4);
  border-radius: 12px;
  background: rgba(255, 253, 249, .94);
  color: var(--ink);
  outline: 0;
  box-shadow: 0 10px 28px rgba(94, 36, 24, .04);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.rsvp-field input:focus {
  border-color: rgba(194, 31, 50, .55);
  box-shadow: 0 0 0 4px rgba(194, 31, 50, .08);
}
.rsvp-field input::placeholder {
  color: rgba(120, 108, 99, .82);
}
.attendance {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(210, 161, 67, .4);
  border-radius: 12px;
  background: rgba(255, 243, 226, .58);
  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, var(--rose), var(--rose-dark));
  color: white;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(196, 147, 77, .26);
}
.rsvp-form button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 56px;
  margin: .3rem auto 0;
  cursor: pointer;
}
.rsvp-contact {
  display: block;
  margin: .25rem 0 .2rem;
  color: var(--rose-dark);
  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;
}
.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(196, 147, 77, .12), transparent 36%),
    linear-gradient(180deg, #5b0d18, #2b070b);
  color: var(--paper);
  text-align: center;
  border-top: 5px solid rgba(196, 147, 77, .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(210, 161, 67, .82) 0 10px, transparent 11px),
    radial-gradient(ellipse at 62% 61%, rgba(194, 31, 50, .72) 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(2.8rem, 6vw, 5.7rem);
  line-height: 1.08;
  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(196, 147, 77, .9), transparent);
}
.footer-divider span { color: #eecf91; 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: 940px;
    place-items: start center;
  }
  .hero-bg { object-position: center top; }
  .hero-copy { padding-top: 4rem; }
  .invite {
    width: min(430px, 100%);
    margin-top: 1.8rem;
    margin-bottom: 1.45rem;
    font-size: 1.02rem;
    line-height: 1.65;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 11vw, 4.25rem);
    line-height: 1.1;
  }
  .parents {
    margin-top: 1.2rem;
    font-size: 1rem;
  }
  .hero em { margin-top: 1.65rem; }
  .scratch-section { min-height: 400px; padding: 4rem 1.1rem; }
  .event-card {
    min-height: 0;
    border-radius: 14px;
  }
  .event-content { width: 88%; }
  .event-detail b { font-size: 1.08rem; }
  .event-list {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  .event-item {
    min-height: auto;
    border-radius: 16px;
  }
  .family-card {
    grid-template-columns: 1fr;
  }
  .family-side {
    min-height: 190px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gallery-grid figure,
  .gallery-feature {
    min-height: 360px;
    grid-row: auto;
  }
  .map-card { height: 420px; }
  .footer::before,
  .footer::after {
    width: 120px;
    height: 150px;
    opacity: .62;
  }
  .footer h2 { font-size: clamp(2.55rem, 10vw, 4.1rem); }
}
