:root {
  --ink: #000000;         /* primary text */
  --ink-soft: #4a463d;    /* secondary text (intro copy, tagline) */
  --ink-faint: #534e42;   /* tertiary text (labels, meta) */
  --paper: #e9e3d0;       /* lighter cream — masthead, archive */
  --paper-deep: #dccfa8;  /* deeper tan — transcript body, footer */
  --stamp-red: #8c2a18;
  --clyde-ink: #1a352f;   /* Clyde's speaker label */
  --clyde-text: #1f3c36;  /* Clyde's dialogue text */
  --disabled: #726b56;
  --rule: rgba(28,26,22,0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- top strip ---------- */
.studio-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.studio-strip a { text-decoration: none; opacity: 0.85; }
.studio-strip a:hover { opacity: 1; text-decoration: underline; }

/* ---------- hero / masthead ---------- */
.masthead {
  background: var(--paper);
  color: var(--ink);
  padding: 64px 32px 48px;
  position: relative;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(0deg, rgba(28,26,22,0.025) 0px, rgba(28,26,22,0.025) 1px, transparent 1px, transparent 3px);
}

.masthead.compact { padding: 40px 32px 34px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stamp-red);
  margin-bottom: 22px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--stamp-red);
  animation: blink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.title-block { max-width: 880px; margin: 0 auto; text-align: center; }

h1.masthead-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--ink);
}
h1.masthead-title em { font-style: italic; font-weight: 400; color: var(--stamp-red); }

.masthead.compact h1.masthead-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }

.tagline {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.byline-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.byline-row strong { color: var(--ink); }

.breadcrumb {
  max-width: 880px;
  margin: 0 auto 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}
.breadcrumb a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.breadcrumb a:hover { border-color: var(--ink); }

/* ---------- transcript body ---------- */
.excerpt { background: var(--paper-deep); padding: 56px 32px 64px; }
.excerpt-inner { max-width: 720px; margin: 0 auto; }
.excerpt-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.transcript-intro {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.transcript-intro p { margin: 0 0 16px; }
.transcript-intro p:last-child { margin-bottom: 0; }

.line { margin-bottom: 22px; display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.speaker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding-top: 3px; }
.speaker.fitch { color: var(--ink); }
.speaker.clyde { color: var(--clyde-ink); }
.line p { margin: 0; line-height: 1.65; font-size: 15px; font-weight: 500; color: var(--ink); }
.line.clyde p { color: var(--clyde-text); }
.line-content p { margin: 0 0 14px; }
.line-content p:last-child { margin-bottom: 0; }

.redacted { background: var(--ink); color: var(--ink); border-radius: 2px; padding: 0 4px; user-select: none; }

.transcript-nav {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.transcript-nav a { text-decoration: none; color: var(--ink-faint); }
.transcript-nav a:hover { color: var(--ink); }
.transcript-nav .disabled { color: var(--disabled); }

/* ---------- archive ---------- */
.archive { background: var(--paper); color: var(--ink); padding: 56px 32px 72px; }
.archive-inner { max-width: 780px; margin: 0 auto; }
.archive-heading { font-family: Georgia, serif; font-size: 1.6rem; margin: 0 0 6px; }
.archive-sub { font-size: 13px; color: var(--ink-faint); margin: 0 0 34px; }

.transcript-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.transcript-row:last-child { border-bottom: 1px solid var(--rule); }
a.transcript-row:hover .t-title { text-decoration: underline; }

.t-num { font-size: 12px; letter-spacing: 0.06em; color: var(--stamp-red); }
.t-title { font-family: Georgia, serif; font-size: 1.05rem; color: var(--ink); }
.t-title .locked { color: var(--ink-faint); font-style: italic; font-family: 'IBM Plex Mono', monospace; font-size: 0.85rem; }
.t-status { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

/* ---------- footer ---------- */
footer { background: var(--paper-deep); padding: 36px 32px 44px; text-align: center; }
footer p { max-width: 560px; margin: 0 auto 10px; font-size: 12px; line-height: 1.7; color: var(--ink-faint); }
footer a { text-decoration: underline; color: var(--ink); }
footer .copyright { font-size: 11px; opacity: 0.8; margin-top: 4px; }

@media (max-width: 560px) {
  .line { grid-template-columns: 1fr; gap: 4px; }
  .transcript-row { grid-template-columns: 1fr; gap: 6px; }
  .t-status { text-align: left; }
}
