/* Styles for the readable event and era pages (written by scripts/pages.mjs).
   They are plain HTML pages, separate from the interactive scroll's bundle. */

@font-face {
  font-family: 'Luce Atelier Swash';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/LuceAtelierSwash-Regular.woff2') format('woff2');
}

/* The swash H and K leave a gap before the next letter ("H is", "K ing"),
   so those two letters come from the plain cut of the same typeface. */
@font-face {
  font-family: 'Luce Atelier Swash';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/LuceAtelier-Regular.woff2') format('woff2');
  unicode-range: U+0048, U+004B;
}

@font-face {
  font-family: 'Oria Display';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('/fonts/OriaDisplay-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Avenue Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/AvenueSans-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cinzel';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cinzel-latin-400-normal.woff2') format('woff2');
}

:root {
  --color-gold: #e2b866;
  --color-gold-bright: #ffd98a;
  --color-gold-deep: #a97a2c;
  --color-gold-line: rgb(226 184 102 / 0.24);
  --color-umber-950: #0d0804;
  --color-umber-900: #150e08;
  --color-umber-800: #1e140c;
  --color-cream: #f4e6c8;
  --color-cream-dim: #cbb690;
  --color-cream-faint: #94805f;
  --font-title: 'Luce Atelier Swash', Georgia, serif;
  --font-quote: 'Oria Display', Georgia, serif;
  --font-text: 'Avenue Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'Cinzel', Georgia, serif;
}

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

html {
  background: var(--color-umber-950);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 90% 40rem at 50% 0%, rgb(74 48 22 / 0.42), transparent 70%),
    var(--color-umber-900);
  color: var(--color-cream-dim);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--color-gold-bright);
  text-decoration-color: rgb(255 217 138 / 0.4);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 0.125rem solid var(--color-gold-bright);
  outline-offset: 0.1875rem;
}

h1,
h2,
p,
ol,
ul,
figure,
blockquote {
  margin: 0;
}

/* ── Top bar and footer ────────────────────────────────────── */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 0.0625rem solid var(--color-gold-line);
}

.top__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-cream);
}

.top__brand svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--color-gold);
}

.top {
  flex-wrap: wrap;
}

.top__nav {
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.75rem);
  margin-left: auto;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-cream-dim);
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--color-gold-bright);
}

.top__cta,
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.125rem;
  border: 0.0625rem solid var(--color-gold);
  border-radius: 100px;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--color-gold-bright);
}

.btn {
  padding-inline: 1.75rem;
  background: linear-gradient(
    180deg,
    var(--color-gold-bright),
    var(--color-gold) 55%,
    var(--color-gold-deep)
  );
  color: var(--color-umber-950);
  font-size: 0.75rem;
  font-weight: 700;
}

.foot {
  margin-top: 4rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem;
  border-top: 0.0625rem solid var(--color-gold-line);
  font-size: 0.875rem;
  color: var(--color-cream-faint);
}

.foot p {
  max-width: 46rem;
  margin-inline: auto;
}

.foot__eras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.25rem;
  max-width: 46rem;
  margin: 1.25rem auto 0;
  padding: 0;
  list-style: none;
}

/* ── Page body ─────────────────────────────────────────────── */

.page {
  max-width: 46rem;
  margin-inline: auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 0;
}

.page--wide {
  max-width: 68rem;
}

/* Sections inside a page size their grids from their own width. */
.page > article,
.page > .group,
.page--wide {
  container-type: inline-size;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--color-cream-faint);
}

.crumbs li + li::before {
  content: '›';
  margin-right: 0.5rem;
}

.crumbs a {
  color: var(--color-cream-dim);
}

.eyebrow {
  margin-top: 2rem;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow a {
  color: var(--color-cream-dim);
  text-decoration: none;
}

h1 {
  margin-top: 0.5rem;
  padding-block: 0.125rem;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  line-height: 1.04;
  color: var(--color-cream);
  text-wrap: balance;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}

.meta span + span::before {
  content: '◆';
  margin-right: 1rem;
  font-size: 0.5rem;
  vertical-align: middle;
  color: var(--color-gold-deep);
}

.hero {
  margin-top: 1.75rem;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  border: 0.0625rem solid var(--color-gold-line);
  border-radius: 0.25rem;
}

.lede,
.remember,
.verse p,
.fits b,
.pager a,
.king h3 {
  font-variant-numeric: lining-nums;
}

.lede {
  margin-top: 1.75rem;
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  line-height: 1.35;
  color: var(--color-cream);
  text-wrap: pretty;
}

h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2.5rem;
  border-top: 0.0625rem solid rgb(226 184 102 / 0.14);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, upper-roman);
  position: absolute;
  left: 0;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  line-height: 1.7rem;
  color: var(--color-cream-faint);
}

.verse p {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--color-gold-bright);
  text-wrap: pretty;
}

.verse cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-label);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.actions {
  margin-top: 2.5rem;
}

.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--color-gold-line);
}

.pager a {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.25;
  text-decoration: none;
  color: var(--color-cream);
}

.pager a[rel='next'] {
  text-align: right;
}

