/* ============================================================
   BIRTHDAY WEBSITE — EDITORIAL BLUSH, CREAM & CHAMPAGNE GOLD
   Inspired by boutique storybook invitations
   Dominant: Blush & Dusty Rose Pink
   Depth: Warm Ivory Cream, Soft Peach, Champagne Gold, Warm Cocoa
   ============================================================ */

:root {
  /* Dominant Blush & Rose Pinks */
  --blush-50: #fff6f8;
  --blush-100: #fdebf0;
  --blush-200: #f8d5df;
  --blush-300: #f0b3c5;
  --blush-400: #e48fa8;
  --blush-500: #d67190;
  --blush-600: #b85374;

  /* Warm Ivory Cream & Peach Depth */
  --cream-50: #fffcf9;
  --cream-100: #fff8f2;
  --cream-200: #f9efe6;
  --peach-100: #fbeee6;
  --peach-200: #f5dccd;

  /* Champagne Gold & Dusty Mauve Accents */
  --gold-100: #fbf2df;
  --gold-300: #e8c68e;
  --gold-400: #d4a362;
  --gold-500: #b38042;
  --mauve-100: #f4eaf2;
  --mauve-300: #d7b8d2;

  /* Warm Deep Cocoa Typography (bold, high-contrast readability) */
  --cocoa-900: #2b1612;
  --cocoa-700: #42241f;
  --cocoa-500: #5c3932;
  --white: #ffffff;

  --shadow-soft: 0 18px 45px rgba(102, 70, 63, 0.08);
  --shadow-card: 0 22px 54px rgba(184, 83, 116, 0.11);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  scroll-behavior: smooth;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cocoa-700);
  background-color: var(--cream-100);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  /* Custom blush-pink & champagne-gold fairy wand cursor */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M13 13 L29 29' stroke='%23d67190' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M13 13 L29 29' stroke='%23f8d5df' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M10 1.5 L12.2 7.2 L18.5 7.5 L13.5 11.2 L15.2 17.2 L10 13.6 L4.8 17.2 L6.5 11.2 L1.5 7.5 L7.8 7.2 Z' fill='%23f3cf7a' stroke='%23b38042' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='9.8' r='1.7' fill='%23fff8eb'/%3E%3Ccircle cx='21' cy='4' r='1.3' fill='%23e48fa8'/%3E%3Ccircle cx='4' cy='21' r='1.2' fill='%23e8c68e'/%3E%3C/svg%3E") 10 10, auto;
}

a, button, .polaroid, .gift-box, .envelope, .scratch-canvas {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M13 13 L29 29' stroke='%23b85374' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M13 13 L29 29' stroke='%23fff8eb' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M10 1 L12.4 7 L19 7.4 L13.8 11.3 L15.5 17.6 L10 13.8 L4.5 17.6 L6.2 11.3 L1 7.4 L7.6 7 Z' fill='%23f7cf73' stroke='%23b38042' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='9.8' r='2' fill='%23ffffff'/%3E%3Ccircle cx='21.5' cy='4' r='1.5' fill='%23d67190'/%3E%3Ccircle cx='4' cy='21.5' r='1.4' fill='%23e8c68e'/%3E%3C/svg%3E") 10 10, pointer;
}

.hidden {
  display: none !important;
}

/* ---------------- Floating Hearts & Confetti ---------------- */
.hearts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-heart {
  position: absolute;
  bottom: -40px;
  opacity: 0;
  user-select: none;
  animation: floatUp linear infinite;
  filter: drop-shadow(0 2px 6px rgba(184, 83, 116, 0.14));
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  12% {
    opacity: var(--max-opacity, 0.34);
  }
  85% {
    opacity: var(--max-opacity, 0.34);
  }
  100% {
    transform: translateY(-110vh) translateX(var(--drift, 28px)) rotate(var(--spin, 22deg)) scale(1.1);
    opacity: 0;
  }
}

.click-heart {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  font-size: 1.05rem;
  animation: popHeart 0.9s ease-out forwards;
}

