/* Design tokens (tokens.css) are linked separately in layouts/base.njk, before this file,
   so each stylesheet gets its own cache-busting ?v= hash. */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--color-footer-bg); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  /* Playfair defaults to old-style figures, which make "1920s" read like "192os". */
  font-variant-numeric: lining-nums;
}
img, svg, video { max-width: 100%; display: block; }
/* eleventy-img emits width/height attributes; without this, max-width shrinks
   the width but the attribute height sticks, stretching images vertically. */
img, video { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
  margin: 0 0 0.6em;
  /* Break a word only if it can't fit at all, e.g. "Acknowledgements" at 320px / 400% zoom. */
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); margin-top: 2em; }
h3 { font-size: 1.35rem; margin-top: 1.6em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:visited { color: var(--color-link-visited); }
a:hover { color: var(--color-accent-deep); }
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
::selection { background: var(--color-accent-soft); color: var(--color-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--color-button-bg);
  color: #fff;
  padding: 0.6em 1em;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout shell ---------- */
.wrap {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.prose-wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Header: magazine masthead ---------- */
.site-header { background: var(--color-bg); }
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "tagline title actions" ". strap .";
  align-items: center;
  column-gap: 1.5rem;
  padding-block: 1.1rem 0.9rem;
}
.masthead__tagline {
  grid-area: tagline;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.masthead__title {
  grid-area: title;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
}
.masthead__title a { color: var(--color-text); text-decoration: none; }
.masthead__title a:hover { color: var(--color-accent-deep); }
.masthead__strapline {
  grid-area: strap;
  margin: 0.5rem 0 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  text-align: center;
}
.site-header--front .masthead { padding-block: 2rem 1.4rem; }
.site-header--front .masthead__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); }

.masthead__actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 0.4rem; }
.masthead__search,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  padding: 0.4em 0.7em;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.masthead__search:visited { color: var(--color-text); }
.masthead__search svg, .nav-toggle svg { flex-shrink: 0; }
.masthead__search:hover,
.masthead__search[aria-current="page"],
.nav-toggle:hover { color: var(--color-accent-deep); }
.nav-toggle { display: none; }

/* Navigation sits between a thin rule and a double rule, like a magazine cover strip. */
.primary-nav {
  border-top: 1px solid var(--color-text);
  border-bottom: 3px double var(--color-text);
}
.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.6rem;
  margin: 0 auto;
  padding-block: 0.15rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.primary-nav a {
  display: inline-block;
  padding: 0.75em 0;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--color-accent-deep); }
.primary-nav a[aria-current="page"] { color: var(--color-accent-deep); border-bottom-color: currentColor; }

@media (max-width: 1024px) {
  .masthead {
    grid-template-columns: 1fr auto;
    grid-template-areas: "title actions" "strap strap";
    padding-block: 0.8rem;
  }
  .masthead__tagline { display: none; }
  .masthead__title { text-align: left; }
  .masthead__strapline { text-align: left; margin-top: 0.35rem; }
  .site-header--front .masthead { padding-block: 1rem 0.9rem; }
  .site-header--front .masthead__title { font-size: clamp(2rem, 1.2rem + 4vw, 3rem); }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; border-bottom-width: 1px; border-bottom-style: solid; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding-block: 0.4rem; }
  .primary-nav a { display: block; padding: 0.75em 0; border-bottom: 1px solid var(--color-border-soft); }
  .primary-nav li:last-child a { border-bottom: 0; }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--color-border-soft); }
}
/* Closed menu on small screens: keep the rule under the masthead. */
@media (max-width: 1024px) {
  .site-header { border-bottom: 1px solid var(--color-text); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-block: 0.9rem;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--color-text-faint); }
.breadcrumbs a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-primary-dark); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--color-text); }

