/* Loaded after story.css. Scoped to the story landing; original pages and app untouched. */
#sobera-story.st-motion-v5{--st-stage-h:100svh;--st-travel:320svh;--st-copy-h:240px}
#sobera-story.st-motion-v5 .st-size-probe{position:fixed;top:0;left:-10px;width:1px;height:100svh;visibility:hidden;pointer-events:none}
#sobera-story.st-motion-v5 .st-dock-probe{display:block!important;position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:auto;visibility:hidden;pointer-events:none;z-index:-1}
#sobera-story.st-motion-v5 .st-wipe-frame,#sobera-story.st-motion-v5 .st-scroll-meter,#sobera-story.st-motion-v5 .st-motion-hint{display:none}
#sobera-story.st-motion-v5 .st-motion-inner{position:relative;width:100%;height:100%;isolation:isolate}
#sobera-story.st-motion-v5 .st-paper-tag{display:none}
#sobera-story.st-motion-v5 .st-interest-thread,#sobera-story.st-motion-v5 .st-story-seal,#sobera-story.st-motion-v5 .st-route-track,#sobera-story.st-motion-v5 .st-cue-deck{display:none}
#sobera-story.st-motion-v5.st-pinned .st-story{height:calc(var(--st-stage-h) + var(--st-travel))}
#sobera-story.st-motion-v5.st-pinned .st-stage{height:var(--st-stage-h);min-height:0;top:0;padding:0 var(--space);overflow:hidden;isolation:isolate}
#sobera-story.st-motion-v5.st-pinned .st-scene{position:absolute;inset:0 var(--space);min-height:0;display:block;pointer-events:none}
#sobera-story.st-motion-v5.st-pinned .st-scene-copy{position:absolute;top:calc(50% - 48px);left:0;width:40%;max-width:490px;height:auto;padding:0;translate:0 -50%;z-index:4;pointer-events:auto}
#sobera-story.st-motion-v5.st-pinned .st-scene-copy h2{font-size:clamp(38px,4.5vw,70px);margin:16px 0 22px}
#sobera-story.st-motion-v5.st-pinned .st-scene-copy>p:not(.st-eyebrow):not(.st-note){font-size:16px;line-height:1.6}
#sobera-story.st-motion-v5.st-pinned .st-scene-copy .st-text-link{margin-top:16px}
#sobera-story.st-motion-v5.st-pinned .st-scene-art,#sobera-story.st-motion-v5.st-pinned .st-wipe-frame{position:absolute;left:43%;right:calc(-1 * var(--space));top:64px;bottom:58px;width:auto;height:auto;margin:0;transform:none;transform-origin:center;pointer-events:none;overflow:hidden}
#sobera-story.st-motion-v5.st-pinned .st-scene-art .st-motion-inner{position:absolute;inset:0;width:100%;height:100%}
#sobera-story.st-motion-v5.st-pinned .st-scene-art img{position:absolute;max-width:none;object-fit:contain;object-position:center bottom;bottom:auto;right:auto;left:0;top:0;width:100%;height:100%;transform-origin:50% 75%;filter:none}
#sobera-story.st-motion-v5.st-pinned .st-art-personal img{left:4%;width:92%;height:91%}
#sobera-story.st-motion-v5.st-pinned .st-art-quest img{left:0;top:0;width:100%;height:85%;object-position:center bottom}
#sobera-story.st-motion-v5.st-pinned .st-art-host img{left:0;top:0;width:100%;height:82%;object-position:center bottom}
#sobera-story.st-motion-v5.st-pinned .st-story-caption{padding-top:24px}
#sobera-story.st-motion-v5.st-pinned .st-chapter-nav{bottom:23px;left:var(--space);gap:9px}
#sobera-story.st-motion-v5.st-pinned .st-chapter-nav button{width:38px;height:38px}
#sobera-story.st-motion-v5.st-pinned .st-motion-hint{display:block;position:absolute;left:calc(var(--space) + 200px);bottom:33px;color:var(--secondary);font-size:11px;letter-spacing:.02em}
#sobera-story.st-motion-v5.st-pinned .st-motion-hint span{display:inline-block;margin-left:12px}
#sobera-story.st-motion-v5.st-pinned .st-scroll-meter{display:block;position:absolute;left:0;right:0;bottom:0;height:3px;background:#d7cab640;z-index:8}
#sobera-story.st-motion-v5.st-pinned .st-scroll-meter span{display:block;height:100%;background:var(--gold);transform-origin:left;transform:scaleX(0)}
#sobera-story.st-motion-v5.st-pinned .st-wipe-frame{display:block;left:calc(43% + var(--space) * .14);right:0;z-index:6;visibility:hidden}
/* The cover is the same cream as the stage, not a rectangular gold panel.
   The environment fades to that cream before the whole-scene swap.
   Curves span beyond both sides of the visual; no border, shadow or centre icon. */
