
.oeosh-story,
.oeosh-story *{
    box-sizing:border-box;
}
.oeosh-story{
    --oeosh-height:90vh;
    --oeosh-step:105vh;
    --oeosh-duration:650ms;
    --oeosh-overlay:42;
    position:relative;
    width:100%;
    background:#000;
    color:#fff;
    overflow:clip;
    isolation:isolate;
}
.oeosh-scroll-space{
    position:relative;
    height:calc((var(--oeosh-count) - 1) * var(--oeosh-step) + var(--oeosh-height));
}
.oeosh-sticky{
    position:sticky;
    top:0;
    height:var(--oeosh-height);
    width:100%;
    overflow:hidden;
}
.oeosh-stage{
    position:relative;
    width:100%;
    height:100%;
    min-height:420px;
    overflow:hidden;
    background:#000;
}
.oeosh-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transform:scale(1.03);
    transition:
        opacity var(--oeosh-duration) cubic-bezier(.2,.75,.2,1),
        transform calc(var(--oeosh-duration) + 140ms) cubic-bezier(.2,.75,.2,1),
        visibility 0s linear var(--oeosh-duration);
    pointer-events:none;
    will-change:opacity,transform;
}
.oeosh-slide.is-active{
    opacity:1;
    visibility:visible;
    transform:scale(1);
    pointer-events:auto;
    z-index:2;
}
.oeosh-image{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-width:100%;
    min-height:100%;
    max-width:none !important;
    max-height:none !important;
    display:block !important;
    object-fit:cover !important;
    object-position:center center;
    transform:scale(1.08);
    transition:transform 6s cubic-bezier(.2,.7,.2,1);
    user-select:none;
    -webkit-user-drag:none;
}
.oeosh-slide.is-active .oeosh-image{
    transform:scale(1);
}
.oeosh-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,calc((var(--oeosh-overlay) + 15) / 100)) 0%,
            rgba(0,0,0,calc(var(--oeosh-overlay) / 100)) 34%,
            rgba(0,0,0,calc(var(--oeosh-overlay) / 210)) 68%,
            rgba(0,0,0,.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,.38) 0%,
            rgba(0,0,0,.05) 55%,
            rgba(0,0,0,.16) 100%
        );
}
.oeosh-content-wrap{
    position:absolute;
    inset:0;
    z-index:3;
    display:flex;
    align-items:end;
    justify-content:flex-start;
    width:100%;
    padding:60px 70px;
}
.oeosh-content{
    width:100%;
    max-width:650px;
    opacity:0;
    transform:translateY(24px);
    transition:
        opacity 520ms ease 110ms,
        transform 650ms cubic-bezier(.2,.75,.2,1) 110ms;
}
.oeosh-slide.is-active .oeosh-content{
    opacity:1;
    transform:translateY(0);
}
.oeosh-eyebrow{
    margin:0 0 12px;
    font-size:13px;
    line-height:1.3;
    font-weight:700;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:#fff;
}
.oeosh-title{
    margin:0;
    font-size:clamp(40px,5.8vw,82px);
    line-height:1;
    font-weight:600;
    letter-spacing:-.03em;
    color:#fff;
    text-wrap:balance;
}
.oeosh-paragraph{
    margin-top:18px;
    max-width:56ch;
    font-size:17px;
    line-height:1.65;
    color:rgba(255,255,255,.90);
}
.oeosh-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:26px;
}
.oeosh-btn{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:13px 20px;
    text-decoration:none !important;
    border:1px solid rgba(255,255,255,.85);
    font-size:12px;
    line-height:1;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.oeosh-btn-primary{
    background:#fff;
    color:#111 !important;
}
.oeosh-btn-secondary{
    background:transparent;
    color:#fff !important;
}
.oeosh-btn:hover{
    transform:translateY(-2px);
}
.oeosh-btn-secondary:hover{
    background:#fff;
    color:#111 !important;
}
.oeosh-arrow{
    font-size:18px;
    transition:transform .25s ease;
}
.oeosh-btn:hover .oeosh-arrow{
    transform:translateX(4px);
}
.oeosh-dots{
    position:absolute;
    top:50%;
    right:16px;
    transform:translateY(-50%);
    z-index:6;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.oeosh-dot{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.42);
    cursor:pointer;
    transition:.25s ease;
}
.oeosh-dot.is-active{
    height:22px;
    background:#fff;
}
.oeosh-progress{
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:3px;
    z-index:6;
    background:rgba(255,255,255,.14);
}
.oeosh-progress-bar{
    display:block;
    width:0%;
    height:100%;
    background:#fff;
    transition:width 80ms linear;
}

/* Editor preview */
.elementor-editor-active .oeosh-editor-preview .oeosh-scroll-space{
    height:var(--oeosh-height);
}
.elementor-editor-active .oeosh-editor-preview .oeosh-slide{
    display:none;
}
.elementor-editor-active .oeosh-editor-preview .oeosh-slide:first-child{
    display:block;
    opacity:1;
    visibility:visible;
    transform:none;
}
.elementor-editor-active .oeosh-editor-preview .oeosh-slide:first-child .oeosh-content{
    opacity:1;
    transform:none;
}

/* Tablet */
@media(max-width:1024px){
    .oeosh-content-wrap{
        padding:38px 34px;
    }
    .oeosh-title{
        font-size:clamp(36px,6vw,64px);
    }
}

/* Mobile - text always on image, no separate black area */
@media(max-width:767px){
    .oeosh-story{
        --oeosh-height:76vh;
    }
    .oeosh-stage{
        min-height:460px;
    }
    .oeosh-overlay{
        background:
            linear-gradient(
                0deg,
                rgba(0,0,0,calc((var(--oeosh-overlay) + 28) / 100)) 0%,
                rgba(0,0,0,calc((var(--oeosh-overlay) + 12) / 100)) 28%,
                rgba(0,0,0,calc(var(--oeosh-overlay) / 220)) 60%,
                rgba(0,0,0,.08) 100%
            );
    }
    .oeosh-content-wrap{
        align-items:end;
        justify-content:flex-start;
        padding:22px 18px 24px;
    }
    .oeosh-content{
        max-width:100%;
    }
    .oeosh-eyebrow{
        margin-bottom:8px;
        font-size:10px;
        letter-spacing:.18em;
    }
    .oeosh-title{
        font-size:clamp(30px,10vw,46px);
        line-height:1.03;
    }
    .oeosh-paragraph{
        margin-top:10px;
        font-size:13.5px;
        line-height:1.48;
        max-width:34ch;
    }
    .oeosh-buttons{
        margin-top:16px;
        gap:8px;
    }
    .oeosh-btn{
        min-height:42px;
        padding:10px 13px;
        font-size:10.5px;
        letter-spacing:.06em;
    }
    .oeosh-dots{
        right:8px;
        gap:7px;
    }
    .oeosh-dot{
        width:7px;
        height:7px;
    }
    .oeosh-dot.is-active{
        height:18px;
    }
}
@media(max-width:380px){
    .oeosh-content-wrap{
        padding:18px 16px 20px;
    }
    .oeosh-title{
        font-size:28px;
    }
    .oeosh-paragraph{
        font-size:12.5px;
    }
    .oeosh-btn{
        min-height:40px;
        padding:9px 11px;
        font-size:10px;
    }
}
@media(prefers-reduced-motion:reduce){
    .oeosh-slide,
    .oeosh-image,
    .oeosh-content,
    .oeosh-btn,
    .oeosh-progress-bar{
        transition-duration:1ms !important;
        animation:none !important;
    }
}


/* =========================================================
   IMPORTANT: Elementor image reset override
   Elementor's global `.elementor img { height:auto; }` can make
   the photo occupy only its natural height and leave black space.
   These rules force every slide image to cover the ENTIRE hero.
   ========================================================= */
.elementor .oeosh-story .oeosh-stage .oeosh-slide > img.oeosh-image,
.oeosh-story .oeosh-stage .oeosh-slide > img.oeosh-image {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}

/* Text and buttons remain over the image; never create a separate content block */
.oeosh-story .oeosh-content-wrap {
    background: transparent !important;
}
.oeosh-story .oeosh-content {
    background: transparent !important;
}
.oeosh-story .oeosh-slide {
    background: transparent !important;
}
