:root {
    --abyss: #020712;
    --abyss-soft: #040b16;
    --navy: #061b2c;
    --ocean: #073a4e;
    --aqua: #4be8d0;
    --aqua-soft: #8cf5e6;
    --gunmetal: #56636c;
    --chrome: #d8e1e6;
    --signal: #ff7139;
    --white: #f3f6f5;
    --muted: #a8b8bf;
    --muted-deep: #758790;
    --line: rgba(216, 225, 230, 0.15);
    --line-bright: rgba(75, 232, 208, 0.35);
    --glass: rgba(8, 28, 42, 0.56);
    --glass-heavy: rgba(3, 14, 25, 0.84);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    --shell: min(1320px, calc(100vw - 48px));
    --shell-narrow: min(780px, calc(100vw - 48px));
    --display: "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", "Helvetica Neue", sans-serif;
    --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
    --header-height: 84px;
}

html {
    scroll-behavior: smooth;
    background: var(--abyss);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(7, 58, 78, 0.24), transparent 34rem),
        var(--abyss);
    color: var(--white);
    font-family: var(--body);
    font-size: 16px;
    font-weight: 350;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

::selection {
    background: var(--aqua);
    color: var(--abyss);
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 5px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    clip: auto !important;
    width: auto;
    height: auto;
    top: 16px;
    left: 16px;
    z-index: 100000;
    padding: 12px 18px;
    margin: 0;
    background: var(--white);
    color: var(--abyss);
    border-radius: 4px;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.shell--narrow {
    width: var(--shell-narrow);
}

.site {
    position: relative;
    isolation: isolate;
}

.site-main {
    overflow: clip;
}

.eyebrow {
    margin-bottom: 1.3rem;
    color: var(--aqua);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    margin: 0 12px 0.25em 0;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.section {
    position: relative;
    padding: clamp(6rem, 11vw, 10rem) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.section-heading h2,
.story-copy h2,
.lab-panel h2,
.connect-panel h2,
.entry-title,
.archive-header h1,
.error-page h1 {
    margin-bottom: 1.5rem;
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.section-heading > p:last-child,
.story-lede,
.lab-panel__copy > p,
.connect-panel > p {
    color: var(--muted);
    font-size: clamp(1.04rem, 1.7vw, 1.3rem);
    line-height: 1.75;
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 4rem;
    align-items: end;
    max-width: none;
}

.section-heading--split p:last-child {
    margin-bottom: 0;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--center .eyebrow::before {
    display: none;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding-top: 18px;
    transition: padding 350ms var(--ease), background 350ms ease, border-color 350ms ease, backdrop-filter 350ms ease;
}

.site-header.is-scrolled {
    padding-top: 0;
    background: rgba(2, 7, 18, 0.74);
    border-bottom: 1px solid rgba(216, 225, 230, 0.08);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.site-header__inner {
    width: min(1480px, calc(100vw - 32px));
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-brand {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
}

.site-brand__text {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    text-decoration: none;
}

.site-brand__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(75, 232, 208, 0.45);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 28%, rgba(75, 232, 208, 0.2), transparent 50%), rgba(2, 7, 18, 0.7);
    color: var(--aqua-soft);
    font-family: var(--display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: inset 0 0 18px rgba(75, 232, 208, 0.06), 0 0 30px rgba(75, 232, 208, 0.08);
}

.site-brand__name {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    width: auto;
    max-height: 50px;
}

.primary-navigation .menu,
.deep-current-anchor-menu {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.8vw, 3rem);
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-navigation a {
    position: relative;
    display: inline-block;
    padding: 1rem 0;
    color: rgba(243, 246, 245, 0.68);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 220ms ease;
}

.primary-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.75rem;
    left: 0;
    height: 1px;
    background: var(--aqua);
    transform: scaleX(0);
    transform-origin: right;
    box-shadow: 0 0 10px var(--aqua);
    transition: transform 300ms var(--ease);
}

.primary-navigation a:hover,
.primary-navigation a.is-active {
    color: var(--white);
}

.primary-navigation a:hover::after,
.primary-navigation a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 4;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(2, 7, 18, 0.66);
    color: var(--white);
    cursor: pointer;
}

.nav-toggle__line {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 250ms var(--ease), top 250ms var(--ease);
}

.nav-toggle__line:first-of-type { top: 19px; }
.nav-toggle__line:last-of-type { top: 27px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-of-type { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:last-of-type { top: 23px; transform: rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    display: grid;
    min-height: max(760px, 100svh);
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(2, 7, 18, 0.18) 0%, rgba(2, 7, 18, 0.1) 52%, var(--abyss) 100%),
        radial-gradient(circle at 72% 40%, rgba(7, 58, 78, 0.44), transparent 38rem),
        radial-gradient(circle at 18% 36%, rgba(75, 232, 208, 0.08), transparent 30rem),
        var(--abyss);
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 180px;
    background: linear-gradient(transparent, var(--abyss));
    pointer-events: none;
}

.hero__environment {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.current-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.78;
}

.hero__caustics {
    position: absolute;
    inset: -35%;
    opacity: 0.18;
    background:
        repeating-radial-gradient(ellipse at 50% 0%, transparent 0 38px, rgba(75, 232, 208, 0.09) 40px 42px, transparent 45px 78px);
    filter: blur(8px);
    transform: perspective(800px) rotateX(66deg) translateY(-20%);
    animation: caustic-drift 18s linear infinite;
    mix-blend-mode: screen;
}

.hero__depth {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, transparent 0 36%, rgba(75, 232, 208, 0.035) 49%, transparent 63%),
        repeating-linear-gradient(90deg, transparent 0 109px, rgba(216, 225, 230, 0.025) 110px 111px);
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent);
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(75, 232, 208, 0.12);
    box-shadow: inset 0 0 70px rgba(75, 232, 208, 0.04), 0 0 90px rgba(75, 232, 208, 0.04);
}

.hero__orb--one {
    top: 12%;
    right: 5%;
    width: min(42vw, 620px);
    aspect-ratio: 1;
    animation: orb-float 15s ease-in-out infinite;
}

.hero__orb--two {
    right: 17%;
    bottom: 8%;
    width: min(20vw, 280px);
    aspect-ratio: 1;
    border-color: rgba(255, 113, 57, 0.1);
    animation: orb-float 12s ease-in-out -5s infinite reverse;
}

.hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 8rem;
}

.hero__copy {
    max-width: 900px;
}

.hero__title {
    max-width: 980px;
    margin: 0 0 1.7rem;
    font-family: var(--display);
    font-size: clamp(4rem, 8.2vw, 9rem);
    font-weight: 250;
    letter-spacing: -0.07em;
    line-height: 0.85;
    text-shadow: 0 10px 50px rgba(0, 0, 0, 0.42);
}

.hero__title::first-line {
    color: var(--white);
}

.hero__roles {
    margin-bottom: 1.15rem;
    color: var(--chrome);
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.06em;
}

.hero__intro {
    max-width: 680px;
    margin-bottom: 2.5rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.85rem 1.35rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease, color 260ms ease;
}

.button svg,
.text-link svg,
.project-card__action svg,
.world-card a svg,
.connect-email svg,
.post-card__action svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    transition: transform 260ms var(--ease);
}

.button::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -30%;
    width: 20%;
    height: 340%;
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(24deg);
    transition: left 500ms var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button:hover::before { left: 120%; }
.button:hover svg,
.text-link:hover svg,
.project-card__link:hover .project-card__action svg,
.world-card a:hover svg,
.connect-email:hover svg,
.post-card__link:hover .post-card__action svg { transform: translateX(4px); }

.button--primary {
    background: linear-gradient(120deg, var(--aqua-soft), var(--aqua));
    color: var(--abyss);
    box-shadow: 0 12px 40px rgba(75, 232, 208, 0.13);
}

.button--ghost {
    border-color: var(--line);
    background: rgba(2, 7, 18, 0.42);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.button--ghost:hover {
    border-color: rgba(75, 232, 208, 0.5);
    background: rgba(7, 58, 78, 0.24);
}

.hero__instrument {
    position: relative;
    justify-self: end;
    width: min(100%, 430px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.instrument-ring {
    position: relative;
    width: 74%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.instrument-ring::before,
.instrument-ring::after,
.instrument-ring__track {
    content: "";
    position: absolute;
    border-radius: inherit;
}

.instrument-ring::before {
    inset: 0;
    border: 1px solid rgba(216, 225, 230, 0.18);
    background: radial-gradient(circle, rgba(75, 232, 208, 0.08), transparent 62%);
    box-shadow: inset 0 0 90px rgba(75, 232, 208, 0.04), 0 0 90px rgba(0, 0, 0, 0.3);
}

.instrument-ring::after {
    inset: 13%;
    border: 1px dashed rgba(75, 232, 208, 0.26);
    animation: slow-spin 26s linear infinite reverse;
}

.instrument-ring__track {
    inset: -6%;
    border: 1px solid rgba(75, 232, 208, 0.11);
    border-top-color: rgba(75, 232, 208, 0.86);
    border-right-color: rgba(75, 232, 208, 0.34);
    box-shadow: 0 -8px 36px rgba(75, 232, 208, 0.13);
    animation: slow-spin 14s linear infinite;
}

.instrument-ring__glow {
    position: absolute;
    width: 8px;
    height: 8px;
    top: -6%;
    left: 50%;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 12px var(--aqua), 0 0 34px var(--aqua);
    transform: translateX(-50%);
}

.instrument-ring__core {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.05em;
    background: linear-gradient(130deg, var(--white), var(--gunmetal) 44%, var(--chrome) 62%, var(--white));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: metal-sweep 8s ease-in-out infinite;
}

.instrument-data {
    position: absolute;
    inset: 0;
    margin: 0;
}

.instrument-data > div {
    position: absolute;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.instrument-data > div:nth-child(1) { top: 8%; left: 0; }
.instrument-data > div:nth-child(2) { top: 46%; right: -3%; }
.instrument-data > div:nth-child(3) { bottom: 4%; left: 9%; }
.instrument-data dt { color: var(--aqua); font-variant-numeric: tabular-nums; }
.instrument-data dd { margin: 0; }

.depth-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(243, 246, 245, 0.54);
    font-size: 0.64rem;
    font-weight: 650;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.depth-cue__line {
    display: block;
    width: 1px;
    height: 46px;
    background: linear-gradient(var(--aqua), transparent);
    transform-origin: top;
    animation: depth-line 2.3s ease-in-out infinite;
}

/* Worlds */
.section--worlds {
    background:
        radial-gradient(circle at 88% 8%, rgba(75, 232, 208, 0.06), transparent 30rem),
        var(--abyss);
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.world-card {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2.6rem);
    overflow: hidden;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(7, 58, 78, 0.1), transparent 48%);
    transition: background 450ms ease, transform 450ms var(--ease);
}

.world-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(75, 232, 208, 0.13), transparent 38%);
    opacity: 0;
    transition: opacity 450ms ease;
}

.world-card:hover {
    z-index: 2;
    background: linear-gradient(160deg, rgba(7, 58, 78, 0.26), rgba(2, 7, 18, 0.2));
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.world-card:hover::before { opacity: 1; }

.world-card__index {
    position: relative;
    z-index: 1;
    color: var(--muted-deep);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

.world-card__glyph {
    position: relative;
    z-index: 1;
    width: 130px;
    height: 130px;
    margin: 4rem auto 4.2rem;
    border: 1px solid rgba(75, 232, 208, 0.22);
    border-radius: 50%;
    box-shadow: inset 0 0 34px rgba(75, 232, 208, 0.05);
    transition: transform 600ms var(--ease), border-color 400ms ease;
}

.world-card:hover .world-card__glyph {
    border-color: rgba(75, 232, 208, 0.58);
    transform: scale(1.07) rotate(8deg);
}

.world-card__glyph::before,
.world-card__glyph::after,
.world-card__glyph span {
    content: "";
    position: absolute;
}

.world-card__glyph::before {
    inset: 18%;
    border: 1px dashed rgba(216, 225, 230, 0.28);
    border-radius: 50%;
}

.world-card__glyph::after {
    top: 50%;
    left: 18%;
    width: 64%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aqua), transparent);
    box-shadow: 0 0 14px var(--aqua);
    transform: rotate(-22deg);
}

.world-card__glyph span {
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 24px rgba(75, 232, 208, 0.8);
    transform: translate(-50%, -50%);
}

.world-card__glyph--system { border-radius: 10%; transform: rotate(45deg); }
.world-card:hover .world-card__glyph--system { transform: scale(1.07) rotate(52deg); }
.world-card__glyph--system > span { border-radius: 2px; transform: translate(-50%, -50%) rotate(-45deg); }
.world-card__glyph--story::after { transform: rotate(22deg); }
.world-card__glyph--impact { border-radius: 38% 62% 57% 43% / 42% 33% 67% 58%; }

.world-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.9rem;
    font-family: var(--display);
    font-size: clamp(1.8rem, 2.6vw, 2.7rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.world-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.world-card a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
    color: var(--aqua-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

/* Projects */
.section--work {
    background:
        linear-gradient(180deg, transparent, rgba(6, 27, 44, 0.22) 38%, transparent),
        var(--abyss);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.project-card {
    grid-column: span 4;
    min-height: 520px;
    border: 1px solid var(--line);
    background: rgba(4, 11, 22, 0.6);
    overflow: hidden;
    transition: border-color 350ms ease, transform 420ms var(--ease), box-shadow 420ms ease;
}

.project-card--feature {
    grid-column: span 8;
}

.project-card:hover {
    border-color: rgba(75, 232, 208, 0.32);
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.project-card__link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.project-card__visual {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    background:
        radial-gradient(circle at 68% 28%, rgba(75, 232, 208, 0.21), transparent 24%),
        linear-gradient(135deg, #061b2c, #030914 62%, #071722);
    background-position: center;
    background-size: cover;
}

.project-card--feature .project-card__visual {
    min-height: 330px;
}

.project-card__visual.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 7, 18, 0.02), rgba(2, 7, 18, 0.7));
}

.project-card__mesh {
    position: absolute;
    inset: -20%;
    background:
        repeating-linear-gradient(90deg, transparent 0 41px, rgba(216, 225, 230, 0.055) 42px),
        repeating-linear-gradient(0deg, transparent 0 41px, rgba(216, 225, 230, 0.045) 42px);
    transform: perspective(500px) rotateX(58deg) rotateZ(-8deg) translateY(12%);
    transition: transform 900ms var(--ease);
}

.project-card:hover .project-card__mesh {
    transform: perspective(500px) rotateX(58deg) rotateZ(-4deg) translateY(4%) scale(1.08);
}

.project-card__number {
    position: absolute;
    top: 1.4rem;
    left: 1.5rem;
    z-index: 2;
    color: rgba(243, 246, 245, 0.45);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
}

.project-card__signal {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 95px;
    height: 95px;
    border: 1px solid rgba(75, 232, 208, 0.52);
    border-radius: 50%;
    box-shadow: 0 0 70px rgba(75, 232, 208, 0.11), inset 0 0 28px rgba(75, 232, 208, 0.07);
    transform: translate(-50%, -50%);
    transition: transform 700ms var(--ease), box-shadow 500ms ease;
}

.project-card__signal::before,
.project-card__signal::after {
    content: "";
    position: absolute;
    inset: 25%;
    border: 1px solid rgba(216, 225, 230, 0.3);
    border-radius: 50%;
}

.project-card__signal::after {
    inset: 47%;
    border: 0;
    background: var(--aqua);
    box-shadow: 0 0 14px var(--aqua);
}

.project-card:hover .project-card__signal {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 0 90px rgba(75, 232, 208, 0.2), inset 0 0 34px rgba(75, 232, 208, 0.1);
}

.project-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.project-card__kicker {
    margin-bottom: 0.7rem;
    color: var(--aqua);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.project-card h3 {
    margin-bottom: 0.9rem;
    font-family: var(--display);
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 350;
    letter-spacing: -0.05em;
    line-height: 1;
}

.project-card__body > p:not(.project-card__kicker) {
    color: var(--muted);
    font-size: 0.93rem;
}

.project-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--chrome);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Constellation */
.section--systems {
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(7, 58, 78, 0.28), transparent 42rem),
        var(--abyss);
}

.constellation {
    position: relative;
    height: 680px;
    max-width: 1120px;
    margin: 0 auto;
}

.constellation::before {
    content: "";
    position: absolute;
    inset: 8% 14%;
    border: 1px solid rgba(75, 232, 208, 0.07);
    border-radius: 50%;
    box-shadow: inset 0 0 120px rgba(75, 232, 208, 0.03);
}

.constellation__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.constellation__lines line {
    stroke: rgba(75, 232, 208, 0.24);
    stroke-width: 1;
    stroke-dasharray: 3 8;
    vector-effect: non-scaling-stroke;
    animation: constellation-dash 20s linear infinite;
}

.constellation__core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 180px;
    height: 180px;
    place-items: center;
    border: 1px solid rgba(75, 232, 208, 0.55);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(75, 232, 208, 0.16), rgba(2, 7, 18, 0.9) 68%);
    box-shadow: 0 0 100px rgba(75, 232, 208, 0.12), inset 0 0 45px rgba(75, 232, 208, 0.05);
    transform: translate(-50%, -50%);
}

.constellation__core::before,
.constellation__core::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(216, 225, 230, 0.11);
}

.constellation__core::before { inset: -18px; }
.constellation__core::after { inset: 20px; border-style: dashed; animation: slow-spin 24s linear infinite; }

.constellation__core span {
    text-align: center;
    font-family: var(--display);
    font-size: 1.65rem;
    font-weight: 350;
    letter-spacing: -0.04em;
    line-height: 0.94;
}

.constellation__nodes {
    padding: 0;
    margin: 0;
    list-style: none;
}

.constellation__nodes li {
    position: absolute;
    top: var(--y);
    left: var(--x);
    z-index: 3;
    display: grid;
    width: 135px;
    height: 135px;
    place-items: center;
    border: 1px solid rgba(216, 225, 230, 0.15);
    border-radius: 50%;
    background: rgba(3, 14, 25, 0.78);
    box-shadow: inset 0 0 30px rgba(75, 232, 208, 0.025), 0 16px 50px rgba(0, 0, 0, 0.18);
    text-align: center;
    transform: translate(-50%, -50%);
    transition: border-color 350ms ease, transform 400ms var(--ease), background 350ms ease;
}

.constellation__nodes li::before {
    content: "";
    position: absolute;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 12px var(--aqua);
}

.constellation__nodes li:hover {
    border-color: rgba(75, 232, 208, 0.56);
    background: rgba(6, 27, 44, 0.92);
    transform: translate(-50%, -50%) scale(1.08);
}

.constellation__nodes span {
    max-width: 95px;
    color: var(--chrome);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Story */
.section--story {
    background:
        linear-gradient(90deg, rgba(6, 27, 44, 0.28), transparent 42%),
        var(--abyss);
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    gap: clamp(4rem, 9vw, 10rem);
    align-items: start;
}

.story-copy {
    position: sticky;
    top: calc(var(--header-height) + 4rem);
}

.story-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.story-lede {
    margin-bottom: 1.4rem;
    color: var(--chrome) !important;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.4rem;
    color: var(--aqua-soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.story-chapters {
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.story-chapters li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.5rem;
    min-height: 190px;
    align-content: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
}

.story-chapters > li > span {
    color: var(--aqua);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.story-chapters h3 {
    margin-bottom: 0.6rem;
    font-family: var(--display);
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.story-chapters p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
}

/* Lab */
.section--lab {
    background: var(--abyss);
}

.lab-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 660px;
    border: 1px solid var(--line);
    background: var(--glass);
    box-shadow: var(--shadow);
}

.lab-panel__visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-right: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 45%, rgba(75, 232, 208, 0.17), transparent 18%),
        radial-gradient(circle at 50% 45%, transparent 0 23%, rgba(75, 232, 208, 0.18) 23.2% 23.5%, transparent 23.7% 35%, rgba(216, 225, 230, 0.1) 35.2% 35.5%, transparent 35.7%),
        repeating-linear-gradient(90deg, transparent 0 69px, rgba(216, 225, 230, 0.04) 70px),
        repeating-linear-gradient(0deg, transparent 0 69px, rgba(216, 225, 230, 0.035) 70px),
        linear-gradient(145deg, var(--navy), var(--abyss));
}

.lab-panel__visual::before,
.lab-panel__visual::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(75, 232, 208, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.lab-panel__visual::before { width: 410px; height: 410px; }
.lab-panel__visual::after { width: 260px; height: 260px; border-style: dashed; animation: slow-spin 30s linear infinite; }

.lab-panel__scan {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aqua), transparent);
    box-shadow: 0 0 25px rgba(75, 232, 208, 0.6);
    animation: lab-scan 7s ease-in-out infinite;
}

.lab-panel__monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    font-family: var(--display);
    font-size: clamp(6rem, 12vw, 11rem);
    font-weight: 200;
    letter-spacing: -0.08em;
    background: linear-gradient(135deg, var(--white), var(--gunmetal) 38%, var(--chrome) 60%, var(--white));
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translate(-50%, -50%);
    animation: metal-sweep 9s ease-in-out infinite;
}

