/* The 60-second video: the home-page gallery tile (.showcase-video, .pick-video) and the /watch/ page (.watch-page).
   Portrait 9:16 video; aspect-ratio reserves the space so nothing shifts when the poster loads. No inline styles (CSP). */
.watch-frame { margin: 0; justify-self: center; width: min(100%, 22rem); }
.watch-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--shot-bezel); border: 1px solid var(--panel-edge); border-radius: var(--radius-md); }
.watch-frame figcaption { margin-top: .6rem; font: var(--text-xs, .85rem)/1.5 var(--font-mono); color: var(--ink-faint); }
.watch-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 2.5rem 4rem; align-items: center; }
.watch-copy h2 { margin: 0 0 1rem; }
.watch-copy p { max-width: var(--measure); color: var(--ink-dim); }
.watch-copy .text-link { display: inline-block; margin-top: .4rem; }
.watch-transcript { margin-top: 1.5rem; max-width: var(--measure); border-top: 1px solid var(--panel-edge); padding-top: .8rem; }
.watch-transcript summary { cursor: pointer; font: .9rem/1.6 var(--font-mono); color: var(--ink); }
.watch-transcript p { margin: .8rem 0 0; color: var(--ink-dim); }
.watch-page .watch-split { margin-top: 1rem; }
.watch-page .hero-actions { margin-top: 1.5rem; }
.watch-page .runs-note { margin-top: 1rem; color: var(--ink-dim); }
.watch-page .watch-frame { grid-column: 2; grid-row: 1; }
.watch-page .watch-copy { grid-column: 1; grid-row: 1; }
.watch-page .watch-transcript { border-top: 0; padding-top: 0; }
@media (max-width: 800px) {
  .watch-split { grid-template-columns: minmax(0, 1fr); }
  .watch-frame { width: min(100%, 20rem); }
  .watch-page .watch-frame, .watch-page .watch-copy { grid-column: 1; grid-row: auto; }
}

/* Home-page gallery: the video is one tile. Same 16:10 box as the screenshots on wide screens (portrait video,
   centred); a tall portrait box on phones. The video file loads only when Play is tapped (preload="none"). */
.showcase-main { min-width: 0; }
.showcase-stage[hidden], .showcase-video[hidden] { display: none; }
.showcase-video { margin: 0; }
.video-box { position: relative; aspect-ratio: 16 / 10; border: 6px solid var(--shot-bezel); border-radius: var(--radius-md); background: var(--shot-bezel);
  box-shadow: 0 30px 50px -30px rgba(6, 38, 63, 0.5); overflow: hidden; }
.video-box video { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; aspect-ratio: 9 / 16; background: var(--shot-bezel); }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: none; cursor: pointer; }
.video-play span { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding-left: .25rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.3rem;
  box-shadow: 0 6px 24px rgba(6, 8, 10, .45); transition: transform .15s var(--ease-out); }
.video-play:hover span { transform: scale(1.06); }
.video-play:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.video-play[hidden] { display: none; }
.showcase-video figcaption { margin-top: .7rem; font-size: .92rem; line-height: 1.5; color: var(--ink-dim); }
.pick-video { position: relative; }
.pick-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 2rem; height: 2rem; padding-left: .12rem; margin: -1rem 0 0 -1rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .8rem; box-shadow: 0 2px 8px rgba(6, 8, 10, .45); pointer-events: none; }
@media (max-width: 800px) {
  .video-box { aspect-ratio: 9 / 16; width: min(100%, 18rem); margin-inline: auto; }
  .video-box video { left: 0; transform: none; width: 100%; }
}
