.hero {
    position: relative;
    height: 680px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
}
.hero-slide > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}
.hero-content > div {
    max-width: 480px;
}
.hero h1 {
    font-size: 54px;
    line-height: 1.12;
    margin-bottom: 24px;
}
.hero p {
    margin-bottom: 28px;
}
.hero-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-dots, .hero-arrows {
    display: flex;
    gap: 12px;
}
.hero-dots button {
    width: 42px;
    height: 22px;
    border: 0;
    border-bottom: 3px solid #7699a6;
}
.hero-dots [aria-pressed="true"] {
    border-color: #1557aa;
}
.quick-search {
    padding-block: 30px;
}
.story-row {
    display: flex;
    gap: 70px;
    align-items: center;
    padding-block: 60px;
}
.story-row > img {
    width: 50%;
}
.story-copy {
    flex: 1;
    min-width: 0;
}
.alternate .story-row {
    flex-direction: row-reverse;
}
.story-copy h2, .home-cta h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
}
.home-cta {
    padding-block: 60px;
}
.home-cta .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
@media (max-width: 700px) {
    .hero {
        height: 670px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-slide > img {
        object-position: 58% center;
    }
    .hero-content > div {
        max-width: 310px;
    }
    .quick-search .search-form {
        flex-wrap: wrap;
    }
    .quick-search label {
        width: 100%;
    }
    .story-row, .alternate .story-row {
        flex-direction: column;
        gap: 30px;
    }
    .story-row > img {
        width: 100%;
    }
    .home-cta .shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

.hero {
    background: #c4dfe1;
}
.hero h1 {
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 600;
    max-width: 470px;
}
.hero-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #173859;
    max-width: 420px;
}
.hero-slide {
    transition: opacity .55s ease, visibility .55s;
}
.hero-controls {
    z-index: 3;
}
.hero-arrows .icon-button {
    background: #f5f4efed;
    border: 1px solid #91aab6;
}
.hero-arrows .icon-button:not(:disabled):hover {
    background: #1557aa;
    border-color: #1557aa;
    color: #fff;
}
.hero-content .button {
    padding: 15px 24px;
}
.quick-search {
    padding-block: 36px;
    border-bottom: 1px solid #c4d1df;
}
.quick-search label {
    font-size: 19px;
    font-weight: 600;
    margin-right: 12px;
}
.home-story {
    background: #f5f4ef;
}
.home-story.alternate {
    background: #e7f1ef;
}
.story-row {
    padding-block: 80px;
    gap: 80px;
}
.story-row > img {
    width: 50%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.story-copy h2, .home-cta h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.18;
}
.story-copy p, .home-cta p {
    font-size: 16px;
    line-height: 1.85;
}
.home-cta {
    padding-block: 76px;
    background: #efe8dc;
}
.home-cta .button {
    flex-shrink: 0;
    padding: 17px 28px;
}
.home-cta h2 {
    margin-bottom: 14px;
}
body:has(.hero) .site-footer {
    margin-top: 0;
}
@media (max-width: 1000px) {
    .hero-content > div {
        max-width: 410px;
    }
    .hero-slide > img {
        object-position: 45% center;
    }
    .story-row {
        gap: 40px;
        padding-block: 55px;
    }
}
@media (max-width: 700px) {
    .hero {
        height: 760px;
    }
    .hero-slide > img {
        top: auto;
        bottom: 0;
        height: 44%;
        object-position: right center;
    }
    .hero-content {
        height: 56%;
    }
    .hero-content > div {
        max-width: 100%;
    }
    .hero h1 {
        max-width: 340px;
        font-size: clamp(34px, 8vw, 42px);
        margin-bottom: 18px;
    }
    .hero-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 22px;
    }
    .hero-controls {
        bottom: 20px;
    }
    .hero-dots button {
        border-color: #edf3f1;
        width: 25px;
    }
    .hero-dots [aria-pressed="true"] {
        border-color: #1557aa;
    }
    .hero-arrows {
        gap: 7px;
    }
    .hero-arrows .icon-button {
        width: 36px;
        height: 36px;
    }
    .story-row > img {
        width: 100%;
    }
    .home-cta {
        padding-block: 50px;
    }
}
