/* The supplied video is 1920×1080. Match its ratio so it fills the hero
   without side bars or clipping the text already baked into the footage. */
#home.hero {
    display: block;
    margin-top: 68px;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
}

#home .hero-video-wrapper {
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #0a0f0d url('../img/home/hero-video-poster.jpg') center / cover no-repeat;
}

#home .hero-video {
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: none;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

#home .home-hero-accessible-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#home .hero-video-overlay,
#home .hero-container,
#home .hero-canvas,
#home .hero-ambient,
#home .gradient-mesh,
#home .hero-grid,
#home .hero-visuals,
#home .hero-scroll,
#home .hero-corner,
#home .hero-creative-frame,
#home .holographic-orbs { display: none !important; }

/* Let the lab photograph set the height of its own card. */
#innovation .lab-bento-grid {
    grid-template-rows: auto auto auto auto;
}

#innovation .lab-card-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1388 / 555;
}

#innovation .lab-image-wrap {
    height: 100%;
}

#innovation .lab-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1024px) {
    #home.hero {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        padding: 0;
    }

    #home .hero-video-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    #home .hero-video {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 1;
    }
}
