:root {
  color-scheme: dark;
  --black: #020202;
  --deep: #000;
  --ink: #0b0b0b;
  --white: #f2f2ec;
  --paper: #e5d79a;
  --paper-dark: #c4b36a;
  --muted: #9c9c92;
  --line: rgba(242, 242, 236, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--white);
  font-family: Impact, "Arial Black", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  text-transform: uppercase;
  cursor: none;
}

.cursor-lens {
  content: "";
  position: fixed;
  left: var(--cursor-x, 50vw);
  top: var(--cursor-y, 50vh);
  width: 22px;
  height: 22px;
  z-index: 60;
  pointer-events: none;
  transform: translate(-45%, -45%) rotate(-18deg);
  border: 2px solid rgba(154, 91, 38, 0.96);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #140a04, inset 0 0 6px rgba(255,188,112,0.18), 0 0 10px rgba(154,91,38,0.34);
  background: rgba(80, 45, 20, 0.08);
  mix-blend-mode: normal;
}

.cursor-handle {
  content: "";
  position: fixed;
  left: var(--cursor-x, 50vw);
  top: var(--cursor-y, 50vh);
  width: 14px;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  transform: translate(8px, 9px) rotate(42deg);
  background: linear-gradient(90deg, #5b3218, #b8793b 48%, #6f3d1e);
  box-shadow: 0 0 0 1px #140a04, 0 0 8px rgba(154,91,38,0.28);
  mix-blend-mode: normal;
}

body.is-targeting .cursor-lens {
  width: 30px;
  height: 30px;
  border-width: 2px;
  background: rgba(126, 73, 31, 0.12);
}

body.is-targeting .cursor-handle {
  width: 17px;
  transform: translate(13px, 13px) rotate(42deg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 19;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(255,255,255,0.16) 43% 44%, transparent 45%),
    rgba(255, 255, 255, 0.08);
  mix-blend-mode: screen;
  animation: screenFlicker 7.5s infinite;
}

button,
a {
  font: inherit;
  cursor: none;
}

body.declassified {
  background: #000;
}

body.declassified .noise {
  opacity: 0;
  animation: jitter 0.24s steps(2) infinite, staticSweep 5.5s linear infinite;
}

body.declassified .scanline {
  opacity: 0.07;
}

.noise,
.static-canvas,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.static-canvas {
  z-index: 18;
  opacity: 0.26;
  mix-blend-mode: screen;
  image-rendering: auto;
}

body.declassified .static-canvas {
  opacity: 0.26;
}

.noise {
  opacity: 0;
  background: none;
  animation: none;
}

.scanline {
  display: none;
}

.boot {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.boot::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: #000;
}

.boot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(transparent 0 42%, rgba(255,255,255,0.22) 43% 44%, transparent 45%),
    linear-gradient(90deg, transparent, rgba(255,255,255,0.055), transparent);
  opacity: 0.32;
  mix-blend-mode: screen;
  animation: tracking 1.8s steps(3) infinite;
}

.tv-frame {
  width: min(920px, 100%);
  min-height: min(720px, calc(100vh - 48px));
  border: 2px solid var(--white);
  box-shadow: 0 0 0 12px #000, 0 0 0 13px var(--line);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 45%),
    #000;
  overflow: hidden;
}

.signal-meta {
  position: absolute;
  inset: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.boot-copy {
  width: min(760px, 92%);
  position: relative;
  z-index: 3;
  padding-top: clamp(58px, 10vh, 92px);
  text-align: center;
  text-transform: uppercase;
}

.mono {
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

h1 {
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.88;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 0 #000, 0 0 18px rgba(255,255,255,0.22);
  overflow-wrap: anywhere;
}

.ticker {
  font-family: "Courier New", monospace;
  max-width: 620px;
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.load-bar {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  height: 14px;
  border: 1px solid var(--white);
}

.load-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--white);
  animation: load 2.7s ease-out forwards;
}

.folder-drop {
  position: relative;
  z-index: 4;
  width: min(430px, calc(100vw - 56px));
  min-height: 240px;
  margin-top: clamp(30px, 6vh, 58px);
}

.folder {
  position: absolute;
  width: 100%;
  min-height: 206px;
  background: var(--paper-dark);
  color: #111;
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.8), 0 0 0 2px #111 inset;
  text-transform: uppercase;
}

.folder::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 46%;
  height: 34px;
  background: inherit;
  border: 2px solid #111;
  border-bottom: 0;
}

.folder span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.f-back {
  transform: rotate(8deg) translate(22px, 20px);
  opacity: 0.75;
}

.f-mid {
  transform: rotate(-6deg) translate(-20px, 10px);
  opacity: 0.86;
}

.file-button {
  appearance: none;
  border: 0;
  width: 100%;
  min-height: 206px;
  background: var(--paper);
  color: var(--black);
  position: relative;
  z-index: 2;
  cursor: pointer;
  transform: rotate(-2deg);
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.8), 0 0 0 2px var(--black) inset;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.file-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 45%;
  height: 34px;
  background: var(--paper);
  border: 2px solid var(--black);
  border-bottom: 0;
}

.file-button:hover {
  transform: rotate(0deg) translateY(-6px);
  filter: invert(1);
}

