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

/* ══════════════════════════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════════════════════════ */
:root {
  --ink:         #17111f;
  --plum:        #32183e;
  --plum-light:  #4a2460;
  --rose:        #ef6f91;
  --rose-deep:   #c94e72;
  --coral:       #ff8a63;
  --honey:       #f2bf4b;
  --honey-dark:  #c9940d;
  --cream:       #fff8ec;
  --paper:       #fffdf8;
  --sage:        #91b98d;
  --jade:        #1f7a68;
  --sky:         #74b9cf;
  --lilac:       #c8a4d4;
  --midnight:    #0e0818;

  --f-display: 'Cinzel', Georgia, serif;
  --f-serif:   'Cormorant Garamond', Georgia, serif;
  --f-script:  'Pinyon Script', 'Brush Script MT', cursive;
  --f-grand:   'Great Vibes', cursive;
  --f-sans:    'Montserrat', 'Segoe UI', Arial, sans-serif;

  --shadow:    0 24px 70px rgba(22,13,32,.28);
  --shadow-sm: 0 8px 28px  rgba(22,13,32,.16);
  --shadow-lg: 0 48px 120px rgba(22,13,32,.38);
  --glow-rose: 0 0 30px rgba(239,111,145,.35);
  --glow-honey:0 0 30px rgba(242,191,75,.35);
  --glow-sky:  0 0 30px rgba(116,185,207,.3);

  --ease-out:    cubic-bezier(.215,.61,.355,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-in-out: cubic-bezier(.76,0,.24,1);
}

/* ══════════════════════════════════════════════════════════════
   RESET & GLOBAL
══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  min-height: 100dvh; overflow-x: hidden;
  color: var(--ink); font-family: var(--f-sans);
  font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: var(--cream);
}
button, input, textarea { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Selection color */
::selection { background: rgba(242,191,75,.28); color: var(--plum); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--honey), var(--rose));
  border-radius: 99px;
}

/* ══════════════════════════════════════════════════════════════
   BACKGROUND SYSTEM
══════════════════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: -3;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(255,138,99,.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 90% 80%, rgba(116,185,207,.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(242,191,75,.07) 0%, transparent 60%),
    linear-gradient(160deg, #fff8ec 0%, #fdf0f3 40%, #f0f8f5 100%);
}

/* Scroll progress bar */
.scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 100;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--honey), var(--rose), var(--sky));
  border-radius: 0 99px 99px 0;
  transition: width .08s linear;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   PAGE TRANSITIONS
══════════════════════════════════════════════════════════════ */
body.is-leaving { animation: pageLeave .3s ease forwards; }
@keyframes pageLeave { to { opacity: 0; transform: translateY(12px) scale(.99); } }

/* ══════════════════════════════════════════════════════════════
   MAGIC CANVAS
══════════════════════════════════════════════════════════════ */
.magic-canvas {
  position: fixed; inset: 0; z-index: 2;
  width: 100%; height: 100%; pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════════ */
.page-shell { position: relative; z-index: 3; min-height: 100vh; }
.section { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end; gap: 22px;
  margin-bottom: 34px;
}

/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--f-serif);
  line-height: 1.0; letter-spacing: -.01em;
}
h1 { font-size: clamp(3.8rem, 10.5vw, 9.6rem); font-weight: 300; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.5vw, 5.2rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.8vw, 2.1rem); font-weight: 400; }

.script {
  font-family: var(--f-script); font-size: clamp(2rem, 7vw, 5.2rem);
  font-weight: 400; line-height: 1.1;
}
.grand {
  font-family: var(--f-grand); font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}
.display {
  font-family: var(--f-display); letter-spacing: .04em;
}

/* Eyebrow / Kicker */
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--f-sans);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.section-kicker {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 11px;
  font-family: var(--f-sans); font-size: .74rem;
  font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--jade);
}
.section-kicker::before {
  content: '';
  display: inline-block; width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--honey), var(--rose));
  border-radius: 1px; flex-shrink: 0;
}
.section-copy {
  max-width: 640px; margin: 16px 0 0;
  font-family: var(--f-serif); font-size: clamp(1.05rem,1.9vw,1.3rem);
  font-weight: 300; line-height: 1.82;
  color: rgba(23,17,31,.68);
}
.quote-line {
  margin-top: 28px; padding-left: 20px;
  border-left: 3px solid var(--honey);
  font-family: var(--f-grand); font-size: clamp(1.65rem,3.2vw,2.65rem);
  color: var(--plum); line-height: 1.3;
}

/* Animated gradient heading utility */
.gradient-text {
  background: linear-gradient(135deg, var(--honey) 0%, var(--rose) 45%, var(--sky) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 5s ease-in-out infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 16px; left: 50%;
  z-index: 30; transform: translateX(-50%);
  width: min(calc(100% - 28px), 1040px);
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px;
  color: var(--paper);
  background: rgba(12,6,22,.7);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 16px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.07);
  animation: navSlideIn .6s var(--ease-out) both;
}
@keyframes navSlideIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; white-space: nowrap;
  font-family: var(--f-sans); font-size: .76rem;
  font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.brand-mark, .nav-icon, .button-icon, .music-icon {
  width: 20px; height: 20px; flex: 0 0 auto;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.brand-mark { color: var(--honey); fill: rgba(242,191,75,.12); }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 0 13px;
  border-radius: 9px;
  color: rgba(255,255,255,.68); text-decoration: none;
  font-family: var(--f-sans); font-size: .79rem; font-weight: 400;
  letter-spacing: .04em;
  transition: color .2s, background .2s, transform .25s var(--ease-spring);
}
.nav-link:hover { color: var(--paper); background: rgba(255,255,255,.12); transform: translateY(-1px); }
.nav-link.is-active { color: var(--honey); background: rgba(242,191,75,.1); }

/* ══════════════════════════════════════════════════════════════
   MUSIC TOGGLE
══════════════════════════════════════════════════════════════ */
.music-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 32;
  display: grid; width: 52px; height: 52px; place-items: center;
  color: rgba(255,255,255,.78);
  background: rgba(12,6,22,.78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  transition: color .25s, transform .3s var(--ease-spring), box-shadow .3s;
}
.music-toggle:hover { transform: scale(1.12); }
.music-toggle.is-playing {
  color: var(--honey);
  box-shadow: 0 0 0 2px rgba(242,191,75,.3), var(--glow-honey), 0 8px 24px rgba(0,0,0,.3);
  animation: musicPulse 2.2s ease-in-out infinite;
}
@keyframes musicPulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(242,191,75,.3), 0 0 18px rgba(242,191,75,.25), 0 8px 24px rgba(0,0,0,.3); }
  50%     { box-shadow: 0 0 0 7px rgba(242,191,75,.1), 0 0 32px rgba(242,191,75,.3),  0 8px 24px rgba(0,0,0,.3); }
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 48px; padding: 0 24px;
  color: var(--ink); background: var(--paper);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 10px; font-family: var(--f-sans);
  font-weight: 500; font-size: .86rem; letter-spacing: .04em;
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  transition: transform .22s var(--ease-spring), box-shadow .22s, filter .22s;
  position: relative; overflow: hidden; text-decoration: none;
}
.button::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.25) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.button:hover { transform: translateY(-3px); }
.button:hover::after { opacity: 1; }
.button:active { transform: translateY(-1px); }

