/* Motion runs whatever the device's reduced-motion setting: the owner's call, 15 Nov 2026 (Windows with
   Animation effects off showed a half-still site). What used to wait for no-preference is @media all. */
/* ==========================================================================
   anim.css: motion that acts out the product.

     print pull     headings below the first ink in once as their poster enters
     publish        the hero's platform list goes live, one store at a time
     colourways     the hero's app sketch wears one client's brand after another
     parallax       app screens float over the portal at a different depth
     offline        the signal drops, the app carries on, the queued form sends
     stations       a marker travels through the steps of how it works
     flow run       a Flow runs step by step, its waits ticking by
     pipeline       a recording travels through Studio's stages

   Content is always visible by default. Each piece arms only when site.js has
   added its class, so without script the finished state shows, not a blank one.
   (They arm whatever the device's reduced-motion setting: the owner's call.)
   ========================================================================== */

@media all {

  /* ---- Print pull ------------------------------------------------------- */
  /* The sides are inset negatively so a line that runs past its box (the
     slogan's last line does) is never cut off; only the top-down wipe clips. */
  /* The page's own headline (the h1) is left out: it is there from the first
     paint, not a second later. Only headings further down ink in. The rule is
     here and not in site.js so a visitor holding an older copy of either file
     still gets a headline. */
  .js-pull [data-pull]:not(h1) {
    clip-path: inset(-0.1em -50vw 100% -1em);
    transform: translateY(0.12em);
  }
  .js-pull [data-pull]:not(h1).is-pulled {
    clip-path: inset(-0.1em -50vw -0.3em -1em);
    transform: none;
    transition: clip-path 1.05s var(--ease), transform 1.05s var(--ease);
  }

  /* ---- Publish: each platform goes live in turn -------------------------- */
  .js-publish .dates .st { background: transparent; transform: scale(0.7); }
  .js-publish .dates .st::after { transform: scale(0); }
  .js-publish .dates li b, .js-publish .dates li span { opacity: 0.55; }
  .js-publish .dates li.is-live .st {
    background: var(--dot); transform: none;
    transition: background 0.3s, transform 0.5s var(--ease);
  }
  .js-publish .dates li.is-live .st::after { transform: none; transition: transform 0.9s var(--ease); }
  .js-publish .dates li.is-live b, .js-publish .dates li.is-live span { opacity: 1; transition: opacity 0.4s; }

  /* ---- Parallax: depth is set by site.js as --py ------------------------- */
  /* --hx/--hy come from a tilting ancestor, so the floating app slides a little
     further than the portal behind it: two layers, two depths. */
  [data-depth] {
    transform: translate3d(calc(var(--hx, 0) * 14px), calc(var(--py, 0px) + var(--hy, 0) * 10px), 0);
    transition: transform 0.25s linear;
    will-change: transform;
  }

  /* ---- Stations: the marker travels -------------------------------------- */
  .js-stations .stations li { background-size: 0% 3px; }
  .js-stations .stations li::before { opacity: 0.35; transform: translateY(6px); }
  .js-stations .stations li.is-on { background-size: 100% 3px; transition: background-size 0.7s var(--ease); }
  .js-stations .stations li.is-on::before { opacity: 1; transform: none; transition: opacity 0.5s, transform 0.6s var(--ease); }
}
