/* ============================================================
   THE WEAVER LABORATORY — "The Journal"
   Design option 03. A finely typeset print periodical.

   One paper, one ink, one accent. Everything else is
   typography: rules, small caps, drop caps, margin notes.
   ============================================================ */

:root {
  /* Paper & ink */
  --paper: #faf7f1;
  --paper-2: #f4efe4;
  --paper-3: #efe9db;
  --ink: #1c1b18;
  --ink-2: #443f38;
  --ink-3: #6b655b;
  --rule: #cdc4b1;
  --rule-2: #e3ddce;
  /* The single accent: a deep green printing ink */
  --accent: #17441f;
  --accent-2: #2c6a37;

  /* Measure & margins */
  --measure: 38rem;
  --gutter: 3rem;
  --note-w: 17rem;
  --sheet: 64rem;

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --caps: "EB Garamond", "Newsreader", Georgia, serif;
}

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

html {
  font-optical-sizing: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.99rem + 0.28vw, 1.2rem);
  line-height: 1.62;
  font-weight: 400;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "onum" 1, "kern" 1;
  hanging-punctuation: first last;
  /* the faintest laid-paper tone at the edges of the sheet */
  background-image: radial-gradient(
    120% 80% at 50% 0%,
    #fffdf8 0%,
    var(--paper) 46%,
    #f6f1e7 100%
  );
  background-attachment: fixed;
}

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

figure {
  margin: 0;
}

hr {
  border: 0;
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.16em;
  text-decoration-color: color-mix(in srgb, var(--accent) 42%, transparent);
}

a:hover {
  color: var(--accent-2);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: #e6dfc9;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--accent);
  padding: 0.6rem 1rem;
  border: 1px solid var(--ink);
  z-index: 20;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Page furniture ---------- */
.sheet {
  max-width: var(--sheet);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 5vw, 3rem);
}

/* The text column sits flush left inside the sheet; the space
   to its right is the margin, where notes live. */
.col {
  max-width: var(--measure);
}

.col--center {
  margin-inline: auto;
}

.rule {
  border-top: 1px solid var(--rule);
  height: 0;
}

.rule--double {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 3px;
}

.rule--thin-double {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  height: 3px;
}

.rule--short {
  width: 5.5rem;
  border-top: 1px solid var(--accent);
}

/* ---------- Small caps: the site's entire "UI" voice ---------- */
.sc,
.kicker,
.contents a,
.folio,
.dateline,
.plate-label,
.byline,
.masthead-rubric,
.dept-head,
.footer-nav a,
.note-label {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  font-feature-settings: "smcp" 1, "c2sc" 1, "onum" 1;
  letter-spacing: 0.09em;
  font-weight: 500;
}

.kicker {
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  margin: 0 0 0.6rem;
}

.kicker .mark {
  font-family: var(--serif);
  font-variant-caps: normal;
  letter-spacing: 0;
  padding-right: 0.35em;
}

/* ---------- Masthead ---------- */
.masthead {
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
  text-align: center;
}

.masthead-rubric {
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  color: var(--ink-3);
  margin: 0 0 0.9rem;
}

.masthead-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.35rem, 8.4vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}

.masthead-name a {
  color: inherit;
  text-decoration: none;
}

.masthead-name .the {
  display: block;
  font-size: 0.3em;
  letter-spacing: 0.34em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.55em;
  padding-left: 0.34em;
}

/* Interior pages carry a running head, not the full masthead. */
.masthead--interior {
  padding-top: clamp(1.1rem, 2.5vw, 1.6rem);
}

.masthead--interior .masthead-name {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
  font-weight: 400;
  margin: 0 0 0.85rem;
}

.masthead--interior .the {
  display: inline;
  font-size: 0.52em;
  letter-spacing: 0.26em;
  margin: 0;
  padding: 0 0.5em 0 0;
  vertical-align: 0.12em;
}

.page-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.6rem);
}

.page-head h1 {
  margin-bottom: 0.5rem;
}

.masthead-ornament {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  margin: 1.15rem 0 0.9rem;
}

.dateline {
  font-size: 0.88rem;
  color: var(--ink-3);
  letter-spacing: 0.13em;
  margin: 0.85rem 0 1.1rem;
}

.dateline span + span::before {
  content: "·";
  padding: 0 0.6em;
  color: var(--rule);
}

/* ---------- Contents strip (navigation) ---------- */
.contents {
  margin-top: 0.35rem;
}

