/* Signalborne: one dark page in the profile picture's drone-feed look (orange S, white viewfinder corners, red REC dot). */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #0a0e10;
  --bg-2: #0e1417;
  --panel: #11191d;
  --line: rgba(214, 232, 238, 0.09);
  --line-2: rgba(214, 232, 238, 0.18);
  --text: #e9eef0;
  --muted: #a6b3b8;
  --dim: #74838a;
  --orange: #ff8a1f;
  --orange-2: #ffa54f;
  --red: #ff3b30;
  --cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --vf: clamp(12px, 2.2vw, 28px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; }
.skip:focus { left: 16px; top: 16px; background: var(--orange); color: #14100c; padding: 10px 14px; font-weight: 600; }
.hud-sep { color: var(--dim); margin: 0 0.35em; }

/* ---------- hero: the drone feed ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0b1114;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before {
  /* darken behind the title, then a CRT vignette toward the edges */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 58% 52% at 50% 50%, rgba(5, 9, 11, 0.74) 0%, rgba(5, 9, 11, 0.42) 62%, rgba(5, 9, 11, 0.12) 100%),
    radial-gradient(ellipse 120% 95% at 50% 50%, transparent 52%, rgba(2, 4, 5, 0.86) 100%);
}
.hero::after {
  /* scan lines and a little static, drawn by the browser so they stay sharp at any size */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.roll {
  /* the slow bright band of an old monitor */
  position: absolute;
  left: 0;
  right: 0;
  top: -22%;
  height: 22%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(190, 225, 235, 0.055), transparent);
  animation: roll 11s linear infinite;
}
@keyframes roll { to { transform: translateY(560%); } }

.vf { position: absolute; width: clamp(22px, 4.2vw, 50px); height: clamp(22px, 4.2vw, 50px); border: 3px solid rgba(255, 255, 255, 0.92); pointer-events: none; }
.vf-tl { top: var(--vf); left: var(--vf); border-right: 0; border-bottom: 0; }
.vf-tr { top: var(--vf); right: var(--vf); border-left: 0; border-bottom: 0; }
.vf-bl { bottom: var(--vf); left: var(--vf); border-right: 0; border-top: 0; }
.vf-br { bottom: var(--vf); right: var(--vf); border-left: 0; border-top: 0; }

.hud {
  position: absolute;
  left: calc(var(--vf) + clamp(14px, 2.6vw, 30px));
  right: calc(var(--vf) + clamp(14px, 2.6vw, 30px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 238, 240, 0.86);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.hud-top { top: calc(var(--vf) + clamp(12px, 2.2vw, 22px)); }
.hud-bottom { bottom: calc(var(--vf) + clamp(12px, 2.2vw, 22px)); color: rgba(233, 238, 240, 0.62); }
.hud-rec { display: flex; align-items: center; white-space: nowrap; }
.rec-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.75);
  margin-right: 10px;
  animation: blink 1.6s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0.18; } }
