/* Per-episode typographic character — restrained cues to Joyce's shifting
   styles. Built from structure already in the text (see the episodeBody filter
   in .eleventy.js): no words are changed, only set differently. Penelope lives
   in typography.css; Aeolus has its own aeolus.css. */

/* ---- Circe: the night-play, set as a drama script ---- */
[data-episode="15-circe"] .episode-body .cue {
  padding-left: 1.5em;
  text-indent: -1.5em; /* hanging indent — the speaker name hangs into the margin */
  margin: 0.35rem 0;
}
[data-episode="15-circe"] .cue-speaker {
  font-style: normal;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  color: var(--ep-tint); /* Circe's violet */
}
[data-episode="15-circe"] .episode-body .stage-dir {
  color: var(--color-ink-soft);
  margin: 0.9rem 0;
  padding-left: 1.5em;
}
[data-episode="15-circe"] .episode-body .stage-dir em {
  font-style: italic;
}

/* ---- Sirens: the overture (the fugue's subjects, before "Begin!") ---- */
[data-episode="11-sirens"] .sirens-overture {
  font-style: italic;
  color: var(--color-ink-soft);
  line-height: 1.4;
  margin-bottom: 1.8rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--color-rule);
}
[data-episode="11-sirens"] .sirens-overture p {
  margin: 0.12rem 0;
}
/* The cue to begin stands clear of the hush. */
[data-episode="11-sirens"] .sirens-overture p:last-child {
  font-style: normal;
  font-weight: 600;
  color: var(--ep-tint); /* Sirens' coral */
  margin-top: 0.7rem;
}

/* ---- Oxen of the Sun: prose-style stage dividers ----
   Subtle section break naming the style Joyce shifts into (sourced from
   Gifford). Injected between paragraphs by the episodeBody filter. */
[data-episode="14-oxen-of-the-sun"] .oxen-stage {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.9rem 0 1.4rem;
  color: var(--ep-tint);
}
[data-episode="14-oxen-of-the-sun"] .oxen-stage::before,
[data-episode="14-oxen-of-the-sun"] .oxen-stage::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--ep-tint) 45%, transparent);
}
[data-episode="14-oxen-of-the-sun"] .oxen-stage-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ep-tint);
  cursor: help;
  white-space: nowrap;
}
