: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);
  --classified-font: "Courier New", "American Typewriter", Rockwell, Georgia, serif;
  --stamp-font: Impact, "Arial Black", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--white);
  font-family: var(--classified-font);
  font-weight: 900;
  letter-spacing: 0.08em;
  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.native-cursor,
body.native-cursor button,
body.native-cursor a,
body.native-cursor video,
body.native-cursor .case-file-modal,
body.native-cursor .case-file-modal * {
  cursor: auto;
}

body.native-cursor a,
body.native-cursor button,
body.native-cursor .file-modal-scrim,
body.native-cursor .file-popup-close {
  cursor: pointer;
}

body.native-cursor .cursor-lens,
body.native-cursor .cursor-handle {
  opacity: 0;
}

video,
video:fullscreen,
video::-webkit-media-controls,
.case-file-modal.is-visible,
.case-file-modal.is-visible *,
.file-popup-close,
.file-modal-scrim {
  cursor: auto;
}

.case-file-modal.is-visible button,
.file-popup-close,
.file-modal-scrim {
  cursor: pointer;
}

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-family: var(--stamp-font);
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.88;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 0 #000;
  overflow-wrap: anywhere;
}

.boot-copy h1 {
  font-family: var(--stamp-font);
  letter-spacing: 0.005em;
  text-shadow:
    0 4px 0 #000,
    0 0 18px rgba(76, 198, 255, 0.26),
    0 0 2px rgba(255, 255, 255, 0.42);
}

.boot-copy h1,
.boot-copy .mono,
.boot-copy .ticker,
.file-button .stamp,
.file-button .sub,
.file-button .tab {
  transition: color 180ms ease, text-shadow 220ms ease, filter 220ms ease, transform 220ms ease;
}

.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-family: var(--stamp-font);
  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: clamp(19px, 2vw, 24px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-family: var(--stamp-font);
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 2px 0 #000;
}

.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;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.7vw, 18px);
}

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);
}

.x-button {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(242,242,236,0.62);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0)),
    rgba(0,0,0,0.72);
  text-decoration: none;
  box-shadow:
    inset 0 0 12px rgba(255,255,255,0.08),
    0 0 0 rgba(79, 199, 255, 0);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.x-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.x-button:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 223, 255, 0.95);
  color: #e7f9ff;
  box-shadow:
    0 0 18px rgba(79, 199, 255, 0.28),
    inset 0 0 16px rgba(79, 199, 255, 0.12);
}

.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,
.theories-copy p,
.theory-card h3,
.theory-card p,
.final-signal p {
  position: relative;
  transition: color 150ms ease, transform 190ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 150ms ease, filter 150ms ease;
}

h1:hover,
.hero h2:hover,
.hero-copy p:hover {
  color: #020407;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: 0 1px 0 rgba(255,255,255,0.32);
  animation: none;
  filter: none;
  transform: translate(-3px, -2px) rotate(-0.35deg);
}

.hero-copy .hero-tagline:hover {
  color: #000 !important;
  -webkit-text-fill-color: #000;
}

h1:hover::after,
.hero h2:hover::after,
.hero-copy p:hover::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: -0.12em;
  bottom: -0.1em;
  z-index: -1;
  background:
    radial-gradient(ellipse at 24% 44%, rgba(123,225,255,0.30), transparent 58%),
    linear-gradient(103deg, transparent 0 14%, rgba(61,177,255,0.18) 34%, rgba(245,253,255,0.23) 48%, rgba(45,138,255,0.12) 62%, transparent 78%),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.78), transparent 0.9px),
    radial-gradient(circle at 78% 72%, rgba(0,0,0,0.08), transparent 0.8px),
    linear-gradient(90deg, transparent 0 20px, rgba(118,29,39,0.28) 21px 22px, transparent 23px),
    repeating-linear-gradient(0deg, rgba(60,105,155,0.18) 0 1px, transparent 1px 13px),
    linear-gradient(135deg, rgba(253,253,246,0.99), rgba(224,228,219,0.98) 52%, rgba(255,255,251,0.99));
  background-size: auto, auto, 19px 19px, 23px 23px, auto, auto, auto;
  border: 1px solid rgba(20,24,26,0.74);
  box-shadow:
    0 0 18px rgba(115, 218, 255, 0.42),
    0 0 44px rgba(22, 93, 255, 0.28),
    -18px -10px 42px rgba(54, 170, 255, 0.16),
    5px 7px 0 rgba(0,0,0,0.48),
    inset 0 0 24px rgba(255,255,255,0.58),
    inset 18px 0 42px rgba(87,198,255,0.11),
    inset 0 -10px 22px rgba(0,0,0,0.055);
  transform-origin: left;
  pointer-events: none;
  animation: notebookPaperIn 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

