/* ===== Design Tokens ===== */
:root {
  --color-bg: #fbf4ea;
  --color-cream: #fdf8ef;
  --color-cream-2: #f8efe0;
  --color-maroon: #5e161e;
  --color-maroon-dark: #3f0e14;
  --color-maroon-soft: #7a2b31;
  --color-gold: #a97c2f;
  --color-gold-light: #c9a668;
  --color-border: #e3d3ae;
  --color-text: #3a2418;
  --color-text-muted: #7a6650;
  --color-error: #a12c2c;
  --color-success: #4a7a3a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sanskrit: 'Noto Serif Devanagari', serif;

  --text-xs: clamp(0.8rem, 0.76rem + 0.2vw, 0.9rem);
  --text-sm: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  --text-base: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --text-lg: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  --text-xl: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem);
  --text-2xl: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  --shadow-md: 0 10px 30px rgba(63, 20, 15, 0.15);
  --shadow-lg: 0 20px 60px rgba(63, 20, 15, 0.22);
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
img, picture { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

body {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100svh;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ===== Continuous paper background (fixed, so it never seams while scrolling) ===== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(253, 248, 239, 0.86) 0%, rgba(248, 236, 208, 0.78) 55%, rgba(253, 248, 239, 0.88) 100%),
    url('assets/paper.webp') center / cover no-repeat;
  pointer-events: none;
}

/* ===== Floral garland rails: span the full document, scroll with the content ===== */
:root { --rail-w: clamp(76px, 17vw, 215px); }
.page-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  background-repeat: repeat-y;
  background-size: 100% auto;
  filter: drop-shadow(0 6px 14px rgba(63, 20, 15, 0.18));
}
.rail-left  { left: 0;  background-image: url('assets/rail_left.webp');  background-position: left top; }
.rail-right { right: 0; background-image: url('assets/rail_right.webp'); background-position: right top; }

/* ===== Envelope Overlay ===== */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(253, 248, 239, 0.86) 0%, rgba(248, 236, 208, 0.78) 55%, rgba(253, 248, 239, 0.88) 100%),
    url('assets/paper.webp') center / cover no-repeat;
  transition: opacity 550ms ease;
}
.envelope-overlay.opened { opacity: 0; pointer-events: none; }

.env-rail { opacity: 0.9; }

.envelope-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--space-4);
}
.envelope-hint { margin-bottom: var(--space-5); }

.envelope {
  position: relative;
  width: min(560px, 92vw);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
}

.envelope-body {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 250, 235, 0.18) 0%, rgba(63, 30, 10, 0.1) 60%, rgba(63, 20, 10, 0.22) 100%),
    url('assets/envelope_texture.jpg');
  background-size: cover;
  background-position: center;
  border: 2px solid var(--color-gold);
  border-radius: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 5px rgba(253, 248, 239, 0.55), inset 0 0 0 7px rgba(169, 124, 47, 0.35);
  transition: opacity 500ms ease 280ms, transform 500ms ease 280ms;
}

.envelope-flap {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(255, 250, 235, 0.05) 0%, rgba(63, 20, 10, 0.16) 55%, rgba(63, 20, 10, 0.34) 100%),
    url('assets/envelope_texture.jpg');
  background-size: cover;
  background-position: center;
  clip-path: polygon(0% 0%, 100% 0%, 50% 56%);
  border-radius: 12px 12px 0 0;
  box-shadow: inset 0 -14px 22px -12px rgba(63, 20, 15, 0.45);
  transform-origin: top center;
  transition: transform 650ms cubic-bezier(0.6, 0.05, 0.3, 1), opacity 600ms ease;
}
.envelope-flap::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(0% 0%, 100% 0%, 50% 56%);
  box-shadow: inset 0 0 0 2px rgba(169, 124, 47, 0.55);
  pointer-events: none;
}
.envelope-ganesha {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(72px, 16vw);
  height: auto;
  transform: translateX(-50%);
  opacity: 0.92;
  filter: drop-shadow(0 2px 5px rgba(63, 20, 15, 0.3));
  z-index: 1;
}

.envelope-seal {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(148px, 32vw);
  height: min(160px, 34.7vw);
  transform: translate(-50%, -50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  filter: drop-shadow(0 8px 18px rgba(63, 20, 15, 0.4));
  animation: sealPulse 2.6s ease-in-out infinite;
  transition: transform 480ms cubic-bezier(0.5, -0.2, 0.4, 1.4), opacity 420ms ease 120ms;
  z-index: 3;
}
.envelope-seal svg { width: 100%; height: 100%; display: block; }
.envelope-seal:hover { filter: drop-shadow(0 10px 22px rgba(63, 20, 15, 0.5)); }
.envelope-seal:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; }
.seal-text {
  font-family: var(--font-script);
  font-size: 40px;
  fill: #f5e2b8;
}

@keyframes sealPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

