/* ============================================================
   MY SHRIMATIJI — PREMIUM HINDI LITERARY LOVE STORY
   ------------------------------------------------------------
   Editable theme variables are grouped here.
   ============================================================ */

:root {
  --ivory: #f7efe3;
  --ivory-soft: #fbf7f0;
  --paper: #efe0cc;
  --paper-deep: #e5ceb1;
  --ink: #2a1a18;
  --ink-soft: #5a4945;
  --charcoal: #282327;
  --brown: #4d2e28;
  --maroon: #571a2b;
  --maroon-deep: #2c1117;
  --wine: #7a263d;
  --rose: #b96176;
  --rose-muted: #cb8f9b;
  --blush: #efd7d9;
  --gold: #b58b4c;
  --gold-soft: #d5b77e;
  --gold-pale: #ead8af;
  --white: #fffdfa;
  --danger: #9f3347;
  --shadow-xs: 0 8px 24px rgba(44, 17, 23, .06);
  --shadow-sm: 0 18px 48px rgba(44, 17, 23, .1);
  --shadow-md: 0 30px 90px rgba(44, 17, 23, .18);
  --shadow-lg: 0 48px 130px rgba(30, 10, 15, .3);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --shell: min(1180px, calc(100vw - 40px));
  --serif: "Noto Serif Devanagari", Georgia, serif;
  --sans-hi: "Hind", "Mukta", system-ui, sans-serif;
  --sans: "Poppins", "Hind", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  background: var(--ivory);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(181, 139, 76, .08), transparent 28%),
    radial-gradient(circle at 83% 8%, rgba(185, 97, 118, .09), transparent 26%),
    var(--ivory-soft);
  font-family: var(--sans-hi);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

::selection {
  background: var(--wine);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  padding: 10px 14px;
  transform: translateY(-140%);
  border-radius: 10px;
  background: var(--white);
  color: var(--maroon-deep);
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 118px 0;
  isolation: isolate;
}

.paper-section {
  background:
    linear-gradient(rgba(87, 26, 43, .02), rgba(87, 26, 43, .02)),
    repeating-linear-gradient(0deg, rgba(77, 46, 40, .018) 0 1px, transparent 1px 5px),
    var(--ivory);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 1500;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 420px;
  aspect-ratio: 1;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: .14;
  background: radial-gradient(circle, rgba(181,139,76,.42), rgba(185,97,118,.12) 36%, transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
  filter: blur(10px);
}

.particle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.particle-field .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(181, 139, 76, .45);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translate3d(0, 10vh, 0) scale(.6); opacity: 0; }
  12% { opacity: .55; }
  90% { opacity: .18; }
  100% { transform: translate3d(28px, -115vh, 0) scale(1.2); opacity: 0; }
}

/* ----------------------------------
   Typography / reusable headings
   ---------------------------------- */

.eyebrow {
  margin: 0 0 10px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.academic-copy h2,
.dreams-copy h2,
.music-copy h2,
.response-intro h2,
.little-things-intro h2,
.anniversary-copy h2,
.secret-shell h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.section-heading.centered > p:last-child {
  margin-inline: auto;
}

.chapter-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.chapter-label.centered {
  justify-content: center;
}

.chapter-label i {
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.chapter-label.light {
  color: rgba(255, 253, 250, .7);
}

/* ----------------------------------
   Buttons
   ---------------------------------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  overflow: hidden;
  font-family: var(--sans-hi);
  font-weight: 600;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease, color .35s ease, border-color .35s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 15%, rgba(255,255,255,.26), transparent 82%);
  transition: transform .65s var(--ease);
}

.button:hover::before {
  transform: translateX(110%);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--maroon), var(--wine));
  color: var(--white);
  box-shadow: 0 14px 35px rgba(87, 26, 43, .23);
}

.button-primary:hover {
  box-shadow: 0 18px 44px rgba(87, 26, 43, .3);
}

.button-ghost {
  border-color: rgba(87,26,43,.2);
  background: rgba(255,255,255,.45);
  color: var(--maroon);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  border-color: var(--gold);
  background: var(--white);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-button.danger {
  color: var(--danger);
}

/* ----------------------------------
   Cinematic opening screen
   ---------------------------------- */

.opening-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(181,139,76,.14), transparent 28%),
    radial-gradient(circle at 15% 8%, rgba(185,97,118,.18), transparent 34%),
    linear-gradient(145deg, #211014 0%, #351019 48%, #1d1113 100%);
  color: var(--white);
  transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease), transform 1.1s var(--ease);
}

.opening-screen.is-exiting {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
}

.opening-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 28%, rgba(0,0,0,.42) 100%);
}

.opening-screen::before,
.opening-screen::after {
  content: "";
  position: absolute;
  width: 48vw;
  aspect-ratio: 1;
  border: 1px solid rgba(213,183,126,.14);
  border-radius: 50%;
}

.opening-screen::before { left: -25vw; top: -15vw; }
.opening-screen::after { right: -22vw; bottom: -24vw; }

.opening-stars {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.75) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.55) 0 1px, transparent 1.2px),
    radial-gradient(circle at 83% 72%, rgba(234,216,175,.8) 0 1.2px, transparent 1.4px),
    radial-gradient(circle at 31% 79%, rgba(255,255,255,.48) 0 1px, transparent 1.2px);
  background-size: 240px 220px, 320px 280px, 300px 340px, 380px 360px;
  animation: starsDrift 16s linear infinite alternate;
}

@keyframes starsDrift {
  to { transform: translate3d(10px, -8px, 0); }
}

.opening-card {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100vw - 36px));
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.opening-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(234,216,175,.18);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 50px 120px rgba(0,0,0,.18);
  backdrop-filter: blur(4px);
}

.opening-card > * {
  position: relative;
}

.opening-kicker {
  margin: 0 0 34px;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.opening-lines {
  position: relative;
  min-height: 145px;
}

.opening-line {
  margin: 0;
  color: rgba(255,253,250,.92);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.4vw, 2.7rem);
  line-height: 1.42;
  opacity: 0;
  transform: translateY(16px);
  animation: openingSentence 1s var(--ease) forwards;
}

.opening-line.line-1 { animation-delay: .7s; }
.opening-line.line-2 { animation-delay: 2.25s; }
.opening-line.line-3 { animation-delay: 3.85s; }

