.work-landing, .work-gallery, .work-album { max-width: 1120px; margin: 0 auto; color: #173b2b; }
.work-landing { padding: 1.5rem 0 3rem; }
.work-landing h1, .work-album h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 780; letter-spacing: -.045em; }
.work-gallery { margin-block: 1.25rem 2.25rem; }
.work-gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: .75rem 1.5rem; margin-bottom: .8rem; }
.work-gallery-heading h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 750; }
.work-gallery-heading p { margin: .25rem 0 0; color: #456357; }
.work-gallery-heading a { color: #265b43; font-weight: 700; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.work-gallery .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-tile { display: block; position: relative; aspect-ratio: 1.3; overflow: hidden; border-radius: .65rem; background: #284c3d; color: #fff; text-decoration: none; }
.work-tile:hover, .work-tile:focus-visible { color: #fff; outline: .16rem solid #438664; outline-offset: .12rem; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-caption { position: absolute; inset: auto 0 0; padding: 1.55rem .65rem .55rem; background: linear-gradient(transparent, #0a271edb 38%, #0a271e); line-height: 1.25; }
.work-caption strong, .work-caption span { display: block; }
.work-caption span { margin-top: .18rem; font-size: .84rem; color: #eef5eb; }
.work-album { padding: 1rem 0 3rem; }
.work-album-photos img { display: block; width: min(100%, 760px); border-radius: .75rem; }
@media (max-width: 700px) {
    .work-grid, .work-gallery .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work-gallery .work-tile:nth-child(n+5) { display: none; }
    .work-gallery-heading { align-items: start; flex-direction: column; }
}


.work-video-tile { display: grid; width: 100%; height: 100%; place-items: center; padding-bottom: 1.5rem; background: #0e3654; color: #fff; font-size: 1.85rem; }
.gh-video-player { width: min(100%, 800px); }
.gh-video-player iframe { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; border: 0; border-radius: .75rem; background: #0e3654; }
.gh-video-player a { display: inline-block; margin: .4rem 0 .85rem; color: #075784; }


.work-gallery {
    max-width: 1140px;
    margin: 28px auto;
    padding: 0 15px;
}

.work-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.work-gallery-title-wrap h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #0b3954;
}

.work-gallery-title-wrap p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #526777;
}

.work-all-link {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid #0f6292;
    border-radius: 6px;
    color: #0f6292;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .work-all-link:hover {
        background: #0f6292;
        color: #ffffff;
    }

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.work-tile {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #0f293a;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(11, 57, 84, 0.08);
}

.work-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

    .work-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease;
    }

.work-tile:hover .work-thumb img {
    transform: scale(1.04);
}

.work-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: linear-gradient(to top, rgba(7, 25, 38, 0.88) 0%, rgba(7, 25, 38, 0.45) 60%, transparent 100%);
    color: #ffffff;
}

    .work-caption strong {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.35;
    }

.work-meta {
    font-size: 12.5px;
    color: #d4e7f2;
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .work-gallery-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }
}
.work-dossier-text { max-width: 76ch; white-space: pre-line; overflow-wrap: anywhere; margin-block: 1rem; }
.work-album-clip { margin-block: 1rem; scroll-margin-top: 5rem; }