.trail-heart {
  position: fixed;
  pointer-events: none;
  z-index: 998;
  user-select: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 5px rgba(184, 83, 116, 0.22));
  animation: trailFloat 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes trailFloat {
  0% {
    transform: translate(-50%, -50%) scale(0.55) rotate(0deg);
    opacity: 0.92;
  }
  35% {
    opacity: 0.85;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.15) rotate(var(--rot));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trail-heart {
    display: none;
  }
}

@keyframes popHeart {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.25);
    opacity: 0;
  }
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 70;
}

/* ---------------- Top Scroll Progress Bar ---------------- */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: rgba(240, 179, 197, 0.28);
  z-index: 80;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blush-400), var(--gold-400), var(--blush-500));
  transition: width 0.12s ease-out;
}

/* ---------------- Editorial Top Navigation Bar ---------------- */
.top-nav {
  position: fixed;
  top: 3.5px;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 198, 142, 0.35);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--cocoa-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-hearts {
  font-size: 1.15rem;
}

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

.nav-step {
  position: relative;
  border: none;
  background: transparent;
  color: var(--cocoa-500);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 2px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--blush-400));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-step:hover,
.nav-step.active {
  color: var(--cocoa-900);
}

.nav-step.active::after {
  transform: scaleX(1);
}

.nav-cta {
  border: none;
  background: linear-gradient(135deg, var(--blush-400), var(--blush-500));
  color: var(--white);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(214, 113, 144, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(214, 113, 144, 0.36);
}

/* ---------------- Page Bands & Scalloped Cloud Dividers ---------------- */
.page-wrapper {
  position: relative;
  z-index: 10;
  padding-top: 62px;
}

.band {
  position: relative;
  width: 100%;
  overflow: hidden;
  scroll-margin-top: 64px;
}

.band > .section-inner {
  position: relative;
  z-index: 2;
}

.band > .scallop-divider {
  z-index: 3;
}

/* Shared Full-Bleed Section Background Collages */
.band-bg-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  gap: 6px;
  background: var(--cream-100);
  pointer-events: none;
}

.band-bg-collage.cols-1 {
  grid-template-columns: 1fr;
}

.band-bg-collage.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.band-bg-collage::after {
  content: "";
  position: absolute;
  inset: 0;
}

.band-bg-collage.veil-hero::after {
  background: linear-gradient(
    135deg,
    rgba(248, 227, 232, 0.72) 0%,
    rgba(253, 235, 240, 0.58) 50%,
    rgba(247, 230, 220, 0.72) 100%
  );
}

.band-bg-collage.veil-blush::after {
  background: linear-gradient(
    180deg,
    rgba(252, 235, 240, 0.62) 0%,
    rgba(249, 227, 234, 0.48) 50%,
    rgba(252, 235, 240, 0.66) 100%
  );
}

.band-bg-collage.veil-cream::after {
  background: linear-gradient(
    180deg,
    rgba(255, 248, 242, 0.68) 0%,
    rgba(253, 235, 240, 0.46) 50%,
    rgba(255, 248, 242, 0.72) 100%
  );
}

/* Keep section headings & leads crisp over photo backgrounds */
.band .section-heading h2 {
  background: rgba(255, 252, 249, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 20px;
  border-radius: 999px;
}

.band .section-lead {
  background: rgba(255, 252, 249, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 20px;
  border-radius: 16px;
  color: var(--cocoa-700);
}

.band .site-footer {
  background: rgba(255, 252, 249, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  border: 1px solid rgba(232, 198, 142, 0.5);
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 78px 26px;
}

.centered-section {
  text-align: center;
}

.band-hero {
  background:
    radial-gradient(circle at 74% 38%, rgba(251, 242, 223, 0.92) 0%, transparent 42%),
    radial-gradient(circle at 86% 24%, rgba(248, 213, 223, 0.85) 0%, transparent 46%),
    radial-gradient(circle at 18% 78%, rgba(251, 238, 230, 0.9) 0%, transparent 48%),
    linear-gradient(135deg, #f8e3e8 0%, #f5dce2 48%, #f7e6dc 100%);
  padding-bottom: 42px;
}

.band-cream {
  background: var(--cream-100);
}

/* Birthday Details Section Multi-Photo Collage Background */
#stage-1 {
  position: relative;
  overflow: hidden;
  background: var(--cream-100);
}

#stage-1 .section-inner {
  position: relative;
  z-index: 2;
}

.details-bg-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--cream-100);
  pointer-events: none;
}

