:root {
  --forest-950: #062c29;
  --forest-900: #0a3a34;
  --forest-800: #145246;
  --leaf-600: #5e8d43;
  --leaf-400: #9fc865;
  --lime-200: #dff2a7;
  --ivory: #fbfaec;
  --paper: #f7f2dc;
  --gold: #d6b35f;
  --gold-light: #f1d892;
  --rose: #d88d88;
  --ink: #183a33;
  --muted: #668078;
  --shadow: 0 24px 70px rgba(3, 29, 26, .18);
  --display: "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  --sans: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

#ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .65;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 74px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}

.site-header.is-scrolled {
  height: 62px;
  color: var(--ink);
  background: rgba(251, 250, 236, .9);
  box-shadow: 0 8px 30px rgba(10, 58, 52, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.brand-mark { color: var(--gold-light); }
.is-scrolled .brand-mark { color: var(--leaf-600); }

.nav-links { display: flex; gap: 32px; font-size: 13px; }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .25s ease, left .25s ease;
}
.nav-links a:hover::after { left: 0; width: 100%; }

.sound-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: inherit;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.sound-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.sound-button.is-playing span { animation: soundPulse 1.4s ease-in-out infinite; }
.is-scrolled .sound-button { border-color: rgba(24,58,51,.25); }

.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: -3%;
  background-image: url("../assets/images/nahida-hero.webp");
  background-size: cover;
  background-position: 58% center;
  animation: heroBreath 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,35,31,.9) 0%, rgba(5,35,31,.61) 36%, rgba(5,35,31,.12) 72%),
    linear-gradient(0deg, rgba(5,35,31,.52) 0%, transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 90vw);
  margin-left: clamp(24px, 9vw, 150px);
  padding-top: 76px;
}

.eyebrow, .section-index {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 150px);
  line-height: .96;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.hero-copy {
  margin: 24px 0 38px;
  color: rgba(255,255,255,.82);
  font-family: var(--display);
  font-size: 18px;
}

.countdown {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(6, minmax(64px, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.time-unit {
  min-height: 92px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.time-unit:last-child { border-right: 0; }
.time-unit strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.time-unit span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 11px; }

.hero-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  letter-spacing: .8px;
}
.meta-divider { width: 26px; height: 1px; background: rgba(255,255,255,.35); }

.enter-dream {
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.enter-line { width: 62px; height: 1px; background: currentColor; transition: width .3s ease; }
.enter-dream:hover .enter-line { width: 92px; }

.hero-signature {
  position: absolute;
  right: clamp(20px, 4vw, 58px);
  bottom: 28px;
  z-index: 2;
  margin: 0;
  color: rgba(255,255,255,.55);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 1px;
}

.seed-section,
.choice-section,
.letter-section,
.wish-section,
.card-section {
  padding: 120px clamp(22px, 8vw, 130px);
}

.seed-section {
  position: relative;
  min-height: 900px;
  background:
    radial-gradient(circle at 75% 12%, rgba(216,141,136,.12), transparent 26%),
    var(--ivory);
  overflow: hidden;
}

.section-heading { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-heading h2,
.choice-copy h2,
.letter-paper h2,
.wish-content h2,
.card-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}
.section-heading > p:last-child,
.choice-copy > p:last-child,
.card-copy > p:last-of-type {
  margin: 18px 0 0;
  color: var(--muted);
}

.seed-garden {
  position: relative;
  width: min(760px, 86vw);
  aspect-ratio: 1 / .7;
  margin: 0 auto;
}
.garden-orbit {
  position: absolute;
  left: 50%; top: 50%;
  border: 1px solid rgba(94,141,67,.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}
.orbit-one { width: 84%; height: 58%; }
.orbit-two { width: 56%; height: 88%; transform: translate(-50%, -50%) rotate(54deg); }
.garden-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 104px; height: 104px;
  border: 1px solid rgba(94,141,67,.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--leaf-600);
  background: rgba(255,255,255,.52);
  box-shadow: 0 0 60px rgba(159,200,101,.23);
  transform: translate(-50%, -50%);
}
.garden-core::before, .garden-core::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(94,141,67,.18);
  border-radius: 50%;
  animation: ring 4s ease-out infinite;
}
.garden-core::after { animation-delay: 2s; }

.wisdom-seed {
  position: absolute;
  z-index: 4;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  color: var(--forest-800);
  background: transparent;
}
.seed-light {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(94,141,67,.54);
  border-radius: 62% 38% 56% 44% / 66% 44% 56% 34%;
  background: rgba(223,242,167,.72);
  box-shadow: 0 0 22px rgba(159,200,101,.55);
  transform: rotate(45deg);
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}
.seed-number { position: relative; z-index: 2; font-size: 10px; line-height: 66px; }
.wisdom-seed:hover .seed-light { transform: rotate(75deg) scale(1.12); }
.wisdom-seed.is-awake .seed-light {
  background: var(--gold-light);
  box-shadow: 0 0 36px rgba(214,179,95,.82);
  transform: rotate(135deg) scale(1.05);
}
.seed-one { left: 8%; top: 23%; }
.seed-two { right: 12%; top: 14%; }
.seed-three { right: 2%; bottom: 20%; }
.seed-four { left: 24%; bottom: 2%; }
.seed-five { left: 43%; top: 2%; }

.seed-message {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 3;
  width: min(360px, 64vw);
  padding: 25px 30px;
  text-align: center;
  background: rgba(251,250,236,.88);
  box-shadow: var(--shadow);
  transform: translate(-50%, 84px);
  backdrop-filter: blur(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.seed-message.is-changing { opacity: 0; transform: translate(-50%, 96px); }
.seed-kicker { margin: 0 0 8px; color: var(--leaf-600); font-size: 10px; letter-spacing: 1.2px; }
.seed-message blockquote { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.8; }

.seed-progress {
  width: min(560px, 90vw);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}
.progress-track { height: 2px; background: rgba(94,141,67,.18); }
.progress-track span { display: block; width: 0; height: 100%; background: var(--leaf-600); transition: width .6s ease; }

.memory-section {
  position: relative;
  color: white;
  min-height: 1000px;
  padding: 120px clamp(22px, 7vw, 110px);
  overflow: hidden;
}
.memory-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(4,34,33,.76), rgba(4,34,33,.9)), url("../assets/images/dream-tree.png") center / cover;
  transform: scale(1.02);
}
.memory-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }
.section-heading-light p:last-child { color: rgba(255,255,255,.64); }

.memory-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: stretch;
  min-height: 520px;
  background: rgba(6,44,41,.55);
  box-shadow: 0 36px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}
