/* =========================================================================
   JAD'S SUPER BIRTHDAY MISSION — Luxury Superhero Invitation
   Design tokens
   Color:
     --navy        #0B1130  base night-sky background
     --navy-deep   #060A1F  deepest shadow / footer
     --indigo      #3A1470  secondary gradient stop (royal)
     --hero-red    #E9273F  primary hero accent (cape/energy)
     --hero-blue   #2E6BFF  secondary hero accent (energy/ice)
     --gold        #F0C24B  luxury foil accent
     --gold-deep   #B9862A  foil shadow
     --cream       #FBF4E4  primary light text
   Type:
     display  "Bangers"     - comic/heroic headline, used sparingly
     heading  "Fredoka"     - rounded playful sub-headings & labels
     body     "Poppins"     - clean luxury body copy
   ========================================================================= */

:root {
  --navy: #0b1130;
  --navy-deep: #060a1f;
  --navy-soft: #141c48;
  --indigo: #3a1470;
  --hero-red: #e9273f;
  --hero-red-deep: #a3162a;
  --hero-blue: #2e6bff;
  --gold: #f0c24b;
  --gold-soft: #ffe8ab;
  --gold-deep: #b9862a;
  --cream: #fbf4e4;
  --cream-dim: rgba(251, 244, 228, 0.72);

  --font-display: "Bangers", "Segoe UI", cursive;
  --font-heading: "Fredoka", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 60px rgba(3, 6, 20, 0.55);
  --shadow-gold: 0 0 0 1px rgba(240, 194, 75, 0.35), 0 12px 40px rgba(240, 194, 75, 0.15);

  --ease-hero: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-deep) var(--navy-deep);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(120% 100% at 50% 0%, var(--indigo) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--cream);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* subtle halftone / grain texture across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mix-blend-mode: screen;
  opacity: 0.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.section {
  position: relative;
  padding: 110px 24px;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.eyebrow.center { text-align: center; }

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

.foil {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-soft) 22%, var(--gold) 45%, var(--gold-soft) 60%, var(--gold-deep) 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil-shimmer 7s ease-in-out infinite;
  padding: 10px;
}
@keyframes foil-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-heading { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-top: 10px;
  text-shadow: 0 4px 0 rgba(0,0,0,0.25);
}

.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-hero), box-shadow 0.35s var(--ease-hero);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-soft) 55%, var(--gold-deep));
  background-size: 260% 100%;
  color: var(--navy-deep);
  box-shadow: 0 14px 34px rgba(240, 194, 75, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 18px 44px rgba(240, 194, 75, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(251, 244, 228, 0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* =========================================================================
   INTRO OVERLAY
   ========================================================================= */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 30%, var(--indigo) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  transition: opacity 0.9s var(--ease-hero), visibility 0.9s;
  overflow: hidden;
}
.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, #fff, transparent),
    radial-gradient(2px 2px at 80% 15%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 45% 60%, #fff, transparent),
    radial-gradient(2px 2px at 65% 80%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 25% 75%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 90% 55%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 15% 45%, #fff, transparent);
  opacity: 0.7;
  animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.9; } }

.intro-burst {
  position: absolute;
  width: 900px;
  height: 900px;
  background: conic-gradient(from 0deg, transparent 0 10deg, rgba(240,194,75,0.12) 10deg 14deg, transparent 14deg 30deg);
  animation: spin-slow 40s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.intro-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  animation: intro-rise 1s var(--ease-hero) both;
}
@keyframes intro-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.intro-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1;
  margin-bottom: 34px;
}
.intro-title-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--cream);
  letter-spacing: 0.02em;
  margin-top: 10px;
}
.intro-hint {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--cream-dim);
  letter-spacing: 0.03em;
}

/* =========================================================================
   PARTICLES / MUSIC TOGGLE / SIDE NAV
   ========================================================================= */
.particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.music-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(240, 194, 75, 0.5);
  background: linear-gradient(160deg, rgba(58,20,112,0.9), rgba(11,17,48,0.9));
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-hero);
}
.music-toggle:hover { transform: scale(1.08); }
.music-toggle .icon-off { display: block; }
.music-toggle .icon-on { display: none; }
.music-toggle[aria-pressed="true"] .icon-off { display: none; }
.music-toggle[aria-pressed="true"] .icon-on { display: block; }

.music-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
}
.music-toggle[aria-pressed="true"] .music-ring {
  animation: ring-pulse 2.2s ease-out infinite;
}
@keyframes ring-pulse {
  0% { opacity: 0.65; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.35); }
}

