/* Reveal the actual text through its existing line masks; keep the approved typography. */
.storyboard #narrative .kinetic-line{will-change:transform,opacity;transition:none}
.storyboard #narrative .editorial-reveal{transform:translate3d(0,var(--editorial-y,0px),0);opacity:var(--editorial-opacity,1);filter:blur(var(--editorial-blur,0px));will-change:transform,opacity}
.storyboard #narrative .editorial-reveal:focus-visible,.storyboard #narrative .editorial-reveal:focus-within{opacity:1!important;transform:none!important;filter:none!important}
/* A calm real-scene backdrop for the twig: no decorative particle network or orbit mesh. */
.storyboard #background-life{opacity:calc(.70 * (1 - var(--late-atmosphere,0)) * (1 - var(--twig-background-quiet,0)))!important}
.storyboard .atmosphere{opacity:calc(1 - var(--twig-background-quiet,0));pointer-events:none}
.storyboard:not(.webgl-ready) .integrated-scene-image{filter:blur(calc(var(--opening-scene-blur,0px) + var(--twig-scene-blur,0px)))}
.storyboard #home h1,.storyboard #home .fold-copy>p{text-shadow:0 2px 20px #071c1466}
.motion-paused #narrative .editorial-reveal{opacity:1!important;transform:none!important;filter:none!important}
@media(prefers-reduced-motion:reduce){.storyboard #narrative .kinetic-line,.storyboard #narrative .editorial-reveal{opacity:1!important;transform:none!important;filter:none!important;will-change:auto}}
/* Keep the late scientific graphics out of the quiet twig reading scene. */
.storyboard .world-wrap>.late-atmosphere{opacity:calc(var(--late-atmosphere,0) * (1 - var(--twig-background-quiet,0)))!important}

/* Outline resolves into approved solid ink, without removing the text or adding a scene overlay. */
.storyboard #narrative .kinetic-line .kinetic-char{-webkit-text-stroke:.55px currentColor;-webkit-text-fill-color:color-mix(in srgb,currentColor calc(var(--reveal-ink,1) * 100%),transparent)}
.motion-paused #narrative .kinetic-line .kinetic-char{-webkit-text-fill-color:currentColor!important}
@media(prefers-reduced-motion:reduce){.storyboard #narrative .kinetic-line .kinetic-char{-webkit-text-fill-color:currentColor!important}}

/* Reading content follows native scrolling, with no scene-lag compensation or spring. */
body.storyboard #narrative>.fold>.fold-copy{transform:none;opacity:1;transition:none;}
body.storyboard #narrative>.fold>.campaign-library,body.storyboard #narrative>.fold>.closing-collection,body.storyboard>footer{translate:none;transition:none;}
body.storyboard #narrative .kinetic-line{transform:translate3d(var(--line-drift,0px),var(--line-rise,0%),0) rotateX(var(--line-tilt,0deg));opacity:var(--line-opacity,1);transition:none;}
/* JS owns reversible hotspot opacity; hidden is applied only after the exit finishes. */
body.storyboard .hotspot-controls-layer[data-subject=tree],body.storyboard .hotspot-controls-layer[data-subject=twig]{opacity:var(--hotspot-alpha,0);transition:none;}
body.storyboard .hotspot-controls-layer:is([data-subject=tree],[data-subject=twig]).hotspot-visible .hotspot-dot{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(calc(.90 + var(--hotspot-alpha,0) * .10));transition:background .25s,box-shadow .3s;}
body.storyboard .hotspot-controls-layer:is([data-subject=tree],[data-subject=twig]) .hotspot-orbit{opacity:var(--hotspot-alpha,0);transition:none!important;}
@media(prefers-reduced-motion:reduce){body.storyboard #narrative .kinetic-line{transform:none!important;opacity:1!important;}}

/* The twig travels; its decorative circle remains at its reading anchor. */
body.storyboard .hotspot-controls-layer[data-subject=twig] .hotspot-orbit{opacity:1;transform:translate(-50%,-50%) scale(1);}

/* A short reading pause separates a section heading from its interactive cards. */
body.storyboard #campaign-library[data-sequence-state] .campaign-card,body.storyboard #catalogue-stage[data-sequence-state] .catalogue-card{opacity:var(--sequence-opacity,1)!important;translate:0 var(--sequence-y,0px);transition:background .3s,border-color .3s,box-shadow .3s}
body.storyboard #campaign-library[data-sequence-state]:not([data-sequence-state=complete]) .campaign-card,body.storyboard #catalogue-stage[data-sequence-state]:not([data-sequence-state=complete]) .catalogue-card{will-change:opacity,translate}
body.storyboard #campaign-library[data-sequence-state] .campaign-card:focus-visible,body.storyboard #catalogue-stage[data-sequence-state] .catalogue-card:focus-visible{opacity:1!important;translate:0 0}
@media(prefers-reduced-motion:reduce){body.storyboard #campaign-library[data-sequence-state] .campaign-card,body.storyboard #catalogue-stage[data-sequence-state] .catalogue-card{opacity:1!important;translate:0 0!important;will-change:auto}}
