/* motion v1 (Max, 11 Oct 2026): the reference site's motion on every page. Hero photo settles from 1.06 (desktop parallax),
   headlines reveal line by line, content rises in once as it scrolls up the screen, a short fade/rise between pages.
   Every hidden state below applies only under html.mo, which the inline head script sets when motion is allowed
   (not reduced motion, not a crawler's full-height window) and removes again after 2.5s if motion.js never starts.
   Reduced motion and print show everything at once. Easing = power4.out: cubic-bezier(.16,1,.3,1). */

/* cross-page arrival (Chrome, Safari 18.2+): old page fades, new page rises in; the black top bar holds still */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  ::view-transition-old(root){animation:.4s cubic-bezier(.16,1,.3,1) both mo-out}
  ::view-transition-new(root){animation:.6s cubic-bezier(.16,1,.3,1) both mo-in}
  .announce{view-transition-name:mo-announce}
  #siteHeader{view-transition-name:mo-header}
  ::view-transition-group(mo-announce),::view-transition-group(mo-header){animation-duration:.5s;animation-timing-function:cubic-bezier(.16,1,.3,1)}
}
@keyframes mo-out{to{opacity:0}}
@keyframes mo-in{from{opacity:0;transform:translateY(14px)}}

/* line masks: exist only while a heading reveals, motion.js puts the original text nodes back afterwards */
.mo-m{display:inline-block;clip-path:inset(-.14em -.12em -.18em -.12em);text-decoration:inherit}
.mo-w{display:inline-block;text-decoration:inherit}

@media screen and (prefers-reduced-motion:no-preference){
  /* first paint: hide the first screen's content; motion.js swaps this for per-element states in one pass */
  html.mo-pre main>:not(.hero):not(.sheet)>*,
  html.mo-pre .sheet>*>*,
  html.mo-pre footer>*>*,
  html.mo-pre .hero-copy>*,
  html.mo-pre .hero>.wrap>:not(.hero-copy):not(.hero-photo),
  html.mo-pre [data-intro]>:not([data-parallax]):not(img):not(picture):not(video){opacity:0}
  html.mo-pre [data-parallax],html.mo-pre main .hero .hero-photo img,html.mo .mo-s{scale:1.06}
  html.mo .mo-h{opacity:0}
  html.mo .mo-hs .mo-w{translate:0 120%}
}
@media print{
  [data-parallax],main .hero .hero-photo img,html.mo .mo-a,html.mo .mo-w{translate:none!important;scale:none!important}
  html.mo .mo-a{opacity:1!important}
}