/* ---------- Not-found page ---------- */
.not-found { padding-block: 4rem; text-align: center; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85em 1.4em;
  border-radius: 0;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 44px;
}
.btn--primary, .btn--primary:visited { background: var(--color-button-bg); color: #fff; }
.btn--primary:hover { background: var(--color-button-bg-hover); color: #fff; }
.btn--ghost, .btn--ghost:visited { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn--ghost:hover { background: var(--color-text); color: var(--color-bg); }

/* ---------- Section headings: a rule above, the label beneath ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-top: 0.7rem;
  border-top: 2px solid var(--color-text);
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }
.section-head .see-all {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-accent-deep);
}
.section-head a.see-all:hover { text-decoration: underline; }
.section-head span.see-all { color: var(--color-text-faint); }

/* ---------- Family / card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2.2rem 1.6rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.card-grid--four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card-grid--three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.family-card {
  border-top: 1px solid var(--color-text);
  padding: 0.9rem 0 0.4rem;
  text-decoration: none;
  color: var(--color-text);
  display: block;
  height: 100%;
}
.family-card:visited { color: var(--color-text); }
.family-card h3 { margin: 0 0 0.35em; font-size: 1.2rem; }
.family-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.family-card p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
.family-card .family-card__count {
  margin-top: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}

/* ---------- Article cards: flat, editorial ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  height: 100%;
}
.article-card:visited { color: var(--color-text); }
.article-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--color-bg-alt); overflow: hidden; margin-bottom: 0.9rem; }
.article-card__media picture { display: block; width: 100%; height: 100%; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__body { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.article-card__kicker {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-deep);
  font-weight: 600;
}
.article-card__title { font-size: 1.25rem; line-height: 1.2; margin: 0; font-family: var(--font-display); }
.article-card:hover .article-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.article-card__excerpt { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.55; margin: 0; flex: 1; }
.card-grid .article-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.article-card__meta { font-family: var(--font-ui); font-size: 0.78rem; color: var(--color-text-faint); }

/* Front-page lead story */
.article-card--lead .article-card__media { aspect-ratio: 3 / 2; margin-bottom: 1.2rem; }
.article-card--lead .article-card__title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.08; letter-spacing: -0.01em; }
.article-card--lead .article-card__excerpt { font-size: 1.2rem; font-style: italic; line-height: 1.5; flex: 0; }
.article-card--lead .article-card__body { gap: 0.7rem; }

/* Front-page secondary stories: small image beside the headline */
.article-card--compact { flex-direction: row; gap: 1rem; align-items: flex-start; }
.article-card--compact .article-card__media { flex: 0 0 6.5rem; aspect-ratio: 1; margin: 0; }
.article-card--compact .article-card__title { font-size: 1.15rem; }

/* ---------- Taxonomy chips ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chip {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45em 0.8em;
  border-radius: 0;
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  text-decoration: none;
  border: 1px solid transparent;
}
.chip:visited { color: var(--color-accent-deep); }
.chip:hover { border-color: var(--color-accent-deep); }
.chip--outline, .chip--outline:visited { background: transparent; border-color: var(--color-border); color: var(--color-text-muted); }

/* ---------- Front page ---------- */
.front-lead {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-block: 2.2rem 1rem;
}
.front-lead__more {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.5rem;
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.front-lead__more li { padding-block: 1.2rem; border-top: 1px solid var(--color-border); }
.front-lead__more li:first-child { padding-top: 0; border-top: 0; }
@media (max-width: 860px) {
  .front-lead { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1.2rem; }
  .front-lead__more { padding-left: 0; border-left: 0; }
  .front-lead__more li:first-child { padding-top: 1.2rem; border-top: 1px solid var(--color-border); }
}

.front-section { margin-top: 3.5rem; }
.front-section__note { margin: 0.8rem 0 0; font-family: var(--font-ui); font-size: 0.78rem; color: var(--color-text-faint); }

.family-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.2rem;
}
@media (max-width: 1000px) { .family-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .family-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.family-tile { display: block; text-decoration: none; color: var(--color-text); }
.family-tile:visited { color: var(--color-text); }
.family-tile__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-bg-alt); }
.family-tile__media picture { display: block; width: 100%; height: 100%; }
.family-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.family-tile:hover .family-tile__media img { transform: scale(1.04); }
.family-tile__label {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
}
.family-tile:hover .family-tile__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

/* Eras as a two- to four-column index, each with its date range */
.era-index {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3 16rem;
  column-gap: 2.2rem;
}
.era-index li { break-inside: avoid; border-bottom: 1px solid var(--color-border); }
.era-index a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.6rem 0;
  text-decoration: none;
  color: var(--color-text);
}
.era-index a:visited { color: var(--color-text); }
.era-index__label { font-family: var(--font-display); font-size: 1.05rem; }
.era-index__range { font-family: var(--font-ui); font-size: 0.75rem; color: var(--color-text-faint); white-space: nowrap; }
.era-index a:hover .era-index__label { color: var(--color-accent-deep); text-decoration: underline; text-decoration-thickness: 1px; }

