/* Prime Insight — briefing.css
   A research paper, not a news site: white ground, navy ink, brass rules, stone panels.
   Spectral for reading, Inter Tight for labels and figures. Hand-written, no framework. */

:root {
  --ink: #14213D;
  --ink-2: #46506A;
  --ink-3: #687086;
  --brass: #A67C00;
  --brass-deep: #7A5B00;
  --stone: #F4F1EA;
  --stone-edge: #E3DED1;
  --hair: #DADDE4;
  --paper: #FFFFFF;
  --serif: "Spectral", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sheet-pad: clamp(20px, 5vw, 56px);
  --margin-w: 184px;
  --gutter: 56px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--brass-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 1px; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

.sheet {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--sheet-pad);
}

.unseen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-to {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 14px;
  font-size: 14px; text-decoration: none;
}
.skip-to:focus { top: 12px; color: #fff; }

/* ---------- masthead ---------- */

.masthead { border-bottom: 1px solid var(--brass); }

.masthead-row {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  padding-block: 22px;
}

.imprint {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.imprint:hover { color: var(--ink); }
.imprint-mark { flex: none; }
.imprint-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.62rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.masthead-strap {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid var(--stone-edge);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contents { margin-left: auto; }
.contents ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
}
.contents a {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.contents a:hover { color: var(--ink); border-bottom-color: var(--brass); }

/* ---------- shared labels ---------- */

.flagline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums lining-nums;
}
.flagline > * + * {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--stone-edge);
}
.flagline a { text-decoration: none; }
.flagline a:hover { text-decoration: underline; }
.flagline-label { color: var(--brass-deep); font-weight: 600; }

.standfirst {
  margin-top: 22px;
  max-width: 46ch;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.38;
  color: var(--ink-2);
}

.onward {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--brass);
}
.onward::after { content: "\2192"; margin-left: 0.5em; }
.onward:hover { color: var(--ink); border-bottom-width: 2px; padding-bottom: 2px; }

/* ---------- plates (photographs, shown wide and short) ---------- */

.plate img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: center;
  background: var(--stone);
}
.plate-paper { margin-top: 40px; }

/* ---------- front page: this week's briefing ---------- */

.frontispiece { padding-top: clamp(40px, 6vw, 72px); }

.frontispiece-title {
  margin-top: 22px;
  max-width: 1000px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 5.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
.frontispiece-title a { text-decoration: none; }
.frontispiece-title a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--brass); text-underline-offset: 0.12em; }

.frontispiece .plate { margin-top: clamp(32px, 4vw, 48px); }
.frontispiece .plate img { aspect-ratio: 3 / 1; }

.frontispiece-exhibits {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px var(--gutter);
  margin-top: clamp(32px, 4vw, 48px);
}

.frontispiece-fig {
  display: none;
  flex: 7 1 420px;
  min-width: 0;
  border-top: 1px solid var(--brass);
  padding-top: 16px;
}
.frontispiece-fig[data-part="the_chart"], .frontispiece-fig.specimen { display: block; }

.frontispiece-fig h3,
.resolution h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------- the decision panel (teaser, notes) ---------- */

.resolution {
  background: var(--stone);
  border-top: 3px solid var(--brass);
  padding: 22px 28px 28px;
}
.resolution h3 { color: var(--brass-deep); }
.resolution p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.42;
}
.resolution .onward { margin-top: 22px; }
.resolution-teaser { flex: 5 1 300px; min-width: 0; }
.room-note { max-width: 640px; }

/* ---------- folios: a marginal head and its matter ---------- */

.folio {
  display: grid;
  grid-template-columns: var(--margin-w) minmax(0, 1fr);
  column-gap: var(--gutter);
  row-gap: 24px;
  margin-top: clamp(56px, 7vw, 88px);
}
.folio::before {
  content: "";
  grid-column: 1 / -1;
  border-top: 1px solid var(--brass);
}
.folio-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.005em;
}
.folio-matter { min-width: 0; }
.folio-matter.prose { max-width: 680px; }
.folio-onward { margin-top: 30px; }

