/* Splash page — prelaunch mode
   One responsive container; the <picture> element swaps mobile/desktop art at 768px.
   Fluid padding/type via clamp(), safe-area aware, no fixed breakpoint layout cliffs. */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    background-color: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 3.5vh, 32px);
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(16px, 4vw, 48px);
    padding-top: calc(clamp(16px, 4vw, 48px) + env(safe-area-inset-top));
    padding-bottom: calc(clamp(16px, 4vw, 48px) + env(safe-area-inset-bottom));
}

/* Let the img rules apply as if the picture wrapper weren't there */
.splash-container picture {
    display: contents;
}

.splash-image {
    width: auto;
    height: auto;
    max-width: min(100%, 1100px);
    /* leave room for the message on short screens; svh tracks mobile browser chrome */
    max-height: 72vh;
    max-height: 72svh;
    object-fit: contain;
    object-position: center center;
}

.splash-message {
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: clamp(0.95rem, 0.8rem + 0.8vw, 1.25rem);
    line-height: 1.45;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.08em;
    opacity: 0.85;
    max-width: 34em;
}
