/* ─────────────────────────────────────────────────────────────
   Dispatches — section-specific styles on top of styles.css.
   The page lives in 3 modes:
     ☆ Index     — header + starfield + chronological rail
     ☆ Reading   — long-form article + marginalia + footer
     ☆ Aux       — about / subscribe (calmer, narrower)
   ───────────────────────────────────────────────────────────── */

html, body { min-height: 100%; }
body.disp-body {
  background: var(--bg);
  overflow-x: hidden;
}

/* ───────── header ───────── */
.disp-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px; height: 60px;
  background: color-mix(in srgb, var(--bg), transparent 10%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 50%);
}
.disp-brand {
  font-family: "Cinzel", serif;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: baseline; gap: 10px;
}
.disp-brand .sep { color: var(--muted); }
.disp-brand .sub { color: var(--text3); }
.disp-brand {
  white-space: nowrap;
  flex-shrink: 0;
}
.disp-nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1100px) {
  .disp-brand .sep, .disp-brand .sub { display: none; }
  .disp-nav { gap: 18px; }
}
.disp-nav a {
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative; padding: 4px 0;
}
.disp-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right 300ms ease;
}
.disp-nav a:hover, .disp-nav a.active { color: var(--accent-hi); }
.disp-nav a:hover::after, .disp-nav a.active::after { right: 0; }
/* sub-link — Field Office sits a little apart since it's a dispatches-
   internal destination, not part of the main nav. */
.disp-nav .disp-nav-sub {
  margin-left: 4px;
  padding-left: 22px;
  border-left: 1px solid var(--border);
  color: var(--text3);
  opacity: 0.78;
}
.disp-nav .disp-nav-sub:hover { opacity: 1; }

/* ───────── index — hero ───────── */
.idx-hero {
  position: relative;
  text-align: center;
  padding: 80px 24px 36px;
  max-width: 880px;
  margin: 0 auto;
}
.idx-eyebrow {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 14px;
}
.idx-eyebrow::before, .idx-eyebrow::after {
  content: ""; width: 36px; height: 1px; background: var(--border2);
}
.idx-title {
  font-family: "Cinzel", serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 22px;
  text-shadow: 0 0 80px color-mix(in srgb, var(--glow), transparent 50%);
}
.idx-title em { color: var(--accent); font-style: normal; }
.idx-lede {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: var(--text3);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 620px;
  text-wrap: pretty;
}

/* ───────── filters ───────── */
.idx-filters {
  max-width: 1100px;
  margin: 32px auto 8px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.fil-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fil-label {
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.fil-pill {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text3);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.fil-pill:hover { color: var(--text); border-color: var(--border2); }
.fil-pill.active {
  background: color-mix(in srgb, var(--accent), transparent 86%);
  border-color: var(--accent-lo);
  color: var(--accent-hi);
}
.fil-pill .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: currentColor;
}
.fil-clear {
  background: transparent; border: none;
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; padding: 4px 0;
}
.fil-clear:hover { color: var(--accent); }

/* ───────── starfield ───────── */
.starfield-wrap {
  position: relative;
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.starfield {
  position: relative;
  height: 640px;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, color-mix(in srgb, var(--accent-lo) 16%, transparent), transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 20%, color-mix(in srgb, var(--accent-lo) 8%, transparent), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, color-mix(in srgb, var(--accent-lo) 6%, transparent), transparent 60%),
    var(--bg2);
  border: 1px solid var(--border);
}
.starfield::before, .starfield::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none;
}
/* tiny background stars */
.starfield::before {
  background-image:
    radial-gradient(1px 1px at 12% 18%, var(--text3), transparent 60%),
    radial-gradient(1px 1px at 22% 72%, var(--text3), transparent 60%),
    radial-gradient(1px 1px at 38% 33%, var(--muted), transparent 60%),
    radial-gradient(1.5px 1.5px at 47% 88%, var(--text3), transparent 60%),
    radial-gradient(1px 1px at 62% 12%, var(--muted), transparent 60%),
    radial-gradient(1px 1px at 77% 64%, var(--text3), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 27%, var(--muted), transparent 60%),
    radial-gradient(1px 1px at 93% 84%, var(--text3), transparent 60%),
    radial-gradient(1px 1px at 7% 50%, var(--muted), transparent 60%),
    radial-gradient(1px 1px at 55% 56%, var(--text3), transparent 60%);
  opacity: 0.5;
}
/* faint grid overlay */
.starfield::after {
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--border), transparent 60%) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--border), transparent 60%) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}
.starfield svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.sf-edge {
  fill: none;
  stroke: var(--accent-lo);
  stroke-width: 0.6;
  opacity: 0.18;
  transition: opacity 400ms, stroke-width 400ms;
}
.sf-edge.active { opacity: 0.55; stroke-width: 0.9; }

