/* ════════════════════════════════════════════════════════════
   HAPPY 15TH MONTHSARY — style.css
   Soft · Romantic · Elegant · Premium
   ════════════════════════════════════════════════════════════ */

/* ─────────────────────────── Tokens ─────────────────────────── */
:root {
  /* palette */
  --cream:      #fff8f4;
  --blush:      #fff0f3;
  --pink-soft:  #ffdce4;
  --rose:       #e87a92;
  --rose-deep:  #c2506b;
  --wine:       #8e3a52;
  --peach:      #ffe9dc;
  --lavender:   #efe9fb;
  --gold:       #b9855c;
  --ink:        #4a333e;
  --ink-soft:   #866572;
  --line:       rgba(194, 80, 107, .14);

  /* type */
  --script: 'Great Vibes', 'Segoe Script', cursive;
  --hand:   'Dancing Script', 'Segoe Script', cursive;
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* effects */
  --grad-text: linear-gradient(115deg, #e87a92 10%, #c2506b 55%, #b9855c 110%);
  --shadow-sm: 0 8px 22px rgba(142, 58, 82, .10);
  --shadow-md: 0 16px 40px rgba(142, 58, 82, .13);
  --shadow-lg: 0 26px 60px rgba(142, 58, 82, .17);
  --ease-out:  cubic-bezier(.22, 1, .36, 1);
  --ease-pop:  cubic-bezier(.34, 1.56, .64, 1);
}

/* ─────────────────────────── Reset / Base ───────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
}

[hidden] { display: none !important; }

img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

::selection { background: rgba(232, 122, 146, .32); color: var(--wine); }

:focus-visible {
  outline: 3px solid rgba(232, 122, 146, .75);
  outline-offset: 3px;
  border-radius: 6px;
}

/* slim romantic scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--blush); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f2a9bb, #d97a93);
  border-radius: 99px;
  border: 2px solid var(--blush);
}
@supports (scrollbar-color: red blue) {
  html { scrollbar-color: #dd8ba0 var(--blush); scrollbar-width: thin; }
}

/* ─────────────────────────── Utilities ──────────────────────── */
.container        { width: min(1180px, 100% - clamp(2.4rem, 8vw, 5rem)); margin-inline: auto; }
.container-wide   { width: min(1400px, 100% - clamp(2rem, 6vw, 4rem));   margin-inline: auto; }
.container-narrow { width: min(720px,  100% - clamp(2.4rem, 8vw, 5rem)); margin-inline: auto; }
.container-letters{ width: min(840px,  100% - clamp(2.4rem, 8vw, 5rem)); margin-inline: auto; }
.center { text-align: center; }

.section { padding: clamp(4rem, 9vh, 6.5rem) 0; position: relative; }
section  { scroll-margin-top: 16px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--rose-deep);
  text-align: center;
  margin-bottom: .9rem;
}

.section-title {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.1rem);
  line-height: 1.2;
  color: var(--wine);
  text-align: center;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: clamp(.96rem, 2.2vw, 1.05rem);
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto clamp(2.4rem, 5vw, 3.4rem);
}

.glass {
  background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(255,255,255,.52));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-md);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .04em;
  padding: .95em 2.1em;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .35s, color .35s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, #f18ca4, #d95c7c);
  color: #fff;
  box-shadow: 0 12px 28px rgba(217, 92, 124, .38);
}
.btn-primary:hover  { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 36px rgba(217, 92, 124, .46); }
.btn-primary:active { transform: translateY(-1px) scale(.99); }
.btn-ghost {
  background: rgba(255, 255, 255, .55);
  border: 1.5px solid rgba(194, 80, 107, .45);
  color: var(--wine);
}
.btn-ghost:hover { background: rgba(232, 122, 146, .14); transform: translateY(-3px); }

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  padding: .45em 1.1em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* clickable image wrapper */
.img-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.img-btn img { transition: transform .8s var(--ease-out); will-change: transform; }

/* little heart badge that pops on hover */
.heart-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transform: scale(0) rotate(-25deg);
  transition: transform .45s var(--ease-pop);
  pointer-events: none;
  z-index: 3;
}
figure:hover .heart-badge,
.m-card:hover .heart-badge { transform: scale(1) rotate(0deg); }