h1:hover::after,
.hero h2:hover::after {
  left: -18px;
  right: -18px;
  top: -0.22em;
  bottom: -0.2em;
}

.hero-copy p:hover::after {
  left: -16px;
  right: -16px;
  top: -0.32em;
  bottom: -0.3em;
}

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,
.theories:hover h2,
.theories:hover p,
.final-signal:hover h2,
.final-signal:hover p {
  color: #080808;
  text-shadow: 0 1px 0 rgba(255,255,255,0.28);
  transition: color 120ms ease, text-shadow 120ms ease, background 120ms ease;
  transform: translate(-2px, -1px) rotate(-0.2deg);
}

nav a:hover,
.brand:hover span:last-child {
  color: #080808;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,0.72), transparent 0.8px),
    linear-gradient(90deg, transparent 0 14px, rgba(118,29,39,0.24) 15px 16px, transparent 17px),
    repeating-linear-gradient(0deg, rgba(60,105,155,0.17) 0 1px, transparent 1px 10px),
    linear-gradient(135deg, rgba(253,253,246,0.98), rgba(226,231,222,0.96));
  background-size: 17px 17px, auto, auto, auto;
  box-shadow:
    0 0 12px rgba(87, 198, 255, 0.28),
    0 0 26px rgba(22, 93, 255, 0.18),
    3px 4px 0 rgba(0,0,0,0.5),
    inset 0 0 12px rgba(255,255,255,0.42);
  transform: translate(-2px, -1px) rotate(-0.2deg);
}

nav a::after,
.meme-link::after,
.source-link::after,
.media-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--paper);
  transition: right 220ms steps(4, end);
}

nav a:hover::after,
.meme-link:hover::after,
.source-link:hover::after,
.media-button:hover::after {
  right: 0;
}

h2:hover,
h3:hover,
.section-head h2:hover,
.case-card:hover h3,
.intel-panel:hover h3,
.embed-card:hover h3,
.theory-card:hover h3 {
  animation: none;
}

.case-card:hover h3::before,
.intel-panel:hover h3::before,
.embed-card:hover h3::before,
.theory-card:hover h3::before,
.section-head h2:hover::before {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: -0.12em;
  bottom: -0.1em;
  z-index: -1;
  background:
    radial-gradient(ellipse at 24% 44%, rgba(123,225,255,0.30), transparent 58%),
    linear-gradient(103deg, transparent 0 14%, rgba(61,177,255,0.18) 34%, rgba(245,253,255,0.23) 48%, rgba(45,138,255,0.12) 62%, transparent 78%),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.78), transparent 0.9px),
    radial-gradient(circle at 78% 72%, rgba(0,0,0,0.08), transparent 0.8px),
    linear-gradient(90deg, transparent 0 19px, rgba(118,29,39,0.28) 20px 21px, transparent 22px),
    repeating-linear-gradient(0deg, rgba(60,105,155,0.18) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, rgba(253,253,246,0.99), rgba(224,228,219,0.98) 52%, rgba(255,255,251,0.99));
  background-size: auto, auto, 19px 19px, 23px 23px, auto, auto, auto;
  border: 1px solid rgba(20,24,26,0.74);
  box-shadow:
    0 0 18px rgba(115, 218, 255, 0.42),
    0 0 44px rgba(22, 93, 255, 0.28),
    -18px -10px 42px rgba(54, 170, 255, 0.16),
    5px 7px 0 rgba(0,0,0,0.48),
    inset 0 0 24px rgba(255,255,255,0.58),
    inset 18px 0 42px rgba(87,198,255,0.11),
    inset 0 -10px 22px rgba(0,0,0,0.055);
  transform: translateY(6px) rotate(-1deg) scaleX(0);
  transform-origin: left;
  pointer-events: none;
  mix-blend-mode: normal;
  animation: notebookPaperIn 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section-head h2,
