:root {
  --bg: #08140e;
  --bg-soft: #102319;
  --card: rgba(17, 34, 24, 0.72);
  --line: rgba(202, 255, 205, 0.18);
  --text: #f7f5ed;
  --muted: #bfd7c0;
  --green-1: #9be277;
  --green-2: #5abf89;
  --green-3: #224d36;
  --gold: #f1d58a;
  --rose: #ffbdb8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(90,191,137,0.18), transparent 22%),
    radial-gradient(circle at 90% 20%, rgba(241,213,138,0.09), transparent 18%),
    radial-gradient(circle at 50% 60%, rgba(155,226,119,0.09), transparent 24%),
    linear-gradient(180deg, #06110b 0%, #0d1c14 30%, #08120d 100%);
  overflow-x: hidden;
}

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

.grain,
.floating-leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.grain {
  opacity: 0.08;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 0.7px, transparent 0.8px);
  background-size: 16px 16px;
  mix-blend-mode: soft-light;
}

.floating-leaves::before,
.floating-leaves::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50% 0 50% 50%;
  filter: blur(18px);
  opacity: 0.14;
  background: radial-gradient(circle at 30% 30%, #a4eb8e, #4b8558 70%, transparent 72%);
  animation: drift 14s ease-in-out infinite alternate;
}

.floating-leaves::before { top: 10%; left: -70px; }
.floating-leaves::after { bottom: 12%; right: -60px; animation-delay: -4s; }

.section {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: 26px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(15, 30, 22, 0.55);
  backdrop-filter: blur(18px);
  padding: 14px 18px;
  border-radius: 999px;
}

.brand {
  text-transform: lowercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  color: var(--muted);
}

.badge {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(155,226,119,0.16), rgba(241,213,138,0.12));
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 54px 0 20px;
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: #d5efcf;
}

.hero h1,
.section-heading h2,
.memory-card h3,
.timeline-item h3 {
  font-family: 'Cormorant Garamond', serif;
}

.hero h1 {
  font-size: clamp(3.6rem, 9vw, 7.2rem);
  line-height: 0.92;
  margin: 14px 0 18px;
  font-weight: 700;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--green-1);
  text-shadow: 0 0 24px rgba(155,226,119,0.22);
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  border: 1px solid transparent;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--green-1), var(--green-2));
  color: #07120c;
  font-weight: 800;
  box-shadow: 0 20px 45px rgba(90,191,137,0.28);
}

.btn.secondary {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.halo,
.moon {
  position: absolute;
  border-radius: 50%;
}

.halo {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(155,226,119,.2) 0%, rgba(155,226,119,0.04) 50%, transparent 72%);
  animation: pulseHalo 6s ease-in-out infinite;
}

.moon {
  inset: 36px auto auto 60px;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle at 28% 28%, #fff7cf 0%, #f0e3a5 45%, #b19f66 100%);
  box-shadow: 0 0 34px rgba(255, 239, 174, 0.18);
}

.cake-card {
  width: min(420px, 100%);
  padding: 30px 30px 26px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 243, 198, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(16, 35, 25, 0.6);
  border: 1px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  position: relative;
  overflow: hidden;
}

.cake-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(241,213,138,0.18), transparent 70%);
}

.cake-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.cake-title {
  text-align: center;
  font-family: 'Great Vibes', cursive;
  font-size: 2.3rem;
  color: #fff2cf;
  margin-bottom: 10px;
}

.cake-stage {
  height: 300px;
  position: relative;
  margin-top: 18px;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.24));
}

.cake-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 326px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.68), rgba(255,255,255,0.14) 54%, rgba(255,255,255,0.02) 70%),
    linear-gradient(180deg, rgba(250, 245, 232, 0.92), rgba(196, 206, 192, 0.52));
  box-shadow:
    inset 0 3px 4px rgba(255,255,255,0.38),
    0 10px 16px rgba(0,0,0,0.18);
}

.candle {
  position: absolute;
  top: 34px;
  width: 16px;
  height: 72px;
  border-radius: 10px;
  background: repeating-linear-gradient(180deg, #e9fff0 0 8px, #9be277 8px 16px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), 0 8px 14px rgba(0,0,0,0.18);
}

.c1 { left: 35%; }
.c2 { left: calc(50% - 8px); }
.c3 { left: 62%; }

.flame {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 28px;
  border-radius: 55% 45% 50% 50%;
  background: radial-gradient(circle at 50% 38%, #fffbe8 0%, #ffd96f 32%, #ff8c3f 100%);
  box-shadow: 0 0 22px rgba(255, 187, 67, 0.56);
  animation: flicker 1.1s ease-in-out infinite alternate;
}

.flame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 7px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  filter: blur(0.5px);
}

.cake-top, .cake-mid, .cake-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
}

.cake-top::before, .cake-mid::before, .cake-bottom::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.18));
  opacity: 0.72;
}

