/* EIGHTQOR.COM V2 
   PROTOCOL: CLONE & INVERT 
*/

:root {
    /* 1. The Variable Inversion (The Physics) */
    --bg: #050505;        /* Obsidian Black */
    --ink: #FAFAFA;       /* Canvas White */
    --gold: #D4AF37;      /* Oxidized Gold (Unchanged) */
    --border: #1A1A1A;    /* Dark Muted Border */
    --border-gold: rgba(212, 175, 55, 0.25); /* Muted Gold for grid lines */
}

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: "JetBrains Mono", monospace;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
}
a {
    color: inherit;
}

/* Typography Scale */
h1, h2, h3,h4,h5,h6 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    color: var(--ink);
}

.manifesto-section h2, .philosophy-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}
.mono {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(12px, 1.5vw, 14px);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--ink);
}

/* Header & Logo */
.apex-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-logo {
    width: 280px;
    margin-bottom: 30px;
    /* Inversion Logic for SVGs */
}

.gold-line-v {
    width: 1px;
    height: 150px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin-top: 40px;
    position: absolute;
    bottom: 25px;
}

/* Layout Slots */
.manifesto-section {
    padding: 15vh 0;
}

.reading-column {
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}
.federation_desc {
    margin-top: 1.5rem;
}

/* The Federation Grid */
.grid-node {
    padding: 0 2rem;
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    text-align: center;
}

/* .grid-node:hover {
    background: rgba(255, 255, 255, 0.02);
} */

.grid-node span {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(11px, 1.2vw, 14px);
    letter-spacing: 0.15em;
    color: var(--gold);
    display: block;
    margin-bottom: 0;
}

.brand-logo {
    margin-bottom: 1.5rem !important;
}

/* The Physics of Value & Borders */
.border_color {
    border-color: var(--border-gold) !important;
    border-width: 0.5px;
}

.algo-header {
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.algo-col {
    text-align: center;
    /* padding: 1rem 0; */
}

/* Footer & Governance */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0;
    margin-top: 5vh;
}

footer div {
    font-size: 12px;
    letter-spacing: 0.05em;
}

.extreme-space {
    margin-bottom: 10rem;
}

/* Utilities */
.link_mono a {
    color: var(--gold) !important;
    text-decoration: none;
    transition: opacity 0.2s;
}

/* .link_mono a:hover {
    opacity: 0.8;
} */

/* Mobile Adaptation */
@media (max-width: 1023px) {
    footer div {
        font-size: 11px;
    }
}
/* Mobile Adaptation */
@media (max-width: 768px) {
    .site-logo {
        max-width: 180px;
    }
    .philosophy-title {
        font-size: 2.3rem;
    }
    .extreme-space {
        margin-bottom: 4rem;
    }
    .border_color {
        border: none !important;
        border-bottom: 1px solid var(--border) !important; /* Stacked separation */
    }
    .grid-node {
        padding: 1rem 1rem;
    }
    .border_color {
        border: none !important;
    }
}