@font-face {
    font-family: "Manrope";
    src: url("assets/fonts/manrope-variable.ttf?v=3ae11c49db04") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --graphite: #171a18;
    --white: #f3f2eb;
    --lime: #d3f678;
    --muted: #a3aaa0;
    --gutter-x: clamp(32px, 4.444vw, 80px);
    --gutter-y: 56px;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 280px; }

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

p, h1 { margin: 0; }

.landing {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: max(var(--gutter-y), env(safe-area-inset-top))
             max(var(--gutter-x), env(safe-area-inset-right))
             max(var(--gutter-y), env(safe-area-inset-bottom))
             max(var(--gutter-x), env(safe-area-inset-left));
    overflow: clip;
}

.landing__background {
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
}

.landing__background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.landing::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 60%, rgb(0 0 0 / 72%) 100%),
                linear-gradient(to right, rgb(0 0 0 / 22%), rgb(0 0 0 / 8%) 54%, transparent);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: block;
    width: auto;
    height: 56px;
    flex-shrink: 0;
}

.eyebrow, .contact__label {
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.12;
}

.hero { display: flex; flex-direction: column; gap: 22px; }

.eyebrow { color: var(--lime); font-size: 12px; letter-spacing: .12em; }

h1 {
    max-width: 830px;
    font-size: clamp(60px, 6.389vw, 104px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
}

h1 span { display: block; }

.footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

.launch-note {
    color: var(--lime);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: .12em;
}

.scope { max-width: 19em; color: var(--lime); font-size: 26px; line-height: 1.2; text-wrap: balance; }

.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex-shrink: 0; }

.contact__label { color: var(--muted); font-size: 11px; letter-spacing: .14em; }

.contact__email {
    color: var(--white);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.12;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .13em;
    transition: color 160ms ease;
}

.contact__email:hover { color: var(--lime); }

.contact__email:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 6px;
    border-radius: 2px;
}

@media (min-width: 768px) and (max-height: 800px) {
    h1 { font-size: clamp(54px, 5.417vw, 78px); }
}

@media (max-width: 1100px) and (min-width: 768px) {
    .scope, .contact__email { font-size: 22px; }
}

@media (max-width: 767px), (max-aspect-ratio: 4/5), (max-width: 1100px) and (orientation: portrait) {
    :root { --gutter-x: 24px; --gutter-y: 32px; }
    .landing { gap: 40px; }
    .landing__background {
        top: clamp(32px, 6svh, 56px);
    }
    .landing__background::after {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 80px;
        pointer-events: none;
        background: linear-gradient(to bottom, var(--graphite), transparent);
    }
    .landing::after {
        background: linear-gradient(to bottom, rgb(0 0 0 / 12%), rgb(0 0 0 / 3%) 30%, rgb(0 0 0 / 65%) 60%, rgb(0 0 0 / 30%));
    }
    .logo { height: 42px; }
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .hero { gap: 18px; }
    h1 { max-width: 100%; font-size: clamp(32px, 11.538vw, 64px); }
    .footer { flex-direction: column; align-items: flex-start; gap: 28px; }
    .scope { font-size: 18px; text-wrap: pretty; }
}

@media (max-width: 350px) {
    :root { --gutter-x: 20px; --gutter-y: 24px; }
    h1 { font-size: 10.9vw; }
    .scope { font-size: 16px; }
}

@media (max-width: 1100px) and (orientation: portrait) and (min-aspect-ratio: 3/5) {
    .landing__background img {
        width: auto;
        max-width: 100%;
        margin-inline-start: auto;
        object-fit: contain;
        object-position: center top;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 18%);
        mask-image: linear-gradient(to right, transparent, #000 18%);
    }
}

@media (max-height: 500px) and (min-aspect-ratio: 1/1) {
    :root { --gutter-x: 28px; --gutter-y: 24px; }
    .landing { gap: 24px; }
    .logo { height: 36px; }
    .hero { gap: 12px; }
    h1 { font-size: clamp(38px, 5vw, 48px); }
    .scope, .contact__email { font-size: 18px; }
    .footer { flex-direction: row; align-items: flex-end; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .contact__email { transition: none; }
}

@media (max-width: 767px), (max-aspect-ratio: 4/5), (max-width: 1100px) and (orientation: portrait), (max-width: 950px) and (max-height: 500px) {
    .contact {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.4;
        white-space: nowrap;
    }

    .contact__label, .contact__email {
        font: inherit;
        letter-spacing: normal;
        text-transform: none;
    }
}
