@charset "utf-8";

/* Last Known Copy — infopirate.org
   One stylesheet. No JavaScript anywhere on this site.
   Colour is a semantic instrument: the only saturated ink on any page states
   custody (--gone, --kept, --unverified). Nothing decorative is ever coloured. */

/* ---------- fonts (self-hosted, no CDN, no third-party request) ---------- */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-var.woff2") format("woff2-variations"),
       url("/fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-var-italic.woff2") format("woff2-variations"),
       url("/fonts/source-serif-4-var-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */

:root {
  --paper:      #F4F1EA;
  --paper-sunk: #E9E4D6;
  --ink:        #1B1A16;
  --ink-muted:  #6B6558;
  --rule:       #D6D0C0;

  --link:       #1D4E6B;
  --link-hot:   #143A52;

  --gone:       #8C2B22;
  --kept:       #35604C;
  /* Darkened from #8A6A15, which measured 3.98:1 against --paper-sunk and
     failed WCAG AA for the 11px chip text it is used on — and it is the most
     common chip on the site. #6F5309 measures ~5.7:1. */
  --unverified: #6F5309;

  --serif: "Source Serif 4", "Source Serif Pro", Charter, "Bitstream Charter",
           "Iowan Old Style", Georgia, serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
           Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #16150F;
    --paper-sunk: #201E16;
    --ink:        #ECE7DA;
    --ink-muted:  #A39B89;
    --rule:       #3A362B;
    --link:       #7FB3D0;
    --link-hot:   #A9CFE4;
    --gone:       #E08276;
    --kept:       #7CBB9C;
    --unverified: #D2A93F;
  }
}

/* ---------- reset and base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-synthesis-weight: none;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}
a:hover, a:focus { color: var(--link-hot); text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link-hot); outline-offset: 2px; }

[id] { scroll-margin-top: 1.5rem; }

.skip {
  position: absolute; left: -9999px;
  font-family: var(--mono); font-size: .75rem;
}
.skip:focus {
  left: .5rem; top: .5rem; z-index: 10;
  background: var(--paper); color: var(--ink);
  padding: .5rem .75rem; border: 1px solid var(--ink);
}

/* ---------- header ---------- */

.site-head {
  min-height: 3.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 0 1.25rem;
}

.masthead {
  font-family: var(--mono); font-weight: 500; font-size: .875rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink); text-decoration: none;
  padding: .9rem 0;
}
.masthead:hover, .masthead:focus { color: var(--ink); text-decoration: none; }

.site-nav { display: flex; align-items: center; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 0;
}
.site-nav li + li { border-left: 1px solid var(--rule); }
.site-nav a {
  display: inline-block;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  color: var(--ink-muted); text-decoration: none;
  padding: .35rem .7rem;
}
.site-nav a:hover, .site-nav a:focus { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink); border-bottom: 2px solid var(--ink);
}

@media (max-width: 42rem) {
  .site-head { padding: 0 1rem; }
  .site-nav {
    width: 100%; min-height: 2.25rem;
    overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--rule);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; }
  .site-nav a { white-space: nowrap; }
}

/* ---------- the reading grid; measure enforced twice ---------- */

article, .page {
  display: grid;
  grid-template-columns: 1fr min(64ch, calc(100% - 2.5rem)) 1fr;
  column-gap: 2rem;
  padding: 2.5rem 0 3.5rem;
}
article > *, .page > * { grid-column: 2; }

.breakout {
  grid-column: 1 / 4;
  max-inline-size: 78rem;
  margin-inline: auto;
  width: 100%;
  padding-inline: 1.25rem;
}
.full-bleed { grid-column: 1 / 4; max-inline-size: none; }

p, li, blockquote, dl, dd { max-inline-size: 62ch; }
p { margin-block: 0 1.15rem; }
ul, ol { margin-block: 0 1.15rem; padding-inline-start: 1.4rem; }
li { margin-block-end: .4rem; }

@media (max-width: 40rem) { p, li { hyphens: auto; } }

/* ---------- headings and article furniture ---------- */

h1 {
  font-weight: 600;
  font-size: clamp(2.125rem, 1.55rem + 2.3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  max-inline-size: 21ch;
  text-wrap: pretty;
  margin: 0 0 .5rem;
}

h2 {
  font-weight: 600; font-size: 1.5rem; line-height: 1.22;
  letter-spacing: -.01em; text-wrap: pretty;
  border-top: 1px solid var(--rule);
  padding-top: .6rem; margin-top: 2.75rem; margin-bottom: .8rem;
}

h3 {
  font-family: var(--mono); font-weight: 500;
  font-size: .9375rem; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .06em;
  margin-top: 1.9rem; margin-bottom: .6rem;
}

.kicker {
  font-family: var(--mono); font-weight: 500; font-size: .6875rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--ink-muted);
  margin: 0 0 .9rem;
}

