.ob-home-hero-slider {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: 0 !important;
    background: #171a18;
    color: #fff;
}

.ob-home-hero-slider + main > .section:first-of-type {
    background: linear-gradient(
        180deg,
        rgba(31, 32, 34, .94) 0,
        rgba(31, 32, 34, .82) 76px,
        rgba(31, 32, 34, .72) 180px
    ) !important;
}

.ob-home-hero-slides {
    display: grid;
}

.ob-home-hero-slide {
    position: relative;
    grid-area: 1 / 1;
    display: grid;
    min-height: clamp(540px, 68vh, 720px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s ease;
}

.ob-home-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ob-home-hero-media,
.ob-home-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ob-home-hero-media {
    object-fit: cover;
    object-position: center;
    transform: scale(1.025);
    transition: transform 7s ease;
}

.ob-home-hero-slide.is-active .ob-home-hero-media {
    transform: scale(1);
}

.ob-home-hero-shade {
    background:
        linear-gradient(
            180deg,
            rgba(31, 32, 34, 0) 54%,
            rgba(31, 32, 34, .24) 68%,
            rgba(31, 32, 34, .7) 88%,
            rgba(31, 32, 34, .94) 100%
        ),
        linear-gradient(90deg, rgba(16, 18, 17, .92) 0%, rgba(19, 21, 20, .78) 43%, rgba(18, 20, 19, .24) 78%),
        linear-gradient(0deg, rgba(13, 15, 14, .45), transparent 52%);
}

.ob-home-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: min(100% - 42px, 1160px);
    padding-top: 76px;
    padding-bottom: 88px;
}

.ob-home-hero-copy {
    max-width: 760px;
}

.ob-home-hero-slogan {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 9px 13px;
    border: 1px solid rgba(215, 230, 196, .24);
    border-radius: 999px;
    background: rgba(25, 31, 26, .58);
    color: #d7e6c4;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    backdrop-filter: blur(12px);
}

.ob-home-hero-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: rgba(236, 243, 232, .66);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ob-home-hero-title {
    max-width: 820px;
    color: #fff;
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
    text-wrap: balance;
    text-shadow: 0 4px 26px rgba(0, 0, 0, .28);
}

.ob-home-hero-description {
    max-width: 710px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .74);
    font-size: 18px;
    line-height: 1.65;
    text-wrap: pretty;
}

.ob-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ob-home-hero-actions .btn-ghost {
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(19, 23, 20, .52);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.ob-home-hero-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(16, 20, 17, .6);
    color: #fff;
    font: 300 35px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .18s ease, transform .18s ease;
    backdrop-filter: blur(12px);
}

.ob-home-hero-arrow:hover,
.ob-home-hero-arrow:focus-visible {
    background: rgba(35, 48, 38, .9);
    transform: translateY(-50%) scale(1.04);
}

.ob-home-hero-arrow.is-prev { left: max(18px, calc((100vw - 1320px) / 2)); }
.ob-home-hero-arrow.is-next { right: max(18px, calc((100vw - 1320px) / 2)); }

.ob-home-hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 28px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.ob-home-hero-dot {
    width: 9px;
    height: 9px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.ob-home-hero-dot.is-active {
    width: 28px;
    background: #d7e6c4;
}

@media (max-width: 900px) {
    .ob-home-hero-slide { min-height: 620px; }
    .ob-home-hero-container { padding: 66px 58px 82px; }
    .ob-home-hero-title { font-size: clamp(42px, 8vw, 64px); }
}

@media (max-width: 640px) {
    .ob-home-hero-slide { min-height: 570px; }
    .ob-home-hero-container {
        width: min(100% - 28px, 1160px);
        align-items: flex-end;
        padding: 54px 0 78px;
    }
    .ob-home-hero-shade {
        background:
            linear-gradient(
                180deg,
                rgba(31, 32, 34, 0) 58%,
                rgba(31, 32, 34, .7) 88%,
                rgba(31, 32, 34, .94) 100%
            ),
            linear-gradient(0deg, rgba(13, 15, 14, .95) 0%, rgba(16, 18, 17, .72) 61%, rgba(18, 20, 19, .3) 100%);
    }
    .ob-home-hero-title {
        font-size: clamp(37px, 11.5vw, 52px);
        line-height: 1;
    }
    .ob-home-hero-description {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.55;
    }
    .ob-home-hero-slogan {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .ob-home-hero-eyebrow { margin-bottom: 12px; }
    .ob-home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }
    .ob-home-hero-actions .btn { width: 100%; }
    .ob-home-hero-arrow {
        top: auto;
        bottom: 20px;
        width: 42px;
        height: 42px;
        font-size: 28px;
        transform: none;
    }
    .ob-home-hero-arrow:hover,
    .ob-home-hero-arrow:focus-visible { transform: scale(1.04); }
    .ob-home-hero-arrow.is-prev { left: 14px; }
    .ob-home-hero-arrow.is-next { right: 14px; }
    .ob-home-hero-dots { bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .ob-home-hero-slide,
    .ob-home-hero-media,
    .ob-home-hero-dot { transition: none; }
}
