:root {
  --bg: #050507;
  --bg-2: #09090d;
  --bg-3: #101014;
  --text: #f2f2f2;
  --muted: #9b9ba3;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .28);
  --red: #ff1f2d;
  --red-dark: #8b0710;
  --red-soft: rgba(255, 31, 45, .14);
  --white-soft: rgba(255, 255, 255, .06);
  --shadow-red: 0 0 30px rgba(255, 31, 45, .32);
  --max: 1440px;
  --header-h: 82px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  cursor: none;
}

a, button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--red); color: white; }

body.menu-open { overflow: hidden; }

.noise-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: .5;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: .16;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 4px,
    radial-gradient(circle at 50% 20%, rgba(255,31,45,.18), transparent 38%);
  mix-blend-mode: screen;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--red);
  transform: translate(-50%, -50%);
  z-index: 100;
  pointer-events: none;
  transition: width .18s ease, height .18s ease, background .18s ease, opacity .18s ease;
  mix-blend-mode: difference;
}
.cursor::before,
.cursor::after {
  content: "";
  position: absolute;
  background: var(--red);
}
.cursor::before { width: 9px; height: 1px; left: -13px; top: 50%; }
.cursor::after { width: 1px; height: 9px; left: 50%; top: -13px; }
.cursor.is-hover {
  width: 46px;
  height: 46px;
  background: rgba(255,31,45,.16);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  z-index: 99;
  background: var(--red);
  box-shadow: var(--shadow-red);
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #020204;
  display: grid;
  place-items: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.boot.is-hidden { opacity: 0; visibility: hidden; }
.boot__panel {
  width: min(560px, calc(100vw - 32px));
  border: 1px solid var(--red);
  padding: 34px;
  background: linear-gradient(135deg, rgba(255,31,45,.11), rgba(255,255,255,.025));
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.boot__tag,
.eyebrow,
.section-kicker {
  color: var(--red);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
}
.boot__title {
  display: block;
  margin-top: 12px;
  font-size: clamp(28px, 5vw, 58px);
  line-height: .88;
  text-transform: uppercase;
}
.boot__bar {
  margin: 26px 0 16px;
  height: 5px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.boot__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--red);
  transform-origin: left;
  animation: boot 1.8s var(--ease) forwards;
}
.boot__line { margin: 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@keyframes boot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  min-height: var(--header-h);
  padding: 18px clamp(18px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(180deg, rgba(5,5,7,.86), rgba(5,5,7,.34));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: var(--header-scan, 0%);
  height: 1px;
  background: var(--red);
  box-shadow: var(--shadow-red);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-weight: 1000;
  font-size: 28px;
  line-height: 1;
  clip-path: polygon(50% 0, 100% 100%, 77% 100%, 50% 45%, 23% 100%, 0 100%);
  text-indent: -999px;
  position: relative;
}
.brand__mark::after {
  content: "";
  width: 7px;
  height: 42px;
  background: var(--bg);
  transform: rotate(-25deg);
}
.brand__text { display: grid; gap: 2px; }
.brand__text b { letter-spacing: .14em; font-size: 15px; }
.brand__text small { color: var(--muted); letter-spacing: .12em; font-size: 10px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 800;
}
.site-nav a {
  position: relative;
  padding: 10px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width .26s var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { color: white; }
.site-nav a:hover::after,
.site-nav a.is-active::after { width: 100%; }
.nav-toggle {
  display: none;
  position: relative;
  z-index: 91;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: white;
  transition: transform .28s var(--ease), opacity .28s var(--ease), top .28s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.section {
  position: relative;
  padding: clamp(92px, 12vw, 180px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 96px 96px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}
.section > * { position: relative; z-index: 1; }
.section-kicker {
  max-width: var(--max);
  margin: 0 auto 28px;
  color: var(--red);
}
.section-title {
  margin: 0;
  font-size: clamp(42px, 8vw, 120px);
  line-height: .86;
  letter-spacing: -.07em;
  text-transform: uppercase;
  font-weight: 1000;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr);
  align-items: center;
  gap: clamp(30px, 5vw, 86px);
  padding-top: calc(var(--header-h) + 72px);
  background:
    radial-gradient(circle at 78% 42%, rgba(255,31,45,.22), transparent 28%),
    linear-gradient(120deg, #050507 0%, #08080b 42%, #160608 100%);
}
.hero__grid {
  position: absolute;
  inset: var(--header-h) 0 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(255,31,45,.28) 48% 49%, transparent 49% 100%),
    linear-gradient(90deg, transparent 0 64%, rgba(255,255,255,.07) 64% 64.2%, transparent 64.2% 100%);
  opacity: .75;
}
.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow span {
  width: 44px;
  height: 1px;
  background: var(--red);
}
.glitch-title {
  position: relative;
  margin: 0;
  font-size: clamp(78px, 17vw, 236px);
  line-height: .74;
  letter-spacing: -.1em;
  font-weight: 1000;
  color: white;
  text-transform: uppercase;
  text-shadow: 8px 0 0 rgba(255,31,45,.62), -3px 0 0 rgba(37,244,238,.22);
}
.glitch-title::before,
.glitch-title::after {
  content: attr(data-glitch);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .7;
}
.glitch-title::before {
  color: var(--red);
  transform: translate(4px, -2px);
  clip-path: inset(0 0 54% 0);
  animation: glitchTop 2.4s infinite steps(1);
}
.glitch-title::after {
  color: #00fff0;
  transform: translate(-4px, 2px);
  clip-path: inset(58% 0 0 0);
  animation: glitchBottom 2.1s infinite steps(1);
}
@keyframes glitchTop {
  0%, 82%, 100% { transform: translate(4px, -2px); }
  84% { transform: translate(-10px, -3px); }
  86% { transform: translate(8px, 1px); }
}
@keyframes glitchBottom {
  0%, 76%, 100% { transform: translate(-4px, 2px); }
  79% { transform: translate(12px, 2px); }
  81% { transform: translate(-8px, 6px); }
}
.hero__lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: #d9d9df;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  --cut: 16px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-110%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }
.btn--primary { background: var(--red); color: white; border-color: var(--red); box-shadow: var(--shadow-red); }
.btn--ghost { background: rgba(255,255,255,.035); color: white; }

.hero__hud { justify-self: stretch; }
.hud-frame {
  min-height: 520px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,31,45,.08));
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 44px 100%, 0 calc(100% - 44px));
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hud-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,31,45,.25);
  pointer-events: none;
}
.hud-frame__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}
.hud-frame__top b { color: white; }
.hud-scan {
  position: relative;
  margin-top: 36px;
  height: 330px;
  border: 1px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255,31,45,.2), transparent 36%),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 34px 34px;
  overflow: hidden;
}
.hud-scan__target {
  width: min(210px, 56vw);
  aspect-ratio: 1;
  border: 1px solid var(--red);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(255,31,45,.25), 0 0 30px rgba(255,31,45,.18);
  position: relative;
}
.hud-scan__target::before,
.hud-scan__target::after {
  content: "";
  position: absolute;
  background: var(--red);
  opacity: .8;
}
.hud-scan__target::before { width: 160%; height: 1px; top: 50%; left: -30%; }
.hud-scan__target::after { height: 160%; width: 1px; left: 50%; top: -30%; }
.hud-scan__beam {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(255,31,45,.4), transparent);
  animation: scan 2.5s linear infinite;
}
.hud-scan p {
  position: absolute;
  left: 18px;
  bottom: 15px;
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
@keyframes scan { to { transform: translateY(520%); } }
.hud-metrics {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hud-metrics span {
  min-height: 72px;
  border: 1px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .08em;
}
.hud-metrics b {
  display: block;
  color: white;
  font-size: 28px;
  line-height: 1;
}
.scroll-hint {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
}
.scroll-hint span {
  width: 1px;
  height: 42px;
  background: var(--red);
  animation: scrollPulse 1.2s infinite alternate;
}
@keyframes scrollPulse { to { transform: translateY(14px); opacity: .4; } }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--red);
  background: var(--red);
  color: white;
  transform: skewY(-1deg);
  margin-top: -1px;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 17s linear infinite;
}
.ticker span {
  padding: 11px 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .22em;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.doctrine__layout,
.systems__head,
.terminal-layout,
.security__layout,
.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.doctrine__layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.doctrine__copy {
  border-left: 1px solid var(--red);
  padding-left: 28px;
  color: #d5d5dc;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
}
.doctrine__copy p { margin: 0; }
.doctrine__copy p + p { margin-top: 18px; }
.doctrine__strips {
  max-width: var(--max);
  margin: 70px auto 0;
  border-top: 1px solid var(--line);
}
.strip {
  display: grid;
  grid-template-columns: 80px minmax(180px, 320px) 1fr;
  align-items: center;
  gap: 24px;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.strip:hover {
  background: linear-gradient(90deg, rgba(255,31,45,.16), transparent);
  padding-left: 18px;
}
.strip span { color: var(--red); font-weight: 1000; letter-spacing: .12em; }
.strip b { font-size: clamp(22px, 3vw, 42px); text-transform: uppercase; line-height: .9; }
.strip i { color: var(--muted); font-style: normal; font-size: 17px; }

.systems { background: linear-gradient(180deg, var(--bg), #090709); }
.systems__head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 440px);
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
}
.systems__head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.systems__map {
  max-width: var(--max);
  margin: 68px auto 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  border-block: 1px solid var(--line);
  padding-block: 28px;
}
.systems__map svg {
  width: 100%;
  min-height: 420px;
  background:
    radial-gradient(circle at center, rgba(255,31,45,.11), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 55px 55px,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 55px 55px;
}
.map-line {
  fill: none;
  stroke: rgba(255,255,255,.24);
  stroke-width: 2;
}
.map-line--thin { stroke-width: 1; stroke-dasharray: 6 9; }
.map-pulse {
  fill: none;
  stroke: url(#pulse);
  stroke-width: 3;
  stroke-dasharray: 150 860;
  animation: mapPulse 3.7s linear infinite;
}
@keyframes mapPulse { to { stroke-dashoffset: -1010; } }
.node { outline: none; }
.node circle {
  fill: #07070a;
  stroke: rgba(255,255,255,.35);
  stroke-width: 2;
  transition: fill .25s var(--ease), stroke .25s var(--ease), r .25s var(--ease);
}
.node text {
  fill: white;
  font-weight: 1000;
  font-size: 19px;
  text-anchor: middle;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.node:hover circle,
.node.is-active circle,
.node:focus-visible circle {
  fill: var(--red);
  stroke: white;
  r: 54;
  filter: drop-shadow(0 0 18px rgba(255,31,45,.7));
}
.system-output {
  border-left: 1px solid var(--red);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,31,45,.1), rgba(255,255,255,.03));
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.system-output span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: 11px;
}
.system-output h3 {
  margin: 18px 0 16px;
  font-size: 36px;
  line-height: .95;
  text-transform: uppercase;
}
.system-output p {
  margin: 0;
  color: #d9d9df;
  line-height: 1.55;
}
.system-output dl { margin: 32px 0 0; }
.system-output div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.system-output dt { color: var(--muted); }
.system-output dd { margin: 0; color: white; font-weight: 900; }

.security__layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}
.security__panel {
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
}
.threat-meter {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
}
.threat-meter__ring {
  position: relative;
  width: 220px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.threat-meter__ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.threat-meter__ring circle {
  fill: none;
  stroke: rgba(255,255,255,.12);
  stroke-width: 12;
}
.threat-meter__ring .meter-value {
  stroke: var(--red);
  stroke-linecap: square;
  stroke-dasharray: 553;
  stroke-dashoffset: 210;
  filter: drop-shadow(0 0 10px rgba(255,31,45,.6));
  transition: stroke-dashoffset .35s var(--ease);
}
.threat-meter__ring strong {
  font-size: 56px;
  line-height: 1;
}
.threat-meter__ring span {
  position: absolute;
  bottom: 56px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 900;
}
.range-label {
  grid-column: 2;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 900;
}
.threat-meter input[type="range"] {
  grid-column: 2;
  width: 100%;
  accent-color: var(--red);
}
.threat-meter p {
  grid-column: 2;
  margin: 0;
  color: #d6d6dd;
  line-height: 1.55;
}
.access-log {
  margin-top: 38px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.access-log div {
  display: grid;
  grid-template-columns: 96px minmax(160px, 1fr) 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.access-log span { color: var(--red); }
.access-log b { color: white; }
.access-log i { color: var(--muted); font-style: normal; }

.manifesto {
  min-height: 70vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,31,45,.25), transparent 34%),
    #050507;
}
.manifesto__mask {
  max-width: var(--max);
  width: 100%;
  border-block: 1px solid var(--line);
  padding: clamp(40px, 8vw, 96px) 0;
}
.manifesto__mask span {
  display: block;
  color: rgba(255,31,45,.28);
  font-size: clamp(90px, 23vw, 310px);
  line-height: .7;
  font-weight: 1000;
  letter-spacing: -.12em;
  position: absolute;
  transform: translateY(-22%);
  pointer-events: none;
}
.manifesto__mask h2 {
  position: relative;
  margin: 0;
  max-width: 980px;
  font-size: clamp(48px, 8vw, 132px);
  line-height: .85;
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.manifesto__mask p {
  position: relative;
  max-width: 560px;
  margin: 28px 0 0 auto;
  color: var(--muted);
  line-height: 1.6;
  font-size: 18px;
}

.contact {
  background: linear-gradient(180deg, #07070a, #040405);
}
.contact__inner {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}
.access-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-left: 1px solid var(--red);
  padding-left: 28px;
}
.field {
  position: relative;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.035);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.field--wide { grid-column: 1 / -1; }
.field input,
.field textarea {
  width: 100%;
  border: 0;
  outline: none;
  color: white;
  background: transparent;
  padding: 26px 16px 12px;
  resize: vertical;
}
.field label {
  position: absolute;
  left: 16px;
  top: 17px;
  color: var(--muted);
  pointer-events: none;
  transition: transform .18s var(--ease), color .18s var(--ease), font-size .18s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px);
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.form-status {
  margin: 0;
  align-self: center;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px clamp(18px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.footer p { margin: 0; max-width: 820px; }
.footer__top {
  background: transparent;
  color: white;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  body { cursor: auto; }
  button, a { cursor: pointer; }
  .cursor { display: none; }
  .hero,
  .doctrine__layout,
  .systems__head,
  .terminal-layout,
  .security__layout,
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .hero { padding-bottom: 120px; }
  .hero__hud { max-width: 650px; }
  .systems__map { grid-template-columns: 1fr; }
  .system-output { border-left: 0; border-top: 1px solid var(--red); }
  .security__panel { max-width: 760px; }
}

@media (max-width: 860px) {
  :root { --header-h: 74px; }
  .site-header { padding: 15px 18px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 90px 28px 40px;
    background: rgba(5,5,7,.96);
    transform: translateX(100%);
    transition: transform .42s var(--ease);
    font-size: clamp(28px, 11vw, 70px);
    line-height: .9;
    letter-spacing: -.06em;
    color: white;
  }
  .site-nav.is-open { transform: translateX(0); }
  .brand__text small { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__lead { max-width: none; }
  .hud-frame { min-height: 440px; }
  .hud-scan { height: 270px; }
  .strip {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .strip:hover { padding-left: 0; }
  .systems__map svg { min-height: 300px; }
  .threat-meter { grid-template-columns: 1fr; }
  .range-label,
  .threat-meter input[type="range"],
  .threat-meter p { grid-column: auto; }
  .access-log div { grid-template-columns: 1fr; gap: 5px; }
  .access-form { grid-template-columns: 1fr; padding-left: 18px; }
  .footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .section { padding-inline: 16px; }
  .glitch-title { font-size: clamp(64px, 24vw, 120px); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hud-frame { padding: 16px; min-height: 390px; }
  .hud-frame__top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hud-metrics { grid-template-columns: 1fr; }
  .system-output { padding: 20px; }
  .system-output h3 { font-size: 28px; }
  .terminal { min-height: 460px; }
  .terminal__input { grid-template-columns: 1fr; gap: 6px; }
  .threat-meter__ring { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
