  /**
 * Hero Scroll Sequence Block Styles
 */

 .hero-scroll-sequence {
    position: relative;
    width: 100%;
    background: #0a0a0a;
}

.hero-scroll-sequence__pin-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Image Grid Container */
.hero-scroll-sequence__images {
    position: absolute;
    width: 100%;
    height: 100%;
    /* display: grid;
    grid-template-columns: repeat(3, 1fr); */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform-origin: center center;
    padding: 0.75rem;
}

/* Dark overlay on images */
.hero-scroll-sequence__images::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Dynamic overlay opacity */
.hero-scroll-sequence__images[data-overlay="20"]::after { background: rgba(0, 0, 0, 0.2); }
.hero-scroll-sequence__images[data-overlay="30"]::after { background: rgba(0, 0, 0, 0.3); }
.hero-scroll-sequence__images[data-overlay="40"]::after { background: rgba(0, 0, 0, 0.4); }
.hero-scroll-sequence__images[data-overlay="50"]::after { background: rgba(0, 0, 0, 0.5); }
.hero-scroll-sequence__images[data-overlay="60"]::after { background: rgba(0, 0, 0, 0.6); }

/* Individual Columns */
.hero-scroll-sequence__column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 33.33333%;
}

.hero-scroll-sequence__column img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    opacity: 1;
}

/* Figure wrapper for image + caption */
.hero-scroll-sequence__figure {
    position: relative;
    margin: 0;
}

/* Image caption - bottom left */
.hero-scroll-sequence__caption {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    font-size: 0.6875rem; /* 11px */
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    margin: 0;
    max-width: calc(100% - 1rem);
    width: fit-content;
    display: none;
}

/* Content Overlay */
.hero-scroll-sequence__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 2rem;
    text-align: center;
}

/* Headline */
.hero-scroll-sequence__headline {
    position: absolute;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    max-width: 1000px;
    overflow: hidden;
    color: #ffffff;
    margin: 0;
}

/* Individual words for animation */
.hero-scroll-sequence__headline .word {
    display: inline-block;
}

/* CTA Buttons */
.hero-scroll-sequence__cta {
    position: absolute;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-scroll-sequence__cta .ct-button-ghost:not(:hover) {
    border-color: #fff;
    color: #fff;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-scroll-sequence__images {
        gap: 0.5rem;
    }
    
    .hero-scroll-sequence__headline {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .hero-scroll-sequence__cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   EDITOR STYLES
   ======================================== */
.hero-scroll-sequence-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Disable animation in editor */
.block-editor-block-list__layout .hero-scroll-sequence__images,
.block-editor-block-list__layout .hero-scroll-sequence__content,
.block-editor-block-list__layout .hero-scroll-sequence__headline,
.block-editor-block-list__layout .hero-scroll-sequence__cta {
    opacity: 1 !important;
    transform: none !important;
}

