body[data-video-background] {
  isolation: isolate;
  background: #081019;
}
.site-video-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(rgba(6, 10, 17, .36), rgba(6, 10, 17, .36)),
    url("./media/techvibe-blue-wave-poster.webp") center / cover no-repeat;
}
.site-video-backdrop video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(.64) saturate(.85);
  transition: opacity .35s ease;
}
.site-video-backdrop.is-video-ready video { opacity: 1; }
body[data-video-background] .home-hero {
  background: rgba(7, 10, 16, .12);
}
body[data-video-background] .home-hero::before { opacity: .08; }
body[data-video-background] .home-hero::after {
  background: linear-gradient(90deg, transparent 20%, rgba(6, 9, 15, .16) 50%, rgba(6, 9, 15, .58) 100%);
}
body[data-video-background] .qshot-hero-atmosphere { opacity: .42; }
body[data-video-background] .qshot-story { background: rgba(7, 12, 19, .7); }
body[data-video-background][data-page="product"] main { background: rgba(7, 12, 19, .78); }
.background-motion-toggle {
  flex: 0 0 44px;
  align-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(213, 174, 103, .45);
  border-radius: 6px;
  background: #0b0e13;
  cursor: pointer;
}
.background-motion-toggle img { width: 20px; height: 20px; filter: invert(1); }
.background-motion-toggle:hover { background: #24211c; border-color: var(--gold); }
@media (max-width: 767px) {
  body[data-video-background] .nav-shell nav { gap: 8px; }
  body[data-video-background] .nav-shell .brand { font-size: 17px; gap: 4px; flex-shrink: 0; }
  body[data-video-background] .nav-shell .brand img { width: 28px; height: 28px; }
  body[data-video-background] .home-hero::after {
    background: linear-gradient(180deg, transparent 20%, rgba(6, 9, 15, .15) 42%, rgba(6, 9, 15, .8) 72%, rgba(6, 9, 15, .88));
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-video-backdrop video, .background-motion-toggle { display: none; }
}