/* a dispatch "star" */
.sf-star {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  transition: filter 300ms;
}
.sf-star .core {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.sf-star:hover .core { transform: scale(1.16); }
.sf-star.dim { opacity: 0.32; }

/* size variants by kind */
.sf-star.k-essay .core    { width: 64px; height: 64px; }
.sf-star.k-dispatch .core { width: 46px; height: 46px; }
.sf-star.k-reading .core  { width: 56px; height: 56px; }

.sf-star .disc {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--star) 60%, transparent), transparent 70%);
  filter: blur(4px);
  opacity: 0.7;
}
.sf-star .ring {
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  border: 1px solid var(--star);
  opacity: 0.55;
}
.sf-star.k-essay .ring { inset: 14%; border-width: 1.5px; }
.sf-star.k-dispatch .ring {
  border-style: dashed;
  opacity: 0.4;
}
.sf-star.k-reading .ring {
  inset: 14%;
  /* two concentric rings: use box-shadow for inner */
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--star), transparent 50%);
  border-color: var(--star);
}
.sf-star .nucleus {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--star);
  box-shadow: 0 0 12px var(--star), 0 0 28px color-mix(in srgb, var(--star), transparent 60%);
}
.sf-star.k-essay .nucleus    { width: 7px; height: 7px; }
.sf-star.k-dispatch .nucleus { width: 5px; height: 5px; }
.sf-star.k-reading .nucleus  { width: 6px; height: 6px; box-shadow: 0 0 12px var(--star), 0 0 28px color-mix(in srgb, var(--star), transparent 60%), 0 0 0 3px color-mix(in srgb, var(--star), transparent 80%); }

/* "latest" star pulses gently */
.sf-star.is-latest .nucleus {
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 12px var(--star), 0 0 28px color-mix(in srgb, var(--star), transparent 60%); transform: scale(1); }
  50%      { box-shadow: 0 0 22px var(--star), 0 0 48px color-mix(in srgb, var(--star), transparent 40%); transform: scale(1.18); }
}
.sf-star.is-latest::before {
  content: "Newest";
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  font-family: "Jost", sans-serif;
  font-size: 8px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--star);
  white-space: nowrap;
  text-shadow: 0 0 8px color-mix(in srgb, var(--star), transparent 50%);
}

/* tiny seed-teaching dots orbiting the star */
.sf-seeds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sf-seed {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--star), white 30%);
  opacity: 0.65;
  box-shadow: 0 0 4px var(--star);
}

/* hover readout — center of starfield */
.sf-readout {
  position: absolute;
  inset: auto 0 18px;
  display: flex; justify-content: center;
  pointer-events: none;
  padding: 0 24px;
}
.sf-readout-card {
  background: color-mix(in srgb, var(--bg), transparent 8%);
  border: 1px solid var(--border2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 4px;
  padding: 18px 24px;
  max-width: 560px;
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
  align-items: center;
  animation: roFade 280ms ease both;
}
@keyframes roFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sf-ro-eye {
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  display: flex; gap: 10px; align-items: center;
}
.sf-ro-eye .kind { color: var(--accent); }
.sf-ro-eye .date { color: var(--text3); }
.sf-ro-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; font-style: italic; font-weight: 400;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 4px;
  text-wrap: balance;
}
.sf-ro-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px; color: var(--text3); line-height: 1.4;
  font-weight: 300;
}
.sf-ro-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.sf-ro-meta .seeded {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.sf-ro-meta .seeded::before {
  content: "✦"; font-size: 11px; line-height: 1;
}

/* legend at top of starfield */
.sf-legend {
  position: absolute;
  top: 16px; left: 18px;
  display: flex; gap: 18px;
  pointer-events: none;
  z-index: 3;
}
.sf-legend .item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}
.sf-legend .item .swatch {
  width: 14px; height: 14px; border-radius: 999px;
  border: 1px solid var(--text3);
  display: inline-block;
}
.sf-legend .item.essay    .swatch { border-width: 1.5px; }
.sf-legend .item.dispatch .swatch { border-style: dashed; }
.sf-legend .item.reading  .swatch { box-shadow: inset 0 0 0 1px var(--text3); border-color: transparent; outline: 1px solid var(--text3); }

