/* Reserve the player space; YouTube loads only after the play button is pressed. */
.case-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--case-image-radius);
  background: #000;
}
.case-video-launch, .case-video-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.case-video-launch {
  position: relative;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: #000;
}
.case-page .case-wrap .case-video-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}
.case-video-launch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
}
.case-video-prompt {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
}
.case-video-play-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #000;
  background: #fff;
  box-shadow: 0 2px 12px #0003;
  transition: transform .24s var(--ease-cloud);
}
.case-video-play-icon svg { width: 22px; height: 22px; margin-left: 2px; }
.case-video-label { padding: 4px 12px; border-radius: 6px; background: #000b; }
.case-video-launch:hover .case-video-play-icon { transform: scale(1.04); }
.case-video-launch:active .case-video-play-icon { transform: scale(.96); }
.case-video-launch:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
