:root {
    --navy: #071b3d;
    --navy-deep: #06152f;
    --ink: #0c1420;
    --muted: #707b87;
    --soft: #9ba4ad;
    --line: #cdd1d3;
    --line-dark: #263a5a;
    --paper: #f5f3ed;
    --white: #ffffff;
    --blue: #17366d;
    --green: #315b49;

    --max: 1230px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);

    font-family:
        Inter,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   SYSTEM BAR
========================================================= */

.system-bar {
    height: 30px;

    padding: 0 5.5vw;

    background: var(--navy);

    color: #dfe7f3;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.system-bar span {
    margin: 0 10px;

    opacity: 0.5;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 78px;

    padding: 0 5.5vw;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid var(--line);

    background: rgba(245, 243, 237, 0.98);

    position: relative;

    z-index: 10;
}

.brand {
    width: 155px;
    height: 58px;

    display: flex;
    align-items: center;

    overflow: hidden;

    flex-shrink: 0;
}

.brand img {
    width: 155px;
    height: 58px;

    object-fit: contain;
    object-position: left center;

    display: block;

    max-width: none;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 32px;

    font-size: 10px;
    font-weight: 700;
}

.main-nav a {
    position: relative;

    padding: 30px 0;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 17px;

    height: 2px;

    background: var(--navy);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   COMMON
========================================================= */

.section-code,
.eyebrow,
.visual-header,
.closing-code {
    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.19em;

    text-transform: uppercase;
}

.section-code {
    color: var(--blue);
}

.eyebrow {
    color: var(--blue);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    max-width: var(--max);

    margin: 0 auto;

    min-height: 720px;

    padding:
        80px 0 105px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;
}

.hero .eyebrow {
    margin-top: 48px;
    margin-bottom: 30px;
}

.hero h1 {
    max-width: 650px;

    font-size:
        clamp(66px, 6.7vw, 108px);

    line-height: 0.9;

    letter-spacing: -0.065em;

    font-weight: 800;
}

.hero h1 span {
    color: var(--muted);
}

.hero-description {
    max-width: 580px;

    margin-top: 40px;

    color: #394b60;

    font-size: 15px;

    line-height: 1.8;
}

.hero-description.secondary {
    margin-top: 17px;
}


/* =========================================================
   DOMAIN VISUAL
========================================================= */

.domain-visual {
    min-height: 570px;

    border: 1px solid #b9c0c2;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(23, 54, 109, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 54, 109, 0.035) 1px,
            transparent 1px
        );

    background-size: 38px 38px;
}

.visual-header {
    height: 40px;

    padding: 0 15px;

    border-bottom: 1px solid #c4c8ca;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #5d6875;
}

.domain-map {
    position: absolute;

    inset: 40px 0 0;

    overflow: hidden;
}

.map-grid {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(23, 54, 109, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 54, 109, 0.04) 1px,
            transparent 1px
        );

    background-size: 38px 38px;
}

.central-layer {
    position: absolute;

    width: 165px;
    height: 165px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: var(--navy);

    color: white;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow:
        0 0 0 12px rgba(7, 27, 61, 0.035),
        0 0 0 27px rgba(7, 27, 61, 0.025);
}

.central-layer small {
    font-size: 7px;

    letter-spacing: 0.17em;

    color: #9eb2d0;
}

.central-layer strong {
    margin-top: 9px;

    font-size: 24px;

    letter-spacing: -0.04em;
}

.central-layer span {
    margin-top: 4px;

    font-size: 7px;

    letter-spacing: 0.17em;

    color: #8ca2c2;
}

.domain-node {
    position: absolute;

    width: 118px;
    height: 118px;

    border-radius: 50%;

    border: 1px solid #aeb8c1;

    background: rgba(245, 243, 237, 0.94);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    transition:
        transform 180ms ease,
        background 180ms ease;
}

.domain-node:hover {
    transform: scale(1.06);

    background: white;
}

.domain-node small {
    font-size: 7px;

    color: #788693;

    letter-spacing: 0.13em;
}

.domain-node strong {
    margin-top: 8px;

    font-size: 12px;

    letter-spacing: 0.08em;
}

.domain-node span {
    margin-top: 4px;

    font-size: 7px;

    letter-spacing: 0.1em;

    color: #75869b;
}

.human-node {
    left: 50%;
    top: 8%;

    transform: translateX(-50%);
}

.land-node {
    left: 7%;
    bottom: 9%;
}

.planet-node {
    right: 7%;
    bottom: 9%;
}

.connection {
    position: absolute;

    width: 1px;

    background: #aeb9c4;

    transform-origin: top center;
}

