/* Issue-archive extensions. Reuses ../style.css — no redesign, same type scale
   and rules as the pillar pages. */

/* ---------- shared kicker ---------- */
.issue-kicker {
  font-family: var(--mono); font-size: 11px;
  color: var(--red); letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700;
  margin-bottom: 16px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline;
}
.issue-kicker .issue-sep { color: var(--line-2); }

/* ---------- index ---------- */
.issue-index-hero {
  max-width: 880px; margin: 0 auto;
  padding: 64px 40px 32px;
}
.issue-index-title {
  font-family: var(--serif); font-weight: 700;
  font-size: 52px; line-height: 1.06; letter-spacing: -0.02em;
  margin: 0 0 18px; color: var(--ink);
}
.issue-index-deck {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.45;
  color: var(--ink-2); margin: 0; max-width: 640px;
}
.issue-index-body {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 40px 48px;
}
.issue-list {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 800px;
}
.issue-row { border-bottom: 1px solid var(--line); }
.issue-row:last-child { border-bottom: 0; }
.issue-row-link {
  display: block; padding: 26px 0;
  border: 0; color: inherit; text-decoration: none;
}
.issue-row-link:hover { border: 0; }
.issue-row-link:hover .issue-row-title { color: var(--red); }
.issue-row-meta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px;
}
.issue-row-no { color: var(--red); }
.issue-row-title {
  font-family: var(--serif); font-weight: 700;
  font-size: 27px; line-height: 1.2; letter-spacing: -0.01em;
  margin: 0 0 8px; color: var(--ink);
  transition: color 120ms ease;
}
.issue-row-dek {
  font-family: var(--serif); font-size: 18px; line-height: 1.5;
  color: var(--ink-2); margin: 0; max-width: 660px;
}
.issue-index-foot {
  max-width: 800px; margin: 32px auto 0;
  font-size: 14px; color: var(--ink-3);
}

/* ---------- single issue ---------- */
.issue-hero {
  max-width: 880px; margin: 0 auto;
  padding: 64px 40px 36px;
}
.issue-title {
  font-family: var(--serif); font-weight: 700;
  font-size: 48px; line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 18px; color: var(--ink);
}
.issue-deck {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.45;
  color: var(--ink-2); margin: 0 0 24px; max-width: 680px;
}
/* Archive provenance. These pages reproduce what was sent on a date; the
   figures inside them are not restated, so the framing has to say so. */
.issue-provenance {
  font-family: var(--sans); font-size: 13px; line-height: 1.6;
  color: var(--ink-3); margin: 0; max-width: 680px;
  padding-left: 14px; border-left: 2px solid var(--line-2);
}
.issue-body {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 40px 64px;
}
.issue-body .prose { max-width: 740px; margin: 0 auto; }
.issue-body .prose hr {
  border: 0; border-top: 1px solid var(--line);
  margin: 34px 0;
}

/* ---------- in-body blocks ---------- */
.issue-block { margin: 28px 0; }
.issue-block > :first-child { margin-top: 0; }
.issue-block > :last-child { margin-bottom: 0; }

/* Abbott's List — recurring standing block, per the build brief. */
.issue-block-abbotts-list {
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  padding: 24px 28px;
}
.issue-block-abbotts-list ol { padding-left: 20px; margin: 12px 0 0; }
.issue-block-abbotts-list li { margin: 10px 0; }

/* Editor's note — corrections published after the issue went out. */
.issue-block-editor-note {
  background: var(--paper);
  border: 1px solid var(--line-2);
  padding: 20px 24px;
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2);
}
.issue-block-editor-note p { margin: 0; }

/* Definition box — HOUSE-STANDARDS G. Markdown emits a bare <blockquote>. */
.issue-body .prose blockquote {
  background: var(--paper);
  border: 0;
  border-left: 4px solid var(--red);
  border-radius: 0;
  margin: 28px 0;
  padding: 20px 24px;
  color: var(--ink);
}
.issue-body .prose blockquote p { margin: 0; }

