:root {
  --bg: #070D16;
  --bg-2: #0B1522;
  --panel: #0E1A29;
  --line: rgba(143, 176, 204, .14);
  --line-2: rgba(143, 176, 204, .26);
  --text: #DCE3EA;
  --dim: #7F8C9B;
  --teal: #45B8C6;
  --orange: #E8772E;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font: 400 16px/1.6 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--teal); color: var(--bg); }

h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 400; max-width: 22ch; }
h3 { font-size: 20px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.c-teal { color: var(--teal); }
.c-orange { color: var(--orange); }
.c-dim { color: var(--dim); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(69, 184, 198, .18); animation: blink 2.4s ease-in-out infinite; }
.dot--rec { background: var(--orange); box-shadow: 0 0 0 3px rgba(232, 119, 46, .2); }
@keyframes blink { 50% { opacity: .35; } }

/* status bar + header */
.status { background: #04080F; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.status__in { display: flex; justify-content: space-between; gap: 16px; height: 32px; align-items: center; }
.status__ok { color: var(--teal); }
@media (max-width: 600px) { .status__mid { display: none; } }

.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 13, 22, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 40px; height: 64px; }
.top__logo img { height: 32px; width: auto; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { text-decoration: none; color: var(--dim); transition: color .2s; }
.top__nav a span { color: var(--teal); margin-right: 8px; }
.top__nav a:hover { color: var(--text); }
.top__cta { text-decoration: none; padding: 9px 16px; border: 1px solid var(--orange); color: var(--orange); transition: background .2s, color .2s; }
.top__cta:hover { background: var(--orange); color: var(--bg); }
@media (max-width: 860px) { .top__nav { display: none; } .top__cta { margin-left: auto; } }

/* hero */
.hero { position: relative; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, transparent 20%, var(--bg) 78%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
@media (min-width: 1000px) { .hero__in { grid-template-columns: 1.1fr 1fr; } }
.tag { color: var(--dim); margin-bottom: 28px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 500; letter-spacing: -.035em; line-height: .98; }
.hero__lead { margin-top: 32px; font-size: clamp(17px, 1.5vw, 19px); color: #AEB8C3; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn { display: inline-block; font: 500 15px var(--sans); text-decoration: none; padding: 14px 22px; background: var(--orange); color: #0A0F16; border: 1px solid var(--orange); transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--orange); }
.btn--line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--teal); color: var(--teal); }

/* topology schematic */
.topo { border: 1px solid var(--line-2); background: rgba(11, 21, 34, .7); padding: 20px; position: relative; }
.topo::before, .topo::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--teal); }
.topo::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.topo::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.topo svg { width: 100%; height: auto; display: block; overflow: visible; }
.topo__grid circle { fill: none; stroke: var(--line); stroke-dasharray: 2 6; }
.topo__links path { fill: none; stroke: var(--line-2); stroke-width: 1; }
.topo__links .ring { stroke: var(--line); stroke-dasharray: 4 5; }
.topo__pulse path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 18 400; stroke-dashoffset: 18; animation: pulse 4.2s linear infinite; animation-delay: var(--d); opacity: 0; }
@keyframes pulse { 0% { stroke-dashoffset: 18; opacity: 1; } 55% { stroke-dashoffset: -200; opacity: 1; } 56%, 100% { opacity: 0; } }
.topo__nodes rect { fill: var(--bg); stroke: var(--teal); stroke-width: 1.5; }
.topo__nodes .alt { stroke: var(--orange); }
.topo__nodes .core { fill: var(--orange); stroke: none; }
.topo__labels text { font: 500 11px var(--mono); letter-spacing: .08em; fill: var(--dim); }
.topo__labels .core-l { fill: var(--orange); }
.topo figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.topo figcaption span { color: var(--teal); margin-right: 12px; }

/* readout */
.readout { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.readout__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .readout__grid { grid-template-columns: repeat(4, 1fr); } }
.readout__grid > div { padding: 28px 20px 28px 0; }
.readout__grid > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
@media (max-width: 759px) { .readout__grid > div:nth-child(3) { border-left: 0; padding-left: 0; } .readout__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.readout dt { color: var(--dim); }
.readout dd { font: 300 clamp(48px, 6vw, 76px)/1 var(--mono); letter-spacing: -.04em; margin: 14px 0 18px; }
.readout small { font-size: .42em; color: var(--orange); margin-left: 4px; vertical-align: .9em; }
.bar { display: block; height: 3px; background: var(--line); }
.bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--teal); }

