/* Reversible background trial for the home manifesto section. */
.lab--video { isolation: isolate; background: #080d11; }
.lab-video-backdrop,
.lab-video-shade { position: absolute; inset: 0; pointer-events: none; }
.lab-video-backdrop {
    z-index: 0;
    background: url('video/code-background-poster.jpg') center / cover no-repeat;
}
.lab-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}
.lab-video-shade {
    z-index: 1;
    background: linear-gradient(90deg, #07090b18 0%, #07090b30 45%, #07090b80 100%),
                linear-gradient(0deg, #07090b55, transparent 24%, transparent 76%, #07090b55);
}
.lab--video .lab-copy p { color: #e0e4e8; }
.lab-video-toggle {
    position: absolute;
    z-index: 4;
    right: var(--pad);
    bottom: 25px;
    border: 1px solid #ffffff35;
    border-radius: 100px;
    padding: 11px 15px;
    background: #080d1180;
    color: #d1d8de;
    font: 9px/1.5 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}
.lab-video-toggle[hidden] { display: none; }
.lab-video-toggle:hover { color: var(--acid); border-color: var(--acid); }
.lab-video-toggle:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
@media (max-width: 900px) {
    .lab--video { padding-bottom: 100px; }
    .lab-video-shade { background: linear-gradient(0deg, #07090b90, #07090b20 75%, #07090b40); }
}
@media (prefers-reduced-motion: reduce) {
    .lab-video { display: none; }
    .lab-video-toggle { display: none; }
}
