/* ==========================================================================
   KENDRA GILIANNA — HOLY BAPTISM & RSVP
   Theme: Alabaster Ivory, Champagne Gold & Touch of Pastel Pink
   ========================================================================== */

:root {
  /* Base Surfaces (~70-75%) */
  --bg-alabaster: #FDF9FA;
  --bg-silk-ivory: #F8F2F4;
  --bg-porcelain: #FFFFFF;

  /* Touch of Pastel Pink (~20-25%) */
  --pink-whisper: #FCEEF2;
  --pink-petal: #FADCE5;
  --pink-ballet: #F5C6D6;
  --pink-rose: #D48FA4;
  --pink-rose-deep: #C57C93;
  --pink-rose-muted: #B06980;
  --pink-hairline: rgba(212, 143, 164, 0.38);
  --pink-glow: rgba(250, 220, 229, 0.55);

  /* Metallic & Editorial Ink Accents */
  --gold-champagne: #C5A068;
  --gold-antique: #A8844E;
  --gold-hairline: #D9BE91;
  --gold-hairline-soft: rgba(197, 160, 104, 0.34);
  --gold-hairline-strong: rgba(197, 160, 104, 0.58);
  --gold-tint: rgba(197, 160, 104, 0.09);

  --ink-espresso: #352A2E;
  --ink-taupe: #7A686E;
  --ink-taupe-light: #96848A;

  /* Typography */
  --font-script: 'Pinyon Script', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Radii */
  --shadow-stationery: 0 24px 60px -24px rgba(53, 42, 46, 0.13), 0 6px 22px -8px rgba(197, 124, 147, 0.14);
  --shadow-card: 0 14px 36px -18px rgba(53, 42, 46, 0.10), 0 3px 12px -4px rgba(197, 160, 104, 0.10);
  --shadow-btn-pink: 0 10px 24px -10px rgba(197, 124, 147, 0.48);

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --ease-editorial: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET & LETTERPRESS LINEN BASE SURFACE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-alabaster);
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink-espresso);
  background-color: var(--bg-alabaster);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  background-image:
    radial-gradient(ellipse 68% 42% at 50% 6%, rgba(250, 220, 229, 0.56) 0%, rgba(252, 238, 242, 0.22) 48%, transparent 75%),
    radial-gradient(ellipse 46% 36% at 12% 32%, rgba(245, 198, 214, 0.24) 0%, transparent 65%),
    radial-gradient(ellipse 48% 36% at 88% 58%, rgba(250, 220, 229, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 52% 38% at 24% 86%, rgba(252, 238, 242, 0.55) 0%, transparent 68%),
    repeating-linear-gradient(
      0deg,
      rgba(197, 160, 104, 0.017) 0px,
      rgba(197, 160, 104, 0.017) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(53, 42, 46, 0.011) 0px,
      rgba(53, 42, 46, 0.011) 1px,
      transparent 1px,
      transparent 4px
    );
}

body.envelope-locked {
  overflow: hidden;
  height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 1.5px solid var(--pink-rose-deep);
  outline-offset: 3px;
}

#fairy-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
}

/* ==========================================================================
   0. STARTING ENVELOPE SPLASH OVERLAY (PASTEL PINK + GOLD WAX SEAL)
   ========================================================================== */
.envelope-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 72% 55% at 50% 45%, rgba(255, 255, 255, 0.96) 0%, rgba(253, 249, 250, 0.98) 60%, rgba(252, 238, 242, 1) 100%);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s ease;
}

.envelope-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-splash-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.1rem, 8.5vw, 4.9rem);
  color: var(--ink-espresso);
  line-height: 1.08;
  margin-bottom: clamp(1.4rem, 3.5vw, 2.2rem);
  text-shadow: 0 2px 16px rgba(250, 220, 229, 0.8);
}

