/* -----------------------------------------------------------------------
 * LUS Full-Screen Preloader
 * Full-viewport overlay shown while the page loads, with the site logo
 * pulsing ("blinking") instead of sitting static. Faded out by
 * js/lus-preloader.js once the page has fully loaded.
 * -------------------------------------------------------------------- */

#lus-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#lus-preloader.lus-preloader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lus-preloader-logo {
    max-width: 180px;
    width: 40vw;
    height: auto;
    animation: lus-preloader-blink 1.2s ease-in-out infinite;
}

@keyframes lus-preloader-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
    .lus-preloader-logo {
        animation: none;
    }
}
