/* ============================================================
   Redactline - main.css
   Investigative journalism. Dark editorial.

   Palette:
     Background: #0d0d0d
     Paper:      #111111
     Elevated:   #161616
     Text:       #dddad5
     Muted:      #777
     Faint:      #444
     Accent:     #c0392b  (the line, red)
     Border:     rgba(255,255,255,0.07)

   Typography:
     Display:  Playfair Display (serif) — h1/h2/h3
     Body:     Atkinson Hyperlegible Next — everything else
     Mono:     Atkinson Hyperlegible Mono — kickers, meta, sign-offs
   ============================================================ */

/* Self-hosted fonts (no third-party / Google Fonts runtime requests):
   - Playfair Display: display serif for h1/h2/h3.
   - Atkinson Hyperlegible Next: body text. Updated Braille Institute font
     with refined glyphs, better letter-disambiguation, and wider-language
     coverage than the original Atkinson Hyperlegible.
   - Atkinson Hyperlegible Mono: monospace, replaces the generic Courier
     fallback for meta, kickers, sign-offs, and code-like elements.
   All woff2 live in /redactline/fonts/. Paths are CSS-relative so they work
   in any deploy layout. */
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/playfair-display-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:900;font-display:swap;src:url('/fonts/playfair-display-latin-900-normal.woff2') format('woff2');}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:700;font-display:swap;src:url('/fonts/playfair-display-latin-700-italic.woff2') format('woff2');}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/atkinson-hyperlegible-next-latin-400-italic.woff2') format('woff2');}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:700;font-display:swap;src:url('/fonts/atkinson-hyperlegible-next-latin-700-italic.woff2') format('woff2');}
@font-face{font-family:'Atkinson Hyperlegible Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/atkinson-hyperlegible-mono-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Atkinson Hyperlegible Mono';font-style:italic;font-weight:400;font-display:swap;src:url('/fonts/atkinson-hyperlegible-mono-latin-400-italic.woff2') format('woff2');}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Skip link (accessibility) ──────────────────────────────── */
.skip-link{position:absolute;left:-9999px;top:0;background:#000;color:#F2EFEA;padding:8px 12px;z-index:1000}
.skip-link:focus{left:8px}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: #0d0d0d;
  color: #dddad5;
  font-family: 'Atkinson Hyperlegible Next', system-ui, -apple-system, sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }

a {
  color: #dddad5;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(221,218,213,0.3);
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

a:hover {
  color: #c0392b;
  text-decoration-color: rgba(192,57,43,0.5);
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #dddad5;
}

h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-body {
  padding-top: 56px;
}

/* ── Utility ─────────────────────────────────────────────────── */
.mono {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.eyebrow {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A8A8A8;
  text-decoration: none;
}

.the-line {
  display: block;
  height: 2px;
  background: #c0392b;
  margin: 32px 0;
  border: none;
}

.redacted {
  display: inline-block;
  background: #1e1e1e;
  color: transparent;
  border-radius: 1px;
  padding: 0 5px;
  min-width: 48px;
  user-select: none;
  vertical-align: middle;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-wordmark {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dddad5;
}

.nav-logo-bar {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url('../assets/redactline-mark.webp') center / contain no-repeat;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A8A8A8;
  text-decoration: none;
  transition: color 140ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #dddad5;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hero-kicker {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c0392b;
  display: block;
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 22px;
  max-width: 580px;
}

.hero-intro {
  font-size: 1.1rem;
  color: #A8A8A8;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-signoff {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #A8A8A8;
  letter-spacing: 0.05em;
  border-left: 2px solid #c0392b;
  padding-left: 14px;
}

/* ── Subscribe (home hero) ────────────────────────────────── */
.hero-subscribe {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-subscribe-label {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A8A8A8;
  display: block;
  margin-bottom: 14px;
}

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

.btn-primary,
.btn-secondary {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 22px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.btn-primary {
  background: #c0392b;
  color: #F2EFEA;
  border-color: #c0392b;
}
.btn-primary:hover {
  background: #a52d20;
  border-color: #a52d20;
  color: #F2EFEA;
}

.btn-secondary {
  background: transparent;
  color: #dddad5;
  border-color: rgba(221,218,213,0.35);
}
.btn-secondary:hover {
  color: #c0392b;
  border-color: #c0392b;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  background: #111;
  border: 1px solid rgba(221,218,213,0.25);
  color: #dddad5;
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.9rem;
  transition: border-color 140ms ease;
}

.subscribe-form input[type="email"]::placeholder {
  color: #777;
}

.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: #c0392b;
}

.subscribe-form button[type="submit"] {
  cursor: pointer;
  border-radius: 0;
  font: inherit;
}

.subscribe-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.subscribe-status {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  min-height: 1.2em;
  margin-bottom: 14px;
  color: #A8A8A8;
}

.subscribe-status--success { color: #dddad5; }
.subscribe-status--error   { color: #c0392b; }
.subscribe-status--pending { color: #777; }

.subscribe-status a {
  color: #c0392b;
  text-decoration: underline;
}

/* ── Featured File ───────────────────────────────────────────── */
.featured {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.section-label {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A8A8A8;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* ── File Card ───────────────────────────────────────────────── */
.file-card {
  display: block;
  padding: 28px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid #c0392b;
  text-decoration: none;
  color: #dddad5;
  transition: background 150ms ease, border-color 150ms ease;
}

.file-card:hover {
  background: #161616;
  color: #dddad5;
}

.file-card-meta {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A8A8A8;
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

.file-card-meta .fn { color: #c0392b; }

.file-card h2,
.file-card h3 {
  margin-bottom: 12px;
  transition: color 150ms ease;
}

.file-card:hover h2,
.file-card:hover h3 {
  color: #F2EFEA;
}

.file-card-summary {
  font-size: 1rem;
  color: #A8A8A8;
  line-height: 1.65;
  margin-bottom: 20px;
}

.file-card-cta {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0392b;
  text-decoration: none;
}

/* ── About Strip ─────────────────────────────────────────────── */
.about-strip {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.about-strip p {
  font-size: 1.05rem;
  color: #A8A8A8;
  max-width: 560px;
  line-height: 1.75;
}

/* ── Collaboration Strip ─────────────────────────────────────── */
.collab-strip {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.collab-link {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #dddad5;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.collab-link:hover { color: #c0392b; }

.collab-note {
  font-size: 0.85rem;
  color: #A8A8A8;
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  margin-top: 6px;
}

/* ── File Archive List ───────────────────────────────────────── */
.files-header {
  padding: 56px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.files-header h1 {
  margin-bottom: 12px;
}

.files-header .deck {
  font-size: 1rem;
  color: #A8A8A8;
  max-width: 500px;
}

.file-list {
  padding: 0;
}

.file-list-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: #dddad5;
  transition: color 140ms ease;
}

.file-list-item:hover { color: #dddad5; }

.file-list-num {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: #c0392b;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 4px;
}

.file-list-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
  transition: color 140ms ease;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

.file-list-item:hover .file-list-title { color: #F2EFEA; }

.file-list-summary {
  font-size: 0.9rem;
  color: #A8A8A8;
  line-height: 1.5;
}

.file-list-docs {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  color: #7a7a7a;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.file-list-date {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  color: #A8A8A8;
  letter-spacing: 0.06em;
  padding-top: 5px;
  white-space: nowrap;
}

/* ── Post ────────────────────────────────────────────────────── */
.post-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.post-back-link {
  display: inline-block;
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A8A8A8;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 140ms ease;
}
.post-back-link:hover { color: #c0392b; }

.post-meta {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  color: #A8A8A8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}

.post-meta .fn { color: #c0392b; }

.post-header h1 {
  margin-bottom: 18px;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.post-deck {
  font-size: 1.15rem;
  color: #A8A8A8;
  font-style: italic;
  max-width: 560px;
  line-height: 1.65;
}

.post-body {
  padding: 12px 0 48px;
}

.post-body p {
  font-size: 1.05rem;
  line-height: 1.78;
  margin-bottom: 1.4em;
  color: #ccc;
}

.post-body p:first-child { font-size: 1.12rem; }

.doc-link {
  display: block;
  margin: 40px 0;
  padding: 18px 22px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid #c0392b;
  text-decoration: none;
  color: #dddad5;
  transition: background 150ms ease;
}

.doc-link:hover {
  background: #161616;
  color: #dddad5;
}

.doc-link-label {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A8A8A8;
  display: block;
  margin-bottom: 6px;
}

.doc-link-title {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.84rem;
  color: #c0392b;
  letter-spacing: 0.04em;
  display: block;
}

.doc-link-desc {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: #A8A8A8;
  letter-spacing: 0.02em;
  display: block;
  margin-top: 4px;
}

.post-signoff {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #A8A8A8;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  margin-top: 48px;
}

/* ── Document Page ───────────────────────────────────────────── */
.doc-page-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.doc-page-header .back-link {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A8A8A8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  transition: color 140ms ease;
}

.doc-page-header .back-link:hover { color: #A8A8A8; }

.doc-page-header h1 { margin-bottom: 12px; font-size: 1.6rem; }

.doc-page-header .doc-id {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: #c0392b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.document-wrapper {
  margin: 40px 0 80px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 48px;
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #bbb;
}

.doc-org-header {
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.doc-org-name {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A8A8A8;
  margin-bottom: 6px;
}

.doc-org-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #dddad5;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-classification {
  display: inline-block;
  border: 1px solid #c0392b;
  color: #c0392b;
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 3px 12px;
}

.doc-meta {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 0;
  margin: 24px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.76rem;
}

.doc-meta dt {
  color: #A8A8A8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
}

.doc-meta dd { color: #bbb; }

.doc-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A8A8A8;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.doc-body p {
  margin-bottom: 1em;
  font-size: 0.78rem;
  color: #aaa;
}

.doc-redacted {
  display: inline-block;
  background: #222;
  color: transparent;
  border-radius: 1px;
  padding: 1px 8px;
  min-width: 60px;
  user-select: none;
  vertical-align: baseline;
}

.doc-redacted--wide { min-width: 120px; }
.doc-redacted--narrow { min-width: 30px; }

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  margin: 14px 0;
}

.doc-table th {
  text-align: left;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  color: #A8A8A8;
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.doc-table td {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
  color: #aaa;
}

.doc-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.015);
}

.doc-table .status-transferred {
  color: #c0392b;
  font-weight: 700;
}

.doc-footer-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.68rem;
  color: #A8A8A8;
  line-height: 1.6;
}

/* ── About Page ──────────────────────────────────────────────── */
.about-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.about-header h1 { margin-bottom: 14px; }

.about-header .deck {
  font-size: 1.1rem;
  color: #A8A8A8;
  font-style: italic;
  max-width: 520px;
  line-height: 1.65;
}

.about-body {
  padding: 48px 0;
}

.about-body p {
  font-size: 1.05rem;
  line-height: 1.78;
  margin-bottom: 1.4em;
  color: #ccc;
}

.about-body h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.contact-block {
  margin-top: 48px;
  padding: 24px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid #c0392b;
}

.contact-block h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.contact-block p {
  font-size: 0.95rem;
  color: #A8A8A8;
  margin-bottom: 12px;
}

.contact-block .contact-note {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.76rem;
  color: #A8A8A8;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* ── Documents Index ─────────────────────────────────────────── */
.documents-header {
  padding: 56px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.documents-header h1 { margin-bottom: 12px; }
.documents-header .deck {
  font-size: 1rem;
  color: #A8A8A8;
  max-width: 500px;
}

.doc-list {
  padding: 0;
}

.doc-list-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: #dddad5;
  align-items: start;
  transition: color 140ms ease;
}

.doc-list-item:hover { color: #dddad5; }

.doc-list-id {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  color: #c0392b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 4px;
}

.doc-list-title {
  font-size: 1.05rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin-bottom: 4px;
  transition: color 140ms ease;
}

.doc-list-item:hover .doc-list-title { color: #F2EFEA; }

.doc-list-desc {
  font-size: 0.85rem;
  color: #A8A8A8;
  line-height: 1.5;
}

.doc-list-tag {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.66rem;
  color: #A8A8A8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 36px 0;
  margin-top: 80px;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A8A8A8;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-brand:hover { color: #A8A8A8; }

.footer-bar {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url('../assets/redactline-mark.webp') center / contain no-repeat;
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A8A8A8;
  text-decoration: none;
  transition: color 140ms ease;
}

.footer-nav a:hover { color: #A8A8A8; }

.footer-legal {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.68rem;
  color: #A8A8A8;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  letter-spacing: 0.02em;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  html { font-size: 16px; }

  /* Nav: keep links visible, just tighten the spacing and font. Three
     items fit comfortably on any phone at this scale. */
  .nav-inner { gap: 12px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.08em; }

  .hero { padding: 52px 0 40px; }

  .file-list-item {
    grid-template-columns: 60px 1fr;
  }

  .doc-list-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .document-wrapper {
    padding: 28px 20px;
  }

  .doc-meta {
    grid-template-columns: 110px 1fr;
  }

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

  /* Subscribe form: stack the input + button on very narrow screens */
  .subscribe-form input[type="email"] { min-width: 0; width: 100%; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
}

/* ============================================================
   ACCESSIBILITY: focus-visible + reduced motion
   Added 2026-05-13 as part of A+ a11y pass.
   ============================================================ */
:focus-visible {
  outline: 2px solid #c0392b;
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid #c0392b;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Report audio (podcast player, per production README §11) ── */
.report-audio {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid #c0392b;
}

.report-audio-label {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A8A8A8;
  display: block;
  margin-bottom: 4px;
}

.report-audio-title {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.84rem;
  color: #c0392b;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 12px;
}

.report-audio audio {
  width: 100%;
  display: block;
}

.report-audio-note {
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: #A8A8A8;
  letter-spacing: 0.02em;
  display: block;
  margin-top: 10px;
}

.report-audio-note a { color: #dddad5; }

/* Substack link footer on each report page */
.substack-return {
  margin: 32px 0 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: 'Atkinson Hyperlegible Mono', 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  color: #A8A8A8;
  letter-spacing: 0.02em;
}

.substack-return a { color: #c0392b; text-decoration: none; }
.substack-return a:hover { color: #F2EFEA; }