/* "count" indicator at top-right of starfield */
.sf-count {
  position: absolute;
  top: 16px; right: 18px;
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  z-index: 3;
  text-align: right;
}
.sf-count strong {
  color: var(--accent);
  font-weight: 500;
}

/* ───────── chronological rail (below starfield) ───────── */
.idx-rail {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 0 24px;
}
.rail-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.rail-title {
  font-family: "Cinzel", serif;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}
.rail-title strong { color: var(--accent-hi); font-weight: 500; }
.rail-empty {
  text-align: center;
  padding: 64px 24px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--text3);
  font-size: 18px;
}
.rail-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rail-row {
  display: grid;
  grid-template-columns: 130px 90px 1fr 200px 130px;
  gap: 28px;
  align-items: center;
  padding: 22px 28px;
  background: var(--bg);
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  color: inherit;
}
.rail-row:hover { background: var(--bg2); }
.rail-row .col-date {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.rail-row .col-kind {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text3);
}
.rail-row .col-kind .glyph {
  display: inline-block; width: 8px; height: 8px;
  margin-right: 6px;
  background: currentColor;
  vertical-align: middle;
}
.rail-row.k-essay .col-kind .glyph    { border-radius: 999px; }
.rail-row.k-dispatch .col-kind .glyph { transform: rotate(45deg); }
.rail-row.k-reading .col-kind .glyph  { background: transparent; border: 1px solid currentColor; }
.rail-row .col-title h3 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.25;
  text-wrap: balance;
}
.rail-row .col-title .sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px; color: var(--text3); font-weight: 300;
  line-height: 1.4;
}
.rail-row .col-title .by {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.rail-row .col-trads {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
}
.rail-row .col-trads .trad {
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text3);
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.rail-row .col-seeded {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.rail-row .col-seeded .num {
  font-family: "Cinzel", serif;
  font-size: 16px; letter-spacing: 0.05em;
  color: var(--accent);
  margin-right: 6px;
}
.rail-row:hover .col-title h3 { color: var(--accent-hi); }

/* "what is this?" strip */
.idx-explainer {
  max-width: 900px;
  margin: 96px auto 0;
  padding: 56px 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, color-mix(in srgb, var(--accent-lo) 12%, transparent), transparent 60%),
    var(--bg2);
  text-align: center;
}
.idx-explainer .ie-eye {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.idx-explainer p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 1.9vw, 21px);
  font-style: italic;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto 12px;
  text-wrap: pretty;
}
.idx-explainer em { color: var(--accent); font-style: italic; }

.idx-foot {
  max-width: 1100px;
  margin: 96px auto 0;
  padding: 36px 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 18px;
}
.idx-foot .brand {
  font-family: "Cinzel", serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.idx-foot .links {
  display: flex; gap: 18px;
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text3);
}
.idx-foot .links a { color: var(--text3); }
.idx-foot .links a:hover { color: var(--accent); }

/* ───────── reading view ───────── */
.read-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
}
@media (max-width: 1080px) {
  .read-wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* article column */
.r-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  transition: color .15s;
}
.r-back:hover { color: var(--accent); }
.r-back .arr { font-size: 14px; }

.r-meta-top {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px 18px;
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.r-meta-top .kind { color: var(--accent); }
.r-meta-top .byline { color: var(--text2); letter-spacing: 0.18em; }
.r-meta-top .byline strong { color: var(--text); font-weight: 500; letter-spacing: 0.16em; }
.r-meta-top .dot { width: 3px; height: 3px; border-radius: 999px; background: var(--border2); }
.r-meta-top .date { color: var(--text3); }
.r-meta-top .read-time { color: var(--text3); }

.r-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 18px;
  text-wrap: balance;
}
.r-sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: var(--text3);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 56ch;
  text-wrap: pretty;
}

.r-seed {
  display: flex;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-lo);
  border-radius: 0 4px 4px 0;
  background: color-mix(in srgb, var(--bg2), transparent 40%);
  margin-bottom: 56px;
}
.r-seed-glyph {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 18px;
  border: 1px solid var(--accent-lo);
  border-radius: 999px;
}
.r-seed-body {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text3);
  line-height: 1.55;
}
.r-seed-body .label {
  font-family: "Jost", sans-serif;
  font-style: normal;
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

/* article body */
.r-body {
  max-width: 64ch;
}
.r-body .drop {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  float: left;
  font-size: 72px;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--accent);
  font-weight: 500;
  text-shadow: 0 0 24px color-mix(in srgb, var(--glow), transparent 60%);
}
.r-body p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 300;
  line-height: 1.78;
  color: var(--text2);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.r-body p:first-of-type { font-size: clamp(19px, 1.95vw, 23px); color: var(--text); }