.contents-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.9rem;
  padding: 0.62rem 0;
}

.contents a {
  font-size: 0.94rem;
  letter-spacing: 0.13em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.contents a:hover {
  color: var(--accent);
}

.contents a[aria-current="page"] {
  color: var(--accent);
}

.contents a[aria-current="page"]::before {
  content: "❧";
  font-family: var(--serif);
  font-variant-caps: normal;
  letter-spacing: 0;
  padding-right: 0.4em;
  font-size: 0.85em;
}

/* ---------- Headings ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 0.7rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.95rem, 1.5rem + 2vw, 3rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2.15rem);
}

h3 {
  font-size: 1.28rem;
}

.subhead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 1.12rem;
  line-height: 1.45;
  margin: 0.4rem 0 0;
  max-width: 32rem;
}

/* ---------- Long-form prose: indented paragraphs, no gaps ---------- */
.prose p {
  margin: 0;
  text-indent: 1.4em;
}

/* Openers are never indented — nor is anything inside a note. */
.prose > p:first-child,
.prose p.lead,
.prose h2 + p,
.prose h3 + p,
.sidenote,
.sidenote p {
  text-indent: 0;
}

.prose > * + h2,
.prose > * + h3 {
  margin-top: 2.4rem;
}

.prose h3 + p {
  text-indent: 0;
}

.standfirst {
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--ink-2);
  font-style: italic;
  margin: 0 0 1.4rem;
  max-width: 34rem;
}

.standfirst + p {
  text-indent: 0;
}

/* Drop cap — a true three-line cap, cut to Newsreader's own metrics
   (cap height 0.662em, ascent 0.90em, descent 0.25em, body leading 1.62).
   font-size sets the cap height to span lines 1–3; line-height drops the
   glyph so its foot rests on the third baseline; the explicit height makes
   the float's exclusion exactly three lines, so the left edge stays true. */
.dropcap {
  float: left;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 5.9em;
  line-height: 0.833;
  height: 0.8235em;
  padding-right: 0.055em;
  margin-left: -0.02em;
  color: var(--accent);
  font-variant-ligatures: none;
  font-feature-settings: "onum" 0;
}

/* The line following a drop cap reads best in small caps. */
.lead .opening {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  font-feature-settings: "smcp" 1, "c2sc" 1;
  letter-spacing: 0.06em;
}

/* Justify only where the measure is wide enough to avoid rivers. */
@media (min-width: 46rem) {
  .prose p,
  .essay p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

/* ---------- Margin notes (sidenotes → footnotes) ---------- */
.ref {
  font-size: 0.62em;
  vertical-align: super;
  line-height: 0;
  color: var(--accent);
  font-family: var(--caps);
  font-feature-settings: "onum" 0;
  padding-left: 0.08em;
}

.sidenote {
  float: right;
  clear: right;
  width: var(--note-w);
  margin-right: calc(-1 * (var(--note-w) + var(--gutter)));
  margin-top: 0.35rem;
  margin-bottom: 1.2rem;
  font-size: 0.86rem;
  line-height: 1.48;
  color: var(--ink-2);
  text-align: left;
  text-indent: 0;
  hyphens: none;
  border-top: 1px solid var(--rule);
  padding-top: 0.5rem;
}

.sidenote-num {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-right: 0.4em;
}

.sidenote em,
.sidenote i {
  color: var(--ink-2);
}

@media (max-width: 71rem) {
  .sidenote {
    float: none;
    width: auto;
    max-width: var(--measure);
    margin: 1.5rem 0;
    padding: 0.65rem 0 0.7rem;
    border-bottom: 1px solid var(--rule);
    background: transparent;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(2.4rem, 5vw, 3.9rem);
}

.section--tint {
  background: linear-gradient(var(--paper-2), var(--paper-2));
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}

.section-head {
  margin-bottom: 1.6rem;
}

.dept-head {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.dept-head::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule);
}

/* ---------- Front page ---------- */
.front {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16.5rem;
  gap: 0 var(--gutter);
  align-items: start;
}

.front-lead {
  min-width: 0;
  max-width: var(--measure);
}

/* The front page spends its right margin on the contents, so the
   leading article sets its notes in the text column instead. */
.front-lead .sidenote {
  float: none;
  width: auto;
  margin: 1.5rem 0;
  padding: 0.65rem 0 0.7rem;
  border-bottom: 1px solid var(--rule);
}

.front-aside {
  border-left: 1px solid var(--rule);
  padding-left: var(--gutter);
}

@media (max-width: 71rem) {
  .front {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }
  .front-aside {
    border-left: 0;
    border-top: 1px solid var(--ink);
    padding-left: 0;
    padding-top: 1.1rem;
    position: static;
    max-width: var(--measure);
  }
}

/* Table of contents */
.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--rule-2);
}