.opening-line:not(.line-3) {
  position: absolute;
  left: 8%;
  right: 8%;
}

.opening-line.line-1 { animation-name: openingSentenceOne; }
.opening-line.line-2 { animation-name: openingSentenceTwo; }

@keyframes openingSentenceOne {
  0% { opacity: 0; transform: translateY(16px); }
  28%, 72% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-12px); }
}

@keyframes openingSentenceTwo {
  0% { opacity: 0; transform: translateY(16px); }
  28%, 72% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-12px); }
}

@keyframes openingSentence {
  to { opacity: 1; transform: translateY(0); }
}

.opening-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: openingReveal 1.2s 5.1s var(--ease) forwards;
}

@keyframes openingReveal {
  to { opacity: 1; transform: none; }
}

.tiny-ornament {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-soft);
}

.opening-reveal h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 7vw, 6rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.04em;
}

.opening-reveal > p {
  max-width: 640px;
  margin: 20px auto 0;
  color: rgba(255,253,250,.76);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.opening-note {
  font-family: var(--sans-hi) !important;
  font-size: .93rem !important;
  color: rgba(255,253,250,.52) !important;
}

.opening-button {
  margin-top: 30px;
  background: linear-gradient(135deg, #f3e5c3, #d9b36f);
  color: #34131c;
  box-shadow: 0 16px 52px rgba(213,183,126,.18);
}

.opening-date {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255,253,250,.35);
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .22em;
}

/* ----------------------------------
   Navigation
   ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(87,26,43,.08);
  background: rgba(251,247,240,.82);
  backdrop-filter: blur(18px) saturate(1.3);
  transform: translateY(0);
  transition: box-shadow .3s ease, background .3s ease, transform .35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 38px rgba(44,17,23,.08);
  background: rgba(251,247,240,.93);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(87,26,43,.16);
  border-radius: 50%;
  color: var(--maroon);
  background: rgba(255,255,255,.58);
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 1rem;
}

.brand-text small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .56rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--wine);
  transition: right .3s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--wine);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  right: 0;
}

.audio-mini {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(87,26,43,.12);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.52);
  cursor: pointer;
  color: var(--ink-soft);
  font-size: .66rem;
}

.audio-mini-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.audio-mini-bars i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--wine);
}

.audio-mini.is-playing .audio-mini-bars i:nth-child(1) { animation: audioBar .7s .1s ease-in-out infinite alternate; }
.audio-mini.is-playing .audio-mini-bars i:nth-child(2) { animation: audioBar .55s ease-in-out infinite alternate; }
.audio-mini.is-playing .audio-mini-bars i:nth-child(3) { animation: audioBar .8s .2s ease-in-out infinite alternate; }

@keyframes audioBar { to { height: 13px; } }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(87,26,43,.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: var(--maroon-deep);
  transition: transform .25s ease, opacity .25s ease;
}

/* ----------------------------------
   Hero
   ---------------------------------- */

.hero {
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(185,97,118,.12), transparent 24%),
    radial-gradient(circle at 12% 42%, rgba(181,139,76,.08), transparent 32%),
    linear-gradient(180deg, #fbf7f0 0%, #f7efe3 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 70px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-title {
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: clamp(4rem, 8.6vw, 8.9rem);
  font-weight: 500;
  line-height: .76;
  letter-spacing: -.07em;
}

.hero-title span,
.hero-title strong {
  display: block;
}

.hero-title span {
  margin-left: 6px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .18em;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.hero-title strong {
  margin-top: 26px;
  font-weight: 500;
}

.hero-subtitle {
  max-width: 690px;
  margin: 42px 0 0;
  color: var(--brown);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.52;
}

.hero-person {
  margin-top: 34px;
  padding-left: 20px;
  border-left: 2px solid var(--gold-soft);
}

.hero-person p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.hero-person h3 {
  margin: 3px 0 0;
  color: var(--maroon);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.hero-person span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .72rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-date-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  color: var(--ink-soft);
}

.hero-date-strip div {
  display: flex;
  flex-direction: column;
}

.hero-date-strip small {
  color: rgba(90,73,69,.72);
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-date-strip strong {
  color: var(--maroon-deep);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
}

.hero-date-strip > span {
  color: var(--gold);
  font-size: .88rem;
}

.hero-visual {
  position: relative;
}

.portrait-stage {
  position: relative;
  width: min(100%, 500px);
  margin-left: auto;
  padding: 32px 30px 44px 44px;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  left: 2%;
  top: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,97,118,.18), rgba(181,139,76,.08) 48%, transparent 68%);
  filter: blur(10px);
}

.portrait-paper {
  position: absolute;
  inset: 52px 16px 22px 68px;
  transform: rotate(6deg);
  border: 1px solid rgba(77,46,40,.12);
  background: #ead8c0;
  box-shadow: var(--shadow-sm);
}

.portrait-card {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 14px 14px 18px;
  transform: rotate(-2.5deg);
  border: 1px solid rgba(77,46,40,.1);
  background: #fffaf1;
  box-shadow: var(--shadow-md);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5.15;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(.96) sepia(.04);
  background: var(--paper-deep);
}

.portrait-card figcaption {
  padding: 12px 8px 0;
}

.hand-note {
  display: block;
  color: var(--rose);
  font-family: var(--serif);
  font-size: .76rem;
  font-style: italic;
}

.portrait-card figcaption strong {
  display: block;
  margin-top: 4px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 500;
}

.portrait-stamp {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  transform: rotate(9deg);
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  background: rgba(251,247,240,.78);
  box-shadow: 0 7px 28px rgba(44,17,23,.08);
}

.portrait-stamp::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(122,38,61,.45);
  border-radius: inherit;
}

.portrait-stamp span {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
}

.portrait-stamp small {
  margin-top: -13px;
  font-family: var(--sans);
  font-size: .52rem;
  letter-spacing: .18em;
}