.file-button .tab,
.file-button .sub {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.file-button .stamp {
  display: block;
  margin: 30px auto 12px;
  width: fit-content;
  border: 5px solid var(--black);
  padding: 12px 18px;
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 900;
  transform: rotate(-8deg);
}

.folder-drop.is-hidden {
  opacity: 0;
  pointer-events: none;
  animation: fileDrop 0.7s 2.85s cubic-bezier(.18,.89,.32,1.28) forwards;
}

.boot.is-open {
  animation: bootOut 0.65s ease forwards;
}

.site {
  min-height: 100vh;
  background: transparent;
}

.site.is-locked {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.seal {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 18px rgba(0,0,0,0.85);
}

.seal img {
  width: 118%;
  height: 118%;
  object-fit: cover;
  mix-blend-mode: normal;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
}

nav a {
  color: var(--white);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.sound-toggle {
  min-height: 34px;
  border: 1px solid rgba(130, 223, 255, 0.52);
  color: #e6faff;
  background: rgba(0, 0, 0, 0.68);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 14px rgba(79, 199, 255, 0.08);
}

.sound-toggle:hover {
  border-color: rgba(130, 223, 255, 0.95);
  box-shadow: 0 0 18px rgba(79, 199, 255, 0.22), inset 0 0 14px rgba(79, 199, 255, 0.12);
}

.sound-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #75ddff;
  box-shadow: 0 0 10px rgba(117, 221, 255, 0.9);
}

.sound-toggle.is-muted {
  color: #a8a8a0;
  border-color: rgba(242,242,236,0.28);
}

.sound-toggle.is-muted .sound-dot {
  background: #4b4b45;
  box-shadow: none;
}

h1,
h2,
h3,
nav a,
.brand span:last-child,
.hero-copy p,
.case-card p,
.source-dossiers a,
.meme-link,
.section-head p,
.intel-panel > span,
.intel-panel p,
.evidence-links a,
.media-button,
.source-link,
.embed-card h3,
.embed-card p,
.board p,
.final-signal p {
  position: relative;
}

h1:hover,
.hero h2:hover,
.hero-copy p:hover {
  color: transparent;
  background:
    radial-gradient(ellipse at 42% 48%, #f4fbff 0 8%, #8edbff 14%, #2aa3ff 30%, #071c4a 56%, #d7f6ff 74%, #10245a 100%);
  background-size: 180% 145%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 3px rgba(255,255,255,0.96),
    0 0 10px rgba(124, 219, 255, 0.95),
    0 0 28px rgba(44, 152, 255, 0.82),
    0 0 58px rgba(18, 86, 255, 0.55),
    0 0 86px rgba(18, 86, 255, 0.32);
  animation: blueFluorescentGlow 3.8s ease-in-out infinite;
}

h1:hover::after,
.hero h2:hover::after,
.hero-copy p:hover::after {
  content: "";
  position: absolute;
  left: -4%;
  top: 50%;
  width: 108%;
  height: 1.18em;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(236, 251, 255, 0.74), rgba(84, 196, 255, 0.34) 42%, rgba(27, 92, 255, 0.12) 72%, transparent 100%);
  filter: blur(10px);
  opacity: 0.72;
  transform: translateY(-50%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: blueFluorescentHalo 3.8s ease-in-out infinite;
}

nav a:hover,
.brand:hover span:last-child,
.section-head h2:hover,
.section-head p:hover,
.intel-panel:hover h3,
.intel-panel:hover > span,
.case-card:hover h3,
.case-card:hover p,
.embed-card:hover h3,
.board:hover h2,
.board:hover p,
.final-signal:hover h2,
.final-signal:hover p {
  color: #e7f9ff;
  text-shadow:
    0 0 8px rgba(79, 199, 255, 0.5),
    0 0 18px rgba(79, 199, 255, 0.22);
  transition: color 120ms ease, text-shadow 120ms ease;
}

nav a:hover,
.brand:hover span:last-child {
  color: #ffffff;
}

.hero,
.board,
.final-signal {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: 54px 0;
}

.hero h2,
.board h2,
.final-signal h2 {
  font-size: clamp(42px, 8vw, 94px);
  line-height: 0.92;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-shadow: 0 5px 0 #000;
}

.hero p:not(.mono),
.final-signal p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.22;
  color: #d2d2cb;
}

.evidence-stack {
  position: relative;
  min-height: 690px;
  isolation: isolate;
}

@property --spread-x {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}

@property --spread-y {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}

@property --orbit-x {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}

@property --orbit-y {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0px;
}

@property --paper-rotate {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.paper {
  position: absolute;
  width: min(345px, 74vw);
  min-height: 430px;
  padding: 18px;
  background: var(--paper);
  color: var(--black);
  box-shadow: 12px 16px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid #111;
  text-transform: uppercase;
  --spread-x: 0px;
  --spread-y: 0px;
  --orbit-x: 0px;
  --orbit-y: 0px;
  --paper-rotate: 0deg;
  transform: translate(calc(var(--spread-x) + var(--orbit-x)), calc(var(--spread-y) + var(--orbit-y))) rotate(var(--paper-rotate));
  transition:
    --spread-x 680ms cubic-bezier(0.16, 1, 0.3, 1),
    --spread-y 680ms cubic-bezier(0.16, 1, 0.3, 1),
    --paper-rotate 680ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms ease,
    filter 420ms ease;
  will-change: transform;
}

.evidence-stack .p1 {
  animation: fileOrbitOne 8.8s ease-in-out infinite;
}

.evidence-stack .p2 {
  animation: fileOrbitTwo 9.6s ease-in-out infinite;
}

.evidence-stack .p3 {
  animation: fileOrbitThree 10.2s ease-in-out infinite;
}

.evidence-stack .p4 {
  animation: fileOrbitFour 9.2s ease-in-out infinite;
}

.paper span {
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.paper strong {
  position: relative;
  z-index: 3;
  display: inline-block;
  margin-top: 16px;
  font-size: clamp(19px, 2.15vw, 26px);
  line-height: 0.95;
  max-width: 100%;
  padding: 6px 8px 4px;
  background: rgba(248, 239, 190, 0.86);
  border: 1px solid rgba(17, 17, 17, 0.72);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: none;
  overflow-wrap: anywhere;
}

.p1 {
  left: 5%;
  top: 20px;
  --paper-rotate: -6deg;
  z-index: 7;
}

.p2 {
  right: -1%;
  top: 86px;
  --paper-rotate: 8deg;
  z-index: 5;
}

.p3 {
  left: 23%;
  top: 226px;
  --paper-rotate: -1deg;
  z-index: 3;
}

.p4 {
  right: 4%;
  top: 292px;
  --paper-rotate: 4deg;
  z-index: 1;
}

.evidence-stack:hover .paper {
  box-shadow: 18px 22px 0 rgba(255, 255, 255, 0.08), 0 0 24px rgba(79, 199, 255, 0.1);
}

.evidence-stack:hover .p1 {
  --spread-x: -82px;
  --spread-y: -54px;
  --paper-rotate: -9deg;
  z-index: 12;
}

.evidence-stack:hover .p2 {
  --spread-x: 96px;
  --spread-y: -66px;
  --paper-rotate: 10deg;
  z-index: 10;
}

.evidence-stack:hover .p3 {
  --spread-x: -70px;
  --spread-y: 96px;
  --paper-rotate: -4deg;
  z-index: 8;
}

.evidence-stack:hover .p4 {
  --spread-x: 72px;
  --spread-y: 126px;
  --paper-rotate: 5deg;
  z-index: 9;
}

.paper-photo {
  height: 260px;
  margin-top: 16px;
  border: 2px solid #111;
  background: #050505;
  position: relative;
  overflow: hidden;
}

.p1 .paper-photo {
  height: 238px;
}

.p1 strong {
  margin-top: 10px;
  font-size: clamp(18px, 1.95vw, 24px);
  background: rgba(248, 239, 190, 0.96);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.paper-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.3)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.36;
}

.paper-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.12) brightness(0.88);
  transition: transform 420ms ease, filter 420ms ease;
}

.paper:hover .paper-photo img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.18) brightness(0.96);
}

