/* ============================================================
   VAT — VeteranArmyTech
   Military-grade design system
   ============================================================ */

:root {
  --bg: #06080a;
  --bg-2: #0a0e10;
  --panel: #0d1214;
  --panel-2: #10171a;
  --line: rgba(159, 239, 0, 0.14);
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #9fef00;
  --accent-dim: rgba(159, 239, 0, 0.55);
  --accent-glow: rgba(159, 239, 0, 0.22);
  --amber: #ffb800;
  --red: #ff3b3b;
  --text: #e6ece4;
  --muted: #8b9a8e;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --display: 'Russo One', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --radius: 2px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #06080a; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #1f2b22; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

.container { width: min(1240px, 92%); margin-inline: auto; }

/* ---------- global overlays: grid + scanlines + noise ---------- */
.overlay-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(159, 239, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 239, 0, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 0%, transparent 100%);
}

.overlay-scanlines {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background: repeating-linear-gradient(0deg,
    rgba(0, 0, 0, 0.09) 0px, rgba(0, 0, 0, 0.09) 1px,
    transparent 1px, transparent 3px);
  opacity: .5;
}

.overlay-vignette {
  position: fixed; inset: 0; z-index: 9991; pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 60%, rgba(0,0,0,.5) 100%);
}

/* ---------- custom cursor ---------- */
@media (pointer: fine) {
  body.cursor-armed, body.cursor-armed a, body.cursor-armed button,
  body.cursor-armed input, body.cursor-armed textarea, body.cursor-armed select,
  body.cursor-armed label { cursor: none; }

  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .cursor-dot {
    width: 5px; height: 5px; background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid var(--accent-dim);
    transition: width .22s ease, height .22s ease, border-color .22s ease, transform .05s linear;
  }
  .cursor-ring::before, .cursor-ring::after {
    content: ''; position: absolute; background: var(--accent-dim);
  }
  .cursor-ring::before { left: 50%; top: -6px; width: 1px; height: 5px; transform: translateX(-50%); box-shadow: 0 39px 0 var(--accent-dim); }
  .cursor-ring::after { top: 50%; left: -6px; height: 1px; width: 5px; transform: translateY(-50%); box-shadow: 39px 0 0 var(--accent-dim); }
  .cursor-ring.is-active { width: 52px; height: 52px; border-color: var(--accent); }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- preloader ---------- */
.boot {
  position: fixed; inset: 0; z-index: 10001;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s;
}
.boot.done { opacity: 0; visibility: hidden; }
.boot-inner { width: min(560px, 88%); font-family: var(--mono); font-size: 13px; }
.boot-logo {
  font-family: var(--display); font-size: 28px; letter-spacing: .35em;
  color: var(--accent); margin-bottom: 22px;
  text-shadow: 0 0 24px var(--accent-glow);
}
.boot-lines { min-height: 108px; color: var(--muted); }
.boot-lines .ok { color: var(--accent); }
.boot-bar {
  margin-top: 18px; height: 3px; background: rgba(255,255,255,.07); overflow: hidden;
}
.boot-bar span {
  display: block; height: 100%; width: 0; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transition: width .3s ease;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(6, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header .container { display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo-mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(159,239,0,.1), transparent 60%);
  position: relative;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { line-height: 1.1; }
.logo-text b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: 17px; letter-spacing: .18em; color: var(--text);
}
.logo-text small {
  display: block; font-family: var(--mono); font-size: 9px;
  letter-spacing: .32em; color: var(--accent-dim); text-transform: uppercase;
}

.nav { display: flex; gap: 6px; }
.nav a {
  position: relative;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 14px;
  transition: color .25s ease;
}
.nav a::before {
  content: '['; position: absolute; left: 2px; opacity: 0;
  color: var(--accent); transition: opacity .2s, left .2s;
}
.nav a::after {
  content: ']'; position: absolute; right: 2px; opacity: 0;
  color: var(--accent); transition: opacity .2s, right .2s;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::before, .nav a.active::before { opacity: 1; left: 0; }
.nav a:hover::after, .nav a.active::after { opacity: 1; right: 0; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  border: 1px solid var(--line); padding: 3px;
}
.lang-switch a {
  padding: 5px 10px; color: var(--muted); text-transform: uppercase;
  transition: color .2s, background .2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.on { background: var(--accent); color: #06080a; font-weight: 700; }

.burger {
  display: none; background: none; border: 1px solid var(--line);
  width: 44px; height: 44px; position: relative; z-index: 1102;
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--accent);
  margin: 4px auto; transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 14px 28px; border: 1px solid var(--accent);
  color: var(--accent); background: transparent;
  overflow: hidden; transition: color .3s ease, box-shadow .3s ease;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.65, 0, .35, 1);
}
.btn:hover { color: #06080a; box-shadow: 0 0 32px var(--accent-glow); }
.btn:hover::before { transform: scaleX(1); }
.btn.ghost { border-color: rgba(255,255,255,.22); color: var(--text); }
.btn.ghost::before { background: var(--text); }
.btn.ghost:hover { color: #06080a; box-shadow: 0 0 24px rgba(255,255,255,.12); }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding: 110px 0; z-index: 1; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(159,239,0,.025) 50%, transparent); }

.sec-head { margin-bottom: 64px; max-width: 720px; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.sec-tag::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.sec-tag .idx { color: var(--muted); }
.sec-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.15;
  text-transform: uppercase; letter-spacing: .02em;
}
.sec-title em { font-style: normal; color: var(--accent); }
.sec-sub { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .40s; } .rv-d6 { transition-delay: .48s; }

/* HUD corner brackets */
.hud {
  position: relative;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(255,255,255,.02), transparent 55%), var(--panel);
}
.hud::before, .hud::after,
.hud > .hud-c::before, .hud > .hud-c::after {
  content: ''; position: absolute; width: 14px; height: 14px;
  border-color: var(--accent); border-style: solid; transition: all .3s ease;
}
.hud::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hud::after { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hud > .hud-c::before { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hud > .hud-c::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-figure {
  position: absolute; z-index: 1; inset: 0 0 0 auto;
  width: min(56%, 760px); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .55) 22%, black 46%),
    linear-gradient(0deg, transparent, black 14%, black 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .55) 22%, black 46%),
    linear-gradient(0deg, transparent, black 14%, black 88%, transparent);
  mask-composite: intersect;
}
.hero-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(.2) contrast(1.12) brightness(.85);
  opacity: .95;
}
.hero-fade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,8,10,.25), transparent 30%, transparent 70%, var(--bg));
}
.hero .container {
  position: relative; z-index: 3; flex: 1;
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: center; padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--line); padding: 8px 16px;
  background: rgba(159, 239, 0, .05);
  margin-bottom: 28px;
}
.hero-badge .blink {
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: blink 1.6s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(38px, 6.6vw, 84px);
  line-height: 1.04; text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 26px;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }

/* glitch */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}
.glitch.glitching::before {
  opacity: .8; color: var(--red); z-index: -1;
  animation: glitch-a .62s steps(2, jump-none) both;
}
.glitch.glitching::after {
  opacity: .8; color: #21d0ff; z-index: -2;
  animation: glitch-b .62s steps(2, jump-none) both;
}
@keyframes glitch-a {
  0% { transform: translate(0); clip-path: inset(20% 0 60% 0); }
  25% { transform: translate(-5px, 2px); clip-path: inset(60% 0 10% 0); }
  50% { transform: translate(4px, -2px); clip-path: inset(10% 0 75% 0); }
  75% { transform: translate(-3px, 1px); clip-path: inset(40% 0 40% 0); }
  100% { transform: translate(0); clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes glitch-b {
  0% { transform: translate(0); clip-path: inset(65% 0 15% 0); }
  25% { transform: translate(5px, -2px); clip-path: inset(15% 0 65% 0); }
  50% { transform: translate(-4px, 2px); clip-path: inset(80% 0 5% 0); }
  75% { transform: translate(3px, -1px); clip-path: inset(35% 0 45% 0); }
  100% { transform: translate(0); clip-path: inset(0 0 0 0); opacity: 0; }
}

.hero-type {
  font-family: var(--mono); font-size: clamp(13px, 1.6vw, 16px);
  color: var(--muted); min-height: 3.4em; max-width: 560px;
  margin-bottom: 36px;
}
.hero-type .prompt { color: var(--accent); }
.hero-type .caret {
  display: inline-block; width: 9px; height: 1.15em;
  background: var(--accent); vertical-align: text-bottom;
  animation: blink 1s steps(2, start) infinite;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* hero status panel */
.hero-panel {
  padding: 22px; font-family: var(--mono);
  backdrop-filter: blur(6px);
  background: rgba(13, 18, 20, .72);
}
.hero-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-panel-head .st { color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.hero-panel-head .st::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: blink 1.6s steps(2, start) infinite;
}
.radar-wrap { display: flex; gap: 18px; align-items: center; }
#radar { width: 148px; height: 148px; flex: none; }
.telemetry { flex: 1; font-size: 11px; display: grid; gap: 9px; min-width: 0; }
.telemetry .row { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.telemetry .row b { color: var(--text); font-weight: 500; white-space: nowrap; }
.telemetry .row b.ok { color: var(--accent); }
.tele-bar { height: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.tele-bar i { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); transition: width .8s ease; }

.hero-panel-log {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  font-size: 10.5px; color: var(--muted); line-height: 1.9;
  height: 74px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-panel-log .t { color: var(--accent-dim); }

/* hero bottom strip */
.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-soft);
  background: rgba(6, 8, 10, .6); backdrop-filter: blur(8px);
}
.hero-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0; gap: 0; align-items: stretch;
}
.strip-item {
  padding: 20px 24px; border-left: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 2px;
}
.strip-item:first-child { border-left: 0; }
.strip-item b {
  font-family: var(--display); font-weight: 400; font-size: 26px;
  color: var(--text); letter-spacing: .04em;
}
.strip-item b .u { color: var(--accent); font-size: 18px; }
.strip-item > span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

.scroll-hint {
  position: absolute; z-index: 3; bottom: 110px; right: 4%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 56px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 1; overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--bg-2); padding: 16px 0;
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--mono); font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px;
}
.marquee-track span::after { content: '◆'; color: var(--accent); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   MISSION / ABOUT
   ============================================================ */
.mission-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px; align-items: start;
}
.mission-copy p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.mission-copy p strong { color: var(--text); font-weight: 600; }
.mission-points { margin-top: 30px; display: grid; gap: 14px; }
.mission-points li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--text);
}
.mission-points li i {
  flex: none; margin-top: 3px; color: var(--accent); font-size: 16px;
}
.mission-points li span b { display: block; font-weight: 600; }
.mission-points li span small { color: var(--muted); font-size: 13.5px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc {
  position: relative; padding: 30px 26px 26px;
  min-height: 300px; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); }