.cake-top::after, .cake-mid::after, .cake-bottom::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 20px;
  background:
    radial-gradient(circle at 8% 100%, #fff7e8 0 8px, transparent 8.5px),
    radial-gradient(circle at 26% 100%, #fff7e8 0 10px, transparent 10.5px),
    radial-gradient(circle at 46% 100%, #fff7e8 0 8px, transparent 8.5px),
    radial-gradient(circle at 65% 100%, #fff7e8 0 10px, transparent 10.5px),
    radial-gradient(circle at 84% 100%, #fff7e8 0 8px, transparent 8.5px);
}

.cake-top {
  bottom: 150px;
  width: 180px;
  height: 58px;
  background:
    linear-gradient(180deg, #fff7e1 0 26%, #f4deb0 26% 60%, #d6b36a 100%);
  box-shadow: 0 16px 22px rgba(0,0,0,0.12);
}
.cake-mid {
  bottom: 92px;
  width: 240px;
  height: 72px;
  background:
    linear-gradient(180deg, #efffd7 0 24%, #b9eb92 24% 68%, #86c96f 68% 100%);
  box-shadow: 0 18px 24px rgba(0,0,0,0.14);
}
.cake-bottom {
  bottom: 26px;
  width: 300px;
  height: 86px;
  background:
    linear-gradient(180deg, #fff8e7 0 22%, #f0ddb0 22% 70%, #d6bc72 70% 100%);
  box-shadow:
    inset 0 8px 0 rgba(255,255,255,0.2),
    0 20px 28px rgba(0,0,0,0.16);
}

.ribbon {
  text-align: center;
  margin-top: 14px;
  color: #e9f2dd;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.scroll-note {
  text-align: center;
  color: rgba(240,248,232,0.76);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-top: 8px;
}

.intro-grid,
.memory-layout {
  padding: 50px 0;
  display: grid;
  gap: 24px;
}

.intro-grid { grid-template-columns: 1fr 1.1fr; }
.memory-layout { grid-template-columns: 1.1fr 1fr 0.9fr; align-items: stretch; }

.quote-card,
.symbol-card,
.letter,
.prism-panel,
.skyline-card,
.memory-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quote-card {
  min-height: 320px;
  padding: 34px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
}

.script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  color: #f7efdb;
  text-align: center;
}

.symbol-card {
  padding: 28px;
  min-height: 320px;
}

.mini-title {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #dbf2d8;
  margin-bottom: 22px;
}

.symbol-row {
  display: flex;
  gap: 22px;
  justify-content: space-around;
  align-items: end;
  min-height: 220px;
}

.fries-wrap, .ball-wrap, .handball-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.fries-wrap { width: 110px; height: 170px; }
.fries-box {
  position: absolute;
  bottom: 0;
  width: 100px;
  height: 82px;
  background: linear-gradient(180deg, #ff7a5d, #be2f2f);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.fry {
  position: absolute;
  bottom: 68px;
  width: 14px;
  height: 82px;
  background: linear-gradient(180deg, #fff4b5, #f6be49);
  border-radius: 12px;
  transform-origin: bottom center;
  animation: fryDance 2.4s ease-in-out infinite;
  z-index: 1;
}
.fry-1 { left: 20px; animation-delay: 0s; }
.fry-2 { left: 34px; height: 92px; animation-delay: .2s; }
.fry-3 { left: 48px; height: 88px; animation-delay: .45s; }
.fry-4 { left: 62px; animation-delay: .15s; }
.fry-5 { left: 76px; height: 90px; animation-delay: .35s; }

.billiard-ball {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.82), rgba(255,255,255,0) 18%),
    radial-gradient(circle at 50% 50%, #2a2a2a 0%, #0a0a0a 70%);
  display: grid;
  place-items: center;
  font-size: 2.3rem;
  font-weight: 800;
  box-shadow: inset -16px -16px 24px rgba(255,255,255,0.03), 0 20px 30px rgba(0,0,0,.22);
}

.handball {
  width: 114px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 35%, rgba(255,255,255,.55), transparent 16%),
    repeating-radial-gradient(circle at center, transparent 0 21px, rgba(0,0,0,.18) 21px 22px),
    linear-gradient(135deg, #f8c568, #db7437);
  box-shadow: 0 20px 30px rgba(0,0,0,.22);
  position: relative;
}

.handball::before,
.handball::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(80, 32, 8, 0.26);
}

.section-heading {
  padding-top: 54px;
  padding-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin: 10px 0 0;
  line-height: 0.95;
}

.storybook-section {
  padding-bottom: 34px;
}

.storybook-shell {
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(241,213,138,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(13, 28, 19, 0.74);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.storybook-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.storybook-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.storybook-actions {
  display: flex;
  gap: 10px;
}

.book-nav {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.book-nav:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

.book-nav:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.storybook-book {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 28px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  -ms-overflow-style: none;
}

.storybook-book::-webkit-scrollbar {
  display: none;
}

.storybook-book.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.storybook-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
}

.book-page {
  position: relative;
  min-height: 470px;
  padding: 34px;
  border-radius: 28px;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.cover-page {
  background:
    radial-gradient(circle at 70% 22%, rgba(255,255,255,0.16), transparent 18%),
    linear-gradient(140deg, #173122 0%, #234f34 42%, #c8ac64 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff8ea;
}

.page-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.14), transparent 28%, transparent 72%, rgba(255,255,255,0.06));
  pointer-events: none;
}

.cover-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8,20,14,0.68), rgba(255,255,255,0.18), rgba(8,20,14,0.76));
  box-shadow: 10px 0 24px rgba(0,0,0,0.22);
}

.cover-badge {
  position: relative;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.cover-kicker {
  position: relative;
  margin: 34px 0 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,248,234,0.82);
  font-size: 0.75rem;
}

.cover-page h3,
.memory-page h3,
.back-page h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 10px 0 14px;
  line-height: 0.96;
}

.cover-page p {
  position: relative;
  max-width: 28rem;
  line-height: 1.9;
  color: rgba(255,248,234,0.92);
}

.cover-mark {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  background: rgba(9, 18, 13, 0.24);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.04);
}

.memory-page,
.back-page {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,238,221,0.96));
  color: #1a261e;
}

