.tqc-hero--home:has([data-hero-background]) { position: relative; isolation: isolate; }
.tqc-hero-background {
    visibility: hidden;
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: -1px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: hidden;
    opacity: .08;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
}
.tqc-hero-background[data-ready] { visibility: visible; }
.tqc-hero-background video { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.4); }
.tqc-hero-background-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--tqc-border);
    border-radius: 50%;
    background: var(--tqc-bg);
    color: var(--tqc-muted);
    cursor: pointer;
}
.tqc-hero-background-toggle[hidden], .tqc-hero-background-toggle [hidden] { display: none; }
.tqc-hero-background-toggle:hover { color: var(--tqc-text); }
@media(max-width:47.99rem){.tqc-hero-background{opacity:.07;}}
@media(prefers-reduced-motion:reduce){.tqc-hero-background-toggle{display:none;}}

.tqc-hero--home[data-hero-video-active] .tqc-app-controls { display: none; }

.tqc-video-play-label { display: none; }
.tqc-hero-background-toggle[data-autoplay-blocked]:not([hidden]) { width: auto; max-width: min(100%, 15rem); padding: .6rem .85rem; border-radius: 1.5rem; display: inline-flex; gap: .5rem; font: inherit; font-size: .8rem; }
.tqc-hero-background-toggle[data-autoplay-blocked] .tqc-video-play-label { display: inline; }