.case-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 48px 0 78px;
}

.legacy-cases {
  display: none;
}

.case-card {
  min-height: 360px;
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(0, 0, 0, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 32px rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.case-id {
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--muted);
}

.case-card h3 {
  margin: 24px 0 12px;
  font-size: 32px;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.case-trigger {
  width: 100%;
  min-height: 178px;
  border: 1px solid rgba(242,242,236,0.7);
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,0.09), transparent 34%),
    rgba(0,0,0,0.92);
  color: var(--white);
  position: relative;
  margin: 6px 0 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: none;
}

.case-trigger img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92) brightness(0.82);
  transition: transform 260ms ease, filter 260ms ease;
}

.case-trigger:hover img {
  transform: scale(1.06);
  filter: contrast(1.18) saturate(1.08) brightness(0.98);
}

.case-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 5px),
    linear-gradient(120deg, transparent 0 45%, rgba(255,255,255,0.12) 50%, transparent 55%);
  opacity: 0.35;
  transform: translateX(-60%);
  transition: transform 320ms ease;
}

.case-trigger:hover::before {
  transform: translateX(60%);
}

.stamp-word {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: 2px solid currentColor;
  padding: 4px 7px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  transform: rotate(-7deg);
  background: rgba(0,0,0,0.72);
  z-index: 2;
}

.powder-lines {
  width: 150px;
  height: 72px;
  border-bottom: 4px solid #f8f4e5;
  border-radius: 50%;
  transform: rotate(-8deg);
  position: relative;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.22));
}

.powder-lines::before,
.powder-lines::after {
  content: "";
  position: absolute;
  height: 4px;
  background: #f8f4e5;
  border-radius: 999px;
}

.powder-lines::before {
  width: 118px;
  left: 16px;
  top: 28px;
}

.powder-lines::after {
  width: 86px;
  left: 34px;
  top: 48px;
}

.vinyl {
  width: 112px;
  height: 112px;
  border: 5px solid #f5f5f5;
  border-radius: 50%;
  background:
    radial-gradient(circle, #000 0 10px, #e03b3b 11px 17px, #000 18px 28px, transparent 29px),
    repeating-radial-gradient(circle, transparent 0 9px, rgba(255,255,255,0.34) 10px 11px);
  position: relative;
}

.vinyl::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 2px;
  background: #f4d35e;
  right: -76px;
  top: 20px;
  transform: rotate(-26deg);
  transform-origin: left;
  box-shadow: 64px 26px 0 -1px #4cff79;
}

.rap-trigger {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(76,255,121,0.18) 19% 22%, transparent 23% 36%, rgba(244,211,94,0.18) 37% 40%, transparent 41% 58%, rgba(224,59,59,0.2) 59% 62%, transparent 63%),
    radial-gradient(circle at 50% 44%, rgba(255,255,255,0.09), transparent 34%),
    rgba(0,0,0,0.92);
}

.motion-body {
  width: 116px;
  height: 116px;
  position: relative;
}

.motion-body::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 8px;
  width: 34px;
  height: 34px;
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow:
    -18px 58px 0 8px #d98bff,
    20px 67px 0 12px #d98bff;
}

.motion-body::after {
  content: ")))";
  position: absolute;
  right: -8px;
  bottom: 20px;
  color: #d98bff;
  font-size: 32px;
  letter-spacing: -7px;
  animation: motionPing 0.52s steps(2) infinite;
}

.case-crack:hover .case-trigger,
.case-rap:hover .case-trigger {
  color: #ffffff;
  box-shadow: inset 0 0 0 1px #fff, 0 0 26px rgba(255,255,255,0.18);
}

