/* =========================================================
   ERAYA INTELLIGENCE SYSTEM
   GLOBAL SYSTEMS / INSTITUTIONAL DESIGN
========================================================= */

:root {
    --paper: #f3f1eb;
    --paper-2: #faf9f5;
    --paper-3: #e7e5de;

    --ink: #0d1724;
    --muted: #65717d;
    --soft: #8b949d;

    --navy: #081b3a;
    --navy-2: #0d2854;
    --blue: #16386f;

    --white: #f8f9f8;

    --line: #c9cbc8;
    --dark-line: rgba(255,255,255,.16);

    --max: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body,
button,
a {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: 0;
}

::selection {
    background: var(--navy);
    color: white;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(243,241,235,.98);
    border-bottom: 1px solid var(--line);
}

.system-bar {
    min-height: 28px;
    padding: 0 4.8vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--navy);
    color: #d7dfeb;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
}

.system-location {
    color: #aebbd0;
}

.system-location span {
    margin: 0 10px;
    color: #60738f;
}

.navigation {
    height: 88px;
    padding: 0 4.8vw;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    width: 190px;
    height: 70px;

    display: flex;
    align-items: center;
}

.brand img {
    width: 175px;
    height: 64px;

    max-width: 175px;
    max-height: 64px;

    object-fit: contain;
    object-position: left center;
}

.main-nav {
    height: 100%;

    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;

    color: #1a2735;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;

    height: 2px;

    background: var(--navy);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.mobile-menu {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;

    cursor: pointer;
}

.mobile-menu span {
    display: block;

    width: 23px;
    height: 2px;

    margin: 5px auto;

    background: var(--ink);
}


/* =========================================================
   READING PROGRESS
========================================================= */

.reading-progress {
    position: fixed;
    z-index: 2000;

    left: 0;
    top: 0;

    width: 0;
    height: 3px;

    background: #91a8c8;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(var(--max), 90vw);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-code {
    margin-bottom: 45px;

    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .19em;
}

.light-code {
    color: #9fb4d0;
}


/* =========================================================
   OPENING
========================================================= */

.opening {
    padding: 78px 0 95px;

    background: var(--paper);
}

.opening-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, .9fr);
    gap: 70px;

    align-items: center;
}