.dek {
  font-size: 1.3125rem; line-height: 1.45;
  max-inline-size: 46ch; text-wrap: pretty;
  margin: .75rem 0 1.5rem;
}

/* the record line */
.record {
  font-family: var(--mono); font-size: .75rem; line-height: 1.5;
  letter-spacing: .04em; color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .5rem 0; margin: 0 0 1.75rem;
  max-inline-size: none;
}

blockquote {
  font-size: 1.0625rem; line-height: 1.55; font-style: normal;
  background: var(--paper-sunk);
  border-left: 2px solid var(--rule);
  padding: .85rem 1rem; margin: 0 0 1.15rem;
}
blockquote p:last-child { margin-bottom: 0; }

code, .url {
  font-family: var(--mono); font-size: .9375em;
  word-break: break-word;
}

/* ---------- images and the provenance slot ---------- */

figure { margin: 1.75rem 0 2rem; }
figure img {
  display: block; width: 100%;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  padding: 12px;
}
figure.hero img { padding: 0; border: 1px solid var(--rule); }

.provenance {
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-top: 0;
  font-family: var(--mono); font-size: .75rem; line-height: 1.45;
  color: var(--ink-muted);
  padding: .5rem .75rem;
  margin: 0;
  display: grid; grid-template-columns: max-content 1fr; gap: .15rem .9rem;
}
.provenance dt { text-transform: uppercase; letter-spacing: .06em; }
.provenance dd { margin: 0; max-inline-size: none; word-break: break-word; }
.provenance.generated { display: block; }

figcaption {
  font-family: var(--mono); font-size: .75rem; line-height: 1.45;
  color: var(--ink-muted); margin-top: .4rem;
}

/* ---------- status chips ---------- */

.chip {
  display: inline-block;
  font-family: var(--mono); font-weight: 500; font-size: .6875rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .09em;
  padding: .25rem .4rem;
  background: var(--paper-sunk);
  border: 1px solid currentColor;
  white-space: nowrap;
}
.chip-kept, .chip-readonly { color: var(--kept); }
.chip-gone                 { color: var(--gone); }
.chip-unverified           { color: var(--unverified); }
.chip-moved                { color: var(--ink-muted); border-color: var(--rule); }

.flag-unverified { color: var(--unverified); }

/* A confidence grade is not a custody status, so it does not get a chip or a
   saturated ink. */
.grade {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em;
  color: var(--ink-muted); white-space: nowrap;
}

/* ---------- tables ---------- */

.scroll-x {
  overflow-x: auto;
  scrollbar-gutter: stable;
  border: 1px solid var(--rule);
}
.scroll-x:focus-visible { outline: 2px solid var(--link-hot); outline-offset: 2px; }

table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--mono); font-size: .8125rem; line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
th, td { padding: .5rem .85rem; text-align: left; vertical-align: top; }
thead th {
  font-weight: 500; font-size: .6875rem; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .07em;
  background: var(--paper-sunk);
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}
tbody tr + tr th, tbody tr + tr td { border-top: 1px solid var(--rule); }
td.prose { font-family: var(--serif); font-size: .9375rem; line-height: 1.45; }
th[scope="row"] {
  position: sticky; inset-inline-start: 0;
  background: var(--paper-sunk);
  font-weight: 500;
  white-space: nowrap;
}
.scroll-hint {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-muted);
  margin: .4rem 0 0;
}
@media (min-width: 900px) { .scroll-hint { display: none; } }

/* CSS-only ledger status filter. Default state shows every row. */
.filter {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  margin: 0 0 .75rem; padding: 0; border: 0;
}
.filter-legend {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-muted); padding: 0; margin-right: .4rem;
}
.filter-input { position: absolute; opacity: 0; pointer-events: none; }
.filter label {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-muted);
  border: 1px solid var(--rule); background: var(--paper);
  padding: .25rem .5rem; cursor: pointer;
}

/* The inputs are hoisted out of .filter so the `~` rules below can reach the
   table, so the checked/focus styles reach their labels by id rather than by
   adjacency. */