.case-koolaid:hover .case-trigger {
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--paper), 0 0 26px rgba(229,215,154,0.2);
}

.case-twerk:hover .case-trigger {
  color: #d8d8d8;
  box-shadow: inset 0 0 0 1px #fff, 0 0 26px rgba(255,255,255,0.16);
}

.case-card p {
  color: #cfcfc8;
  line-height: 1.32;
}

.case-card button,
.meme-link {
  margin-top: auto;
  min-height: 42px;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 12px;
}

.case-card button:hover,
.meme-link:hover {
  background: rgba(41, 143, 255, 0.09);
  color: #e9fbff;
  border-color: rgba(128, 224, 255, 0.9);
  box-shadow: 0 0 20px rgba(79, 199, 255, 0.24), inset 0 0 16px rgba(79, 199, 255, 0.1);
}

.case-card.is-marked {
  background: var(--white);
  color: var(--black);
}

.case-card.is-marked p,
.case-card.is-marked .case-id {
  color: var(--black);
}

.case-card.is-marked button {
  border-color: var(--black);
  color: var(--black);
}

.meme-files,
.category-files {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.old-meme-files {
  display: none;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.intel-panel {
  min-height: 560px;
  border: 1px solid rgba(242,242,236,0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06), transparent 28%),
    rgba(0,0,0,0.9);
  padding: 16px;
  display: grid;
  grid-template-columns: 190px 1fr;
  grid-template-rows: auto auto auto auto auto;
  column-gap: 18px;
  row-gap: 10px;
  overflow: hidden;
  position: relative;
  transition: border-color 360ms ease, box-shadow 360ms ease, background 360ms ease;
}

.intel-panel:hover {
  border-color: rgba(112, 214, 255, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(79, 199, 255, 0.08),
    0 0 42px rgba(43, 142, 255, 0.13);
  background:
    radial-gradient(circle at 50% 0%, rgba(93, 207, 255, 0.08), transparent 30%),
    rgba(0,0,0,0.92);
}

.intel-panel > span {
  grid-column: 2;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.intel-panel h3 {
  grid-column: 2;
  margin: 12px 0;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 0.9;
}

.intel-panel p {
  grid-column: 2;
  color: #cfcfc8;
  line-height: 1.25;
  margin-bottom: 0;
}

.panel-art {
  grid-row: 1 / -1;
  width: 190px;
  min-height: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background: #020202;
  position: relative;
  overflow: hidden;
}

.panel-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) saturate(0.95) brightness(0.8);
}

.panel-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.16), transparent 38%);
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.crack-art::after,
.jar-panel-art::after,
.rap-art::after,
.twerk-art::after {
  display: none;
}

.crack-art::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 70px;
  height: 82px;
  border: 4px solid #fff;
  border-top: 0;
  transform: skew(-8deg) rotate(-4deg);
  background:
    linear-gradient(160deg, transparent 0 42%, rgba(255,255,255,0.9) 43% 46%, transparent 47%),
    radial-gradient(circle at 42% 72%, #f8f4e5 0 15px, transparent 16px);
  box-shadow: 0 0 24px rgba(255,255,255,0.12);
}

.evidence-links {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.evidence-links a {
  min-height: 42px;
  color: var(--white);
  border: 1px solid rgba(242,242,236,0.55);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 12px;
}

.evidence-links a:hover {
  color: #e9fbff;
  border-color: rgba(128, 224, 255, 0.9);
  background: rgba(41, 143, 255, 0.08);
  box-shadow: 0 0 20px rgba(79, 199, 255, 0.24), inset 0 0 16px rgba(79, 199, 255, 0.1);
}

.local-media {
  grid-column: 2;
  border: 1px solid rgba(242,242,236,0.22);
  background: #010101;
  min-height: 190px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0,0,0,0.9);
}

.local-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 20%, transparent 82%, rgba(79,199,255,0.08)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.local-media video {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  background: #000;
  filter: contrast(1.1) saturate(0.82) brightness(0.82);
}

.local-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.local-media-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.local-media-pair video {
  height: 230px;
}

.local-media span {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 1;
  padding: 4px 7px;
  background: rgba(0, 0, 0, 0.74);
  border: 1px solid rgba(126, 218, 255, 0.42);
  color: #dff7ff;
  font-family: "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(79, 199, 255, 0.18);
}

.media-strip {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.media-button {
  min-height: 58px;
  border: 1px solid rgba(79, 199, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(79, 199, 255, 0.08), rgba(255, 255, 255, 0.015)),
    #020202;
  color: #d9f5ff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.05;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 9px 10px;
  position: relative;
  overflow: hidden;
}

.media-button::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(230, 250, 255, 0.44), rgba(88, 203, 255, 0.18) 42%, transparent 72%);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 160ms ease, transform 180ms ease;
}

.media-button span {
  width: 42px;
  height: 24px;
  border: 1px solid rgba(226, 250, 255, 0.76);
  padding: 3px 6px;
  color: #fff;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 0 10px rgba(79, 199, 255, 0.08);
}

.media-button span img {
  max-width: 100%;
  max-height: 17px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.18));
}

.media-button.youtube span img {
  max-height: 16px;
}

.media-button.tiktok span img {
  max-height: 19px;
}

.media-button.xfeed span img {
  max-height: 15px;
}

.media-button:hover {
  border-color: rgba(130, 223, 255, 0.9);
  color: #ffffff;
  box-shadow: 0 0 26px rgba(79, 199, 255, 0.34), inset 0 0 22px rgba(79, 199, 255, 0.14);
}

.media-button:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.media-button.youtube {
  border-color: rgba(255, 77, 77, 0.42);
}