.button.honey {
  background: linear-gradient(135deg, #f5ca5c, var(--honey), #d4a012);
  color: var(--ink);
}
.button.honey:hover { box-shadow: 0 0 28px rgba(242,191,75,.45), 0 20px 42px rgba(0,0,0,.22); }

.button.rose {
  background: linear-gradient(135deg, #f47fa0, var(--rose), var(--rose-deep));
  color: #fff;
}
.button.rose:hover { box-shadow: 0 0 28px rgba(239,111,145,.45), 0 20px 42px rgba(0,0,0,.22); }

.button.secondary {
  color: var(--paper); background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
}
.button.secondary:hover { background: rgba(255,255,255,.18); }

/* ══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .55s; }
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   HERO (home page)
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  isolation: isolate; color: var(--paper); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(1.1) contrast(1.02);
  transform: scale(1.06);
  animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  to { transform: scale(1.14) translate3d(-2.5%, -1.5%, 0); }
}
/* Layered gradient overlay */
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,5,20,.88) 0%, rgba(10,5,20,.24) 55%, rgba(10,5,20,.72) 100%),
    linear-gradient(0deg, rgba(10,5,20,.9) 0%, transparent 40%, rgba(10,5,20,.2) 100%);
}
/* Subtle grain texture over hero */
.hero-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .4;
}

.hero-inner {
  position: relative; z-index: 3;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 96px; padding-bottom: 52px;
}
.hero-copy-wrap { max-width: 780px; }

.hero-lede {
  max-width: 620px; margin: 18px 0 0;
  font-family: var(--f-serif); font-size: clamp(1.1rem, 2.1vw, 1.48rem);
  font-weight: 300; line-height: 1.74; text-wrap: balance;
  color: rgba(255,255,255,.82);
}
.hero-actions, .action-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px;
}

/* Countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, minmax(74px,1fr));
  gap: 10px; width: min(440px,100%); margin-top: 32px;
}
.time-box {
  min-height: 86px; display: grid; place-items: center; padding: 10px;
  color: var(--paper); border-radius: 12px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(16px);
  transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.time-box:hover {
  transform: translateY(-3px);
  border-color: rgba(242,191,75,.5);
  box-shadow: var(--glow-honey);
}
.time-box strong {
  display: block;
  font-family: var(--f-display); font-size: clamp(1.7rem,4vw,2.6rem); font-weight: 600;
  background: linear-gradient(135deg, #fff 40%, var(--honey) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.time-box span {
  display: block; margin-top: 3px; color: rgba(255,255,255,.55);
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
}
.countdown.is-here .time-box strong {
  background: linear-gradient(135deg, var(--honey), var(--rose));
  -webkit-background-clip: text; background-clip: text;
}

/* Love counter */
.love-counter {
  display: inline-flex; align-items: center; gap: 11px;
  margin-top: 20px; padding: 10px 20px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  border-radius: 40px; backdrop-filter: blur(14px);
  color: rgba(255,255,255,.78);
  font-family: var(--f-sans); font-size: .8rem; font-weight: 300;
  letter-spacing: .04em;
}
.love-counter strong {
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 600;
  color: var(--honey);
}
.love-counter-heart {
  animation: heartBeat 1.5s ease-in-out infinite;
}
@keyframes heartBeat {
  0%,100% { transform: scale(1); }
  14%     { transform: scale(1.3); }
  28%     { transform: scale(1.1); }
  42%     { transform: scale(1.24); }
}

/* Hero ribbon */
.hero-ribbon {
  display: flex; gap: 12px;
  width: min(600px,100%); margin-top: 40px; perspective: 900px;
}
.ribbon-photo {
  position: relative; flex: 1;
  min-height: clamp(100px,16vw,168px);
  overflow: hidden; border-radius: 9px;
  border: 2px solid rgba(255,255,255,.28);
  box-shadow: 0 20px 50px rgba(0,0,0,.38);
  transform: rotate(var(--tilt));
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.ribbon-photo:hover {
  transform: rotate(0deg) scale(1.05) translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  z-index: 2;
}
.ribbon-photo img { width: 100%; height: 100%; object-fit: cover; }
.ribbon-photo:nth-child(2) { translate: 0 20px; }
.ribbon-photo:nth-child(3) { translate: 0 -10px; }

/* ══════════════════════════════════════════════════════════════
   TICKER STRIP
══════════════════════════════════════════════════════════════ */
.ticker-strip {
  overflow: hidden; background: linear-gradient(90deg, var(--honey), var(--rose), var(--sky), var(--honey));
  background-size: 400% 100%; animation: tickerGrad 8s ease infinite;
  padding: 11px 0; position: relative; z-index: 3;
}
@keyframes tickerGrad { 0%,100%{background-position:0%} 50%{background-position:100%} }
.ticker-inner {
  display: flex; gap: 0; width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-inner span {
  display: inline-block; padding: 0 28px;
  font-family: var(--f-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; opacity: .85;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════════
   FEATURE CARDS
══════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  padding: clamp(54px,9vw,100px) 0;
}
.feature-card {
  min-height: 280px; display: flex; flex-direction: column;
  justify-content: space-between; padding: 20px;
  overflow: hidden; color: var(--paper); background: var(--plum);
  border-radius: 14px; text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative; isolation: isolate;
  transition: transform .32s var(--ease-spring), box-shadow .32s;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(242,191,75,.12), rgba(239,111,145,.1));
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .7; transition: transform .5s ease, opacity .3s;
}
.feature-card:hover img { transform: scale(1.08); opacity: .82; }
.feature-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,5,20,.06), rgba(10,5,20,.86));
}
.feature-card span {
  width: max-content; max-width: 100%; padding: 6px 11px;
  color: var(--ink); background: rgba(255,253,248,.9);
  border-radius: 7px; font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.feature-card h3 { color: var(--paper); font-size: clamp(1.4rem,2.6vw,2.1rem); line-height: 1.08; }

/* ══════════════════════════════════════════════════════════════
   STORY STRIP
══════════════════════════════════════════════════════════════ */
.story-strip {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 28px; align-items: center;
  padding: clamp(54px,9vw,100px) 0;
}
.story-image {
  min-height: 560px; overflow: hidden;
  border-radius: 14px; box-shadow: var(--shadow);
  position: relative;
}
.story-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,5,20,.18));
  pointer-events: none;
}
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-in-out);
}
.story-image:hover img { transform: scale(1.04); }
.story-text { padding: clamp(12px,3vw,32px); }
.story-text p {
  font-family: var(--f-serif); font-size: clamp(1.05rem,1.9vw,1.28rem);
  font-weight: 300; line-height: 1.84; color: rgba(23,17,31,.72);
}
.story-text p + p { margin-top: 14px; }

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (sub-pages)
══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; min-height: 62vh;
  display: flex; align-items: flex-end;
  padding: 120px 0 56px;
  color: var(--paper); overflow: hidden;
}
.page-hero > img, .page-hero .hero-bg {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: heroDrift 28s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(0deg, rgba(10,5,20,.9) 0%, rgba(10,5,20,.38) 50%, rgba(10,5,20,.18) 100%),
    linear-gradient(90deg, rgba(10,5,20,.5) 0%, transparent 60%);
}
.page-hero-inner {
  position: relative; z-index: 1;
  width: min(1080px,calc(100% - 32px)); margin: 0 auto;
}
.page-hero-inner h1 {
  font-size: clamp(3rem, 8vw, 7rem); font-weight: 300;
  text-shadow: 0 4px 32px rgba(0,0,0,.5);
}
.page-hero-inner p {
  max-width: 560px; margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-family: var(--f-serif); font-size: clamp(1.05rem,2vw,1.35rem);
  font-weight: 300;
}
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.45); font-size: .65rem; letter-spacing: .2em;
  text-transform: uppercase; animation: scrollBounce 2.4s ease-in-out infinite;
}
.scroll-hint svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: .45; }
  50%     { transform: translateX(-50%) translateY(8px); opacity: .8; }
}

