/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

.homepage-hero {
    position: relative;
    overflow: hidden;
    background: #171512;
}

.homepage-hero__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}

.homepage-hero__slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 420ms ease;
}

.homepage-hero__slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.homepage-hero__media,
.homepage-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.homepage-hero__image {
    display: block;
    object-fit: cover;
}


/* =========================================================
   OVERLAYS
   ========================================================= */

.homepage-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.homepage-hero__slide--dark .homepage-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(10, 9, 8, 0.74) 0%,
            rgba(10, 9, 8, 0.54) 30%,
            rgba(10, 9, 8, 0.18) 58%,
            rgba(10, 9, 8, 0.03) 100%
        );
}

.homepage-hero__slide--dark-overlay .homepage-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(10, 9, 8, 0.78) 0%,
            rgba(10, 9, 8, 0.48) 34%,
            rgba(10, 9, 8, 0.08) 70%
        );
}

.homepage-hero__slide--light .homepage-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(247, 243, 236, 0.92) 0%,
            rgba(247, 243, 236, 0.72) 32%,
            rgba(247, 243, 236, 0.14) 60%,
            rgba(247, 243, 236, 0) 100%
        );
}


/* =========================================================
   CONTENT
   ========================================================= */

.homepage-hero__content-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
}

.homepage-hero__content-wrap .site-shell {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

.homepage-hero__content {
    max-width: 560px;
}

.homepage-hero__slide--left .homepage-hero__content-wrap {
    align-items: center;
}

.homepage-hero__slide--center .homepage-hero__content-wrap .site-shell {
    display: flex;
    justify-content: center;
}

.homepage-hero__slide--center .homepage-hero__content {
    text-align: center;
}

.homepage-hero__slide--right .homepage-hero__content-wrap .site-shell {
    display: flex;
    justify-content: flex-end;
}

.homepage-hero__slide--right .homepage-hero__content {
    text-align: right;
}

.homepage-hero__slide--bottom-left .homepage-hero__content-wrap {
    align-items: flex-end;
    padding-bottom: 58px;
}

.homepage-hero__slide--bottom-right .homepage-hero__content-wrap {
    align-items: flex-end;
    padding-bottom: 58px;
}

.homepage-hero__slide--bottom-right .homepage-hero__content-wrap .site-shell {
    display: flex;
    justify-content: flex-end;
}

.homepage-hero__slide--bottom-right .homepage-hero__content {
    text-align: right;
}


/* =========================================================
   DARK PANEL VARIANT
   ========================================================= */

.homepage-hero__slide--dark-panel .homepage-hero__overlay {
    background: rgba(0, 0, 0, 0.08);
}

.homepage-hero__slide--dark-panel .homepage-hero__content {
    padding: 30px 34px;
    background: rgba(19, 17, 14, 0.76);
    backdrop-filter: blur(5px);
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.homepage-hero__eyebrow {
    margin: 0 0 12px;
    color: #d65a3d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.homepage-hero__title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 4.6vw, 76px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.homepage-hero__text {
    max-width: 500px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.55;
}

.homepage-hero__price {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 700;
}

.homepage-hero__price del {
    margin-right: 8px;
    opacity: 0.65;
}

.homepage-hero__price ins {
    text-decoration: none;
}


/* =========================================================
   DARK / LIGHT TEXT
   ========================================================= */

.homepage-hero__slide--dark .homepage-hero__content,
.homepage-hero__slide--dark-overlay .homepage-hero__content,
.homepage-hero__slide--dark-panel .homepage-hero__content {
    color: #fff;
}

.homepage-hero__slide--dark .homepage-hero__text,
.homepage-hero__slide--dark-overlay .homepage-hero__text,
.homepage-hero__slide--dark-panel .homepage-hero__text {
    color: rgba(255, 255, 255, 0.82);
}

.homepage-hero__slide--light .homepage-hero__content {
    color: #171512;
}

.homepage-hero__slide--light .homepage-hero__text {
    color: #5c554d;
}


/* =========================================================
   CTA
   ========================================================= */

.homepage-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 12px 22px;
    border: 1px solid transparent;
    background: #bf3a24;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        color 160ms ease,
        border-color 160ms ease;
}

.homepage-hero__cta:hover,
.homepage-hero__cta:focus-visible {
    background: #171512;
    color: #fff;
}


/* =========================================================
   ARROWS
   ========================================================= */

.homepage-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(15, 13, 11, 0.34);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}

