:root {
    --ink: #101817;
    --ink-soft: #50615e;
    --night: #071312;
    --night-raised: #10201e;
    --paper: #f4f1e9;
    --paper-bright: #fbfaf6;
    --line: rgba(16, 24, 23, 0.15);
    --line-dark: rgba(255, 255, 255, 0.14);
    --mint: #9de7c2;
    --mint-deep: #43c593;
    --blue: #92b8ff;
    --amber: #f1b75b;
    --white: #f8fbf8;
    --header-height: 78px;
    --shell: min(1240px, calc(100vw - 64px));
    --radius: 24px;
    --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    background: var(--night);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, p, figure, blockquote, ol, ul { margin-top: 0; }

h1, h2, h3 {
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

h2 {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: clamp(2.5rem, 5.5vw, 5.6rem);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    background: var(--white);
    color: var(--night);
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 4px;
}

.scroll-progress {
    position: fixed;
    z-index: 1001;
    inset: 0 0 auto;
    height: 3px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
}

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 max(28px, calc((100vw - 1440px) / 2));
    border-bottom: 1px solid transparent;
    color: var(--white);
    transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.site-header.is-scrolled {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(7, 19, 18, 0.88);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.brand-name { font-weight: 600; letter-spacing: -.02em; }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .88rem;
}

.primary-nav a {
    position: relative;
    color: rgba(248, 251, 248, .76);
    text-decoration: none;
    transition: color 180ms ease;
}

.primary-nav a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 1px;
    background: var(--mint);
    content: "";
    transform: scaleX(0);
    transition: transform 200ms var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-current { color: var(--white); }
.primary-nav a:hover::after,
.primary-nav a.is-current::after { transform: scaleX(1); }

.primary-nav [data-investment-lab-link].is-attention {
    animation: investment-lab-pulse .68s var(--ease) 2;
}

@keyframes investment-lab-pulse {
    0%, 100% { color: rgba(248, 251, 248, .76); text-shadow: none; transform: translateY(0); }
    45% { color: var(--white); text-shadow: 0 0 8px rgba(157,231,194,.95), 0 0 22px rgba(67,197,147,.75); transform: translateY(-1px); }
}

.nav-cta {
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 100px;
}

.menu-toggle { display: none; }

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1.18fr) minmax(350px, .82fr);
    align-items: center;
    gap: clamp(40px, 7vw, 110px);
    padding: calc(var(--header-height) + 60px) max(32px, calc((100vw - 1240px) / 2)) 90px;
    background: var(--night);
    color: var(--white);
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        radial-gradient(circle at 77% 38%, rgba(43, 121, 96, .22), transparent 28%),
        radial-gradient(circle at 16% 86%, rgba(49, 81, 129, .16), transparent 25%);
    content: "";
}

.hero-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(157, 231, 194, .13);
    border-radius: 50%;
    pointer-events: none;
    transform-origin: center;
}

.hero-orbit::before,
.hero-orbit::after {
    position: absolute;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 24px var(--mint);
    content: "";
}

.hero-orbit::before {
    top: 16%;
    left: 8%;
    width: 9px;
    height: 9px;
}

.hero-orbit::after {
    right: 11%;
    bottom: 19%;
    width: 5px;
    height: 5px;
    opacity: .62;
}

.hero-orbit-one { right: -11vw; bottom: -30vw; width: 65vw; height: 65vw; }
.hero-orbit-two { right: 8vw; bottom: -19vw; width: 42vw; height: 42vw; border-style: dashed; }
.hero-orbit-two::before { background: var(--blue); box-shadow: 0 0 24px var(--blue); }
.hero-orbit-two::after { background: var(--amber); box-shadow: 0 0 20px var(--amber); }

.hero.is-live .hero-orbit-one { animation: hero-orbit 42s linear infinite; }
.hero.is-live .hero-orbit-two { animation: hero-orbit-reverse 29s linear infinite; }
.hero.is-live .portrait-frame { animation: portrait-breathe 5.5s ease-in-out infinite; }

