/* GOTTA v2 — Splash screen */

body { background: var(--color-onyx); }

#splash {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: var(--color-onyx);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#splash[hidden] { display: none; }

/* Inner wrapper — the piece that animates */
.splash__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 2rem;
}

/* ── Brandmark only on splash ── */
.splash__brandmark {
    width: clamp(90px, 14vw, 150px);
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* gotta-logo hidden on splash */
.splash__logo { display: none; }

.splash__sub {
    font-family: var(--ff-text);
    font-size: 0.6875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-fog);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

/* Trigger — add .is-revealed to #splash to animate all children up into view */
#splash.is-revealed .splash__brandmark,
#splash.is-revealed .splash__sub {
    opacity: 1;
    transform: translateY(0);
}