.details-bg-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 242, 0.42) 0%,
    rgba(253, 235, 240, 0.22) 50%,
    rgba(255, 248, 242, 0.44) 100%
  );
}

.collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) brightness(1.02);
}

.collage-img-1 { object-position: center 52%; }
.collage-img-2 { object-position: center 24%; }
.collage-img-3 { object-position: center 40%; }

#stage-1 .section-heading h2 {
  background: rgba(255, 252, 249, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 20px;
  border-radius: 999px;
  text-shadow: 0 1px 10px rgba(255, 252, 249, 0.9);
}

#stage-1 .details-strip {
  background: rgba(255, 252, 249, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 18px 10px;
  box-shadow: var(--shadow-soft);
}

#stage-1 .bento-blush {
  background: linear-gradient(160deg, rgba(253, 240, 243, 0.64) 0%, rgba(250, 228, 234, 0.6) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#stage-1 .bento-peach {
  background: linear-gradient(160deg, rgba(253, 244, 236, 0.64) 0%, rgba(250, 234, 223, 0.6) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#stage-1 .timer-box.soft {
  background: rgba(255, 255, 255, 0.72);
}

.band-blush {
  background:
    radial-gradient(circle at 15% 25%, rgba(251, 242, 223, 0.65) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(244, 234, 242, 0.72) 0%, transparent 48%),
    linear-gradient(180deg, #fcebf0 0%, #f9e3ea 100%);
}

/* Scalloped Cloud Wave Dividers (signature motif from inspiration) */
.scallop-divider {
  position: relative;
  width: 100%;
  height: 36px;
  overflow: hidden;
  pointer-events: none;
}

.scallop-to-cream {
  background-image: radial-gradient(circle at 26px 36px, var(--cream-100) 26px, transparent 27px);
  background-size: 52px 36px;
  background-repeat: repeat-x;
}

.scallop-top-from-cream {
  background-image: radial-gradient(circle at 26px 0px, var(--cream-100) 26px, transparent 27px);
  background-size: 52px 36px;
  background-repeat: repeat-x;
}

/* Scroll Reveal Animations */
.stage .section-inner {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage.in-view .section-inner {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Section 1: Editorial Split Hero ---------------- */
.hero-bokeh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.65) 0px, transparent 40px),
    radial-gradient(circle at 82% 58%, rgba(232, 198, 142, 0.45) 0px, transparent 54px),
    radial-gradient(circle at 58% 72%, rgba(255, 255, 255, 0.55) 0px, transparent 36px),
    radial-gradient(circle at 92% 34%, rgba(255, 255, 255, 0.5) 0px, transparent 30px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 44px;
  padding-top: 56px;
  padding-bottom: 52px;
}

.eyebrow {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--cocoa-900);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(255, 252, 249, 0.9);
}

.hero-name {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.4rem, 6.5vw, 5.2rem);
  font-weight: 400;
  color: var(--cocoa-900);
  line-height: 1.06;
  margin-bottom: 6px;
  text-shadow: 0 2px 16px rgba(255, 252, 249, 0.95), 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-turning {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 700;
  color: var(--blush-600);
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(255, 252, 249, 0.92);
}

.turning-age {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  color: var(--cocoa-900);
  background: linear-gradient(135deg, var(--gold-100), var(--blush-100));
  border: 1.5px solid var(--gold-400);
  padding: 2px 14px;
  border-radius: 999px;
  margin-left: 4px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cocoa-900);
  text-shadow: 0 1px 10px rgba(255, 252, 249, 0.92);
}

.hero-birthday-pill {
  display: inline-block;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(184, 83, 116, 0.28);
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 198, 142, 0.55);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--blush-500);
  flex-shrink: 0;
}