.hud-links { display: flex; gap: 10px; }
.hud-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 10, 12, 0.35);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.hud-link svg { width: 18px; height: 18px; fill: currentColor; }
.hud-link:hover { border-color: var(--orange); color: #fff; }

.hero-content { text-align: center; padding: 120px var(--gutter) 128px; max-width: 920px; }
.emblem { width: clamp(84px, 11vw, 150px); height: auto; margin: 0 auto clamp(14px, 2vw, 22px); }
.wordmark {
  margin: 0;
  font: 700 clamp(46px, 10.5vw, 136px)/0.9 var(--cond);
  letter-spacing: 0.07em;
  text-indent: 0.07em;   /* balances the trailing letter-space so the word sits centred */
  text-transform: uppercase;
  color: #f4f7f8;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.65);
}
.tagline {
  max-width: 46ch;
  margin: clamp(16px, 2.2vw, 24px) auto clamp(26px, 3.4vw, 36px);
  text-wrap: balance;
  font: 500 clamp(17px, 1.9vw, 21px)/1.5 var(--sans);
  color: #d7e0e3;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}
.tagline span { display: block; }   /* each sentence balances on its own lines */
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px 16px 22px;
  background: var(--orange);
  color: #160f08;
  font: 700 19px/1 var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background 0.15s, transform 0.15s;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn:focus-visible { clip-path: none; outline: 2px solid #fff; outline-offset: 3px; }
.btn-ghost {
  padding: 15px 25px 15px 21px;
  background: rgba(6, 10, 12, 0.45);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.42);
  clip-path: none;
}
.btn-ghost:hover { background: rgba(6, 10, 12, 0.65); border-color: var(--orange); color: #fff; }
.link-arrow {
  font: 500 14px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.link-arrow:hover { border-color: var(--orange); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 8.5vw, 120px) var(--gutter); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow .tag { margin-left: 4px; }

/* build status: solid = in the game today, dashed = not there yet (like a last known position) */
.tag {
  display: inline-block;
  padding: 5px 9px 4px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid;
}
.tag-now { color: #f4f7f8; border-color: rgba(255, 138, 31, 0.8); background: rgba(255, 138, 31, 0.14); }
.tag-wip { color: var(--orange-2); border-color: rgba(255, 138, 31, 0.7); border-style: dashed; }
.tag-plan { color: var(--muted); border-color: rgba(214, 232, 238, 0.4); border-style: dashed; }
h2 {
  max-width: 20ch;
  margin: 0 0 22px;
  font: 700 clamp(34px, 5.2vw, 60px)/1.02 var(--cond);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead { max-width: 60ch; color: var(--muted); }
.squad h2 { max-width: 25ch; }
.lead + .lead { margin-top: 16px; }

/* recon */
.recon { background: linear-gradient(to bottom, var(--bg), var(--bg-2)); }
.recon-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .recon-grid { grid-template-columns: 5fr 7fr; gap: 60px; } }
.demo-wrap { margin: 0; min-width: 0; }
.demo-bar, .legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.demo-bar { justify-content: space-between; padding: 0 2px 10px; }
.tally-live { color: #ff6d64; }
.demo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1114; border: 1px solid var(--line-2); }
.demo picture, .demo img, .demo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo img { object-fit: cover; }
.fog { fill: #03070a; fill-opacity: 0.56; }
.ring { fill: none; stroke: rgba(255, 255, 255, 0.82); stroke-width: 2.5; }
.ticks { fill: none; stroke: rgba(255, 255, 255, 0.82); stroke-width: 2.5; }
.drone { fill: var(--orange); stroke: #160f08; stroke-width: 2; }
.lbl {
  font: 500 30px var(--mono);
  letter-spacing: 0.08em;
  fill: #f2f5f6;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.8);
  stroke-width: 6px;
  stroke-linejoin: round;
}
.lbl-uav { fill: rgba(242, 245, 246, 0.9); }
.c-live path { fill: var(--red); stroke: #fff; stroke-width: 3.5; }
.c-live .halo { fill: none; stroke: rgba(255, 59, 48, 0.55); stroke-width: 3; }
.c-ghost path { fill: none; stroke: #ff6d64; stroke-width: 3.5; stroke-dasharray: 7 6; }
.c-ghost .lbl { fill: #ffb1ab; }
@media (max-width: 640px) { .lbl { font-size: 50px; stroke-width: 10px; } }
.legend { margin-top: 12px; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 12px; height: 12px; }
.key-live { background: var(--red); transform: rotate(45deg) scale(0.8); outline: 2px solid #fff; outline-offset: -1px; }
.key-ghost { border: 2px dashed #ff6d64; transform: rotate(45deg) scale(0.8); }
.key-fov { width: 18px; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 50%; }
.demo-toggle {
  margin-left: auto;
  padding: 6px 10px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
}
.demo-toggle:hover { border-color: var(--orange); }
.note { margin-top: 10px; font-size: 14px; color: var(--dim); }

/* squad cards */
.cards { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--panel);
  border-top: 2px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.card-no { font: 500 13px/1 var(--mono); letter-spacing: 0.14em; color: var(--orange); margin-bottom: 18px; }
.card h3 { margin: 0 0 10px; font: 700 26px/1.05 var(--cond); letter-spacing: 0.02em; text-transform: uppercase; }
.card p:last-child { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* where it's at */
.status { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-grid { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 860px) { .status-grid { grid-template-columns: repeat(2, 1fr); } }
.status-col {
  padding: 26px 24px 10px;
  background: var(--panel);
  border-top: 2px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.status-col-plan { border-top: 2px dashed rgba(214, 232, 238, 0.4); }
.status-col h3 { margin: 0 0 6px; }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { padding: 16px 0 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.status-list li + li { border-top: 1px solid var(--line); }
.status-list b { display: block; margin-bottom: 4px; font: 700 22px/1.05 var(--cond); letter-spacing: 0.03em; text-transform: uppercase; color: var(--text); }

/* join */
.join { padding-top: clamp(60px, 8vw, 110px); }
.join-box { position: relative; padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 80px); text-align: center; }
.join-box .vf { border-color: rgba(255, 255, 255, 0.5); }
.join-box .vf-tl, .join-box .vf-tr { top: 0; }
.join-box .vf-bl, .join-box .vf-br { bottom: 0; }
.join-box .vf-tl, .join-box .vf-bl { left: 0; }
.join-box .vf-tr, .join-box .vf-br { right: 0; }
.big-line { max-width: 34ch; margin: 0 auto 34px; font: 600 clamp(26px, 3.6vw, 40px)/1.18 var(--cond); letter-spacing: 0.01em; text-transform: uppercase; color: #f4f7f8; text-wrap: balance; }
.join-title { max-width: none; margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 24px); letter-spacing: 0.08em; color: var(--orange); }
.join-box .lead { margin: 0 auto 30px; text-wrap: balance; }

/* footer */
.footer { padding: 28px var(--gutter) 34px; border-top: 1px solid var(--line); font: 500 13px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font: 700 18px/1 var(--cond); letter-spacing: 0.12em; }
.footer-brand svg { width: 34px; height: 34px; }
.footer a:hover { color: var(--orange); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .hud { font-size: 11px; letter-spacing: 0.1em; }
  .hud-links { gap: 8px; }
  .hud-link { padding: 7px 9px; }
  .hud-link span { display: none; }
  .hud-coords { display: none; }
  .hero-content { padding-top: 104px; padding-bottom: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .roll, .rec-dot { animation: none; }
  .btn { transition: none; }
}

/* 404 */
.hero-lost { background: radial-gradient(ellipse at 50% 45%, #18242a, #070a0c 75%); }
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }
.wordmark-lost { font-size: clamp(44px, 9vw, 110px); }