/* A tinted band that runs the full width of the page */
.front-band {
  margin-top: 4rem;
  padding-block: 2.5rem 1rem;
  background: var(--color-bg-alt);
}
.front-band .section-head { margin-bottom: 0.8rem; }
.front-band__intro { color: var(--color-text-muted); max-width: 46rem; }
main:has(> .front-band:last-child) + .site-footer { margin-top: 0; }

/* ---------- Article layout ---------- */
/* Centred header and a wide picture, then a text column with a side column
   (At a Glance, Contents) on wide screens. On narrow screens everything stacks
   in source order: facts, contents, then the text. */
.article-header { padding-block: 2.2rem 1.6rem; }
.article-header h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); line-height: 1.08; margin-bottom: 0.45em; }
/* Articles centre their header over the wide picture; index pages stay left-aligned. */
.article > .article-header {
  max-width: 50rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  text-align: center;
}
.article-header__kicker {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--color-accent-deep);
  font-weight: 600;
  margin-bottom: 1.1em;
}
.article-header__standfirst {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 46rem;
}
.article > .article-header .article-header__standfirst { max-width: 42rem; margin-inline: auto; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-top: 1.4rem;
  padding-block: 0.8rem;
  border-block: 1px solid var(--color-border);
}
.article > .article-header .article-meta { justify-content: center; }
.article-meta a { color: var(--color-text); font-weight: 600; text-decoration: none; }
.article-meta a:hover { text-decoration: underline; }

.article-hero {
  max-width: calc(var(--article-max) + 2.5rem);
  margin: 0 auto 2.5rem;
  padding-inline: 1.25rem;
}
.article-hero picture, .article-hero > img { display: block; }
.article-hero img { margin-inline: auto; max-height: 78vh; width: auto; max-width: 100%; }
.article-hero figcaption, .article-figure figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.prose-wrap .article-hero { padding-inline: 0; }

.article-layout,
.article-end {
  max-width: calc(42rem + 2.5rem);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.article-wide {
  max-width: calc(var(--article-max) + 2.5rem);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 1080px) {
  .article--with-aside .article-layout {
    max-width: calc(var(--article-max) + 2.5rem);
    display: grid;
    grid-template-columns: minmax(0, 42rem) minmax(0, 1fr);
    column-gap: 4rem;
    align-items: start;
  }
  .article--with-aside .article-aside { grid-column: 2; grid-row: 1; align-self: stretch; }
  .article--with-aside .article-body { grid-column: 1; grid-row: 1; }
  /* Keep the closing sections in line with the text column. */
  .article--with-aside .article-end { max-width: calc(var(--article-max) + 2.5rem); }
  .article--with-aside .article-end > * { max-width: 42rem; }
  .article--with-aside .toc {
    position: sticky;
    top: 1.5rem;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
  }
}

.article-figure {
  margin: 0 0 2rem;
}
.article-figure--illustration { margin: 1.8rem 0 2.2rem; }

.article-body { font-size: 1.125rem; line-height: 1.7; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.15rem); margin-top: 2.2em; }
/* A drop capital opens the text, as in print. */
.article-body--dropcap > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 5.3em;
  line-height: 0.8;
  margin: 0.07em 0.1em 0 0;
  color: var(--color-accent-deep);
}
.article-body :where(h2, h3) { scroll-margin-top: 1.5rem; }
.article-body a.header-anchor { text-decoration: none; margin-left: 0.4rem; opacity: 0; }
.article-body a.header-anchor::before { content: "#"; color: var(--color-primary-light); }
.article-body :where(h2, h3):hover a.header-anchor,
.article-body a.header-anchor:focus { opacity: 1; }
.article-body blockquote {
  border-left: 2px solid var(--color-accent-deep);
  margin: 1.8em 0;
  padding: 0.1em 0 0.1em 1.4em;
  color: var(--color-text);
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
}
.article-body .table-scroll { overflow-x: auto; margin: 1.6em 0; }
.article-body .table-scroll:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1.6em 0; font-size: 0.95rem; }
.article-body .table-scroll table { margin: 0; }
.article-body th, .article-body td { border: 1px solid var(--color-border); padding: 0.6em 0.8em; text-align: left; }
.article-body th { background: var(--color-bg-alt); font-family: var(--font-ui); }
.article-body code { background: var(--color-bg-alt); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }

