:root{font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#eee3cf;background:#14130f;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;min-width:320px;overscroll-behavior-y:none}.scroll-story{height:600vh;height:600svh;position:relative}.birthday-photo{position:relative;isolation:isolate;display:grid;place-items:center;min-height:100vh;min-height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 50% 38%,#fffaf0,#f3e7d7 82%);color:#4e4236;padding:max(28px,env(safe-area-inset-top)) 7vw max(28px,env(safe-area-inset-bottom))}.birthday-photo:before,.birthday-photo:after{content:"";position:absolute;z-index:-1;pointer-events:none;width:clamp(85px,21vmin,240px);aspect-ratio:1;background:center/contain no-repeat;opacity:.64}.birthday-photo:before{top:-4vmin;right:-4vmin;background-image:url(/assets/garden/04-table-sprig.png);transform:rotate(170deg)}.birthday-photo:after{bottom:-3vmin;left:-4vmin;background-image:url(/assets/garden/02-flower-path-sprig.png)}.birthday-photo figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:clamp(12px,2.6vmin,26px);max-width:min(100%,960px);min-width:0}.birthday-print{display:block;width:auto;height:auto;max-width:100%;max-height:73vh;max-height:73svh;object-fit:contain;border:clamp(5px,1.2vmin,11px) solid #fffdf8;box-shadow:0 9px 30px #55433129}.birthday-photo figcaption{font:400 clamp(15px,2.5vmin,22px)/1.65 "Songti SC","STSong",serif;text-align:center;white-space:pre-line;overflow-wrap:anywhere;max-width:min(100%,38em)}.photo-placeholder{padding:40px 18px;border:1px dashed #b8a691;color:#695c50;text-align:center}.stage{position:sticky;top:0;width:100%;height:100vh;height:100dvh;overflow:hidden}.cinema{width:100%;height:100%}.picture{position:relative;width:100%;height:100%;overflow:hidden;background:#1b170f;container-type:inline-size}.scene,.scene-background,.foreground,.foreground img,.fallback{display:block;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.scene{opacity:0;isolation:isolate;pointer-events:none}.scene--first{opacity:1}.scene-background,.foreground img,.fallback{object-fit:cover;-webkit-user-select:none;user-select:none}.foreground{pointer-events:none;overflow:hidden}.foreground--left{clip-path:inset(0 50% 0 0)}.foreground--right{clip-path:inset(0 0 0 50%)}.foreground--left img{transform-origin:left center}.foreground--right img{transform-origin:right center}.starfall{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;pointer-events:none;mask-image:linear-gradient(transparent,#000 8%,#000 88%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 8%,#000 88%,transparent)}.star-track{position:absolute;top:0;bottom:0;width:0;opacity:0}.falling-star{position:absolute;left:0;top:0;width:var(--star-size);height:var(--star-size);color:#ffe6a2}.falling-star:before{content:"";position:absolute;left:46%;bottom:80%;width:1px;height:calc(var(--star-size)*2.4);background:linear-gradient(transparent,#ffeac080);transform:rotate(-9deg);transform-origin:bottom}.falling-star svg{display:block;width:100%;height:100%;overflow:visible;fill:#fff1c1;stroke:#e6b65e;stroke-width:.7;transform:rotate(var(--star-turn));filter:drop-shadow(0 0 3px #ffe1a8a6)}@media(prefers-reduced-motion:reduce){.starfall{display:none}}.loading{position:absolute;bottom:20px;left:50%;transform:translate(-50%);padding:10px 18px;background:#14130fdb;border-radius:30px;font-size:13px;white-space:nowrap}.journey-progress>span{display:block;transform-origin:left center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.scene-copy{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;color:#fff8e9;text-shadow:0 2px 16px #16130d80}.copy-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#19160f9e 0%,#19160f35 23%,transparent 42%,transparent 65%,#19160fa8 100%)}.copy-top,.copy-bottom{position:absolute;left:5.5%;right:5.5%}.copy-top{top:max(7%,env(safe-area-inset-top))}.copy-bottom{bottom:max(6%,env(safe-area-inset-bottom))}.copy-eyebrow{margin:0 0 14px;color:#f4ddb3;font-size:clamp(10px,1.1cqw,13px);font-weight:500;letter-spacing:.18em;line-height:1.4}.copy-eyebrow:before{content:"";display:inline-block;width:22px;height:1px;background:currentColor;vertical-align:middle;margin-right:10px;opacity:.7}.copy-title{margin:0;font-family:Songti SC,STSong,"Noto Serif CJK SC",serif;font-weight:400;font-size:clamp(30px,5.1cqw,62px);line-height:1.25;letter-spacing:.04em}.copy-title>span,.copy-body>span{display:block}.copy-body{margin:0;font-size:clamp(13px,1.65cqw,21px);line-height:1.8;letter-spacing:.07em;font-weight:400}.copy-note{margin:14px 0 0;color:#ecdbc0;font-size:clamp(10px,1.1cqw,13px);line-height:1.6;letter-spacing:.12em}.scene-copy--right .copy-top,.scene-copy--right .copy-bottom{text-align:right}.scene-copy--finale .copy-top,.scene-copy--finale .copy-bottom{text-align:center}.scene-copy--finale .copy-top{top:4.5%}.scene-copy--finale .copy-title{font-size:clamp(28px,3.8cqw,46px);line-height:1.15}.scene-copy--finale .copy-title>span:first-child{font-size:.58em;letter-spacing:.12em;margin-bottom:.2em}.scene-copy--finale .copy-bottom{bottom:4%}.scene-copy--finale .copy-shade{background:linear-gradient(180deg,#19160fa8,transparent 29%,transparent 75%,#19160fb8 100%)}.greeting-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:grid;place-items:center;opacity:0;visibility:hidden;pointer-events:none;color:#fff3d9}.greeting-veil{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,transparent,#15170e24)}.greeting-card{position:relative;width:min(64%,580px);padding:clamp(20px,2.8cqw,34px) 28px;text-align:center;background:linear-gradient(145deg,#302c1c40,#25271c2e);border:1px solid #f5d89585;border-radius:5px;box-shadow:0 14px 45px #17170c24,inset 0 0 0 5px #fff2cc06;text-shadow:0 1px 2px #181309,0 0 6px #181309d9,0 2px 12px #181309a6}.greeting-age{position:absolute;right:18px;top:5px;font:italic 100px/1 Georgia,serif;color:#ffe7a80b;text-shadow:none;pointer-events:none}.greeting-eyebrow{position:relative;margin:0 0 14px;font-size:clamp(9px,1cqw,11px);font-weight:500;letter-spacing:.18em;color:#fff0cd}.greeting-title{position:relative;margin:0;font-family:Songti SC,STSong,"Noto Serif CJK SC",serif;font-size:clamp(23px,3cqw,34px);font-weight:400;line-height:1.4;letter-spacing:.07em}.greeting-title span,.greeting-body span{display:block}.greeting-rule{display:flex;align-items:center;justify-content:center;gap:14px;margin:16px auto;color:#dfbf7c;font-size:18px;line-height:1}.greeting-rule:before,.greeting-rule:after{content:"";width:40px;height:1px;background:#d8b77660}.greeting-body p{margin:0 0 14px;font-size:clamp(12px,1.5cqw,16px);font-weight:500;line-height:1.8;letter-spacing:.04em;color:#fff8e9}.greeting-body p:last-child{margin-bottom:0}.greeting-overlay[aria-hidden=false] .greeting-card{pointer-events:auto;max-height:92dvh;overflow:auto;overflow-wrap:anywhere}.greeting-signoff{margin-top:20px}.greeting-signoff p{margin:0 0 7px;font:400 clamp(18px,2cqw,23px)/1.5 "Songti SC","STSong",serif;letter-spacing:.06em}.greeting-signoff>span{font-size:clamp(10px,1cqw,12px);font-weight:500;letter-spacing:.08em;color:#fff0d5}@media(max-width:900px)and (orientation:portrait){.scene-background,.fallback{object-fit:cover;object-position:var(--portrait-focus,69%) center}.foreground img{object-fit:cover}.foreground--left img{object-position:24% center}.foreground--right img{object-position:76% center}.foreground--left{mask-image:linear-gradient(to right,#000 30%,transparent 50%);-webkit-mask-image:linear-gradient(to right,#000 30%,transparent 50%)}.foreground--right{mask-image:linear-gradient(to left,#000 30%,transparent 50%);-webkit-mask-image:linear-gradient(to left,#000 30%,transparent 50%)}.loading{font-size:11px;padding:9px 12px;max-width:calc(100% - 16px);white-space:normal;text-align:center}.copy-top{top:max(6%,env(safe-area-inset-top))}.copy-bottom{bottom:max(5.5%,env(safe-area-inset-bottom))}.copy-eyebrow{font-size:clamp(8px,2.7cqw,11px);margin-bottom:10px;letter-spacing:.12em}.copy-eyebrow:before{width:16px;margin-right:8px}.copy-title{font-size:clamp(26px,10cqw,42px);line-height:1.32}.scene-copy--intro .copy-title{font-size:clamp(22px,7.6cqw,32px)}.copy-body{font-size:clamp(11px,3.8cqw,15px);line-height:1.85;letter-spacing:.035em}.copy-note{font-size:clamp(9px,2.8cqw,11px);margin-top:12px;letter-spacing:.06em}.scene-copy--finale .copy-top{top:max(4.5%,env(safe-area-inset-top))}.scene-copy--finale .copy-title{font-size:clamp(22px,7.7cqw,33px);line-height:1.2}.scene-copy--finale .copy-bottom{bottom:max(4%,env(safe-area-inset-bottom))}.scene-copy--finale .copy-body{font-size:clamp(11px,3.6cqw,14px)}.greeting-card{width:88%;padding:clamp(18px,7cqw,28px) clamp(14px,5cqw,22px)}.greeting-eyebrow{font-size:clamp(8px,2.5cqw,10px);letter-spacing:.1em;margin-bottom:clamp(10px,4cqw,16px)}.greeting-title{font-size:clamp(18px,7cqw,26px)}.greeting-rule{margin:clamp(12px,4.5cqw,18px) auto;font-size:16px}.greeting-body p{font-size:clamp(10.5px,3.7cqw,14px);line-height:1.9;margin-bottom:clamp(11px,4.5cqw,18px);letter-spacing:.015em}.greeting-signoff{margin-top:clamp(16px,6cqw,24px)}.greeting-signoff p{font-size:clamp(16px,5.4cqw,20px)}.greeting-signoff>span{font-size:clamp(9px,2.8cqw,11px);letter-spacing:.035em}}@media(max-width:900px)and (max-aspect-ratio:1/2){.picture--original .scene--cake:before{content:"";position:absolute;top:-12px;right:-12px;bottom:-12px;left:-12px;background:url(/assets/shots/05-cake.png) var(--portrait-focus) center/cover;filter:blur(8px)}.picture--original .scene--cake .scene-background{top:50%;height:190cqw;transform:translateY(-50%);mask-image:linear-gradient(transparent,#000 5%,#000 95%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 5%,#000 95%,transparent)}}.picture--garden .scene{--sprig-width:39vmin;--sprig-bottom:20%;--overhang:-11vmin}.picture--garden [data-shot="02-flower-path"]{--sprig-width:53vmin;--sprig-bottom:21%;--overhang:-17vmin}.picture--garden [data-shot="03-stone-steps"]{--sprig-width:35vmin;--sprig-bottom:24%}.picture--garden [data-shot="04-table"]{--sprig-width:28vmin;--sprig-bottom:16%;--overhang:-8vmin}.picture--garden [data-shot="05-cake"]{--sprig-width:18vmin;--sprig-bottom:8%;--overhang:-7vmin}.picture--garden .foreground{clip-path:none;mask-image:none;-webkit-mask-image:none}.picture--garden .foreground img{inset:auto;bottom:var(--sprig-bottom);width:var(--sprig-width);height:auto}.picture--garden .foreground--left img{left:var(--overhang)}.picture--garden .foreground--right img{right:var(--overhang)}.picture--garden .foreground img{filter:blur(1.5px)}.picture--garden [data-shot="02-flower-path"] .foreground img{filter:blur(clamp(3px,.65vmin,6px))}.picture--garden .copy-shade{background:linear-gradient(180deg,#15201885,transparent 31%,transparent 68%,#15201899)}@media(orientation:portrait)and (min-aspect-ratio:9/22){.picture--garden .scene--cake .scene-background{inset:-6% auto auto -6%;width:112%;height:112%}}@media(max-height:650px)and (orientation:landscape){.greeting-card{width:90%;max-width:820px;padding:12px 16px}.greeting-eyebrow{font-size:8px;margin-bottom:6px}.greeting-title{font-size:20px;line-height:1.2}.greeting-title span{display:inline}.greeting-title span+span:before{content:" "}.greeting-rule{font-size:14px;margin:6px auto}.greeting-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.greeting-body p{font-size:clamp(10px,1.5cqw,13px);line-height:1.8;margin:0;letter-spacing:0}.greeting-signoff{margin-top:10px}.greeting-signoff p{font-size:16px;line-height:1.3;margin-bottom:4px}.greeting-signoff>span{font-size:9px}}
