/* General sizing tweaks */
h1, .display-6 {
    font-size: clamp(1.25rem, 2vw + 1rem, 1.75rem);
}

h2.h5 {
    font-size: 1.05rem;
}

.subtitle {
    max-width: 65ch;
}

/* Card look to match About boxes */
.card.bg-body-tertiary {
    border-radius: 0.75rem;
}

.card .small {
    line-height: 1.5;
}

/* Portfolio grids */
.portfolio-item img {
    object-fit: cover;
}

.portfolio-item .thumb img {
    transition: transform .15s ease, box-shadow .15s ease;
}

.portfolio-item .thumb:hover img {
    transform: translateY(-2px) scale(1.02);
}

/* Reduce video color pop a touch */
video.object-fit-cover {
    filter: contrast(1.02) saturate(1.05);
}

/* Space between items */
.portfolio-item + .portfolio-item {
    margin-top: 2rem;
}

/* Make columns feel balanced on desktop */
@media (min-width: 992px) {
    .portfolio-item .col-lg-5 {
        padding-right: 1.25rem;
    }

    .portfolio-item .col-lg-7 {
        padding-left: 1.25rem;
    }
}
