.hero-video-shell {
  position: relative;
  z-index: 3;
  width: 108%;
  max-width: 730px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 220, 255, .42);
  border-radius: 18px;
  background: #030713;
  box-shadow: 0 36px 70px rgba(0, 0, 0, .58), 0 0 60px rgba(32, 220, 255, .1);
  transform: perspective(900px) rotateY(-4deg) rotateX(1deg);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.hero-video-shell:hover {
  border-color: rgba(32, 220, 255, .72);
  box-shadow: 0 42px 86px rgba(0, 0, 0, .64), 0 0 74px rgba(32, 220, 255, .16);
  transform: perspective(900px) rotateY(-2deg) translateY(-4px);
}

.hero-video-media {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 740;
  object-fit: cover;
  background: #030713;
}

.hero-video-shell figcaption {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 17px;
  border-top: 1px solid rgba(32, 220, 255, .2);
  color: #8ea7bc;
  background: rgba(4, 11, 22, .96);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-video-shell figcaption i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

@media (max-width: 1050px) {
  .hero-video-shell {
    width: 104%;
  }
}

@media (max-width: 780px) {
  .hero-video-shell {
    width: calc(100% - 36px);
    max-width: 620px;
    border-radius: 13px;
    transform: none;
  }

  .hero-video-shell:hover {
    transform: translateY(-2px);
  }

  .hero-video-shell figcaption {
    min-height: 38px;
    padding: 9px 13px;
    font-size: .48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-shell {
    transition: none;
  }
}
