/* =========================================================
   HOME PAGE
   ========================================================= */

.home-hero,
.home-carousel,
.home-cta {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
}


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

.home-hero {
    padding: 70px 0 90px;
    border-bottom: 2px solid #111111;
}

.home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1.1fr);
    gap: 70px;
    align-items: center;
}

.home-hero__content {
    min-width: 0;
}

.home-hero__eyebrow {
    margin-bottom: 20px;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #315cff;
}

.home-hero__title {
    margin: 0;
    font-size: clamp(50px, 6vw, 80px);
    font-weight: 900;
    line-height: 0.86;

    letter-spacing: -0.07em;

    color: #111111;
}

.home-hero__description {
    max-width: 520px;

    margin: 30px 0 0;

    font-size: 15px;
    line-height: 1.6;

    color: #666666;
}


/* ACTIONS */

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 36px;
}

.home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    min-height: 54px;
    padding: 0 22px;

    border: 2px solid #111111;

    font: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-decoration: none;

    cursor: pointer;

    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-hero__btn--primary {
    background: #315cff;
    color: #ffffff;
}

.home-hero__btn--primary:hover {
    background: #111111;
}

.home-hero__btn--secondary {
    background: #ffffff;
    color: #111111;
}

.home-hero__btn--secondary:hover {
    background: #111111;
    color: #ffffff;
}

.home-hero__btn-label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}


/* STATS */

.home-hero__stats {
    display: flex;
    gap: 40px;

    margin-top: 46px;
    padding-top: 26px;

    border-top: 1px solid #d2d1cd;
}

.home-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-hero__stat strong {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #111111;
}

.home-hero__stat span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999999;
}


/* IMAGE */

.home-hero__image {
    position: relative;

    aspect-ratio: 2693 / 1766;

    overflow: hidden;
}

.home-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.home-carousel {
    padding: 90px 0;
    border-bottom: 2px solid #111111;
}

.home-carousel__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 40px;
}

.home-carousel__eyebrow {
    margin-bottom: 14px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #315cff;
}

.home-carousel__title {
    margin: 0;

    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 0.9;

    letter-spacing: -0.06em;

    color: #111111;
}

.home-carousel__nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.home-carousel__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border: 2px solid #111111;
    background: #ffffff;

    font: inherit;
    font-size: 22px;
    line-height: 1;

    color: #111111;

    cursor: pointer;

    transition: background 0.15s ease, color 0.15s ease;
}

.home-carousel__nav-btn:hover {
    background: #111111;
    color: #ffffff;
}


/* VIEWPORT */

.home-carousel__viewport {
    overflow: hidden;

    border: 2px solid #111111;
}

.home-carousel__track {
    display: flex;

    transition: transform 0.4s ease;
    will-change: transform;
}

.home-carousel__slide {
    position: relative;

    flex: 0 0 100%;

    aspect-ratio: 21 / 9;

    overflow: hidden;

    background: #e5e4e0;
}

.home-carousel__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 36px 40px;

    background: linear-gradient(
        to top,
        rgba(17, 17, 17, 0.85) 0%,
        rgba(17, 17, 17, 0.5) 50%,
        rgba(17, 17, 17, 0) 100%
    );

    color: #ffffff;
}

.home-carousel__slide-tag {
    margin-bottom: 10px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #315cff;
}

.home-carousel__slide-title {
    margin: 0 0 8px;

    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    line-height: 0.95;

    letter-spacing: -0.045em;
}

.home-carousel__slide-text {
    max-width: 460px;

    margin: 0;

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

    color: #dddddd;
}


/* DOTS */

.home-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;

    margin-top: 26px;
}

.home-carousel__dot {
    width: 28px;
    height: 4px;

    padding: 0;

    border: 0;
    background: #d2d1cd;

    cursor: pointer;

    transition: background 0.15s ease, width 0.15s ease;
}

.home-carousel__dot.is-active {
    width: 48px;
    background: #315cff;
}


/* =========================================================
   CTA — SHOP
   ========================================================= */

.home-cta {
    padding: 130px 0;
}

.home-cta__inner {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;
}

.home-cta__eyebrow {
    margin-bottom: 22px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #315cff;
}

.home-cta__title {
    margin: 0;

    font-size: clamp(44px, 6vw, 88px);
    font-weight: 900;
    line-height: 0.9;

    letter-spacing: -0.065em;

    color: #111111;
}

.home-cta__description {
    max-width: 560px;

    margin: 28px auto 0;

    font-size: 15px;
    line-height: 1.6;

    color: #666666;
}

.home-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    min-width: 260px;
    min-height: 56px;

    margin-top: 40px;
    padding: 0 24px;

    border: 2px solid #111111;

    background: #315cff;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #ffffff;
    text-decoration: none;

    transition: background 0.15s ease;
}

.home-cta__btn::after {
    content: "→";

    margin-left: 40px;

    font-size: 22px;

    transition: transform 0.15s ease;
}

.home-cta__btn:hover {
    background: #111111;
}

.home-cta__btn:hover::after {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-hero__image {
        order: -1;
        max-width: 620px;
    }

    .home-hero__title {
        font-size: clamp(52px, 9vw, 84px);
    }
}

@media (max-width: 800px) {

    .home-carousel__slide {
        aspect-ratio: 16 / 10;
    }

    .home-carousel__caption {
        padding: 26px 24px;
    }

    .home-cta {
        padding: 90px 0;
    }
}

@media (max-width: 640px) {

    .home-hero,
    .home-carousel,
    .home-cta {
        width: calc(100% - 28px);
    }

    .home-hero {
        padding: 40px 0 60px;
    }

    .home-hero__title {
        font-size: clamp(46px, 13vw, 68px);
    }

    .home-hero__actions {
        flex-direction: column;
    }

    .home-hero__btn {
        width: 100%;
        justify-content: center;
    }

    .home-hero__stats {
        gap: 24px;
    }

    .home-carousel {
        padding: 55px 0;
    }

    .home-carousel__nav {
        display: none;
    }

    .home-carousel__slide {
        aspect-ratio: 4 / 5;
    }

    .home-carousel__caption {
        padding: 22px 20px;
    }

    .home-cta {
        padding: 70px 0;
    }

    .home-cta__btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 420px) {

    .home-hero,
    .home-carousel,
    .home-cta {
        width: calc(100% - 24px);
    }

    .home-hero__title {
        font-size: 42px;
    }

    .home-hero__stat strong {
        font-size: 18px;
    }

    .home-carousel__title {
        font-size: 32px;
    }
}


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

@media (prefers-reduced-motion: reduce) {

    .home-carousel__track,
    .home-hero__btn,
    .home-carousel__nav-btn,
    .home-cta__btn {
        transition: none;
    }
}