:root{--ink:#4d4a63;--peach:#fff1e6;--pink:#faafc2;--blue:#9bd9ea;--mint:#c0e9d8;--purple:#b9ace9;--shadow:0 17px 35px #ae8f9d2b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-snap-type:y proximity}body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:#fff4ea;overflow-x:hidden}body.locked{height:100dvh;overflow:hidden}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #6b75a9;outline-offset:4px}button,a{-webkit-tap-highlight-color:transparent}.opening{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 54%,#fffdf3 0%,#fff1de 45%,#ffdbda 100%);overflow:hidden;transition:opacity .8s ease,visibility .8s}.opening::before,.opening::after{content:'';position:absolute;width:50vw;height:55vw;border-radius:50%;filter:blur(18px);z-index:-1}.opening:before{top:-10vw;left:-22vw;background:#ccecffbb}.opening:after{bottom:-21vw;right:-20vw;background:#f2b7d4a8}.opening.opening-out{opacity:0;visibility:hidden;pointer-events:none}.opening-head{text-align:center;padding:0 17px;margin-top:12px}.tiny-pill,.smallcaps{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.21em;color:#9c7796}.opening-head h1{font:600 clamp(45px,10vw,78px)/1.12 'Fredoka',sans-serif;color:#e49aaa;margin:9px 0 0;letter-spacing:-.035em}.opening-head h1 span{color:#89c3ce}.opening-head p{margin:8px 0 0;font:500 clamp(15px,3vw,20px) 'Fredoka',sans-serif}.belly-button{width:min(83vw,390px,42dvh);border:0;background:none;padding:0;margin:2px 0 0;position:relative;flex-shrink:0;aspect-ratio:440/530;filter:drop-shadow(0 16px 18px #cb8e9730);transform-origin:center 55%;transition:filter .3s}.belly-button:hover{filter:drop-shadow(0 24px 22px #cb8e9760)}.belly-art{width:100%;height:100%;display:block}.baby-inside{transform-origin:220px 320px;animation:heartbeat 2.6s ease-in-out infinite}.tap-bubble{position:absolute;left:50%;bottom:2%;transform:translateX(-50%);white-space:nowrap;background:#fffefa;color:#e28b9b;border:2px solid #f2b9b5;border-radius:100px;padding:10px 18px;font:700 12px 'Fredoka';letter-spacing:.09em;box-shadow:0 6px 16px #ac7c8f30;animation:tapPulse 2.1s ease-in-out infinite}.tap-heart{color:#9ed5d9}.opening-foot{font-size:12px;margin:10px 0 0;color:#ae8e96;font-weight:600}.opening-sparkles i{position:absolute;font-style:normal;font-size:25px;color:#eda8b9;animation:float 4s ease-in-out infinite}.opening-sparkles i:nth-child(1){left:11%;top:29%}.opening-sparkles i:nth-child(2){right:10%;top:23%;animation-delay:.7s;color:#9acbda}.opening-sparkles i:nth-child(3){left:15%;bottom:18%;animation-delay:1.6s;color:#e8ba66}.opening-sparkles i:nth-child(4){right:16%;bottom:24%;animation-delay:.4s}.opening-sparkles i:nth-child(5){right:28%;top:12%;animation-delay:1.5s;color:#a9d4b9}.opening-sparkles i:nth-child(6){left:29%;top:9%;animation-delay:2s}.opening.pop .belly-button{animation:bellyOpen 1.25s cubic-bezier(.25,.85,.12,1) both}.opening.pop .baby-inside{animation:babyPop 1.1s ease-out both}.opening.pop .tap-bubble{opacity:0;transition:opacity .2s}.opening.pop:after{animation:colorBurst 1.5s ease-out both}@keyframes heartbeat{50%{transform:scale(1.065)}}@keyframes tapPulse{50%{transform:translateX(-50%) scale(1.05)}}@keyframes float{50%{transform:translateY(-18px) rotate(13deg)}}@keyframes bellyOpen{0%{transform:scale(1)}29%{transform:scale(.965) rotate(-1deg)}64%{transform:scale(1.05)}100%{transform:scale(1);opacity:0;filter:blur(18px)}}@keyframes babyPop{0%{transform:scale(1);opacity:1}50%{transform:scale(1.22)}100%{transform:scale(1.7);opacity:0}}@keyframes colorBurst{to{transform:scale(5);opacity:0}}
.topbar{position:fixed;z-index:15;top:0;left:0;right:0;padding:calc(14px + env(safe-area-inset-top)) clamp(16px,4vw,37px) 12px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.topbar>*{pointer-events:auto}.logo{font:700 20px 'Fredoka',sans-serif;color:#c77d93;letter-spacing:-.04em}.logo span{color:#8bc4cf}.created{font-size:11px;font-weight:700;color:#997e9d;background:#ffffffcf;border:1px solid #ecdde4;padding:9px 11px;border-radius:30px;box-shadow:0 4px 13px #cab1ba25}.dots{position:fixed;z-index:16;right:10px;top:50%;transform:translateY(-50%);display:grid;gap:12px}.dots a{width:7px;height:7px;background:#d0a7b9;border-radius:50%;box-shadow:0 0 0 3px #ffffff99}.dots a.active{background:#f28b9d;transform:scale(1.35)}.screen{position:relative;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:95px 28px 55px;overflow:hidden;isolation:isolate;scroll-snap-align:start;text-align:center}.screen::before{content:'';position:absolute;inset:0;z-index:-2}.intro::before{background:radial-gradient(circle at 12% 20%,#d3edf2 0%,transparent 36%),radial-gradient(circle at 83% 80%,#f9d6e5 0%,transparent 40%),#fff6e8}.guess::before{background:radial-gradient(circle at 15% 80%,#cbe9f7 0%,transparent 48%),radial-gradient(circle at 90% 13%,#fbd3e0 0%,transparent 45%),#fff9ef}.countdown::before{background:radial-gradient(circle at 20% 18%,#e9d7ff 0%,transparent 42%),radial-gradient(circle at 80% 80%,#d0f3e6 0%,transparent 43%),#fff9ef}.details::before{background:radial-gradient(circle at 70% 18%,#f9d8e0 0%,transparent 38%),radial-gradient(circle at 12% 80%,#cdeef5 0%,transparent 44%),#fff6e7}.content{width:min(100%,550px);margin:auto;position:relative;z-index:2}.screen h2{font:600 clamp(43px,10vw,77px)/1.06 'Fredoka',sans-serif;letter-spacing:-.045em;color:#615873;margin:19px 0 18px}.screen h2 .scribble{color:#eb91a8;display:inline-block;transform:rotate(-4deg)}.screen p{font:500 clamp(17px,3.5vw,21px)/1.5 'Fredoka',sans-serif;margin:12px 0;color:#797084}.screen .subline{font:400 14px/1.65 'DM Sans',sans-serif}.pill-button{border-radius:99px;padding:17px 24px;display:inline-flex;gap:16px;align-items:center;justify-content:center;font:700 15px 'Fredoka',sans-serif;box-shadow:var(--shadow);margin-top:25px;transition:transform .2s}.pill-button:hover{transform:translateY(-3px)}.peach{background:#f5a6b2;color:#fff}.lilac{background:#aa9fd9;color:#fff}.mini-illustration{height:172px;position:relative;display:grid;place-items:center}.cloud-body{font-size:158px;color:#fff;line-height:1;text-shadow:0 10px 25px #c2b0b240}.mini-baby{font-size:73px;position:absolute;top:12px;animation:float 3.4s ease-in-out infinite}.float-stars{position:absolute;bottom:5px;color:#e5a977;letter-spacing:24px;font-size:21px}.floating-icon{position:absolute;z-index:-1;font-family:'Fredoka';color:#d6a4cc;pointer-events:none;animation:float 5s ease-in-out infinite}.toy-1{font-size:90px;top:12%;left:-18px;color:#cae4f0}.toy-2{font-size:82px;bottom:12%;right:-9px;color:#ffc7c7}.toy-3{font-size:42px;top:25%;right:12%;color:#ebbd72}.toy-4{font-size:90px;bottom:5%;left:-15px;opacity:.3}.toy-5{font-size:80px;right:0;top:16%;color:#c8afe5}.toy-6{font-size:100px;left:-30px;top:20%;color:#cbddec}.toy-7{font-size:65px;bottom:10%;right:-8px;opacity:.4}.toy-8{font-size:86px;right:-13px;bottom:13%;opacity:.25}.toy-9{font-size:70px;top:13%;left:2%;color:#efcc91}.blue-text{color:#81bbda}.pink-text{color:#e994b0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:29px}.team{min-height:192px;border-radius:28px;border:3px solid #fff;padding:17px 8px;display:flex;align-items:center;flex-direction:column;justify-content:center;box-shadow:var(--shadow);font:700 clamp(17px,4vw,22px) 'Fredoka',sans-serif;transition:transform .22s,box-shadow .22s;line-height:1.2}.team:hover,.team:focus-visible{transform:translateY(-5px)}.team.selected{outline:4px solid #c4a5df;outline-offset:2px;transform:translateY(-6px)}.team-boy{background:#d3effa;color:#438ca8}.team-girl{background:#ffe0eb;color:#bf728e}.team-toy{font-size:60px;display:block;margin-bottom:9px;filter:drop-shadow(0 5px 8px #a28a9344)}.team small{font:500 11px 'DM Sans',sans-serif;margin-top:10px}.vote-result{min-height:47px;margin:19px auto 10px;background:#ffffffa6;border-radius:14px;padding:13px 12px;font-size:13px;font-weight:600;max-width:420px}.next-link{display:inline-block;margin-top:18px;font:700 14px 'Fredoka';color:#9d82ba}.event-date{margin:20px auto;background:#ffffffbd;border:2px dashed #d7b4ce;border-radius:25px;padding:18px 30px;display:flex;align-items:center;justify-content:center;gap:16px;width:max-content;max-width:100%;box-shadow:0 8px 23px #bdabb938}.event-date strong{font:700 68px/.9 'Fredoka';color:#e391a4}.event-date span{font:700 17px/1.3 'Fredoka';color:#8f85bd;text-align:left;letter-spacing:.08em}.event-date small{font-size:16px;color:#a6b3bd}.count-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:26px auto 12px}.count-grid>div{background:#fff;border:1px solid #eadce9;border-radius:19px;box-shadow:0 8px 20px #baa4b62a;padding:18px 2px 13px;min-width:0}.count-grid strong{display:block;font:700 clamp(25px,7vw,46px) 'Fredoka';color:#9b91d2;line-height:1.15;font-variant-numeric:tabular-nums}.count-grid small{font:700 11px 'Fredoka';text-transform:uppercase;color:#a3a1b2}.screen .note{font:400 11px/1.5 'DM Sans',sans-serif;color:#978fa0;max-width:390px;margin:20px auto}.details-card{background:#ffffffc9;border:2px solid white;border-radius:25px;box-shadow:var(--shadow);padding:14px 19px;text-align:left;margin:25px 0}.detail-row{display:flex;align-items:center;gap:16px;padding:13px 0}.detail-row+.detail-row{border-top:1px dashed #ead2d9}.detail-symbol{font-size:27px}.detail-row strong{display:block;font:600 16px 'Fredoka',sans-serif;color:#625b76}.detail-row small{display:block;margin-top:3px;font:400 12px 'DM Sans';color:#948b9c}.guest-label{display:block;text-align:left;font:800 10px 'DM Sans',sans-serif;letter-spacing:.16em;color:#9b8fa5;margin:18px 0 7px}.details input{display:block;width:100%;border:2px solid #f0d3db;border-radius:16px;background:#fff;padding:16px;color:#66556a;font-size:16px;outline:none}.details input:focus{border-color:#b3a1df}.rsvp-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.rsvp-actions button{border:0;border-radius:16px;padding:14px 8px;color:#fff;font:600 14px 'Fredoka';background:#eaa1b6;box-shadow:0 7px 14px #eaa1b64d}.rsvp-actions button+button{background:#a7c6d5}.rsvp-result{font:500 12px 'DM Sans'!important;min-height:20px}.footer{font:500 11px 'DM Sans'!important;margin-top:32px!important}.footer a{color:#b97c9d;text-decoration:underline;text-underline-offset:3px}.reveal{opacity:0;transform:translateY(25px);transition:transform .85s cubic-bezier(.2,.8,.2,1),opacity .85s}.reveal.visible{opacity:1;transform:none}@media(max-width:480px){.screen{padding:85px 21px 42px}.screen h2{font-size:clamp(40px,10vw,57px)}.team{min-height:158px}.team-toy{font-size:49px}.topbar{padding-left:15px;padding-right:15px}.dots{right:6px}.mini-illustration{height:140px}.cloud-body{font-size:136px}.mini-baby{font-size:66px}.belly-button{width:min(91vw,390px,46dvh)}.opening-head h1{font-size:53px}.opening-foot{font-size:11px}.rsvp-actions button{font-size:12px}}@media(max-height:680px){.opening-head h1{font-size:43px}.opening-head p{font-size:14px}.belly-button{width:min(68vw,305px,47dvh)}.opening-foot{margin-top:0}.tap-bubble{font-size:10px;padding:7px 12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.12s!important}}

/* ===== PLAYFUL CINEMA EDITION / scene direction ===== */
html{scroll-snap-type:y mandatory;scroll-padding-top:0}
body{background:#fff8f0}
.screen{min-height:100svh;min-height:100dvh;scroll-snap-align:start;scroll-snap-stop:normal;perspective:1000px;overflow:hidden}
.screen::before{transition:filter 1.4s ease,transform 1.8s cubic-bezier(.19,.72,.15,1);transform:scale(1.075)}
.screen.scene-active::before{transform:scale(1)}
.screen .content{transform-style:preserve-3d;transition:filter .9s cubic-bezier(.2,.72,.2,1),opacity .9s ease,transform 1.1s cubic-bezier(.17,.72,.2,1)}
.screen .content.reveal:not(.visible){transform:translate3d(0,70px,-100px) rotateX(9deg);filter:blur(12px);opacity:0}
.screen.scene-active .content.visible{transform:translate3d(0,0,0);filter:blur(0)}
.screen .floating-icon{transform:translate3d(0,calc(var(--scene-offset,0) * -35px),0);transition:opacity .6s ease;opacity:.3}
.screen.scene-active .floating-icon{opacity:.72}
.scene-progress{position:fixed;top:0;left:0;width:100%;height:4px;z-index:35;pointer-events:none;background:transparent}
.scene-progress span{display:block;width:100%;height:100%;transform-origin:left center;transform:scaleX(0);background:linear-gradient(90deg,#98d8f4,#ffb5c9,#d4b6f2);box-shadow:0 0 10px #fff}
.scene-transition{position:fixed;inset:0;z-index:40;pointer-events:none;overflow:hidden;opacity:0}
.scene-transition .transition-halo{position:absolute;left:50%;top:50%;width:65vmax;height:65vmax;border:45px solid #fff9f5bb;border-radius:50%;transform:translate(-50%,-50%) scale(.2);filter:blur(24px)}
.scene-transition span{position:absolute;font-size:clamp(22px,5vw,45px);color:#f4b1ce;text-shadow:0 0 15px white;left:50%;top:47%}
.scene-transition span:nth-child(3){color:#a5d6f1}.scene-transition span:nth-child(4){color:#d3b8ea}.scene-transition span:nth-child(5){color:#efbc83}
.scene-transition.welcome-spark,.scene-transition.vote-burst{animation:transitionVisible 1.1s ease-out both}
.scene-transition.welcome-spark .transition-halo,.scene-transition.vote-burst .transition-halo{animation:haloReveal 1s ease-out both}
.scene-transition.welcome-spark span,.scene-transition.vote-burst span{animation:starBurst 1.12s ease-out both}
.scene-transition span:nth-child(2){--dx:-35vw;--dy:-35vh;animation-delay:.02s!important}
.scene-transition span:nth-child(3){--dx:37vw;--dy:-27vh;animation-delay:.09s!important}
.scene-transition span:nth-child(4){--dx:-28vw;--dy:30vh;animation-delay:.13s!important}
.scene-transition span:nth-child(5){--dx:27vw;--dy:33vh;animation-delay:.04s!important}
@keyframes transitionVisible{0%{opacity:0}12%,65%{opacity:1}100%{opacity:0}}
@keyframes haloReveal{0%{opacity:.9;transform:translate(-50%,-50%) scale(.13)}100%{opacity:0;transform:translate(-50%,-50%) scale(3.2)}}
@keyframes starBurst{0%{opacity:0;transform:translate(0,0) scale(.4) rotate(0)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.7) rotate(80deg)}}
/* Opening: the belly remains dominant, but the transition is a soft nursery-light bloom */
.opening{background:radial-gradient(ellipse at 45% 43%,#fffaf4,#ffebdf 48%,#e8ebff 100%)}
.opening-head h1{font-size:clamp(44px,9vw,75px)}
.opening-head p{max-width:300px;margin-inline:auto;color:#85738e}
.opening.pop{animation:openingSky 1.65s cubic-bezier(.2,.72,.2,1) both}
.opening.pop .belly-button{animation:bellyCinematic 1.6s cubic-bezier(.19,.73,.15,1) both}
.opening.pop .baby-inside{animation:babyHello 1.55s ease-in-out both}
.opening.pop .opening-head{animation:openingHeadFade 1.1s ease-out both}
@keyframes openingSky{0%,42%{filter:brightness(1)}77%{filter:brightness(1.12)}100%{filter:brightness(1.04)}}
@keyframes bellyCinematic{0%{transform:scale(1)}23%{transform:scale(.975)}48%{transform:scale(1.026)}75%{transform:scale(1.018);opacity:1;filter:drop-shadow(0 20px 24px #efa1bc66)}100%{transform:scale(1.07);opacity:0;filter:blur(19px)}}
@keyframes babyHello{0%{transform:scale(1)}35%{transform:scale(1.07)}65%{transform:scale(1.16)}100%{transform:scale(1.4);opacity:0}}
@keyframes openingHeadFade{0%,65%{opacity:1}100%{opacity:0;transform:translateY(-15px)}}
/* New first slide: physical-looking booties floating on cloud with parallax */
.intro{background:#fff6ee}
.intro::before{background:radial-gradient(circle at 22% 22%,#cdeafb 0%,transparent 42%),radial-gradient(circle at 78% 74%,#ffe0e7 0%,transparent 46%),#fff8f1}
.intro-content{padding-top:4vh}
.intro-title{font-size:clamp(38px,9.5vw,65px)!important;margin:15px auto 12px!important;max-width:530px}
.intro-title .scribble{font-size:.82em;line-height:1.12;transform:rotate(-2deg)}
.screen p.intro-message{font-size:clamp(17px,4vw,21px);max-width:360px;margin:0 auto}
.baby-showcase{width:min(78vw,355px);height:min(31dvh,270px);min-height:173px;margin:6px auto 4px;position:relative;display:grid;place-items:center;transform-style:preserve-3d;animation:showcaseFloat 5s ease-in-out infinite}
.baby-halo{position:absolute;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fffefb,#fff1dabe 60%,#ffbdcd44 100%);box-shadow:inset -10px -13px 30px #ffc9d344,0 25px 50px #cab3c346;transform:translateY(-5px)}
.booties{width:85%;height:100%;position:relative;z-index:3;filter:drop-shadow(0 13px 10px #aa8fa43c);transform:rotate(-4deg)}
.showcase-cloud{position:absolute;width:68%;height:28%;background:#fff;border-radius:90px;box-shadow:0 12px 22px #b3aac02a}
.showcase-cloud:before,.showcase-cloud:after{content:'';position:absolute;border-radius:50%;background:inherit}
.showcase-cloud:before{width:43%;height:150%;left:18%;bottom:20%}
.showcase-cloud:after{width:35%;height:130%;right:18%;bottom:21%}
.cloud-back{top:35%;transform:scale(1.14);opacity:.66}
.cloud-front{bottom:8%;width:79%;z-index:4;height:18%;background:#fffdf6}
.showcase-label{position:absolute;bottom:3%;z-index:6;font:600 12px 'Fredoka',sans-serif;color:#bb89a6;letter-spacing:.02em}
.showcase-star{position:absolute;font-size:29px;color:#e8c37d;z-index:6;animation:float 3s infinite ease-in-out}
.showcase-star.s1{top:15%;left:7%}.showcase-star.s2{top:22%;right:5%;color:#a5cce6;animation-delay:-1s}.showcase-star.s3{bottom:17%;right:3%;font-size:24px;color:#e79ac0;animation-delay:-2s}
.ambient-orb{position:absolute;width:clamp(85px,20vw,200px);aspect-ratio:1;border-radius:50%;filter:blur(14px);opacity:.42;pointer-events:none;transition:transform 1.3s ease}
.orb-blue{left:-9%;bottom:9%;background:#b7e7f5;transform:translateY(calc(var(--scene-offset,0) * -45px))}
.orb-pink{right:-10%;top:15%;background:#fbc9d7;transform:translateY(calc(var(--scene-offset,0) * 50px))}
@keyframes showcaseFloat{50%{transform:translateY(-9px) rotate(1deg)}}
.screen .swipe-cue{margin:14px 0 0;font:800 9px 'DM Sans';letter-spacing:.2em;color:#b69eae}
.swipe-cue span{display:inline-block;font-size:18px;vertical-align:middle;animation:float 2.4s ease-in-out infinite}
/* Updated controls have depth and a satisfying tap response */
.pill-button,.team,.rsvp-actions button{transition:transform .28s cubic-bezier(.2,.9,.2,1),box-shadow .28s ease,filter .28s ease}
.pill-button:active,.team:active,.rsvp-actions button:active{transform:translateY(3px) scale(.97);filter:brightness(1.05)}
.team{background-image:linear-gradient(145deg,#ffffff80,transparent 60%);box-shadow:0 13px 0 #fff9,0 22px 38px #baa5c143}
.team.selected{box-shadow:0 4px 0 #fff9,0 12px 30px #b19abd6b}
.team-toy{animation:showcaseFloat 4.3s ease-in-out infinite}
@media(max-width:480px){.intro-content{padding-top:0}.intro-title{font-size:clamp(35px,9vw,50px)!important}.baby-showcase{height:min(29dvh,225px);width:min(75vw,300px);min-height:155px}.screen.intro .subline{font-size:13px;line-height:1.55;max-width:300px;margin:8px auto}.intro .pill-button{margin-top:13px;padding:15px 21px}.opening-head h1{font-size:clamp(43px,11vw,55px)}.opening-head p{font-size:15px}.scene-progress{height:3px}}
@media(max-height:700px){.intro-title{margin:5px auto!important}.baby-showcase{min-height:125px;height:25dvh}.screen .swipe-cue{margin:4px auto}}
@media(prefers-reduced-motion:reduce){html{scroll-snap-type:none!important}.screen .content.reveal:not(.visible){filter:none;transform:none}.scene-transition{display:none}.baby-showcase{animation:none}}