/* ---------- digests (secondary stories) ---------- */

.digest-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
}
.digest-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums lining-nums;
}
.digest-line a { color: var(--brass-deep); font-weight: 600; text-decoration: none; }
.digest-line a:hover { text-decoration: underline; }
.digest h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.digest h3 a { text-decoration: none; }
.digest h3 a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; }
.digest-dek {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.digest-decision {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
}
.digest-decision b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.digest-solo .digest { max-width: 720px; }
.digest-solo .digest h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 300; line-height: 1.08; }
.digest-solo .digest-dek { font-size: 1.2rem; }

/* ---------- the register: a ruled table of title, kind, subject, date ---------- */

.register-head,
.register-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 176px;
  column-gap: 24px;
  align-items: baseline;
}
.register-head {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.register { list-style: none; padding: 0; }
.register-row {
  padding: 15px 0 14px;
  border-bottom: 1px solid var(--hair);
  font-size: 0.86rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums lining-nums;
}
.register-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.16rem;
  line-height: 1.28;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
}
.register-title:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; }
.register-kind {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.register-kind[data-kind="briefing"]::after { content: "Briefing"; }
.register-kind[data-kind="sector_note"]::after { content: "Sector note"; }
.register-subject { text-decoration: none; }
.register-subject:hover { text-decoration: underline; }
.register-when { white-space: nowrap; }
.register-week { display: inline-block; min-width: 4.9em; color: var(--ink-3); }
.register-foot { margin-top: 16px; font-size: 0.82rem; color: var(--ink-2); max-width: 60ch; }
.register-blank {
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: none;
}

/* ---------- by subject ---------- */

.subjects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
}
.subject-col { border-top: 1px solid var(--ink); padding-top: 14px; }
.subject-col h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.36rem;
  line-height: 1.2;
}
.subject-col h3 a { text-decoration: none; }
.subject-col h3 a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; color: var(--ink); }
.subject-col ul { list-style: none; padding: 0; margin-top: 12px; }
.subject-col li { padding: 11px 0 10px; border-top: 1px solid var(--hair); }
.subject-col li a {
  display: block;
  font-family: var(--serif);
  font-size: 1.03rem;
  line-height: 1.3;
  text-decoration: none;
}
.subject-col li a:hover { text-decoration: underline; text-decoration-color: var(--brass); color: var(--ink); }
.subject-col time {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums lining-nums;
}
.subject-tally { padding-top: 11px; border-top: 1px solid var(--hair); font-size: 0.82rem; font-weight: 500; }
.subject-tally a { text-decoration: none; }
.subject-tally a::after { content: "\2192"; margin-left: 0.45em; color: var(--brass-deep); }
.subject-tally a:hover { text-decoration: underline; }
.subject-pending {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.03rem;
  color: var(--ink-2);
}

/* ---------- how a briefing is built ---------- */

.anatomy {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
}
.anatomy-n {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--brass);
  font-variant-numeric: lining-nums;
}
.anatomy h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.2;
}
.anatomy p { margin-top: 8px; font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- questions and ruled lists ---------- */

.questions { list-style: none; padding: 0; counter-reset: q; border-top: 1px solid var(--ink); }
.questions li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  align-items: baseline;
  padding: 16px 0 15px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.3;
}
.questions li::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brass-deep);
}

.scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.scope h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
}
.ruled { list-style: none; padding: 0; }
.ruled li {
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.3;
}

/* ---------- page heads (subject, about, method, not found) ---------- */

.pagehead { padding-top: clamp(44px, 6vw, 80px); }
.pagehead h1 {
  margin-top: 20px;
  max-width: 940px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
}

/* ---------- the paper (a briefing) ---------- */

.paper-head {
  display: grid;
  grid-template-columns: var(--margin-w) minmax(0, 1fr);
  column-gap: var(--gutter);
  padding-top: clamp(36px, 5vw, 60px);
}

