/* ============================================================
   cinematic.css — component vocabulary for the photo essay
   Hero, chapters, layouts (fullbleed/stack/diptych), captions,
   nav, progress rail, lightbox. Pacing/colors are tokens from
   base.css; per-chapter files only override variables.
   ============================================================ */

/* ---- top nav ------------------------------------------------ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  pointer-events: none;
  transition: background 600ms var(--hover-ease);
}
.site-nav > * { pointer-events: auto; }
.site-nav.is-scrolled {
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-nav__brand {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
}
.site-nav__brand .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  margin: 0 0.6em;
  vertical-align: middle;
}
.site-nav__back {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
  transition: color 200ms var(--hover-ease);
}
.site-nav__back:hover { color: var(--ink); }
.site-nav__back::before { content: "← "; color: var(--accent); }

/* ---- progress rail (right edge, fills as you scroll) -------- */
.progress-rail {
  position: fixed;
  top: 50%;
  right: clamp(0.6rem, 1.5vw, 1.5rem);
  transform: translateY(-50%);
  width: 1px;
  height: clamp(140px, 24vh, 240px);
  background: var(--rule);
  z-index: 90;
  pointer-events: none;
}
.progress-rail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--progress, 0%);
  background: var(--accent);
  transition: height 80ms linear;
}
.progress-rail__label {
  position: absolute;
  top: -1.5rem;
  right: -0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--mute);
  white-space: nowrap;
  transform: rotate(0deg);
}
@media (max-width: 720px) { .progress-rail { display: none; } }

/* ---- HERO --------------------------------------------------- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}
/* gradient + vignette wash over the photo for legible text */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,calc(var(--vignette-strength) + 0.15))),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 25%, transparent 55%, rgba(0,0,0,0.75) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  align-content: end;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vh, 5rem);
}
.hero__eyebrow {
  grid-row: 2;
  color: var(--ink);
  opacity: 0.85;
}
.hero__title {
  grid-row: 3;
  max-width: 16ch;
}
.hero__sub {
  grid-row: 4;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: clamp(1rem, 2vw, 1.5rem);
}
.hero__sub .dek { color: var(--ink); opacity: 0.78; max-width: 32ch; }
.hero__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  text-align: right;
  line-height: 1.6;
}
.hero__meta strong {
  display: block;
  font-weight: 500;
  color: var(--accent);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.3; transform-origin: top; }
  50%      { transform: scaleY(1);   opacity: 1;   transform-origin: top; }
}

/* ---- INTRO BLOCK (just below hero) -------------------------- */
.intro {
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 5vw, 4rem);
}
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
  width: var(--container);
  margin-inline: auto;
  align-items: start;
}
.intro__eyebrow-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 6rem;
}
.intro__rule {
  height: 1px;
  width: 64px;
  background: var(--accent);
  margin-top: 0.4rem;
}
.intro__body {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
}
@media (max-width: 720px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__eyebrow-wrap { position: static; }
}

/* ---- CHAPTER ------------------------------------------------ */
.chapter {
  padding: clamp(3rem, 10vh, 7rem) 0;
  position: relative;
}
.chapter__head {
  width: var(--container);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.chapter__eyebrow-col { display: flex; flex-direction: column; gap: 0.6rem; }
.chapter__title { max-width: 18ch; }
.chapter__prose-col { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 720px) {
  .chapter__head { grid-template-columns: 1fr; }
}

/* a chapter section with no media following the head — tighten so
   we don't double up bottom whitespace */
.chapter--text .chapter__head { margin-bottom: 0; }
.chapter--text .chapter__prose-col .prose { max-width: 56ch; }

/* ---- LAYOUT: fullbleed -------------------------------------- */
.layout-fullbleed {
  width: 100%;
  position: relative;
}
.layout-fullbleed .media-tile {
  width: 100%;
  height: clamp(60vh, 90vh, 100vh);
  position: relative;
  overflow: hidden;
}
.layout-fullbleed .media-tile img,
.layout-fullbleed .media-tile video {
  width: 100%; height: 100%; object-fit: cover;
}
.layout-fullbleed .media-tile + .caption-bar { margin-top: 1rem; }

.caption-bar {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.caption-bar .caption { max-width: 60ch; }

/* ---- LAYOUT: stack ------------------------------------------ */
.layout-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vh, 5rem);
}
.layout-stack .media-tile {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  background: var(--paper-soft);
}
.layout-stack .media-tile img,
.layout-stack .media-tile video {
  width: 100%; height: auto; object-fit: contain;
  max-height: 88vh;
  margin-inline: auto;
}
.layout-stack .media-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.layout-stack .media-row .caption {
  width: var(--container);
  margin-inline: auto;
  padding-left: 0.5rem;
  display: block;
}

