@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Tamil:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,500&display=swap');
:root{--ink:#55372c;--gold:#a17a37;--cream:#fffaf1;--rose:#a15568;--p:0;--entry:0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Noto Serif Tamil',Georgia,serif;line-height:1.9;overflow-x:clip}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #9b5b40;outline-offset:6px}h1,h2,h3,h4,p{margin:0}h1,h2{font-weight:500;line-height:1.65;letter-spacing:-.025em}h2{font-size:clamp(25px,3vw,46px)}em{font-style:normal;color:var(--rose)}.overline{font-size:13px;letter-spacing:.07em;color:#846331;margin-bottom:20px}.gold-button{display:inline-block;background:#765930;color:#fff9e7;border:1px solid #a68851;padding:14px 25px;text-decoration:none;font-size:14px;border-radius:3px;box-shadow:0 8px 25px #7659301a;transition:background .3s,transform .3s}.gold-button:hover{background:#5e482d;transform:translateY(-2px)}.reading-progress{position:fixed;top:0;left:0;width:100%;height:3px;z-index:100;background:#dfcdb21a}.reading-progress span{display:block;width:100%;height:100%;background:#b58b4e;transform:scaleX(0);transform-origin:left}.motion{position:fixed;right:12px;top:14px;z-index:80;background:#fffaf1ed;border:1px solid #d9c8ac;color:#755132;border-radius:24px;padding:8px 12px;font-size:12px}.opening{height:100svh;min-height:680px;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 20%,#fffdf7,#ead4bb);position:relative;overflow:hidden;perspective:1800px;transition:height 1.8s .4s,min-height 1.8s .4s}.cover-card{height:100%;max-height:1000px;aspect-ratio:9/16;max-width:100%;position:relative;transform-origin:left center;box-shadow:20px 20px 80px #72542f24;transition:transform 1.8s cubic-bezier(.3,0,.2,1),opacity 1.2s .4s}.cover-image{width:100%;height:100%;object-fit:cover}.cover-type{position:absolute;inset:29% 13% 12%;text-align:center;display:flex;flex-direction:column;align-items:center;gap:17px}.cover-type h1{font-size:clamp(27px,4vw,43px)}.cover-name{font-size:21px}.cover-type .overline{margin:0}.date{font:20px Georgia;letter-spacing:.22em}.cover-type small{font-size:12px}.cover-type .gold-button{margin-top:13px}.opened .cover-card{transform:rotateY(-100deg) scale(1.06);opacity:0}.opening.opened{height:0;min-height:0}.chapter{position:relative;height:185svh;--p:0;--entry:0}.stage{height:100svh;min-height:700px;position:sticky;top:0;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 50% 48%,#fffdf8 0%,var(--scene-bg,#f5e8d8) 100%)}.stage:before{content:'';position:absolute;inset:23px;border:1px solid #b79a5e30;pointer-events:none;z-index:5}.stage:after{content:'';position:absolute;inset:30px;border:1px solid #b79a5e18;pointer-events:none;z-index:5}.chapter-copy{text-align:center;position:relative;z-index:4;padding:62px 25px 0;max-width:940px;transform:translateY(calc((1 - var(--entry))*35px));opacity:calc(.2 + var(--entry)*.8);flex-shrink:0}.chapter-copy>p:not(.overline){font-size:16px;margin-top:20px;line-height:2}.art{width:min(650px,94vw);height:49svh;min-height:300px;position:relative;flex-shrink:0;margin:15px auto 0;transform:translateY(calc((1 - var(--entry))*70px)) scale(calc(.85 + var(--entry)*.15));opacity:var(--entry)}.scene-number{position:absolute;bottom:28px;right:42px;font:12px Georgia;letter-spacing:.2em;color:#8f7453}.scroll-cue{position:absolute;bottom:24px;left:40px;font-size:12px;color:#8d765e}.sprite{display:block;background-image:url('assets/objects.png');background-size:400% 300%;background-repeat:no-repeat;width:180px;height:180px;position:absolute;filter:drop-shadow(0 14px 12px #69513216)}.bangles{background-position:0 0}.lamp{background-position:33.333% 0}.cradle{background-position:66.666% 0}.garland{background-position:100% 0}.booties{background-position:0 50%}.dress{background-position:33.333% 50%}.bonnet{background-position:66.666% 50%}.rattle{background-position:100% 50%}.teddy{background-position:0 100%}.elephant{background-position:33.333% 100%}.horse{background-position:66.666% 100%}.mobile{background-position:100% 100%}.bangle-world{--scene-bg:#f9e5d8}.orbit-line{position:absolute;border:1px solid #bd995347;border-radius:50%;width:340px;height:340px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(calc(var(--p)*80deg));outline:10px double #bd995317}.orbit-center{position:absolute;inset:28% 0;text-align:center;line-height:1.5;font-size:23px;color:#8f6245}.orbit-center b{font:italic 40px Georgia;color:#b49c73}.orbit{width:190px;height:190px;animation:bangle-rotate 18s ease-in-out infinite alternate}.o1{left:10%;top:2%}.o2{right:8%;top:15%;animation-delay:-6s}.o3{left:34%;bottom:-6%;animation-delay:-12s}.wreath{width:170px;height:170px;left:38%;top:-8%;animation:float 6s ease-in-out infinite}.swing-world{--scene-bg:#f0edda}.swing-world .stage{padding:30px 0 0}.swing-world .chapter-copy{padding-top:30px}.swing-art{width:min(680px,100%);height:66svh;margin-top:10px;min-height:400px;max-height:780px}.swing-image{width:100%;height:100%;object-fit:contain;transform-origin:50% 5%;animation:sway 7s ease-in-out infinite;mask-image:linear-gradient(#000 88%,transparent)}.garland-left,.garland-right{width:155px;height:220px;top:12%;animation:sway 6s ease-in-out infinite;opacity:.8}.garland-left{left:-5%}.garland-right{right:-5%;animation-delay:-3s}.ceremony-world{--scene-bg:#f8edcf}.main-lamp{height:360px;width:360px;left:50%;top:0;transform:translateX(-50%);z-index:2}.lamp-light{position:absolute;width:130px;height:130px;left:calc(50% - 65px);top:15px;background:radial-gradient(#ffcb6866,transparent 70%);animation:glow 3s ease-in-out infinite;mix-blend-mode:multiply}.kolam{position:absolute;width:260px;height:130px;left:calc(50% - 130px);bottom:6%;border:4px double #b9986c65;border-radius:50%;outline:2px dashed #b9986c45;transform:scale(var(--entry)) rotate(calc(var(--p)*40deg));opacity:var(--entry)}.offering{width:140px;height:140px;bottom:2%}.offer1{left:7%;transform:translateX(calc((1 - var(--entry))*-170px))}.offer2{right:7%;transform:translateX(calc((1 - var(--entry))*170px))}.offer3{left:40%;bottom:-10%;opacity:clamp(0,calc((var(--p) - .3)*4),1)}.blessing-world{--scene-bg:#f8e8e5}.baby-item{width:165px;height:165px;animation:float 7s ease-in-out infinite}.baby1{left:4%;top:5%}.baby2{right:3%;top:0;animation-delay:-2s}.baby3{left:6%;bottom:0;animation-delay:-4s}.baby4{right:5%;bottom:3%;animation-delay:-1s}.baby5{left:38%;top:25%;width:140px;height:140px}.foot{position:absolute;font-size:31px;filter:sepia(1);opacity:clamp(0,calc((var(--p) - var(--step))*5),.6);transform:rotate(-20deg)}.f1{left:38%;bottom:3%;--step:.08}.f2{left:46%;bottom:26%;--step:.2}.f3{left:39%;bottom:49%;--step:.32}.f4{left:47%;bottom:70%;--step:.44}.toy-world{--scene-bg:#eaf0df}.toy-art{height:55svh}.hanging-mobile{top:-7%;left:35%;width:220px;height:220px;animation:sway 7s ease-in-out infinite}.toy{width:210px;height:210px}.toy1{left:4%;top:30%;transform:translateX(calc((1 - var(--entry))*-240px)) rotate(calc((1 - var(--entry))*-24deg))}.toy2{right:2%;top:35%;transform:translateX(calc((1 - var(--entry))*240px))}.toy3{left:30%;bottom:-8%;animation:rock 5s ease-in-out infinite}.toy4{right:3%;top:-1%;width:140px;height:140px;animation:float 8s infinite}.cradle-world{--scene-bg:#f5e5d7}.main-cradle{width:480px;height:480px;left:calc(50% - 240px);bottom:-13%;transform-origin:50% 20%;animation:rock 6s ease-in-out infinite}.cradle-mobile{width:180px;height:180px;left:calc(50% - 90px);top:-15%;animation:sway 8s ease-in-out infinite}.cradle-flowers{width:145px;height:145px;left:2%;bottom:0;animation:float 7s infinite}.event-world{height:155svh;--scene-bg:#f4e0ce}.event-layout{text-align:center;padding:50px 28px;max-width:660px;z-index:3}.event-bangles{position:relative;width:110px;height:110px;margin:0 auto 5px}.event-layout .overline{margin-bottom:10px}.event-layout h3{font-size:27px;color:#9b5262;font-weight:500;margin:6px 0 15px}.event-date{display:flex;flex-direction:column;line-height:1.5}.event-date strong{font:80px 'Cormorant Garamond',Georgia;color:#a47b40}.event-date span{font-size:14px;letter-spacing:.04em}.event-time{margin:18px 0;font-size:17px}.venue h4{font:32px 'Cormorant Garamond',Georgia}.venue p{font:17px/1.6 Georgia;margin:10px 0 23px}.gift-world{height:150svh;--scene-bg:#f4e4e7}.gift-copy{position:relative;z-index:2;text-align:center;padding:20px 35px;max-width:820px}.gift-copy blockquote{font-size:clamp(23px,3vw,36px);line-height:2;margin:0}.gift-copy em{display:block;margin-top:25px}.gift-garland{width:300px;height:300px;top:0;left:calc(50% - 150px);opacity:.65;animation:sway 9s infinite}.gift-bangles{width:180px;height:180px;bottom:3%;left:calc(50% - 90px);animation:bangle-rotate 18s infinite alternate}.finale-world{height:180svh;--scene-bg:#f7e6ce}.signature{font-size:23px!important;color:#9b5262}.finale-cradle{width:350px;height:350px;left:calc(50% - 175px);bottom:-3%;animation:rock 7s infinite}.finale-lamp{width:180px;height:240px;left:0;bottom:0}.finale-bangles{width:150px;height:150px;right:0;bottom:0;animation:float 7s infinite}.finale-garland{width:220px;height:220px;left:calc(50% - 110px);top:-9%;animation:sway 9s infinite}footer{text-align:center;padding:60px 25px 80px;background:#fffaf0;border-top:1px solid #d9c6a333;font:15px/1.8 Georgia}footer img{width:150px;height:auto}footer p{margin:10px 0 24px}footer nav{display:flex;flex-wrap:wrap;gap:14px 25px;justify-content:center}footer a{color:#804353;text-decoration:none}#petals{position:fixed;inset:0;z-index:60;pointer-events:none;overflow:hidden}.petal{position:absolute;width:22px;top:-40px;opacity:0;animation:petal-fall var(--duration) linear var(--delay) infinite;pointer-events:none}@keyframes petal-fall{10%{opacity:.55}100%{transform:translate3d(60px,110vh,0) rotate(310deg);opacity:0}}@keyframes sway{0%,100%{transform:rotate(-1.6deg)}50%{transform:rotate(1.6deg)}}@keyframes rock{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes float{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-18px) rotate(5deg)}}@keyframes bangle-rotate{from{transform:rotate(-18deg)}to{transform:rotate(30deg)}}@keyframes glow{50%{opacity:.4;transform:scale(.85)}}
@media(min-width:1000px){.stage{flex-direction:row;padding:50px 7%;gap:20px}.chapter-copy{width:48%;padding:0;text-align:left}.chapter-copy h2{font-size:clamp(32px,3.4vw,54px)}.art{width:48%;height:65svh;margin:0;min-height:430px}.swing-world .stage{padding:30px 6%}.swing-world .chapter-copy{padding:0}.swing-art{height:90svh}.main-lamp{width:430px;height:430px;top:15%}.main-cradle{width:560px;height:560px;left:calc(50% - 280px);bottom:0}.bangle-orbit .orbit-line{width:420px;height:420px}.o1{top:12%}.o2{top:30%}.o3{bottom:0}.wreath{top:5%}.gift-world .stage,.event-world .stage{flex-direction:column}.finale-cradle{width:460px;height:460px;left:calc(50% - 230px)}.finale-lamp{width:220px;height:300px}.finale-bangles{width:200px;height:200px}.finale-garland{top:0}}
@media(max-width:480px){.stage{min-height:690px}.opening{min-height:660px}.cover-type{inset:28% 10% 8%;gap:14px}.cover-name{font-size:19px}.chapter-copy{padding-top:50px}.chapter-copy h2{font-size:25px}.chapter-copy>p:not(.overline){font-size:14px}.overline{font-size:12px;margin-bottom:15px}.art{height:45svh;min-height:320px;width:96%}.stage:before{inset:12px}.stage:after{inset:18px}.orbit-line{width:270px;height:270px}.orbit{width:145px;height:145px}.o1{left:3%}.o2{right:0}.o3{left:32%;bottom:-2%}.wreath{width:125px;height:125px;left:35%}.orbit-center{font-size:20px}.swing-art{height:58svh;min-height:390px}.garland-left,.garland-right{width:110px;height:155px}.main-lamp{width:300px;height:300px;top:0}.baby-item{width:125px;height:125px}.baby5{width:100px;height:100px}.toy{width:150px;height:150px}.hanging-mobile{width:160px;height:160px;left:30%}.toy4{width:100px;height:100px}.main-cradle{width:360px;height:360px;left:calc(50% - 180px);bottom:-8%}.cradle-mobile{width:130px;height:130px;left:calc(50% - 65px);top:-8%}.cradle-flowers{width:100px;height:100px}.event-layout{padding:40px 24px}.event-bangles{width:85px;height:85px}.event-layout h3{font-size:24px}.event-date strong{font-size:65px}.event-time{font-size:15px;margin:14px 0}.event-layout .overline{font-size:11px}.gift-copy{padding:25px}.gift-copy blockquote{font-size:23px}.gift-garland{width:220px;height:220px;left:calc(50% - 110px)}.finale-cradle{width:285px;height:285px;left:calc(50% - 142px)}.finale-lamp{width:130px;height:190px}.finale-bangles{width:110px;height:110px}.scene-number{bottom:22px;right:24px;font-size:11px}.scroll-cue{left:24px;font-size:11px}.motion{font-size:11px;padding:7px 10px}}
@media(max-height:700px){.stage{position:relative;height:auto;min-height:100svh;padding-bottom:45px}.chapter{height:auto;min-height:110svh}.chapter-copy{padding-top:55px}.art{margin-top:20px}.event-layout{padding-top:55px}}
.motion-off *, .motion-off *:before,.motion-off *:after{animation:none!important;transition:none!important}.motion-off .chapter{height:auto;min-height:100svh}.motion-off .stage{position:relative}.motion-off .chapter-copy,.motion-off .art{opacity:1;transform:none}.motion-off #petals{display:none}.motion-off .foot{opacity:.5}.motion-off .offering,.motion-off .toy{transform:none;opacity:1}.motion-off .opening.opened{height:0;min-height:0}
/* Scroll choreography acts separately from each object's gentle idle movement. */
.o1{translate:calc((1 - clamp(0,calc(var(--p)*3),1))*-180px) calc((1 - clamp(0,calc(var(--p)*3),1))*-70px)}
.o2{translate:calc((1 - clamp(0,calc(var(--p)*3),1))*180px) calc((1 - clamp(0,calc(var(--p)*3),1))*-40px)}
.o3{translate:0 calc((1 - clamp(0,calc(var(--p)*3),1))*120px)}
.offer1{translate:calc((1 - clamp(0,calc(var(--p)*4),1))*-120px) 0}.offer2{translate:calc((1 - clamp(0,calc((var(--p) - .15)*4),1))*120px) 0}.offer3{translate:0 calc((1 - clamp(0,calc((var(--p) - .3)*4),1))*100px)}
.toy1{translate:calc((1 - clamp(0,calc(var(--p)*3),1))*-190px) 0}.toy2{translate:calc((1 - clamp(0,calc(var(--p)*3),1))*190px) 0}.toy3{translate:0 calc((1 - clamp(0,calc(var(--p)*3),1))*95px)}
.main-cradle{translate:0 calc((1 - clamp(0,calc(var(--p)*3),1))*60px)}
.motion-off .sprite{translate:none!important}.motion-off .kolam{transform:scale(1);opacity:1}

/* Touch-first cover and readable portrait scenes. */
.opening{min-height:0;height:100svh;perspective:1600px}
.cover-card{max-height:none;transition:transform 1.65s cubic-bezier(.22,.61,.36,1),opacity 1.4s .2s;transform-origin:0 50%}
.opened .cover-card{transform:rotateY(-105deg) translateZ(70px);opacity:0}
.opening.opened{height:0;min-height:0}
#open{touch-action:manipulation;min-height:52px;min-width:190px}
.cover-type small{font-size:13px}
@media(max-width:768px){
 .opening{background:#f5e5cf;overflow:hidden}
 .cover-card{height:100%;width:100%;max-width:560px;aspect-ratio:auto}
 .cover-image{object-fit:cover}
 .cover-type{inset:25% 10% 14%;gap:13px;justify-content:center}
 .cover-type h1{font-size:clamp(26px,7.5vw,38px);line-height:1.65}
 .cover-type .overline{font-size:13px}
 .cover-type .cover-name{font-size:20px}
 .cover-type .gold-button{margin-top:10px;font-size:14px}
 .chapter{height:auto;min-height:0}
 .stage{position:relative;height:auto;min-height:100svh;padding:65px 22px 55px;display:flex;flex-direction:column;overflow:hidden}
 .chapter-copy{width:100%;padding:0;opacity:1;transform:none}
 .chapter-copy h2{font-size:clamp(24px,6.3vw,32px);line-height:1.8}
 .chapter-copy>p:not(.overline){font-size:16px;line-height:2}
 .overline{font-size:13px;line-height:1.9;margin-bottom:16px}
 .art{width:100%;height:330px;min-height:0;margin:25px 0 0;opacity:1;transform:none}
 .swing-world .stage{padding:65px 18px 50px}
 .swing-world .chapter-copy{padding:0}
 .swing-art{height:auto;min-height:0;width:100%;margin-top:25px}
 .swing-image{display:block;height:auto;width:100%;border-radius:140px 140px 8px 8px}
 .event-world .stage{padding:55px 18px}
 .event-layout{padding:0;width:100%}
 .event-layout h2{font-size:30px}
 .event-layout h3{font-size:25px}
 .event-layout .overline{font-size:13px}
 .event-time{font-size:17px;line-height:2}
 .venue p{font-size:17px;overflow-wrap:anywhere}
 .gift-world .stage{min-height:75svh}
 .gift-copy{padding:35px 3px}
 .gift-copy blockquote{font-size:24px;line-height:2.1}
 .gift-bangles{position:relative;bottom:auto;left:auto;width:135px;height:135px;margin:10px auto}
 .finale-art{height:290px}
 .motion{font-size:12px;top:10px;right:10px}
 footer{padding:35px 20px 50px}
 footer nav{flex-direction:column;gap:15px}
 footer a{font-size:16px}
}
@media(max-width:768px) and (max-height:650px){.cover-type{inset:15% 10% 9%;gap:8px}.cover-type h1{font-size:25px}.cover-type .overline{margin:0}.cover-type .cover-name{font-size:18px}.cover-type .gold-button{padding:10px 18px}}

/* 9:16 portrait cover: the baby is the single opening control. */
html.cover-active{overflow:hidden;overscroll-behavior:none}
.cover-active body{position:fixed;inset:0;width:100%;overflow:hidden}
.opening.baby-opening{height:100vh;height:100svh;min-height:0;padding:0;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#fff8e5,#f2d8ab);perspective:none;transition:none}
.cover-active .baby-opening{position:fixed;inset:0;z-index:90}
.baby-opening[hidden]{display:none!important}
.portrait-cover{position:relative;width:min(100vw,56.25vh,540px);width:min(100vw,56.25svh,540px);aspect-ratio:9/16;isolation:isolate;perspective:1800px;box-shadow:0 18px 100px #8d501b35;container-type:inline-size}
.cover-leaf{position:absolute;top:0;width:50%;height:100%;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform 1.65s cubic-bezier(.3,.02,.2,1),opacity 1.5s .15s;z-index:1;will-change:transform}
.cover-leaf img{position:absolute;top:0;width:200%;max-width:none;height:100%;object-fit:cover;pointer-events:none;user-select:none}
.leaf-left{left:0;transform-origin:0 50%}.leaf-left img{left:0}
.leaf-right{right:0;transform-origin:100% 50%}.leaf-right img{right:0}
.baby-cover-copy{position:absolute;z-index:3;top:27%;left:6%;right:6%;text-align:center;color:#713e20;pointer-events:none;transition:opacity .55s,transform .8s}
.baby-cover-copy>p:first-child{font-size:14px;font-size:3.7cqw;line-height:1.8}
.baby-cover-copy h1{font-size:25px;font-size:6.3cqw;line-height:1.8;letter-spacing:0;font-weight:600;margin:5px 0;color:#874017}
.baby-cover-occasion{font-size:14px;font-size:3.7cqw;line-height:1.8}
.baby-cover-occasion span{display:inline-block;font:12px/1.8 Georgia,serif;letter-spacing:.05em;margin-left:9px}
#open.baby-open{position:absolute;z-index:4;left:21%;top:43%;width:58%;min-width:0;min-height:0;padding:0;border:0;border-radius:30px;background:transparent;color:#6d371b;box-shadow:none;display:flex;flex-direction:column;align-items:center;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:opacity .65s,transform .9s;cursor:pointer}
.baby-art{position:absolute;z-index:3;left:21%;top:43%;width:58%;mix-blend-mode:multiply;pointer-events:none;transition:opacity .65s,transform .9s}
.baby-hit-area{display:block;width:100%;aspect-ratio:1.16;flex-shrink:0}
.baby-float{display:block;width:100%;aspect-ratio:1.16;animation:baby-breathe 5s ease-in-out infinite;pointer-events:none}
.baby-rocker{display:block;position:relative;width:100%;height:100%;overflow:hidden;transform-origin:50% 88%;animation:baby-rock 4.8s ease-in-out infinite}
/* Keep the supplied baby's original pixels. Framing removes empty margins;
   display blending integrates its light gray background with the paper. */
.baby-cradle{display:block;position:absolute;top:-59%;left:0;width:100%;height:auto;max-width:none;filter:brightness(1.115);user-select:none;-webkit-user-drag:none}
.baby-touch-cta{display:flex;align-items:center;justify-content:center;gap:10px;width:82cqw;max-width:440px;min-height:64px;padding:11px 15px;margin-top:3px;border:2px solid #b87931;border-radius:18px;background:#fff9ef;color:#592b12;box-shadow:0 7px 25px #8d501b30;font-size:clamp(14px,3.8cqw,19px);font-weight:600;line-height:1.9;pointer-events:none;opacity:1}
.tap-ring{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid #b7884c;border-radius:50%;color:#754018;background:#f5e4c7;font:18px Georgia;animation:touch-glow 2.8s ease-in-out infinite}
.baby-open:focus-visible{outline:3px solid #8a471d;outline-offset:7px}.baby-open:active .baby-float{scale:.96}.baby-open:disabled{cursor:default}
.is-opening .leaf-left{transform:rotateY(-110deg);opacity:0}.is-opening .leaf-right{transform:rotateY(110deg);opacity:0}
.is-opening .baby-cover-copy{opacity:0;transform:translateY(-15px)}
.is-opening #open.baby-open,.is-opening .baby-art{opacity:0;transform:scale(1.14);pointer-events:none}
.opening.baby-opening.is-opening{animation:opening-vanish 1.85s ease forwards;pointer-events:auto}.is-opening .portrait-cover{box-shadow:none}
.cover-active #motion,.cover-active .reading-progress{visibility:hidden}
.cover-active #petals{z-index:95;opacity:.48}
.page-asleep .baby-rocker,.page-asleep .baby-float,.page-asleep .tap-ring{animation-play-state:paused}
.opening-fallback{position:absolute;bottom:8px;left:10px;right:10px;text-align:center;font-size:14px;background:#fff5df}
@keyframes baby-rock{0%,100%{transform:rotate(-2.4deg)}50%{transform:rotate(2.4deg)}}
@keyframes baby-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes touch-glow{0%,100%{box-shadow:0 0 0 0 #b7884c26}60%{box-shadow:0 0 0 7px #b7884c00}}
@keyframes opening-vanish{0%,45%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.baby-rocker,.baby-float,.tap-ring{animation:none}.cover-leaf{transition:none}}
@media(max-height:480px) and (orientation:landscape){.portrait-cover{width:270px;max-width:100vw}.opening.baby-opening{overflow-y:auto;align-items:start}.baby-cover-copy>p:first-child,.baby-cover-occasion{font-size:12px}.baby-touch-cta{font-size:14px}}
