/* Hybrid text tier on the Virgin study (SITE MOTION step 4, 2 Nov 2026,
   chat VA STUDY BUILDER 2 NOV), the home page's recipe (#1242): a 30px rise
   over 0.7s inside a 0.9s fade, blocks arriving together 0.15s apart.
   text-tier.js writes .nm-sr-text and .nm-in. The hidden start lives ONLY
   inside the gate, so Reduce motion, the review bar's Still, print and a
   browser without the script read every word plain. Arrived is declared, not
   left to fill, so a finished arrival rests on plain opacity 1. The two
   keyframes are the home page's (assets/sections.css), which this page does
   not load. */
@media screen and (prefers-reduced-motion: no-preference) {
  :root[data-study="virgin-australia"]:not([data-motion="still"]) .nm-sr-text {
    opacity: 0;
    transform: translateY(var(--motion-reveal-text-rise));
  }
  :root[data-study="virgin-australia"]:not([data-motion="still"]) .nm-sr-text.nm-in {
    --nm-rise: var(--motion-reveal-text-rise);
    opacity: 1;
    transform: none;
    animation: nm-reveal-fade var(--duration-reveal-fade) var(--ease-default) backwards,
               nm-reveal-rise var(--duration-reveal-rise) var(--ease-default) backwards;
    animation-delay: calc(var(--nm-gap, 0) * var(--duration-reveal-gap));
  }
}
@keyframes nm-reveal-rise {
  from { opacity: 0; transform: translateY(var(--nm-rise, var(--motion-reveal-rise))); }
  to   { opacity: 1; transform: none; }
}
@keyframes nm-reveal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