.media-button.youtube:hover {
  border-color: rgba(130, 223, 255, 0.9);
  box-shadow: 0 0 26px rgba(79, 199, 255, 0.34), inset 0 0 22px rgba(79, 199, 255, 0.14);
}

.media-button.tiktok {
  border-color: rgba(79, 199, 255, 0.42);
}

.media-button.xfeed {
  border-color: rgba(242, 242, 236, 0.38);
}

.file-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mini-file {
  min-height: 240px;
  border: 1px solid #111;
  color: var(--black);
  padding: 12px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  box-shadow: 7px 8px 0 rgba(255,255,255,0.08);
}

.mini-file:nth-child(2n) {
  transform: rotate(1.5deg);
}

.mini-file:nth-child(3n) {
  transform: rotate(-1deg);
}

.mini-file span {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #1b1b1b;
}

.mini-file h3 {
  margin: 26px 0 10px;
  font-size: 28px;
  line-height: 0.95;
  text-transform: uppercase;
}

.mini-file p {
  color: #111;
  line-height: 1.25;
}

.intercepts {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 0.95fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.9;
  margin-bottom: 0;
  text-transform: uppercase;
}

.section-head p:last-child {
  color: #d2d2cb;
  font-size: 18px;
  line-height: 1.28;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.source-dossiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.old-source-dossiers {
  display: none;
}

.core-source-dossiers {
  margin-bottom: 22px;
}

.source-dossiers a {
  min-height: 105px;
  border: 1px solid var(--line);
  color: var(--white);
  text-decoration: none;
  padding: 12px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
}

.source-dossiers a:hover {
  background: rgba(41, 143, 255, 0.09);
  color: #e9fbff;
  border-color: rgba(128, 224, 255, 0.9);
  box-shadow: 0 0 24px rgba(79, 199, 255, 0.22), inset 0 0 18px rgba(79, 199, 255, 0.1);
}

.source-dossiers span {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: var(--muted);
}

.source-dossiers a:hover span {
  color: #ccefff;
}

.source-about-card {
  min-height: 118px;
  border: 1px solid rgba(248, 239, 190, 0.2);
  color: var(--black);
  background:
    linear-gradient(135deg, rgba(255, 246, 196, 0.94), rgba(219, 200, 126, 0.94));
  text-transform: uppercase;
  overflow: hidden;
  scroll-margin-top: 92px;
  position: relative;
  box-shadow: 7px 8px 0 rgba(255, 255, 255, 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, filter 180ms ease;
}

.source-about-card::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  width: 72px;
  height: 13px;
  background: rgba(255, 246, 196, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.68);
  border-top: 0;
  transform: translateY(-1px);
  z-index: 2;
}

.source-about-card:hover,
.source-about-card.is-opened {
  background:
    linear-gradient(135deg, rgba(255, 247, 202, 0.98), rgba(232, 212, 132, 0.98));
  border-color: rgba(128, 224, 255, 0.9);
  box-shadow: 0 0 24px rgba(79, 199, 255, 0.2), 9px 10px 0 rgba(255, 255, 255, 0.07);
  filter: brightness(1.03);
}

.source-about-card:hover {
  transform: translateY(-2px);
}

.source-file-trigger {
  width: 100%;
  min-height: 118px;
  cursor: none;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  border: 0;
  background: transparent;
  color: #050505;
  text-align: left;
  text-transform: uppercase;
}

.source-file-trigger i {
  display: inline-block;
  width: fit-content;
  margin-top: 12px;
  border: 1px solid rgba(17, 17, 17, 0.72);
  padding: 5px 8px 3px;
  color: #050505;
  background: rgba(255, 255, 255, 0.22);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
}

.source-file-trigger strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 0.94;
  color: #070707;
  text-shadow: none;
}

.case-file-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.case-file-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.file-modal-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(79, 199, 255, 0.1), transparent 30%),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  cursor: none;
}

.file-popup {
  position: relative;
  width: min(720px, calc(100vw - 34px));
  color: #080808;
  background:
    linear-gradient(135deg, rgba(255, 246, 196, 0.98), rgba(224, 204, 126, 0.98));
  border: 1px solid #111;
  padding: 24px;
  box-shadow:
    16px 18px 0 rgba(255, 255, 255, 0.055),
    0 0 45px rgba(79, 199, 255, 0.22);
  transform: translateY(16px) rotate(-1.2deg) scale(0.96);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.case-file-modal.is-visible .file-popup {
  transform: translateY(0) rotate(-1.2deg) scale(1);
}

.file-popup::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(17, 17, 17, 0.24);
  pointer-events: none;
}

.file-popup-tab {
  position: absolute;
  left: 22px;
  top: -22px;
  min-width: 190px;
  border: 1px solid #111;
  border-bottom: 0;
  background: #efe0a0;
  color: #111;
  padding: 8px 12px 5px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.file-popup-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  border: 2px solid rgba(126, 0, 0, 0.74);
  background: rgba(255, 255, 255, 0.2);
  color: #7e0000;
  padding: 6px 9px 4px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
  cursor: none;
}

.file-popup-header {
  position: relative;
  z-index: 2;
  padding-right: 88px;
}

.file-popup-header span {
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #24210f;
}

.file-popup-header h3 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 7vw, 62px);
  line-height: 0.9;
  text-transform: uppercase;
  color: #080808;
}

.file-popup-paper {
  position: relative;
  z-index: 2;
  min-height: 220px;
  padding: 42px 20px 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(239, 237, 219, 0.9)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.045) 0 1px, transparent 1px 20px);
  border: 1px solid rgba(17, 17, 17, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 6px 7px 0 rgba(0, 0, 0, 0.16);
}

