/* The Evidence Locker: one design system for every page.
   Art direction: "Studio Continuity Department, after hours".
   Manila folders, carbon ink, red pencil for marks, blue pencil for notes.
   Light (archive paper) by default; dark is the same room with the lamps off. */

/* ------------------------------------------------------------ tokens */
:root {
  --paper: #f6f1e4;
  --manila: #e9dfc7;
  --manila-2: #ddd0b0;
  --card: #fffdf6;
  --ink: #1b1a17;
  --ink-2: #47423a;
  --ink-3: #625b4c;
  --rule: rgba(27, 26, 23, .16);
  --rule-2: rgba(27, 26, 23, .32);
  --red: #b3261e;
  --red-ink: #b3261e;
  --blue: #2c5d8a;
  --on-ink: #f6f1e4;
  --shadow: 0 1px 0 rgba(60, 45, 15, .10), 0 10px 24px -16px rgba(60, 45, 15, .55);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .25 0 0 0 0 .12 .16 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --stamp: "Oswald", "Arial Narrow", Impact, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 68ch;

  /* names older stylesheets and el-game.css read */
  --bg: var(--paper); --text: var(--ink); --accent: var(--red);
  --font-heading: var(--serif); --font-body: var(--sans);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16130f;
    --manila: #221d16;
    --manila-2: #2e271d;
    --card: #1d1914;
    --ink: #ece4d2;
    --ink-2: #c9bea7;
    --ink-3: #a3987f;
    --rule: rgba(236, 228, 210, .14);
    --rule-2: rgba(236, 228, 210, .30);
    --red: #e2665a;
    --red-ink: #e2665a;
    --blue: #86b0d8;
    --on-ink: #16130f;
    --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 14px 28px -18px rgba(0, 0, 0, .9);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9 0 0 0 0 .85 0 0 0 0 .7 .07 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red-ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .9rem 1rem; font: 500 .85rem var(--mono);
}
.skip:focus { top: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* small type roles */
.kicker, .label {
  font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}

/* ------------------------------------------------------------ masthead */
.mast { border-bottom: 1px solid var(--rule-2); }
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; flex-wrap: wrap; padding-block: .55rem; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; padding-block: .35rem; min-height: 44px; justify-content: center; }
.wm-name { font: 600 1.28rem/1 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.wm-tag { font: 500 .62rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); margin-top: .35rem; }
.wordmark:hover .wm-name { color: var(--red-ink); }
.mast-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.1rem; margin-inline: -.3rem; }
.mast-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: .3rem;
  font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
}
.mast-nav a:hover { color: var(--red-ink); }
.mast-nav .nav-support { color: var(--red-ink); }
.mast-nav .nav-support::before { content: ""; width: .5rem; height: .5rem; border: 1.5px solid currentColor; border-radius: 50%; margin-right: .45rem; }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--rule-2); margin-top: clamp(3rem, 8vw, 6rem); padding-block: 2.2rem 2.6rem; color: var(--ink-2); font-size: .9rem; }
.foot-in { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.foot-mark { font: 600 1.1rem var(--serif); color: var(--ink); }
.foot-line { margin-top: .2rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 1.2rem; margin-inline: -.2rem; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .2rem; font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.foot-nav a:hover { color: var(--red-ink); }
.foot-fine, .affiliate-note { font: 400 .74rem/1.5 var(--mono); color: var(--ink-3); }
@media (min-width: 760px) {
  .foot-in { grid-template-columns: 1fr auto; align-items: start; }
  .foot-nav { justify-content: flex-end; }
}

/* ------------------------------------------------------------ section heads */
main { counter-reset: sec; display: block; }
.sec-h, .archive-head h2, .incoming > h2, .shelves > h2 {
  font: 600 clamp(1.7rem, 3.4vw, 2.4rem)/1.05 var(--serif); letter-spacing: -.02em;
  border-top: 2px solid var(--ink); padding-top: .7rem; margin: 0;
}
.archive-head h2::before, .incoming > h2::before, .shelves > h2::before {
  counter-increment: sec; content: "\00a7\00a0" counter(sec, decimal-leading-zero);
  display: block; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; color: var(--red-ink); margin-bottom: .55rem;
}
.sec-note, .incoming-note { color: var(--ink-2); max-width: 60ch; margin-top: .55rem; font-size: .98rem; }

/* ------------------------------------------------------------ buttons + fields */
.btn, .btn-watch, .capture button, .el-capture button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .6rem 1.15rem; border: 1.5px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none;
  font: 500 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover, .btn-watch:hover, .capture button:hover, .el-capture button:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn:disabled, .capture button:disabled, .el-capture button:disabled { opacity: .6; cursor: default; }
.field, .capture input[type=email], .el-capture input[type=email] {
  flex: 1 1 13rem; min-width: 0; min-height: 46px; padding: .55rem .2rem;
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  font: 400 1rem var(--mono); color: var(--ink);
}
.field::placeholder, .capture input::placeholder, .el-capture input::placeholder { color: var(--ink-3); opacity: 1; }
.capture input[type=email]:focus-visible, .el-capture input[type=email]:focus-visible { outline: none; border-bottom-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.hp, .hpx { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* the memo: email capture as an interoffice note */
.memo {
  background: var(--card); box-shadow: var(--shadow); padding: 1.3rem 1.3rem 1.4rem;
  border-top: 3px solid var(--red); position: relative;
}
.memo-head { display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; font: 500 .72rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: .8rem; border-bottom: 1px solid var(--rule); margin-bottom: .9rem; }
.memo-head b { font-weight: 500; color: var(--ink); }
.memo h2, .memo .capture-pitch strong { font: 600 1.3rem/1.2 var(--serif); color: var(--ink); display: block; }
.memo p, .capture-pitch { color: var(--ink-2); font-size: .96rem; }
.capture-row, .el-capture .row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; align-items: end; }
.capture-done, .el-capture .done { color: var(--blue); font: 500 .9rem var(--mono); margin-top: .8rem; }

/* ------------------------------------------------------------ homepage hero */
.hero { padding-block: clamp(2.2rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem); display: grid; gap: 2.4rem; align-items: end; }
.hero-copy { max-width: 46rem; }
.hero h1 { font-size: clamp(2.5rem, 7.2vw, 5.1rem); line-height: .98; letter-spacing: -.035em; font-weight: 600; margin-top: .9rem; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--red-ink); }
.hero-keyline { font: 400 italic clamp(1.1rem, 2vw, 1.3rem)/1.4 var(--serif); color: var(--ink-2); margin-top: 1.2rem; max-width: 40ch; }
.hero .sub { margin-top: 1.1rem; max-width: 52ch; color: var(--ink-2); }
.hero-stats { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hero-stats b { color: var(--ink); font-weight: 500; }
@media (min-width: 940px) { .hero { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 4rem; } }

/* ------------------------------------------------------------ homepage sections */
.incoming, .archive, .shelves { padding-block: clamp(1.8rem, 4vw, 3rem); }
.archive-head { display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0 .2rem; border-bottom: 1px solid var(--rule); }
.chip {
  min-height: 44px; padding: .4rem .7rem; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); cursor: pointer;
}
.chip:hover { color: var(--ink); }
.chip.active { color: var(--ink); border-bottom-color: var(--red); }

/* case folders */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 2.6rem 1.5rem; padding-top: 1.4rem; }
.incoming .grid { margin-top: 1.4rem; }
.card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--manila); border-radius: 0 4px 4px 4px; padding: .6rem .6rem 1rem;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card::before { /* folder tab */
  content: ""; position: absolute; left: 0; bottom: 100%; width: 9.2rem; height: 1.45rem;
  background: var(--manila); border-radius: 5px 9px 0 0;
}
.card:nth-child(2n)::before { left: auto; right: 0; border-radius: 9px 5px 0 0; }
.card:hover { transform: translateY(-3px); color: var(--ink); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--manila-2); outline: 1px solid var(--rule); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: .8rem .35rem 0; }
.case-no {
  position: absolute; top: -1.45rem; left: .7rem; z-index: 1;
  font: 500 .66rem/1.45rem var(--mono); letter-spacing: .14em; color: var(--ink-2);
}
.card:nth-child(2n) .case-no { left: auto; right: .7rem; }
.card-body h3 { font: 600 1.14rem/1.24 var(--serif); letter-spacing: -.01em; }
.card-meta { display: flex; gap: .9rem; margin-top: .6rem; font: 400 .72rem var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.card-meta:empty { display: none; }
.stamp {
  align-self: flex-start; margin-top: auto; transform: rotate(-2deg);
  font: 600 .72rem/1 var(--stamp); letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px solid currentColor; padding: .3rem .45rem .26rem; color: var(--ink-3);
}
.stamp-new { color: var(--red-ink); }
.stamp-open { color: var(--blue); }
.card-body .stamp { margin-top: 1rem; }

/* studio shelves: franchise spines */
.shelves > h2 { margin-bottom: .3rem; }
.shelf { display: grid; gap: .8rem 2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--rule); }
.shelf:last-child { border-bottom: 0; }
.shelf h3 { font: 500 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.shelf h3 a { text-decoration: none; color: var(--ink); display: inline-flex; min-height: 44px; align-items: center; }
.shelf h3 a::after { content: " \2192"; color: var(--red-ink); margin-left: .35rem; }
.shelf h3 a:hover { color: var(--red-ink); }
.shelf-films {
  list-style: none; display: flex; align-items: flex-end; gap: 5px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: .3rem 2px 0; border-bottom: 7px solid var(--ink); scrollbar-width: thin;
}
.shelf-films li {
  position: relative; flex: 0 0 auto; writing-mode: vertical-rl; display: flex; justify-content: space-between; align-items: center; gap: .8rem;
  min-width: 46px; height: 190px; padding: .8rem .45rem; background: var(--ink); color: var(--paper);
  border-radius: 2px 2px 0 0; transition: transform .2s ease;
}
.shelf-films li:nth-child(5n+2) { background: var(--red); color: var(--paper); height: 206px; }
.shelf-films li:nth-child(5n+3) { background: var(--manila-2); color: var(--ink); height: 178px; }
.shelf-films li:nth-child(5n+4) { background: var(--blue); color: var(--paper); height: 198px; }
.shelf-films li:nth-child(5n+5) { background: var(--card); color: var(--ink); height: 184px; box-shadow: inset 0 0 0 1px var(--rule-2); }
.shelf-films li:hover { transform: translateY(-6px); }
.shelf-films li:nth-child(n+13) { display: none; }
.shelf-films a { font: 600 .92rem/1.15 var(--serif); text-decoration: none; color: inherit; max-height: 100%; }
.shelf-films a::after { content: ""; position: absolute; inset: 0; }
.shelf-films a:focus-visible { outline: none; }
.shelf-films li:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.shelf-count { font: 500 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.shelf-all { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.shelf-all a { display: inline-flex; min-height: 44px; align-items: center; color: var(--red-ink); }
@media (min-width: 900px) {
  .shelf { grid-template-columns: 13rem minmax(0, 1fr); align-items: end; }
  .shelf-all { grid-column: 1; grid-row: 2; }
  .shelf-films { grid-column: 2; grid-row: 1 / span 2; }
}

/* ------------------------------------------------------------ breadcrumbs */
.breadcrumbs ol, .case-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 .5rem; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.breadcrumbs li, .case-crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs li + li::before, .case-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumbs a, .case-crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs a:hover, .case-crumbs a:hover { color: var(--red-ink); }

/* ------------------------------------------------------------ hubs */
.hub { padding-block: 1.6rem 1rem; }
.hub-head { padding-block: 1.6rem 1.4rem; border-bottom: 2px solid var(--ink); }
.hub-head h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.hub-intro { color: var(--ink-2); max-width: var(--measure); margin-top: 1rem; }
.hub-intro:first-of-type { font: 400 italic 1.2rem/1.45 var(--serif); color: var(--ink); }
.hub-list { margin-block: 1rem 3rem; }
.hub-cases { list-style: none; counter-reset: hub; }
.hub-case { display: flex; flex-direction: column; gap: .35rem; padding-block: 1.4rem; border-bottom: 1px solid var(--rule); }
.hub-case-meta { order: -1; font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); }
.hub-case-title { font: 600 clamp(1.25rem, 2.6vw, 1.6rem)/1.2 var(--serif); letter-spacing: -.015em; text-decoration: none; max-width: 40ch; }
.hub-case-title:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; color: var(--ink); }
.hub-case-verdict { color: var(--ink-2); max-width: var(--measure); }
@media (min-width: 900px) {
  .hub-case { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 2rem; }
  .hub-case-meta { grid-column: 1; grid-row: 1 / span 2; padding-top: .45rem; line-height: 1.6; }
  .hub-case-title, .hub-case-verdict { grid-column: 2; }
}
.hub-films, .hub-siblings { margin-top: 2.4rem; }
.hub-films h2, .hub-siblings h2 { font: 600 1.5rem var(--serif); border-top: 2px solid var(--ink); padding-top: .7rem; }
.hub-films ul, .hub-siblings ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0 1.5rem; margin-top: .6rem; }
.hub-films li, .hub-siblings li { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--rule); }
.hub-films a, .hub-siblings a { flex: 1; display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; font: 500 1.02rem var(--serif); }
.hub-films a:hover, .hub-siblings a:hover { color: var(--red-ink); }
.hub-films .shelf-count { color: var(--ink-3); }

