/* UClean — block entrances (public/site/reveal.js). Each block materializes from a soft blur (iOS-style, the client's
   request): opacity, transform and a small filter blur that ends at none, so no filter layer stays after the entrance; a critically damped spring for the
   movement, an ease-out for the fade; a short stagger by --rv-i. Hidden only when the script runs (html.rv-js). */
:root {
  /* apple-design: damping 1.0, response ~0.5s, sampled into linear() */
  --rv-spring: linear(0, .095 4%, .3 9%, .52 15%, .7 22%, .82 29%, .9 37%, .95 46%, .978 56%, .992 68%, 1);
  --rv-fade: cubic-bezier(.2, .7, .2, 1);
}
.rv-js [data-rv] { opacity: 0; }
.rv-js [data-rv="up"] { transform: translate3d(0, 24px, 0) scale(.985); filter: blur(8px); }
.rv-js [data-rv="head"] { transform: translate3d(0, 14px, 0); filter: blur(10px); }
/* the big rounded surfaces arrive like a sheet: from a little lower and a little smaller */
/* (big surfaces get a lighter blur: a blurred full-width layer is the expensive case) */
.rv-js [data-rv="panel"] { transform: translate3d(0, 40px, 0) scale(.97); filter: blur(4px); }

.rv-js [data-rv].rv-in {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s var(--rv-fade) calc(var(--rv-i, 0) * 70ms), transform 1s var(--rv-spring) calc(var(--rv-i, 0) * 70ms),
    filter .7s var(--rv-fade) calc(var(--rv-i, 0) * 70ms);
}
.rv-js [data-rv="panel"].rv-in { transition-duration: .8s, 1.2s, .8s; }

@media (prefers-reduced-motion: reduce) {
  .rv-js [data-rv] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}
