/* A quiet upward reveal, beginning before the block reaches the viewport. */
.scroll-reveal {
  --reveal-ease: cubic-bezier(.22, 1, .36, 1);
  --reveal-inset: 0px;
  position: relative;
}
.scroll-reveal.wrap { --reveal-inset: var(--margin); }
.reveal-media { position: relative; }
.reveal-pending .reveal-part { opacity: 0; transform: translateY(18px); }
.reveal-pending .reveal-media > img { clip-path: inset(0 0 16%); opacity: 0; }
.reveal-entered .reveal-part {
  animation: te-type-enter .78s var(--reveal-ease) var(--reveal-delay, 150ms) backwards;
}
.reveal-entered .reveal-media > img {
  animation: te-aperture-enter .85s var(--reveal-ease) backwards;
}
@keyframes te-type-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes te-aperture-enter {
  from { clip-path: inset(0 0 16%); opacity: .25; }
  to { clip-path: inset(0); opacity: 1; }
}
/* Focus, hash navigation, restored pages and printing show content immediately. */
.reveal-settled .reveal-part,
.reveal-settled .reveal-media > img {
  animation: none !important;
  opacity: 1;
  transform: none;
  clip-path: none;
}
@media (max-width: 760px) {
  .reveal-entered .reveal-media > img { animation-duration: .75s; }
}
@media (prefers-reduced-motion: reduce), print {
  .scroll-reveal .reveal-part, .scroll-reveal .reveal-media > img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
