:root {
    color-scheme: dark;
    --text: #f8f6f0;
    --muted: rgba(248, 246, 240, 0.72);
    --line: rgba(255, 255, 255, 0.2);
    --accent: #f1a74c;
    --page-gutter: clamp(1.4rem, 5vw, 5.75rem);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: #101a2b;
}

body {
    margin: 0;
    color: var(--text);
    background: #101a2b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.site-shell {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    z-index: -3;
    object-fit: cover;
    object-position: 58% center;
    animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both;
}

.hero-shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(8, 16, 29, 0.88) 0%, rgba(8, 16, 29, 0.62) 36%, rgba(8, 16, 29, 0.08) 68%),
        linear-gradient(180deg, rgba(7, 13, 23, 0.42) 0%, transparent 32%, rgba(7, 13, 23, 0.46) 100%);
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--page-gutter);
}

.site-header {
    padding-top: clamp(1.5rem, 4vw, 3.5rem);
    animation: rise .8s .08s ease-out both;
}

.brand {
    display: inline-flex;
    gap: .72rem;
    align-items: center;
    color: var(--text);
    font-size: clamp(1rem, 1.6vw, 1.24rem);
    font-weight: 750;
    letter-spacing: .16em;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .54);
    transform: rotate(45deg);
}

.brand-mark span {
    width: .52rem;
    height: .52rem;
    background: var(--accent);
}

.status {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    padding: .62rem .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 16, 29, .28);
    backdrop-filter: blur(10px);
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.status-dot {
    width: .46rem;
    height: .46rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 .24rem rgba(241, 167, 76, .17);
}

.hero-content {
    align-self: center;
    max-width: 58rem;
    padding: 4rem var(--page-gutter);
    animation: rise .9s .18s ease-out both;
}

.eyebrow {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin: 0 0 1.4rem;
    color: var(--accent);
    font-size: clamp(.72rem, 1vw, .82rem);
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 2.75rem;
    height: 1px;
    background: currentColor;
    content: "";
}

h1 {
    max-width: 9em;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.7rem, 8.6vw, 8.2rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .88;
    text-wrap: balance;
}

.intro {
    max-width: 41rem;
    margin: clamp(1.8rem, 4vw, 3.1rem) 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.24rem);
    line-height: 1.65;
}

.site-footer {
    padding-bottom: clamp(1.5rem, 3.8vw, 3.25rem);
    color: rgba(255, 255, 255, .58);
    font-size: .74rem;
    font-weight: 650;
    letter-spacing: .13em;
    text-transform: uppercase;
    animation: rise .8s .28s ease-out both;
}

.footer-note {
    color: rgba(255, 255, 255, .8);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes settle {
    from { opacity: .6; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 700px) {
    .hero-image {
        object-position: 65% center;
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(7, 13, 23, .56) 0%, rgba(7, 13, 23, .28) 35%, rgba(7, 13, 23, .8) 100%),
            linear-gradient(90deg, rgba(7, 13, 23, .72) 0%, rgba(7, 13, 23, .15) 100%);
    }

    .status {
        padding: .54rem .7rem;
        font-size: .65rem;
        letter-spacing: .09em;
    }

    .brand-mark {
        width: 1.7rem;
        height: 1.7rem;
    }

    .hero-content {
        align-self: end;
        padding-bottom: 3rem;
    }

    h1 {
        font-size: clamp(3.25rem, 16vw, 5.4rem);
    }

    .desktop-break {
        display: none;
    }
}

@media (max-width: 400px) {
    .status {
        border: 0;
        padding-inline: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .site-footer {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
