/* ========================================
   BASE
======================================== */

.home-page {
    width: 100%;

    padding: 24px 0 100px;
}

.home-shell {
    width: min(calc(100% - 64px), 1360px);

    margin-right: auto;
    margin-left: auto;
}

.home-eyebrow {
    display: block;

    margin-bottom: 9px;

    color: #999;

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

    line-height: 1;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


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

.home-hero {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.9fr)
        minmax(0, 1.1fr);

    gap: 32px;

    align-items: stretch;
}


/* Hero copy */

.home-hero__copy {
    min-height: 480px;

    padding: 48px 36px 48px 4px;

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

.home-hero__copy h1 {
    max-width: 560px;

    margin: 0;

    color: #111;

    font-size: clamp(44px, 4.2vw, 60px);
    font-weight: 900;

    line-height: 0.98;
    text-transform: capitalize;
    letter-spacing: -0.05em;
}

.home-hero__copy h1 span {
    display: block;

    color: #858585;
}

.home-hero__copy > p {
    max-width: 450px;

    margin: 25px 0 0;

    color: #666;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.65;
}


/* Hero actions */

.home-hero__actions {
    margin-top: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 20px;
}

.home-button {
    min-height: 46px;

    padding: 0 18px;

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

    gap: 15px;

    border-radius: 18px;

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

    text-decoration: none;
}

.home-button--dark {
    background: #111;

    color: #fff;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.home-button--dark:hover {
    background: #292929;

    transform: translateY(-1px);
}

.home-button--dark span {
    transition: transform 180ms ease;
}

.home-button--dark:hover span {
    transform: translateX(3px);
}

.home-text-link {
    padding: 7px 0;

    border-bottom: 1px solid rgba(17, 17, 17, 0.25);

    color: #333;

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

    text-decoration: none;
}


/* ========================================
   FEATURE
======================================== */

.home-feature {
    position: relative;

    min-width: 0;
    height: 480px;

    overflow: hidden;

    border-radius: 18px;

    background: #f1f1ef;

    color: #fff;

    text-decoration: none;

    isolation: isolate;
}

.home-feature > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-feature:hover > img {
    transform: scale(1.025);
}

.home-feature__overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.02) 45%,
            rgba(0, 0, 0, 0.62)
        );
}

