/* Homepage hero carousel only. Other sections intentionally remain untouched. */
.og-luxury-v2 .og-hero-slider {
    --og-hero-control-height: 76px;
    --og-hero-stage-height: clamp(640px, 50vw, 887px);
    position: relative;
    display: block;
    min-height: calc(var(--og-hero-stage-height) + var(--og-hero-control-height));
    overflow: hidden;
    isolation: isolate;
    background: #032d21;
    touch-action: pan-y;
}

.og-luxury-v2 .og-hero-slider::before,
.og-luxury-v2 .og-hero-slider::after {
    z-index: 3;
    pointer-events: none;
}

.og-hero-track {
    position: absolute;
    inset: 0 0 var(--og-hero-control-height);
    z-index: 1;
    overflow: hidden;
}

.og-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    background-image:
        linear-gradient(90deg, rgba(1, 25, 18, .97) 0%, rgba(3, 45, 31, .91) 29%, rgba(4, 49, 34, .48) 52%, rgba(2, 30, 21, .10) 76%),
        linear-gradient(0deg, rgba(1, 24, 17, .60), transparent 45%),
        var(--og-slide-image);
    background-position: center, center, center;
    background-size: 100% 100%, 100% 100%, contain;
    background-repeat: no-repeat;
    transition:
        transform .82s cubic-bezier(.22, .61, .36, 1),
        opacity .48s ease,
        visibility 0s linear .82s;
    will-change: transform, opacity;
}

.og-hero-slide.is-before {
    transform: translate3d(-100%, 0, 0);
}

.og-hero-slide.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
}

.og-hero-slide.is-moving {
    visibility: visible;
    opacity: 1;
}

.og-hero-mobile-media {
    display: none;
}

.og-hero-slider .og-hero-content {
    position: relative;
    z-index: 2;
    min-height: var(--og-hero-stage-height);
}

.og-hero-slider .og-hero-rail,
.og-hero-slider .og-hero-seal,
.og-hero-slider .og-scroll-cue {
    z-index: 5;
}

.og-hero-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
    display: flex;
    height: var(--og-hero-control-height);
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-top: 1px solid rgba(225, 194, 124, .24);
    background: linear-gradient(90deg, #032d21, #07513a 50%, #032d21);
    box-shadow: 0 -12px 35px rgba(1, 25, 18, .18);
    pointer-events: none;
}

.og-hero-arrow {
    position: relative;
    top: auto;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: #fff;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(3, 42, 30, .52);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .20);
    backdrop-filter: blur(12px);
    cursor: pointer;
    pointer-events: auto;
    transform: none;
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.og-hero-arrow:hover,
.og-hero-arrow:focus-visible {
    color: #153728;
    border-color: #ead18d;
    background: #ead18d;
    transform: scale(1.06);
}

.og-hero-arrow:focus-visible,
.og-hero-dots button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .92);
    outline-offset: 4px;
}

.og-hero-arrow-prev {
    left: auto;
}

.og-hero-arrow-next {
    right: auto;
}

.og-hero-dots {
    position: relative;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(2, 34, 24, .42);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .13);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    transform: none;
}

.og-hero-dots button {
    position: relative;
    width: 9px;
    height: 9px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
    cursor: pointer;
    transition: width .28s ease, border-color .28s ease, background .28s ease;
}

.og-hero-dots button.is-active {
    width: 34px;
    border-color: #e3c36e;
    background: #e3c36e;
}

@media (max-width: 1100px) {
    .og-hero-arrow {
        top: auto;
        bottom: auto;
        width: 46px;
        height: 46px;
        transform: none;
    }

    .og-hero-arrow:hover,
    .og-hero-arrow:focus-visible {
        transform: scale(1.05);
    }

    .og-hero-arrow-prev {
        left: auto;
    }

    .og-hero-arrow-next {
        right: auto;
    }
}

@media (max-width: 900px) {
    .og-hero-slide {
        background-image:
            linear-gradient(90deg, rgba(2, 31, 22, .96), rgba(4, 52, 36, .78) 52%, rgba(2, 30, 21, .24)),
            linear-gradient(0deg, rgba(1, 24, 17, .68), transparent 48%),
            var(--og-slide-image);
        background-position: center, center, center;
        background-size: 100% 100%, 100% 100%, contain;
    }

    .og-hero-dots {
        bottom: auto;
    }
}