.envelope-stage {
  background: var(--bg-porcelain);
  padding: clamp(1.8rem, 4.5vw, 3.2rem) clamp(1.4rem, 4vw, 3.2rem);
  border-radius: 6px;
  box-shadow: 0 24px 64px -20px rgba(53, 42, 46, 0.14), 0 4px 18px -6px rgba(197, 124, 147, 0.12);
  border: 1px solid rgba(217, 190, 145, 0.38);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.2rem);
  max-width: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.envelope-trigger {
  position: relative;
  width: min(360px, 78vw);
  aspect-ratio: 1.48 / 1;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.envelope-trigger:hover {
  transform: translateY(-4px) scale(1.015);
}

.envelope-body {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(155deg, #FADCE5 0%, #F4C4D4 55%, #E8AEC2 100%);
  box-shadow:
    0 20px 38px -16px rgba(176, 105, 128, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

/* Envelope Bottom & Side Folds */
.envelope-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top right, transparent 49.5%, rgba(255, 255, 255, 0.28) 50%, transparent 50.8%),
    linear-gradient(to top left, transparent 49.5%, rgba(176, 105, 128, 0.14) 50%, transparent 50.8%);
  pointer-events: none;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 58%;
  background: linear-gradient(180deg, #FDE8EE 0%, #F6C9D8 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
  filter: drop-shadow(0 6px 10px rgba(176, 105, 128, 0.26));
}

.envelope-trigger.is-opening .envelope-flap {
  transform: rotateX(165deg);
}

/* Gold Sculpted Wax Seal on Envelope */
.envelope-seal {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(66px, 16vw, 84px);
  height: clamp(66px, 16vw, 84px);
  z-index: 5;
  filter: drop-shadow(0 8px 14px rgba(122, 92, 46, 0.36));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.envelope-trigger:hover .envelope-seal {
  transform: translate(-50%, -50%) scale(1.07);
}

.envelope-trigger.is-opening .envelope-seal {
  transform: translate(-50%, -50%) scale(1.25);
  opacity: 0;
}

.envelope-splash-copy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.12rem, 2.4vw, 1.38rem);
  color: var(--ink-espresso);
  max-width: 520px;
  line-height: 1.55;
}

/* ==========================================================================
   TYPOGRAPHY & REUSABLE EDITORIAL UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-space {
  padding: clamp(3.8rem, 7.5vw, 6.2rem) 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.2rem, 4.8vw, 3.4rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
}

.satin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.42rem 1.25rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--pink-whisper) 0%, var(--pink-petal) 100%);
  border: 1px solid rgba(197, 160, 104, 0.42);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-espresso);
}

.section-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--pink-rose-deep);
  line-height: 1.05;
  display: block;
  margin-bottom: -0.2rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  color: var(--ink-espresso);
  letter-spacing: 0.01em;
}

.section-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  color: var(--ink-taupe);
  max-width: 620px;
  margin: 0.75rem auto 0;
}

.stationery-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 1.5rem auto;
  max-width: 280px;
}

.stationery-divider::before,
.stationery-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hairline), var(--pink-rose), transparent);
}

/* Refined Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.92rem 2.15rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--ease-editorial);
  border: 1px solid transparent;
  min-height: 46px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #FDE7EE 0%, #FADCE5 100%);
  color: var(--ink-espresso);
  border-color: var(--gold-champagne);
  box-shadow: 0 6px 18px -10px rgba(197, 124, 147, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FADCE5 0%, #F5C6D6 100%);
  border-color: var(--gold-antique);
  color: var(--ink-espresso);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-pink);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--ink-espresso);
  border-color: var(--gold-hairline);
}

.btn-outline:hover {
  background-color: var(--pink-whisper);
  border-color: var(--pink-rose);
  color: var(--ink-espresso);
  transform: translateY(-2px);
}

.btn-subtle {
  padding: 0.65rem 1.25rem;
  min-height: 40px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  background-color: var(--bg-alabaster);
  border: 1px solid var(--gold-hairline-strong);
  color: var(--ink-espresso);
  border-radius: var(--radius-sm);
}

.btn-subtle:hover {
  background-color: var(--pink-whisper);
  border-color: var(--pink-rose);
  color: var(--ink-espresso);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Keyframes */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1.1deg); }
}

@keyframes gentleFloatAlt {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(6px) rotate(-1.1deg); }
}

@keyframes wingBreathLeft {
  0%, 100% { transform: scaleX(1) rotate(0deg); }
  50% { transform: scaleX(0.84) rotate(4deg); }
}

@keyframes wingBreathRight {
  0%, 100% { transform: scaleX(1) rotate(0deg); }
  50% { transform: scaleX(0.84) rotate(-4deg); }
}

