:root {
    --bg: #03101a;
    --bg-deep: #020a10;
    --panel: rgba(8, 28, 40, .72);
    --panel-strong: #071b28;
    --line: rgba(138, 229, 235, .14);
    --line-strong: rgba(138, 229, 235, .28);
    --text: #edf6f8;
    --muted: #9fb4be;
    --soft: #78909b;
    --cyan: #7de4e7;
    --blue: #4a95cf;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg-deep);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 max(28px, calc((100vw - var(--max)) / 2));
    border-bottom: 1px solid rgba(126, 223, 230, .08);
    background: rgba(2, 10, 16, .76);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    letter-spacing: -.02em;
    font-size: 1.03rem;
    font-weight: 500;
}

.brand img { width: 30px; height: 29px; }
.brand strong { color: var(--cyan); font-weight: 400; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.site-nav a {
    color: #b9c9d0;
    text-decoration: none;
    font-size: .88rem;
    transition: color .2s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--cyan); }

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--line);
    background: #061521;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(2, 10, 16, .18) 0, transparent 20%, transparent 72%, rgba(2, 10, 16, .72) 100%),
        radial-gradient(circle at 50% 45%, transparent 0 24%, rgba(2, 10, 16, .08) 60%, rgba(2, 10, 16, .48) 100%);
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('/assets/hero-network.svg') center/cover no-repeat;
    transform: scale(1.02);
}

.hero-copy {
    width: min(980px, calc(100% - 48px));
    margin-top: 12px;
    text-align: center;
}

.hero-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.hero-mark {
    width: 89px;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(84, 194, 213, .2));
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.25rem, 6vw, 6.2rem);
    line-height: .95;
    letter-spacing: -.048em;
    font-weight: 360;
    text-shadow: 0 6px 30px rgba(0,0,0,.42);
}

.hero h1 span {
    color: #b8d9e7;
    font-weight: 250;
}

.hero-areas {
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 15px;
    color: #c2d0d6;
    font-size: clamp(.96rem, 1.35vw, 1.19rem);
    letter-spacing: .025em;
}
.hero-areas i { color: var(--cyan); font-style: normal; }

.hero-labels .label {
    position: absolute;
    border: 1px solid rgba(105, 205, 216, .22);
    background: rgba(5, 25, 36, .42);
    padding: 5px 9px 4px;
    color: rgba(183, 229, 232, .68);
    font: 500 .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .08em;
    box-shadow: 0 0 25px rgba(64, 178, 196, .04);
}
.label-agents { left: 7%; top: 40%; }
.label-evidence { left: 18%; top: 29%; }
.label-commerce { left: 12%; top: 57%; }
.label-trust { left: 36%; top: 61%; }

.hero-note {
    position: absolute;
    color: rgba(183, 215, 219, .46);
    font: 500 .58rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .22em;
}
.hero-note::before {
    content: "";
    display: block;
    width: 22px;
    margin-bottom: 10px;
    border-top: 1px solid rgba(163, 224, 229, .48);
}
.hero-note-left { left: 7%; bottom: 12%; }
.hero-note-right { right: 6%; bottom: 10%; }

.section {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 110px 0;
}

.eyebrow {
    color: var(--cyan);
    font: 600 .72rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.intro-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    gap: 90px;
    align-items: start;
}

h2 {
    margin: 0;
    font-size: clamp(2.25rem, 4.3vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 380;
}

.intro-copy {
    padding-top: 9px;
    color: #afc0c7;
    font-size: 1.06rem;
}
.intro-copy p { margin: 0 0 20px; }

.work {
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 45px;
}
.section-heading h2 {
    margin-top: 14px;
    font-size: clamp(2rem, 3.4vw, 3.7rem);
}
.updated {
    margin: 0 0 7px;
    color: var(--soft);
    font: .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.experiment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.experiment-card {
    min-height: 315px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(15, 50, 65, .36), rgba(5, 20, 30, .72)),
        var(--panel);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.experiment-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: linear-gradient(135deg, rgba(18, 59, 76, .44), rgba(5, 20, 30, .8));
}

.card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.area {
    color: #7fa8b8;
    font: 600 .66rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a9c1c9;
    font: 500 .68rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
}
.status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(125, 228, 231, .6);
}