@media (max-width: 640px) {
    .og-luxury-v2 .og-hero-slider {
        --og-hero-control-height: 68px;
        --og-hero-stage-height: calc(72px + min(150vw, 720px));
        min-height: calc(var(--og-hero-stage-height) + var(--og-hero-control-height));
    }

    .og-hero-slide {
        display: block;
        background: #032d21;
    }

    .og-hero-slide::after {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        z-index: 2;
        width: min(100%, 480px);
        height: min(96vw, 460px);
        margin-inline: auto;
        content: "";
        pointer-events: none;
        background: linear-gradient(180deg, rgba(2, 31, 22, .82) 0%, rgba(2, 31, 22, .48) 45%, transparent 100%);
    }

    .og-hero-mobile-media {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        z-index: 1;
        display: block;
        width: min(100%, 480px);
        margin-inline: auto;
        overflow: hidden;
        background: #032d21;
    }

    .og-hero-mobile-media img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 2 / 3;
        object-fit: contain;
        background: #032d21;
    }

    .og-hero-slider .og-hero-content {
        position: absolute;
        top: 92px;
        right: 20px;
        left: 20px;
        z-index: 4;
        width: auto;
        min-height: 0;
        margin: 0 auto;
        padding: 0;
        pointer-events: none;
    }

    .og-hero-slider .og-hero-content a,
    .og-hero-slider .og-hero-content button {
        pointer-events: auto;
    }

    .og-hero-slider .og-hero h1,
    .og-hero-slider h1 {
        max-width: 350px;
        margin-top: 12px;
        font-size: clamp(38px, 11.2vw, 50px);
        line-height: .9;
        text-shadow: 0 5px 24px rgba(0, 0, 0, .46);
    }

    .og-hero-slider .og-hero-description {
        display: none;
    }

    .og-hero-slider .og-luxury-eyebrow {
        gap: 10px;
        text-shadow: 0 3px 12px rgba(0, 0, 0, .5);
    }

    .og-hero-slider .og-luxury-eyebrow > span {
        width: 26px;
    }

    .og-hero-slider .og-hero-actions {
        display: flex;
        flex-wrap: wrap;
        margin-top: 20px;
        gap: 10px;
    }

    .og-hero-slider .og-hero-actions .og-button-outline {
        display: none;
    }

    .og-hero-slider .og-hero .og-button {
        min-width: 0;
        min-height: 42px;
        padding: 10px 14px;
        font-size: 10px;
    }

    .og-hero-slider .og-hero-benefits {
        display: none;
    }

    .og-hero-arrow {
        top: auto;
        bottom: auto;
        width: 42px;
        height: 42px;
        font-size: 15px;
        border-color: rgba(255, 255, 255, .62);
        background: rgba(2, 31, 22, .5);
        transform: none;
    }

    .og-hero-arrow-prev {
        left: auto;
    }

    .og-hero-arrow-next {
        right: auto;
    }

    .og-hero-dots {
        top: auto;
        bottom: auto;
        gap: 8px;
        padding: 7px 10px;
    }

    .og-hero-slider .og-scroll-cue {
        display: none;
    }
}

@media (max-width: 420px) {
    .og-hero-dots button.is-active {
        width: 27px;
    }
}

@media (max-width: 360px) {
    .og-hero-slider .og-hero-content {
        top: 86px;
        right: 16px;
        left: 16px;
    }

    .og-hero-slider .og-hero h1,
    .og-hero-slider h1 {
        font-size: 36px;
    }

    .og-hero-arrow {
        width: 38px;
        height: 38px;
    }

    .og-hero-arrow-prev {
        left: auto;
    }

    .og-hero-arrow-next {
        right: auto;
    }
}

@media (hover: none) and (pointer: coarse) {
    .og-hero-arrow:hover {
        color: #fff;
        border-color: rgba(255, 255, 255, .35);
        background: rgba(3, 42, 30, .52);
        transform: none;
    }
}

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