@keyframes starPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.float-slow { animation: gentleFloat 6.6s ease-in-out infinite; }
.float-slow-alt { animation: gentleFloatAlt 7.2s ease-in-out infinite; }
.gossamer-left {
  transform-origin: right center;
  animation: wingBreathLeft 3.4s ease-in-out infinite;
}
.gossamer-right {
  transform-origin: left center;
  animation: wingBreathRight 3.4s ease-in-out infinite;
}
.star-shimmer {
  transform-origin: center;
  transform-box: fill-box;
  animation: starPulse 3.2s ease-in-out infinite;
}

body.motion-still .float-slow,
body.motion-still .float-slow-alt,
body.motion-still .gossamer-left,
body.motion-still .gossamer-right,
body.motion-still .star-shimmer {
  animation: none !important;
}

body.motion-subtle .float-slow,
body.motion-subtle .float-slow-alt {
  animation-duration: 11s;
}

/* ==========================================================================
   1. MINIMALIST STICKY NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 249, 250, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-hairline-soft);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-monogram {
  font-family: var(--font-script);
  font-size: 1.95rem;
  line-height: 1;
  color: var(--ink-espresso);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--ease-editorial);
}

.nav-monogram:hover {
  color: var(--pink-rose-muted);
}

.nav-monogram-dot {
  color: var(--gold-champagne);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-taupe);
  position: relative;
  padding: 6px 0;
  transition: color var(--ease-editorial);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--pink-rose), var(--gold-champagne));
  transition: width var(--ease-editorial);
}

.nav-links a:hover {
  color: var(--ink-espresso);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-rsvp-btn {
  padding: 0.56rem 1.35rem;
  min-height: 38px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  border: 1px solid var(--gold-champagne);
  color: var(--ink-espresso);
  background: var(--pink-whisper);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--ease-editorial);
}

.nav-rsvp-btn:hover {
  background: var(--pink-petal);
  border-color: var(--pink-rose-deep);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink-espresso);
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--pink-hairline);
  background: rgba(253, 249, 250, 0.98);
  padding: 1.1rem 24px 1.65rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer a {
  display: block;
  padding: 0.78rem 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-espresso);
  border-bottom: 1px solid rgba(212, 143, 164, 0.22);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* ==========================================================================
   2. ARCH-FRAMED HERO INVITATION WITH CIRCULAR BABY PORTRAIT
   ========================================================================== */
.hero-section {
  padding: clamp(2.2rem, 4.8vw, 4.2rem) 20px clamp(3.2rem, 5.8vw, 5rem);
  position: relative;
  z-index: 10;
}

.hero-bloom-wrap {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.hero-bloom-wrap::before {
  content: '';
  position: absolute;
  inset: -26px -34px -18px -34px;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(250, 220, 229, 0.68) 0%, rgba(245, 198, 214, 0.26) 44%, transparent 72%),
    radial-gradient(circle at 18% 72%, rgba(252, 238, 242, 0.75) 0%, transparent 50%),
    radial-gradient(circle at 82% 70%, rgba(250, 220, 229, 0.45) 0%, transparent 50%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.arch-card-outer {
  background: linear-gradient(180deg, var(--bg-porcelain) 0%, #FFFDFE 100%);
  border-radius: 390px 390px 20px 20px;
  padding: 12px;
  box-shadow: var(--shadow-stationery);
  border: 1px solid var(--gold-hairline);
  position: relative;
}

.arch-card-inner {
  border-radius: 378px 378px 12px 12px;
  border: 1px solid var(--pink-hairline);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.9), inset 0 0 0 5px rgba(217, 190, 145, 0.36);
  padding: clamp(3rem, 6.5vw, 4.8rem) clamp(1.5rem, 5vw, 4.2rem) clamp(2.8rem, 5.5vw, 4.2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(252, 238, 242, 0.8) 0%, rgba(250, 220, 229, 0.26) 38%, transparent 64%),
    linear-gradient(180deg, #FFFFFF 0%, #FDF9FA 100%);
}

.corner-filigree {
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none;
  opacity: 0.85;
}

.corner-bl {
  bottom: 14px;
  left: 14px;
}

.corner-br {
  bottom: 14px;
  right: 14px;
  transform: scaleX(-1);
}

.hero-ornament-left,
.hero-ornament-right {
  position: absolute;
  top: 22%;
  width: 76px;
  pointer-events: none;
  opacity: 0.92;
}

.hero-ornament-left {
  left: 26px;
}

.hero-ornament-right {
  right: 26px;
}

@media (max-width: 700px) {
  .arch-card-outer {
    border-radius: 220px 220px 14px 14px;
    padding: 9px;
  }
  .arch-card-inner {
    border-radius: 210px 210px 8px 8px;
  }
  .hero-ornament-left,
  .hero-ornament-right {
    display: none;
  }
}

.hero-emblem {
  width: clamp(136px, 22vw, 176px);
  margin: 0 auto 1rem;
}

/* Circular Portrait Frame for Baby PNG */
.hero-portrait-stage {
  position: relative;
  width: clamp(220px, 42vw, 300px);
  aspect-ratio: 1 / 1;
  margin: 0.6rem auto 1.4rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(252, 238, 242, 0.9) 58%,
    rgba(250, 220, 229, 0.75) 100%
  );
  border: 2px solid var(--gold-hairline);
  box-shadow:
    0 0 0 6px var(--bg-porcelain),
    0 0 0 7px rgba(212, 143, 164, 0.4),
    0 18px 36px -18px rgba(197, 124, 147, 0.45);
}

.hero-portrait-stage::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 143, 164, 0.55);
  z-index: 3;
  pointer-events: none;
}