.file-stamp {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 3px solid rgba(126, 0, 0, 0.78);
  color: rgba(126, 0, 0, 0.82);
  padding: 6px 9px 3px;
  font-size: 14px;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

.file-popup-paper p {
  margin: 0;
  padding: 0;
  color: #0d0d0d;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.34;
  text-transform: none;
  max-width: 90%;
}

.source-about-card:hover span,
.source-about-card.is-opened span {
  color: #101010;
}

.embed-card {
  min-height: 520px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.capture-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(79,199,255,0.06), transparent 30%),
    rgba(0, 0, 0, 0.86);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.capture-card:hover {
  border-color: rgba(130, 223, 255, 0.62);
  box-shadow: 0 0 36px rgba(79, 199, 255, 0.18), inset 0 0 24px rgba(79, 199, 255, 0.08);
  transform: translateY(-3px);
}

.embed-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  text-transform: uppercase;
}

.embed-label span {
  font-family: "Courier New", monospace;
  color: var(--muted);
  font-size: 12px;
}

.embed-label strong {
  font-size: 20px;
  text-align: right;
}

.capture-media {
  min-height: 300px;
  border: 1px solid rgba(242,242,236,0.22);
  background: #010101;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.92);
}

.capture-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 20%, transparent 84%, rgba(79,199,255,0.08)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.capture-media video,
.capture-media img {
  width: 100%;
  height: 330px;
  display: block;
  object-fit: cover;
  background: #000;
  filter: contrast(1.12) saturate(0.86) brightness(0.84);
  transition: transform 160ms ease, filter 160ms ease;
}

.capture-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capture-media-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capture-media-pair video {
  height: 330px;
}

.capture-card:hover .capture-media video,
.capture-card:hover .capture-media img {
  transform: scale(1.025);
  filter: contrast(1.16) saturate(0.96) brightness(0.94);
}

.capture-poster {
  display: block;
  color: var(--white);
  text-decoration: none;
}

.capture-poster span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  border: 1px solid rgba(130, 223, 255, 0.72);
  background: rgba(0, 0, 0, 0.76);
  color: #e4f9ff;
  padding: 7px 10px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(79, 199, 255, 0.24);
}

.capture-card p {
  color: #d0d0c9;
  line-height: 1.28;
}

.capture-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.embed-card blockquote {
  margin: 0;
}

.twitter-tweet,
.tiktok-embed {
  width: 100%;
  min-height: 340px;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.twitter-tweet a,
.tiktok-embed a,
.source-link {
  color: var(--white);
}

.source-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
}

.source-link:hover {
  background: rgba(41, 143, 255, 0.09);
  color: #e9fbff;
  border-color: rgba(128, 224, 255, 0.9);
  box-shadow: 0 0 20px rgba(79, 199, 255, 0.24), inset 0 0 16px rgba(79, 199, 255, 0.1);
}

.board {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.board-copy h2,
.board-copy p {
  transition: color 180ms ease, text-shadow 180ms ease, filter 180ms ease;
}

.board-copy h2:hover,
.board-copy p:not(.mono):hover {
  color: #f5fdff;
  text-shadow:
    0 0 8px rgba(112, 219, 255, 0.86),
    0 0 22px rgba(79, 199, 255, 0.5),
    0 0 42px rgba(79, 199, 255, 0.26);
}

.board-copy p:not(.mono) {
  color: #d2d2cb;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.24;
}

.thread-board {
  min-height: 660px;
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 48% 46%, rgba(79,199,255,0.09), transparent 28%),
    linear-gradient(28deg, transparent 0 48%, rgba(255,255,255,0.4) 49% 50%, transparent 51%),
    linear-gradient(150deg, transparent 0 48%, rgba(255,255,255,0.28) 49% 50%, transparent 51%),
    linear-gradient(90deg, transparent 0 49.6%, rgba(79,199,255,0.25) 49.8% 50.2%, transparent 50.4%),
    linear-gradient(0deg, transparent 0 49.6%, rgba(79,199,255,0.14) 49.8% 50.2%, transparent 50.4%),
    rgba(255,255,255,0.018);
  box-shadow: inset 0 0 36px rgba(0,0,0,0.88), 0 0 30px rgba(79,199,255,0.08);
  overflow: hidden;
}

.thread-board::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(130, 223, 255, 0.22);
  pointer-events: none;
}

.thread-board::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(130, 223, 255, 0.12) 49%, transparent 56%),
    radial-gradient(circle at var(--board-pulse-x, 50%) var(--board-pulse-y, 50%), rgba(79, 199, 255, 0.18), transparent 22%);
  mix-blend-mode: screen;
  opacity: 0.52;
  transform: translateX(-18%);
  animation: boardSweep 7.5s ease-in-out infinite;
}

.useful-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(225px, 1fr));
  gap: 18px;
  padding: 26px;
}

.board-file {
  position: relative;
  z-index: 2;
  min-height: 220px;
  border: 1px solid rgba(242,242,236,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), transparent 34%),
    rgba(0,0,0,0.76);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.85), 0 0 22px rgba(0,0,0,0.5);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  animation: boardFloat 8s ease-in-out infinite;
  will-change: transform;
}

.board-file::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(130, 223, 255, 0.14);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.board-file::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 223, 255, 0.8), transparent);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.jar-file {
  animation-delay: -1.4s;
}

.rap-file {
  animation-delay: -3s;
}

.twerk-file {
  animation-delay: -4.6s;
}

.board-file:hover {
  transform: translateY(-6px) rotate(-0.8deg);
  border-color: rgba(130, 223, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(79, 199, 255, 0.08), transparent 38%),
    rgba(0,0,0,0.82);
  box-shadow: inset 0 0 24px rgba(79,199,255,0.1), 0 0 28px rgba(79,199,255,0.18);
}

