:root{--ink:#080d1c;--surface:#0d1426;--cream:#f7f0e7;--rose:#eec4b8;--gold:#c9a584;--muted:#aaa9b6;--line:rgba(224,209,201,.15);--serif:'Italiana',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--ink);color:var(--cream);font-family:var(--sans);font-size:16px;line-height:1.6}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{color:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h2{font-size:clamp(3rem,4.6vw,4.6rem);line-height:1.08;letter-spacing:-.04em}h2 em,h1 em{font-style:normal;color:var(--rose)}p{color:var(--muted)}svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--rose);outline-offset:5px}::selection{color:var(--ink);background:var(--rose)}[hidden]{display:none!important}.skip-link{position:fixed;top:-60px;left:20px;padding:12px 20px;z-index:99;background:var(--rose);color:var(--ink)}.skip-link:focus{top:15px}.progress{height:2px;position:fixed;top:0;left:0;background:var(--rose);width:0;z-index:99}#starfield{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;opacity:.4}.site-header{position:absolute;top:0;left:0;right:0;z-index:5;padding:27px 5.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(236,208,193,.1);gap:30px}.brand{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.17em;font-weight:600;white-space:nowrap}.brand svg{width:33px;height:33px;color:var(--rose)}.brand>span:first-child:not(:last-child){font-size:29px;color:var(--rose)}nav{display:flex;gap:30px}nav a{font-size:13px;color:#c5c0ca;transition:color .2s}nav a:hover{color:var(--rose)}.header-actions{display:flex;align-items:center;gap:22px}.sound-button{display:flex;align-items:center;gap:8px;border:0;background:none;padding:5px 0;color:#c6c0c9;font-size:12px}.sound-button svg{width:20px;height:20px}.sound-waves{opacity:.35}.sound-button[aria-pressed=true] .sound-waves{opacity:1}.personalize-button{display:flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid rgba(236,205,191,.3);border-radius:50px;background:rgba(8,13,28,.3);font-size:12px;transition:background .2s}.personalize-button:hover{background:rgba(238,196,184,.14)}.personalize-button svg{height:15px;width:15px}.hero{min-height:760px;height:min(860px,100svh);position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;padding:115px 8% 110px}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-3;animation:moon-reveal 1.8s ease-out}.hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(8,13,28,.55),rgba(8,13,28,.26) 42%,transparent 75%),linear-gradient(0deg,var(--ink),transparent 22%,transparent 80%,rgba(8,13,28,.32))}.hero-content{position:relative;width:60%;max-width:800px;animation:rise 1s ease-out both}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:500;color:var(--gold)}.hero .eyebrow{color:#e2b9a7;display:flex;align-items:center;gap:10px}.tiny-star{font-size:17px}.hero h1{font-size:clamp(4rem,6.6vw,7rem);line-height:1.06;letter-spacing:-.042em;margin:25px 0 25px;overflow-wrap:break-word}.hero-copy{color:#c5c0cc;font-size:16px;line-height:1.8;margin:0 0 32px}.primary-button{border:0;border-radius:60px;display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--rose);color:#30232a;padding:17px 26px;font-size:14px;font-weight:600;line-height:1.2;box-shadow:0 0 28px rgba(238,196,184,.1);transition:transform .2s,background .2s,box-shadow .2s}.primary-button svg{width:20px;height:20px}.primary-button:hover{transform:translateY(-3px);background:#f6d9d0;box-shadow:0 6px 38px rgba(238,196,184,.2)}.hero-meta{display:flex;gap:9px;align-items:center;margin-top:28px;font-size:10px;letter-spacing:.16em;color:#a4a0af;flex-wrap:wrap}.hero-meta [data-person]{max-width:250px;overflow-wrap:anywhere}.hairline{width:25px;height:1px;background:#957d76}.moon-annotation{position:absolute;right:12.5%;bottom:19%;display:flex;flex-direction:column;text-align:center;transform:rotate(-5deg);animation:rise 1.6s ease-out both;text-shadow:0 2px 8px #080d1c}.moon-annotation>span{font-size:11px;letter-spacing:.13em;text-transform:uppercase}.moon-annotation em{font-family:var(--serif);font-size:29px;font-style:normal;line-height:1.5;color:#ffe4d1}.hero-bottom{position:absolute;bottom:35px;left:5.5%;right:5.5%;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.13em;color:#b2a7b1}.birthday-tag{border:1px solid rgba(238,196,184,.25);padding:7px 13px;border-radius:40px;text-transform:uppercase;font-size:10px;max-width:220px;text-align:center}.scroll-hint{display:flex;align-items:center;gap:13px;font-size:11px;letter-spacing:.03em}.scroll-line{display:block;height:30px;width:1px;background:linear-gradient(var(--rose),transparent);animation:pulse 2s ease-in-out infinite}.chapter-nav{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 8%;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#0b1020}.chapter-nav a{position:relative;padding:4px 20px 4px 42px;font-family:var(--serif);font-size:22px;line-height:1.4;border-right:1px solid var(--line);transition:color .2s}.chapter-nav a:first-child{padding-left:27px}.chapter-nav a:last-child{border-right:0}.chapter-nav a:hover{color:var(--rose)}.chapter-nav a>span{position:absolute;left:13px;top:11px;font-family:var(--sans);font-size:10px;color:var(--gold)}.chapter-nav a:first-child>span{left:0}.chapter-nav small{display:block;font-size:9px;font-family:var(--sans);letter-spacing:.12em;color:#817f90;margin-top:4px}.section{padding:120px 8%;position:relative}.section-intro h2,.section-heading h2{margin:22px 0}.section-intro>p{font-size:15px}.letter-section{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:12%;max-width:1600px;margin:auto}.letter-preview{background:#f2e9dc;color:#30292c;padding:52px 48px 42px;position:relative;box-shadow:14px 14px 0 rgba(223,187,164,.06);border:1px solid #fff3df;transform:rotate(-2deg)}.letter-preview .eyebrow{color:#9b7463;font-size:10px}.letter-preview h3{font-size:46px;line-height:1.1;margin:25px 0;overflow-wrap:anywhere}.letter-preview p{color:#756868;font-size:15px;line-height:1.75;max-width:370px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.letter-star{position:absolute;right:36px;top:38px;color:#a87967;font-size:26px}.text-button{display:flex;align-items:center;gap:24px;background:none;padding:0 0 7px;border:0;border-bottom:1px solid #c5a99b;font-size:13px;color:#644536;margin:26px 0 35px}.text-button:hover{color:#a76150}.text-button>span{font-size:18px}.letter-signature{color:#8a7064;font-size:12px;line-height:1.7}.letter-signature [data-person]{font-family:var(--serif);font-size:29px;color:#694c41;overflow-wrap:anywhere}.postmark{position:absolute;right:36px;bottom:32px;border:1px dashed #b89782;border-radius:50%;width:82px;height:82px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;transform:rotate(18deg);font-size:8px;line-height:1.6;letter-spacing:.1em;color:#997462}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:50px;gap:30px}.section-heading>p{font-size:14px;padding-bottom:25px;line-height:1.8}.memories-section{background:linear-gradient(180deg,transparent,#101629,transparent);padding-top:70px}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:12px 6px}.memory-card{background:#eee5d9;padding:14px 14px 22px;color:#382c30;transform:rotate(-3deg);transition:transform .35s,box-shadow .35s;position:relative;border:0;text-align:left;width:100%}.memory-card:nth-child(2){transform:rotate(2deg);margin-top:28px}.memory-card:nth-child(3){transform:rotate(-1.5deg)}.memory-card:hover{transform:rotate(0) translateY(-6px);box-shadow:0 18px 50px #0007}.memory-photo{position:relative;height:320px;overflow:hidden;background:#18203d}.memory-photo>img{width:100%;height:100%;object-fit:cover}.memory-card:nth-child(1) .memory-photo>img{object-position:85% center}.memory-card:nth-child(2) .memory-photo>img{object-position:20% center}.memory-card:nth-child(3) .memory-photo>img{object-position:65% center}.memory-photo.celestial img{opacity:.68;transform:scale(1.3)}.memory-photo.celestial::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,rgba(8,13,28,.7))}.memory-motif{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#f6d8bc}.memory-motif>span{font-size:48px;line-height:1.3}.memory-motif>small{font-family:var(--sans);font-size:10px;letter-spacing:.15em;margin-top:20px}.memory-card h3{font-size:29px;line-height:1.2;margin:19px 10px 7px;overflow-wrap:anywhere}.memory-card p{font-size:12px;color:#806d69;line-height:1.6;margin:0 10px;overflow-wrap:anywhere}.memory-number{position:absolute;top:26px;left:27px;font-size:10px;letter-spacing:.12em;background:#080d1c5c;color:#f7e5d8;border-radius:30px;padding:5px 9px;z-index:2}.memory-note{font-size:12px;text-align:center;margin-top:47px;color:#827d91}.inline-button{font-size:inherit;background:none;border:0;border-bottom:1px solid #a78b88;padding:0;color:var(--rose);margin-left:4px}.centered{text-align:center}.constellation-section{padding-top:85px;padding-bottom:85px}.constellation-layout{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:6%;max-width:1240px;margin:55px auto 0}.star-map{aspect-ratio:640/380;position:relative}.constellation-lines{position:absolute;inset:0;width:100%;height:100%;stroke:#9f7a7350;stroke-width:1}.constellation-lines circle{stroke:#ccb4b516;stroke-dasharray:4 8}.constellation-star{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);padding:10px;background:none;border:0;display:flex;align-items:center;justify-content:center;flex-direction:column;width:60px;height:76px}.constellation-star>span{font-size:35px;color:#997788;transition:color .3s,filter .3s,transform .3s;line-height:1.2}.constellation-star small{font-size:10px;margin-top:5px;color:#a48b94}.constellation-star:hover>span,.constellation-star.selected>span{color:#f2d3b6;filter:drop-shadow(0 0 12px #dca788b0);transform:scale(1.2)}.map-label{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:9px;letter-spacing:.2em;color:#767387}.reason-card{border:1px solid var(--line);padding:32px 35px;background:linear-gradient(130deg,rgba(201,151,152,.075),transparent);min-height:330px;position:relative}.reason-card .eyebrow{font-size:10px}.reason-symbol{display:block;font-size:32px;color:var(--rose);margin:12px 0 0}.reason-card h3{font-size:32px;line-height:1.15;margin:12px 0 16px;overflow-wrap:anywhere}.reason-card p{font-size:14px;min-height:75px;overflow-wrap:anywhere}.reason-controls{display:flex;align-items:center;gap:18px;margin-top:27px}.reason-controls>span{font-size:10px;letter-spacing:.15em;color:#92869a}.circle-button{border:1px solid var(--line);background:none;border-radius:50%;width:34px;height:34px;font-size:18px;line-height:1;color:var(--rose);transition:background .2s}.circle-button:hover{background:#f2d3b620}.wish-section{text-align:center;padding-top:80px;padding-bottom:120px;background:radial-gradient(ellipse at 50% 50%,#62344320,transparent 65%)}.wish-orbit{border:1px solid #c99d8c30;border-radius:50%;width:94px;height:94px;display:grid;place-items:center;margin:0 auto 34px;position:relative}.wish-orbit:before{content:'';position:absolute;width:122px;height:122px;border:1px dashed #c99d8c20;border-radius:50%}.wish-orbit>span{font-size:38px;color:var(--rose)}.wish-section h2{font-size:clamp(2.5rem,4.2vw,4.2rem);margin:26px 0;line-height:1.2}.wish-section>p:not(.wish-footnote){font-size:15px}.wish-section .primary-button{margin-top:30px;padding-inline:35px}.wish-footnote{font-size:11px;margin-top:22px;color:#877b8d;min-height:20px}footer{padding:32px 5.5%;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:25px}footer .brand{font-size:10px}footer p{font-size:11px}footer>span{font-size:9px;letter-spacing:.14em;color:#aa8c87;max-width:220px;overflow-wrap:anywhere}dialog{color:var(--cream);border:1px solid var(--line);padding:0;background:var(--surface);max-height:90svh;overflow:auto}dialog::backdrop{background:#030712d6;backdrop-filter:blur(10px)}dialog[open]{animation:dialog-in .3s ease-out}body:has(dialog[open]){overflow:hidden}.dialog-close{position:absolute;top:20px;right:22px;width:36px;height:36px;border:1px solid #a9969150;border-radius:50%;background:transparent;color:inherit;font-size:25px;line-height:1;z-index:3}.dialog-close:hover{background:#aa8c8720}.letter-dialog{width:min(660px,calc(100% - 32px));background:#f2e9dc;color:#483539;padding:60px 60px 50px}.letter-dialog .eyebrow{color:#997262;font-size:10px;padding-right:30px}.letter-dialog h2{font-size:46px;margin:28px 0;overflow-wrap:anywhere}.full-letter p{color:#776468;font-size:16px;line-height:1.9;white-space:pre-wrap;margin-bottom:18px;overflow-wrap:anywhere}.letter-dialog .letter-signature{margin-top:30px}.dialog-star{position:absolute;right:40px;bottom:40px;color:#b99577;font-size:35px}.memory-dialog{width:min(740px,calc(100% - 32px));padding:20px 20px 35px}.memory-dialog img{max-height:65svh;width:100%;object-fit:contain;background:#080d1c}.memory-dialog h3{font-size:36px;margin:24px 10px 6px}.memory-dialog p{font-size:14px;margin:0 10px}.memory-dialog .dialog-close{background:#080d1cb0}.editor-dialog{width:min(750px,calc(100% - 24px));border-radius:16px}.editor-heading{padding:34px 36px 0;position:relative}.editor-heading h2{font-size:46px;margin-top:12px}.editor-heading .eyebrow{font-size:10px}.editor-intro{padding:12px 36px 20px;font-size:14px}.editor-tabs{display:flex;gap:0;padding:0 36px;border-bottom:1px solid var(--line)}.editor-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:12px 17px;font-size:13px;color:var(--muted);white-space:nowrap}.editor-tabs button:first-child{padding-left:0;padding-right:22px}.editor-tabs button[aria-selected=true]{color:var(--rose);border-color:var(--rose)}.editor-panel{padding:27px 36px 30px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#d5c8ce;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}input,textarea{background:#080e1c;color:var(--cream);border:1px solid #e1c1b12b;padding:12px 13px;border-radius:7px;min-width:0;width:100%;font-size:14px}textarea{resize:vertical;line-height:1.6;min-height:100px}input::placeholder{color:#716d81}input[type=file]{font-size:12px}input[type=file]::file-selector-button{border:0;border-radius:4px;background:#d8b2a926;color:var(--rose);padding:8px;margin-right:10px;cursor:pointer}fieldset{border:0;padding:0;margin:0}legend{font-size:14px;color:#dbc9c8}.field-hint{font-size:12px;color:#93899b;line-height:1.7;display:block;margin:5px 0 18px}.reason-field textarea{min-height:85px}.reason-field{margin:18px 0}.memory-field{border-bottom:1px solid var(--line);padding:0 0 15px;margin-bottom:25px}.memory-field-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.memory-field-header h3{font-size:26px}.memory-field-header>button{font-size:12px}.photo-preview{width:70px;height:70px;object-fit:cover;border-radius:6px;margin-bottom:13px}.music-selection{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;font-size:12px;color:var(--gold)}.music-upload{margin-top:25px}.share-option{padding:5px 0 25px;border-bottom:1px solid var(--line);margin-bottom:22px}.option-number{color:var(--gold);font-size:11px}.share-option h3{font-size:30px;margin:10px 0}.share-option p{font-size:14px;line-height:1.8;margin-bottom:20px}.secondary-button{border:1px solid #c0a08f70;border-radius:50px;padding:12px 20px;background:none;color:var(--rose);font-size:13px}.secondary-button:hover{background:#eec4b816}.share-url-label{margin-top:15px}.editor-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 36px;background:#0d1426f5;border-top:1px solid var(--line);backdrop-filter:blur(15px)}.editor-footer>span{color:#a49aab;font-size:12px}.editor-footer .primary-button{padding:14px 22px;font-size:13px;white-space:nowrap}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);padding:14px 23px;background:#f1d6cb;color:#402e32;z-index:100;border-radius:9px;max-width:calc(100% - 32px);font-size:13px;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;box-shadow:0 10px 30px #0004}.toast.visible{opacity:1;transform:translate(-50%,0)}#confetti{position:fixed;inset:0;width:100%;height:100%;z-index:90;pointer-events:none}body.recipient .creator-only{display:none!important}.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s ease-out,transform .8s ease-out}.reveal.visible{opacity:1;transform:translateY(0)}
@keyframes rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes moon-reveal{from{opacity:0;transform:scale(1.035)}to{opacity:1;transform:scale(1)}}@keyframes pulse{50%{opacity:.3;transform:translateY(4px)}}@keyframes dialog-in{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.hero-art{object-position:center 44%}.hero{padding-left:max(8%,calc((100vw - 1500px)/2))}.hero h1{font-size:112px}}
@media(max-width:1100px){.site-header{padding-inline:4%;gap:20px}nav{gap:18px}nav a{font-size:12px}.header-actions{gap:15px}.hero{padding-inline:6%;min-height:700px}.hero-content{width:68%}.hero h1{font-size:clamp(4rem,7vw,6rem)}.hero-shade{background:linear-gradient(90deg,#080d1c90,rgba(8,13,28,.2) 70%),linear-gradient(0deg,var(--ink),transparent 25%)}.moon-annotation{right:8%;bottom:17%}.moon-annotation em{font-size:25px}.section{padding-inline:6%}.letter-section{gap:8%}.letter-preview{padding:40px 35px}.letter-preview h3{font-size:40px}.memory-photo{height:275px}.memory-grid{gap:25px}.memory-card h3{font-size:25px}.chapter-nav{padding-inline:6%}.chapter-nav a{font-size:19px;padding-left:35px}.reason-card{padding:28px}.reason-card h3{font-size:29px}}
@media(max-width:850px){nav{display:none}.hero{min-height:720px;height:92svh}.hero-content{width:80%}.hero h1{font-size:clamp(3.8rem,8.4vw,5rem)}.hero-art{object-position:60% center;opacity:.75}.hero-shade{background:linear-gradient(90deg,#080d1cc7,#080d1c38 85%),linear-gradient(0deg,var(--ink),transparent 50%)}.moon-annotation{right:8%;bottom:12%;text-align:right}.hero-bottom>span:first-child{display:none}.hero-bottom{bottom:25px}.chapter-nav{grid-template-columns:1fr 1fr;row-gap:24px;padding:27px 6%}.chapter-nav a:nth-child(2){border:0}.chapter-nav a:nth-child(3){padding-left:27px}.chapter-nav a:nth-child(3)>span{left:0}.section{padding-top:90px;padding-bottom:90px}.letter-section{gap:6%}.letter-preview h3{font-size:34px}.letter-preview{padding:35px 27px}.letter-preview p{font-size:14px}.postmark{width:62px;height:62px;font-size:7px;right:18px;bottom:25px}.memory-photo{height:235px}.memory-grid{gap:18px}.memory-card{padding:10px 10px 19px}.memory-card h3{font-size:23px;margin-inline:4px}.memory-card p{font-size:11px;margin-inline:4px}.constellation-layout{grid-template-columns:1fr;gap:35px;margin-top:30px}.star-map{max-width:600px;width:100%;margin:auto}.reason-card{max-width:540px;width:100%;margin:auto;min-height:280px}.reason-card p{min-height:0}.reason-controls{margin-top:20px}.section-heading>p{font-size:13px}footer{flex-wrap:wrap;justify-content:center;gap:15px;text-align:center}footer p{order:3;width:100%}}
@media(max-width:600px){.site-header{padding:21px 6%;gap:12px}.brand{font-size:10px;gap:9px;letter-spacing:.12em}.brand svg{width:28px;height:28px}.header-actions{gap:14px}.sound-button>span{display:none}.personalize-button{padding:8px 11px;font-size:10px}.personalize-button svg{width:12px;height:12px}.hero{min-height:720px;height:100svh;padding:140px 7% 155px;align-items:center}.hero-art{object-position:68% center;opacity:.65}.hero-shade{background:linear-gradient(90deg,#080d1cc7,#080d1c66),linear-gradient(0deg,var(--ink),transparent 70%)}.hero-content{width:100%}.hero .eyebrow{font-size:9px;letter-spacing:.16em;gap:8px}.hero h1{font-size:clamp(3.3rem,12.2vw,4.8rem);line-height:1.08;margin:24px 0}.hero-copy{font-size:14px;line-height:1.85;margin-bottom:28px}.hero-copy br{display:none}.primary-button{padding:16px 23px;font-size:13px}.hero-meta{font-size:8px;margin-top:24px;gap:7px}.moon-annotation{bottom:89px;right:8%;text-align:right;transform:rotate(-4deg)}.moon-annotation>span{font-size:8px}.moon-annotation em{font-size:22px}.hero-bottom{left:7%;right:7%;bottom:26px}.birthday-tag{font-size:8px;max-width:170px}.scroll-hint{font-size:10px;gap:10px}.chapter-nav{padding:25px 7%;gap:24px 10px}.chapter-nav a{font-size:18px;padding-right:4px;padding-left:28px}.chapter-nav a:nth-child(odd){padding-left:25px}.chapter-nav a>span{left:6px;font-size:8px}.chapter-nav small{font-size:7px;letter-spacing:.07em}.section{padding:75px 7%}.section-intro h2,.section-heading h2{font-size:48px;margin:20px 0}.eyebrow{font-size:9px;letter-spacing:.16em}.section-intro p{font-size:13px}.letter-section{grid-template-columns:1fr;gap:40px}.letter-preview{margin:0 6px;padding:34px 30px}.letter-preview h3{font-size:40px}.letter-preview p{font-size:14px}.letter-preview .eyebrow{font-size:9px}.letter-star{top:26px;right:25px}.text-button{margin-bottom:30px}.letter-signature [data-person]{font-size:28px}.section-heading{display:block;margin-bottom:32px}.section-heading>p{padding:0;font-size:13px}.memory-grid{grid-template-columns:1fr;gap:30px;padding:0 13px}.memory-card{padding:13px 13px 23px}.memory-card:nth-child(2){margin-top:0}.memory-photo{height:330px}.memory-card h3{font-size:31px;margin:18px 8px 7px}.memory-card p{font-size:13px;margin:0 8px}.memory-note{font-size:12px;line-height:1.8;margin-top:33px}.memory-note .inline-button{display:inline}.constellation-section{padding-top:40px}.star-map{aspect-ratio:640/410}.constellation-lines{height:92.7%;top:0}.constellation-star{top:calc(var(--y)*.927)}.constellation-star>span{font-size:28px}.map-label{font-size:8px;letter-spacing:.12em}.reason-card{padding:30px}.reason-card h3{font-size:34px}.reason-card p{font-size:14px}.wish-section{padding-top:50px}.wish-section h2{font-size:38px;line-height:1.15}.wish-section>p:not(.wish-footnote){font-size:14px;max-width:270px;margin-inline:auto}.wish-footnote{font-size:10px}.wish-orbit{width:78px;height:78px}.wish-orbit:before{width:102px;height:102px}footer{padding:27px 7%;gap:10px}footer .brand{font-size:9px}footer>span{font-size:8px}footer p{font-size:10px}.letter-dialog{padding:50px 28px 35px;max-height:85svh}.letter-dialog .eyebrow{font-size:8px}.letter-dialog h2{font-size:39px}.full-letter p{font-size:15px;line-height:1.85}.dialog-star{right:25px;bottom:25px}.editor-dialog{max-height:92svh}.editor-heading{padding:28px 23px 0}.editor-heading h2{font-size:39px}.editor-heading .eyebrow{font-size:8px}.editor-intro{padding:10px 23px 20px;font-size:13px}.editor-tabs{padding:0 23px;overflow-x:auto}.editor-tabs button{font-size:11px;padding-inline:12px}.editor-tabs button:first-child{padding-right:16px}.editor-panel{padding:23px}.form-grid{gap:0 12px}label{font-size:12px}input,textarea{font-size:16px;padding:10px 12px}.editor-footer{padding:17px 23px;gap:12px}.editor-footer>span{font-size:10px;max-width:130px}.editor-footer .primary-button{padding:14px 17px;font-size:12px}.share-option h3{font-size:28px}.share-option p{font-size:13px}.memory-dialog h3{font-size:30px}.memory-dialog p{font-size:13px}}
@media(max-width:360px){.brand{font-size:8px}.personalize-button{font-size:9px}.hero h1{font-size:46px}.hero .eyebrow{font-size:8px}.chapter-nav a{font-size:16px}.section-intro h2,.section-heading h2{font-size:42px}.form-grid{grid-template-columns:1fr}.editor-tabs button{font-size:10px}.memory-photo{height:270px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}#starfield{display:none}}

/* A continuous 3D world, with tactile layers over the live scene. */
body{background:radial-gradient(ellipse at 75% 20%,#201527 0,transparent 55%),#080d1c;overflow-x:clip}main{position:relative;z-index:1}footer{position:relative;z-index:1}#universe3d,#touchParticles{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}#universe3d{z-index:0}#touchParticles{z-index:8}#starfield{z-index:0}.nebula{position:fixed;border-radius:50%;pointer-events:none;z-index:0;filter:blur(70px);mix-blend-mode:screen;transform:translate3d(var(--sky-x,0px),var(--sky-y,0px),0)}.nebula-one{width:80vw;height:60vh;right:-30vw;top:0;background:radial-gradient(ellipse,#8a425728,transparent 65%);animation:nebula-drift 25s ease-in-out infinite alternate}.nebula-two{width:70vw;height:60vh;left:-30vw;bottom:-10vh;background:radial-gradient(ellipse,#51408a26,transparent 65%);animation:nebula-drift 30s ease-in-out infinite alternate-reverse}.webgl-ready .hero-art{opacity:0;transition:opacity 1.2s}.webgl-ready .hero-shade{background:linear-gradient(90deg,#080d1c80,transparent 64%),linear-gradient(0deg,#080d1c80,transparent 22%)}.hero-content{z-index:3}.hero .primary-button{position:relative;z-index:4}.moon-stage{position:absolute;right:5%;top:20%;width:min(37vw,520px);aspect-ratio:1;z-index:2;cursor:grab;touch-action:pan-y;border-radius:50%;outline-offset:12px}.dragging-planet .moon-stage,.dragging-planet .wish-orbit{cursor:grabbing}.moon-stage:focus-visible{outline:1px dashed #eec4b8a0}.orbit-label{position:absolute;bottom:-25px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:10px;font-size:10px;letter-spacing:.1em;color:#b99f9e;pointer-events:none}.orbit-dot{height:4px;width:4px;background:#eec4b8;border-radius:50%;box-shadow:0 0 10px #eec4b8}.interaction-note{font-size:11px;color:#8f7b91;display:flex;align-items:center;gap:8px;margin-top:24px}.interaction-note>span{font-size:18px;color:var(--rose)}.moon-annotation{right:12%;bottom:14%;pointer-events:none;z-index:3}.motion-button{border:0;background:none;padding:0;display:flex;align-items:center;gap:7px;color:#c8bbc9;font-size:11px}.motion-button svg{width:21px;height:21px}.motion-button[aria-pressed=true] svg{animation:orbit-turn 12s linear infinite}.header-actions{gap:17px}nav{gap:23px}.chapter-nav{background:#0b102070;backdrop-filter:blur(12px)}.chapter-planet{position:absolute;aspect-ratio:1;pointer-events:none;z-index:-1}.letter-planet{width:240px;left:-85px;bottom:30px}.memories-planet{width:150px;right:6%;top:36px}.constellation-planet{width:165px;left:50%;top:52%;transform:translate(-50%,-50%)}.wish-orbit{width:115px;height:115px;touch-action:pan-y;cursor:grab}.webgl-ready .wish-orbit{border-color:transparent}.webgl-ready .wish-orbit>span{opacity:0}.webgl-ready .wish-orbit:before{width:160px;height:160px;animation:orbit-turn 25s linear infinite}.memory-grid{perspective:1200px}.memory-card,.letter-preview,.reason-card,.chapter-nav a,.wish-orbit{--tilt-x:0deg;--tilt-y:0deg;--lift:0px;--float-y:0px;--rest:0deg;transform:perspective(1100px) translate3d(0,calc(var(--float-y) - var(--lift)),0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--rest));transform-style:preserve-3d;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s;will-change:transform}.letter-preview{--rest:-2deg}.memory-card{--rest:-3deg}.memory-card:nth-child(2){--rest:2deg;transform:perspective(1100px) translate3d(0,calc(var(--float-y) - var(--lift)),0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--rest))}.memory-card:nth-child(3){--rest:-1.5deg;transform:perspective(1100px) translate3d(0,calc(var(--float-y) - var(--lift)),0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--rest))}.memory-card:hover{transform:perspective(1100px) translate3d(0,calc(var(--float-y) - var(--lift)),0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--rest));box-shadow:0 25px 70px #0006}.memory-photo{transform:translateZ(16px)}.memory-card h3,.letter-preview h3{transform:translateZ(24px)}.memory-card p,.letter-preview p{transform:translateZ(12px)}.memory-number{transform:translateZ(35px)}.memory-card:after,.letter-preview:after,.reason-card:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at var(--shine-x,50%) var(--shine-y,0%),#fff8 0%,#fff0 55%);opacity:0;pointer-events:none;transition:opacity .35s;mix-blend-mode:soft-light}.memory-card:hover:after,.letter-preview:hover:after,.reason-card:hover:after{opacity:.28}.constellation-lines path{stroke:#d1a5a376;stroke-dasharray:7 5;animation:constellation-flow 9s linear infinite}.constellation-lines circle{transform-origin:center;animation:orbit-turn 70s linear infinite}.constellation-star.selected>span{animation:star-breathe 3s ease-in-out infinite}.primary-button{position:relative;overflow:hidden}.primary-button:after{content:'';position:absolute;inset:0;transform:translateX(-150%) skewX(-25deg);background:linear-gradient(90deg,transparent,#fff6,transparent);animation:button-sheen 7s ease-in-out infinite;pointer-events:none}.reason-symbol{animation:star-breathe 4s ease-in-out infinite}.postmark{animation:postmark-drift 9s ease-in-out infinite}.letter-dialog[open]{transform-origin:50% 90%;animation:letter-unfold .65s cubic-bezier(.16,1,.3,1)}.memory-dialog[open]{animation:memory-open .5s cubic-bezier(.16,1,.3,1)}.hero-meta [data-person],footer [data-person]{text-transform:uppercase}.wish-section{background:radial-gradient(ellipse at 50% 50%,#62344315,transparent 65%)}.memories-section{background:linear-gradient(180deg,transparent,#10162940,transparent)}
@keyframes nebula-drift{from{translate:0 0;scale:1}to{translate:-5% 8%;scale:1.2}}@keyframes orbit-turn{to{rotate:360deg}}@keyframes constellation-flow{to{stroke-dashoffset:-120}}@keyframes star-breathe{50%{filter:drop-shadow(0 0 16px #f1c59a);scale:1.12}}@keyframes button-sheen{0%,65%{transform:translateX(-150%) skewX(-25deg)}85%,100%{transform:translateX(150%) skewX(-25deg)}}@keyframes postmark-drift{50%{rotate:-4deg}}@keyframes letter-unfold{from{opacity:0;transform:perspective(1000px) rotateX(15deg) translateY(70px) scale(.88)}to{opacity:1;transform:perspective(1000px) rotateX(0) translateY(0) scale(1)}}@keyframes memory-open{from{opacity:0;transform:perspective(1000px) rotateY(-12deg) scale(.9)}to{opacity:1;transform:perspective(1000px) rotateY(0) scale(1)}}
body[data-motion=quiet] .nebula,body[data-motion=quiet] .motion-button svg,body[data-motion=quiet] .constellation-star.selected>span,body[data-motion=quiet] .primary-button:after,body[data-motion=quiet] .reason-symbol,body[data-motion=quiet] .postmark,body[data-motion=quiet] .constellation-lines path,body[data-motion=quiet] .constellation-lines circle,body[data-motion=quiet] .wish-orbit:before{animation-play-state:paused!important}body[data-motion=quiet] .hero-content,body[data-motion=quiet] .hero-art,body[data-motion=quiet] dialog[open]{animation:none!important}body[data-motion=quiet] .reveal{opacity:1;transform:none}body[data-motion=quiet] .memory-card,body[data-motion=quiet] .letter-preview,body[data-motion=quiet] .reason-card,body[data-motion=quiet] .chapter-nav a,body[data-motion=quiet] .wish-orbit{--float-y:0px!important;--tilt-x:0deg!important;--tilt-y:0deg!important;--lift:0px!important}
@media(max-width:1100px){nav{gap:16px}.header-actions{gap:12px}.motion-button>span{display:none}.moon-stage{right:3%;width:40vw;top:23%}.interaction-note{font-size:10px}.orbit-label{font-size:9px}.hero .hero-content{width:66%}}
@media(max-width:850px){.moon-stage{right:-8%;width:55vw;top:20%}.hero .hero-content{width:80%}.orbit-label{bottom:0}.moon-annotation{bottom:13%;right:8%}.webgl-ready .hero-shade{background:linear-gradient(90deg,#080d1cba,transparent),linear-gradient(0deg,#080d1ca0,transparent 60%)}.memories-planet{width:125px;right:-15px;top:70px}.letter-planet{width:190px;left:-90px}.constellation-planet{width:140px}}
@media(max-width:600px){.site-header .brand{font-size:9px}.header-actions{gap:12px}.motion-button svg{width:18px;height:18px}.personalize-button{padding:8px 10px}.moon-stage{right:-22%;top:17%;width:82vw}.hero .hero-content{width:100%}.webgl-ready .hero-shade{background:linear-gradient(90deg,#080d1ccc,#080d1c70 65%,transparent),linear-gradient(0deg,#080d1cb0,transparent 75%)}.orbit-label{display:none}.hero h1{position:relative;z-index:3;text-shadow:0 4px 30px #080d1c70}.moon-annotation{bottom:92px}.hero{padding-bottom:165px}.interaction-note{font-size:9px;margin-top:16px;max-width:240px}.letter-planet{width:170px;left:65%;bottom:auto;top:25px;opacity:.6}.memories-planet{width:90px;top:80px;right:5%}.constellation-planet{width:110px}.wish-orbit{width:110px;height:110px}.header-actions .sound-button{min-width:18px}.hero-meta{max-width:95%}}
@media(prefers-reduced-motion:reduce){.memory-card,.letter-preview,.reason-card,.chapter-nav a,.wish-orbit{will-change:auto;--float-y:0px!important;--tilt-x:0deg!important;--tilt-y:0deg!important;--lift:0px!important}.nebula{animation:none}.interaction-note{display:none}}
.moon-stage,.wish-orbit,.orbit-label{user-select:none;-webkit-user-select:none}body.dragging-planet{user-select:none;-webkit-user-select:none}

/* Version 4 carries the original moon's peach light and rose nebula into 3D. */
body{background:radial-gradient(ellipse at 80% 35%,#5b304545,transparent 62%),#080d1c}
.nebula-one{background:radial-gradient(ellipse,#ed927e20,transparent 65%)}
.nebula-two{background:radial-gradient(ellipse,#b86e9c1b,transparent 65%)}
.webgl-ready .hero-shade{background:linear-gradient(90deg,#080d1ca6,#080d1c20 58%,transparent 78%),linear-gradient(0deg,#080d1cb0,transparent 30%)}
.hero h1{text-shadow:0 3px 35px #080d1c60}
.orbit-label{color:#e6bcb1;bottom:auto;top:-30px}.orbit-dot{background:#ffd6bc;box-shadow:0 0 14px #ffc4aa}
.motion-button{color:#e1c5c8}.interaction-note{color:#b5a0b0}
.wish-section{background:radial-gradient(ellipse at 50% 50%,#d87c8420,transparent 65%)}
@media(max-width:850px){.webgl-ready .hero-shade{background:linear-gradient(90deg,#080d1cc0,#080d1c40 70%,transparent),linear-gradient(0deg,#080d1cd0,transparent 55%)}}
@media(max-width:600px){.webgl-ready .hero-shade{background:linear-gradient(90deg,#080d1cd0,#080d1c70 65%,#080d1c28),linear-gradient(0deg,#080d1ccd,transparent 70%)}}
