:root {
  color-scheme: dark;
  --ink: #06100f;
  --ink-soft: #0b1716;
  --panel: rgba(12, 25, 23, 0.86);
  --line: rgba(164, 206, 190, 0.14);
  --line-strong: rgba(164, 206, 190, 0.3);
  --text: #eef4ef;
  --muted: #9aa8a1;
  --dim: #64736d;
  --signal: #7ee0b3;
  --amber: #e7b25a;
  --danger: #d8685c;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(126, 224, 179, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 179, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 86%, transparent);
  pointer-events: none;
}

.site-header,
footer {
  width: min(1400px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.wordmark {
  position: relative;
  display: inline-grid;
  min-width: 82px;
  align-content: center;
  justify-items: start;
  gap: 3px;
  overflow: hidden;
  padding: 9px 12px 8px 15px;
  border: 1px solid rgba(126, 224, 179, 0.46);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(126, 224, 179, 0.09), transparent 56%),
    #010403;
  box-shadow: inset 3px 0 var(--signal), 0 12px 32px rgba(0, 0, 0, 0.34);
  letter-spacing: -.03em;
}
.wordmark::after {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 4px;
  height: 4px;
  background: var(--amber);
  box-shadow: 0 0 9px rgba(231, 178, 90, 0.54);
  content: "";
}
.wordmark-fwd { color: #f3f8f5; font-size: 27px; font-weight: 950; letter-spacing: -.1em; line-height: .86; }
.wordmark-operators { color: var(--signal); font-size: 6px; font-weight: 900; letter-spacing: .12em; line-height: 1; }
.wordmark:focus-visible, .studio-link:focus-visible, footer a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }

.header-actions, .language-selector { display: flex; align-items: center; }
.header-actions { gap: 24px; }
.studio-link { color: #c6d0cb; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.studio-link span:last-child { margin-inline-start: 6px; color: var(--signal); }
.language-selector { gap: 8px; }
.language-selector label { color: #bdc6c1; font-size: 10px; font-weight: 700; }
.language-selector select {
  width: 130px;
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 3px;
  background: rgba(3, 10, 9, .72);
  color: #eef4ef;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.language-selector select:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 900px;
  padding: 150px max(32px, calc((100vw - 1400px) / 2)) 96px;
  isolation: isolate;
  overflow: hidden;
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
  z-index: -3;
  background: url('/assets/operations-room.png') center center / cover no-repeat;
  transform: scale(1.015);
  filter: saturate(.78) contrast(1.06) brightness(.72);
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,9,8,.96) 0%, rgba(3,9,8,.74) 38%, rgba(3,9,8,.13) 73%, rgba(3,9,8,.34) 100%),
    linear-gradient(0deg, #06100f 0%, transparent 35%, rgba(1,5,5,.22) 74%, rgba(1,5,5,.8) 100%);
}
.hero-content { width: min(760px, 68vw); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(126,224,179,.33);
  background: rgba(9,27,23,.58);
  color: #bcefd6;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .2em;
}
.status span:first-child, .online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(126,224,179,.9);
}
.eyebrow {
  margin-bottom: 20px;
  color: var(--signal);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .22em;
}
h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(70px, 8.5vw, 130px);
  font-weight: 820;
  letter-spacing: -.075em;
  line-height: .84;
  text-wrap: balance;
}
.hero-lede {
  max-width: 640px;
  margin-bottom: 38px;
  color: #c0c9c4;
  font-size: 17px;
  line-height: 1.72;
}
.hero-readout {
  display: flex;
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(221,235,227,.48);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .08em;
}
.scroll-cue {
  position: absolute;
  right: max(32px, calc((100vw - 1400px) / 2));
  bottom: 98px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.42);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .2em;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}
.scroll-cue span { width: 46px; height: 1px; background: rgba(255,255,255,.35); }

.role-section,
.sequence,
.simulation-section,
.development-section,
footer {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.role-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 100px;
  padding: 150px 0 110px;
  border-bottom: 1px solid var(--line);
}
h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 780;
  letter-spacing: -.06em;
  line-height: .98;
}
.section-copy, .simulation-copy > p:not(.eyebrow), .development-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.section-copy { align-self: end; margin-bottom: 4px; }

.sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-inline: 1px solid var(--line);
}
.sequence article {
  position: relative;
  min-height: 450px;
  padding: 34px 32px 38px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,31,28,.62), rgba(6,16,15,.16));
}
.sequence article:last-child { border-right: 0; }
.sequence-number {
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}
.sequence-scan {
  position: relative;
  height: 188px;
  margin: 22px -32px 32px;
  border-block: 1px solid rgba(126,224,179,.09);
  background:
    linear-gradient(rgba(126,224,179,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,224,179,.055) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sequence-scan::before, .sequence-scan::after { content:""; position:absolute; }
.sequence-scan::before { inset: 22% 24%; border: 1px solid rgba(126,224,179,.35); clip-path: polygon(0 18%, 69% 0, 100% 41%, 82% 100%, 18% 82%); }
.sequence-scan::after { width: 7px; height: 7px; top: 48%; left: 48%; border: 1px solid var(--signal); background: var(--ink); box-shadow: 0 0 20px var(--signal); transform: rotate(45deg); }
.sequence-scan--radar { background: radial-gradient(circle at center, transparent 0 20%, rgba(126,224,179,.08) 20.5% 21%, transparent 21.5% 39%, rgba(126,224,179,.08) 39.5% 40%, transparent 40.5%), linear-gradient(rgba(126,224,179,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(126,224,179,.05) 1px, transparent 1px); background-size: auto, 24px 24px, 24px 24px; }
.sequence-scan--radar::before { inset: 50% 10% auto 50%; height: 1px; background: linear-gradient(90deg, var(--signal), transparent); border: 0; transform-origin: left; transform: rotate(-25deg); clip-path: none; }
.sequence-scan--report::before { inset: 25% 20%; border: 0; border-left: 1px solid rgba(126,224,179,.2); border-bottom: 1px solid rgba(126,224,179,.2); clip-path: none; background: linear-gradient(135deg, transparent 36%, rgba(216,104,92,.75) 37% 39%, transparent 40% 54%, rgba(231,178,90,.75) 55% 57%, transparent 58%); }
.sequence h3 { margin-bottom: 13px; font-size: 20px; letter-spacing: .12em; }
.sequence p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.72; }

.simulation-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 90px;
  padding: 150px 0;
}
.simulation-copy h2 { margin-bottom: 28px; }
.signal-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.signal-list li { padding: 9px 11px; border: 1px solid var(--line); color: #aab8b1; font-size: 10px; font-weight: 700; }
.operation-monitor { border: 1px solid var(--line-strong); background: #071210; box-shadow: 0 50px 120px rgba(0,0,0,.36), 0 0 80px rgba(62,141,112,.06); }
.monitor-top, .monitor-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; color: #6f8179; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; letter-spacing: .07em; }
.monitor-top { border-bottom: 1px solid var(--line); }
.monitor-bottom { gap: 15px; border-top: 1px solid var(--line); }
.monitor-map { position: relative; min-height: 410px; overflow: hidden; background: radial-gradient(circle at 52% 50%, rgba(67,144,116,.22), transparent 52%), #07100f; }
.map-grid { position:absolute; inset:0; background: linear-gradient(rgba(126,224,179,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(126,224,179,.06) 1px, transparent 1px); background-size: 38px 38px; transform: perspective(500px) rotateX(18deg) scale(1.25); }
.contact { position:absolute; width:8px; height:8px; border:1px solid var(--signal); background:#07100f; box-shadow:0 0 20px var(--signal); transform:rotate(45deg); }
.contact--one { left:28%; top:59%; }.contact--two { left:57%; top:36%; }.contact--three { right:24%; bottom:24%; border-color:var(--danger); box-shadow:0 0 20px var(--danger); }
.route { position:absolute; left:29%; top:61%; width:42%; height:1px; border-top:1px dashed rgba(126,224,179,.55); transform:rotate(-21deg); transform-origin:left; }
.monitor-map b { position:absolute; left:30%; top:63%; color:#b4e8d0; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing:.08em; }

.development-section {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 80px;
  padding: 110px 0;
  border-block: 1px solid var(--line);
}
.development-index { color: var(--dim); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.development-section h2 { max-width: 760px; margin-bottom: 26px; }
.development-section p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 120px;
  color: #617069;
  font-size: 10px;
}
footer p { margin: 0; }
footer p a { color: #b6c2bc; border-bottom: 1px solid var(--line-strong); }
footer > span:last-child { justify-self: end; }
.wordmark--footer { min-width: 64px; padding: 7px 9px 6px 12px; }
.wordmark--footer .wordmark-fwd { font-size: 19px; }
.wordmark--footer .wordmark-operators { font-size: 4.5px; }

[dir="rtl"] .studio-link span:last-child { display: inline-block; transform: scaleX(-1); }

@media (max-width: 900px) {
  .hero { min-height: 800px; }
  .hero-content { width: min(680px, 84vw); }
  .role-section, .simulation-section { grid-template-columns: 1fr; gap: 50px; }
  .role-section { padding-top: 110px; }
  .sequence { grid-template-columns: 1fr; }
  .sequence article { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sequence article:last-child { border-bottom: 0; }
  .sequence-scan { height: 140px; }
  .simulation-section { padding: 110px 0; }
  .monitor-map { min-height: 360px; }
  footer { grid-template-columns: 1fr 1fr; row-gap: 12px; padding: 28px 0; }
  footer > span:last-child { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 680px) {
  .site-header, .role-section, .sequence, .simulation-section, .development-section, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; }
  .wordmark { min-width: 70px; gap: 2px; padding: 8px 10px 7px 13px; }
  .wordmark-fwd { font-size: 22px; }
  .wordmark-operators { font-size: 5px; }
  .studio-link, .language-selector label { display: none; }
  .language-selector select { width: 112px; }
  .hero { min-height: 760px; padding: 120px 14px 62px; }
  .hero-image { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,9,8,.93), rgba(3,9,8,.48)), linear-gradient(0deg, #06100f 0%, transparent 48%, rgba(1,5,5,.65) 100%); }
  .hero-content { width: 100%; }
  .status { margin-bottom: 26px; }
  h1 { font-size: clamp(60px, 18vw, 82px); }
  .hero-lede { font-size: 15px; }
  .hero-readout { flex-wrap: wrap; gap: 10px 20px; }
  .scroll-cue { display: none; }
  .role-section { gap: 32px; padding: 90px 0 72px; }
  h2 { font-size: clamp(39px, 12vw, 57px); }
  .sequence article { padding-inline: 22px; }
  .sequence-scan { margin-inline: -22px; }
  .simulation-section { padding: 90px 0; }
  .monitor-map { min-height: 280px; }
  .monitor-bottom { flex-wrap: wrap; padding-block: 12px; }
  .development-section { grid-template-columns: 1fr; gap: 30px; padding: 80px 0; }
  footer { grid-template-columns: 1fr; }
  footer > span:last-child { grid-column: auto; }
}

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