/**
 * WS Booster - Image Sequence Scrub
 */
.ws-iseq {
    position: relative;
    width: 100%;
}

.ws-iseq__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.ws-iseq__canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.ws-iseq__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Captions */
.ws-iseq__captions {
    position: absolute;
    z-index: 4;
    padding: 40px 8%;
    box-sizing: border-box;
    pointer-events: none;
    max-width: 720px;
}

.ws-iseq__captions--top-left      { top: 0; left: 0; }
.ws-iseq__captions--top-center    { top: 0; left: 50%; transform: translateX(-50%); text-align: center; }
.ws-iseq__captions--top-right     { top: 0; right: 0; text-align: right; }
.ws-iseq__captions--middle-left   { top: 50%; left: 0; transform: translateY(-50%); }
.ws-iseq__captions--middle-center { top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.ws-iseq__captions--middle-right  { top: 50%; right: 0; transform: translateY(-50%); text-align: right; }
.ws-iseq__captions--bottom-left   { bottom: 0; left: 0; }
.ws-iseq__captions--bottom-center { bottom: 0; left: 50%; transform: translateX(-50%); text-align: center; }
.ws-iseq__captions--bottom-right  { bottom: 0; right: 0; text-align: right; }

.ws-iseq__caption {
    position: absolute;
    inset: 40px 8%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.ws-iseq__captions--top-center .ws-iseq__caption,
.ws-iseq__captions--middle-center .ws-iseq__caption,
.ws-iseq__captions--bottom-center .ws-iseq__caption {
    inset: 40px 0;
}

.ws-iseq__caption.is-active {
    opacity: 1;
    transform: translateY(0);
}

.ws-iseq__caption-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    color: #ef3340;
    font-weight: 600;
}

.ws-iseq__caption-title {
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.05;
    margin: 0 0 12px;
    color: #fff;
    font-weight: 700;
}

.ws-iseq__caption-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255,255,255,0.85);
    max-width: 480px;
}

.ws-iseq__captions--top-center .ws-iseq__caption-text,
.ws-iseq__captions--middle-center .ws-iseq__caption-text,
.ws-iseq__captions--bottom-center .ws-iseq__caption-text {
    margin-left: auto;
    margin-right: auto;
}

/* Loader */
.ws-iseq__loader {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(240px, 40vw);
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.ws-iseq__loader.is-done {
    opacity: 0;
}

.ws-iseq__loader-bar {
    height: 100%;
    width: 0%;
    background: #ef3340;
    border-radius: 999px;
    transition: width 0.2s linear;
}
