.project-detail-page .site-header {
    background: #222625;
}
.project-intro {
    padding: 170px 0 55px;
    background: var(--cream);
}
.project-intro .eyebrow {
    margin: 45px 0 18px;
}
.project-intro h1 {
    font-size: clamp(40px, 6vw, 85px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    max-width: 1100px;
}
.gallery-count {
    color: var(--muted);
    font-size: 13px;
    margin: 20px 0 0;
}
.project-gallery-section {
    padding: 60px 0 110px;
}
.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.gallery-tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eeeae3;
}
.gallery-tile img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-tile:hover img {
    transform: scale(1.035);
}
.gallery-tile span {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #fff;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
}
.project-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    margin: 0;
    padding: 70px 70px 30px;
    background: #101312f7;
    color: white;
    overflow: hidden;
}
.project-lightbox::backdrop {
    background: #101312;
}
.project-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-toolbar {
    position: absolute;
    top: 16px;
    left: 25px;
    right: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
}
.lightbox-count {
    margin-right: auto;
    font-size: 13px;
}
.project-lightbox button {
    background: transparent;
    color: white;
    border: 1px solid #ffffff45;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
}
.lightbox-image-area {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-x pan-y;
}
.lightbox-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.lightbox-image-area.zoomed {
    display: block;
}
.lightbox-image-area.zoomed img {
    max-width: none;
    max-height: none;
    width: 150%;
    height: auto;
    cursor: zoom-out;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    font-size: 24px;
}
.lightbox-prev {
    left: 12px;
}
.lightbox-next {
    right: 12px;
}
.lightbox-close {
    font-size: 20px;
}
.lightbox-zoom {
    padding: 0 12px;
    font-size: 12px;
}
@media (max-width: 991px) {
    .project-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .project-intro {
        padding-top: 140px;
    }
}
@media (max-width: 575px) {
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .project-intro {
        padding: 125px 0 35px;
    }
    .project-intro .eyebrow {
        margin-top: 35px;
    }
    .project-gallery-section {
        padding: 30px 0 60px;
    }
    .project-lightbox {
        padding: 70px 45px 25px;
    }
    .lightbox-prev {
        left: 0;
    }
    .lightbox-next {
        right: 0;
    }
    .project-lightbox .lightbox-prev,
    .project-lightbox .lightbox-next {
        min-width: 40px;
    }
}
