:root {
  /* Lock light palette so iOS Safari dark mode cannot wash ink into the cream. */
  color-scheme: light only;
  supported-color-schemes: light;
  --ink: #121118;
  --ink-soft: #24222c;
  --paper: #f7f3ea;
  --paper-2: #efe8d8;
  --rule: #c9bfa8;
  --gold: #6e5420;
  --gold-deep: #4a3714;
  --verified: #1f5c45;
  --reading: #4a3a24;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 72rem;
  --measure: 40rem;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  color-scheme: light only;
  background-color: var(--paper);
}
a {
  color: var(--gold-deep);
  text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent);
  text-underline-offset: 2px;
}
a:hover { color: var(--ink); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  /* Solid paper first: Safari auto-dark can punch through transparent mixes. */
  background-color: var(--paper);
  /* Solid surfaces keep browser night-mode text and paper in the same layer. */
  min-height: 100vh;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 96%, #fff);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--ink); }
.site-nav .support {
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.nav-toggle {
  display: none;
  font: inherit;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem;
  color: var(--ink);
}

.crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.crumbs a { color: var(--gold-deep); }

.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.hero {
  padding: 2.5rem 0 2rem;
  max-width: 40rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 0.45rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.btn.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 1rem 0 2rem;
}
.split h2, .main > section > h2, .toolbar h1, .main > h1 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.intro { color: var(--ink-soft); max-width: var(--measure); }

.help-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  max-width: var(--measure);
  display: grid;
  gap: 1.1rem;
}
.help-option {
  /* help-option overflow harden: long AI prompt tokens must not widen the page */
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--paper-2) 50%, transparent);
  padding: 1.05rem 1.15rem 1.2rem;
}
.help-option .n {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.help-option h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
.help-option p { margin: 0 0 0.7rem; }
.help-option p:last-child { margin-bottom: 0; }
.help-option pre {
  margin: 0;
  padding: 0.7rem 0.85rem;
  max-width: 100%;
  overflow-x: auto;
  background: var(--paper-2);
  border: 1px solid color-mix(in srgb, var(--rule) 75%, transparent);
  border-radius: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.help-option code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.card-list, .topic-list, .toc {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
/* Semiotics: row separators on the li, never a fake underline on the name link. */
.card-list > li,
.topic-list > li {
  border-bottom: 1px solid var(--rule);
}
.card-list > li:last-child,
.topic-list > li:last-child {
  border-bottom: none;
}
.card-list li a, .topic-list li a, .toc li a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: none;
  text-decoration: none;
  color: inherit;
}
.card-list li a:hover strong,
.topic-list li a:hover .t {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.card-list .author-dates {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 400;
}
.card-list strong, .topic-list .t { font-weight: 650; }
.card-list span, .topic-list .c, .meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.toc li a {
  position: relative;
  flex-direction: row;
  gap: 0.45rem;
  align-items: baseline;
  border-bottom: none;
  border-radius: 0.4rem;
  margin: 0 -0.35rem;
  padding: 0.45rem 0.55rem 0.45rem 0.65rem;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}
.toc li {
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 55%, transparent);
}
.toc li:last-child { border-bottom: none; }
.toc .num {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
  min-width: 1.5rem;
  text-align: end;
  transition: color 0.18s ease;
}
.toc .toc-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  line-height: 1.35;
}
/* Contents: hover wash vs current (gold bar only) — never two washes at once. */
.toc li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 0;
  border-radius: 1px;
  background: var(--gold-deep);
  transition: width 0.18s ease, opacity 0.18s ease;
  opacity: 0;
  pointer-events: none;
}
/* Current = thin gold leading mark + weight. No wash (wash is hover-only). */
.toc li a.is-current {
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}
.toc li a.is-current::before {
  width: 3px;
  opacity: 1;
}
.toc li a.is-current .num {
  color: var(--gold-deep);
  font-weight: 650;
}
.toc li a.is-current .toc-label { font-weight: 600; }
/* Hover: only the row under the pointer gets the parchment wash. */
.toc li a:hover {
  background: color-mix(in srgb, var(--gold) 16%, var(--paper-2));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 24%, transparent);
}
.toc li a:hover::before {
  width: 2px;
  opacity: 0.55;
}
.toc li a.is-current:hover::before {
  width: 3px;
  opacity: 1;
}
.toc li a:hover .num { color: var(--gold-deep); }
/* While scanning the list, mute non-hovered current so it cannot ghost beside hover. */
.toc:hover li a.is-current:not(:hover) {
  background: transparent;
  box-shadow: none;
}
.toc:hover li a.is-current:not(:hover)::before {
  opacity: 0.35;
}
.toc li a:focus { outline: none; }
.toc li a:focus:not(:focus-visible) {
  background: transparent;
  box-shadow: none;
}
.toc li a:focus-visible {
  background: color-mix(in srgb, var(--gold) 10%, var(--paper));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent),
    0 0 0 2px color-mix(in srgb, var(--gold) 45%, transparent);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .toc li a,
  .toc li a::before { transition: none; }
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.toggle {
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.locus { margin: 2rem 0; }
.locus h2 {
  font-size: 1.15rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.35rem;
  display: inline-block;
}

.author-group {
  margin: 2.25rem 0 0.35rem;
  max-width: 42rem;
  padding-top: 0.35rem;
}
.author-group > h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
}
.author-group > h2 .meta {
  font-family: var(--font-body);
  font-weight: 550;
  font-size: 0.92rem;
}

