/* Home: scroll-scrubbed service sequence (main.js, 16b) */

.service__area.is-scrubbed .service__item {
    position: relative;
}

.service__area.is-scrubbed .service__img {
    transition: none;
    will-change: transform;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.service__area.is-scrubbed .service__img-wrapper > span {
    transition: none;
    transform: rotate(-26deg) translate(var(--tx, -175px), -100%);
}

.service__area.is-scrubbed .service__link p i {
    display: inline-block;
}

.service__area.is-scrubbed .service__link p:after {
    display: none;
}

.service__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
}

/* Home: hero scroll sequence (inline script in Views/Home/Index.cshtml) */

.hero__seq,
.hero__seq-scrim {
    display: none;
}

.hero__area.is-sequence {
    height: 100vh;
    background: #08080b url(../imgs/hero/seq-v3/001.webp) center / cover no-repeat;
}

.hero__area.is-sequence .hero1_bg {
    display: none !important;
}

/* The template dims the hero with an 80% black overlay; the sequence
   brings its own scrim instead. */
.hero__area.is-sequence::after {
    background: rgba(0, 0, 0, 0.12);
}

.hero__area.is-sequence .hero__seq {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Keeps the headline readable over the screens passing on the left */
.hero__area.is-sequence .hero__seq-scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(10, 10, 14, 0.82) 0%, rgba(10, 10, 14, 0.6) 34%, rgba(10, 10, 14, 0) 66%),
        linear-gradient(0deg, rgba(10, 10, 14, 0.55) 0%, rgba(10, 10, 14, 0) 28%);
}

.hero__area.is-sequence .hero__content {
    text-shadow: 0 1px 2px rgba(5, 5, 10, 0.9), 0 4px 18px rgba(5, 5, 10, 0.7);
}
