/* ==========================================================================
   And The Little Ones Too: publication shell and editorial components
   Requires tokens.css. One stylesheet for every page; shared patterns live
   here, never in page-local <style>.

   Contents
     1. Layout          5. Article metadata      9. Research treatments
     2. Skip link       6. Evidence labels      10. Lists and listings
     3. Header + nav    7. Figures and tables   11. Homepage
     4. Footer          8. Quotes and callouts  12. Notices and states
   ========================================================================== */

/* ---- 1. Layout ------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }

main { display: block; }
main:focus { outline: none; }

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-7); }
main > .section:last-child { padding-bottom: 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section--sage { background: var(--sage); border-top: 0; }
.section--sage + .section { border-top: 0; }

.section-head { max-width: var(--measure); margin-bottom: var(--space-6); }
.section-head h2 + p { margin-top: var(--space-3); color: var(--slate); font-size: var(--text-lg); }
/* Heading row on the same two columns and gutter as the content below it. */
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: baseline;
  gap: var(--space-3) var(--space-7);
}
@media (max-width: 52rem) { .section-head--split { grid-template-columns: 1fr; } }
.section-head--split h2 + p { margin-top: 0; max-width: 44ch; }

/* Running text */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-5); }
.prose > h2 { margin-top: var(--space-8); }
.prose > h3 { margin-top: var(--space-7); }
.prose > h2 + *, .prose > h3 + * { margin-top: var(--space-4); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-2); }
.prose li::marker { color: var(--teal-ink); }

/* Page heading block used by every non-home page */
.page-head { padding-block: var(--space-7) var(--space-4); }
.page-head h1 { max-width: 20ch; }
.standfirst {
  margin-top: var(--space-5);
  max-width: 58ch;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--slate);
}

/* ---- 2. Skip link -------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-3);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  min-height: var(--tap);
  background: var(--ink);
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; color: var(--ivory); }

/* ---- 3. Header and navigation ------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
  position: relative;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--tap);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.site-header .brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; flex: none; }
.brand span { text-wrap: balance; }
@media (max-width: 26rem) { .brand { font-size: var(--text-ui); } }

.nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: var(--space-3);
  color: var(--ink);
  font-weight: 500;
  font-size: var(--text-ui);
  text-decoration: none;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: 0.55rem;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { font-weight: 650; }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 var(--space-3);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: 600 var(--text-ui)/1 var(--font-sans);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--white); }
.nav-toggle svg { width: 20px; height: 20px; flex: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: var(--space-2) var(--gutter) var(--space-5);
    background: var(--ivory);
    border-bottom: 1px solid var(--rule-strong);
    box-shadow: var(--shadow-raised);
  }
  .nav-list.is-open { display: flex; }
  .nav-list li + li { border-top: 1px solid var(--rule); }
  .nav-list a {
    display: flex;
    min-height: 3rem;
    padding-inline: 0;
    font-size: var(--text-base);
  }
  .nav-list a::after { left: 0; right: auto; width: 2rem; bottom: 0.6rem; }
}

/* ---- 4. Footer ------------------------------------------------------------ */

/* Two bands, like the layers of the mark: a Forest Teal statement carrying the
   tagline, then a Deep Ink colophon. Ivory on Forest Teal is 4.91:1, Ivory on
   Deep Ink 11.98:1; every footer text uses Warm Ivory or White. */
.site-footer { margin-top: var(--space-8); color: var(--ivory); }
.site-footer a { color: var(--ivory); text-decoration-color: rgb(247 244 237 / 0.45); }
.site-footer a:hover { color: var(--white); text-decoration-color: currentColor; }
.site-footer :focus-visible { outline-color: var(--ivory); }

.footer-statement { background: var(--teal); padding-block: var(--space-7); }
.footer-tagline {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 18ch;
  text-wrap: balance;
}

.footer-colophon { background: var(--ink); padding-block: var(--space-6) var(--space-4); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgb(247 244 237 / 0.24);
}
.footer-top .brand { color: var(--ivory); }
.footer-top .brand:hover { color: var(--white); }
.publisher { font-weight: 650; letter-spacing: 0.01em; }

/* Wide screens: each group sizes to its own links and the three spread across
   the row, so no group wraps. Narrower: flexible columns, then single rows. */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  gap: var(--space-5) var(--space-6);
  padding-block: var(--space-5);
}
@media (max-width: 74rem) {
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }
}
.footer-group h2 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: var(--space-1);
}
.footer-group ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }
.footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--text-ui);
  text-decoration: none;
}
.footer-group a:hover { text-decoration: underline; }