@keyframes hero-orbit { to { transform: rotate(360deg); } }
@keyframes hero-orbit-reverse { to { transform: rotate(-360deg); } }
@keyframes portrait-breathe {
    0%, 100% { box-shadow: 0 0 0 rgba(67,197,147,0); }
    50% { box-shadow: 0 0 72px rgba(67,197,147,.18); }
}

.hero-copy { position: relative; z-index: 2; max-width: 770px; }

.hero-kicker,
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-family: "Manrope", sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-kicker { color: var(--mint); }

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(157,231,194,.1);
}

.hero h1 {
    max-width: 780px;
    margin-bottom: 30px;
    font-size: clamp(3.4rem, 7vw, 7.3rem);
    line-height: .94;
}

.hero h1 em {
    color: var(--mint);
    font-style: normal;
}

.hero-intro {
    max-width: 660px;
    margin-bottom: 34px;
    color: rgba(248, 251, 248, .69);
    font-size: clamp(1rem, 1.45vw, 1.28rem);
}

.hero-actions,
.connect-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 180px;
    gap: 20px;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: "Manrope", sans-serif;
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 200ms var(--ease), background 200ms ease, border-color 200ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--mint); color: var(--night); }
.button-primary:hover { background: #c3f4da; }
.button-quiet { border-color: rgba(255,255,255,.28); color: var(--white); }
.button-quiet:hover { border-color: var(--white); }

.hero-path {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 50px 0 0;
    padding: 0;
    color: rgba(248,251,248,.52);
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    letter-spacing: .08em;
    list-style: none;
    text-transform: uppercase;
}

.hero-path li { display: flex; align-items: center; white-space: nowrap; }
.hero-path li:not(:last-child)::after {
    width: clamp(18px, 3vw, 48px);
    height: 1px;
    margin: 0 12px;
    background: rgba(255,255,255,.25);
    content: "";
}

.hero-portrait {
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
    margin: 0 auto;
}

.portrait-frame {
    position: relative;
    aspect-ratio: .82;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 230px 230px 24px 24px;
    background: var(--night-raised);
    overflow: hidden;
}

.portrait-frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,19,18,.55), transparent 40%);
    content: "";
}

.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }

