

#project-hero {
    min-height: auto;
    padding-top: 7rem;
}

.reveal {
    opacity: 1;
    transform: none;
}

.project-hero-banner {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.project-media {
    width: 100%;
    max-height: 68vh;
    display: block;
    object-fit: cover;
}

.project-hero-title {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
}

.project-hero-title h2 {
    margin-bottom: .5rem;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border: 1px solid var(--b);
    background: var(--surf2);
}

#ditiProgress{
    width: 100%;
    position: absolute;
    z-index: 0;
    margin-top: -620px;
    opacity: 50%;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-video {
    margin-bottom: 1.2rem;
}

.gallery-media {
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
    border: 1px solid var(--b);
    background: var(--surf2);
}

.lightbox{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,0.8);
    z-index:9999;
}

.lightbox--open{
    display:flex;
}

.lightbox__image {
    width: 80vw;
    height: 80vh;
    object-fit: contain;
}

@media (max-width: 900px) {
    #overview .project-overview-wrap {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .project-hero-title {
        position: static;
        padding: 1.2rem;
    }

    .project-media {
        max-height: 42vh;
    }
}
