@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("./assets/fonts/newsreader.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("./assets/fonts/dm-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #090e11;
  --ink-soft: #10191e;
  --panel: #0d171c;
  --paper: #ebeae4;
  --paper-bright: #f7f6f1;
  --white: #f8fbfa;
  --muted: #5d676c;
  --line: #c4c8c5;
  --cyan: #5ae6e8;
  --cyan-deep: #087d85;
  --amber: #ffc75a;
  --signal: #ff5d5d;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "DM Mono", monospace;
  --gutter: clamp(20px, 4.2vw, 68px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, canvas { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
::selection { color: var(--ink); background: var(--cyan); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; color: var(--ink); background: var(--cyan); transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 var(--gutter); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: 13px; width: max-content; }
.brand img { width: 129px; height: auto; }
.brand > span { width: 1px; height: 19px; background: rgba(255,255,255,.28); }
.brand b { font: 9px var(--mono); letter-spacing: .13em; }
.site-header nav { display: flex; align-items: center; gap: 31px; font-size: 11px; font-weight: 600; }
.site-header nav > a:not(.nav-cta) { color: rgba(255,255,255,.65); }
.site-header nav a:hover { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; gap: 26px; padding: 12px 17px; color: var(--ink); background: var(--cyan); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; min-height: 890px; padding: 148px var(--gutter) 0; color: var(--white); background: var(--ink); }
.hero::before { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: linear-gradient(rgba(90,230,232,.19) 1px, transparent 1px), linear-gradient(90deg, rgba(90,230,232,.19) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(90deg, transparent 0, #000 57%); content: ""; }
.hero::after { position: absolute; top: -300px; right: -240px; width: 850px; height: 850px; border: 1px solid rgba(90,230,232,.17); border-radius: 50%; box-shadow: 0 0 0 100px rgba(90,230,232,.022), 0 0 0 200px rgba(90,230,232,.012); content: ""; }
.hero-copy { position: relative; z-index: 3; width: 45%; max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: rgba(255,255,255,.54); font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 23px; height: 1px; background: var(--signal); }
.eyebrow.dark { color: var(--muted); }
.hero h1,
.manifesto h2,
.section-head h2,
.pipeline h2,
.fit h2,
.contact h2 { font-size: clamp(59px, 6.7vw, 100px); line-height: .9; letter-spacing: -.067em; }
.hero h1 em,
.manifesto h2 em,
.section-head h2 em,
.pipeline h2 em,
.fit h2 em,
.contact h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero h1 em { color: var(--cyan); }
.hero-intro { max-width: 555px; margin-top: 30px; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 0 19px; border: 0; font-size: 11px; font-weight: 700; }
.primary { color: var(--ink); background: var(--cyan); }
.text-link { display: inline-flex; align-items: center; gap: 17px; padding-bottom: 6px; color: rgba(255,255,255,.73); border-bottom: 1px solid rgba(255,255,255,.28); font-size: 11px; font-weight: 700; }
.text-link span { color: var(--signal); }

.sim-lab { position: absolute; top: 140px; right: var(--gutter); z-index: 3; width: 48%; max-width: 700px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: var(--panel); box-shadow: 0 60px 110px #000a; }
.lab-bar,
.lab-footer { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 14px; color: rgba(255,255,255,.46); border-bottom: 1px solid rgba(255,255,255,.13); font: 7px var(--mono); letter-spacing: .1em; }
.lab-bar i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.lab-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid rgba(255,255,255,.13); }
.lab-tabs button { min-height: 45px; padding: 0 8px; color: rgba(255,255,255,.5); border: 0; border-right: 1px solid rgba(255,255,255,.11); background: transparent; font-size: 9px; cursor: pointer; }
.lab-tabs button:last-child { border-right: 0; }
.lab-tabs button[aria-selected="true"] { color: var(--ink); background: var(--cyan); }
.lab-tabs button:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
.lab-stage { position: relative; overflow: hidden; aspect-ratio: 900 / 620; min-height: 445px; background: radial-gradient(circle at 58% 44%, #142a31, #091014 69%); }
.lab-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-grid { position: absolute; inset: 0; opacity: .25; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 42px 42px; }
.stage-coordinates { position: absolute; top: 17px; right: 17px; display: flex; gap: 14px; color: rgba(255,255,255,.36); font: 6px var(--mono); letter-spacing: .08em; }
.stage-stats { position: absolute; top: 18px; left: 18px; display: grid; grid-template-columns: repeat(3,auto); gap: 7px; }
.stage-stats > span { min-width: 64px; padding: 8px 9px; border: 1px solid rgba(255,255,255,.17); background: rgba(5,9,11,.72); }
.stage-stats small { display: block; color: rgba(255,255,255,.38); font: 5px var(--mono); }
.stage-stats strong { display: block; margin-top: 6px; color: var(--cyan); font: 8px var(--mono); }
.stage-caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 75px 22px 22px; color: var(--white); background: linear-gradient(transparent, rgba(4,8,10,.95) 55%); pointer-events: none; }
.stage-caption > span { color: var(--amber); font: 7px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.stage-caption h2 { margin-top: 8px; font-size: clamp(24px, 2.6vw, 38px); line-height: .98; letter-spacing: -.05em; white-space: pre-line; }
.stage-caption p { max-width: 470px; margin-top: 10px; color: rgba(255,255,255,.58); font-size: 9px; line-height: 1.65; }
.lab-footer { min-height: 38px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
.hero-note { position: absolute; right: var(--gutter); bottom: 32px; left: var(--gutter); z-index: 3; display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.4); font: 8px var(--mono); letter-spacing: .1em; }
.hero-note i { flex: 1; height: 1px; background: rgba(255,255,255,.12); }

.manifesto { padding: 125px var(--gutter); }
.manifesto h2 { max-width: 1170px; font-size: clamp(51px, 6.1vw, 87px); }
.manifesto h2 em { color: var(--cyan-deep); }
.manifesto-copy { display: flex; align-items: start; gap: 25px; max-width: 650px; margin: 53px 5% 0 auto; }
.manifesto-copy span { color: var(--signal); font-size: 32px; }
.manifesto-copy p { color: var(--muted); font-size: 14px; line-height: 1.85; }

.capabilities { padding: 120px var(--gutter); color: var(--white); background: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: end; gap: 60px; margin-bottom: 75px; }
.section-head .eyebrow { grid-column: 1/-1; margin-bottom: -42px; }
.section-head h2 { font-size: clamp(50px,5.8vw,82px); }
.section-head h2 em { color: var(--cyan); }
.section-head > p { margin-bottom: 7px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.8; }
.capability-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.capability-grid article { position: relative; min-height: 310px; padding: 25px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); transition: background 200ms ease, transform 200ms ease; }
.capability-grid article:hover { z-index: 1; background: var(--ink-soft); transform: translateY(-3px); }
.capability-grid article > span { color: var(--cyan); font: 8px var(--mono); }
.capability-grid article > b { position: absolute; top: 18px; right: 21px; color: rgba(255,255,255,.28); font: 20px var(--mono); font-weight: 400; }
.capability-grid h3 { margin-top: 110px; font-size: 24px; letter-spacing: -.04em; }
.capability-grid p { max-width: 345px; margin-top: 15px; color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.8; }

.tech-strip { display: flex; align-items: center; justify-content: space-between; gap: 25px; overflow: hidden; padding: 24px var(--gutter); color: var(--ink); background: var(--cyan); font: 10px var(--mono); letter-spacing: .08em; white-space: nowrap; }
.tech-strip i { color: var(--cyan-deep); font-style: normal; }

.pipeline { padding: 120px var(--gutter); background: var(--paper-bright); }
.pipeline-intro { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: end; gap: 60px; }
.pipeline-intro .eyebrow { grid-column: 1/-1; margin-bottom: -41px; }
.pipeline h2 { font-size: clamp(50px,5.8vw,82px); }
.pipeline h2 em { color: var(--cyan-deep); }
.pipeline-intro > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.pipeline-flow { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 74px; border-top: 1px solid var(--line); }
.pipeline-flow article { position: relative; min-height: 380px; padding: 28px 30px 28px 0; border-right: 1px solid var(--line); }
.pipeline-flow article + article { padding-left: 30px; }
.pipeline-flow article:last-child { border-right: 0; }
.pipeline-flow article > span { color: var(--signal); font: 9px var(--mono); }
.pipeline-flow small { position: absolute; top: 28px; right: 28px; color: #798185; font: 7px var(--mono); letter-spacing: .1em; }
.pipeline-flow h3 { margin-top: 90px; font-size: 29px; letter-spacing: -.045em; }
.pipeline-flow p { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.pipeline-flow article > div { display: flex; align-items: end; gap: 8px; height: 65px; margin-top: auto; padding-top: 35px; }
.pipeline-flow article > div i { display: block; flex: 1; height: 1px; background: var(--line); }
.pipeline-flow article > div i:nth-child(2) { height: 18px; border: 1px solid var(--cyan-deep); background: transparent; }

.fit { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(60px,10vw,160px); padding: 120px var(--gutter); color: var(--white); background: #10272d; }
.fit .eyebrow { color: rgba(255,255,255,.68); }
.fit h2 { font-size: clamp(49px,5.5vw,79px); }
.fit h2 em { color: var(--cyan); }
.fit-list { border-top: 1px solid rgba(255,255,255,.22); }
.fit-list p { display: grid; grid-template-columns: 35px 1fr; gap: 12px; padding: 22px 0; color: rgba(255,255,255,.76); border-bottom: 1px solid rgba(255,255,255,.22); font-size: 13px; }
.fit-list span { color: var(--amber); font: 9px var(--mono); }

.contact { padding: 120px var(--gutter); background: var(--amber); }
.contact .eyebrow { color: #614715; }
.contact .eyebrow > span { background: var(--ink); }
.contact h2 { max-width: 1090px; font-size: clamp(56px,7.3vw,108px); }
.contact h2 em { color: #6d511d; }
.contact-bottom { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; margin-top: 66px; padding-top: 24px; border-top: 1px solid rgba(9,14,17,.35); }
.contact-bottom p { font-size: 13px; }
.dark-button { color: #fff; background: var(--ink); }
.contact-bottom > a:last-child { font-size: 11px; border-bottom: 1px solid rgba(9,14,17,.42); }

footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 35px; padding: 48px var(--gutter) 24px; color: rgba(255,255,255,.58); background: var(--ink); font-size: 10px; }
footer p { text-align: center; font-family: var(--serif); font-size: 16px; }
footer > a:not(.brand) { text-align: right; }
footer small { grid-column: 1/-1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font: 8px var(--mono); }

[data-reveal] { opacity: 1; transform: none; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.75,.25,1); }
.motion-ready [data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero { min-height: 1080px; }
  .hero-copy { width: 77%; }
  .sim-lab { position: relative; top: auto; right: auto; width: min(100%,720px); margin: 55px 0 92px auto; }
  .hero-note { bottom: 24px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .brand img { width: 105px; }
  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 43px; height: 43px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: #fff; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 90px var(--gutter) 35px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 180ms ease; }
  .site-header nav.open { opacity: 1; visibility: visible; }
  .site-header nav > a:not(.nav-cta) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 23px; }
  .nav-cta { justify-content: space-between; margin-top: 28px; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(50px,14.2vw,74px); }
  .hero-intro { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .text-link { align-self: flex-start; }
  .sim-lab { margin-top: 48px; margin-bottom: 84px; }
  .lab-tabs button { min-height: 49px; font-size: 8px; }
  .lab-stage { min-height: 430px; aspect-ratio: auto; }
  .stage-coordinates { display: none; }
  .stage-stats { top: 12px; left: 12px; }
  .stage-stats > span { min-width: 58px; padding: 7px; }
  .stage-caption { padding: 75px 15px 18px; }
  .stage-caption h2 { font-size: 28px; }
  .hero-note { gap: 8px; font-size: 6px; }
  .manifesto,
  .capabilities,
  .pipeline,
  .fit,
  .contact { padding-top: 76px; padding-bottom: 76px; }
  .manifesto h2 { font-size: clamp(44px,12vw,63px); }
  .manifesto-copy { margin-top: 37px; }
  .section-head,
  .pipeline-intro { display: block; margin-bottom: 45px; }
  .section-head .eyebrow,
  .pipeline-intro .eyebrow { margin-bottom: 22px; }
  .section-head h2,
  .pipeline h2 { font-size: clamp(45px,12vw,63px); }
  .section-head > p,
  .pipeline-intro > p { margin-top: 25px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 240px; }
  .capability-grid h3 { margin-top: 73px; }
  .tech-strip { justify-content: flex-start; gap: 19px; font-size: 8px; }
  .pipeline-flow { grid-template-columns: 1fr; margin-top: 48px; }
  .pipeline-flow article,
  .pipeline-flow article + article { min-height: 285px; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pipeline-flow h3 { margin-top: 58px; }
  .fit { grid-template-columns: 1fr; gap: 50px; }
  .fit h2 { font-size: clamp(43px,11.6vw,61px); }
  .contact h2 { font-size: clamp(50px,13.5vw,74px); }
  .contact-bottom { grid-template-columns: 1fr; align-items: stretch; gap: 22px; margin-top: 45px; }
  .contact-bottom > a:last-child { justify-self: start; }
  footer { grid-template-columns: 1fr; justify-items: start; }
  footer p { text-align: left; }
  footer > a:not(.brand) { text-align: left; }
}

@media (max-width: 380px) {
  .lab-tabs button { font-size: 7px; }
  .stage-stats > span { min-width: 53px; }
  .stage-stats strong { font-size: 7px; }
}

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