/* Motion is a second layer on the existing native storybook. */
html{scrollbar-gutter:stable}.title-line{display:block}.replay-opening{font-size:.78rem;gap:8px;margin-top:14px;color:#776477}.replay-opening>span{font-size:1.25rem;line-height:1}.motion-toggle{position:fixed;bottom:18px;left:18px;z-index:45;display:flex;align-items:center;gap:9px;padding:10px 15px;min-height:42px;border:1px solid #bfaebd;border-radius:30px;background:#fffdf9e8;backdrop-filter:blur(8px);box-shadow:0 3px 12px #51495b09;font-size:.75rem}.motion-toggle:hover{background:var(--pink-soft)}.motion-control-icon{width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}.motion-toggle[aria-pressed="true"] .motion-control-icon{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid currentColor;border-right:0}.hero .replay-opening{position:relative;z-index:3}
.motion-enabled .hero-scene{animation:none}.motion-enabled .hero .bunny,.motion-enabled .chapter-art .truck,.motion-enabled .chapter-art .sound-lines{animation:none}.motion-enabled .hero-art{translate:0 calc(var(--cover-scroll,0px)*-.45)}.motion-enabled .hero-postcard{--card-y:calc(var(--cover-scroll,0px)*.3)}.motion-enabled .hero .motion-piece,.motion-enabled .chapter-art .motion-piece{transform-box:fill-box;transform-origin:center bottom}.motion-enabled .hero .flower-piece{transform-origin:center bottom}.motion-enabled .hero .bag-piece{transform-origin:50% 0}.motion-enabled .hero .store-piece{transform-origin:center bottom}.motion-enabled .hero .star-piece{transform-origin:center}.motion-enabled .hero .cloud-piece{transform-origin:center}.motion-enabled .hero .letter-piece{transform-origin:center}.motion-enabled .hero.is-opening .hero-copy>.eyebrow{animation:copy-rise .7s .08s both}.motion-enabled .hero.is-opening .title-line:first-child{animation:title-unfold 1s .2s both}.motion-enabled .hero.is-opening .title-line:nth-child(2){animation:title-unfold 1s .4s both}.motion-enabled .hero.is-opening h1 em:after{animation:underline-grow .9s 1.1s both;transform-origin:left}.motion-enabled .hero.is-opening .byline{animation:copy-rise .8s .65s both}.motion-enabled .hero.is-opening .hero-description{animation:copy-rise .8s .8s both}.motion-enabled .hero.is-opening .hero-actions{animation:copy-rise .85s 1s both}.motion-enabled .hero.is-opening .scroll-note,.motion-enabled .hero.is-opening .replay-opening{animation:copy-rise .8s 1.25s both}.motion-enabled .hero.is-opening .hero-postcard{animation:postcard-arrive 1.1s .55s both}.motion-enabled .hero.is-opening .hero-art-note{animation:copy-rise .8s 2s both}.motion-enabled .hero.is-opening .store-piece{animation:shop-build 1.2s .55s both}.motion-enabled .hero.is-opening .bunny-piece{animation:bunny-arrive 1.1s 1.2s both}.motion-enabled .hero.is-opening .bag-piece{animation:bag-arrive 1.1s .95s both}.motion-enabled .hero.is-opening .flower-piece{animation:flower-grow .95s calc(1.1s + var(--piece-order,0)*.035s) both}.motion-enabled .hero.is-opening .cloud-piece{animation:cloud-arrive 1.3s .25s both}.motion-enabled .hero.is-opening .cloud-piece:nth-child(2){animation-delay:.5s}.motion-enabled .hero.is-opening .star-piece{animation:spark-arrive .8s calc(1.2s + var(--piece-order,0)*.04s) both}.motion-enabled .hero.is-opening .letter-piece{animation:letter-arrive 1.2s 1.5s both}.motion-enabled .hero.is-opening .tag-piece{animation:tag-arrive 1s 1.1s both}.motion-enabled .hero.is-opening .draw-in{stroke-dasharray:var(--path-length);animation:ink-draw 1.2s 1s backwards}
/* Loops use independent wrappers, so their movement doesn't replace the SVG placement. */
.motion-enabled :is(.hero,.chapter-art) .sky-drift{animation:sky-wander 7s ease-in-out infinite alternate}.motion-enabled :is(.hero,.chapter-art) .cloud-piece:nth-child(2) .sky-drift{animation-duration:9s;animation-direction:alternate-reverse}.motion-enabled :is(.hero,.chapter-art) .bag-swing{transform-box:fill-box;transform-origin:50% 0;animation:bag-happy 4.2s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .flower-sway{transform-box:fill-box;transform-origin:center bottom;animation:flower-dance 3.8s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .flower-piece:nth-of-type(even) .flower-sway{animation-delay:-1.6s;animation-duration:4.5s}.motion-enabled :is(.hero,.chapter-art) .flower-petals{transform-box:fill-box;transform-origin:center;animation:petals-turn 9s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .bunny-bounce{transform-box:fill-box;transform-origin:center bottom;animation:bunny-hop 4.8s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .bunny-ear{transform-box:fill-box;transform-origin:center bottom;animation:ear-listen 4.8s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .ear-right{animation-delay:-.2s;animation-direction:reverse}.motion-enabled :is(.hero,.chapter-art) .bunny-wave{transform-box:fill-box;transform-origin:0 70%;animation:bunny-wave 4.8s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .little-eyes{transform-box:fill-box;transform-origin:center;animation:little-blink 4.8s infinite}.motion-enabled :is(.hero,.chapter-art) .star-twinkle{transform-box:fill-box;transform-origin:center;animation:star-shimmer 3.6s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .star-piece:nth-of-type(even) .star-twinkle{animation-delay:-1.8s}.motion-enabled .hero .letter-drift{transform-box:fill-box;transform-origin:center;animation:letter-float 5.8s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .shop-sign{transform-box:fill-box;transform-origin:50% 0;animation:sign-swing 5.5s ease-in-out infinite}.motion-enabled .hero .floating-tag{animation:tag-swing 4s ease-in-out infinite}.motion-enabled :is(.hero,.chapter-art) .shop-door{transform-box:fill-box;transform-origin:left center;animation:door-peek 8s ease-in-out infinite}.motion-enabled .chapter-art .truck-cruise{animation:truck-journey 7s ease-in-out infinite}.motion-enabled .chapter-art .wheel-spin{transform-box:fill-box;transform-origin:center;animation:wheel-roll 7s ease-in-out infinite}.motion-enabled .chapter-art .globe-rock,.motion-enabled .chapter-art .target-rock{transform-box:fill-box;transform-origin:center;animation:world-turn 8s ease-in-out infinite}.motion-enabled .chapter-art .heart-beat{transform-box:fill-box;transform-origin:center;animation:heart-love 3.5s ease-in-out infinite}.motion-enabled .chapter-art .coin-hop{transform-box:fill-box;transform-origin:center;animation:coin-bounce 4s ease-in-out infinite}.motion-enabled .chapter-art .megaphone-talk{transform-box:fill-box;transform-origin:40% 75%;animation:megaphone-cheer 3.2s ease-in-out infinite}.motion-enabled .chapter-art .sound-lines{animation:voice-ripple 1.6s ease-out infinite}.motion-enabled .chapter-art .box-wiggle,.motion-enabled .chapter-art .note-sway{transform-box:fill-box;transform-origin:center bottom;animation:box-dance 5.5s ease-in-out infinite}.motion-enabled .chapter-art .magnifier-bob{animation:look-around 5.5s ease-in-out infinite}
/* Off-screen scenes and the user's pause control genuinely stop continuous work. */
.motion-enabled :is(.hero,.chapter-art):not(.scene-live) :is(.sky-drift,.bag-swing,.flower-sway,.flower-petals,.bunny-bounce,.bunny-ear,.bunny-wave,.little-eyes,.star-twinkle,.letter-drift,.shop-sign,.shop-door,.floating-tag,.truck-cruise,.wheel-spin,.globe-rock,.target-rock,.heart-beat,.coin-hop,.megaphone-talk,.sound-lines,.box-wiggle,.note-sway,.magnifier-bob){animation-play-state:paused}
.motion-enabled .chapter-top.reveal{opacity:1;transform:none;transition:none}.motion-enabled .chapter-art:hover{transform:none}.motion-enabled .chapter-art>svg{translate:0 var(--scroll-lift,0px);rotate:var(--scroll-tilt,0deg);transition:translate .16s linear,rotate .16s linear}.motion-enabled .chapter-art:before{translate:0 calc(var(--scroll-lift,0px)*-.5);transition:translate .2s linear}.motion-enabled .chapter-art:not(.art-awake) .scene-drawing{opacity:0}.motion-enabled .chapter-art.art-awake .scene-drawing{animation:scene-arrive 1s both}.motion-enabled .chapter-art.art-awake .motion-piece{animation:piece-arrive .85s calc(.12s + min(var(--piece-order,0),10)*.055s) both}.motion-enabled .chapter-art.art-awake .bunny-piece{animation:bunny-arrive .95s .35s both}.motion-enabled .chapter-art.art-awake .store-piece{animation:shop-build 1s .15s both}.motion-enabled .chapter-art.art-awake .draw-in{stroke-dasharray:var(--path-length);animation:ink-draw 1.1s .2s backwards}.motion-enabled .chapter-copy:not(.copy-awake)>*{opacity:0}.motion-enabled .chapter-copy.copy-awake>.eyebrow{animation:copy-rise .65s .05s both}.motion-enabled .chapter-copy.copy-awake>h2{animation:chapter-title-in .9s .15s both}.motion-enabled .chapter-copy.copy-awake>.chapter-english{animation:copy-rise .8s .3s both}.motion-enabled .chapter-copy.copy-awake>.chapter-intro{animation:copy-rise .8s .43s both}.motion-enabled .chapter-copy.copy-awake>.chapter-links{animation:copy-rise .8s .55s both}.motion-enabled .map-stamp.reveal.visible{animation:stamp-land .9s calc(var(--stamp-index,0)*.055s) backwards}.motion-enabled .activity.reveal.visible .activity-header{animation:copy-rise .8s .1s backwards}.motion-enabled .activity.reveal.visible :is(.choice-button,.product-token,.audience-card){animation:choice-appear .6s calc(.12s + var(--choice-order,0)*.05s) backwards}.motion-enabled .paper-response{animation:paper-open .45s both}.motion-enabled .arrival-pending :is(.chapter-copy,.chapter-art){opacity:0!important}.motion-enabled .arrival-pending .scene-drawing{animation:none!important}.motion-enabled .arrival-pending .chapter-copy>*{animation:none!important}
/* Full viewport cloud wipe. Closing and opening are separate to cover the scroll jump. */
.chapter-curtain{position:fixed;inset:0;z-index:180;overflow:hidden;pointer-events:all;isolation:isolate}.cloud-panel{position:absolute;top:-8%;width:70%;height:116%;will-change:transform}.cloud-panel svg{width:100%;height:100%;max-width:none}.cloud-panel-left{left:0;color:#d9e9f4;transform:translateX(-110%)}.cloud-panel-right{right:0;color:#f5dce7;transform:translateX(110%)}.cloud-panel-right svg{transform:scaleX(-1)}.cloud-destination{position:absolute;left:50%;top:50%;transform:translate(-50%,-44%) scale(.95);width:min(470px,80vw);padding:30px 26px;border:1.5px dashed #ad8fa6;border-radius:24px;background:#fffdf9ed;box-shadow:8px 9px 0 #7662810a;text-align:center;opacity:0}.cloud-bow{display:block;width:60px;margin:0 auto 12px}.cloud-kicker{display:block;font-size:.7rem;letter-spacing:.17em;font-weight:600;margin-bottom:13px}.cloud-title{display:block;font:600 clamp(1.5rem,3.1vw,2.3rem)/1.2 Fraunces,Georgia,serif;letter-spacing:-.035em}.cloud-caption{display:block;font:italic 1rem Fraunces,Georgia,serif;color:#9d5577;margin-top:20px}.clouds-closing .cloud-panel-left{transform:translateX(0);transition:transform .64s cubic-bezier(.65,0,.25,1)}.clouds-closing .cloud-panel-right{transform:translateX(0);transition:transform .64s .035s cubic-bezier(.65,0,.25,1)}.clouds-closing .cloud-destination{opacity:1;transform:translate(-50%,-50%) scale(1);transition:opacity .25s .34s,transform .35s .34s}.clouds-opening .cloud-panel-left{transform:translateX(-110%);transition:transform .66s .04s cubic-bezier(.65,0,.3,1)}.clouds-opening .cloud-panel-right{transform:translateX(110%);transition:transform .66s cubic-bezier(.65,0,.3,1)}.clouds-opening .cloud-destination{opacity:0;transform:translate(-50%,-60%) scale(.96);transition:opacity .22s,transform .35s}.chapter-travelling{scroll-behavior:auto!important}.chapter-travelling body{overscroll-behavior:none}.motion-paused *,.motion-paused *:before,.motion-paused *:after{animation-play-state:paused!important}.motion-paused .hero-scene,.motion-paused .hero-postcard{translate:0 0}.motion-paused .chapter-art>svg{translate:0 0;rotate:0deg}.motion-paused .reveal,.motion-paused .chapter-copy>*,.motion-paused .scene-drawing{opacity:1!important}.motion-paused .reveal{transform:none!important}
@keyframes copy-rise{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
@keyframes title-unfold{from{opacity:0;transform:translateY(45px) rotate(3deg);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes chapter-title-in{from{opacity:0;transform:translateY(35px) rotate(-2deg);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:none;clip-path:inset(0)}}
@keyframes underline-grow{from{scale:0 1}to{scale:1 1}}
@keyframes postcard-arrive{0%{opacity:0;transform:translate(-70px,-65px) rotate(-28deg) scale(.8)}70%{opacity:1;transform:translate(0,5px) rotate(-8deg) scale(1.03)}100%{opacity:1;transform:rotate(-12deg)}}
@keyframes shop-build{0%{opacity:0;transform:translateY(75px) scale(.55,.2)}60%{opacity:1;transform:translateY(-9px) scale(1.04,1.08)}80%{transform:translateY(3px) scale(.99,.97)}100%{opacity:1;transform:none}}
@keyframes bunny-arrive{0%{opacity:0;transform:translate(90px,-90px) rotate(14deg) scale(.7)}40%{opacity:1;transform:translate(20px,-25px) rotate(-5deg) scale(1)}58%{transform:translate(0,7px) scale(1.1,.87)}76%{transform:translate(0,-20px) scale(.97,1.03)}100%{opacity:1;transform:none}}
@keyframes bag-arrive{0%{opacity:0;transform:translate(-90px,-40px) rotate(-35deg)}60%{opacity:1;transform:translate(6px,4px) rotate(12deg)}82%{transform:translate(0,-4px) rotate(-6deg)}100%{opacity:1;transform:none}}
@keyframes flower-grow{0%{opacity:0;transform:scale(.1,.05) rotate(-18deg)}68%{opacity:1;transform:scale(1.1,1.15) rotate(7deg)}100%{opacity:1;transform:none}}
@keyframes cloud-arrive{from{opacity:0;transform:translateX(110px)}to{opacity:1;transform:none}}
@keyframes spark-arrive{0%{opacity:0;transform:rotate(-120deg) scale(0)}70%{opacity:1;transform:rotate(12deg) scale(1.35)}100%{opacity:1;transform:none}}
@keyframes letter-arrive{0%{opacity:0;transform:translate(-130px,80px) rotate(-35deg)}65%{opacity:1;transform:translate(5px,-14px) rotate(9deg)}100%{opacity:1;transform:none}}
@keyframes tag-arrive{from{opacity:0;transform:translate(55px,-50px) rotate(35deg) scale(.4)}to{opacity:1;transform:none}}
@keyframes ink-draw{from{stroke-dashoffset:var(--path-length)}to{stroke-dashoffset:0}}
@keyframes sky-wander{from{transform:translate(-16px,2px)}to{transform:translate(22px,-7px)}}
@keyframes bag-happy{0%,100%{transform:rotate(-7deg) translateY(0)}50%{transform:rotate(7deg) translateY(-8px)}}
@keyframes flower-dance{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(7deg)}}
@keyframes petals-turn{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(17deg)}}
@keyframes bunny-hop{0%,28%,62%,100%{transform:translateY(0) scale(1)}34%{transform:translateY(3px) scale(1.04,.95)}42%{transform:translateY(-14px) scale(.98,1.03)}51%{transform:translateY(2px) scale(1.03,.97)}}
@keyframes ear-listen{0%,15%,48%,100%{transform:rotate(0)}22%{transform:rotate(-12deg)}30%{transform:rotate(8deg)}38%{transform:rotate(-5deg)}}
@keyframes bunny-wave{0%,50%,100%{transform:rotate(0)}58%,76%{transform:rotate(-24deg)}67%,85%{transform:rotate(8deg)}}
@keyframes little-blink{0%,42%,47%,79%,84%,100%{transform:scaleY(1)}44%,81%{transform:scaleY(.06)}}
@keyframes star-shimmer{0%,100%{opacity:.6;transform:scale(.75) rotate(-12deg)}50%{opacity:1;transform:scale(1.18) rotate(12deg)}}
@keyframes letter-float{0%,100%{transform:translate(0,2px) rotate(-5deg)}50%{transform:translate(5px,-15px) rotate(5deg)}}
@keyframes sign-swing{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes door-peek{0%,35%,75%,100%{transform:perspective(300px) rotateY(0)}48%,60%{transform:perspective(300px) rotateY(-23deg)}}
@keyframes truck-journey{0%,100%{transform:translateX(-15px)}48%{transform:translate(18px,-2px)}52%{transform:translate(18px,0)}}
@keyframes wheel-roll{0%,100%{transform:rotate(-30deg)}50%{transform:rotate(50deg)}}
@keyframes world-turn{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes heart-love{0%,55%,100%{transform:scale(1)}66%{transform:scale(1.12)}75%{transform:scale(1)}84%{transform:scale(1.08)}}
@keyframes coin-bounce{0%,30%,65%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-18px) rotate(12deg)}55%{transform:translateY(2px) rotate(-5deg)}}
@keyframes megaphone-cheer{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(6deg)}}
@keyframes voice-ripple{0%{opacity:0;translate:-7px 0}45%{opacity:1}100%{opacity:0;translate:12px 0}}
@keyframes box-dance{0%,30%,70%,100%{transform:rotate(0)}40%{transform:rotate(-4deg)}55%{transform:rotate(4deg)}}
@keyframes look-around{0%,100%{transform:translate(0,0)}50%{transform:translate(-9px,12px)}}
@keyframes scene-arrive{from{opacity:0;transform:translateY(35px) scale(.88)}to{opacity:1;transform:none}}
@keyframes piece-arrive{from{opacity:0;transform:translateY(30px) scale(.7)}to{opacity:1;transform:none}}
@keyframes stamp-land{0%{opacity:0;translate:0 40px;scale:.78;rotate:-8deg}70%{opacity:1;translate:0 -5px;scale:1.03;rotate:3deg}100%{opacity:1;translate:0 0;scale:1;rotate:0deg}}
@keyframes choice-appear{from{opacity:0;translate:0 15px;scale:.96}to{opacity:1;translate:0 0;scale:1}}
@keyframes paper-open{from{opacity:.3;transform:perspective(700px) rotateX(-8deg) translateY(8px);transform-origin:top}to{opacity:1;transform:perspective(700px) rotateX(0) translateY(0);transform-origin:top}}
.motion-paused :is(.motion-piece,.hero-copy>*,.title-line,.hero-postcard,.hero-art-note,.chapter-copy>*,.scene-drawing){animation:none!important;opacity:1!important}.motion-paused .motion-piece{transform:none!important}.motion-paused .hero-postcard{transform:rotate(-12deg)!important}.motion-toggle:disabled{opacity:.6;cursor:default}
@media(max-width:760px){.replay-opening{font-size:.75rem;margin:15px auto 0}.motion-toggle{left:12px;bottom:12px;padding:9px 12px;font-size:.69rem;min-height:39px}.cloud-panel{width:78%}.cloud-destination{width:82vw;padding:25px 20px}.cloud-kicker{font-size:.63rem}.cloud-title{font-size:1.7rem}.cloud-caption{font-size:.95rem}.cloud-bow{width:50px}}
@media(prefers-reduced-motion:reduce){.chapter-curtain,.replay-opening{display:none!important}.chapter-copy>*,.chapter-art .scene-drawing{opacity:1!important}.chapter-art>svg{translate:0 0!important;rotate:0deg!important}}