/* ---------- Side column: At a Glance and Contents ---------- */
/* Both open with a rule and a small capital label, like a magazine sidebar. */
.toc, .object-facts {
  border-top: 2px solid var(--color-text);
  padding-top: 0.8rem;
  margin: 0 0 2.2rem;
}
.toc { font-family: var(--font-ui); font-size: 0.88rem; }
.toc summary,
.object-facts h2 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
}
.toc summary { cursor: pointer; }
.toc ol { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.toc li { border-bottom: 1px solid var(--color-border-soft); }
.toc li:last-child { border-bottom: 0; }
.toc li.toc-level-3 { padding-left: 1rem; font-size: 0.94em; }
.toc a { display: block; padding: 0.45em 0; line-height: 1.4; color: var(--color-text-muted); text-decoration: none; }
.toc a:hover { color: var(--color-accent-deep); }

.object-facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.55rem 1.2rem; margin: 0.8rem 0 0; font-size: 0.95rem; line-height: 1.5; }
.object-facts dt { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--color-text-muted); padding-top: 0.15rem; }
.object-facts dd { margin: 0; }
/* In the narrow side column, put each label above its value. */
@media (min-width: 1080px) {
  .article-aside .object-facts dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .article-aside .object-facts dd { margin-bottom: 0.6rem; }
}

/* ---------- Sources ---------- */
.source-list { font-size: 0.92rem; }
.source-list ol { padding-left: 1.3rem; }
.source-list li { margin-bottom: 0.7em; }
.source-kind { font-family: var(--font-ui); font-size: 0.85em; font-weight: 600; color: var(--color-text-muted); }
.source-list__notice {
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-alt);
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

/* ---------- Related content ---------- */
.related-content { margin: 3rem 0; }

/* ---------- Series navigation ---------- */
.series-nav {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin: 2.5rem 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}
.series-nav__label { margin: 0 0 0.7em; font-weight: 600; color: var(--color-text-muted); }
.series-nav__list { list-style: decimal; margin: 0 0 1rem; padding-left: 1.3rem; }
.series-nav__list li { margin-bottom: 0.3em; }
.series-nav__list [aria-current="page"] span { font-weight: 600; color: var(--color-text); }
.series-nav__list a { color: var(--color-text-muted); text-decoration: none; }
.series-nav__list a:hover { color: var(--color-primary-dark); text-decoration: underline; }
.series-nav__adjacent {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--color-border);
}
.series-nav__adjacent a { color: var(--color-primary-dark); font-weight: 600; text-decoration: none; }
.series-nav__adjacent a:hover { text-decoration: underline; }
.series-nav__next { margin-left: auto; text-align: right; }

