/* One-time entrances. The resting layout and image framing remain in the theme. */
.cc-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--cc-motion-delay, 0ms);
}

.cc-reveal--media {
    transition-duration: 1000ms;
}

.cc-reveal.is-pending {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: none;
}

.cc-reveal--media.is-pending {
    transform: translate3d(0, 10px, 0) scale(1.025);
}

.cc-reveal.is-playing {
    will-change: opacity, transform;
}

.cc-reveal:focus-within {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.cc-hero-slide .cc-hero-eyebrow,
.cc-hero-slide .cc-hero-title,
.cc-hero-slide .cc-hero-tagline,
.cc-hero-slide .cc-hero-subcopy,
.cc-hero-slide .cc-hero-actions {
    transform: translate3d(0, 16px, 0);
}

.cc-hero-slide.is-active .cc-hero-eyebrow,
.cc-hero-slide.is-active .cc-hero-title,
.cc-hero-slide.is-active .cc-hero-tagline,
.cc-hero-slide.is-active .cc-hero-subcopy,
.cc-hero-slide.is-active .cc-hero-actions {
    animation-name: ccHeroReveal;
    animation-duration: 800ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.cc-hero-slide.is-active .cc-hero-eyebrow { animation-delay: 0ms; }
.cc-hero-slide.is-active .cc-hero-title { animation-delay: 70ms; }
.cc-hero-slide.is-active .cc-hero-tagline { animation-delay: 140ms; }
.cc-hero-slide.is-active .cc-hero-subcopy { animation-delay: 200ms; }
.cc-hero-slide.is-active .cc-hero-actions { animation-delay: 260ms; }

@keyframes ccHeroReveal {
    from { opacity: 0; transform: translate3d(0, 16px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 767px) {
    .cc-reveal {
        transition-duration: 600ms;
        transition-delay: 0ms;
    }

    .cc-reveal--media {
        transition-duration: 800ms;
    }

    .cc-reveal.is-pending {
        transform: translate3d(0, 12px, 0);
    }

    .cc-reveal--media.is-pending {
        transform: translate3d(0, 8px, 0) scale(1.015);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    .cc-hero-slide.is-active .cc-hero-eyebrow,
    .cc-hero-slide.is-active .cc-hero-title,
    .cc-hero-slide.is-active .cc-hero-tagline,
    .cc-hero-slide.is-active .cc-hero-subcopy,
    .cc-hero-slide.is-active .cc-hero-actions {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .cc-hero-slide,
    .cc-hero-products-track {
        transition: none;
    }
}

@media print {
    .cc-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