/* washi-tape decoration */
.tape { position: relative; }
.tape::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 112px;
  height: 30px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 176, 196, .5);
  border-left: 1px dashed rgba(255, 255, 255, .8);
  border-right: 1px dashed rgba(255, 255, 255, .8);
  box-shadow: 0 2px 6px rgba(142, 58, 82, .08);
  z-index: 4;
  pointer-events: none;
}

/* broken-image fallback */
.media-error {
  background: linear-gradient(135deg, var(--pink-soft), var(--lavender));
  position: relative;
  min-height: 160px;
}
.media-error img { visibility: hidden; }
.media-error::after {
  content: "💔";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  visibility: visible;
}

/* ───────────────────── Scroll-reveal system ─────────────────── */
.reveal {
  opacity: 0;
  transition:
    opacity  .95s var(--ease-out) var(--d, 0s),
    transform .95s var(--ease-out) var(--d, 0s),
    filter   .95s var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}
[data-anim="fade-up"]   { transform: translateY(36px); }
[data-anim="fade-down"] { transform: translateY(-36px); }
[data-anim="fade-left"] { transform: translateX(-48px); }
[data-anim="fade-right"]{ transform: translateX(48px); }
[data-anim="zoom"]      { transform: scale(.86); }
[data-anim="pop"]       { transform: scale(.62); }
[data-anim="blur"]      { filter: blur(16px); transform: translateY(14px); }

.reveal.in-view { opacity: 1; transform: none; filter: none; }

/* ─────────────────────── Background scene ───────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(175deg,
    #fff7f3 0%, #fff0f4 26%, #fdeeee 48%,
    #f9eff6 68%, #f3eefb 88%, #efeaf9 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.orb-1 {
  width: 52vmax; height: 52vmax;
  top: -18vmax; left: -14vmax;
  background: radial-gradient(circle, #ffd3de 0%, rgba(255, 211, 222, 0) 70%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.orb-2 {
  width: 44vmax; height: 44vmax;
  bottom: -16vmax; right: -12vmax;
  background: radial-gradient(circle, #ffe4d2 0%, rgba(255, 228, 210, 0) 70%);
  animation: drift2 34s ease-in-out infinite alternate;
}
.orb-3 {
  width: 36vmax; height: 36vmax;
  top: 34%; left: 8%;
  background: radial-gradient(circle, #e4dcfa 0%, rgba(228, 220, 250, 0) 70%);
  animation: drift3 40s ease-in-out infinite alternate;
}

.bg-particles span {
  position: absolute;
  bottom: -8vh;
  left: var(--x, 50%);
  font-size: var(--sz, 16px);
  opacity: 0;
  animation: riseUp var(--dur, 24s) linear var(--delay, 0s) infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

/* ─────────────────────────── Hero ───────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(4rem, 10vh, 6rem) 1.25rem 5rem;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 3; max-width: 900px; }

[data-hero] {
  animation: heroIn 1s var(--ease-out) backwards;
  animation-delay: var(--hd, 0s);
}

.hero-eyebrow {
  font-weight: 500;
  font-size: clamp(.72rem, 1.8vw, .85rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}

/* pure-CSS beating heart */
.hero-heart-wrap { display: flex; justify-content: center; margin-bottom: clamp(1.2rem, 3vh, 2rem); }
.hero-heart, .ending-heart {
  --s: clamp(76px, 11vw, 116px);
  position: relative;
  width: var(--s);
  height: calc(var(--s) * .94);
  animation: beat 1.6s ease-in-out infinite;
  filter: drop-shadow(0 14px 30px rgba(217, 79, 116, .38));
}
.hero-heart::before, .hero-heart::after,
.ending-heart::before, .ending-heart::after {
  content: "";
  position: absolute;
  top: 0;
  width: calc(var(--s) * .52);
  height: calc(var(--s) * .84);
  border-radius: calc(var(--s) * .26) calc(var(--s) * .26) 0 0;
  background: linear-gradient(140deg, #ff9db8 0%, #e75a80 55%, #d94f74 100%);
}
.hero-heart::before, .ending-heart::before {
  left: calc(var(--s) * .5);
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}
.hero-heart::after, .ending-heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}
.hero-heart span, .ending-heart span {
  position: absolute;
  z-index: 2;
  top: 12%;
  left: 22%;
  width: 26%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  filter: blur(4px);
  transform: rotate(-45deg);
}