.connection-human {
    height: 165px;

    left: 50%;
    top: 29%;

    transform:
        translateX(-50%);
}

.connection-land {
    width: 250px;
    height: 1px;

    left: 27%;
    top: 72%;

    transform:
        rotate(-25deg);
}

.connection-planet {
    width: 250px;
    height: 1px;

    right: 27%;
    top: 72%;

    transform:
        rotate(25deg);
}


/* =========================================================
   PRINCIPLE
========================================================= */

.principle {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    padding:
        115px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        120px;
}

.principle-grid {
    margin-top: 65px;

    display: grid;

    grid-template-columns:
        1.3fr 0.7fr;

    gap: 100px;
}

.principle h2,
.section-intro h2,
.dark-heading h2,
.model-heading h2,
.federated-heading h2,
.access-section h2,
.closing h2 {
    font-size:
        clamp(48px, 5.2vw, 78px);

    line-height: 0.96;

    letter-spacing: -0.055em;

    font-weight: 800;
}

.principle h2 span,
.section-intro h2 span,
.dark-heading h2 span,
.model-heading h2 span,
.federated-heading h2 span,
.access-section h2 span,
.closing h2 span {
    color: var(--muted);
}

.principle-copy p {
    margin-bottom: 24px;

    color: #425265;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   THREE DOMAINS
========================================================= */

.domains-section {
    max-width: var(--max);

    margin: 0 auto;

    padding:
        130px 0 140px;
}

.section-intro {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 100px;

    margin-bottom: 80px;
}

.section-intro h2 {
    margin-top: 45px;

    max-width: 700px;
}

.section-intro p {
    max-width: 470px;

    align-self: end;

    color: #455567;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   DOMAIN PANELS
========================================================= */

.domain-panel {
    min-height: 360px;

    display: grid;

    grid-template-columns:
        0.15fr
        1fr
        1.5fr
        1fr;

    gap: 40px;

    align-items: center;

    padding: 45px 30px;

    border-top: 1px solid var(--line);

    position: relative;
}

.domain-panel:last-child {
    border-bottom: 1px solid var(--line);
}

.domain-panel:hover {
    background: rgba(255,255,255,0.38);
}

.land-panel {
    background: #eeece6;
}

.domain-number {
    align-self: start;

    padding-top: 8px;

    font-size: 9px;

    letter-spacing: 0.14em;

    color: #7e8993;
}

.domain-title small {
    display: block;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.17em;

    color: #7c8790;
}

.domain-title h3 {
    margin-top: 18px;

    font-size: 44px;

    line-height: 1;

    letter-spacing: -0.045em;
}

.domain-title span {
    display: block;

    margin-top: 10px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.14em;

    color: var(--blue);
}

.domain-description p {
    margin-bottom: 17px;

    color: #536171;

    font-size: 12px;

    line-height: 1.75;
}

.domain-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    align-self: start;
}

.domain-tags span {
    border: 1px solid #c4c9cc;

    padding: 7px 9px;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.11em;

    color: #687684;
}

.domain-link {
    position: absolute;

    right: 30px;
    bottom: 28px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.13em;

    color: var(--blue);

    border-bottom: 1px solid var(--blue);

    padding-bottom: 6px;
}


/* =========================================================
   DARK CROSS DOMAIN
========================================================= */

.dark-section {
    background: var(--navy);

    color: white;

    padding:
        125px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        130px;
}

.dark-section .section-code {
    color: #8ca7d1;
}

.dark-heading {
    display: grid;

    grid-template-columns:
        1.25fr 0.75fr;

    gap: 100px;

    margin-top: 65px;
}

.dark-heading h2 {
    max-width: 820px;
}

.dark-heading p {
    color: #b7c4d5;

    font-size: 15px;

    line-height: 1.8;
}

.relationship-map {
    height: 500px;

    margin-top: 90px;

    border: 1px solid #263a5a;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}

.relationship-grid {
    position: absolute;

    inset: 0;
}

.relationship-node {
    position: absolute;

    width: 125px;
    height: 125px;

    border: 1px solid #7085a5;

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: rgba(7,27,61,0.8);
}

.relationship-node strong {
    font-size: 10px;

    letter-spacing: 0.14em;
}

.relationship-node small {
    margin-top: 6px;

    font-size: 7px;

    letter-spacing: 0.13em;

    color: #8ea3c1;
}

.relation-human {
    left: 50%;
    top: 7%;

    transform: translateX(-50%);
}

.relation-land {
    left: 12%;
    bottom: 10%;
}

.relation-planet {
    right: 12%;
    bottom: 10%;
}

.relationship-core {
    position: absolute;

    left: 50%;
    top: 52%;

    transform: translate(-50%, -50%);

    width: 160px;
    height: 160px;

    border-radius: 50%;

    background: #f5f3ed;

    color: var(--navy);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.relationship-core small {
    font-size: 7px;

    letter-spacing: 0.16em;

    color: #6b7b90;
}

.relationship-core strong {
    margin-top: 9px;

    font-size: 16px;

    letter-spacing: -0.02em;
}

.relationship-line {
    position: absolute;

    height: 1px;

    background: #607594;

    transform-origin: left center;
}

.line-a {
    width: 205px;

    left: 50%;
    top: 39%;

    transform:
        translateX(-50%)
        rotate(90deg);
}

.line-b {
    width: 300px;

    left: 28%;
    top: 62%;

    transform: rotate(18deg);
}

.line-c {
    width: 300px;

    right: 28%;
    top: 62%;

    transform: rotate(-18deg);
}

.relationship-note {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;

    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid #263a5a;
}

.relationship-note span {
    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.16em;

    color: #9bb0ce;
}

.relationship-note p {
    max-width: 560px;

    color: #aebdd0;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   DOMAIN MODEL
========================================================= */

.model-section {
    max-width: var(--max);

    margin: 0 auto;

    padding:
        130px 0 140px;
}

.model-heading {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 100px;

    margin-top: 65px;

    margin-bottom: 80px;
}

.model-heading p {
    max-width: 470px;

    color: #455567;

    font-size: 15px;

    line-height: 1.8;
}

.model-table {
    border-top: 1px solid var(--line);
}

.model-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1fr;

    min-height: 75px;

    border-bottom: 1px solid var(--line);
}

.model-row > div {
    padding: 22px 18px;

    border-right: 1px solid var(--line);

    font-size: 11px;

    line-height: 1.6;

    color: #536171;
}

.model-row > div:first-child {
    color: var(--blue);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.14em;
}

.model-header {
    min-height: 45px;
}

.model-header > div {
    padding-top: 14px;
    padding-bottom: 14px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: #77818a;
}


/* =========================================================
   FEDERATED
========================================================= */

.federated {
    background: #e9e7e0;

    padding:
        125px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        140px;
}

.federated-heading {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 100px;

    margin-top: 60px;

    margin-bottom: 85px;
}

.federated-heading p {
    max-width: 470px;

    color: #536170;

    font-size: 15px;

    line-height: 1.8;
}

.federated-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid #c6c8c6;

    border-left: 1px solid #c6c8c6;
}

.federated-card {
    min-height: 270px;

    padding: 30px;

    border-right: 1px solid #c6c8c6;

    border-bottom: 1px solid #c6c8c6;
}

.federated-card > span {
    font-size: 9px;

    color: #7d8790;

    letter-spacing: 0.14em;
}

.federated-card h3 {
    margin-top: 70px;

    font-size: 11px;

    line-height: 1.4;

    letter-spacing: 0.12em;
}

.federated-card p {
    margin-top: 18px;

    color: #596774;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   ACCESS
========================================================= */

.access-section {
    max-width: var(--max);

    margin: 0 auto;

    padding:
        130px 0 140px;
}

.access-section h2 {
    max-width: 850px;

    margin-top: 60px;

    margin-bottom: 85px;
}

.access-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--line);

    border-left: 1px solid var(--line);
}

.access-card {
    min-height: 330px;

    padding: 30px;

    border-right: 1px solid var(--line);

    border-bottom: 1px solid var(--line);

    display: flex;

    flex-direction: column;

    position: relative;

    transition:
        background 180ms ease,
        transform 180ms ease;
}

.access-card:hover {
    background: white;

    transform: translateY(-3px);
}

.access-number {
    font-size: 9px;

    color: #7d8790;

    letter-spacing: 0.14em;
}

.access-card small {
    margin-top: 70px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.15em;

    color: var(--blue);
}

.access-card strong {
    margin-top: 17px;

    font-size: 36px;

    letter-spacing: -0.04em;
}

.access-card span {
    margin-top: 9px;

    font-size: 10px;

    color: #7a8792;
}

.access-card em {
    position: absolute;

    left: 30px;
    bottom: 30px;

    font-size: 8px;

    font-style: normal;

    font-weight: 800;

    letter-spacing: 0.13em;

    color: var(--blue);
}


/* =========================================================
   CLOSING
========================================================= */

.closing {
    max-width: var(--max);

    margin: 0 auto;

    padding:
        150px 0 155px;

    text-align: center;
}

.closing-code {
    color: var(--blue);

    margin-bottom: 45px;
}

.closing h2 {
    max-width: 950px;

    margin: 0 auto;
}

.closing p {
    max-width: 620px;

    margin: 35px auto 0;

    color: #536273;

    font-size: 15px;

    line-height: 1.8;
}

.closing-links {
    margin-top: 55px;

    display: flex;

    justify-content: center;

    gap: 55px;
}

.closing-links a {
    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.14em;

    color: var(--blue);

    border-bottom: 1px solid var(--blue);

    padding-bottom: 7px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--navy-deep);

    color: white;

    padding:
        80px
        max(5.5vw, calc((100vw - var(--max)) / 2))
        0;
}