/* ---------- standing footer ---------- */
.issue-why {
  max-width: 740px; margin: 0 auto;
  padding: 48px 40px 8px;
}
.issue-why h3 {
  font-family: var(--serif); font-weight: 700;
  font-size: 22px; margin: 0 0 12px; color: var(--ink);
}
.issue-why p {
  font-family: var(--serif); font-size: 17px; line-height: 1.6;
  color: var(--ink-2); margin: 0;
}
.issue-why-num { font-family: var(--mono); font-weight: 700; color: var(--ink); }
/* `.issue-why p` zeroes the margin, so the per-issue proof line needs its own
   gap or it runs into the standing sentence. Same override shape as -asof. */
.issue-why-proof { margin-top: 12px !important; }
.issue-why-asof {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 10px !important;
}

/* ---------- prev/next ---------- */
.issue-nav {
  max-width: 740px; margin: 32px auto 0;
  padding: 0 40px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.issue-nav a { border: 0; color: var(--ink-3); }
.issue-nav a:hover { color: var(--red); }
.issue-nav-next { margin-left: auto; }

/* ---------- subscribe ---------- */
.issue-sub {
  max-width: 740px; margin: 0 auto;
  padding: 44px 40px 64px;
  text-align: center;
}
.issue-sub h3 {
  font-family: var(--serif); font-weight: 700;
  font-size: 28px; line-height: 1.2; margin: 8px 0 10px;
}
.issue-sub p { color: var(--ink-2); margin: 0 0 20px; }
.issue-sub .sub-form { justify-content: center; }

@media (max-width: 768px) {
  .issue-index-hero { padding: 36px 24px 24px; }
  .issue-index-title { font-size: 34px; }
  .issue-index-deck { font-size: 18px; }
  .issue-index-body { padding: 28px 24px 36px; }
  .issue-row-title { font-size: 22px; }
  .issue-row-dek { font-size: 16.5px; }
  .issue-hero { padding: 36px 24px 26px; }
  .issue-title { font-size: 32px; }
  .issue-deck { font-size: 18px; }
  .issue-body { padding: 40px 24px 48px; }
  .issue-block-abbotts-list { padding: 18px 20px; }
  .issue-why { padding: 36px 24px 8px; }
  .issue-nav { padding: 0 24px; }
  .issue-sub { padding: 32px 24px 48px; }
  .issue-sub h3 { font-size: 22px; }
}

/* ============================================================
   Issue #005 — two new issue-block types
   Appended 2026-08-22 by Claude (bus 2026-08-22-001)
   Extends the existing .cor-bar / .w-bar idiom. No new dependencies.
   Tokens used are the canonical :root vars from style.css.
   ============================================================ */

/* ---------- :::figure-two-queues ---------- */

.issue-block-figure-two-queues {
  margin: 44px 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.issue-block-figure-two-queues table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.issue-block-figure-two-queues thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--line);
}

/* the audited column carries the accent rule */
.issue-block-figure-two-queues thead th:nth-child(2) {
  color: var(--red);
  box-shadow: inset 0 3px 0 var(--red);
}

.issue-block-figure-two-queues tbody td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.issue-block-figure-two-queues tbody tr:last-child td { border-bottom: 0; }

.issue-block-figure-two-queues tbody td:first-child {
  color: var(--ink-3);
  width: 34%;
}

.issue-block-figure-two-queues tbody td:nth-child(2) {
  font-family: var(--mono);
  font-weight: 600;
  background: var(--red-soft);
}

.issue-block-figure-two-queues tbody td:nth-child(3) {
  font-family: var(--mono);
  font-weight: 600;
}

.issue-block-figure-two-queues tbody tr:last-child td:nth-child(3) {
  color: var(--red);
}

/* ---------- :::figure-vintage ---------- */

.issue-block-figure-vintage {
  margin: 44px 0;
  padding: 28px 4px 8px;
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.issue-block-figure-vintage > p:first-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 22px;
}

.issue-block-figure-vintage table { width: 100%; border-collapse: collapse; }
.issue-block-figure-vintage thead { position: absolute; left: -9999px; } /* visually hidden */

.issue-block-figure-vintage tbody tr {
  display: grid;
  grid-template-columns: 62px 1fr 58px;
  align-items: center;
  gap: 14px;
  padding: 3px 0;
}