.svc .scan {
  position: absolute; left: 0; right: 0; top: -40%; height: 40%;
  background: linear-gradient(180deg, transparent, var(--accent-glow));
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.svc:hover .scan { opacity: 1; animation: scan-sweep 1.2s ease-in-out infinite; }
@keyframes scan-sweep { to { top: 110%; } }
.svc-idx {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  color: var(--muted); opacity: .7;
}
.svc-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--line); margin-bottom: 22px;
  color: var(--accent); font-size: 24px;
  background: rgba(159,239,0,.05);
  transition: background .3s, box-shadow .3s;
}
.svc:hover .svc-icon { background: rgba(159,239,0,.12); box-shadow: 0 0 24px var(--accent-glow); }
.svc h3 {
  font-family: var(--display); font-weight: 400; font-size: 19px;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px;
}
.svc p { color: var(--muted); font-size: 14px; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.svc-tags i {
  font-style: normal; font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-dim); border: 1px solid var(--line);
  padding: 3px 9px;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-list { position: relative; display: grid; gap: 0; }
.process-list::before {
  content: ''; position: absolute; left: 27px; top: 20px; bottom: 20px;
  width: 1px; background: linear-gradient(180deg, var(--accent-dim), var(--line) 80%);
}
.step {
  position: relative; display: grid;
  grid-template-columns: 56px 220px 1fr; gap: 28px;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.step-node {
  position: relative; z-index: 1;
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--bg);
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  transition: box-shadow .3s, border-color .3s;
}
.step:hover .step-node { border-color: var(--accent); box-shadow: 0 0 24px var(--accent-glow); }
.step-code {
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--amber); padding-top: 6px;
}
.step-code b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .04em; color: var(--text); margin-top: 6px; text-transform: uppercase; }
.step-body { color: var(--muted); font-size: 14.5px; padding-top: 6px; max-width: 640px; }

