/* =========================================================
   NOVAEL — HOMEPAGE
========================================================= */


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



.hero-split {
    position: relative;

    width: 100%;
    height: min(760px, calc(100svh - var(--header-h)));
    min-height: 620px;

    display: block;

    overflow: hidden;

    background: #111;
}

.hero-image {
    position: absolute;
    z-index: 1;

    inset: 0;

    margin: 0;

    overflow: hidden;
}

.hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transform: scale(1.01);
}

.hero-image::before {
    content: "";

    position: absolute;
    z-index: 2;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(11,11,10,.66) 0%,
            rgba(11,11,10,.44) 28%,
            rgba(11,11,10,.14) 52%,
            rgba(11,11,10,.02) 72%,
            transparent 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.08) 0%,
            transparent 40%,
            rgba(0,0,0,.14) 100%
        );
}

.hero-image::after {
    content: "";

    position: absolute;
    z-index: 3;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 18% 35%,
            rgba(92,35,44,.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 38% 68%,
            rgba(36,89,70,.12),
            transparent 38%
        );
}

.hero-copy {
    position: relative;
    z-index: 5;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding:
        70px
        clamp(50px, 6.5vw, 112px)
        65px;

    color: #fff;
}

.hero-copy h1 {
    max-width: 760px;

    margin: 0 0 36px;

    color: #fff;

    font-family: var(--font-display);
    font-size: clamp(56px, 5.5vw, 92px);
    font-weight: 400;

    line-height: .95;
    letter-spacing: -.045em;

    text-transform: none;

    text-shadow: 0 2px 26px rgba(0,0,0,.12);
}

.hero-copy .shop-cta {
    color: #11110f;
    background: rgba(250,250,248,.94);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-copy .shop-cta:hover {
    background: #fff;
}

.hero-index {
    position: absolute;

    left: clamp(50px, 6.5vw, 112px);
    bottom: 35px;

    display: flex;
    align-items: center;

    gap: 9px;

    color: #fff;

    font-size: 7px;
}

.hero-index-line {
    width: 28px;
    height: 1px;

    background: #fff;

    opacity: .55;
}


/* =========================================================
   COLORS
========================================================= */

.home-colors {
    width: 100%;
    min-height: 520px;

    margin: 0;

    padding:
        84px
        var(--page-x)
        92px;

    background: var(--novael-gray);
}

.home-colors__header {
    max-width: 1540px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin:
        0
        auto
        34px;
}

.home-colors__header h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(34px,3vw,48px);
    font-weight: 400;

    line-height: .94;
    letter-spacing: -.025em;
}

.color-strip {
    width: 100%;
    max-width: 1540px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));

    gap: 12px;
}

.color-item {
    position: relative;

    overflow: hidden;

    text-decoration: none;
}

.color-item__image {
    height: clamp(300px,27vw,440px);

    overflow: hidden;
}

.color-item__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.color-item:hover img {
    transform: scale(1.015);
}

.color-item__meta {
    position: absolute;
    z-index: 3;

    left: 14px;
    right: 14px;
    bottom: 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #fff;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: .1em;

    text-shadow: 0 1px 10px rgba(0,0,0,.18);
}


/* =========================================================
   SELECTED PIECES
========================================================= */

.selected-feature {
    width: 100%;
    min-height: 520px;

    margin: 0;

    padding:
        84px
        var(--page-x)
        92px;

    background: var(--bg);
}

.selected-feature__header {
    max-width: 1540px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin:
        0
        auto
        32px;
}

.selected-feature__header h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(34px,3vw,48px);
    font-weight: 400;

    letter-spacing: -.025em;
}

.selected-feature__image {
    position: relative;

    display: block;

    width: 100%;
    max-width: 1540px;

    margin: 0 auto;

    overflow: hidden;

    text-decoration: none;
}

.selected-feature__image img {
    width: 100%;
    height: clamp(360px,34vw,520px);

    object-fit: cover;
    object-position: center 35%;

    transition: transform .5s ease;
}

.selected-feature__image:hover img {
    transform: scale(1.01);
}

.selected-feature__overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: space-between;

    padding: 50px 20px 18px;

    color: #fff;

    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.36),
            transparent
        );

    font-size: 8px;
    font-weight: 500;

    letter-spacing: .11em;
}


/* =========================================================
   PROMISE
========================================================= */

.promise-split {
    position: relative;

    min-height: 520px;

    display: grid;
    grid-template-columns: 49% 51%;

    background: var(--bg);
}

