/* ════════════════════════════════════════════════════════════════════════════
   THE ARCHIVE — literary magazine styles.
   Loaded after site.css; reuses its tokens (--void, --violet, --cyan, …).
   The Archive reads observational/cosmic; Permanent Residency is enshrined in gold.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --gold: #E3C766;
  --gold-soft: #F2E2A8;
  --gold-deep: #B8923A;
  --gold-border: rgba(227, 199, 102, 0.34);
  --gold-glow: rgba(227, 199, 102, 0.16);
}

/* ── Section headers / shared type ── */
.archive-page .page-header { overflow: hidden; }

.page-label.gold,
.section-eyebrow.gold { color: var(--gold); }

.gold-heading {
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.9rem;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  color: var(--white);
}

.section-note {
  margin-top: 0.9rem;
  margin-bottom: 2.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 620px;
}

.inline-link {
  color: var(--lavender);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.inline-link:hover { color: var(--cyan); border-color: var(--cyan); }

.archive-section { margin-bottom: 4.5rem; }

.archive-intro {
  max-width: 680px;
  margin-bottom: 4rem;
}
.archive-intro p {
  font-size: 1.12rem;
  line-height: 1.9;
  color: rgba(240, 237, 255, 0.82);
  margin-bottom: 1.2rem;
}
.archive-intro strong { color: var(--lavender); font-weight: 400; }

/* ── Orbs (gold variant for the canon) ── */
.orb-gold {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(227, 199, 102, 0.18), transparent);
  top: -120px;
  right: -120px;
  animation: drift 24s ease-in-out infinite;
}

/* ── Index grid + cards ── */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.archive-card {
  display: flex;
  flex-direction: column;
  background: var(--void);
  padding: 2.4rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}
.archive-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--glow-purple), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.archive-card:hover { transform: translateY(-3px); }
.archive-card:hover::before { opacity: 1; }

.archive-card-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.archive-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.archive-card:hover .archive-card-title { color: var(--lavender); }

.archive-card-author {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}

.archive-card-dek {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(240, 237, 255, 0.7);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.archive-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.archive-card-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Permanent residents glow gold even inside the main grid. */
.archive-card--permanent::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold-soft), var(--gold), rgba(227, 199, 102, 0.12));
}
.archive-card--permanent:hover { background: rgba(227, 199, 102, 0.05); }
.archive-card--permanent:hover .archive-card-title { color: var(--gold-soft); }
.archive-card--permanent::before {
  background: linear-gradient(135deg, var(--gold-glow), transparent);
}

/* ── Status badges ── */
.status-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border: 1px solid;
  white-space: nowrap;
}
.status-archive { color: var(--cyan); border-color: rgba(34, 211, 238, 0.32); }
.status-permanent {
  color: var(--gold-soft);
  border-color: var(--gold-border);
  background: var(--gold-glow);
}

/* ── Piece header meta ── */
.archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
}
.archive-meta-author {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--lavender);
}
.archive-meta-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.archive-chip {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid var(--border);
  padding: 0.3rem 0.65rem;
}
.archive-bio {
  margin-top: 1.5rem;
  max-width: 560px;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--muted);
}

.is-permanent .archive-meta-author { color: var(--gold-soft); }
.is-permanent .archive-chip { color: var(--gold); border-color: var(--gold-border); }

/* ── The reading room (the piece itself) ── */
.archive-content { max-width: 980px; }

.archive-piece {
  display: flex;
  justify-content: center;
}
.reading-room {
  width: 100%;
  max-width: 46rem;
  font-size: 1.24rem;
  line-height: 1.95;
  color: rgba(240, 237, 255, 0.9);
}
.reading-room p { margin-bottom: 1.6rem; }
.reading-room > p:first-of-type::first-letter {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.2em;
  line-height: 0.72;
  padding: 0.05em 0.12em 0 0;
  color: var(--lavender);
}
.is-permanent .reading-room > p:first-of-type::first-letter { color: var(--gold-soft); }

.reading-room h2, .reading-room h3, .reading-room h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
}
.reading-room h2 { font-size: 1.8rem; }
.reading-room h3 { font-size: 1.45rem; }

.reading-room blockquote {
  margin: 2rem 0;
  padding: 0.4rem 0 0.4rem 1.75rem;
  border-left: 2px solid;
  border-image: linear-gradient(to bottom, var(--violet), var(--cyan)) 1;
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.7;
  color: var(--white);
}
.is-permanent .reading-room blockquote {
  border-image: linear-gradient(to bottom, var(--gold-soft), var(--gold-deep)) 1;
}

