/* ==========================================================================
   Parallel Machines / pages / issue.css
   The shared issue template (issues/001-003.html): a cinematic cover plate
   (treated footage: the machine as a toned print, its dot-matrix twin beside it),
   the scattered serif title and the "No. 00N" tag, then an editorial body on paper
   with a sticky contents rail, margin notes, figures, pull quotes, numbered notes,
   a reading-progress hairline and the next issue.
   System rule: solid = the machine / now; dots = the twin / the record.
   Bound numbers carry it too: a solid underline = live, a dotted underline = the record.
   Reads the core tokens only (tokens.css); loads after components.css, footage.css, charts.css.
   ========================================================================== */

/* ---------- page ---------- */
.issue-page { background: var(--paper); }
/* over the ink cover the header's moving "glass" is ink, not the sky's deep blue */
.issue-page .site-header[data-theme="sky"].is-moved:not(.is-scrolled):not(.menu-open) {
  background-color: rgba(5, 10, 42, .74);
  border-bottom-color: rgba(255, 255, 255, .14);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .issue-page .site-header[data-theme="sky"].is-moved:not(.is-scrolled):not(.menu-open) { background-color: #050A2A; }
}

/* ==========================================================================
   Cover
   ========================================================================== */
.issue-cover {
  --cover-ink: #050A2A;
  --cover-plate-w: 74%;
  --cover-focus-x: 50%;
  --cover-focus-y: 50%;
  --cover-fade: 30%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 640px;
  height: 100vh;
  height: 100svh;
  max-height: 920px;
  background-color: var(--cover-ink);
  background-image:
    radial-gradient(70% 80% at 72% 46%, rgba(15, 36, 102, .9) 0%, rgba(15, 36, 102, 0) 70%),
    linear-gradient(180deg, #060C33 0%, var(--cover-ink) 100%);
  color: var(--fg);
}
.issue-cover > .grain { z-index: -2; }
.issue-cover::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: 132px;
  background: linear-gradient(0deg, rgba(5, 10, 42, .9) 0%, rgba(5, 10, 42, .55) 46%, rgba(5, 10, 42, 0) 100%);
  pointer-events: none;
}
.issue-cover .grain::before { opacity: calc(var(--grain-opacity) * .7); }

/* the plate: the treated footage, right ~3/4 of the cover, feathered into the ink */
.issue-cover__media {
  position: absolute;
  z-index: -1;
  top: 0; right: 0; bottom: 0;
  width: var(--cover-plate-w);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) calc(var(--cover-fade) * .47), #000 var(--cover-fade)), linear-gradient(0deg, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) calc(var(--cover-fade) * .47), #000 var(--cover-fade)), linear-gradient(0deg, transparent 0%, #000 16%);
  mask-composite: intersect;
}
.issue-cover__media .footage__stage { background: var(--cover-ink); }
.issue-cover__media .footage__poster { object-position: var(--cover-focus-x) var(--cover-focus-y); }
/* the nav stays legible over the top of the plate */
.issue-cover__media::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 240px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 10, 42, .92) 0%, rgba(5, 10, 42, .62) 38%, rgba(5, 10, 42, 0) 100%);
  pointer-events: none;
}

.issue-cover__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-content: center;
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 72px;
}
.issue-cover__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 30px);
  width: min(100%, 44rem);
  max-width: 50%;
}
.issue-cover__folio {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  font-family: var(--font-mono);
  color: var(--fg);
}
.issue-cover__no {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.issue-cover__kicker {
  font-size: var(--fs-label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.issue-cover__title {
  --scatter-size: clamp(3.25rem, 7.2vw, 7.25rem);
  --scatter-col: 1.04em;
  --scatter-row: 1.02em;
  margin-left: -.04em;
  text-shadow: 0 1px 24px rgba(5, 10, 42, .35);
}
.issue-cover__dek {
  max-width: 34ch;
  font-size: var(--fs-lead);
  line-height: 1.42;
  letter-spacing: -.005em;
  color: rgba(255, 255, 255, .9);
  text-wrap: pretty;
}
.issue-cover__meta,
.issue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.issue-cover__meta > * + *::before,
.issue-meta > * + *::before { content: "\00B7"; margin: 0 .7em; opacity: .55; }

/* the plate's foot: begin (left), the cover caption (right), on a hairline */
.issue-cover__foot {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 12px 0 16px;
  border-top: var(--hair) solid rgba(255, 255, 255, .14);
}
/* the cover's credit line: lowercase mono, as written (like .footage__cap and every fig. caption) */
.issue-cover__cap {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--tr-mono, .02em);
  text-align: right;
  text-transform: none;
  color: rgba(255, 255, 255, .7);
}
.issue-cover__begin {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg);
}
.issue-cover__begin .i { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease); }
.issue-cover__begin:hover .i { transform: translateY(3px); }
.issue-cover__begin::after {
  content: "";
  position: absolute;
  left: 2px; right: 26px; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur-2) var(--ease);
}
.issue-cover__begin:hover::after { transform: scaleX(1); }