.promise-copy {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding:
        70px
        clamp(45px,6vw,100px);

    background: var(--bg);
}

.promise-copy h2 {
    margin: 0 0 20px;

    font-family: var(--font-display);
    font-size: clamp(42px,4.1vw,68px);
    font-weight: 400;

    line-height: .93;
    letter-spacing: -.04em;
}

.promise-copy p {
    max-width: 310px;

    margin: 0 0 28px;

    color: var(--muted);

    font-family: var(--font-display);
    font-size: 13px;

    line-height: 1.5;
}

.promise-image {
    position: relative;

    margin-left: -30px;

    overflow: hidden;

    background: var(--bg);
}

.promise-image::before {
    content: "";

    position: absolute;
    z-index: 2;

    top: 0;
    bottom: 0;
    left: 0;

    width: 120px;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            var(--bg) 0%,
            rgba(242,238,230,.88) 20%,
            rgba(242,238,230,.38) 58%,
            transparent 100%
        );
}

.promise-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   HOME SECTION TYPOGRAPHY
========================================================= */

.home-colors__header h2,
.home-new-arrivals__header h2,
.selected-feature__header h2,
.promise-copy h2 {
    color: var(--text);

    font-family: var(--font-display);

    font-weight: 800;

    line-height: .98;

    letter-spacing: -.035em;
}

.home-colors__header h2,
.selected-feature__header h2,
.promise-copy h2 {
    font-size: clamp(32px, 3vw, 48px);
}

.home-new-arrivals__header h2 {
    font-size: clamp(34px, 3.2vw, 50px);
}

.home-colors__header .minimal-link,
.home-new-arrivals__header .minimal-link,
.selected-feature__header .minimal-link {
    font-family: var(--font-main);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}

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

