:root {
  --bg: #080911;
  --bg-2: #101422;
  --panel: #151a2a;
  --panel-2: #1c2235;
  --text: #f6f0de;
  --muted: #aeb4c6;
  --gold: #ffcc45;
  --red: #e94a5f;
  --green: #38e0b0;
  --paper: #e7d8b7;
  --paper-ink: #18120d;
  --border: rgba(255, 255, 255, 0.15);
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(115deg, rgba(233, 74, 95, 0.16), transparent 32%),
    linear-gradient(245deg, rgba(56, 224, 176, 0.12), transparent 34%),
    var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.mouse-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 340px;
  height: 340px;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  background:
    radial-gradient(circle at center,
      rgba(255, 204, 69, 0.25) 0%,
      rgba(233, 74, 95, 0.18) 30%,
      rgba(56, 224, 176, 0.10) 48%,
      transparent 70%);
  will-change: transform, opacity;
  contain: layout paint style;
  transition: opacity 160ms ease;
}

.static-noise {
  position: fixed;
  contain: layout paint style;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    radial-gradient(circle at 15% 40%, rgba(255,255,255,0.7) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.45) 0 1px, transparent 1px),
    radial-gradient(circle at 45% 80%, rgba(255,255,255,0.5) 0 1px, transparent 1px);
  background-size: 37px 37px, 53px 53px, 71px 71px;
}

.scanline-lite {
  position: fixed;
  contain: layout paint style;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.075;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 7px,
    rgba(255,255,255,0.08) 8px
  );
}

.burst-layer {
  position: fixed;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  overflow: hidden;
}

.burst-piece {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.4);
  animation: burstPop 780ms ease-out forwards;
}

.burst-piece:nth-child(3n) {
  background: var(--red);
}

.burst-piece:nth-child(3n + 1) {
  background: var(--green);
}


.page-bg {
  position: fixed;
  contain: layout paint style;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  opacity: 0.16;
  transform: translate3d(0, 0, 0);
}

.orb-one {
  left: -180px;
  top: 120px;
  background: var(--red);
  animation: driftOne 14s ease-in-out infinite alternate;
}

.orb-two {
  right: -160px;
  top: 60px;
  background: var(--green);
  animation: driftTwo 16s ease-in-out infinite alternate;
}

.orb-three {
  left: 42%;
  bottom: -240px;
  background: var(--gold);
  animation: driftThree 18s ease-in-out infinite alternate;
}

.site-header,
.hero,
.ticker,
.section,
.briefing,
.report-section,
.site-footer {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 204, 69, 0.75);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: rgba(255, 204, 69, 0.08);
}

.brand strong {
  display: block;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}


