/* Real watercolor assets; each page remains an independent animated layer. */
.home-book-stage{min-height:490px;max-height:none;overflow:visible}
.home-book{bottom:62px;height:390px;perspective:1800px}
.home-book-leaf{width:clamp(184px,17.4vw,280px);height:auto;aspect-ratio:3/4;margin-left:calc(clamp(184px,17.4vw,280px)/-2);bottom:30px;filter:drop-shadow(0 7px 8px #2e447b1f)}
.home-book-paper{border-color:#d9dce6;border-bottom-width:5px;border-radius:9px 11px 4px 4px;background:#fffdf7;box-shadow:inset -5px 0 8px #687b9b14,0 6px 15px #475d931a}
.home-book-paper::before{inset:0;border:0;background:linear-gradient(90deg,#d3d6e31c,transparent 5%,transparent 91%,#6c78961a);z-index:1}
.home-page-paint{position:absolute;inset:0;background-image:url('/assets/img/home/book-watercolor-20261006.webp');background-size:400% 200%;background-repeat:no-repeat}
.home-page-paint[data-scene=london]{background-position:0 0}
.home-page-paint[data-scene=japan]{background-position:33.333333% 0}
.home-page-paint[data-scene=china]{background-position:66.666667% 0}
.home-page-paint[data-scene=barcelona]{background-position:100% 0}
.home-page-paint[data-scene=paris]{background-position:0 100%}
.home-page-paint[data-scene=berlin]{background-position:33.333333% 100%}
.home-page-paint[data-scene=arabic]{background-position:66.666667% 100%}
.home-book-paper>span{padding-top:9%;font-size:clamp(24px,2.45vw,38px);color:#183d7d;text-shadow:0 1px #fff;letter-spacing:-.03em}
.home-book-leaf[data-book-index='-2'] .home-book-paper>span{font-size:clamp(22px,2vw,31px)}
.home-book-spine{bottom:15px;width:76%;height:20px;opacity:.85;box-shadow:0 5px 12px #476bb52b}
.home-book-flora{bottom:-3%;height:87%;width:clamp(240px,25vw,390px);opacity:.95;filter:none;transform-origin:25% 95%}
.home-book-flora img{width:100%;height:100%;object-fit:contain;animation:home-botanical-sway 9s ease-in-out infinite alternate;transform-origin:22% 92%;will-change:transform}
.home-book-flora-left{left:-2.5%;transform:rotate(-12deg)}
.home-book-flora-right{right:-2.5%;transform:scaleX(-1) rotate(-12deg)}
.home-book-flora-right img{animation-delay:-4s;animation-duration:11s}
.home-book-stage:not(.is-in-view) .home-book-flora img{animation-play-state:paused}
.home-story-decor{bottom:0;width:280px;height:280px;opacity:.8;background-image:url('/assets/img/home/book-watercolor-20261006.webp');background-size:400% 200%;background-repeat:no-repeat}
.home-story-decor-left{left:0;transform:none;background-position:33.333333% 0;mask-image:linear-gradient(90deg,#000 36%,transparent 100%)}
.home-story-decor-right{right:0;transform:none;background-position:100% 100%;mask-image:linear-gradient(270deg,#000 36%,transparent 100%)}
.home-feature-art{object-fit:contain;height:225px;padding:12px 12px 0;filter:none;transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.home-feature:hover .home-feature-art{transform:translateY(-4px) scale(1.025)}
.home-feature{box-shadow:0 10px 28px #34589f0b}
@keyframes home-botanical-sway{from{transform:rotate(-1.7deg)}to{transform:rotate(2deg)}}
@media(min-width:1100px){.home-hero-inner{min-height:920px;height:auto;padding-bottom:35px}.home-hero{min-height:max(1170px,125vh)}.home-hero-copy{padding-top:clamp(38px,5.3vh,68px)}}
@media(max-width:1050px){.home-book{transform:scale(.9)}.home-book-stage{min-height:350px}.home-book-flora{width:27vw;height:82%}.home-story-decor{width:220px;height:240px}}
@media(max-width:720px){.home-book{transform:scale(.65);width:140%;left:-20%;bottom:28px}.home-book-stage{min-height:340px;max-height:none}.home-book-flora{height:70%;width:36vw;opacity:.65}.home-story-decor{width:135px;height:190px;opacity:.3}.home-feature-art{height:205px}}
@media(prefers-reduced-motion:reduce){.home-book-flora img{animation:none!important}.home-feature-art{transition:none!important}}

/* Leave a quiet paper margin behind the HTML greetings. */
.home-page-paint::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fffdf7 0%,#fffdf7da 10%,#fffdf744 21%,transparent 30%);pointer-events:none}

@media(min-width:1100px){.home-book-stage{width:100vw;max-width:none;align-self:center}}

/* Keep the greetings clear of adjacent pages while the fan closes. */
.home-book-paper>span{transform:translateX(var(--greeting-offset,0px))}
