/* Approved story v2: open scenes on a soft path, one moving Steve. */
.sheet{overflow:clip} /* Preserve rounded clipping without trapping the sticky story. */
.reset.story-section{background:var(--color-bg);padding:78px 0 70px}
.story-heading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:28px}
.story-heading h2{max-width:610px}
.story-heading>p{padding-top:9px;max-width:500px;font-size:19px;line-height:1.55}
.story-scroll{--stage-height:670px;position:relative}
.story-stage{height:var(--stage-height);position:relative}
.story-route{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke-linecap:round}
.story-route-mobile{display:none}
.story-gap-dynamic{display:none}
.story-section[data-story-motion="true"] .story-gap-static{display:none}
.story-section[data-story-motion="true"] .story-gap-dynamic{display:block}
.story-route .route-base{stroke:var(--color-border);stroke-width:2.5;stroke-dasharray:3 9}
.story-route .route-progress{stroke:var(--color-accent);stroke-width:5}
.story-node circle{fill:var(--color-bg);stroke:var(--color-control-border);stroke-width:1.3}
.story-node text{fill:var(--color-text);font:500 14px var(--font-body);text-anchor:middle;dominant-baseline:central}
.story-node.is-current circle{fill:var(--color-accent);stroke:var(--color-text)}
.story-stop{position:absolute;width:29%;margin:0}
.story-stop h3{font-size:32px;line-height:1.13;margin:0 0 14px}
.story-stop p{font-size:18px;line-height:1.55;max-width:340px}
.story-stop.is-current h3{ text-decoration:underline;text-decoration-color:var(--color-accent);text-decoration-thickness:7px;text-underline-offset:-2px;text-decoration-skip-ink:none}
.story-stop-0{left:0;top:52.24%}.story-stop-1{left:38.5%;top:61.19%}.story-stop-2{left:77%;top:48.51%;width:23%}
.story-static,.story-actor{position:absolute;width:264px;aspect-ratio:1;transform:translate(-50%,calc(-100% - var(--story-character-lift,24px)));pointer-events:none}
.story-static img,.story-pose{display:block;width:100%;height:100%;object-fit:contain}
.story-static-0{left:12.79%;top:44.78%}.story-static-1{left:50.78%;top:53.73%}.story-static-2{left:87.21%;top:41.04%}
.story-actor{display:none;left:12.79%;top:52.24%;z-index:2}
.story-body{position:relative;width:100%;height:100%;transform-origin:50% 92%}
.story-pose{position:absolute;inset:0;opacity:0;transition:opacity .18s ease}.story-pose.is-current{opacity:1}
.story-section[data-story-motion="true"] .story-static{display:none}
.story-section[data-story-motion="true"] .story-actor{display:block}
.story-section[data-story-motion="true"] .route-progress{display:block}
.story-section[data-story-motion="true"].is-visible .story-body{animation:story-sway 3.8s ease-in-out infinite}
.story-section[data-travelling="true"] .story-body{animation-play-state:paused}
.story-signoff{display:flex;justify-content:space-between;gap:24px;margin-top:18px;color:var(--color-muted);font-size:14px;line-height:1.5}
@keyframes story-sway{0%,100%{transform:rotate(-1.2deg)}50%{transform:rotate(1.2deg)}}
@media(min-width:801px){
 .story-section[data-story-motion="true"] .story-scroll{height:calc(var(--stage-height) + 140vh)}
 .story-section[data-story-motion="true"] .story-stage{position:sticky;top:106px}
}
@media(min-width:801px) and (max-height:820px){
 .story-scroll{--stage-height:590px}.story-static,.story-actor{width:230px}.story-stop h3{font-size:28px}.story-stop p{font-size:17px}
 .story-section[data-story-motion="true"] .story-stage{top:94px}
}
@media(max-width:800px){
 .reset.story-section{padding:60px 0 50px}.story-heading{grid-template-columns:1fr;gap:22px;margin-bottom:10px}.story-heading h2{font-size:36px}.story-heading>p{font-size:17px;padding:0;max-width:310px}
 .story-scroll{--stage-height:1020px}.story-route-desktop{display:none}.story-route-mobile{display:block}
 .story-static,.story-actor{width:154px;--story-character-lift:20px}
 .story-static-0{left:18.05%;top:22.38%}.story-static-1{left:18.05%;top:52.86%}.story-static-2{left:18.05%;top:83.33%}
 .story-stop{left:39%;width:61%}.story-stop-0{top:10%}.story-stop-1{top:40.5%}.story-stop-2{top:71%}
 .story-stop h3{font-size:26px;max-width:220px}.story-stop p{font-size:16px;line-height:1.5}
 .story-signoff{display:block;margin-top:0}.story-signoff p+p{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){.story-body{animation:none!important}}

/* Fixed poses: fade out before the route fills toward the next stop. */
.story-section[data-story-motion="true"] .story-static{display:block;opacity:0;transition:opacity .38s ease-in-out}
.story-section[data-story-motion="true"] .story-static img{transform-origin:50% 92%}
.story-section[data-story-motion="true"] .story-static.is-current img{animation:none}
.story-section[data-story-motion="true"] .story-gap-dynamic{display:none}
.story-static[data-pending-pose]{visibility:hidden}
@media(prefers-reduced-motion:reduce){.story-static img{animation:none!important}}

.story-character{display:none;width:100%;height:100%;overflow:visible}
.story-section[data-story-motion="true"] .story-static>img{display:none}
.story-section[data-story-motion="true"] .story-character{display:block}
.folder-brow-left{transform-origin:579px 338px}.folder-brow-right{transform-origin:735px 307px}
.folder-present{transform-origin:623px 815px}
.invite-forearm{transform-origin:842px 638px}
.cancel-diagonal{stroke-dasharray:1;stroke-dashoffset:1}
.story-static.is-current .folder-brow-left{animation:folder-frown-left 4.8s ease-in-out infinite}
.story-static.is-current .folder-brow-right{animation:folder-frown-right 4.8s ease-in-out infinite}
.story-static.is-current .folder-present{animation:folder-present 4.8s ease-in-out infinite}
.story-static.is-current .cancel-diagonal-a{animation:cancel-mark-a 3s linear both}
.story-static.is-current .cancel-diagonal-b{animation:cancel-mark-b 3s linear both}
.story-static.is-current .invite-forearm{animation:invite-beckon 4.6s ease-in-out infinite}
@keyframes folder-frown-left{0%,10%,100%{transform:rotate(0)}25%,78%{transform:rotate(18deg)}}
@keyframes folder-frown-right{0%,10%,100%{transform:rotate(0)}25%,78%{transform:rotate(-18deg)}}
@keyframes folder-present{0%,23%,100%{transform:translateY(0) scale(1)}42%,72%{transform:translateY(-9px) scale(1.08)}}
@keyframes cancel-mark-a{0%,12%{stroke-dashoffset:1}40%,100%{stroke-dashoffset:0}}
@keyframes cancel-mark-b{0%,43%{stroke-dashoffset:1}76%,100%{stroke-dashoffset:0}}
@keyframes invite-beckon{0%,10%,36%,62%,100%{transform:rotate(0) scaleX(1)}23%,49%{transform:rotate(-26deg) scaleX(.82)}}
@media(prefers-reduced-motion:reduce){.story-character *{animation:none!important}}