#f-all:checked        ~ .filter label[for="f-all"],
#f-kept:checked       ~ .filter label[for="f-kept"],
#f-readonly:checked   ~ .filter label[for="f-readonly"],
#f-moved:checked      ~ .filter label[for="f-moved"],
#f-gone:checked       ~ .filter label[for="f-gone"],
#f-unverified:checked ~ .filter label[for="f-unverified"] {
  color: var(--ink); border-color: var(--ink);
}
.filter-input:focus-visible ~ .filter label { outline: 1px dotted var(--link-hot); }

/* `~` is the general-sibling combinator, so these must match an element that is
   an actual later SIBLING of the radio input. The radios sit inside
   `fieldset.filter`; the table sits inside `div.breakout`, which is a sibling of
   the fieldset, not of the inputs. The first version of this reached for
   `~ .scroll-x` and could never match: six chips that took focus, took clicks
   and changed state while the fifty-row table below them did nothing at all.
   The inputs are now direct children of the same parent as `.breakout`. */
/* Scoped to .breakout-roster: the page carries a second table, and an
   unscoped rule filtered that one too under a control labelled "filter the
   roster". */
#f-kept:checked       ~ .breakout-roster tbody tr:not([data-status="kept"]),
#f-readonly:checked   ~ .breakout-roster tbody tr:not([data-status="read-only"]),
#f-moved:checked      ~ .breakout-roster tbody tr:not([data-status="moved"]),
#f-gone:checked       ~ .breakout-roster tbody tr:not([data-status="gone"]),
#f-unverified:checked ~ .breakout-roster tbody tr:not([data-status="unverified"]) { display: none; }

/* ---------- record blocks: "Where to find it now" ---------- */

.wtfin {
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  padding: 1rem 1.15rem .3rem;
  margin: 2.5rem 0 1.5rem;
}
.wtfin h2 { border-top: 0; margin-top: 0; padding-top: 0; font-size: 1.25rem; }
.wtfin p, .wtfin li, .wtfin dd { max-inline-size: 58ch; }
.wtfin dt {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-muted); margin-top: .7rem;
}
.wtfin dd { margin: .15rem 0 .6rem; }

/* ---------- notes and references ---------- */

sup.ref, sup.note {
  font-family: var(--mono); font-size: .6875rem;
  margin-inline: .15em; line-height: 0;
}
sup.ref a, sup.note a { color: var(--link); text-decoration: none; }
sup.ref a:hover, sup.note a:hover { text-decoration: underline; }

.refs, .notes, .claims {
  font-family: var(--mono); font-size: .8125rem; line-height: 1.5;
  padding-inline-start: 1.6rem;
}
.refs li, .notes li, 
.refs li::marker, .notes li::marker, .claims li::marker { color: var(--link); }
.notes { list-style: lower-alpha; }

.apparatus-h {
  font-family: var(--mono); font-weight: 500; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .07em;
  border-top: 1px solid var(--rule); padding-top: .55rem;
  margin-top: 2.25rem; margin-bottom: .7rem;
}

/* One CSS-only control, and it hides asides only.
   References are never hideable on a site whose claim is its sourcing. */
#hide-notes { position: absolute; opacity: 0; pointer-events: none; }
.notes-toggle {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-muted);
  border: 1px solid var(--rule); padding: .2rem .45rem; cursor: pointer;
  margin-inline-start: .5rem;
}
#hide-notes:focus-visible + .notes-toggle { outline: 2px solid var(--link-hot); outline-offset: 2px; }
#hide-notes:checked ~ .notes { display: none; }

.provenance-address {
  font-family: var(--mono); font-size: .75rem; line-height: 1.5;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  padding-top: .6rem; margin-top: 2.25rem;
  max-inline-size: 62ch;
}

.correction {
  border-left: 2px solid var(--gone);
  padding-left: .85rem; margin: 1.5rem 0;
}
.correction .date {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  color: var(--gone); text-transform: uppercase;
}

/* sidenote promotion — no script */
@media (min-width: 1240px) {
  article .refs > li, article .notes > li { font-size: .75rem; }
}

/* ---------- index and archive listings ---------- */

.entries { list-style: none; padding: 0; margin: 0; max-inline-size: none; }
.entries > li {
  border-top: 1px solid var(--rule);
  padding: 1.1rem 0;
  max-inline-size: none;
}
.entries > li:last-child { border-bottom: 1px solid var(--rule); }
.entry-meta {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  color: var(--ink-muted); margin: 0 0 .3rem;
}
.entry-title {
  font-size: 1.25rem; font-weight: 600; line-height: 1.25;
  margin: 0 0 .35rem; max-inline-size: 42ch;
}
.entry-title a { text-decoration: none; color: var(--ink); }
.entry-title a:hover, .entry-title a:focus {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
}
.entry-dek { margin: 0; color: var(--ink); max-inline-size: 62ch; }