.memory-page {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 28px;
  align-items: center;
}

.alt-page {
  background:
    linear-gradient(180deg, rgba(246,242,230,0.98), rgba(233,227,205,0.98));
}

.page-visual {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 37, 26, 0.08), rgba(18, 37, 26, 0.02));
  box-shadow: inset 0 0 0 1px rgba(24,40,30,0.08);
}

.page-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-number {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #5b765f;
}

.memory-page p,
.back-page p {
  line-height: 1.9;
  color: #44584a;
}

.visual-polaroid {
  background:
    radial-gradient(circle at 20% 14%, rgba(255,255,255,0.8), transparent 20%),
    linear-gradient(160deg, #d8f0d2, #9bc784 45%, #305339 100%);
}

.polaroid {
  position: absolute;
  width: 130px;
  height: 156px;
  background: #fffaf0;
  border-radius: 6px;
  box-shadow: 0 18px 28px rgba(0,0,0,0.18);
}

.polaroid::after {
  content: "";
  position: absolute;
  inset: 12px 12px 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.02)), linear-gradient(140deg, #456d48, #d2b879);
}

.polaroid-a { left: 28px; top: 38px; transform: rotate(-10deg); }
.polaroid-b { left: 112px; top: 78px; transform: rotate(8deg); }
.polaroid-c { left: 62px; top: 158px; transform: rotate(-4deg); }

.visual-night {
  background: linear-gradient(180deg, #102033, #172a49 55%, #1f3244 100%);
}

.night-moon {
  position: absolute;
  right: 48px;
  top: 36px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fffce5, #f1de94 68%, #d0ba6a 100%);
  box-shadow: 0 0 36px rgba(255, 228, 145, 0.26);
}

.night-star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.night-star.s1 { left: 56px; top: 70px; }
.night-star.s2 { left: 136px; top: 42px; }
.night-star.s3 { left: 188px; top: 102px; }

.night-hill {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -20px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(180deg, #304f3c, #18271d);
}

.visual-flowers {
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,0.5), transparent 18%),
    linear-gradient(180deg, #f8ecd3, #ebd7a8 44%, #bfd4ae 100%);
}

.flower {
  position: absolute;
  bottom: 0;
  width: 78px;
  height: 230px;
}

.flower::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 176px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #6da56f, #31533b);
}

.flower::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 70px;
  height: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, #f7d780 0 22%, transparent 23%),
    radial-gradient(circle at 50% 0, #fff7e6 0 18px, transparent 19px),
    radial-gradient(circle at 100% 50%, #fff7e6 0 18px, transparent 19px),
    radial-gradient(circle at 50% 100%, #fff7e6 0 18px, transparent 19px),
    radial-gradient(circle at 0 50%, #fff7e6 0 18px, transparent 19px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.stem-1 { left: 24px; }
.stem-2 { left: 118px; bottom: 10px; }
.stem-3 { left: 208px; bottom: -6px; }

.back-page {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(241,213,138,0.18), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(243,237,222,0.98));
}

.back-ornament {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(39,60,47,0.08);
  box-shadow: inset 0 0 0 26px rgba(241,213,138,0.08);
}

.center-copy {
  align-items: center;
  text-align: center;
}

.back-signature {
  font-family: 'Great Vibes', cursive;
  font-size: 2.1rem;
  color: #375741 !important;
  margin-top: 8px;
}

.storybook-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.storybook-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.storybook-dot.active {
  background: var(--green-1);
  transform: scale(1.18);
}

.realistic-book {
  position: relative;
  overflow: visible;
  cursor: default;
  user-select: none;
  touch-action: pan-y;
  perspective: 2600px;
  min-height: 620px;
}

.book-stage {
  position: relative;
  width: min(100%, 980px);
  height: 620px;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.book-shadow {
  position: absolute;
  inset: 26px 18px 10px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.3), rgba(6, 10, 8, 0.08));
  box-shadow: 0 44px 70px rgba(0,0,0,0.42);
}

.book-spine-core {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 32px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(17,31,23,0.9), rgba(56,84,64,0.72), rgba(15,23,17,0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 12px rgba(6,12,9,0.14);
}

.flip-sheet {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(.2,.72,.12,1), z-index .01s linear .6s;
}

.flip-sheet.flipped {
  transform: rotateY(-180deg);
}

.sheet-1 { z-index: 6; }
.sheet-2 { z-index: 5; }
.sheet-3 { z-index: 4; }
.flip-sheet.flipped.sheet-1 { z-index: 1; }
.flip-sheet.flipped.sheet-2 { z-index: 2; }
.flip-sheet.flipped.sheet-3 { z-index: 3; }

.sheet-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 22px 40px rgba(0,0,0,0.22);
}

.sheet-front {
  transform: rotateY(0deg);
}

.sheet-back {
  transform: rotateY(180deg);
}

.cover-face,
.back-cover-face {
  color: #fff8ea;
}

.cover-face {
  padding: 34px 38px;
  background:
    radial-gradient(circle at 74% 18%, rgba(255,255,255,0.18), transparent 16%),
    linear-gradient(145deg, #152e21 0%, #1e4a31 45%, #c9aa67 100%);
}

.back-cover-face {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,0.08), transparent 20%),
    linear-gradient(145deg, #183223 0%, #214a31 42%, #c5a35d 100%);
}

.back-cover-face p {
  position: relative;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255,248,234,0.78);
}

.back-cover-ornament {
  position: absolute;
  width: 230px;
  height: 320px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.04);
}

