@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600&display=swap');
:root{--ink:#62263e;--pink:#fae9ed;--accent:#a34561;--soft:#f3d5dd}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:40px}body{margin:0;color:var(--ink);background:var(--pink);font-family:'DM Sans',sans-serif;font-size:16px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a34561;outline-offset:7px}header{height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;position:absolute;top:0;width:100%;z-index:3}.brand{font:italic 42px 'Cormorant Garamond',Georgia,serif}.brand span{font-size:16px;margin-left:4px}.dedication,.eyebrow{font-size:12px;letter-spacing:2.5px;font-weight:500}.sound{background:transparent;border:1px solid #62263e30;border-radius:30px;padding:10px 17px;color:var(--ink);font-size:14px}.sound>span{margin-left:6px}.hero{min-height:850px;height:100svh;max-height:1150px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#fff6f5 0%,#f9e9ec 48%,#f2d2dd 100%)}.halo{position:absolute;width:600px;height:600px;border-radius:50%;border:1px solid #b66e7e20;box-shadow:0 0 0 45px #b66e7e05,0 0 0 90px #b66e7e04;animation:breathe 6s ease-in-out infinite}.hero-copy{text-align:center;position:relative;z-index:2;margin-top:0;animation:enter 1.3s ease both}.hero .eyebrow{margin-bottom:25px}h1,h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;letter-spacing:-2px;line-height:1.02;margin:0}h1{font-size:clamp(74px,8.1vw,126px);position:relative}h1 em{font-size:1.38em;font-weight:400;color:#a34561;line-height:1.02}em{font-weight:400;color:var(--accent)}.title-heart{position:absolute;font:40px Georgia;transform:rotate(13deg);right:15%;bottom:24px}.intro{font-size:17px;line-height:1.8;margin:25px 0 28px;color:#815468}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;border:0;border-radius:50px;background:var(--ink);color:#fff4f5;padding:18px 27px;font-size:14px;box-shadow:0 8px 22px #62263e15;transition:transform .25s,background .25s}.button:hover{transform:translateY(-4px);background:#873653}.button span{font-size:22px;line-height:14px}.handwritten{font:italic 24px 'Cormorant Garamond',Georgia,serif;transform:rotate(-5deg);margin:18px}.scroll-hint{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:2px;text-align:center;z-index:3;white-space:nowrap}.scroll-hint span{display:block;margin:12px auto 0;width:1px;height:30px;background:#a3456160;animation:breathe 2s infinite}.tiny-star{position:absolute;font-size:52px;animation:twinkle 4s infinite}.star-a{top:26%;left:21%}.star-b{right:20%;top:55%;font-size:35px;animation-delay:2s}.garden{position:absolute;width:390px;height:560px;bottom:-65px;pointer-events:none}.garden-left{left:-55px;transform:rotate(-11deg)}.garden-right{right:-55px;transform:scaleX(-1) rotate(-11deg)}.garden svg{width:100%;height:100%;overflow:visible;animation:sway 7s ease-in-out infinite;transform-origin:bottom}.garden-right svg{animation-delay:-3s}.petals{position:fixed;inset:0;pointer-events:none;z-index:4;overflow:hidden}.petal{position:absolute;top:-40px;width:12px;height:20px;background:linear-gradient(135deg,#e3a1b3aa,#f8d4de66);border-radius:90% 0 90% 0;animation:fall var(--duration) linear infinite;animation-delay:var(--delay);left:var(--left)}.ribbon{overflow:hidden;background:#efd1db;border-top:1px solid #b66e7e20;border-bottom:1px solid #b66e7e20;padding:22px 0}.ribbon div{white-space:nowrap;width:max-content;letter-spacing:4px;font-size:12px;animation:marquee 36s linear infinite}.ribbon i{font-size:22px;margin:0 55px;font-style:normal}.letter-section{text-align:center;padding:110px 20px 100px;background:#fff8f7}.eyebrow{margin:0 0 24px}h2{font-size:clamp(48px,5vw,74px)}section>p:not(.eyebrow){color:#875c6e;line-height:1.7}.envelope{position:relative;display:block;margin:45px auto 30px;width:320px;height:205px;border:1px solid #d5a6b4;border-radius:5px;background:linear-gradient(32deg,#eed0d9 49.5%,transparent 50%),linear-gradient(-32deg,#f0d6de 49.5%,#f6e1e7 50%);box-shadow:0 18px 32px #62263e15;transition:transform .5s}.envelope:hover{transform:rotate(-3deg) translateY(-8px)}.envelope-flap{position:absolute;left:0;top:0;width:100%;height:65%;background:#f8e6eb;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 2px 1px #a34561)}.seal{position:absolute;top:83px;left:135px;border-radius:50%;width:50px;height:50px;background:#a74e68;color:#f8dce5;display:grid;place-items:center;font:italic 27px Georgia;border:4px double #cb859a;box-shadow:2px 4px 10px #62263e20}.envelope-caption{position:absolute;bottom:24px;left:0;width:100%;font:italic 22px 'Cormorant Garamond',serif;color:var(--ink)}.small-note{font-size:11px;letter-spacing:2px;color:#9a7080}.reasons{padding:110px 8%;background:#f5e0e6}.reasons-heading{text-align:center}.reasons-heading>p:last-child{line-height:1.8;color:#875c6e}.cards{display:flex;max-width:1050px;margin:50px auto 0;gap:25px}.love-card{position:relative;flex:1;min-height:290px;padding:35px 24px;border:1px solid #d9b0bf;background:#fbf0f2;color:var(--ink);border-radius:150px 150px 8px 8px;transition:transform .5s,background .5s}.love-card:nth-child(2){transform:translateY(20px);background:#eed0db}.love-card:hover{transform:translateY(-8px) rotate(-2deg)}.love-card:nth-child(2):hover{transform:translateY(12px) rotate(2deg)}.card-icon{display:block;font:56px Georgia;margin:18px 0 25px;color:#a85b75}.card-title{display:block;font:36px 'Cormorant Garamond',serif}.card-hint{display:block;font-size:12px;margin-top:15px;letter-spacing:1px;color:#926475}.card-message{display:none;line-height:1.7}.love-card.open .card-icon{font-size:35px;margin:0 0 18px}.love-card.open .card-title{font-size:25px;margin-bottom:15px}.love-card.open .card-hint{display:none}.love-card.open .card-message{display:block;animation:enter .5s}.wish-section{text-align:center;padding:120px 20px 90px;background:radial-gradient(ellipse,#fffaf5,#fbe9eb)}.cake-button{display:block;position:relative;width:240px;height:240px;margin:30px auto 30px;background:none;border:0}.cake-body{position:absolute;bottom:25px;left:30px;width:180px;height:80px;border-radius:8px 8px 22px 22px;background:linear-gradient(90deg,#c97994,#edb2c4 45%,#d98ba5);box-shadow:inset 0 -15px #bb668220}.cake-top{position:absolute;z-index:2;width:180px;height:40px;left:30px;bottom:85px;border-radius:50%;background:#fff6e9;box-shadow:0 7px 0 #f9d6de}.cake-body i{position:absolute;top:5px;width:20px;height:30px;border-radius:0 0 14px 14px;background:#fff6e9;z-index:3;left:15px}.cake-body i:nth-child(2){left:50px;height:40px}.cake-body i:nth-child(3){left:85px}.cake-body i:nth-child(4){left:120px;height:35px}.cake-body i:nth-child(5){left:150px;height:20px}.cake-base{position:absolute;bottom:15px;left:10px;width:220px;height:25px;background:#d1ad8b;border-radius:50%;z-index:0}.cake-body{z-index:1}.candle-stick{position:absolute;width:14px;height:67px;left:113px;bottom:108px;background:repeating-linear-gradient(135deg,#bb6885 0 7px,#f3c5d6 7px 14px);z-index:3;border-radius:3px}.wick{position:absolute;left:119px;bottom:175px;width:2px;height:8px;background:#6e4332}.flame{position:absolute;left:109px;bottom:180px;width:22px;height:34px;border-radius:80% 10% 60% 40%;background:linear-gradient(45deg,#ffb74b,#fff6ad);box-shadow:0 0 25px #ffc55d99;transform:rotate(-20deg);animation:flicker .5s ease-in-out infinite alternate}.blown .flame{opacity:0;transition:opacity .4s}.wish-message{min-height:30px;font:italic 24px 'Cormorant Garamond',serif}footer{text-align:center;background:#60273e;color:#fae4ec;padding:70px 20px 40px}footer h2{font-size:50px}footer em{color:#edb0c5}footer>p{color:#dfb6c5;line-height:1.7}footer .eyebrow{display:block;margin-top:50px;font-size:10px}.footer-heart{display:block;font-size:48px;margin-bottom:25px;animation:breathe 3s infinite}.text-button{background:none;border:0;border-bottom:1px solid #edb0c560;padding:10px;color:#edb0c5;font-size:13px}dialog{border:1px solid #e7bdca;border-radius:8px;background:#fff9f6;color:var(--ink);padding:60px;max-width:610px;width:calc(100% - 32px);max-height:90svh;box-shadow:0 25px 100px #38112640}dialog[open]{animation:enter .5s}dialog::backdrop{background:#38112680;backdrop-filter:blur(8px)}dialog h2{font-size:48px;margin:25px 0}dialog p{line-height:1.8;color:#82556a}dialog .signature{font:italic 28px 'Cormorant Garamond',serif}.close{position:absolute;right:18px;top:12px;background:none;border:0;font-size:30px;color:var(--ink)}#confetti{position:fixed;inset:0;z-index:10;pointer-events:none;width:100%;height:100%}.reveal{opacity:1}.js .reveal{opacity:0;transform:translateY(35px);transition:opacity 1s,transform 1s}.js .reveal.visible{opacity:1;transform:translateY(0)}@keyframes enter{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}@keyframes breathe{50%{transform:scale(1.04);opacity:.7}}@keyframes twinkle{50%{opacity:.3;transform:rotate(15deg) scale(.8)}}@keyframes sway{50%{transform:rotate(4deg)}}@keyframes fall{to{transform:translate(100px,110vh) rotate(480deg)}}@keyframes marquee{to{transform:translateX(-50%)}}@keyframes flicker{to{transform:rotate(-12deg) scale(.9,1.06)}}@media(max-width:800px){header{height:80px;padding:0 6%}.dedication{display:none}.hero{min-height:760px;max-height:1000px}.hero-copy{margin-top:-60px}.hero .eyebrow{font-size:10px;letter-spacing:1.5px}h1{font-size:76px}.title-heart{right:5%;bottom:12px;font-size:30px}.intro{font-size:15px}.garden{width:240px;height:380px;bottom:-65px}.garden-left{left:-90px}.garden-right{right:-90px}.star-a{left:8%;top:22%;font-size:28px}.star-b{right:8%;top:54%}.halo{width:360px;height:360px}.cards{gap:14px}.love-card{padding:25px 15px}.card-title{font-size:28px}.card-message{font-size:14px}.reasons{padding:85px 5%}}@media(max-width:560px){.cards{flex-direction:column;max-width:320px;gap:22px}.love-card{min-height:240px;border-radius:110px 110px 8px 8px}.love-card:nth-child(2){transform:none}.love-card:nth-child(2):hover{transform:translateY(-8px)}.letter-section{padding-top:80px}.envelope{width:290px;height:190px}.seal{left:120px;top:75px}.reasons-heading>p:last-child{font-size:15px}.wish-section{padding-top:85px}.wish-section>p{max-width:300px;margin-left:auto;margin-right:auto}dialog{padding:45px 28px 30px}dialog h2{font-size:40px}footer h2{font-size:42px}}
/* Touch-first surprises */
.bouquet-section,.surprise-section{text-align:center;padding:95px 20px;background:#fff8f7}.bouquet-section{background:#f5e0e6}.bouquet-section>p,.surprise-section>p{line-height:1.8;color:#875c6e}.flower-picker{display:flex;justify-content:center;gap:12px}.flower-picker button{border:1px solid #d9b0bf;background:#fff5f6;border-radius:50%;width:58px;height:58px;font-size:30px;transition:transform .2s}.flower-picker button:active{transform:scale(.85)}#bouquet-stage{width:300px;height:270px;position:relative;margin:20px auto}.vase{position:absolute;bottom:5px;left:105px;width:90px;height:115px;background:linear-gradient(90deg,#bc718d,#e4adc2,#c8849d);border-radius:8px 8px 38px 38px;box-shadow:0 16px 20px #62263e18;z-index:2}.vase:after{content:'♡';color:#fff0f6;font-size:38px;position:absolute;left:27px;top:34px}.picked-flower{position:absolute;left:145px;bottom:100px;height:140px;transform-origin:bottom center;animation:bloom .6s cubic-bezier(.2,1.5,.5,1) both}.picked-flower:before{content:'';position:absolute;left:0;bottom:0;width:3px;height:110px;background:#829472}.picked-flower span{position:absolute;left:-25px;top:-16px;font-size:53px;z-index:1}.picked-flower:after{content:'';position:absolute;bottom:35px;left:2px;width:22px;height:12px;background:#a1af8c;border-radius:100% 0 100% 0;transform:rotate(-25deg)}#flower-note{min-height:58px;max-width:440px;margin:22px auto 0}#reset-bouquet{color:#8e4d66;border-color:#d9b0bf;min-height:44px}.gift{display:flex;flex-direction:column;align-items:center;gap:20px;background:none;border:0;margin:30px auto;color:var(--ink);font-size:14px;min-height:150px}.gift>span:first-child{font-size:90px;display:block;animation:gift-wiggle 4s infinite}.gift:active>span:first-child{transform:scale(.8)}#surprise-note{font:italic 30px/1.4 'Cormorant Garamond',Georgia,serif;min-height:85px;max-width:520px;margin:0 auto 20px}.surprise-dots{letter-spacing:12px;color:#c7819a}.touch-heart{position:fixed;pointer-events:none;z-index:20;color:#b85e82;font-size:25px;animation:heart-pop 1.2s ease-out forwards}.mobile-nav{display:none}.button,.sound,.close,.text-button{min-height:44px}.wish-section .button{max-width:100%}.gift.popped>span:first-child{animation:gift-pop .45s}.note-in{animation:enter .5s}.scroll-hint{font-size:11px}@keyframes bloom{from{opacity:0;scale:.2}to{opacity:1;scale:1}}@keyframes heart-pop{to{transform:translate(var(--dx),-100px) rotate(30deg) scale(.4);opacity:0}}@keyframes gift-wiggle{0%,80%,100%{transform:rotate(0)}85%{transform:rotate(-10deg)}90%{transform:rotate(10deg)}95%{transform:rotate(-5deg)}}@keyframes gift-pop{50%{transform:scale(1.2) rotate(-8deg)}}
@media(max-width:600px){html{scroll-padding-top:20px}body{padding-bottom:78px}.hero{min-height:740px}.hero-copy{width:100%;padding:0 22px;margin-top:-35px}h1{font-size:clamp(49px,11.5vw,69px);letter-spacing:-1.8px}h1 em{font-size:1.65em}.title-heart{right:13%;bottom:15px;font-size:27px}.hero .eyebrow{max-width:250px;line-height:1.8;margin:0 auto 22px}.intro{max-width:300px;margin:24px auto;font-size:15px}.hero .button{padding:17px 22px}.hero .garden{bottom:-50px;width:210px;height:340px}.hero .garden-left{left:-80px}.hero .garden-right{right:-80px}.scroll-hint{bottom:20px}.mobile-nav{position:fixed;display:flex;justify-content:space-around;bottom:0;left:0;right:0;z-index:8;background:#fff7f8ed;backdrop-filter:blur(15px);border-top:1px solid #ddbcc9;padding:9px 12px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #62263e0a}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:24px;min-width:65px;min-height:48px}.mobile-nav a span{font-size:11px}.cards{display:grid;grid-template-columns:1fr;max-width:360px}.love-card{min-height:175px;border-radius:20px;padding:24px;display:grid;grid-template-columns:65px 1fr;align-items:center;text-align:left}.card-icon{grid-row:1/3;font-size:45px;margin:0}.card-title{font-size:30px}.card-hint{margin:0}.card-message{grid-column:2;font-size:15px}.love-card.open .card-icon{font-size:40px;margin:0}.love-card.open .card-title{font-size:27px}.flower-picker{gap:8px}.flower-picker button{width:51px;height:51px;font-size:27px}#surprise-note{font-size:28px;min-height:120px}h2{font-size:49px}.bouquet-section,.surprise-section{padding:80px 20px}.eyebrow{font-size:11px;line-height:1.8;letter-spacing:2px}.ribbon div{font-size:11px}.reasons-heading .eyebrow{max-width:280px;margin-left:auto;margin-right:auto}}
/* One scene at a time, with room for the final gesture. */
[hidden]{display:none!important}.journey{padding-bottom:90px}.journey header{position:relative;height:78px;background:#fae9ed}.journey main>section,.journey main>footer{min-height:calc(100svh - 168px);padding-top:35px;padding-bottom:40px}.journey main>.hero{height:calc(100svh - 168px);min-height:620px;max-height:none;padding:0}.journey .hero-copy{margin-top:-5px}.journey .hero h1{font-size:clamp(56px,7vw,102px)}.journey .hero .garden{height:430px;width:310px}.journey .scene-active{animation:scene-arrive .65s cubic-bezier(.2,.65,.3,1) both}.journey-nav{position:fixed;bottom:0;left:0;right:0;min-height:82px;padding:12px 25px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;background:#fff7f8f2;backdrop-filter:blur(16px);border-top:1px solid #ddbcc9;z-index:9}.journey-nav>div{text-align:center}.journey-status{font-size:13px;letter-spacing:1px}.journey-back{position:absolute;left:20px;border:0;background:none;color:var(--ink);min-height:44px;font-size:13px}.journey-back:disabled{visibility:hidden}.journey-dots{display:flex;justify-content:center;gap:8px;margin-top:10px}.journey-dots i{width:6px;height:6px;border-radius:50%;background:#e8ccd6;transition:width .3s}.journey-dots i.done{background:#c17b97}.journey-dots i.active{width:23px;border-radius:4px;background:#62263e}.journey-action{margin:30px auto 0;text-align:center;max-width:500px}.journey-hint{font-size:14px;line-height:1.6;color:#875c6e;margin:0 auto 16px;max-width:330px}.journey-next{width:auto;max-width:100%}.unlocked{animation:unlock .65s ease-out}.journey .cards{margin-top:30px}.journey .envelope{margin-top:30px}.journey .reasons{padding-left:6%;padding-right:6%}.journey .wish-section .cake-button{height:220px;margin-top:10px;margin-bottom:12px}.journey footer .replay{display:flex;margin:25px auto 0;background:#f5d1df;color:#62263e}.journey footer .journey-hint{color:#f5d1df}.journey .gift{margin:20px auto}.journey #bouquet-stage{height:240px;margin:5px auto 15px}.journey .hero .halo{width:500px;height:500px}.journey .hero .handwritten{margin-top:16px}.scene-active h1:focus,.scene-active h2:focus{outline:none}.journey dialog .button{width:100%;margin-top:10px}.journey footer{display:flex;flex-direction:column;align-items:center;justify-content:center}.journey .small-note{font-size:12px}.journey .button{font-size:15px}@keyframes scene-arrive{from{opacity:0;transform:translateY(24px) scale(.98);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}@keyframes unlock{0%{opacity:0;transform:scale(.8)}65%{transform:scale(1.06)}100%{opacity:1;transform:scale(1)}}@media(max-width:600px){.journey header{height:70px}.journey main>section{min-height:calc(100svh - 152px);padding:25px 22px 32px}.journey main>.hero{height:calc(100svh - 152px);min-height:560px}.journey .hero h1{font-size:clamp(45px,11vw,65px)}.journey .hero-copy{margin-top:-20px}.journey .hero .eyebrow{font-size:10px;margin-bottom:16px}.journey .hero .intro{margin:20px auto;font-size:15px}.journey .hero .garden{height:260px;width:180px;bottom:-60px}.journey .hero .garden-left{left:-70px}.journey .hero .garden-right{right:-70px}.journey .hero .halo{width:300px;height:300px}.journey .hero .handwritten{font-size:23px}.journey h2{font-size:44px}.journey .eyebrow{margin-bottom:16px}.journey .cards{gap:12px;margin-top:22px}.journey .love-card{min-height:120px;padding:18px;border-radius:18px;grid-template-columns:50px 1fr}.journey .card-title{font-size:27px}.journey .card-icon{font-size:36px}.journey .love-card.open .card-title{font-size:25px;margin-bottom:7px}.journey .card-message{font-size:14px;line-height:1.5}.journey .envelope{margin-top:30px;margin-bottom:22px;max-width:100%}.journey-action{margin-top:24px}.journey .journey-next{width:100%;max-width:340px}.journey #flower-note{font-size:15px;min-height:48px;margin-top:14px}.journey #reset-bouquet{font-size:12px}.journey #bouquet-stage{height:215px}.journey #surprise-note{min-height:110px;font-size:28px}.journey .wish-message{font-size:23px}.journey-nav{padding-left:80px;padding-right:80px}.journey-back{left:14px}.journey footer h2{font-size:45px}}
/* A real envelope opening into an inline, unfolding letter. */
.envelope-scene{position:relative;width:320px;height:260px;max-width:100%;margin:80px auto 18px;perspective:1000px;isolation:isolate;transition:height .7s,margin .7s,opacity .7s}.journey .envelope-scene .envelope{position:absolute;inset:45px 0 auto;margin:0;width:100%;height:205px;background:#e9c5d2;overflow:visible;z-index:2;transform:none;border:1px solid #d5a6b4;perspective:1000px}.envelope-scene .envelope:before{content:'';position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(32deg,#eed0d9 49.5%,transparent 50%),linear-gradient(-32deg,#f0d6de 49.5%,transparent 50%);border-radius:4px}.envelope-scene .envelope-flap{z-index:5;transform-origin:50% 0;backface-visibility:visible;transition:transform .85s cubic-bezier(.4,0,.2,1),filter .85s;filter:drop-shadow(0 2px 1px #a3456120)}.envelope-scene .seal{z-index:6;touch-action:none;cursor:grab;transform:translateY(var(--seal-lift,0px));transition:box-shadow .2s;animation:seal-invite 3s ease-in-out infinite}.envelope-scene .seal:active{cursor:grabbing;animation:none}.envelope-caption{z-index:4;pointer-events:none}.paper-preview{position:absolute;left:7%;top:60px;width:86%;height:175px;padding:20px 24px;background:#fffaf4;box-shadow:0 2px 9px #62263e12;z-index:1;opacity:0;transform:translateY(0);border:1px solid #e6cfb9;pointer-events:none}.paper-preview span{display:block;font:italic 27px 'Cormorant Garamond',Georgia,serif;text-align:left}.paper-preview i{display:block;height:1px;background:#cda9ac60;margin-top:16px;width:100%}.paper-preview i:nth-child(3){width:82%}.paper-preview b{display:block;text-align:right;font-size:24px;font-weight:400;margin-top:10px}.opening .seal{animation:seal-away .55s forwards!important;pointer-events:none}.opening .envelope-flap{transform:rotateX(180deg);transition-delay:.2s;filter:drop-shadow(0 -2px 2px #a3456110)}.opening .envelope{animation:envelope-settle 1.6s ease both}.opening .paper-preview{animation:paper-extract 1.5s .55s cubic-bezier(.22,.7,.2,1) both}.envelope-scene.letter-released{height:0;margin-top:0;margin-bottom:0;opacity:0;pointer-events:none}.letter-paper{position:relative;max-width:560px;margin:30px auto 0;padding:42px 45px;text-align:left;background:linear-gradient(180deg,#fffdf7,#fff9ef);border:1px solid #e9d5c4;box-shadow:0 15px 40px #62263e12,0 2px 4px #62263e08;transform-origin:top center;scroll-margin-top:18px}.letter-paper:before{content:'';position:absolute;left:0;right:0;top:49%;height:1px;background:#ddc9b83b;box-shadow:0 2px 4px #ddc9b81a;pointer-events:none}.letter-paper h2{font-size:46px;margin:22px 0}.letter-paper p{font-size:17px;line-height:1.85;color:#82556a}.letter-paper .signature{font:italic 29px/1.4 'Cormorant Garamond',Georgia,serif;color:#a34561;margin-top:30px}.letter-paper .eyebrow{font-size:11px}.letter-paper:focus{outline:none}.unfolding{animation:letter-unfold .95s cubic-bezier(.2,.7,.2,1) both}.unfolding p{animation:ink-arrive .8s .55s both}.unfolding p:nth-of-type(2){animation-delay:.7s}.unfolding p:nth-of-type(3){animation-delay:.85s}.unfolding p:nth-of-type(4){animation-delay:1s}.unfolding .signature{animation-delay:1.15s}@keyframes seal-invite{0%,75%,100%{box-shadow:2px 4px 10px #62263e20}85%{box-shadow:0 0 0 9px #a74e6812}95%{box-shadow:0 0 0 15px #a74e6800}}@keyframes seal-away{to{transform:translateY(-40px) rotate(-20deg) scale(.6);opacity:0}}@keyframes envelope-settle{50%{transform:translateY(18px) rotate(-2deg)}100%{transform:translateY(30px)}}@keyframes paper-extract{0%{opacity:0;transform:translateY(0)}15%{opacity:1}70%{opacity:1;transform:translateY(-145px) rotate(-3deg);z-index:1}100%{opacity:1;transform:translateY(-165px) rotate(0) scale(1.04);z-index:7}}@keyframes letter-unfold{from{opacity:0;transform:perspective(1000px) rotateX(-35deg) scale(.86);clip-path:inset(0 0 65% 0)}to{opacity:1;transform:none;clip-path:inset(0)}}@keyframes ink-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(max-width:600px){.envelope-scene{width:290px;height:245px;margin-top:85px}.journey .envelope-scene .envelope{height:190px}.envelope-scene .seal{left:calc(50% - 25px)}.letter-paper{padding:28px 23px;margin-top:25px}.journey .letter-paper h2{font-size:38px}.letter-paper p{font-size:16px;line-height:1.8}.letter-paper .signature{font-size:27px}.journey #letter .small-note{font-size:10px;letter-spacing:1.2px}.journey #letter .journey-action{margin-top:25px}}
/* Keep the touch experience at its designed scale while allowing scrolling. */
html,body{touch-action:pan-x pan-y}button,a{touch-action:pan-x pan-y}.envelope-scene .seal{touch-action:none}
/* Personal monogram and sender. */
.brand{font-size:28px;letter-spacing:1px}.envelope-scene .seal{font:500 13px 'DM Sans',sans-serif;letter-spacing:.2px}.envelope-caption{font-size:20px}.vase:after{content:'✧'}@media(max-width:600px){.brand{font-size:23px}.brand span{font-size:12px}.envelope-caption{font-size:19px}}
/* Collect birthday wishes in a small, luminous sky. */
.journey .constellation-section{background:radial-gradient(ellipse at 50% 36%,#68485f 0%,#392c45 55%,#30243c 100%);color:#fff2ec;position:relative;overflow:hidden}.constellation-section .eyebrow{color:#e2bed2}.constellation-section h2 em{color:#f0c8a3}.constellation-section .reasons-heading>p:last-child{color:#e2cfdd;font-size:16px;line-height:1.7}.wish-sky{position:relative;width:340px;max-width:100%;height:260px;margin:12px auto 0;isolation:isolate}.sky-dust{position:absolute;inset:0;opacity:.7;background-image:radial-gradient(circle at 9% 15%,#f7e1be 1px,transparent 2px),radial-gradient(circle at 82% 14%,#e6cce8 1px,transparent 2px),radial-gradient(circle at 35% 55%,#e6cce8 1px,transparent 2px),radial-gradient(circle at 95% 70%,#e6cce8 1px,transparent 2px),radial-gradient(circle at 4% 84%,#e6cce8 1px,transparent 2px),radial-gradient(circle at 62% 62%,#e6cce8 1px,transparent 2px),radial-gradient(circle at 70% 5%,#e6cce8 1px,transparent 2px);animation:twinkle 6s ease-in-out infinite}.wish-star{position:absolute;width:96px;height:96px;transform:translate(-50%,-50%);border:0;border-radius:50%;background:transparent;color:#fae2b5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;z-index:2}.star-joy{left:20%;top:60%}.star-courage{left:50%;top:23%}.star-adventure{left:80%;top:60%}.star-glow{font:55px/1 Georgia,serif;filter:drop-shadow(0 0 13px #efc88890);animation:star-breathe 3s ease-in-out infinite}.star-courage .star-glow{animation-delay:-1s}.star-adventure .star-glow{animation-delay:-2s}.star-label{font-size:12px;letter-spacing:1px;color:#ead5e2}.wish-star:before{content:'';position:absolute;width:68px;height:68px;border:1px solid #e8c79c35;border-radius:50%;top:2px;transition:background .4s,border-color .4s,transform .4s}.wish-star:hover:before,.wish-star:focus-visible:before{background:#f5d9a815;transform:scale(1.1)}.wish-star.collected:before{border-color:#f5d9a8aa;background:#f5d9a815}.wish-star.collected .star-glow{color:#fff5cd}.wish-star.selected:before{box-shadow:0 0 30px #eebc7e35}.wish-star:focus-visible{outline:2px solid #f8ddba;outline-offset:5px}.star-connections{position:absolute;width:100%;height:100%;inset:0;overflow:visible;pointer-events:none}.connection{fill:none;stroke:#e8c79c;stroke-width:1;stroke-dasharray:240;stroke-dashoffset:240;opacity:0;transition:stroke-dashoffset 1s ease,opacity .5s}.connection.connected{stroke-dashoffset:0;opacity:.65}.sky-caption{position:absolute;bottom:4px;width:100%;left:0;text-align:center;font:italic 20px 'Cormorant Garamond',Georgia,serif;color:#dfc4d7;opacity:0;transition:opacity .7s}.complete .sky-caption{opacity:1}.star-message{max-width:480px;min-height:185px;text-align:center;margin:15px auto 0;padding:18px 12px 0;border-top:1px solid #e2bed22b}.wish-from{color:#dcbfcf;letter-spacing:2px;font-size:10px}.star-message h3{font:400 30px/1.15 'Cormorant Garamond',Georgia,serif;color:#ffe8c6;margin:14px 0 10px}.star-message p{color:#ead9e3;line-height:1.7;font-size:15px;margin:0}.constellation-section .journey-hint{color:#dfc7d8}.constellation-section .journey-next{background:#f0c8a3;color:#392c45}.wish-arrives{animation:ink-arrive .6s both}.journey .constellation-section .journey-action{margin-top:22px}@keyframes star-breathe{50%{transform:scale(.85) rotate(8deg);filter:drop-shadow(0 0 20px #efc888cc)}}@media(max-width:600px){.journey .constellation-section{padding:25px 20px 35px}.journey .constellation-section h2{font-size:42px}.constellation-section .reasons-heading>p:last-child{font-size:14px;margin-bottom:0}.wish-sky{height:225px;margin-top:5px}.star-message{min-height:185px;margin-top:10px;padding-top:15px}.star-message h3{font-size:28px}.star-message p{font-size:14px}.journey .constellation-section .journey-action{margin-top:18px}.star-glow{font-size:49px}.star-label{font-size:11px}.wish-star{width:88px;height:88px}.sky-caption{font-size:19px}}