.portrait-quote-card {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  max-width: 255px;
  padding: 16px 18px;
  border: 1px solid rgba(181,139,76,.22);
  border-radius: 16px;
  background: rgba(255,253,250,.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.portrait-quote-card p {
  margin: 0;
  color: var(--maroon);
  font-family: var(--serif);
  font-size: .9rem;
  line-height: 1.55;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(181,139,76,.13);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 600px;
  height: 600px;
  right: -300px;
  top: 9%;
}

.orbit-two {
  width: 270px;
  height: 270px;
  left: -160px;
  bottom: 2%;
}

.scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
  color: rgba(90,73,69,.55);
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 54px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0%,100% { transform: scaleX(.3); opacity: .4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ----------------------------------
   Reveal animation
   ---------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }

/* ----------------------------------
   Story timeline
   ---------------------------------- */

.story-section {
  border-top: 1px solid rgba(87,26,43,.07);
  border-bottom: 1px solid rgba(87,26,43,.07);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(181,139,76,.18));
}

.timeline-item {
  position: relative;
  padding: 0 0 34px 34px;
}

.timeline-node {
  position: absolute;
  left: -42px;
  top: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(122,38,61,.25);
  border-radius: 50%;
  background: var(--ivory-soft);
  color: var(--wine);
  box-shadow: 0 0 0 7px var(--ivory);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: center;
  line-height: 1.1;
}

.timeline-card {
  position: relative;
  padding: 27px 28px;
  border: 1px solid rgba(77,46,40,.1);
  border-radius: 20px;
  background: rgba(255,253,250,.8);
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181,139,76,.34);
  box-shadow: var(--shadow-sm);
}

.timeline-card small {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.timeline-card h3 {
  margin: 7px 0 8px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
}

.timeline-card p {
  margin: 0;
  color: var(--ink-soft);
}

.old-paper-card {
  background:
    repeating-linear-gradient(0deg, rgba(77,46,40,.025) 0 1px, transparent 1px 4px),
    #f2e4cf;
  transform: rotate(-.5deg);
}

.margin-note {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(87,26,43,.14);
  color: var(--rose);
  font-family: var(--serif);
  font-size: .78rem;
  font-style: italic;
}

.turning-card {
  overflow: hidden;
  border-color: rgba(181,139,76,.32);
  background: linear-gradient(135deg, #fffaf1, #f3e3d8 65%, #ecd1d5);
  box-shadow: 0 24px 58px rgba(87,26,43,.12);
}

.turning-glow {
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,139,76,.25), transparent 70%);
  animation: turningPulse 3.8s ease-in-out infinite;
}

@keyframes turningPulse {
  0%,100% { transform: scale(.9); opacity: .55; }
  50% { transform: scale(1.15); opacity: .9; }
}

.special-node {
  width: 58px;
  height: 58px;
  left: -47px;
  top: 12px;
  border-color: var(--gold);
  background: var(--maroon);
  color: var(--gold-pale);
  box-shadow: 0 0 0 7px var(--ivory), 0 0 32px rgba(181,139,76,.2);
}

.date-signature {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 12px;
  border: 1px dashed rgba(122,38,61,.26);
  border-radius: 6px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.handshake-node {
  background: #f3e4db;
}

.handshake-visual {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
}

.handshake-visual span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(181,139,76,.12);
  font-size: 1.25rem;
}

.handshake-visual i {
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 1.1s .3s var(--ease);
}

.timeline-item.revealed .handshake-visual i {
  width: 92px;
}

.achievement-node {
  background: var(--gold-pale);
  color: var(--maroon-deep);
}

.achievement-badge {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(181,139,76,.12);
  color: var(--brown);
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.phd-node {
  background: var(--maroon);
  color: var(--gold-pale);
}

.timeline-footnote {
  margin-top: 14px !important;
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.timeline-now {
  padding-bottom: 0;
}

.now-node {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--white);
}

.now-card {
  background: linear-gradient(135deg, rgba(87,26,43,.95), rgba(61,21,30,.98));
  color: var(--white);
}

.now-card h3,
.now-card p {
  color: var(--white);
}

.now-card small {
  color: var(--gold-pale);
}

.now-card p {
  opacity: .76;
}

.story-counter-card {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  padding: 26px;
  border: 1px solid rgba(181,139,76,.25);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,253,250,.94), rgba(246,237,226,.9));
  box-shadow: var(--shadow-sm);
}

.counter-kicker {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.story-counter-card h3 {
  margin: 4px 0 20px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.live-counter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.live-counter div {
  padding: 12px;
  border: 1px solid rgba(87,26,43,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.55);
}

.live-counter strong,
.anniversary-countdown strong {
  display: block;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 1.45rem;
  line-height: 1;
}

.live-counter span,
.anniversary-countdown span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.story-counter-card > p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: .82rem;
}

/* ----------------------------------
   Admire section
   ---------------------------------- */

.admire-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(185,97,118,.09), transparent 24%),
    radial-gradient(circle at 93% 78%, rgba(181,139,76,.08), transparent 28%),
    var(--ivory-soft);
}

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