.docket { font-size: 0.9rem; padding-top: 10px; }
.docket-kind {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  padding-bottom: 12px;
}
.docket-kind[data-kind="briefing"]::after { content: "The weekly briefing"; }
.docket-kind[data-kind="sector_note"]::after { content: "Sector note"; }
.docket-kind:empty:not([data-kind="briefing"]):not([data-kind="sector_note"]) { display: none; }
.docket dl > div { padding: 9px 0 10px; border-top: 1px solid var(--hair); }
.docket dl > div:last-child { border-bottom: 1px solid var(--hair); }
.docket dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.docket dd { margin-top: 2px; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.docket dd a { text-decoration-color: var(--brass); }

.print-cue {
  margin-top: 16px;
  padding: 7px 12px;
  font: 500 0.8rem/1.2 var(--sans);
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}
.print-cue:hover { background: var(--ink); color: #fff; }

.paper-title h1 {
  max-width: 820px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 4.7vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.016em;
}
.paper-title .standfirst { max-width: 44ch; }

.paper-parts {
  display: flex;
  flex-direction: column;
  counter-reset: part;
  margin-top: clamp(40px, 5vw, 64px);
}

/* Each part of a briefing: numbered head in the margin, matter in the main column. */
.exhibit {
  counter-increment: part;
  display: grid;
  grid-template-columns: var(--margin-w) minmax(0, 1fr);
  column-gap: var(--gutter);
  align-items: start;
  border-top: 1px solid var(--brass);
  padding: 24px 0 56px;
}
.exhibit > h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.005em;
}
.exhibit > h2::before {
  content: counter(part, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums lining-nums;
}
.exhibit-matter { min-width: 0; max-width: 680px; }

/* house order without script: chart, reading, watch, decision */
.paper[data-format] .exhibit-the-chart { order: -1; }
.paper[data-format] .exhibit-watch { order: 1; }
.paper[data-format] .exhibit-the-decision { order: 2; }

/* ---------- prose ---------- */

.prose { font-family: var(--serif); font-size: 1.25rem; line-height: 1.62; letter-spacing: 0; }
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration-color: var(--brass); }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }

code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: var(--stone);
  border: 1px solid var(--stone-edge);
  padding: 0.08em 0.36em;
  font-variant-ligatures: none;
}
pre {
  position: relative;
  margin: 1.5em 0;
  padding: 18px 20px;
  background: var(--stone);
  border-left: 2px solid var(--brass);
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; white-space: pre; }
pre[data-lang]::before {
  content: attr(data-lang);
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

/* ---------- the chart ---------- */
/* Without script: a ruled data list. With script (static/script/prime.js): bars. */

.exhibit-the-chart .exhibit-matter { max-width: 760px; }

[data-part="the_chart"] ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums lining-nums;
}
[data-part="the_chart"] li { padding: 10px 0; border-bottom: 1px solid var(--hair); }

[data-part="the_chart"] ul.plot {
  --pad-l: 0em;
  --pad-r: 4.4em;
  --zero: 0;
  border-top: 0;
}
[data-part="the_chart"] ul.plot-signed { --pad-l: 4.4em; }

