/* Methodology Section 2 — Sticky Split Layout */

.bsb-meth2-section {
    position: relative;
    background-color: var(--bsb-color-bg);
}

.bsb-meth2-split-wrapper {
    display: flex;
    gap: 0;
    position: relative;
}

/* ── Left Column: Sticky ── */
.bsb-meth2-sticky-col {
    flex: 0 0 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bsb-meth2-visual-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bsb-meth2-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    /* Fast replace instead of slow cross-fade */
    transition: opacity 0.1s ease, visibility 0.1s ease;
}

.bsb-meth2-img.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    /* Ensure active image is on top */
}

/* ── Right Column: Content ── */
.bsb-meth2-content-col {
    flex: 0 0 50%;
    padding-left: 100px;
}

.bsb-meth2-panel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10rem 0;
}

.bsb-meth2-panel__inner {
    max-width: 600px;
    text-align: right;
}

/* Initial state for children staggered reveal */
.bsb-meth2-panel__inner>* {
    opacity: 0;
    transform: translateY(30px);
}

/* ── Hero Panel ── */
.bsb-meth2-hero__title {
    font-family: var(--bsb-font-display);
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--bsb-color-text);
    margin: 0 0 1rem;
}

.bsb-meth2-hero__lead {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.bsb-meth2-hero__desc {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    line-height: 1.5;
}

.bsb-meth2-scroll-hint {
    margin-top: 4rem;
}

.bsb-meth2-scroll-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    font-family: var(--bsb-font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    /* letter-spacing: 0.15em; */
    color: var(--bsb-color-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.bsb-meth2-scroll-link svg {
    width: 20px;
    height: 20px;
    /* animation: bounceSubtle 2s infinite ease-in-out; */
}

/* ── Step Panels ── */
.bsb-meth2-step__title {
    font-family: var(--bsb-font-display);
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.bsb-meth2-step__sub {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.bsb-meth2-step__desc {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.bsb-meth2-step__cta-wrap {
    margin-top: 4rem;
}

/* ── Animations ── */
@keyframes bounceSubtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .bsb-meth2-content-col {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .bsb-meth2-split-wrapper {
        flex-direction: column;
    }

    .bsb-meth2-sticky-col {
        position: relative;
        height: auto;
        aspect-ratio: 1;
        width: 100%;
        flex: none;
    }

    .bsb-meth2-content-col {
        flex: none;
        width: 100%;
    }

    .bsb-meth2-panel {
        min-height: auto;
        padding: 2rem 0;
        border-bottom: 1px solid #e1e1e1;
        align-items: center;
    }

    .bsb-meth2-panel__inner {
        text-align: center;
    }

    .bsb-meth2-scroll-hint,
    .bsb-meth2-step__cta-wrap {
        margin-top: 2rem;
    }

    .bsb-meth2-scroll-link {
        justify-content: center;
    }


}