@media (max-width: 767px) {

    .home-colors__header h2,
    .home-new-arrivals__header h2,
    .selected-feature__header h2,
    .promise-copy h2 {
        font-size: 18px;

        font-weight: 800;

        line-height: 1;

        letter-spacing: -.02em;
    }

    .home-colors__header .minimal-link,
    .home-new-arrivals__header .minimal-link,
    .selected-feature__header .minimal-link {
        font-size: 9px;
        font-weight: 800;
    }



    /* Hero */

    .hero-split {
        position: relative;

        width: 100%;

        height: 560px;
        min-height: 560px;

        display: block;

        overflow: hidden;

        background: #111;
    }

    .hero-copy {
        position: relative;
        z-index: 5;

        width: 100%;
        height: 100%;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;

        min-width: 0;

        padding:
            36px
            20px
            52px;

        color: #fff;
    }

    .hero-copy h1 {
        max-width: 360px;

        margin: 0 0 24px;

        color: #fff;

        font-size: clamp(38px, 11vw, 52px);

        line-height: .94;
        letter-spacing: -.04em;

        text-shadow:
            0 2px 24px rgba(0,0,0,.20);
    }

    .hero-copy .shop-cta {
        width: auto;

        min-width: 190px;
        max-width: 100%;

        gap: 14px;

        padding: 13px 15px;

        margin: 0;

        background: rgba(250,250,248,.94);

        color: #11110f;

        font-size: 7px;
        font-weight: 700;

        line-height: 1;
        letter-spacing: .07em;

        white-space: nowrap;

        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .hero-copy .shop-cta__arrow {
        flex: 0 0 auto;

        font-size: 14px;
    }

    .hero-image {
        position: absolute;
        z-index: 1;

        inset: 0;

        width: 100%;
        height: 100%;

        margin: 0;

        overflow: hidden;

        background: #111;
    }

    .hero-image::before {
        content: "";

        position: absolute;
        z-index: 2;

        inset: 0;

        display: block;

        pointer-events: none;

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.04) 0%,
                rgba(0,0,0,.08) 35%,
                rgba(0,0,0,.62) 100%
            ),
            linear-gradient(
                90deg,
                rgba(0,0,0,.18) 0%,
                transparent 65%
            );
    }

    .hero-image::after {
        content: "";

        position: absolute;
        z-index: 3;

        inset: 0;

        display: block;

        pointer-events: none;

        background:
            radial-gradient(
                circle at 18% 65%,
                rgba(108,35,50,.13),
                transparent 38%
            ),
            radial-gradient(
                circle at 70% 34%,
                rgba(38,91,70,.10),
                transparent 42%
            );
    }

    .hero-image img {
        display: block;

        width: 100%;
        max-width: none;

        height: 100%;

        object-fit: cover;
        object-position: center center;

        transform: scale(1.01);

        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-index {
        position: absolute;

        left: 20px;
        bottom: 18px;

        display: flex;
        align-items: center;

        gap: 8px;

        color: #fff;

        font-size: 6.5px;
        font-weight: 500;
    }

    .hero-index-line {
        width: 28px;
        height: 1px;

        background: #fff;

        opacity: .55;
    }


    /* Section labels */

    .section-label {
        display: none;
    }


    /* Colors */

    .home-colors {
        min-height: 0;

        padding:
            30px
            9px
            36px;
    }

    .home-colors__header {
        align-items: center;

        margin-bottom: 16px;

        padding: 0 4px;
    }

    .home-colors__header h2 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: 600;

        line-height: 1;
        letter-spacing: .015em;
    }

    .home-colors__header h2 br {
        display: none;
    }

    .home-colors__header .minimal-link {
        font-size: 7px;
        font-weight: 600;

        letter-spacing: .06em;
    }

    .color-strip {
        width: 100%;

        grid-template-columns:
            repeat(3,1fr);

        gap: 5px;
    }

    .color-item::after {
        content: "";

        position: absolute;

        left: 0;
        right: 0;
        bottom: 0;

        height: 38%;

        pointer-events: none;

        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.38),
                transparent
            );
    }

    .color-item__image {
        height: 170px;
    }

    .color-item__meta {
        left: 8px;
        right: 8px;
        bottom: 9px;

        font-size: 8px;
        font-weight: 600;

        line-height: 1;
        letter-spacing: .07em;

        text-shadow:
            0
            1px
            5px
            rgba(0,0,0,.35);
    }


    /* Selected */

    .selected-feature {
        min-height: 0;

        padding:
            32px
            9px
            38px;
    }

    .selected-feature__header {
        align-items: center;

        margin-bottom: 16px;

        padding: 0 4px;
    }

    .selected-feature__header h2 {
        font-family: Arial, Helvetica, sans-serif;

        font-size: 12px;
        font-weight: 600;

        letter-spacing: .015em;
    }

    .selected-feature__header .minimal-link {
        font-size: 7px;
        font-weight: 600;
    }

    .selected-feature__image {
        width: 100%;
    }

    .selected-feature__image img {
        height: 205px;

        object-position: center 32%;
    }

    .selected-feature__overlay {
        align-items: flex-end;

        padding:
            50px
            12px
            12px;

        font-size: 8px;
        font-weight: 600;

        letter-spacing: .07em;

        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.42),
                transparent
            );
    }


    /* Promise */

    .promise-split {
        min-height: 255px;

        grid-template-columns:
            48%
            52%;
    }

    .promise-copy {
        padding:
            26px
            7px
            26px
            13px;
    }

    .promise-copy h2 {
        margin-bottom: 14px;

        font-size: 27px;

        line-height: .92;
    }

    .promise-copy p {
        display: none;
    }

    .promise-copy .shop-cta {
        width: auto;

        min-width: 125px;

        font-size: 6px;
        font-weight: 600;
    }

    .promise-image {
        margin-left: -12px;
    }

    .promise-image::before {
        width: 48px;
    }

}

/* =========================================================
   NEW ARRIVALS
========================================================= */

.home-new-arrivals {
    width: 100%;
    padding: 72px var(--page-x) 82px;
    overflow: hidden;
    background: var(--novael-white);
}

.home-new-arrivals__header {
    width: 100%;
    max-width: 1540px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin: 0 auto 26px;
}

.home-new-arrivals__header h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(42px, 3.2vw, 58px);
    font-weight: 800;

    line-height: .95;
    letter-spacing: -.035em;
}


/* Carousel */

.home-product-carousel {
    position: relative;

    width: 100%;
    max-width: 1540px;

    margin: 0 auto;
}

.home-product-grid {
    display: flex;

    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;

    overscroll-behavior-inline: contain;

    -webkit-overflow-scrolling: touch;
}

.home-product-grid::-webkit-scrollbar {
    display: none;
}


/* Product */

.home-product-card {
    flex: 0 0 calc((100% - 48px) / 4.5);
    min-width: 0;

    scroll-snap-align: start;
}

.home-product-card__image {
    display: block;

    width: 100%;
    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #f3f3f0;
}

.home-product-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.home-product-card:hover .home-product-card__image img {
    transform: scale(1.015);
}

.home-product-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;

    align-items: start;

    gap: 10px;

    padding: 10px 2px 0;
}