.issue-block-figure-vintage tbody td {
  font-family: var(--mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  border: 0;
  padding: 0;
}

.issue-block-figure-vintage tbody td:first-child { color: var(--ink-3); }

/* the bar itself — width driven by --w, set by the shared issue JS */
.issue-block-figure-vintage tbody td:nth-child(2) {
  height: 20px;
  background: var(--line);
  position: relative;
}

.issue-block-figure-vintage tbody td:nth-child(2)::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: var(--line-2);
  transition: width 0.6s ease;
}

/* pre-2024 cohort is the point of the chart */
.issue-block-figure-vintage tbody tr.is-aged td:nth-child(2)::after { background: var(--red); }
.issue-block-figure-vintage tbody tr.is-aged td:last-child { color: var(--red); font-weight: 600; }

.issue-block-figure-vintage tbody td:last-child { text-align: right; color: var(--ink); }

@media (max-width: 480px) {
  .issue-block-figure-vintage tbody tr { grid-template-columns: 48px 1fr 46px; gap: 10px; }
  .issue-block-figure-two-queues table { font-size: 13px; }
  .issue-block-figure-two-queues tbody td { padding: 11px 13px; }
}

/* ---------- Issue #005 — figure captions + Abbott's List table ----------
   Added 2026-08-25 (CoWork, web edition of #005). Captions carry the figure's
   numbers in text so the argument survives with images off — the same fix
   applied to the email edition's empty captions (bus 2026-08-24-002 §B2). */

.issue-block-figure-two-queues > p,
.issue-block-figure-vintage > p:not(:first-child),
.issue-block-abbotts-list > p:last-child {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}
.issue-block-figure-two-queues > p {
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line);
}
.issue-block-figure-vintage > p:not(:first-child) { padding: 18px 0 14px; }

.issue-block-abbotts-list > p:first-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 14px;
}
.issue-block-abbotts-list table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 15px;
  margin: 0 0 16px;
}
.issue-block-abbotts-list thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--red);
}
.issue-block-abbotts-list tbody td {
  padding: 10px 10px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.issue-block-abbotts-list tbody tr:last-child td { border-bottom: 0; }
.issue-block-abbotts-list tbody td:nth-child(2),
.issue-block-abbotts-list tbody td:nth-child(3) {
  font-family: var(--mono);
  font-weight: 600;
  width: 18%;
}
.issue-block-abbotts-list tbody td:nth-child(3) { color: var(--red); }
.issue-block-abbotts-list tbody tr:nth-child(3) td:first-child { font-weight: 600; }
@media (max-width: 480px) {
  .issue-block-abbotts-list table { font-size: 13px; }
}

/* ============================================================
   Issue #006 — :::figure, the raster-figure block
   Appended 2026-08-30 by Claude (bus 2026-08-30-002)

   #006's three figures are charts, not tables, so they ship as the
   gate-passed PNGs rather than as the #005-style native blocks. The
   caveat lines are rendered inside the artwork (standard F), so the
   block deliberately has no visible caption — the same surface the
   email carries. The alt text carries the caveats for images-off and
   screen-reader readers.

   `.prose img` had no rule before this; an unstyled <img> renders at
   its intrinsic 1200px and overflows the 740px prose column.
   ============================================================ */

.issue-block-figure { margin: 44px 0; }
.issue-block-figure p { margin: 0; }
.issue-block-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

/* ============================================================
   Subscribe gate — bus 2026-08-30-005 (Fabian ruling: preview + gate)
   Inherits .issue-sub; the top rule marks where the preview ends so the
   cut reads as deliberate rather than as a truncated page.
   ============================================================ */
.issue-gate {
  border-top: 3px solid var(--red);
  background: var(--paper);
  margin-top: 8px;
  max-width: none;
  padding-left: 40px;
  padding-right: 40px;
}
.issue-gate > * { max-width: 740px; margin-left: auto; margin-right: auto; }
.issue-gate-already {
  font-size: 14px;
  color: var(--ink-3);
  margin: 22px 0 0 !important;
}

@media (max-width: 768px) {
  .issue-gate { padding-left: 24px; padding-right: 24px; }
}
