.home-cta-hero h1 {
    font-size: calc(1.3 * clamp(1.65em, 4vw, 2.063em));
    text-wrap: balance;
}

.content > .home-first-book-list {
    margin-top: 0;
}

@media (min-width: 768px) {
    .home-promo-section ~ .content > .home-first-book-list {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .home-cta-hero-background {
        background-image: url('/assets/images/home-hero-mobile.webp?v=3');
        background-position: 27% center;
        background-size: cover;
    }

    .home-cta-hero p {
        max-width: 25rem;
    }
}

@media (min-width: 992px) {
    .home-cta-hero > .container-standard {
        padding-block: clamp(3rem, 4.6vw, 4.25rem);
    }

    .home-cta-hero-background:not(:has(+ .home-promo-section)) .home-cta-hero > .container-standard {
        padding-bottom: 20px;
    }

    .home-cta-hero h1 {
        font-size: clamp(3rem, 4.1vw, 3.75rem);
        line-height: 1.08;
        letter-spacing: -0.025em;
    }

    .home-cta-hero p {
        font-size: 1.125em;
        line-height: 1.5;
    }
}

.home-cta-hero-words {
    display: grid;
    justify-items: start;
}

.home-cta-hero-words > span {
    grid-area: 1 / 1;
    opacity: 0;
}

.home-cta-hero-words > .is-current {
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .home-cta-hero-words > span {
        transform: translateY(0.15em);
        transition: opacity 240ms ease-out, transform 240ms ease-out;
    }

    .home-cta-hero-words > .is-current {
        transform: translateY(0);
    }
}

.home-cta-hero-link {
    text-decoration: none;
}

.home-cta-hero-link:is(:hover, :focus-visible) strong {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.home-cta-hero-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
