.dj-reel-desk {
  --reel-cream: #f5f0e6;
  --reel-ink: #191d24;
  --reel-red: #b73321;
  --reel-secondary: #c8c8c7;
  --reel-columns: minmax(0, 1.95fr) minmax(290px, 1fr);
  --reel-gap: clamp(20px, 2.8vw, 44px);
  background: var(--reel-ink);
  color: var(--reel-cream);
  padding-block: clamp(44px, 5.3vw, 82px) clamp(40px, 4.7vw, 73px);
}
.dj-reel-copy, .dj-reel-stage:has([data-reel-list]:not([hidden])) {
  display: grid;
  grid-template-columns: var(--reel-columns);
  column-gap: var(--reel-gap);
}
.dj-reel-copy { align-items: end; margin-bottom: clamp(19px, 2.25vw, 34px); }
.dj-reel-eyebrow, .dj-reel-duration, .dj-reel-status, .dj-reel-cue time {
  font-family: var(--folio-mono, ui-monospace, Consolas, monospace);
  font-variant-numeric: tabular-nums;
}
.dj-reel-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #edd8c9;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.dj-reel-eyebrow::before { content: ''; width: 24px; height: 2px; background: #ed795d; flex: none; }
.dj-reel-title, .dj-reel-index-title {
  margin: 0;
  font-family: var(--folio-display, Georgia, 'Times New Roman', serif);
  font-weight: 500;
  letter-spacing: -.048em;
  line-height: 1.02;
  hyphens: none;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.dj-reel-title { margin-top: 8px; max-width: 23ch; color: var(--reel-cream); font-size: clamp(45px, 5.1vw, 79px); }
.dj-reel-standfirst, .dj-reel-caption, .dj-reel-credit-line, .dj-reel-project, .dj-reel-full, .dj-reel-from, .dj-reel-cue-name {
  font-family: var(--folio-sans, 'Segoe UI', Arial, sans-serif);
}
.dj-reel-standfirst { max-width: 48ch; color: #d4d3cf; font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.dj-reel-standfirst + .dj-reel-standfirst, .dj-reel-note-text + .dj-reel-note-text { margin-top: .55em; }
.dj-reel-full, .dj-reel-from {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: .29em;
}
.dj-reel-full { margin-top: 6px; color: var(--reel-cream); text-decoration-color: #8e8f90; }
.dj-reel-full:hover, .dj-reel-project a:hover, .dj-reel-from:hover { text-decoration-color: currentColor; }
.dj-reel-play-icon { display: inline-grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--reel-red); }
.dj-reel-play-icon::before { content: ''; display: block; margin-left: 2px; border-block: 4px solid transparent; border-left: 7px solid #fffaf0; }
.dj-reel-full:focus-visible, .dj-reel-project a:focus-visible, .dj-reel-screen video:focus-visible { outline: 2px solid var(--reel-cream); outline-offset: 4px; }
.dj-reel-screen { background: #0e1015; box-shadow: 0 0 0 1px #42464c; }
.dj-reel-frame img, .dj-reel-frames > img, .dj-reel-screen video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.dj-reel-desk[data-reel-ready] .dj-reel-frames { display: grid; aspect-ratio: 16 / 9; isolation: isolate; overflow: hidden; }
.dj-reel-desk[data-reel-ready] .dj-reel-frame {
  grid-area: 1 / 1;
  align-self: stretch;
  display: grid;
  opacity: 0;
  transition: opacity 160ms ease-out;
  pointer-events: none;
}
.dj-reel-desk[data-reel-ready] .dj-reel-frame[data-current] { opacity: 1; z-index: 1; }
.dj-reel-desk[data-reel-ready] .dj-reel-frame img { height: 100%; }
.dj-reel-desk[data-reel-ready] .dj-reel-static { display: none; }
.dj-reel-missing { display: grid; place-content: center; aspect-ratio: 16 / 9; padding: 20px; color: var(--reel-secondary); text-align: center; }
.dj-reel-credit, .dj-reel-metadata { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 14px; }
.dj-reel-credit { justify-content: space-between; padding-top: 9px; }
.dj-reel-caption { color: var(--reel-cream); font-size: 14px; font-weight: 650; line-height: 1.4; }
.dj-reel-credit-line { color: var(--reel-secondary); font-size: 13px; line-height: 1.4; }
.dj-reel-duration, .dj-reel-status { color: #d6d4cd; font-size: 12px; line-height: 1.4; }
.dj-reel-project a, .dj-reel-error a, .dj-reel-static-copy a { color: var(--reel-cream); text-decoration: underline; text-decoration-color: #8e8f90; text-underline-offset: .25em; }
.dj-reel-project a { display: inline-block; padding-block: 3px; font-size: 13px; font-weight: 600; }
.dj-reel-project a span { margin-left: 2px; }
.dj-reel-error { margin-top: 10px; font-size: 14px; }
.dj-reel-static-copy { padding: 15px 17px 22px; background: var(--reel-ink); }
.dj-reel-static-copy h3 { color: var(--reel-cream); font: 650 17px/1.4 var(--folio-sans, 'Segoe UI', Arial, sans-serif); letter-spacing: 0; }
.dj-reel-static-copy h3 time { margin-right: 8px; color: #e2cbb9; font: 600 13px/1.5 var(--folio-mono, ui-monospace, Consolas, monospace); }
.dj-reel-static-copy a { font-size: 14px; }
.dj-reel-stage:not(:has([data-reel-list]:not([hidden]))) { max-width: 1000px; }
.dj-reel-reference {
  display: grid; grid-template-columns: minmax(90px,.8fr) minmax(0,1.25fr);
  align-items: start; gap: 14px; border-top: 1px solid #728077; padding-top: 14px; margin-top: 16px;
}
.dj-reel-reference img { display: block; width: 100%; height: auto; background: #fff; }
.dj-reel-reference a { font: 670 15px/1.35 var(--folio-sans); text-decoration: underline; text-underline-offset: 3px; }
.dj-reel-reference-note { margin-top: 6px; color: #d4ddd4; font: 450 14px/1.5 var(--folio-sans); }
@media (min-width: 901px) {
  .dj-reel-stage:has([data-reel-list]:not([hidden])) > .dj-reel-media { grid-column: 1; grid-row: 1 / span 2; }
  .dj-reel-stage:has([data-reel-list]:not([hidden])) > .dj-reel-reference { grid-column: 2; grid-row: 2; }
}
.dj-reel-chapter-list {
  align-self: start;
  padding: clamp(17px, 1.7vw, 26px) clamp(16px, 1.7vw, 26px) 8px;
  border-top: 4px solid #b73321;
  background: #f2ebdf;
  color: var(--reel-ink);
}
.dj-reel-index-title { margin-bottom: 13px; color: var(--reel-ink); font-size: clamp(30px, 2.65vw, 42px); }
.dj-reel-chapters { display: grid; }
.dj-reel-cue {
  display: grid;
  grid-template-columns: 4.4ch minmax(0, 1fr) 9px;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  width: 100%;
  padding: 8px 2px;
  border-top: 1px solid #afa694;
  background: transparent;
  color: var(--reel-ink);
  text-align: left;
  cursor: pointer;
}
.dj-reel-cue time { color: #685b50; font-size: 13px; line-height: 1.3; }
.dj-reel-cue-name { font-size: 16px; line-height: 1.23; font-weight: 650; overflow-wrap: break-word; }
.dj-reel-cue-mark { width: 8px; height: 8px; border: 1px solid #827a6e; border-radius: 50%; }
.dj-reel-cue:has(img) { grid-template-columns: clamp(46px,4.8vw,77px) auto minmax(0,1fr) 8px; }
.dj-reel-cue img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.dj-reel-cue:hover { background: #e8dfcf; }
.dj-reel-cue[aria-checked="true"], .dj-reel-cue[aria-checked="true"] time { color: #a32d1d; }
.dj-reel-cue[aria-checked="true"] { border-top-color: var(--reel-red); }
.dj-reel-cue[aria-checked="true"] .dj-reel-cue-mark { background: var(--reel-red); border-color: var(--reel-red); }
.dj-reel-cue:focus-visible { outline: 2px solid var(--reel-ink); outline-offset: -2px; }
.dj-reel-selection { padding: 0 0 8px min(13%, 45px); }
.dj-reel-note-text, .dj-reel-static-note { font: italic 18px/1.48 var(--folio-display, Georgia, 'Times New Roman', serif); text-wrap: pretty; }
.dj-reel-note-text { color: #36332e; }
.dj-reel-static-note { margin-block: 5px; color: #dfd9cb; }
.dj-reel-from { margin-top: 2px; color: #862419; font-size: 14px; text-decoration-color: #b69080; }
.dj-reel-from .dj-reel-play-icon { width: 16px; height: 16px; background: transparent; border: 1px solid #ac4c38; }
.dj-reel-from .dj-reel-play-icon::before { margin-left: 1px; border-block-width: 3px; border-left: 4px solid #9a3020; }
.dj-reel-from:focus-visible { outline: 2px solid var(--reel-ink); outline-offset: 2px; }

@media (max-width: 980px) {
  .dj-reel-desk { --reel-columns: minmax(0, 1.55fr) minmax(250px, 1fr); --reel-gap: 19px; }
  .dj-reel-chapter-list { padding: 14px 15px 6px; }
  .dj-reel-selection { padding-left: 0; }
}
@media (max-width: 760px) {
  .dj-reel-desk { padding-block: 34px 25px; }
  .dj-reel-copy, .dj-reel-stage:has([data-reel-list]:not([hidden])) { display: block; }
  .dj-reel-copy { margin-bottom: 12px; }
  .dj-reel-eyebrow { font-size: 10px; }
  .dj-reel-title { margin-top: 8px; font-size: clamp(41px, 9.5vw, 62px); }
  .dj-reel-introduction { margin-top: 10px; }
  .dj-reel-standfirst { font-size: 16px; }
  .dj-reel-full { margin-top: 4px; }
  .dj-reel-screen { margin-inline: calc(-1 * var(--pad)); box-shadow: none; }
  .dj-reel-credit { gap: 2px 11px; padding-block: 8px 14px; }
  .dj-reel-credit-line { font-size: 12px; }
  .dj-reel-metadata { gap: 3px 9px; }
  .dj-reel-chapter-list { padding: 12px 13px 9px; }
  .dj-reel-index-title { margin-bottom: 9px; font-size: 28px; }
  .dj-reel-chapters {
    grid-auto-flow: column;
    grid-auto-columns: minmax(6.35rem, 1fr);
    gap: 3px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .dj-reel-cue {
    grid-template-columns: minmax(0, 1fr) 8px;
    grid-template-rows: auto 1fr;
    align-items: start;
    align-content: start;
    gap: 4px;
    min-height: 55px;
    padding: 6px;
    border-top-width: 2px;
    scroll-snap-align: start;
  }
  .dj-reel-cue time { grid-area: 1 / 1; font-size: 11px; }
  .dj-reel-cue-name { grid-area: 2 / 1 / 3 / -1; font-size: 14px; }
  .dj-reel-cue-mark { grid-area: 1 / 2; align-self: center; width: 6px; height: 6px; }
  .dj-reel-cue[aria-checked="true"] { background: #e7ddcc; }
  .dj-reel-cue:has(img) { grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; }
  .dj-reel-cue img { grid-area: 1 / 1 / 2 / -1; aspect-ratio: 16/9; }
  .dj-reel-cue:has(img) time { grid-area: 2 / 1; }
  .dj-reel-cue:has(img) .dj-reel-cue-mark { grid-area: 2 / 2; }
  .dj-reel-cue:has(img) .dj-reel-cue-name { grid-area: 3 / 1 / 4 / -1; }
  .dj-reel-selection { margin-top: 8px; padding: 0 5px; }
  .dj-reel-note-text, .dj-reel-static-note { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .dj-reel-desk[data-reel-ready] .dj-reel-frame { transition: none; } }