.admire-card {
  position: relative;
  min-height: 290px;
  padding: 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(87,26,43,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .35s ease;
}

.admire-card:nth-child(3n + 2) {
  transform: translateY(18px);
}

.admire-card:nth-child(3n + 2).revealed:hover,
.admire-card:hover {
  transform: translateY(-7px);
  background: rgba(255,253,250,.92);
  box-shadow: var(--shadow-sm);
}

.admire-card > span {
  color: rgba(181,139,76,.58);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
}

.admire-card h3 {
  margin: 36px 0 12px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.admire-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.admire-card::after {
  content: "✦";
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(181,139,76,.12);
  font-size: 2.2rem;
}

/* ----------------------------------
   Academic section
   ---------------------------------- */

.academic-section {
  overflow: hidden;
  background: linear-gradient(145deg, #281014, #4d1727 58%, #2a1418);
  color: var(--white);
}

.academic-backdrop {
  position: absolute;
  inset: 0;
  opacity: .35;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(234,216,175,.06) 50%, transparent 50.2%),
    radial-gradient(circle at 78% 28%, rgba(181,139,76,.22), transparent 26%),
    radial-gradient(circle at 14% 75%, rgba(185,97,118,.14), transparent 27%);
}

.academic-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 70px;
  align-items: center;
}

.academic-copy .eyebrow {
  color: var(--gold-soft);
}

.academic-copy h2 span {
  color: var(--gold-pale);
}

.academic-lead {
  margin: 24px 0;
  color: var(--gold-pale) !important;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.55;
}

.academic-copy > p {
  color: rgba(255,253,250,.72);
}

.academic-copy blockquote {
  margin: 28px 0;
  padding: 18px 0 18px 20px;
  border-left: 2px solid var(--gold-soft);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.academic-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.academic-meta div {
  padding: 13px 14px;
  border: 1px solid rgba(234,216,175,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.academic-meta small {
  display: block;
  color: rgba(255,253,250,.45);
  font-family: var(--sans);
  font-size: .56rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.academic-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--gold-pale);
  font-size: .78rem;
  line-height: 1.4;
}

.research-paper {
  position: relative;
  padding: 42px 38px 34px;
  transform: rotate(1deg);
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, rgba(77,46,40,.03) 0 1px, transparent 1px 5px),
    #f6ead8;
  box-shadow: 0 32px 100px rgba(0,0,0,.28);
}

.research-paper::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(77,46,40,.12);
  pointer-events: none;
}

.paper-pin {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 24px;
  height: 24px;
  border: 6px solid rgba(122,38,61,.8);
  border-radius: 50%;
  box-shadow: 1px 2px 4px rgba(0,0,0,.18);
}

.paper-code {
  margin: 0;
  color: var(--rose);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.research-paper h3 {
  margin: 9px 0 4px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 2rem;
}

.paper-rule {
  height: 1px;
  margin: 16px 0 8px;
  background: rgba(87,26,43,.15);
}

.academic-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.academic-timeline li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(87,26,43,.14);
}

.academic-timeline li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(122,38,61,.22);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
}

.academic-timeline strong {
  color: var(--maroon);
  font-family: var(--serif);
  font-size: 1rem;
}

.academic-timeline p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.5;
}

.paper-signature {
  margin: 18px 0 0;
  color: var(--brown);
  font-family: var(--serif);
  font-size: .85rem;
  font-style: italic;
  text-align: right;
}

/* ----------------------------------
   Dreams section
   ---------------------------------- */

.dreams-section {
  background: linear-gradient(180deg, #fbf7f0, #f2e5d7);
}

.dreams-shell {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 84px;
  align-items: center;
}

.dreams-emblem {
  position: sticky;
  top: calc(var(--nav-h) + 70px);
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid rgba(181,139,76,.25);
  border-radius: 50% 50% 48% 52% / 48% 52% 48% 52%;
  background:
    radial-gradient(circle, rgba(255,255,255,.74) 0 38%, transparent 39%),
    radial-gradient(circle, rgba(185,97,118,.12), transparent 62%);
  box-shadow: inset 0 0 0 14px rgba(255,255,255,.35);
}

.dreams-emblem::before,
.dreams-emblem::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(181,139,76,.18);
  border-radius: 50%;
}

.dreams-emblem::before { inset: 34px; }
.dreams-emblem::after { inset: 58px; }

.dreams-emblem span {
  position: relative;
  z-index: 2;
  color: var(--maroon);
  font-family: var(--serif);
  font-size: 3rem;
}

.dreams-emblem i {
  position: absolute;
  width: 1px;
  height: 110px;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.dreams-emblem small {
  position: absolute;
  bottom: 78px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .56rem;
  letter-spacing: .14em;
}

.dreams-copy > p {
  color: var(--ink-soft);
}

.dreams-highlight {
  margin: 30px 0 !important;
  padding: 26px 28px;
  border-left: 3px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: rgba(255,255,255,.58);
  color: var(--maroon) !important;
  box-shadow: var(--shadow-xs);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.2vw, 1.7rem);
  line-height: 1.55;
}

.dreams-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.dreams-pills span {
  padding: 7px 12px;
  border: 1px solid rgba(87,26,43,.1);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.6);
  color: var(--maroon);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
}

/* ----------------------------------
   Gallery
   ---------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}

.memory-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 2;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--paper-deep);
  cursor: zoom-in;
  box-shadow: var(--shadow-xs);
  isolation: isolate;
  text-align: left;
}

.memory-card:nth-child(1),
.memory-card:nth-child(7) {
  grid-column: span 6;
  grid-row: span 3;
}

.memory-card:nth-child(3),
.memory-card:nth-child(8) {
  grid-row: span 3;
}

.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s ease;
  filter: saturate(.82) contrast(.95);
}

.memory-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(30,13,16,.72) 100%);
}

.memory-card::after {
  content: "+";
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(30,13,16,.24);
  color: var(--white);
  backdrop-filter: blur(8px);
  transform: scale(.85);
  opacity: 0;
  transition: opacity .35s ease, transform .35s var(--ease);
}

.memory-card:hover img {
  transform: scale(1.055);
  filter: saturate(.95) contrast(1);
}

.memory-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.memory-card-content {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
}

.memory-card-content small {
  color: var(--gold-pale);
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.memory-card-content strong {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.memory-card-content span {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
}

.gallery-dev-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: .78rem;
}

.gallery-dev-note code,
.music-copy code {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(87,26,43,.07);
  color: var(--maroon);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78em;
}

/* Lightbox */

.lightbox,
.response-dialog {
  width: min(1100px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.lightbox::backdrop,
.response-dialog::backdrop {
  background: rgba(22,10,12,.82);
  backdrop-filter: blur(12px);
}

.lightbox figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #171012;
  box-shadow: var(--shadow-lg);
}

.lightbox img {
  width: 100%;
  max-height: 86dvh;
  min-height: 520px;
  object-fit: contain;
  background: #0d090a;
}

.lightbox figcaption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(160deg, #35131d, #1b1013);
}

.lightbox figcaption strong {
  font-family: var(--serif);
  font-size: 1.7rem;
}

.lightbox figcaption span {
  margin-top: 8px;
  color: rgba(255,255,255,.66);
}

.lightbox-close,
.dialog-close,
.secret-close,
.lightbox-nav {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(20,10,12,.48);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox-close,
.dialog-close {
  right: 12px;
  top: 12px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }

/* ----------------------------------
   Video memories
   ---------------------------------- */

.video-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(181,139,76,.1), transparent 27%),
    #f9f3eb;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* align-items: center; */
  /* align-content: center; */
  gap: 22px;
}

