:root {
    --bg-color: #000000;
    --primary: #FAE6C5;
    --primary-rgb: 250, 230, 197;
    --image-max-width: 640px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--primary);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.splash {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 6rem;
    gap: 2.5rem;
    position: relative;
}

.splash__image {
    display: block;
    width: 90vw;
    max-width: var(--image-max-width);
    max-height: 75vh;
    height: auto;
    object-fit: contain;
}

.splash__cta {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 0.85rem 2.25rem;
    color: var(--primary);
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: 2px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.splash__cta:hover,
.splash__cta:focus-visible {
    color: var(--bg-color);
    background-color: var(--primary);
    border-color: var(--primary);
    outline: none;
}

.splash__cta:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
}

@media (max-width: 480px) {
    .splash__cta {
        bottom: 1.75rem;
        padding: 0.75rem 1.75rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --image-max-width: 1280px;
    }
}
