.hero-title-lead,
.hero-title-rotator,
.hero-title-ending { display: block; }

.hero h1 { font-size: 53px; }

.hero-title-rotator {
    min-height: 1.08em;
    overflow: hidden;
    color: var(--red);
    font-size: 1em;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
}

.hero-title-rotator > span {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease;
}

.hero-title-rotator.is-changing > span {
    opacity: 0;
    transform: translateY(.16em);
}

.hero-title-ending { font-weight: 300; }

@media (min-width: 701px) {
    .hero-content {
        width: 42vw;
        max-width: none;
    }

    .hero-content > p { max-width: 38rem; }
}

@media (max-width: 1100px) {
    .hero-title-rotator {
        min-height: 2.16em;
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .hero h1 { font-size: clamp(33px, 9.35vw, 41px); }
    .hero-title-rotator { max-width: 7.2em; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-rotator > span { transition: none; }
}