.reading-room ul, .reading-room ol { margin: 0 0 1.6rem 1.4rem; }
.reading-room li { margin-bottom: 0.6rem; }
.reading-room a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.reading-rule {
  width: 30%;
  margin: 2.75rem auto;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Editorial conversation ── */
.editorial-conversation { max-width: 60rem; margin: 0 auto; }

.editorial-note {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.editorial-note:first-of-type { border-top: none; }

.editorial-note-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.editorial-note-head .critic-emblem { margin-bottom: 0; }
.editorial-body {
  font-size: 1.06rem;
  line-height: 1.85;
  color: rgba(240, 237, 255, 0.82);
}
.editorial-body p { margin-bottom: 1rem; }
.editorial-body p:last-child { margin-bottom: 0; }

/* Per-editor accent: emblem ring only — the voices are marked by initials. */
.editorial-note--violet .critic-emblem { border-color: rgba(155, 77, 255, 0.5); }
.editorial-note--cyan .critic-emblem {
  border-color: rgba(34, 211, 238, 0.5);
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.32), rgba(34, 211, 238, 0.08));
}
.editorial-note--gold .critic-emblem {
  border-color: var(--gold-border);
  background: radial-gradient(circle at 30% 30%, rgba(227, 199, 102, 0.34), rgba(227, 199, 102, 0.08));
  color: var(--gold-soft);
}

/* ── Myth-making ── */
.myth-making {
  max-width: 60rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid var(--border);
  background: rgba(123, 47, 190, 0.05);
  position: relative;
  overflow: hidden;
}
.myth-making::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--violet), var(--cyan), transparent);
}
.myth-making--permanent {
  border-color: var(--gold-border);
  background: rgba(227, 199, 102, 0.05);
}
.myth-making--permanent::before {
  background: linear-gradient(to bottom, var(--gold-soft), var(--gold), transparent);
}
.myth-making--permanent .section-eyebrow { color: var(--gold); }

.myth-reach {
  margin: 1.75rem 0 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid;
  border-image: linear-gradient(to bottom, var(--violet), var(--cyan)) 1;
}
.myth-making--permanent .myth-reach {
  border-image: linear-gradient(to bottom, var(--gold-soft), var(--gold-deep)) 1;
}
.myth-reach-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.6rem;
}
.myth-making--permanent .myth-reach-label { color: var(--gold); }
.myth-reach p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  color: var(--white);
}

.myth-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(240, 237, 255, 0.82);
}
.myth-body p { margin-bottom: 1.2rem; }
.myth-body strong { color: var(--lavender); font-weight: 400; }
.myth-making--permanent .myth-body strong { color: var(--gold-soft); }

.myth-chips-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.myth-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
}
.chip-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.5rem;
}
.myth-chip {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--lavender);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
}
.myth-making--permanent .myth-chip { color: var(--gold-soft); border-color: var(--gold-border); }

/* ── Pager ── */
.archive-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 60rem;
  margin: 4.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.archive-pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.archive-pager-link.next { text-align: right; }
.archive-pager-link.prev:hover { transform: translateX(-4px); }
.archive-pager-link.next:hover { transform: translateX(4px); }
.archive-pager-link span {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
}
.archive-pager-link strong {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--muted);
  transition: color 0.2s;
}
.archive-pager-link:hover strong { color: var(--lavender); }
.archive-pager-index {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.7rem 1.1rem;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.archive-pager-index:hover { color: var(--cyan); border-color: var(--cyan); }

.archive-empty {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
}

/* ── "Browse" link on the Archive home ── */
.archive-browse { margin-top: 2rem; }
.archive-browse-link {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.archive-browse-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.05);
}

/* ════════════════════════════════════════════════════════════════════════════
   THE CONSTELLATION — spatial map + indexes (/the-archive/map/)
   ════════════════════════════════════════════════════════════════════════════ */

.map-section { margin-bottom: 5rem; }

