/* Progressive enhancement: content remains in its final state until motion is safe to arm. */
.pmx-reveal {
  opacity: 1;
  transform: none;
}

html.pmx-motion .pmx-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

html.pmx-motion .pmx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.pmx-motion .pmx-reveal--stagger-1 { transition-delay: 60ms; }
html.pmx-motion .pmx-reveal--stagger-2 { transition-delay: 120ms; }
html.pmx-motion .pmx-reveal--stagger-3 { transition-delay: 180ms; }
html.pmx-motion .pmx-reveal--stagger-4 { transition-delay: 240ms; }
html.pmx-motion .pmx-reveal--stagger-5 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html.pmx-motion .pmx-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
