@charset "UTF-8";
:root{--paper:#f7f5ed;--ink:#304531;--green:#53664a;--muted:#7c8070;--line:#dedfd3;--sage:#e9eddf;--rose:#b87d6e;--serif:"Songti SC","Noto Serif CJK SC","SimSun",serif;--sans:"PingFang SC","Microsoft YaHei",Arial,sans-serif;--hand:"Segoe Script","Bradley Hand",cursive;--space:clamp(24px,6vw,88px)}
*{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;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:10;opacity:.04;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.45' d='M0 0h150v150H0z'/%3E%3C/svg%3E")}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{border:0}button:focus-visible,a:focus-visible{outline:2px solid var(--rose);outline-offset:6px}img{display:block;width:100%;height:auto}figure,p,h1,h2{margin:0}button:disabled{cursor:default}.skip-link{position:fixed;top:-60px;left:20px;background:var(--ink);color:white;padding:14px;z-index:100}.skip-link:focus{top:12px}.site-header{height:89px;margin:0 var(--space);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}.wordmark{font-family:Georgia,serif;font-style:italic;font-size:33px;font-weight:600;white-space:nowrap;display:inline-flex;align-items:center;gap:3px}.wordmark-dot{color:var(--rose)}.wordmark svg{width:20px;height:21px;stroke:var(--rose);stroke-width:1.8;fill:none;margin:3px 0 0 11px;transform:rotate(13deg)}nav{display:flex;gap:36px}nav a{font-size:12px;letter-spacing:1px;position:relative;min-height:44px;display:flex;align-items:center;color:#727965}nav a[aria-current]{color:var(--ink)}nav a[aria-current]:after{content:"";width:4px;height:4px;background:var(--green);border-radius:50%;position:absolute;bottom:1px;left:calc(50% - 2px)}.music-toggle{display:flex;align-items:center;gap:10px;background:none;font-size:11px;letter-spacing:1px;padding:12px 0;min-height:44px}.music-bars{display:flex;align-items:center;gap:3px;height:18px}.music-bars i{display:block;width:2px;background:var(--green);height:7px}.music-bars i:nth-child(2){height:15px}.music-bars i:nth-child(3){height:11px}.music-toggle[aria-pressed=true] i{animation:equalizer .8s ease-in-out infinite alternate}.music-toggle[aria-pressed=true] i:nth-child(2){animation-delay:.3s}.music-toggle[aria-pressed=true] i:nth-child(3){animation-delay:.5s}.hero{padding:62px var(--space) 0;overflow:hidden}.hero-heading{text-align:center;position:relative;max-width:1200px;margin:auto}.eyebrow{font-size:10px;letter-spacing:2.4px;line-height:1.8;font-weight:500}.hero .eyebrow{display:flex;justify-content:center;align-items:center;gap:14px}.hero .eyebrow>span{height:1px;width:27px;background:#a0a58d}h1{font-family:var(--serif);font-size:clamp(44px,5.2vw,74px);font-weight:500;line-height:1.32;letter-spacing:5px;margin-top:21px}.underlined{position:relative}.underlined svg{position:absolute;left:0;bottom:-11px;width:100%;height:17px;stroke:#b9c19e;fill:none;stroke-width:3;z-index:-1}.hero-subtitle{font-size:13px;color:#78806f;letter-spacing:2px;margin-top:28px}.primary-button{display:inline-flex;gap:37px;align-items:center;justify-content:center;padding:16px 26px;background:var(--green);color:#fffdf4;border-radius:2px;min-height:52px;font-size:13px;letter-spacing:1px;transition:background .2s,transform .2s}.primary-button:hover{background:#384d33;transform:translateY(-2px)}.hero .primary-button{margin-top:27px}.primary-button span{font-size:20px;font-weight:300}.handwritten{font-family:var(--hand);color:#8c947c;font-size:22px;line-height:1.6}.hero-handwritten{position:absolute;right:35px;bottom:20px;transform:rotate(9deg);font-size:20px;text-align:left}.hero-collage{max-width:1100px;height:410px;margin:45px auto 0;position:relative;display:flex;align-items:center;justify-content:center;gap:24px}.polaroid{background:#fffdf6;padding:12px 12px 0;box-shadow:0 8px 26px #343c2720;position:relative;flex-shrink:0}.polaroid img{object-fit:cover}.polaroid figcaption{height:48px;display:flex;align-items:center;justify-content:space-between;font-family:var(--serif);font-size:13px;letter-spacing:1px}.hero-left{width:235px;transform:rotate(-9deg) translateY(17px)}.hero-left img{height:267px;object-position:center 64%}.hero-center{width:455px;transform:rotate(2deg);z-index:2}.hero-center img{height:312px;object-position:50% 43%}.hero-center figcaption{height:55px}.photo-date{font-family:Georgia,serif;font-size:9px!important;letter-spacing:1.4px!important;color:#8e927f}.hero-right{width:235px;transform:rotate(10deg) translateY(12px)}.hero-right img{height:267px;object-position:50% 40%}.paper-tape{position:absolute;top:-15px;left:calc(50% - 54px);width:108px;height:30px;transform:rotate(-6deg);background:#ded8c4b8;clip-path:polygon(2% 0,99% 5%,96% 100%,0 94%);z-index:3}.round-stamp{position:absolute;width:103px;height:103px;border:1px solid #9a9f83;border-radius:50%;right:59px;top:-31px;z-index:3;transform:rotate(13deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f4f2e5e8;outline:1px solid #9a9f83;outline-offset:-5px}.round-stamp span{font-size:8px;letter-spacing:1.4px}.round-stamp svg{width:29px;height:26px;fill:none;stroke:var(--green);stroke-width:1.2}.sketch-star{position:absolute;width:40px;height:40px;fill:none;stroke:#b7a16c;stroke-width:1.4}.star-one{left:13px;top:-26px;transform:rotate(10deg)}.hero-bottom{max-width:1200px;margin:37px auto 0;border-bottom:1px solid var(--line);padding:21px 0;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7c826f;letter-spacing:1.1px}.hero-bottom a{display:flex;align-items:center;gap:15px;min-height:44px}.hero-bottom a span{font-size:18px}.hero-bottom>span:last-child{font-size:8px;letter-spacing:1.7px}.section-wrap{max-width:1200px;margin:0 auto;padding-left:28px;padding-right:28px}.memories{padding-top:104px;padding-bottom:89px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:49px}h2{font-family:var(--serif);font-size:clamp(30px,3.1vw,43px);font-weight:500;line-height:1.55;letter-spacing:2px}.section-heading h2{margin-top:20px}.serif-italic{color:#758167}.section-intro{font-size:12px;line-height:2.2;color:#7b826f;margin-bottom:5px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}.memory-item{background:none;padding:0;text-align:left;min-width:0}.memory-item:nth-child(even){margin-top:54px}.memory-image{display:block;position:relative;overflow:hidden}.memory-image img{aspect-ratio:3/4;object-fit:cover;transition:transform .6s}.memory-item:hover img{transform:scale(1.035)}.memory-item:first-child img{object-position:50% 65%}.memory-item:nth-child(2) img{object-position:50% 26%}.photo-expand{position:absolute;bottom:12px;right:12px;width:31px;height:31px;border:1px solid #ffffff9c;border-radius:50%;background:#f7f5eddd;color:var(--ink);display:grid;place-items:center;font-size:18px}.memory-caption{display:block;margin-top:21px}.memory-caption small{font-size:8px;letter-spacing:1.5px;color:#8c907f;display:block}.memory-caption strong{display:block;margin-top:10px;font-family:var(--serif);font-size:15px;font-weight:400;letter-spacing:.5px}.album-note{display:flex;justify-content:space-between;align-items:center;margin-top:46px}.album-note .handwritten{font-size:20px;transform:rotate(-3deg)}.album-note p{font-size:10px;color:#858a79;letter-spacing:1px}.album-note p span{margin-left:10px;font-size:17px}.favorite{background:var(--sage);padding:83px 0 88px}.favorite-inner{display:grid;grid-template-columns:1.06fr 1fr;gap:100px;align-items:center}.favorite-main{position:relative;padding:0 0 0 17px}.favorite-portrait{display:block;padding:0;width:100%;position:relative;background:none}.favorite-portrait img{aspect-ratio:3/4;object-fit:cover}.photo-side-label{position:absolute;left:-6px;top:0;writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;letter-spacing:2.4px;height:100%;text-align:right;color:#7e8974}.favorite-copy h2{font-size:43px;line-height:1.6;margin:20px 0 20px}.outline-heart{position:relative;display:inline-block;margin-right:5px}.outline-heart svg{position:absolute;inset:-8px -13px;width:75px;height:77px;stroke:#ad7e6e;stroke-width:1;fill:none;transform:rotate(12deg)}.favorite-copy>p:not(.eyebrow){font-size:12px;color:#7d8875;line-height:2.2}.small-memories{display:flex;align-items:center;gap:24px;margin-top:34px}.mini-polaroid{padding:9px 9px 0;background:#fffdf5;width:160px;transform:rotate(-6deg);box-shadow:0 5px 14px #3e492212;transition:transform .2s}.mini-polaroid:nth-child(2){transform:rotate(7deg);width:150px;margin-top:29px}.mini-polaroid:hover{transform:rotate(0deg) translateY(-5px)}.mini-polaroid img{aspect-ratio:1;object-fit:cover}.mini-polaroid:nth-child(2) img{object-position:center;aspect-ratio:4/5}.mini-polaroid span{display:block;font-family:var(--serif);font-size:11px;padding:14px 0;letter-spacing:1px}.letter-section{padding-top:119px;padding-bottom:121px;display:grid;grid-template-columns:1fr 1.1fr;gap:76px;align-items:center}.letter-intro h2{margin:23px 0}.letter-intro>p:not(.eyebrow){font-size:12px;line-height:2.3;color:#7f8474}.letter-intro .handwritten{display:block;margin-top:28px;transform:rotate(-4deg);font-size:21px}.envelope-button{background:none;padding:27px 12px 0;width:100%;position:relative}.envelope{display:block;position:relative;height:265px;width:100%;max-width:490px;margin:auto;background:#e6ddca;box-shadow:0 13px 25px #685d3b14;transform:rotate(-4deg);transition:transform .4s}.envelope-button:hover .envelope{transform:rotate(-1deg) translateY(-5px)}.letter-preview{position:absolute;left:8%;top:-35px;width:84%;height:200px;background:#fffcf3;transform:rotate(2deg);padding:28px 32px;text-align:left;font-family:var(--serif);font-size:23px;color:#687359;line-height:2}.letter-preview-line{font-size:12px;color:#8d927f}.envelope-back{position:absolute;inset:0;background:#e9e1d0;clip-path:polygon(0 0,50% 51%,100% 0,100% 100%,0 100%)}.envelope-fold{position:absolute;inset:0;background:#efe7d7;clip-path:polygon(0 100%,0 13%,50% 63%,100% 13%,100% 100%);box-shadow:inset 0 -3px 10px #00000004}.wax-seal{position:absolute;top:43%;left:calc(50% - 27px);height:55px;width:55px;border-radius:50%;background:#a5ac8c;box-shadow:inset 0 0 0 4px #939c7c,inset 0 0 0 5px #b9c0a3,0 3px 6px #4c542733;display:grid;place-items:center;transform:rotate(8deg)}.wax-seal svg{height:24px;width:24px;stroke:#e1e5cf;fill:none;stroke-width:1.5}.envelope-address{position:absolute;bottom:26px;left:0;right:0;font-family:var(--serif);font-size:14px;letter-spacing:4px;color:#858773}.envelope-action{margin-top:35px;display:block;font-size:12px;letter-spacing:2px}.envelope-action>span{margin-left:15px}.birthday-section{position:relative;background:#eceee2;text-align:center;padding:76px 24px 68px;overflow:hidden}.birthday-content{position:relative;z-index:1}.birthday-content h2{margin-top:20px;font-size:40px}.birthday-lead{font-size:12px;line-height:2.2;margin-top:18px;color:#7b856d}.cake-scene{width:310px;margin:17px auto 1px}.cake-svg{width:100%;display:block}.candle-flame{opacity:0;transform-origin:170px 83px}.is-lit .candle-flame{opacity:1;animation:flicker 1s ease-in-out infinite alternate}.candle-smoke{opacity:0}.is-wished .candle-smoke{animation:smoke 2.5s ease-out forwards}.birthday-message{font-family:var(--serif);font-size:16px;letter-spacing:1px;line-height:1.8;min-height:29px}.birthday-button{margin-top:22px;min-width:212px}.birthday-small{font-size:10px;letter-spacing:1.4px;color:#8c927f;margin-top:24px}#confetti{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}.site-footer{padding:46px var(--space) 28px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:25px}.site-footer p{text-align:center;font-family:var(--serif);font-size:15px;letter-spacing:2px}.site-footer button{background:none;justify-self:end;padding:12px 0;font-size:11px;letter-spacing:1px;min-height:44px}.site-footer button span{margin-left:14px}.site-footer small{grid-column:1/-1;justify-self:center;font-size:8px;letter-spacing:2px;color:#969a89;border-top:1px solid var(--line);padding-top:24px;width:100%;text-align:center}dialog{color:var(--ink);border:0;padding:0}dialog::backdrop{background:#1c271de6;backdrop-filter:blur(6px)}dialog[open]{animation:dialog-in .25s ease-out}.dialog-close{position:absolute;right:16px;top:12px;z-index:4;width:44px;height:44px;border-radius:50%;background:#ffffff16;color:inherit;font-size:30px;font-weight:200;line-height:1}.photo-dialog{background:transparent;max-width:1100px;width:94vw;max-height:96vh;color:#f5f3e9;overflow:auto}.lightbox-main{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:52px 0 0}.lightbox-main figure{max-width:80%;margin:auto}.lightbox-main img{height:72vh;max-height:780px;width:100%;object-fit:contain}.lightbox-main figcaption{text-align:center;font-size:13px;letter-spacing:1px;margin-top:19px;line-height:1.8}.lightbox-arrow{background:#ffffff12;width:46px;height:46px;flex-shrink:0;font-size:23px;border:1px solid #ffffff40;border-radius:50%}.photo-counter{text-align:center;margin:15px 0 0;font-family:Georgia,serif;letter-spacing:3px;font-size:12px;color:#ccd0be}.lightbox-hint{text-align:center;font-size:10px;color:#aab29e;margin-top:12px}.letter-dialog{width:min(620px,90vw);max-height:88vh;background:var(--paper);padding:60px 62px 42px;overflow:auto;box-shadow:0 10px 80px #00000025}.letter-dialog .dialog-close{background:#e9eadd;color:var(--green)}.letter-dialog h2{font-size:29px;margin:24px 0}.letter-heart{color:var(--rose)}#letter-body p{font-family:var(--serif);font-size:16px;line-height:2.1;margin-bottom:20px;letter-spacing:.7px}.letter-signature{font-family:var(--serif);font-size:14px;line-height:2;text-align:right;margin-top:28px}.letter-signature span{font-size:18px}.text-button{background:none;font-size:12px;letter-spacing:1px;padding:16px 0 0;border-top:1px solid var(--line);margin-top:30px;min-height:44px;width:100%;text-align:left}.text-button span{float:right}.noscript-note{text-align:center;padding:20px;line-height:1.7;background:#e4e8d6}.edit-note{font-size:10px}[contenteditable=true]{outline:1px dashed #b6bea5;outline-offset:5px}
@keyframes equalizer{from{transform:scaleY(.5)}to{transform:scaleY(1.2)}}@keyframes flicker{from{transform:rotate(-3deg) scaleY(.95)}to{transform:rotate(3deg) scaleY(1.07)}}@keyframes smoke{0%{opacity:.7;transform:translateY(0)}100%{opacity:0;transform:translateY(-24px)}}@keyframes dialog-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1440px){.hero{padding-top:68px}.hero-collage{margin-top:48px}.section-wrap{max-width:1260px}.favorite-inner{gap:120px}}
@media(max-width:1024px){:root{--space:35px}nav{gap:24px}.hero-handwritten{right:-2px;font-size:16px;bottom:5px}.hero-collage{gap:13px;height:355px}.hero-left,.hero-right{width:195px}.hero-left img,.hero-right img{height:229px}.hero-center{width:380px}.hero-center img{height:264px}.round-stamp{right:1px;width:88px;height:88px}.memory-grid{gap:18px}.favorite-inner{gap:65px}.favorite-copy h2{font-size:35px}.favorite-copy .eyebrow{font-size:9px}.mini-polaroid{width:135px}.mini-polaroid:nth-child(2){width:125px}.letter-section{gap:40px}.envelope{height:235px}}
@media(max-width:768px){:root{--space:24px}.site-header{height:110px;flex-wrap:wrap;gap:0;position:relative;align-content:flex-start;padding-top:16px}.wordmark{font-size:28px}.wordmark svg{height:18px;width:18px}.music-toggle{font-size:10px;padding:8px 0}nav{order:3;flex-basis:100%;justify-content:center;gap:34px;margin-top:5px}nav a{font-size:10px;letter-spacing:.5px;min-height:38px}.hero{padding-top:44px}.hero .eyebrow{font-size:8px;letter-spacing:1.7px}h1{font-size:53px;line-height:1.4;letter-spacing:3px}.hero-handwritten{display:none}.hero-subtitle{font-size:11px;margin-top:22px}.hero .primary-button{margin-top:23px}.hero-collage{margin-top:34px;height:320px;gap:0;width:710px;left:50%;transform:translateX(-50%)}.hero-center{width:335px;margin:0 -7px}.hero-center img{height:235px}.hero-left,.hero-right{width:178px;padding:9px 9px 0}.hero-left img,.hero-right img{height:205px}.polaroid figcaption{font-size:10px;letter-spacing:.5px;height:41px}.hero-center figcaption{height:47px}.round-stamp{right:45px;top:-15px;width:76px;height:76px}.round-stamp span{font-size:6px;letter-spacing:1px}.round-stamp svg{width:22px;height:20px}.star-one{display:none}.hero-bottom{margin-top:20px;padding:13px 0;font-size:9px;letter-spacing:.3px}.hero-bottom>span:last-child{display:none}.hero-bottom a{gap:10px}.memories{padding-top:68px;padding-bottom:58px}.section-wrap{padding-left:26px;padding-right:26px}.section-heading{gap:22px;align-items:flex-start;margin-bottom:32px}.section-heading h2{font-size:31px;letter-spacing:1px;margin-top:15px}.section-intro{font-size:10px;max-width:160px;align-self:flex-end;line-height:2}.eyebrow{font-size:8px;letter-spacing:1.8px}.memory-grid{grid-template-columns:repeat(2,1fr);gap:28px 21px}.memory-item:nth-child(even){margin-top:34px}.memory-caption{margin-top:16px}.memory-caption strong{font-size:14px}.memory-caption small{font-size:7px;letter-spacing:1px}.album-note{margin-top:30px}.album-note .handwritten{font-size:17px}.album-note p{font-size:8px}.favorite{padding:55px 0 62px}.favorite-inner{gap:37px}.favorite-main{padding-left:10px}.favorite-copy h2{font-size:28px;letter-spacing:1px}.favorite-copy>p:not(.eyebrow){font-size:10px}.outline-heart svg{width:54px;height:58px;inset:-8px -11px}.small-memories{gap:12px;margin-top:26px}.mini-polaroid{width:105px;padding:6px 6px 0}.mini-polaroid:nth-child(2){width:95px;margin-top:20px}.mini-polaroid span{font-size:9px;padding:11px 0;letter-spacing:0}.photo-side-label{font-size:6px;left:-7px;letter-spacing:1.7px}.letter-section{padding-top:75px;padding-bottom:75px;gap:35px}.letter-intro h2{font-size:28px;letter-spacing:1px;margin:18px 0}.letter-intro>p:not(.eyebrow){font-size:10px}.letter-intro .handwritten{font-size:16px}.envelope{height:190px}.envelope-button{padding:25px 0 0}.letter-preview{padding:18px 16px;font-size:17px;height:150px;top:-25px}.letter-preview-line{font-size:9px}.envelope-address{font-size:10px;letter-spacing:2px;bottom:20px}.wax-seal{height:45px;width:45px;left:calc(50% - 22px)}.wax-seal svg{height:19px;width:19px}.envelope-action{font-size:10px;margin-top:25px}.birthday-section{padding:60px 22px 52px}.birthday-content h2{font-size:32px}.cake-scene{width:285px}.site-footer{padding:30px 26px 23px;gap:20px}.site-footer p{font-size:11px;letter-spacing:1px;white-space:nowrap}.site-footer button{font-size:10px}.site-footer .wordmark{font-size:25px}.site-footer small{font-size:7px;letter-spacing:1.3px}.lightbox-main{gap:10px}.lightbox-main figure{max-width:78%}.lightbox-main img{height:65vh}.lightbox-arrow{width:36px;height:44px;font-size:19px}.lightbox-main figcaption{font-size:11px}.letter-dialog{padding:55px 32px 30px}#letter-body p{font-size:15px}}
@media(max-width:480px){:root{--space:20px}.site-header{margin:0 20px}nav{gap:27px}.hero{padding-left:20px;padding-right:20px;padding-top:38px}h1{font-size:43px;letter-spacing:2px}.hero-subtitle{font-size:10px;letter-spacing:1.4px}.hero .primary-button{font-size:11px;min-height:47px;padding:12px 22px;gap:27px}.hero-collage{width:550px;height:292px;margin-top:34px}.hero-left,.hero-right{width:145px;padding:7px 7px 0;transform:rotate(-11deg) translateY(10px)}.hero-right{transform:rotate(11deg) translateY(10px)}.hero-left img,.hero-right img{height:180px}.hero-center{width:272px;padding:9px 9px 0;margin:0 -7px}.hero-center img{height:202px}.hero-center figcaption{height:45px;font-size:10px}.hero-left figcaption,.hero-right figcaption{font-size:8px;letter-spacing:0}.round-stamp{width:66px;height:66px;right:70px;top:-6px;gap:4px}.round-stamp span{font-size:5px}.round-stamp svg{width:20px;height:19px}.hero-bottom{margin-top:8px;font-size:8px}.hero-bottom>a{font-size:9px}.section-wrap{padding-left:23px;padding-right:23px}.section-heading{display:block}.section-heading h2{font-size:29px}.section-intro{max-width:none;font-size:11px;margin-top:20px;line-height:1.9}.section-intro br{display:none}.memory-grid{gap:24px 16px}.memory-caption strong{font-size:12px;letter-spacing:0}.memory-caption small{font-size:6px;letter-spacing:.8px}.memory-caption{margin-top:14px}.photo-expand{width:27px;height:27px;bottom:9px;right:9px;font-size:16px}.album-note .handwritten{font-size:14px}.album-note p{font-size:7px;letter-spacing:0}.album-note p span{margin-left:3px}.favorite-inner{grid-template-columns:1fr;gap:36px}.favorite-main{width:89%;margin-left:3%}.favorite-copy{padding-left:12px}.favorite-copy h2{font-size:34px;line-height:1.55;margin:15px 0}.favorite-copy>p:not(.eyebrow){font-size:11px}.outline-heart svg{width:62px;height:66px;inset:-7px -11px}.small-memories{gap:25px;margin-top:27px;padding-left:13px}.mini-polaroid{width:145px;padding:9px 9px 0}.mini-polaroid:nth-child(2){width:132px}.mini-polaroid span{font-size:10px}.letter-section{display:block;padding-top:66px;padding-bottom:59px}.letter-intro{padding-left:4px}.letter-intro h2{font-size:31px}.letter-intro>p:not(.eyebrow){font-size:11px}.letter-intro .handwritten{font-size:18px;margin-top:22px}.envelope-button{margin-top:55px;padding:0 7px}.envelope{height:210px}.letter-preview{top:-28px;padding:17px 23px;font-size:20px}.letter-preview-line{font-size:10px}.wax-seal{height:49px;width:49px;left:calc(50% - 24px)}.envelope-address{font-size:12px}.envelope-action{margin-top:28px;font-size:11px}.birthday-content h2{font-size:27px;letter-spacing:1px}.birthday-lead{font-size:11px;line-height:2}.birthday-message{font-size:13px;letter-spacing:.5px}.birthday-small{font-size:9px;letter-spacing:.5px}.birthday-button{font-size:12px;min-width:205px}.cake-scene{width:260px;margin-top:22px}.site-footer{grid-template-columns:1fr 1fr}.site-footer p{grid-column:1/-1;grid-row:2;font-size:12px;margin:4px 0}.site-footer button{grid-column:2;grid-row:1}.site-footer small{grid-row:3}.lightbox-main{gap:3px;padding-top:55px}.lightbox-main figure{max-width:79%}.lightbox-main img{height:60vh}.lightbox-arrow{width:29px;min-height:44px;border:0;background:none;font-size:20px}.lightbox-main figcaption{font-size:10px;letter-spacing:.2px}.letter-dialog{padding:52px 26px 29px}.letter-dialog h2{font-size:26px}#letter-body p{font-size:14px;line-height:2}}
@media(max-width:375px){h1{font-size:39px}.hero .eyebrow{font-size:7px}.memory-caption strong{font-size:11px}.small-memories{gap:18px}.mini-polaroid{width:134px}.mini-polaroid:nth-child(2){width:123px}.birthday-content h2{font-size:25px}.hero-bottom>span{font-size:7px}}
@media(prefers-color-scheme:dark){:root{color-scheme:light}/* 相纸保留浅色，避免照片与祝福随系统主题改变。 */}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.is-lit .candle-flame{opacity:1}.is-wished .candle-smoke{opacity:0}}
body.dialog-open{overflow:hidden}dialog{overscroll-behavior:contain}@media(max-width:768px){.lightbox-arrow{width:44px;min-height:44px}.lightbox-main figure{max-width:calc(100% - 100px);min-width:0}nav a{min-height:44px}}
@media(max-width:375px){.favorite-copy{min-width:0}.small-memories{padding-left:6px;gap:18px}.mini-polaroid{width:116px;min-width:0}.mini-polaroid:nth-child(2){width:108px;min-width:0}}

/* Finished gift: persistent navigation, readable small text and complete interaction states. */
[hidden]{display:none!important}
dialog:not([open]){display:none}
html{scrollbar-gutter:stable;scroll-padding-top:110px}
main:focus,section[tabindex="-1"]:focus{outline:none}
.site-header{position:sticky;top:0;z-index:40;margin:0;padding:0 var(--space);height:82px;background:rgba(247,245,237,.96);backdrop-filter:blur(16px);transition:box-shadow .2s}
.site-header:after{content:"";position:absolute;bottom:-1px;left:0;width:var(--reading-progress,0%);height:2px;background:#84916a;transition:width .08s linear}
.site-header.is-scrolled{box-shadow:0 4px 20px #30453109}
.hero{padding-top:48px}
.dedication{font-family:var(--serif);font-size:14px;letter-spacing:2px;color:#69745d;margin-top:16px;overflow-wrap:anywhere}
.hero h1{margin-top:16px}
.birthday-date{color:#59664e;font-size:11px;letter-spacing:.7px;margin-top:19px;line-height:1.8}
.hero-subtitle,.section-intro,.favorite-copy>p:not(.eyebrow),.letter-intro>p:not(.eyebrow),.birthday-lead{color:#5f6957}
.memory-caption small,.album-note p,.hero-bottom,.birthday-small,.site-footer small{color:#6b745e}
.site-footer>*{min-width:0}
.site-footer p,.site-footer small{white-space:normal;overflow-wrap:anywhere}
.hero-subtitle{overflow-wrap:anywhere}
nav a{color:#5f6957;font-size:13px}
.music-toggle{font-size:12px}
.hero-photo-button{background:none;padding:0;width:100%;display:block;overflow:hidden}
.hero-photo-button img{transition:transform .5s ease}
.hero-photo-button:hover img{transform:scale(1.025)}
.hero-photo-button:focus-visible{outline-offset:3px}
.memory-item,.mini-polaroid,.favorite-portrait{touch-action:manipulation}
.memory-caption strong{font-size:16px;line-height:1.7;overflow-wrap:anywhere}
.mini-polaroid span{line-height:1.6;overflow-wrap:anywhere}
.letter-preview{overflow:hidden;overflow-wrap:anywhere}
.letter-dialog h2{overflow-wrap:anywhere}
#letter-body p,.letter-signature{overflow-wrap:anywhere}
.letter-dialog{scrollbar-width:thin;scrollbar-color:#a5ad93 transparent}
.letter-dialog .dialog-close{position:sticky;float:right;right:0;top:0;margin:-32px -34px 0 8px}
.wish-steps{display:flex;align-items:center;justify-content:center;gap:30px;padding:0;margin:0 0 39px;list-style:none;color:#69745d;font-size:11px;letter-spacing:1px}
.wish-steps li{display:flex;align-items:center;gap:8px;position:relative}
.wish-steps li+li:before{content:"";width:14px;height:1px;background:#b9c0a8;position:absolute;left:-22px}
.wish-steps span{display:grid;place-items:center;font:9px Georgia,serif;width:23px;height:23px;border:1px solid #a4ae92;border-radius:50%}
.wish-steps [aria-current] span{background:#53664a;color:#fff;border-color:#53664a}
.wish-steps [aria-current]{color:#304531}
.birthday-finale{max-width:600px;margin:35px auto 0;padding-top:28px;border-top:1px solid #c8d0b9;animation:dialog-in .6s ease-out}
.birthday-finale .finale-script{font-family:var(--hand);font-size:21px;color:#7c8b65}
.birthday-finale h3{font-family:var(--serif);font-size:33px;line-height:1.6;font-weight:400;letter-spacing:2px;margin:13px 0;overflow-wrap:anywhere}
.birthday-finale>p:not(.finale-script){font-size:12px;line-height:2;color:#5f6957}
.finale-link{display:inline-flex;gap:18px;align-items:center;min-height:44px;border-bottom:1px solid #899574;margin-top:19px;font-size:12px}
.photo-dialog{width:min(1060px,96vw);max-height:94dvh;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 20px;scrollbar-width:thin;scrollbar-color:#a5ad93 transparent}
.photo-dialog .dialog-close{background:#3d4a37;position:fixed;right:20px;top:14px}
.lightbox-main{padding-top:56px;gap:22px}
.lightbox-main figure{width:calc(100% - 138px);max-width:calc(100% - 138px);min-width:0}
.lightbox-main img{height:57vh;height:57dvh;max-height:650px;object-fit:contain;touch-action:pan-y pinch-zoom}
.lightbox-main figcaption{min-height:61px;line-height:1.7;margin-top:17px}
#lightbox-title{display:block;font:20px/1.7 var(--serif);letter-spacing:1px;overflow-wrap:anywhere}
#lightbox-caption{display:block;font-size:12px;color:#d9dfcc;line-height:1.9;margin-top:4px;overflow-wrap:anywhere}
.photo-status{text-align:center;font-size:11px;color:#d9dfcc;min-height:18px;margin:7px auto}
.photo-thumbnails{display:flex;gap:9px;max-width:100%;width:max-content;margin:8px auto 0;overflow-x:auto;padding:5px 2px;scrollbar-width:thin}
.photo-thumbnail{width:47px;height:55px;flex:0 0 47px;padding:3px;background:none;opacity:.55;border:1px solid transparent;transition:opacity .2s,border-color .2s}
.photo-thumbnail img{width:100%;height:100%;object-fit:cover}
.photo-thumbnail:hover,.photo-thumbnail[aria-pressed=true]{opacity:1}
.photo-thumbnail[aria-pressed=true]{border-color:#e0e7d0}
.photo-counter{margin-top:13px}.lightbox-hint{margin-top:9px;color:#c0c9b3}
.dialog-fallback:after{content:"";position:fixed;inset:0;background:#1c271de6;z-index:90}
dialog[open].fallback-dialog{position:fixed;left:50%;top:50%;margin:0;transform:translate(-50%,-50%);z-index:100;animation:none}
@media(min-width:1440px){.hero{padding-top:56px}}
@media(max-width:768px){
  html{scroll-padding-top:126px}
  .site-header{height:112px;padding:12px 24px 0;align-content:flex-start}
  nav{margin-top:3px}nav a{font-size:11px;min-height:44px}.music-toggle{font-size:11px}
  .hero{padding-top:35px}.dedication{font-size:12px;margin-top:12px;letter-spacing:1.5px}
  .hero-subtitle,.section-intro,.favorite-copy>p:not(.eyebrow),.letter-intro>p:not(.eyebrow),.birthday-lead{font-size:12px;line-height:2}
  .memory-caption strong{font-size:14px}.memory-caption small{font-size:9px;letter-spacing:.5px}
  .letter-dialog .dialog-close{margin:-31px -14px 0 8px}
  .photo-dialog{padding:0 5px 17px;width:96vw}
  .lightbox-main{gap:3px;position:relative}
  .lightbox-main figure{width:100%;max-width:100%}
  .lightbox-main img{height:52vh;height:52dvh;width:100%}
  .lightbox-arrow{position:absolute;top:calc(26dvh + 32px);z-index:2;width:44px;height:44px;background:#24301bd9;border:1px solid #ffffff38}
  #photo-prev{left:2px}#photo-next{right:2px}
  #lightbox-title{font-size:18px}#lightbox-caption{font-size:12px;padding:0 12px}
  .photo-thumbnails{gap:3px}.photo-thumbnail{width:44px;flex-basis:44px;height:51px}
  .photo-dialog .dialog-close{right:16px;top:8px}
  .wish-steps{gap:24px;font-size:10px;letter-spacing:.3px;margin-bottom:30px}
  .wish-steps li{gap:5px}.wish-steps li+li:before{left:-18px;width:12px}
}
@media(max-width:480px){
  .site-header{padding-left:20px;padding-right:20px}
  .hero h1{font-size:42px}.hero-subtitle{font-size:11px;letter-spacing:1px}
  .hero-collage{margin-top:28px}.memory-caption strong{font-size:13px}
  .memory-caption small{font-size:8px}.mini-polaroid span{font-size:12px}
  .birthday-date{font-size:10px;margin-top:14px}.birthday-finale h3{font-size:27px}
  .letter-dialog .dialog-close{margin:-29px -10px 0 8px}
  .letter-preview-line{font-size:11px}
}
@media(max-width:375px){.hero h1{font-size:37px}.photo-thumbnails{gap:0}.photo-thumbnail{width:40px;flex-basis:40px;min-height:44px}.wish-steps{gap:19px;font-size:9px}.wish-steps li+li:before{left:-14px;width:8px}}
@media(max-height:560px) and (orientation:landscape){.photo-dialog{max-height:98dvh}.lightbox-main img{height:45dvh}.photo-thumbnails,.lightbox-hint{display:none}.lightbox-main{padding-top:12px}.lightbox-main figcaption{margin-top:6px;min-height:45px}.photo-status{margin:2px}.photo-counter{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.birthday-finale{animation:none}.site-header:after{transition:none}}

/* UI v3: clear chapter navigation and one continuous gift journey. */
:root{--ease-out:cubic-bezier(.22,1,.36,1);--control-radius:8px;--caption:#59654f}
html{scroll-padding-top:104px}
body{font-size:16px}
button,a,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid var(--rose);outline-offset:4px}
button:active,.primary-button:active{transform:translateY(1px)}
button:disabled{cursor:wait;opacity:.65}
.primary-button{border-radius:var(--control-radius);font-size:14px;min-height:52px;gap:24px;transition:background .18s,transform .18s,box-shadow .18s}
.primary-button:hover{box-shadow:0 5px 16px #30453118}
.quiet-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;background:transparent;font-size:14px;line-height:1.6;padding:10px 16px;border-radius:var(--control-radius);transition:background .18s,transform .18s}
.quiet-button{color:#53624a}.quiet-button:hover{background:#53664a0b}
.outline-button{border:1px solid #aeb79f;color:var(--ink)}.outline-button:hover{background:#e6eadc}
.site-header{height:76px}
.site-header nav{gap:6px;margin:0;flex-basis:auto}
.site-header nav a{padding:10px 18px;gap:9px;min-height:44px;font-size:14px;letter-spacing:.5px;border-radius:7px;transition:background .18s,color .18s}
.nav-index{font:11px Georgia,serif;opacity:.6}
.site-header nav a:hover{background:#53664a09}.site-header nav a[aria-current]{background:#e6ebdc;color:#304531}
.site-header nav a[aria-current]:after{display:none}
.music-toggle{border:1px solid #dce1d2;border-radius:24px;padding:10px 14px;font-size:12px;letter-spacing:.2px}
.music-toggle:hover,.music-toggle[aria-pressed=true]{background:#e8ecdf;border-color:#bdc7af}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:28px}
.hero .primary-button{margin:0}.hero-actions .quiet-button{padding-left:18px;padding-right:18px}
.gift-route{font-size:12px;letter-spacing:1px;color:#69735f;margin-top:17px}
.hero-subtitle{font-size:15px;line-height:1.9;letter-spacing:1px}
.hero-bottom{font-size:12px;letter-spacing:.3px}.hero-bottom>span:last-child{font-size:10px}
.section-intro,.favorite-copy>p:not(.eyebrow),.letter-intro>p:not(.eyebrow),.birthday-lead{font-size:16px;line-height:1.95;color:var(--caption)}
.eyebrow{font-size:11px}.memory-caption small{font-size:11px;letter-spacing:1px}.memory-caption strong{font-size:17px}
.memory-image{border-radius:3px}.photo-expand{width:36px;height:36px;transition:background .2s,transform .2s}
.gallery-photo:hover .photo-expand{background:var(--paper);transform:rotate(6deg)}
.album-note{gap:20px;flex-wrap:wrap}.album-note .outline-button{font-size:14px}
.mini-polaroid span{font-size:14px}
.envelope-button{touch-action:manipulation}.envelope-button:disabled{opacity:1;cursor:wait}
.envelope-button.is-opening .envelope{transform:rotate(0) translateY(-5px)}
.envelope-button.is-opening .letter-preview{transform:rotate(0) translateY(-45px)}
.envelope-button.is-opening .wax-seal{opacity:0;transform:scale(.75)}
.letter-preview,.wax-seal{transition:transform .3s var(--ease-out),opacity .2s}
.envelope-action{font-size:15px;letter-spacing:1px}.envelope-action>span{margin-left:0}.envelope-action>span+span{margin-left:12px}
.envelope-state{display:block;font-size:12px;letter-spacing:1px;color:#69735f;margin-top:12px}

/* Photo viewer: photo, caption and controls each have their own space. */
.photo-dialog{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto auto;gap:0;background:#202d24;color:#f8f6ee;width:min(1000px,calc(100vw - 48px));max-width:none;height:min(900px,calc(100dvh - 40px));max-height:none;margin:auto;padding:16px 24px 12px;border:1px solid #ffffff18;border-radius:12px;overflow:hidden;box-shadow:0 24px 100px #14201666}
.photo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px}
.photo-toolbar .eyebrow{font-size:10px;letter-spacing:2px;color:#bdc9b5}.photo-toolbar p{font-size:13px;margin-top:6px;color:#ecede4}
.photo-tools{display:flex;align-items:center;gap:6px;flex-shrink:0}
.viewer-tool,.photo-dialog .dialog-close{position:static;width:auto;height:44px;min-width:44px;border-radius:6px;border:1px solid #ffffff25;background:transparent;color:#f8f6ee;font-size:13px;line-height:1;padding:10px 13px;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.photo-dialog .dialog-close span{font-size:23px;line-height:1}.viewer-tool:hover,.photo-dialog .dialog-close:hover,.viewer-tool[aria-pressed=true]{background:#ffffff12}
.lightbox-main{display:block;padding:0;min-height:0;overflow:hidden}
.lightbox-main figure{display:grid;grid-template-rows:minmax(0,1fr) auto;width:100%;height:100%;max-width:none;margin:0}
.photo-stage{height:100%;min-height:0;overflow:hidden;position:relative;border-radius:4px;background:#162019;display:flex;align-items:center;justify-content:center}
.lightbox-main .photo-stage img{width:100%;height:100%;max-height:none;object-fit:contain;touch-action:pan-y pinch-zoom;transition:opacity .16s;cursor:zoom-in}
.photo-dialog.is-zoomed .photo-stage{display:block;overflow:auto;overscroll-behavior:contain}
.photo-dialog.is-zoomed .photo-stage img{width:200%;height:200%;max-width:none;object-fit:contain;cursor:zoom-out;touch-action:pan-x pan-y pinch-zoom}
.photo-stage.is-loading img{opacity:.25}.photo-stage.is-loading:after{content:"";position:absolute;left:calc(50% - 14px);top:calc(50% - 14px);height:28px;width:28px;border:2px solid #ffffff33;border-top-color:#f7f5ed;border-radius:50%;animation:photo-loading .8s linear infinite}
@keyframes photo-loading{to{transform:rotate(360deg)}}
.lightbox-main figcaption{padding:14px 12px 0;margin:0;min-height:0;max-height:110px;overflow:auto;text-align:center;letter-spacing:0}
#lightbox-title{font:21px/1.5 var(--serif);letter-spacing:.5px}
#lightbox-caption{font-size:13px;line-height:1.8;color:#cdd6c5;margin-top:5px;padding:0}
.photo-feedback{min-height:22px;display:flex;align-items:center;justify-content:center;gap:12px}.photo-status{min-height:0;font-size:12px;margin:4px 0;line-height:1.7}
.photo-feedback:has(#photo-status:empty):has(#photo-retry[hidden]){min-height:8px}
.photo-feedback .viewer-tool{height:36px;font-size:12px}
.photo-thumbnails{max-width:100%;width:max-content;justify-self:center;gap:8px;padding:4px;margin:4px 0;scrollbar-width:thin;overscroll-behavior-x:contain;scroll-behavior:smooth;overflow-x:auto}
.photo-thumbnail{border-radius:4px;width:46px;flex-basis:46px;height:54px;padding:3px;opacity:.55;border:1px solid transparent;min-height:44px}
.photo-thumbnail img{border-radius:2px}.photo-thumbnail[aria-pressed=true]{border-color:#e0e7d0;background:#ffffff14;opacity:1}
.photo-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #ffffff18;margin-top:8px;padding-top:10px}
.photo-pagination{display:flex;align-items:center;gap:14px}
.photo-footer .lightbox-arrow{position:static;width:44px;height:44px;min-height:44px;background:#ffffff09;border:1px solid #ffffff25;top:auto;border-radius:50%;font-size:22px;display:grid;place-items:center;transition:background .2s}
.photo-footer .lightbox-arrow:hover{background:#ffffff20}
.photo-counter{margin:0;min-width:65px;font-size:13px;letter-spacing:2px;color:#edf1e5;font-variant-numeric:tabular-nums}
.viewer-next{display:inline-flex;align-items:center;gap:17px;background:#e3e9d5;color:#253824;border-radius:6px;padding:12px 16px;font-size:13px;min-height:44px}.viewer-next:hover{background:#f7f9ee}
.lightbox-hint{font-size:11px;margin:8px 0 0;color:#aebda5;line-height:1.6}

/* The letter reads like a sheet of paper, with reachable close/continue actions. */
.letter-dialog{display:grid;grid-template-rows:auto 2px minmax(0,1fr) auto;width:min(650px,calc(100vw - 36px));height:min(850px,calc(100dvh - 52px));max-height:none;padding:0;border-radius:10px;overflow:hidden;box-shadow:0 24px 100px #14201655}
.letter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;font-size:13px;letter-spacing:1px;border-bottom:1px solid #e4e5d9}
.letter-dialog .dialog-close{position:static;float:none;right:auto;top:auto;margin:0;width:auto;min-width:76px;height:44px;padding:10px 13px;font-size:13px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:10px}
.letter-dialog .dialog-close span{font-size:23px}.letter-dialog .dialog-close:hover{background:#dfe5d2}
.letter-reading-progress{background:#e7e8db;overflow:hidden}.letter-reading-progress>span{display:block;height:100%;width:var(--letter-progress,0%);background:#899971;transition:width .1s linear}
.letter-scroll{min-height:0;overflow:auto;padding:30px 46px 42px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#adb79a transparent}
.letter-scroll:focus{outline:none}.letter-scroll:focus-visible{outline:2px solid #a4ae92;outline-offset:-4px}
.letter-scroll .eyebrow{font-size:10px;letter-spacing:2px;color:#778267}.letter-dialog h2{font-size:31px;margin:18px 0 26px}
#letter-body p{font-size:17px;line-height:2.1;letter-spacing:.5px;margin-bottom:24px}.letter-signature{font-size:14px;margin-top:30px;line-height:2}
.letter-footer{padding:16px 24px;background:#f3f2e8;border-top:1px solid #dddFcf}.letter-footer .primary-button{display:flex;width:100%;justify-content:space-between;font-size:14px;padding:14px 20px;min-height:52px}

/* A wish is a moment to pause, and the finished greeting stays visible. */
.wish-steps{font-size:12px;gap:36px;margin-bottom:32px}.wish-steps span{width:28px;height:28px;font-size:11px}.wish-steps li+li:before{left:-26px;width:16px}
.birthday-content{max-width:720px;margin:auto}.birthday-content h2{font-size:36px}.birthday-message{font-size:17px;line-height:1.8;letter-spacing:.4px}
.wish-editor{max-width:440px;margin:24px auto 0;text-align:left;background:#f9f8ef;padding:20px;border:1px solid #cbd3bf;border-radius:10px}
.wish-editor label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:#3e5139;margin-bottom:10px}.wish-editor label span{font-size:12px;color:#69755e;font-family:var(--sans)}
.wish-editor textarea{display:block;resize:vertical;width:100%;min-height:94px;max-height:220px;border:0;border-bottom:1px solid #d9dfcf;border-radius:0;background:transparent;font:16px/1.8 var(--serif);color:var(--ink);padding:4px 0 10px}
.wish-editor textarea::placeholder{color:#79846f}.wish-editor-meta{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-top:10px;font-size:12px;line-height:1.6;color:#68765d}.wish-editor-meta p{margin:0}#wish-note-count{white-space:nowrap;font-variant-numeric:tabular-nums}
.birthday-button{min-width:245px}.birthday-small{font-size:12px;line-height:1.9;letter-spacing:.5px}.birthday-finale{border:0;margin:22px auto 0;padding:28px 16px;scroll-margin-top:100px;outline:none}.birthday-finale h3{font-size:36px}.birthday-finale>p:not(.finale-script){font-size:16px}.birthday-finale .outline-button{margin-top:24px}
.saved-wish{font:19px/1.9 var(--serif);overflow-wrap:anywhere;white-space:pre-wrap;margin:24px auto 0;max-width:430px;padding:18px 20px;background:#f8f7ec;border:1px solid #cdd6be;border-radius:6px;position:relative}
.wish-reset{margin-top:4px;font-size:13px}.is-wished .cake-scene{width:210px}.is-wished .birthday-lead,.is-wished .birthday-message{display:none}
.site-footer p{font-size:16px}.site-footer small{font-size:11px;line-height:1.8;letter-spacing:1px}.site-footer button{font-size:13px}
@media(max-width:768px){
  html{scroll-padding-top:84px;scrollbar-gutter:auto}body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .site-header{height:68px;padding:8px 20px;flex-wrap:nowrap;align-content:normal;align-items:center;gap:12px;backdrop-filter:none;background:#f7f5edf5}
  .site-header .wordmark{font-size:28px}.music-toggle{font-size:11px;min-height:42px;padding:9px 12px;gap:8px}
  .site-header nav{position:fixed;left:0;right:0;bottom:0;top:auto;height:calc(70px + env(safe-area-inset-bottom,0px));padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(4,1fr);gap:6px;z-index:45;background:#f7f5edf5;border-top:1px solid #d7ddcc;box-shadow:0 -4px 24px #30453109}
  .site-header nav a{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:5px;min-height:54px;font-size:13px;border-radius:7px;letter-spacing:1px}.nav-index{font-size:10px;line-height:1}
  .hero{padding-top:30px}.hero h1{font-size:44px;line-height:1.35;letter-spacing:2px;margin-top:14px}.hero .eyebrow{font-size:9px;letter-spacing:1.7px}.dedication{font-size:13px;margin-top:12px}.hero-subtitle{font-size:14px;line-height:1.8;letter-spacing:.5px;margin-top:24px}
  .hero-actions{gap:4px;margin-top:22px;flex-direction:column}.hero .primary-button{font-size:14px;padding:14px 24px;min-height:50px;gap:25px}.hero-actions .quiet-button{font-size:13px;min-height:44px}.gift-route{font-size:11px;letter-spacing:.5px;margin-top:7px}
  .hero-collage{margin-top:28px;height:280px}.hero-bottom{margin-top:9px;padding:10px 0 16px;font-size:10px}.hero-bottom>span{font-size:10px}.hero-bottom a{font-size:11px;gap:8px}
  .section-intro,.favorite-copy>p:not(.eyebrow),.letter-intro>p:not(.eyebrow),.birthday-lead{font-size:15px;line-height:1.9}.section-heading h2{font-size:30px}.eyebrow{font-size:10px}
  .memory-caption small{font-size:10px;letter-spacing:.4px}.memory-caption strong{font-size:15px;line-height:1.6;margin-top:7px}.memory-caption{margin-top:13px}.memory-grid{gap:26px 16px}.memory-item:nth-child(even){margin-top:26px}
  .album-note{margin-top:30px;gap:16px}.album-note .handwritten{font-size:17px}.album-note .outline-button{font-size:13px;min-height:46px;padding:9px 14px}.mini-polaroid span{font-size:13px}
  .letter-section{padding-bottom:66px}.envelope-action{font-size:15px;margin-top:24px}.envelope-state{font-size:12px}.letter-preview-line{font-size:12px}
  .photo-dialog{width:100vw;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:calc(12px + env(safe-area-inset-top,0px)) 16px calc(10px + env(safe-area-inset-bottom,0px));gap:0}
  .photo-toolbar{padding-bottom:10px;gap:8px}.photo-toolbar p{display:none}.photo-toolbar .eyebrow{font-size:9px;letter-spacing:1px}.photo-tools{gap:6px}.photo-tools .viewer-tool,.photo-dialog .dialog-close{font-size:12px;padding:10px;gap:7px}
  .lightbox-main figure{width:100%;max-width:none}.lightbox-main figcaption{padding:12px 0 0;max-height:106px}#lightbox-title{font-size:19px}#lightbox-caption{font-size:13px;line-height:1.75;padding:0 4px}
  .photo-thumbnails{gap:7px;justify-self:stretch;width:auto;margin:8px 0 4px;padding:3px}.photo-thumbnail{width:44px;flex-basis:44px;height:51px}
  .photo-pagination{gap:7px}.photo-counter{font-size:12px;min-width:58px;letter-spacing:1px}.photo-footer{gap:10px;padding-top:10px;margin-top:5px}.viewer-next{font-size:12px;padding:12px;gap:8px}.lightbox-hint{font-size:11px;margin-top:8px}
  .letter-dialog{width:calc(100vw - 24px);height:calc(100dvh - 40px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:none;border-radius:10px}
  .letter-toolbar{padding:10px 16px;font-size:12px;letter-spacing:.3px}.letter-dialog .dialog-close{margin:0;font-size:12px;min-width:70px}.letter-scroll{padding:25px 24px 30px}.letter-dialog h2{font-size:28px;margin:16px 0 22px}#letter-body p{font-size:16px;line-height:2;letter-spacing:.3px;margin-bottom:22px}.letter-footer{padding:12px 16px}.letter-footer .primary-button{font-size:13px;min-height:48px;padding:12px 16px}
  .birthday-section{padding:48px 22px}.wish-steps{gap:24px;font-size:11px;margin-bottom:27px}.wish-steps li{gap:6px}.wish-steps span{width:25px;height:25px}.wish-steps li+li:before{left:-17px;width:10px}
  .birthday-content h2{font-size:29px;line-height:1.5;letter-spacing:.5px}.birthday-message{font-size:16px}.birthday-lead{margin-top:16px}.cake-scene{width:250px}.wish-editor{padding:17px;margin-top:20px}.wish-editor-meta{font-size:11px}.birthday-button{font-size:14px;min-width:235px}.birthday-small{font-size:12px}
  .birthday-finale{padding:20px 0;scroll-margin-top:88px}.birthday-finale h3{font-size:29px;letter-spacing:1px}.birthday-finale>p:not(.finale-script){font-size:15px}.birthday-finale .finale-script{font-size:21px}.saved-wish{font-size:17px;padding:16px}.is-wished .cake-scene{width:175px}
  .site-footer{padding:30px 24px 24px}.site-footer p{font-size:15px}.site-footer small{font-size:10px}.site-footer button{font-size:12px}
}
@media(max-width:359px){.site-header{padding-left:16px;padding-right:16px}.hero h1{font-size:37px}.hero{padding-left:17px;padding-right:17px}.hero-subtitle{font-size:13px}.gift-route{font-size:10px}.hero-bottom>span{font-size:9px}.section-wrap{padding-left:20px;padding-right:20px}.memory-caption strong{font-size:14px}.album-note .handwritten{font-size:16px}.photo-dialog{padding-left:12px;padding-right:12px}.photo-toolbar .eyebrow{font-size:8px;letter-spacing:.5px}.photo-tools{gap:4px}.photo-tools .viewer-tool,.photo-dialog .dialog-close{padding:10px 8px}.photo-pagination{gap:4px}.photo-counter{min-width:50px}.viewer-next{padding:10px;font-size:11px}.wish-steps{gap:17px;font-size:10px}.wish-steps li+li:before{left:-12px;width:7px}.birthday-content h2{font-size:25px}.letter-scroll{padding:22px 20px}}
@media(max-height:560px) and (orientation:landscape){.photo-dialog{height:100dvh;width:100vw;margin:0;border-radius:0;padding:8px 18px;grid-template-columns:minmax(0,1fr) 270px;grid-template-rows:auto minmax(0,1fr) auto}.photo-toolbar{grid-column:1/-1}.lightbox-main{grid-column:1;grid-row:2/4}.lightbox-main figure{grid-template-rows:minmax(0,1fr)}.lightbox-main figcaption{display:none}.photo-thumbnails{display:flex;grid-column:2;grid-row:2;flex-wrap:wrap;align-content:center;justify-content:center;width:100%;overflow:auto}.photo-feedback{grid-column:2;grid-row:3}.photo-footer{grid-column:2;grid-row:3;flex-wrap:wrap;justify-content:center;align-self:end;border:0;padding:0}.photo-feedback:has(#photo-status:not(:empty)){grid-column:1;position:absolute;bottom:8px;left:20px;background:#202d24}.photo-footer .viewer-next{min-height:38px}.lightbox-hint{display:none}.letter-dialog{height:calc(100dvh - 16px)}.letter-toolbar{padding:4px 16px}.letter-footer{padding:6px 16px}.letter-footer .primary-button{min-height:42px}.letter-scroll{padding-top:18px;padding-bottom:22px}}
@media(prefers-reduced-motion:reduce){.photo-thumbnails{scroll-behavior:auto}.photo-stage.is-loading:after{animation:none}.envelope-button.is-opening .letter-preview{transform:none}}

/* Keep chapter targets below the measured header and the album strip unobtrusive. */
html{scroll-padding-top:calc(var(--header-height,76px) + 16px)}
.birthday-finale{scroll-margin-top:0}
.photo-thumbnails{scrollbar-width:none}
.photo-thumbnails::-webkit-scrollbar{display:none}
.lightbox-main .photo-stage img{cursor:default}
.photo-dialog.is-zoomed .photo-stage img{cursor:grab}
.is-lit .cake-scene{width:200px}
.is-lit .birthday-lead{display:none}
@media(max-width:768px){.is-lit .cake-scene{width:170px}}
