/* ============================================================
   Vellum Current — shared story system
   Inheritance as a single unbroken line of ink down a vellum
   surface. Three voices: Fraunces (engraved), Spectral (read),
   IBM Plex Mono (the ledger). Built on the site's paper palette.
   ============================================================ */

:root { --serif: 'Fraunces', Georgia, serif; --read: 'Spectral', Georgia, serif; }

/* ---- title plate ---- */
.plate { padding: clamp(40px, 7vw, 96px) 0 clamp(30px, 4vw, 52px); }
.plate .src-coord { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.plate .src-coord::before { content: ""; width: 26px; height: 1px; background: var(--terra); opacity: 0.7; }
.plate h1 { font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 4.9rem); line-height: 0.98; letter-spacing: -0.02em;
  font-optical-sizing: auto; text-wrap: balance; }
.plate h1 em { font-style: italic; font-weight: 300; color: var(--terra); }
.plate .sub { font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.45rem); color: var(--ink-soft); margin-top: 16px; }
.plate .dateline { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 26px; line-height: 1.9;
  padding-top: 18px; border-top: 1px solid var(--line); max-width: 74ch; }
.plate .dateline b { color: var(--terra); font-weight: 500; }
.plate .lede { font-family: var(--read); font-weight: 400; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.18rem);
  line-height: 1.72; color: var(--ink); max-width: 60ch; margin-top: 26px; }
.plate .lede .drop { float: left; font-family: var(--serif); font-weight: 300; color: var(--terra);
  font-size: 3.3em; line-height: 0.72; padding: 6px 12px 0 0; }

/* ---- the current ---- */
.current { max-width: 940px; margin: clamp(20px, 3vw, 36px) auto 0; }
.station { display: grid; grid-template-columns: 48px minmax(0, 1fr);
  column-gap: clamp(16px, 3vw, 30px); padding-bottom: clamp(30px, 4.4vw, 54px); }

.spine { position: relative; }
.spine::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: 0; bottom: 0; width: 1.5px; background: var(--terra); opacity: 0.30; }
.station:first-child .spine::before { top: 15px; }
.station:last-child  .spine::before { bottom: auto; height: 15px; }
.node { position: absolute; left: 50%; top: 15px; width: 11px; height: 11px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--terra);
  box-shadow: 0 0 0 5px var(--paper); z-index: 1; }
.station.woman .node { background: var(--paper); border: 1.6px solid var(--terra); }
.station.origin .node { width: 14px; height: 14px; }
.station.now .node { background: var(--green); border: none; width: 13px; height: 13px; }
.station.wall .node { background: var(--paper); border: 1.5px dashed var(--ink-soft); width: 12px; height: 12px; }
.station.adopt .node { background: var(--paper); border: 1.7px dashed var(--green); width: 13px; height: 13px; }

.gen-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.gen-year { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); line-height: 1; color: var(--ink);
  letter-spacing: -0.01em; }
.gen-co { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); }
.gen-co .ix { color: var(--terra); font-weight: 500; }
.gen-name { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.12; color: var(--ink);
  margin-top: 7px; letter-spacing: -0.01em; overflow-wrap: break-word; }
.gen-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--terra); margin-top: 9px; }
.gen-text { font-family: var(--read); font-weight: 400; font-size: 1.06rem; line-height: 1.72;
  color: var(--ink); max-width: 58ch; margin-top: 13px; overflow-wrap: break-word; }
.gen-text em { font-style: italic; }
.whisper { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); margin-top: 14px; display: inline-flex; align-items: center; gap: 9px; }
.whisper::before { content: "⟡"; font-size: 11px; letter-spacing: 0; }
.whisper.wall { color: var(--ink-soft); }
.whisper.wall::before { content: "⊘"; }
.whisper.adopt { color: var(--green); }
.whisper.adopt::before { content: "⤿"; font-size: 13px; }

/* ---- coda ---- */
.coda { max-width: 940px; margin: clamp(8px, 2vw, 20px) auto 0;
  border-top: 1px solid var(--line); padding-top: clamp(34px, 4.5vw, 56px); text-align: center; }
.coda .daughters { font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); line-height: 1.5; color: var(--ink);
  max-width: 34ch; margin: 0 auto; letter-spacing: -0.01em; }
.coda .daughters span { color: var(--terra); }
.coda .summary { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 30px; line-height: 2; }
.coda .summary b { color: var(--terra); font-weight: 500; }
.coda .src { font-family: var(--read); font-style: italic; font-size: 0.98rem; color: var(--ink-soft);
  max-width: 56ch; margin: 24px auto 0; line-height: 1.65; }
.coda .back { display: inline-block; margin-top: 26px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; color: var(--green); padding: 11px 20px; border: 1px solid var(--line);
  border-radius: 7px; transition: border-color .15s ease, color .15s ease; }
.coda .back:hover { border-color: var(--green); }
.coda .back + .back { margin-left: 10px; }

/* ============================================================
   Stories index hub
   ============================================================ */
.hub-intro { max-width: 62ch; }
.hub-intro .lede { font-family: var(--read); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.72; color: var(--ink); margin-top: 8px; }
.hub-grid { max-width: 1000px; margin: clamp(30px, 4vw, 50px) auto 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.story-card { background: var(--paper); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column;
  min-height: 230px; transition: background .18s ease; }
.story-card:hover { background: var(--paper-2); }
.story-card .ix { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terra); display: flex; justify-content: space-between; }
.story-card .ix .yr { color: var(--ink-soft); }
.story-card h3 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: 1.7rem; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); margin-top: 16px; }
.story-card .place { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-soft);
  margin-top: 8px; }
.story-card .hook { font-family: var(--read); font-size: 1rem; line-height: 1.62; color: var(--ink);
  margin-top: 13px; flex: 1 0 auto; }
.story-card .go { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--green);
  margin-top: 18px; }
.story-card:hover .go { color: var(--terra); }

@media (max-width: 560px) {
  .station { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
  .node { box-shadow: 0 0 0 4px var(--paper); }
  .plate .lede .drop { font-size: 2.8em; }
}