/* a slow settle of the plate on load (the print developing); none under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html.js .issue-cover__media { animation: issue-develop 1.6s var(--ease) both; }
  html.js .issue-cover__cap, html.js .issue-cover__begin { animation: fade-in var(--dur-3) var(--ease) .6s both; }
}
@keyframes issue-develop {
  from { opacity: 0; transform: scale(1.025); filter: saturate(.6) brightness(.8); }
  to   { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 1023.98px) {
  .issue-cover { --cover-plate-w: 82%; }
  .issue-cover__copy { max-width: 58%; }
}
@media (max-width: 767.98px) {
  .issue-cover {
    height: auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-h);
  }
  .issue-cover__media {
    position: relative;
    z-index: 0;
    order: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 22%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .issue-cover__media::after { height: 64px; background: linear-gradient(180deg, rgba(5, 10, 42, .7) 0%, rgba(5, 10, 42, 0) 100%); }
  .issue-cover__media .footage { position: absolute; inset: 0; }
  .issue-cover__media .footage__poster { object-position: var(--cover-focus-x-sm, var(--cover-focus-x)) var(--cover-focus-y); }
  .issue-cover__inner {
    order: 1;
    height: auto;
    margin-top: -12px;
    padding-top: 0;
    padding-bottom: 28px;
  }
  .issue-cover__copy { max-width: none; gap: 20px; }
  .issue-cover__title { --scatter-size: clamp(3rem, 14.5vw, 4.25rem); --scatter-col: 1.05em; }
  .issue-cover__dek { font-size: 1.125rem; }
  .issue-cover__foot {
    position: static;
    order: 2;
    padding: 14px 0 22px;
  }
  .issue-cover__cap { text-align: left; }
  .issue-cover__begin { display: none; }
}

/* ==========================================================================
   Body
   ========================================================================== */
.issue-body {
  position: relative;
  padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 112px);
}
.issue-layout {
  width: min(100% - 2 * var(--page-margin), var(--max));
  margin-inline: auto;
}
.issue-main {
  --text-w: 680px;
  display: grid;
  grid-template-columns:
    [wide-start] minmax(0, 1fr)
    [text-start note-start] minmax(0, var(--text-w)) [text-end note-end]
    minmax(0, 1fr) [wide-end];
  row-gap: 0;
  min-width: 0;
}
.issue-main > * { grid-column: text; min-width: 0; }
.issue-main > .is-wide { grid-column: wide; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .issue-main > .is-wide { grid-column: wide; width: 100%; max-width: calc(var(--text-w) + 200px); justify-self: center; }
}

/* the contents rail (desktop) */
.issue-rail { display: none; }
@media (min-width: 1200px) {
  .issue-layout {
    display: grid;
    grid-template-columns: 196px minmax(0, 1fr);
    column-gap: clamp(40px, 5vw, 88px);
    align-items: start;
  }
  .issue-main {
    --text-w: 640px;
    grid-template-columns:
      [text-start wide-start] minmax(0, var(--text-w)) [text-end]
      minmax(24px, 56px)
      [note-start] minmax(0, 248px) [note-end wide-end];
    justify-content: start;
  }
  .issue-main > .is-wide { grid-column: wide; }
  .issue-rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 40px);
    padding-top: 4px;
  }
}

