:root {
  color-scheme: dark;
  --ink: #f8f0ed;
  --muted: #bbb8ca;
  --rose: #f29aaa;
  --rose-bright: #ffd1d9;
  --night: #090b18;
  --paper: #f3e9e6;
  --paper-ink: #282031;
  --line: rgba(255, 255, 255, .13);
  --display: Georgia, "Noto Serif SC", "Songti SC", serif;
  --sans: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--night);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}

body.locked { overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
a { color: inherit; }

.film-grain {
  position: fixed;
  z-index: 80;
  inset: -40%;
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
  animation: grain .22s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(2%, -1%, 0); }
  50% { transform: translate3d(-1%, 2%, 0); }
  75% { transform: translate3d(1%, 1%, 0); }
  100% { transform: translate3d(-2%, -1%, 0); }
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rose-bright);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.entry {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.entry::before {
  content: "";
  position: fixed;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(243, 154, 171, .16), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(106, 98, 184, .22), transparent 36%),
    linear-gradient(145deg, var(--night), #101226 58%, #090b18);
}

.entry-glow {
  position: absolute;
  z-index: -1;
  width: 34vw;
  height: 34vw;
  max-width: 520px;
  max-height: 520px;
  right: 2%;
  top: 14%;
  border-radius: 50%;
  background: rgba(242, 154, 170, .12);
  filter: blur(68px);
}

.entry-copy { position: relative; z-index: 2; }

.entry h1 {
  max-width: 8ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.7rem, 9vw, 7.7rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.065em;
}

.entry h1 span { color: var(--rose); }

.entry-message {
  max-width: 38rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.9;
}

.heart-button {
  position: relative;
  width: min(100%, 390px);
  min-height: 58px;
  margin-top: 30px;
  padding: 16px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 209, 217, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 14px 50px rgba(0, 0, 0, .28);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  backdrop-filter: blur(14px);
}

.heart-button:focus-visible,
.music-control:focus-visible,
.memory-shot:focus-visible,
.polaroid:focus-visible,
.food-card:focus-visible,
.gift-card:focus-visible,
.wide-photo:focus-visible {
  outline: 3px solid var(--rose-bright);
  outline-offset: 4px;
}

.hold-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(242, 154, 171, .44), rgba(242, 154, 171, .82));
}

.heart-button.holding .hold-fill { animation: hold-fill 1.8s linear forwards; }
@keyframes hold-fill { to { width: 100%; } }
.hold-copy { position: relative; z-index: 1; }
.hold-hint { margin: 12px 0 0 18px; color: #7f7e92; font-size: .78rem; }

.entry-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 14px;
  transform: rotate(2deg);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 32px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.entry-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  filter: saturate(.9) contrast(1.03);
}

.entry-photo figcaption {
  position: absolute;
  left: -36px;
  bottom: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #211726;
  background: #f8dde2;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
  font-family: var(--display);
  font-size: .9rem;
  transform: rotate(-4deg);
}

.photo-index {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #292034;
  background: rgba(255, 232, 237, .88);
  font-family: var(--display);
  font-size: .8rem;
}

.entry-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  color: #737287;
  font-size: .67rem;
  letter-spacing: .18em;
}

.story { display: none; opacity: 0; background: var(--night); }
body.open .story { display: block; animation: story-in 1s ease forwards; }
@keyframes story-in { to { opacity: 1; } }

.story-opener {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.story-opener > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) brightness(.74);
  transform: scale(1.04);
}

.story-opener-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 20, .93), rgba(7, 8, 20, .3) 72%),
    linear-gradient(0deg, rgba(7, 8, 20, .8), transparent 42%);
}

.story-opener-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.story-opener h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 7vw, 6.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.story-opener-copy > p:last-child { color: var(--muted); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .66); font-size: .75rem; text-decoration: none; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--rose), transparent); }
.section-pad { padding: clamp(90px, 12vw, 160px) max(24px, calc((100vw - 1120px) / 2)); }
.section-number { color: rgba(41, 32, 49, .16); font-family: var(--display); font-size: clamp(6rem, 16vw, 12rem); line-height: .8; }

.letter-section {
  position: relative;
  display: grid;
  grid-template-columns: .28fr minmax(0, 1fr);
  gap: clamp(30px, 7vw, 100px);
  color: var(--paper-ink);
  background: linear-gradient(115deg, rgba(240, 163, 177, .16), transparent 38%), var(--paper);
}