@media (max-width: 52rem) {
  .footer-nav { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---- 5. Breadcrumbs and article metadata -------------------------------- */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-ui);
  color: var(--slate);
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  padding-inline: var(--space-2);
  color: var(--rule-strong);
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--slate);
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.article-head { padding-block: var(--space-6) var(--space-7); border-bottom: 1px solid var(--rule); }
.article-head h1 { max-width: 22ch; margin-top: var(--space-3); }
.article-head .standfirst { max-width: 60ch; }

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--slate);
}
.meta .byline { color: var(--ink); font-weight: 600; }
.meta .byline span { font-weight: 400; color: var(--slate); }
.meta time { color: var(--ink); }

.piece-type {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.125rem var(--space-3);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

/* ---- 6. Evidence labels: sourced fact / analysis / interpretation ------- */

/* Every labelled statement says what kind of statement it is, in words. The
   shape of the marker repeats that meaning so it never rests on colour alone. */
.evidence {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-right: 0.5em;
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.12em;
  white-space: nowrap;
}
.evidence::before {
  content: "";
  width: 0.6em;
  height: 0.6em;
  flex: none;
}
.evidence--fact { color: var(--teal-ink); }
.evidence--fact::before { background: var(--teal); border-radius: 50%; }
.evidence--analysis { color: var(--teal-ink); }
.evidence--analysis::before { border: 2px solid var(--teal); border-radius: 50%; }
.evidence--interpretation { color: var(--clay-ink); }
.evidence--interpretation::before { background: var(--clay); transform: rotate(45deg) scale(0.86); }

.source-note {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--slate);
}
.source-note a { color: var(--slate); }
.source-note a:hover { color: var(--ink); }

.evidence-key { display: grid; gap: var(--space-5); max-width: var(--measure); }
.evidence-key > div { display: grid; gap: var(--space-2); }
.evidence-key dt { line-height: 1.4; }
.evidence-key dd { margin: 0; color: var(--ink); }

/* Footnote references */
.fn-ref {
  font-size: 0.75em;
  vertical-align: super;
  line-height: 0;
}
.fn-ref a {
  display: inline-block;
  min-width: 1.5em;
  padding: 0.6em 0.25em;
  text-align: center;
  text-decoration: none;
  font-weight: 650;
}

/* ---- 7. Figures and tables ---------------------------------------------- */

.figure { margin-block: var(--space-7); }
.figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--slate);
  max-width: var(--measure);
}
.figure figcaption strong { color: var(--ink); font-weight: 650; }
.figure-title {
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.table-scroll {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  -webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible { outline-offset: 2px; }
table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: var(--text-ui);
  line-height: 1.45;
}
th, td {
  padding: var(--space-3) var(--space-4) var(--space-3) 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
thead th {
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--slate);
  border-bottom: 1px solid var(--rule-strong);
  white-space: nowrap;
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; padding-right: 0; padding-left: var(--space-4); }
td.num:not(:last-child), th.num:not(:last-child) { padding-right: var(--space-4); }

/* ---- 8. Quotes and callouts --------------------------------------------- */

.pullquote {
  margin-block: var(--space-7);
  padding-top: var(--space-5);
  max-width: 34ch;
  position: relative;
}
.pullquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--clay);
}
.pullquote blockquote p {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pullquote figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--slate);
}

.callout {
  padding: var(--space-5) var(--space-5);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  max-width: var(--measure);
}
.callout > * + * { margin-top: var(--space-3); }
.callout h2, .callout h3 { font-size: var(--text-base); font-family: var(--font-sans); font-weight: 650; line-height: 1.4; }

/* The short answer: stated once, at the top. A ruled section, not a card:
   the rule above does the separating, as in print. */
.answer {
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  border-top: 2px solid var(--ink);
  max-width: var(--measure);
}
.answer h2 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--slate);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.answer p { margin-top: var(--space-2); font-size: var(--text-lg); line-height: 1.5; }
.answer + .prose, .answer + article { margin-top: var(--space-6); }

/* ---- 9. Research treatments --------------------------------------------- */

.method {
  padding: var(--space-6);
  background: var(--sage);
  border-radius: var(--radius);
  max-width: var(--measure);
}
.method > * + * { margin-top: var(--space-4); }
.method h2, .method h3 { font-size: var(--text-h3); }
.method a { color: var(--teal-ink); }

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-2) var(--space-5);
  font-size: var(--text-ui);
}
.facts dt { font-weight: 650; color: var(--ink); }
.facts dd { margin: 0; }