.hero-baby-png {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 16px rgba(53, 42, 46, 0.12));
  transition: transform var(--ease-editorial);
}

.hero-portrait-stage:hover .hero-baby-png {
  transform: scale(1.03);
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
  margin-bottom: 0.45rem;
}

.hero-parents-line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.38rem);
  font-weight: 500;
  color: var(--ink-espresso);
  margin-bottom: 0.25rem;
}

.hero-invite-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.1vw, 1.36rem);
  color: var(--ink-taupe);
  max-width: 520px;
  margin: 0 auto 0.25rem;
  line-height: 1.5;
}

.hero-name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.6rem, 8.8vw, 5.8rem);
  line-height: 1.06;
  color: var(--ink-espresso);
  margin: 0.1rem 0 0.4rem;
  text-shadow: 0 2px 18px rgba(250, 220, 229, 0.75);
}

.hero-date-block {
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2.3vw, 1.48rem);
  font-weight: 500;
  color: var(--ink-espresso);
  letter-spacing: 0.03em;
}

.hero-venue-preview {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-taupe);
  margin-top: 0.5rem;
}

/* Hairline Countdown Timer */
.countdown-wrap {
  margin: 2rem auto 2.2rem;
  max-width: 510px;
  padding: 1.2rem 0.5rem;
  border-top: 1px solid var(--gold-hairline);
  border-bottom: 1px solid var(--gold-hairline);
  background: linear-gradient(90deg, transparent, rgba(252, 238, 242, 0.52), transparent);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.countdown-cell {
  position: relative;
  padding: 0.2rem 0.4rem;
}

.countdown-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--pink-rose), transparent);
  opacity: 0.55;
}

.countdown-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.95rem, 4.5vw, 3rem);
  line-height: 1;
  color: var(--ink-espresso);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 520px) {
  .hero-cta-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   3. BABY GALLERY CAROUSEL
   ========================================================================== */
.gallery-frame-outer {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-stationery);
}

.gallery-frame-inner {
  border: 1px solid var(--pink-hairline);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.75rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(252, 238, 242, 0.72) 0%, transparent 55%),
    var(--bg-porcelain);
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--gold-hairline-soft);
  background: linear-gradient(180deg, var(--pink-whisper) 0%, var(--bg-alabaster) 100%);
  aspect-ratio: 4 / 3;
}

@media (max-width: 560px) {
  .carousel-viewport {
    aspect-ratio: 4 / 4.5;
  }
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-champagne);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(53, 42, 46, 0.28);
  transition: all var(--ease-editorial);
}

