/* =========================================================
   JS ENTERPRISES — SITEWIDE REVEAL-ON-SCROLL ANIMATION
   Same fade + slide-up effect originally used on the FAS page,
   now shared across every page via reveal.css + reveal.js.
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Slight stagger for sibling cards revealed in the same group */
.reveal:nth-child(2)  { transition-delay: 0.08s; }
.reveal:nth-child(3)  { transition-delay: 0.16s; }
.reveal:nth-child(4)  { transition-delay: 0.24s; }
.reveal:nth-child(5)  { transition-delay: 0.32s; }
.reveal:nth-child(6)  { transition-delay: 0.40s; }

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