/*
 * First Hijrah motion settings: the one place that sets how fast, how smooth and how staggered
 * every animation on the public site and the sign-in pages is. site-motion.js reads the same
 * values (window.FHMotion), so CSS and script always agree. Change a value here and the whole
 * site follows.
 */
:root {
    /* Durations */
    --fhm-dur-instant: 120ms;   /* presses, toggles */
    --fhm-dur-fast: 220ms;      /* hovers, dropdowns, icons */
    --fhm-dur-base: 450ms;      /* entrances, reveals */
    --fhm-dur-slow: 700ms;      /* progress bars, counters, gold lines */
    --fhm-dur-ambient: 32s;     /* background drift (desktop only) */
    /* Easing */
    --fhm-ease: cubic-bezier(.25, .8, .25, 1);        /* standard: quick start, soft landing */
    --fhm-ease-out: cubic-bezier(.2, .7, .2, 1);      /* entrances */
    --fhm-ease-in-out: cubic-bezier(.45, 0, .2, 1);   /* drifts and loops */
    --fhm-ease-spring: cubic-bezier(.34, 1.4, .64, 1); /* small icon pops */
    /* Delays and stagger */
    --fhm-delay-step: 80ms;     /* between items in an entrance sequence */
    --fhm-stagger: 90ms;        /* between cards in a grid */
    --fhm-stagger-max: 6;       /* cards after this many come in together */
    /* Distances */
    --fhm-rise: 16px;           /* how far content rises as it appears */
    --fhm-lift: 2px;            /* how far cards and buttons lift on hover */
}
/* Touch screens: no hover lifts, a quick press instead. Reduced motion: everything near-instant. */
@media (prefers-reduced-motion: reduce) {
    :root { --fhm-dur-fast: 1ms; --fhm-dur-base: 1ms; --fhm-dur-slow: 1ms; --fhm-stagger: 0ms; --fhm-delay-step: 0ms; --fhm-rise: 0px; --fhm-lift: 0px; }
}
