/**
 * DTC luxury hero carousel — full-bleed, fade transitions, editorial overlay
 */

.hero-section--dtc-carousel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-section--dtc-carousel .hero-top--dtc {
    position: relative;
    width: 100%;
    min-height: clamp(520px, calc(100svh - 120px), 920px);
    max-height: min(96svh, 980px);
    overflow: hidden;
    isolation: isolate;
}

.hero-section--dtc-carousel .hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #1a1010;
}

.hero-section--dtc-carousel .hero-background-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.hero-section--dtc-carousel .hero-background-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-section--dtc-carousel .hero-background-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-section--dtc-carousel .hero-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 1;
    z-index: 1;
}

.hero-dtc-scrim {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.04) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-section--dtc-carousel .brand-hero-overlay.hero-dtc-content {
    z-index: 5;
    align-items: center;
    justify-content: center;
    padding: clamp(48px, 12vh, 120px) clamp(20px, 5vw, 48px) clamp(88px, 14vh, 140px);
}

.hero-section--dtc-carousel .brand-hero-copy {
    max-width: min(680px, 92vw);
    animation: hero-dtc-copy-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-section--dtc-carousel .brand-hero-copy.is-changing {
    animation: hero-dtc-copy-out 0.35s ease forwards;
}

@keyframes hero-dtc-copy-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-dtc-copy-out {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.hero-section--dtc-carousel .brand-hero-line1,
.hero-section--dtc-carousel .brand-hero-line2 {
    font-family: "Libre Baskerville", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-section--dtc-carousel .brand-hero-line1 {
    font-size: clamp(1.75rem, 5.5vw, 3rem);
}

.hero-section--dtc-carousel .brand-hero-line2 {
    font-size: clamp(2rem, 7vw, 3.75rem);
    margin-top: 0.15em;
}

.hero-section--dtc-carousel .brand-hero-sub {
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.hero-section--dtc-carousel .brand-hero-cta {
    margin-top: clamp(1.25rem, 3vh, 2rem);
    padding: 0.85rem 2.75rem;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* Navigation arrows */
.hero-dtc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s, border-color 0.2s;
}

.hero-top--dtc:hover .hero-dtc-nav,
.hero-dtc-nav:focus-visible {
    opacity: 1;
}

.hero-dtc-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.75);
}

.hero-dtc-nav--prev {
    left: max(12px, env(safe-area-inset-left, 0px));
}

.hero-dtc-nav--next {
    right: max(12px, env(safe-area-inset-right, 0px));
}

.hero-dtc-nav svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Dots — minimal pill style */
.hero-dtc-dots {
    position: absolute;
    left: 50%;
    bottom: max(28px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-dtc-dots .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.hero-dtc-dots .carousel-dot.active {
    width: 28px;
    background: #fff;
}

.hero-section--dtc-carousel .hero-carousel-click-layer {
    display: none;
}

@media (max-width: 768px) {
    .hero-section--dtc-carousel .hero-top--dtc {
        min-height: clamp(420px, 72svh, 680px);
        max-height: 85svh;
    }

    .hero-section--dtc-carousel .hero-background-image {
        object-fit: cover;
        object-position: center top;
    }

    .hero-dtc-nav {
        display: none;
    }

    .hero-section--dtc-carousel .brand-hero-overlay.hero-dtc-content {
        padding: clamp(40px, 10vh, 72px) clamp(16px, 4vw, 24px) clamp(72px, 12vh, 100px);
    }

    .hero-section--dtc-carousel .brand-hero-line1 {
        font-size: clamp(1.5rem, 7vw, 2.25rem);
    }

    .hero-section--dtc-carousel .brand-hero-line2 {
        font-size: clamp(1.65rem, 8vw, 2.5rem);
    }

    .hero-section--dtc-carousel .brand-hero-sub {
        font-size: clamp(0.8125rem, 3.5vw, 0.9375rem);
        max-width: 100%;
    }

    .hero-section--dtc-carousel .brand-hero-cta {
        padding: 0.75rem 1.75rem;
        font-size: 0.6875rem;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section--dtc-carousel .hero-background-slide {
        transition: opacity 0.4s ease;
    }

    .hero-section--dtc-carousel .brand-hero-copy {
        animation: none;
    }
}