/* ══════════════════════════════════════════════════════════════
   GALLERY (memories)
══════════════════════════════════════════════════════════════ */
.gallery-section { padding: clamp(54px,9vw,100px) 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  grid-auto-rows: 240px;
  gap: 14px;
}
/* Make some cards taller for masonry feel */
.gallery-grid .memory-card:nth-child(1),
.gallery-grid .memory-card:nth-child(6),
.gallery-grid .memory-card:nth-child(11) { grid-row: span 2; }

.memory-card {
  display: grid; overflow: hidden;
  border-radius: 14px; background: var(--plum);
  color: var(--paper); box-shadow: var(--shadow-sm);
  position: relative; isolation: isolate;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  cursor: pointer; border: none; text-align: left; padding: 0;
}
.memory-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow); }
.memory-card.is-hidden { display: none; }
.memory-card > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .75; transition: transform .5s ease, opacity .3s;
}
.memory-card:hover > img { transform: scale(1.07); opacity: .88; }
.memory-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,5,20,.9) 0%, rgba(10,5,20,.24) 55%, transparent 80%);
}
.memory-card-content {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; align-self: end;
}
.memory-card-content .tag {
  display: inline-block; width: max-content; padding: 4px 9px;
  margin-bottom: 7px; backdrop-filter: blur(8px);
  background: rgba(255,253,248,.16); border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px; font-size: .67rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.memory-card-content h3 {
  font-family: var(--f-serif); font-size: clamp(1.05rem,2.2vw,1.55rem);
  font-weight: 400; color: var(--paper); line-height: 1.12; margin-bottom: 4px;
}
.memory-card-content p {
  font-family: var(--f-serif); font-size: .85rem; font-weight: 300;
  color: rgba(255,255,255,.62); line-height: 1.45;
}

/* Filter buttons */
.segmented { display: flex; gap: 4px; flex-wrap: wrap; }
.segmented button {
  padding: 7px 15px;
  border: 1px solid rgba(23,17,31,.18);
  border-radius: 9px; background: transparent;
  font-size: .77rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(23,17,31,.62);
  transition: all .22s;
}
.segmented button.is-active, .segmented button:hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

/* ══════════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center; padding: 20px;
  background: rgba(10,5,20,.9);
  backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-panel {
  display: grid; grid-template-columns: 1.15fr .85fr;
  width: min(1000px,100%); max-height: calc(100dvh - 40px);
  overflow: hidden; border-radius: 18px;
  background: rgba(16,9,28,.94);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 60px 140px rgba(0,0,0,.7);
  animation: modalIn .38s var(--ease-spring);
}
@keyframes modalIn { from { transform: scale(.88) translateY(20px); opacity: 0; } }
.modal-image { position: relative; min-height: 440px; overflow: hidden; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-copy {
  padding: clamp(28px,5vw,52px);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  color: var(--paper);
}
.modal-copy .tag {
  display: inline-block; width: max-content;
  padding: 5px 11px;
  background: rgba(242,191,75,.14); border: 1px solid rgba(242,191,75,.28);
  border-radius: 6px; color: var(--honey);
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.modal-copy h3 {
  font-family: var(--f-serif); font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 400; line-height: 1.1;
}
.modal-copy p {
  font-family: var(--f-serif); font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,.7); line-height: 1.82;
}
.modal-close, .modal-prev, .modal-next {
  position: absolute; z-index: 5;
  display: grid; place-items: center;
  background: rgba(10,5,20,.68); border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%; color: var(--paper);
  width: 40px; height: 40px;
  backdrop-filter: blur(10px);
  transition: background .2s, transform .25s var(--ease-spring);
}
.modal-close:hover, .modal-prev:hover, .modal-next:hover { background: rgba(10,5,20,.9); transform: scale(1.1); }
.modal-close { top: 14px; right: 14px; }
.modal-prev  { bottom: 14px; right: 62px; }
.modal-next  { bottom: 14px; right: 14px; }

/* ══════════════════════════════════════════════════════════════
   GARDEN
══════════════════════════════════════════════════════════════ */
.garden-layout {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 28px; align-items: start;
  padding: clamp(54px,9vw,100px) 0;
}
.garden-panel {
  position: sticky; top: 90px;
  padding: clamp(24px,4vw,40px);
  background: rgba(255,253,248,.85);
  border: 1px solid rgba(23,17,31,.09);
  border-radius: 18px; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.progress-wrap { margin-top: 18px; margin-bottom: 22px; }
.progress-label {
  display: flex; justify-content: space-between;
  margin-bottom: 8px; font-size: .76rem; font-weight: 500;
  color: rgba(23,17,31,.6); letter-spacing: .04em;
}
.progress {
  height: 7px; background: rgba(23,17,31,.08);
  border-radius: 99px; overflow: hidden;
}
.progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--jade), var(--honey), var(--rose));
  border-radius: 99px;
  transition: width .65s var(--ease-out);
  box-shadow: 0 0 14px rgba(242,191,75,.45);
}
.note-panel {
  margin-top: 22px; padding: 18px;
  background: linear-gradient(135deg, rgba(242,191,75,.1), rgba(239,111,145,.07));
  border: 1px solid rgba(242,191,75,.22);
  border-radius: 14px;
}
.note-panel h3 {
  font-family: var(--f-grand); font-size: 1.75rem;
  color: var(--plum); line-height: 1.2; margin-bottom: 8px;
}
.note-panel p {
  font-family: var(--f-serif); font-size: 1rem; font-weight: 300;
  color: rgba(23,17,31,.7); line-height: 1.75;
}

.garden-bed {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px; min-height: 480px;
}
.bee-lane { grid-column: 1/-1; height: 36px; position: relative; margin-bottom: 4px; }
.bee {
  position: absolute; font-size: 1.1rem;
  animation: beeFly 12s linear infinite;
}
.bee:nth-child(1) { animation-delay:  0s; top: 4px; }
.bee:nth-child(2) { animation-delay: -4s; top: 14px; }
.bee:nth-child(3) { animation-delay: -8s; top: 6px; }
@keyframes beeFly {
  0%   { left: -8%;  transform: scaleX(1)  translateY(0); }
  49%  {              transform: scaleX(1)  translateY(-8px); }
  50%  { left: 108%; transform: scaleX(-1) translateY(-8px); }
  51%  {              transform: scaleX(-1) translateY(-8px); }
  99%  { left: -8%;  transform: scaleX(-1) translateY(0); }
  100% {              transform: scaleX(1)  translateY(0); }
}

