.gallery-animated-dots__dot--pos-1 {
    top: 5rem;
    left: 4rem;
    width: 2rem;
    height: 2rem;
}

.gallery-animated-dots__dot--pos-2 {
    top: 8rem;
    right: 5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.gallery-animated-dots__dot--pos-3 {
    bottom: 6rem;
    left: 5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.gallery-animated-dots__dot--pos-4 {
    bottom: 8rem;
    right: 4rem;
    width: 1rem;
    height: 1rem;
}

.gallery-animated-dots__dot--pos-5 {
    top: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
}

.gallery-animated-dots__dot--pos-6 {
    top: 33.333%;
    right: 33.333%;
    width: 0.75rem;
    height: 0.75rem;
}

.gallery-animated-dots__dot--pos-7 {
    bottom: 25%;
    left: 33.333%;
    width: 0.5rem;
    height: 0.5rem;
}

@keyframes gallery-animated-dots-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.gallery-animated-dots__dot--bounce {
    animation: gallery-animated-dots-bounce-kf 1s infinite;
}

@keyframes gallery-animated-dots-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.gallery-animated-dots__dot--pulse {
    animation: gallery-animated-dots-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes gallery-animated-dots-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.gallery-animated-dots__dot--ping {
    animation: gallery-animated-dots-ping-kf 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.gallery-animated-dots__item--hover {
    transition: transform 0.3s ease;
}

.gallery-animated-dots__item--hover:hover {
    transform: scale(1.05);
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}

/* content ledger — top stem height */
.content-ledger__stem {
    height: 4rem;
}