.issue-rail__no {
  display: block;
  padding-bottom: 12px;
  border-bottom: var(--hair) solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--fg);
}
.issue-rail__label {
  margin: 18px 0 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
.issue-toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.issue-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 4px;
  padding: 5px 0 5px 14px;
  font-size: .8125rem;
  line-height: 1.35;
  color: var(--fg-3);
  transition: color var(--dur-1) var(--ease);
}
.issue-toc a::before {
  /* the marker: a dotted (record) square, solid (now) for the section in view */
  content: "";
  position: absolute;
  left: 0; top: .82em;
  width: 6px; height: 6px;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: .55;
}
.issue-toc a span:first-child { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .04em; padding-top: 1px; }
.issue-toc a:hover { color: var(--fg); }
.issue-toc a[aria-current="true"] { color: var(--fg); }
.issue-toc a[aria-current="true"]::before { background: currentColor; box-shadow: none; opacity: 1; }
.issue-rail__share { display: grid; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: var(--hair) solid var(--line); }
.issue-rail__share a, .issue-rail__share button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .04em;
  color: var(--fg-2);
}
.issue-rail__share a:hover, .issue-rail__share button:hover { color: var(--accent); }
.issue-rail__share .i { width: 11px; height: 11px; }

/* ---------- prose ---------- */
.issue-prose { color: var(--ink); }
.issue-main > p,
.issue-main .with-note > p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.66;
  color: #10164A;
  text-wrap: pretty;
  hanging-punctuation: first;
}
@media (min-width: 768px) {
  .issue-main > p, .issue-main .with-note > p { font-size: 1.125rem; line-height: 1.68; }
}
.issue-main > p + p,
.issue-main > p + .with-note,
.issue-main > .with-note + p,
.issue-main > .with-note + .with-note { margin-top: 1.05em; }
.issue-main > ul.issue-list + p, .issue-main > p + ul.issue-list { margin-top: 1.05em; }
.issue-main > .issue-lede { margin-top: 0; }
.issue-main p a:not(.fn-ref):not(.fn-back),
.issue-main li a:not(.fn-ref):not(.fn-back),
.issue-end a:not(.fn-ref):not(.btn):not(.fn-back) {
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--line-strong), var(--line-strong));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  padding-bottom: .06em;
  transition: background-size var(--dur-2) var(--ease), color var(--dur-1) var(--ease);
}
.issue-main p a:not(.fn-ref):not(.fn-back):hover,
.issue-main li a:not(.fn-ref):not(.fn-back):hover,
.issue-end a:not(.fn-ref):not(.btn):not(.fn-back):hover { background-size: 100% 1px, 100% 1px; color: var(--accent); }

/* drop cap: Instrument Serif, three lines, with a dotted twin step behind it */
.issue-lede.dropcap::first-letter {
  font-size: 1em;
  color: var(--ink);
  margin-right: .14em;
}
@supports not ((initial-letter: 3) or (-webkit-initial-letter: 3)) {
  .issue-lede.dropcap::first-letter { font-size: 4.3em; line-height: .8; margin: .08em .1em 0 -.03em; }
}

/* section heads: mono § index on a hairline, serif title */
.issue-h2 {
  margin: clamp(56px, 6vw, 80px) 0 22px;
  padding-top: 14px;
  border-top: var(--hair) solid var(--line-strong);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.625rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.008em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 28px);
  text-wrap: balance;
}
.issue-h2__no {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
.issue-h2__count {
  font-family: var(--font-mono);
  font-size: .34em;
  letter-spacing: .04em;
  vertical-align: .9em;
  margin-left: .5em;
  color: var(--fg-3);
}
.issue-main > .issue-h2:first-child { margin-top: 0; }

/* module list (No. 001) */
.issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #10164A;
}
@media (min-width: 768px) { .issue-list { font-size: 1.0625rem; } }
.issue-list li {
  position: relative;
  padding-left: 26px;
}
.issue-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 8px; height: 8px;
  background: var(--ink);
}
.issue-list li strong { font-weight: 600; color: var(--ink); }

/* pull quotes: wider than the text, serif, with the rule's dotted twin (components.css) */
.issue-main > .pullquote { margin: clamp(48px, 6vw, 72px) 0; }
.issue-main > .pullquote p { font-size: clamp(1.875rem, 3.3vw, 3rem); line-height: 1.06; max-width: 22ch; text-indent: 0; }
.issue-main > .pullquote cite { margin-top: 18px; }

