/* ------------------------------------------------------------
   Scroll reveal, shared by every page.
   Content rises in, one piece after another, the first time it
   scrolls into view, then stays. Hidden only while html has
   .rv-on (set in <head>), so pages without JS show everything.
   Elements with their own animation are left out.
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .rv-on :is(
    .cs-hero .wrap > *,
    .cs-cover, .dj-cover, .dj-statement,
    .cs-body section > *,
    .cs-body > .more,
    .statement > *,
    .works-head, .gallery > li, .about .block, .about .foot
  ):not(.loop):not(.tl-wrap):not(.drills):not([role="tabpanel"]):not(.rv-in) {
    opacity: 0;
    transform: translateY(18px);
  }
  .rv-on .rv-in {
    transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--rv-d, 0ms);
  }
}