.pager a span {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-label);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.more ul {
  padding: 0;
  list-style: none;
}

.more li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.625rem 0;
  border-top: 0.0625rem solid rgb(226 184 102 / 0.14);
}

.more span {
  font-size: 0.9375rem;
  color: var(--color-cream-faint);
}

/* ── Era page: list of events ──────────────────────────────── */

.events {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  container: events / inline-size;
}

.events li {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 0.0625rem solid rgb(226 184 102 / 0.14);
}

@container events (min-width: 34rem) {
  .events li {
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.events img {
  display: block;
  width: 100%;
  height: auto;
  border: 0.0625rem solid var(--color-gold-line);
  border-radius: 0.25rem;
}

.events h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.875rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.events h2 a {
  color: var(--color-cream);
  text-decoration: none;
}

.events .meta {
  margin: 0.375rem 0 0.5rem;
}

/* ── Stories ───────────────────────────────────────────────── */

:root {
  --color-ember: #c9654a;
}

h3 {
  margin: 0;
  font-weight: 400;
}

.eyebrow {
  color: var(--color-cream-faint);
}

.remember {
  margin-top: 2rem;
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  line-height: 1.35;
  color: var(--color-gold-bright);
  text-wrap: balance;
}

.remember span {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-label);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Where the story sits: the event before, this story, the event after. */
.fits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.fits li {
  position: relative;
  padding: 1.5rem 0.5rem 0;
  border-top: 0.125rem dashed rgb(226 184 102 / 0.3);
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: center;
}

.fits li::before {
  content: '';
  position: absolute;
  top: -0.4375rem;
  left: 50%;
  width: 0.75rem;
  height: 0.75rem;
  margin-left: -0.375rem;
  border: 0.125rem solid var(--color-gold-deep);
  border-radius: 50%;
  background: var(--color-umber-900);
}

.fits .fits__here {
  border-top: 0.125rem solid var(--color-gold-bright);
  color: var(--color-cream);
}

.fits .fits__here::before {
  border-color: var(--color-gold-bright);
  background: var(--color-gold-bright);
  box-shadow: 0 0 0.75rem rgb(255 217 138 / 0.7);
}

.fits b {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
}

.fits span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--color-cream-faint);
}

/* People cards: in a story (the cast) and on the people page. */
.cast,
.people {
  display: grid;
  gap: 1.5rem 1.25rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

@container (min-width: 26rem) {
  .cast,
  .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (min-width: 44rem) {
  .people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container (min-width: 60rem) {
  .people {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.person {
  display: flex;
  flex-direction: column;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cast .person {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.875rem;
}

.person__art {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 0.0625rem solid var(--color-gold-line);
  border-radius: 0.25rem;
  background: var(--color-umber-800);
}

.cast .person__art {
  flex: none;
  width: 5.5rem;
  aspect-ratio: 1;
}

.person__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person__body {
  min-width: 0;
}

.people .person__body {
  margin-top: 0.75rem;
}

.person h3 {
  font-family: var(--font-title);
  font-size: 1.625rem;
  line-height: 1.1;
}

.person h3 a {
  color: var(--color-cream);
  text-decoration: none;
}

.person__role {
  margin: 0.25rem 0 0.375rem;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* The story, scene by scene. */
.scenes {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.scene {
  padding-top: 2rem;
}

.scene + .scene {
  margin-top: 2.5rem;
  border-top: 0.0625rem solid rgb(226 184 102 / 0.14);
}

.scene__art img {
  display: block;
  width: 100%;
  height: auto;
  border: 0.0625rem solid var(--color-gold-line);
  border-radius: 0.25rem;
}

.scene h3 {
  margin-top: 1.25rem;
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  line-height: 1.08;
  color: var(--color-cream);
  text-wrap: balance;
}

.scene h3 span {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.scene__ref {
  margin: 0.375rem 0 0.875rem;
  font-size: 0.875rem;
  color: var(--color-cream-faint);
}

.scene p + p {
  margin-top: 0.875rem;
}

.verse--scene {
  margin-top: 1.25rem;
}

.verse--scene p {
  font-size: clamp(1.125rem, 3.2vw, 1.3125rem);
}

/* The passage itself, folded away until asked for. */
.scripture {
  margin-top: 0.75rem;
  border-top: 0.0625rem solid rgb(226 184 102 / 0.14);
}

.scripture summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  cursor: pointer;
  list-style: none;
}

.scripture summary::-webkit-details-marker {
  display: none;
}

.scripture summary::after {
  content: '+';
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--color-gold);
}

.scripture[open] summary::after {
  content: '−';
}

.scripture p {
  padding: 0.25rem 0 1.25rem;
}

.scripture sup {
  margin: 0 0.1875rem 0 0.125rem;
  font-size: 0.6875rem;
  color: var(--color-gold);
}

/* Lists of links with a date or passage beside each. */
.links {
  padding: 0;
  list-style: none;
}

.links li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.625rem 0;
  border-top: 0.0625rem solid rgb(226 184 102 / 0.14);
}

.links span {
  font-size: 0.9375rem;
  color: var(--color-cream-faint);
}

.group {
  margin-top: 3rem;
}

.group__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin: 0;
}

.group__title a {
  color: var(--color-gold);
  text-decoration: none;
}

.group__title span {
  font-family: var(--font-text);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-cream-faint);
}

.group .events {
  margin-top: 0.75rem;
}

.events h3 {
  font-family: var(--font-title);
  font-size: 1.875rem;
  line-height: 1.08;
}

.events h3 a {
  color: var(--color-cream);
  text-decoration: none;
}

.events__art {
  position: relative;
  display: block;
}

/* ── Kings chart ───────────────────────────────────────────── */

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.legend li {
  padding-left: 0.875rem;
  border-left: 0.25rem solid var(--verdict);
}

.kings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem clamp(0.5rem, 2cqi, 1.5rem);
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.kings__head {
  padding-bottom: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-cream-faint);
}

.kings__head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-title);
  font-size: clamp(2rem, 8cqi, 3rem);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  color: var(--color-cream);
}

.king--right {
  --verdict: var(--color-gold-bright);
}

.king--mixed {
  --verdict: var(--color-gold-deep);
}

.king--evil {
  --verdict: var(--color-ember);
}

.king--none {
  --verdict: var(--color-cream-faint);
}

.king,
.kings__end {
  min-width: 0;
  padding: 0.625rem 0.5rem 0.75rem clamp(0.5rem, 2cqi, 0.875rem);
  border-left: 0.25rem solid var(--verdict, var(--color-gold-line));
  background: rgb(244 230 200 / 0.035);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.king--mixed {
  border-left-style: double;
}

.king h3,
.kings__end h3 {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.125rem, 5cqi, 1.5rem);
  line-height: 1.15;
  color: var(--color-cream);
  overflow-wrap: anywhere;
}

.king__years {
  margin-top: 0.125rem;
  color: var(--color-cream-faint);
}

.king__verdict {
  margin-top: 0.375rem;
  font-family: var(--font-label);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verdict);
}

