/*
 * BS Reboot задає img { max-width: 100%; height: auto } — у порожній рамці висота стає 0.
 * Рамка з aspect-ratio + absolute img гарантують видиму площу.
 */
.intro-performance-split__thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 14rem;
    aspect-ratio: 4 / 3;
}

.intro-performance-split__thumb > img.intro-performance-split__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    z-index: 0;
}

.intro-performance-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-performance-split__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


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


.script-bodycopy__visual--rise:hover { transform: scale(1.1); transition: transform .2s ease; }

.script-bodycopy__split-panel-inset {
    padding: 4rem;
}

.content-wide-frame {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

.content-base-height {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}

.rounded-stack-quote__portrait {
    width: 5rem;
    height: 5rem;
}

@keyframes perks-stats-stack-rotate-kf {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.perks-stats-stack__square {
    animation: perks-stats-stack-rotate-kf 30s linear infinite;
}

.perks-stats-stack__square--slow {
    animation-duration: 36s;
}

.perks-stats-stack__feat-thumb {
    width: 2rem;
    height: 2rem;
}

.perks-stats-stack__row-thumb {
    width: 3rem;
    height: 3rem;
}

.perks-stats-stack__feat,
.perks-stats-stack__row {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-stats-stack__feat:hover {
        transform: scale(1.05);
    }

    .perks-stats-stack__row:hover {
        transform: scale(1.05);
    }
}

/* cta particles card — animated dot field */
.cta-particles-card__root {
  position: relative;
  overflow: hidden;
}

.cta-particles-card__particles {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, var(--tw-primary-500, var(--bs-primary)) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: cta-particles-card__drift 20s linear infinite;
}

@keyframes cta-particles-card__drift {
  from { transform: translateY(0); }
  to { transform: translateY(100px); }
}