/* ------------------------------------------------------------ case page */
.case-file { padding-block: 1.4rem 0; }
.case-file > .case-crumbs { margin-bottom: 1rem; }
.folder {
  position: relative; background: var(--manila); border-radius: 0 6px 6px 6px; box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(1.6rem, 4vw, 3rem); margin-top: 2.2rem;
}
.case-hero { max-width: 56rem; }
.case-header {
  position: absolute; left: 0; bottom: 100%; display: flex; align-items: center; gap: .9rem; flex-wrap: nowrap;
  background: var(--manila); border-radius: 6px 12px 0 0; padding: .45rem 1rem .25rem; max-width: 100%;
  font: 500 .7rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.case-header .case-date { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.case-status {
  position: absolute; right: clamp(1rem, 4vw, 3rem); top: clamp(1rem, 3vw, 2rem);
  font: 600 .8rem/1 var(--stamp); letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid currentColor; padding: .38rem .55rem .32rem; transform: rotate(3deg); color: var(--ink-2);
}
.case-status.status-declassified { color: var(--blue); }
.case-status.status-closed { color: var(--red-ink); }
.case-title { font-size: clamp(2rem, 5.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; max-width: 20ch; padding-right: 5.5rem; }
.case-verdict-line { margin-top: 1.3rem; font: 400 clamp(1.12rem, 2.2vw, 1.35rem)/1.45 var(--serif); color: var(--ink); max-width: 46ch; }
.case-verdict-label { display: block; font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .35rem; }
.case-film { margin-top: 1rem; font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.case-film a { color: var(--ink-2); display: inline-block; padding-block: .8rem; margin-block: -.8rem; }
.case-brief { margin-top: .9rem; color: var(--ink-2); max-width: var(--measure); }

.case-game { margin-top: clamp(1.6rem, 4vw, 2.6rem); border-top: 1px solid var(--rule-2); padding-top: 1.6rem; }
.case-evidence { max-width: 50rem; }
.evidence-intro { font: 400 italic 1.1rem/1.5 var(--serif); color: var(--ink); max-width: 52ch; opacity: 1 !important; transform: none !important; }
.evidence-intro::before { content: "Brief"; display: block; font: 500 normal .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem; }

/* exhibits are index cards */
.evidence-exhibit {
  position: relative; background: var(--card); color: var(--ink); box-shadow: var(--shadow); margin: 1.6rem 0;
  padding: 0 0 1.2rem;
}
.exhibit-label {
  display: block; padding: 1rem 1.2rem .6rem; border-bottom: 1.5px solid var(--red); box-shadow: 0 3px 0 -1.5px var(--card), 0 4.5px 0 -1.5px var(--red);
  font: 500 .74rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.evidence-exhibit > p, .evidence-exhibit > blockquote, .file-card-body { padding-inline: 1.2rem; }
.evidence-exhibit p, .file-card-body p { margin-top: .9rem; color: var(--ink-2); }
.evidence-exhibit blockquote, .file-card-body blockquote {
  margin: 1.1rem 0 0; font: 400 italic 1.14rem/1.5 var(--serif); color: var(--ink); border: 0;
}
.file-card-body blockquote { padding: 0 0 0 1rem; border-left: 2px solid var(--blue); margin-inline: 0; }
.file-card-body { padding-top: .1rem; }
.exhibit-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.evidence-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.evidence-table td { border-bottom: 1px solid var(--rule); padding: .45rem .3rem; }

/* blue-pencil margin notes between exhibits */
.investigation-note {
  margin: 1.1rem 0 0; padding: .2rem 0 .2rem 1rem; border-left: 2px solid var(--blue);
  font: 500 .95rem/1.5 var(--sans); color: var(--blue); max-width: 56ch; opacity: 1 !important; transform: none !important;
}
.note-icon { display: none; }
.evidence-conclusion { margin-top: 1.4rem; font-style: italic; }

/* redactions: carbon bars, struck in red pencil when cleared */
.redacted {
  background: var(--ink); color: transparent; border-radius: 1px; padding: 0 .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; user-select: none; cursor: help;
  font-style: normal; letter-spacing: -.04em;
}
.redacted.revealed {
  background-color: transparent; color: var(--blue); font-weight: 600; letter-spacing: normal; cursor: text; user-select: auto;
  background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat; background-position: 0 58%; background-size: 100% 0;
  animation: el-clear .95s ease-out both;
}
@keyframes el-clear {
  0%   { background-color: var(--ink); color: transparent; background-size: 0 2px; }
  38%  { background-color: var(--ink); color: transparent; background-size: 100% 2px; }
  62%  { background-color: transparent; color: transparent; background-size: 100% 2px; }
  100% { background-color: transparent; color: var(--blue); background-size: 100% 0; }
}

/* carousel shell (built by app.js) */
.exhibit-carousel { position: relative; margin: 1.6rem 0 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 0; }
.carousel-viewport { grid-column: 1 / -1; overflow: hidden; position: relative; width: 100%; padding: 4px 4px 22px; margin: -4px; width: calc(100% + 8px); }
.carousel-track { display: flex; width: 100%; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.carousel-slide { flex: 0 0 100%; width: 100%; max-width: 100%; position: relative; padding: 0 8px; }
.carousel-slide .evidence-exhibit { margin: 0; transform: none !important; opacity: 1 !important; animation: none !important; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 400 1.5rem/1 var(--serif); cursor: pointer; display: grid; place-items: center; padding: 0 0 .15rem;
}
.carousel-arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.carousel-arrow:disabled { opacity: .25; cursor: default; }
.carousel-prev { grid-column: 1; grid-row: 2; }
.carousel-next { grid-column: 3; grid-row: 2; }
.carousel-progress { grid-column: 2; grid-row: 2; display: flex; justify-content: center; gap: .3rem; }
.carousel-dot { width: 44px; height: 44px; cursor: pointer; position: relative; }
.carousel-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 4px; translate: -50% -50%; background: var(--rule-2); border-radius: 2px; }
.carousel-dot.active::after { background: var(--ink); height: 6px; }
.carousel-dot.solved::after { background: var(--blue); }
.carousel-dot.locked::after { background: var(--rule); }
.carousel-done { max-height: 0; overflow: hidden; opacity: 0; margin: 0; transition: max-height .6s ease, opacity .4s ease; }

/* sealed slides */
.slide-locked-overlay {
  position: absolute; inset: 0 8px; z-index: 5; display: grid; place-items: center;
  background: color-mix(in srgb, var(--manila) 93%, transparent);
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, var(--rule) 14px 15px);
  transition: opacity .45s ease;
}
.slide-locked-overlay.unlocking { opacity: 0; pointer-events: none; }
.locked-content { text-align: center; color: var(--ink-2); background: var(--manila); padding: 1rem 1.4rem; }
.locked-icon-ring { width: 46px; height: 46px; margin: 0 auto .6rem; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; }
.locked-icon-ring svg { width: 20px; height: 20px; }
.locked-text { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* clue form */
.slide-clue-area { margin-top: 1.1rem; padding-inline: 2px; }
.exhibit-clue-frame { border-top: 1px dashed var(--rule-2); padding-top: 1rem; }
.exhibit-clue-hint { font-size: 1rem; color: var(--ink); max-width: 62ch; }
.exhibit-clue-hint::before { content: "Clue"; display: block; font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin-bottom: .35rem; }
.terminal-input-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; margin-top: .9rem; }
.terminal-prompt-char { display: none; }
.terminal-input-row input[type=text] {
  flex: 1 1 12rem; min-width: 0; min-height: 46px; padding: .5rem .2rem; background: transparent;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; font: 400 1.05rem var(--mono); color: var(--ink);
}
.terminal-input-row input[type=text]::placeholder { color: var(--ink-3); opacity: 1; }
.terminal-input-row input[type=text]:focus-visible { outline: none; border-bottom-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.terminal-input-row button {
  min-height: 46px; padding: .55rem 1.15rem; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper);
  font: 500 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.terminal-input-row button:hover { background: var(--red); border-color: var(--red); }
.exhibit-clue-msg, .terminal-output { margin-top: .7rem; font: 500 .85rem var(--mono); color: var(--ink-2); }
.exhibit-clue-msg.error, .terminal-output.error { color: var(--red-ink); }
.exhibit-clue-solved { font: 500 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.exhibit-clue-solved::before { content: "\2713\00a0"; }
.terminal-shake { animation: el-nudge .35s ease; }
@keyframes el-nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* verdict */
.verdict-mega { margin-top: 1.6rem; border-top: 2px solid var(--ink); padding-top: 1.6rem; animation: el-settle .6s ease both; }
.verdict-mega-glow, .flying-card, .verdict-flash { display: none !important; }
.verdict-mega-title { font: 600 clamp(1.8rem, 4vw, 2.6rem)/1 var(--serif); letter-spacing: -.02em; }
.verdict-mega-subtitle { margin-top: .5rem; color: var(--ink-2); }
.verdict-mega-prompt { margin-top: 1.3rem; font: 400 italic 1.25rem/1.45 var(--serif); max-width: 46ch; }
.verdict-mega-form-wrap { margin-top: .4rem; max-width: 40rem; }
.verdict-evidence-review { margin-top: 2rem; }
.review-label { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.review-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; margin-top: .8rem; }
.review-card { background: var(--card); box-shadow: var(--shadow); padding: .9rem 1rem 1rem; border-top: 1.5px solid var(--red); }
.review-card-label { font: 500 .66rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.review-card-text { margin-top: .5rem; font-size: .88rem; color: var(--ink-2); }
.review-card-img { display: none; }
.verdict-mega-result { padding: 1.2rem 0 .4rem; text-align: center; }
.case-closed-stamp {
  display: inline-block; font: 600 clamp(2.2rem, 8vw, 3.6rem)/1 var(--stamp); letter-spacing: .08em; text-transform: uppercase;
  color: var(--red-ink); border: 4px solid currentColor; padding: .5rem 1.1rem .42rem; outline: 1.5px solid currentColor; outline-offset: 3px;
  opacity: 0; transform: rotate(-6deg) scale(1.5); margin: .6rem 0 1.6rem;
}
.case-closed-stamp.stamped { animation: el-stamp .42s cubic-bezier(.2, .9, .3, 1.15) forwards; }
@keyframes el-stamp {
  0%   { opacity: 0; transform: rotate(-6deg) scale(1.6); }
  70%  { opacity: 1; transform: rotate(-6deg) scale(.97); }
  100% { opacity: .94; transform: rotate(-6deg) scale(1); }
}
@media (prefers-color-scheme: light) { .case-closed-stamp { mix-blend-mode: multiply; } }
.verdict-statement { font: 400 1.18rem/1.55 var(--serif); max-width: 52ch; margin: 0 auto; text-align: left; opacity: 0; transition: opacity .6s ease .2s; }
.verdict-statement.visible { opacity: 1; }
.case-replay-btn {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .8rem;
  background: none; border: 0; border-bottom: 1px solid var(--rule-2); color: var(--ink-2); cursor: pointer;
  font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.case-replay-btn:hover { color: var(--red-ink); }
.verdict-patreon, .verdict-cta { margin-top: 1.6rem; display: grid; justify-items: center; gap: .7rem; }
.verdict-watch-btn, .verdict-patreon-btn {
  display: inline-flex; align-items: center; min-height: 46px; padding: .6rem 1.2rem; background: var(--red); color: var(--paper);
  border-radius: 2px; text-decoration: none; font: 500 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.verdict-watch-btn:hover, .verdict-patreon-btn:hover { background: var(--ink); color: var(--paper); }
.verdict-support, .verdict-patreon-lead, .verdict-patreon-sub { font-size: .9rem; color: var(--ink-2); }

/* watch */
.case-watch, .case-notes, .case-faq, .case-related, .el-capture { margin-top: clamp(3rem, 7vw, 5rem); }
.case-watch > h2, .case-notes > h2, .case-faq > h2, .case-related > h2, .el-capture > h2 {
  font: 600 clamp(1.6rem, 3.4vw, 2.3rem)/1.08 var(--serif); letter-spacing: -.02em; border-top: 2px solid var(--ink); padding-top: .7rem;
}
.case-watch { display: grid; gap: 1.4rem; }
.case-watch-cta { order: 3; }
.case-moments { order: 4; }
.case-video { order: 2; }
.case-moments h3 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.moment-list { list-style: none; margin-top: .4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 1.5rem; }
.moment-list li { border-bottom: 1px solid var(--rule); }
.moment-link { display: flex; align-items: baseline; gap: .8rem; min-height: 48px; padding-block: .7rem; text-decoration: none; }
.moment-time { flex: 0 0 auto; font: 500 .78rem var(--mono); letter-spacing: .04em; color: var(--paper); background: var(--ink); padding: .12rem .4rem; }
.moment-link:hover .moment-time { background: var(--red); }
.moment-label { font-size: .95rem; }
.lite-yt-wrap { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow); max-width: 960px; }
.lite-yt, .lite-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; display: block; }
.lite-yt-thumb { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.lite-yt-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; translate: -50% -50%; border-radius: 50%;
  background: var(--paper); box-shadow: 0 6px 24px rgba(0, 0, 0, .45); transition: background-color .15s;
}
.lite-yt-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--ink); }
.lite-yt:hover .lite-yt-play { background: var(--red); }
.lite-yt:hover .lite-yt-play::after { border-left-color: var(--paper); }
.lite-yt-label { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--ink); padding: .45rem .7rem; font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* case notes: a long read */
.case-notes-warning { margin-top: 1rem; max-width: var(--measure); font: 500 .78rem/1.5 var(--mono); color: var(--red-ink); padding: .5rem 0 .5rem .9rem; border-left: 2px solid var(--red); }
.case-notes-body { max-width: var(--measure); margin-top: 1.6rem; font-size: 1.09rem; line-height: 1.7; }
.case-notes-body p { margin-top: 1.15em; color: var(--ink); }
.case-notes-body h2 { font: 600 1.55rem/1.2 var(--serif); margin-top: 2.2em; letter-spacing: -.015em; }
.case-notes-body h2:first-child { margin-top: 0; }
.case-notes-body h3 { font: 600 1.22rem/1.25 var(--serif); margin-top: 1.8em; }
.case-notes-body h2 + p, .case-notes-body h3 + p { margin-top: .6em; }
.case-notes-body > h2:first-child + p::first-letter, .case-notes-body > p:first-child::first-letter {
  float: left; font: 600 3.6em/.82 var(--serif); margin: .08em .1em 0 0; color: var(--red-ink);
}
.case-notes-body blockquote {
  margin: 1.8em 0; padding: .2em 0 .2em 1.2rem; border-left: 3px solid var(--red);
  font: 400 italic clamp(1.3rem, 2.6vw, 1.6rem)/1.35 var(--serif); color: var(--ink);
}
.case-notes-body blockquote p { margin: 0; color: inherit; }
.case-notes-body strong { font-weight: 650; }
.case-notes-body a { color: var(--blue); }
.case-notes-body ul, .case-notes-body ol { padding-left: 1.3rem; margin-top: 1em; }
.case-notes-body li + li { margin-top: .4em; }
.case-notes-body li::marker { color: var(--red-ink); }

/* FAQ disclosure list */
.case-faq > h2 { margin-bottom: .4rem; }
.faq-item { border-bottom: 1px solid var(--rule); max-width: 52rem; }
.faq-q { font: 600 1.14rem/1.35 var(--serif); }
.faq-q button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  min-height: 56px; padding: .9rem 0; background: none; border: 0; cursor: pointer; font: inherit; color: var(--ink);
}
.faq-q button::after { content: "+"; flex: 0 0 auto; font: 400 1.4rem/1 var(--mono); color: var(--red-ink); transition: transform .2s ease; }
.faq-q button[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-q button:hover { color: var(--red-ink); }
.faq-a { padding: 0 0 1.2rem; color: var(--ink-2); max-width: var(--measure); }
.faq-item:not(.is-disclosure) .faq-q { padding-top: 1rem; }
.faq-item:not(.is-disclosure) .faq-a { padding-top: .4rem; }

/* related */
.case-related ul { list-style: none; margin-top: .4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 2rem; }
.case-related li { border-bottom: 1px solid var(--rule); }
.case-related li a { display: flex; gap: .8rem; align-items: baseline; min-height: 52px; padding-block: .85rem; text-decoration: none; font: 500 1.06rem/1.35 var(--serif); }
.case-related li a::before { content: "\2192"; color: var(--red-ink); font-family: var(--mono); }
.case-related-more { margin-top: 1rem; font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.case-related-more a { display: inline-flex; min-height: 44px; align-items: center; color: var(--red-ink); }

/* case-page capture */
.el-capture { max-width: 40rem; }
.el-capture > h2 { border-top: 0; padding-top: 0; font-size: 1.45rem; }
.el-capture p { color: var(--ink-2); margin-top: .5rem; }
.el-capture.memo > h2 { font-size: 1.35rem; }
.el-support { font-size: .9rem; margin-top: 1rem !important; }

/* stub pages (no clue chain yet) */
.case-evidence > .evidence-exhibit:only-of-type { margin-top: 1.2rem; }

/* ------------------------------------------------------------ plain pages */
.plain { padding-block: clamp(2rem, 6vw, 4rem); max-width: calc(var(--measure) + 2 * var(--gutter)); }
.plain h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; margin-top: .8rem; }
.plain p { margin-top: 1.1rem; color: var(--ink-2); }
.plain p strong { color: var(--ink); }
.plain .lede { font: 400 italic 1.25rem/1.45 var(--serif); color: var(--ink); }
.plain a { color: var(--blue); }
.plain .btn { color: var(--paper); margin-top: 1.6rem; }

/* ------------------------------------------------------------ motion */
@keyframes el-settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.settle { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.settle.in { opacity: 1; transform: none; }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .settle { opacity: 1; transform: none; }
  .case-closed-stamp.stamped { opacity: .94; transform: rotate(-6deg); }
  .redacted.revealed { animation: none; background-color: transparent; color: var(--blue); }
}
@media print {
  body { background: #fff; }
  .mast-nav, .foot-nav, .el-capture, .lite-yt-wrap { display: none; }
}
.verdict-mega:has(.verdict-mega-result:not([hidden])) .verdict-mega-subtitle { display: none; }

/* ------------------------------------------------------------ small screens */
@media (max-width: 699px) {
  .mast-nav { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + .6rem); gap: 0 .9rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .mast-nav::-webkit-scrollbar { display: none; }
  .mast-nav a { white-space: nowrap; }
  .case-status { position: static; display: inline-block; margin: 0 0 1rem; transform: rotate(-2deg); }
  .case-title { padding-right: 0; }
}