/* ── Month slider ── */
.month-slider {
  margin: 0 0 2rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border: 1px solid var(--border);
  background: rgba(123, 47, 190, 0.04);
}
.month-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.month-slider-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--violet);
}
.month-slider-value {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--lavender);
}
.month-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  outline: none;
  margin: 0.5rem 0 1.1rem;
  cursor: pointer;
}
.month-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
  cursor: pointer;
}
.month-slider input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
  cursor: pointer;
}
.month-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.month-tick {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.month-tick:hover { color: var(--lavender); border-color: var(--lavender); }
.month-tick.is-active {
  color: var(--void);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ── The map canvas ── */
.constellation {
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 25% 20%, rgba(155, 77, 255, 0.08), transparent 60%),
    radial-gradient(circle at 78% 78%, rgba(34, 211, 238, 0.07), transparent 60%),
    var(--void);
  overflow: hidden;
}
.constellation svg { display: block; width: 100%; height: auto; }

.edge {
  stroke: rgba(155, 77, 255, 0.18);
  stroke-width: 1;
  transition: stroke 0.25s, stroke-width 0.25s;
}
.edge.is-active { stroke: rgba(34, 211, 238, 0.7); stroke-width: 1.4; }
.has-selection .edge:not(.is-active) { stroke: rgba(155, 77, 255, 0.06); }

.node { cursor: pointer; outline: none; }
.node-halo {
  fill: transparent;
  opacity: 0;
  transition: opacity 0.25s, fill 0.25s;
}
.node-dot {
  stroke-width: 1.5;
  transition: opacity 0.25s, r 0.2s;
}
.node-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  fill: var(--muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, fill 0.25s;
}

/* node type palette */
.node-title .node-dot  { fill: var(--lavender); stroke: var(--white); }
.node-author .node-dot { fill: rgba(34, 211, 238, 0.85); stroke: var(--cyan); }
.node-myth .node-dot   { fill: rgba(155, 77, 255, 0.85); stroke: var(--violet); }
.node-month .node-dot  { fill: rgba(240, 237, 255, 0.5); stroke: var(--muted); }
.node-title.is-permanent .node-dot { fill: var(--gold-soft); stroke: var(--gold); }

.node-title .node-label { fill: rgba(240, 237, 255, 0.75); opacity: 1; }
.node:hover .node-label,
.node:focus .node-label { opacity: 1; fill: var(--white); }
.node:hover .node-halo,
.node:focus .node-halo { opacity: 1; fill: rgba(155, 77, 255, 0.18); }

/* selection states */
.has-selection .node-dot { opacity: 0.22; }
.has-selection .node-label { opacity: 0; }
.has-selection .node-title .node-label { opacity: 0.25; }
.has-selection .node.is-active .node-dot { opacity: 1; }
.has-selection .node.is-active .node-label { opacity: 1; fill: var(--white); }
.has-selection .node.is-active .node-halo { opacity: 1; fill: rgba(34, 211, 238, 0.14); }
.node.is-seed .node-dot { stroke-width: 2.5; }
.node.is-seed .node-halo { opacity: 1; fill: rgba(34, 211, 238, 0.22); }

/* ── Legend ── */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.1rem;
}
.legend-key {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.legend-key::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.legend-title::before  { background: var(--lavender); }
.legend-author::before { background: rgba(34, 211, 238, 0.85); }
.legend-myth::before   { background: rgba(155, 77, 255, 0.85); }
.legend-month::before  { background: rgba(240, 237, 255, 0.5); }

/* ── Detail panel (what lit up) ── */
.map-detail {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  background: rgba(34, 211, 238, 0.04);
}
.map-detail-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.map-detail-type {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
}
.map-detail-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--white);
}
.map-detail-pieces { display: flex; flex-direction: column; gap: 0.2rem; }
.map-detail-piece {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: padding-left 0.2s;
}
.map-detail-piece:hover { padding-left: 0.4rem; }
.map-detail-piece span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--lavender);
}
.map-detail-piece:hover span:first-child { color: var(--cyan); }
.map-detail-piece-by {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ── The text indexes ── */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.index-column { background: var(--void); padding: 2rem 1.75rem; }
.index-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.index-list { list-style: none; margin: 0; padding: 0; }
.index-list li { margin: 0; }
.index-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.7rem 0;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(240, 237, 255, 0.82);
  transition: color 0.2s, padding-left 0.2s;
}
.index-item:hover, .index-item:focus-visible { color: var(--cyan); padding-left: 0.4rem; outline: none; }
.index-item.is-active { color: var(--cyan); padding-left: 0.4rem; }
.index-count, .index-meta {
  font-family: 'DM Mono', monospace;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}
.index-count { font-size: 0.65rem; }
.index-meta { font-size: 0.56rem; text-transform: uppercase; }
.index-empty {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  padding: 0.7rem 0;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .archive-grid { grid-template-columns: 1fr; }
  .reading-room { font-size: 1.12rem; }
  .editorial-note { grid-template-columns: 1fr; gap: 1rem; }
  .archive-pager { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  .archive-pager-link.next { text-align: left; }
  .archive-pager-index { order: 3; text-align: center; }
  .index-grid { grid-template-columns: 1fr; }
  .node-title .node-label { opacity: 0; }
  .month-slider-head { flex-direction: column; gap: 0.4rem; }
}