.memory-image-wrap { position: relative; min-height: 500px; overflow: hidden; }
.memory-image-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inset -80px 0 100px rgba(6,44,41,.32); }
.memory-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease, transform .8s ease; }
.memory-image-wrap img.is-changing { opacity: .18; transform: scale(1.04); }
.memory-year { position: absolute; left: 24px; bottom: 22px; z-index: 2; font-size: 11px; letter-spacing: 1.5px; }
.memory-copy { padding: clamp(34px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.memory-label { margin: 0 0 18px; color: var(--gold-light); font-size: 11px; letter-spacing: 1.5px; }
.memory-copy h3 { margin: 0; font-family: var(--display); font-size: 32px; line-height: 1.45; font-weight: 500; }
.memory-copy > p:not(.memory-label) { color: rgba(255,255,255,.68); font-size: 14px; }
.memory-tabs { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.memory-tab {
  min-height: 64px;
  border: 0;
  color: rgba(255,255,255,.62);
  background: rgba(6,44,41,.7);
  text-align: left;
  padding: 10px 15px;
  font-size: 12px;
  transition: background .25s ease, color .25s ease;
}
.memory-tab span { display: block; color: var(--gold); font-size: 9px; }
.memory-tab:hover, .memory-tab.is-active { color: white; background: rgba(159,200,101,.18); }

.choice-section { background: #f1f1df; }
.choice-copy { max-width: 720px; margin-bottom: 62px; }
.choice-copy p { color: var(--muted); }
.gift-options { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(24,58,51,.2); border-bottom: 1px solid rgba(24,58,51,.2); }
.gift-option {
  min-height: 220px;
  border: 0;
  border-right: 1px solid rgba(24,58,51,.2);
  color: var(--ink);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: color .3s ease, background .3s ease;
}
.gift-option:last-child { border-right: 0; }
.gift-option:hover, .gift-option.is-selected { color: white; background: var(--forest-800); }
.gift-symbol { font-size: 38px; color: var(--gold); }
.gift-option strong { font-family: var(--display); font-size: 22px; font-weight: 500; }
.gift-option small { opacity: .62; }
.chosen-wish { max-width: 760px; margin: 52px auto 0; text-align: center; font-family: var(--display); font-size: 22px; color: var(--forest-800); }

.letter-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  background: #fffdf4;
}
.letter-portrait { position: relative; }
.letter-portrait::before { content: ""; position: absolute; width: 44%; height: 1px; right: -8%; top: 20%; z-index: 2; background: var(--gold); }
.letter-portrait img { width: 100%; min-height: 560px; object-fit: cover; object-position: 54% center; box-shadow: var(--shadow); }
.portrait-caption { position: absolute; left: -34px; bottom: 100px; padding: 8px 18px; color: white; background: var(--forest-900); font-family: Georgia, serif; font-size: 11px; letter-spacing: 1px; transform: rotate(-90deg); transform-origin: left bottom; }
.letter-paper { position: relative; padding: clamp(30px, 5vw, 70px); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); overflow: hidden; }
.letter-body { margin-top: 34px; font-family: var(--display); font-size: 17px; color: #39564f; }
.letter-signature { margin: 34px 0 0; text-align: right; color: var(--leaf-600); font-family: var(--display); }
.letter-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(10,58,52,.94);
  backdrop-filter: blur(8px);
  transition: opacity .8s ease, visibility .8s ease;
}
.letter-lock span { color: var(--gold-light); font-size: 34px; }
.letter-lock p { font-family: var(--display); }
.letter-paper.is-unlocked .letter-lock { opacity: 0; visibility: hidden; }

.wish-section {
  min-height: 720px;
  color: white;
  background: var(--forest-950);
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 8vw;
}
.wish-tree-visual { position: relative; min-height: 500px; }
.tree-glow { position: absolute; left: 50%; top: 44%; width: 360px; height: 360px; border-radius: 50%; background: rgba(159,200,101,.16); filter: blur(45px); transform: translate(-50%, -50%); }
.tree-trunk { position: absolute; left: calc(50% - 17px); bottom: 36px; width: 34px; height: 250px; background: linear-gradient(90deg, #806b3e, #d6b35f, #6d5a38); clip-path: polygon(38% 0, 66% 0, 78% 66%, 100% 100%, 55% 84%, 0 100%, 25% 64%); }
.tree-crown { position: absolute; left: 50%; border: 1px solid rgba(223,242,167,.55); border-radius: 45% 55% 51% 49% / 58% 43% 57% 42%; background: rgba(94,141,67,.2); box-shadow: inset 0 0 70px rgba(223,242,167,.1), 0 0 40px rgba(159,200,101,.18); transform: translateX(-50%) rotate(12deg); }
.crown-one { top: 70px; width: 350px; height: 260px; }
.crown-two { top: 118px; width: 440px; height: 220px; transform: translateX(-50%) rotate(-9deg); }
.crown-three { top: 20px; width: 230px; height: 280px; transform: translateX(-50%) rotate(35deg); }
.wish-leaf { position: absolute; width: 11px; height: 20px; border-radius: 100% 0 100% 0; background: var(--gold-light); box-shadow: 0 0 15px rgba(241,216,146,.8); animation: leafIn .7s ease both; }
.wish-content { max-width: 650px; }
.wish-content h2 { color: white; }
.wish-form { margin-top: 48px; }
.wish-form label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.64); font-size: 12px; }
.wish-input-row { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid rgba(255,255,255,.42); }
.wish-input-row input { min-width: 0; padding: 17px 0; border: 0; outline: 0; color: white; background: transparent; }
.wish-input-row input::placeholder { color: rgba(255,255,255,.3); }
.wish-input-row button, .download-button {
  border: 0;
  padding: 12px 24px;
  color: var(--forest-950);
  background: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.wish-input-row button:hover, .download-button:hover { background: white; transform: translateY(-2px); }
.wish-status { min-height: 26px; margin: 10px 0 0; color: var(--gold-light); font-size: 11px; }
.wish-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.wish-chip { max-width: 100%; padding: 6px 11px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.card-section {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(420px, 1.2fr);
  gap: 8vw;
  align-items: center;
  background: #edf0db;
}
.card-copy p { color: var(--muted); }
.download-button { margin-top: 28px; color: white; background: var(--forest-800); }
.keepsake-card {
  position: relative;
  aspect-ratio: 1.55 / 1;
  min-height: 390px;
  padding: clamp(26px, 4vw, 54px);
  color: white;
  background:
    linear-gradient(120deg, rgba(6,44,41,.96), rgba(20,82,70,.83)),
    url("../assets/images/dream-tree.png") center / cover;
  box-shadow: 0 30px 70px rgba(6,44,41,.24);
  overflow: hidden;
}
.keepsake-card::before { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(241,216,146,.5); pointer-events: none; }
.card-stars { color: var(--gold-light); }
.keepsake-card > p { margin: 30px 0 0; color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: 3px; }
.keepsake-card h3 { margin: 0; font-family: var(--display); font-size: clamp(48px, 7vw, 86px); font-weight: 400; line-height: 1.2; }
.card-date { position: absolute; right: 7%; top: 16%; color: var(--gold-light); font-family: Georgia, serif; font-size: 22px; }
.keepsake-card blockquote { max-width: 72%; margin: 22px 0; color: rgba(255,255,255,.78); font-family: var(--display); font-size: 14px; }
.card-footer { position: absolute; left: 7%; right: 7%; bottom: 9%; display: flex; justify-content: space-between; color: rgba(255,255,255,.46); font-size: 10px; }

footer { padding: 34px clamp(22px, 6vw, 90px); display: flex; justify-content: space-between; color: rgba(255,255,255,.62); background: #041f1e; font-size: 11px; }

.birthday-overlay { position: fixed; inset: 0; z-index: 100; place-items: center; padding: 24px; color: white; background: rgba(4,31,30,.9); backdrop-filter: blur(12px); }
.birthday-overlay:not([hidden]) { display: grid; }
.birthday-dialog { width: min(620px, 92vw); padding: 70px 35px; text-align: center; border: 1px solid rgba(241,216,146,.5); background: var(--forest-900); box-shadow: 0 0 100px rgba(159,200,101,.2); }
.birthday-dialog p { color: var(--gold-light); font-size: 10px; letter-spacing: 2px; }
.birthday-dialog h2 { margin: 12px 0; font-family: var(--display); font-size: clamp(42px, 7vw, 72px); font-weight: 400; }
.birthday-dialog span { display: block; color: rgba(255,255,255,.65); }
.birthday-dialog button { margin-top: 34px; padding: 12px 30px; border: 0; color: var(--forest-900); background: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroBreath { to { transform: scale(1.045) translate3d(-.5%, .5%, 0); } }
@keyframes ring { 0% { inset: 34px; opacity: .8; } 100% { inset: -80px; opacity: 0; } }
@keyframes soundPulse { 50% { transform: scale(1.3); opacity: .55; } }
@keyframes leafIn { from { opacity: 0; transform: translateY(18px) rotate(-40deg) scale(.2); } to { opacity: 1; transform: translateY(0) rotate(15deg) scale(1); } }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-content { margin: 0 auto; padding-left: 22px; padding-right: 22px; }
  .hero-backdrop { background-position: 62% center; }
  .memory-viewer, .letter-section, .wish-section, .card-section { grid-template-columns: 1fr; }
  .memory-image-wrap { min-height: 430px; }
  .letter-portrait img { min-height: 460px; }
  .wish-section { gap: 50px; }
  .wish-tree-visual { order: 2; min-height: 430px; }
  .wish-content { order: 1; }
  .keepsake-card { min-height: 340px; }
}

@media (max-width: 640px) {
  .site-header { height: 62px; }
  .hero { min-height: 820px; align-items: flex-end; padding-bottom: 72px; }
  .hero-backdrop { background-position: 30% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,35,31,.95) 0%, rgba(5,35,31,.62) 48%, rgba(5,35,31,.08) 86%); }
  .hero-content { margin: 0; padding-top: 0; }
  .hero h1 { font-size: 68px; }
  .hero-copy { margin: 18px 0 28px; font-size: 15px; }
  .countdown { grid-template-columns: repeat(3, 1fr); }
  .time-unit:nth-child(3) { border-right: 0; }
  .time-unit:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .time-unit { min-height: 74px; }
  .time-unit strong { font-size: 27px; }
  .hero-signature { display: none; }
  .seed-section, .choice-section, .letter-section, .wish-section, .card-section, .memory-section { padding: 88px 20px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .choice-copy h2, .letter-paper h2, .wish-content h2, .card-copy h2 { font-size: 36px; }
  .seed-section { min-height: 760px; }
  .seed-garden { width: 100%; aspect-ratio: 1 / 1.1; }
  .seed-message { width: 70vw; padding: 20px; transform: translate(-50%, 66px); }
  .seed-message.is-changing { transform: translate(-50%, 76px); }
  .seed-message blockquote { font-size: 15px; }
  .seed-one { left: 1%; }
  .seed-two { right: 1%; }
  .seed-three { right: 0; bottom: 17%; }
  .seed-four { left: 13%; bottom: 4%; }
  .memory-section { min-height: auto; }
  .memory-viewer { display: block; }
  .memory-image-wrap { min-height: 270px; }
  .memory-copy { padding: 30px 22px; }
  .memory-copy h3 { font-size: 25px; }
  .memory-tabs { margin-top: 24px; }
  .gift-options { grid-template-columns: 1fr; }
  .gift-option { min-height: 150px; border-right: 0; border-bottom: 1px solid rgba(24,58,51,.2); }
  .gift-option:last-child { border-bottom: 0; }
  .letter-portrait img { min-height: 340px; }
  .portrait-caption, .letter-portrait::before { display: none; }
  .letter-paper { padding: 38px 22px; }
  .wish-section { grid-template-columns: 1fr; }
  .wish-tree-visual { min-height: 350px; transform: scale(.8); margin: -25px; }
  .wish-input-row { grid-template-columns: 1fr; border-bottom: 0; gap: 10px; }
  .wish-input-row input { border-bottom: 1px solid rgba(255,255,255,.42); }
  .wish-input-row button { min-height: 48px; }
  .keepsake-card { min-height: 300px; }
  .keepsake-card blockquote { max-width: 88%; font-size: 12px; }
  footer { flex-direction: column; gap: 10px; }
}

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