.glitch-title {
  position: relative;
  text-shadow:
    2px 0 rgba(233, 74, 95, 0.55),
    -2px 0 rgba(56, 224, 176, 0.42);
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.glitch-title::before {
  color: rgba(233, 74, 95, 0.75);
  transform: translate3d(2px, 0, 0);
  animation: glitchBlink 5.8s steps(1) infinite;
}

.glitch-title::after {
  color: rgba(56, 224, 176, 0.6);
  transform: translate3d(-2px, 0, 0);
  animation: glitchBlink 7.1s steps(1) infinite reverse;
}


h1 {
  margin-bottom: 20px;
  font-size: clamp(50px, 9vw, 128px);
  line-height: 0.84;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
}

.lead,
.briefing-main p,
.report-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.quick-grid {
  margin: 27px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-grid article {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.quick-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-grid strong {
  display: block;
  color: var(--text);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
}

.button.primary {
  color: #121018;
  border-color: var(--gold);
  background: var(--gold);
}

.button.secondary {
  border-color: rgba(233, 74, 95, 0.55);
  background: rgba(233, 74, 95, 0.12);
}

.dossier-card {
  position: relative;
  min-height: 610px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dossier-corners::before,
.dossier-corners::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  border-color: rgba(255, 204, 69, 0.45);
  pointer-events: none;
}

.dossier-corners::before {
  left: 14px;
  top: 14px;
  border-left: 2px solid;
  border-top: 2px solid;
}

.dossier-corners::after {
  right: 14px;
  bottom: 14px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.dossier-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  z-index: 2;
}

.scan-panel {
  position: relative;
  min-height: 360px;
  margin-top: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 224, 176, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(rgba(56, 224, 176, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 224, 176, 0.065) 1px, transparent 1px),
    rgba(0, 0, 0, 0.22);
  background-size: 30px 30px;
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(56, 224, 176, 0.13) 48%, transparent 52%);
  transform: translateX(-100%);
  animation: sweep 5s linear infinite;
}

.aus-shape {
  position: relative;
  width: min(100%, 410px);
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}

.aus-shape path,
.aus-shape circle {
  fill: var(--gold);
  stroke: #fff1b6;
  stroke-width: 5;
}

.aus-shape text {
  fill: #111018;
  font-size: 45px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.scan-readout {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(8, 9, 17, 0.82);
}

.scan-readout span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scan-readout strong {
  color: var(--green);
  text-transform: uppercase;
}

.stamp-row {
  position: relative;
  z-index: 2;
  margin: 22px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.stamp {
  display: inline-block;
  padding: 8px 13px;
  border: 3px solid currentColor;
  border-radius: 8px;
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 900;
  transform: rotate(-5deg);
}

.stamp-gold {
  color: var(--gold);
  font-size: clamp(16px, 2vw, 23px);
  transform: rotate(5deg);
}

.stamp-red {
  color: var(--red);
}

.meter {
  position: relative;
  z-index: 2;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.23);
}

.meter-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meter-track {
  height: 13px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.meter-fill {
  width: 3.7%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 260ms ease;
}

.ticker {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 204, 69, 0.28);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 204, 69, 0.08);
}

.ticker span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.ticker-window {
  min-height: 20px;
  overflow: hidden;
}

.ticker strong {
  display: inline-block;
  color: var(--text);
}

.section,
.briefing,
.report-section {
  margin-top: 100px;
}

.section-heading {
  margin-bottom: 26px;
}

.evidence-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.evidence-card {
  min-height: 232px;
  padding: 24px;
  border-radius: 8px 8px 24px 8px;
  color: var(--paper-ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.35), transparent 40%),
    var(--paper);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.evidence-card:hover {
  transform: translateY(-5px) rotate(0deg);
}

.evidence-card.tilt-left {
  transform: rotate(-1.1deg);
}

.evidence-card.tilt-right {
  transform: rotate(1.1deg);
}

.evidence-card.tilt-left:hover,
.evidence-card.tilt-right:hover {
  transform: translateY(-5px) rotate(0deg);
}

.case-code {
  display: inline-block;
  margin-bottom: 15px;
  padding: 5px 8px;
  color: var(--paper);
  background: var(--paper-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.evidence-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.evidence-card p {
  margin-bottom: 0;
  line-height: 1.55;
}



.monitor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: stretch;
}

.monitor-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.terminal-header em {
  margin-left: auto;
  color: var(--gold);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.monitor-terminal {
  min-height: 300px;
  max-height: 300px;
  overflow: hidden;
}

.monitor-command {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(56, 224, 176, 0.18);
  background: rgba(0, 0, 0, 0.25);
  font-family: Consolas, Monaco, "Courier New", monospace;
}

.monitor-command span {
  color: var(--gold);
  font-weight: 900;
}

.monitor-command input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 10px 11px;
  color: #a6ffe7;
  background: rgba(0, 0, 0, 0.34);
  font-family: inherit;
}

.monitor-command button {
  border: 1px solid rgba(255, 204, 69, 0.42);
  border-radius: 10px;
  padding: 10px 12px;
  color: #121018;
  background: var(--gold);
  cursor: pointer;
  font-weight: 900;
}

.monitor-map {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(56, 224, 176, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(56, 224, 176, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.monitor-map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(56,224,176,0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,224,176,0.065) 1px, transparent 1px);
  background-size: 30px 30px;
}

.monitor-map svg {
  position: absolute;
  left: 50%;
  top: 51%;
  width: min(86%, 330px);
  transform: translate(-50%, -50%);
  opacity: 0.95;
}

.monitor-map path,
.monitor-map circle {
  fill: rgba(255, 204, 69, 0.74);
  stroke: #fff1b6;
  stroke-width: 5;
}

.blip {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  animation: blipPulse 1.8s ease-in-out infinite;
  will-change: transform, opacity;
}

.blip::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(233, 74, 95, 0.32);
  border-radius: inherit;
  animation: blipRing 1.8s ease-in-out infinite;
  will-change: transform, opacity;
}

.blip span {
  position: absolute;
  left: 18px;
  top: -6px;
  padding: 4px 6px;
  border-radius: 8px;
  color: var(--text);
  background: rgba(8, 9, 17, 0.84);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 900;
}

.blip-one { left: 62%; top: 42%; }
.blip-two { left: 34%; top: 54%; animation-delay: 0.3s; }
.blip-three { left: 70%; top: 58%; animation-delay: 0.6s; }
.blip-four { left: 49%; top: 37%; animation-delay: 0.9s; }

.monitor-sidebar {
  display: grid;
  gap: 12px;
}

.monitor-sidebar article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
}

.monitor-sidebar span,
.monitor-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.monitor-sidebar strong,
.monitor-strip strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.monitor-sidebar p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.monitor-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--border);
}

.monitor-strip div {
  padding: 17px;
  background: rgba(255, 255, 255, 0.065);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 204, 69, 0.25);
  border-radius: 24px;
  background: rgba(255, 204, 69, 0.075);
}

.timeline article::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(255, 204, 69, 0.12);
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}


.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.matrix-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.matrix-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.matrix-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.matrix-head strong {
  color: var(--gold);
  text-transform: uppercase;
}

.bar {
  height: 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #fff2a0);
}