/* figures inside the essay */
.issue-main > .fig,
.issue-main > .issue-figure { margin: clamp(40px, 5vw, 64px) 0; }
.issue-main > .fig .fig__title { font-size: clamp(1.375rem, 1.8vw, 1.75rem); }
.issue-figure .footage__cap { margin-top: 12px; }
.fig__src a { overflow-wrap: anywhere; }

/* margin notes: beside the paragraph on wide screens, under it otherwise */
.with-note { display: block; }
.issue-note {
  position: relative;
  margin: 14px 0 0;
  padding: 2px 0 2px 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  letter-spacing: .02em;
  color: var(--fg-3);
}
.issue-note::before {
  content: "";
  position: absolute;
  top: 2px; bottom: 2px; left: 0;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--dot-color) 0 2px, transparent 2px 5px);
  opacity: .7;
}
.issue-note strong { font-weight: 500; color: var(--fg); letter-spacing: .06em; }
.issue-note p + p { margin-top: .5em; }
.issue-main > .with-note.with-note--head { margin-top: clamp(56px, 6vw, 80px); }
.with-note--head > .issue-h2 { margin-top: 0; }
@media (min-width: 1200px) {
  @supports (grid-template-columns: subgrid) {
    .issue-main > .with-note.with-note--head { grid-template-rows: auto 1fr; }
    .with-note--head > .issue-h2 { grid-column: text-start / text-end; grid-row: 1; }
    .with-note--head > p { grid-row: 2; }
    .with-note--head > .issue-note { grid-row: 1 / span 2; margin-top: 15px; }
  }
}
@media (min-width: 1200px) {
  @supports (grid-template-columns: subgrid) {
    .issue-main > .with-note {
      grid-column: text-start / note-end;
      display: grid;
      grid-template-columns: subgrid;
      align-items: start;
    }
    .with-note > p { grid-column: text-start / text-end; }
    .with-note > .issue-note { grid-column: note-start / note-end; margin: .35em 0 0; }
  }
}

/* ---------- bound numbers: solid = live, dotted = record ---------- */
.bind { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.bind--record, .bind--live {
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: .08em;
}
.bind--record { background-image: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px); background-size: 100% 1px; }
.bind--live { background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1.5px; font-weight: 500; }
.bind[data-state="pending"] { opacity: .55; }
.bind.is-ticked { animation: tick-flash var(--dur-2) var(--ease); }

/* stamps: LIVE · block … / SNAPSHOT · date / RECORD · date */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg);
}
.stamp .status-dot { margin: 0; }
.stamp--record::before { content: ""; width: 6px; height: 6px; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 2px); box-shadow: inset 0 0 0 1px currentColor; }

/* the legend that opens a data essay */
.issue-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .04em;
  color: var(--fg-2);
}
.issue-legend__key { display: inline-flex; align-items: center; gap: 8px; }
.issue-legend__key b { font-weight: 500; color: var(--fg); }
.issue-legend + .issue-h2 { margin-top: 10px; }
.mix-per { margin-top: 14px; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .04em; color: var(--fg-2); }
.pulse-head__meta .live-status { font-size: var(--fs-micro); }
.issue-legend__key .sw { width: 26px; }
.issue-legend .live-chip { min-height: 26px; }

/* methodology box (No. 002) */
.issue-method {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 20px 22px 18px 26px;
}
.issue-method .note__label { margin-bottom: 10px; }
.issue-method ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.issue-method li { font-size: .9063rem; line-height: 1.55; }
.issue-method li strong { font-weight: 600; color: var(--fg); }