.toc li:last-child {
  border-bottom: 0;
}

.toc-title {
  display: block;
  font-size: 1.02rem;
  line-height: 1.3;
  text-decoration: none;
  color: var(--ink);
}

.toc-title:hover {
  color: var(--accent);
}

.toc-note {
  display: block;
  font-size: 0.83rem;
  font-style: italic;
  color: var(--ink-3);
  margin-top: 0.16rem;
  line-height: 1.4;
}

.toc-folio {
  display: block;
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  font-feature-settings: "smcp" 1, "onum" 0;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.12rem;
}

/* ---------- Plates (figures) ---------- */
.plate {
  margin: 2.5rem 0;
  max-width: var(--measure);
}

.plate--wide {
  max-width: 54rem;
}

.plate-frame {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 1.6rem 1.2rem 1.35rem;
  background: #fdfbf6;
}

.plate-void {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  background-color: #f7f2e8;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(28, 27, 24, 0.055) 0 1px,
    transparent 1px 7px
  );
  border: 1px solid var(--rule);
}

.plate-void span {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  background: #f7f2e8;
  padding: 0.25rem 0.7rem;
}

.plate figcaption,
.schedule figcaption {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-2);
  text-indent: 0;
}

.plate-label {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.11em;
  padding-right: 0.45em;
}

.figure-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
}

/* Engraving conventions for the plates: one ink, one accent, hairlines. */
.figure-svg .ink {
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: round;
}

.figure-svg .hair {
  stroke-width: 0.7;
  stroke: var(--ink-3);
}

.figure-svg .fill-paper {
  fill: #fdfbf6;
}

.figure-svg .accent {
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.figure-svg .leader {
  stroke: var(--rule);
  stroke-width: 1;
}

.figure-svg .lab {
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.13em;
  fill: var(--ink-2);
  stroke: none;
}

.figure-svg .lab--accent {
  fill: var(--accent);
}

/* A label set over hatching needs the paper knocked out behind it. */
.figure-svg .lab--halo {
  paint-order: stroke fill;
  stroke: #fdfbf6;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.figure-svg .tick {
  font-family: var(--caps);
  font-size: 15px;
  letter-spacing: 0.04em;
  fill: var(--ink);
  stroke: none;
}

/* ---------- Articles ---------- */
.article + .article {
  margin-top: clamp(3rem, 6vw, 4.75rem);
  padding-top: clamp(2.4rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule);
}

.article-head {
  margin-bottom: 1.5rem;
}

/* ---------- Contributors ---------- */
.pi {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, var(--measure));
  gap: var(--gutter);
  align-items: start;
}

@media (max-width: 54rem) {
  .pi {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .portrait {
    max-width: 13.5rem;
  }
}

.portrait {
  border: 1px solid var(--ink);
  padding: 0.55rem;
  background: #fdfbf6;
}

.portrait-void {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background-color: #f4eee2;
  background-image: repeating-linear-gradient(
      45deg,
      rgba(28, 27, 24, 0.06) 0 1px,
      transparent 1px 6px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(28, 27, 24, 0.04) 0 1px,
      transparent 1px 9px
    );
  color: var(--ink-3);
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.portrait figcaption {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
  color: var(--ink-2);
  text-align: center;
  margin-top: 0.6rem;
}

.contributors {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.contributors li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule-2);
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: var(--gutter);
}

@media (max-width: 46rem) {
  .contributors li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
  }
}

.contributor-name {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  font-size: 1.06rem;
  color: var(--ink);
}

.contributor-role {
  display: block;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-3);
  letter-spacing: 0;
  font-variant-caps: normal;
  font-family: var(--serif);
  margin-top: 0.1rem;
}

.contributor-note {
  color: var(--ink-2);
  font-size: 0.98rem;
}

.runin {
  max-width: var(--measure);
  color: var(--ink-2);
}

/* ---------- Bibliography ---------- */
.bib-year {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  font-feature-settings: "smcp" 1, "onum" 0;
  letter-spacing: 0.16em;
  font-size: 1rem;
  color: var(--accent);
  margin: 2.3rem 0 0.9rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule);
  max-width: 46rem;
}

