.gallery-masonry__card {
    transition: all 0.3s ease;
}

.gallery-masonry__card:hover {
    transform: scale(1.05);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
}

.gallery-masonry__img {
    transition: transform 0.3s ease;
}

.gallery-masonry__card:hover .gallery-masonry__img {
    transform: scale(1.05);
}

.gallery-masonry__overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}

.gallery-masonry__card:hover .gallery-masonry__overlay {
    opacity: 1;
}

/* Bootstrap Grid Fallbacks */
.gallery-masonry__grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .gallery-masonry__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-masonry__card--large {
    grid-row: span 2;
    height: 100%;
}

.gallery-masonry__media--square {
    aspect-ratio: 1 / 1;
}

.gallery-masonry__media--full {
    height: 100%;
    min-height: 100%;
}

.content-prose__diamond {
    transform: rotate(45deg);
}

/* content plain — thin vertical rule height (BS has no h-16 spine utility) */
.content-plain__fine-rule {
    height: 6rem;
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-grid-gap {
    gap: 2rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-img-fullheight {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 992px) {
    .content-img-fullheight {
        height: 100%;
        min-height: 16rem;
    }
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.compact-manifesto-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .compact-manifesto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .compact-manifesto-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — align with v4 (bs had top-0) */
.philosophy-v5-badge-decor {
    top: -2.25rem;
}

.philosophy-compact-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* content gutter — bracket ticks share width */
.content-gutter__tick {
    width: 1px;
}

/* solo column: span full grid / row when second stack hidden */
.content-gutter__lead--span {
    grid-column: 1 / -1;
}

.content-report-leaf__toggle {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -0.125rem;
}

.content-report-leaf__glyph {
    transition: transform 180ms ease;
}

.content-report-leaf__toggle.is-open .content-report-leaf__glyph {
    transform: rotate(45deg);
}

.content-report-leaf__orb {
    width: 10rem;
    height: 10rem;
    filter: blur(4rem);
}

.content-flex-min {
    min-width: 0;
}

/* Values v24 - luxury manifesto hairline rule and vertical rhythm (layout only, no colors) */

.values-manifesto__rule {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: currentColor;
    opacity: 0.15;
}

