.embroidery-scroll {
    --em-header: var(--brandeduk-site-header-height, 220px);
    --em-view: calc(100vh - var(--em-header));
    position: relative;
    height: 450vh;
    background: #fff;
    color: #1d2f46;
}

.embroidery-sticky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: var(--em-view);
    overflow: hidden;
    background: #1a2433;
}

.embroidery-sticky.is-fixed {
    position: fixed;
    top: var(--em-header);
}

.embroidery-sticky.is-after {
    top: auto;
    bottom: 0;
}

#embroideryVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: contain;
    object-position: 72% center;
}

.embroidery-scroll .stage-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    transform: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    width: min(34vw, 380px);
    max-width: none;
    box-sizing: border-box;
    padding: 2.4rem 2.2rem 2.4rem 2.6rem;
    background: linear-gradient(90deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .5) 68%, transparent);
    pointer-events: none;
}

.embroidery-scroll .stage-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(255, 255, 255, .62);
    text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}

.embroidery-scroll .stage-item.is-active {
    color: #fff;
}

.embroidery-scroll .stage-label span {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.embroidery-scroll .stage-label strong {
    font-size: clamp(17px, 1.7vw, 24px);
    font-weight: 600;
    line-height: 1.15;
}

.embroidery-scroll .stage-item.is-active strong {
    font-weight: 800;
}

.embroidery-scroll .stage-label small {
    font-size: clamp(13px, 1.1vw, 17px);
}

.embroidery-scroll .progress {
    position: absolute;
    right: 3vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    height: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    pointer-events: none;
}

.embroidery-scroll .progress-bar {
    width: 4px;
    flex: 1;
    background: rgba(0, 0, 0, 0.12);
    position: relative;
    border-radius: 99px;
    overflow: hidden;
}

.embroidery-scroll .progress-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0;
    background: #1d2f46;
}

.embroidery-scroll #progressValue {
    font-size: 14px;
}

@media (max-width: 850px) {
    #embroideryVideo {
        object-fit: cover;
        object-position: center 32%;
    }

    .embroidery-scroll .stage-label {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: auto;
        justify-content: flex-end;
        padding: 2.6rem 1.4rem 1.35rem;
        background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, .9) 48%);
        gap: 0.45rem;
    }

    .embroidery-scroll .stage-label strong {
        font-size: 15px;
    }

    .embroidery-scroll .stage-label small {
        display: none;
    }

    .embroidery-scroll .progress {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .embroidery-scroll {
        height: auto;
    }

    .embroidery-sticky,
    .embroidery-sticky.is-fixed,
    .embroidery-sticky.is-after {
        position: relative;
        top: 0;
        height: auto;
        min-height: var(--em-view);
        padding: 2rem 0;
    }
}