.r-body strong { color: var(--cream); font-weight: 500; }
.r-body em { color: var(--text); font-style: italic; }

/* inline teaching links */
.r-body .t-link {
  position: relative;
  color: var(--accent);
  border-bottom: 1px dotted var(--accent-lo);
  cursor: pointer;
  font-style: inherit;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
  padding: 0 1px;
}
.r-body .t-link::after {
  content: "✦";
  font-size: 9px;
  margin-left: 3px;
  vertical-align: super;
  color: var(--accent-lo);
  transition: color .15s;
}
.r-body .t-link:hover {
  color: var(--accent-hi);
  border-bottom-color: var(--accent-hi);
  border-bottom-style: solid;
  background: color-mix(in srgb, var(--accent), transparent 92%);
}
.r-body .t-link:hover::after { color: var(--accent-hi); }

/* section glyph (## divider) */
.r-body .section-glyph {
  display: flex; align-items: center; justify-content: center;
  margin: 32px 0 36px;
  color: var(--accent-lo);
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 0.5em;
}
.r-body .section-glyph::before, .r-body .section-glyph::after {
  content: ""; width: 60px; height: 1px;
  background: linear-gradient(to right, transparent, var(--border2), transparent);
  margin: 0 16px;
}

/* pull quote */
.r-body .pull {
  margin: 36px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent-lo);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}
.r-body .pull-attr {
  font-family: "Jost", sans-serif;
  font-style: normal;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  display: block;
}

/* ───────── marginalia ───────── */
.r-margin {
  align-self: start;
  position: sticky;
  top: 80px;
  /* never extend past the viewport — keeps the marginalia from
     spilling visually into the .r-after section at the bottom of
     the page when the references list is long. */
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-right: 4px;
}
.r-margin::-webkit-scrollbar { width: 6px; }
.r-margin::-webkit-scrollbar-track { background: transparent; }
.r-margin::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 3px;
}
@media (max-width: 1080px) {
  .r-margin {
    position: static;
    flex-direction: column;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}
.mg-block {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.mg-label {
  font-family: "Cinzel", serif;
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.mg-label .count {
  color: var(--accent);
  font-family: "Cinzel", serif;
  letter-spacing: 0.1em;
}

.mg-trad-list {
  display: flex; flex-direction: column; gap: 10px;
}
.mg-trad-item {
  display: flex; align-items: center; gap: 12px;
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text3);
}
.mg-trad-item .dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.mg-theme-list { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-theme {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text3);
  padding: 3px 10px;
  border: 1px solid var(--border2);
  border-radius: 999px;
}

.mg-tcard {
  display: block;
  border-left: 2px solid var(--border2);
  padding: 4px 0 4px 14px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s;
}
.mg-tcard:hover { border-left-color: var(--accent); }
.mg-tcard .tc-trad {
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.mg-tcard .tc-trad .swatch {
  width: 7px; height: 7px; border-radius: 999px;
  background: currentColor;
}
.mg-tcard .tc-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
}
.mg-tcard .tc-src {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.06em;
  color: var(--muted);
}
.mg-tcard:hover .tc-title { color: var(--accent-hi); }

/* ───────── reading footer (seeded / nav) ───────── */
.r-after {
  grid-column: 1 / -1;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.r-seeded {
  max-width: 900px;
  margin: 0 auto 96px;
  text-align: center;
}
.r-seeded .seeded-eye {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 14px;
}
.r-seeded .seeded-eye::before, .r-seeded .seeded-eye::after {
  content: ""; width: 36px; height: 1px; background: var(--accent-lo);
}
.r-seeded h3 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--cream);
  margin-bottom: 12px;
  text-wrap: balance;
}
.r-seeded p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--text3);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 auto 36px;
  max-width: 54ch;
}
.r-seeded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.r-seeded-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 22px 24px;
  background: var(--bg2);
  text-decoration: none; color: inherit;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.r-seeded-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-lo);
}
.r-seeded-card::before {
  content: "✦";
  position: absolute;
  top: 14px; right: 16px;
  color: var(--accent);
  font-size: 14px;
}
.r-seeded-card .tc-trad {
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.r-seeded-card .tc-trad .swatch { width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.r-seeded-card .tc-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 19px;
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.3;
}
.r-seeded-card .tc-src {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.06em;
  color: var(--muted);
}

/* prev / next dispatch nav */
.r-nav {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) {
  .r-nav { grid-template-columns: 1fr; }
}
.r-nav a {
  display: block;
  padding: 24px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg2);
  text-decoration: none; color: inherit;
  transition: all .2s;
}
.r-nav a:hover {
  border-color: var(--accent-lo);
  background: var(--bg3);
}
.r-nav a .label {
  font-family: "Jost", sans-serif;
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.r-nav a .label .arr { color: var(--accent); }
.r-nav a:last-child .label { justify-content: flex-end; }
.r-nav a:last-child { text-align: right; }
.r-nav a h4 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
  line-height: 1.3;
  text-wrap: balance;
}
.r-nav a:hover h4 { color: var(--accent-hi); }

