:root {
    --ink: #05070d;
    --gold: #f0cc72;
    --white: #f8f9fd;
    --muted: rgba(248, 249, 253, 0.76);
    --line: rgba(255, 255, 255, 0.2);
}

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

html,
body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    background: var(--ink);
}

body {
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.welcome {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    padding:
        max(1.35rem, env(safe-area-inset-top))
        clamp(1.2rem, 4vw, 4.8rem)
        max(1.2rem, env(safe-area-inset-bottom));
}

.welcome-photo,
.welcome-photo img,
.photo-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.welcome-photo {
    z-index: -3;
    display: block;
    background: #07101f;
}

.welcome-photo img {
    object-fit: cover;
    object-position: 62% center;
}

.photo-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 11, 0.97) 0%, rgba(3, 8, 18, 0.88) 31%, rgba(3, 8, 17, 0.4) 58%, rgba(2, 5, 11, 0.18) 100%),
        linear-gradient(0deg, rgba(2, 5, 11, 0.88) 0%, transparent 43%, rgba(2, 5, 11, 0.38) 100%);
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-monogram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0.4rem;
    color: var(--gold);
    border: 1px solid rgba(240, 204, 114, 0.82);
    background: rgba(5, 7, 13, 0.55);
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    letter-spacing: -0.04em;
}

.brand-monogram span:last-child {
    color: var(--white);
}

.brand-name {
    display: flex;
    flex-direction: column;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-name strong {
    color: var(--gold);
    font-weight: 800;
}

.location,
.site-footer,
.domain {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.location,
.site-footer {
    color: var(--muted);
}

.location span,
.site-footer span {
    color: var(--gold);
    margin-inline: 0.4em;
}

.welcome-copy {
    align-self: center;
    width: min(100%, 50rem);
    padding-block: clamp(2.5rem, 8vh, 6rem);
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--gold);
    font-size: clamp(0.75rem, 1vw, 0.86rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    max-width: 10ch;
    margin: 0;
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: clamp(4rem, 8.4vw, 8.3rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 0.12em 0.6em rgba(0, 0, 0, 0.35);
}

h1 span {
    display: block;
    color: var(--gold);
}

.intro {
    max-width: 36rem;
    margin: clamp(1.4rem, 3vh, 2rem) 0 0;
    padding-left: 1rem;
    color: rgba(248, 249, 253, 0.88);
    border-left: 2px solid var(--gold);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-weight: 500;
    line-height: 1.55;
}

.site-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
}

.domain {
    color: var(--white);
    text-transform: lowercase;
}

@media (max-width: 700px) {
    .welcome {
        padding-inline: 1rem;
    }

    .welcome-photo {
        inset: 0 0 auto;
        height: auto;
        aspect-ratio: 1672 / 941;
    }

    .welcome-photo img {
        object-fit: contain;
        object-position: center top;
    }

    .photo-overlay {
        background:
            linear-gradient(180deg, rgba(2, 5, 11, 0.12) 0%, rgba(2, 5, 11, 0.2) 22%, rgba(2, 5, 11, 0.93) 38%, var(--ink) 62%),
            linear-gradient(90deg, rgba(2, 5, 11, 0.4), rgba(2, 5, 11, 0.05));
    }

    .location {
        display: none;
    }

    .welcome-copy {
        align-self: end;
        padding-block: 4rem 2.5rem;
    }

    h1 {
        max-width: 9ch;
        font-size: clamp(3.5rem, 17vw, 5.3rem);
    }

    .intro {
        max-width: 29rem;
        font-size: 1rem;
    }

    .site-footer {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .site-footer p:first-child {
        display: none;
    }
}

@media (max-height: 650px) and (min-width: 701px) {
    .welcome-copy {
        padding-block: 1.5rem;
    }

    h1 {
        font-size: clamp(3.6rem, 10vh, 5.3rem);
    }

    .intro {
        margin-top: 1rem;
        line-height: 1.4;
    }
}