.excerpt, .excerpt-page, .work-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  max-width: 42rem;
}
.excerpt h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.35rem; }
.excerpt h2 a, .excerpt-page h1 { color: inherit; text-decoration: none; }
.excerpt-page h1, .work-section h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.35rem 0 0.75rem;
}
.body p { margin: 0 0 1rem; }
a.bible-ref {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px dotted color-mix(in srgb, var(--gold) 55%, transparent);
  font-variant-numeric: lining-nums;
}
a.bible-ref:hover {
  color: var(--ink);
  border-bottom-color: var(--gold-deep);
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  background: var(--paper-2);
  color: var(--reading);
  border: 1px solid var(--rule);
}
.banner.first-english {
  border-left-color: var(--gold-deep);
}
abbr.original-english {
  text-decoration: none;
  cursor: help;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  border-bottom: 1px dotted color-mix(in srgb, var(--gold) 55%, transparent);
}
.anchor-alias {
  position: relative;
  top: -5rem;
  display: block;
  height: 0;
  width: 0;
  overflow: hidden;
}
.excerpt[data-verified="1"] .badge,
.excerpt-page[data-verified="1"] .badge {
  color: var(--verified);
  border-color: color-mix(in srgb, var(--verified) 35%, var(--rule));
}
details {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 0.4rem;
}
details summary { cursor: pointer; font-weight: 650; }
.src {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.banner {
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}
#original-english,
#no-prior-english,
#no-earlier-english {
  scroll-margin-top: 5rem;
}

.related {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--paper-2) 70%, transparent);
  max-width: 42rem;
}
.related h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}
.related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--rule);
}
.related li:last-child { border-bottom: 0; }
.related a {
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 550;
}
.related a:hover { text-decoration: underline; }

.section-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: center;
  margin: 0.5rem 0 1.25rem;
  max-width: 42rem;
  font-size: 0.92rem;
  padding: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--rule) 85%, transparent);
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--paper-2) 50%, transparent);
}
.section-nav .pn {
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 550;
  min-width: 4rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.7rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.4rem;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.section-nav a.pn:hover {
  background: color-mix(in srgb, var(--gold) 14%, var(--paper));
  color: var(--ink);
}
.section-nav a.pn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 1px;
}
.section-nav .pn.next { text-align: right; justify-content: flex-end; margin-left: auto; }
.section-nav .toc { text-align: center; flex: 1; justify-content: center; }