/* ───────── aux pages (about + subscribe) ───────── */
.aux-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px 96px;
}
.aux-eye {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 14px;
}
.aux-eye::before { content: ""; width: 36px; height: 1px; background: var(--border2); }
.aux-title {
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 36px;
}
.aux-title em { color: var(--accent); font-style: normal; }
.aux-body p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.78;
  color: var(--text2);
  font-weight: 300;
  margin-bottom: 26px;
  text-wrap: pretty;
}
.aux-body em { color: var(--accent); font-style: italic; }
.aux-body strong { color: var(--cream); font-weight: 500; }

/* subscribe specific */
.sub-form {
  margin-top: 40px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, color-mix(in srgb, var(--accent-lo) 14%, transparent), transparent 70%),
    var(--bg2);
  text-align: center;
}
.sub-form-eye {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.sub-form-q {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.4;
  text-wrap: balance;
}
.sub-form-row {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.sub-form input[type="email"] {
  flex: 1 1 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--text);
  font-family: "Jost", sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
.sub-form input[type="email"]:focus { border-color: var(--accent-lo); }
.sub-form-note {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.sub-cadence {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 20px;
}
.sub-success {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  line-height: 1.5;
  padding: 12px;
}

/* ───────── home page: latest dispatch card ───────── */
.home-latest {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.hl-inner {
  border-top: 1px solid var(--border);
  padding-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .hl-inner { grid-template-columns: 1fr; gap: 28px; }
}
.hl-side {
  position: sticky;
  top: 92px;
}
.hl-eye {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hl-eye::before { content: ""; width: 28px; height: 1px; background: var(--border2); }
.hl-eye .pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 3s ease-in-out infinite;
}
.hl-strap {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 300;
  color: var(--text3);
  line-height: 1.5;
  max-width: 32ch;
  margin-bottom: 24px;
}
.hl-link {
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .15s;
}
.hl-link:hover { gap: 14px; color: var(--accent-hi); }
.hl-card {
  display: block;
  text-decoration: none; color: inherit;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 36px 32px;
  background: var(--bg2);
  transition: border-color .2s, transform .2s;
  position: relative;
}
.hl-card:hover { border-color: var(--accent-lo); transform: translateY(-2px); }
.hl-card .hl-meta {
  display: flex; gap: 14px; align-items: center;
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.hl-card .hl-meta .kind { color: var(--accent); }
.hl-card .hl-meta .dot { width: 3px; height: 3px; border-radius: 999px; background: var(--border2); }
.hl-card .hl-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 12px;
  text-wrap: balance;
}
.hl-card:hover .hl-title { color: var(--accent-hi); }
.hl-card .hl-sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
  color: var(--text3);
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 50ch;
}
.hl-card .hl-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  gap: 18px;
  flex-wrap: wrap;
}
.hl-card .hl-foot .seeded {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.hl-card .hl-foot .seeded .num {
  font-family: "Cinzel", serif;
  font-size: 14px; color: var(--accent);
  margin-right: 6px;
}
.hl-card .hl-foot .cta {
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}

/* ───────── breakpoints ───────── */
@media (max-width: 960px) {
  .rail-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 20px; }
  .rail-row .col-trads, .rail-row .col-seeded { justify-content: flex-start; text-align: left; }
}
@media (max-width: 720px) {
  .disp-head { padding: 0 16px; }
  .disp-nav { gap: 14px; }
  .idx-hero { padding: 56px 20px 24px; }
  .starfield { height: 540px; }
  .read-wrap { padding: 32px 20px 80px; }
  .aux-wrap { padding: 64px 20px; }
}
