@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Great+Vibes&display=swap');

:root {
  --cream: hsl(229 34% 8%);
  --cream-light: hsl(226 31% 13%);
  --ink: hsl(43 54% 96%);
  --rose: hsl(43 100% 72%);
  --rose-deep: hsl(40 92% 80%);
  --sage: hsl(215 39% 43%);
  --sage-deep: hsl(42 72% 70%);
  --sage-soft: hsl(226 32% 13%);
  --gold: hsl(43 100% 61%);
  --gold-soft: hsl(40 92% 72%);
  --shadow-elegant: 0 20px 60px -20px hsl(0 0% 0% / 0.68);
  --shadow-soft: 0 8px 30px -10px hsl(0 0% 0% / 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

img,
svg,
canvas,
iframe {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.petal-rain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
}

.petal-rain > span {
  position: absolute;
  top: -10vh;
  left: var(--left);
  font-size: var(--size);
  filter: drop-shadow(0 2px 4px hsl(25 30% 18% / 0.1));
  animation: float-petal var(--duration) linear var(--delay) infinite;
}

@keyframes float-petal {
  0% { transform: translate3d(0, -12vh, 0) rotate(0); }
  30% { transform: translate3d(var(--sway), 30vh, 0) rotate(110deg); }
  65% { transform: translate3d(calc(0px - var(--sway)), 68vh, 0) rotate(235deg); }
  100% { transform: translate3d(var(--sway), 116vh, 0) rotate(360deg); }
}

.invitation-cover {
  position: fixed;
  inset: 0;
  z-index: 20;
  min-height: 100svh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 15%, hsl(35 43% 22%), hsl(27 39% 10%) 72%);
}

.cover-sprig {
  position: absolute;
  z-index: 1;
  opacity: 0.65;
  animation: drift 5s ease-in-out infinite;
}

.cover-sprig--one { top: 24px; left: 24px; font-size: 30px; }
.cover-sprig--two { top: 32px; right: 40px; font-size: 25px; animation-delay: -1s; }
.cover-sprig--three { bottom: 32px; left: 40px; font-size: 30px; animation-delay: -2s; }
.cover-sprig--four { right: 24px; bottom: 24px; font-size: 30px; animation-delay: -0.5s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(8px, -10px) rotate(5deg); }
}

.envelope {
  position: relative;
  z-index: 2;
  width: 280px;
  padding: 0;
  color: white;
  cursor: pointer;
  background: transparent;
  perspective: 1000px;
  transition: transform 0.5s ease;
}

.envelope:hover {
  transform: scale(1.05);
}

.envelope:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 6px;
  border-radius: 12px;
}

.envelope img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 24px rgb(49 63 43 / 0.28));
}

.wax-seal {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, hsl(36 55% 60%), hsl(36 45% 45%));
  box-shadow: 0 10px 40px -10px hsl(36 55% 45% / 0.55), inset 0 0 0 3px rgb(255 255 255 / 0.14);
  animation: shimmer 2.5s ease-in-out infinite;
}

.wax-seal span {
  font-family: Cinzel, serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgb(255 255 255 / 0.9);
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.14); transform: scale(1.025); }
}

.cover-copy {
  z-index: 2;
  margin-top: 40px;
  text-align: center;
  color: var(--sage-deep);
  animation: fade-up 0.8s 0.3s both;
}