.bar.red i {
  background: linear-gradient(90deg, var(--red), #ff9a6c);
}

.bar.green i {
  background: linear-gradient(90deg, var(--green), #b2ffe7);
}

.matrix-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.control-room {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 204, 69, 0.25);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 204, 69, 0.10), rgba(233, 74, 95, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.control-room h3 {
  font-size: 28px;
}

.control-room p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.witness-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.witness-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  transition: transform 160ms ease, border-color 160ms ease;
}

.witness-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 204, 69, 0.34);
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 30px;
}

.witness-card p {
  color: var(--muted);
  line-height: 1.55;
}

.witness-card span {
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid rgba(255, 204, 69, 0.3);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bulletin-stack {
  display: grid;
  gap: 14px;
}

.bulletin-stack article {
  position: relative;
  padding: 18px 20px 18px 74px;
  border: 1px solid rgba(233, 74, 95, 0.3);
  border-radius: 20px;
  background: rgba(233, 74, 95, 0.08);
}

.bulletin-stack article::before {
  content: "!";
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #120d10;
  background: var(--red);
  font-weight: 900;
}

.bulletin-stack span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.bulletin-stack p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.vault-file {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 40%),
    var(--panel);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.vault-file span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 8px;
  color: #121018;
  background: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.vault-file p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.decode-panel {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid rgba(56, 224, 176, 0.26);
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.28);
}

.decode-panel h3 {
  font-size: 28px;
}

.decode-panel p:not(.eyebrow) {
  color: #a6ffe7;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 18px;
  line-height: 1.5;
}

.decode-panel .button {
  margin-top: 4px;
}


.briefing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(255, 204, 69, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.status-board {
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.22);
}

.status-board ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-board li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.065);
}

.status-board span {
  color: var(--muted);
}

.status-board strong {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.terminal {
  border: 1px solid rgba(56, 224, 176, 0.28);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(56, 224, 176, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.terminal-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-header span:nth-child(2) {
  background: var(--gold);
}

.terminal-header span:nth-child(3) {
  background: var(--green);
}

.terminal-header strong {
  margin-left: 7px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.13em;
}

.terminal-body {
  padding: 17px;
  color: #a6ffe7;
  font-family: Consolas, Monaco, "Courier New", monospace;
  min-height: 194px;
}

.terminal-body p {
  margin: 0 0 10px;
}

.terminal-body p:last-child {
  margin-bottom: 0;
}

.terminal-body span {
  color: var(--gold);
}

.report-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.report-form {
  display: grid;
  gap: 14px;
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: #0a0c14;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 204, 69, 0.6);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

select option {
  color: #111;
}

.site-footer {
  margin-top: 88px;
  padding: 32px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: calc(100% - 36px);
  padding: 13px 15px;
  border: 1px solid rgba(255, 204, 69, 0.45);
  border-radius: 14px;
  color: var(--text);
  background: #10131d;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


@keyframes glitchBlink {
  0%, 88%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }
  89% { opacity: 0.75; clip-path: inset(12% 0 71% 0); }
  90% { opacity: 0; }
  94% { opacity: 0.55; clip-path: inset(66% 0 13% 0); }
  95% { opacity: 0; }
}

@keyframes burstPop {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.35);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--x), var(--y), 0) scale(1);
  }
}


@keyframes blipPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes blipRing {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.24;
  }

  50% {
    transform: scale(1.28);
    opacity: 0.08;
  }
}

@keyframes driftOne {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(70px, 30px, 0); }
}

@keyframes driftTwo {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-65px, 42px, 0); }
}

@keyframes driftThree {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(35px, -50px, 0); }
}

@keyframes sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -9px, 0) rotate(1deg); }
}


/* Performance pass: keeps the visuals, reduces layout/paint work. */
.section,
.briefing,
.report-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.evidence-card,
.matrix-card,
.witness-card,
.vault-file,
.status-board,
.monitor-sidebar article,
.timeline article,
.report-form,
.dossier-card,
.terminal,
.monitor-map,
.control-room,
.decode-panel {
  contain: layout paint style;
}

.radar-sweep,
.aus-shape,
.orb,
.burst-piece {
  will-change: transform, opacity;
}

.scan-panel,
.monitor-map {
  transform: translateZ(0);
}


@media (prefers-reduced-motion: reduce) {
  .mouse-glow,
  .static-noise,
  .scanline-lite {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .monitor-layout,
  .monitor-main {
    grid-template-columns: 1fr;
  }

  .monitor-strip,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .matrix-grid,
  .vault-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .witness-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .control-room {
    align-items: flex-start;
    flex-direction: column;
  }

  .control-room .button {
    width: auto;
  }

  .hero,
  .briefing,
  .report-section {
    grid-template-columns: 1fr;
  }

  .evidence-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .dossier-card {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .section,
  .briefing,
  .report-section {
    contain-intrinsic-size: 1200px;
  }

  .witness-grid {
    grid-template-columns: 1fr;
  }

  .bulletin-stack article {
    padding-left: 20px;
  }

  .bulletin-stack article::before {
    position: static;
    margin-bottom: 12px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    margin-top: 24px;
  }

  .quick-grid,
  .monitor-strip,
  .timeline,
  .matrix-grid,
  .vault-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .ticker {
    align-items: flex-start;
    flex-direction: column;
  }

  .evidence-board {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