.carousel-btn:hover {
  background: var(--pink-whisper);
  border-color: var(--pink-rose-deep);
  color: var(--pink-rose-muted);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev { left: 14px; }
.carousel-btn-next { right: 14px; }

@media (max-width: 520px) {
  .carousel-btn { width: 38px; height: 38px; }
  .carousel-btn-prev { left: 10px; }
  .carousel-btn-next { right: 10px; }
}

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(212, 143, 164, 0.24);
}

.carousel-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-taupe);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-champagne);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all var(--ease-editorial);
}

.carousel-dot.is-active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--pink-rose), var(--gold-champagne));
  border-color: var(--pink-rose-deep);
}

.carousel-counter {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   4. ORDER OF THE DAY (SCHEDULE)
   ========================================================================== */
.timeline-box {
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-card);
}

.timeline-box-inner {
  border: 1px solid var(--pink-hairline);
  border-radius: 8px;
  padding: clamp(2.1rem, 5vw, 3.4rem) clamp(1.5rem, 5vw, 3.4rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(252, 238, 242, 0.72) 0%, transparent 48%),
    var(--bg-porcelain);
}

.timeline-list {
  list-style: none;
  position: relative;
  max-width: 560px;
  margin: 0.5rem auto 0;
  padding-left: 42px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, var(--pink-rose), var(--gold-champagne), var(--pink-petal));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.15rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -42px;
  top: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--pink-whisper) 0%, var(--pink-petal) 100%);
  border: 1px solid var(--gold-champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--bg-porcelain);
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
  background: var(--pink-whisper);
  border: 1px solid rgba(212, 143, 164, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.75rem;
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink-espresso);
  margin-bottom: 0.25rem;
  line-height: 1.22;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--ink-taupe);
}

.godparent-callout {
  margin-top: 2rem;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--pink-whisper) 0%, rgba(250, 220, 229, 0.45) 100%);
  border: 1px solid var(--pink-hairline);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink-espresso);
}

.godparent-callout strong {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
  display: block;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   5. CEREMONY & RECEPTION VENUES
   ========================================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 780px) {
  .venue-grid { grid-template-columns: 1fr; }
}

.stationery-card {
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease-editorial), box-shadow var(--ease-editorial);
}

.stationery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-stationery);
}

.stationery-card-inner {
  height: 100%;
  border: 1px solid var(--pink-hairline);
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--bg-porcelain);
}

.venue-card-header {
  padding: 2rem 1.5rem 1.4rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(250, 220, 229, 0.72) 0%, rgba(252, 238, 242, 0.45) 60%, transparent 100%);
  border-bottom: 1px solid rgba(217, 190, 145, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.venue-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  color: var(--gold-antique);
}

.venue-body {
  padding: 1.65rem clamp(1.4rem, 3.2vw, 2.2rem) 2.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink-espresso);
  margin-bottom: 0.45rem;
}

.venue-time {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.16rem;
  color: var(--pink-rose-muted);
  margin-bottom: 0.85rem;
}

.venue-address {
  font-size: 0.87rem;
  color: var(--ink-taupe);
  max-width: 330px;
  margin-bottom: 1.65rem;
  flex-grow: 1;
}

.venue-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* ==========================================================================
   6. DRESS CODE & COLOR PALETTE
   ========================================================================== */
.attire-panel {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(250, 220, 229, 0.45) 0%, transparent 62%),
    var(--bg-silk-ivory);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.attire-roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 2rem auto 2.4rem;
}

@media (max-width: 660px) {
  .attire-roles-grid { grid-template-columns: 1fr; }
}

.attire-role-card {
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline-soft);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.4rem;
  box-shadow: 0 10px 26px -18px rgba(53, 42, 46, 0.12);
}

.attire-role-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-espresso);
  margin: 0.55rem 0 0.45rem;
}

.attire-role-desc {
  font-size: 0.88rem;
  color: var(--ink-taupe);
  line-height: 1.68;
}

.attire-avoid-note {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--pink-whisper);
  border: 1px solid var(--pink-hairline);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 3.2vw, 2.5rem);
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 118px;
}

.swatch-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  padding: 4px;
  border: 1px solid var(--gold-champagne);
  background: var(--bg-porcelain);
  box-shadow: 0 8px 20px -12px rgba(53, 42, 46, 0.22);
  transition: transform var(--ease-editorial), box-shadow var(--ease-editorial);
}

