@charset "UTF-8";
:root{--paper:#f5f1e9;--ink:#343e34;--muted:#7b7b6c;--sage:#7e8b72;--sage-light:#e6e9df;--rose:#8e554a;--rose-light:#e8d5c9;--line:#d9d7ca;--white:#fffcf6;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}body:has(dialog[open]){overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:2px solid var(--rose);outline-offset:5px}input:focus,textarea:focus,select:focus{outline:2px solid #98a08a;outline-offset:2px}img{max-width:100%;display:block}svg{display:block}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.eyebrow{font-size:10px;letter-spacing:2.8px;font-weight:500;color:var(--sage)}.brand{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:2.5px;font-weight:500;line-height:1.5}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:var(--muted);font-weight:400;margin-top:2px}.brand-mark{font-family:Georgia,serif;font-style:italic;font-size:43px;line-height:1;letter-spacing:-6px;margin-right:5px;color:var(--rose)}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:48px;padding:12px 23px;border:1px solid var(--line);border-radius:4px;transition:.2s;background:transparent}.button:hover{transform:translateY(-2px);border-color:var(--sage)}.primary{background:var(--ink);border-color:var(--ink);color:var(--white)}.primary:hover{background:#4b5946}.text-button{border:0;background:none;padding:8px 0;font-size:12px;display:inline-flex;gap:28px;align-items:center}.text-button:hover{color:var(--rose)}.heart{color:var(--rose)}.gate{min-height:100svh;display:flex;align-items:center;flex-direction:column;padding:44px 20px 25px;background:radial-gradient(ellipse at 80% 70%,#e5dfd05e,transparent 60%),var(--paper)}.gate>.brand{margin-bottom:45px}.gate-card{width:min(100%,470px);position:relative;text-align:center;padding:45px 48px 30px;background:var(--white);border:1px solid var(--line);box-shadow:0 15px 60px #493d2910}.gate-card:before{content:"";position:absolute;inset:10px;pointer-events:none;border:1px solid #e3dfd2}.gate-card h1{font-family:var(--serif);font-size:32px;line-height:1.6;font-weight:400;margin:22px 0 14px;letter-spacing:3px}.gate-card>p{color:var(--muted);font-size:12px;line-height:2}.envelope{height:54px;width:84px;border:1px solid #aaae98;margin:30px auto 0;background:linear-gradient(34deg,transparent 49%,#bbc0aa 50%,transparent 51%) left top/50% 100% no-repeat,linear-gradient(-34deg,transparent 49%,#bbc0aa 50%,transparent 51%) right top/50% 100% no-repeat;display:grid;place-items:center;transform:rotate(-7deg)}.envelope span{background:var(--white);border-radius:50%;font-family:Georgia,serif;color:var(--rose);font-size:25px;line-height:1;padding:1px 5px;margin-top:10px}.gate form{margin-top:28px;position:relative;z-index:1}.gate label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.gate input{height:52px;width:100%;border:1px solid var(--line);border-radius:4px;background:transparent;text-align:center;letter-spacing:12px;font-size:23px;color:var(--ink);padding-left:12px}.gate .button{width:100%;margin-top:13px;font-size:13px}.error{color:#a7453c;font-size:12px;min-height:23px;margin:7px 0}.gate-flower{position:absolute;width:95px;height:130px;right:-20px;bottom:25px;opacity:.7;pointer-events:none}.gate-note{font-family:var(--serif);font-size:11px;color:var(--muted);letter-spacing:2px}.gate-footer{font-size:8px;color:#919381;letter-spacing:2.5px;margin-top:32px}.site-header{height:100px;max-width:1240px;margin:auto;padding:0 46px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.desktop-nav{display:flex;gap:34px;font-size:12px;color:var(--muted)}.desktop-nav a{position:relative;padding:10px 0}.desktop-nav a.active{color:var(--ink)}.desktop-nav a.active:after{content:"";height:3px;width:3px;border-radius:50%;background:var(--rose);position:absolute;left:50%;bottom:0}.write-button{border:1px solid var(--line);background:none;border-radius:30px;padding:7px 17px;font-size:11px;white-space:nowrap}.write-button span{color:var(--rose);font-size:16px}.write-button:hover{background:var(--white)}main{max-width:1240px;margin:auto;padding:0 46px}.home-hero{display:grid;grid-template-columns:1.05fr 1fr;min-height:610px;align-items:center;gap:60px;padding:55px 0 48px}.hero-copy .edition{display:inline-flex;align-items:center;gap:12px;font-size:10px;letter-spacing:1.5px;color:var(--muted)}.edition:before{content:"";width:24px;height:1px;background:var(--sage)}h1.hero-title{font-family:var(--serif);font-size:48px;line-height:1.6;font-weight:400;letter-spacing:2px;margin:19px 0 21px;white-space:pre-line}.hero-intro{color:var(--muted);font-size:13px;line-height:2;white-space:pre-line;margin-bottom:27px}.hero-copy .button{font-size:12px}.hero-photo-area{position:relative;padding:27px 15px 0}.orbit-note{position:absolute;right:0;top:0;font-family:Georgia,serif;color:var(--sage);font-style:italic;font-size:20px;transform:rotate(8deg);z-index:2}.polaroid{padding:13px 13px 17px;background:var(--white);box-shadow:0 8px 28px #433e2920;transform:rotate(3deg);position:relative}.polaroid:before{content:"";width:92px;height:26px;background:#c8bd9f68;position:absolute;top:-9px;left:calc(50% - 46px);transform:rotate(-8deg);z-index:2}.photo-button{border:0;padding:0;background:none;width:100%;text-align:left}.hero-photo{width:100%;aspect-ratio:1.08;object-fit:cover;object-position:center 60%;filter:sepia(.1)}.photo-caption{font-family:var(--serif);text-align:center;font-size:14px;letter-spacing:2px;color:#727364;padding-top:15px}.photo-caption small{font-family:Georgia,serif;letter-spacing:1px;font-size:9px;display:block;margin-top:3px}.hero-flower{position:absolute;width:145px;height:200px;bottom:-28px;left:-55px;transform:rotate(-12deg);pointer-events:none}.photo-stamp{position:absolute;right:-15px;bottom:-23px;width:79px;height:79px;border:1px solid var(--sage);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--paper);color:var(--sage);font-size:8px;letter-spacing:1px;transform:rotate(12deg)}.photo-stamp b{font-family:Georgia,serif;font-size:24px;font-weight:400;line-height:1.3}.together-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:24px 0;margin:8px 0 60px}.together-label{display:flex;gap:16px;align-items:center}.together-label .infinity{font-family:Georgia;font-size:42px;color:var(--sage);line-height:1}.together-label p{margin:0;font-size:12px}.together-label small{font-family:Georgia,serif;font-size:10px;letter-spacing:1px;color:var(--muted)}.days{font-family:Georgia,serif;font-size:38px;line-height:1}.days small{font-size:11px;font-family:var(--sans);color:var(--muted);margin-left:9px}.strip-quote{font-family:var(--serif);font-size:13px;color:var(--muted);letter-spacing:1px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px;gap:20px}.section-heading h2,.page-title{font-family:var(--serif);font-size:29px;font-weight:400;letter-spacing:2px;margin:7px 0 0}.section-heading p{margin:0;color:var(--muted);font-size:12px}.letter-preview{background:#ecece3;position:relative;padding:40px 48px 35px;margin-bottom:65px;border-radius:2px}.letter-preview:after{content:'“';position:absolute;top:-7px;right:37px;font-family:Georgia;font-size:135px;color:#d5d9c9;line-height:1}.letter-preview .dear{font-family:var(--serif);font-size:20px;letter-spacing:1px;margin:0 0 18px}.letter-preview p{font-family:var(--serif);font-size:16px;line-height:2.2;max-width:770px;position:relative;z-index:1}.letter-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:18px}.signature{font-family:var(--serif);font-size:14px;color:var(--sage);letter-spacing:2px}.letter-bottom .text-button{border-bottom:1px solid #b7bca7}.chapter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-bottom:63px}.chapter{padding:27px;border-top:1px solid var(--sage);background:#ffffff25;position:relative;min-height:180px;transition:.2s}.chapter:hover{background:var(--white);transform:translateY(-4px)}.chapter-num{font-family:Georgia,serif;font-size:12px;color:var(--sage);font-style:italic}.chapter h3{font-family:var(--serif);font-size:22px;font-weight:400;letter-spacing:2px;margin:12px 0 7px}.chapter p{font-size:11px;line-height:1.9;color:var(--muted);margin:0}.chapter .arrow{position:absolute;right:24px;top:26px;font-size:20px;color:var(--sage)}.page-heading{padding:52px 0 33px}.page-heading p{font-size:13px;color:var(--muted);margin:13px 0 0;line-height:2}.page-title{font-size:36px;line-height:1.6}.page-heading .page-kicker{display:flex;justify-content:space-between;align-items:center}.timeline{max-width:780px;margin:0 auto 60px;padding:10px 0 0 12px}.moment{position:relative;margin-left:111px;padding:0 0 39px 35px;border-left:1px solid var(--line)}.moment:before{content:"";position:absolute;top:8px;left:-5px;width:9px;height:9px;border:2px solid var(--paper);background:var(--sage);border-radius:50%;box-shadow:0 0 0 1px var(--sage)}.moment time{position:absolute;right:calc(100% + 25px);top:0;white-space:nowrap;font-family:Georgia,serif;font-size:13px;color:var(--sage)}.moment .tag{font-size:9px;color:var(--rose);letter-spacing:2px}.moment h3{font-family:var(--serif);font-size:23px;font-weight:400;margin:6px 0 10px;letter-spacing:1px}.moment p{font-size:13px;line-height:2;color:var(--muted);margin:0;max-width:530px}.moment:last-child{padding-bottom:0}.planned{border-left-style:dashed}.planned:before{background:var(--paper)}.tag.planned-tag{color:var(--sage)}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:60px}.memory-photo{background:var(--white);padding:12px 12px 22px;box-shadow:0 5px 22px #443a2710}.memory-photo:first-child{transform:rotate(-1.5deg)}.memory-photo:nth-child(2){transform:rotate(1.5deg)}.memory-photo img{height:320px;width:100%;object-fit:cover}.memory-photo:first-child img{object-position:center 60%}.memory-photo:nth-child(2) img{object-position:center 60%}.memory-photo h3{font-family:var(--serif);font-weight:400;letter-spacing:1px;font-size:18px;margin:17px 10px 5px}.memory-photo p{margin:0 10px;font-size:11px;color:var(--muted);line-height:2}.record-section{padding-bottom:55px}.empty-record{padding:30px;border:1px dashed #c6c9b7;display:flex;justify-content:space-between;align-items:center;gap:20px}.empty-record p{margin:5px 0;color:var(--muted);font-size:12px}.empty-record h3{font-family:var(--serif);font-weight:400;font-size:19px;margin:0}.record-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.record-card{padding:25px;background:var(--white);border:1px solid var(--line)}.record-card time{font-family:Georgia,serif;color:var(--sage);font-size:11px;letter-spacing:1px}.record-card h3{font-family:var(--serif);font-weight:400;font-size:21px;margin:11px 0}.record-card p{white-space:pre-wrap;font-size:13px;color:var(--muted);line-height:2;overflow-wrap:anywhere}.record-card img{width:100%;max-height:350px;object-fit:contain;background:var(--paper);margin-bottom:15px}.record-edit{font-size:11px;color:var(--sage);border:0;background:none;padding:6px 0}.plan-intro{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;background:var(--sage-light);padding:24px 30px;margin-bottom:28px}.plan-intro h2{font-family:var(--serif);font-weight:400;font-size:24px;margin:0}.plan-intro p{font-size:11px;color:var(--muted);margin:7px 0 0}.plan-number{font-family:Georgia,serif;font-size:38px;color:var(--sage)}.plan-number small{font-size:15px;color:var(--muted)}.progress-track{height:3px;background:#cfd5c2;margin-top:15px;overflow:hidden}.progress-track span{height:100%;background:var(--sage);display:block;transition:width .3s}.plan-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}.filter-group{display:flex;gap:7px;flex-wrap:wrap}.filter-group button{border:1px solid transparent;background:transparent;padding:7px 15px;border-radius:30px;color:var(--muted);font-size:11px;min-height:36px}.filter-group button.active{background:var(--ink);color:var(--white)}.plan-tools .text-button{font-size:11px}.plan-year{display:grid;grid-template-columns:170px 1fr;margin-bottom:35px;gap:35px}.year-label{border-top:1px solid var(--sage);padding-top:13px;font-family:Georgia,serif;font-size:28px;line-height:1.4}.year-label small{display:block;font-family:var(--sans);font-size:10px;color:var(--muted);margin-top:7px;letter-spacing:1px}.wish{border-top:1px solid var(--line);padding:17px 0;display:flex;align-items:flex-start;gap:15px}.wish-check{width:24px;height:24px;border:1px solid #a5ac95;border-radius:50%;background:none;flex-shrink:0;display:grid;place-items:center;margin-top:1px;font-size:12px;transition:.2s}.wish-check[aria-pressed=true]{background:var(--sage);color:var(--white);border-color:var(--sage)}.wish-content{flex:1}.wish-title{font-family:var(--serif);font-size:16px;line-height:1.8}.wish.done .wish-title{color:var(--sage)}.wish-date{font-size:10px;color:var(--sage);margin-top:4px;letter-spacing:.5px}.wish-empty{padding:30px 0;color:var(--muted)}.todo-original{margin:10px 0 50px;border-bottom:1px solid var(--line)}.todo-original summary{padding:18px 0;cursor:pointer;font-size:12px;color:var(--muted)}.todo-original img{max-width:620px;margin:10px auto 30px}.future-lead{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:23px 30px;background:#ecece3;margin-bottom:42px}.future-lead p{font-family:var(--serif);font-size:18px;line-height:2;margin:0;letter-spacing:1px}.future-lead .infinity{font-family:Georgia,serif;color:var(--sage);font-size:70px;line-height:1}.stage-track{display:grid;grid-template-columns:repeat(4,1fr);padding:5px 0 40px}.stage{padding:0 26px 0 0;position:relative;border-top:1px dashed #b9bfaa}.stage:before{content:"";position:absolute;top:-6px;left:0;width:11px;height:11px;border:1px solid var(--sage);border-radius:50%;background:var(--paper)}.stage.current:before{background:var(--sage);box-shadow:0 0 0 5px var(--sage-light)}.stage .stage-label{font-size:9px;letter-spacing:2px;color:var(--sage);display:block;margin-top:25px}.stage h3{font-family:var(--serif);font-size:26px;font-weight:400;letter-spacing:3px;margin:9px 0 14px}.stage h4{font-size:11px;font-weight:400;margin:0 0 8px}.stage p{font-size:12px;color:var(--muted);line-height:2;max-width:220px}.future-letter{position:relative;text-align:center;padding:45px 30px 65px;border-top:1px solid var(--line);margin-top:12px}.future-letter h2{font-family:var(--serif);font-size:27px;font-weight:400;letter-spacing:2px;line-height:1.8}.future-letter p{color:var(--muted);font-size:12px;line-height:2.3}.future-flower{width:65px;height:85px;margin:0 auto 20px}.site-footer{max-width:1148px;margin:auto;border-top:1px solid var(--line);padding:30px 0 33px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-script{font-family:Georgia,serif;font-style:italic;color:var(--sage);font-size:17px;letter-spacing:.1px}.site-footer p{font-size:9px;color:var(--muted);letter-spacing:1px;margin:8px 0 0}.site-footer .heart{padding:0 5px}.site-footer .text-button{font-size:10px;color:var(--muted)}.mobile-nav{display:none}dialog{border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--white);padding:35px;max-height:88svh;overflow:auto;width:min(92vw,660px);box-shadow:0 18px 100px #1f281f38}dialog::backdrop{background:#2d352c85;backdrop-filter:blur(5px)}.close{border:1px solid var(--line);background:var(--white);border-radius:50%;width:34px;height:34px;line-height:28px;text-align:center;font-size:23px;flex-shrink:0;z-index:3;padding:0}.letter-dialog{padding:55px 55px 40px}.letter-dialog>.close{position:sticky;top:0;float:right;margin-top:-35px;margin-right:-35px}.letter-dialog h2{font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.6;margin:16px 0 20px;letter-spacing:2px}.letter-dialog .letter-date{font-size:10px;letter-spacing:2px;color:var(--sage)}.letter-body p{font-family:var(--serif);font-size:16px;line-height:2.3;margin:0 0 20px;overflow-wrap:anywhere}.letter-dialog .letter-sign{text-align:right;color:var(--rose)}.image-dialog{padding:18px;width:min(94vw,960px);background:#f9f6ee}.image-dialog .close{position:sticky;top:0;float:right;margin-bottom:-34px}.image-dialog img{max-height:73svh;object-fit:contain;margin:auto}.image-dialog p{text-align:center;font-family:var(--serif);font-size:13px;margin:15px 0 0}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:15px}.dialog-head h2{font-family:var(--serif);font-size:26px;font-weight:400;letter-spacing:1px;margin:5px 0 13px}.editor-note{font-size:11px;color:var(--muted);line-height:2;background:var(--paper);padding:12px 16px;margin:0 0 20px}.editor-tabs{display:flex;border-bottom:1px solid var(--line);gap:22px;margin-bottom:20px;overflow:auto}.editor-tabs button{border:0;background:none;padding:10px 0;font-size:12px;white-space:nowrap;border-bottom:2px solid transparent}.editor-tabs button[aria-selected=true]{border-color:var(--sage);color:var(--rose)}.editor-form{display:grid;gap:14px}.editor-form label{display:grid;gap:6px;font-size:12px}.editor-form input,.editor-form textarea,.editor-form select{border:1px solid var(--line);background:transparent;border-radius:3px;padding:10px 12px;color:var(--ink);font-size:16px;min-width:0;width:100%}.editor-form textarea{min-height:115px;resize:vertical}.editor-form .large-textarea{min-height:200px;line-height:1.9;font-size:14px}.editor-form .button{font-size:12px;justify-self:start;margin-top:5px}.editor-form small{color:var(--muted);font-size:10px;line-height:1.8}.backup-actions{display:grid;gap:12px}.backup-actions .button{justify-content:space-between;font-size:12px}.backup-actions p{font-size:12px;color:var(--muted);line-height:2;margin:3px 0}.sync-badge{font-size:11px;background:var(--sage-light);padding:10px 15px}.feedback{font-size:12px;color:var(--rose);min-height:23px;margin-bottom:0}.toast{position:fixed;bottom:34px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--white);padding:12px 22px;border-radius:4px;box-shadow:0 4px 20px #0002;font-size:12px;z-index:20;max-width:90vw;width:max-content}.page-enter{animation:pageIn .5s ease both}@keyframes pageIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.home-hero{min-height:680px}.hero-title{font-size:53px!important}}
@media(max-width:1000px){.site-header{padding:0 30px}.desktop-nav{gap:22px}main{padding:0 30px}.home-hero{gap:35px;min-height:540px}h1.hero-title{font-size:38px}.hero-flower{width:110px;left:-32px}.site-footer{margin:0 30px}.strip-quote{font-size:11px}.memory-photo img{height:280px}.plan-year{grid-template-columns:130px 1fr;gap:25px}}
@media(max-width:700px){.site-header{height:83px;padding:0 23px}.brand{font-size:11px;gap:10px;letter-spacing:2px}.brand-mark{font-size:38px}.brand small{font-size:8px;letter-spacing:1px}.desktop-nav{display:none}.write-button{padding:7px 12px;font-size:10px}main{padding:0 24px}.home-hero{grid-template-columns:1fr;gap:16px;min-height:0;padding:32px 0 35px}.hero-copy .edition{font-size:8px;letter-spacing:1.2px}.hero-copy .edition:before{width:20px}h1.hero-title{font-size:34px;line-height:1.63;letter-spacing:2px;margin:17px 0 15px}.hero-intro{font-size:12px;line-height:1.9;margin:0 0 21px}.hero-copy .button{min-height:44px;padding:10px 20px;font-size:11px}.hero-photo-area{margin:8px 22px 20px 12px;padding:26px 0 0}.polaroid{padding:10px 10px 15px;transform:rotate(3deg)}.hero-photo{aspect-ratio:1.18;object-position:center 63%}.photo-caption{font-size:13px;padding-top:11px}.photo-caption small{font-size:8px}.orbit-note{font-size:16px;right:-15px;top:1px}.hero-flower{width:91px;height:130px;left:-31px;bottom:-24px}.photo-stamp{width:61px;height:61px;right:-25px;bottom:-20px;font-size:6px}.photo-stamp b{font-size:20px}.together-strip{padding:20px 0;margin:0 0 36px}.together-label{gap:9px}.together-label .infinity{font-size:33px}.together-label p{font-size:11px}.together-label small{font-size:8px}.days{font-size:33px}.days small{font-size:10px;margin-left:7px}.strip-quote{display:none}.section-heading{margin-bottom:21px;gap:12px}.section-heading h2{font-size:25px}.section-heading .eyebrow{font-size:8px;letter-spacing:2px}.section-heading>p{display:none}.section-heading .text-button{font-size:10px;gap:10px}.letter-preview{padding:27px 24px 22px;margin-bottom:36px}.letter-preview:after{font-size:90px;right:15px;top:3px}.letter-preview .dear{font-size:18px;margin-bottom:15px}.letter-preview p{font-size:14px;line-height:2.15;margin-top:0}.letter-bottom{align-items:start;gap:10px}.signature{font-size:11px;letter-spacing:1px;padding-top:9px}.letter-bottom .text-button{font-size:10px;gap:10px;white-space:nowrap}.chapter-grid{grid-template-columns:1fr;gap:0;padding-bottom:32px}.chapter{padding:20px 4px 20px 45px;min-height:0;display:grid;grid-template-columns:1fr;gap:0;background:none}.chapter-num{position:absolute;left:0;top:27px;font-size:11px}.chapter h3{font-size:21px;margin:2px 0 5px}.chapter p{font-size:11px}.chapter .arrow{right:5px;top:23px}.site-footer{margin:0 24px;padding:26px 0 calc(110px + env(safe-area-inset-bottom));align-items:start;flex-direction:column;gap:10px}.footer-script{font-size:14px}.site-footer p{font-size:8px}.site-footer .text-button{font-size:9px;gap:12px;padding:3px 0}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;z-index:5;left:0;right:0;bottom:0;background:#faf8f2f5;backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:8px 12px calc(9px + env(safe-area-inset-bottom))}.mobile-nav a{font-size:9px;text-align:center;color:#8c8f80;min-height:43px;letter-spacing:.5px}.mobile-nav a>span{display:block;font-size:21px;line-height:1.25;font-family:Georgia,serif;margin-bottom:3px}.mobile-nav a.active{color:var(--rose)}.page-heading{padding:32px 0 28px}.page-title{font-size:29px;margin-top:10px;line-height:1.65;letter-spacing:1px}.page-heading .eyebrow{font-size:8px;letter-spacing:2px}.page-heading p{font-size:12px;margin-top:11px}.timeline{padding:4px 0 0;margin:0 0 35px}.moment{margin-left:0;padding:0 0 30px 26px}.moment time{position:static;display:block;font-size:11px;margin-bottom:6px}.moment h3{font-size:21px;line-height:1.65;margin:5px 0 8px}.moment p{font-size:12px}.moment .tag{font-size:8px}.gallery{grid-template-columns:1fr;gap:27px;margin:0 7px 35px}.memory-photo{padding:9px 9px 17px}.memory-photo img{height:auto;max-height:400px;object-fit:contain}.memory-photo h3{font-size:17px;margin:14px 8px 5px}.memory-photo p{font-size:10px;margin:0 8px}.empty-record{flex-direction:column;align-items:start;padding:24px;gap:12px}.empty-record h3{font-size:18px}.empty-record p{font-size:11px}.empty-record .button{font-size:11px;min-height:42px}.record-section{padding-bottom:35px}.record-grid{grid-template-columns:1fr;gap:17px}.record-card{padding:21px}.plan-intro{padding:22px 21px;gap:12px;margin-bottom:22px}.plan-intro h2{font-size:22px}.plan-intro p{font-size:10px;line-height:1.8}.plan-number{font-size:30px;white-space:nowrap}.plan-number small{font-size:12px}.plan-tools{gap:8px;margin-bottom:23px}.filter-group{gap:3px}.filter-group button{font-size:10px;padding:5px 12px}.plan-tools .text-button{font-size:10px;gap:8px}.plan-year{grid-template-columns:1fr;gap:16px;margin-bottom:29px}.year-label{font-size:27px;padding-top:10px;display:flex;align-items:center;gap:15px}.year-label small{font-size:9px;margin:4px 0 0}.wish{padding:15px 0;gap:12px}.wish-check{width:23px;height:23px}.wish-title{font-size:15px;line-height:1.9}.wish-date{font-size:9px}.todo-original{margin-bottom:30px}.future-lead{padding:19px 21px;gap:15px;margin-bottom:33px}.future-lead p{font-size:15px;line-height:2.1}.future-lead .infinity{font-size:46px}.stage-track{display:block;padding:0 0 0 5px}.stage{border-top:0;border-left:1px dashed #b9bfaa;padding:0 0 30px 30px}.stage:before{top:4px;left:-6px}.stage .stage-label{margin:0;font-size:8px}.stage h3{font-size:25px;margin:9px 0 10px}.stage h4{font-size:11px}.stage p{max-width:none;font-size:12px;margin:7px 0}.stage:last-child{border-left-color:transparent}.future-letter{padding:33px 8px 35px;margin:0}.future-letter h2{font-size:23px;line-height:1.9;letter-spacing:1px}.future-letter p{font-size:11px}.future-flower{width:55px;height:75px}.gate{padding-top:34px}.gate>.brand{margin-bottom:30px}.gate-card{padding:32px 30px 25px;max-width:365px}.gate-card h1{font-size:29px;margin-top:20px;letter-spacing:2px}.gate-card>p{font-size:11px}.gate-card .eyebrow{font-size:8px;letter-spacing:2.5px}.gate form{margin-top:23px}.gate-flower{right:-10px;width:70px;height:105px}.gate-note{font-size:10px;letter-spacing:1px}.gate-footer{font-size:7px;margin-top:25px}.gate input{font-size:22px}.envelope{margin-top:25px}.letter-dialog{padding:38px 25px 24px;max-height:88svh}.letter-dialog>.close{margin-top:-25px;margin-right:-13px}.letter-dialog h2{font-size:25px;margin:15px 0 20px}.letter-body p{font-size:15px;line-height:2.25;margin-bottom:20px}dialog{width:calc(100vw - 24px);padding:24px 21px;max-height:88svh}.editor-dialog{padding-bottom:calc(22px + env(safe-area-inset-bottom))}.dialog-head h2{font-size:23px}.dialog-head .eyebrow{font-size:8px}.editor-note{font-size:10px;padding:10px 12px}.editor-tabs{gap:20px}.editor-tabs button{font-size:11px}.toast{bottom:calc(85px + env(safe-area-inset-bottom));font-size:11px;padding:11px 16px}.image-dialog{padding:12px}.image-dialog p{font-size:11px}.image-dialog img{max-height:73svh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.stage.done:before{background:var(--sage)}.stage.done{border-color:var(--sage)}
/* Explicit height keeps intrinsic HTML dimensions from stretching the cover. */
.hero-photo{height:auto}

/* A handwritten m with a heart in place of the full stop. */
.brand-mark{display:block;width:58px;height:48px;margin-right:0;font-size:0;letter-spacing:0;flex-shrink:0}.brand-mark svg{width:100%;height:100%}.gate .error{line-height:1.85;color:#95685f;min-height:23px}.gate input[aria-invalid="true"]{border-color:#c89b8e;background:#fcf7f2}
@media(max-width:700px){.brand-mark{width:49px;height:42px}.gate .error{font-size:11px;min-height:23px}}

.gate .error{min-height:42px;position:relative;z-index:2}.gate-flower{opacity:.45}

/* Refined wordmark and coherent, hand-drawn navigation icons. */
.brand-wordmark{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;font-size:27px;letter-spacing:.5px;line-height:1.05;color:var(--rose)}.brand-wordmark small{font-family:var(--sans);font-style:normal;color:var(--muted);font-size:8px;letter-spacing:1px;line-height:1.5;margin-top:5px}.ui-icon{display:block;width:22px;height:22px;flex-shrink:0}.write-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.5}.write-button .ui-icon{width:16px;height:16px}.write-button span{font-size:11px;color:var(--ink)}.mobile-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.mobile-nav .ui-icon{width:23px;height:23px}.page-kicker>.eyebrow:last-child{font-size:9px;letter-spacing:1px;text-align:right}.footer-script{line-height:1.8}.hero-photo{aspect-ratio:1.08;object-fit:cover}.hero-photo.first-card{object-fit:contain;background:#f5f1e9}.carousel-controls{display:flex;align-items:center;justify-content:center;gap:15px;padding-top:12px}.carousel-controls>button{background:none;border:1px solid var(--line);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;color:var(--sage);line-height:1;padding:0}.carousel-dots{display:flex;align-items:center;gap:4px}.carousel-dots button{position:relative;width:26px;height:32px;border:0;background:none;padding:0}.carousel-dots button:after{content:'';position:absolute;width:5px;height:5px;left:11px;top:14px;background:#d1d3c5;border-radius:50%}.carousel-dots button.active:after{background:var(--rose)}.carousel-count{font-family:Georgia,serif;font-size:10px;color:var(--muted);letter-spacing:1px}.carousel-controls button:hover{color:var(--rose);border-color:var(--rose)}
@media(max-width:700px){.site-header{gap:10px;padding:0 20px}.site-header .brand{gap:5px;min-width:0}.site-header .brand-mark{width:38px;height:37px}.site-header .brand-wordmark{font-size:22px}.site-header .brand-wordmark small{font-size:7px;letter-spacing:.5px}.write-button{padding:8px 10px;gap:5px}.write-button span{font-size:10px}.write-button .ui-icon{width:14px;height:14px}.chapter{padding:20px 30px 22px 0;display:block}.chapter-num{position:static;display:block;font-size:9px;margin-bottom:10px;line-height:1.5}.chapter h3{margin:0 0 7px}.chapter .arrow{top:42px}.page-kicker{gap:12px;align-items:flex-start!important}.page-kicker>.eyebrow:last-child{font-size:7px;line-height:1.9;letter-spacing:.5px}.hero-photo{aspect-ratio:1.18}.carousel-controls{gap:10px;padding-top:8px}.carousel-controls>button{width:32px;height:32px}.footer-script{font-size:14px}}

.home-hero>*{min-width:0}.carousel-controls button{touch-action:manipulation}.hero-photo-area{touch-action:pan-y}.page-heading{overflow-wrap:break-word}

/* Printed emphasis, with soft rose highlighting that follows wrapped lines. */
.letter-body strong{font-weight:700;color:#68483e}.letter-body mark{font-weight:700;color:#744b41;background:linear-gradient(transparent 10%,#eedbd1 10%,#eedbd1 94%,transparent 94%);padding:.12em .18em;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.letter-body .letter-sign strong{color:var(--rose)}

.timeline-photo{display:block;max-width:380px;margin-top:20px;padding:8px;background:var(--white);border:1px solid var(--line);border-radius:3px}.timeline-photo img{width:100%;height:auto;max-height:490px;object-fit:contain}.hero-title+.button{margin-top:8px}
@media(max-width:700px){.timeline-photo{max-width:100%;margin-top:17px}.timeline-photo img{max-height:460px}.hero-title+.button{margin-top:6px}}
/* Letter signature uses black ink. */
.letter-body .letter-sign,.letter-body .letter-sign strong{color:#000}

.date-section{padding-bottom:50px}.date-intro{color:var(--muted);font-size:12px;margin:-12px 0 23px;line-height:1.9}.date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.date-card{display:flex;justify-content:space-between;gap:16px;padding:23px 25px;border:1px solid var(--line);background:var(--white);border-radius:4px;align-items:center}.date-copy{min-width:0}.date-copy h3{font-family:var(--serif);font-weight:400;font-size:19px;letter-spacing:1px;line-height:1.7;margin:0 0 6px}.date-copy p{font-size:10px;color:var(--muted);margin:0}.date-copy .record-edit{font-size:10px;margin-top:6px}.date-number{min-width:70px;text-align:center;flex-shrink:0;color:var(--sage)}.date-memory .date-number{color:var(--rose)}.date-number>span{font-size:10px;display:block;letter-spacing:2px}.date-number strong{font-family:Georgia,serif;font-size:40px;font-weight:400;line-height:1.35;display:block}.date-number small{font-size:10px}.date-section .section-heading .text-button{white-space:nowrap}
@media(max-width:700px){.date-section{padding-bottom:32px}.date-grid{grid-template-columns:1fr;gap:12px}.date-card{padding:18px 20px}.date-copy h3{font-size:18px}.date-number strong{font-size:36px}.date-section .section-heading h2{font-size:24px}.date-section .section-heading{gap:8px}.date-intro{font-size:11px;margin-top:-10px}.date-number{min-width:64px}.editor-tabs{gap:17px}}

.page-enter>.date-section:first-child{padding-top:42px}
@media(max-width:700px){.page-enter>.date-section:first-child{padding-top:32px}}
