.studio-masonry {
    column-count: 2;
    column-gap: var(--space-md);
}

.studio-masonry img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: var(--space-md);
    break-inside: avoid;
    cursor: zoom-in;
    background: var(--bg-muted);
    transition: opacity 0.25s ease;
}

.studio-masonry img:hover {
    opacity: 0.88;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(10, 10, 10, 0.96);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: absolute;
    right: var(--space-md);
    top: var(--space-sm);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
}

@media (min-width: 1024px) {
    .studio-masonry {
        column-count: 3;
        column-gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .studio-masonry {
        column-count: 1;
        column-gap: var(--space-sm);
    }

    .studio-masonry img {
        margin-bottom: var(--space-sm);
    }
}