.home-product-card__name {
    min-width: 0;

    color: var(--text);

    font-size: 8px;
    font-weight: 500;

    line-height: 1.35;
    letter-spacing: .035em;

    text-decoration: none;
}

.home-product-card__price {
    font-size: 8px;
    font-weight: 500;

    line-height: 1.35;

    white-space: nowrap;
}

.home-product-card__price del {
    margin-right: 4px;

    color: var(--muted);

    font-size: .82em;

    opacity: .6;
}

.home-product-card__price ins {
    text-decoration: none;
}


/* Navigation */

.home-product-carousel__nav {
    display: flex;
    justify-content: flex-end;

    gap: 6px;

    margin-top: 24px;
}

.home-product-carousel__button {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(17,17,15,.28);
    border-radius: 50%;

    background: transparent;
    color: var(--text);

    font-size: 16px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.home-product-carousel__button:hover {
    border-color: var(--text);

    background: var(--text);
    color: var(--novael-white);
}


/* =========================================================
   NEW ARRIVALS — MOBILE
========================================================= */

@media (max-width: 767px) {

    .home-new-arrivals {
        padding:
            32px
            0
            38px;
    }

    .home-new-arrivals__header {
        align-items: center;

        margin-bottom: 16px;

        padding:
            0
            13px;
    }

    .home-new-arrivals__header h2 {
        font-family: Arial, Helvetica, sans-serif;

        font-size: 12px;
        font-weight: 600;

        letter-spacing: .015em;
    }

    .home-new-arrivals__header .minimal-link {
        font-size: 7px;
        font-weight: 600;
    }

    .home-product-carousel {
        max-width: none;
    }

    .home-product-grid {
        gap: 7px;

        padding:
            0
            13px
            4px;

        scroll-padding-left: 13px;
    }

    .home-product-card {
        flex-basis: 48%;
    }

    .home-product-card__meta {
        display: block;

        padding:
            10px
            2px
            0;
    }

    .home-product-card__name {
        display: block;

        max-width: 100%;

        margin-bottom: 7px;

        color: var(--text);

        font-size: 11px;
        font-weight: 700;

        line-height: 1.25;
        letter-spacing: .015em;
    }

    .home-product-card__price {
        display: block;

        color: var(--text);

        font-size: 11px;
        font-weight: 700;

        line-height: 1.2;
        letter-spacing: 0;

        white-space: normal;
    }

    .home-product-card__price del {
        margin-right: 4px;

        font-size: 9px;
        font-weight: 500;

        opacity: .55;
    }

    .home-product-card__price ins {
        font-size: 11px;
        font-weight: 700;

        text-decoration: none;
    }

    .home-product-carousel__nav {
        display: none;
    }

}



/* =========================================================
   HOME BENEFITS
========================================================= */

.home-benefits {
    width: 100%;
    padding: 28px var(--page-x);
    background: var(--bg-light);
}

.home-benefits__inner {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    background: var(--novael-white);
    border: 1px solid var(--line);
    border-radius: 14px;

    overflow: hidden;
}

.home-benefit {
    min-width: 0;

    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    align-items: center;

    padding: 25px 28px;
}

.home-benefit + .home-benefit {
    border-left: 1px solid var(--line);
}

.home-benefit__icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: var(--bg-light);
}

.home-benefit__icon svg {
    width: 21px;
    height: 21px;

    stroke: var(--text);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-benefit__content h3 {
    margin: 0 0 6px;

    color: var(--text);

    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;
    letter-spacing: .02em;
}

.home-benefit__content p {
    margin: 0 0 7px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.45;
}

.home-benefit__content span {
    display: block;

    color: var(--muted);

    font-size: 9px;
    line-height: 1.5;

    direction: rtl;
    text-align: left;
}


@media (max-width: 767px) {

    .home-benefits {
        padding: 8px 10px 22px;
    }

    .home-benefits__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: 10px;
    }

    .home-benefit {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        gap: 8px;

        padding: 14px 8px;

        text-align: center;
    }

    .home-benefit + .home-benefit {
        border-left: 1px solid var(--line);
        border-top: 0;
    }

    .home-benefit__icon {
        width: 32px;
        height: 32px;

        flex: 0 0 32px;
    }

    .home-benefit__icon svg {
        width: 16px;
        height: 16px;
    }

    .home-benefit__content h3 {
        margin-bottom: 5px;

        font-size: 8px;
        font-weight: 800;

        line-height: 1.2;
    }

    .home-benefit__content p {
        margin: 0;

        font-size: 7px;
        line-height: 1.35;
    }

}