/* ---------- Museum examples ---------- */
.museum-examples { margin: 3rem 0 1rem; }
.museum-examples h2 { margin-top: 0; }
.museum-examples__intro { color: var(--color-text-muted); font-size: 0.98rem; }
.museum-grid { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1.2rem; }
.museum-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.museum-card__media { display: block; aspect-ratio: 4 / 3; background: var(--color-bg-alt); padding: 0.6rem; overflow: hidden; }
.museum-card__media picture { display: block; width: 100%; height: 100%; }
.museum-card__media img { width: 100%; height: 100%; object-fit: contain; }
.museum-card__body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.museum-card__title { font-size: 1.02rem; margin: 0; line-height: 1.3; }
.museum-card__title a { text-decoration: none; }
.museum-card__title a:hover { text-decoration: underline; }
.museum-card__meta { margin: 0; font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; color: var(--color-primary-dark); }
.museum-card__note { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.5; }
.museum-card__record { margin: auto 0 0; padding-top: 0.5rem; border-top: 1px solid var(--color-border-soft); font-family: var(--font-ui); font-size: 0.78rem; color: var(--color-text-faint); }
.museum-card__record div { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.4rem; margin-top: 0.2rem; }
.museum-card__record dt { font-weight: 600; }
.museum-card__record dd { margin: 0; }
.museum-examples__credit { margin-top: 1rem; font-family: var(--font-ui); font-size: 0.8rem; color: var(--color-text-faint); }

/* ---------- Glossary ---------- */
.article-body a.gloss-term {
  color: inherit;
  text-decoration: underline dotted var(--color-primary-light);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
.article-body a.gloss-term:hover { color: var(--color-accent-deep); text-decoration-style: solid; }
.gloss-tip {
  position: absolute;
  z-index: 50;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.7rem 0.9rem;
  background: var(--color-surface-raised);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  line-height: 1.45;
}
.gloss-tip[hidden] { display: none; }
.gloss-tip strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.15rem; }
.gloss-mentions { margin: 2.5rem 0 1rem; }
.gloss-mentions h2 { font-size: 1.25rem; margin: 0 0 0.6rem; }
.gloss-mentions ul { columns: 2 16rem; column-gap: 2rem; margin: 0; }
.gloss-mentions li { break-inside: avoid; margin-bottom: 0.3rem; }

.term-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0.4rem 2rem; }
.term-list__item { padding: 0.7rem 0; border-bottom: 1px solid var(--color-border-soft); }
.term-list dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.term-list dt a { text-decoration: none; }
.term-list dt a:hover { text-decoration: underline; }
.term-list dd { margin: 0.2rem 0 0; color: var(--color-text-muted); font-size: 0.93rem; line-height: 1.5; }

.glossary-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 0 0 1.5rem; }
.glossary-tools input {
  flex: 1 1 16rem;
  font: inherit;
  font-family: var(--font-ui);
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
}
.glossary-tools output { font-family: var(--font-ui); font-size: 0.9rem; color: var(--color-text-muted); }
/* The alphabet as a ruled strip of display letters */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0.3rem 0;
  margin: 0 0 2.5rem;
  border-block: 1px solid var(--color-text);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.alpha-nav a, .alpha-nav span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.2rem; height: 2.4rem;
  text-decoration: none; font-weight: 600;
}
.alpha-nav a, .alpha-nav a:visited { color: var(--color-text); }
.alpha-nav a:hover { color: var(--color-accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.alpha-nav span { color: var(--color-text-faint); font-weight: 400; }
.glossary-letter {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 1.5rem;
  margin: 0 0 2.5rem;
  padding-top: 0.6rem;
  border-top: 2px solid var(--color-text);
  scroll-margin-top: 1rem;
}
.glossary-letter > h2 { font-size: 3.2rem; line-height: 1; margin: 0; color: var(--color-accent-deep); }
@media (max-width: 600px) {
  .glossary-letter { grid-template-columns: 1fr; }
  .glossary-letter > h2 { font-size: 2.4rem; }
}

/* ---------- Timeline ---------- */
.tl-wrap { max-width: 980px; margin: 0 auto 2rem; }
/* position: relative makes this the containing block for the visually-hidden
   (absolutely positioned) labels inside the strip; without it they escape the
   scroll clip and widen the whole page on phones. */
.tl-overview { margin: 1rem 0 1.5rem; overflow-x: auto; position: relative; }
.tl-overview ol { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0 0 0.4rem; align-items: flex-end; min-width: max-content; }
.tl-overview a {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  min-width: 3.4rem; padding: 0.35rem 0.3rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--color-text-muted); font-family: var(--font-ui); font-size: 0.78rem;
}
.tl-overview a:hover { background: var(--color-bg-alt); color: var(--color-text); }
.tl-overview a.is-empty { opacity: 0.4; }
.tl-overview__bar {
  display: block; width: 1.4rem; border-radius: 3px 3px 0 0;
  height: calc(4px + var(--n, 0) * 5px);
  background: var(--color-primary-light);
  transition: height 0.2s ease;
}

.tl-controls {
  position: sticky; top: 0; z-index: 5;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 0.8rem 0 0.7rem; margin-bottom: 1.5rem;
  font-family: var(--font-ui); font-size: 0.9rem;
}
.tl-families { border: 0; margin: 0 0 0.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.tl-families legend { float: left; margin-right: 0.4rem; color: var(--color-text-muted); }
.tl-chip {
  font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-muted);
}
.tl-chip::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 2px solid var(--fam); }
.tl-chip[aria-pressed="true"] { color: var(--color-text); border-color: var(--fam); }
.tl-chip[aria-pressed="true"]::before { background: var(--fam); }
.tl-chip:focus-visible, .tl-reset:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tl-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; }
.tl-row label { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-text-muted); }
.tl-row select, .tl-row input {
  font: inherit; color: var(--color-text); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.35rem 0.5rem;
}
.tl-search { flex: 1 1 14rem; }
.tl-search input { width: 100%; }
.tl-reset { font: inherit; cursor: pointer; background: none; border: 0; color: var(--color-link); text-decoration: underline; padding: 0.35rem 0.2rem; }
.tl-count { display: block; margin-top: 0.5rem; color: var(--color-text-faint); font-size: 0.82rem; }