.case-card h3,
.intel-panel h3,
.embed-card h3,
.theory-card h3,
h1,
.hero h2,
.hero-copy p {
  isolation: isolate;
}

.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 h2 {
  font-size: clamp(34px, 6.25vw, 72px);
  line-height: 0.96;
  max-width: 760px;
}

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

.hero p:not(.mono) {
  font-size: clamp(16px, 1.65vw, 20px);
  max-width: 680px;
}

.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-card.reveal-float {
  opacity: 0;
  transform: translate3d(var(--reveal-x, -84px), 34px, 0) rotate(var(--reveal-rotate, -2.5deg));
  filter: blur(6px) brightness(0.72);
  transition:
    opacity 780ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.case-card.reveal-float:nth-child(even) {
  --reveal-x: 84px;
  --reveal-rotate: 2.5deg;
}

.case-card.reveal-float:nth-child(2) {
  --reveal-delay: 110ms;
}

.case-card.reveal-float:nth-child(3) {
  --reveal-delay: 220ms;
}

.case-card.reveal-float:nth-child(4) {
  --reveal-delay: 330ms;
}

.case-card.reveal-float.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg);
  filter: blur(0) brightness(1);
}

.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-rap h3 {
  font-size: clamp(24px, 2.3vw, 32px);
}

.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);
}

.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;
}

.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: var(--paper);
  text-shadow: none;
}

.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: var(--paper);
  text-shadow: none;
}

.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: none;
}

.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); }

.theories {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

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

.theories-copy h2 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.88;
  text-transform: uppercase;
}

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

.theories-copy h2:hover,
.theories-copy p:not(.mono):hover {
  color: #f4fbff;
  text-shadow:
    0 0 10px rgba(130,223,255,0.36),
    0 0 26px rgba(79,199,255,0.16);
  filter: brightness(1.08);
}

.theory-console {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(130, 223, 255, 0.34);
  background:
    radial-gradient(circle at 20% 0%, rgba(79,199,255,0.13), transparent 27%),
    radial-gradient(circle at 88% 42%, rgba(255,255,255,0.055), transparent 31%),
    linear-gradient(135deg, rgba(255,255,255,0.045), transparent 32%),
    rgba(0,0,0,0.84);
  padding: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 34px rgba(0,0,0,0.9), 0 0 34px rgba(79,199,255,0.1);
}

.theory-console::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(130, 223, 255, 0.2);
  pointer-events: none;
}

.theory-console::after {
  content: "";
  position: absolute;
  inset: -24%;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(130,223,255,0.16) 48%, rgba(255,255,255,0.22) 50%, rgba(130,223,255,0.12) 54%, transparent 62%),
    radial-gradient(circle at 52% 48%, rgba(79,199,255,0.14), transparent 24%);
  transform: translateX(-32%);
  opacity: 0.58;
  mix-blend-mode: screen;
  animation: theorySweep 8.5s ease-in-out infinite;
}

.theory-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(242,242,236,0.16);
  background: rgba(0,0,0,0.66);
  box-shadow: inset 0 0 24px rgba(79,199,255,0.06);
}

.field-row {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field-row label {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #9fdfff;
  text-transform: uppercase;
}

.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  border: 1px solid rgba(242,242,236,0.28);
  background: rgba(0,0,0,0.76);
  color: var(--white);
  padding: 11px 12px;
  font: 900 15px var(--classified-font);
  text-transform: uppercase;
  outline: none;
  cursor: text;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-row select,
.theory-submit {
  cursor: pointer;
}

.field-row textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.25;
}

.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus {
  border-color: rgba(130,223,255,0.9);
  box-shadow: 0 0 22px rgba(79,199,255,0.22), inset 0 0 18px rgba(79,199,255,0.08);
  background: rgba(0,0,0,0.92);
}

.theory-submit {
  grid-column: 1 / -1;
  min-height: 46px;
  border: 1px solid rgba(130,223,255,0.62);
  color: #e8fbff;
  background:
    linear-gradient(90deg, rgba(79,199,255,0.14), transparent 50%, rgba(79,199,255,0.1)),
    rgba(0,0,0,0.78);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.theory-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: translateX(-110%);
  transition: transform 420ms ease;
}

.theory-submit span {
  position: relative;
  z-index: 1;
}

.theory-submit:hover {
  transform: translateY(-2px);
  border-color: rgba(202,247,255,0.96);
  box-shadow: 0 0 28px rgba(79,199,255,0.25), inset 0 0 18px rgba(79,199,255,0.1);
}

