:root {
    --ink: #11110f;
    --paper: #f5f3ee;
    --red: #c91d1d;
    --cobalt: #2444a7;
    --acid: #c7e92f;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

.page-shell {
    min-height: 100vh;
    min-height: 100svh;
}

.hero {
    position: relative;
    min-height: 82vh;
    min-height: 82svh;
    overflow: hidden;
    background: var(--paper);
}

.hero-art {
    position: absolute;
    inset: 0;
    background-color: var(--paper);
    background-image: url("hero-astrex.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.site-header {
    position: relative;
    z-index: 2;
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 42px;
    border-bottom: 1px solid rgba(17, 17, 15, 0.35);
}

.wordmark,
.site-code,
.kicker,
.launch,
.domain,
.status-rail {
    letter-spacing: 0;
    text-transform: uppercase;
}

.wordmark {
    color: inherit;
    font-size: 1.1rem;
    font-weight: 900;
    text-decoration: none;
}

.site-code {
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-copy {
    position: relative;
    z-index: 2;
    min-height: calc(82svh - 94px);
    max-width: 760px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 42px 72px;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 26px;
    font-size: 0.76rem;
    font-weight: 900;
}

.kicker span {
    width: 13px;
    height: 13px;
    display: block;
    background: var(--red);
}

h1 {
    max-width: 100%;
    font-size: 9rem;
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: 0;
}

.intro {
    width: min(100%, 640px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: end;
    margin-top: 38px;
}

.lead {
    max-width: 24rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.35;
}

.launch {
    padding-left: 18px;
    border-left: 4px solid var(--cobalt);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.4;
}

.domain {
    position: absolute;
    z-index: 2;
    right: 32px;
    bottom: 30px;
    color: rgba(17, 17, 15, 0.72);
    font-size: 0.7rem;
    font-weight: 900;
    writing-mode: vertical-rl;
}

.status-rail {
    min-height: 18vh;
    min-height: 18svh;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    padding: 28px 42px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    background: var(--acid);
    animation: signal 2.2s steps(2, end) infinite;
}

.rail-domain {
    justify-self: end;
}

@keyframes signal {
    50% {
        opacity: 0.35;
    }
}

@media (max-width: 1100px) {
    h1 {
        font-size: 7rem;
    }

    .hero-copy {
        max-width: 650px;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 84vh;
        min-height: 84svh;
    }

    .hero-art {
        background-position: 72% 100%;
        background-size: auto 62%;
    }

    .site-header {
        min-height: 76px;
        padding: 0 20px;
    }

    .hero-copy {
        min-height: calc(84svh - 76px);
        max-width: none;
        justify-content: flex-start;
        padding: 48px 20px 280px;
    }

    h1 {
        font-size: 4.2rem;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }

    .lead {
        font-size: 1.05rem;
    }

    .launch {
        width: max-content;
    }

    .domain {
        right: 15px;
        bottom: 18px;
    }

    .status-rail {
        min-height: 16vh;
        min-height: 16svh;
        grid-template-columns: 1fr auto;
        gap: 16px;
        padding: 24px 20px;
    }

    .status-rail > p:nth-child(2) {
        display: none;
    }
}

@media (max-width: 360px) {
    .site-code {
        display: none;
    }

    h1 {
        font-size: 3.55rem;
    }

    .hero-copy {
        padding-bottom: 250px;
    }

    .status-rail {
        font-size: 0.64rem;
    }
}

@media (max-height: 680px) and (min-width: 761px) {
    .site-header {
        min-height: 72px;
    }

    .hero-copy {
        min-height: calc(82svh - 72px);
        padding-top: 28px;
        padding-bottom: 36px;
    }

    h1 {
        font-size: 6.2rem;
    }

    .intro {
        margin-top: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-dot {
        animation: none;
    }
}