.letter-card { position: relative; max-width: 760px; padding: clamp(30px, 6vw, 74px); border: 1px solid rgba(44, 34, 52, .14); background: rgba(255, 255, 255, .42); box-shadow: 0 28px 90px rgba(75, 54, 72, .12); }
.letter-card::before { content: ""; position: absolute; inset: 12px; pointer-events: none; border: 1px solid rgba(44, 34, 52, .07); }
.letter-kicker { color: #9e5265; font-size: .72rem; font-weight: 800; letter-spacing: .18em; }

.letter-card h2,
.section-heading h2,
.shadow-copy h2,
.final-letter h2 { margin: 0 0 32px; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }

.letter-card p:not(.letter-kicker) { font-size: clamp(1rem, 1.55vw, 1.12rem); line-height: 2; }
.letter-sign { display: block; margin-top: 42px; color: #9e5265; font-family: var(--display); font-style: italic; }

.promise-section { background: radial-gradient(circle at 85% 7%, rgba(228, 150, 165, .12), transparent 22%), linear-gradient(#101225, #0b0d1d); }
.section-heading { max-width: 760px; margin-bottom: 80px; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading.light { color: var(--paper-ink); }
.section-heading.light .eyebrow { color: #9e5265; }
.section-heading.light > p:last-child { color: #6c6271; }

.promise-chapter { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); gap: clamp(34px, 6vw, 88px); align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.promise-chapter.reverse .promise-copy { order: 2; }
.promise-chapter.reverse .photo-reel { order: 1; }
.chapter-tag { display: inline-flex; margin-bottom: 20px; padding: 7px 13px; border: 1px solid rgba(255, 209, 217, .24); border-radius: 999px; color: var(--rose-bright); font-size: .75rem; }
.promise-copy h3 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3.1rem); font-weight: 500; line-height: 1.25; }
.promise-copy p { color: #c6c2cf; }

.photo-reel { display: flex; gap: 18px; overflow-x: auto; padding: 12px 5px 26px; scroll-snap-type: x mandatory; scrollbar-color: rgba(242, 154, 170, .55) transparent; }
.memory-shot { position: relative; flex: 0 0 clamp(220px, 26vw, 310px); height: clamp(400px, 51vw, 580px); padding: 9px; scroll-snap-align: start; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: rgba(255, 255, 255, .055); box-shadow: 0 20px 55px rgba(0, 0, 0, .28); cursor: zoom-in; }
.memory-shot img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 15px; }
.memory-shot span { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #201a29; background: rgba(255, 239, 242, .9); font-size: .72rem; }
.photo-reel.compact { justify-content: center; }

.cute-section { color: var(--paper-ink); background: radial-gradient(circle at 12% 20%, rgba(239, 153, 170, .25), transparent 27%), #f1e7e5; overflow: hidden; }
.cute-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(42px, 7vw, 100px); align-items: center; }
.cute-copy { max-width: 520px; }
.cute-copy p { line-height: 2; }
.cute-stack { position: relative; min-height: 720px; }

.polaroid { position: absolute; width: clamp(180px, 25vw, 300px); aspect-ratio: 3 / 4.45; padding: 8px 8px 34px; border: 0; background: #fbf7f4; box-shadow: 0 24px 65px rgba(68, 43, 58, .22); cursor: zoom-in; transition: transform .3s ease, z-index 0s; }
.polaroid img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.polaroid:hover { z-index: 8; transform: rotate(0) translateY(-10px) scale(1.025); }
.polaroid.p1 { left: 3%; top: 2%; transform: rotate(-7deg); }
.polaroid.p2 { left: 34%; top: 5%; transform: rotate(4deg); }
.polaroid.p3 { right: 0; top: 14%; transform: rotate(8deg); }
.polaroid.p4 { left: 17%; bottom: 4%; transform: rotate(5deg); }
.polaroid.p5 { right: 15%; bottom: 0; transform: rotate(-6deg); }

.gift-section { background: #0c0e1d; }
.gift-feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 7vw, 90px); align-items: center; }
.gift-feature article p { color: #c7c3d0; }

.wide-photo,
.gift-card,
.food-card { position: relative; display: block; width: 100%; overflow: hidden; border: 0; padding: 0; background: #17182a; text-align: left; cursor: zoom-in; }

.wide-photo { min-height: 560px; border-radius: 28px; }
.wide-photo img { width: 100%; height: 100%; min-height: 560px; display: block; object-fit: cover; }
.wide-photo::after, .gift-card::after, .food-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(4, 5, 13, .84)); pointer-events: none; }
.wide-photo span, .gift-card span, .food-card span { position: absolute; z-index: 2; left: 22px; right: 18px; bottom: 18px; color: white; font-size: .9rem; }
.gift-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 72px; }
.gift-card { height: min(72vw, 620px); border-radius: 26px; }
.gift-card img { width: 100%; height: 100%; display: block; object-fit: cover; }

.food-section { color: var(--paper-ink); background: #e9dedb; }
.food-copy { max-width: 730px; margin: -34px 0 70px auto; padding: 34px 40px; border-left: 2px solid #bd7182; background: rgba(255, 255, 255, .26); }
.food-copy p { line-height: 1.95; }
.food-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 18px; }
.food-card { min-height: 300px; grid-column: span 4; border-radius: 20px; box-shadow: 0 18px 45px rgba(73, 49, 61, .15); }
.food-card.landscape { grid-column: span 6; min-height: 360px; }
.food-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.food-card:hover img { transform: scale(1.035); }
.food-card.dog-card { grid-column: span 4; background: #252438; }
.food-card.dog-card img { object-fit: contain; padding: 42px; }

.shadow-section { display: grid; grid-template-columns: minmax(300px, .92fr) minmax(300px, 1.08fr); gap: clamp(42px, 8vw, 110px); align-items: center; background: radial-gradient(circle at 15% 45%, rgba(227, 155, 170, .13), transparent 30%), #0b0d1c; }
.compare-wrap { min-width: 0; }
.compare { position: relative; width: min(100%, 600px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 28px; box-shadow: 0 36px 90px rgba(0, 0, 0, .42); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.compare-dream { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.compare-line { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--reveal); width: 2px; transform: translateX(-50%); background: rgba(255, 255, 255, .9); box-shadow: 0 0 20px rgba(0, 0, 0, .4); }
.compare-line i { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; border: 2px solid white; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(12, 13, 28, .62); backdrop-filter: blur(10px); }
.compare-line i::before, .compare-line i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 2px solid white; border-left: 2px solid white; }
.compare-line i::before { left: 8px; transform: translateY(-50%) rotate(-45deg); }
.compare-line i::after { right: 8px; transform: translateY(-50%) rotate(135deg); }
.compare-label { position: absolute; z-index: 3; top: 18px; padding: 7px 12px; border-radius: 999px; color: #201c28; background: rgba(255, 245, 245, .86); font-size: .72rem; }
.compare-label.before { left: 18px; }
.compare-label.after { right: 18px; }
.compare-control { display: block; margin-top: 22px; color: #9a98a8; font-size: .78rem; }
.compare-control span { display: block; margin-bottom: 10px; }
.compare-control input { width: 100%; accent-color: var(--rose); }
.shadow-copy p:not(.eyebrow) { color: #c8c4d0; }

.final-section { position: relative; min-height: 100svh; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 120px); align-items: center; overflow: hidden; background: radial-gradient(circle at 15% 52%, rgba(242, 154, 170, .19), transparent 26%), linear-gradient(145deg, #151329, #090b18 68%); }
.date-orbit { position: relative; justify-self: center; display: grid; place-items: center; width: min(38vw, 420px); aspect-ratio: 1; }
.date-orbit span { position: relative; z-index: 2; font-family: var(--display); font-size: clamp(5rem, 12vw, 10rem); line-height: .8; color: var(--rose-bright); }
.date-orbit small { position: absolute; top: 66%; letter-spacing: .35em; color: #aaa6b5; }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(255, 209, 217, .3); border-radius: 50%; }
.orbit-one { animation: orbit 14s linear infinite; }
.orbit-one::before { content: "❤"; position: absolute; left: 12%; top: 8%; color: var(--rose); font-size: 1.2rem; }
.orbit-two { inset: 13%; border-style: dashed; animation: orbit 20s linear reverse infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }

.final-letter { max-width: 720px; }
.final-letter p { color: #c7c3d0; }
.final-letter strong { color: var(--rose-bright); }
.final-letter .love-line { margin-top: 34px; color: white; font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.35rem); }
.final-letter footer { display: flex; flex-direction: column; gap: 4px; margin-top: 45px; }
.final-letter footer span { color: #8d899b; font-size: .8rem; letter-spacing: .16em; }
.final-letter footer strong { font-family: var(--display); font-size: 2rem; font-weight: 500; }
.back-to-top { position: absolute; right: max(24px, calc((100vw - 1120px) / 2)); bottom: 35px; color: #8f8c9c; font-size: .78rem; text-underline-offset: 5px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: none; }
.petals { position: fixed; z-index: 70; inset: 0; overflow: hidden; pointer-events: none; }
.petal { position: absolute; top: -9vh; left: var(--left); color: rgba(255, 184, 198, .82); font-family: serif; font-size: var(--size); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .16)); animation: petal-fall var(--duration) linear var(--delay) infinite; }
@keyframes petal-fall { 0% { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate3d(var(--drift), 112vh, 0) rotate(520deg); opacity: .15; } }

.music-control { position: fixed; z-index: 75; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 10px 16px 10px 10px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; background: rgba(14, 15, 31, .82); box-shadow: 0 14px 42px rgba(0, 0, 0, .3); backdrop-filter: blur(16px); cursor: pointer; }
.music-control[hidden] { display: none; }
.music-disc { width: 38px; height: 38px; border: 10px solid #282941; border-radius: 50%; background: var(--rose); box-shadow: inset 0 0 0 3px #111226; animation: spin 5s linear infinite; }
.music-control:not(.playing) .music-disc { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.music-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.music-meta strong { font-size: .82rem; }
.music-meta small { color: #9290a1; font-size: .67rem; }

.lightbox { width: min(92vw, 1040px); max-width: none; height: min(90vh, 920px); padding: 44px 20px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 26px; color: white; background: rgba(10, 11, 24, .93); box-shadow: 0 40px 120px rgba(0, 0, 0, .62); backdrop-filter: blur(20px); }
.lightbox::backdrop { background: rgba(4, 5, 13, .78); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; height: calc(100% - 36px); display: block; object-fit: contain; }
.lightbox p { margin: 10px 0 0; text-align: center; color: #c8c4d0; font-size: .8rem; }
.lightbox-close { position: absolute; top: 8px; right: 12px; width: 38px; height: 38px; border: 0; background: transparent; color: white; font-size: 2rem; cursor: pointer; }

@media (max-width: 900px) {
  .promise-chapter, .promise-chapter.reverse, .gift-feature, .shadow-section, .final-section { grid-template-columns: 1fr; }
  .promise-chapter.reverse .promise-copy, .promise-chapter.reverse .photo-reel { order: initial; }
  .promise-copy { max-width: 700px; }
  .cute-layout { grid-template-columns: 1fr; }
  .cute-stack { width: min(100%, 760px); margin: 0 auto; }
  .wide-photo { min-height: 480px; }
  .shadow-copy { max-width: 700px; }
  .compare { margin: 0 auto; }
  .date-orbit { width: min(64vw, 390px); }
  .final-letter { max-width: 760px; }
}

@media (max-width: 760px) {
  .entry { grid-template-columns: 1fr; align-content: center; gap: 38px; width: min(100% - 30px, 560px); padding: 46px 0 70px; }
  .entry h1 { font-size: clamp(3.5rem, 19vw, 5.8rem); }
  .entry-message { margin-top: 22px; line-height: 1.75; }
  .entry-photo { justify-self: center; width: min(82vw, 360px); aspect-ratio: 1 / .82; transform: rotate(1.2deg); }
  .entry-photo figcaption { left: -8px; bottom: -18px; }
  .entry-footer { display: none; }
  .story-opener-shade { background: linear-gradient(0deg, rgba(7, 8, 20, .9), rgba(7, 8, 20, .2) 80%); }
  .story-opener-copy { align-self: end; padding-bottom: 110px; }
  .story-opener h2 { font-size: clamp(2.55rem, 12vw, 4.5rem); }
  .letter-section { grid-template-columns: 1fr; }
  .section-number { display: none; }
  .letter-card { padding: 34px 26px; }
  .letter-card h2, .section-heading h2, .shadow-copy h2, .final-letter h2 { font-size: clamp(2.05rem, 10vw, 3.4rem); }
  .section-heading { margin-bottom: 54px; }
  .promise-chapter { padding: 56px 0; }
  .memory-shot { flex-basis: min(74vw, 300px); height: min(130vw, 540px); }
  .photo-reel.compact { justify-content: flex-start; }
  .cute-stack { min-height: 780px; }
  .polaroid { width: min(52vw, 245px); }
  .polaroid.p1 { left: 0; top: 0; }
  .polaroid.p2 { right: 0; left: auto; top: 45px; }
  .polaroid.p3 { left: 5%; right: auto; top: 285px; }
  .polaroid.p4 { right: 3%; left: auto; top: 345px; bottom: auto; }
  .polaroid.p5 { left: 24%; right: auto; bottom: 0; }
  .gift-pair { gap: 12px; margin-top: 42px; }
  .gift-card { height: 76vw; border-radius: 18px; }
  .wide-photo, .wide-photo img { min-height: 390px; }
  .food-copy { margin: -24px 0 50px; padding: 25px 22px; }
  .food-grid { gap: 12px; }
  .food-card, .food-card.landscape, .food-card.dog-card { grid-column: span 6; min-height: 56vw; }
  .compare-label { max-width: 44%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .final-section { padding-bottom: 120px; }
  .date-orbit { width: min(74vw, 340px); }
  .back-to-top { left: 24px; right: auto; }
  .music-control { right: 14px; bottom: 14px; min-width: auto; padding: 8px; }
  .music-meta { display: none; }
}

@media (max-width: 480px) {
  .section-pad { padding-left: 18px; padding-right: 18px; }
  .heart-button { font-size: .9rem; }
  .cute-stack { min-height: 690px; }
  .polaroid { width: 54vw; }
  .food-card, .food-card.landscape, .food-card.dog-card { grid-column: span 12; min-height: 78vw; }
  .gift-pair { grid-template-columns: 1fr; }
  .gift-card { height: 118vw; }
}

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