.homepage-hero__arrow:hover,
.homepage-hero__arrow:focus-visible {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(15, 13, 11, 0.72);
}

.homepage-hero__arrow--prev {
    left: 22px;
}

.homepage-hero__arrow--next {
    right: 22px;
}


/* =========================================================
   DOTS
   ========================================================= */

.homepage-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
}

.homepage-hero__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition:
        width 180ms ease,
        border-radius 180ms ease,
        background-color 180ms ease;
}

.homepage-hero__dot.is-active {
    width: 26px;
    border-radius: 99px;
    background: #fff;
}


/* =========================================================
   DESKTOP TUNING
   ========================================================= */

@media (min-width: 1201px) {
    .homepage-hero__content {
        margin-left: 48px;
    }

    .homepage-hero__slide--right .homepage-hero__content,
    .homepage-hero__slide--bottom-right .homepage-hero__content {
        margin-left: 0;
        margin-right: 48px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .homepage-hero__viewport {
        aspect-ratio: 2.3 / 1;
    }

    .homepage-hero__content {
        max-width: 470px;
    }

    .homepage-hero__title {
        font-size: clamp(38px, 6vw, 58px);
    }

    .homepage-hero__text {
        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    .homepage-hero__viewport {
        aspect-ratio: 6 / 7;
        min-height: 0;
    }

    .homepage-hero__content-wrap {
        align-items: flex-end;
        padding-bottom: 68px;
    }

    .homepage-hero__content-wrap .site-shell {
        width: min(100% - 32px, 1440px);
    }

    .homepage-hero__content {
        max-width: 92%;
        margin: 0;
    }

    .homepage-hero__overlay,
    .homepage-hero__slide--dark .homepage-hero__overlay,
    .homepage-hero__slide--dark-overlay .homepage-hero__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(10, 9, 8, 0.82) 0%,
                rgba(10, 9, 8, 0.56) 34%,
                rgba(10, 9, 8, 0.12) 66%,
                rgba(10, 9, 8, 0.02) 100%
            );
    }

    .homepage-hero__slide--light .homepage-hero__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(247, 243, 236, 0.95) 0%,
                rgba(247, 243, 236, 0.74) 38%,
                rgba(247, 243, 236, 0.1) 72%,
                rgba(247, 243, 236, 0) 100%
            );
    }

    .homepage-hero__slide--dark-panel .homepage-hero__content {
        padding: 22px;
    }

    .homepage-hero__eyebrow {
        margin-bottom: 9px;
        font-size: 10px;
    }

    .homepage-hero__title {
        font-size: clamp(36px, 12vw, 52px);
        line-height: 1;
    }

    .homepage-hero__text {
        max-width: 440px;
        margin-top: 13px;
        font-size: 14px;
        line-height: 1.45;
    }

    .homepage-hero__price {
        margin-top: 14px;
        font-size: 16px;
    }

    .homepage-hero__cta {
        min-height: 44px;
        margin-top: 18px;
        padding: 11px 18px;
    }

    .homepage-hero__arrow {
        top: auto;
        bottom: 17px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .homepage-hero__arrow--prev {
        left: 16px;
    }

    .homepage-hero__arrow--next {
        right: 16px;
    }

    .homepage-hero__dots {
        bottom: 31px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .homepage-hero__slide,
    .homepage-hero__image,
    .homepage-hero__cta,
    .homepage-hero__arrow,
    .homepage-hero__dot {
        transition: none;
    }
}