.limits {
  max-width: var(--measure);
  padding-top: var(--space-5);
  border-top: 2px solid var(--ink);
}
.limits > * + * { margin-top: var(--space-4); }

.findings { list-style: none; padding: 0; display: grid; gap: var(--space-5); max-width: var(--measure); }
.findings li { padding-top: var(--space-4); border-top: 1px solid var(--rule); }

.sources { max-width: var(--measure); }
.prose > .sources, .prose > .method, .prose > .limits { margin-top: var(--space-7); }
.sources h2 { margin-bottom: var(--space-4); }
.sources ol { padding-left: 1.5em; font-size: var(--text-ui); line-height: 1.55; }
.sources li + li { margin-top: var(--space-3); }
.sources li:target { background: var(--sage); outline: 6px solid var(--sage); border-radius: var(--radius-sm); }
.backref { font-size: var(--text-sm); }

.cite-as {
  font-size: var(--text-ui);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

/* ---- 10. Lists and listings --------------------------------------- */

.questions { list-style: none; padding: 0; display: grid; gap: 0; max-width: var(--measure); border-top: 1px solid var(--rule); }
.questions li {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  line-height: 1.4;
}

.related { list-style: none; padding: 0; display: grid; gap: 0; }
.related li { border-bottom: 1px solid var(--rule); }
.related a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.related a:hover { color: var(--teal-ink); }

/* ---- 11. Homepage --------------------------------------------------------- */

.masthead { padding-block: var(--space-8) var(--space-6); }
.masthead h1 { font-size: var(--text-display); max-width: 15ch; font-weight: 600; letter-spacing: -0.03em; }
.masthead .standfirst { font-size: var(--text-lg); max-width: 50ch; margin-top: var(--space-5); color: var(--ink); }

/* The horizon: what is on the calendar sits in the Warm Ivory sky; the work
   around it sits on Pale Sage ground below a full-width Deep Ink line. */
.horizon { margin: 0; }
.horizon-sky .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-bottom: var(--space-4);
}
.horizon-label {
  display: block;
  font-size: var(--text-ui);
  font-weight: 650;
  color: var(--teal-ink);
}
.horizon-event {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.horizon-line {
  height: 3px;
  background: var(--ink);
  transform-origin: left;
  animation: horizon-draw 1100ms var(--ease-out) both;
}
@keyframes horizon-draw { from { transform: scaleX(0.04); } to { transform: scaleX(1); } }
.horizon-ground { background: var(--sage); padding-block: var(--space-5) var(--space-6); }
.horizon-below {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 0 var(--space-6);
  list-style: none;
  padding: var(--space-2) 0 0;
  margin: 0;
}
.horizon-below li {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  padding-block: var(--space-3);
  border-bottom: 1px solid rgb(24 51 68 / 0.18);
  font-size: var(--text-lg);
  line-height: 1.4;
}
.horizon-below li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-0.1em);
}
.horizon figcaption { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--slate); }

/* Subjects: a 2x2 editorial matrix, two equal columns and one gutter. Teal rules for the data-led subjects
   (time, money), clay for the human ones (activities, family life), matching
   the roles BRAND_SYSTEM.md gives those colors. Names carry the meaning. */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7) var(--space-7);
  padding-top: var(--space-5);
}
.pillar { padding-top: var(--space-4); border-top: 3px solid var(--teal); }
.pillar--human { border-top-color: var(--clay); }
.pillar > * + * { margin-top: var(--space-3); }
.pillar h3 { font-size: var(--text-h2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.pillar h3 a { color: var(--ink); text-decoration: none; }
.pillar h3 a:hover { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 2px; }
.pillar--human h3 a:hover { color: var(--clay-ink); }
.pillar p { max-width: 46ch; color: var(--slate); }
.pillar .pillar-question {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--ink);
}
@media (max-width: 52rem) {
  .pillars { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* Latest: an honest state, designed as a deliberate panel. */
.latest {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-5) var(--space-7);
  padding: var(--space-6);
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius);
}
.latest h2 { color: var(--ivory); }
.latest-status {
  margin-top: var(--space-3);
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  line-height: 1.3;
  color: var(--white);
}
.latest-body > * + * { margin-top: var(--space-3); }
.latest-lede { font-size: var(--text-lg); line-height: 1.5; color: var(--white); }
.latest-body p { max-width: 52ch; }
.latest a { color: var(--ivory); text-decoration-color: rgb(247 244 237 / 0.5); font-weight: 600; }
.latest a:hover { color: var(--white); text-decoration-color: currentColor; }
.latest :focus-visible { outline-color: var(--ivory); }
.latest-follow { display: inline-flex; align-items: center; min-height: var(--tap); }
.latest-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); max-width: 60ch; }
.latest-list li { padding-bottom: var(--space-3); border-bottom: 1px solid rgb(247 244 237 / 0.24); }
.latest-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-list a { font-family: var(--font-serif); font-size: var(--text-lg); line-height: 1.35; }
.latest-type { display: block; font-size: var(--text-sm); font-weight: 650; color: var(--sage); margin-bottom: var(--space-1); }
@media (max-width: 52rem) { .latest { grid-template-columns: 1fr; padding: var(--space-5); } }