/* ---------- end matter ---------- */
.issue-end {
  margin-top: clamp(64px, 7vw, 96px);
  display: grid;
  gap: clamp(36px, 4vw, 48px);
}
.issue-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 0;
  border-top: var(--hair) solid var(--line-strong);
  border-bottom: var(--hair) solid var(--line);
}
.issue-share__t { font-family: var(--font-serif); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; }
.issue-share .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.issue-share [data-copied] { min-width: 9.5em; }
.issue-colophon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
}
.issue-colophon div { padding-top: 10px; border-top: var(--hair) solid var(--line); }
@media (min-width: 768px) { .issue-colophon { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.issue-colophon dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
.issue-colophon dd { margin: 0; color: var(--fg); }
/* "Check our work": the data files and how to reproduce; the correction line runs the full width under them */
.issue-colophon__files .sep { color: var(--fg-3); }
.issue-colophon__files a[href$=".json"] { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: var(--tr-mono); }
.issue-colophon__wide { grid-column: 1 / -1; }
.issue-end .footnotes { font-size: .875rem; }
.issue-end .footnotes li { padding-left: 2.4em; }
.issue-end .footnotes li em { font-style: italic; }
.issue-end .footnotes .fn-back { display: inline-flex; align-items: center; vertical-align: -.1em; }
.issue-end .footnotes .fn-back .i { width: 11px; height: 11px; }

/* ---------- footnote peek (hover / focus on a reference) ---------- */
.fn-peek {
  position: fixed;
  z-index: var(--z-tooltip);
  left: 0; top: 0;
  width: min(360px, calc(100vw - 24px));
  padding: 12px 14px 12px 16px;
  border: var(--hair) solid var(--line-on-paper-strong);
  border-radius: var(--r-1);
  background: var(--white);
  box-shadow: var(--shadow-float);
  color: var(--ink-2);
  font-size: .8125rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.fn-peek.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fn-peek__n { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .06em; color: var(--ink-3); }
.fn-peek a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-on-paper-strong); text-underline-offset: 2px; overflow-wrap: anywhere; }
.fn-peek .fn-back { display: none; }

/* ---------- next issue ---------- */
.issue-next {
  padding-block: clamp(56px, 7vw, 96px);
  background-image: linear-gradient(180deg, #0A1566 0%, #070E3A 100%);
  border-bottom: var(--hair) solid rgba(255, 255, 255, .1);
}
.issue-next__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .issue-next__card { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); }
}
.issue-next__label {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-2);
}
.issue-next__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.issue-next__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 94%; background-repeat: no-repeat; transition: background-size var(--dur-2) var(--ease); }
.issue-next__card:hover .issue-next__title a { background-size: 100% 1px; }
.issue-next__label > * + *::before { content: "\00B7"; margin: 0 .7em; opacity: .55; }
.issue-next__abstract { max-width: 46ch; margin-top: 18px; color: var(--fg-2); }
.issue-next__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tr-label); text-transform: uppercase; }
.issue-next__go .i { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease); }
.issue-next__card:hover .issue-next__go .i { transform: translateX(4px); }
.issue-next__plate {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-1);
  background: var(--print-1);
}
.issue-next__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease); }
.issue-next__card:hover .issue-next__plate img { transform: scale(1.025); }
.issue-next__plate .issue-card__no { top: 12px; left: 12px; }
.issue-next__all { margin-top: 28px; }

/* ---------- reading progress: the header's bottom hairline fills as you read ---------- */
.issue-progress {
  position: fixed;
  z-index: calc(var(--z-header) + 1);
  left: 0; right: 0;
  top: calc(var(--header-h) - 1px);
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease);
}
.issue-progress.is-on { opacity: 1; }
.issue-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px);
  opacity: .22;
}
.issue-progress i {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}
html.menu-is-open .issue-progress { opacity: 0; }

/* ==========================================================================
   Issue figures
   ========================================================================== */