.swatch-item:hover .swatch-circle {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px -12px rgba(197, 124, 147, 0.42);
}

.swatch-fill {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(53, 42, 46, 0.10);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, transparent 50%, rgba(53, 42, 46, 0.05) 100%);
}

.swatch-circle.is-avoid {
  border-color: var(--pink-rose-deep);
  position: relative;
}

.swatch-circle.is-avoid::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--pink-rose-deep);
  transform: rotate(-45deg);
  border-radius: 2px;
}

.swatch-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-espresso);
  line-height: 1.2;
}

/* ==========================================================================
   7. GIFT IDEAS & QR CODES (MARIBANK & BPI)
   ========================================================================== */
.gift-poem-box {
  max-width: 700px;
  margin: 0 auto 2.4rem;
  text-align: center;
  padding: 1.8rem clamp(1.3rem, 4vw, 2.5rem);
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
}

.gift-poem-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.18rem, 2.2vw, 1.38rem);
  color: var(--ink-espresso);
  line-height: 1.65;
}

.gift-poem-sub {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 680px) {
  .qr-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.qr-card-body {
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.qr-provider-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink-espresso);
  margin: 0.65rem 0 0.25rem;
}

.qr-account-note {
  font-size: 0.82rem;
  color: var(--ink-taupe);
  margin-bottom: 1.25rem;
}

.qr-image-frame {
  width: 210px;
  height: 210px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  box-shadow: 0 10px 26px -14px rgba(53, 42, 46, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  cursor: pointer;
  transition: transform var(--ease-editorial), border-color var(--ease-editorial);
}

.qr-image-frame:hover {
  transform: scale(1.03);
  border-color: var(--pink-rose-deep);
}

.qr-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.qr-hint {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
}

/* QR Zoom Lightbox Modal */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(53, 42, 46, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.qr-modal.is-open {
  display: flex;
  animation: fadeSlideIn 0.25s ease forwards;
}

.qr-modal-card {
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-stationery);
  position: relative;
}

.qr-modal-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0.75rem auto 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--gold-hairline-soft);
}

/* ==========================================================================
   8. SAFETY REMINDERS
   ========================================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .safety-grid { grid-template-columns: 1fr; }
}

.safety-card {
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.safety-card-inner {
  border: 1px solid var(--pink-hairline);
  border-radius: 7px;
  padding: 1.9rem 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(252, 238, 242, 0.75) 0%, transparent 55%),
    var(--bg-porcelain);
}

.safety-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--pink-whisper) 0%, var(--pink-petal) 100%);
  border: 1px solid var(--gold-champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-rose-muted);
  margin-bottom: 1rem;
}

.safety-title {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 500;
  color: var(--ink-espresso);
  margin-bottom: 0.4rem;
}

.safety-desc {
  font-size: 0.86rem;
  color: var(--ink-taupe);
  line-height: 1.65;
}

/* ==========================================================================
   9. CLASSIC LUXURY RSVP CARD WITH PASTEL-PINK WAX SEAL EMBLEM
   ========================================================================== */
.rsvp-outer {
  position: relative;
  background: var(--bg-porcelain);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-stationery);
  margin-top: 2.2rem;
}

.rsvp-wax-seal {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  z-index: 5;
  filter: drop-shadow(0 8px 14px rgba(176, 105, 128, 0.34));
}

.rsvp-inner {
  border: 1px solid var(--pink-hairline);
  box-shadow: inset 0 0 0 4px var(--bg-porcelain), inset 0 0 0 5px rgba(217, 190, 145, 0.34);
  border-radius: 7px;
  padding: clamp(3.3rem, 6vw, 4.4rem) clamp(1.4rem, 5vw, 3.6rem) clamp(2.4rem, 5vw, 3.6rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(252, 238, 242, 0.85) 0%, transparent 45%),
    linear-gradient(180deg, #FFFFFF 0%, #FDF9FA 100%);
}

.rsvp-policy-banner {
  margin: 0 auto 2rem;
  max-width: 520px;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-hairline);
  background: linear-gradient(180deg, var(--pink-whisper) 0%, rgba(250, 220, 229, 0.42) 100%);
  text-align: center;
}