.cover-copy h1 {
  margin: 0;
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.cover-copy p {
  margin: 10px 0 0;
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0.03em;
  opacity: 0.82;
}

.invitation-cover--opening .envelope {
  animation: envelope-open 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.invitation-cover--opening .cover-copy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes envelope-open {
  0% { transform: scale(1) rotateX(0); opacity: 1; }
  45% { transform: scale(1.08) rotateX(-8deg); opacity: 1; }
  100% { transform: scale(1.38) translateY(-25px); opacity: 0; }
}

.invitation-page {
  position: relative;
  animation: page-fade 0.8s ease both;
}

@keyframes page-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero-background,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  object-fit: cover;
}

.hero-wash {
  background: linear-gradient(to bottom, hsl(27 39% 7% / 0.78), hsl(27 39% 7% / 0.38) 48%, var(--cream));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: 48px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ganesh-block {
  color: var(--rose-deep);
}

.ganesh-block img {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgb(0 0 0 / 0.14));
}

.ganesh-block p {
  margin: 8px 0 0;
  font-size: 21px;
  font-style: italic;
}

.invitation-line {
  max-width: 450px;
  margin: 30px auto 0;
  color: var(--rose-deep);
  font-size: 19px;
  line-height: 1.45;
}

.couple-name {
  max-width: 100%;
  margin: 18px 0 0;
  color: var(--rose);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(54px, 8vw, 100px);
  font-weight: 400;
  font-style: italic;
  line-height: 0.88;
  white-space: nowrap;
}

.parents-line {
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.45;
  color: hsl(38 45% 92% / 0.82);
}

.with {
  margin: 20px 0 0;
  color: var(--rose-deep);
  font-family: 'Great Vibes', cursive;
  font-size: 38px;
  font-style: italic;
  line-height: 1;
}

.hero-last {
  padding-bottom: 20px;
}

.reveal {
  animation: fade-up 0.8s both;
}

.reveal--two { animation-delay: 0.2s; }
.reveal--three { animation-delay: 0.3s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.decorative-section {
  position: relative;
  overflow: hidden;
}

.corner-ornaments span {
  position: absolute;
  z-index: 0;
  font-size: 31px;
  opacity: 0.18;
  pointer-events: none;
}

.corner-ornaments span:nth-child(1) { top: 24px; left: 18px; }
.corner-ornaments span:nth-child(2) { top: 42px; right: 24px; font-size: 27px; }
.corner-ornaments span:nth-child(3) { bottom: 36px; left: 38px; font-size: 27px; }
.corner-ornaments span:nth-child(4) { right: 18px; bottom: 24px; }

.date-reveal {
  min-height: 404px;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.date-rule {
  position: relative;
  z-index: 1;
}

.scratch-card {
  position: relative;
  width: min(100%, 448px);
  height: 128px;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-elegant);
  background: var(--cream);
  user-select: none;
}

.scratch-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.scratch-message p {
  margin: 0;
  color: var(--sage-deep);
  font-family: Cinzel, serif;
  font-size: 15px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.scratch-message strong {
  margin-top: 5px;
  color: var(--rose-deep);
  font-family: 'Great Vibes', cursive;
  font-size: 38px;
  font-weight: 400;
}

#scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  transition: opacity 0.45s ease;
}

#scratch-canvas:active {
  cursor: grabbing;
}

#scratch-canvas:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: -5px;
}