.tl-century { scroll-margin-top: 9rem; }
.tl-century__label {
  font-size: 1.5rem; margin: 2rem 0 0.6rem; color: var(--color-primary-dark);
  padding-bottom: 0.3rem; border-bottom: 1px solid var(--color-border-soft);
}
.tl-events { list-style: none; margin: 0; padding: 0; }
.tl-event {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0 1.4rem;
  position: relative; padding: 0.9rem 0;
}
.tl-event__date { font-family: var(--font-ui); font-weight: 700; font-size: 0.92rem; color: var(--color-text); text-align: right; padding-top: 0.15rem; }
.tl-event__body { position: relative; padding-left: 1.4rem; border-left: 2px solid var(--color-border); }
.tl-event__body::before {
  content: ""; position: absolute; left: -7px; top: 0.35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--fam); box-shadow: 0 0 0 3px var(--color-bg);
}
.tl-event__family { display: block; font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fam); }
.tl-event__title { font-size: 1.15rem; margin: 0.15rem 0 0.3rem; }
.tl-event__title a { text-decoration: none; }
.tl-event__title a:hover { text-decoration: underline; }
.tl-event p { margin: 0; color: var(--color-text-muted); font-size: 0.98rem; line-height: 1.55; }
.tl-empty { font-family: var(--font-ui); color: var(--color-text-muted); padding: 2rem 0; }
@media (max-width: 640px) {
  .tl-event { grid-template-columns: 1fr; }
  .tl-event__date { text-align: left; padding-left: 1.4rem; border-left: 2px solid var(--color-border); }
}

/* Compact list of dated events on era hubs */
.key-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.key-dates li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border-soft); }
.key-dates time { font-family: var(--font-ui); font-weight: 700; font-size: 0.88rem; color: var(--fam, var(--color-primary-dark)); }
.key-dates a { text-decoration: none; font-weight: 600; }
.key-dates a:hover { text-decoration: underline; }
.key-dates p { margin: 0.1rem 0 0; font-size: 0.93rem; color: var(--color-text-muted); }
@media (max-width: 560px) { .key-dates li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-footer-bg);
  margin-top: 4rem;
  padding-block: 3rem 2.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-footer-muted);
}
.site-footer__brand {
  margin: 0 0 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--color-footer-rule);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-footer-text);
}
.site-footer__brand span { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-size: 1rem; font-weight: 400; font-style: italic; color: var(--color-footer-muted); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.site-footer h2 { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-footer-text); margin: 0 0 0.9em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5em; }
.site-footer a, .site-footer a:visited { color: var(--color-footer-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-footer-text); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--color-footer-text); }
.site-footer__bottom { border-top: 1px solid var(--color-footer-rule); padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--color-accent-deep);
  font-weight: 600;
}
.stack { display: flex; flex-direction: column; gap: 1rem; }
.callout {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  background: var(--color-surface);
  padding: 1rem 1.3rem;
  border-radius: var(--radius-sm);
  margin: 1.6em 0;
}
.callout--caution { border-left-color: var(--color-accent-deep); }