/* sections */
.sec { padding: clamp(80px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); }
.sec--panel { background: var(--bg-2); }
.sec__head { display: grid; gap: 20px 40px; margin-bottom: 56px; }
@media (min-width: 1000px) { .sec__head { grid-template-columns: 1fr 3fr; align-items: baseline; } }
.idx { color: var(--teal); }
.sec__lead { font-size: 19px; color: #AEB8C3; max-width: 620px; margin: -24px 0 56px; }
@media (min-width: 1000px) { .sec__lead { margin-left: calc(25% + 30px); } }

/* about */
.about { display: grid; gap: 48px 40px; }
@media (min-width: 1000px) { .about { grid-template-columns: 1fr 3fr; } .about__text { grid-column: 2; } .pillars { grid-column: 2; } }
.about__text { display: grid; gap: 20px; color: #AEB8C3; font-size: 18px; max-width: 900px; }
@media (min-width: 760px) { .about__text { grid-template-columns: 1fr 1fr; gap: 40px; } }
.pillars { display: grid; border: 1px solid var(--line); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { padding: 24px; position: relative; }
.pillars li + li { border-top: 1px solid var(--line); }
@media (min-width: 760px) { .pillars li + li { border-top: 0; border-left: 1px solid var(--line); } }
.pillars li > .mono:first-child { color: var(--dim); }
.pillars h3 { margin: 28px 0 8px; }
.pillars p { color: var(--dim); font-size: 15px; }
.state { position: absolute; top: 24px; right: 24px; color: var(--teal); font-size: 10px; }
.state::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--teal); margin-right: 6px; vertical-align: 1px; }

/* modules */
.mods { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .mods { grid-template-columns: repeat(3, 1fr); } .mod--wide { grid-column: 1 / -1; } }
.mod { background: var(--panel); padding: 0 24px 28px; transition: background .2s; }
.mod:hover { background: #122133; }
.mod > header { display: flex; justify-content: space-between; margin: 0 -24px 28px; padding: 10px 24px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.mod .ok { color: var(--teal); }
.mod .ok::before { content: "● "; font-size: 8px; vertical-align: 1px; }
.mod h3 { font-size: 24px; }
.mod > p { color: var(--dim); margin: 8px 0 20px; }
.mod ul { font-size: 12.5px; text-transform: none; letter-spacing: 0; color: #C3CCD6; }
.mod li { padding: 8px 0; border-top: 1px dashed var(--line); }
.mod li::before { content: "> "; color: var(--orange); }
.mod--wide { display: grid; column-gap: 40px; }
@media (min-width: 900px) { .mod--wide { grid-template-columns: 1fr 2.6fr; grid-template-rows: auto auto auto 1fr; } .mod--wide > header { grid-column: 1 / -1; } .mod--wide > h3, .mod--wide > p { grid-column: 1; } .mod--wide .mod__cols { grid-column: 2; grid-row: 2 / span 3; } }
.mod__cols { display: grid; gap: 24px; }
@media (min-width: 640px) { .mod__cols { grid-template-columns: repeat(3, 1fr); } }
.mod h4 { color: var(--teal); font-weight: 500; font-size: 11px; margin-bottom: 8px; }

/* pipeline */
.pipe { display: grid; position: relative; }
@media (min-width: 900px) { .pipe { grid-template-columns: repeat(4, 1fr); } }
.pipe li { position: relative; padding: 40px 28px 0 0; }
.pipe li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-2); }
.pipe li::after { content: ""; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; background: var(--bg); border: 1.5px solid var(--teal); }
.pipe li:last-child::after { background: var(--orange); border-color: var(--orange); }
@media (max-width: 899px) { .pipe li { padding: 32px 0 32px 28px; } .pipe li::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; } .pipe li::after { top: 36px; } }
.pipe .mono { color: var(--teal); }
.pipe h3 { font-size: 26px; margin: 16px 0 10px; }
.pipe p { color: var(--dim); }

/* camera still */
.cam { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.cam img { width: 100%; height: clamp(300px, 46vw, 620px); object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.62); }
.cam::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #1F5F6E; mix-blend-mode: color; opacity: .55; pointer-events: none; }
.cam::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); pointer-events: none; }
.cam figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 16px clamp(16px, 3vw, 40px); color: var(--text); font-size: 11px; background: linear-gradient(transparent, rgba(7, 13, 22, .8)); }

/* differentiators */
.diff { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .diff { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .diff { grid-template-columns: repeat(3, 1fr); } }
.diff article { background: var(--bg); padding: 32px 28px 40px; }
.diff .mono { color: var(--orange); }
.diff h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 32px 0 10px; }
.diff p { color: var(--dim); max-width: 44ch; }

/* mission */
.mv { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv > div { background: var(--panel); padding: 28px; }
.mv h4 { color: var(--teal); font-weight: 500; margin-bottom: 20px; }
.mv p { font-size: clamp(19px, 1.8vw, 23px); font-weight: 300; line-height: 1.4; }
.quote { margin: 80px 0; padding-left: 28px; border-left: 2px solid var(--orange); }
.quote p { font-size: clamp(26px, 3.4vw, 44px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; max-width: 26ch; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values li { border-top: 1px solid var(--line-2); padding-top: 16px; }
.values .mono { color: var(--dim); }
.values h3 { margin: 16px 0 6px; }
.values p { color: var(--dim); font-size: 15px; }

/* contact */
.contact { padding: clamp(90px, 12vw, 160px) 0 72px; position: relative;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
.contact h2 { font-size: clamp(42px, 7vw, 104px); font-weight: 500; letter-spacing: -.04em; line-height: .98; max-width: none; margin: 28px 0 48px; }
.contact__mail { display: inline-flex; align-items: center; gap: 14px; font: 400 clamp(18px, 2.6vw, 32px) var(--mono); text-decoration: none; padding: 18px 24px; border: 1px solid var(--line-2); background: var(--bg); overflow-wrap: anywhere; transition: border-color .2s; }
.contact__mail .mono { font-size: inherit; color: var(--orange); }
.contact__mail:hover { border-color: var(--teal); }
.caret { display: inline-block; width: .55em; height: 1.05em; background: var(--teal); animation: blink 1.1s steps(1) infinite; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 80px; }
.contact__card { display: block; background: var(--bg-2); padding: 22px 24px; text-decoration: none; transition: background .2s; }
.contact__card:hover { background: var(--panel); }
.contact__card .mono { display: block; color: var(--teal); margin-bottom: 10px; }
.contact__card span:last-child { font-size: 17px; }

.foot { border-top: 1px solid var(--line); background: #04080F; color: var(--dim); padding: 24px 0; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; font-size: 11px; }
.foot img { height: 26px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .caret, .topo__pulse path { animation: none; }
  .topo__pulse path { opacity: 0; }
  * { transition: none !important; }
}
