.home-section-2 {
    padding: 128px 0;
    overflow: hidden;
    background-color: var(--maroon-950, #250C17);
}

/* Animated text wrapper clips the moving carousel text. */
.home-animated {
    margin-bottom: 184px;
    overflow: hidden;
}

.home-animated-text {
    font-family: Erode;
    font-size: 333.137px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%; /* 399.764px */
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

/* The repeated track keeps each text row moving without a visible gap. */
.home-animated-track {
    display: flex;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* Each copy keeps enough spacing before the repeated text returns. */
.home-animated-track span {
    display: block;
    flex: 0 0 auto;
    padding-right: 80px;
    line-height: 120%;
}

/* Interior Design sits on the line below Architecture. */
.home_animated-bottom {
    margin-top: -80px;
}

/* Top carousel moves from right to left. */
.home_animated-top .home-animated-track {
    animation: homeTextCarouselLeft 24s linear infinite;
}

/* Bottom carousel moves from left to right. */
.home_animated-bottom .home-animated-track {
    animation: homeTextCarouselRight 24s linear infinite;
}

.home-section-2-blockquote {
    margin-bottom: 80px;
    font-weight: 300;
}

.home-section-2-heading {
    max-width: 952px;
    display: flex;
    align-self: flex-end;
    justify-self: flex-end;
    font-weight: 300;
    width: 80%;
}

/* Moves the top text row right-to-left. */
@keyframes homeTextCarouselLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Moves the bottom text row left-to-right. */
@keyframes homeTextCarouselRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .home-section-2 {
        padding: 64px 0;
    }
    .home-animated {
        margin-bottom: 64px;
    }
    .home-animated-text {
        font-size: 180px;
    }
    .home_animated-bottom {
        margin-top: -50px;
    }
    .home-animated-track span {
        padding-right: 20px;
    }    
}
@media (max-width: 767px) {
    .home_animated-bottom {
        margin-top: -25px;
    }
    .home-animated-text {
        font-size: 80px;
    }
    .home-section-2-heading {
        width: 100%;
    }
    .home-section-2-blockquote {
        margin-bottom: 24px;
    }
    .home-section-2-heading {
        margin-bottom: 0;
    }
}