/* The clips (see /js/clips.js): noobify filmed, each a box of its own shape so nothing
   moves as it loads, the poster in it until the video plays over it. */
.clip {
  position: relative; overflow: hidden; margin: 0;
  aspect-ratio: var(--ar);
  border-radius: var(--clip-radius, 14px);
  border: 1px solid var(--clip-border, rgba(255, 255, 255, 0.1));
  background: var(--clip-bg, #12141c);
  box-shadow: var(--clip-shadow, 0 24px 50px -30px rgba(0, 0, 0, 0.7));
}
.clip picture { display: contents; }
.clip img, .clip video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
}
.clip video { opacity: 0; transition: opacity 0.35s ease; }
.clip.live video { opacity: 1; }
@media (prefers-color-scheme: light) {
  .clip { --clip-bg: #f4efe8; --clip-border: rgba(0, 0, 0, 0.1); --clip-shadow: 0 24px 50px -32px rgba(60, 40, 20, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .clip video { display: none; }
}

/* Each clip's shape: its frames' size. */
.clip-lyrics { --ar: 1192 / 808; }
.clip-viz { --ar: 1600 / 730; }
.clip-party { --ar: 1400 / 864; }
.clip-dig { --ar: 888 / 798; }
.clip-search { --ar: 918 / 912; }