/* Continuous reader */
.reader-mast {
  margin: 0 0 1.35rem;
  max-width: none;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 75%, transparent);
}
.reader-mast h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
/* Semiotics: mast titles are never link affordances. */
.reader-mast h1,
.reader-mast .latin-title {
  text-decoration: none;
  border-bottom: none;
  cursor: text;
}
.reader-mast .latin-title {
  margin: -0.1rem 0 0.45rem;
  max-width: 40rem;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
.reader-mast .meta {
  margin: 0;
  max-width: 40rem;
  line-height: 1.45;
  font-size: 0.95rem;
}
.work-intro {
  margin: 0 0 1.35rem;
  max-width: 44rem;
}
.work-intro p {
  margin: 0 0 0.7rem;
  line-height: 1.55;
}
.work-intro .translation-note {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}
@media (max-width: 800px) {
  .reader-mast .meta {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(14.5rem, 19rem) minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.reader-rail {
  position: sticky;
  top: 4.4rem;
  max-height: calc(100vh - 5rem);
  overflow: auto;
  padding-right: 0.15rem;
  font-size: 0.92rem;
  scroll-behavior: auto;
}
.reader-rail .related {
  margin: 0.75rem 0;
  padding: 0.7rem 0.8rem;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.reader-rail .related:hover {
  border-color: color-mix(in srgb, var(--gold) 35%, var(--rule));
  background: color-mix(in srgb, var(--paper-2) 85%, #fff);
}
.reader-rail .related h2 {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.reader-rail .related ul { margin: 0; }
.reader-rail .related li { padding: 0.28rem 0; font-size: 0.88rem; }
.reader-rail .related a {
  display: inline-block;
  padding: 0.1rem 0;
  border-radius: 0.2rem;
  transition: color 0.16s ease;
}
.reader-rail .related a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 2px;
}
.reader-about {
  margin: 0.75rem 0 0;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
  padding: 0.35rem 0.65rem 0.55rem;
  transition: border-color 0.16s ease;
}
.reader-about:hover {
  border-color: color-mix(in srgb, var(--gold) 30%, var(--rule));
}
.reader-about > summary {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  list-style: none;
  padding: 0.4rem 0.15rem;
  border-radius: 0.3rem;
}
.reader-about > summary::-webkit-details-marker { display: none; }
.reader-about > summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 1px;
}
.reader-about[open] > summary { margin-bottom: 0.35rem; }
.reader-about .banner,
.reader-about .intro {
  font-size: 0.88rem;
  margin: 0.45rem 0;
}
.reader-about .text-history {
  margin-top: 0.55rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--rule);
}
.reader-about .witness-list,
.reader-about .join-list {
  margin: 0.2rem 0 0.65rem;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  line-height: 1.4;
}
.reader-about .witness-list li,
.reader-about .join-list li {
  margin: 0.5rem 0;
}
.reader-about .role {
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.12rem;
}
.reader-about .where {
  font-weight: 650;
}
.reader-about .wit-extra {
  display: block;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}
.reader-supplied {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 0.95rem;
  padding-left: 0.65rem;
  border-left: 2px solid color-mix(in srgb, var(--rule) 80%, var(--gold));
}
.work-section .reader-about,
.main > .reader-about {
  margin: 1.1rem 0 0;
  max-width: var(--measure);
  scroll-margin-top: 5.5rem;
}
.reader-rail .reader-contents {
  margin: 0 0 0.75rem;
}
.reader-rail .reader-contents[open] {
  display: flex;
  flex-direction: column;
  max-height: min(62vh, 34rem);
  overflow: hidden;
}
.reader-rail details.toc-group > summary {
  position: sticky;
  top: 0;
  z-index: 2;
  flex: 0 0 auto;
  padding: 0.7rem 0.7rem;
  font-size: 1.05rem;
  gap: 0.35rem 0.65rem;
  background: color-mix(in srgb, var(--paper-2) 88%, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 80%, transparent);
}
.reader-rail details.toc-group .toc {
  padding: 0.2rem 0.4rem 0.55rem;
}
.reader-rail .toc {
  flex: 1 1 auto;
  max-height: none;
  overflow: auto;
  margin: 0;
  padding: 0.2rem 0.2rem 0.4rem;
  scrollbar-gutter: stable;
  border-top: none;
  /* Instant snap only — never inherit html { scroll-behavior: smooth }. */
  scroll-behavior: auto;
}
#contents .toc {
  scroll-behavior: auto;
}
.reader-rail .toc li a {
  font-size: 0.86rem;
  line-height: 1.38;
  padding: 0.42rem 0.55rem 0.42rem 0.7rem;
  margin: 0;
  gap: 0.4rem;
}
.reader-rail .toc .num {
  min-width: 1.35rem;
  font-size: 0.8rem;
}
.reader-rail .toc-here {
  display: block;
  width: 100%;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.reader-rail details.toc-group > summary:hover {
  background: color-mix(in srgb, var(--gold) 10%, var(--paper-2));
}
.reader-rail details.toc-group > summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: -2px;
}
.reader-main { min-width: 0; }
.reader-main .section-nav { max-width: none; margin-top: 0; }
.reader-sec { scroll-margin-top: 5rem; }
.reader-sec.is-current .reader-head .range {
  color: var(--gold-deep);
  font-weight: 650;
}
/* Semiotics: current-passage cue must not look like a hyperlink.
   Keep the existing ::before rail mark; never underline the title. */
.reader-sec.is-current .reader-head .reader-title {
  text-decoration: none;
  border-bottom: none;
  color: var(--ink);
  font-weight: 650;
}
.reader .vnum { scroll-margin-top: 5rem; }
.search-hint {
  list-style: none;
  border-bottom: none !important;
  padding: 0.7rem 0 !important;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
#results:empty::after {
  content: none;
}

@media (max-width: 900px) {
  .reader-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .reader-main { order: -1; } /* text first on phones */
  .reader-rail {
    position: static;
    max-height: none;
    order: 1;
    border-top: 1px solid var(--rule);
    padding-top: 1rem;
  }
  .reader-rail .reader-contents[open] {
    max-height: min(50vh, 26rem);
  }
  .reader-rail .toc {
    max-height: none;
  }
  .reader-rail .toc li a {
    padding: 0.58rem 0.6rem 0.58rem 0.75rem; /* easier tap targets */
    font-size: 0.9rem;
  }
  .reader-rail details.toc-group > summary {
    padding: 0.85rem 0.75rem;
    min-height: 2.75rem;
  }
  .reader-rail .reader-contents:not([open]) { margin-bottom: 0; }
  .section-nav {
    flex-wrap: wrap;
  }
  .section-nav .pn {
    min-height: 2.75rem;
  }
}

.reader {
  max-width: var(--measure);
}
.reader-sec {
  margin: 0 0 1.65rem;
  padding: 1.05rem 1.05rem 1.15rem 1.15rem;
  position: relative;
  border-radius: 0.45rem;
  /* Use solid colors: automatic darkening can recolor ink but leave gradient
     images pale. Keep foreground and background on the same local surface. */
  color: var(--ink);
  background: var(--paper);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--rule) 42%, transparent),
    0 1px 0 color-mix(in srgb, #fff 55%, transparent);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
/* Alternate passage panels: cool ash vs warm parchment — quiet rhythm only. */
.reader-sec:nth-child(even) {
  background: var(--paper-2);
}
.reader-sec + .reader-sec {
  border-top: none;
  padding-top: 1.05rem;
}
.reader-sec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 2px;
  border-radius: 1px;
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  opacity: 0.55;
  pointer-events: none;
  transition: background 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}
.reader-sec.is-current {
  background: var(--paper);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--gold) 22%, var(--rule)),
    0 1px 0 color-mix(in srgb, #fff 60%, transparent);
}
.reader-sec.is-current::before {
  width: 3px;
  opacity: 1;
  background: var(--gold-deep);
}
.reader-sec .body p {
  color: var(--ink);
  /* Keep reading ink on a crisp local surface. */
  text-shadow: none;
}
.reader-head {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.38rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
  flex-wrap: wrap;
}
.reader-sec:first-child .reader-head { margin-top: 0; }
.reader-head .reader-title { color: var(--ink); max-width: 36rem; }
.reader-head .range,
.reader-head .range-title {
  color: var(--gold-deep);
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.reader-head .range-title { font-size: 1em; white-space: normal; }
.reader p {
  margin: 0 0 1rem;
  line-height: 1.62;
  text-wrap: pretty;
}
.reader p:last-of-type { margin-bottom: 0.35rem; }
.reader .vnum {
  display: inline-block;
  scroll-margin-top: 5rem;
  color: var(--gold-deep);
  font-size: 0.7em;
  font-weight: 650;
  vertical-align: super;
  line-height: 0;
  margin-right: 0.28em;
  text-decoration: none;
  border-radius: 0.2rem;
  padding: 0.05rem 0.12rem;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.reader .vnum:hover {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  text-decoration: none;
  color: var(--ink);
}
.reader .vnum:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 1px;
}
.reader .vnum:target {
  background: color-mix(in srgb, var(--gold) 32%, transparent);
  border-radius: 0.2rem;
  padding: 0.1rem 0.2rem;
  margin-left: -0.2rem;
}
.reader .src-sec {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0.85rem 0 0.25rem;
}
/* Source panels in the reading column: quieter, bookish. */
.reader details {
  margin: 1.1rem 0 0;
  padding: 0.55rem 0.75rem;
  background: color-mix(in srgb, var(--paper-2) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--rule) 80%, transparent);
  border-radius: 0.45rem;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.reader details[open] {
  background: color-mix(in srgb, var(--paper-2) 88%, #fff);
  border-color: color-mix(in srgb, var(--gold) 28%, var(--rule));
}
.reader details summary {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  padding: 0.15rem 0;
  list-style: none;
}
.reader details summary::-webkit-details-marker { display: none; }
.reader details summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.4rem;
  transition: transform 0.16s ease;
  color: var(--gold);
}
.reader details[open] summary::before { transform: rotate(90deg); }
.reader details summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 2px;
  border-radius: 0.25rem;
}
.reader .src {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0.45rem 0 0;
}
.reader .meta.scholar {
  margin-top: 0.85rem;
  font-size: 0.86rem;
}
.reader-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  background: color-mix(in srgb, var(--ink) 94%, var(--gold-deep));
  color: var(--paper);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 80%, #fff);
  box-shadow: 0 8px 22px rgba(20, 19, 26, 0.18);
  opacity: 0.92;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.16s ease;
}
html.js .reader-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.35rem);
}
html.js .reader-top.is-visible {
  opacity: 0.92;
  pointer-events: auto;
  transform: translateY(0);
}
.reader-top:hover {
  opacity: 1;
  color: var(--paper);
  background: var(--ink);
}
.reader-top:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 70%, #fff);
  outline-offset: 3px;
  opacity: 1;
  pointer-events: auto;
}
.h1-book {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.68em;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.book-chip {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 550;
  transition:
    border-color 0.16s ease,
    color 0.16s ease,
    background-color 0.16s ease,
    transform 0.16s ease;
}
.book-chip:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: color-mix(in srgb, var(--gold) 8%, #fff);
  transform: translateY(-1px);
}
.book-chip:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .reader-top,
  .book-chip,
  .reader details summary::before,
  .reader .vnum,
  .reader-rail .related {
    transition: none;
  }
  .reader-top { transform: none; }
  .book-chip:hover { transform: none; }
}