.hero-title { line-height: 1.04; margin-bottom: clamp(1.2rem, 3vh, 1.8rem); }
.hero-title-script {
  display: block;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.4rem);
  color: var(--rose);
  transform: rotate(-3deg);
  margin-bottom: .1em;
}
.hero-title-main {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 6.4vw, 4.1rem);
  letter-spacing: -.01em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: clamp(1.8rem, 4.5vh, 2.6rem);
}

.hero-cta { animation-delay: var(--hd, .6s); }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: .75;
}
.scroll-hint span {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid var(--rose);
  border-radius: 14px;
  position: relative;
}
.scroll-hint span::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--rose);
  animation: wheel 1.8s ease-in-out infinite;
}

/* hero ambience */
.hero-hearts span {
  position: absolute;
  bottom: -8%;
  left: var(--x, 50%);
  font-size: var(--sz, 18px);
  opacity: 0;
  animation: riseUp var(--dur, 16s) linear var(--delay, 0s) infinite;
  pointer-events: none;
  z-index: 1;
}
.hero-sparkles span {
  position: absolute;
  top: var(--y, 20%);
  left: var(--x, 50%);
  font-size: var(--sz, 14px);
  color: #e8b34b;
  opacity: 0;
  animation: twinkle var(--dur, 3.4s) ease-in-out var(--delay, 0s) infinite;
  pointer-events: none;
  z-index: 1;
}

/* ────────────────────── Live love counter ───────────────────── */
.counter-panel {
  border-radius: 32px;
  padding: clamp(1.8rem, 4.5vw, 3rem);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
}
.stat-num {
  display: block;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #e87a92, #c2506b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-accent .stat-num { background: linear-gradient(120deg, #c2506b, #b9855c); -webkit-background-clip: text; background-clip: text; }
.stat-label {
  display: block;
  margin-top: .4rem;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.counter-foot {
  text-align: center;
  margin-top: clamp(1.4rem, 3vw, 2rem);
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--rose-deep);
}

/* ─────────────────────── Quote ribbons ──────────────────────── */
.quote-ribbon {
  position: relative;
  width: 106%;
  left: -3%;
  overflow: hidden;
  padding: 1.05rem 0;
  background: linear-gradient(90deg, rgba(255, 214, 225, .5), rgba(238, 230, 252, .5), rgba(255, 224, 209, .5));
  border-top: 1px solid rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tilt-l { transform: rotate(-1.15deg); }
.tilt-r { transform: rotate(1.15deg); }
.quote-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  padding-left: 1rem;
  animation: marquee 55s linear infinite;
  will-change: transform;
}
.tilt-r .quote-track { animation-direction: reverse; }
.quote-ribbon:hover .quote-track { animation-play-state: paused; }
.quote-chip {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  white-space: nowrap;
  font-family: var(--hand);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--rose-deep);
}
.quote-chip i { font-style: normal; opacity: .55; font-size: .8em; }

/* ───────────────────── Interactive questions ────────────────── */
.question-section { padding: clamp(2.2rem, 5vh, 3.4rem) 0; }

.q-spot-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(2rem, 5vw, 2.8rem) clamp(1.4rem, 4vw, 2.6rem);
  text-align: center;
}
.q-spot-card::before {
  content: "💌";
  position: absolute;
  right: -18px;
  bottom: -24px;
  font-size: 7rem;
  opacity: .08;
  transform: rotate(-14deg);
  pointer-events: none;
}
.q-eyebrow {
  display: block;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.q-spot-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.45rem, 3.6vw, 1.95rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.q-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .9rem;
}
.btn-yes {
  background: linear-gradient(135deg, #f18ca4, #d95c7c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 92, 124, .35);
  min-width: 128px;
}
.btn-yes:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 30px rgba(217, 92, 124, .45); }
.btn-no {
  background: rgba(255, 255, 255, .7);
  border: 1.5px solid rgba(194, 80, 107, .4);
  color: var(--wine);
  min-width: 128px;
}
.btn-no:hover { animation: wiggle .45s ease; background: rgba(232, 122, 146, .12); }