.wish-flower {
  min-height: 142px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  padding: 16px 12px;
  border: 1px solid rgba(23,17,31,.1); border-radius: 14px;
  background: rgba(255,253,248,.8);
  box-shadow: var(--shadow-sm);
  font-family: var(--f-sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .04em; color: rgba(23,17,31,.7);
  transition: transform .3s var(--ease-spring), box-shadow .3s, background .3s, border-color .3s;
  backdrop-filter: blur(8px);
}
.wish-flower small { font-size: .65rem; font-weight: 400; color: rgba(23,17,31,.45); letter-spacing: .07em; }
.wish-flower:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow); }
.wish-flower.is-open {
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,248,236,.9));
  border-color: rgba(242,191,75,.5);
  box-shadow: var(--glow-honey), var(--shadow-sm);
}

.flower-shape {
  display: block; width: 48px; height: 48px; position: relative;
}
.flower-shape::before {
  content: '';
  position: absolute; width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,.75), var(--petal, #ef6f91));
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  transition: transform .4s var(--ease-spring), filter .3s;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
.wish-flower.is-open .flower-shape::before {
  transform: scale(1.22) rotate(40deg);
  filter: drop-shadow(0 4px 12px var(--petal, #ef6f91));
}
.flower-center {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #fff 40%, var(--honey) 100%);
  transform: translate(-50%,-50%);
  box-shadow: 0 0 10px rgba(242,191,75,.7);
}

/* ══════════════════════════════════════════════════════════════
   LETTER
══════════════════════════════════════════════════════════════ */
.letter-layout {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: 28px; align-items: start;
  padding: clamp(54px,9vw,100px) 0;
}
.letter-cover {
  padding: clamp(28px,4vw,44px);
  background: rgba(255,253,248,.88);
  border: 1px solid rgba(23,17,31,.09);
  border-radius: 18px; box-shadow: var(--shadow-sm);
  text-align: center; backdrop-filter: blur(14px);
}
.seal {
  display: grid; width: 96px; height: 96px; place-items: center;
  margin: 0 auto 20px;
  color: var(--paper);
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.25), transparent 28%),
    conic-gradient(from 0deg, #c94e72, var(--rose), #f47fa0, #c94e72);
  border: 3px solid rgba(255,255,255,.5);
  border-radius: 50%; box-shadow: 0 18px 48px rgba(83,20,48,.42), var(--glow-rose);
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.seal:hover {
  transform: scale(1.08) rotate(-8deg);
  box-shadow: 0 28px 70px rgba(83,20,48,.55), 0 0 40px rgba(239,111,145,.45);
}
.seal svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.letter-paper {
  max-height: 700px; overflow-y: auto;
  padding: clamp(30px,5vw,58px);
  background:
    repeating-linear-gradient(transparent, transparent 29px, rgba(116,185,207,.12) 29px, rgba(116,185,207,.12) 30px),
    linear-gradient(90deg, rgba(239,111,145,.06) 0%, transparent 4%, transparent 96%, rgba(242,191,75,.05) 100%),
    var(--paper);
  border: 1px solid rgba(23,17,31,.1);
  border-radius: 14px; box-shadow: var(--shadow);
  scrollbar-width: thin;
}
.letter-paper.is-locked .letter-content {
  filter: blur(7px); opacity: .28; user-select: none;
  transition: filter .5s, opacity .5s;
}
.letter-paper h2 { font-family: var(--f-grand); font-size: clamp(2rem,4vw,3rem); color: var(--plum); }
.letter-content {
  margin-top: 22px; font-family: var(--f-serif);
  font-size: clamp(1.04rem,1.8vw,1.2rem); font-weight: 300;
  color: rgba(23,17,31,.8); line-height: 1.9;
}
.typed-text { white-space: pre-line; }
.typed-cursor {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--rose); vertical-align: text-bottom;
  animation: cursorBlink .9s step-end infinite;
}
@keyframes cursorBlink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }
.signature {
  margin-top: 38px;
  font-family: var(--f-grand); font-size: clamp(2rem,5vw,3.4rem);
  color: var(--rose);
}

/* Promise grid */
.promise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.promise-tile {
  min-height: 200px; padding: 24px;
  background: rgba(255,253,248,.84); border: 1px solid rgba(23,17,31,.08);
  border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  position: relative; overflow: hidden;
}
.promise-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--honey), var(--rose), var(--sky));
  opacity: 0; transition: opacity .3s;
}
.promise-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.promise-tile:hover::before { opacity: 1; }
.promise-tile .tag {
  display: inline-block; padding: 4px 10px; margin-bottom: 12px;
  background: rgba(239,111,145,.1); border-radius: 5px;
  color: var(--rose-deep); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.promise-tile h3 {
  font-family: var(--f-serif); font-size: clamp(1.1rem,2vw,1.5rem);
  font-weight: 400; color: var(--plum); margin: 0 0 10px; line-height: 1.25;
}
.promise-tile p {
  font-family: var(--f-serif); font-size: .96rem;
  font-weight: 300; color: rgba(23,17,31,.68); line-height: 1.72;
}

/* ══════════════════════════════════════════════════════════════
   FINALE (dark page)
══════════════════════════════════════════════════════════════ */
.finale-page {
  color: var(--paper);
  background: linear-gradient(148deg, rgba(10,5,20,.98), rgba(42,18,58,.95) 48%, rgba(15,50,36,.88)), var(--midnight);
}
.finale-page::before { display: none; }
.finale-page .site-nav { background: rgba(8,4,16,.75); }
.finale-page .section-kicker { color: var(--honey); }
.finale-page .section-kicker::before { background: linear-gradient(90deg, var(--honey), var(--rose)); }
.finale-page .section-copy { color: rgba(255,255,255,.68); }
.finale-page .quote-line { color: var(--honey); border-color: rgba(242,191,75,.3); }
.finale-page .footer { color: rgba(255,255,255,.45); border-top-color: rgba(255,255,255,.07); }
.finale-page h2 { color: var(--cream); }
.finale-page .story-text p { color: rgba(255,255,255,.74); }

/* ══════════════════════════════════════════════════════════════
   CONFETTI / FIREWORKS
══════════════════════════════════════════════════════════════ */
.firework-dot, .confetti {
  position: fixed; z-index: 80; pointer-events: none;
}
.firework-dot {
  width: 7px; height: 7px; border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
  animation: firework 880ms ease-out forwards;
}
@keyframes firework { to { transform: translate(var(--x),var(--y)) scale(.12); opacity: 0; } }
.confetti { width: 9px; height: 14px; animation: confetti 1100ms ease-out forwards; }
@keyframes confetti { to { transform: translate(var(--x),var(--y)) rotate(640deg); opacity: 0; } }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  width: min(1140px,calc(100% - 32px)); margin: 0 auto;
  padding: 40px 0 54px;
  font-family: var(--f-sans); font-size: .86rem;
  color: rgba(23,17,31,.5);
  border-top: 1px solid rgba(23,17,31,.08);
}
.footer-heart { color: var(--rose); animation: heartBeat 1.5s ease-in-out infinite; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════════════════════ */
@media (max-width: 940px) {
  /* Nav: still horizontal pill on tablet */
  .site-nav { flex-direction: row; align-items: center; padding: 7px 10px 7px 14px; }
  .nav-links { gap: 2px; }
  .hero-inner { padding-top: 130px; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 220px; }
  .story-strip, .garden-layout, .letter-layout { grid-template-columns: 1fr; }
  .modal-panel { grid-template-columns: 1fr; overflow-y: auto; max-height: 92dvh; }
  .modal-image { min-height: 260px; max-height: 40dvh; }
  .garden-panel { position: static; }
  .garden-bed { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .promise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-image { min-height: 380px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* ── Mobile nav: compact pill top, icons only ── */
  .site-nav {
    top: 10px; padding: 6px 6px 6px 12px;
    width: calc(100% - 20px);
    flex-direction: row; align-items: center;
    gap: 4px;
  }
  .brand span { display: none; }
  .brand { gap: 0; }
  .nav-links { gap: 0; }
  .nav-link { min-width: 40px; min-height: 40px; padding: 0 8px; border-radius: 8px; }
  .nav-link span { display: none; }

  /* ── Bottom mobile tab bar ── */
  .mobile-tabs {
    display: flex !important;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 35;
    background: rgba(12,6,22,.9);
    border-top: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(24px);
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
    gap: 0;
  }
  .mobile-tab {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    padding: 6px 4px; min-height: 54px;
    color: rgba(255,255,255,.5); text-decoration: none;
    font-family: var(--f-sans); font-size: .58rem;
    letter-spacing: .06em; text-transform: uppercase;
    transition: color .2s;
  }
  .mobile-tab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-tab.is-active, .mobile-tab:hover { color: var(--honey); }

  /* ── Music toggle moves up to avoid tab bar ── */
  .music-toggle { bottom: 76px; right: 14px; width: 44px; height: 44px; }

  /* ── Hero ── */
  .hero { align-items: flex-end; }
  .hero-inner { padding-top: 80px; padding-bottom: 90px; }
  .hero-ribbon { display: none; }
  h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  h2 { font-size: clamp(1.8rem, 7vw, 3rem); }
  .hero-lede { font-size: 1rem; }

  /* ── Countdown ── */
  .countdown { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; }
  .time-box { min-height: 74px; }
  .time-box strong { font-size: 1.9rem; }

  /* ── Love counter ── */
  .love-counter { font-size: .76rem; padding: 8px 14px; }

  /* ── Ticker ── */
  .ticker-inner span { font-size: .7rem; padding: 0 18px; }

  /* ── Feature grid ── */
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card { min-height: 200px; }

  /* ── Gallery ── */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 10px; }
  .gallery-grid .memory-card:nth-child(1),
  .gallery-grid .memory-card:nth-child(6),
  .gallery-grid .memory-card:nth-child(11) { grid-row: span 1; }

  /* ── Story ── */
  .story-strip { gap: 0; }
  .story-image { min-height: 300px; border-radius: 14px 14px 0 0; }
  .story-text { padding: 24px 20px 32px; background: var(--paper); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-sm); }

  /* ── Garden ── */
  .garden-layout { gap: 16px; }
  .garden-bed { grid-template-columns: repeat(2,minmax(0,1fr)); min-height: auto; gap: 10px; }
  .wish-flower { min-height: 118px; }

  /* ── Letter ── */
  .letter-layout { gap: 16px; }
  .letter-cover { text-align: left; }
  .seal { width: 72px; height: 72px; }
  .seal svg { width: 36px; height: 36px; }
  .letter-paper { max-height: 500px; }
  .promise-grid { grid-template-columns: 1fr; }

  /* ── Modal (full screen on mobile) ── */
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel {
    border-radius: 20px 20px 0 0; width: 100%;
    max-height: 92dvh; overflow-y: auto;
    grid-template-columns: 1fr;
    animation: modalSlideUp .38s var(--ease-spring);
  }
  @keyframes modalSlideUp { from { transform: translateY(100%); } }
  .modal-image { min-height: 220px; max-height: 36dvh; }
  .modal-close { position: fixed; top: 12px; right: 12px; }
  .modal-prev, .modal-next { position: relative; bottom: auto; right: auto; }

  /* ── Section head ── */
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-copy { font-size: 1rem; }

  /* ── Page hero ── */
  .page-hero { min-height: 55dvh; padding: 90px 0 52px; }
  .page-hero-inner h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
  .page-hero-inner p { font-size: 1rem; }

  /* ── Body padding for tab bar ── */
  body { padding-bottom: 66px; }
  .finale-page body { padding-bottom: 66px; }

  /* ── Buttons ── */
  .button { min-height: 50px; font-size: .88rem; }
}

/* ══════════════════════════════════════════════════════════════
   JOURNEY FLOW — NEXT STOP SECTION
══════════════════════════════════════════════════════════════ */

/* Chapter step badge (inside page-hero) */
.chapter-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding: 6px 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px; backdrop-filter: blur(10px);
  font-family: var(--f-sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.chapter-badge .ch-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--honey); box-shadow: 0 0 8px var(--honey);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(.7);} }