#sobera-story.st-motion-v5 .st-wipe-surface{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
#sobera-story.st-motion-v5 .st-wipe-cover{fill:var(--cream);stroke:none;opacity:1}
#sobera-story.st-motion-v5 .st-wipe-edges{fill:none;stroke:#d8b547;stroke-width:2;vector-effect:non-scaling-stroke;opacity:.65}
#sobera-story.st-motion-v5 .st-wipe-thread{fill:none;stroke:#d8b547;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1}
/* The original CTA keeps its click handler, but moves into the left stage column. */
#sobera-story.st-motion-v5.st-in-story .st-floating-cta{position:absolute;left:var(--space);right:auto;bottom:84px;width:min(320px,calc((100% - 2 * var(--space)) * .4));padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;z-index:5}
#sobera-story.st-motion-v5.st-in-story .st-floating-cta>span{display:none}
#sobera-story.st-motion-v5.st-in-story .st-floating-cta>.st-button{width:100%;min-height:48px;padding:12px 14px;font-size:13px}
/* Independent interests and the connecting line. */
#sobera-story.st-motion-v5.st-pinned .st-interest-thread{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible}
#sobera-story.st-motion-v5 .st-interest-line{fill:none;stroke:#d6b34d;stroke-width:1.5;stroke-dasharray:1;stroke-dashoffset:1;vector-effect:non-scaling-stroke}
#sobera-story.st-motion-v5.st-pinned .st-interest{border:1px solid #e6dcc7;background:#fffcf6;box-shadow:0 10px 32px #61472312;font-size:clamp(12px,1.15vw,16px);padding:12px 19px;white-space:nowrap;z-index:3}
#sobera-story.st-motion-v5.st-pinned .st-interest-a{left:3%;top:40%;right:auto;bottom:auto}
#sobera-story.st-motion-v5.st-pinned .st-interest-b{right:3%;top:21%;left:auto;bottom:auto}
#sobera-story.st-motion-v5.st-pinned .st-interest-c{right:2%;top:71%;left:auto;bottom:auto}
#sobera-story.st-motion-v5.st-pinned .st-story-seal{display:flex;position:absolute;left:12%;bottom:2%;align-items:center;gap:12px;background:#fffcf6;border:1px solid #dfd4bd;padding:13px 20px;border-radius:4px;box-shadow:0 10px 30px #3b2b1210;z-index:4}
#sobera-story.st-motion-v5 .st-story-seal>span{color:#c39920;font-size:34px;line-height:1}
#sobera-story.st-motion-v5 .st-story-seal small{display:block;font-size:10px;color:var(--secondary);margin-bottom:4px}
#sobera-story.st-motion-v5 .st-story-seal b{font-size:16px;font-weight:500;letter-spacing:-.02em}
/* A separate route, outside the baked illustration: no fake moving baked-in objects. */
#sobera-story.st-motion-v5.st-pinned .st-route-track{display:flex;justify-content:space-between;position:absolute;left:6%;right:6%;bottom:1%;height:88px;align-items:flex-end}
#sobera-story.st-motion-v5 .st-route-track svg{position:absolute;inset:0;width:100%;height:70%;overflow:visible}
#sobera-story.st-motion-v5 .st-route-base{fill:none;stroke:#d7cdbd;stroke-width:2}
#sobera-story.st-motion-v5 .st-route-line{fill:none;stroke:#d9af31;stroke-width:5;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1}
#sobera-story.st-motion-v5 .st-route-stop{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:45px;font-size:12px;background:transparent}
#sobera-story.st-motion-v5 .st-route-stop i{font:11px 'Onest',sans-serif;display:grid;place-items:center;background:var(--cream);border:1px solid #d7cdbd;border-radius:50%;width:30px;height:30px}
#sobera-story.st-motion-v5 .st-route-stop.is-reached i{background:var(--purple);color:var(--cream);border-color:var(--purple)}
#sobera-story.st-motion-v5 .st-route-cursor{position:absolute;left:6%;top:19%;font-size:26px;color:#b98c13;line-height:1}
/* Solid prompt cards emerge one at a time. */
#sobera-story.st-motion-v5.st-pinned .st-cue-deck{display:block;position:absolute;left:7%;right:7%;bottom:2%;height:90px}
#sobera-story.st-motion-v5 .st-cue{position:absolute;inset:0;display:flex;align-items:center;gap:15px;padding:18px 22px;border:1px solid #e2d7c7;border-radius:14px;background:#fffcf6;box-shadow:0 14px 28px #3322140e;color:var(--purple)}
#sobera-story.st-motion-v5 .st-cue-number{font-size:12px;color:var(--teal);align-self:flex-start;padding-top:4px}
#sobera-story.st-motion-v5 .st-cue small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--teal);margin-bottom:6px}
#sobera-story.st-motion-v5 .st-cue b{font-size:clamp(12px,1.4vw,19px);font-weight:500;line-height:1.35;display:block}
#sobera-story.st-motion-v5 .st-cue-tick{margin-left:auto;width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;background:#f4dd8c;color:var(--purple);font-size:18px}
#sobera-story.st-motion-v5.st-measuring .st-scene-copy{visibility:hidden!important;opacity:1!important;transform:none!important}
@media(max-width:760px){
 #sobera-story.st-motion-v5.st-pinned .st-stage{height:var(--st-stage-h);padding:0 22px}
 #sobera-story.st-motion-v5.st-pinned .st-story-caption{padding-top:15px;font-size:8px}
 #sobera-story.st-motion-v5.st-pinned .st-scene{inset:0 22px}
 #sobera-story.st-motion-v5.st-pinned .st-scene-copy{top:42px;left:0;width:100%;max-width:none;height:auto;translate:none;padding:0}
 #sobera-story.st-motion-v5.st-pinned .st-scene-copy h2{font-size:clamp(28px,7.5vw,35px);line-height:1.08;margin:8px 0 10px;letter-spacing:-.04em}
 #sobera-story.st-motion-v5.st-pinned .st-scene-copy h2 br{display:none}
 #sobera-story.st-motion-v5.st-pinned .st-scene-copy>p:not(.st-eyebrow):not(.st-note){font-size:13px;line-height:1.48;max-width:none}
 #sobera-story.st-motion-v5.st-pinned .st-scene-copy>.st-note{font-size:10px;line-height:1.4;margin-top:6px}
 #sobera-story.st-motion-v5.st-pinned .st-scene-copy .st-text-link{font-size:11px;line-height:1.5;margin-top:7px}
 #sobera-story.st-motion-v5.st-pinned .st-scene-copy .st-eyebrow{font-size:9px;line-height:1.4}
 #sobera-story.st-motion-v5.st-pinned .st-scene-art{left:-22px;right:-22px;top:calc(42px + var(--st-copy-h) + 16px);bottom:44px;width:auto;height:auto;margin:0}
 #sobera-story.st-motion-v5.st-pinned .st-wipe-frame{left:0;right:0;top:calc(42px + var(--st-copy-h) + 16px);bottom:44px;width:auto;height:auto}
 #sobera-story.st-motion-v5.st-pinned .st-art-personal img{left:0;top:0;width:100%;height:calc(100% - 44px)}
 #sobera-story.st-motion-v5.st-pinned .st-art-quest img{left:-3%;top:0;width:106%;height:calc(100% - 60px)}
 #sobera-story.st-motion-v5.st-pinned .st-art-host img{left:-3%;top:0;width:106%;height:calc(100% - 68px)}
 #sobera-story.st-motion-v5.st-pinned .st-chapter-nav{left:22px;bottom:8px;gap:8px}
 #sobera-story.st-motion-v5.st-pinned .st-chapter-nav button{width:32px;height:32px;font-size:10px}
 #sobera-story.st-motion-v5.st-pinned .st-chapter-nav>span{width:10px}
 #sobera-story.st-motion-v5.st-pinned .st-motion-hint{left:auto;right:22px;bottom:17px;font-size:9px;max-width:150px;text-align:right}
 #sobera-story.st-motion-v5.st-pinned .st-motion-hint span{margin-left:5px}
 #sobera-story.st-motion-v5.st-pinned .st-interest{font-size:11px;padding:8px 12px}
 #sobera-story.st-motion-v5.st-pinned .st-interest-a{left:4%;top:34%}
 #sobera-story.st-motion-v5.st-pinned .st-interest-b{right:4%;top:10%}
 #sobera-story.st-motion-v5.st-pinned .st-interest-c{right:3%;top:68%}
 #sobera-story.st-motion-v5.st-pinned .st-story-seal{left:5%;bottom:1%;padding:8px 12px;gap:8px}
 #sobera-story.st-motion-v5 .st-story-seal>span{font-size:24px}
 #sobera-story.st-motion-v5 .st-story-seal small{font-size:8px;margin-bottom:2px}
 #sobera-story.st-motion-v5 .st-story-seal b{font-size:12px}
 #sobera-story.st-motion-v5.st-pinned .st-route-track{height:56px;bottom:0;left:8%;right:8%}
 #sobera-story.st-motion-v5 .st-route-stop{font-size:10px;gap:4px;min-width:30px}
 #sobera-story.st-motion-v5 .st-route-stop i{width:23px;height:23px;font-size:9px}
 #sobera-story.st-motion-v5 .st-route-cursor{font-size:22px}
 #sobera-story.st-motion-v5.st-pinned .st-cue-deck{left:6%;right:6%;height:64px;bottom:0}
 #sobera-story.st-motion-v5 .st-cue{padding:10px 12px;gap:9px;border-radius:12px}
 #sobera-story.st-motion-v5 .st-cue-number{font-size:10px}
 #sobera-story.st-motion-v5 .st-cue small{font-size:8px;margin-bottom:4px}
 #sobera-story.st-motion-v5 .st-cue b{font-size:12px}
 #sobera-story.st-motion-v5 .st-cue-tick{width:25px;height:25px;flex-basis:25px;font-size:14px}
 #sobera-story.st-motion-v5.st-art-compact .st-story-seal small{display:none}
 #sobera-story.st-motion-v5.st-art-compact .st-story-seal{left:3%;padding:5px 9px}
 #sobera-story.st-motion-v5.st-art-compact .st-route-track{height:45px}
 #sobera-story.st-motion-v5.st-art-compact .st-art-quest img{height:calc(100% - 49px)}
 #sobera-story.st-motion-v5.st-art-compact .st-art-host img{height:calc(100% - 58px)}
 #sobera-story.st-motion-v5.st-art-compact .st-cue-deck{height:54px}
}
@media(prefers-reduced-motion:reduce){
 #sobera-story.st-motion-v5 .st-hero-art{transform:none!important}
 #sobera-story.st-motion-v5 .st-float-label{translate:none!important}
}