/* ───────────────────────── Timeline ─────────────────────────── */
.timeline {
  position: relative;
  max-width: 880px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffc9d6, #e2d9f8 60%, #ffd9e0);
  border-radius: 2px;
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 clamp(2rem, 4.5vw, 3.2rem) clamp(2.2rem, 5vw, 3rem) 0;
}
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 clamp(2.2rem, 5vw, 3rem) clamp(2rem, 4.5vw, 3.2rem); }
.tl-dot {
  position: absolute;
  top: 22px;
  right: -21px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 214, 225, .55), var(--shadow-sm);
}
.tl-item:nth-child(even) .tl-dot { right: auto; left: -21px; }
.tl-card {
  border-radius: 24px;
  padding: 1.5rem 1.7rem;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.tl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tl-date {
  display: inline-block;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35em 1em;
  margin-bottom: .7rem;
}
.tl-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: .4rem;
}
.tl-card p { font-size: .95rem; color: var(--ink-soft); }
.tl-item-final .tl-card {
  border: 1.5px solid rgba(232, 122, 146, .5);
  background: linear-gradient(150deg, rgba(255,255,255,.9), rgba(255,240,244,.66));
}
.tl-item-final .tl-card h3 { font-family: var(--hand); font-weight: 700; font-size: 1.45rem; color: var(--wine); }

/* ───────────────── Featured story rows (gallery) ────────────── */
.featured-section { padding-top: 1rem; }
.f-block + .f-block { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.f-head { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.f-head h3 {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 2.5rem);
  color: var(--wine);
  margin-top: .9rem;
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.4rem, 6vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3.2rem, 7vw, 5rem);
}
.f-row.flip .f-media { order: 2; }
.f-media {
  position: relative;
  border-radius: 26px;
  overflow: visible;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--tilt, -1.6deg));
  transition: transform .55s var(--ease-out);
}
.f-row.flip .f-media { --tilt: 1.6deg; }
.f-media:hover { transform: rotate(0deg) translateY(-6px); }
.f-media .img-btn { border-radius: 20px; }
.f-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.f-media:hover .img-btn img { transform: scale(1.05); }
.f-text h4 {
  font-family: var(--hand);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.4vw, 2rem);
  color: var(--wine);
  margin-bottom: .6rem;
}
.f-text p { font-size: clamp(.96rem, 2.2vw, 1.03rem); color: var(--ink-soft); line-height: 1.9; }
.f-mini {
  display: block;
  margin-top: 1.1rem;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ───────────────────── Polaroid scrapbook ───────────────────── */
.polaroid-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.4rem, 3.5vw, 2.4rem);
  padding-top: 1rem;
}
.polaroid {
  position: relative;
  width: clamp(200px, 27vw, 250px);
  background: #fff;
  padding: 12px 12px 54px;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(75, 53, 64, .17);
  transform: rotate(var(--rot, 0deg));
  transition: transform .5s var(--ease-pop), box-shadow .5s;
}
.polaroid:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.06);
  box-shadow: 0 26px 50px rgba(75, 53, 64, .24);
  z-index: 6;
}
.polaroid .img-btn { border-radius: 3px; }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid:hover .img-btn img { transform: scale(1.06); }
.polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  text-align: center;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.14rem;
  color: #8a6470;
}

/* ─────────────────────── Bento grid ─────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 21vw, 215px);
  grid-auto-flow: dense;
  gap: 14px;
}
.b-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.b-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.b-item.w2 { grid-column: span 2; }
.b-item.h2 { grid-row: span 2; }
.b-item .img-btn,
.b-item img { width: 100%; height: 100%; }
.b-item img { position: absolute; inset: 0; object-fit: cover; }
.b-item:hover .img-btn img { transform: scale(1.09); }
.b-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-weight: 600;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wine);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: .4em 1em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}
.b-cap, .m-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 2.4rem 1rem .85rem;
  background: linear-gradient(transparent, rgba(43, 20, 29, .74));
  color: #fff;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s, transform .45s;
  pointer-events: none;
}
.b-item:hover .b-cap, .m-item:hover .m-cap { opacity: 1; transform: none; }
@media (hover: none) {
  .b-cap, .m-cap { opacity: 1; transform: none; }
}

/* ──────────────────────── Masonry wall ──────────────────────── */
.masonry-section .section-sub { margin-bottom: clamp(2rem, 4vw, 2.8rem); }
.masonry { columns: 4; column-gap: 16px; }
.m-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.m-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.m-item .img-btn { border-radius: 20px; }
.m-item img { width: 100%; }
.m-item:hover .img-btn img { transform: scale(1.07); }