.paper-face,
.closing-face {
  padding: 28px 30px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.06), transparent 7%, transparent 93%, rgba(0,0,0,0.04)),
    linear-gradient(180deg, #f8f2e4, #f1ead8 100%);
  color: #1d2a22;
}

.alt-paper {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.06), transparent 7%, transparent 93%, rgba(0,0,0,0.04)),
    linear-gradient(180deg, #f4eddd, #ebe1c8 100%);
}

.closing-face {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(241,213,138,0.16), transparent 22%),
    linear-gradient(90deg, rgba(0,0,0,0.06), transparent 7%, transparent 93%, rgba(0,0,0,0.04)),
    linear-gradient(180deg, #f6efdf, #efe6d4 100%);
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  height: 100%;
}

.paper-face::before,
.closing-face::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 26px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(54,71,57,0.08), transparent);
}

.paper-face::after,
.closing-face::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px solid rgba(42,59,47,0.07);
  pointer-events: none;
}

.flip-sheet.is-top-turning .sheet-front,
.flip-sheet.is-top-turning .sheet-back {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 30px 70px rgba(0,0,0,0.34);
}

.storybook-dots {
  margin-top: 28px;
}

.storybook-dot {
  width: 14px;
  height: 14px;
}

.letter {
  padding: 40px;
  position: relative;
  max-width: 900px;
}

.letter p {
  color: #eff6e9;
  line-height: 1.95;
  font-size: 1.04rem;
}

.wax-seal {
  position: absolute;
  right: 26px;
  top: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffb6b2, #9f2237);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.signature {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem !important;
  color: #fff2d8 !important;
}

.timeline-section { padding-bottom: 36px; }
.timeline {
  position: relative;
  margin: 16px 0 30px;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(155,226,119,0.15), rgba(155,226,119,0.8), rgba(155,226,119,0.15));
}
.timeline-item {
  position: relative;
  padding: 18px 0 18px 26px;
}
.dot {
  position: absolute;
  left: -2px;
  top: 28px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 5px solid rgba(14,33,21,0.9);
  background: radial-gradient(circle, #dfffcb, #84d56d);
  box-shadow: 0 0 0 8px rgba(155,226,119,0.08);
}
.timeline-item .content {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.time-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--green-1);
}
.timeline-item h3 { margin: 8px 0 10px; font-size: 2rem; }
.timeline-item p { color: var(--muted); margin: 0; line-height: 1.8; }

.prism-panel {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 24px;
  padding: 28px;
  align-items: stretch;
}

.prism-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prism-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.prism-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prism-switch {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #eef7e9;
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.prism-switch:hover,
.prism-switch.active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

.prism-caption-card {
  margin-top: auto;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(9, 21, 15, 0.46);
  border: 1px solid rgba(255,255,255,0.08);
}

.prism-caption-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: #dcefd5;
}

.prism-caption-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  margin: 10px 0 12px;
}

.prism-caption-card p {
  margin: 0;
}

.prism-stage {
  --scene-a: rgba(155,226,119,0.28);
  --scene-b: rgba(241,213,138,0.24);
  --scene-c: rgba(122, 219, 173, 0.18);
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, var(--scene-a), transparent 28%),
    radial-gradient(circle at 80% 22%, var(--scene-b), transparent 24%),
    radial-gradient(circle at 50% 72%, var(--scene-c), transparent 28%),
    linear-gradient(180deg, rgba(8,16,12,0.88), rgba(12,26,18,0.92));
  isolation: isolate;
  transition: background .6s ease;
}

.prism-stage::before,
.prism-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prism-stage::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.22;
}