/* Compact Hero Countdown */
.hero-countdown {
  background: rgba(255, 252, 249, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 198, 142, 0.55);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 24px;
  max-width: 440px;
  box-shadow: var(--shadow-soft);
}

.countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cocoa-500);
  margin-bottom: 10px;
}

.today-banner {
  background: linear-gradient(135deg, var(--blush-400), var(--blush-500));
  color: var(--white);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  text-align: center;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.alive-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.timer-box {
  background: var(--white);
  border: 1px solid var(--blush-200);
  border-top: 2.5px solid var(--blush-400);
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(102, 70, 63, 0.05);
}

.timer-box:nth-child(4n + 2) { border-top-color: var(--gold-400); }
.timer-box:nth-child(4n + 3) { border-top-color: var(--blush-300); }
.timer-box:nth-child(4n + 4) { border-top-color: var(--mauve-300); }

.timer-box.soft {
  background: rgba(255, 255, 255, 0.88);
}

.timer-num {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--cocoa-900);
  line-height: 1.05;
}

.timer-unit {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cocoa-500);
  margin-top: 3px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Right Hero Medallion & Animated Blush-Gold Gift Box */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-medallion {
  position: relative;
  width: 310px;
  height: 330px;
  border-radius: 155px 155px 36px 36px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92), rgba(253, 235, 240, 0.82) 70%, rgba(251, 238, 230, 0.92) 100%);
  border: 2px solid rgba(232, 198, 142, 0.72);
  box-shadow:
    0 24px 54px rgba(184, 83, 116, 0.16),
    inset 0 0 0 8px rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.medallion-ring {
  position: absolute;
  inset: 12px;
  border-radius: 145px 145px 28px 28px;
  border: 1px dashed rgba(212, 163, 98, 0.45);
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 140px 140px 26px 26px;
}

.gift-box {
  position: relative;
  width: 170px;
  height: 170px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 10px 0 14px;
  transition: transform 0.25s ease;
  animation: giftWiggle 3s ease-in-out infinite;
}

.gift-box:hover {
  transform: scale(1.06);
}

.gift-box.opening {
  animation: none;
}

@keyframes giftWiggle {
  0%, 76%, 100% { transform: rotate(0deg) translateY(0); }
  82% { transform: rotate(-3.5deg) translateY(-5px); }
  88% { transform: rotate(3.5deg) translateY(-5px); }
  94% { transform: rotate(-2deg) translateY(-2px); }
}

.gift-glow {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 198, 142, 0.42) 0%,
    rgba(240, 179, 197, 0.34) 48%,
    transparent 74%
  );
  bottom: -16px;
  z-index: 0;
}

.gift-lid {
  position: relative;
  width: 162px;
  height: 36px;
  background: linear-gradient(135deg, #f0a8be, #d97897);
  border-radius: 10px;
  z-index: 3;
  box-shadow: 0 8px 18px rgba(102, 70, 63, 0.2);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.gift-box.opening .gift-lid {
  transform: translateY(-74px) rotate(-16deg);
  opacity: 0;
}

.lid-band {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 100%;
  background: linear-gradient(180deg, #fff8eb, #e8c68e, #d4a362);
}

.gift-bow {
  position: absolute;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bow-loop {
  width: 34px;
  height: 25px;
  border: 5px solid #fff8eb;
  background: linear-gradient(135deg, #f1d6a7, #d4a362);
  border-radius: 50% 50% 0 50%;
  box-shadow: 0 3px 8px rgba(102, 70, 63, 0.18);
}

.bow-loop.left { transform: rotate(-18deg) translateX(4px); }
.bow-loop.right { border-radius: 50% 50% 50% 0; transform: rotate(18deg) translateX(-4px); }

.bow-knot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff8eb;
  color: var(--blush-600);
  font-size: 0.76rem;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(102, 70, 63, 0.22);
}

.gift-body {
  position: relative;
  width: 144px;
  height: 106px;
  background: linear-gradient(170deg, #eb9bb3 0%, #d67190 62%, #b85374 100%);
  border-radius: 0 0 14px 14px;
  margin-top: -3px;
  z-index: 2;
  box-shadow: 0 16px 30px rgba(138, 63, 88, 0.26);
  overflow: hidden;
}

.body-ribbon-v {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 100%;
  background: linear-gradient(180deg, #fff8eb, #e8c68e, #d4a362);
}

.body-ribbon-h {
  position: absolute;
  top: 46%;
  width: 100%;
  height: 19px;
  background: linear-gradient(90deg, #e8c68e, #fff8eb, #e8c68e);
}

.gift-tag {
  position: absolute;
  right: 11px;
  bottom: 11px;
  background: var(--cream-50);
  color: var(--cocoa-900);
  border: 1px solid var(--gold-300);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 7px;
  transform: rotate(-5deg);
}

.tap-hint {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cocoa-500);
  letter-spacing: 0.02em;
}

/* ---------------- Editorial Section Headings ---------------- */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}

.heading-line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}

.section-heading h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cocoa-900);
  white-space: nowrap;
}

.section-heading .ornament {
  color: var(--blush-500);
  font-size: 0.9em;
  margin: 0 4px;
}

.section-lead {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cocoa-900);
  line-height: 1.65;
}

.section-lead code {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--blush-200);
  color: var(--blush-600);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
}