.bib {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.bib li {
  padding-left: 1.8em;
  text-indent: -1.8em;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.bib .journal {
  font-style: italic;
}

.bib .vol {
  font-variant-numeric: lining-nums;
  font-feature-settings: "onum" 0;
}

.bib .yr {
  color: var(--ink-3);
  font-feature-settings: "onum" 0;
}

.bib .doi {
  font-size: 0.86em;
  white-space: nowrap;
}

.bib .sc {
  letter-spacing: 0.05em;
}

.annotated li {
  margin-bottom: 1.5rem;
}

.annotated .gloss {
  display: block;
  text-indent: 0;
  margin-top: 0.35rem;
  padding-left: 0.1em;
  font-style: italic;
  color: var(--ink-3);
  font-size: 0.94rem;
  border-left: 2px solid var(--rule);
  padding-left: 0.9em;
  margin-left: 0.1em;
}

/* ---------- Notes & correspondence ---------- */
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.notes > li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: var(--gutter);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule-2);
}

@media (max-width: 46rem) {
  .notes > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }
}

.note-label {
  font-size: 0.88rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  /* sit on the first line of the entry beside it */
  margin: 0;
  padding-top: 0.3rem;
}

.note-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.note-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.99rem;
}

/* ---------- Digest columns (front page departments) ---------- */
.digest {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0 var(--gutter);
}

.digest > * {
  padding-inline-end: var(--gutter);
  border-inline-end: 1px solid var(--rule-2);
}

.digest > *:last-child {
  border-inline-end: 0;
  padding-inline-end: 0;
}

@media (max-width: 54rem) {
  .digest {
    gap: 2.25rem 0;
  }
  .digest > * {
    border-inline-end: 0;
    padding-inline-end: 0;
  }
}

.brief {
  margin: 0 0 1.15rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.brief:last-child {
  margin-bottom: 0;
}

.brief b {
  font-weight: 500;
  color: var(--ink);
}

/* ---------- The letter (join page) ---------- */
.letter {
  max-width: 36rem;
}

.letter .salutation {
  margin-bottom: 0.9rem;
  text-indent: 0;
}

.letter .signoff {
  margin-top: 1.6rem;
  text-indent: 0;
}

.signature {
  text-indent: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent);
  margin: 0.5rem 0 0;
  line-height: 1.2;
}

.signature + .sc {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-3);
  margin-top: 0.3rem;
}

.openings {
  margin: 0;
  max-width: 46rem;
  counter-reset: opening;
}

.openings > div {
  counter-increment: opening;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule-2);
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0 1rem;
}

.openings dt {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.09em;
  font-size: 1.05rem;
  grid-column: 2;
}

.openings > div::before {
  content: counter(opening, upper-roman) ".";
  font-family: var(--caps);
  color: var(--accent);
  grid-row: span 2;
  font-feature-settings: "onum" 0;
  letter-spacing: 0.04em;
  padding-top: 0.1rem;
}

.openings dd {
  margin: 0.15rem 0 0;
  grid-column: 2;
  color: var(--ink-2);
  font-size: 0.99rem;
}

.imprint {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem var(--gutter);
  max-width: 46rem;
  margin: 0;
}

.imprint dt {
  font-family: var(--caps);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
  color: var(--ink-3);
  margin-bottom: 0.2rem;
}

.imprint dd {
  margin: 0 0 1rem;
  line-height: 1.5;
  font-size: 0.99rem;
}

/* ---------- Figure: infection schedule ---------- */
.schedule {
  max-width: var(--measure);
  margin: 2.25rem 0;
}

/* ---------- Folio & colophon ---------- */
.folio {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  padding: 2.25rem 0 0;
}

.site-foot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 3rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.7rem;
  padding: 0.85rem 0;
}

.footer-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

.colophon {
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 40rem;
  margin: 1.2rem auto 0;
  font-style: italic;
}

.colophon .sc {
  font-style: normal;
  letter-spacing: 0.11em;
}

/* ---------- Utilities ---------- */
.muted {
  color: var(--ink-3);
}

.small {
  font-size: 0.9rem;
}

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.stack > * + * {
  margin-top: 1.15rem;
}

.editor-note {
  max-width: var(--measure);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-3);
  font-style: italic;
  border-top: 1px solid var(--rule);
  padding-top: 0.7rem;
  margin-top: 2.25rem;
}

@media print {
  body {
    background: #fff;
  }
  .contents,
  .site-foot {
    display: none;
  }
}
