/* Highlands History — Voices.
   ===================================================================
   Scoped to the Voices routes. Sizes are rem against the 18px root floor
   tokens.css pins across 320-767px, so reader text scaling still works.
   =================================================================== */

/* --- opening ---------------------------------------------------------- */
.voices-index__lede {
  text-align: left;
  max-width: var(--measure-prose);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0;
}
.voices-index__lede h1 {
  font-size: clamp(2rem, 9.4vw, 2.34rem);
  line-height: 1.1;
  margin: 0.3rem 0 0.5rem;
}
/* The scope note was a 245-character italic paragraph between the reader
   and the first face. One sentence, upright: italic is for quotation, not
   for every piece of supporting prose. */
.voices-index__scope {
  font-family: var(--ff-ui);
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 36ch;
  margin: 0;
  color: var(--c-ink-muted);
}

/* --- shared card ------------------------------------------------------
   One component. `--featured` changes size, never structure, so a new
   interview inherits the whole thing by existing.
   -------------------------------------------------------------------- */
.voice-card {
  display: block;
  border: 0;
  background: transparent;
}
.voice-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.voice-card__portrait {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(28, 46, 74, 0.06);
}
.voice-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* One play affordance, consistent across every cover. */
.voice-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(18, 21, 26, 0.55);
  border: 1px solid rgba(245, 239, 228, 0.75);
}
.voice-card__play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 15px solid var(--c-cream);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.voice-card__link:hover .voice-card__play { background: rgba(193, 77, 46, 0.85); }
.voice-card__link:focus-visible { outline: 2px solid var(--c-rust); outline-offset: 3px; }

.voice-card__meta { display: block; padding-top: 0.6rem; }
.voice-card__name {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.39rem;          /* ~25px: supporting interview heading */
  line-height: 1.15;
  color: var(--c-navy);
}
.voice-card__subject {
  display: block;
  margin: 0.2rem 0 0;
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  color: var(--c-rust);
}
.voice-card__summary {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--c-ink);
}
.voice-card__watch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.2rem;
  font-family: var(--ff-ui);
  font-size: 0.89rem;
  color: var(--c-rust);
  white-space: nowrap;
}
.voice-card__watch::after { content: " \2192"; }

/* Runtime and transcript availability sit outside the link, so the
   accessible name of the card stays the speaker and subject. */
.voice-card__facts {
  margin: 0;
  font-family: var(--ff-ui);
  font-size: 0.73rem;
  color: var(--c-ink-muted);
}
.voice-card__runtime + .voice-card__hastranscript::before {
  content: "\00b7";
  padding: 0 0.45em;
}

/* --- featured --------------------------------------------------------- */
.voice-card--featured { margin: 1.25rem 0 0; }
.voice-card--featured .voice-card__name { font-size: 1.67rem; }   /* ~30px */
.voice-card--featured .voice-card__play { width: 64px; height: 64px; }

/* --- list ------------------------------------------------------------- */
.voices-index__grid {
  display: grid;
  grid-template-columns: 1fr;      /* never two video cards side by side */
  gap: 2.2rem;
  padding: 2.2rem var(--gutter) 0;
  max-width: var(--measure-prose);
  margin: 0 auto;
}
.voice-card--featured { padding-inline: var(--gutter); max-width: var(--measure-prose); margin-inline: auto; }

@media (min-width: 768px) {
  .voices-index__lede,
  .voice-card--featured,
  .voices-index__grid { max-width: 1040px; }
  /* Feature: large cover beside a concise text column. */
  .voice-card--featured .voice-card__link {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.75rem;
    align-items: center;
  }
  .voice-card--featured .voice-card__name { font-size: 2.1rem; }
  .voices-index__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* --- interview page ---------------------------------------------------
   Player-first. The poster used to repeat as a thumbnail beside a long
   italic biography, so a reader met the essay promotion before the film.
   The biography keeps every word; it just sits below the player now.
   -------------------------------------------------------------------- */
.voice-page__crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.voice-page__header {
  display: block;                 /* was a thumbnail column beside text */
  max-width: var(--measure-prose);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.voice-page__name {
  font-size: clamp(1.67rem, 7.8vw, 1.95rem);
  line-height: 1.12;
  margin: 0 0 0.25rem;
}
.voice-page__subject {
  margin: 0 0 1rem;
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--c-rust);
}
.voice-page__facts {
  max-width: var(--measure-prose);
  margin: 0.6rem auto 0;
  padding: 0 var(--gutter);
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  color: var(--c-ink-muted);
}

/* Transcript and essay as a restrained row, not competing panels. */
.voice-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--measure-prose);
  margin: 1.1rem auto 0;
  padding: 0 var(--gutter);
}
.voice-page__actions .voice-page__reading {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(28, 46, 74, 0.25);
  border-left: 3px solid var(--c-rust);
  background: transparent;
  text-decoration: none;
}
.voice-page__actions .voice-page__reading-kicker {
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}
.voice-page__actions .voice-page__reading-cta {
  font-family: var(--ff-ui);
  font-size: 0.89rem;
  line-height: 1.3;
  color: var(--c-navy);
}

.voice-page__bio {
  max-width: var(--measure-prose);
  margin: 1.75rem auto 0;
  padding: 0 var(--gutter);
}
/* Upright: italic is for quotation, not for a whole biography. */
.voice-page__bio .voice-page__summary {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* --- page ending ------------------------------------------------------
   Explore this history, another conversation, an invitation. Shorter than
   the conversation it follows, and using the same compact related-feature
   vocabulary as the chapter and archive work.
   -------------------------------------------------------------------- */
.voice-explore,
.voice-next,
.voice-invite {
  max-width: var(--measure-prose);
  margin: 2rem auto 0;
  padding: 0 var(--gutter);
}
.voice-explore__kicker,
.voice-next__kicker {
  margin: 0 0 0.6rem;
  font-family: var(--ff-ui);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}
.voice-explore__link {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}
.voice-explore__media {
  width: 104px;
  height: 78px;
  overflow: hidden;
  background: rgba(28, 46, 74, 0.06);
}
.voice-explore__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-explore__title {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.22rem;
  line-height: 1.18;
  color: var(--c-navy);
}
.voice-explore__dek {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--c-ink-muted);
}
.voice-explore__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.4rem;
  margin-right: 0.9rem;
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  color: var(--c-rust);
}

.voice-next__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(28, 46, 74, 0.25);
  border-left: 3px solid var(--c-rust);
  text-decoration: none;
}
.voice-next__name {
  font-family: var(--ff-display);
  font-size: 1.17rem;
  line-height: 1.18;
  color: var(--c-navy);
}
.voice-next__subject {
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  color: var(--c-ink-muted);
}

.voice-invite { margin-bottom: 2.5rem; }
.voice-invite__text {
  margin: 0 0 0.6rem;
  font-family: var(--ff-ui);
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--c-ink-muted);
}
.voice-invite__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--ff-ui);
  font-size: 0.89rem;
  color: var(--c-navy);
  border: 1px solid rgba(28, 46, 74, 0.35);
  text-decoration: none;
}
.voice-explore__link:focus-visible,
.voice-next__link:focus-visible,
.voice-invite__link:focus-visible { outline: 2px solid var(--c-rust); outline-offset: 3px; }