/* ---------------- Section 2: 4-Column Info Strip & Pastel Bento ---------------- */
.details-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 10px 0 38px;
  padding: 18px 0;
  border-top: 1px solid rgba(232, 198, 142, 0.42);
  border-bottom: 1px solid rgba(232, 198, 142, 0.42);
}

.detail-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 14px;
  border-right: 1px solid rgba(232, 198, 142, 0.45);
}

.detail-col:last-child {
  border-right: none;
}

.detail-icon {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.detail-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blush-600);
  margin-bottom: 4px;
}

.detail-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--cocoa-900);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bento-card {
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  text-align: left;
  border: 1px solid rgba(232, 198, 142, 0.45);
  box-shadow: var(--shadow-soft);
}

.bento-blush {
  background: linear-gradient(160deg, #fdf0f3 0%, #fae4ea 100%);
}

.bento-peach {
  background: linear-gradient(160deg, #fdf4ec 0%, #faeadf 100%);
}

.bento-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blush-600);
  margin-bottom: 10px;
}

.script-subheading {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.1rem, 3.6vw, 2.75rem);
  font-weight: 400;
  color: var(--cocoa-900);
  line-height: 1.15;
  margin-bottom: 12px;
}

.serif-subheading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cocoa-900);
  margin-bottom: 8px;
}

.bento-text {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cocoa-700);
  line-height: 1.65;
  margin-bottom: 22px;
}

.age-spotlight {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}

.age-orb {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush-400), var(--blush-500));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 12px 24px rgba(184, 83, 116, 0.25),
    0 0 0 5px var(--cream-50),
    0 0 0 7px var(--gold-300);
}

.age-number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.age-text {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
  color: var(--gold-100);
}

.age-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cocoa-900);
  line-height: 1.55;
}

.fun-stat {
  margin-top: 16px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--cocoa-700);
}

.fun-stat strong {
  color: var(--blush-600);
}

/* ---------------- Section 3: Scratch-to-Reveal ---------------- */
.scratch-frame {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 252, 249, 0.88);
  border: 1.5px solid rgba(232, 198, 142, 0.65);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.scratch-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--gold-300);
  background: var(--cream-100);
  user-select: none;
  touch-action: none;
}

.scratch-underneath {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-100), var(--blush-100), var(--peach-100));
}

.scratch-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scratch-placeholder {
  padding: 24px;
  text-align: center;
}

.placeholder-hearts {
  font-size: 1.5rem;
  letter-spacing: 6px;
  color: var(--blush-500);
  margin-bottom: 10px;
}

.scratch-placeholder h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cocoa-900);
  margin-bottom: 8px;
}

.scratch-placeholder p {
  font-size: 0.88rem;
  color: var(--cocoa-500);
  line-height: 1.55;
}

.scratch-placeholder code {
  background: var(--white);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--blush-600);
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  transition: opacity 0.6s ease;
}

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

