/* ==========================================================================
   M3 Page-Load Splash ("NV." spring scale-in, < 800ms, skippable)
   ========================================================================== */

.m3-splash {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 240ms var(--spring-effects);
}

.m3-splash.is-leaving {
    opacity: 0;
    pointer-events: none;
}

.m3-splash__logo {
    font-family: var(--font-sans);
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--on-surface);
    animation: m3-splash-pop 420ms var(--spring-spatial) forwards;
}

.m3-splash__dot {
    color: var(--primary);
}

@keyframes m3-splash-pop {
    0% {
        opacity: 0;
        transform: scale(0.72);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .m3-splash {
        display: none !important;
    }
}
