.gallery-intro {
    background: var(--cream);
    padding: 65px 0 80px;
}
.gallery-intro-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}
.gallery-intro h1 {
    font: 400 clamp(48px, 5.5vw, 74px) / 1 var(--serif);
    color: var(--navy);
    margin: 0 0 24px;
}
.gallery-intro h1 em {
    color: var(--gold);
    font-weight: 400;
}
.gallery-intro p {
    max-width: 480px;
    color: var(--muted);
    margin: 0 0 30px;
}
.gallery-intro-image {
    height: 475px;
    overflow: hidden;
}
.gallery-intro-image img {
    height: 100%;
    object-fit: cover;
}
.gallery-disclosure {
    background: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    color: #596672;
    font-size: 12px;
    margin: 0 0 30px;
}
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 26px;
}
.gallery-filters button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    padding: 10px 18px;
    min-height: 44px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.gallery-filters button.active,
.gallery-filters button:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.gallery-item {
    height: 355px;
    overflow: hidden;
}
.gallery-item-wide {
    height: 420px;
}
.gallery-item button {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: var(--cream);
    cursor: pointer;
    text-align: left;
    color: #fff;
}
.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.gallery-item button:hover img {
    transform: scale(1.04);
}
.gallery-item button::after {
    content: "";
    position: absolute;
    inset: 48% 0 0;
    background: linear-gradient(transparent, rgba(9, 26, 43, 0.76));
}
.gallery-caption {
    position: absolute;
    z-index: 1;
    left: 26px;
    right: 26px;
    bottom: 23px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
}
.gallery-caption small {
    grid-column: 1/-1;
    color: #ead5b4;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 9px;
    font-weight: 700;
}
.gallery-caption strong {
    font: 400 28px var(--serif);
}
.gallery-caption > span {
    font-size: 25px;
}
.gallery-item[hidden] {
    display: none;
}
.gallery-count {
    color: var(--muted);
    font-size: 11px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.gallery-cta {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 90px 0;
}
.gallery-cta h2 {
    font: 400 clamp(38px, 4vw, 55px) var(--serif);
    margin: 0;
}
.gallery-cta p {
    color: #d2dbe3;
    max-width: 550px;
    margin: 15px auto 28px;
}
.gallery-dialog {
    width: min(1000px, calc(100% - 30px));
    max-height: calc(100% - 30px);
    background: #0b1e33;
    color: #fff;
}
.gallery-dialog img {
    max-height: 75vh;
    object-fit: contain;
}
.gallery-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 2;
    border: 0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background: #fff;
    color: var(--navy);
    font-size: 27px;
    cursor: pointer;
}
.gallery-dialog-caption {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px 16px;
    padding: 16px 24px;
}
.gallery-dialog-caption span,
.gallery-dialog-caption small {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 9px;
    color: var(--gold-light);
}
.gallery-dialog-caption strong {
    font: 400 21px var(--serif);
}
@media (max-width: 760px) {
    .gallery-intro {
        padding: 55px 0;
    }
    .gallery-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .gallery-intro-image {
        height: 310px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .gallery-item,
    .gallery-item-wide {
        height: 330px;
    }
    .gallery-caption {
        left: 18px;
        right: 18px;
    }
    .gallery-caption strong {
        font-size: 24px;
    }
    .gallery-cta {
        padding: 70px 0;
    }
}