.theory-submit:hover::before {
  transform: translateX(110%);
}

.theory-wall {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.theory-card {
  min-height: 210px;
  position: relative;
  border: 1px solid rgba(242,242,236,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 34%),
    rgba(0,0,0,0.78);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.86), 0 0 24px rgba(0,0,0,0.5);
  animation: theoryFloat 7.4s ease-in-out infinite;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.theory-card:nth-child(2n) {
  animation-delay: -2s;
}

.theory-card:nth-child(3n) {
  animation-delay: -4s;
}

.theory-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  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;
}

.theory-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130,223,255,0.78), transparent);
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.theory-card:hover {
  transform: translateY(-7px) rotate(-0.7deg);
  border-color: rgba(130,223,255,0.82);
  background:
    linear-gradient(90deg, transparent 0 38%, rgba(255,255,255,0.08) 45%, transparent 54%),
    linear-gradient(180deg, rgba(79,199,255,0.08), transparent 38%),
    rgba(0,0,0,0.86);
  box-shadow: inset 0 0 24px rgba(79,199,255,0.12), 0 0 30px rgba(79,199,255,0.22);
}

.theory-card:hover::before,
.theory-card:hover::after {
  opacity: 1;
  transform: scale(1) translateX(0);
}

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

.theory-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.92;
  text-transform: uppercase;
}

.theory-card p {
  margin: 0;
  color: #d2d2cb;
  line-height: 1.24;
}

.theory-card strong {
  margin-top: auto;
  width: fit-content;
  border: 1px solid rgba(130,223,255,0.38);
  padding: 6px 8px;
  color: #e6faff;
  text-transform: uppercase;
  font-size: 11px;
  box-shadow: 0 0 14px rgba(79,199,255,0.13);
}

.theory-card.is-new {
  animation: theoryCardSpawn 700ms cubic-bezier(0.16, 1, 0.3, 1) both, theoryFloat 7.4s ease-in-out 700ms infinite;
}

.theories:hover h2,
.theories:hover p,
.theory-card:hover h3,
.theory-card:hover p,
.theory-card:hover span,
.theory-card:hover strong,
.final-signal:hover h2,
.final-signal:hover p {
  color: #f4fbff;
  -webkit-text-fill-color: currentColor;
  text-shadow:
    0 0 10px rgba(130,223,255,0.28),
    0 0 22px rgba(79,199,255,0.12);
  transform: none;
}

.theory-card:hover h3::before {
  content: none;
}

.theory-card:hover h3 {
  color: #fff;
  text-shadow:
    1px 0 0 rgba(255, 42, 42, 0.3),
    -1px 0 0 rgba(79, 199, 255, 0.34),
    0 0 18px rgba(130,223,255,0.24);
}

.theory-card:hover p {
  color: #dce8e8;
}

.theory-card:hover span,
.theory-card:hover strong {
  color: #9fdfff;
}

.theories-copy h2,
.final-signal h2 {
  position: relative;
}

.theories-copy h2::after,
.final-signal h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 3px;
  background:
    linear-gradient(90deg, rgba(130,223,255,0.95), rgba(255,255,255,0.8), transparent);
  box-shadow: 0 0 18px rgba(79,199,255,0.32);
  transition: right 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.theories-copy:hover h2::after,
.final-signal:hover h2::after {
  right: 18%;
}

.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 {
  position: relative;
  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%);
  overflow: hidden;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.about-copy p::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(130,223,255,0.14), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 5px);
  opacity: 0;
  transform: translateX(-38%);
  transition: opacity 180ms ease, transform 520ms ease;
  mix-blend-mode: screen;
}

.about-copy p:hover {
  color: #f4fbff;
  border-color: rgba(130,223,255,0.86);
  background:
    linear-gradient(90deg, rgba(79,199,255,0.13), rgba(0,0,0,0.4) 42%, transparent),
    rgba(0,0,0,0.18);
  box-shadow:
    inset 0 0 18px rgba(79,199,255,0.08),
    -8px 0 22px rgba(79,199,255,0.1);
  transform: translateX(4px);
}

.about-copy p:hover::before {
  opacity: 1;
  transform: translateX(38%);
}