.experiment-card h3 {
    margin: 38px 0 12px;
    font-size: 1.55rem;
    letter-spacing: -.025em;
    font-weight: 480;
}
.experiment-card p {
    margin: 0 0 26px;
    max-width: 55ch;
    color: #9fb2ba;
}
.card-link {
    margin-top: auto;
    width: fit-content;
    color: #c7e9ec;
    text-decoration: none;
    font-size: .88rem;
}
.card-link span { color: var(--cyan); margin-left: 4px; }
.card-link:hover { color: var(--cyan); }

.principles {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr);
    gap: 110px;
    border-top: 1px solid var(--line);
}

.principle-statement blockquote {
    margin: 21px 0 25px;
    max-width: 730px;
    font-size: clamp(2.3rem, 4.1vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 340;
}
.principle-statement > p {
    max-width: 620px;
    margin: 0;
    color: #9fb1b9;
}

.principle-list {
    border-top: 1px solid var(--line);
}
.principle-list > div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.principle-list span {
    padding-top: 3px;
    color: #537a8b;
    font: .68rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.principle-list p {
    margin: 0;
    color: #bdcbd0;
}

.brain-boundary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
    gap: 90px;
    align-items: end;
    border-top: 1px solid var(--line);
}
.brain-boundary h2 {
    margin-top: 15px;
    font-size: clamp(2rem, 3.5vw, 3.65rem);
}
.brain-boundary > p {
    margin: 0 0 5px;
    color: #9fb1b9;
}

.site-footer {
    min-height: 190px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 42px;
    padding: 40px max(28px, calc((100vw - var(--max)) / 2));
    border-top: 1px solid var(--line);
    background: #020a10;
    color: #718892;
    font-size: .8rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #b5c7cd;
}
.footer-brand img { width: 25px; }
.site-footer p { margin: 0; }
.copyright { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

@media (max-width: 900px) {
    .hero { min-height: 660px; }
    .hero-lockup { gap: 17px; }
    .hero-mark { width: 69px; }
    .hero-note-right, .label-trust { display: none; }
    .intro-grid,
    .principles,
    .brain-boundary { grid-template-columns: 1fr; gap: 42px; }
    .intro-grid { gap: 32px; }
    .experiment-grid { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
    .site-header {
        min-height: 62px;
        padding-inline: 18px;
    }
    .site-nav { gap: 15px; }
    .site-nav a { font-size: .78rem; }
    .brand { font-size: .9rem; }
    .brand img { width: 25px; }

    .hero {
        min-height: 610px;
        align-items: center;
    }
    .hero-art {
        background-position: 61% center;
        opacity: .9;
    }
    .hero-copy { width: calc(100% - 34px); }
    .hero-lockup { gap: 12px; }
    .hero-mark { width: 48px; }
    .hero h1 { font-size: clamp(2.45rem, 12.4vw, 4rem); }
    .hero-areas {
        max-width: 360px;
        margin: 22px auto 0;
        gap: 5px 10px;
        font-size: .82rem;
    }
    .hero-labels .label { font-size: .55rem; }
    .label-agents { left: 5%; top: 34%; }
    .label-evidence { left: auto; right: 6%; top: 31%; }
    .label-commerce { left: 6%; top: 67%; }
    .hero-note-left { left: 6%; bottom: 5%; font-size: .48rem; }

    .section {
        width: calc(100% - 36px);
        padding: 76px 0;
    }
    h2 { font-size: 2.35rem; }
    .section-heading { align-items: start; flex-direction: column; gap: 13px; }
    .experiment-card { min-height: 290px; padding: 24px; }
    .principle-statement blockquote { font-size: 2.45rem; }
    .brain-boundary h2 { font-size: 2.4rem; }
    .site-footer { padding: 34px 18px 45px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
