/* welcome splash — a brief lo-fi intro that fades out after a moment. */
.mm-splash {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity .7s ease;
}
.mm-splash.is-done { opacity: 0; pointer-events: none; }

.mm-splash-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140vmin;
    height: 140vmin;
    transform: translate(-50%, -56%);
    pointer-events: none;
    background: radial-gradient(closest-side,
        color-mix(in srgb, var(--orange) 16%, transparent),
        color-mix(in srgb, var(--orange) 5%, transparent) 45%,
        transparent 72%);
    animation: mm-splash-flicker 1.5s ease-out both;
}

.mm-splash-inner { position: relative; padding: 0 28px; }

.mm-splash-logo {
    font-family: system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(46px, 12vw, 76px);
    letter-spacing: -1px;
    color: var(--fg);
    line-height: 1.1;
    animation: mm-splash-rise 1s cubic-bezier(.22, 1, .36, 1) .4s both;
}
.mm-splash-logo span { color: var(--orange); }

.mm-splash-blurb {
    font-family: system-ui, sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(14px, 3.6vw, 17px);
    line-height: 1.6;
    color: var(--fg-dim);
    max-width: 24em;
    margin: 16px auto 0;
    animation: mm-splash-rise 1s cubic-bezier(.22, 1, .36, 1) .85s both;
}

.mm-splash-tag {
    font-family: ui-monospace, monospace;
    font-size: 10.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 26px;
    animation: mm-splash-rise 1s cubic-bezier(.22, 1, .36, 1) 1.25s both;
}

@keyframes mm-splash-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

/* the glow easing on like an amp warming up */
@keyframes mm-splash-flicker {
    0% { opacity: 0; }
    7% { opacity: .5; }
    12% { opacity: .1; }
    20% { opacity: .65; }
    27% { opacity: .3; }
    38% { opacity: .85; }
    100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .mm-splash-glow,
    .mm-splash-logo,
    .mm-splash-blurb,
    .mm-splash-tag { animation: none; }
}