.envelope-caption {
  margin-top: var(--space-6);
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  animation: captionFade 2.6s ease-in-out infinite;
}
@keyframes captionFade {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Opening state */
.envelope.opening .envelope-flap {
  transform: translateY(-58%) rotate(-8deg);
  opacity: 0;
}
.envelope.opening .envelope-seal {
  transform: translate(-50%, -50%) scale(1.4) rotate(14deg);
  opacity: 0;
  animation: none;
}
.envelope.opening .envelope-body {
  opacity: 0;
  transform: scale(0.94) translateY(6px);
}

.envelope-burst {
  position: fixed;
  inset: 0;
  z-index: 1001;
  overflow: hidden;
  pointer-events: none;
}
.burst-petal {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation-name: burstFall;
  animation-timing-function: cubic-bezier(0.25, 0.65, 0.35, 1);
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}
.burst-petal svg { display: block; width: 100%; height: 100%; }
@keyframes burstFall {
  0%   { transform: translate(-50%, -50%) scale(0.4) rotate(0deg); opacity: 0; }
  12%  { opacity: 1; }
  38%  { transform: translate(calc(-50% + var(--bx, 0px)), calc(-50% + var(--by, -120px))) scale(1) rotate(var(--rot1, 90deg)); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--bx2, 0px)), calc(-50% + var(--fall, 900px))) scale(0.9) rotate(var(--rot2, 300deg)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .envelope-overlay, .envelope-flap, .envelope-seal, .envelope-body { transition: none !important; }
  .envelope-seal { animation: none; }
  .envelope-caption { animation: none; opacity: 0.85; }
  .burst-petal { display: none; }
}

/* ===== Scroll-reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease, transform 900ms ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Scenes (full-viewport pages) ===== */
.scene {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-12) max(var(--space-4), calc(var(--rail-w) * 0.6)) 6.5rem;
  text-align: center;
}
@media (max-width: 640px) {
  .scene { padding-left: max(var(--space-4), calc(var(--rail-w) * 0.85)); padding-right: max(var(--space-4), calc(var(--rail-w) * 0.85)); }
}

.scene-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.scene-content-wide { max-width: 720px; }

/* --- Section 1: Ganesha & Announcement --- */
.scene-announce {
  padding-top: 0;
  justify-content: flex-start;
}
.garland-top {
  width: min(100%, 980px);
  max-width: none;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgba(63, 20, 15, 0.2));
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .garland-top { width: calc(100% + 2 * max(var(--space-4), calc(var(--rail-w) * 0.85))); }
}
.scene-announce .scene-content {
  margin-top: var(--space-4);
  margin-bottom: auto;
  padding-bottom: var(--space-8);
}
.sanskrit-line {
  font-family: var(--font-sanskrit);
  font-weight: 600;
  color: var(--color-gold);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 12px rgba(255, 253, 240, 0.9);
}
.shlok-line {
  font-family: var(--font-sanskrit);
  color: var(--color-maroon-dark);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(255, 253, 240, 0.9);
}
.mini-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-6) auto;
}
.mini-divider span { width: 46px; height: 1px; background: var(--color-gold-light); display: inline-block; }
.mini-divider i { width: 5px; height: 5px; border-radius: 50%; background: var(--color-gold); display: inline-block; }
.announce-lead {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-maroon-dark);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(255, 253, 240, 0.95);
}
.announce-sub {
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-maroon-soft);
  font-size: var(--text-lg);
  text-shadow: 0 2px 16px rgba(255, 253, 240, 0.95);
}

/* --- Section 2: Together with families --- */
.families-line {
  font-family: var(--font-display);
  color: var(--color-maroon-dark);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.55;
  font-weight: 500;
}
.families-cta {
  margin-top: var(--space-2);
  font-family: var(--font-script);
  color: var(--color-gold);
  font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem);
}

/* --- Section 3: Save the Dates + Countdown --- */
.scene-dates { padding-top: var(--space-16); }
.dates-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-maroon-dark);
  font-size: var(--text-xl);
  margin: var(--space-2) 0 var(--space-8);
}
.dates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  text-align: left;
}
@media (max-width: 620px) {
  .dates-grid { grid-template-columns: 1fr; }
}
.date-card {
  background: rgba(253, 248, 239, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6) var(--space-5);
}
.date-card-tag {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-gold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}
.date-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-maroon);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.date-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-4); }
.date-list li { display: flex; flex-direction: column; }
.date-list strong { font-family: var(--font-display); color: var(--color-maroon-dark); font-size: var(--text-sm); }
.date-list span { color: var(--color-text-muted); font-size: var(--text-sm); }
.date-venue {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-maroon-soft);
  font-size: var(--text-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
}

.countdown-block { text-align: center; }
.countdown-number {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-maroon);
  font-size: clamp(3.2rem, 2.6rem + 3vw, 5rem);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(169, 124, 47, 0.25);
}
.countdown-label {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-top: var(--space-1);
}

/* --- Scroll cue --- */
.scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 46px;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-full);
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  animation: scrollCueBounce 1.8s ease-in-out infinite;
}
.scroll-cue-dark { border-color: var(--color-maroon-soft); }
.scroll-cue-dark span { background: var(--color-maroon-soft); }
@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