.side-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-nav a {
  width: 12px;
  height: 12px;
  display: block;
  position: relative;
}
.side-nav a span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(251, 244, 228, 0.35);
  border: 1px solid rgba(251, 244, 228, 0.5);
  transition: all 0.3s var(--ease-hero);
}
.side-nav a:hover span,
.side-nav a.is-active span {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240,194,75,0.2);
}
@media (max-width: 860px) {
  .side-nav { display: none; }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-rays {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 1400px;
  height: 1400px;
  transform: translateX(-50%);
  background: conic-gradient(from 90deg,
    transparent 0deg, rgba(240,194,75,0.10) 3deg, transparent 9deg,
    transparent 18deg, rgba(233,39,63,0.08) 21deg, transparent 27deg,
    transparent 36deg, rgba(46,107,255,0.08) 39deg, transparent 45deg);
  animation: spin-slow 60s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 190px;
  background:
    linear-gradient(0deg, var(--navy-deep) 0%, transparent 100%),
    repeating-linear-gradient(90deg,
      rgba(6,10,31,0.9) 0 60px,
      rgba(9,14,40,0.9) 60px 90px,
      rgba(6,10,31,0.9) 90px 150px,
      rgba(12,18,50,0.9) 150px 210px);
  clip-path: polygon(0% 100%, 0% 40%, 4% 40%, 4% 25%, 9% 25%, 9% 55%, 14% 55%, 14% 15%, 19% 15%, 19% 45%, 25% 45%, 25% 60%, 31% 60%, 31% 20%, 37% 20%, 37% 50%, 43% 50%, 43% 30%, 49% 30%, 49% 65%, 55% 65%, 55% 18%, 61% 18%, 61% 48%, 67% 48%, 67% 28%, 73% 28%, 73% 58%, 79% 58%, 79% 22%, 85% 22%, 85% 42%, 91% 42%, 91% 60%, 96% 60%, 96% 35%, 100% 35%, 100% 100%);
  opacity: 0.85;
  z-index: 1;
}

.hero-hero-figure {
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: min(46vw, 420px);
  z-index: 1;
  opacity: 0.9;
  animation: hero-float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}
.hero-silhouette { width: 100%; height: auto; }
.hero-silhouette .cape {
  fill: var(--hero-red);
  opacity: 0.92;
  stroke: var(--hero-red-deep);
  stroke-width: 2;
}
.hero-silhouette .head,
.hero-silhouette .body {
  fill: #1b2456;
  stroke: rgba(240, 194, 75, 0.45);
  stroke-width: 1.5;
}
.hero-silhouette .mask {
  fill: var(--hero-blue);
  opacity: 0.95;
  stroke: #17306e;
  stroke-width: 1.5;
}
.hero-silhouette .emblem { fill: var(--gold); }

.speed-lines {
  position: absolute;
  left: -30%;
  top: 40%;
  width: 60%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(240,194,75,0.6) 0 30px, transparent 30px 55px);
  animation: speed 1.4s linear infinite;
  opacity: 0.7;
}
@keyframes speed { from { transform: translateX(0); } to { transform: translateX(-40px); } }

@media (max-width: 760px) {
  .hero-hero-figure { right: 50%; transform: translateX(50%); bottom: 4%; width: 58vw; opacity: 0.35; }
  .speed-lines { display: none; }
}

.comic-pop {
  position: absolute;
  font-family: var(--font-display);
  color: var(--gold);
  -webkit-text-stroke: 2px var(--navy-deep);
  paint-order: stroke fill;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  z-index: 2;
  opacity: 0.9;
  animation: pop-bob 4s ease-in-out infinite;
}
.pop-1 { top: 14%; left: 8%; animation-delay: 0s; transform: rotate(-8deg); color: var(--hero-red); }
.pop-2 { top: 30%; right: 8%; animation-delay: 1.2s; transform: rotate(6deg); color: var(--hero-blue); }
.pop-3 { bottom: 18%; left: 12%; animation-delay: 2.1s; transform: rotate(-4deg); }
@keyframes pop-bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
@media (max-width: 760px) {
  .comic-pop { display: none; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 0 20px;
  animation: hero-in 1.1s var(--ease-hero) both;
  animation-delay: 0.15s;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title { margin-top: 18px; }
.hero-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 15vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.hero-title-line2 {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  color: var(--cream);
  margin-top: 10px;
}
.hero-title-line2 .foil { font-family: var(--font-display); font-size: 1.15em; letter-spacing: 0.03em; }

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--cream-dim);
  max-width: 480px;
  margin: 22px auto 0;
  line-height: 1.6;
}

.hero-cta-row {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-cue span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(251,244,228,0.5);
  border-radius: 20px;
  position: relative;
}
.scroll-cue span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { top: 6px; opacity: 1; }
  70% { top: 18px; opacity: 0.2; }
  100% { top: 18px; opacity: 0; }
}

/* =========================================================================
   COUNTDOWN
   ========================================================================= */
.countdown-section { padding-top: 0; padding-bottom: 40px; }
.countdown-inner {
  padding: 34px 24px;
  max-width: 640px;
  margin: -60px auto 0;
  text-align: center;
  position: relative;
  z-index: 4;
}
.countdown-grid {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.countdown-cell { min-width: 64px; }
.countdown-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--gold-soft);
  line-height: 1;
}
.countdown-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 4px;
}
.countdown-divider {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-deep);
  transform: translateY(-6px);
}