/* ============================================================
   ARSENAL (tech stack)
   ============================================================ */
.arsenal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ars {
  padding: 24px 22px;
}
.ars h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.ars h4 i { font-size: 15px; }
.ars ul { display: flex; flex-direction: column; gap: 9px; }
.ars li {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.ars li::before { content: '›'; color: var(--accent-dim); }

/* ============================================================
   WHY / ADVANTAGES
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why {
  padding: 26px; display: flex; gap: 20px; align-items: flex-start;
  transition: transform .3s ease;
}
.why:hover { transform: translateY(-4px); }
.why-ico {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--accent); font-size: 21px;
  background: rgba(159,239,0,.05);
}
.why h3 { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 14px; }

/* stats band */
.stats-band {
  margin-top: 72px; border-block: 1px solid var(--line);
  background:
    repeating-linear-gradient(-45deg, rgba(159,239,0,.04) 0 2px, transparent 2px 14px),
    var(--bg-2);
}
.stats-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 28px; text-align: center;
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4vw, 52px); color: var(--accent);
  text-shadow: 0 0 32px var(--accent-glow); line-height: 1;
}
.stat b .u { font-size: .55em; }
.stat > span {
  display: block; margin-top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.contact-rows { display: grid; gap: 4px; }
.contact-rows a, .contact-rows .row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line-soft);
  transition: padding-left .25s ease, background .25s ease;
}
.contact-rows a:hover { padding-left: 12px; background: rgba(159,239,0,.03); }
.contact-rows i.bi {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--accent); font-size: 17px;
}
.contact-rows .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); display: block;
}
.contact-rows .val { font-size: 15px; color: var(--text); }

/* terminal form */
.term { overflow: hidden; }
.term-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel-2); border-bottom: 1px solid var(--line-soft);
  padding: 12px 16px;
}
.term-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #2c3a30; }
.term-bar .dot.r { background: var(--red); opacity: .75; }
.term-bar .dot.y { background: var(--amber); opacity: .75; }
.term-bar .dot.g { background: var(--accent); opacity: .75; }
.term-bar .title {
  margin-left: 10px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; color: var(--muted); text-transform: uppercase;
}
.term-body { padding: 28px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.field label::before { content: '> '; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft); color: var(--text);
  font-family: var(--mono); font-size: 14px;
  padding: 13px 16px; outline: none; border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--panel); color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); background: rgba(159,239,0,.04);
  box-shadow: 0 0 0 3px rgba(159,239,0,.08);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 14px; }
.form-status { font-family: var(--mono); font-size: 13px; margin-top: 16px; min-height: 1.4em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-soft); background: var(--bg-2);
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 380px; }
.footer h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color .2s, padding-left .2s; }
.footer ul a:hover { color: var(--accent); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted);
}
.footer-bottom .sig { color: var(--accent-dim); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .arsenal-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel { max-width: 480px; }
  .hero-figure { width: min(68%, 560px); }
  .scroll-hint { display: none; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; z-index: 1101;
    background: rgba(6, 8, 10, .96); backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center; gap: 20px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-size: 16px; }
  .burger { display: block; }
  .header-cta { display: none; }

  #hero-canvas { opacity: .45; }

  .hero-figure {
    opacity: 1; width: 78%; transform: translateX(40%);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 12%),
      linear-gradient(0deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 12%),
      linear-gradient(0deg, transparent, black 10%, black 90%, transparent);
  }
  .hero-figure img { opacity: .92; }
  .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .step { grid-template-columns: 56px 1fr; }
  .step-body { grid-column: 2; }
  .hero-strip .container { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item { border-top: 1px solid var(--line-soft); }
  .strip-item:nth-child(-n+2) { border-top: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .site-header .container { gap: 12px; }
  .logo-text small { display: none; }
  .services-grid, .arsenal-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .radar-wrap { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-type { min-height: 5em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
