/**
 * OMNIUM Animations — Keyframes & transition presets
 * © Omar Dakhane
 */

/* Shared easings defined in :root via Customizer */

/* General-purpose fade/slide combos for re-use */
.fade-in { animation: fIn 0.8s var(--ease) forwards; }
.fade-up { animation: fUp 0.8s var(--ease) forwards; }
.fade-down { animation: fDown 0.8s var(--ease) forwards; }

@keyframes fDown {
    from { opacity:0; transform:translateY(-25px); }
    to { opacity:1; transform:translateY(0); }
}

/* Scale in */
@keyframes scaleIn {
    from { opacity:0; transform:scale(0.9); }
    to { opacity:1; transform:scale(1); }
}

/* Stagger helper classes */
.delay-1 { animation-delay:0.1s !important; }
.delay-2 { animation-delay:0.2s !important; }
.delay-3 { animation-delay:0.3s !important; }
.delay-4 { animation-delay:0.4s !important; }
.delay-5 { animation-delay:0.5s !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .grain { display:none; }
    .blob { animation:none !important; }
    .hero-ring svg { animation:none !important; }
    .marq-track { animation:none !important; }
    .sr { opacity:1; transform:none; }
}
