:root {
    --cream: #f5ead0;
    --ochre: #c4973f;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: #15120e;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -3;
}

.shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, .03) 0%,
        rgba(0, 0, 0, .02) 42%,
        rgba(0, 0, 0, .17) 64%,
        rgba(0, 0, 0, .38) 100%
    );
}

.content {
    position: relative;
    width: min(92vw, 920px);
    min-height: 100vh;
    min-height: 100svh;
    padding:
        clamp(3rem, 8vh, 6.5rem)
        1.25rem
        max(2.4rem, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sign {
    display: block;
    width: clamp(118px, 10.5vw, 190px);
    height: auto;
    margin-top: clamp(1rem, 7vh, 5.5rem);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18));

    /* Intentionally exaggerated for this test */
    opacity: .75;
}

h1 {
    margin: clamp(3.7rem, 10vh, 7.5rem) 0 0;
    color: var(--cream);
    font-family: "Overpass", sans-serif;
    font-size: clamp(1rem, 1.45vw, 1.65rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.inquiries {
    margin-top: clamp(2rem, 4.3vh, 3.4rem);
    color: var(--cream);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    line-height: 1.05;
    display: flex;
    flex-direction: column;
}

.inquiries a {
    color: inherit;
    text-decoration: none;
    transition: opacity .18s ease;
}

.inquiries a:hover,
.inquiries a:focus-visible {
    opacity: .72;
}

/*
 * Cities are independently anchored near the bottom
 * of the viewport rather than flowing beneath Inquiries.
 */
.cities {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(35px, 6vh, 70px);

    color: var(--ochre);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(.95rem, 1.1vw, 1.22rem);
    line-height: 1.2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.15rem, 3vw, 3.5rem);
    white-space: nowrap;
}

@media (max-width: 600px) {

    .content {
        padding-top: 6vh;
    }

    .sign {
        width: clamp(110px, 31vw, 145px);
        margin-top: 2vh;
    }

    h1 {
        margin-top: 10vh;
        font-size: clamp(.9rem, 4vw, 1.05rem);
    }

    .inquiries {
        margin-top: 4vh;
        font-size: 1rem;
    }

    .cities {
        bottom: max(32px, env(safe-area-inset-bottom));
        gap: .7rem;
        font-size: clamp(.78rem, 3.5vw, .95rem);
    }
}

@media (max-height: 650px) and (orientation: landscape) {

    .content {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .sign {
        width: 105px;
        margin-top: 0;
    }

    h1 {
        margin-top: 2rem;
    }

    .inquiries {
        margin-top: 1.25rem;
    }

    .cities {
        bottom: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-video {
        display: none;
    }

    .hero {
        background:
            #2a2119
            url("assets/poster.jpg")
            center / cover
            no-repeat;
    }
}
