/* CSS-only replacement for assets/js/shared/package-cards-reveal-2.js
   (IntersectionObserver adding .pp-visible on scroll-into-view).
   custom.min.css already defines the base .pp-card{opacity:0;transform:translateY(30px)}
   and the .pp-card.pp-visible target state plus per-card nth-child stagger delays - that
   class is simply never toggled anymore. This runs the same reveal as a page-load
   animation instead of a scroll-triggered one, reusing the same stagger timings. */

#ppGrid .pp-card {
    animation: ppCardReveal 0.5s ease forwards;
}

#ppGrid .pp-card:first-child {
    animation-delay: 50ms;
}

#ppGrid .pp-card:nth-child(2) {
    animation-delay: 0.15s;
}

#ppGrid .pp-card:nth-child(3) {
    animation-delay: 0.25s;
}

#ppGrid .pp-card:nth-child(4) {
    animation-delay: 0.35s;
}

@keyframes ppCardReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #ppGrid .pp-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