/* ────────────────────── Vacation grid ───────────────────────── */
.vacay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.v-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-pop), box-shadow .5s;
}
.v-item:hover { transform: scale(1.035); box-shadow: var(--shadow-md); z-index: 2; }
.v-item .img-btn, .v-item img { width: 100%; height: 100%; }
.v-item img { position: absolute; inset: 0; object-fit: cover; }
.v-item:hover .img-btn img { transform: scale(1.1); }
.v-num {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(43, 20, 29, .55);
  pointer-events: none;
}
.v-item .heart-badge { top: auto; bottom: -12px; right: 10px; }

/* ───────────────── Milestones (graduations) ─────────────────── */
.milestone-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.m-card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 14px 14px 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.4deg);
  transition: transform .5s var(--ease-out);
}
.m-card:nth-child(2) { transform: rotate(1.4deg) translateY(16px); }
.m-card:hover { transform: rotate(0deg) translateY(-6px); }
.m-card:nth-child(2):hover { transform: rotate(0deg) translateY(10px); }
.m-photo { border-radius: 18px; overflow: hidden; }
.m-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.m-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.m-thumbs .img-btn { border-radius: 14px; }
.m-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.m-card:hover .img-btn img { transform: scale(1.06); }
.m-card h3 {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--wine);
  text-align: center;
  margin-top: 1.1rem;
}
.m-card > p {
  text-align: center;
  font-size: .95rem;
  color: var(--ink-soft);
  padding: 0 .6rem;
}

/* ─────────────────────── Video moments ──────────────────────── */
.video-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 860px;
  margin: 0 auto;
}
.v-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #241a20;
  aspect-ratio: 9 / 15;
  max-height: 74vh;
  box-shadow: var(--shadow-lg);
}
.v-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sound-toggle {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: #fff;
  background: rgba(43, 26, 34, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  transition: background .3s, transform .3s;
}
.sound-toggle:hover { background: rgba(43, 26, 34, .78); transform: scale(1.08); }
.v-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffd9e0;
  font-family: var(--hand);
  font-size: 1.1rem;
  text-align: center;
  padding: 1.5rem;
}
.v-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-weight: 600;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(43, 26, 34, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: .45em 1.1em;
  border-radius: 999px;
  pointer-events: none;
}

/* ─────────────────────── Love letters ───────────────────────── */
.letters-section { padding-bottom: clamp(3rem, 7vh, 5rem); }
.letter-card {
  position: relative;
  margin: 0 auto clamp(3rem, 6vw, 3.6rem);
  background: linear-gradient(165deg, #fffdfb 0%, #fff5ee 100%);
  border: 1px solid rgba(194, 80, 107, .1);
  border-radius: 26px;
  padding: clamp(2.6rem, 6vw, 3.4rem) clamp(1.5rem, 5vw, 3.1rem);
  box-shadow: 0 24px 60px rgba(142, 58, 82, .12);
}
.letter-card:nth-of-type(odd)::after {
  content: "🌸";
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 1.5rem;
  opacity: .55;
  transform: rotate(16deg);
}
.letter-card:nth-of-type(even)::after {
  content: "🌷";
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 1.5rem;
  opacity: .55;
  transform: rotate(-12deg);
}
.wax-seal {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: radial-gradient(circle at 32% 30%, #ff9db8, #d94f74 75%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(217, 79, 116, .4);
}
.letter-salutation {
  font-family: var(--hand);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 1.85rem);
  color: var(--wine);
  margin-bottom: 1.1rem;
}
.letter-body {
  font-size: clamp(.97rem, 2.2vw, 1.04rem);
  line-height: 2;
  color: #57404b;
}
.letter-emphasis {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.6rem);
  color: var(--rose-deep);
  margin-top: 1.5rem;
}
.letter-sign { margin-top: 1.7rem; text-align: right; }
.letter-sign span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-soft);
}
.letter-sign strong {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 2.7rem);
  line-height: 1.2;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────────────────────── Ending ───────────────────────────── */
