/* Celvor Industrial — article pages only (article.css v1.1, 2026-09-26; v1.0, 2026-09-13)
   Loaded AFTER style.css, and only by /articles/ and the article pages.
   style.css v1.3.1 is not modified: the four main pages never link this file.
   Same three grounds (paper / ink / grey), same one green in the same four places. */

/* ---------- articles index ---------- */
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list > li { border-top: 1px solid var(--ink); padding-top: 1.35rem; }
.article-list > li + li { margin-top: 3.25rem; }
.article-list h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 30ch; }
.article-list h2 a { color: var(--ink); }
.article-list .dek { margin: 1.1rem 0 0; color: var(--grey-700); max-width: var(--measure); }
.article-list .byline { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--grey-500); }

/* byline: name, thin separator, date. Date is mono, never coloured. */
.byline { color: var(--grey-500); }
.byline .sep { margin-inline: 0.7em; color: var(--grey-300); }
.byline time { color: var(--grey-500); }

/* ---------- article page ---------- */
.article-head h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 26ch; }
.article-head .dek {
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--grey-700);
  max-width: var(--measure);
}
.article-head .byline { margin: 2rem 0 0; font-size: 0.85rem; }

/* on this page: plain anchors, no JavaScript */
.toc { margin-top: 2.75rem; border-top: 1px solid var(--grey-100); padding-top: 1.4rem; }
.toc .eyebrow { margin-bottom: 1rem; }
.toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.toc li { margin-bottom: 0.55rem; break-inside: avoid; }
.toc a { color: var(--grey-700); font-size: 0.95rem; }

/* ---------- article body ---------- */
.prose { max-width: var(--measure); font-size: 1.08rem; line-height: 1.72; }
.prose h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  max-width: 28ch;
  margin: 3.25rem 0 1.2rem;
  scroll-margin-top: 7rem; /* clears the sticky header when a TOC link jumps here */
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); max-width: none; }
.prose ul { margin: 0 0 1.5rem; padding-left: 1.15rem; color: var(--ink); }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--grey-300); }
.prose strong { font-weight: 500; color: var(--ink); }

/* general-information notice at the foot of an article */
.article-note {
  max-width: var(--measure);
  margin-top: 3.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-100);
  font-size: 0.9rem;
  color: var(--grey-500);
}
.article-note p { color: inherit; max-width: none; margin: 0; }

.article-foot { margin-top: 2rem; font-size: 0.95rem; color: var(--grey-700); }

/* v1.1 (2026-09-26, D-1): lead-content chart in Article 01 (inline SVG, ink and greys only — no theme colour on figures) */
.chart { margin: 2.25rem 0 2.5rem; max-width: var(--measure); }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); font-size: 15px; fill: var(--ink); }
.chart .val, .chart .tick, .chart .lim { font-family: var(--mono); }
.chart .val { font-size: 15px; }
.chart .tick { font-size: 13px; fill: var(--grey-500); }
.chart .lim { font-size: 13px; fill: var(--ink); }
.chart .cap { font-size: 13px; fill: var(--grey-500); }
.chart .bar { fill: var(--grey-300); }
.chart .limit { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .axis, .chart .axis line { stroke: var(--grey-300); stroke-width: 1; }
.chart figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--grey-500); }

@media (max-width: 40rem) {
  .toc ol { columns: 1; }
  .prose { font-size: 1.05rem; }
}