/* Journey progress dots */
.journey-dots {
  display: flex; gap: 6px; align-items: center; margin-bottom: 18px;
}
.journey-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.3);
  transition: background .3s, transform .3s;
}
.journey-dot.done { background: var(--honey); border-color: var(--honey); box-shadow: 0 0 8px rgba(242,191,75,.6); }
.journey-dot.current {
  background: var(--rose); border-color: var(--rose); transform: scale(1.4);
  box-shadow: 0 0 8px rgba(239,111,145,.6);
  animation: dotPulse 1.8s ease-in-out infinite;
}

/* Next stop card */
.next-stop {
  position: relative; overflow: hidden;
  min-height: clamp(320px, 50vw, 500px);
  display: flex; align-items: center; justify-content: flex-start;
  color: var(--paper); margin-top: clamp(40px,7vw,72px);
}
.next-stop-bg {
  position: absolute; inset: 0; z-index: 0;
}
.next-stop-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.next-stop:hover .next-stop-bg img { transform: scale(1.08); }
.next-stop-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,5,20,.9) 0%, rgba(10,5,20,.45) 55%, rgba(10,5,20,.65) 100%),
    linear-gradient(0deg, rgba(10,5,20,.6) 0%, transparent 40%);
}
.next-stop-inner {
  position: relative; z-index: 2;
  width: min(1140px, calc(100% - 32px)); margin: 0 auto;
  padding: clamp(28px,5vw,56px) 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.next-stop-label {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--honey); display: flex; align-items: center; gap: 8px;
}
.next-stop-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--honey); border-radius: 1px; }
.next-stop h2 {
  font-family: var(--f-serif); font-size: clamp(2.2rem,6vw,5rem);
  font-weight: 300; color: var(--paper); line-height: 1.05; max-width: 640px;
}
.next-stop p {
  font-family: var(--f-serif); font-size: clamp(1rem,2vw,1.25rem);
  font-weight: 300; color: rgba(255,255,255,.75); max-width: 520px; line-height: 1.72;
}
.next-stop-arrow {
  display: flex; align-items: center; gap: 14px; margin-top: 8px;
}
.next-stop-arrow .button {
  min-height: 52px; padding: 0 28px; font-size: .9rem;
}
.next-stop-arrow .arrow-circle {
  display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3); border-radius: 50%;
  color: var(--paper); transition: all .3s var(--ease-spring);
}
.next-stop-arrow .arrow-circle:hover { border-color: var(--honey); color: var(--honey); transform: translateX(6px); }
.next-stop-arrow .arrow-circle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .next-stop { min-height: 280px; }
  .next-stop-inner { padding: 36px 0; }
  .next-stop h2 { font-size: clamp(1.8rem,7vw,3rem); }
}

