.glass-hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: min(100%, clamp(36rem, 65vw, 62rem));
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  animation: glass-light-drift 5s cubic-bezier(.37, 0, .63, 1) -.95s infinite alternate;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 48%, transparent 98%);
}

.mattic-site:not([data-mattic-motion]) .glass-hero-video { animation: none; }

/* Move the illuminated glass, including its poster during video startup. */
@keyframes glass-light-drift {
  from { transform: translate(5%, 2%) rotate(2deg) scale(-1.22, 1.22); }
  to   { transform: translate(-7%, -5%) rotate(-2deg) scale(-1.22, 1.22); }
}

@media (max-width: 600px) {
  .glass-hero-video {
    object-position: 20% center;
    opacity: .82;
  }
}