.rsvp-policy-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-espresso);
  margin-bottom: 0.3rem;
}

.rsvp-policy-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--ink-taupe);
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-taupe);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: var(--bg-alabaster);
  border: 1px solid rgba(197, 160, 104, 0.45);
  border-radius: var(--radius-sm);
  padding: 0.88rem 1rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-espresso);
  transition: border-color var(--ease-editorial), background-color var(--ease-editorial), box-shadow var(--ease-editorial);
}

.form-input::placeholder {
  color: var(--ink-taupe-light);
  font-weight: 300;
}

.form-input:focus {
  outline: none;
  border-color: var(--pink-rose-deep);
  background: var(--bg-porcelain);
  box-shadow: 0 0 0 3px rgba(250, 220, 229, 0.45);
}

.attendance-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .attendance-toggle { grid-template-columns: 1fr; }
}

.attendance-option {
  position: relative;
  cursor: pointer;
}

.attendance-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(197, 160, 104, 0.48);
  border-radius: var(--radius-sm);
  background: var(--bg-alabaster);
  transition: all var(--ease-editorial);
  text-align: center;
}

.attendance-pill-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--ink-espresso);
}

.attendance-pill-sub {
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-taupe);
  margin-top: 2px;
}

.attendance-option input:checked + .attendance-pill {
  background: linear-gradient(180deg, var(--pink-whisper) 0%, var(--pink-petal) 100%);
  border-color: var(--pink-rose-deep);
  box-shadow: 0 8px 20px -12px rgba(197, 124, 147, 0.6);
}

.attendance-option input:checked + .attendance-pill .attendance-pill-sub {
  color: var(--pink-rose-muted);
}

.form-error {
  display: none;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--pink-rose-deep);
  background: var(--pink-whisper);
  color: var(--ink-espresso);
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.form-error.is-visible { display: block; }

.rsvp-confirmation {
  display: none;
  text-align: center;
  padding: 0.75rem 0;
  animation: fadeSlideIn 0.55s ease forwards;
}

.rsvp-confirmation.is-visible { display: block; }

.confirm-summary {
  max-width: 440px;
  margin: 1.7rem auto 2rem;
  background: var(--bg-alabaster);
  border: 1px solid var(--pink-hairline);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  text-align: left;
  font-size: 0.85rem;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(212, 143, 164, 0.22);
}

.confirm-row:last-child { border-bottom: none; }

.confirm-key {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-taupe);
}

.confirm-val {
  color: var(--ink-espresso);
  font-weight: 400;
  text-align: right;
}

/* ==========================================================================
   10. EDITORIAL FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--gold-hairline);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(250, 220, 229, 0.45) 0%, transparent 62%),
    var(--bg-silk-ivory);
  padding: 3.6rem 24px 6rem;
  text-align: center;
}

.footer-signature {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 5.8vw, 4rem);
  color: var(--ink-espresso);
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.footer-date {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pink-rose-muted);
}

.footer-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-taupe);
  max-width: 540px;
  margin: 0 auto;
}

/* ==========================================================================
   MINIMALIST FROSTED-GLASS BOTTOM-RIGHT CONTROL PILL & TOASTS
   ========================================================================== */
.magic-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px -12px rgba(53, 42, 46, 0.18), 0 0 0 1px rgba(250, 220, 229, 0.6);
  padding: 4px;
  gap: 2px;
}

.magic-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.95rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-espresso);
  cursor: pointer;
  transition: background-color var(--ease-editorial), color var(--ease-editorial);
  min-height: 36px;
}

.magic-pill-btn:hover {
  background: var(--pink-whisper);
  color: var(--pink-rose-muted);
}

.magic-pill-divider {
  width: 1px;
  height: 18px;
  background: var(--gold-hairline);
}

@media (max-width: 520px) {
  .magic-pill { right: 12px; bottom: 12px; }
  .magic-pill-btn { padding: 0.5rem 0.72rem; font-size: 0.6rem; }
}

.toast-region {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: min(92vw, 430px);
}

.toast-item {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--pink-rose);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font-size: 0.79rem;
  color: var(--ink-espresso);
  box-shadow: 0 14px 30px -12px rgba(53, 42, 46, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeSlideIn 0.35s ease forwards;
}