.plot li {
  display: grid;
  grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  padding: 0;
  border-bottom: 0;
}
.plot-name { padding: 8px 0; line-height: 1.25; color: var(--ink); }
.plot-name small { display: block; margin-top: 2px; font-size: 0.76rem; color: var(--ink-3); }
.plot-track { position: relative; align-self: stretch; min-height: 38px; }
.plot-track::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--pad-l) + (100% - var(--pad-l) - var(--pad-r)) * var(--zero));
  width: 1px;
  background: var(--ink);
}
.plot-bar {
  position: absolute;
  top: 50%;
  height: 20px;
  margin-top: -10px;
  left: calc(var(--pad-l) + (100% - var(--pad-l) - var(--pad-r)) * var(--start));
  width: max(2px, calc((100% - var(--pad-l) - var(--pad-r)) * var(--share)));
  background: var(--ink);
  border-radius: 0 2px 2px 0;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.plot li.is-below .plot-bar { border-radius: 2px 0 0 2px; }
.plot-figure {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(var(--pad-l) + (100% - var(--pad-l) - var(--pad-r)) * var(--end) + 9px);
  font-weight: 600;
  white-space: nowrap;
}
.plot li.is-below .plot-figure {
  left: auto;
  right: calc(var(--pad-r) + (100% - var(--pad-l) - var(--pad-r)) * (1 - var(--start)) + 9px);
}
.plot li:hover .plot-bar { background: var(--brass-deep); }

.plot-note {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--hair);
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* the empty frame shown while a chart is in preparation */
.specimen-plot { border-left: 1px solid var(--ink); padding: 1px 0; }
.specimen-plot i { display: block; height: 20px; margin: 9px 0; background: var(--stone-edge); border-radius: 0 2px 2px 0; }
.specimen-plot i:nth-child(1) { width: 34%; }
.specimen-plot i:nth-child(2) { width: 47%; }
.specimen-plot i:nth-child(3) { width: 54%; }
.specimen-plot i:nth-child(4) { width: 60%; }
.specimen-plot i:nth-child(5) { width: 67%; }
.specimen-plot i:nth-child(6) { width: 85%; }

/* ---------- the decision for Monday ---------- */

.exhibit-the-decision {
  background: var(--stone);
  border-top: 3px solid var(--brass);
  margin: 4px -32px 0;
  padding: 28px 32px 40px;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.exhibit-the-decision > h2 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 5px;
}
.exhibit-the-decision .exhibit-matter {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.003em;
}
.exhibit-the-decision .exhibit-matter p + p { margin-top: 0.8em; }
.exhibit-the-decision + .exhibit { margin-top: 56px; }

/* ---------- watch ---------- */

.exhibit-watch ul { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.exhibit-watch li {
  position: relative;
  padding: 13px 0 12px 1.5em;
  border-bottom: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.4;
}
.exhibit-watch li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 7px; height: 7px;
  background: var(--brass);
}

/* ---------- foot of a paper ---------- */

.paper-foot {
  display: grid;
  grid-template-columns: var(--margin-w) minmax(0, 1fr);
  column-gap: var(--gutter);
  margin-top: 44px;
}
.paper-foot-matter { grid-column: 2; max-width: 680px; }
.index-terms { font-size: 0.82rem; line-height: 2.2; }
.index-terms span {
  margin-right: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.index-terms i {
  display: inline-block;
  margin-right: 6px;
  padding: 0 10px;
  font-style: normal;
  line-height: 1.9;
  border: 1px solid var(--stone-edge);
  white-space: nowrap;
}
.paper-caveat { margin-top: 18px; font-size: 0.82rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }

/* ---------- colophon ---------- */

.colophon {
  margin-top: clamp(72px, 9vw, 120px);
  background: var(--stone);
  border-top: 1px solid var(--brass);
  padding: 52px 0 34px;
  font-size: 0.9rem;
}
.colophon-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px 56px; }
.colophon-about p { margin-top: 14px; max-width: 36ch; color: var(--ink-2); }
.colophon-about .imprint-name { font-size: 1.4rem; }
.colophon-list h2 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stone-edge);
}
.colophon-list ul { list-style: none; padding: 0; margin-top: 10px; }
.colophon-list li { padding: 4px 0; }
.colophon-list a { text-decoration: none; }
.colophon-list a:hover { text-decoration: underline; }
.colophon-small {
  margin-top: 40px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.colophon-small p { max-width: 78ch; }
.colophon-small p:first-child { padding-top: 20px; border-top: 1px solid var(--stone-edge); max-width: none; }
.colophon-small p + p { margin-top: 8px; }

/* ---------- narrower sheets ---------- */

@media (max-width: 1120px) {
  .masthead-strap { display: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }

  .folio, .exhibit, .paper-head, .paper-foot { grid-template-columns: minmax(0, 1fr); }
  .folio { row-gap: 18px; }
  .paper-foot-matter { grid-column: 1; }

  .docket { padding-top: 0; margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
  .docket-kind { padding-bottom: 0; flex-basis: 100%; }
  .docket dl { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .docket dl > div, .docket dl > div:last-child { border: 0; padding: 0; display: flex; align-items: baseline; gap: 7px; }
  .docket dd { margin-top: 0; }
  .print-cue { display: none; }

  .exhibit { padding: 20px 0 40px; }
  .exhibit > h2 { margin-bottom: 18px; }
  .exhibit > h2::before { display: inline-block; margin: 0 12px 0 0; vertical-align: 0.25em; }
  .exhibit-the-decision {
    margin-inline: calc(var(--sheet-pad) * -1);
    padding: 24px var(--sheet-pad) 32px;
  }
  .exhibit-the-decision > h2 { margin-bottom: 14px; padding-top: 0; }
  .exhibit-the-decision > h2::before { vertical-align: 0; }
  .exhibit-the-decision + .exhibit { margin-top: 40px; }

  .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon-about { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .masthead-row { flex-wrap: wrap; padding-block: 16px 10px; }
  .contents { flex-basis: 100%; margin-left: 0; }
  .contents ul { gap: 0 20px; }
  .contents a { font-size: 0.86rem; padding: 7px 0; }

  .plate img, .frontispiece .plate img { aspect-ratio: 2 / 1; }
  .plate-paper { margin-top: 24px; }

  .digest-pair, .anatomy, .scope { grid-template-columns: minmax(0, 1fr); }
  .digest-pair { gap: 32px; }
  .digest-pair .digest + .digest { padding-top: 30px; border-top: 1px solid var(--hair); }

  .register-head { display: none; }
  .register { border-top: 1px solid var(--ink); }
  .register-row { display: flex; flex-wrap: wrap; gap: 5px 0; padding: 14px 0 13px; font-size: 0.8rem; }
  .register-entry { flex: 0 0 100%; }
  .register-title { font-size: 1.12rem; }
  .register-subject { margin-right: 12px; padding-right: 12px; border-right: 1px solid var(--stone-edge); }
  .register-week { min-width: 0; margin-right: 0.6em; }
  .register-blank { border-top: 1px solid var(--ink); }

  .prose { font-size: 1.14rem; line-height: 1.6; }

  .plot li { grid-template-columns: minmax(0, 1fr); padding: 7px 0 3px; }
  .plot-name { padding: 0 0 3px; font-size: 0.9rem; }
  .plot-track { min-height: 26px; }
  .plot-bar { height: 16px; margin-top: -8px; }

  .resolution { padding: 20px 22px 24px; }
  .anatomy li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 8px; }
  .anatomy-n { grid-row: 1 / span 2; font-size: 2rem; }
  .anatomy h3 { margin-top: 4px; }
  .anatomy p { grid-column: 2; }
}

@media (max-width: 520px) {
  .subjects { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .colophon-grid { grid-template-columns: minmax(0, 1fr); }
  .imprint-name { font-size: 1.45rem; }
  .contents li:first-child { display: none; }
  .flagline { gap: 4px 16px; }
  .flagline > * + * { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* ---------- print: the audience prints it ---------- */

@media print {
  @page { margin: 18mm 16mm; }
  body { font-size: 10.5pt; }
  .contents, .masthead-strap, .colophon-grid, .further, .print-cue, .skip-to, .onward, .paper-caveat { display: none !important; }
  .sheet { max-width: none; padding-inline: 0; }
  .masthead-row { padding-block: 0 10pt; }
  .colophon { margin-top: 24pt; background: none; border-top: 0; padding: 0; }
  .colophon-small { margin-top: 0; }
  .plate img { aspect-ratio: 3 / 1; }
  .paper-head { padding-top: 18pt; }
  .prose { font-size: 11.5pt; line-height: 1.5; }
  .exhibit { padding: 12pt 0 22pt; break-inside: avoid-page; }
  .exhibit-reading { break-inside: auto; }
  .exhibit-the-decision { margin-inline: 0; padding: 14pt 14pt 18pt; }
  a { text-decoration: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .contents a, .print-cue { transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
}