.site-footer {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(130, 223, 255, 0.44);
  background:
    radial-gradient(circle at 12% 50%, rgba(79,199,255,0.16), transparent 26%),
    linear-gradient(90deg, rgba(79,199,255,0.12), transparent 36%, rgba(79,199,255,0.075)),
    rgba(0,0,0,0.98);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 -22px 42px rgba(0,0,0,0.72),
    0 -1px 28px rgba(79,199,255,0.18);
  position: relative;
  overflow: hidden;
  transform-origin: bottom center;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(130, 223, 255, 0.28) 46%, rgba(255,255,255,0.32) 50%, rgba(130, 223, 255, 0.22) 54%, transparent 84%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 5px);
  opacity: 0;
  transform: translateX(-115%);
  mix-blend-mode: screen;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(130, 223, 255, 0.95), transparent);
  opacity: 0.55;
  box-shadow: 0 0 24px rgba(79,199,255,0.42);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.footer-seal {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 18px rgba(0,0,0,0.8);
}

.footer-seal img {
  width: 118%;
  height: 118%;
  object-fit: cover;
}

.footer-brand strong,
.footer-brand span {
  display: block;
  text-transform: uppercase;
}

.footer-brand strong {
  color: var(--white);
  font-size: clamp(18px, 2.1vw, 28px);
  letter-spacing: 0.04em;
}

.footer-brand span {
  margin-top: 3px;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-x-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(242,242,236,0.62);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0)),
    rgba(0,0,0,0.72);
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  position: relative;
  z-index: 1;
}

.footer-x-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-x-button:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 223, 255, 0.95);
  color: #e7f9ff;
  box-shadow:
    0 0 18px rgba(79, 199, 255, 0.28),
    inset 0 0 16px rgba(79, 199, 255, 0.12);
}

.reveal-dossiers .section-head {
  opacity: 0;
  transform: translate3d(-72px, 22px, 0);
  filter: blur(5px);
  transition: opacity 780ms cubic-bezier(0.16, 1, 0.3, 1), transform 860ms cubic-bezier(0.16, 1, 0.3, 1), filter 860ms ease;
}

.reveal-dossiers .intel-panel {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translate3d(0, 42px, 0) scale(0.975);
  filter: brightness(0.68);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease,
    background 360ms ease;
}

.reveal-dossiers .intel-panel:nth-child(2),
.reveal-dossiers .intel-panel:nth-child(4) {
  clip-path: inset(0 0 0 100%);
}

.reveal-dossiers .intel-panel:nth-child(2) { transition-delay: 120ms; }
.reveal-dossiers .intel-panel:nth-child(3) { transition-delay: 220ms; }
.reveal-dossiers .intel-panel:nth-child(4) { transition-delay: 340ms; }

.reveal-dossiers.is-visible .section-head,
.reveal-dossiers.is-visible .intel-panel {
  opacity: 1;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}

.reveal-intercepts .section-head {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  filter: blur(4px);
  transition: opacity 720ms ease, transform 820ms cubic-bezier(0.16, 1, 0.3, 1), filter 820ms ease;
}

.reveal-intercepts .source-about-card {
  opacity: 0;
  transform: translate3d(0, -38px, 0) rotate(-4deg);
  filter: blur(3px) brightness(0.74);
  transition:
    opacity 650ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 760ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.reveal-intercepts .source-about-card:nth-child(2) { transition-delay: 90ms; transform: translate3d(0, -38px, 0) rotate(3deg); }
.reveal-intercepts .source-about-card:nth-child(3) { transition-delay: 180ms; }
.reveal-intercepts .source-about-card:nth-child(4) { transition-delay: 270ms; transform: translate3d(0, -38px, 0) rotate(3deg); }

.reveal-intercepts .capture-card {
  opacity: 0;
  transform: translate3d(0, 54px, 0);
  filter: grayscale(1) brightness(0.58);
  transition:
    opacity 780ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.reveal-intercepts .capture-card:nth-child(2) { transition-delay: 110ms; }
.reveal-intercepts .capture-card:nth-child(3) { transition-delay: 220ms; }
.reveal-intercepts .capture-card:nth-child(4) { transition-delay: 330ms; }

.reveal-intercepts.is-visible .section-head,
.reveal-intercepts.is-visible .source-about-card,
.reveal-intercepts.is-visible .capture-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg);
  filter: none;
}

