/* Subhero ScrollMagic Section */
#subhero-scroll {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Background image fills section */
#subhero-scroll .subhero-background {
    position: absolute;
    inset: 0;
}

#subhero-scroll img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text overlay container */
.subhero-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Individual text blocks */
.scroll-text {
    position: absolute;
    font-family: 'Lato', sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    max-width: 80%;
}

/* Active state */
.scroll-text.active {
    opacity: 1;
    transform: translateY(0);
}