/* Hero entrance: words of the headline rise out of their line mask one by one,
   then the sub line, button, top bar and side marks follow. Pure CSS animation
   driven by the existing .stage.lit class (set by light.js / the intro hand-off).
   Reduced motion: light.js lights the stage at once and the rules below switch the motion off. */
.stage .headline i.hs{transform:none;opacity:1;transition:none}
.stage .headline .hw{display:inline-block;will-change:transform,opacity}
.stage:not(.lit) .headline .hw,
.stage:not(.lit) .sub,
.stage:not(.lit) .cta,
.stage:not(.lit) .topbar,
.stage:not(.lit) .index,
.stage:not(.lit) .scrollcue{opacity:0}
@keyframes heWord{from{opacity:0;translate:0 105%;filter:blur(8px)}60%{filter:blur(0)}to{opacity:1;translate:0 0;filter:blur(0)}}
@keyframes heUp{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
@keyframes heDown{from{opacity:0;translate:0 -14px}to{opacity:1;translate:0 0}}
@keyframes heFade{from{opacity:0}to{opacity:1}}
.stage.lit .headline .hw{animation:heWord 1.05s cubic-bezier(.16,.84,.24,1) calc(.18s + var(--n,0) * .11s) backwards}
.stage.lit .sub{animation:heUp .95s cubic-bezier(.2,.8,.2,1) .95s backwards}
.stage.lit .cta{animation:heUp .9s cubic-bezier(.2,.8,.2,1) 1.2s backwards}
.stage.lit .topbar{animation:heDown .8s cubic-bezier(.2,.8,.2,1) .15s backwards}
.stage.lit .index{animation:heFade 1s ease 1.35s backwards}
.stage.lit .scrollcue{animation:heFade 1s ease 1.5s backwards}
@media (prefers-reduced-motion:reduce){
  .stage .headline .hw,.stage .sub,.stage .cta,.stage .topbar,.stage .index,.stage .scrollcue{animation:none !important;opacity:1 !important;translate:none !important;filter:none !important}
}
