.hero-focus {
    position: relative;
}

.hero-scroll-gradient {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, .46) 64%,
        rgba(255, 255, 255, .96) 100%
    );
}

.hero-scroll-cue {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 20px;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: rgba(55, 65, 81, .72);
    pointer-events: none;
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
    transition: opacity 320ms ease, transform 320ms ease;
    will-change: opacity, transform;
}

.hero-scroll-cue.is-hidden {
    opacity: 0;
    transform: translate3d(-50%, 10px, 0);
}

.hero-scroll-mouse {
    position: relative;
    width: 22px;
    height: 34px;
    display: block;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(255, 255, 255, .7);
}

.hero-scroll-dot {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    transform: translate3d(-50%, 0, 0);
    animation: hero-scroll-dot 2s ease-in-out infinite;
    will-change: opacity, transform;
}

.hero-scroll-label {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@keyframes hero-scroll-dot {
    0% {
        opacity: .35;
        transform: translate3d(-50%, 0, 0);
    }
    35% {
        opacity: 1;
    }
    75% {
        opacity: .2;
        transform: translate3d(-50%, 13px, 0);
    }
    100% {
        opacity: .35;
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 900px) {
    .hero-scroll-gradient {
        height: 105px;
    }

    .hero-scroll-cue {
        bottom: 18px;
        transform: translate3d(-50%, 0, 0) scale(.92);
        transform-origin: bottom center;
    }

    .hero-scroll-cue.is-hidden {
        transform: translate3d(-50%, 9px, 0) scale(.92);
    }
}

@media (max-width: 520px) {
    .hero-scroll-gradient {
        height: 100px;
    }

    .hero-scroll-cue {
        bottom: 16px;
        transform: translate3d(-50%, 0, 0) scale(.82);
    }

    .hero-scroll-cue.is-hidden {
        transform: translate3d(-50%, 8px, 0) scale(.82);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-dot {
        animation: none;
        opacity: .7;
    }

    .hero-scroll-cue {
        transition-duration: .01ms;
    }
}