/* No. 001 · fig. 01: anatomy of a peaqID */
.did {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  border: var(--hair) solid var(--line);
  border-radius: var(--r-1);
  background: var(--card);
}
.did__string {
  font-family: var(--font-mono);
  font-size: clamp(.8125rem, 1.15vw, .9375rem);
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-all;
}
.did__seg { position: relative; padding-bottom: 3px; }
.did__seg--scheme { color: var(--ink-3); background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; }
.did__seg--method { font-weight: 500; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%; }
.did__seg--id { background-image: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; }
.did__parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
}
.did__parts div { padding-top: 10px; border-top: var(--hair) solid var(--ink-3); }
.did__parts div:nth-child(2) { border-top: 2px solid var(--ink); padding-top: 9px; }
.did__parts div:last-child { border-top: 0; padding-top: 11px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px) 0 0 / 100% 1px no-repeat; }
.did__parts dt { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-3); }
.did__parts dd { margin: 4px 0 0; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.did__parts code { font-size: .8em; padding: .06em .3em; }
@media (max-width: 767.98px) { .did__parts { grid-template-columns: minmax(0, 1fr); } }

/* No. 001 · fig. 03: the machine and its record */
.twin-anatomy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: var(--hair) solid var(--line);
  border-radius: var(--r-1);
  overflow: hidden;
  background: var(--card);
}
.twin-anatomy__machine {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background: linear-gradient(180deg, #0B3A9C 0%, #0A1566 100%);
  color: var(--white);
}
.twin-anatomy__plate { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.twin-anatomy__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.twin-anatomy__plate img + img { transition: transform var(--dur-3) var(--ease); }
.twin-anatomy:hover .twin-anatomy__plate img + img { transform: translate(var(--twin-step-lg, 10px), calc(-1 * var(--twin-step-lg, 10px))); }   /* the twin moves up and to the right (image plate) */
.twin-anatomy__off { padding: 16px 18px 18px; border-top: var(--hair) solid rgba(255, 255, 255, .18); }
.twin-anatomy__h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
}
.twin-anatomy__h::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.twin-anatomy__record .twin-anatomy__h::before { background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 3px), repeating-linear-gradient(0deg, currentColor 0 2px, transparent 2px 3px); background-blend-mode: multiply; box-shadow: none; }
.twin-anatomy__off ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .875rem; color: rgba(255, 255, 255, .92); }
.twin-anatomy__off li::before { content: "\25A0"; display: inline-block; margin-right: 6px; font-size: .6em; vertical-align: .2em; }
.twin-anatomy__record { padding: 16px 18px 6px; color: var(--ink); }
.twin-anatomy__rows { list-style: none; padding: 0; margin: 0; }
.twin-anatomy__rows li {
  display: grid;
  grid-template-columns: 5.6em minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--line-strong);
}
.twin-anatomy__rows li:first-child { border-top: 0; }
.twin-anatomy__k { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-3); padding-top: 2px; }
.twin-anatomy__v { font-size: .9063rem; line-height: 1.4; }
.twin-anatomy__v b { font-weight: 600; }
.twin-anatomy__v small { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .02em; color: var(--fg-3); }
.twin-anatomy__rows .status { font-size: var(--fs-micro); }
@media (max-width: 767.98px) {
  .twin-anatomy { grid-template-columns: minmax(0, 1fr); }
  .twin-anatomy__rows li { grid-template-columns: 4.8em minmax(0, 1fr); }
  .twin-anatomy__rows .status { grid-column: 2; justify-self: start; }
}

/* No. 002 · fig. 01: the head counter above the river */
.pulse-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: 6px;
}
.pulse-head__n {
  font-family: var(--font-dots);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: .9;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.pulse-head__n .hash { opacity: .45; }
.pulse-head__meta { display: grid; gap: 4px; justify-items: end; text-align: right; }
@media (max-width: 767.98px) { .pulse-head__meta { justify-items: start; text-align: left; } }

/* No. 003 · fig. 01: one square per project */
.units { display: grid; gap: 10px; }
.units__row {
  display: grid;
  grid-template-columns: minmax(0, 11rem) 2.2em minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: var(--hair) solid var(--line);
}
.units__name { font-size: .9375rem; line-height: 1.25; }
.units__name a { color: inherit; }
.units__name a:hover { color: var(--accent); }
.units__n { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--fg-2); text-align: right; }
.units__cells { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.units__sum { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .04em; color: var(--fg-3); white-space: nowrap; text-align: right; }
.unit {
  --u: 24px;
  position: relative;
  width: var(--u);
  height: var(--u);
  cursor: default;
}
.unit--live { background: var(--ink); }
.unit--building { background: var(--ink); opacity: .32; }
.unit--announced { box-shadow: inset 0 0 0 1.5px var(--ink); }
.unit:hover, .unit:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .units.is-anim .unit { animation: unit-in var(--dur-2) var(--ease) both; animation-delay: calc(var(--k, 0) * 22ms); }
}
@keyframes unit-in { from { opacity: 0; transform: scale(.4); } }
@media (max-width: 767.98px) {
  .units__row { grid-template-columns: minmax(0, 1fr) 2em; }
  .units__cells { grid-column: 1 / -1; }
  .units__sum { grid-column: 1 / -1; text-align: left; }
  .unit { --u: 18px; }
}
.units-legend { margin-top: 4px; }