.footer-top {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 70px;
}

.footer-brand img {
    width: 155px;

    height: auto;

    opacity: 0.95;
}

.footer-brand p {
    max-width: 310px;

    margin-top: 25px;

    color: #94a4b8;

    font-size: 12px;

    line-height: 1.7;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.footer-column span {
    margin-bottom: 9px;

    color: #7187a5;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.footer-column a {
    color: #c0cad7;

    font-size: 11px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    min-height: 65px;

    border-top: 1px solid #263754;

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr 1fr;

    align-items: center;

    color: #71839c;

    font-size: 9px;
}

.footer-bottom div:nth-child(2),
.footer-bottom div:nth-child(3) {
    text-align: center;
}

.footer-bottom div:last-child {
    text-align: right;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity 600ms ease,
        transform 600ms ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .hero,
    .domains-section,
    .model-section,
    .access-section {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .hero {
        gap: 45px;
    }

    .main-nav {
        gap: 20px;
    }

    .domain-panel {
        grid-template-columns:
            0.12fr
            1fr
            1.4fr
            0.9fr;
    }

}


@media (max-width: 850px) {

    .system-bar {
        padding: 0 20px;
    }

    .system-bar div:last-child {
        display: none;
    }

    .site-header {
        padding: 0 25px;
    }

    .brand,
    .brand img {
        width: 120px;
    }

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 9px;
    }

    .hero {
        grid-template-columns: 1fr;

        padding:
            70px 25px 80px;
    }

    .principle,
    .dark-section,
    .federated {
        padding-left: 25px;
        padding-right: 25px;
    }

    .principle-grid,
    .section-intro,
    .dark-heading,
    .model-heading,
    .federated-heading {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .domain-panel {
        grid-template-columns:
            0.15fr
            1fr
            1fr;

        gap: 25px;
    }

    .domain-description {
        grid-column: 2 / 4;
    }

    .domain-tags {
        grid-column: 2 / 4;
    }

    .domain-link {
        position: static;

        grid-column: 2 / 4;

        justify-self: start;

        margin-top: 10px;
    }

    .relationship-note {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .model-row {
        grid-template-columns:
            1fr 1fr;
    }

    .model-row > div:nth-child(3),
    .model-row > div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .federated-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .access-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer-top {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-bottom {
        grid-template-columns:
            1fr 1fr;

        gap: 15px;

        padding: 20px 0;
    }

    .footer-bottom div,
    .footer-bottom div:nth-child(2),
    .footer-bottom div:nth-child(3),
    .footer-bottom div:last-child {
        text-align: left;
    }

}


@media (max-width: 600px) {

    .main-nav {
        display: none;
    }

    .hero h1 {
        font-size: 62px;
    }

    .domain-visual {
        min-height: 440px;
    }

    .central-layer {
        width: 130px;
        height: 130px;
    }

    .central-layer strong {
        font-size: 20px;
    }

    .domain-node {
        width: 92px;
        height: 92px;
    }

    .human-node {
        top: 7%;
    }

    .land-node {
        left: 4%;
    }

    .planet-node {
        right: 4%;
    }

    .domain-panel {
        display: block;

        padding: 35px 25px;
    }

    .domain-number {
        margin-bottom: 30px;
    }

    .domain-description {
        margin-top: 30px;
    }

    .domain-tags {
        margin-top: 25px;
    }

    .domain-link {
        display: inline-block;

        margin-top: 30px;
    }

    .relationship-map {
        height: 420px;
    }

    .relationship-node {
        width: 95px;
        height: 95px;
    }

    .relationship-core {
        width: 125px;
        height: 125px;
    }

    .relation-land {
        left: 5%;
    }

    .relation-planet {
        right: 5%;
    }

    .line-b,
    .line-c {
        width: 180px;
    }

    .model-section,
    .domains-section,
    .access-section {
        margin-left: 25px;
        margin-right: 25px;
    }

    .model-row {
        display: block;
    }

    .model-row > div {
        border-right: none;

        border-bottom: 1px solid var(--line);
    }

    .federated-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .closing {
        padding-left: 25px;
        padding-right: 25px;
    }

}