/* ASCLEPIUS / HERO LOOP - DUAL VISUAL BRIDGE / 2026-11-22
 * ONLY the muted standby visual crossfades. Main video never hides/reloads.
 * Sound toggle always controls the ORIGINAL #asc-hero-video.
 */
body[data-page="home"] .hero--cinematic .hero-media {
  background-color: #F5F8F9;
  background-image: url('/assets/products/30c/hero-inhalation-poster.webp');
  background-repeat: no-repeat;
  background-position: 54% 48%;
  background-size: cover;
}
body[data-page="home"] .hero--cinematic .hero-media > .hero-film {
  opacity: 1;
  visibility: visible;
  filter: none;
  animation: none;
  transition: none;
}
body[data-page="home"] .hero--cinematic .hero-media > .asc-hero-dual-bridge {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 215ms cubic-bezier(.4, 0, .18, 1);
}
body[data-page="home"] .hero--cinematic .hero-media > .asc-hero-dual-bridge.is-bridge-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 215ms cubic-bezier(.4, 0, .18, 1);
}
@media (max-width: 1279px) {
  body[data-page="home"] .hero--cinematic .hero-media {
    background-size: contain;
    background-position: center;
  }
  body[data-page="home"] .hero--cinematic .hero-media > .asc-hero-dual-bridge {
    object-fit: contain;
    object-position: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero--cinematic .hero-media > .asc-hero-dual-bridge {
    transition: none;
  }
}
/* Debugging is opt-in only: ?ascLoopDebug=1 */
body[data-page="home"] .hero--cinematic .asc-hero-bridge-debug {
  position:absolute;left:8px;bottom:8px;z-index:9;
  background:rgba(24,56,75,.85);color:#fff;border-radius:4px;
  font:11px/1.4 monospace;padding:5px 8px;max-width:95%;
  pointer-events:none;
}
