.home-hero {
    position: relative;
    height: clamp(600px, 80svh, 900px);
    background: #122b3b;
    overflow: hidden;
    isolation: isolate;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.home-hero-slide[hidden],
.home-hero-controls[hidden] {
    display: none;
}

.home-hero .home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-position, 50%) center;
    z-index: -2;
}

.home-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(9, 27, 42, .08) 15%, rgba(9, 27, 42, .2) 40%, rgba(9, 27, 42, .8) 75%, #0c2436 100%);
}

.home-hero-content {
    width: min(100%, 760px);
    padding: 40px 24px 68px;
    text-align: center;
    color: #fff;
}

.home-hero-eyebrow {
    margin: 0 0 16px;
    color: #f4bd82;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-hero-title {
    margin: 0 auto 18px;
    max-width: 650px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 3.6vw, 56px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.12;
    text-wrap: balance;
}

.home-hero-description {
    max-width: 550px;
    margin: 0 auto 28px;
    color: #f2f5f7;
    font-size: 17px;
    line-height: 1.55;
    text-wrap: balance;
}

.home-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 32px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: #27477d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.4;
    text-transform: uppercase;
    transition: background .2s ease;
}

.home-hero-cta:hover {
    background: #365f9f;
    color: #fff;
}

.home-hero-controls {
    position: absolute;
    bottom: 8px;
    left: 50%;
    display: flex;
    align-items: center;
    transform: translateX(-50%);
}

.home-hero-dots {
    display: flex;
}

.home-hero-dot,
.home-hero-pause {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.home-hero-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
}

.home-hero-dot[aria-pressed="true"]::before {
    background: #07ccec;
}

.home-hero :focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .home-page .floating-contact {
        bottom: 18px;
        right: 12px;
        flex-direction: row;
        gap: 8px;
    }

    .home-page .float-btn {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .home-hero-controls {
        left: 12px;
        transform: none;
    }

    .home-hero-dot,
    .home-hero-pause {
        width: 32px;
    }

    .home-hero {
        height: 82svh;
        min-height: 600px;
        max-height: 950px;
    }

    .home-hero-content {
        padding: 32px 22px 72px;
    }

    .home-hero-title {
        font-size: clamp(32px, 8vw, 40px);
    }

    .home-hero-eyebrow {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .home-hero-description {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .home-hero-cta {
        max-width: 100%;
        padding: 15px 24px;
        font-size: 13px;
    }
}

.home-hero-featured::after {
    background: linear-gradient(90deg, rgba(10, 28, 12, .78), rgba(10, 28, 12, .35) 42%, transparent 68%);
}

.home-hero-featured-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 54px 6% 70px;
    color: #fff;
}

.home-hero-featured-title {
    max-width: 620px;
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--body-font);
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 700;
    line-height: 1.16;
    text-transform: uppercase;
}

.home-hero-featured-subtitle {
    margin: 0;
    color: #fff;
    font-size: clamp(16px, 1.5vw, 22px);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.home-hero-featured-story {
    max-width: 420px;
    margin-top: auto;
}

.home-hero-featured-story p {
    margin: 0 0 14px;
    color: #fff;
    font-size: 19px;
    line-height: 1.5;
}

.home-hero-featured-story strong {
    display: block;
    font-size: 30px;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-hero .home-hero-featured-content h1,
.home-hero .home-hero-featured-content p,
.home-hero .home-hero-featured-content strong,
.home-hero .home-hero-featured-content span {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.home-hero-featured .home-hero-cta {
    min-width: 180px;
    margin-top: 8px;
    border-radius: 14px;
    background: #183d27;
    color: #fff;
    font-size: 18px;
    text-transform: none;
}

.home-hero-featured .home-hero-cta:hover {
    background: #245638;
    color: #fff;
}

@media (max-width: 767px) {
    .home-hero.has-featured-slide {
        height: calc(100svh - 130px);
        min-height: 640px;
        max-height: none;
    }

    .home-hero-featured::after {
        background: linear-gradient(180deg, rgba(8, 25, 10, .55), transparent 35%, rgba(8, 25, 10, .25) 48%, rgba(8, 25, 10, .85) 68%, rgba(8, 25, 10, .8));
    }

    .home-hero-featured-content {
        padding: 26px 26px 100px;
    }

    .home-hero-featured-title {
        max-width: 510px;
        font-size: clamp(25px, 6.4vw, 38px);
        margin-bottom: 12px;
    }

    .home-hero-featured-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .home-hero-featured-story {
        max-width: 380px;
    }

    .home-hero-featured-story p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .home-hero-featured-story strong {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-cta {
        transition: none;
    }
}
