/* =============================================================
   LogoMonkey — Scroll Reveal
   Opt-in entrance animation driven by the reveal controller.
   ============================================================= */

/* ------------------------------------------------------------- SCROLL REVEAL UTILITIES */
/* Hiding is scoped to `.js`, which the inline bootstrap in <head> adds to <html>.
   If scripting is blocked, fails, or the controller never runs, the content stays
   visible instead of being permanently transparent. */
.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.68s var(--ease-out) var(--reveal-delay, 0ms),
        transform 0.68s var(--ease-out) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Once the entrance finishes, release GPU layer memory and restore each
   component's own fast hover / touch `:active` transition timing. */
.js [data-reveal].is-settled {
    will-change: auto;
    transition:
        transform var(--duration-base) var(--ease-out),
        opacity var(--duration-base) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}