.fireworks-overlay {
  position: fixed;
  inset: 0;
  z-index: 36;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.scratch-canvas--gone {
  opacity: 0;
  pointer-events: none;
}

.countdown {
  max-width: 480px;
  margin: 38px auto 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition: 0.7s ease;
}

.countdown--visible {
  opacity: 1;
  transform: translateY(0);
}

.countdown div {
  min-width: 68px;
  text-align: center;
}

.countdown strong {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  color: var(--rose-deep);
  font-family: Cinzel, serif;
  font-size: 24px;
  font-weight: 400;
}

.countdown span {
  display: block;
  margin-top: 8px;
  color: var(--sage-deep);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events {
  padding: 80px 24px;
  background: var(--sage-soft);
}

.section-title,
.presence,
.families,
.venue {
  text-align: center;
}

.section-title h2,
.presence h2,
.families h2,
.venue h2,
footer h2 {
  margin: 0;
  color: var(--rose-deep);
  font-family: 'Great Vibes', cursive;
  font-size: clamp(52px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.08;
}

.floral-rule {
  margin: 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.floral-rule span {
  width: 64px;
  height: 1px;
  background: var(--gold-soft);
}

.floral-rule b {
  color: var(--gold);
  font-size: 18px;
  font-weight: 400;
}

.floral-rule--small {
  margin: 16px auto;
}

.floral-rule--small span,
.floral-rule--light span {
  width: 40px;
}

.event-grid {
  position: relative;
  z-index: 1;
  width: min(100%, 1152px);
  margin: 67px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.event-card {
  position: relative;
  min-height: 458px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--gold-soft);
  background: hsl(226 34% 16%);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.event-background,
.event-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-background {
  z-index: 0;
  object-fit: cover;
  filter: brightness(1.04) saturate(1.22);
}

.event-shade {
  z-index: 1;
  background: linear-gradient(180deg, rgb(7 11 23 / 0.06), rgb(7 11 23 / 0.34));
}

.event-layout {
  position: relative;
  z-index: 2;
  min-height: 458px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
}

.event-card--text-only {
  min-height: 390px;
}

.event-layout--text-only {
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.event-couple-wrap {
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
}

.event-couple {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px rgb(0 0 0 / 0.22));
}

.event-copy {
  align-self: center;
  width: min(100%, 520px);
  margin-inline: auto;
  text-align: center;
  color: var(--ink);
}

.event-card--image-right .event-couple-wrap { order: 2; }
.event-card--image-right .event-copy { order: 1; }

.event-copy h3 {
  margin: 0;
  font-family: 'Great Vibes', cursive;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
}

.event-description {
  min-height: 45px;
  margin: 12px 0 0;
  color: rgb(255 251 241 / 0.86);
  font-size: 17px;
  font-style: italic;
  line-height: 1.35;
}

.event-description:empty {
  display: none;
}

.floral-rule--light {
  margin: 20px auto;
}

.floral-rule--light span {
  background: hsl(36 60% 75% / 0.62);
}

.event-copy dl {
  margin: 0;
}

.event-copy dl div + div {
  margin-top: 12px;
}

.event-copy dt {
  color: var(--gold-soft);
  font-family: Cinzel, serif;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-copy dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.event-directions {
  min-height: 40px;
  margin-top: 20px;
  padding: 9px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(36 60% 75% / 0.8);
  border-radius: 999px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.event-directions:hover {
  transform: translateY(-2px);
  background: hsl(36 55% 55% / 0.35);
}

.event-directions:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

.presence {
  padding: 96px 24px;
  background: var(--cream);
}

.presence > *:not(.corner-ornaments) {
  position: relative;
  z-index: 1;
}

.presence p {
  margin: 0 auto;
  color: hsl(38 45% 92% / 0.82);
  font-size: 21px;
  font-style: italic;
  line-height: 1.6;
}

.families {
  padding: 80px 24px;
  background: var(--sage-soft);
}

.eyebrow {
  margin: 0;
  color: var(--sage-deep);
  font-family: Cinzel, serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.families h2,
.venue h2 {
  margin-top: 8px;
}

.family-card {
  position: relative;
  z-index: 1;
  width: min(100%, 1024px);
  margin: 40px auto 0;
  padding: 32px;
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  background: hsl(28 32% 12% / 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.family-card > p:not(.eyebrow) {
  margin: 4px 0;
  font-size: 22px;
}

.venue {
  padding: 80px 24px;
  background: var(--cream);
}

.venue-address {
  max-width: 580px;
  margin: 0 auto;
  color: hsl(38 45% 92% / 0.82);
  font-size: 21px;
}

.map-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 896px);
  margin: 40px auto 0;
  overflow: hidden;
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-elegant);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.directions-button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  margin-top: 32px;
  padding: 11px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(36 55% 60%), hsl(36 45% 45%));
  box-shadow: 0 10px 40px -10px hsl(36 55% 45% / 0.4);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.directions-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.directions-button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

.directions-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.invitation-closings {
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
  background: var(--sage-soft);
}

.invitation-closings > *:not(.corner-ornaments) {
  position: relative;
  z-index: 1;
}

.invitation-closings h2 {
  margin-top: 8px;
}

.closing-grid {
  width: min(100%, 1024px);
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.closing-card {
  padding: 26px 22px;
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  background: hsl(28 32% 12% / 0.92);
  box-shadow: var(--shadow-soft);
}

.closing-card--hosts,
.closing-card--address {
  grid-column: 1 / -1;
}

.closing-card h3 {
  margin: 0 0 12px;
  color: var(--sage-deep);
  font-family: Cinzel, serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.closing-card p {
  margin: 0;
  font-size: 21px;
  line-height: 1.55;
}

.closing-contact {
  margin-top: 12px !important;
}

.closing-contact a {
  color: var(--rose-deep);
  text-decoration-color: hsl(348 65% 35% / 0.4);
  text-underline-offset: 3px;
}

.closing-contact a:hover {
  color: var(--rose);
}

footer {
  padding: 64px 24px;
  text-align: center;
  background: hsl(27 44% 7%);
  color: var(--ink);
}

footer .eyebrow {
  color: var(--gold-soft);
}

footer h2 {
  margin-top: 12px;
  color: var(--ink);
}

.footer-flower {
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-flower span {
  width: 48px;
  height: 1px;
  background: hsl(36 60% 75% / 0.4);
}

.footer-flower b {
  font-size: 24px;
  font-weight: 400;
}

.footer-date {
  margin: 0;
  font-size: 19px;
  font-style: italic;
}

.footer-tag {
  margin: 10px 0 0;
  color: hsl(38 50% 95% / 0.7);
  font-family: Cinzel, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.music-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: hsl(25 30% 18% / 0.8);
  box-shadow: var(--shadow-elegant);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease;
}

.scroll-cue {
  position: fixed;
  top: 50%;
  right: max(10px, env(safe-area-inset-right));
  z-index: 40;
  min-width: 42px;
  min-height: 94px;
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: translateY(-50%);
  border: 1px solid hsl(36 60% 75% / 0.72);
  border-radius: 999px;
  background: hsl(25 30% 18% / 0.84);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  cursor: pointer;
  font-family: Cinzel, serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.scroll-cue span:first-child {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
  animation: scroll-nudge 1.4s ease-in-out infinite;
}

.scroll-cue:hover { background: hsl(25 30% 18% / 0.96); }
.scroll-cue:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

@keyframes scroll-nudge {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

.music-toggle:hover { transform: scale(1.06); }
.music-toggle:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

.music-toggle svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.volume-off { display: none; }
.music-toggle--muted .volume-on { display: none; }
.music-toggle--muted .volume-off { display: block; }

.butterfly {
  position: fixed;
  z-index: 31;
  top: 64%;
  left: -70px;
  width: 38px;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.2));
  animation: butterfly-flight 21s linear infinite;
}

.butterfly svg ellipse,
.butterfly svg circle {
  fill: #1f2937;
}

.butterfly svg > g > path:not(.wing) {
  fill: none;
  stroke: #1f2937;
  stroke-linecap: round;
}

.wing--one { fill: #3b82f6; }
.wing--two { fill: #60a5fa; }

@keyframes butterfly-flight {
  0% { transform: translate(-60px, 15vh) rotate(-10deg) scale(0.85); }
  18% { transform: translate(24vw, -28vh) rotate(8deg) scale(1); }
  43% { transform: translate(52vw, 18vh) rotate(-5deg) scale(0.9); }
  70% { transform: translate(81vw, -34vh) rotate(10deg) scale(1); }
  100% { transform: translate(calc(100vw + 120px), 8vh) rotate(-8deg) scale(0.82); }
}

@media (min-width: 640px) {
  .envelope { width: 360px; }
  .wax-seal { width: 96px; height: 96px; }
  .cover-copy h1 { font-size: 48px; }
  .hero-content { padding-top: 80px; }
  .event-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .countdown { gap: 24px; }
  .countdown div { min-width: 90px; }
  .countdown strong { font-size: 36px; }
}

@media (min-width: 768px) {
  .envelope { width: 420px; }
}

@media (min-width: 1024px) {
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .hero-content { padding-inline: 18px; }
  .ganesh-block img { width: 82px; height: 82px; }
  .ganesh-block p { font-size: 18px; }
  .invitation-line { max-width: 330px; font-size: 17px; }
  .couple-name { font-size: clamp(30px, 9vw, 54px); line-height: 1; }
  .parents-line { max-width: 600px; font-size: 15px; }
  .event-card { min-height: 700px; }
  .event-layout {
    min-height: 700px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 24px;
    gap: 12px;
  }
  .event-card--text-only { min-height: 430px; }
  .event-layout--text-only {
    min-height: 430px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 0;
  }
  .event-couple-wrap,
  .event-card--image-right .event-couple-wrap { order: 2; }
  .event-copy,
  .event-card--image-right .event-copy { order: 1; }
  .event-couple { max-width: 190px; max-height: 330px; width: auto; }
  .event-description { min-height: auto; }
  .date-reveal { min-height: 340px; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 0; flex: 1; }
  .countdown strong { font-size: 19px; border-radius: 12px; }
  .countdown span { font-size: 9px; letter-spacing: 0.08em; }
  .events,
  .families,
  .venue,
  .invitation-closings { padding: 70px 16px; }
  .closing-grid { grid-template-columns: 1fr; gap: 14px; }
  .closing-card--hosts,
  .closing-card--address { grid-column: auto; }
  .closing-card { padding: 22px 16px; }
  .closing-card p { font-size: 19px; }
  .presence { padding: 82px 20px; }
  .section-title h2,
  .presence h2,
  .families h2,
  .venue h2 { font-size: 50px; }
  footer h2 { font-size: 38px; line-height: 1.2; }
  .map-frame iframe { height: 320px; }
}

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

/* Ankit & Sarah dark invitation theme and RSVP flow */
.petal-rain,
.cover-sprig,
.corner-ornaments,
.footer-flower,
.floral-rule {
  display: none !important;
}

.couple-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 4px 24px hsl(43 100% 58% / 0.25);
}
.couple-name::first-letter { font-size: 1.18em; line-height: 0.8; }

.invitation-cover {
  background: radial-gradient(ellipse at 50% 15%, hsl(222 61% 26%), hsl(226 70% 9%) 72%);
}
.cover-copy { color: hsl(43 100% 69%); }
.hero {
  background: linear-gradient(145deg, hsl(224 69% 15%), hsl(221 61% 8%) 70%);
}
.hero-background,
.hero-wash { display: none; }
.hero-content,
.ganesh-block,
.invitation-line,
.with { color: hsl(43 100% 72%); }
.parents-line { color: hsl(43 86% 69%); }
.hero-last { color: hsl(43 90% 76%); }
.event-card {
  border-color: hsl(43 100% 67% / 0.9);
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.52), 0 0 26px hsl(43 100% 55% / 0.18);
}
.event-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: '';
  pointer-events: none;
  background: radial-gradient(ellipse at 12% 12%, rgb(255 255 255 / 0.16), transparent 42%), radial-gradient(ellipse at 90% 90%, rgb(255 255 255 / 0.1), transparent 40%);
}
.event-card--1 { background: linear-gradient(135deg, #56214d, #a83f60 50%, #211d4d); }
.event-card--2 { background: linear-gradient(135deg, #78500e, #bd8420 48%, #3b2a13); }
.event-card--3 { background: linear-gradient(135deg, #102b51, #24698a 52%, #182442); }
.event-card--4 { background: linear-gradient(135deg, #4d2040, #89503b 48%, #1c2549); }
.event-card--5 { background: linear-gradient(135deg, #342153, #6950a1 50%, #122b4c); }
.event-background { opacity: 1; }
.event-shade { background: linear-gradient(180deg, rgb(7 11 23 / 0.06), rgb(7 11 23 / 0.34)); }
.event-layout { z-index: 3; }
.event-card--3 .event-copy,
.event-card--3 .event-copy h3,
.event-card--3 .event-copy dt,
.event-card--3 .event-copy dd,
.event-card--3 .event-description,
.event-card--3 .event-directions { color: #a01824; text-shadow: 0 1px 6px rgb(255 255 255 / 0.72); }
.event-card--3 .event-copy h3,
.event-card--3 .event-copy dt { color: #a01824; text-shadow: 0 1px 8px rgb(255 255 255 / 0.84); }
.event-card--3 .event-directions { border-color: #a01824; background: #fff6de; color: #a01824; }
.hero-content { text-shadow: 0 2px 16px rgb(0 0 0 / 0.48); }
.parents-line { color: hsl(38 40% 88% / 0.88); }
.event-copy h3 { color: var(--rose); }
.event-card--1 .event-copy h3,
.event-card--2 .event-copy h3 { font-weight: 700; }
.eyebrow { color: var(--gold); }

.rsvp-section {
  padding: 88px 20px;
  text-align: center;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, hsl(224 40% 21%), var(--cream) 68%);
}

.rsvp-section > .eyebrow { margin-bottom: 15px; }
.rsvp-section h2,
.rsvp-prompt-card h2 {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink);
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: clamp(50px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.05;
}

.rsvp-intro {
  max-width: 680px;
  margin: 22px auto 38px;
  color: hsl(43 52% 91% / 0.94);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(17px, 2.3vw, 24px);
  line-height: 1.5;
}

.rsvp-progress {
  width: min(100%, 560px);
  margin: 0 auto 34px;
  display: flex;
  justify-content: space-between;
}

.rsvp-progress-step {
  height: 7px;
  flex: 1;
  margin: 0 5px;
  border-radius: 99px;
  background: hsl(43 44% 40% / 0.42);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.rsvp-progress-step.is-current,
.rsvp-progress-step.is-complete {
  background: linear-gradient(90deg, hsl(43 100% 60%), hsl(34 100% 72%));
  box-shadow: 0 0 15px hsl(43 100% 60% / 0.42);
}

.rsvp-card {
  width: min(100%, 670px);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 48px);
  border: 1px solid hsl(43 100% 64% / 0.72);
  background: linear-gradient(145deg, hsl(225 48% 20% / 0.99), hsl(229 47% 10% / 0.99));
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.3);
  text-align: left;
}

.rsvp-step h3 {
  margin: 0 0 22px;
  color: hsl(43 73% 82%);
  font: 600 clamp(27px, 4vw, 38px)/1.2 'Cormorant Garamond', Georgia, serif;
  text-align: center;
}

.rsvp-options,
.rsvp-events { display: grid; }

.rsvp-option,
.rsvp-event {
  width: 100%;
  padding: 22px 14px;
  border: 0;
  border-bottom: 1px solid hsl(43 70% 68% / 0.26);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rsvp-option:hover,
.rsvp-option.is-selected,
.rsvp-event:hover,
.rsvp-event.is-selected { background: hsl(43 100% 65% / 0.15); }
.rsvp-option.is-selected,
.rsvp-event.is-selected { box-shadow: inset 3px 0 var(--gold); }
.rsvp-option-answer,
.rsvp-event-prompt { display: block; font: 20px 'Cormorant Garamond', Georgia, serif; }
.rsvp-option strong,
.rsvp-event strong {
  display: block;
  margin-top: 8px;
  color: hsl(43 73% 85%);
  font: 700 clamp(25px, 4vw, 36px)/1.16 'Cormorant Garamond', Georgia, serif;
}
.rsvp-option small,
.rsvp-event small {
  display: block;
  margin-top: 10px;
  color: hsl(43 35% 87%);
  font: 18px/1.4 'Cormorant Garamond', Georgia, serif;
}
.rsvp-event-prompt { color: hsl(38 38% 86%); text-transform: uppercase; }
.rsvp-decline-all { margin-top: 10px; }

.guest-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.guest-counter button {
  width: 86px;
  height: 86px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: hsl(38 12% 21%);
  color: hsl(43 73% 82%);
  font: 600 42px 'Cormorant Garamond', Georgia, serif;
  cursor: pointer;
}
.guest-counter output {
  min-width: 130px;
  padding: 20px 24px;
  border: 1px solid hsl(39 38% 32% / 0.8);
  border-radius: 12px;
  background: hsl(224 34% 19%);
  color: hsl(43 74% 88%);
  font: 600 40px 'Cormorant Garamond', Georgia, serif;
}
.rsvp-hint {
  margin: 20px auto 0;
  color: hsl(38 28% 80% / 0.84);
  font: 18px/1.45 'Cormorant Garamond', Georgia, serif;
  text-align: center;
}

.rsvp-field {
  display: block;
  margin: 0 0 24px;
  color: hsl(43 73% 82%);
  font: 700 17px/1.4 Cinzel, Georgia, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rsvp-field input {
  width: 100%;
  min-height: 64px;
  margin-top: 10px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid hsl(39 50% 48% / 0.36);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 600 19px 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0;
  text-transform: none;
}
.rsvp-field input:focus { border-bottom-color: var(--gold); }
.rsvp-field input::placeholder { color: hsl(38 16% 67%); }
.rsvp-field small { display: block; margin-top: 7px; color: hsl(43 42% 88%); font: 16px 'Cormorant Garamond', Georgia, serif; }
.phone-input { display: flex; align-items: center; border-bottom: 1px solid hsl(39 50% 48% / 0.36); }
.phone-input b { padding: 0 18px 0 2px; color: var(--ink); font: 600 19px 'Cormorant Garamond', Georgia, serif; }
.phone-input input { border-bottom: 0; }

.rsvp-review {
  padding: 4px 0;
  border-top: 1px solid hsl(39 50% 48% / 0.25);
}
.rsvp-review p {
  margin: 0;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid hsl(39 50% 48% / 0.2);
  font: 18px/1.4 'Cormorant Garamond', Georgia, serif;
}
.rsvp-review p span { color: hsl(43 50% 86%); }
.rsvp-review p strong { max-width: 68%; color: hsl(43 73% 85%); text-align: right; overflow-wrap: anywhere; }

.rsvp-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.rsvp-next,
.rsvp-back {
  width: 100%;
  min-height: 60px;
  padding: 14px 18px;
  border: 1px solid hsl(39 51% 45% / 0.65);
  background: linear-gradient(135deg, #285b88, #183858);
  color: #fff8e9;
  cursor: pointer;
  font: 700 21px 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rsvp-back { border-color: hsl(39 50% 48% / 0.34); background: transparent; }
.rsvp-next:hover { background: #20486c; }
.rsvp-error { margin: 18px 0 0; color: #ffc0a9; font: 17px/1.4 'Cormorant Garamond', Georgia, serif; }

.rsvp-prompt[hidden] { display: none; }
.rsvp-prompt {
  position: fixed;
  inset: 0;
  z-index: 70;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 0.72);
  backdrop-filter: blur(5px);
}
.rsvp-prompt-card {
  position: relative;
  width: min(100%, 480px);
  padding: 38px 28px 28px;
  border: 1px solid hsl(43 100% 66% / 0.72);
  background: radial-gradient(ellipse at 50% 0%, hsl(224 42% 24%), hsl(229 34% 8%) 78%);
  box-shadow: 0 28px 90px rgb(0 0 0 / 0.55);
  text-align: center;
}
.rsvp-prompt-card .eyebrow { margin-bottom: 14px; }
.rsvp-prompt-card h2 { font-size: clamp(42px, 9vw, 58px); }
.rsvp-prompt-card > p:not(.eyebrow) { margin: 16px 0 22px; color: hsl(43 52% 91%); font: 19px/1.5 'Cormorant Garamond', Georgia, serif; }
.rsvp-prompt-close {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 30px Arial, sans-serif;
}

@media (max-width: 639px) {
  .rsvp-section { padding: 70px 14px; }
  .rsvp-progress { margin-bottom: 22px; }
  .rsvp-progress-step { width: auto; height: 6px; }
  .rsvp-card { padding: 24px 18px; }
  .guest-counter { gap: 12px; }
  .guest-counter button { width: 66px; height: 66px; font-size: 34px; }
  .guest-counter output { min-width: 96px; padding: 18px 16px; font-size: 34px; }
  .rsvp-review p { font-size: 14px; }
}
