/* Homepage-only background video; existing site and portal styles are preserved. */
.route-a .home-hero--video {
  overflow: hidden;
  background: #030d15 url("../media/trivial-hero-loop-right-poster-20260924.jpg") center / cover no-repeat;
}

.home-hero--video .hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.home-hero--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3,13,21,.91) 0%, rgba(3,13,21,.77) 43%, rgba(3,13,21,.25) 76%, rgba(3,13,21,.42) 100%);
  pointer-events: none;
}

.home-hero--video .hero-inner,
.route-a .home-hero--video::after {
  position: relative;
  z-index: 2;
}

.route-a .home-hero--video::after {
  position: absolute;
}

.hero-video-toggle {
  position: absolute;
  left: var(--pad);
  bottom: 24px;
  z-index: 3;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 4px;
  background: rgba(3,13,21,.85);
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:hover { background: #030d15; }
.hero-video-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 600px) {
  .home-hero--video::before {
    background: linear-gradient(90deg, rgba(3,13,21,.87), rgba(3,13,21,.62));
  }
}

@media print {
  .home-hero--video .hero-video,
  .hero-video-toggle { display: none; }
}