/* ---------- Search (Pagefind UI theming) ---------- */
/* Pagefind reads these custom properties itself — see pagefind.app/docs/ui/ —
   so this is the whole theming surface for its default markup/behavior. */
.search-page {
  padding-block: 1rem 4rem;
  --pagefind-ui-primary: var(--color-primary-dark);
  --pagefind-ui-text: var(--color-text);
  --pagefind-ui-background: var(--color-surface);
  --pagefind-ui-border: var(--color-border);
  --pagefind-ui-tag: var(--color-accent-soft);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 2px;
  --pagefind-ui-font: var(--font-body);
}
#search { max-width: var(--content-max); margin-top: 1.5rem; }
.pagefind-ui__search-input { font-family: var(--font-ui); }
.pagefind-ui__result-title { font-family: var(--font-display); font-size: 1.1rem; }
.pagefind-ui__result-title a { text-decoration: none; }
.pagefind-ui__result-title a:hover { text-decoration: underline; }
.pagefind-ui__result-excerpt { color: var(--color-text-muted); }
.pagefind-ui__message { font-family: var(--font-ui); color: var(--color-text-muted); }
.pagefind-ui__filter-panel-button,
.pagefind-ui__button {
  font-family: var(--font-ui);
  border-radius: 2px;
}

/* ---------- Section fronts: index and hub pages ---------- */
/* A left-aligned header closed by a double rule, like the masthead strip. */
.section-front {
  padding-bottom: 1.8rem;
  margin-bottom: 2.5rem;
  border-bottom: 3px double var(--color-text);
}
.section-front h1 { margin-bottom: 0.3em; }
.section-front .article-header__kicker { margin-bottom: 0.8em; }
.section-front .article-header__standfirst { margin-bottom: 0; }
.section-front--with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: end;
}
.section-front__media { margin: 0; width: clamp(9rem, 18vw, 15rem); }
.section-front__media picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-bg-alt); }
.section-front__media img { width: 100%; height: 100%; object-fit: cover; }
.section-front__media figcaption { margin-top: 0.4rem; font-family: var(--font-ui); font-size: 0.7rem; line-height: 1.4; color: var(--color-text-faint); }
/* On phones the photograph sits small beside the title rather than above the fold's end. */
@media (max-width: 600px) {
  .section-front--with-image { grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 1rem; align-items: start; }
  .section-front__media { width: 6.5rem; }
  .section-front__media figcaption { font-size: 0.62rem; }
}

.hub-section { margin-top: 3rem; }
.hub-section > .card-grid { margin-top: 0; }

/* Hub introductions (era, theme, and section index overviews) open with a drop capital. */
.hub-intro { max-width: 42rem; margin: 0 0 2.5rem; }
.hub-intro > p:first-of-type { font-size: 1.15rem; }
.hub-intro > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4.6em;
  line-height: 0.8;
  margin: 0.07em 0.1em 0 0;
  color: var(--color-accent-deep);
}

/* Series and reading-list pointers: ruled notes with a small capital label */
.hub-notes {
  list-style: none;
  max-width: 42rem;
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid var(--color-border);
}
.hub-notes li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.hub-notes__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 0.15rem;
}
.hub-notes a { font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.hub-notes a:hover { text-decoration: underline; }

/* "Start here": the type's definitive guide, image beside the headline */
@media (min-width: 760px) {
  .hub-lead .article-card--lead {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: center;
  }
  .hub-lead .article-card--lead .article-card__media { margin: 0; }
  .hub-lead .article-card--lead .article-card__title { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem); }
}