/* every other photo in a stack offsets slightly for editorial rhythm */
.layout-stack .media-row:nth-child(odd) .media-tile  { transform: translateX(clamp(-2rem, -3vw, 0px)); }
.layout-stack .media-row:nth-child(even) .media-tile { transform: translateX(clamp(0px, 3vw, 2rem)); }
@media (max-width: 720px) {
  .layout-stack .media-row:nth-child(odd) .media-tile,
  .layout-stack .media-row:nth-child(even) .media-tile { transform: none; }
}

/* ---- LAYOUT: pair (true 2-up, equal columns) ---------------- */
.layout-pair {
  width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: start;
}
.layout-pair .media-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.layout-pair .media-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.layout-pair .media-tile img,
.layout-pair .media-tile video {
  width: 100%; height: 100%; object-fit: cover;
}
.layout-pair .media-row .caption {
  font-size: 0.84rem;
  line-height: 1.45;
  padding-left: 0.25rem;
}
@media (max-width: 720px) {
  .layout-pair {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---- LAYOUT: diptych ---------------------------------------- */
.layout-diptych {
  width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
/* 3-photo diptych+ uses asymmetric grid: hero left wide, two stacked right */
.layout-diptych .media-row { position: relative; overflow: hidden; }
.layout-diptych .media-row:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.layout-diptych .media-row:nth-child(2) { grid-column: 8 / span 5; grid-row: 1; }
.layout-diptych .media-row:nth-child(3) { grid-column: 8 / span 5; grid-row: 2; }
.layout-diptych .media-row:nth-child(n+4) { grid-column: 1 / -1; }
.layout-diptych .media-tile { width: 100%; height: 100%; }
.layout-diptych .media-tile img,
.layout-diptych .media-tile video {
  width: 100%; height: 100%; object-fit: cover; min-height: 240px;
}
.layout-diptych .media-row:nth-child(1) .media-tile { aspect-ratio: 4 / 5; }
.layout-diptych .media-row:nth-child(2) .media-tile,
.layout-diptych .media-row:nth-child(3) .media-tile { aspect-ratio: 4 / 3; }
.layout-diptych .caption { display: none; }     /* keep diptych pure visually */
@media (max-width: 720px) {
  .layout-diptych { grid-template-columns: 1fr; }
  .layout-diptych .media-row { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .layout-diptych .media-tile { aspect-ratio: 4 / 3 !important; }
}

/* ---- media-tile shared shell -------------------------------- */
.media-tile {
  cursor: zoom-in;
  background: var(--paper-soft);
}
.media-tile img {
  transition: transform 1.2s var(--hover-ease), filter 600ms var(--hover-ease);
}
.media-tile:hover img { transform: scale(1.03); }
.media-tile.is-video { cursor: pointer; }
.media-tile.is-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
  z-index: 1;
  transition: background 300ms var(--hover-ease);
}
.media-tile.is-video::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  background-color: rgba(255,255,255,0.20);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z' fill='white'/></svg>");
  background-position: 54% center;
  background-size: 32px;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  z-index: 2;
  animation: video-breath 2.8s ease-in-out infinite;
  transition: transform 300ms var(--hover-ease), background-color 300ms var(--hover-ease), border-color 300ms var(--hover-ease);
}
.media-tile.is-video:hover::after {
  animation: none;
  transform: scale(1.1);
  background-color: rgba(255,255,255,0.30);
  border-color: rgba(255,255,255,0.9);
}
@keyframes video-breath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .media-tile.is-video::after { animation: none; }
}

/* ---- PRELUDE: a quieter, narrower figure that sits between
   sections — used for "before" beats that establish a moment
   without interrupting the chapter rhythm. -------------------- */
.prelude {
  width: min(880px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(1rem, 3vh, 2.5rem) 0 clamp(2rem, 5vh, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.prelude .media-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.prelude .media-tile img {
  width: 100%; height: 100%; object-fit: cover;
}
.prelude__caption {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--mute);
  text-align: center;
  line-height: 1.5;
  max-width: 38ch;
}

/* ---- CODA --------------------------------------------------- */
.coda {
  padding: clamp(6rem, 18vh, 12rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.coda__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
}
.coda__quote::before, .coda__quote::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem auto;
}
.coda__attribution {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 1rem;
}

/* ---- FOOTER NAV (next/prev day) ----------------------------- */
.chapter-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.chapter-footer a, .chapter-footer span {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background 400ms var(--hover-ease);
}
.chapter-footer a:hover { background: var(--paper-soft); }
.chapter-footer__prev { border-right: 1px solid var(--rule); }
.chapter-footer__next { text-align: right; align-items: flex-end; }
.chapter-footer__cue {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
}
.chapter-footer__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 300;
  color: var(--ink);
}
.chapter-footer__disabled { color: var(--mute); }

/* ---- REVEAL ANIMATION (used by IntersectionObserver) -------- */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) var(--reveal-ease),
              transform var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal--late { transition-delay: 200ms; }
.reveal--later { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue::after { animation: none; }
  .hero__media img, .hero__media video { transform: none; }
}

/* ---- LIGHTBOX ----------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 4, 3, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__media {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__media img,
.lightbox__media video {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: background 200ms var(--hover-ease);
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }
.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--mute);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ink);
  font-size: 1.6rem;
  transition: background 200ms var(--hover-ease);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

/* ---- INDEX PAGE (landing) ----------------------------------- */
.cover {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cover__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  filter: brightness(0.5) saturate(0.9);
}
.cover__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), rgba(0,0,0,0.92) 80%);
}
.cover__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 720px;
}
.cover__rule {
  width: 48px; height: 1px;
  background: var(--accent);
  margin: 0.5rem 0;
}
.cover__credit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 1rem;
}