.ending {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(5rem, 14vh, 8rem) 1.5rem;
}
.ending-inner { position: relative; z-index: 2; max-width: 760px; }
.ending-heart {
  margin: 0 auto clamp(2.2rem, 6vh, 3.2rem);
  animation: beat 1.6s ease-in-out infinite, glowPulse 2.6s ease-in-out infinite;
}
.ending-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.12rem, 2.6vw, 1.5rem);
  color: var(--ink-soft);
  margin: .32em 0;
}
.ending-big {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.3;
  margin-top: 1.9rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ending .btn-ghost { margin-top: 2.6rem; }
.ending-burst {
  position: absolute;
  bottom: -30px;
  font-size: var(--sz, 20px);
  opacity: 0;
  animation: burstUp var(--dur, 3.4s) ease-out forwards;
  pointer-events: none;
  z-index: 1;
}

/* ───────────────────────── Footer ───────────────────────────── */
.footer {
  position: relative;
  text-align: center;
  padding: 3.2rem 1.5rem 4rem;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, 62%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 80, 107, .4), transparent);
}
.footer-love {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--wine);
}
.footer-always {
  margin-top: .35rem;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-dates {
  margin-top: 1.3rem;
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--gold);
}

/* ─────────────────── Floating love quotes ───────────────────── */
.float-quotes { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.float-quote {
  position: absolute;
  top: var(--y, 30%);
  left: var(--x, 10%);
  max-width: min(78vw, 340px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: .5em 1.15em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px rgba(201, 86, 111, .18);
  color: #a34259;
  font-family: var(--hand);
  font-weight: 600;
  font-size: clamp(.98rem, 2.2vw, 1.18rem);
  opacity: 0;
  animation: fqLife 5.8s ease forwards;
}

/* ───────────────────────── Lightbox ─────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(43, 24, 33, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s ease;
}
.lightbox.open { opacity: 1; }
.lb-figure {
  max-width: min(94vw, 1080px);
  transform: scale(.94);
  transition: transform .4s var(--ease-pop);
}
.lightbox.open .lb-figure { transform: scale(1); }
.lb-figure img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  margin: 0 auto;
}
.lb-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: .95rem;
  color: #ffe9ef;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 1.12rem;
}
.lb-count {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .12em;
  opacity: .75;
  white-space: nowrap;
}
.lb-btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  transition: background .3s, transform .3s;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); transform: scale(1.07); }
.lb-close { top: 18px; right: 18px; }
.lb-prev  { top: 50%; left: 14px; transform: translateY(-50%); }
.lb-next  { top: 50%; right: 14px; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.07); }

/* ───────────────────── Question modal ───────────────────────── */
.q-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.q-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 32, 44, .55);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.q-card {
  position: relative;
  width: min(430px, 100%);
  border-radius: 30px;
  padding: 2.7rem 1.9rem 2.3rem;
  text-align: center;
  animation: popIn .5s var(--ease-pop);
}
.q-card.shake { animation: shake .55s ease; }
.q-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--ink-soft);
  background: none;
  border: 0;
  border-radius: 50%;
  transition: background .3s, color .3s;
}
.q-close:hover { background: rgba(232, 122, 146, .14); color: var(--wine); }
.q-heart { font-size: 3.4rem; line-height: 1.15; animation: beat 1.4s ease-in-out infinite; }
.q-card h3 {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--wine);
  margin: .7rem 0 .5rem;
}
.q-card p {
  white-space: pre-line;
  font-size: .99rem;
  line-height: 1.85;
  color: #57404b;
}
.q-action { margin-top: 1.4rem; }

/* mini hearts burst inside modal */
.q-burst {
  position: absolute;
  left: var(--x, 50%);
  bottom: 20%;
  font-size: var(--sz, 18px);
  opacity: 0;
  animation: burstUp var(--dur, 2.6s) ease-out forwards;
  pointer-events: none;
}