.prism-stage::after {
  background: linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,0.08) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: prismSweep 9s linear infinite;
}

.prism-aura {
  position: absolute;
  inset: 12% 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 66%);
  filter: blur(22px);
}

.prism-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04), transparent 40%);
}

.prism-core-wrap {
  position: absolute;
  inset: 50%;
  width: min(100% - 96px, 360px);
  aspect-ratio: 1 / 1.12;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}

.prism-orbit {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

.orbit-one {
  animation: prismRotate 16s linear infinite;
}

.orbit-two {
  inset: 8%;
  border-style: dashed;
  opacity: 0.6;
  animation: prismRotateReverse 20s linear infinite;
}

.prism-photo-stack {
  position: absolute;
  inset: 0;
}

.prism-photo {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.22,1,.19,1), opacity .45s ease, filter .45s ease;
}

.photo-frame {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(248, 244, 233, 0.96);
  box-shadow: 0 26px 56px rgba(0,0,0,0.26);
}

.photo-art {
  position: absolute;
  inset: 16px 16px 78px;
  border-radius: 18px;
  width: calc(100% - 32px);
  height: calc(100% - 94px);
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.photo-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #182319;
  text-align: left;
}

.photo-meta strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 0.9;
}

.photo-meta small {
  display: block;
  margin-top: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #4a5b4f;
}

.photo-gloss {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255,255,255,0.18), transparent 34%, transparent 62%, rgba(255,255,255,0.08));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.photo-a { transform: translate(-22px, 16px) rotate(-10deg) scale(.92); z-index: 1; }
.photo-b { transform: translate(26px, 8px) rotate(8deg) scale(.93); z-index: 2; }
.photo-c { transform: translate(-10px, -12px) rotate(-4deg) scale(.95); z-index: 3; }
.photo-d { transform: translate(18px, -20px) rotate(5deg) scale(.94); z-index: 4; }

.prism-photo.is-active {
  transform: translate(0, 0) rotate(0deg) scale(1.08);
  z-index: 6;
}

.prism-photo.is-muted {
  opacity: .46;
  filter: blur(1.2px) saturate(.7);
}

.prism-photo:hover:not(.is-active) {
  transform: translateY(-8px) scale(.97) rotate(0deg);
}

.photo-a .photo-art,
.photo-b .photo-art,
.photo-c .photo-art,
.photo-d .photo-art {
  background: #203127;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 8, 6, 0.82);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 50;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-shell {
  position: relative;
  width: min(92vw, 1180px);
  max-height: 88vh;
  display: grid;
  gap: 14px;
  justify-items: center;
  transform: translateY(28px) scale(.92);
  transition: transform .45s cubic-bezier(.22,1,.19,1);
}

.lightbox-overlay.is-open .lightbox-shell {
  transform: translateY(0) scale(1);
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  border-radius: 26px;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0,0,0,0.44);
  background: rgba(255,255,255,0.04);
}

.lightbox-caption {
  color: #f3efe5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #f4f0e8;
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  cursor: pointer;
  z-index: 2;
}

.prism-tag {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 22, 16, 0.54);
  border: 1px solid rgba(255,255,255,0.08);
  color: #eef7e9;
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
  white-space: nowrap;
  transition: transform .45s ease, opacity .45s ease, background .45s ease;
}

.cloud-a { top: 62px; left: 56px; animation: tagFloat 7s ease-in-out infinite; }
.cloud-b { top: 112px; right: 52px; animation: tagFloat 8s ease-in-out infinite -.8s; }
.cloud-c { bottom: 82px; left: 74px; animation: tagFloat 7.4s ease-in-out infinite -1.2s; }
.cloud-d { bottom: 56px; right: 62px; animation: tagFloat 8.2s ease-in-out infinite -.4s; }

.prism-stage.scene-1 {
  --scene-a: rgba(120,161,255,0.24);
  --scene-b: rgba(255,194,120,0.22);
  --scene-c: rgba(176,140,255,0.16);
}

.prism-stage.scene-2 {
  --scene-a: rgba(255,136,154,0.24);
  --scene-b: rgba(255,221,155,0.24);
  --scene-c: rgba(155,226,119,0.14);
}

.prism-stage.scene-3 {
  --scene-a: rgba(128,255,217,0.22);
  --scene-b: rgba(255,230,150,0.2);
  --scene-c: rgba(126,180,255,0.18);
}

.nyc-card {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nyc-scene {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 68%, rgba(240,110,80,.30), transparent 20%),
    linear-gradient(to bottom, #07111f 0%, #183257 45%, #f06f4f 82%, #101725 100%);
}

.nyc-label {
  position: absolute;
  top: 22px;
  left: 28px;
  z-index: 20;
  color: rgba(255,245,232,.9);
  font-size: clamp(18px, 2vw, 28px);
  text-transform: uppercase;
  letter-spacing: .23em;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}

.nyc-sub {
  position: absolute;
  top: 56px;
  left: 30px;
  z-index: 20;
  color: rgba(255,220,195,.68);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .30em;
}

.nyc-moon {
  position: absolute;
  top: 10%;
  right: 11%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff9ea 0%, #fff1c8 58%, #ebd8a3 100%);
  box-shadow: 0 0 24px rgba(255,243,204,.42), 0 0 80px rgba(255,230,180,.14);
  animation: moonFloat 9s ease-in-out infinite;
  z-index: 1;
}

.nyc-moon::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  box-shadow: -16px 7px 0 rgba(190,160,90,.10), 15px 19px 0 rgba(190,160,90,.08);
}