/* ---- DAY INDEX (list of days on landing) -------------------- */
.chapter-index {
  padding: clamp(4rem, 10vh, 8rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--paper);
}
.chapter-index__head {
  width: var(--container);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.25rem;
}
.chapter-list {
  width: var(--container);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: clamp(2rem, 4vh, 3rem);
}
.chapter-card {
  display: grid;
  grid-template-columns: 64px 1fr 320px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--rule);
  transition: padding 400ms var(--hover-ease);
}
.chapter-card:hover { padding-left: 1rem; padding-right: 1rem; background: var(--paper-soft); }
.chapter-card__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--accent);
}
.chapter-card__body { display: flex; flex-direction: column; gap: 0.4rem; }
.chapter-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
}
.chapter-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
}
.chapter-card__cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-soft);
}
.chapter-card__cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--hover-ease);
}
.chapter-card:hover .chapter-card__cover img { transform: scale(1.05); }
@media (max-width: 720px) {
  .chapter-card {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "cover" "body";
  }
  .chapter-card__num { grid-area: num; }
  .chapter-card__body { grid-area: body; }
  .chapter-card__cover { grid-area: cover; aspect-ratio: 16 / 10; }
}

/* draft chapters: muted, non-clickable, no hover */
.chapter-card--draft {
  cursor: default;
  opacity: 0.55;
}
.chapter-card--draft:hover {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}
.chapter-card--draft .chapter-card__title { color: var(--mute); }
.chapter-card--draft .chapter-card__cover {
  background: var(--paper-soft);
  display: grid;
  place-items: center;
}
.chapter-card--draft .chapter-card__cover::after {
  content: "Coming soon";
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
}

/* group heading rows in the TOC (e.g. EDINBURGH, LONDON) */
.chapter-list__group {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(0.5rem, 1vw, 1rem);
}
.chapter-list__group-rule {
  height: 1px;
  background: var(--rule);
}
.chapter-list__group-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
/* the chapter-card immediately after a group heading shouldn't
   have its top border (the heading itself acts as the divider) */
.chapter-list__group + li > .chapter-card { border-top: 0; }

/* ---- VIDEO POSTERS ------------------------------------------ */
video { background: var(--paper-soft); }