/* ═══════════════════════ Keyframes ═══════════════════════════ */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px) scale(.985); }
}
@keyframes beat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.12); }
  40%      { transform: scale(1); }
  55%      { transform: scale(1.08); }
  70%      { transform: scale(1); }
}
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 14px 30px rgba(217, 79, 116, .38)) drop-shadow(0 0 0 rgba(232, 122, 146, 0)); }
  50%      { filter: drop-shadow(0 14px 30px rgba(217, 79, 116, .5)) drop-shadow(0 0 42px rgba(232, 122, 146, .55)); }
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(9vw, 7vh) scale(1.18); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-8vw, -9vh) scale(.94); }
}
@keyframes drift3 {
  from { transform: translate(0, 0) scale(.95); }
  to   { transform: translate(7vw, -6vh) scale(1.15); }
}
@keyframes riseUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--o, .55); }
  82%  { opacity: var(--o, .55); }
  100% { transform: translateY(-118vh) rotate(var(--spin, 40deg)); opacity: 0; }
}
@keyframes twinkle {
  0%, 100% { opacity: .12; transform: scale(.55) rotate(0deg); }
  50%      { opacity: .95; transform: scale(1.15) rotate(25deg); }
}
@keyframes wheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes fqLife {
  0%   { opacity: 0; transform: translateY(16px) scale(.9); }
  12%  { opacity: 1; transform: translateY(0) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-20px) scale(.97); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-9px) rotate(-1deg); }
  30% { transform: translateX(8px) rotate(1deg); }
  45% { transform: translateX(-7px); }
  60% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-3.5deg); }
  75% { transform: rotate(3.5deg); }
}
@keyframes burstUp {
  0%   { opacity: 0; transform: translateY(0) scale(.6) rotate(0deg); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-46vh) scale(1.15) rotate(var(--spin, 30deg)); }
}

/* ═══════════════════════ Responsive ══════════════════════════ */
@media (max-width: 1100px) {
  .masonry { columns: 3; }
}

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .vacay-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .milestone-duo { grid-template-columns: 1fr; max-width: 480px; }
  .m-card:nth-child(2) { transform: rotate(1.2deg); margin-top: .6rem; }
  .m-card:nth-child(2):hover { transform: rotate(0deg) translateY(-6px); }

  /* timeline collapses to one side */
  .timeline::before { left: 17px; transform: none; }
  .tl-item,
  .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 2.1rem 3.4rem;
  }
  .tl-dot,
  .tl-item:nth-child(even) .tl-dot { left: -3px; right: auto; }
}

@media (max-width: 760px) {
  .f-row { grid-template-columns: 1fr; gap: 1.9rem; }
  .f-row.flip .f-media { order: 0; }
  .f-media img { aspect-ratio: 4 / 4.6; }
  .f-text { text-align: center; padding: 0 .4rem; }

  .video-duo { grid-template-columns: 1fr; max-width: 400px; }

  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev:hover, .lb-next:hover { transform: scale(1.07); }
  .lb-figure figcaption { justify-content: center; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(130px, 38vw, 190px); }
  .b-item.w2 { grid-column: span 2; }
  .quote-ribbon { width: 112%; left: -6%; }
  .hero-sub br { display: none; }
}

@media (max-width: 560px) {
  .masonry { columns: 2; column-gap: 10px; }
  .m-item { margin-bottom: 10px; border-radius: 14px; }
  .vacay-grid { gap: 10px; }
  .v-item { border-radius: 18px; }
  .counter-panel { border-radius: 24px; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(5) { grid-column: span 2; }
  .float-quote { max-width: 86vw; font-size: .95rem; }
  .q-buttons .btn { min-width: 116px; flex: 1; }
  .polaroid { width: min(44vw, 210px); padding: 8px 8px 44px; }
  .polaroid figcaption { font-size: 1rem; bottom: 10px; }
}

@media (max-width: 380px) {
  .hero-title-main { font-size: 1.9rem; }
  .btn { padding: .9em 1.6em; font-size: .88rem; }
}

/* tall phones: keep hero balanced */
@media (max-height: 640px) and (orientation: landscape) {
  .hero { padding-top: 3rem; padding-bottom: 4.5rem; }
  .hero-heart { --s: 56px; }
  .scroll-hint { display: none; }
}

/* ═════════════════ Reduced motion ════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, [data-hero] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .bg-particles, .hero-hearts, .hero-sparkles, .float-quotes { display: none !important; }
}
