.intro-split-gradient__col-left {
    flex: 1 1 60%;
}

.intro-split-gradient__skew-decor {
    width: 8rem;
}

.intro-split-gradient__content-area {
    max-width: 42rem;
}

.intro-split-gradient__text-box {
    max-width: 36rem;
}

.intro-split-gradient__col-right {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
}

.intro-split-gradient__media-frame {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    /* Завжди є «коробка» для absolute img (BS Reboot: img height:auto ламає h-100 у порожнього батька) */
    min-height: 16rem;
    aspect-ratio: 4 / 3;
}

/* Перебиваємо Bootstrap reboot для img */
.intro-split-gradient__media-frame > img.intro-split-gradient__media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    z-index: 0;
}

@media (min-width: 992px) {
    /* Права смуга на всю висоту в’юпорту — тоді flex-grow має від чого рахувати */
    .intro-split-gradient__col-right {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .intro-split-gradient__media-frame {
        flex: 1 1 0;
        width: 100%;
        min-height: min(50vh, 24rem);
        max-height: none;
        aspect-ratio: auto;
    }

    .intro-split-gradient__media-frame > img.intro-split-gradient__media-img {
        height: 100%;
    }
}

.intro-split-gradient__media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.passage-chapter__visual--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.passage-chapter__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

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

.content-img-compact {
    display: block;
    width: 100%;
    height: 12rem;
    min-height: 12rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-compact {
        height: 14rem;
        min-height: 14rem;
    }
}

@keyframes floatParticle1 {
    0% { 
        transform: translate(-20px, -20px) scale(0.8);
        opacity: 0.3;
    }
    25% { 
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% { 
        transform: translate(30px, 20px) scale(0.9);
        opacity: 0.5;
    }
    75% { 
        transform: translate(-10px, 30px) scale(1.1);
        opacity: 0.7;
    }
    100% { 
        transform: translate(-20px, -20px) scale(0.8);
        opacity: 0.3;
    }
}

@keyframes floatParticle2 {
    0% { 
        transform: translate(15px, 15px) scale(1.1);
        opacity: 0.4;
    }
    30% { 
        transform: translate(-25px, 10px) scale(0.7);
        opacity: 0.8;
    }
    60% { 
        transform: translate(-15px, -25px) scale(1.3);
        opacity: 0.3;
    }
    90% { 
        transform: translate(20px, -15px) scale(0.9);
        opacity: 0.6;
    }
    100% { 
        transform: translate(15px, 15px) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes floatParticle3 {
    0% { 
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0.2;
    }
    25% { 
        transform: translate(30px, -20px) scale(1.2);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.4;
    }
    75% { 
        transform: translate(-30px, -10px) scale(1.1);
        opacity: 0.7;
    }
    100% { 
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0.2;
    }
}

@keyframes floatParticle4 {
    0% { 
        transform: translate(-10px, -10px) scale(1.3);
        opacity: 0.5;
    }
    40% { 
        transform: translate(25px, 15px) scale(0.6);
        opacity: 0.8;
    }
    80% { 
        transform: translate(-15px, 25px) scale(1.4);
        opacity: 0.3;
    }
    100% { 
        transform: translate(-10px, -10px) scale(1.3);
        opacity: 0.5;
    }
}

@keyframes floatParticle5 {
    0% { 
        transform: translate(20px, 20px) scale(0.9);
        opacity: 0.3;
    }
    35% { 
        transform: translate(-30px, 20px) scale(1.3);
        opacity: 0.7;
    }
    70% { 
        transform: translate(20px, -30px) scale(0.7);
        opacity: 0.4;
    }
    100% { 
        transform: translate(20px, 20px) scale(0.9);
        opacity: 0.3;
    }
}

@keyframes floatParticle6 {
    0% { 
        transform: translate(-15px, -15px) scale(1.0);
        opacity: 0.4;
    }
    50% { 
        transform: translate(20px, -25px) scale(0.8);
        opacity: 0.8;
    }
    100% { 
        transform: translate(-15px, -15px) scale(1.0);
        opacity: 0.4;
    }
}

.profile-float-icon {
    top: -3rem;
    right: -2rem;
}

@keyframes bounce-kf {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

.profile-bounce {
    animation: bounce-kf 1s infinite;
}

.profile-card-hover,
.profile-icon-hover,
.profile-copy-hover,
.profile-underline,
.profile-cta-hover {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.profile-feature-group:hover .profile-card-hover {
    transform: scale(1.05);
}

.profile-feature-group:hover .profile-overlay-hover {
    opacity: 0.2 !important;
}

.profile-feature-group:hover .profile-icon-hover {
    transform: scale(1.1);
}

.profile-feature-group:hover .profile-copy-hover {
    transform: translateY(0.25rem);
}

.profile-underline {
    height: 0.25rem;
    transform: scaleX(0);
    transform-origin: center;
}

.profile-description-group:hover .profile-underline {
    transform: scaleX(1);
}

@keyframes ping-kf {
    75%, 100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.profile-ping {
    animation: ping-kf 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.profile-cta-hover:hover {
    transform: scale(1.05);
}

.profile-particle-1 {
    top: 10%;
    left: 15%;
    animation: floatParticle1 8s ease-in-out infinite;
}

.profile-particle-2 {
    top: 20%;
    right: 20%;
    animation: floatParticle2 10s ease-in-out infinite;
    animation-delay: 1s;
}

.profile-particle-3 {
    top: 60%;
    left: 10%;
    animation: floatParticle3 12s ease-in-out infinite;
    animation-delay: 3s;
}

.profile-particle-4 {
    top: 80%;
    right: 15%;
    animation: floatParticle4 7s ease-in-out infinite;
    animation-delay: 2s;
}

.profile-particle-5 {
    top: 40%;
    left: 80%;
    animation: floatParticle5 9s ease-in-out infinite;
    animation-delay: 4s;
}

.profile-particle-6 {
    top: 70%;
    left: 60%;
    animation: floatParticle6 11s ease-in-out infinite;
    animation-delay: 1.5s;
}

.profile-sq-16 { width: 4rem;    height: 4rem;    flex-shrink: 0; }
.profile-sq-12 { width: 3rem;    height: 3rem;    flex-shrink: 0; }

.content-river__arc {
    width: 18rem;
    height: 18rem;
}

.content-river__node {
    width: 0.75rem;
    height: 0.75rem;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .content-river__copy--right {
        grid-column-start: 2;
    }

    .content-river__copy--left {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .content-river__spacer--left {
        order: 2;
    }
}

.ribbon-flow__accent--1 { width: 8rem; height: 8rem; filter: blur(2rem); }
.ribbon-flow__accent--2 { width: 10rem; height: 10rem; filter: blur(2rem); }
.ribbon-flow__accent--3 { width: 6rem; height: 6rem; filter: blur(1.5rem); }
.ribbon-flow__accent--4 { width: 7rem; height: 7rem; filter: blur(1.5rem); }
.ribbon-flow__accent--5 { width: 9rem; height: 9rem; filter: blur(2rem); }

.ribbon-flow__line--1 { height: 0.125rem; }
.ribbon-flow__line--2 { height: 0.125rem; top: 25%; }
.ribbon-flow__line--3 { height: 0.125rem; top: 50%; }
.ribbon-flow__line--4 { height: 0.125rem; top: 75%; }
.ribbon-flow__line--5 { height: 0.125rem; }

.ribbon-flow__dot--1, .ribbon-flow__dot--2, .ribbon-flow__dot--3, .ribbon-flow__dot--4,
.ribbon-flow__dot--5, .ribbon-flow__dot--6, .ribbon-flow__dot--7, .ribbon-flow__dot--8 {
    width: 0.5rem; height: 0.5rem;
}

.ribbon-flow__dash--1, .ribbon-flow__dash--2, .ribbon-flow__dash--3, .ribbon-flow__dash--4 {
    width: 8rem; height: 0.125rem;
}
.ribbon-flow__dash--1 { top: 25%; }
.ribbon-flow__dash--2 { top: 50%; }
.ribbon-flow__dash--3 { bottom: 25%; width: 6rem; }
.ribbon-flow__dash--4 { bottom: 50%; width: 6rem; }

.ribbon-flow__shape--1 { width: 4rem; height: 4rem; transform: rotate(45deg); }
.ribbon-flow__shape--2 { width: 3rem; height: 3rem; transform: rotate(45deg); }
.ribbon-flow__shape--3 { width: 2rem; height: 2rem; }
.ribbon-flow__shape--4 { width: 2.5rem; height: 2.5rem; }

.ribbon-flow__title-line--1, .ribbon-flow__title-line--2 {
    width: 4rem; height: 0.125rem; transform: translateY(-50%);
}
.ribbon-flow__title-dot--1 { width: 0.5rem; height: 0.5rem; top: -0.5rem; right: -0.5rem; }
.ribbon-flow__title-dot--2 { width: 0.5rem; height: 0.5rem; bottom: -0.5rem; left: -0.5rem; }

.ribbon-flow__media--xl { height: 20rem; }
.ribbon-flow__media--lg { height: 18rem; }
.ribbon-flow__media--md { height: 16rem; }

.ribbon-flow__glow--br { background: radial-gradient(circle at bottom right, rgba(var(--bs-primary-rgb), 0.2), transparent); }
.ribbon-flow__glow--bl { background: radial-gradient(circle at bottom left, rgba(var(--bs-primary-rgb), 0.2), transparent); }

.ribbon-flow__card--hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.ribbon-flow__card--hover:hover {
    transform: scale(1.05);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
}

.ribbon-flow__img--zoom {
    transition: transform 0.5s ease;
}
.ribbon-flow__row:hover .ribbon-flow__img--zoom {
    transform: scale(1.1);
}

.ribbon-flow__overlay--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ribbon-flow__row:hover .ribbon-flow__overlay--fade {
    opacity: 1;
}

.ribbon-flow__overlay--glow {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.ribbon-flow__row:hover .ribbon-flow__overlay--glow {
    opacity: 1;
}

.ribbon-flow__corner--tl, .ribbon-flow__corner--br { width: 5rem; height: 5rem; }

.ribbon-flow__badge--left { left: 1rem; }
.ribbon-flow__badge--right { right: 1rem; }

.ribbon-flow__accent-corner--tr { right: 0; width: 1.5rem; height: 1.5rem; border-right-width: 2px; }
.ribbon-flow__accent-corner--tl { left: 0; width: 1.5rem; height: 1.5rem; border-left-width: 2px; }
.ribbon-flow__accent-corner--bl { left: 0; width: 1.5rem; height: 1.5rem; border-left-width: 2px; }
.ribbon-flow__accent-corner--br { right: 0; width: 1.5rem; height: 1.5rem; border-right-width: 2px; }

.ribbon-flow__panel--slide {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.ribbon-flow__row:hover .ribbon-flow__panel--slide {
    transform: translateY(0);
}

.ribbon-flow__slot { width: 5rem; height: 0.25rem; }
.ribbon-flow__slot-line { height: 0.125rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__slot-dot { width: 0.5rem; height: 0.5rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__row:hover .ribbon-flow__slot-line,
.ribbon-flow__row:hover .ribbon-flow__slot-dot {
    opacity: 1;
}

.ribbon-flow__row-accent--left { left: 0; transform: translateY(-50%); width: 2rem; height: 2rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__row-accent--right { right: 0; transform: translateY(-50%); width: 2rem; height: 2rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__row:hover .ribbon-flow__row-accent--left,
.ribbon-flow__row:hover .ribbon-flow__row-accent--right {
    opacity: 1;
}

/* Bootstrap Fallbacks */
@media (min-width: 768px) {
   
    .ribbon-flow__media--w40 { width: 40%; }
    .ribbon-flow__media--w33 { width: 33.333333%; }
}


.copy-document__body-stack-gap {
    gap: 4rem;
}

.content-flow-gap {
    gap: 4rem;
}

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

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

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

.content-img-medium {
    display: block;
    width: 100%;
    height: 22rem;
    min-height: 22rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-medium {
        height: 28rem;
        min-height: 28rem;
    }
}

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

.content-margin-notes__aside {
    align-self: start;
}

@media (min-width: 992px) {
    .content-margin-notes__aside {
        position: sticky;
        top: 2rem;
    }
}