/* Finale ending section */
.ending-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(48px,8vw,88px) clamp(16px,5vw,48px);
  gap: 16px;
  background: linear-gradient(135deg, rgba(242,191,75,.08), rgba(239,111,145,.07));
  border-top: 1px solid rgba(255,255,255,.08);
}
.ending-card .end-emoji { font-size: clamp(2.4rem,5vw,4rem); line-height: 1; }
.ending-card h2 { font-family: var(--f-grand); font-size: clamp(2.4rem,6vw,4.8rem); color: var(--honey); }
.ending-card p { font-family: var(--f-serif); font-size: clamp(1rem,2vw,1.3rem); font-weight: 300; color: rgba(255,255,255,.7); max-width: 520px; line-height: 1.8; }
.ending-card .action-row { justify-content: center; margin-top: 8px; }

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   MUSIC PLAYER BAR
══════════════════════════════════════════════════════════════ */
.music-player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 34;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 14px;
  background: rgba(10,5,20,.92);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(28px) saturate(1.4);
  transform: translateY(100%);
  transition: transform .4s var(--ease-spring);
}
.music-player.is-visible { transform: translateY(0); }

/* On mobile the tab bar sits on top, so player goes above */
@media (max-width: 640px) {
  .music-player { bottom: 66px; border-radius: 16px 16px 0 0; }
  body.player-open { padding-bottom: 136px; }
}
@media (min-width: 641px) {
  body.player-open { padding-bottom: 70px; }
  /* Hide the old floating toggle when player is showing */
  .music-toggle.hide-on-player { display: none; }
}

.player-cover {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, var(--rose), var(--honey));
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(239,111,145,.35);
}
.player-info { flex: 1; min-width: 0; }
.player-title {
  font-family: var(--f-sans); font-size: .82rem; font-weight: 600;
  color: var(--paper); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; line-height: 1.2;
}
.player-sub {
  font-family: var(--f-sans); font-size: .68rem; font-weight: 400;
  color: rgba(255,255,255,.5); margin-top: 2px; letter-spacing: .04em;
}
.player-progress {
  display: flex; flex-direction: column; gap: 4px; flex: 1.2; min-width: 0;
}
.player-bar {
  height: 3px; background: rgba(255,255,255,.15); border-radius: 99px;
  position: relative; cursor: pointer; overflow: visible;
}
.player-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--honey), var(--rose));
  width: 0%; transition: width .5s linear;
  position: relative;
}
.player-fill::after {
  content: ''; position: absolute; right: -4px; top: 50%;
  width: 9px; height: 9px; border-radius: 50%; background: var(--paper);
  transform: translateY(-50%); opacity: 0; transition: opacity .2s;
}
.player-bar:hover .player-fill::after { opacity: 1; }
.player-times {
  display: flex; justify-content: space-between;
  font-family: var(--f-sans); font-size: .6rem;
  color: rgba(255,255,255,.4); letter-spacing: .04em;
}

.player-controls { display: flex; align-items: center; gap: 6px; }
.player-btn {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: none; background: transparent;
  color: rgba(255,255,255,.65);
  transition: color .2s, background .2s, transform .2s var(--ease-spring);
}
.player-btn:hover { color: var(--paper); background: rgba(255,255,255,.1); }
.player-btn.play {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--honey), var(--rose));
  color: var(--ink); box-shadow: 0 0 20px rgba(242,191,75,.3);
}
.player-btn.play:hover { transform: scale(1.08); }
.player-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.player-btn.play svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }

.equalizer {
  display: flex; align-items: flex-end; gap: 2px; height: 18px; padding: 0 4px;
}
.eq-bar {
  width: 3px; border-radius: 2px;
  background: var(--honey);
  animation: eqDance 1s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1) { height: 6px;  animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 14px; animation-delay: .15s; }
.eq-bar:nth-child(3) { height: 9px;  animation-delay: .3s; }
.eq-bar:nth-child(4) { height: 16px; animation-delay: .1s; }
.eq-bar:nth-child(5) { height: 7px;  animation-delay: .25s; }
@keyframes eqDance {
  0%  { transform: scaleY(1); }
  100%{ transform: scaleY(.3); }
}
.equalizer.paused .eq-bar { animation-play-state: paused; }

/* ══════════════════════════════════════════════════════════════
   HERO CAROUSEL
══════════════════════════════════════════════════════════════ */
.hero-carousel { position: absolute; inset: 0; z-index: -3; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.06);
  animation: heroDrift 28s ease-in-out infinite alternate;
}
.carousel-dots {
  position: absolute; bottom: 110px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 4;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 99px;
  background: rgba(255,255,255,.35); border: none;
  transition: width .3s var(--ease-spring), background .3s;
  cursor: pointer;
}
.carousel-dot.is-active { width: 22px; background: var(--honey); }

