/* =============================================================
   HOME HERO
   ============================================================= */
.home-hero {
    padding: 0 0 5rem;
    background: #fff;
}
.home-hero__frame {
    position: relative;
    aspect-ratio: 1376 / 864;
    border-radius: 16px;
    overflow: hidden;
    background: #f2f2f2;
}
.home-hero__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-hero__play-btn {
    position: absolute;
    right: 47px;
    bottom: 26px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}
.home-hero__play-btn:hover {
    background: #fff;
    transform: scale(1.05);
}
.home-hero__play-btn svg {
    margin-left: 4px; /* optical centering of triangle */
}

/* Hero modal */
.home-hero-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}
.home-hero-modal__player {
    position: relative;
    width: min(1200px, 100%);
    aspect-ratio: 16 / 9;
}
.home-hero-modal__player iframe,
.home-hero-modal__player video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.home-hero-modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1023px) {
    .home-hero__frame { aspect-ratio: 16 / 9; }
    .home-hero__play-btn { width: 48px; height: 48px; right: 24px; bottom: 24px; }
}
@media (max-width: 767px) {
    .home-hero__frame { aspect-ratio: 4 / 3; border-radius: 12px; }
    .home-hero__play-btn { width: 44px; height: 44px; right: 16px; bottom: 16px; }
}

/* =============================================================
   HOME PAGE STYLES
   Depends on: base.css (variables), components.css (buttons)
   ============================================================= */

/* ---------------------------------------------------------------
   3. GLOVE HUB INTRO
--------------------------------------------------------------- */
.glove-hub-intro {
    padding: 5rem 0 2.5rem;
    text-align: center;
    background: var(--color-white);
}

.glove-hub-intro__title-wrap {
    position: relative;
    height: 76px;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.glove-hub-intro__title-bg {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--color-black);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.glove-hub-intro__title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-family: var(--font-heading);
    font-weight: 350;
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--color-black);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.02em;
    margin: 0;
}

.glove-hub-intro__sub {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: #101010;
    line-height: 1.4;
    margin: 0;
}

/* ---------------------------------------------------------------
   4. GLOVE YOUR VIBE
--------------------------------------------------------------- */
.glove-vibe {
    padding: 2.5rem 0 5rem;
    background: var(--color-white);
}

.glove-vibe__card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #e9e9e9;
    box-shadow: 10px 5px 35px 0 rgba(0, 0, 0, 0.25);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 775px;
}

.glove-vibe__bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.glove-vibe__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.glove-vibe__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 600px;
}

.glove-vibe__title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.375rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-black);
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.glove-vibe__text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: #6f6f6f;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
}

.glove-vibe__buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.glove-vibe__btn {
    background: var(--color-white);
    min-width: 111px;
    min-height: 48px;
    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

/* ---------------------------------------------------------------
   5. PRODUCT CATEGORIES GRID
--------------------------------------------------------------- */
.product-categories {
    padding-block: 5rem;
    background: var(--color-white);
}

.product-categories__header {
    text-align: center;
    margin-bottom: 5rem;
}

.product-categories__label {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.5rem;
    color: #101010;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.product-categories__title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.375rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #101010;
    line-height: 1.5;
}

.product-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* Category card overrides for home grid */
.product-categories__grid .category-card {
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.product-categories__grid .category-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-off-white);
}

.product-categories__grid .category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.product-categories__grid .category-card:hover .category-card__image img {
    transform: scale(1.03);
}

.product-categories__grid .category-card__title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1.875rem;
    line-height: 1.6;
    color: var(--color-black);
    text-transform: uppercase;
    min-height: 1.6em;
}

.product-categories__grid .category-card__description {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: #101010;
    line-height: 1.4;
    text-align: center;
    margin: 0;
    min-height: 2.8em;
}

.product-categories__grid .btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 216px);
    min-height: 68px;
    border-color: #142809;
    color: #101010;
    box-shadow: 6px 6px 6px rgba(123, 178, 60, 0.5);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    text-transform: none;
    letter-spacing: 0;
    margin-top: auto;
}

.product-categories__grid .btn--outline:hover {
    background: #142809;
    color: var(--color-white);
}

/* ---------------------------------------------------------------
   7. STORIES SECTION — header left, 2 cards right
--------------------------------------------------------------- */
/* =============================================================
   STORIES — "Our latest stories and views"
   ============================================================= */
.stories-section {
    padding: 5rem 0;
    background: #fff;
}
.stories-layout {
    display: grid;
    grid-template-columns: 282px 1fr;
    gap: 64px;
    align-items: start;
}
.stories-label {
    display: block;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 300;
    color: var(--color-clapley-ink, #101010);
    margin-bottom: 1rem;
}
.stories-title {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 30px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-clapley-ink, #101010);
    margin: 0;
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.story-card {
    display: flex;
    flex-direction: column;
}
.story-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.story-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.story-card__title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.story-card__title a {
    color: inherit;
    text-decoration: none;
}
.story-card__title a:hover { text-decoration: underline; }

@media (max-width: 1023px) {
    .stories-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 767px) {
    .stories-section { padding: 2.5rem 0; }
    .stories-title { font-size: 24px; }
    .stories-grid { grid-template-columns: 1fr; gap: 2rem; }
}

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

/* ------- Tablet: ≤ 768px ------- */
@media (max-width: 768px) {
    /* Glove hub intro */
    .glove-hub-intro__title-wrap {
        height: auto;
        overflow: visible;
    }

    .glove-hub-intro__title-bg {
        display: none;
    }

    .glove-hub-intro__title {
        position: static;
        transform: none;
    }

    /* Glove vibe */
    .glove-vibe__card {
        min-height: 400px;
    }

    .glove-vibe__img {
        object-position: left center;
    }

    /* Categories */
    .product-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stories layout */
    .stories-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

}

/* ------- Mobile: ≤ 480px ------- */
@media (max-width: 480px) {
    /* Glove vibe */
    .glove-vibe__content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .glove-vibe__buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Categories — single column */
    .product-categories__grid {
        grid-template-columns: 1fr;
    }

    .product-categories__grid .btn--outline {
        width: 100%;
        max-width: 216px;
    }

    /* Stories grid — single column on mobile */
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .stories-layout {
        gap: var(--spacing-sm);
    }
}

/* =============================================================
   EVERY SWING STARTS WITH YOU
   ============================================================= */
.every-swing {
    padding: 5rem 0;
    background: #fff;
}
.every-swing__grid {
    display: grid;
    grid-template-columns: 724px 1fr;
    gap: 80px;
    align-items: center;
}
.every-swing__image {
    margin-left: -36px; /* matches Figma frame 18:56 overhang */
}
.every-swing__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}
.every-swing__title {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 30px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    color: var(--color-clapley-ink, #101010);
}
.every-swing__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-clapley-ink, #101010);
    margin: 0 0 2rem;
}

@media (max-width: 1023px) {
    .every-swing__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .every-swing__image { margin-left: 0; }
}
@media (max-width: 767px) {
    .every-swing { padding: 2.5rem 0; }
    .every-swing__title { font-size: 24px; }
    .every-swing__image { margin-inline: -16px; }
    .every-swing__image img { border-radius: 0; }
}
