.sm-animate {
    opacity: 1;
    transform: none;
    transition: opacity 0.12s linear;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.sm-motion-ready .sm-animate.sm-motion-bound {
    opacity: 0;
    transform: translate3d(0, 48px, 0);
}

.sm-block-content {
    width: 100%;
}

.sm-stagger-children > .sm-block-content > *,
.sm-gb-card-grid > .sm-block-content > *,
.sm-story-stage > .sm-block-content > * {
    will-change: transform, opacity;
}

.sm-scroll-video {
    position: relative;
    overflow: hidden;
    line-height: 0;
    margin: 0;
}

.sm-scroll-video__media {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    pointer-events: none;
    background: #000;
}

.sm-scroll-video__caption {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.78;
}

.sm-scroll-video--cover {
    min-height: var(--sm-video-min-height, 70vh);
}

.sm-scroll-video--cover .sm-scroll-video__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sm-scroll-video__overlay {
    position: relative;
    z-index: 2;
}

.sm-scroll-video--cover .sm-scroll-video__overlay {
    min-height: var(--sm-video-min-height, 70vh);
    display: grid;
    align-items: center;
    justify-items: stretch;
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.sm-scroll-video--cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 22, var(--sm-video-overlay-opacity, 0.35));
    z-index: 1;
    pointer-events: none;
}

.sm-clip-reveal,
.sm-scrub-zoom {
    overflow: hidden;
}

.sm-preset-hero-reveal .sm-block-content,
.sm-gb-hero-stack .sm-block-content {
    display: grid;
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

.sm-gb-hero-stack .gb-button-wrapper,
.sm-gb-hero-stack .wp-block-buttons {
    margin-top: 0.5rem;
}

.sm-gb-card-grid .sm-block-content,
.sm-gb-card-grid.gb-container {
    gap: clamp(1rem, 2vw, 1.5rem);
}

.sm-gb-card-grid .gb-grid-column,
.sm-gb-card-grid .gb-container,
.sm-gb-card-grid .wp-block-group {
    height: 100%;
}

.sm-gb-testimonial-strip .sm-block-content {
    gap: clamp(1rem, 2vw, 1.4rem);
}

.sm-story-stage {
    position: relative;
    overflow: clip;
}

.sm-story-stage .sm-block-content {
    display: grid;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.sm-story-panel {
    position: relative;
}

.sm-preset-stacked-cards .sm-story-panel,
.sm-preset-story-panels .sm-story-panel {
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}

.sm-snap-story .sm-story-panel {
    scroll-snap-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .sm-animate,
    .sm-story-panel,
    .sm-stagger-children > .sm-block-content > * {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        transition: none !important;
    }
}