.video-memory-card {
  overflow: hidden;
  border: 1px solid rgba(87,26,43,.09);
  border-radius: 26px;
  background: rgba(255,255,255,.65);
  box-shadow: var(--shadow-sm);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(181,139,76,.18), transparent 25%),
    linear-gradient(135deg, #32151d, #6e2940 58%, #28141a);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--white);
  text-align: center;
}

.video-placeholder span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 5px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  font-size: 1.2rem;
}

.video-placeholder strong {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .13em;
}

.video-placeholder small {
  color: rgba(255,255,255,.58);
}

.video-copy {
  padding: 24px 26px 28px;
}

.video-copy small {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin: 6px 0 8px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 1.38rem;
}

.video-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .88rem;
}

/* ----------------------------------
   Hindi literature / book section
   ---------------------------------- */

.literature-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.02) 0 49.7%, rgba(181,139,76,.11) 49.8% 50.2%, transparent 50.3%),
    linear-gradient(145deg, #271419, #3a1721);
  color: var(--white);
}

.literature-shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.book-cover {
  position: sticky;
  top: calc(var(--nav-h) + 64px);
  min-height: 580px;
  padding: 42px 36px;
  border: 1px solid rgba(234,216,175,.24);
  border-radius: 6px 24px 24px 6px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.18), transparent 12%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px),
    #5b1e30;
  box-shadow: 18px 34px 90px rgba(0,0,0,.28), inset 10px 0 20px rgba(0,0,0,.14);
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(234,216,175,.18);
  border-radius: 3px 17px 17px 3px;
}

.book-top {
  position: relative;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.book-cover h2 {
  position: relative;
  margin: 140px 0 0;
  color: #f7ead3;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 500;
  line-height: .98;
}

.book-cover p {
  position: relative;
  max-width: 270px;
  margin-top: 20px;
  color: rgba(255,253,250,.58);
}

.book-seal {
  position: absolute;
  right: 36px;
  bottom: 34px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(234,216,175,.4);
  border-radius: 50%;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.poetry-pages {
  padding: 34px 0 0;
}

.poetry-pages .chapter-label {
  color: rgba(255,255,255,.55);
}

.poem-fragment {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 26px 0 30px;
  border-bottom: 1px solid rgba(234,216,175,.12);
}

.poem-fragment > span {
  color: rgba(213,183,126,.48);
  font-family: var(--sans);
  font-size: .66rem;
}

.poem-fragment p {
  margin: 0;
  color: rgba(255,253,250,.84);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.4vw, 1.8rem);
  line-height: 1.75;
}

/* ----------------------------------
   Digital letter
   ---------------------------------- */

.digital-letter {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 58px clamp(26px, 6vw, 76px) 70px;
  overflow: hidden;
  border: 1px solid rgba(77,46,40,.13);
  background:
    repeating-linear-gradient(0deg, rgba(77,46,40,.025) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #fffaf0, #f3e4d2);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
}

.digital-letter::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(87,26,43,.08);
  pointer-events: none;
}

.letter-fold-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(77,46,40,.06), transparent);
  pointer-events: none;
}

.letter-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(87,26,43,.11);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.letter-body {
  position: relative;
  z-index: 2;
}

.letter-body p {
  margin: 0 0 18px;
  color: #473732;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.92;
}

.letter-body .salutation {
  color: var(--maroon);
  font-size: 1.45rem;
}

.letter-body strong {
  color: var(--maroon);
}

.letter-signoff {
  margin-top: 36px !important;
  color: var(--wine) !important;
  font-size: 1.18rem !important;
  text-align: right;
}

.letter-seal-button {
  position: absolute;
  right: 42px;
  bottom: 32px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #a63c54, #671b30 66%);
  color: #f7e6cb;
  box-shadow: 0 9px 24px rgba(87,26,43,.23), inset 0 0 0 2px rgba(255,255,255,.08);
  cursor: pointer;
  transform: rotate(-8deg);
}

.letter-seal-button span {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1;
}

.letter-seal-button small {
  margin-top: -8px;
  font-family: var(--sans);
  font-size: .48rem;
  letter-spacing: .12em;
}

.digital-letter.is-folded .letter-body {
  max-height: 240px;
  overflow: hidden;
  mask-image: linear-gradient(#000 50%, transparent 100%);
}

/* ----------------------------------
   Future section
   ---------------------------------- */

.future-section {
  background: #faf4ec;
}

.future-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.future-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(87,26,43,.08);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(246,233,219,.62));
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}

.future-card:hover {
  transform: translateY(-5px);
  border-color: rgba(181,139,76,.26);
  box-shadow: var(--shadow-sm);
}

.future-card > span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
}

.future-card h3 {
  margin: 32px 0 10px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.future-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.travel-dream {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 48px;
  align-items: center;
  margin-top: 42px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(181,139,76,.2);
  border-radius: 30px;
  background: linear-gradient(135deg, #f1dfc8, #f9efe5 56%, #edd7d9);
}

.travel-copy small {
  color: var(--wine);
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.travel-copy h3 {
  margin: 5px 0 8px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 2rem;
}

.travel-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.travel-map-concept {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 30px;
  min-height: 260px;
  align-content: center;
  border: 1px dashed rgba(87,26,43,.15);
  border-radius: 46% 54% 50% 50% / 56% 45% 55% 44%;
  background: rgba(255,255,255,.4);
}

.travel-map-concept button {
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(87,26,43,.12);
  border-radius: var(--radius-pill);
  background: rgba(255,253,250,.86);
  color: var(--maroon);
  cursor: pointer;
  font-family: var(--sans);
  font-size: .64rem;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease;
}

.travel-map-concept button:hover,
.travel-map-concept button.is-pulsing {
  transform: translateY(-3px) scale(1.04);
  background: var(--maroon);
  color: var(--white);
}

.map-line {
  position: absolute;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181,139,76,.45), transparent);
}

.line-a { transform: rotate(22deg); top: 43%; left: 16%; }
.line-b { transform: rotate(-18deg); right: 11%; bottom: 32%; }

/* ----------------------------------
   Promises
   ---------------------------------- */

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

.promise-card {
  min-height: 190px;
  padding: 23px;
  border: 1px solid rgba(87,26,43,.08);
  border-radius: 18px;
  background: rgba(255,253,250,.75);
  box-shadow: var(--shadow-xs);
}

.promise-card > span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
}