.board-file:hover::before {
  opacity: 1;
  transform: scale(1);
}

.board-file:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.board-file span,
.board-center span {
  font-family: "Courier New", monospace;
  color: #9fdfff;
  font-size: 11px;
}

.board-file h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.9;
  text-transform: uppercase;
  transition: color 150ms ease, text-shadow 150ms ease;
}

.board-file p {
  margin: 0;
  color: #d2d2cb;
  line-height: 1.26;
  transition: color 150ms ease, text-shadow 150ms ease;
}

.board-file:hover h3,
.board-file:hover p {
  color: #f5fdff;
  text-shadow: 0 0 12px rgba(79,199,255,0.5);
}

.board-file strong {
  margin-top: auto;
  width: fit-content;
  border: 1px solid rgba(130, 223, 255, 0.42);
  padding: 6px 8px;
  color: #e6faff;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 0 16px rgba(79,199,255,0.14);
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.board-file:hover strong {
  background: rgba(79, 199, 255, 0.12);
  border-color: rgba(179, 238, 255, 0.94);
  box-shadow: 0 0 22px rgba(79,199,255,0.32), inset 0 0 16px rgba(79,199,255,0.12);
  transform: translateX(4px);
}

.board-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(330px, 70%);
  min-height: 118px;
  transform: translate(-50%, -50%) rotate(-1deg);
  border: 1px solid rgba(130, 223, 255, 0.72);
  background: rgba(0,0,0,0.9);
  color: #f2fbff;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  align-content: center;
  text-align: center;
  box-shadow: 0 0 30px rgba(79,199,255,0.22), inset 0 0 22px rgba(79,199,255,0.08);
  animation: centerSignal 3.6s ease-in-out infinite;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.board-center:hover {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.035);
  border-color: rgba(202, 247, 255, 0.96);
  box-shadow: 0 0 38px rgba(79,199,255,0.42), inset 0 0 26px rgba(79,199,255,0.16);
}

.board-center strong {
  text-transform: uppercase;
  line-height: 1.05;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.board-center:hover strong {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(130, 223, 255, 0.74);
}

.board-note {
  position: absolute;
  z-index: 4;
  width: 185px;
  border: 1px solid #111;
  background: var(--paper);
  color: var(--black);
  padding: 9px;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 6px 7px 0 rgba(0,0,0,0.42);
  animation: noteWobble 6.8s ease-in-out infinite;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  will-change: transform;
}

.board-note.n1 { left: 4%; top: 46%; transform: rotate(-4deg); }
.board-note.n2 { right: 4%; top: 45%; transform: rotate(4deg); animation-delay: -1.8s; }
.board-note.n3 { left: 50%; bottom: 4%; transform: translateX(-50%) rotate(-2deg); animation-delay: -3.2s; }

.board-note:hover {
  filter: brightness(1.08);
  box-shadow: 8px 9px 0 rgba(0,0,0,0.44), 0 0 22px rgba(79,199,255,0.2);
}

.board-note.n1:hover { transform: rotate(-2deg) translateY(-4px); }
.board-note.n2:hover { transform: rotate(2deg) translateY(-4px); }
.board-note.n3:hover { transform: translateX(-50%) rotate(0deg) translateY(-4px); }

.final-signal {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 64px 0 80px;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-copy p {
  margin: 0;
  padding: 14px 0 14px 18px;
  border-left: 1px solid rgba(130, 223, 255, 0.32);
  background: linear-gradient(90deg, rgba(79,199,255,0.055), transparent 72%);
}

@keyframes staticMove {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -2%); }
  100% { transform: translate(1%, 3%); }
}

@keyframes jitter {
  0% { transform: translate(0, 0); }
  100% { transform: translate(2px, -1px); }
}

@keyframes staticSweep {
  from { background-position: 0 0, 0 0, 0 0, -180px 0; }
  to { background-position: 0 0, 0 0, 0 0, 100vw 0; }
}

@keyframes tracking {
  0% { transform: translateY(-30%); opacity: 0.2; }
  45% { transform: translateY(8%); opacity: 0.52; }
  100% { transform: translateY(34%); opacity: 0.12; }
}

@keyframes screenFlicker {
  0%, 6%, 7%, 42%, 43%, 44%, 79%, 80%, 100% { opacity: 0; }
  6.4%, 42.5%, 79.4% { opacity: 0.35; }
  6.8%, 43.2%, 80.1% { opacity: 0.12; }
}

@keyframes fileOrbitOne {
  0%, 100% { --orbit-x: 0px; --orbit-y: 0px; }
  25% { --orbit-x: 7px; --orbit-y: -5px; }
  50% { --orbit-x: 2px; --orbit-y: 6px; }
  75% { --orbit-x: -6px; --orbit-y: 2px; }
}

@keyframes fileOrbitTwo {
  0%, 100% { --orbit-x: 0px; --orbit-y: 0px; }
  25% { --orbit-x: -6px; --orbit-y: 6px; }
  50% { --orbit-x: -9px; --orbit-y: -3px; }
  75% { --orbit-x: 4px; --orbit-y: -6px; }
}

@keyframes fileOrbitThree {
  0%, 100% { --orbit-x: 0px; --orbit-y: 0px; }
  25% { --orbit-x: 5px; --orbit-y: 7px; }
  50% { --orbit-x: -4px; --orbit-y: 4px; }
  75% { --orbit-x: -7px; --orbit-y: -5px; }
}

@keyframes fileOrbitFour {
  0%, 100% { --orbit-x: 0px; --orbit-y: 0px; }
  25% { --orbit-x: -5px; --orbit-y: -6px; }
  50% { --orbit-x: 6px; --orbit-y: -4px; }
  75% { --orbit-x: 7px; --orbit-y: 5px; }
}