.classification {
    margin-bottom: 22px;

    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.opening h1 {
    max-width: 800px;

    margin: 0;

    font-size: clamp(70px, 7vw, 112px);
    line-height: .91;
    letter-spacing: -.075em;
    font-weight: 800;
}

.opening h1 span {
    display: block;
    color: #77818b;
}

.lead {
    max-width: 650px;

    margin: 38px 0 0;

    color: #4e5b68;

    font-size: 16px;
    line-height: 1.85;
}

.system-index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    max-width: 650px;

    margin-top: 48px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.system-index > div {
    min-height: 100px;
    padding: 18px 15px;

    border-right: 1px solid var(--line);
}

.system-index > div:last-child {
    border-right: 0;
}

.system-index span {
    display: block;

    margin-bottom: 18px;

    color: var(--soft);

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .15em;
}

.system-index strong {
    display: block;

    font-size: 11px;
    letter-spacing: .08em;
}

.system-index small {
    display: block;

    margin-top: 4px;

    color: var(--blue);

    font-size: 7px;
    font-weight: 700;
    letter-spacing: .12em;
}


/* =========================================================
   ARCHITECTURE VISUAL
========================================================= */

.architecture-visual {
    border: 1px solid #b9bdbb;
    background: #f7f6f1;
}

.visual-header,
.visual-footer {
    min-height: 38px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #697580;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
}

.visual-footer {
    border-top: 1px solid var(--line);
    justify-content: center;
    gap: 10px;
}

.visual-footer i {
    color: #a1a8ad;
}

.system-diagram {
    position: relative;

    height: 520px;

    overflow: hidden;

    border-top: 1px solid var(--line);

    background-image:
        linear-gradient(#e1e2df 1px, transparent 1px),
        linear-gradient(90deg, #e1e2df 1px, transparent 1px);

    background-size: 40px 40px;
}

.diagram-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid #c7cccb;
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.ring-one {
    width: 420px;
    height: 420px;
}

.ring-two {
    width: 300px;
    height: 300px;

    border-style: dashed;
}

.diagram-line {
    position: absolute;

    background: #b8c0c2;
}

.diagram-line.vertical {
    width: 1px;
    height: 88%;

    left: 50%;
    top: 6%;
}

.diagram-line.horizontal {
    width: 88%;
    height: 1px;

    left: 6%;
    top: 50%;
}

.diagram-core,
.diagram-domain {
    position: absolute;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 50%;
}

.diagram-core {
    width: 178px;
    height: 178px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 3;

    background: var(--navy);
    color: white;

    border: 1px solid #9baabd;
}

.diagram-core small {
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #9eafc6;
}

.diagram-core strong {
    margin-top: 9px;

    font-size: 25px;
    letter-spacing: -.03em;
}

.diagram-core em {
    margin-top: 3px;

    color: #9eafc6;

    font-size: 6px;
    font-style: normal;
    letter-spacing: .14em;
}

.diagram-domain {
    width: 125px;
    height: 125px;

    z-index: 4;

    background: rgba(250,249,245,.96);

    border: 1px solid #9ca8ae;

    transition:
        background .2s ease,
        transform .2s ease;
}

.diagram-domain:hover {
    background: white;
    transform: scale(1.04);
}

.diagram-domain span {
    margin-bottom: 8px;

    color: #8a949c;

    font-size: 7px;
    letter-spacing: .14em;
}

.diagram-domain strong {
    font-size: 13px;
    letter-spacing: .08em;
}

.diagram-domain small {
    margin-top: 3px;

    color: var(--blue);

    font-size: 7px;
    letter-spacing: .12em;
}

.human-node {
    left: 50%;
    top: 5%;
    transform: translateX(-50%);

    border-color: #9eb5a8;
}

.land-node {
    left: 5%;
    bottom: 6%;

    border-color: #b9a27f;
}

.planet-node {
    right: 5%;
    bottom: 6%;

    border-color: #8eafb1;
}


/* =========================================================
   INTELLIGENCE MODEL
========================================================= */

.light {
    background: var(--paper-2);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;
}

.section-heading h2,
.architecture-heading h2,
.systems-introduction h2,
.cross-heading h2,
.runtime-heading h2,
.research-heading h2,
.governance-heading h2 {
    margin: 0;

    font-size: clamp(48px, 5vw, 72px);
    line-height: .94;
    letter-spacing: -.07em;
}

.section-heading h2 span,
.architecture-heading h2 span,
.systems-introduction h2 span,
.cross-heading h2 span,
.runtime-heading h2 span,
.research-heading h2 span,
.governance-heading h2 span {
    color: #7a858f;
}

.section-description {
    color: #53606c;

    font-size: 13px;
    line-height: 1.85;
}

.section-description p {
    margin: 0 0 24px;
}

.intelligence-chain {
    display: grid;
    grid-template-columns:
        1fr 22px
        1fr 22px
        1fr 22px
        1fr 22px
        1fr 22px
        1fr 22px
        1fr 22px
        1fr;

    margin-top: 75px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.chain-item {
    min-height: 150px;

    padding: 23px 10px;

    display: flex;
    flex-direction: column;
    gap: 9px;
}

.chain-item > span {
    color: #89929a;
    font-size: 8px;
}

.chain-item strong {
    font-size: 9px;
    letter-spacing: .1em;
}

.chain-item small {
    color: #6c7780;
    font-size: 9px;
    line-height: 1.4;
}

.chain-item.active {
    background: var(--navy);
    color: white;
}

.chain-item.active > span,
.chain-item.active small {
    color: #b4c3d6;
}

.chain-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #89939c;
}


/* =========================================================
   NAVY ARCHITECTURE
========================================================= */

.navy {
    background: var(--navy);
    color: white;
}

.architecture-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;
}

.architecture-heading h2 span {
    color: #7d91af;
}

.architecture-heading p {
    margin: 0;

    color: #c1cedd;

    font-size: 13px;
    line-height: 1.9;
}

.architecture-stack {
    margin-top: 70px;

    border: 1px solid var(--dark-line);
}

.architecture-row {
    min-height: 82px;

    padding: 0 25px;

    display: grid;
    grid-template-columns: 60px 1fr 1.2fr;
    align-items: center;

    border-bottom: 1px solid var(--dark-line);
}

.architecture-row:last-child {
    border-bottom: 0;
}

.architecture-row > span {
    color: #8195b0;
    font-size: 8px;
}

.architecture-row strong {
    font-size: 10px;
    letter-spacing: .12em;
}

.architecture-row p {
    margin: 0;

    color: #9eafc4;

    font-size: 10px;
}

.architecture-row.highlighted {
    background: #17386e;
}

.architecture-connector {
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-bottom: 1px solid var(--dark-line);

    color: #7d91ac;

    font-size: 14px;
}

.architecture-footer {
    margin-top: 45px;

    display: grid;
    grid-template-columns: 170px 1fr;

    border-top: 1px solid var(--dark-line);

    padding-top: 22px;
}

.architecture-footer > span {
    color: #8fa2ba;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
}

.architecture-footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.architecture-footer b {
    color: #d3dce7;

    font-size: 8px;
    letter-spacing: .1em;
}


/* =========================================================
   SYSTEMS
========================================================= */

.systems-section {
    background: var(--paper);
}

.systems-introduction {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;

    margin-bottom: 70px;
}

.systems-introduction p {
    margin: 0;

    color: #596570;

    font-size: 13px;
    line-height: 1.9;
}

.system-table {
    border-top: 1px solid var(--line);
}

.system-entry {
    display: grid;

    grid-template-columns:
        50px
        1.05fr
        1.3fr
        1.15fr
        130px;

    gap: 25px;

    align-items: center;

    min-height: 190px;

    padding: 35px 10px;

    border-bottom: 1px solid var(--line);

    transition:
        background .2s ease,
        padding .2s ease;
}

.system-entry:nth-child(2) {
    background: #e9e7e0;
}

.system-entry:hover {
    background: #deddd7;
    padding-left: 22px;
    padding-right: 22px;
}

.system-number {
    color: #7d878f;
    font-size: 8px;
}

.system-name small {
    display: block;

    margin-bottom: 12px;

    color: #8a939b;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .16em;
}

.system-name h3 {
    margin: 0;

    font-size: 31px;
    line-height: 1;
    letter-spacing: -.05em;
}

.system-purpose strong {
    display: block;

    color: var(--blue);

    font-size: 8px;
    letter-spacing: .12em;
}

.system-purpose p {
    margin: 10px 0 0;

    color: #5a6671;

    font-size: 10px;
    line-height: 1.7;
}

.system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.system-tags span {
    padding: 6px 7px;

    border: 1px solid #bcc2c2;

    color: #58646e;

    font-size: 6px;
    font-weight: 800;
    letter-spacing: .11em;
}

.system-link {
    color: var(--blue);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;

    text-align: right;
}

.system-note {
    display: grid;
    grid-template-columns: 180px 1fr;

    padding-top: 25px;
}

.system-note span {
    color: #818b93;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}

.system-note p {
    margin: 0;

    color: #5e6973;

    font-size: 11px;
}


/* =========================================================
   CROSS SYSTEM
========================================================= */

.cross-system {
    background: var(--blue);
    color: white;
}

.cross-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;
}

.cross-heading h2 span {
    color: #91a8ca;
}

.cross-heading p {
    margin: 0;

    color: #d1dceb;

    font-size: 13px;
    line-height: 1.9;
}

.cross-diagram {
    position: relative;

    height: 510px;

    max-width: 960px;

    margin: 70px auto 0;

    border: 1px solid rgba(255,255,255,.17);

    background-image:
        linear-gradient(
            rgba(255,255,255,.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.05) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}

.cross-line {
    position: absolute;

    left: 50%;
    top: 50%;

    height: 1px;

    width: 36%;

    background: rgba(255,255,255,.5);

    transform-origin: center;
}

.line-human {
    transform: rotate(90deg);
}

.line-land {
    transform: rotate(28deg);
}

.line-planet {
    transform: rotate(-28deg);
}

.cross-center,
.cross-node {
    position: absolute;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 50%;

    z-index: 2;
}

.cross-center {
    width: 190px;
    height: 190px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: #0b2550;

    border: 1px solid #9cafc8;
}

.cross-center small,
.cross-node small {
    color: #aebed2;

    font-size: 6px;
    letter-spacing: .14em;
}

.cross-center strong {
    margin-top: 9px;

    font-size: 24px;
}

.cross-center em {
    margin-top: 4px;

    color: #8fa5c1;

    font-size: 6px;
    font-style: normal;
    letter-spacing: .12em;
}

.cross-node {
    width: 130px;
    height: 130px;

    background: var(--blue);

    border: 1px solid rgba(255,255,255,.6);

    transition:
        transform .2s ease,
        background .2s ease;
}

.cross-node:hover {
    background: #214a89;
}

.cross-node strong {
    margin-top: 8px;

    font-size: 12px;
    letter-spacing: .08em;
}

.cross-node em {
    margin-top: 3px;

    color: #b8c8dc;

    font-size: 6px;
    font-style: normal;
    letter-spacing: .1em;
}

.cross-node.human {
    left: 50%;
    top: 6%;

    transform: translateX(-50%);

    border-color: #9bb6a8;
}

.cross-node.land {
    left: 7%;
    bottom: 7%;

    border-color: #c2a47a;
}

.cross-node.planet {
    right: 7%;
    bottom: 7%;

    border-color: #91b6b8;
}

.cross-index {
    max-width: 960px;

    margin: 35px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.2);

    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cross-index span {
    color: #d0dbea;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em;
}


/* =========================================================
   TEMPORAL RUNTIME
========================================================= */

.runtime-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;
}

.runtime-heading p {
    margin: 0;

    color: #58646f;

    font-size: 13px;
    line-height: 1.9;
}

.timeline {
    display: grid;
    grid-template-columns:
        1fr 20px
        1fr 20px
        1fr 20px
        1fr 20px
        1fr 20px
        1fr;

    margin-top: 75px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.time-point {
    min-height: 145px;

    padding: 22px 10px;

    display: flex;
    flex-direction: column;
    gap: 9px;
}

.time-point span {
    color: #89939b;

    font-size: 8px;
}

.time-point strong {
    font-size: 9px;
    letter-spacing: .1em;
}

.time-point small {
    color: #68737d;

    font-size: 9px;
}

.time-point.current {
    background: var(--navy);
    color: white;
}

.time-point.current span,
.time-point.current small {
    color: #b3c3d8;
}

.time-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #8a949d;
}

.runtime-equation {
    margin-top: 60px;

    padding: 24px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;

    font-size: 17px;
    font-weight: 800;
    letter-spacing: .03em;
}

.runtime-equation span {
    color: #8c969f;
}


/* =========================================================
   RESEARCH
========================================================= */

.research-section {
    background: var(--paper);
}

.research-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;
}

.research-heading p {
    margin: 0;

    color: #58646e;

    font-size: 13px;
    line-height: 1.9;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 70px;

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.research-grid article {
    min-height: 230px;

    padding: 27px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.research-grid article > span {
    color: #808a93;

    font-size: 8px;
}

.research-grid h3 {
    margin: 50px 0 0;

    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.research-grid p {
    margin: 15px 0 0;

    color: #65717b;

    font-size: 10px;
    line-height: 1.7;
}


/* =========================================================
   GOVERNANCE
========================================================= */

.governance-section {
    background: var(--navy);
    color: white;
}

.governance-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    gap: 80px;
}

.governance-heading h2 span {
    color: #7d92b1;
}

.governance-heading p {
    margin: 0;

    color: #c4cfdd;

    font-size: 13px;
    line-height: 1.9;
}

.governance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 70px;

    border-top: 1px solid var(--dark-line);
    border-left: 1px solid var(--dark-line);
}

.governance-grid div {
    min-height: 145px;

    padding: 25px;

    border-right: 1px solid var(--dark-line);
    border-bottom: 1px solid var(--dark-line);
}

.governance-grid strong {
    display: block;

    margin-bottom: 25px;

    color: white;

    font-size: 9px;
    letter-spacing: .12em;
}

.governance-grid span {
    color: #91a2b8;

    font-size: 10px;
    line-height: 1.65;
}


/* =========================================================
   FINAL
========================================================= */

.final-section {
    padding: 150px 0;

    background: var(--paper);

    text-align: center;
}

.final-classification {
    color: var(--blue);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .2em;
}

.final-section h2 {
    margin: 30px 0 0;

    font-size: clamp(58px, 7vw, 100px);
    line-height: .9;
    letter-spacing: -.075em;
}

.final-section h2 span {
    color: #7c868f;
}

.final-domains {
    margin-top: 35px;

    color: #68737d;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
}

.final-domains span {
    padding: 0 10px;
    color: #a0a7ac;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #06162f;
    color: #cbd4df;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 55px;

    padding-top: 70px;
    padding-bottom: 65px;
}

.footer-identity .footer-logo {
    color: white;

    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.footer-subtitle {
    margin-top: 2px;

    color: #7e91aa;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .18em;
}

.footer-identity p {
    max-width: 360px;

    margin-top: 20px;

    color: #8495aa;

    font-size: 10px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column label {
    margin-bottom: 10px;

    color: #71849e;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
}

.footer-column a,
.footer-column span {
    color: #c4ceda;

    font-size: 10px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid rgba(255,255,255,.13);

    color: #6f8198;

    font-size: 8px;
    letter-spacing: .1em;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .opening-grid,
    .section-heading,
    .architecture-heading,
    .systems-introduction,
    .cross-heading,
    .runtime-heading,
    .research-heading,
    .governance-heading {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .opening-grid {
        gap: 60px;
    }

    .intelligence-chain {
        grid-template-columns: repeat(4, 1fr);
    }

    .chain-arrow {
        display: none;
    }

    .system-entry {
        grid-template-columns:
            40px
            1fr
            1.3fr;

        gap: 20px;
    }

    .system-tags,
    .system-link {
        grid-column: 2 / -1;
    }

    .system-link {
        text-align: left;
    }

    .research-grid,
    .governance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .time-arrow {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-identity {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .system-bar {
        padding: 0 18px;
        font-size: 7px;
    }

    .system-location {
        display: none;
    }

    .navigation {
        height: 76px;
        padding: 0 18px;
    }

    .brand {
        width: 145px;
        height: 60px;
    }

    .brand img {
        width: 140px;
        height: 56px;
        max-width: 140px;
        max-height: 56px;
    }

    .mobile-menu {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;

        left: 0;
        right: 0;
        top: 104px;

        height: auto;

        padding: 10px 18px 18px;

        background: var(--paper);

        border-bottom: 1px solid var(--line);

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        height: 44px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav a::after {
        bottom: 0;
    }

    .container {
        width: 92vw;
    }

    .section {
        padding: 75px 0;
    }

    .opening {
        padding: 55px 0 70px;
    }

    .opening h1 {
        font-size: 58px;
    }

    .lead {
        font-size: 14px;
    }

    .system-index {
        grid-template-columns: 1fr;
    }

    .system-index > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .system-index > div:last-child {
        border-bottom: 0;
    }

    .system-diagram {
        height: 390px;
    }

    .ring-one {
        width: 310px;
        height: 310px;
    }

    .ring-two {
        width: 220px;
        height: 220px;
    }

    .diagram-core {
        width: 130px;
        height: 130px;
    }

    .diagram-core strong {
        font-size: 19px;
    }

    .diagram-domain {
        width: 88px;
        height: 88px;
    }

    .human-node {
        top: 4%;
    }

    .land-node {
        left: 1%;
        bottom: 5%;
    }

    .planet-node {
        right: 1%;
        bottom: 5%;
    }

    .intelligence-chain {
        grid-template-columns: 1fr 1fr;
    }

    .chain-item {
        min-height: 115px;
    }

    .architecture-row {
        grid-template-columns: 45px 1fr;
        min-height: 95px;
    }

    .architecture-row p {
        grid-column: 2;
    }

    .architecture-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .system-entry {
        grid-template-columns: 30px 1fr;
        padding: 30px 5px;
    }

    .system-purpose,
    .system-tags,
    .system-link {
        grid-column: 2;
    }

    .cross-diagram {
        height: 390px;
    }

    .cross-center {
        width: 135px;
        height: 135px;
    }

    .cross-node {
        width: 92px;
        height: 92px;
    }

    .cross-node strong {
        font-size: 8px;
    }

    .cross-node em {
        font-size: 5px;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
    }

    .runtime-equation {
        font-size: 13px;
    }

    .research-grid,
    .governance-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-identity {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        min-height: auto;
        padding: 18px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}