.lab-panel__coordinates {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 3;
    color: rgba(243, 246, 245, 0.45);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
}

.lab-panel__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.3rem, 5vw, 5.5rem);
}

.lab-panel__copy .button {
    align-self: flex-start;
    margin-top: 1.4rem;
}

.lab-panel__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.lab-panel__signals span {
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    color: var(--chrome);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Connect */
.section--connect {
    min-height: 82svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 115%, rgba(75, 232, 208, 0.22), transparent 44rem),
        linear-gradient(180deg, var(--abyss), #04141f);
}

.connect-current {
    position: absolute;
    right: -10%;
    bottom: -60%;
    left: -10%;
    height: 90%;
    border: 1px solid rgba(75, 232, 208, 0.2);
    border-radius: 50% 50% 0 0;
    box-shadow: 0 -30px 100px rgba(75, 232, 208, 0.05);
}

.connect-current::before,
.connect-current::after {
    content: "";
    position: absolute;
    inset: -8% 8% auto;
    height: 100%;
    border-top: 1px solid rgba(216, 225, 230, 0.1);
    border-radius: 50%;
}

.connect-current::after { inset: -18% 20% auto; }

.connect-panel {
    position: relative;
    z-index: 2;
    max-width: 980px;
    text-align: center;
}

.connect-panel .eyebrow::before { display: none; }

.connect-panel h2 {
    max-width: 960px;
    margin-inline: auto;
    font-size: clamp(3.4rem, 7.5vw, 8rem);
}

.connect-panel > p {
    max-width: 760px;
    margin-inline: auto;
}

.connect-email {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(75, 232, 208, 0.45);
    color: var(--aqua-soft);
    font-family: var(--display);
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-links a {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.social-links a:hover { color: var(--white); }

/* Footer */
.site-footer {
    position: relative;
    background: #04141f;
    border-top: 1px solid rgba(216, 225, 230, 0.09);
}

.site-footer__inner {
    min-height: 180px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: center;
}

.site-footer__name {
    margin-bottom: 0.3rem;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__tagline,
.site-footer__copyright {
    margin: 0;
    color: var(--muted-deep);
    font-size: 0.67rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-menu {
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-menu a {
    color: var(--muted);
    font-size: 0.68rem;
    text-decoration: none;
}

/* Interior content */
.content-shell {
    min-height: 75svh;
    padding: calc(var(--header-height) + 7rem) 0 8rem;
    background:
        radial-gradient(circle at 80% 0, rgba(7, 58, 78, 0.25), transparent 34rem),
        var(--abyss);
}

.archive-header,
.entry-header {
    margin-bottom: 4rem;
}

.archive-header h1,
.entry-title {
    max-width: 1040px;
}

.entry-deck {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.25rem;
}

.entry-hero {
    margin: 0 0 3rem;
}

.entry-hero img {
    width: 100%;
    height: auto;
}

.entry-content {
    color: #c3ced2;
    font-size: 1.08rem;
}

.entry-content > * + * { margin-top: 1.5em; }
.entry-content h2,
.entry-content h3 { margin-top: 2.2em; color: var(--white); font-family: var(--display); letter-spacing: -0.035em; }
.entry-content h2 { font-size: 2.5rem; }
.entry-content h3 { font-size: 1.8rem; }
.entry-content a { color: var(--aqua-soft); }
.entry-content blockquote {
    margin: 2.2rem 0;
    padding: 0.25rem 0 0.25rem 1.5rem;
    border-left: 2px solid var(--aqua);
    color: var(--chrome);
    font-size: 1.25rem;
}
.entry-content pre {
    overflow: auto;
    padding: 1.2rem;
    background: #06111d;
    border: 1px solid var(--line);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.post-card {
    border: 1px solid var(--line);
    background: var(--glass);
}

.post-card__link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.post-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease);
}

.post-card__link:hover img { transform: scale(1.04); }

.post-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
}

.post-card__meta {
    color: var(--aqua);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.post-card h2 {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.post-card__body > p:not(.post-card__meta) { color: var(--muted); }
.post-card__action { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: auto; color: var(--aqua-soft); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }

.error-page { padding-block: 5rem; text-align: center; }
.error-page p:not(.eyebrow) { color: var(--muted); }
.error-page .button { margin-top: 1rem; }

/* Reveal system */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms var(--ease), transform 900ms var(--ease);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.world-grid [data-reveal]:nth-child(2),
.project-grid [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.world-grid [data-reveal]:nth-child(3),
.project-grid [data-reveal]:nth-child(3) { transition-delay: 140ms; }
.world-grid [data-reveal]:nth-child(4),
.project-grid [data-reveal]:nth-child(4) { transition-delay: 210ms; }
.project-grid [data-reveal]:nth-child(5) { transition-delay: 280ms; }
.project-grid [data-reveal]:nth-child(6) { transition-delay: 350ms; }

/* Animations */
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes metal-sweep { 0%, 25% { background-position: 100% 0; } 60%, 100% { background-position: -100% 0; } }
@keyframes orb-float { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-25px, 18px, 0) scale(1.04); } }
@keyframes caustic-drift { to { transform: perspective(800px) rotateX(66deg) translate3d(8%, -10%, 0) rotate(8deg); } }
@keyframes depth-line { 0%, 100% { transform: scaleY(0.35); opacity: 0.35; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes constellation-dash { to { stroke-dashoffset: -110; } }
@keyframes lab-scan { 0%, 100% { top: 5%; opacity: 0; } 12% { opacity: 1; } 70% { opacity: 0.9; } 88% { top: 95%; opacity: 0; } }

@media (max-width: 1120px) {
    .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr); gap: 3rem; }
    .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .world-card { min-height: 440px; }
    .project-card { grid-column: span 6; }
    .project-card--feature { grid-column: span 12; }
    .story-layout { grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr); gap: 4rem; }
}

@media (max-width: 860px) {
    :root { --header-height: 70px; --shell: min(100% - 32px, 1320px); --shell-narrow: min(100% - 32px, 780px); }

    .site-header { padding-top: 8px; }
    .site-header__inner { width: calc(100vw - 20px); min-height: var(--header-height); }
    .site-brand__name { display: none; }
    .nav-toggle { display: block; }

    .primary-navigation {
        position: fixed;
        inset: 0;
        z-index: 3;
        display: grid;
        place-items: center;
        padding: 7rem 2rem 4rem;
        background:
            radial-gradient(circle at 70% 20%, rgba(75, 232, 208, 0.12), transparent 25rem),
            rgba(2, 7, 18, 0.98);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity 320ms ease, visibility 320ms ease, transform 420ms var(--ease);
    }

    .primary-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .primary-navigation .menu,
    .deep-current-anchor-menu {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .primary-navigation a {
        padding: 0.7rem;
        font-family: var(--display);
        font-size: clamp(2rem, 8vw, 3.7rem);
        font-weight: 300;
        letter-spacing: -0.03em;
        text-transform: none;
    }

    .primary-navigation a::after { bottom: 0.5rem; }

    .hero { min-height: max(760px, 100svh); }
    .hero__inner { grid-template-columns: 1fr; padding-top: calc(var(--header-height) + 6rem); padding-bottom: 8rem; }
    .hero__title { max-width: 760px; font-size: clamp(4.1rem, 14vw, 7.5rem); }
    .hero__instrument { display: none; }

    .section-heading--split { grid-template-columns: 1fr; gap: 1rem; }
    .project-card, .project-card--feature { grid-column: span 12; }
    .project-card__visual, .project-card--feature .project-card__visual { min-height: 320px; }

    .constellation { height: auto; }
    .constellation::before,
    .constellation__lines,
    .constellation__core { display: none; }
    .constellation__nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .constellation__nodes li {
        position: relative;
        inset: auto !important;
        width: auto;
        height: auto;
        min-height: 150px;
        padding: 2rem;
        border-radius: 2px;
        transform: none;
    }
    .constellation__nodes li:hover { transform: translateY(-4px); }

    .story-layout { grid-template-columns: 1fr; }
    .story-copy { position: relative; top: auto; }
    .lab-panel { grid-template-columns: 1fr; }
    .lab-panel__visual { min-height: 460px; border-right: 0; border-bottom: 1px solid var(--line); }

    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__inner { grid-template-columns: 1fr auto; padding-block: 2.5rem; }
    .site-footer__copyright { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .section { padding: 6rem 0; }
    .section-heading { margin-bottom: 3.5rem; }
    .section-heading h2,
    .story-copy h2,
    .lab-panel h2,
    .connect-panel h2,
    .entry-title,
    .archive-header h1,
    .error-page h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }

    .hero__title { font-size: clamp(3.8rem, 18vw, 5.8rem); line-height: 0.88; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .button { width: 100%; }
    .depth-cue { display: none; }

    .world-grid { grid-template-columns: 1fr; }
    .world-card { min-height: 420px; }
    .world-card__glyph { margin-block: 3.2rem; }

    .project-card__visual, .project-card--feature .project-card__visual { min-height: 240px; }
    .constellation__nodes { grid-template-columns: 1fr; }
    .constellation__nodes li { min-height: 120px; }
    .story-chapters li { grid-template-columns: 42px 1fr; gap: 0.8rem; min-height: 160px; }
    .lab-panel__visual { min-height: 360px; }
    .lab-panel__visual::before { width: 280px; height: 280px; }
    .lab-panel__visual::after { width: 190px; height: 190px; }
    .lab-panel__copy { padding: 2rem 1.3rem 2.5rem; }
    .connect-email { font-size: 1.22rem; overflow-wrap: anywhere; }
    .social-links { gap: 1.2rem; }

    .post-grid { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .footer-menu { justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .current-canvas,
    .hero__caustics,
    .hero__orb,
    .lab-panel__scan { display: none; }

    .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .site-header,
    .hero__environment,
    .depth-cue,
    .current-canvas,
    .connect-current { display: none !important; }
    body { background: #fff; color: #111; }
    .hero, .section, .content-shell { min-height: auto; padding: 2rem 0; background: #fff; }
    .hero__inner, .section-heading--split, .story-layout, .lab-panel { display: block; }
    .world-grid, .project-grid, .post-grid { display: block; }
    .world-card, .project-card, .post-card, .lab-panel { break-inside: avoid; margin-bottom: 1rem; border: 1px solid #bbb; background: #fff; color: #111; }
    .hero__instrument, .constellation { display: none; }
    a { color: #111; text-decoration: underline; }
}
