:root {
    --ink: #07131f;
    --ink-2: #0d1e2d;
    --paper: #f4f2ec;
    --paper-2: #e8e6df;
    --white: #fff;
    --cyan: #62e7dd;
    --orange: #ff7a4d;
    --muted: #71808d;
    --line-dark: rgba(255, 255, 255, .15);
    --line-light: rgba(7, 19, 31, .16);
    --mono: "DM Mono", monospace;
    --sans: "Manrope", sans-serif;
    --page: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--cyan); color: var(--ink); }

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 999;
    padding: 10px 16px;
    background: var(--cyan);
    color: var(--ink);
    font-weight: 700;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100vw - 1240px) / 2));
    color: var(--white);
    border-bottom: 1px solid transparent;
    transition: background .25s, border-color .25s, height .25s;
}
.site-header.scrolled {
    height: 66px;
    background: rgba(7, 19, 31, .93);
    border-color: var(--line-dark);
    backdrop-filter: blur(14px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}
.brand small { color: var(--cyan); font: 500 10px var(--mono); margin-left: 4px; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font: 500 11px var(--mono);
    transform: rotate(45deg);
}
.brand-mark::first-line { transform: rotate(-45deg); }
.brand-mark { text-indent: 0; }
.brand-mark { --turn: -45deg; }
.brand-mark::after { content: "NG"; transform: rotate(var(--turn)); }
.brand-mark { font-size: 0; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
    position: relative;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font: 500 12px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 1px;
    background: var(--cyan);
    transition: right .2s;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--white); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.active::after { right: 0; }
.menu-toggle { display: none; }

.hero {
    position: relative;
    min-height: 780px;
    height: 100svh;
    display: grid;
    grid-template-columns: minmax(470px, .95fr) minmax(0, 1.05fr);
    grid-template-rows: minmax(0, 1fr) auto;
    background: var(--ink);
    color: var(--white);
    isolation: isolate;
    overflow: hidden;
}
.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    width: 100%;
    padding: 120px clamp(34px, 4.5vw, 82px) 60px max(24px, calc((100vw - 1240px) / 2));
}
.eyebrow, .section-index {
    margin: 0 0 24px;
    color: var(--cyan);
    font: 500 11px var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hero h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(44px, 3.9vw, 60px);
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 600;
}
.hero h1 em { color: var(--cyan); font-style: normal; font-weight: 400; }
@media (min-width: 981px) { .hero h1 em { white-space: nowrap; } }
.hero-lede {
    max-width: 570px;
    margin: 30px 0 0;
    color: rgba(255,255,255,.7);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-gallery {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #02060b;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,19,31,.28), transparent 24%), linear-gradient(0deg, rgba(2,6,11,.28), transparent 34%);
    pointer-events: none;
}
.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility 0s linear .45s;
}
.hero-slide.active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-slide figcaption {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 96px;
    padding: 6px 9px;
    background: rgba(7,19,31,.72);
    color: rgba(255,255,255,.72);
    font: 400 9px var(--mono);
}
.hero-gallery-controls {
    position: absolute;
    z-index: 3;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(7,19,31,.86);
    border-top: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
}
.hero-gallery-controls button {
    position: relative;
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 78px;
    padding: 12px 18px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.14);
    background: transparent;
    color: rgba(255,255,255,.56);
    text-align: left;
    cursor: pointer;
    transition: color .2s, background .2s;
}
.hero-gallery-controls button:last-child { border-right: 0; }
.hero-gallery-controls button::before {
    content: "";
    position: absolute;
    inset: -1px 100% auto 0;
    height: 2px;
    background: var(--cyan);
    transition: right .25s ease;
}
.hero-gallery-controls button:hover, .hero-gallery-controls button:focus-visible { color: var(--white); background: rgba(255,255,255,.05); }
.hero-gallery-controls button:focus-visible { z-index: 1; outline: 2px solid var(--cyan); outline-offset: -3px; }
.hero-gallery-controls button.active { color: var(--white); background: rgba(255,255,255,.07); }
.hero-gallery-controls button.active::before { right: 0; }
.hero-gallery-controls span { color: var(--cyan); font: 500 9px var(--mono); letter-spacing: .1em; }
.hero-gallery-controls strong { overflow: hidden; font: 500 10px var(--mono); letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    text-decoration: none;
    font: 500 12px var(--mono);
    letter-spacing: .04em;
    transition: transform .2s, color .2s, background .2s, border-color .2s;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: #91fff7; }
.button-secondary { border-color: rgba(255,255,255,.3); color: var(--white); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover, .button-light:focus-visible { background: var(--white); }

.hero-profile {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(135px, .7fr) minmax(600px, 3.6fr) auto;
    align-items: center;
    gap: 36px;
    min-height: 110px;
    padding: 20px max(24px, calc((100vw - 1240px) / 2));
    border-top: 1px solid var(--line-dark);
    background: var(--ink);
}
.hero-profile > p {
    margin: 0;
    color: var(--cyan);
    font: 500 9px var(--mono);
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero-profile dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.hero-profile dl div { padding: 0 22px; border-left: 1px solid var(--line-dark); }
.hero-profile dt { color: rgba(255,255,255,.42); font: 400 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.hero-profile dd { margin: 7px 0 0; color: rgba(255,255,255,.88); font: 400 11px var(--mono); }
.hero-profile > a {
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255,255,255,.52);
    text-decoration: none;
    font: 400 10px var(--mono);
    text-transform: uppercase;
    letter-spacing: .12em;
}
.hero-profile > a:hover, .hero-profile > a:focus-visible { color: var(--cyan); }

.section { padding: 82px max(24px, calc((100vw - 1240px) / 2)) 90px; }
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "index meta" "summary summary";
    align-items: end;
    gap: 13px 36px;
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-light);
}
.section-heading .section-index { grid-area: index; align-self: end; margin: 0; color: #4a6574; }
.section-heading .section-meta {
    grid-area: meta;
    margin: 0;
    color: #4a6574;
    font: 500 10px var(--mono);
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}
.section-heading .section-summary {
    grid-area: summary;
    max-width: 720px;
    margin: 2px 0 0;
    color: #586773;
    font-size: 15px;
}

.work-section { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.project-card {
    position: relative;
    min-height: 420px;
    padding: 34px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    overflow: hidden;
    transition: background .25s, color .25s;
}
.project-card:hover { background: var(--white); }
.project-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(520px, 1.22fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 64px;
    row-gap: 58px;
    min-height: 760px;
    padding-top: 88px;
    background: var(--ink-2);
    color: var(--white);
}
.project-card-large:hover { background: #11283a; }
.project-card-models {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(340px, .8fr) minmax(0, 1.2fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 64px;
    min-height: 540px;
    padding-top: 88px;
}
.project-card-accent { grid-column: 1 / -1; min-height: 380px; background: #090c0e; color: var(--white); }
.project-card-accent:hover { background: #101518; }
.project-card-odin { display: grid; grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr); align-items: center; gap: 48px; min-height: 500px; padding-top: 88px; }
.project-card-odin .project-number { color: rgba(255,255,255,.035); }
.odin-project-copy { position: relative; z-index: 1; }
.odin-project-copy h3 { margin-top: 0; }
.odin-project-copy > p { max-width: 620px; margin: 0; color: currentColor; opacity: .72; font-size: 15px; }
.odin-project-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,119,78,.62); color: rgba(255,255,255,.74); font: 500 10px var(--mono); text-decoration: none; text-transform: uppercase; letter-spacing: .07em; }
.odin-project-link:hover, .odin-project-link:focus-visible { border-color: var(--orange); color: var(--white); }
.odin-interactive { position: relative; z-index: 2; min-width: 0; }
.odin-device-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1080 / 237;
    margin: 64px 0 52px;
    isolation: isolate;
}
.odin-device-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -30% 6%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,.1), transparent 68%);
    filter: blur(18px);
}
.odin-device-stage > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 22px 24px rgba(0,0,0,.48));
}
.odin-interactive > p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.5);
    font: 500 9px var(--mono);
    letter-spacing: .03em;
}
.odin-interactive > p span { text-align: right; white-space: nowrap; }
.odin-hotspot {
    position: absolute;
    z-index: 3;
    left: var(--hotspot-x);
    top: var(--hotspot-y);
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.odin-hotspot-dot {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    border: 3px solid var(--orange);
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 0 5px rgba(255,119,78,.11);
    transition: transform .2s, background .2s;
}
.odin-hotspot-dot::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(255,119,78,.38);
    border-radius: 50%;
    animation: odin-node-pulse 2.4s ease-out infinite;
}
@keyframes odin-node-pulse { 0% { opacity: .8; transform: scale(.7); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
.odin-hotspot:hover, .odin-hotspot:focus-visible, .odin-hotspot[aria-expanded="true"] { z-index: 6; }
.odin-hotspot:hover .odin-hotspot-dot, .odin-hotspot:focus-visible .odin-hotspot-dot, .odin-hotspot[aria-expanded="true"] .odin-hotspot-dot { background: var(--orange); transform: scale(1.15); }
.odin-hotspot:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.odin-hotspot-panel {
    --panel-x: -50%;
    --panel-y: 8px;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 11px);
    display: block;
    width: min(250px, 62vw);
    padding: 15px;
    border: 1px solid rgba(255,255,255,.12);
    background: #151b1f;
    color: var(--white);
    box-shadow: 0 15px 36px rgba(7,19,31,.2);
    opacity: 0;
    visibility: hidden;
    transform: translate(var(--panel-x), var(--panel-y));
    transition: opacity .2s, transform .2s, visibility .2s;
    pointer-events: none;
}
.odin-hotspot-below .odin-hotspot-panel { --panel-y: -8px; top: calc(100% + 11px); bottom: auto; }
.odin-hotspot-left .odin-hotspot-panel { --panel-x: 0%; left: 0; }
.odin-hotspot-right .odin-hotspot-panel { --panel-x: 0%; right: 0; left: auto; }
.odin-hotspot-panel small, .odin-hotspot-panel strong, .odin-hotspot-panel > span { display: block; }
.odin-hotspot-panel small { color: var(--orange); font: 500 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.odin-hotspot-panel strong { margin-top: 7px; font: 600 13px var(--sans); }
.odin-hotspot-panel > span { margin-top: 6px; color: rgba(255,255,255,.65); font: 400 11px/1.55 var(--sans); }
@media (hover: hover) { .odin-hotspot:hover .odin-hotspot-panel { --panel-y: 0px; opacity: 1; visibility: visible; } }
.odin-hotspot:focus-visible .odin-hotspot-panel, .odin-hotspot[aria-expanded="true"] .odin-hotspot-panel { --panel-y: 0px; opacity: 1; visibility: visible; }
.project-topline { position: absolute; inset: 28px 32px auto; display: flex; justify-content: space-between; gap: 20px; color: currentColor; opacity: .55; font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.project-number { position: absolute; right: 24px; bottom: -75px; color: rgba(7,19,31,.045); font: 500 240px/1 var(--mono); pointer-events: none; }
.project-card-large .project-number { color: rgba(255,255,255,.035); }
.project-card h3 { position: relative; max-width: 640px; margin: 80px 0 14px; font-size: clamp(27px, 2.4vw, 41px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.project-card-large h3 { margin: 0 0 14px; font-size: clamp(40px, 4vw, 64px); }
.cosmic-project-copy { position: relative; z-index: 2; }
.cosmic-project-copy > p:not(.project-kicker) { max-width: 620px; margin: 0; color: rgba(255,255,255,.7); font-size: 15px; }
.cosmic-project-media { position: relative; z-index: 2; margin: 0; overflow: hidden; background: #040b12; }
.cosmic-project-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.project-card-elsa .cosmic-project-media img { aspect-ratio: 16 / 9; }
.cosmic-project-media:hover img { transform: scale(1.015); }
.cosmic-project-media figcaption { position: absolute; right: 14px; bottom: 14px; padding: 7px 9px; background: rgba(7,19,31,.78); color: rgba(255,255,255,.72); font: 400 9px var(--mono); }
.cosmic-timeline { grid-column: 1 / -1; min-width: 0; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.18); }
.cosmic-timeline-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.cosmic-timeline-header p { margin: 0 0 7px; color: var(--cyan); font: 500 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.cosmic-timeline-header h4 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.cosmic-timeline-actions { display: flex; align-items: center; gap: 8px; }
.cosmic-timeline-actions a { margin-right: 12px; color: rgba(255,255,255,.58); font: 500 9px var(--mono); letter-spacing: .05em; text-decoration-color: rgba(98,231,221,.35); text-underline-offset: 4px; text-transform: uppercase; }
.cosmic-timeline-actions a:hover, .cosmic-timeline-actions a:focus-visible { color: var(--cyan); }
.cosmic-timeline-actions button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--white); font-size: 18px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.cosmic-timeline-actions button:hover:not(:disabled), .cosmic-timeline-actions button:focus-visible { border-color: var(--cyan); background: rgba(98,231,221,.08); color: var(--cyan); }
.cosmic-timeline-actions button:disabled { cursor: default; opacity: .28; }
.cosmic-timeline-viewport { overflow-x: auto; padding: 9px 0 22px; scrollbar-color: var(--cyan) rgba(255,255,255,.12); scrollbar-width: thin; scroll-snap-type: x mandatory; cursor: grab; }
.cosmic-timeline-viewport.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.cosmic-timeline-viewport:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
.cosmic-timeline-viewport::-webkit-scrollbar { height: 4px; }
.cosmic-timeline-viewport::-webkit-scrollbar-track { background: rgba(255,255,255,.12); }
.cosmic-timeline-viewport::-webkit-scrollbar-thumb { background: var(--cyan); }
.cosmic-timeline-track { display: flex; width: max-content; }
.cosmic-timeline-item { position: relative; flex: 0 0 clamp(260px, 32vw, 420px); min-height: 150px; padding: 34px 34px 24px 0; border-top: 1px solid rgba(255,255,255,.52); scroll-snap-align: start; }
.cosmic-timeline-item::before { content: ""; position: absolute; left: 0; top: -7px; width: 13px; height: 13px; border: 3px solid var(--ink-2); border-radius: 50%; background: #a7afb5; box-shadow: 0 0 0 1px rgba(255,255,255,.55); }
.cosmic-timeline-item time, .cosmic-timeline-date { color: var(--cyan); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cosmic-timeline-item h5 { max-width: 310px; margin: 14px 0 0; color: var(--white); font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.project-card-models h3 { grid-column: 1; grid-row: 1; align-self: end; margin: 0 0 14px; }
.project-card-models > p { grid-column: 1; grid-row: 2; align-self: start; }
.project-card-models > .tag-list { grid-column: 1; grid-row: 3; align-self: start; }
.project-card-models > .project-evidence { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
.project-kicker { margin: -4px 0 18px !important; color: var(--cyan) !important; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.project-card > p { position: relative; max-width: 620px; margin: 0; color: currentColor; opacity: .7; font-size: 15px; }
.project-evidence { position: relative; margin: 26px 0 0; }
.project-evidence a { display: block; overflow: hidden; background: var(--ink); }
.project-evidence a:focus-visible { outline: 2px solid #16877f; outline-offset: 3px; }
.project-evidence img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.project-evidence a:hover img, .project-evidence a:focus-visible img { transform: scale(1.018); }
.project-evidence figcaption { margin-top: 13px; }
.project-evidence figcaption strong, .project-evidence figcaption span { display: block; }
.project-evidence figcaption strong { color: #426675; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.project-evidence figcaption span { margin-top: 6px; color: #607079; font-size: 11px; line-height: 1.55; }
.tag-list { position: relative; display: flex; flex-wrap: wrap; gap: 7px; margin: 28px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 10px; border: 1px solid currentColor; color: currentColor; opacity: .65; font: 400 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.project-card-robotics { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: 44px; min-height: 560px; padding-top: 90px; background: #dfe5e4; }
.project-card-robotics:hover { background: #e8eceb; }
.robotics-project-image { position: relative; align-self: stretch; min-height: 390px; margin: 0; overflow: hidden; background: var(--ink); }
.robotics-project-image img { width: 100%; height: 100%; object-fit: cover; }
.robotics-project-image figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 9px; background: rgba(7,19,31,.74); color: rgba(255,255,255,.76); font: 400 9px var(--mono); }
.robotics-project-copy { align-self: center; position: relative; padding: 8px 24px 8px 0; }
.robotics-project-copy h3 { margin-top: 0; }
.robotics-project-copy > p:not(.project-kicker) { max-width: 590px; margin: 0 0 14px; color: #465962; font-size: 14px; }
.robotics-project-copy .project-kicker { color: #28706f !important; }

.experience-section { background: var(--paper-2); }
.timeline { margin-left: calc(25% + 24px); border-top: 1px solid var(--line-light); }
.timeline-item { display: grid; grid-template-columns: 170px 1fr; gap: 38px; padding: 35px 0; border-bottom: 1px solid var(--line-light); }
.timeline-item time { color: #56707d; font: 400 11px var(--mono); }
.timeline-company { margin: 0 0 7px; color: #56707d; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.timeline-company a { color: inherit; text-decoration-color: rgba(66,102,117,.35); text-underline-offset: 4px; }
.timeline-company a:hover, .timeline-company a:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.timeline-item h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.025em; }
.timeline-item div > p:last-child { max-width: 690px; margin: 0; color: #5c6870; font-size: 14px; }
.timeline-feature { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; max-width: 820px; margin-top: 25px; overflow: hidden; border: 1px solid var(--line-light); background: rgba(255,255,255,.48); color: var(--ink); text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.timeline-feature:hover, .timeline-feature:focus-visible { transform: translateY(-2px); border-color: rgba(30,82,100,.35); box-shadow: 0 16px 36px rgba(31,53,62,.09); }
.timeline-feature:focus-visible { outline: 2px solid #16877f; outline-offset: 3px; }
.timeline-feature img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.timeline-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.timeline-feature-copy small { color: #56707d; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.timeline-feature-copy strong { margin: 9px 0 22px; font-size: 17px; line-height: 1.3; letter-spacing: -.015em; }
.timeline-feature-copy > span:last-child { color: #426675; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }

.capabilities-section { background: var(--paper); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.capability { min-height: 300px; padding: 25px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.capability > span { color: #58717e; font: 400 10px var(--mono); }
.capability h3 { margin: 100px 0 12px; font-size: 20px; line-height: 1.15; letter-spacing: -.025em; }
.capability p { margin: 0; color: #5b6870; font-size: 13px; }
.publication-note { display: grid; grid-template-columns: 1fr 3fr; gap: 30px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.publication-note span { color: #56707d; font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.publication-note p { margin: 0; font-size: 14px; }

.contact-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(420px, .85fr);
    gap: 72px;
    min-height: 560px;
    align-items: center;
    padding: 72px max(24px, calc((100vw - 1240px) / 2));
    background: var(--orange);
    overflow: hidden;
}
.contact-copy { position: relative; z-index: 2; max-width: 800px; }
.contact-heading { margin-bottom: 30px; border-color: rgba(7,19,31,.2); }
.contact-heading .section-index, .contact-heading .section-meta { color: var(--ink); opacity: .58; }
.contact-copy > p:not(.section-index) { max-width: 570px; margin: 26px 0 35px; }
.contact-organisations { position: relative; z-index: 2; }
.contact-organisations > p { margin: 0 0 18px; color: rgba(7,19,31,.6); font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.logo-collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.logo-collage li { display: grid; min-height: 82px; place-items: center; padding: 15px 12px; border: 1px solid rgba(7,19,31,.13); background: rgba(244,242,236,.78); transition: transform .2s ease, background .2s ease; }
.logo-collage li:hover { z-index: 1; transform: translateY(-2px); background: var(--paper); }
.logo-collage img { width: auto; max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .84; transition: opacity .2s ease; }
.logo-collage li:hover img { opacity: 1; }
.logo-collage img[alt="TISICS"] { filter: grayscale(1) invert(1); opacity: .76; }

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 92px;
    padding: 20px max(24px, calc((100vw - 1240px) / 2));
    background: var(--ink);
    color: rgba(255,255,255,.52);
    font: 400 10px var(--mono);
    text-transform: uppercase;
    letter-spacing: .07em;
}
.site-footer p { margin: 0; }
.site-footer a { justify-self: end; color: var(--cyan); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .hero {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: "visual" "copy" "profile";
    }
    .hero-copy { grid-area: copy; max-width: 760px; padding: 70px max(24px, calc((100vw - 760px) / 2)) 76px; }
    .hero-gallery { grid-area: visual; min-height: 500px; aspect-ratio: 16 / 10; }
    .hero-slides::after { background: linear-gradient(0deg, rgba(7,19,31,.28), transparent 38%); }
    .hero-profile { grid-area: profile; grid-template-columns: 120px 1fr; gap: 26px; padding: 28px max(24px, calc((100vw - 760px) / 2)); }
    .hero-profile > a { display: none; }
    .project-card-large, .project-card-models { display: block; min-height: 0; padding-top: 82px; }
    .project-card-odin { grid-template-columns: 1fr; gap: 18px; }
    .project-card-large h3, .project-card-models h3 { margin: 0 0 14px; }
    .cosmic-project-media, .cosmic-timeline, .project-card-models > .project-evidence { margin-top: 30px; }
    .capability-grid { grid-template-columns: 1fr 1fr; }
    .timeline { margin-left: 0; }
    .contact-section { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); gap: 40px; }
}

@media (max-width: 720px) {
    :root { --page: calc(100% - 32px); }
    html { scroll-padding-top: 66px; }
    .site-header { height: 66px; padding: 0 18px; background: rgba(7,19,31,.9); backdrop-filter: blur(12px); }
    .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; border: 0; background: transparent; color: var(--white); cursor: pointer; }
    .menu-toggle > span:not(.visually-hidden) { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .site-nav { position: fixed; inset: 66px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 30px 24px; background: var(--ink); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }
    .site-nav.open { visibility: visible; opacity: 1; transform: none; }
    .site-nav a { padding: 22px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
    .site-nav a::after { display: none; }
    .hero-gallery { min-height: 390px; aspect-ratio: 4 / 3; }
    .hero-slide figcaption { right: 10px; bottom: 86px; max-width: calc(100% - 20px); font-size: 8px; }
    .hero-gallery-controls button { min-height: 72px; padding: 10px 8px; }
    .hero-gallery-controls strong { font-size: 8px; letter-spacing: 0; }
    .hero-copy { padding: 58px 20px 64px; }
    .hero h1 { font-size: clamp(37px, 10.4vw, 50px); }
    .hero-lede { font-size: 16px; }
    .hero-actions { align-items: stretch; }
    .hero-actions .button { flex: 1 1 100%; }
    .hero-profile { display: block; min-height: 0; padding: 28px 20px 32px; }
    .hero-profile > p { margin-bottom: 18px; }
    .hero-profile dl { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
    .hero-profile dl div { padding: 16px 10px 4px 0; border-left: 0; }
    .section { padding: 64px 20px 70px; }
    .section-heading { gap: 11px 18px; margin-bottom: 26px; padding-bottom: 16px; }
    .section-heading .section-meta { max-width: 190px; font-size: 9px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-card-accent { grid-column: auto; }
    .project-card, .project-card-large { min-height: 440px; padding: 28px; }
    .project-card h3, .project-card-large h3 { font-size: 34px; }
    .project-card-large h3, .project-card-models h3 { margin-top: 62px; }
    .project-number { font-size: 180px; }
    .cosmic-project-media figcaption { right: 9px; bottom: 9px; max-width: calc(100% - 18px); font-size: 8px; }
    .cosmic-timeline { padding-top: 26px; }
    .cosmic-timeline-header { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
    .cosmic-timeline-actions { width: 100%; flex-wrap: wrap; }
    .cosmic-timeline-actions a { margin-right: auto; }
    .cosmic-timeline-item { flex-basis: min(82vw, 290px); min-height: 138px; padding-right: 24px; }
    .cosmic-timeline-item h5 { font-size: 16px; }
    .project-card-robotics { grid-template-columns: 1fr; gap: 28px; padding-top: 82px; }
    .robotics-project-image { min-height: 0; aspect-ratio: 16 / 9; }
    .robotics-project-copy { padding-right: 0; }
    .project-card-odin { grid-template-columns: 1fr; gap: 38px; padding-top: 82px; }
    .odin-interactive > p { display: block; margin-top: 14px; }
    .odin-interactive > p span { display: block; margin-top: 5px; text-align: left; }
    .timeline-item { grid-template-columns: 1fr; gap: 12px; }
    .timeline-feature { grid-template-columns: 1fr; }
    .timeline-feature img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability { min-height: 230px; }
    .capability h3 { margin-top: 60px; }
    .publication-note { grid-template-columns: 1fr; }
    .contact-section { grid-template-columns: 1fr; gap: 52px; min-height: 0; padding: 64px 20px 70px; }
    .contact-organisations { padding-top: 30px; border-top: 1px solid rgba(7,19,31,.2); }
    .logo-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logo-collage li { min-height: 88px; }
    .site-footer { grid-template-columns: 1fr auto; }
    .site-footer p:nth-child(2) { display: none; }
}

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