/* Storybook light: original artwork stays intact beneath bounded light layers. */
.hero-art{perspective:1100px}
.storybook-scene{--rx:0deg;--ry:0deg;--dx:0px;--dy:0px;position:relative;border-radius:130px 24px 24px 24px;transform:rotateX(var(--rx)) rotateY(var(--ry));transition:transform 400ms cubic-bezier(.2,.7,.2,1),box-shadow 400ms;box-shadow:0 18px 36px -24px #713c2e60;isolation:isolate}
.storybook-scene::before,.storybook-scene::after{content:'';position:absolute;inset:8px -6px -8px 8px;background:#eddfc7;border:1px solid #dcccaf;border-radius:inherit;z-index:-2;transform:rotate(1.2deg)}
.storybook-scene::after{inset:4px -3px -4px 4px;background:#fff4df;transform:rotate(.55deg);z-index:-1}
.scene-viewport{position:relative;overflow:hidden;border-radius:inherit;aspect-ratio:1.49;background:#eddfc7}
.hero-art .scene-viewport>img{width:100%;height:100%;object-fit:cover;object-position:62% center;transform:scale(1.025) translate(var(--dx),var(--dy));transition:transform 400ms cubic-bezier(.2,.7,.2,1)}
.scene-light,.scene-sun,.scene-dust{position:absolute;inset:0;pointer-events:none;opacity:0}
.scene-light{inset:-40%;background:linear-gradient(115deg,transparent 38%,#ffe8a520 43%,#fff4c86b 48%,#fff7db24 53%,transparent 59%);mix-blend-mode:screen;transform:translateX(-45%)}
.scene-sun{background:radial-gradient(ellipse at 87% 8%,#fff0bb80,transparent 60%);mix-blend-mode:screen}
.scene-dust{transform:translate(calc(var(--dx) * -2),calc(var(--dy) * -2));transition:transform 500ms}
.scene-dust i{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);background:#fff4cc;box-shadow:0 0 9px 3px #ffd47070;border-radius:50%;opacity:0;transform:translateY(20px) scale(.3)}
.scene-dust i:nth-child(3n){border-radius:0;clip-path:polygon(50% 0,61% 37%,100% 50%,61% 62%,50% 100%,38% 62%,0 50%,38% 37%);background:#fff8d9}
.scene-lit .scene-light{animation:storybook-sunlight 3600ms ease-in-out both}
.scene-lit .scene-sun{animation:storybook-glow 4400ms ease-in-out both}
.scene-lit .scene-dust{opacity:1}
.scene-lit .scene-dust i{animation:storybook-dust 2600ms ease-in-out both;animation-delay:var(--delay)}
.scene-hover{box-shadow:0 28px 46px -22px #713c2e70}
@keyframes storybook-sunlight{0%{opacity:0;transform:translateX(-45%) rotate(-7deg)}20%{opacity:.9}75%{opacity:.65}100%{opacity:0;transform:translateX(45%) rotate(7deg)}}
@keyframes storybook-glow{0%,100%{opacity:0}28%,65%{opacity:.7}}
@keyframes storybook-dust{0%{opacity:0;transform:translate(0,24px) scale(.2)}28%{opacity:.85}70%{opacity:.6}100%{opacity:0;transform:translate(var(--drift),-45px) scale(1.2)}}
@media(max-width:1000px){.storybook-scene{border-top-left-radius:80px}}
@media(max-width:700px){.storybook-scene{border-radius:64px 16px 16px 16px}.scene-viewport{aspect-ratio:1.75}}
@media(prefers-reduced-motion:reduce){.storybook-scene,.hero-art .scene-viewport>img{transform:none!important}.scene-light,.scene-sun,.scene-dust{display:none!important}}
/* Only replace the old tablet frame; all site layout and copy remain unchanged. */
.hero-screen-wrap.hero-art{overflow:visible;animation:none;box-shadow:none;perspective:1100px}
.hero-screen-wrap.hero-art>img{aspect-ratio:1.49;object-fit:cover;object-position:62% center;border-radius:130px 24px 24px 24px}
@media(max-width:700px){.hero-screen-wrap.hero-art>img{aspect-ratio:1.75;border-radius:64px 16px 16px 16px}}