.toc-group { margin: 1rem 0; }
.toc-group h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.25rem;
}
details.toc-group {
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
  padding: 0;
  overflow: hidden;
}
details.toc-group > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
}
details.toc-group > summary::-webkit-details-marker { display: none; }
details.toc-group > summary::after {
  content: "+";
  font-weight: 650;
  color: var(--gold-deep);
  margin-left: auto;
}
details.toc-group[open] > summary::after { content: "–"; }
.toc-summary-title { letter-spacing: -0.02em; }
.toc-summary-meta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink-soft);
}
.toc-summary-meta a { color: var(--gold-deep); }
details.toc-group .toc {
  margin: 0;
  padding: 0 1.1rem 0.75rem;
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 80%, #fff);
  max-height: 28rem;
  overflow: auto;
}
.book-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.75rem;
}

.search-input {
  width: min(100%, 28rem);
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 0.45rem;
  background: #fff;
  color: var(--ink);
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.works-browse .works-chrome {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 0.55rem;
  background: var(--paper-2);
  color: var(--ink);
}
.works-browse .works-find {
  display: block;
  position: relative;
}
.works-browse .works-find .search-input {
  width: 100%;
  max-width: none;
}
.works-sort,
.works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.works-sort button,
.works-filters button {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.works-sort button[aria-pressed="true"],
.works-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.works-sort button:hover,
.works-filters button:hover {
  border-color: var(--gold);
}
.works-hint {
  margin: 0 0 0.75rem;
}
.works-list li[hidden] {
  display: none;
}
/* Catalogue: author groups lead, then works, with only useful metadata. */
.card-list .work-title { font-size: 1.18rem; line-height: 1.35; }
.card-list .work-author { font-size: 1rem; font-weight: 550; }
.card-list .work-meta { font-size: 0.88rem; }
.works-list .author-group {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.4rem 1.2rem; margin-top: 2.25rem;
  max-width: none; padding-bottom: 0.5rem; border-bottom: 2px solid var(--rule);
}
.works-list .author-group:first-child { margin-top: 1.25rem; }
.works-list .author-group h2 { margin: 0; padding: 0; border: 0; font-size: 1.55rem; line-height: 1.3; }
.works-list .author-group h2 a {
  display: inline; padding: 0; border: 0; text-decoration: none;
}
.works-list .author-group h2 a:hover { text-decoration: underline; }
.works-list .author-period,
.works-list .author-dates {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 400;
}
.works-list.is-grouped .work-author { display: none; }
.works-list .work-link { padding: 0.95rem 0; gap: 0.25rem; }
.works-list .work-link:hover .work-title { text-decoration: underline; }
.works-list a:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
@media (max-width: 600px) {
  .works-list .author-group { margin-top: 1.75rem; }
  .works-list .author-group h2 { font-size: 1.3rem; }
  .card-list .work-title { font-size: 1.1rem; }
}
.passage-hits {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.search-hint {
  color: var(--ink-soft);
  font-style: italic;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.site-footer a { color: var(--gold-deep); }
.fine { font-size: 0.85rem; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  /* Primary nav stays visible at the top on phones — no Menu gate. */
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.85rem;
    padding-top: 0.35rem;
  }
  .site-nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  /* Opaque chrome on phones — no translucent wash over body text. */
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }
  .eyebrow,
  .help-option .n,
  .crumbs a,
  .site-nav .support {
    color: var(--gold-deep);
  }
  .lede,
  .intro,
  .meta,
  .card-list span,
  .topic-list .c {
    color: var(--ink-soft);
  }
  .brand,
  .main > h1,
  .hero h1,
  .help-option h2,
  .reader-head .reader-title {
    color: var(--ink);
  }
  .btn {
    color: var(--ink);
    background-color: transparent;
  }
  .btn.primary {
    background-color: var(--ink);
    color: var(--paper);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { background-attachment: scroll; }
  .btn:hover { transform: none; }
}

/* Shared navigation, focus, and narrow-screen reading safeguards. */
:root { --header-offset: 5rem; }
[hidden] { display: none !important; }
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
:where(h1, h2, h3, .meta, .crumbs, .body, .intro) { overflow-wrap: anywhere; }
:where(main, section, aside, .split > div) { min-width: 0; }
:where(#main, #contents, .reader-sec, .reader .vnum, .explore-chrome) {
  scroll-margin-top: var(--header-offset);
}
.reader-sec .reader-head, .reader-sec .body { color: var(--ink); }
.reader-sec details { color: var(--ink); background: var(--paper-2); }
.reader-about > summary::after { content: " +"; }
.reader-about[open] > summary::after { content: " −"; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
.search-empty { padding: 1rem; background: var(--paper-2); border-radius: 0.45rem; }
.search-retry { font: inherit; cursor: pointer; }
.works-sort button, .works-filters button, .nav-toggle { min-height: 44px; }
.reader-top { bottom: calc(1rem + env(safe-area-inset-bottom)); }
.reader-quick { display: none; }
@media (max-width: 900px) {
  .reader-quick { display: block; margin: 0 0 1rem; }
  .reader-quick a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 800px) {
  /* Compact always-on top nav; keep header non-sticky so it cannot bury § heads. */
  .site-header { position: relative; }
  :root { --header-offset: 1rem; }
  .nav-toggle { display: none; }
  html.js .nav-toggle { display: none; }
  .site-nav,
  html.js .site-nav,
  html.js .site-nav:not(.is-open) {
    display: flex;
  }
  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: auto;
    font-size: 0.9rem;
  }
  .site-nav .support { width: auto; }
  .reader-head { line-height: 1.35; }
  .main { padding-inline: 1rem; }
  .hero { padding-top: 1rem; }
  .reader-sec { padding: 1rem; }
  .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .hero-actions .btn { width: 100%; text-align: center; }
  .section-nav .pn { min-width: 0; padding-inline: 0.45rem; }
}

/* Author accordion: same expand pattern as About this text. */
.reader-author .intro { margin-top: 0.15rem; }
.reader-author .intro.fine { margin-bottom: 0.25rem; }

/* Site-wide link hover system: every link shifts toward ink with an
   underline reveal; list rows add a parchment wash plus a gold leading
   rule. Hover, focus-visible, and active share the same cues so keyboard
   and touch users get the same feedback. Fast (150ms) and subtle:
   parchment/ink/gold only, no glows, no transforms. */
a {
  transition:
    color 0.15s ease,
    text-decoration-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
a:hover,
a:focus-visible,
a:active {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, var(--gold-deep) 80%, transparent);
}
/* Controls with their own cue stay underline-free on hover and focus. */
.btn:hover,
.btn:focus-visible,
.btn:active,
.book-chip:hover,
.book-chip:focus-visible,
.book-chip:active,
.reader-top:hover,
.reader-top:focus-visible,
.toc li a:hover,
.toc li a:focus-visible,
.section-nav .pn:hover,
.section-nav .pn:focus-visible,
.site-nav .support:hover,
.site-nav .support:focus-visible,
.brand:hover,
.brand:focus-visible,
a.bible-ref:hover,
a.bible-ref:focus-visible,
.card-list li a:hover,
.card-list li a:focus-visible,
.card-list li a:active,
.topic-list li a:hover,
.topic-list li a:focus-visible,
.topic-list li a:active {
  text-decoration-line: none;
}
/* Brand mark: accent shift is the cue. */
.brand:hover,
.brand:focus-visible {
  color: var(--gold-deep);
}
/* Nav items: underline plus color cue. */
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a:active {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent);
  text-underline-offset: 0.25em;
}
/* Rows (works lists, topic lists): wash plus a gold leading rule.
   Negative side margins keep the text exactly where it was. */
.card-list li a,
.topic-list li a {
  position: relative;
  margin: 0 -0.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: 0.4rem;
}
.works-list .work-link { padding: 0.95rem 0.5rem; }
.works-list .author-group h2 a { margin: 0; }
.card-list li a:hover,
.card-list li a:focus-visible,
.card-list li a:active,
.topic-list li a:hover,
.topic-list li a:focus-visible,
.topic-list li a:active {
  background: color-mix(in srgb, var(--gold) 9%, var(--paper-2));
  box-shadow: inset 3px 0 0 var(--gold-deep);
}
/* Author-hub series rows: same flat list chrome as single-work links
   (no Accordion paper box). Expand still reveals book parts. */
.author-works > .work-series > details {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.author-works > .work-series > details > summary {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
  margin: 0 -0.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: 0.4rem;
  list-style: none;
  cursor: pointer;
  font-weight: 400;
  color: inherit;
}
.author-works > .work-series > details > summary::-webkit-details-marker { display: none; }
.author-works > .work-series > details > summary::before {
  content: "▸";
  position: absolute;
  left: -0.05rem;
  top: 0.95rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
  transition: transform 0.16s ease;
}
.author-works > .work-series > details[open] > summary::before { transform: rotate(90deg); }
.author-works > .work-series > details > summary .work-series-title {
  padding-left: 0.85rem;
  font-weight: 400;
}
.author-works > .work-series > details > summary .meta { padding-left: 0.85rem; }
.author-works > .work-series > details > summary:hover,
.author-works > .work-series > details > summary:focus-visible {
  background: color-mix(in srgb, var(--gold) 9%, var(--paper-2));
  box-shadow: inset 3px 0 0 var(--gold-deep);
  color: var(--gold-deep);
  outline: none;
}
.author-works > .work-series > details > summary:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.author-works .series-parts {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0 0 0 0.85rem;
}
.author-works .series-parts > li { border-bottom: 1px solid var(--rule); }
.author-works .series-parts > li:last-child { border-bottom: none; }
.author-works .series-parts a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0 -0.5rem;
  padding: 0.65rem 0.5rem;
  border-radius: 0.35rem;
  text-decoration: none;
  color: inherit;
}
.author-works .series-parts a:hover,
.author-works .series-parts a:focus-visible {
  background: color-mix(in srgb, var(--gold) 9%, var(--paper-2));
  box-shadow: inset 3px 0 0 var(--gold-deep);
  color: var(--gold-deep);
  text-decoration-line: underline;
}

/* Plain-text rows (author Works lists carry no strong title child):
   shift to the accent with an underline reveal. */
.card-list li a:not(:has(strong)):hover,
.card-list li a:not(:has(strong)):focus-visible,
.card-list li a:not(:has(strong)):active {
  color: var(--gold-deep);
  text-decoration-line: underline;
}
/* Group headings are not rows: keep them wash-free. */
.works-list .author-group h2 a:hover,
.works-list .author-group h2 a:focus-visible,
.works-list .author-group h2 a:active {
  background: transparent;
  box-shadow: none;
}
/* Related topics: full-row hit area with wash plus gold leading rule. */
.related li { padding: 0; }
.reader-rail .related li { padding: 0; }
.related li a {
  display: block;
  margin: 0 -0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.35rem;
}
.reader-rail .related li a { padding-top: 0.28rem; padding-bottom: 0.28rem; }
.related li a:hover,
.related li a:focus-visible,
.related li a:active {
  color: var(--ink);
  background: color-mix(in srgb, var(--gold) 10%, var(--paper-2));
  box-shadow: inset 2px 0 0 var(--gold-deep);
}
@media (prefers-reduced-motion: reduce) {
  a,
  .section-nav .pn,
  .reader-about { transition: none; }
}

/* Compact /works/ author catalog (one row per author). */
.author-catalog {
  list-style: none;
  margin: 0;
  padding: 0;
}
.author-catalog .author-entry {
  border-bottom: 1px solid var(--rule);
}
.author-catalog .author-link {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  padding: 0.9rem 0;
}
.author-catalog .author-link:hover .author-name,
.author-catalog .author-link:focus-visible .author-name {
  color: var(--gold-deep);
}
.author-catalog .author-link:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
.author-catalog .author-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.12rem;
  color: var(--ink);
}
.author-catalog .author-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.author-catalog .author-meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.card-list .lead {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
  margin-top: 0.35rem;
}

.topic-lead {
  margin: 0.85rem 0 0.35rem;
  padding: 0;
  border: 0;
  quotes: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink);
}
.topic-lead p { margin: 0; }
.topic-more { margin: 0.4rem 0 0; }
.topic-card .src-lead { margin-top: 0.65rem; }

.century-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0.25rem 0 0.25rem;
  margin: 0.75rem 0 1.25rem;
  max-width: 42rem;
}
.century-strip li { display: grid; min-width: 6.5rem; }
.century-strip .yr { color: var(--ink-soft); font-size: 0.92rem; }
.century-strip .n {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.path-note {
  max-width: 42rem;
  margin: 0.25rem 0 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--paper-2);
}
.path-note h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}
.path-note p { margin: 0.35rem 0 0; }

.filed-more { max-width: 42rem; margin: 1.25rem 0 1.5rem; }
.filed-more summary { cursor: pointer; font-weight: 650; }