.king__note {
  margin-top: 0.25rem;
}

.king__prophets,
.king__ref {
  margin-top: 0.375rem;
  color: var(--color-cream-faint);
}

.king__prophets span {
  margin-right: 0.375rem;
  font-family: var(--font-label);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.kings__end {
  --verdict: var(--color-cream-faint);
  border-left-style: dotted;
}

/* ── Paul's life and letters ───────────────────────────────── */

.glance__title {
  margin-top: 2rem;
}

.glance {
  margin-top: 0.75rem;
  overflow-x: auto;
}

.glance table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.4;
}

.glance th,
.glance td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 0.0625rem solid var(--color-gold-line);
  text-align: left;
  vertical-align: top;
}

.glance thead th {
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.glance tbody th {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.glance tbody th a {
  color: var(--color-cream);
  text-decoration: none;
}

.glance tbody th a:hover {
  color: var(--color-gold-bright);
}

.glance td:last-child {
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--color-cream-faint);
}

.glance__note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-cream-faint);
}

.life {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

/* Each stage of his life: when and where on the left, the story on the right,
   joined by one gold line down the page. Narrow screens stack the two. */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  padding: 0 0 2.25rem 1.5rem;
  border-left: 0.0625rem solid var(--color-gold-line);
}

.stage:last-child {
  padding-bottom: 0.5rem;
}

.stage::before {
  content: '';
  position: absolute;
  top: 0.4rem;
  left: -0.3125rem;
  width: 0.5625rem;
  height: 0.5625rem;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0.75rem rgb(255 178 62 / 0.45);
}

@container (min-width: 44rem) {
  .stage {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 2rem;
  }
}

.stage__when {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
  color: var(--color-gold);
}

.stage__when span {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-text);
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-cream-faint);
}

.stage__body {
  min-width: 0;
  container-type: inline-size;
}

.stage__body h2 {
  margin: 0;
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 5cqi, 2rem);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.1;
  color: var(--color-cream);
}

.stage__body > p {
  margin-top: 0.5rem;
}

.stage__ref {
  font-size: 0.8125rem;
  color: var(--color-cream-faint);
}

.stage__links span,
.letter__shown span,
.letter dt {
  margin-right: 0.375rem;
  font-family: var(--font-label);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.stage__label {
  margin: 1.25rem 0 0;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.letters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin: 0.625rem 0 0;
  padding: 0;
  list-style: none;
}

@container (min-width: 36rem) {
  .letters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.letter {
  min-width: 0;
  padding: 0.75rem 0.75rem 0.875rem 0.875rem;
  border-left: 0.25rem solid var(--color-gold);
  background: rgb(244 230 200 / 0.035);
  font-size: 0.8125rem;
  line-height: 1.45;
  scroll-margin-top: 5rem;
}

.letter h4 {
  margin: 0;
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.15;
  color: var(--color-cream);
}

.letter dl {
  margin: 0.375rem 0 0;
}

.letter dl div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.letter dd {
  margin: 0;
  color: var(--color-cream-dim);
}

.letter p {
  margin-top: 0.5rem;
}

.letter__note,
.letter__shown {
  color: var(--color-cream-faint);
}