/* Falling petals overlay */
.petal-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.petal {
  position: absolute;
  top: -8%;
  left: 0;
  opacity: 0;
  animation-name: petalFall;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}
.petal svg { display: block; width: 100%; height: 100%; }

@keyframes petalFall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.9; }
  50%  { transform: translate(var(--drift1, 20px), calc(var(--fall, 700px) * 0.52)) rotate(170deg); }
  90%  { opacity: 0.8; }
  100% { transform: translate(var(--drift2, -14px), var(--fall, 700px)) rotate(345deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .petal { animation: none !important; display: none; }
}

/* ===== RSVP Section ===== */
.rsvp-section {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-4) var(--space-16);
}

.rsvp-card {
  position: relative;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: var(--space-8) var(--space-5);
}

.corner {
  position: absolute;
  width: 130px;
  height: 170px;
  object-fit: cover;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; transform: scaleX(-1); }
.corner-bl { bottom: 0; left: 0; }
.corner-br { bottom: 0; right: 0; }

.lantern {
  position: absolute;
  bottom: 0;
  width: clamp(110px, 22%, 170px);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}
.lantern-left { left: 0; }
.lantern-right { right: 0; }
@media (max-width: 480px) {
  .lantern { width: 96px; opacity: 0.8; }
}

.rsvp-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: center;
}

.script-tag {
  font-family: var(--font-script);
  color: var(--color-gold);
  font-size: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.script-tag.small { font-size: 1.6rem; margin-bottom: 0; }

.rsvp-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-maroon);
  font-size: var(--text-2xl);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-4);
}

.rsvp-sub {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}
.rsvp-sub strong { color: var(--color-maroon-soft); }
.rsvp-deadline-note {
  color: var(--color-maroon-soft);
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}
.rsvp-deadline-note strong { color: var(--color-maroon); }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.divider span { width: 60px; height: 1px; background: var(--color-gold-light); display: inline-block; }
.divider i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-gold); display: inline-block; }

/* ===== Form ===== */
.rsvp-form { text-align: left; display: flex; flex-direction: column; gap: var(--space-5); }

.field { display: flex; flex-direction: column; gap: var(--space-2); border: none; }
.field legend { padding: 0; margin-bottom: var(--space-1); }

.field label,
.field legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-maroon);
  letter-spacing: 0.01em;
}
.req { color: var(--color-error); margin-left: 2px; }
.opt { color: var(--color-text-muted); font-weight: 400; font-family: var(--font-body); font-size: var(--text-xs); }

.field input[type="text"],
.field input[type="number"],
.field input[type="date"],
.field textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-cream-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(169, 124, 47, 0.18);
}
.field textarea { resize: vertical; min-height: 5.5rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: end; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }

.toggle-group { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.toggle-group-stacked { flex-direction: column; }
.toggle-pill {
  flex: 1;
  min-width: 130px;
  position: relative;
  cursor: pointer;
}
.toggle-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.toggle-pill span {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-cream-2);
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.toggle-group-stacked .toggle-pill span { border-radius: var(--radius-md); text-align: left; }
.toggle-pill input:checked + span {
  background: var(--color-maroon);
  border-color: var(--color-maroon);
  color: #fdf3e4;
  box-shadow: var(--shadow-md);
}
.toggle-pill input:focus-visible + span { outline: 2px solid var(--color-gold); outline-offset: 2px; }

.travel-fields { transition: opacity var(--transition), max-height var(--transition); }
.travel-fields.hidden { display: none; }

.submit-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: 0.03em;
  color: #fdf3e4;
  background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
  border: 1px solid var(--color-maroon-dark);
  border-radius: var(--radius-full);
  padding: var(--space-4) var(--space-8);
  cursor: pointer;
  margin-top: var(--space-2);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  text-align: center;
  min-height: 1.2em;
}

/* ===== Confirmation ===== */
.confirmation { padding-top: var(--space-4); }
.confirm-icon {
  width: 64px; height: 64px; margin: 0 auto var(--space-4);
  color: var(--color-gold);
}
.confirm-title {
  font-family: var(--font-display);
  color: var(--color-maroon);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.confirm-sub {
  color: var(--color-text-muted);
  margin: 0 auto var(--space-8);
  max-width: 360px;
}
.edit-btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-maroon);
  background: transparent;
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-6);
  cursor: pointer;
  transition: all var(--transition);
}
.edit-btn:hover { background: var(--color-cream-2); }
.share-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: #fdf3e4;
  background: linear-gradient(135deg, #1f8f4e 0%, #156b3a 100%);
  border: 1px solid #156b3a;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.confirmation .share-btn { display: table; }

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  margin-top: var(--space-12);
  color: var(--color-maroon-soft);
  font-family: var(--font-display);
}

@media (max-width: 480px) {
  .rsvp-section { padding-left: var(--space-3); padding-right: var(--space-3); }
  .rsvp-card { padding: var(--space-10) var(--space-4) var(--space-12); }
  .rsvp-inner { padding: 0; }
  .rsvp-title { font-size: clamp(1.7rem, 8.5vw, 2.2rem); }
}