.promise-card p {
  margin: 34px 0 0;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.65;
}

/* ----------------------------------
   Little things
   ---------------------------------- */

.little-things-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 50%, rgba(185,97,118,.12), transparent 26%),
    radial-gradient(circle at 86% 20%, rgba(181,139,76,.12), transparent 30%),
    #f9f1e8;
}

.little-things-shell {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.little-things-intro > p {
  color: var(--ink-soft);
}

.reason-progress {
  margin-top: 14px !important;
  color: var(--ink-soft) !important;
  font-family: var(--sans);
  font-size: .66rem;
}

.reason-stage {
  position: relative;
  min-height: 440px;
  padding: 52px;
  border: 1px solid rgba(181,139,76,.2);
  border-radius: 36px;
  background: linear-gradient(155deg, rgba(255,255,255,.86), rgba(245,228,211,.78));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.reason-stage::before {
  content: "“";
  position: absolute;
  right: 24px;
  top: -28px;
  color: rgba(122,38,61,.06);
  font-family: Georgia, serif;
  font-size: 14rem;
  line-height: 1;
}

.reason-number {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.reason-stage blockquote {
  margin: 72px 0 14px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.17;
}

.reason-stage > p {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
}

.reason-stage.is-changing blockquote,
.reason-stage.is-changing > p,
.reason-stage.is-changing .reason-number {
  animation: reasonSwap .55s var(--ease);
}

@keyframes reasonSwap {
  0% { opacity: .2; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}

.reason-history {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 44px;
}

.reason-history span {
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  background: rgba(87,26,43,.06);
  color: var(--ink-soft);
  font-size: .6rem;
}

/* ----------------------------------
   Music
   ---------------------------------- */

.music-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background: var(--ivory-soft);
}

.music-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(234,216,175,.15);
  border-radius: 28px;
  background: linear-gradient(135deg, #35141d, #5d1f32);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.music-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(234,216,175,.25);
  border-radius: 50%;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 2rem;
}

.music-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.music-copy p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.64);
}

.music-copy code {
  display: inline-block;
  margin-top: 10px;
  background: rgba(255,255,255,.08);
  color: var(--gold-pale);
}

.music-controls {
  display: flex;
  gap: 10px;
}

.round-control {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--white);
  cursor: pointer;
  transition: background .25s ease, transform .25s var(--ease);
}

.round-control:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}

/* ----------------------------------
   Anniversary
   ---------------------------------- */

.anniversary-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 45%, rgba(213,183,126,.17), transparent 25%),
    linear-gradient(140deg, #2d1018, #51192a 58%, #2c1117);
  color: var(--white);
}

.anniversary-glow {
  position: absolute;
  right: -10%;
  top: 8%;
  width: 45vw;
  aspect-ratio: 1;
  border: 1px solid rgba(213,183,126,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(213,183,126,.03), 0 0 0 96px rgba(213,183,126,.02);
}

.anniversary-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: center;
}

.anniversary-copy .eyebrow {
  color: var(--gold-soft);
}

.anniversary-copy h2 {
  color: var(--gold-pale);
  font-size: clamp(4.5rem, 10vw, 9rem);
  line-height: .84;
  letter-spacing: -.06em;
}

.anniversary-subtitle {
  margin: 28px 0 0;
  color: rgba(255,255,255,.6);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.anniversary-range {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255,255,255,.6);
  font-family: var(--sans);
  font-size: .72rem;
}

.anniversary-range i {
  color: var(--gold-soft);
  font-style: normal;
}

.anniversary-copy h3 {
  margin: 18px 0 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.anniversary-copy > p:last-child {
  color: rgba(255,255,255,.5);
}

.countdown-card {
  padding: 34px;
  border: 1px solid rgba(234,216,175,.18);
  border-radius: 28px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
}

.countdown-label {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.anniversary-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 20px;
}

.anniversary-countdown div {
  padding: 17px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  text-align: center;
}

.anniversary-countdown strong {
  color: var(--gold-pale);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.anniversary-countdown span {
  color: rgba(255,255,255,.46);
}

.anniversary-live-message {
  margin: 20px 0 0;
  color: rgba(255,255,255,.62);
  text-align: center;
}

.countdown-card.is-anniversary {
  border-color: rgba(234,216,175,.42);
  box-shadow: 0 0 80px rgba(181,139,76,.16), inset 0 1px 0 rgba(255,255,255,.09);
}

.countdown-card.is-anniversary .anniversary-countdown {
  display: none;
}

/* ----------------------------------
   Response form
   ---------------------------------- */

.response-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 64px;
  align-items: start;
}

.response-intro {
  position: sticky;
  top: calc(var(--nav-h) + 45px);
}

.response-subtitle {
  color: var(--maroon) !important;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.response-intro > p {
  color: var(--ink-soft);
}

.saved-response-preview {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(181,139,76,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
}

.saved-response-preview small {
  display: block;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .6rem;
  text-transform: uppercase;
}

.saved-response-preview strong {
  display: block;
  margin-top: 5px;
  color: var(--maroon);
}

.saved-response-preview p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: .8rem;
}

.response-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(87,26,43,.1);
  border-radius: 26px;
  background: rgba(255,253,250,.8);
  box-shadow: var(--shadow-sm);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--brown);
  font-weight: 600;
  font-size: .82rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(87,26,43,.14);
  border-radius: 12px;
  background: #fffaf4;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(181,139,76,.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(90,73,69,.45);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--maroon);
  font-size: .8rem;
}

.response-dialog {
  width: min(720px, calc(100vw - 28px));
}

.response-dialog-paper {
  max-height: 86dvh;
  overflow: auto;
  padding: 46px;
  border-radius: 24px;
  background:
    repeating-linear-gradient(0deg, rgba(77,46,40,.02) 0 1px, transparent 1px 5px),
    #fff6e8;
  box-shadow: var(--shadow-lg);
}