/* A compact credibility preview; the full explanation lives in the editorial standards. */
.evidence-strip { background: var(--sage); padding-block: var(--space-6); }
.evidence-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  margin-bottom: var(--space-5);
}
.evidence-strip-head h2 { font-size: var(--text-h3); }
.evidence-strip-head p { color: var(--ink); }
.evidence-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5) var(--space-6);
}
.evidence-compact > div { padding-top: var(--space-3); border-top: 1px solid rgb(24 51 68 / 0.24); }
.evidence-compact dd { margin: var(--space-2) 0 0; }
@media (max-width: 52rem) { .evidence-compact { grid-template-columns: 1fr; gap: var(--space-3); } }

.about-strip {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-4) var(--space-7);
  align-items: baseline;
}
.about-strip h2 { font-size: var(--text-h3); }
.about-strip p + p { margin-top: var(--space-3); }
.about-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.about-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
@media (max-width: 52rem) { .about-strip { grid-template-columns: 1fr; } }

/* ---- Piece lists (hubs and listings) and disclosure notes -------------- */

.piece-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); max-width: var(--measure); }
.piece-list li {
  display: grid;
  gap: var(--space-1);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
}
.piece-list-type { font-size: var(--text-sm); font-weight: 650; color: var(--teal-ink); }
.piece-list h3 { font-size: var(--text-h3); }
.piece-list h3 a { color: var(--ink); text-decoration: none; }
.piece-list h3 a:hover { color: var(--teal-ink); text-decoration: underline; }
.piece-list time { font-size: var(--text-sm); color: var(--slate); }

/* Topics line under the piece header; mirrors the Article `about` data. */
.piece-topics { margin-top: var(--space-4); max-width: var(--measure); font-size: var(--text-ui); color: var(--slate); }
.piece-topics span { font-weight: 650; color: var(--ink); }

/* Review build only: a piece that has not passed its source check. */
.review-note {
  margin-top: var(--space-5);
  max-width: var(--measure);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 2px dashed var(--clay);
  border-radius: var(--radius);
  font-size: var(--text-ui);
}
.meta .byline a { color: var(--ink); }

/* A dated correction on a corrected piece (see /corrections). */
.correction-note {
  margin-top: var(--space-5);
  max-width: var(--measure);
  padding: var(--space-3) var(--space-4);
  background: var(--sage);
  border-left: 3px solid var(--clay);
  font-size: var(--text-ui);
}
.corrections-log { padding-left: 1.25em; }
.corrections-log li + li { margin-top: var(--space-3); }

/* Only for a material relationship (payment, sponsorship, free product). */
.disclosure-note {
  margin-top: var(--space-5);
  max-width: var(--measure);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-size: var(--text-ui);
}

/* ---- 12. Notices and honest states -------------------------------------- */

.empty {
  max-width: var(--measure);
  padding: var(--space-6);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
}
.empty > * + * { margin-top: var(--space-3); }
.empty h3 { font-size: var(--text-h3); }
.empty p { color: var(--slate); }

/* Owner-pending wording. Visible on purpose: the page states plainly what has
   not been decided yet instead of inventing it. Pages carrying this marker
   are noindex until it is resolved (enforced by tests). */
.pending {
  max-width: var(--measure);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px dashed var(--clay-ink);
  border-radius: var(--radius);
}
.pending > * + * { margin-top: var(--space-2); }
.pending-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--clay-ink);
}
.pending p { color: var(--ink); }

.note-strip {
  max-width: var(--measure);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
  font-size: var(--text-ui);
  color: var(--slate);
}

.lockup { width: 280px; height: auto; }

.not-found { padding-block: var(--space-9) var(--space-8); }
.not-found h1 { max-width: 16ch; }