/* ══════════════════════════════════════════════════════════════
   NOTE TO ANISHA
══════════════════════════════════════════════════════════════ */
.note-section {
  padding: clamp(54px,9vw,100px) 0;
}
.note-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 28px; align-items: center;
  background: rgba(255,253,248,.82);
  border: 1px solid rgba(23,17,31,.08);
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.note-photo {
  min-height: 420px; overflow: hidden; position: relative;
}
.note-photo img { width: 100%; height: 100%; object-fit: cover; }
.note-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255,253,248,.6));
}
.note-body {
  padding: clamp(28px,4vw,52px); padding-left: 12px;
}
.note-message {
  font-family: var(--f-serif); font-size: clamp(1.05rem,1.9vw,1.28rem);
  font-weight: 300; line-height: 1.9; color: rgba(23,17,31,.78);
  min-height: 4em;
}
.note-message .cursor { display: inline-block; width: 2px; height: 1em; background: var(--rose); vertical-align: text-bottom; animation: cursorBlink .9s step-end infinite; }
.note-sig {
  margin-top: 24px; display: flex; align-items: center; gap: 12px;
}
.note-sig-name { font-family: var(--f-grand); font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--plum); }
.note-sig-date { font-family: var(--f-sans); font-size: .72rem; font-weight: 400; color: rgba(23,17,31,.45); letter-spacing: .12em; }
@media (max-width: 640px) {
  .note-wrap { grid-template-columns: 1fr; }
  .note-photo { min-height: 260px; }
  .note-photo::after { background: linear-gradient(0deg, rgba(255,253,248,.7) 0%, transparent 40%); }
  .note-body { padding: 24px 20px 32px; padding-left: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   RAIN OVERLAY
══════════════════════════════════════════════════════════════ */
.rain-canvas {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0;
  transition: opacity 1s ease;
}
.rain-canvas.is-active { opacity: 1; }
.rain-toggle {
  position: fixed; left: 18px; bottom: 18px; z-index: 33;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,5,20,.75); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.65); backdrop-filter: blur(16px);
  font-size: 1.2rem; line-height: 1;
  box-shadow: 0 4px 18px rgba(0,0,0,.3);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.rain-toggle:hover { transform: scale(1.1); }
.rain-toggle.is-raining {
  color: var(--sky); border-color: rgba(116,185,207,.4);
  box-shadow: 0 0 20px rgba(116,185,207,.3), 0 4px 18px rgba(0,0,0,.3);
}
@media (max-width: 640px) { .rain-toggle { bottom: 80px; } }

/* ══════════════════════════════════════════════════════════════
   BUTTERFLIES
══════════════════════════════════════════════════════════════ */
.butterfly {
  position: fixed; z-index: 3; pointer-events: none;
  width: 36px; height: 36px;
  animation: butterflyFly linear infinite;
}
.butterfly svg { width: 100%; height: 100%; }
.bf-wing-l, .bf-wing-r {
  transform-origin: center;
  animation: wingFlap .45s ease-in-out infinite alternate;
}
.bf-wing-r { animation-direction: alternate-reverse; }
@keyframes wingFlap {
  0%  { transform: scaleX(1); }
  100%{ transform: scaleX(.15); }
}
@keyframes butterflyFly {
  0%   { transform: translate(var(--bx0), var(--by0)); opacity: 0; }
  8%   { opacity: var(--bopacity, .55); }
  92%  { opacity: var(--bopacity, .55); }
  100% { transform: translate(var(--bx1), var(--by1)); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   ENVELOPE ANIMATION (letter page)
══════════════════════════════════════════════════════════════ */
.envelope-wrap {
  perspective: 900px; width: 160px; margin: 0 auto 28px;
}
.envelope {
  width: 160px; height: 110px; position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
}
.env-body {
  width: 100%; height: 100%; background: linear-gradient(135deg, #fff5f8, var(--paper));
  border: 2px solid rgba(239,111,145,.35); border-radius: 4px 4px 8px 8px;
  position: absolute; inset: 0;
  box-shadow: 0 12px 36px rgba(239,111,145,.22);
}
.env-flap {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0; border-left: 80px solid transparent; border-right: 80px solid transparent;
  border-top: 56px solid #fde0e8;
  transform-origin: top center;
  transition: transform .7s var(--ease-in-out);
  filter: drop-shadow(0 4px 8px rgba(239,111,145,.15));
  z-index: 2;
}
.env-flap.is-open { transform: rotateX(-180deg); }
.env-seal-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 32px; height: 32px;
  background: conic-gradient(from 0deg, var(--rose-deep), var(--rose), var(--rose-deep));
  border-radius: 50%; display: grid; place-items: center;
  color: var(--paper); font-size: .9rem;
  box-shadow: 0 0 12px rgba(239,111,145,.4);
  transition: opacity .3s, transform .3s;
  z-index: 3;
}
.envelope.is-open .env-seal-icon { opacity: 0; transform: translate(-50%,-50%) scale(0); }
.env-lines {
  position: absolute; bottom: 18px; left: 22px; right: 22px;
  display: flex; flex-direction: column; gap: 5px;
}
.env-line { height: 2px; background: rgba(239,111,145,.18); border-radius: 1px; }

/* ══════════════════════════════════════════════════════════════
   WISH BOARD
══════════════════════════════════════════════════════════════ */
.wish-board-section { padding: clamp(48px,8vw,88px) 0; }
.wish-board-head { margin-bottom: 32px; }
.wish-board {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px; min-height: 120px;
}
.wish-note {
  min-height: 140px; padding: 18px 16px 14px;
  border-radius: 3px 12px 12px 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  box-shadow: 4px 6px 22px rgba(0,0,0,.13);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  animation: noteIn .4s var(--ease-spring);
}
@keyframes noteIn { from { transform: scale(.7) rotate(-4deg); opacity: 0; } }
.wish-note:hover { transform: rotate(-1deg) scale(1.02); box-shadow: 8px 12px 36px rgba(0,0,0,.18); }
.wish-note::before {
  content: '📌'; position: absolute; top: -10px; left: 12px; font-size: 1rem;
}
.wish-note-text {
  font-family: var(--f-serif); font-size: 1rem; font-weight: 400;
  line-height: 1.65; color: rgba(23,17,31,.8);
  flex: 1;
}
.wish-note-del {
  align-self: flex-end; margin-top: 8px;
  background: rgba(0,0,0,.1); border: none; border-radius: 5px;
  padding: 3px 8px; font-size: .7rem; color: rgba(23,17,31,.5);
  transition: background .2s, color .2s; cursor: pointer;
}
.wish-note-del:hover { background: rgba(201,78,114,.15); color: var(--rose-deep); }

.wish-input-row {
  display: flex; gap: 10px; margin-top: 18px;
  flex-wrap: wrap;
}
.wish-input {
  flex: 1; min-width: 200px; padding: 12px 16px;
  background: rgba(255,253,248,.9); border: 1.5px solid rgba(23,17,31,.12);
  border-radius: 10px; font-family: var(--f-serif); font-size: 1rem; font-weight: 300;
  color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.wish-input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(239,111,145,.1); }
@media (max-width: 640px) { .wish-board { grid-template-columns: 1fr 1fr; } }

/* ══════════════════════════════════════════════════════════════
   TIMELINE PAGE
══════════════════════════════════════════════════════════════ */
.timeline { padding: clamp(54px,9vw,100px) 0; position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--rose) 5%, var(--honey) 50%, var(--sky) 95%, transparent);
  transform: translateX(-50%);
}
.tl-entry {
  display: grid; grid-template-columns: 1fr 48px 1fr;
  gap: 0 20px; align-items: start; margin-bottom: 48px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.tl-entry.is-visible { opacity: 1; transform: translateY(0); }
.tl-entry:nth-child(odd) .tl-card  { grid-column: 1; }
.tl-entry:nth-child(odd) .tl-empty { grid-column: 3; }
.tl-entry:nth-child(even) .tl-card  { grid-column: 3; order: 3; }
.tl-entry:nth-child(even) .tl-center { order: 2; }
.tl-entry:nth-child(even) .tl-empty { order: 1; }

.tl-center {
  grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding-top: 28px;
}
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--honey), var(--rose));
  border: 3px solid var(--paper); flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--rose), 0 0 18px rgba(239,111,145,.35);
}
.tl-line-seg {
  width: 2px; flex: 1; background: rgba(239,111,145,.2);
}
.tl-card {
  padding: 18px 20px; background: rgba(255,253,248,.9);
  border: 1px solid rgba(23,17,31,.07); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tl-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 9px; margin-bottom: 12px; }
.tl-date {
  font-family: var(--f-sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 6px;
}
.tl-card h3 { font-family: var(--f-serif); font-size: 1.25rem; font-weight: 400; color: var(--plum); margin-bottom: 6px; }
.tl-card p { font-family: var(--f-serif); font-size: .94rem; font-weight: 300; color: rgba(23,17,31,.68); line-height: 1.72; }
.tl-empty { grid-column: auto; }
@media (max-width: 640px) {
  .timeline::before { left: 22px; }
  .tl-entry { grid-template-columns: 44px 1fr; gap: 0 12px; }
  .tl-entry:nth-child(odd) .tl-card,
  .tl-entry:nth-child(even) .tl-card  { grid-column: 2; order: unset; }
  .tl-entry:nth-child(odd) .tl-empty,
  .tl-entry:nth-child(even) .tl-empty  { display: none; }
  .tl-center { grid-column: 1; order: unset; }
}

/* ══════════════════════════════════════════════════════════════
   BIRTHDAY SURPRISE BANNER
══════════════════════════════════════════════════════════════ */
.bday-banner {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(10,5,20,.92); backdrop-filter: blur(18px);
  color: var(--paper); text-align: center; gap: 18px;
  opacity: 0; pointer-events: none;
  transition: opacity .6s ease;
}
.bday-banner.show { opacity: 1; pointer-events: auto; }
.bday-banner .bday-emoji { font-size: clamp(3rem,8vw,6rem); animation: pop .6s var(--ease-spring); }
@keyframes pop { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1) rotate(0); } }
.bday-banner h2 { font-family: var(--f-grand); font-size: clamp(2.8rem,7vw,5.5rem); color: var(--honey); }
.bday-banner p { font-family: var(--f-serif); font-size: clamp(1rem,2vw,1.3rem); font-weight: 300; color: rgba(255,255,255,.8); max-width: 440px; }
.bday-banner .bday-close {
  margin-top: 8px; padding: 12px 28px; border-radius: 10px;
  background: linear-gradient(135deg, var(--honey), var(--rose)); color: var(--ink);
  font-family: var(--f-sans); font-weight: 600; font-size: .9rem;
  border: none; cursor: pointer;
  box-shadow: 0 0 28px rgba(242,191,75,.3);
  transition: transform .2s var(--ease-spring);
}
.bday-banner .bday-close:hover { transform: scale(1.06); }