.response-dialog-paper > small {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.response-dialog-paper h2 {
  margin: 4px 0 24px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 2.5rem;
}

.response-dialog-paper dl {
  display: grid;
  gap: 15px;
  margin: 0;
}

.response-dialog-paper dt {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.response-dialog-paper dd {
  margin: 2px 0 0;
  color: var(--ink);
  white-space: pre-wrap;
}

/* ----------------------------------
   Secret section + overlay
   ---------------------------------- */

.secret-section {
  background:
    radial-gradient(circle at 50% 40%, rgba(185,97,118,.1), transparent 26%),
    #f7eee5;
  text-align: center;
}

.secret-shell {
  max-width: 760px;
}

.secret-overline {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.secret-shell h2 {
  margin-top: 8px;
}

.secret-shell p {
  max-width: 600px;
  margin: 14px auto 24px;
  color: var(--ink-soft);
}

.secret-overlay {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  background: #120b0e;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}

.secret-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.secret-night {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(181,139,76,.15), transparent 23%),
    radial-gradient(circle at 25% 70%, rgba(185,97,118,.1), transparent 30%),
    radial-gradient(circle at 14% 20%, rgba(255,255,255,.5) 0 1px, transparent 1.2px),
    radial-gradient(circle at 66% 15%, rgba(234,216,175,.7) 0 1px, transparent 1.2px),
    radial-gradient(circle at 82% 58%, rgba(255,255,255,.38) 0 1px, transparent 1.2px);
  background-size: auto, auto, 280px 280px, 330px 360px, 260px 320px;
  animation: starsDrift 12s linear infinite alternate;
}

.secret-close {
  right: 24px;
  top: 24px;
}

.secret-letter {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: clamp(32px, 6vw, 68px);
  transform: scale(.88) rotateX(14deg);
  transform-origin: center;
  opacity: 0;
  border: 1px solid rgba(77,46,40,.13);
  background:
    repeating-linear-gradient(0deg, rgba(77,46,40,.025) 0 1px, transparent 1px 5px),
    #f6e7d2;
  box-shadow: 0 60px 180px rgba(0,0,0,.5);
  transition: transform 1s .18s var(--ease), opacity .8s .18s ease;
}

.secret-overlay.is-open .secret-letter {
  transform: scale(1) rotateX(0);
  opacity: 1;
}

.secret-letter::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(87,26,43,.08);
  pointer-events: none;
}

.secret-handwritten {
  position: relative;
  display: block;
  color: var(--rose);
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
}

.secret-letter h2 {
  position: relative;
  margin: 28px 0 22px;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.secret-letter p {
  position: relative;
  color: var(--ink-soft);
  font-family: var(--serif);
  line-height: 1.9;
}

.secret-letter strong {
  position: relative;
  display: block;
  margin-top: 32px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.45;
  text-align: center;
}

.secret-date {
  position: relative;
  display: block;
  margin-top: 36px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .18em;
  text-align: center;
}

/* ----------------------------------
   Final scene
   ---------------------------------- */

.final-scene {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(213,183,126,.11), transparent 25%),
    linear-gradient(180deg, #1b0f12, #2d1118 55%, #170d10);
  color: var(--white);
  text-align: center;
}

.final-stars {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    radial-gradient(circle at 12% 14%, rgba(255,255,255,.7) 0 1px, transparent 1.2px),
    radial-gradient(circle at 65% 20%, rgba(234,216,175,.68) 0 1px, transparent 1.2px),
    radial-gradient(circle at 88% 68%, rgba(255,255,255,.5) 0 1px, transparent 1.2px),
    radial-gradient(circle at 38% 82%, rgba(213,183,126,.7) 0 1px, transparent 1.2px);
  background-size: 300px 260px, 360px 320px, 280px 360px, 400px 360px;
}

.final-copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.final-copy small {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.final-copy h2 {
  margin: 24px 0;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: clamp(3.8rem, 9vw, 8rem);
  font-weight: 500;
  line-height: .95;
}

.final-copy p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.65;
}

.final-copy strong {
  display: block;
  margin-top: 40px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.final-signoff {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.48);
  font-family: var(--serif);
}

/* ----------------------------------
   Footer
   ---------------------------------- */

.site-footer {
  padding: 54px 0;
  border-top: 1px solid rgba(234,216,175,.08);
  background: #130c0e;
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  align-items: flex-end;
}

.site-footer h2 {
  margin: 0;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 2rem;
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.58);
  font-family: var(--serif);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  color: rgba(255,255,255,.4);
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .06em;
}

/* ----------------------------------
   Toast
   ---------------------------------- */

.toast {
  position: fixed;
  z-index: 7000;
  left: 50%;
  bottom: 24px;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 17px;
  transform: translate(-50%, 24px);
  border: 1px solid rgba(234,216,175,.16);
  border-radius: var(--radius-pill);
  background: rgba(41,17,23,.95);
  color: var(--white);
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ----------------------------------
   Responsive: 1200 / 1024
   ---------------------------------- */

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 32px, 1060px);
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-menu a {
    font-size: .66rem;
  }

  .audio-mini span:last-child {
    display: none;
  }

  .hero-grid,
  .academic-grid {
    gap: 42px;
  }

  .admire-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admire-card:nth-child(3n + 2) {
    transform: none;
  }

  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 94px 0;
  }

  .hero {
    min-height: auto;
    padding: 90px 0 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr 430px;
    gap: 26px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-counter-card {
    position: relative;
    top: auto;
  }

  .live-counter {
    grid-template-columns: repeat(6, 1fr);
  }

  .story-counter-card > p {
    text-align: center;
  }

  .dreams-shell,
  .literature-shell,
  .response-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .dreams-emblem,
  .book-cover,
  .response-intro {
    position: relative;
    top: auto;
  }

  .dreams-emblem {
    width: min(470px, 100%);
    margin-inline: auto;
  }

  .book-cover {
    width: min(520px, 100%);
    margin-inline: auto;
    min-height: 520px;
  }

  .poetry-pages {
    max-width: 760px;
    margin-inline: auto;
  }

  .future-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .travel-dream {
    grid-template-columns: 1fr;
  }

  .little-things-shell {
    grid-template-columns: 1fr;
  }

  .reason-stage {
    min-height: 380px;
  }
}

/* ----------------------------------
   Responsive nav + tablet/mobile
   ---------------------------------- */

@media (max-width: 900px) {
  :root {
    --nav-h: 68px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .audio-mini {
    order: 2;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 16px;
    right: 16px;
    z-index: 1201;
    display: grid;
    gap: 0;
    padding: 12px;
    transform: translateY(-16px) scale(.98);
    transform-origin: top;
    border: 1px solid rgba(87,26,43,.1);
    border-radius: 18px;
    background: rgba(251,247,240,.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s ease;
  }

  .nav-menu.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(87,26,43,.07);
    font-size: .78rem;
  }

  .nav-menu a:last-child {
    border-bottom: 0;
  }

  .menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .portrait-stage {
    margin: 0 auto;
  }

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

  .research-paper {
    width: min(660px, 100%);
    margin-inline: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .memory-card,
  .memory-card:nth-child(1),
  .memory-card:nth-child(7) {
    grid-column: span 3;
  }

  .memory-card:nth-child(3),
  .memory-card:nth-child(8) {
    grid-row: span 2;
  }

  .anniversary-shell {
    grid-template-columns: 1fr;
  }

  .music-card {
    grid-template-columns: 72px 1fr;
  }

  .music-controls {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  :root {
    --shell: min(100% - 26px, 720px);
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 80px 0;
  }

  .cursor-glow {
    display: none;
  }

  .opening-card {
    padding: 26px 20px;
  }

  .opening-lines {
    min-height: 125px;
  }

  .opening-reveal h1 {
    font-size: clamp(2.6rem, 13vw, 4.7rem);
  }

  .brand-text small {
    display: none;
  }

  .hero-title {
    font-size: clamp(4rem, 17vw, 7rem);
  }

  .hero-subtitle {
    margin-top: 34px;
  }

  .hero-date-strip {
    align-items: flex-start;
    gap: 10px;
  }

  .hero-date-strip small {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .portrait-stage {
    padding-left: 28px;
    padding-right: 12px;
  }

  .portrait-quote-card {
    max-width: 220px;
  }

  .timeline {
    padding-left: 31px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 24px;
  }

  .timeline-node,
  .special-node {
    left: -35px;
    width: 42px;
    height: 42px;
    box-shadow: 0 0 0 6px var(--ivory);
    font-size: .55rem;
  }

  .timeline-card {
    padding: 22px;
  }

  .live-counter {
    grid-template-columns: repeat(3, 1fr);
  }

  .admire-grid,
  .future-cards,
  .promise-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .admire-card {
    min-height: auto;
  }

  .academic-meta {
    grid-template-columns: 1fr;
  }

  .research-paper {
    padding: 34px 24px 28px;
    transform: none;
  }

  .gallery-grid {
    grid-auto-rows: 130px;
  }

  .memory-card,
  .memory-card:nth-child(1),
  .memory-card:nth-child(7),
  .memory-card:nth-child(3),
  .memory-card:nth-child(8) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .lightbox figure {
    grid-template-columns: 1fr;
  }

  .lightbox img {
    min-height: auto;
    max-height: 67dvh;
  }

  .lightbox figcaption {
    padding: 20px;
  }

  .book-cover {
    min-height: 460px;
  }

  .book-cover h2 {
    margin-top: 105px;
  }

  .digital-letter {
    padding: 48px 24px 82px;
  }

  .letter-fold-line {
    display: none;
  }

  .travel-dream {
    padding: 24px;
  }

  .reason-stage {
    padding: 34px;
  }

  .reason-stage blockquote {
    margin-top: 52px;
  }

  .music-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .music-icon,
  .music-controls {
    margin-inline: auto;
  }

  .music-controls {
    grid-column: auto;
  }

  .anniversary-countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .response-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .form-field-full {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: min(100% - 20px, 500px);
  }

  .section {
    padding: 68px 0;
  }

  .audio-mini {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: .9rem;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-date-strip {
    flex-wrap: wrap;
  }

  .portrait-stage {
    padding: 24px 8px 42px 24px;
  }

  .portrait-stamp {
    width: 66px;
    height: 66px;
  }

  .portrait-quote-card {
    left: 4px;
    max-width: 205px;
    padding: 13px 15px;
  }

  .timeline {
    padding-left: 27px;
  }

  .timeline-card {
    padding: 20px 18px;
  }

  .live-counter {
    grid-template-columns: repeat(2, 1fr);
  }

  .admire-card,
  .future-card,
  .promise-card {
    border-radius: 16px;
  }

  .dreams-emblem {
    min-height: 320px;
  }

  .dreams-emblem span {
    font-size: 2.35rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .memory-card,
  .memory-card:nth-child(1),
  .memory-card:nth-child(7),
  .memory-card:nth-child(3),
  .memory-card:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
    min-height: 230px;
  }

  .book-cover {
    min-height: 420px;
    padding: 34px 28px;
  }

  .book-cover h2 {
    font-size: 3.4rem;
  }

  .poem-fragment {
    grid-template-columns: 26px 1fr;
    gap: 10px;
  }

  .poem-fragment p {
    font-size: 1.18rem;
  }

  .letter-header {
    flex-direction: column;
    gap: 4px;
  }

  .letter-seal-button {
    right: 24px;
    bottom: 22px;
  }

  .travel-map-concept {
    padding: 24px 14px;
  }

  .reason-stage {
    min-height: 360px;
    padding: 26px;
    border-radius: 24px;
  }

  .reason-stage blockquote {
    font-size: 2.1rem;
  }

  .countdown-card {
    padding: 24px 18px;
  }

  .response-dialog-paper {
    padding: 38px 22px;
  }

  .form-actions .button {
    width: 100%;
  }

  .secret-letter {
    padding: 36px 24px;
  }

  .final-copy p br {
    display: none;
  }
}

/* ----------------------------------
   Very small screens — 320px target
   ---------------------------------- */

@media (max-width: 360px) {
  .brand-text strong {
    font-size: .82rem;
  }

  .hero-title {
    font-size: 3.7rem;
  }

  .hero-date-strip > span {
    display: none;
  }

  .hero-date-strip {
    gap: 8px 16px;
  }

  .timeline-card h3 {
    font-size: 1.35rem;
  }

  .travel-map-concept button {
    font-size: .58rem;
    padding: 7px 9px;
  }
}

/* ----------------------------------
   Reduced motion & accessibility
   ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow,
  .particle-field {
    display: none;
  }
}

@media (hover: none) {
  .memory-card::after {
    opacity: 1;
    transform: scale(.92);
  }
}