.scratch-status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.progress-track {
  flex: 1;
  height: 9px;
  background: var(--blush-100);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--blush-200);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blush-400), var(--gold-400), var(--blush-500));
  border-radius: 999px;
  transition: width 0.2s ease;
}

.progress-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cocoa-700);
  min-width: 96px;
  text-align: right;
}

.scratch-caption {
  margin-top: 14px;
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: var(--blush-600);
}

.scratch-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

/* ---------------- Section 4: Cherished Memories Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.polaroid {
  background: var(--white);
  padding: 12px 12px 18px;
  border-radius: 20px;
  border: 1px solid rgba(232, 198, 142, 0.5);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.55s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
}

.stage.in-view .polaroid {
  opacity: 1;
  transform: translateY(0);
}

.stage.in-view .polaroid:nth-child(1) { transition-delay: 0.05s; }
.stage.in-view .polaroid:nth-child(2) { transition-delay: 0.11s; }
.stage.in-view .polaroid:nth-child(3) { transition-delay: 0.17s; }
.stage.in-view .polaroid:nth-child(4) { transition-delay: 0.23s; }
.stage.in-view .polaroid:nth-child(5) { transition-delay: 0.29s; }
.stage.in-view .polaroid:nth-child(6) { transition-delay: 0.35s; }

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

.polaroid-img-wrap {
  aspect-ratio: 4 / 4.2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Soft storybook pastel fills (blush-dominant with peach, gold & dusty mauve) */
.polaroid:nth-child(6n + 1) .polaroid-img-wrap { background: linear-gradient(145deg, #fdebf0, #f5ccd8); }
.polaroid:nth-child(6n + 2) .polaroid-img-wrap { background: linear-gradient(145deg, #fbeee6, #f4d8c8); }
.polaroid:nth-child(6n + 3) .polaroid-img-wrap { background: linear-gradient(145deg, #fbf2df, #f5d6de); }
.polaroid:nth-child(6n + 4) .polaroid-img-wrap { background: linear-gradient(145deg, #f4eaf2, #f5d0de); }
.polaroid:nth-child(6n + 5) .polaroid-img-wrap { background: linear-gradient(145deg, #fcebf0, #f7dec6); }
.polaroid:nth-child(6n + 6) .polaroid-img-wrap { background: linear-gradient(145deg, #f9efe6, #f2c8d6); }

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-placeholder {
  text-align: center;
  padding: 14px;
}

.polaroid-placeholder .ph-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 6px;
}

.polaroid-placeholder .ph-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cocoa-700);
}

.polaroid-caption {
  margin-top: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--cocoa-900);
}

.polaroid-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blush-600);
  background: var(--blush-100);
  padding: 3px 10px;
  border-radius: 999px;
}

.polaroid:nth-child(3n + 2) .polaroid-tag {
  color: var(--gold-500);
  background: var(--gold-100);
}

.polaroid:nth-child(3n + 3) .polaroid-tag {
  color: var(--cocoa-700);
  background: var(--peach-100);
}

/* ---------------- Section 5: Envelope, Blank Letter & Footer ---------------- */
.envelope-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 14px 0 36px;
}

.envelope {
  position: relative;
  width: 256px;
  height: 168px;
  background: linear-gradient(160deg, #efadc0 0%, #d87c99 65%, #c26483 100%);
  border: 1.5px solid rgba(251, 242, 223, 0.75);
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(138, 63, 88, 0.22);
  transition: transform 0.3s ease;
  margin-bottom: 16px;
  overflow: hidden;
}

.envelope:hover {
  transform: translateY(-5px) scale(1.03);
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  background: linear-gradient(180deg, #f8cad8 0%, #e495ae 100%);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform-origin: top center;
  transition: transform 0.5s ease;
  z-index: 3;
}

.envelope.opening .envelope-flap {
  transform: rotateX(180deg);
}

.envelope-pocket {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(75, 49, 44, 0.16) 100%);
  clip-path: polygon(0 100%, 50% 45%, 100% 100%);
  z-index: 2;
}

.wax-seal {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f1d6a7 0%, #d4a362 62%, #a87538 100%);
  color: var(--white);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  z-index: 4;
  box-shadow: 0 8px 18px rgba(75, 49, 44, 0.32);
  border: 2px solid #fff8eb;
}

/* Clean Blank Ivory Stationery Letter Paper */
.letter-paper {
  max-width: 640px;
  margin: 10px auto 38px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 35px,
      rgba(212, 163, 98, 0.25) 36px
    ),
    linear-gradient(180deg, #fffdf9 0%, #fff8f2 100%);
  border: 1.5px solid var(--gold-300);
  border-radius: 18px;
  padding: 36px 38px 28px;
  text-align: left;
  box-shadow:
    0 20px 44px rgba(102, 70, 63, 0.11),
    0 0 0 5px rgba(255, 255, 255, 0.6);
}

.letter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--gold-400);
}

.letter-hearts {
  color: var(--blush-500);
  font-size: 0.92rem;
}

.letter-date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--cocoa-900);
  font-weight: 700;
  font-size: 1.15rem;
}

.letter-greeting {
  font-family: "Great Vibes", cursive;
  font-size: 2.1rem;
  color: var(--cocoa-900);
  margin-bottom: 10px;
  min-height: 28px;
}

.letter-body {
  font-size: 1rem;
  line-height: 36px;
  color: var(--cocoa-700);
  white-space: pre-wrap;
  min-height: 288px; /* Clean 8-line blank writing space */
}

.letter-closing {
  margin-top: 16px;
  text-align: right;
  font-family: "Great Vibes", cursive;
  font-size: 1.9rem;
  color: var(--cocoa-900);
  min-height: 30px;
}

.letter-footer-actions {
  margin-top: 20px;
  text-align: center;
}

/* Editorial Footer */
.site-footer {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(212, 163, 98, 0.35);
}

.footer-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--cocoa-900);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 0.9rem;
  color: var(--cocoa-500);
  margin-bottom: 20px;
}

