:root {
    --black: #000000;
    --gray-dark: #1A1A1A;
    --gray-med: #666666;
    --white: #FFFFFF;
    --accent: #FF6B00;
}

/* 1. Reset & Global Styles */
body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; removed to allow natural scroll flow */
    min-height: 100vh;
    overflow-x: hidden;
}

.interface-line {
    position: fixed;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, var(--gray-dark), transparent);
    z-index: -1;
}

/* 2. Header Architecture (The Subtle Fleet Stack) */
header {
    text-align: center;
    margin-top: 5rem;
    /* Increased for initial scroll depth */
}

.status-indicator {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 2px;
}

.battlestar-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0;
    text-transform: uppercase;
}

.battlestar-stack .top {
    font-size: 1.8rem;
    letter-spacing: 0.8rem;
    color: var(--gray-med);
    margin-bottom: 0.2rem;
    margin-right: -0.8rem;
}

.battlestar-stack .bottom {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 1.2rem;
    color: var(--white);
    line-height: 1;
    margin-right: -1.2rem;
}

/* 3. Messaging Sections */
main {
    flex: 1;
    /* Pushes footer to the bottom of the page */
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    width: 100%;
}

.thesis {
    margin: 4rem 0;
    line-height: 1.8;
    font-weight: 300;
    color: #CCC;
}

.caps {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 1rem;
}

.motto-break {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    letter-spacing: 0.8rem;
    color: var(--accent);
    margin: 4rem 0;
}

/* 4. The Matrix (Entities) */
.matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    /* Space before footer */
}

.matrix-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--gray-med);
    margin-bottom: 1rem;
}

.entity-name {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 1.5rem 3rem;
    background: var(--gray-dark);
    transition: background 0.3s ease, color 0.3s ease;
    clip-path: polygon(10% 0%, 90% 0%, 100% 20%, 100% 80%, 90% 100%, 10% 100%, 0% 80%, 0% 20%);
}

.entity-name:hover {
    background: var(--accent);
    color: var(--black);
}

.description {
    margin-top: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
}

/* 5. Footer (Sovereign Registry - FIXED TO STATIC FLOW) */
footer {
    position: static;
    width: 100%;
    border-top: 1px solid var(--gray-dark);
    background: var(--black);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    padding: 0 2rem;
}

.motto {
    text-align: center;
    color: var(--white);
    font-weight: 700;
}

.legal {
    text-align: right;
    opacity: 0.3;
}

.coord {
    opacity: 0.3;
}

/* Responsive interface tweak */
@media (max-width: 600px) {
    .matrix {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .battlestar-stack .bottom {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .legal,
    .coord {
        text-align: center;
    }
}