.reveal-board .board-copy {
  opacity: 0;
  transform: translate3d(-64px, 0, 0);
  filter: blur(4px);
  transition: opacity 760ms ease, transform 860ms cubic-bezier(0.16, 1, 0.3, 1), filter 860ms ease;
}

.reveal-board .thread-board {
  opacity: 0;
  transform: perspective(900px) rotateX(8deg) translate3d(0, 52px, 0) scale(0.965);
  filter: brightness(0.62) contrast(1.1);
  transition:
    opacity 820ms ease,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 980ms ease,
    box-shadow 220ms ease;
}

.reveal-board .thread-board::before,
.reveal-board .thread-board::after,
.reveal-board .board-file,
.reveal-board .board-center,
.reveal-board .board-note {
  opacity: 0;
  transition: opacity 780ms ease, filter 780ms ease;
}

.reveal-board.is-visible .board-copy,
.reveal-board.is-visible .thread-board {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-board.is-visible .thread-board::before,
.reveal-board.is-visible .thread-board::after,
.reveal-board.is-visible .board-file,
.reveal-board.is-visible .board-center,
.reveal-board.is-visible .board-note {
  opacity: 1;
}

.reveal-theories .theories-copy {
  opacity: 0;
  transform: translate3d(-64px, 0, 0);
  filter: blur(4px);
  transition: opacity 760ms ease, transform 860ms cubic-bezier(0.16, 1, 0.3, 1), filter 860ms ease;
}

.reveal-theories .theory-console {
  opacity: 0;
  transform: perspective(900px) rotateX(7deg) translate3d(0, 56px, 0) scale(0.965);
  filter: brightness(0.62) contrast(1.1);
  transition:
    opacity 840ms ease,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 980ms ease,
    box-shadow 220ms ease;
}

.reveal-theories .theory-form,
.reveal-theories .theory-card {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(3px);
  transition: opacity 700ms ease, transform 820ms cubic-bezier(0.16, 1, 0.3, 1), filter 820ms ease;
}

.reveal-theories .theory-card:nth-child(1) { transition-delay: 180ms; }
.reveal-theories .theory-card:nth-child(2) { transition-delay: 280ms; }
.reveal-theories .theory-card:nth-child(3) { transition-delay: 380ms; }

.reveal-theories.is-visible .theories-copy,
.reveal-theories.is-visible .theory-console,
.reveal-theories.is-visible .theory-form,
.reveal-theories.is-visible .theory-card {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-about > div:first-child {
  opacity: 0;
  transform: translate3d(-54px, 0, 0);
  filter: blur(4px);
  transition: opacity 720ms ease, transform 820ms cubic-bezier(0.16, 1, 0.3, 1), filter 820ms ease;
}

.reveal-about .about-copy p {
  opacity: 0;
  transform: translate3d(64px, 0, 0);
  filter: blur(3px);
  transition: opacity 700ms ease, transform 820ms cubic-bezier(0.16, 1, 0.3, 1), filter 820ms ease, background 180ms ease;
}

.reveal-about .about-copy p:nth-child(2) { transition-delay: 90ms; }
.reveal-about .about-copy p:nth-child(3) { transition-delay: 180ms; }
.reveal-about .about-copy p:nth-child(4) { transition-delay: 270ms; }

.reveal-about.is-visible > div:first-child,
.reveal-about.is-visible .about-copy p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

.reveal-footer {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: perspective(900px) rotateX(10deg) translate3d(0, 72px, 0) scaleY(0.88);
  filter: brightness(0.42) blur(3px);
  transition:
    opacity 820ms ease,
    clip-path 980ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1050ms ease;
}

.reveal-footer .footer-brand {
  opacity: 0;
  transform: translate3d(-38px, 0, 0);
  filter: blur(3px);
  transition: opacity 700ms ease 360ms, transform 820ms cubic-bezier(0.16, 1, 0.3, 1) 360ms, filter 820ms ease 360ms;
}

.reveal-footer .footer-x-button {
  opacity: 0;
  transform: translate3d(38px, 0, 0);
  filter: blur(3px);
  transition:
    opacity 700ms ease 480ms,
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1) 480ms,
    filter 820ms ease 480ms,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.reveal-footer.is-visible {
  opacity: 1;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0);
  filter: none;
}

.reveal-footer.is-visible::before {
  animation: footerScanIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) 140ms both;
}

