.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #17304c;
    color: var(--white);
}

.home-hero__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #17304c 0%, rgb(23 48 76 / 78%) 25%, transparent 64%);
}

.home-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    min-height: 594px;
    padding-block: 60px 50px;
}

.home-hero__copy { max-width: 675px; }
.home-hero .text-display { text-shadow: 0 3px 14px rgb(0 0 0 / 16%); }
.home-hero__copy p { margin-top: 16px; }
.home-hero .home-actions { margin-top: 32px; }

.home-hero__metrics { display: flex; flex: 0 0 auto; text-align: center; }
.home-hero__metrics div { display: flex; flex-direction: column-reverse; gap: 8px; padding-inline: clamp(14px, 2vw, 32px); }
.home-hero__metrics div + div { border-inline-start: 1px solid rgb(255 255 255 / 55%); }
.home-hero__metrics div:first-child { padding-inline-start: 0; }
.home-hero__metrics div:last-child { padding-inline-end: 0; }
.home-hero__metrics dd { font-size: 1.5rem; font-weight: 600; line-height: 1.28; }

@media (max-width: 1190px) {
    .home-hero__inner { align-items: flex-start; flex-direction: column; justify-content: flex-end; }
}

@media (max-width: 768px) {
    .home-hero__image {
        inset: -267px auto auto -164.86%;
        width: 288.86%;
        max-width: none;
        height: 581px;
    }

    .home-hero::before { background: linear-gradient(180deg, transparent 10%, #17304c 338px); }
    .home-hero__inner { display: block; min-height: 0; padding-block: 226px 30px; }
    .home-hero .text-display { font-size: clamp(2.65rem, 16.6vw, var(--font-size-display)); }
    .home-hero__copy p { max-width: 40ch; margin-top: 8px; font-size: 0.875rem; }
    .home-hero .home-actions { margin-top: 16px; }

    .home-hero__metrics { flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 24px; font-size: 0.75rem; }
    .home-hero__metrics div { flex-direction: row-reverse; align-items: baseline; gap: 8px; padding: 0; }
    .home-hero__metrics div + div { border: 0; }
    .home-hero__metric--rating { order: -1; }
    .home-hero__metrics dd { font-size: 0.8125rem; }
}