.nyc-stars,
.nyc-clouds,
.nyc-reflections {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nyc-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 8px rgba(255,255,255,.55);
  animation: twinkle linear infinite;
}

.nyc-cloud {
  position: absolute;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(255,255,255,.03), rgba(255,225,205,.11), rgba(255,255,255,.03));
  filter: blur(7px);
  opacity: .5;
}

.nyc-cloud::before,
.nyc-cloud::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  background: inherit;
}

.nyc-cloud::before {
  width: 55%;
  height: 140%;
  left: 12%;
  top: -48%;
}

.nyc-cloud::after {
  width: 42%;
  height: 115%;
  right: 8%;
  top: -26%;
}

.nyc-mist {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,185,140,.08) 0%, transparent 70%);
  filter: blur(24px);
  animation: mistMove 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.nyc-mist.one { bottom: 27%; z-index: 2; }
.nyc-mist.two { bottom: 18%; z-index: 7; animation-delay: -4s; opacity: .95; }

.nyc-skyline-wrap {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.nyc-skyline-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nyc-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 27%;
  background:
    linear-gradient(to bottom, rgba(255,140,90,.08), transparent 18%),
    linear-gradient(to bottom, #12253f, #060b13);
  overflow: hidden;
  z-index: 8;
}

.nyc-water::before,
.nyc-water::after {
  content: "";
  position: absolute;
  left: -10%;
  width: 120%;
  height: 125%;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 1px, transparent 3px, transparent 8px);
  opacity: .14;
  animation: waterShift 6s linear infinite;
}

.nyc-water::after {
  opacity: .07;
  filter: blur(2px);
  animation-duration: 9s;
}

.nyc-reflection {
  position: absolute;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255,216,120,.35), transparent 82%);
  opacity: .45;
  animation: shimmer 4s ease-in-out infinite;
}

.nyc-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(27% - 3px);
  height: 12px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.06), transparent);
  z-index: 9;
}

.nyc-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18) .7px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,.12) .7px, transparent 1px),
    radial-gradient(circle at 45% 70%, rgba(255,255,255,.15) .7px, transparent 1px);
  background-size: 150px 150px, 190px 190px, 230px 230px;
  z-index: 20;
  animation: grainMove 18s linear infinite;
}

.nyc-svg-shadow {
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.22));
}

.nyc-win {
  fill: rgba(255,216,130,.08);
  opacity: .55;
  transition: opacity .25s ease, fill .25s ease;
}

.nyc-win.on {
  fill: #ffd86d;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(255,210,110,.28));
}

.memory-card {
  padding: 28px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.memory-card h3 {
  font-size: 2rem;
  margin: 0 0 14px;
}
.memory-card p { color: var(--muted); line-height: 1.85; }
.memory-card.tall { min-height: 100%; }
.memory-card.wide { grid-column: span 1; }
.reasons {
  columns: 2;
  gap: 22px;
  padding-left: 18px;
  color: #eff5eb;
}
.reasons li { margin-bottom: 10px; }
.orbital-hearts {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 20px auto 0;
}
.orbital-hearts span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: #ffc2c0;
  transform: rotate(45deg);
  animation: orbit 8s linear infinite;
}
.orbital-hearts span::before,
.orbital-hearts span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: inherit;
  border-radius: 50%;
}
.orbital-hearts span::before { left: -9px; }
.orbital-hearts span::after { top: -9px; }
.orbital-hearts span:nth-child(2) { animation-delay: -2.7s; }
.orbital-hearts span:nth-child(3) { animation-delay: -5.4s; }

.time-window-section {
  padding-bottom: 20px;
}

.time-window-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 18%, rgba(155,226,119,0.14), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(241,213,138,0.09), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(12, 26, 18, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.time-window-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.time-window-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.time-window-badge {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #deedd8;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.time-window-copy h3 {
  margin: 18px 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.92;
}

.time-window-copy p {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.9;
}

.time-window-frame {
  position: relative;
  min-height: 340px;
  border-radius: 28px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(5,15,10,0.74), rgba(8,18,13,0.9)),
    radial-gradient(circle at 50% 50%, rgba(155,226,119,0.08), transparent 54%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.time-window-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

.time-glow {
  position: absolute;
  inset: auto 10% 12% 10%;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,213,138,0.18), transparent 70%);
  filter: blur(16px);
}

.time-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.time-unit {
  min-height: 158px;
  padding: 18px 10px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 16px 30px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.time-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 0.88;
  color: #fff5dc;
  text-shadow: 0 0 18px rgba(241,213,138,0.14);
}