.reveal-footer.is-visible .footer-brand,
.reveal-footer.is-visible .footer-x-button {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

@keyframes footerScanIn {
  0% {
    opacity: 0;
    transform: translateX(-115%);
  }
  18% {
    opacity: 0.85;
  }
  72% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translateX(115%);
  }
}

@keyframes theorySweep {
  0%, 100% {
    transform: translateX(-32%);
    opacity: 0.42;
  }
  48% {
    transform: translateX(28%);
    opacity: 0.72;
  }
  70% {
    transform: translateX(8%);
    opacity: 0.52;
  }
}

@keyframes theoryFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@keyframes theoryCardSpawn {
  from {
    opacity: 0;
    transform: translate3d(0, -34px, 0) rotate(-2deg) scale(0.94);
    filter: blur(6px) brightness(1.4);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    filter: none;
  }
}

@keyframes classifiedMisprint {
  0%, 100% {
    transform: translateX(0);
    opacity: 0;
  }
  22% {
    transform: translateX(2px);
    opacity: 0.52;
  }
  46% {
    transform: translateX(-2px);
    opacity: 0.34;
  }
  68% {
    transform: translateX(1px);
    opacity: 0.5;
  }
}

@keyframes classifiedTypeJitter {
  0%, 100% { transform: translate(0, 0); }
  24% { transform: translate(1px, -1px); }
  48% { transform: translate(-1px, 1px); }
  72% { transform: translate(1px, 0); }
}

@keyframes redactionPass {
  0% { transform: translateY(-50%) scaleX(0); opacity: 0; }
  32% { opacity: 0.78; }
  68% { transform: translateY(-50%) scaleX(1); opacity: 0.78; }
  100% { transform: translateY(-50%) scaleX(0); transform-origin: right; opacity: 0; }
}

@keyframes notebookPaperIn {
  0% {
    opacity: 0;
    transform: translate(-18px, 10px) rotate(-1.8deg) scaleX(0.72) scaleY(0.92);
    filter: blur(3px) brightness(1.12);
  }
  46% {
    opacity: 0.96;
    transform: translate(-4px, 3px) rotate(-1.15deg) scaleX(1.015) scaleY(1.02);
    filter: blur(0.7px) brightness(1.04);
  }
  76% {
    opacity: 1;
    transform: translate(1px, 0) rotate(-0.9deg) scaleX(1.006) scaleY(1);
    filter: blur(0) brightness(1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(-0.9deg) scaleX(1) scaleY(1);
    filter: blur(0) brightness(1);
  }
}

@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 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;
  }

  .case-card.reveal-float {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .reveal-dossiers .section-head,
  .reveal-dossiers .intel-panel,
  .reveal-intercepts .section-head,
  .reveal-intercepts .source-about-card,
  .reveal-intercepts .capture-card,
  .reveal-board .board-copy,
  .reveal-board .thread-board,
  .reveal-board .thread-board::before,
  .reveal-board .thread-board::after,
  .reveal-board .board-file,
  .reveal-board .board-center,
  .reveal-board .board-note,
  .reveal-theories .theories-copy,
  .reveal-theories .theory-console,
  .reveal-theories .theory-form,
  .reveal-theories .theory-card,
  .reveal-about > div:first-child,
  .reveal-about .about-copy p,
  .reveal-footer,
  .reveal-footer .footer-brand,
  .reveal-footer .footer-x-button {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }

  .reveal-footer::before {
    animation: none;
  }

  .theory-console::after,
  .theory-card,
  .theory-card.is-new {
    animation: none;
  }

  h1:hover::after,
  .hero h2:hover::after,
  .hero-copy p:hover::after,
  h2:hover,
  h3:hover,
  .case-card:hover h3,
  .intel-panel:hover h3,
  .embed-card:hover h3,
  .theory-card:hover h3 {
    animation: none;
  }
}

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

  .topbar-actions {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

  .theory-wall {
    grid-template-columns: 1fr;
  }

  .theory-form {
    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;
  }

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

@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;
  }

  .topbar-actions nav {
    order: 1;
  }

  .topbar-actions .x-button,
  .topbar-actions .sound-toggle {
    order: 2;
  }

  .x-button {
    width: 42px;
    height: 38px;
  }

  .footer-x-button {
    width: 100%;
  }

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

  .paper {
    min-height: 360px;
  }

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