/* No. 003 · fig. 02: when they arrived */
.arrivals { position: relative; }
.arrivals svg { display: block; width: 100%; height: auto; overflow: visible; }
.arrivals .a-cell--live { fill: var(--ink); }
.arrivals .a-cell--building { fill: var(--ink); fill-opacity: .32; }
.arrivals .a-cell--announced { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.arrivals .a-cell { cursor: default; }
.arrivals .a-cell:hover { stroke: var(--electric); stroke-width: 2; }
.arrivals .a-axis { stroke: var(--line-strong); shape-rendering: crispEdges; }
.arrivals .a-year { stroke: var(--line); shape-rendering: crispEdges; }
.arrivals .a-tick { fill: var(--fg-3); font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; }
.arrivals .a-mark { stroke: var(--electric); stroke-width: 1; shape-rendering: crispEdges; }
.arrivals .a-mark-l { fill: var(--electric); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; }

/* No. 003 · sector plates in the margin */
.sector-plate { display: grid; gap: 8px; padding-left: 0; }
.sector-plate::before { display: none; }
.sector-plate__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-1); background: var(--sky); }
.sector-plate__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sector-plate__img img + img { transition: transform var(--dur-3) var(--ease); }
.with-note:hover .sector-plate__img img + img { transform: translate(var(--twin-step, 6px), calc(-1 * var(--twin-step, 6px))); }   /* a small plate: the small step */
.sector-plate__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.sector-plate__cap a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.sector-plate__dots { display: inline-flex; gap: 3px; align-items: center; }
.sector-plate__dots i { width: 7px; height: 7px; background: var(--ink); }
.sector-plate__dots i.b { opacity: .32; }
.sector-plate__dots i.a { background: none; box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 1199.98px) {
  .sector-plate { grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 16px; }
  .sector-plate__cap { flex-direction: column; justify-content: center; }
}
@media (max-width: 479.98px) {
  .sector-plate { grid-template-columns: 96px minmax(0, 1fr); }
}

/* project names bound from the dataset (No. 003) */
.eco-name {
  font-weight: 600;
  color: var(--ink);
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.eco-name:hover { text-decoration-color: currentColor; }

/* No. 003 · fig. 03 uses charts/dotbars.js; give it room */
.issue-main .pc-dotbars .pc-plot { --pc-h: 220px; }

/* ---------- print ---------- */
@media print {
  .issue-cover { height: auto; min-height: 0; color: #000; background: #fff; }
  .issue-cover__media, .issue-progress, .issue-rail, .issue-next, .issue-share, .issue-cover__begin { display: none !important; }
  .issue-cover__copy { max-width: none; }
}

/* No. 002 · the live chip on the cover */
.issue-cover__chip { margin-top: -8px; }
.issue-cover__chip .live-chip { border-color: rgba(255, 255, 255, .34); color: var(--white); }

/* No. 003 · fig. 03: machine types, each with its dot twin on a sky chip */
.units--machines .units__row { grid-template-columns: minmax(0, 11.5rem) 2.2em minmax(0, 1fr); padding: 4px 0; }
.units--machines .unit { --u: 16px; }
.units--machines .units__cells { gap: 4px; }
@media (min-width: 1024px) {
  .units--machines { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 7), auto); grid-auto-flow: column; column-gap: 40px; row-gap: 6px; }
}
.units__row--machine .units__name { display: inline-flex; align-items: center; gap: 12px; }
.units__icon { position: relative; flex: none; width: 48px; height: 36px; overflow: hidden; border-radius: var(--r-1); background: var(--sky); }
.units__icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.unit--machine {
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='2' height='2'/%3E%3C/svg%3E") 0 0 / 4.5px 4.5px repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='2' height='2'/%3E%3C/svg%3E") 0 0 / 4.5px 4.5px repeat;
}
@media (max-width: 767.98px) {
  .units--machines .units__row { grid-template-columns: minmax(0, 1fr) 2em; }
}
.sector-plate__status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
a.eco-name { cursor: pointer; transition: color var(--dur-1) var(--ease); }
a.eco-name:hover { color: var(--accent); text-decoration-color: currentColor; }