.time-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dbead6;
  text-align: center;
}

.vinyl-card {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 26px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 18%, rgba(241,213,138,0.12), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(13, 24, 19, 0.74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.vinyl-player {
  position: relative;
  min-height: 430px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.08), transparent 18%),
    linear-gradient(145deg, #1d2c22, #0e1712 56%, #09100c);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -18px 28px rgba(0,0,0,0.3);
}

.turntable-base {
  position: absolute;
  inset: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
}

.turntable-platter {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle, #2f3733 0 56%, #1d221f 56% 72%, #0f1311 72% 100%);
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,0.03),
    0 24px 50px rgba(0,0,0,0.34);
}

.vinyl-record {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 274px;
  height: 274px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 16%),
    radial-gradient(circle, #242827 0 18%, #080909 18% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 18px 36px rgba(0,0,0,0.34);
}

.vinyl-record.spinning {
  animation: vinylSpin 4.6s linear infinite;
}

.vinyl-rings,
.vinyl-rings::before,
.vinyl-rings::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.vinyl-rings {
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,0.03) 0 2px, transparent 2px 8px);
  opacity: 0.55;
}

.vinyl-rings::before,
.vinyl-rings::after {
  content: "";
}

.vinyl-rings::before {
  inset: 22%;
  border: 1px solid rgba(255,255,255,0.06);
}

.vinyl-rings::after {
  inset: 47%;
  background: radial-gradient(circle, #1a231d, #060707 78%);
}

.vinyl-label {
  position: absolute;
  inset: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.24), transparent 20%),
    linear-gradient(145deg, #ecd9ae, #b99255 68%, #7d5d2f);
  color: #17120d;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 12px;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0.08);
}

.vinyl-label strong,
.vinyl-copy h3 {
  font-family: 'Cormorant Garamond', serif;
}

.label-artist {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vinyl-label strong {
  display: block;
  font-size: 1.08rem;
  line-height: 0.92;
}

.vinyl-label small {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
}

.tonearm {
  position: absolute;
  right: 32px;
  top: 54px;
  width: 184px;
  height: 120px;
  transform-origin: 156px 20px;
  transform: rotate(30deg);
  transition: transform .8s cubic-bezier(.22,1,.19,1);
  z-index: 6;
}

.tonearm.playing {
  transform: rotate(-18deg);
}

.tonearm-base {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d1bf97, #6c5736);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.tonearm-arm {
  position: absolute;
  left: 20px;
  top: 16px;
  width: 136px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dec99f, #a48b63 54%, #6d5b42);
  box-shadow: 0 6px 14px rgba(0,0,0,0.24);
}

.tonearm-head {
  position: absolute;
  left: 6px;
  top: 11px;
  width: 28px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(145deg, #f1e1b8, #8d7145);
  box-shadow: 0 6px 10px rgba(0,0,0,0.24);
}

.vinyl-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vinyl-meta {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #dcefd5;
}

.vinyl-copy h3 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.94;
  margin: 12px 0 14px;
}

.vinyl-copy p {
  color: var(--muted);
  line-height: 1.9;
  max-width: 34rem;
}

.vinyl-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.vinyl-button {
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(241,213,138,0.2), rgba(155,226,119,0.18));
  color: var(--text);
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.vinyl-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.18);
}

.vinyl-time {
  min-width: 78px;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f4f0e8;
  letter-spacing: 0.08em;
}