/* ---------- timeline ---------- */

.timeline { list-style: none; padding: 0; margin: 0; max-inline-size: none; }
.timeline > li {
  border-top: 1px solid var(--rule);
  padding: .9rem 0;
  display: grid; grid-template-columns: 11rem 1fr; gap: 0 1.5rem;
  max-inline-size: none;
}
.timeline > li:last-child { border-bottom: 1px solid var(--rule); }
.timeline .when {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  color: var(--ink-muted); padding-top: .2rem;
}
.timeline .what { margin: 0; max-inline-size: 62ch; }
.timeline .src {
  font-family: var(--mono); font-size: .6875rem; color: var(--ink-muted);
  margin: .3rem 0 0; max-inline-size: 62ch;
}
@media (max-width: 40rem) {
  .timeline > li { grid-template-columns: 1fr; gap: .25rem; }
}

/* ---------- home ---------- */

.masthead-block {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.5rem; margin-bottom: 2rem;
}
.masthead-block h1 { max-inline-size: 16ch; }
.masthead-block .tagline {
  font-size: 1.3125rem; line-height: 1.45; color: var(--ink-muted);
  max-inline-size: 46ch; margin: .5rem 0 0;
}

.lede { font-size: 1.25rem; line-height: 1.5; }

.sunk {
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  padding: 1rem 1.15rem .3rem;
  margin: 1.75rem 0;
}
.sunk > :last-child { margin-bottom: 1rem; }

/* ---------- 404 ---------- */

/* The left border was --gone, which painted the custody colour onto notices
   that state nothing about custody ("no editorial address is live yet").
   Colour on this site is a semantic instrument; a generic notice accent is
   exactly the decorative use the rule exists to forbid. */
.status-panel {
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink-muted);
  padding: .85rem 1rem;
  font-family: var(--mono); font-size: .8125rem; line-height: 1.5;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding: 2rem 1.25rem 2.5rem;
  font-size: .9375rem; line-height: 1.55;
  color: var(--ink-muted);
}
.foot-cols {
  max-inline-size: 78rem; margin-inline: auto;
  display: grid; gap: 1.75rem;
}
@media (min-width: 60rem) { .foot-cols { grid-template-columns: 1.5fr 1fr 1.5fr; } }
.foot-cols h2 {
  font-family: var(--mono); font-weight: 500; font-size: .6875rem;
  text-transform: uppercase; letter-spacing: .09em;
  border-top: 0; padding-top: 0; margin: 0 0 .6rem; color: var(--ink-muted);
}
.foot-cols p { max-inline-size: 46ch; margin-block-end: .8rem; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin-block-end: .3rem; }
.foot-cols a { color: var(--link); }
.deployed {
  max-inline-size: 78rem; margin: 1.75rem auto 0;
  border-top: 1px solid var(--rule); padding-top: .8rem;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-muted);
}

/* ---------- print ---------- */

@media print {
  :root {
    --paper: #fff; --paper-sunk: #fff; --ink: #000;
    --ink-muted: #444; --rule: #999; --link: #000; --link-hot: #000;
    --gone: #000; --kept: #000; --unverified: #000;
  }
  body { font-size: 10.5pt; line-height: 1.4; background: #fff; }
  .site-head, .site-nav, .site-foot, .filter, .notes-toggle, .scroll-hint { display: none; }
  article, .page { display: block; padding: 0; }
  .breakout, .full-bleed { padding-inline: 0; max-inline-size: none; }
  p, li, blockquote, dl, dd { max-inline-size: none; }
  h1 { font-size: 20pt; }
  h2 { font-size: 13pt; margin-top: 16pt; }
  h3, .kicker, .record, .provenance, figcaption, table, .refs, .notes, .claims {
    font-size: 8pt;
  }
  .record { display: block; }
  thead { display: table-header-group; }
  tr, figure, .wtfin { break-inside: avoid; }
  a { text-decoration: none; }
  /* Scoped to http(s) only. Unscoped, this appended " <#r1-back>" to every
     return arrow and printed not one source URL — the exact failure the rule
     exists to prevent. */
  .refs a[href^="http"]::after { content: " <" attr(href) ">"; font-size: 7.5pt; }
  figure img { border: 1px solid #999; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