/* ---------------- Buttons & Scroll Cue ---------------- */
.btn-primary,
.btn-secondary,
.btn-chip {
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blush-400), var(--blush-500));
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  box-shadow: 0 10px 24px rgba(214, 113, 144, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(214, 113, 144, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--cocoa-700);
  border: 1px solid var(--gold-300);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 22px;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--cocoa-900);
}

.btn-chip {
  background: var(--cream-50);
  color: var(--cocoa-700);
  border: 1px solid var(--gold-300);
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-chip:hover {
  background: var(--gold-100);
  color: var(--cocoa-900);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--cocoa-500);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.scroll-cue:hover {
  color: var(--blush-600);
}

.scroll-arrow {
  font-size: 1.1rem;
  color: var(--blush-500);
  animation: bounceDown 1.7s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(75, 49, 44, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-300);
  background: var(--cream-50);
  color: var(--cocoa-900);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-content {
  background: var(--cream-50);
  padding: 14px 14px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--gold-300);
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-content p {
  margin-top: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  color: var(--cocoa-900);
  font-size: 1.2rem;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-meta {
    align-items: center;
  }

  .hero-countdown {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .details-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .detail-col {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 10px 14px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-step {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .nav-cta {
    display: none;
  }

  .section-inner {
    padding: 58px 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .letter-paper {
    padding: 26px 20px;
  }

  .details-bg-collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
}

/* Ensure fairy wand cursor stays active on interactive controls */
a, button, .polaroid, .gift-box, .envelope, .scratch-canvas, .nav-step, .nav-brand, .nav-cta, .scroll-cue {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M13 13 L29 29' stroke='%23b85374' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M13 13 L29 29' stroke='%23fff8eb' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M10 1 L12.4 7 L19 7.4 L13.8 11.3 L15.5 17.6 L10 13.8 L4.5 17.6 L6.2 11.3 L1 7.4 L7.6 7 Z' fill='%23f7cf73' stroke='%23b38042' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='9.8' r='2' fill='%23ffffff'/%3E%3Ccircle cx='21.5' cy='4' r='1.5' fill='%23d67190'/%3E%3Ccircle cx='4' cy='21.5' r='1.4' fill='%23e8c68e'/%3E%3C/svg%3E") 10 10, pointer;
}