@keyframes blueFluorescentGlow {
  0% { background-position: 34% 46%; filter: brightness(0.86) saturate(1.12); }
  9% { filter: brightness(1.58) saturate(1.4); }
  13% { filter: brightness(1.04) saturate(1.18); }
  21% { filter: brightness(1.78) saturate(1.55); }
  52% { background-position: 58% 50%; filter: brightness(1.34) saturate(1.34); }
  78% { filter: brightness(1.68) saturate(1.46); }
  100% { background-position: 42% 54%; filter: brightness(0.96) saturate(1.14); }
}

@keyframes blueFluorescentHalo {
  0% { transform: translate(-2%, -50%) scaleX(0.88); opacity: 0.38; }
  11% { opacity: 0.88; }
  16% { opacity: 0.54; }
  26% { opacity: 0.96; }
  58% { transform: translate(2%, -50%) scaleX(1.03); opacity: 0.7; }
  100% { transform: translate(0, -50%) scaleX(0.92); opacity: 0.46; }
}

@keyframes motionPing {
  0% { transform: translateX(0); opacity: 0.4; }
  100% { transform: translateX(5px); opacity: 1; }
}

@keyframes boardSweep {
  0%, 100% {
    transform: translateX(-18%);
    opacity: 0.38;
    --board-pulse-x: 44%;
    --board-pulse-y: 48%;
  }
  48% {
    transform: translateX(18%);
    opacity: 0.7;
    --board-pulse-x: 58%;
    --board-pulse-y: 42%;
  }
  72% {
    transform: translateX(6%);
    opacity: 0.5;
    --board-pulse-x: 52%;
    --board-pulse-y: 62%;
  }
}

@keyframes boardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes centerSignal {
  0%, 100% {
    box-shadow: 0 0 30px rgba(79,199,255,0.22), inset 0 0 22px rgba(79,199,255,0.08);
  }
  50% {
    box-shadow: 0 0 42px rgba(79,199,255,0.38), inset 0 0 28px rgba(79,199,255,0.16);
  }
}

@keyframes noteWobble {
  0%, 100% { translate: 0 0; }
  48% { translate: 0 -5px; }
  72% { translate: 2px -2px; }
}

@keyframes load {
  to { width: 100%; }
}

@keyframes fileDrop {
  from {
    opacity: 0;
    transform: translateY(-70px) rotate(-9deg);
  }
  to {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) rotate(-2deg);
  }
}

@keyframes bootOut {
  to {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thread-board::after,
  .board-file,
  .board-center,
  .board-note {
    animation: none;
  }

  .board-file,
  .board-note {
    translate: 0 0;
  }
}

@media (max-width: 900px) {
  .topbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .board,
  .final-signal {
    grid-template-columns: 1fr;
  }

  .useful-board {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    padding: 16px;
  }

  .board-center,
  .board-note {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    transform: none;
  }

  .board-note.n1,
  .board-note.n2,
  .board-note.n3 {
    transform: none;
  }

  .evidence-stack {
    min-height: 1010px;
  }

  .p1,
  .p2,
  .p3,
  .p4 {
    left: 50%;
    right: auto;
    animation: none;
    --spread-x: -50%;
    --spread-y: 0px;
    --orbit-x: 0px;
    --orbit-y: 0px;
    --paper-rotate: -2deg;
  }

  .p1 { top: 0; }
  .p2 { top: 235px; }
  .p3 { top: 470px; bottom: auto; }
  .p4 { top: 705px; bottom: auto; }

  .evidence-stack:hover .p1,
  .evidence-stack:hover .p2,
  .evidence-stack:hover .p3,
  .evidence-stack:hover .p4 {
    --spread-x: -50%;
    --spread-y: 0px;
    --paper-rotate: -2deg;
  }

  .case-grid,
  .file-wall,
  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .intel-panel {
    grid-template-columns: 1fr;
  }

  .panel-art {
    grid-row: auto;
    width: 100%;
    min-height: 260px;
    margin-bottom: 16px;
  }

  .intel-panel > span,
  .intel-panel h3,
  .intel-panel p,
  .local-media,
  .evidence-links,
  .media-strip {
    grid-column: 1;
  }

  .section-head,
  .source-dossiers,
  .embed-grid {
    grid-template-columns: 1fr;
  }

  .file-popup {
    padding: 20px 14px 14px;
    transform: translateY(16px) rotate(0deg) scale(0.96);
  }

  .case-file-modal.is-visible .file-popup {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  .file-popup-header {
    padding-right: 76px;
  }

  .file-popup-paper p {
    max-width: 100%;
  }

  .capture-media-pair {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: 260px;
  }

  .media-strip {
    grid-template-columns: 1fr;
  }

  .local-media video {
    height: 260px;
  }

  .local-media-pair {
    grid-template-columns: 1fr;
  }

  .mini-file:nth-child(2n),
  .mini-file:nth-child(3n) {
    transform: none;
  }
}

@media (max-width: 520px) {
  .boot {
    padding: 14px;
  }

  .tv-frame {
    min-height: calc(100vh - 28px);
  }

  .boot-copy {
    padding-top: 54px;
  }

  .folder-drop {
    width: min(340px, calc(100vw - 44px));
    min-height: 214px;
    margin-top: 26px;
  }

  .folder,
  .file-button {
    min-height: 178px;
  }

  .file-button .stamp {
    font-size: 34px;
    padding: 10px 12px;
  }

  .signal-meta {
    font-size: 10px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero h2,
  .board h2,
  .final-signal h2 {
    font-size: 44px;
  }

  .paper {
    min-height: 360px;
  }

  .paper-photo {
    height: 210px;
  }
}