/* ══════════════════════════════════════════════════════════════
   MIC HINT (finale)
══════════════════════════════════════════════════════════════ */
.mic-hint {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 99px; margin-top: 16px;
  background: rgba(255,253,248,.08); border: 1px solid rgba(255,255,255,.15);
  font-family: var(--f-sans); font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.65); letter-spacing: .05em;
  cursor: pointer; transition: all .2s;
}
.mic-hint:hover { background: rgba(255,255,255,.12); color: var(--paper); }
.mic-hint.listening { color: var(--rose); border-color: rgba(239,111,145,.4); animation: micPulse 1.5s ease-in-out infinite; }
@keyframes micPulse { 0%,100%{box-shadow:0 0 0 0 rgba(239,111,145,.3);} 50%{box-shadow:0 0 0 8px rgba(239,111,145,0);} }
.mic-hint svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════════════════════════════════════════════════════
   💓 HEARTBEAT SYNC WIDGET
══════════════════════════════════════════════════════════════ */
.heartbeat-widget {
  position: fixed; right: 18px; bottom: 82px; z-index: 33;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(12,6,22,.82); border: 1.5px solid rgba(239,111,145,.3);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  transition: transform .3s var(--ease-spring), border-color .3s;
}
.heartbeat-widget:hover { transform: scale(1.1); border-color: var(--rose); }
.heartbeat-widget svg { width: 22px; height: 22px; fill: var(--rose); stroke: none; }
.heartbeat-widget.pulse-active {
  animation: heartWidgetPulse .6s ease infinite alternate;
  border-color: var(--rose); box-shadow: 0 0 20px rgba(239,111,145,.6);
}
@keyframes heartWidgetPulse {
  0%   { transform: scale(1); }
  100% { transform: scale(1.22); }
}
@media (max-width: 640px) { .heartbeat-widget { bottom: 140px; } }

/* ══════════════════════════════════════════════════════════════
   ☕ COMFORT OVERLAY (Tea, Blanket, etc.)
══════════════════════════════════════════════════════════════ */
.comfort-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(14,8,24,.93); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fffdf8; text-align: center; padding: 24px;
  opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
.comfort-overlay.is-active { opacity: 1; pointer-events: auto; }
.comfort-card {
  max-width: 460px; width: 100%; display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
  padding: 34px 24px; border-radius: 20px; box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.comfort-icon { font-size: 4.5rem; margin-bottom: 20px; line-height: 1; position: relative; }

/* Steaming Tea Particles */
.steam-wrap {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; height: 30px; overflow: hidden;
}
.steam-line {
  width: 2.5px; height: 100%; background: rgba(255,255,255,.45);
  border-radius: 99px; filter: blur(1px);
  animation: steamRise 2s ease-in-out infinite;
}
.steam-line:nth-child(1) { animation-delay: 0s; }
.steam-line:nth-child(2) { animation-delay: .6s; }
.steam-line:nth-child(3) { animation-delay: .3s; }
@keyframes steamRise {
  0%   { transform: translateY(100%) scaleX(1); opacity: 0; }
  50%  { opacity: .6; transform: translateY(30%) scaleX(1.4); }
  100% { transform: translateY(-50%) scaleX(0.4); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   🌱 SPROUTING TULIPS (Garden Page)
══════════════════════════════════════════════════════════════ */
.tulip-patch {
  display: flex; gap: 18px; justify-content: center; margin-top: 24px;
  flex-wrap: wrap; min-height: 100px;
}
.sprouting-tulip {
  display: flex; flex-direction: column; align-items: center;
  animation: tulipSprout 1.8s var(--ease-spring) forwards;
  transform-origin: bottom center;
}
@keyframes tulipSprout {
  0%   { transform: scale(0) translateY(40px); }
  100% { transform: scale(1) translateY(0); }
}
.tulip-bud {
  width: 28px; height: 34px; border-radius: 50% 50% 12px 12px;
  background: linear-gradient(135deg, var(--rose), var(--honey));
  box-shadow: 0 0 14px rgba(239,111,145,.35);
  position: relative;
}
.tulip-leaf {
  width: 5px; height: 22px; background: #81c784; border-radius: 99px;
  transform-origin: bottom center; margin-top: -4px;
}

/* ══════════════════════════════════════════════════════════════
   🎨 GLOWING SYNC CANVAS
══════════════════════════════════════════════════════════════ */
.glowing-canvas {
  position: fixed; inset: 0; z-index: 9997;
  width: 100%; height: 100%; pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   🍾 MESSAGE IN A BOTTLE WIDGET & OVERLAY
══════════════════════════════════════════════════════════════ */
.bottle-widget {
  position: fixed; left: 18px; bottom: 82px; z-index: 33;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(12,6,22,.82); border: 1.5px solid rgba(242,191,75,.3);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  transition: transform .3s var(--ease-spring), border-color .3s;
}
.bottle-widget:hover { transform: scale(1.1); border-color: var(--honey); }
.bottle-widget svg { width: 20px; height: 20px; fill: var(--honey); stroke: none; }
.bottle-widget.has-unread {
  animation: bottleBounce 2s ease infinite;
  border-color: var(--honey); box-shadow: 0 0 22px rgba(242,191,75,.6);
}
@keyframes bottleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px) scale(1.08); }
}
@media (max-width: 640px) { .bottle-widget { bottom: 140px; left: 18px; right: auto; } }

/* Bottle Overlay (Parchment Paper) */
.bottle-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(14,8,24,.92); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink); text-align: center; padding: 24px;
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.bottle-overlay.is-active { opacity: 1; pointer-events: auto; }
.parchment-scroll {
  max-width: 480px; width: 100%; min-height: 280px;
  background: #f4edd2; border: 2px solid #dfd3a8;
  background-image: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(23,17,31,0.02) 100%);
  padding: clamp(24px, 6vw, 44px) clamp(20px, 5vw, 36px);
  border-radius: 6px; box-shadow: 0 24px 64px rgba(0,0,0,.5);
  position: relative;
  transform: scale(0.9) rotate(-1deg);
  transition: transform .6s var(--ease-spring);
}
.bottle-overlay.is-active .parchment-scroll {
  transform: scale(1) rotate(0deg);
}
.scroll-ribbon {
  width: 40px; height: 12px; background: var(--rose);
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.scroll-close {
  position: absolute; right: 14px; top: 14px;
  background: none; border: none; font-size: 1.4rem; cursor: pointer; color: rgba(23,17,31,.4);
  line-height: 1; transition: color .2s;
}
.scroll-close:hover { color: var(--rose-deep); }