/* =========================================================================
   MISSION BRIEFING / DOSSIER — signature element
   ========================================================================= */
.briefing-section { padding-top: 60px; }

.dossier {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 52px clamp(24px, 6vw, 64px) 44px;
  background:
    linear-gradient(180deg, rgba(251,244,228,0.06), rgba(251,244,228,0.02)),
    var(--navy-soft);
  border: 1px solid rgba(240,194,75,0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.dossier::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(240,194,75,0.35);
  border-radius: 12px;
  pointer-events: none;
}

.dossier-stamp {
  position: absolute;
  top: 26px;
  right: clamp(18px, 5vw, 46px);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--hero-red);
  border: 2px solid var(--hero-red);
  padding: 6px 12px;
  border-radius: 6px;
  transform: rotate(9deg);
  opacity: 0.85;
}

.dossier-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.8;
}
.dossier-corner.tl { top: -1px; left: -1px; border-width: 3px 0 0 3px; border-top-left-radius: 8px; }
.dossier-corner.tr { top: -1px; right: -1px; border-width: 3px 3px 0 0; border-top-right-radius: 8px; }
.dossier-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; border-bottom-left-radius: 8px; }
.dossier-corner.br { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; border-bottom-right-radius: 8px; }

.dossier-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(251,244,228,0.1);
}
.dossier-row:last-of-type { border-bottom: none; }

.dossier-item { display: flex; align-items: flex-start; gap: 16px; }
.dossier-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,194,75,0.1);
  border: 1px solid rgba(240,194,75,0.35);
  color: var(--gold);
}
.dossier-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 5px;
}
.dossier-value {
  font-size: 1.02rem;
  color: var(--cream);
  line-height: 1.45;
}

.dossier-note {
  margin-top: 26px;
  text-align: center;
  font-family: var(--font-heading);
  font-style: normal;
  color: var(--cream-dim);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .dossier-row { grid-template-columns: 1fr; gap: 20px; }
  .dossier-stamp { position: static; display: inline-block; margin-bottom: 18px; transform: rotate(-2deg); }
}

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery-section { padding-top: 40px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: start;
}
@media (max-width: 920px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

.photo-frame {
  margin: 0;
  background: var(--cream);
  padding: 10px 10px 34px;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(3,6,20,0.45);
  transition: transform 0.4s var(--ease-hero), box-shadow 0.4s var(--ease-hero);
  position: relative;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}
.photo-frame::after {
  content: "★";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-deep);
  font-size: 0.9rem;
}
.photo-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 70px;
  height: 22px;
  background: rgba(240,194,75,0.55);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.tilt-1 { transform: rotate(-4deg); }
.tilt-2 { transform: rotate(3deg); margin-top: 26px; }
.tilt-3 { transform: rotate(2.5deg); margin-top: -10px; }
.tilt-4 { transform: rotate(-3deg); margin-top: 18px; }
.photo-frame.tilt-1:hover { transform: rotate(-4deg) translateY(-10px) scale(1.03); }
.photo-frame.tilt-2:hover { transform: rotate(3deg) translateY(-10px) scale(1.03); }
.photo-frame.tilt-3:hover { transform: rotate(2.5deg) translateY(-10px) scale(1.03); }
.photo-frame.tilt-4:hover { transform: rotate(-3deg) translateY(-10px) scale(1.03); }
@media (max-width: 480px) {
  .tilt-1, .tilt-2, .tilt-3, .tilt-4 { margin-top: 0; }
}

/* =========================================================================
   RSVP
   ========================================================================= */
.rsvp-section { padding-top: 40px; padding-bottom: 60px; }
.rsvp-sub {
  margin-top: 14px;
  color: var(--cream-dim);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.rsvp-card {
  max-width: 760px;
  margin: 44px auto 0;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid rgba(240,194,75,0.3);
}
.fillout-mount { min-height: 420px; }
.fillout-mount iframe { border-radius: var(--radius-sm); }

.fillout-fallback {
  text-align: center;
  padding: 50px 20px;
  color: var(--cream-dim);
}
.fillout-fallback svg { color: var(--gold); margin-bottom: 14px; }
.fillout-fallback p { margin: 6px 0; }
.fillout-fallback-note { font-size: 0.85rem; }
.fillout-fallback code {
  background: rgba(240,194,75,0.12);
  border: 1px solid rgba(240,194,75,0.3);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--gold-soft);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  text-align: center;
  padding: 60px 24px 50px;
  background: linear-gradient(0deg, var(--navy-deep), transparent);
  position: relative;
  z-index: 1;
}
.footer-mask { color: var(--gold); opacity: 0.8; margin-bottom: 12px; }
.footer-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cream);
}
.footer-sub {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-hero), transform 0.8s var(--ease-hero);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