.home-feature__top {
    position: absolute;

    top: 18px;
    right: 18px;
    left: 18px;

    z-index: 2;

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

.home-feature__badge {
    min-height: 32px;

    padding: 0 12px;

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

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.9);

    color: #222;

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

.home-feature__play {
    width: 40px;
    height: 40px;

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

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    color: #111;
}

.home-feature__play svg {
    width: 19px;
    height: 19px;

    fill: currentColor;
}

.home-feature__content {
    position: absolute;

    right: 22px;
    bottom: 22px;
    left: 22px;

    z-index: 2;
}

.home-feature__content > span {
    color: rgba(255, 255, 255, 0.68);

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

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.home-feature__content h2 {
    max-width: 560px;

    margin: 7px 0 0;

    color: #fff;

    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 500;

    line-height: 1.06;

    letter-spacing: -0.035em;
}


/* ========================================
   SECTIONS
======================================== */

.home-section {
    margin-top: 86px;
}

.home-section-head {
    margin-bottom: 25px;

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

    gap: 24px;
}

.home-section-head h2 {
    margin: 0;
    font-weight: 900;
    color: #111;

    font-size: 28px;


    line-height: 1;

    letter-spacing: -0.035em;
}

.home-section-link {
    padding-bottom: 3px;

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

    gap: 8px;

    border-bottom: 1px solid rgba(17, 17, 17, 0.22);

    color: #444;

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

    text-decoration: none;
}

.home-section-link span {
    transition: transform 180ms ease;
}

.home-section-link:hover span {
    transform: translateX(3px);
}


/* ========================================
   KONJ TV
======================================== */

.home-tv-rail {
    width: 100%;

    display: flex;

    gap: 16px;

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

    padding-bottom: 6px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.home-tv-rail::-webkit-scrollbar {
    display: none;
}

.home-tv-card {
    width: 330px;
    min-width: 330px;

    flex: 0 0 auto;

    color: #111;

    text-decoration: none;
}

.home-tv-card__media {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 18px;

    background: #f1f1ef;
}

.home-tv-card__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-tv-card:hover img {
    transform: scale(1.03);
}

.home-tv-card__play {
    position: absolute;

    right: 12px;
    bottom: 12px;

    width: 34px;
    height: 34px;

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

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    color: #111;

    font-size: 10px;
}

.home-tv-card__content {
    margin-top: 12px;
}

.home-tv-card__content h3 {
    margin: 0;

    color: #171717;

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

    line-height: 1.35;

    letter-spacing: -0.015em;
}

.home-tv-card__content > span {
    display: block;

    margin-top: 4px;

    color: #999;

    font-size: 11px;
}


/* ========================================
   PROFESSIONALS
======================================== */

.home-people-grid {
    display: grid;

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

    gap: 12px;
}

.home-person {
    min-width: 0;

    min-height: 92px;

    padding: 12px;

    display: grid;

    grid-template-columns:
        64px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

    border-radius: 18px;

    background: #f6f6f4;

    color: #111;

    text-decoration: none;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.home-person:hover {
    background: #eeeeeb;

    transform: translateY(-1px);
}

.home-person > img {
    width: 64px;
    height: 64px;

    display: block;

    border-radius: 50%;

    object-fit: cover;

    background: #e9e9e7;
}

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

.home-person__content strong {
    display: block;

    overflow: hidden;

    color: #171717;

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

    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-person__content span {
    display: block;

    margin-top: 4px;

    overflow: hidden;

    color: #969696;

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-person__arrow {
    color: #999;

    font-size: 14px;

    transition: transform 180ms ease;
}

.home-person:hover .home-person__arrow {
    transform: translate(2px, -2px);
}

/* ========================================
   TOP STORES
======================================== */

.home-stores-panel {
    width: 100%;

    padding: 22px;

    border-radius: 18px;

    background: #fff;
}


/* ========================================
   STORE GRID
======================================== */

.home-store-grid {
    display: grid;

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

    gap: 16px;
}


/* ========================================
   STORE CARD
======================================== */

.home-store-card {
    position: relative;

    min-width: 0;
    min-height: 205px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(170px, 0.9fr);

    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 18px;

    background: #fff;

    color: #111;

    text-decoration: none;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.home-store-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 34px
        rgba(17, 17, 17, 0.055);
}


/* ========================================
   STORE COPY
======================================== */

.home-store-card__copy {
    min-width: 0;

    padding:
        28px
        20px
        24px
        26px;

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

    gap: 28px;
}

.home-store-card__copy h3 {
    max-width: 250px;

    margin: 0;

    color: #111;

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

    line-height: 1.05;

    letter-spacing: -0.035em;
}

.home-store-card__copy p {
    max-width: 220px;

    margin: 6px 0 0;

    color: #999;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.25;

    letter-spacing: -0.015em;
}


/* ========================================
   STORE ACTION
======================================== */

.home-store-card__action {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #555;

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

    line-height: 1;

    letter-spacing: 0.02em;

    text-transform: uppercase;
}

.home-store-card__action-icon {
    width: 26px;
    height: 26px;

    flex-shrink: 0;

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

    border-radius: 50%;

    background: #111;

    color: #fff;

    font-size: 11px;

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.home-store-card:hover
.home-store-card__action-icon {
    background: #2a2a2a;

    transform: translate(2px, -2px);
}


/* ========================================
   STORE MEDIA
======================================== */

.home-store-card__media {
    min-width: 0;
    margin: 12px 12px 12px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #f7f7f5;
    position: absolute;
    right: 0;
    width: 50px;
    bottom: 0;
}

.home-store-card__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition:
        transform 550ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

.home-store-card:hover
.home-store-card__media img {
    transform: scale(1.035);
}


/* ========================================
   TOP STORES - SMALL DESKTOP
======================================== */

@media (max-width: 1100px) {

    .home-store-card {
        min-height: 185px;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(140px, 0.85fr);
    }

    .home-store-card__copy {
        padding:
            24px
            16px
            21px
            22px;
    }

    .home-store-card__copy h3 {
        font-size: 19px;
    }

    .home-store-card__copy p {
        font-size: 13px;
    }

}


/* ========================================
   TOP STORES - TABLET
======================================== */

@media (max-width: 820px) {

    .home-stores-panel {
        padding: 14px;
    }

    .home-store-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .home-store-card {
        min-height: 190px;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(180px, 0.9fr);
    }

}


/* ========================================
   TOP STORES - MOBILE
======================================== */

@media (max-width: 560px) {

    .home-stores-panel {
        padding: 10px;

        border-radius: 18px;
    }

    .home-store-grid {
        gap: 10px;
    }

    .home-store-card {
        min-height: 150px;

        grid-template-columns:
            minmax(0, 1fr)
            128px;

        border-radius: 18px;
    }

    .home-store-card__copy {
        padding:
            18px
            10px
            16px
            16px;

        gap: 18px;
    }

    .home-store-card__copy h3 {
        font-size: 17px;
    }

    .home-store-card__copy p {
        margin-top: 4px;

        font-size: 12px;
    }

    .home-store-card__action {
        gap: 7px;

        font-size: 9px;
    }

    .home-store-card__action-icon {
        width: 24px;
        height: 24px;

        font-size: 10px;
    }

    .home-store-card__media {
        margin:
            8px
            8px
            8px
            0;

        border-radius: 50px;
        width: 26px;
    }

}

/* ========================================
   CATEGORIES
======================================== */

/* ========================================
   SHOP BY CATEGORY
======================================== */

.home-categories {
    overflow: hidden;
}


/* ========================================
   CATEGORY RAIL
======================================== */

.home-category-rail {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 24px;

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

    padding:
        2px
        2px
        8px;

    scroll-snap-type: x proximity;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.home-category-rail::-webkit-scrollbar {
    display: none;
}


/* ========================================
   CATEGORY ITEM
======================================== */

.home-category-item {
    width: 104px;
    min-width: 104px;

    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    scroll-snap-align: start;

    color: #111;

    text-decoration: none;
}


/* ========================================
   CATEGORY IMAGE
======================================== */

.home-category-item__media {
    width: 94px;
    height: 94px;

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

    overflow: hidden;

    border-radius: 50%;

    background: #ffffff;

    transition:
        background-color 220ms ease,
        transform 220ms ease;
}

.home-category-item__media img {
    width: 62%;
    height: 62%;

    display: block;

    object-fit: contain;

    transition:
        transform 350ms
        cubic-bezier(0.22, 1, 0.36, 1);
}


/* ========================================
   CATEGORY TITLE
======================================== */

.home-category-item h3 {
    width: 100%;

    margin:
        13px
        0
        0;

    color: #191919;

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

    line-height: 1.25;

    letter-spacing: -0.01em;

    text-align: center;

    text-wrap: balance;
}


/* ========================================
   CATEGORY HOVER
======================================== */

.home-category-item:hover
.home-category-item__media {
    background: #e8e8e5;

    transform: translateY(-2px);
}

.home-category-item:hover
.home-category-item__media img {
    transform: scale(1.07);
}


/* ========================================
   CATEGORY FOCUS
======================================== */

.home-category-item:focus-visible {
    outline: none;
}

.home-category-item:focus-visible
.home-category-item__media {
    outline: 2px solid #111;
    outline-offset: 3px;
}


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

@media (max-width: 820px) {

    .home-category-rail {
        gap: 20px;
    }

    .home-category-item {
        width: 96px;
        min-width: 96px;
    }

    .home-category-item__media {
        width: 88px;
        height: 88px;
    }

}


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

@media (max-width: 560px) {

    .home-category-rail {
        width: auto;

        margin-right: -12px;

        gap: 14px;

        padding-right: 12px;
    }

    .home-category-item {
        width: 82px;
        min-width: 82px;
    }

    .home-category-item__media {
        width: 76px;
        height: 76px;
    }

    .home-category-item__media img {
        width: 60%;
        height: 60%;
    }

    .home-category-item h3 {
        margin-top: 10px;

        font-size: 10.5px;

        line-height: 1.2;
    }

}
















/* ========================================
   DISCOVER
======================================== */

.home-discover {
    margin-bottom: 20px;
}

.home-discover .explore-grid-wrapper {
    width: 100%;

    margin: 0;

    padding: 0;
}


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

@media (max-width: 1000px) {

    .home-shell {
        width: calc(100% - 40px);
    }

    .home-hero {
        grid-template-columns:
            minmax(280px, 0.9fr)
            minmax(0, 1.1fr);

        gap: 22px;
    }

    .home-hero__copy,
    .home-feature {
        min-height: 420px;
        height: 420px;
    }

    .home-hero__copy h1 {
        font-size: clamp(40px, 5vw, 52px);
    }

    .home-people-grid,
    .home-store-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 700px) {

    .home-page {
        padding-top: 10px;
    }

    .home-shell {
        width: calc(100% - 24px);
    }

    .home-hero {
        display: flex;
        flex-direction: column;

        gap: 24px;
    }

    .home-hero__copy {
        min-height: 0;
        height: auto;

        padding:
            28px
            4px
            4px;
    }

    .home-hero__copy h1 {
        max-width: 520px;

        font-size: clamp(40px, 12vw, 52px);
    }

    .home-hero__copy > p {
        margin-top: 21px;

        font-size: 14px;
    }

    .home-hero__actions {
        margin-top: 26px;
    }

    .home-feature {
        width: 100%;

        height: auto;
        min-height: 0;

        aspect-ratio: 4 / 3;
    }

    .home-feature__content h2 {
        font-size: 23px;
    }

    .home-section {
        margin-top: 64px;
    }

    .home-section-head {
        margin-bottom: 20px;
    }

    .home-section-head h2 {
        font-size: 24px;
    }


    /* TV */

    .home-tv-rail {
        margin-right: -12px;

        padding-right: 12px;
    }

    .home-tv-card {
        width: 76vw;
        min-width: 76vw;
    }


    /* People */

    .home-people-grid {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .home-person {
        min-height: 82px;

        grid-template-columns:
            56px
            minmax(0, 1fr)
            auto;

        padding: 10px;
    }

    .home-person > img {
        width: 56px;
        height: 56px;
    }


    /* Stores */

    .home-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px 10px;
    }

    .home-store-card__media {
        aspect-ratio: 1 / 1;
    }

    .home-store-card__content h3 {
        font-size: 13px;
    }


    /* Categories */









}