.hero-portrait figcaption {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 4px 0;
    color: rgba(248,251,248,.52);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-portrait figcaption span:first-child { color: var(--white); }

.scroll-cue {
    position: absolute;
    right: max(32px, calc((100vw - 1240px) / 2));
    bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(248,251,248,.5);
    font-size: .72rem;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll-cue svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.section-shell { width: var(--shell); margin-inline: auto; }
.section-light { background: var(--paper-bright); }
.section-dark { background: var(--night); color: var(--white); }

.trajectory,
.enterprise,
.selected-work,
.education,
.connect { padding: clamp(100px, 12vw, 180px) 0; }

.section-heading { margin-bottom: clamp(70px, 9vw, 125px); }
.section-lede { max-width: 660px; color: var(--ink-soft); font-size: 1.12rem; }
.eyebrow { color: #3a6e5b; }
.eyebrow span { color: var(--ink-soft); }
.eyebrow-light { color: var(--mint); }
.eyebrow-light span { color: rgba(255,255,255,.4); }

.career-track { border-top: 1px solid var(--line); }

.career-stop {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) minmax(170px, .4fr);
    align-items: start;
    gap: 30px;
    padding: 44px 0 46px;
    border-bottom: 1px solid var(--line);
}

.career-index,
.career-era,
.career-signal,
.step-number,
.work-card-meta,
.quote-credit {
    font-family: "Manrope", sans-serif;
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.career-index { color: #7f8b88; }
.career-era { margin-bottom: 10px; color: #3a6e5b; }
.career-stop h3 { margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.career-stop div > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--ink-soft); }
.career-signal { margin: 9px 0 0; color: #7f8b88; text-align: right; }

.impact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 90px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.impact-stat { padding: clamp(30px, 4vw, 54px); }
.impact-stat:not(:last-child) { border-right: 1px solid var(--line); }
.impact-stat strong { display: block; margin-bottom: 10px; color: #275e4b; font-family: "Manrope", sans-serif; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.impact-stat span { color: var(--ink-soft); font-size: .84rem; }

.enterprise { position: relative; overflow: hidden; }
.enterprise::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    pointer-events: none;
}

.enterprise-grid {
    position: relative;
    display: grid;
    width: min(1440px, calc(100vw - 64px));
    grid-template-columns: minmax(430px, .78fr) minmax(620px, 1.22fr);
    align-items: center;
    gap: clamp(54px, 6vw, 104px);
}

.enterprise-copy h2 { font-size: clamp(2.7rem, 5vw, 5rem); }
.enterprise-copy > p:not(.eyebrow) { max-width: 600px; color: rgba(248,251,248,.64); font-size: 1.08rem; }

.capability-list { margin-top: 55px; border-top: 1px solid var(--line-dark); }
.capability-list > div {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
}
.capability-list span { color: rgba(255,255,255,.35); font-size: .72rem; }
.capability-list p { margin: 0; color: rgba(248,251,248,.66); }
.capability-list strong { color: var(--white); font-weight: 500; }

.system-map {
    position: relative;
    width: min(100%, 760px);
    aspect-ratio: 1;
    justify-self: center;
    margin: auto;
}
.system-map::before {
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67,197,147,.14), transparent 66%);
    content: "";
}
.system-ring {
    position: absolute;
    border: 1px solid rgba(157,231,194,.26);
    border-radius: 50%;
    transform-origin: center;
}
.system-ring::before,
.system-ring::after {
    position: absolute;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 18px rgba(157,231,194,.75);
    content: "";
}
.system-ring::before { top: 13%; left: 13%; width: 8px; height: 8px; }
.system-ring::after { right: 5%; bottom: 28%; width: 5px; height: 5px; opacity: .7; }
.ring-one { inset: 7%; }
.ring-two { inset: 23%; border-style: dashed; }
.system-core {
    position: absolute;
    z-index: 2;
    inset: 34%;
    display: grid;
    place-content: center;
    border: 1px solid rgba(157,231,194,.45);
    border-radius: 50%;
    background: rgba(16,32,30,.86);
    box-shadow: 0 0 70px rgba(67,197,147,.15);
    text-align: center;
}
.system-core span { color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.system-core strong { color: var(--mint); font-family: "Manrope", sans-serif; font-size: clamp(2.4rem, 3.5vw, 3.5rem); font-weight: 500; line-height: 1; }
.system-node {
    position: absolute;
    z-index: 3;
    min-width: 94px;
    padding: 12px 17px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 100px;
    background: #0e211e;
    color: rgba(255,255,255,.78);
    font-size: .78rem;
    text-align: center;
}
.node-data { top: 2%; left: 50%; transform: translateX(-50%); }
.node-models { top: 25%; right: 0; }
.node-risk { right: 7%; bottom: 16%; }
.node-people { bottom: 16%; left: 7%; }
.node-value { top: 25%; left: 0; }
.system-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(157,231,194,.4);
    stroke-width: 1.25;
    stroke-dasharray: 4 10;
    transform-origin: center;
}

.system-map.is-live .ring-one { animation: system-orbit 34s linear infinite; }
.system-map.is-live .ring-two { animation: system-orbit-reverse 22s linear infinite; }
.system-map.is-live .system-lines { animation: system-signal 2.6s linear infinite; }
.system-map.is-live .system-core { animation: system-breathe 4.2s ease-in-out infinite; }
.system-map.is-live .system-node { animation: node-signal 5s ease-in-out infinite; }
.system-map.is-live .node-models { animation-delay: 1s; }
.system-map.is-live .node-risk { animation-delay: 2s; }
.system-map.is-live .node-people { animation-delay: 3s; }
.system-map.is-live .node-value { animation-delay: 4s; }

@keyframes system-orbit { to { transform: rotate(360deg); } }
@keyframes system-orbit-reverse { to { transform: rotate(-360deg); } }
@keyframes system-signal { to { stroke-dashoffset: -56; } }
@keyframes system-breathe {
    0%, 100% { box-shadow: 0 0 60px rgba(67,197,147,.12); }
    50% { box-shadow: 0 0 105px rgba(67,197,147,.32), inset 0 0 28px rgba(157,231,194,.06); }
}
@keyframes node-signal {
    0%, 72%, 100% { border-color: rgba(255,255,255,.18); box-shadow: none; color: rgba(255,255,255,.78); }
    82% { border-color: rgba(157,231,194,.72); box-shadow: 0 0 24px rgba(67,197,147,.22); color: var(--mint); }
}

.research {
    padding: clamp(100px, 12vw, 180px) 0 0;
    background: #0b1a25;
    color: var(--white);
}

.research-intro { padding-bottom: clamp(80px, 10vw, 140px); }
.research-intro > p:last-child { max-width: 720px; color: rgba(248,251,248,.62); font-size: 1.12rem; }

.research-story {
    display: grid;
    grid-template-columns: minmax(400px, 1.08fr) minmax(380px, .92fr);
    gap: clamp(55px, 8vw, 130px);
    align-items: start;
}

.research-stage {
    position: sticky;
    top: calc(var(--header-height) + 32px);
    height: calc(100svh - var(--header-height) - 64px);
    min-height: 600px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #122937;
    overflow: hidden;
}

.research-stage::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-bottom: 0;
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.research-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 500ms ease; }
.research-frame.is-active { opacity: 1; }
.research-frame img { width: 100%; height: 100%; object-fit: cover; }
.research-frame[data-frame="0"] img { object-position: center 24%; }
.research-frame::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,18,26,.85), transparent 50%); content: ""; }
.research-frame figcaption { position: absolute; z-index: 2; right: 32px; bottom: 30px; left: 32px; color: rgba(255,255,255,.72); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.stage-counter { position: absolute; z-index: 4; top: 25px; right: 25px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 100px; background: rgba(5,15,22,.4); backdrop-filter: blur(12px); font-size: .66rem; letter-spacing: .12em; }

.research-steps { padding-bottom: 8vh; }
.research-step {
    display: flex;
    min-height: 82vh;
    flex-direction: column;
    justify-content: center;
    opacity: .26;
    transition: opacity 350ms ease;
}
.research-step.is-active { opacity: 1; }
.step-number { color: var(--mint); }
.research-step h3 { max-width: 570px; margin-bottom: 24px; font-size: clamp(2.1rem, 4vw, 4.1rem); }
.research-step > p:last-child { max-width: 530px; margin: 0; color: rgba(248,251,248,.62); font-size: 1.05rem; }

.selected-work { background: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work-card {
    position: relative;
    min-height: 470px;
    padding: clamp(28px, 4vw, 50px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-bright);
    color: var(--ink);
    overflow: hidden;
}
.work-card-link { display: block; text-decoration: none; transition: transform 250ms var(--ease), box-shadow 250ms ease; }
.work-card-link:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(16,24,23,.1); }
.work-card-featured { background: #173d35; color: var(--white); }
.work-card-meta { display: flex; justify-content: space-between; margin-bottom: 70px; color: #6f7d79; }
.work-card-featured .work-card-meta { color: rgba(255,255,255,.5); }
.work-card h3 { position: relative; z-index: 2; max-width: 500px; margin-bottom: 18px; font-size: clamp(2rem, 4vw, 4rem); }
.work-card > p { position: relative; z-index: 2; max-width: 520px; color: var(--ink-soft); }
.work-card-featured > p { color: rgba(255,255,255,.66); }
.work-card ul { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; margin: 30px 0 0; padding: 0; list-style: none; }
.work-card li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); font-size: .69rem; }
.work-card-featured li { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.7); }
.text-link { position: absolute; z-index: 2; bottom: 42px; left: clamp(28px, 4vw, 50px); color: #285f4d; font-size: .84rem; font-weight: 600; }
.mini-visual { position: absolute; pointer-events: none; }
.mini-earth { right: -75px; bottom: -100px; width: 290px; height: 290px; border: 1px solid rgba(157,231,194,.3); border-radius: 50%; }
.mini-earth::before, .mini-earth::after, .mini-earth span { position: absolute; inset: 18%; border: 1px solid rgba(157,231,194,.2); border-radius: 50%; content: ""; }
.mini-earth::after { inset: 35% -1%; }
.mini-earth span { inset: -1% 35%; }
.mini-flow { right: 28px; bottom: 35px; display: flex; align-items: center; gap: 15px; }
.mini-flow i { width: 10px; height: 10px; border: 1px solid #64a88c; border-radius: 50%; }
.mini-flow i:not(:last-child)::after { display: block; width: 15px; height: 1px; margin: 4px 0 0 10px; background: #64a88c; content: ""; }
.mini-chart { right: 30px; bottom: 18px; width: 52%; opacity: .28; }
.mini-chart path { fill: none; stroke: #317b61; stroke-width: 2; }
.work-card-quote { display: flex; flex-direction: column; justify-content: center; background: #dab56e; }
.quote-mark { margin-bottom: -20px; color: rgba(16,24,23,.3) !important; font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.work-card blockquote { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.045em; line-height: 1.13; }
.quote-credit { margin-top: 35px !important; margin-bottom: 0; color: rgba(16,24,23,.55) !important; }

.education { background: #dbe5df; }
.education-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(70px, 10vw, 150px); align-items: start; }
.education h2 { font-size: clamp(2.7rem, 5.6vw, 5.8rem); }
.education-statement > p { max-width: 650px; margin-bottom: 62px; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.45; }
.learning-path { border-top: 1px solid var(--line); }
.learning-path > div { display: grid; grid-template-columns: 42px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.learning-path span { grid-row: 1 / span 2; color: #70827b; font-size: .72rem; }
.learning-path strong { font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 600; }
.learning-path small { color: var(--ink-soft); }

.connect { position: relative; min-height: 82vh; display: grid; place-items: center; overflow: hidden; }
.connect-orbit { position: absolute; width: min(75vw, 940px); aspect-ratio: 1; border: 1px solid rgba(157,231,194,.14); border-radius: 50%; }
.connect-orbit::before, .connect-orbit::after { position: absolute; border: 1px solid rgba(157,231,194,.1); border-radius: 50%; content: ""; }
.connect-orbit::before { inset: 14%; }
.connect-orbit::after { inset: 30%; }
.connect-inner { position: relative; z-index: 2; text-align: center; }
.connect-inner .eyebrow { justify-content: center; }
.connect-inner h2 { max-width: 1050px; margin-inline: auto; }
.connect-inner > p:not(.eyebrow) { max-width: 660px; margin: 0 auto 35px; color: rgba(248,251,248,.62); font-size: 1.1rem; }
.connect-actions { justify-content: center; }
.linkedin-link { display:grid;place-items:center;width:49px;height:49px;color:var(--mint);border:1px solid rgba(157,231,194,.42);border-radius:50%;text-decoration:none;transition:color 180ms ease,background 180ms ease,border-color 180ms ease,transform 180ms ease; }
.linkedin-link svg { width:21px;height:21px;fill:currentColor; }
.linkedin-link:hover { color:var(--white);background:#0a66c2;border-color:#0a66c2;transform:translateY(-2px); }

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    padding: 24px max(28px, calc((100vw - 1240px) / 2));
    border-top: 1px solid rgba(255,255,255,.1);
    background: var(--night);
    color: rgba(248,251,248,.45);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.site-footer p { margin: 0; }
.site-footer p:nth-child(2) { text-align: center; }
.site-footer a { justify-self: end; text-decoration: none; }

.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }

@media (max-width: 1020px) {
    :root { --shell: min(100% - 40px, 840px); }
    .hero { grid-template-columns: 1fr .7fr; gap: 35px; padding-inline: 24px; }
    .hero h1 { font-size: clamp(3.2rem, 7.8vw, 5.5rem); }
    .hero-path { display: none; }
    .enterprise-grid, .education-grid { grid-template-columns: 1fr; }
    .system-map { width: min(100%, 650px); }
    .research-story { grid-template-columns: minmax(340px, .9fr) 1.1fr; gap: 45px; }
}

@media (max-width: 780px) {
    :root { --header-height: 68px; --shell: calc(100% - 34px); --radius: 18px; }
    .site-header { padding: 0 18px; }
    .brand-name { display: none; }
    .brand-mark { width: 38px; height: 38px; }
    .menu-toggle {
        position: relative;
        z-index: 3;
        display: grid;
        width: 44px;
        height: 44px;
        place-content: center;
        gap: 7px;
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
    }
    .menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 1px; background: currentColor; transition: transform 180ms ease; }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
    .primary-nav {
        position: fixed;
        z-index: 2;
        inset: 0;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        padding: 80px 34px;
        background: rgba(7,19,18,.98);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    }
    .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .primary-nav a { font-family: "Manrope", sans-serif; font-size: clamp(1.7rem, 8vw, 2.6rem); letter-spacing: -.04em; }
    .nav-cta { margin-top: 16px; padding: 12px 20px; font-size: 1rem !important; }

    .hero {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 55px;
        padding: calc(var(--header-height) + 60px) 18px 90px;
    }
    .hero h1 { font-size: clamp(3.1rem, 15vw, 5.6rem); }
    .hero-intro { font-size: 1rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .hero-portrait { width: min(100%, 470px); }
    .portrait-frame { border-radius: 180px 180px 18px 18px; }
    .scroll-cue { display: none; }
    .hero-orbit-one { width: 110vw; height: 110vw; }

    .career-stop { grid-template-columns: 40px 1fr; gap: 16px; }
    .career-signal { grid-column: 2; text-align: left; }
    .impact-strip { grid-template-columns: 1fr; }
    .impact-stat:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
    .enterprise-grid { grid-template-columns: minmax(0, 1fr); }
    .system-map { width: 110%; margin-left: -5%; }

    .research { padding-bottom: 80px; }
    .research-story { display: block; }
    .research-stage { position: relative; top: auto; height: 72svh; min-height: 500px; margin-bottom: 60px; border-radius: var(--radius); }
    .research-steps { display: grid; gap: 60px; padding: 0; }
    .research-step { min-height: auto; opacity: 1; }
    .research-step h3 { font-size: 2.3rem; }
    .work-grid { grid-template-columns: 1fr; }
    .work-card { min-height: 430px; }
    .education-grid { grid-template-columns: 1fr; gap: 35px; }
    .education-statement > p { font-size: 1.2rem; }
    .site-footer { grid-template-columns: 1fr; text-align: center; }
    .site-footer p:nth-child(2) { display: none; }
    .site-footer a { justify-self: center; }
}

@media (max-width: 430px) {
    .hero h1 { font-size: 3.25rem; }
    .hero-portrait figcaption { flex-direction: column; gap: 2px; }
    .research-stage { min-height: 440px; }
    .system-node { min-width: 64px; padding: 8px 10px; font-size: .62rem; }
    .system-core strong { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