.footer { padding: 70px 0 100px; }
.footer-inner {
  text-align: center;
  padding: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.big { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 10px; }
.footer p:last-child { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: .08s; }
.stagger-2 { transition-delay: .16s; }
.stagger-3 { transition-delay: .24s; }

.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty-slow { animation: floaty 8s ease-in-out infinite; }
.bouncey { animation: bouncey 2.6s ease-in-out infinite; }
.spin-soft { animation: spinSoft 12s linear infinite; }
.tilt-card:hover { transform: perspective(1200px) rotateX(6deg) rotateY(-7deg) translateY(-5px); }

@keyframes floaty {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes bouncey {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes spinSoft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes flicker {
  0% { transform: translateX(-50%) scale(1) rotate(-3deg); }
  100% { transform: translateX(-50%) scale(1.12, .94) rotate(4deg); }
}
@keyframes pulseHalo {
  0%,100% { transform: scale(0.96); opacity: .82; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes fryDance {
  0%,100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-8px); }
}
@keyframes pulseDot {
  0% { transform: scale(.7); opacity: .6; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes beacon {
  0%,100% { opacity: .9; }
  50% { opacity: .35; }
}
@keyframes starsDrift {
  from { transform: translateY(0); }
  to { transform: translateY(40px); }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(70px) rotate(45deg); }
  to { transform: rotate(360deg) translateX(70px) rotate(45deg); }
}
@keyframes drift {
  from { transform: translateY(-20px) rotate(0deg); }
  to { transform: translateY(20px) rotate(30deg); }
}
@keyframes twinkle {
  0%,100% { opacity: .22; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.7); }
}
@keyframes mistMove {
  from { transform: translateX(-2%) scaleX(1); }
  to { transform: translateX(2%) scaleX(1.05); }
}
@keyframes waterShift {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}
@keyframes shimmer {
  0%,100% { opacity: .25; transform: scaleY(.94); }
  50% { opacity: .62; transform: scaleY(1.12); }
}
@keyframes grainMove {
  from { transform: translate(0,0); }
  to { transform: translate(-18px,10px); }
}
@keyframes vinylSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes prismRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes prismRotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes prismPulse {
  0%,100% { transform: translateY(-30%); opacity: 0.14; }
  50% { transform: translateY(30%); opacity: 0.38; }
}
@keyframes prismSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}
@keyframes tagFloat {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 980px) {
  .hero-content,
  .intro-grid,
  .prism-panel,
  .vinyl-card,
  .memory-layout,
  .time-window-card {
    grid-template-columns: 1fr;
  }

  .hero-visual { min-height: 500px; }
  .section-heading h2 { line-height: 1.04; }
  .storybook-head {
    flex-direction: column;
    align-items: start;
  }

  .memory-page {
    grid-template-columns: 1fr;
  }

  .book-page {
    min-height: 520px;
  }

  .realistic-book {
    min-height: 540px;
  }

  .book-stage {
    height: 540px;
  }

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

  .prism-stage {
    min-height: 480px;
  }
  .prism-core-wrap {
    width: min(100% - 52px, 360px);
  }
  .nyc-moon {
    width: 82px;
    height: 82px;
  }
  .nyc-label {
    font-size: 18px;
    letter-spacing: .16em;
  }
  .nyc-sub {
    font-size: 10px;
    letter-spacing: .22em;
  }
}

@media (max-width: 640px) {
  .topbar { border-radius: 24px; gap: 12px; flex-direction: column; }
  .hero h1 { font-size: 3.2rem; }
  .cake-card { padding: 18px; }
  .symbol-row { flex-direction: column; gap: 14px; }
  .storybook-shell,
  .book-page { padding: 20px; }
  .storybook-actions { width: 100%; }
  .book-nav { flex: 1; }
  .page-visual { min-height: 260px; }
  .realistic-book {
    min-height: 470px;
  }
  .book-stage {
    height: 470px;
  }
  .sheet-face,
  .cover-face,
  .paper-face,
  .closing-face,
  .back-cover-face {
    border-radius: 18px;
  }
  .cover-face,
  .back-cover-face,
  .paper-face,
  .closing-face {
    padding: 18px;
  }
  .book-spine-core {
    width: 20px;
  }
  .page-grid {
    gap: 16px;
  }
  .prism-panel {
    padding: 20px;
  }
  .prism-stage {
    min-height: 420px;
  }
  .prism-core-wrap {
    width: calc(100% - 42px);
  }
  .photo-frame {
    border-radius: 20px;
  }
  .photo-art {
    inset: 12px 12px 66px;
    border-radius: 14px;
  }
  .photo-meta {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }
  .photo-meta strong {
    font-size: 1.6rem;
  }
  .photo-meta small {
    font-size: 0.62rem;
  }
  .prism-tag {
    font-size: 0.84rem;
    padding: 8px 11px;
  }
  .vinyl-card {
    padding: 20px;
  }
  .time-window-card {
    padding: 20px;
  }
  .time-window-frame {
    min-height: 420px;
    padding: 18px;
  }
  .time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .time-unit:last-child {
    grid-column: 1 / -1;
  }
  .time-unit {
    min-height: 128px;
  }
  .time-value {
    font-size: 2.9rem;
  }
  .vinyl-player {
    min-height: 340px;
  }
  .turntable-platter {
    width: 240px;
    height: 240px;
  }
  .vinyl-record {
    width: 202px;
    height: 202px;
  }
  .tonearm {
    right: 10px;
    top: 38px;
    transform: scale(.82) rotate(30deg);
    transform-origin: top right;
  }
  .tonearm.playing {
    transform: scale(.82) rotate(-18deg);
  }
  .nyc-water {
    bottom: -8px;
    height: 31%;
  }
  .nyc-horizon {
    bottom: calc(31% - 4px);
  }
  .vinyl-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .vinyl-time,
  .vinyl-button {
    width: 100%;
  }
  .cloud-a { top: 38px; left: 18px; }
  .cloud-b { top: 86px; right: 18px; }
  .cloud-c { bottom: 76px; left: 24px; }
  .cloud-d { bottom: 40px; right: 18px; }
  .polaroid { width: 110px; height: 136px; }
  .polaroid-b { left: 88px; }
  .polaroid-c { left: 44px; top: 146px; }
  .stem-1 { left: 6px; }
  .stem-2 { left: 92px; }
  .stem-3 { left: 174px; }
  .cover-mark {
    right: 20px;
    bottom: 20px;
    width: 68px;
    height: 68px;
  }
  .letter { padding: 24px; }
  .reasons { columns: 1; }
  .timeline { padding-left: 24px; }
  .caption { font-size: .92rem; }
}
