:root { --ink: #0a0a0a; --paper: #f5f5f3; --line: #d8d8d4; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* ── Hero — the reach, Michelangelo composition ─────────────────────── */
.hero { position: relative; height: 88vh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-text {
  position: absolute; bottom: 60px; left: 0; right: 0; text-align: center;
  color: var(--paper); z-index: 2;
}
.hero-text h1 {
  font-size: clamp(32px, 6vw, 64px); font-weight: normal; letter-spacing: 1px;
  font-style: italic;
}
.hero-text .sub {
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: #999; margin-top: 10px;
}

/* ── Sections ─────────────────────────────────────────────────────── */
section { padding: 80px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 3px; color: #666; margin-bottom: 28px; }
h3 { font-size: 22px; font-weight: normal; font-style: italic; margin: 32px 0 12px; }
p { font-size: 17px; margin-bottom: 18px; max-width: 640px; }
.lede { font-size: 20px; font-style: italic; color: #333; max-width: 620px; }

/* ── Git-mapping table ────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; margin: 20px 0 40px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #666; font-weight: normal; }
td:first-child { font-family: 'Courier New', monospace; font-weight: bold; white-space: nowrap; }

/* ── Story / addendum ─────────────────────────────────────────────── */
.addendum {
  border-left: 3px solid var(--ink); padding: 4px 0 4px 24px; margin: 32px 0;
  font-size: 16px; color: #333;
}
.byline { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: #999; margin-bottom: 16px; }

/* ── Video slots ──────────────────────────────────────────────────── */
.video-slot {
  background: #e8e8e4; border: 1px dashed #aaa; border-radius: 4px;
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 13px; letter-spacing: 1px; margin: 24px 0;
}

footer { padding: 50px 0; text-align: center; font-size: 12px; color: #999; letter-spacing: 1px; }

/* ── Real artifacts (photos, renders) — not decoration, evidence ─────── */
.artifact { margin: 32px 0; max-width: 640px; }
.artifact img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.artifact figcaption {
  font-size: 13px; color: #999; margin-top: 10px; font-style: italic;
}

/* ── Read the Story CTA (homepage) ───────────────────────────────────── */
.read-story {
  display: block; text-align: center; padding: 40px 0; text-decoration: none;
}
.read-story .cta {
  display: inline-block; border: 1px solid var(--ink); padding: 14px 32px;
  font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
}
.read-story .cta:hover { background: var(--ink); color: var(--paper); }

/* ── Story pages — small top bar instead of the full hero ────────────── */
.story-bar {
  padding: 24px 0; border-bottom: 1px solid var(--line);
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
}
.story-bar a { text-decoration: none; color: #666; }
.story-bar a:hover { color: var(--ink); }
.story-title {
  font-size: 13px; text-transform: uppercase; letter-spacing: 3px; color: #666;
  padding: 40px 0 0;
}

/* ── Table of contents ────────────────────────────────────────────── */
.toc { list-style: none; }
.toc li { border-bottom: 1px solid var(--line); }
.toc a {
  display: block; padding: 22px 0; text-decoration: none; font-size: 20px;
  font-style: italic; color: var(--ink);
}
.toc .toc-num {
  font-family: 'Courier New', monospace; font-style: normal; font-size: 13px;
  color: #999; margin-right: 14px;
}
.toc a:hover { color: #555; }

/* ── Raw transcripts — real exchanges, cleaned up, not retold ─────────── */
.transcript { margin: 24px 0; }
.turn { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.turn:last-child { border-bottom: none; }
.turn .speaker {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #999; margin-bottom: 8px;
}
.turn.mayor .speaker { color: var(--ink); font-weight: bold; }
.turn.mayor { padding-left: 16px; border-left: 3px solid var(--ink); }
.turn p { font-size: 16px; margin-bottom: 10px; }

/* ── Prev / Next page nav — generous tap targets for mobile ──────────── */
.page-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px 0 60px; gap: 16px;
}
.page-nav a {
  flex: 1; text-decoration: none; font-size: 14px; padding: 16px 18px;
  border: 1px solid var(--line); text-transform: uppercase; letter-spacing: 1px;
}
.page-nav a.next { text-align: right; }
.page-nav a:hover { border-color: var(--ink); }
.page-nav .spacer { flex: 1; }
