:root {
  --night: #091012;
  --deep: #10191b;
  --ink: #edf0eb;
  --muted: #97a39e;
  --line: rgba(235, 241, 236, .15);
  --orange: #ef9950;
  --paper: #e9e1cf;
  --paper-ink: #312b23;
  --serif: "STSong", "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--night); font-family: var(--sans); }
body::before { content: ""; position: fixed; inset: 0; z-index: -4; background: radial-gradient(circle at 80% 8%, rgba(239,153,80,.12), transparent 27rem), linear-gradient(180deg, #091012, #0e1719 55%, #080d0e); }
a { color: inherit; }
button, textarea { font: inherit; }
button { color: inherit; touch-action: manipulation; }
section[id] { scroll-margin-top: 24px; }
img { max-width: 100%; }
.noise { position: fixed; inset: -100%; z-index: 50; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain .24s steps(2) infinite; }
@keyframes grain { 0% { transform: translate(0); } 25% { transform: translate(3%,-2%); } 50% { transform: translate(-2%,3%); } 75% { transform: translate(2%,2%); } }
.snow { position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .8s; }
.snow.active { opacity: 1; }
.flake { position: absolute; top: -10px; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.76); filter: blur(.2px); animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(40px, 105vh, 0) rotate(180deg); } }
.topbar { position: absolute; inset: 0 0 auto; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px clamp(20px, 5vw, 70px); border-bottom: 1px solid rgba(255,255,255,.08); }
.wordmark { text-decoration: none; font-family: var(--serif); letter-spacing: .45em; }
.wordmark span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 7px; border: 1px solid rgba(255,255,255,.42); letter-spacing: 0; }
.topbar > p { margin: 0; color: #71807b; font-size: 9px; letter-spacing: .24em; }
.sound { justify-self: end; display: flex; gap: 9px; align-items: center; padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.sound i { width: 7px; height: 7px; border-radius: 50%; background: #5d6b66; }
.sound[aria-pressed="true"] i { background: var(--orange); box-shadow: 0 0 0 5px rgba(239,153,80,.12), 0 0 18px rgba(239,153,80,.55); }
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 7vw; padding: 125px clamp(22px, 7vw, 110px) 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy, .chapter-body, .memory-index-title, .bright-copy, .your-line-intro, .message-paper { min-width: 0; }
.overline { margin: 0 0 22px; color: #eeb578; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.hero h1, h2 { font-family: var(--serif); font-weight: 400; }
.hero h1 { margin: 0; font-size: clamp(58px, 7vw, 112px); line-height: 1.06; letter-spacing: -.055em; }
.memory-hero h1 { font-size: clamp(54px, 6.6vw, 105px); }
.lead { max-width: 550px; margin: 30px 0 0; color: #bdc6c1; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.85; }
.enter { width: min(100%, 250px); display: flex; justify-content: space-between; margin-top: 45px; padding: 15px 17px; color: #19120d; background: var(--orange); border: 1px solid var(--orange); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.enter:hover { transform: translateY(-3px); box-shadow: 0 15px 36px rgba(239,153,80,.19); }
.hero-art { position: relative; height: min(74vh, 760px); min-height: 500px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #1a292c, #0a1113 78%); clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%); }
.moon { position: absolute; width: 55%; aspect-ratio: 1; right: 4%; top: 8%; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #ffe0ae 0 7%, #ef9950 38%, #8b482d 73%, transparent 74%); box-shadow: 0 0 110px rgba(239,153,80,.24); }
.moon::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: repeating-linear-gradient(8deg, rgba(15,20,21,.07) 0 2px, transparent 2px 13px); }
.cityline { position: absolute; inset: auto 0 0; height: 34%; background: #070c0d; clip-path: polygon(0 61%, 5% 58%, 7% 25%, 12% 25%, 13% 69%, 18% 61%, 21% 8%, 26% 8%, 28% 65%, 36% 58%, 38% 35%, 43% 35%, 46% 69%, 53% 64%, 55% 20%, 61% 20%, 63% 70%, 70% 61%, 73% 0, 79% 0, 82% 60%, 89% 53%, 92% 30%, 97% 30%, 100% 45%, 100% 100%, 0 100%); }
.silhouette { position: absolute; bottom: 12%; z-index: 2; width: 58px; background: #030607; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); }
.silhouette::before { content: ""; position: absolute; top: -38px; left: 50%; width: 36px; height: 42px; border-radius: 50%; background: #030607; transform: translateX(-50%); }
.him { left: 40%; height: 202px; clip-path: polygon(22% 0, 75% 0, 91% 39%, 73% 68%, 87% 100%, 56% 100%, 49% 72%, 42% 100%, 10% 100%, 24% 68%, 7% 40%); }
.her { left: 54%; width: 51px; height: 164px; clip-path: polygon(20% 0, 78% 0, 85% 40%, 100% 70%, 71% 75%, 72% 100%, 50% 100%, 43% 75%, 37% 100%, 15% 100%, 25% 72%, 0 65%, 17% 39%); }
.coordinates { position: absolute; z-index: 3; right: 22px; bottom: 20px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.15); background: rgba(5,9,10,.7); backdrop-filter: blur(9px); }
.coordinates span, .coordinates b { display: block; }
.coordinates span { color: var(--orange); font-size: 8px; letter-spacing: .2em; }
.coordinates b { margin-top: 4px; font-size: 10px; font-weight: 400; }
.hero-note { position: absolute; left: clamp(22px, 7vw, 110px); bottom: 26px; margin: 0; color: #5e6b67; font-size: 9px; letter-spacing: .08em; }
.letter-opening { min-height: 90vh; display: grid; place-items: center; padding: 110px 22px; border-top: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, rgba(239,153,80,.08), transparent 35%); }
.memory-index { width: min(1220px, calc(100% - 48px)); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 120px); align-items: start; margin: 0 auto; padding: 140px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.memory-index h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.28; }
.memory-links { display: grid; }
.memory-links a { display: grid; grid-template-columns: 54px 1fr auto; gap: 20px; align-items: baseline; padding: 21px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .25s, color .25s; }
.memory-links a:first-child { border-top: 1px solid var(--line); }
.memory-links a:hover { padding-left: 10px; color: #efb77b; }
.memory-links b { color: var(--orange); font-family: var(--serif); font-size: 23px; font-weight: 400; }
.memory-links span { font-family: var(--serif); font-size: 21px; }
.memory-links small { color: #697670; font-size: 9px; letter-spacing: .1em; }
.paper { width: min(720px, 100%); position: relative; padding: clamp(38px, 7vw, 82px); color: var(--paper-ink); background: var(--paper); box-shadow: 0 34px 90px rgba(0,0,0,.34); transform: rotate(-.35deg); }
.paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(72,58,41,.2) 32px); }
.paper-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(49,43,35,.24); color: #756b5c; font-size: 10px; letter-spacing: .14em; }
.paper > p { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); line-height: 2; }
.paper .gift-title { margin: 34px 0 0; color: #a34f2f; font-size: clamp(46px, 7vw, 82px); line-height: 1; letter-spacing: .16em; }
.paper .salutation { margin-top: 40px; font-size: 27px; }
.paper .ink-line { margin-top: 30px; color: #a34f2f; font-size: clamp(24px, 3.2vw, 38px); }
.chapter { width: min(1220px, calc(100% - 48px)); min-height: 92vh; display: grid; grid-template-columns: 90px minmax(0, 1fr) 190px; gap: clamp(24px, 5vw, 76px); align-items: start; margin: 0 auto; padding: 150px 0; border-bottom: 1px solid var(--line); }
.chapter.reverse .chapter-index { order: 3; }
.chapter.reverse .chapter-body { order: 2; }
.chapter.reverse .margin-note { order: 1; }
.chapter-index { position: sticky; top: 105px; padding-top: 10px; color: #73817c; }
.chapter-index span { display: block; color: var(--orange); font-family: var(--serif); font-size: 46px; }
.chapter-index p { margin: 8px 0 0; font-size: 11px; letter-spacing: .3em; }
.chapter-body { max-width: 800px; }
.chapter h2 { margin: 0 0 52px; font-size: clamp(44px, 5.2vw, 78px); line-height: 1.25; letter-spacing: -.035em; }
.prose { max-width: 690px; }
.prose p { margin: 0 0 1.35em; color: #bcc5c0; font-family: var(--serif); font-size: clamp(16px, 1.45vw, 20px); line-height: 2; }
.prose p:first-child::first-letter { float: left; margin: .1em .16em 0 0; color: var(--orange); font-size: 3.8em; line-height: .8; }
.prose .scene-label { margin: 42px 0 16px; color: #eeb578; font-family: var(--sans); font-size: 10px; line-height: 1.4; letter-spacing: .24em; }
.prose .scene-label::first-letter { float: none; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.prose .pullquote { margin: 45px 0 0; padding: 24px 0 24px 26px; border-left: 2px solid var(--orange); color: #e9d4bb; font-size: clamp(23px, 2.6vw, 35px); line-height: 1.55; }
.chapter h2 em { color: var(--orange); font-style: normal; }
.heartbeat-chapter { min-height: 110vh; }
.heartbeat-card { margin: 0 0 48px; padding: 30px; border: 1px solid rgba(239,153,80,.3); background: rgba(239,153,80,.035); }
.heartbeat-card > div { display: flex; align-items: baseline; gap: 12px; }
.heartbeat-card span, .heartbeat-card small { color: #81908a; font-size: 9px; letter-spacing: .2em; }
.heartbeat-card b { color: var(--orange); font-family: var(--serif); font-size: 54px; font-weight: 400; }
.heartbeat-card svg { width: 100%; height: 90px; margin-top: 14px; overflow: visible; }
.heartbeat-card path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; animation: heartbeat-line 3.3s linear infinite; }
@keyframes heartbeat-line { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.margin-note.verified span { color: #efb779; }
.margin-note.sourced span { color: #8fb29c; }
.margin-note { align-self: end; margin-bottom: 60px; padding-top: 13px; border-top: 1px solid var(--line); color: #74817c; font-size: 10px; line-height: 1.8; }
.margin-note span { display: block; margin-bottom: 6px; color: #d7b486; letter-spacing: .16em; }
.photo-break { width: min(1440px, 100%); height: min(82vh, 840px); position: relative; margin: 40px auto 100px; overflow: hidden; background: #111a1c; }
.photo-break img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.86) contrast(1.04) brightness(.86); transition: transform 1.2s ease, filter .6s; }
.photo-break:hover img { transform: scale(1.015); filter: saturate(.95) contrast(1.03) brightness(.92); }
.photo-break::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,10,11,.76), transparent 60%), linear-gradient(0deg, rgba(6,10,11,.55), transparent 40%); }
.photo-caption { position: absolute; z-index: 2; left: clamp(24px, 7vw, 110px); bottom: clamp(25px, 7vw, 85px); max-width: 500px; }
.photo-caption span { color: #d7b486; font-size: 9px; letter-spacing: .24em; }
.photo-caption p { margin: 16px 0 25px; font-family: var(--serif); font-size: clamp(28px, 4vw, 57px); line-height: 1.35; }
.photo-caption a { color: #c5cdc9; font-size: 10px; letter-spacing: .12em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 5px; }
.memory-still { margin: 48px 0 58px; overflow: hidden; border: 1px solid var(--line); background: #10191b; }
.memory-still img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; filter: saturate(.88) contrast(1.04) brightness(.9); transition: transform 1s ease, filter .6s ease; }
.memory-still:hover img { transform: scale(1.018); filter: saturate(1) contrast(1.02) brightness(.96); }
.memory-still figcaption { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: baseline; padding: 20px 24px; border-top: 1px solid var(--line); }
.memory-still figcaption span { color: #efb779; font-size: 9px; letter-spacing: .2em; white-space: nowrap; }
.prose .memory-still figcaption p { margin: 0; color: #dce1de; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.55; }
.daystar-photo img { object-position: center 44%; }
.interlude { min-height: 75vh; display: grid; place-items: center; padding: 100px 22px; background: radial-gradient(circle, rgba(117,154,132,.12), transparent 45%); }
.radio { width: min(860px, 100%); position: relative; padding: clamp(35px, 7vw, 75px); overflow: hidden; text-align: center; border: 1px solid rgba(150,183,164,.27); background: rgba(16,26,28,.75); box-shadow: 0 35px 80px rgba(0,0,0,.28); }
.radio::before, .radio::after { content: ""; position: absolute; width: 60px; height: 60px; border-color: #7f9f8c; opacity: .5; }
.radio::before { top: 14px; left: 14px; border-top: 1px solid; border-left: 1px solid; }
.radio::after { right: 14px; bottom: 14px; border-right: 1px solid; border-bottom: 1px solid; }
.radio-head { display: flex; justify-content: space-between; color: #78907f; font-size: 9px; letter-spacing: .18em; }
.radio-label { margin: 58px 0 22px; color: #7c8984; font-size: 11px; }
.radio-message { min-height: 100px; margin: 0 auto 32px; max-width: 600px; font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.65; }
.radio button { min-width: 190px; display: inline-flex; justify-content: space-between; padding: 13px 16px; border: 1px solid var(--orange); color: #1b130d; background: var(--orange); cursor: pointer; }
.waves { height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 42px; opacity: .45; }
.waves i { width: 1px; height: 7px; background: #89aa96; animation: wave 1.2s ease-in-out infinite paused; }
.waves.active i { animation-play-state: running; }
.waves i:nth-child(2n) { animation-delay: -.3s; }.waves i:nth-child(3n) { animation-delay: -.65s; }.waves i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 37px; opacity: 1; } }
.gallery { width: min(1280px, calc(100% - 48px)); display: grid; grid-template-columns: 1fr .72fr 1fr; gap: 18px; align-items: stretch; margin: 90px auto 140px; }
.gallery-card { min-height: 510px; position: relative; overflow: hidden; background: #121b1d; }
.gallery-card.tall { transform: translateY(54px); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(.68) contrast(1.08) brightness(.78); transition: transform .8s, filter .5s; }
.gallery-card:hover img { transform: scale(1.025); filter: saturate(.9) brightness(.85); }
.gallery-card span { position: absolute; left: 16px; bottom: 15px; padding: 7px 9px; background: rgba(5,9,10,.72); color: #d0d7d3; font-size: 8px; letter-spacing: .14em; }
.image-unavailable { background: radial-gradient(circle at 65% 28%, rgba(239,153,80,.22), transparent 28%), linear-gradient(145deg, #1b2a2d, #0a1113); }
.image-unavailable::before { content: "返图加载失败 · 点击查看原始来源"; position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 28px; color: #91a09a; font-size: 10px; letter-spacing: .16em; text-align: center; }
.photo-break.image-unavailable::before { place-items: start; align-content: center; padding-left: clamp(24px, 7vw, 110px); }
.gallery-quote { display: grid; place-items: center; align-content: center; padding: 36px 20px; text-align: center; border: 1px solid var(--line); background: #10191b; }
.gallery-quote small { color: var(--orange); font-size: 8px; letter-spacing: .25em; }
.gallery-quote p { margin: 24px 0 0; font-family: var(--serif); font-size: clamp(18px, 2vw, 27px); line-height: 1.8; }
.evidence { width: min(1120px, calc(100% - 48px)); display: grid; grid-template-columns: .8fr .6fr .6fr; gap: 20px; align-items: stretch; margin: 50px auto 150px; }
.evidence-copy { padding: 52px 46px; border: 1px solid var(--line); background: #10191b; }
.evidence-copy h2 { margin: 0 0 28px; font-size: clamp(34px, 4vw, 60px); line-height: 1.35; }
.evidence-copy > p:last-child { color: var(--muted); font-family: var(--serif); line-height: 1.9; }
.evidence-card { min-height: 560px; position: relative; display: grid; grid-template-rows: minmax(300px, 1fr) auto; overflow: hidden; border: 1px solid var(--line); background: #080c0d; text-decoration: none; }
.evidence-image { display: grid; place-items: center; padding: 25px 20px 16px; background: radial-gradient(circle at 50% 42%, #172124, #080c0d 72%); }
.evidence-card img { width: 200px; max-width: 100%; height: auto; display: block; filter: contrast(1.08) brightness(1.04); transition: transform .5s; image-rendering: auto; }
.evidence-card:hover img { transform: scale(1.02); }
.evidence-transcript { padding: 23px 24px 58px; border-top: 1px solid var(--line); background: #10191b; }
.evidence-transcript small { color: var(--orange); font-size: 8px; letter-spacing: .2em; }
.evidence-transcript p { margin: 12px 0 0; color: #d5dbd7; font-family: var(--serif); font-size: 15px; line-height: 1.8; }
.evidence-card > span { position: absolute; inset: auto 12px 12px; padding: 9px 11px; color: #d9dfdc; background: rgba(4,7,8,.82); font-size: 9px; letter-spacing: .12em; }
.bright-love { width: min(1240px, calc(100% - 48px)); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 7vw, 100px); align-items: center; margin: 80px auto 140px; padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bright-love img { width: 100%; display: block; filter: saturate(.7) contrast(1.08); box-shadow: 0 30px 75px rgba(0,0,0,.28); }
.bright-love blockquote { margin: 0 0 36px; color: #f0d5b6; font-family: var(--serif); font-size: clamp(28px, 3.5vw, 50px); line-height: 1.6; }
.bright-copy > p:last-child { color: #aeb8b3; font-family: var(--serif); font-size: 18px; line-height: 2; }
.final-chapter { border-bottom: 0; }
.promise { min-height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; text-align: center; background: linear-gradient(180deg, #090f11 0%, #142125 52%, #4d3b2c 100%); }
.promise::before { content: ""; position: absolute; inset: auto 0 0; height: 31%; z-index: 1; background: #070b0c; clip-path: polygon(0 59%, 8% 42%, 17% 53%, 24% 24%, 32% 50%, 41% 39%, 49% 55%, 58% 18%, 66% 48%, 75% 32%, 84% 55%, 93% 30%, 100% 48%, 100% 100%, 0 100%); }
.promise-sun { position: absolute; left: 50%; bottom: 10%; width: min(50vw, 620px); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, #ffdeb0, #ef9950 60%, #93482e); box-shadow: 0 0 140px rgba(239,153,80,.37); }
.promise-copy { position: relative; z-index: 2; padding: 60px 22px 170px; }
.promise h2 { margin: 0; font-size: clamp(58px, 8vw, 120px); text-shadow: 0 8px 35px rgba(0,0,0,.35); }
.promise-copy > p:not(.overline) { margin: 22px 0 28px; font-family: var(--serif); font-size: clamp(24px, 3vw, 42px); }
.promise small { color: #c8d0cc; letter-spacing: .2em; }
.your-line { width: min(1120px, calc(100% - 48px)); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 8vw, 110px); align-items: start; margin: 0 auto; padding: 150px 0; }
.your-line-intro { position: sticky; top: 100px; }
.your-line h2 { margin: 0; font-size: clamp(45px, 5vw, 74px); line-height: 1.27; }
.your-line-intro > p:last-child { color: var(--muted); font-size: 12px; }
.message-paper { position: relative; padding: clamp(34px, 6vw, 68px); color: var(--paper-ink); background: var(--paper); box-shadow: 0 28px 80px rgba(0,0,0,.3); transform: rotate(.35deg); }
.message-paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(72,58,41,.2) 32px); }
.message-paper label, .message-paper textarea, .signature, .message-actions { position: relative; z-index: 1; }
.message-paper label { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 22px; }
.message-paper textarea { width: 100%; resize: vertical; padding: 0; border: 0; outline: 0; color: var(--paper-ink); background: transparent; font-family: var(--serif); font-size: 17px; line-height: 2; }
.signature { text-align: right; font-family: var(--serif); }
.message-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(49,43,35,.2); }
.message-actions button { padding: 10px 14px; border: 1px solid #544b3e; background: transparent; color: #332c24; cursor: pointer; }
.message-actions button:first-child { color: #f0e7d8; background: #332c24; }
.message-actions span { color: #776c5b; font-size: 10px; }
.next-life { min-height: 92svh; position: relative; display: grid; place-items: center; overflow: hidden; padding: 120px 22px; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(circle at 50% 42%, rgba(239,153,80,.13), transparent 24rem), linear-gradient(180deg, #0a1113, #05090a); }
.next-life::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(circle at 22% 24%, rgba(255,255,255,.72) 0 1px, transparent 1.5px), radial-gradient(circle at 75% 18%, rgba(255,255,255,.55) 0 1px, transparent 1.5px), radial-gradient(circle at 65% 72%, rgba(239,153,80,.55) 0 1px, transparent 1.7px), radial-gradient(circle at 35% 78%, rgba(255,255,255,.45) 0 1px, transparent 1.5px); background-size: 190px 190px, 260px 260px, 310px 310px, 370px 370px; }
.next-life-copy { position: relative; z-index: 1; max-width: 900px; }
.next-life h2 { margin: 0 0 34px; font-size: clamp(54px, 8vw, 112px); line-height: 1.2; letter-spacing: -.05em; }
.next-life-copy > p:not(.overline) { margin: 0 0 16px; color: #c9d0cc; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 34px); line-height: 1.8; }
.next-life-copy .next-life-line { color: #efc89f; font-size: clamp(25px, 3.2vw, 46px); }
.next-life-choice { margin-top: 34px; }
.next-life-choice button { min-width: 250px; min-height: 50px; padding: 13px 24px; border: 1px solid rgba(239,153,80,.72); color: #17100b; background: linear-gradient(135deg, #f3b16f, #e78a42); font-family: var(--serif); font-size: 18px; letter-spacing: .08em; cursor: pointer; box-shadow: 0 14px 38px rgba(239,153,80,.14); transition: transform .25s, box-shadow .25s, color .25s, background .25s; }
.next-life-choice button:hover { transform: translateY(-3px); box-shadow: 0 19px 46px rgba(239,153,80,.23); }
.next-life-choice button.accepted { color: #efc89f; background: rgba(239,153,80,.07); box-shadow: 0 0 0 5px rgba(239,153,80,.05), 0 16px 48px rgba(239,153,80,.12); }
.next-life-reply { margin: 18px 0 0; color: #d9c1a5; font-family: var(--serif); font-size: 17px; line-height: 1.8; animation: reply-in .7s ease both; }
.next-life-reply[hidden] { display: none; }
@keyframes reply-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.next-life-copy > span { display: inline-block; margin-top: 42px; padding-top: 14px; border-top: 1px solid rgba(239,153,80,.4); color: #8b9892; font-size: 10px; letter-spacing: .23em; }
footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 38px clamp(22px, 5vw, 70px); border-top: 1px solid var(--line); color: #697570; background: #070c0d; font-size: 10px; line-height: 1.7; }
footer strong { color: #aab4af; font-weight: 500; }
footer p { margin: 4px 0 0; }
.source-list { display: flex; flex-wrap: wrap; gap: 12px; align-items: start; justify-content: end; }
.source-list span { color: #aab4af; }
.source-list a { text-underline-offset: 3px; }
.photo-note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; padding: 11px 16px; color: #1b130d; background: #efb977; font-size: 11px; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar > p { display: none; }
  .hero { grid-template-columns: 1fr; gap: 58px; padding-top: 135px; }
  .memory-index { grid-template-columns: 1fr; }
  .hero-art { height: 63vh; }
  .hero-note { display: none; }
  .chapter { grid-template-columns: 58px minmax(0, 1fr); }
  .chapter-index, .chapter.reverse .chapter-index { order: 1; }
  .chapter-body, .chapter.reverse .chapter-body { order: 2; }
  .margin-note, .chapter.reverse .margin-note { grid-column: 2; order: 3; margin: 0; }
  .chapter-index { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .evidence { grid-template-columns: 1fr 1fr; }
  .evidence-copy { grid-column: 1 / -1; }
  .bright-love { grid-template-columns: 1fr; }
  .gallery-quote { grid-column: 1 / -1; grid-row: 1; min-height: 280px; }
  .gallery-card.tall { transform: none; }
  .your-line { grid-template-columns: 1fr; }
  .your-line-intro { position: static; }
  .photo-break { height: auto; aspect-ratio: 1586 / 992; }
  .photo-break img, .daystar-photo img { height: 100%; object-fit: contain; object-position: center; }
}

@media (max-width: 560px) {
  .noise { opacity: .025; animation: none; }
  .topbar { padding: calc(14px + env(safe-area-inset-top)) 16px 14px; }
  .wordmark { font-size: 15px; }
  .wordmark span { width: 32px; height: 32px; }
  .sound { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .sound span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sound i { width: 9px; height: 9px; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 42px; padding: calc(112px + env(safe-area-inset-top)) 16px 72px; }
  .hero-copy, .lead { width: 100%; max-width: 100%; }
  .lead, .prose p, .your-line-intro p, .next-life-copy p { overflow-wrap: anywhere; word-break: break-word; }
  .hero h1 { font-size: clamp(43px, 13vw, 52px); line-height: 1.1; }
  .memory-hero h1 { font-size: clamp(41px, 12vw, 48px); }
  .overline { margin-bottom: 16px; font-size: 9px; line-height: 1.7; letter-spacing: .22em; }
  .lead { margin-top: 24px; font-size: 17px; line-height: 1.85; }
  .enter { min-height: 48px; align-items: center; margin-top: 32px; }
  .memory-index { width: calc(100% - 32px); gap: 44px; padding: 82px 0; }
  .memory-index h2 { font-size: clamp(34px, 10vw, 43px); }
  .memory-links a { min-height: 68px; grid-template-columns: 38px 1fr; gap: 10px; align-content: center; padding: 14px 0; }
  .memory-links b { font-size: 20px; }
  .memory-links span { font-size: 18px; line-height: 1.45; }
  .memory-links small { grid-column: 2; }
  .hero-art { height: min(66svh, 560px); min-height: 400px; }
  .moon { width: 70%; right: -5%; }
  .him { left: 33%; }.her { left: 54%; }
  .coordinates { right: 14px; bottom: 14px; max-width: calc(100% - 28px); }
  .letter-opening { min-height: 0; padding: 74px 16px; }
  .paper { padding: 34px 24px 40px; transform: none; }
  .paper-meta { flex-direction: column; gap: 6px; }
  .paper > p { font-size: 17px; line-height: 1.9; }
  .paper .gift-title { font-size: 52px; }
  .paper .salutation { margin-top: 30px; font-size: 24px; }
  .paper .ink-line { font-size: 25px; line-height: 1.65; }
  .chapter, .chapter.reverse { width: calc(100% - 32px); min-height: auto; grid-template-columns: 1fr; gap: 0; padding: 82px 0; }
  .chapter-index, .chapter.reverse .chapter-index { display: flex; align-items: baseline; gap: 12px; order: 1; margin-bottom: 20px; padding: 0; }
  .chapter-index::after { content: ""; height: 1px; flex: 1; background: var(--line); }
  .chapter-index p { margin: 0; }
  .chapter-body, .chapter.reverse .chapter-body { width: 100%; order: 2; }
  .margin-note, .chapter.reverse .margin-note { grid-column: 1; order: 3; margin-top: 36px; }
  .chapter h2 { margin-bottom: 32px; font-size: clamp(34px, 10.5vw, 42px); line-height: 1.32; }
  .chapter-index span { font-size: 32px; }
  .prose p { font-size: 17px; line-height: 1.92; }
  .prose .pullquote { margin-top: 34px; padding: 19px 0 19px 20px; font-size: 24px; }
  .prose .scene-label { margin-top: 34px; }
  .heartbeat-card { margin-bottom: 34px; padding: 22px 18px; overflow: hidden; }
  .heartbeat-card b { font-size: 48px; }
  .heartbeat-card svg { height: 72px; }
  .photo-break { height: auto; min-height: 0; aspect-ratio: auto; margin: 22px auto 46px; overflow: hidden; }
  .photo-break img, .daystar-photo img { width: 100%; height: auto; aspect-ratio: 1586 / 992; object-fit: contain; object-position: center; }
  .photo-break::after { display: none; }
  .photo-caption { position: relative; inset: auto; max-width: none; padding: 22px 18px 26px; background: linear-gradient(145deg, #111a1c, #0b1214); }
  .photo-caption p { margin: 11px 0 0; font-size: clamp(27px, 8.5vw, 36px); }
  .memory-still { margin: 36px 0 44px; }
  .memory-still img { aspect-ratio: 4 / 3; }
  .gallery { width: calc(100% - 32px); grid-template-columns: 1fr; margin: 64px auto 76px; }
  .memory-still figcaption { grid-template-columns: 1fr; gap: 8px; padding: 17px 18px; }
  .interlude { min-height: 0; padding: 76px 16px; }
  .radio { padding: 42px 22px 36px; }
  .radio-label { margin-top: 42px; line-height: 1.7; }
  .radio-message { min-height: 92px; font-size: 25px; line-height: 1.6; }
  .radio button { width: 100%; min-height: 48px; align-items: center; }
  .waves { margin-top: 34px; }
  .evidence { width: calc(100% - 32px); grid-template-columns: 1fr; margin: 30px auto 82px; }
  .evidence-copy { grid-column: auto; padding: 36px 24px; }
  .evidence-copy h2 { font-size: 36px; }
  .evidence-card { min-height: 500px; grid-template-rows: minmax(280px, 1fr) auto; }
  .evidence-card img { width: min(230px, 78%); }
  .bright-love { width: calc(100% - 32px); gap: 42px; margin: 54px auto 84px; padding: 60px 0; }
  .bright-love blockquote { font-size: 29px; line-height: 1.55; }
  .bright-copy > p:last-child { font-size: 17px; line-height: 1.9; }
  .gallery-quote { grid-column: auto; grid-row: auto; min-height: 260px; }
  .gallery-card { min-height: 470px; }
  .promise { min-height: 92svh; }
  .promise-copy { padding: 50px 18px 140px; }
  .promise h2 { font-size: clamp(54px, 17vw, 74px); }
  .promise-copy > p:not(.overline) { font-size: 25px; line-height: 1.65; }
  .promise small { display: block; font-size: 9px; line-height: 1.8; }
  .your-line { width: calc(100% - 32px); gap: 42px; padding: 82px 0; }
  .your-line h2 { font-size: clamp(36px, 10vw, 44px); }
  .message-paper { padding: 34px 22px; transform: none; }
  .message-paper label { font-size: 20px; line-height: 1.6; }
  .message-paper textarea { min-height: 210px; font-size: 17px; line-height: 1.85; }
  .signature { font-size: 14px; line-height: 1.7; }
  .message-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .message-actions button { width: 100%; min-height: 46px; padding: 11px 14px; }
  .message-actions span { line-height: 1.6; }
  .next-life { min-height: 88svh; padding: 92px 18px calc(92px + env(safe-area-inset-bottom)); }
  .next-life h2 { margin-bottom: 28px; font-size: clamp(43px, 12vw, 56px); line-height: 1.28; }
  .next-life-copy > p:not(.overline) { font-size: 20px; line-height: 1.72; }
  .next-life-copy .next-life-line { font-size: 25px; }
  .next-life-choice { margin-top: 28px; }
  .next-life-choice button { width: 100%; min-width: 0; min-height: 50px; font-size: 17px; }
  .next-life-reply { font-size: 16px; }
  .next-life-copy > span { margin-top: 30px; line-height: 1.8; letter-spacing: .15em; }
  footer { grid-template-columns: 1fr; padding: 34px 18px calc(34px + env(safe-area-inset-bottom)); }
  .source-list { justify-content: start; }
  .toast { width: calc(100% - 32px); bottom: calc(16px + env(safe-area-inset-bottom)); text-align: center; }
}

@media (max-width: 380px) {
  .hero { padding-left: 14px; padding-right: 14px; }
  .memory-hero h1 { font-size: 40px; }
  .chapter h2 { font-size: 34px; }
  .photo-caption p { font-size: 28px; }
  .paper, .message-paper { padding-left: 19px; padding-right: 19px; }
  .next-life h2 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
