.home #main {
    overflow-x: clip;
}
.home .site-header {
    border-bottom: 0;
}
.hero-carousel,
.home #main > .hero {
    position: relative;
    isolation: isolate;
}
.hero-carousel::before,
.home #main > .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: 0;
    inset-inline: calc((100% - 100vw) / 2);
    pointer-events: none;
    background-image: url("hero-damask-sage.webp");
    background-size: 640px auto;
    background-position: center top;
    background-repeat: repeat;
    opacity: 0.08;
}
.hero-carousel::after,
.home #main > .hero::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline: calc((100% - 100vw) / 2);
    border-block: 1px solid var(--line);
    pointer-events: none;
}
.hero-carousel {
    padding-block: 64px 52px;
}
.hero-carousel .hero-slide {
    padding: 0;
}
.hero-carousel [hidden] {
    display: none !important;
}
.hero-carousel.is-ready .hero-slides {
    display: grid;
}
.hero-carousel.is-ready .hero-slide {
    grid-area: 1 / 1;
}
.hero-carousel.is-ready .hero-slide[hidden] {
    display: grid !important;
    visibility: hidden;
    pointer-events: none;
}
.hero-carousel .hero-title {
    font-size: clamp(42px, 4.5vw, 66px);
    margin-bottom: 27px;
}
.hero-carousel .hero-copy {
    min-width: 0;
}
.hero-carousel .hero-description {
    max-width: 460px;
    font-size: 17px;
    line-height: 1.8;
}
.hero-carousel .hero-copy .button-primary {
    min-height: 48px;
    padding-block: 13px;
    font-size: 15px;
    font-weight: 500;
}
.hero-carousel .hero-copy h1,
.hero-carousel .hero-title {
    overflow-wrap: anywhere;
}
.hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}
.hero-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 32px;
    padding: 6px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}
.hero-controls button:hover {
    color: var(--green);
}
.hero-dots {
    display: flex;
    gap: 0;
}
.hero-dot span {
    display: none;
}
.hero-dot::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c4c9c2;
}
.hero-dot[aria-current="true"]::before {
    background: var(--green);
}
@media (max-width: 1000px) {
    .hero-carousel {
        padding-block: 45px 35px;
    }
}
@media (max-width: 700px) {
    .hero-carousel {
        padding-block: 35px 32px;
    }
    .hero-carousel .hero-title {
        font-size: 47px;
    }
    .hero-carousel .hero-description {
        font-size: 16px;
    }
    .hero-controls {
        flex-wrap: wrap;
        gap: 4px;
    }
}
