/* A comparison and an official demonstration within the existing watch note. */
.watch-comparison { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.watch-demo-heading h4 { margin: 12px 0 26px; font: 600 clamp(32px, 3.7vw, 54px)/1.04 var(--display); }
.watch-comparison-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.watch-workflow { min-width: 0; border-top: 2px solid var(--muted); }
.watch-workflow-new { border-color: var(--mint); }
.watch-workflow h5 { margin: 20px 0 18px; font: 500 clamp(21px, 2.1vw, 30px)/1.3 var(--body); letter-spacing: -.035em; }
.watch-workflow h5 > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.watch-workflow-new h5 > span { color: var(--mint); }
.watch-workflow ol { margin: 0; padding: 0; list-style: none; counter-reset: workflow; }
.watch-workflow li { position: relative; counter-increment: workflow; padding: 16px 0 16px 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.7; }
.watch-workflow li::before { content: counter(workflow, decimal-leading-zero); position: absolute; left: 0; top: 20px; color: var(--signal); font: 400 11px/1.5 var(--mono); }
.watch-workflow strong { color: var(--ink); font-weight: 500; }
.watch-distinction { max-width: 85ch; margin: 28px 0 8px; padding-left: 18px; border-left: 2px solid var(--mint); color: var(--muted); font-size: 14px; line-height: 1.8; }
.watch-distinction strong { color: var(--ink); font-weight: 500; }
.watch-reference { min-height: 44px; font-size: 13px; }
.watch-demo { margin: 48px 0 0; }
.watch-film-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.watch-video-duration { margin-bottom: 28px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.watch-video { aspect-ratio: 1522 / 722; }
/* A typographic title slate avoids loading the remote video before a play request. */
.watch-video:has(.stage-play)::before { content: 'SCRIPTING v0.1'; position: absolute; inset: 0; display: grid; place-content: center; pointer-events: none; color: var(--mint); font: 600 clamp(34px, 7vw, 104px)/1 var(--display); letter-spacing: -.025em; background: radial-gradient(ellipse at 65% 30%, #b8d1b613, transparent 60%), #0e150f; }
.watch-demo figcaption > p { max-width: 85ch; margin: 18px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.watch-video-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.watch-video-credits > span { flex: 1; min-width: min(100%, 280px); color: var(--muted); font-size: 9px; line-height: 1.8; }
.watch-video-credits .text-link { font-size: 13px; min-height: 44px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 701px) {
    .watch-comparison-grid { row-gap: 0; }
    .watch-workflow { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
    .watch-workflow ol { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
  }
}
@media (max-width: 700px) {
  .watch-comparison { margin-top: 36px; padding-top: 24px; }
  .watch-comparison-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .watch-workflow li { padding-top: 14px; padding-bottom: 14px; }
  .watch-workflow li::before { top: 18px; }
  .watch-demo { margin-top: 36px; }
  .watch-film-heading { display: block; }
  .watch-film-heading h4 { margin-bottom: 12px; }
  .watch-video-duration { display: block; margin-bottom: 18px; }
  .watch-video:has(.stage-play)::before { place-content: start center; padding-top: 20px; font-size: clamp(28px, 7vw, 44px); }
}