/* Accessory Types index: each family with its photograph and its types */
.family-directory {
  list-style: none;
  margin: -1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
  gap: 0 3rem;
}
.family-entry {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--color-border);
}
.family-entry__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-bg-alt); }
.family-entry__media picture { display: block; width: 100%; height: 100%; }
.family-entry__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.family-entry:hover .family-entry__media img { transform: scale(1.04); }
.family-entry h2 { margin: 0 0 0.35em; font-size: 1.5rem; }
.family-entry h2 a, .family-entry h2 a:visited { color: var(--color-text); text-decoration: none; }
.family-entry h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.family-entry__text > p { margin: 0 0 0.6rem; color: var(--color-text-muted); font-size: 0.97rem; line-height: 1.55; }
.family-entry .family-entry__count {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}
.family-entry__types { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-family: var(--font-ui); font-size: 0.88rem; line-height: 1.8; }
.family-entry__types li:not(:last-child)::after { content: "\00b7"; margin: 0 0.5rem; color: var(--color-text-faint); }
.family-entry__types a, .family-entry__types a:visited { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--color-border); text-underline-offset: 0.2em; }
.family-entry__types a:hover { color: var(--color-accent-deep); text-decoration-color: currentColor; }
@media (max-width: 600px) {
  .family-entry { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; }
  .family-entry h2 { font-size: 1.3rem; }
}

/* Eras index: a two-column directory of periods, read down each column */
.era-directory {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 24rem;
  column-gap: 3rem;
}
/* A top margin, not padding, so the first entry in each column lines up:
   margins are dropped at a column break. */
.era-directory li {
  break-inside: avoid;
  margin-top: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.era-directory li:first-child { margin-top: 0; }
.era-directory p { margin: 0; }
.era-directory__range {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}
.era-directory h3 { margin: 0.2rem 0 0.25rem; font-size: 1.35rem; }
.era-directory h3 a, .era-directory h3 a:visited { color: var(--color-text); text-decoration: none; }
.era-directory h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.era-directory__desc { color: var(--color-text-muted); font-size: 0.97rem; line-height: 1.5; }
.era-directory .era-directory__count { margin-top: 0.3rem; font-family: var(--font-ui); font-size: 0.75rem; color: var(--color-text-faint); }

/* Series landing pages: numbered reading order with display numerals */
.series-list { list-style: none; counter-reset: part; max-width: 46rem; margin: 0; padding: 0; }
.series-list li {
  counter-increment: part;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}
.series-list li::before {
  content: counter(part);
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent-deep);
}
.series-list a, .series-list a:visited { font-family: var(--font-display); font-size: 1.25rem; text-decoration: none; color: var(--color-text); }
.series-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.series-list p { margin: 0.25rem 0 0; color: var(--color-text-muted); }

/* Plain pages (About, Credits, policies) */
.page-prose { padding-bottom: 1rem; }

/* Era hubs on wide screens: the introduction with Key dates beside it */
@media (min-width: 1080px) {
  .hub-layout--with-aside {
    display: grid;
    grid-template-columns: minmax(0, 42rem) minmax(0, 1fr);
    column-gap: 4rem;
    align-items: start;
  }
  .hub-layout--with-aside .hub-intro { margin-bottom: 0; }
  .hub-layout--with-aside .hub-aside { margin-top: 0; }
  .hub-aside .section-head { border-top-width: 2px; }
  .hub-aside .section-head h2 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .hub-aside .key-dates li { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* Index pages: the introduction's subsections, placed after the list.
   Its first heading opens with a rule like the other section heads. */
.hub-intro--more { margin-top: 3rem; }
.hub-intro--more > h2:first-child {
  margin-top: 0;
  padding-top: 0.7rem;
  border-top: 2px solid var(--color-text);
}
.hub-intro--more > p:first-of-type { font-size: inherit; }
.hub-intro--more > p:first-of-type::first-letter { all: unset; }
