/*
 * Grumps Homepage Successor V1
 * PRIVATE PREVIEW.
 *
 * Brand doctrine:
 * - real Grumps logo remains header/footer only;
 * - page body uses editorial display typography;
 * - no invented logo / faux wordmark.
 */

:root {
    --gg-home-red: #a51f1e;
    --gg-home-red-bright: #c72a26;
    --gg-home-red-dark: #761311;

    --gg-home-black: #11100e;
    --gg-home-charcoal: #211d19;

    --gg-home-cream: #f2dfc3;
    --gg-home-cream-soft: #e8d7bd;

    --gg-home-display:
        "Roboto Slab",
        Rockwell,
        "Rockwell Extra Bold",
        "Bookman Old Style",
        Georgia,
        serif;

    --gg-home-utility:
        "Oswald",
        "Arial Narrow",
        "Roboto Condensed",
        "Helvetica Neue Condensed",
        Arial,
        sans-serif;
}


body.gg-home-v1-preview {
    background: #11100e;
}


.gg-home-v1 {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #11100e;
    color: #fff;
}


.gg-home-v1__panel {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: stretch;

    width: 100%;

    min-height:
        clamp(
            520px,
            56.25vw,
            720px
        );

    overflow: hidden;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.gg-home-v1__panel--parts {
    background-image:
        url(
            "https://grumpsgarage.com/wp-content/uploads/2022/04/front-page-background_grumps-garage-1_1280x720x300dpi.png"
        );
}


.gg-home-v1__panel--music {
    background-image:
        url(
            "https://grumpsgarage.com/wp-content/uploads/2022/04/front-page-background_grumps-garage-2_1280x720x300dpi.png"
        );
}


.gg-home-v1__panel--collectibles {
    background-image:
        url(
            "https://grumpsgarage.com/wp-content/uploads/2022/04/front-page-background_grumps-garage-3_1280x720x300dpi.png"
        );
}


.gg-home-v1__scrim {
    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 7, 6, 0.93) 0%,
            rgba(8, 7, 6, 0.77) 28%,
            rgba(8, 7, 6, 0.46) 50%,
            rgba(8, 7, 6, 0.14) 76%,
            rgba(8, 7, 6, 0.05) 100%
        );
}


.gg-home-v1__panel--music
.gg-home-v1__scrim {
    background:
        linear-gradient(
            270deg,
            rgba(8, 7, 6, 0.92) 0%,
            rgba(8, 7, 6, 0.75) 28%,
            rgba(8, 7, 6, 0.42) 52%,
            rgba(8, 7, 6, 0.12) 77%,
            rgba(8, 7, 6, 0.04) 100%
        );
}


.gg-home-v1__inner {
    display: flex;
    align-items: flex-end;

    width:
        min(
            1160px,
            calc(100% - 56px)
        );

    margin: 0 auto;

    padding:
        clamp(72px, 9vw, 116px)
        0
        clamp(54px, 7vw, 84px);
}


.gg-home-v1__inner--right {
    justify-content: flex-end;
}


.gg-home-v1__content {
    width:
        min(
            680px,
            72%
        );
}


.gg-home-v1__inner--right
.gg-home-v1__content {
    text-align: right;
}


.gg-home-v1__eyebrow {
    display: inline-flex;

    margin:
        0
        0
        14px;

    padding:
        5px
        10px
        6px;

    border-left:
        3px solid
        var(--gg-home-red-bright);

    background:
        rgba(
            10,
            9,
            8,
            0.72
        );

    color:
        var(--gg-home-cream-soft);

    font-family:
        var(--gg-home-utility);

    font-size:
        clamp(
            0.86rem,
            1.2vw,
            1rem
        );

    font-weight: 600;

    line-height: 1.15;

    letter-spacing:
        0.10em;

    text-transform: uppercase;
}


.gg-home-v1__inner--right
.gg-home-v1__eyebrow {
    border-left: 0;

    border-right:
        3px solid
        var(--gg-home-red-bright);
}


.gg-home-v1__title {
    max-width: 12em;

    margin: 0;

    color:
        #f8eddd;

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

    font-size:
        clamp(
            2.65rem,
            5.4vw,
            5.25rem
        );

    font-weight: 800;

    line-height: 0.98;

    letter-spacing:
        -0.035em;

    text-wrap: balance;

    text-shadow:
        0 2px 0
        rgba(
            112,
            22,
            20,
            0.92
        ),
        0 5px 0
        rgba(
            20,
            15,
            12,
            0.72
        ),
        0 12px 30px
        rgba(
            0,
            0,
            0,
            0.58
        );
}


.gg-home-v1__inner--right
.gg-home-v1__title {
    margin-left: auto;
}


.gg-home-v1__deck {
    max-width: 42rem;

    margin:
        18px
        0
        0;

    color:
        #f3e8d7;

    font-size:
        clamp(
            1rem,
            1.45vw,
            1.2rem
        );

    font-weight: 500;

    line-height: 1.52;

    text-shadow:
        0 2px 10px
        rgba(
            0,
            0,
            0,
            0.74
        );
}


.gg-home-v1__inner--right
.gg-home-v1__deck {
    margin-left: auto;
}


.gg-home-v1__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top:
        clamp(
            25px,
            4vw,
            36px
        );
}


.gg-home-v1__inner--right
.gg-home-v1__actions {
    justify-content: flex-end;
}


/*
 * VINTAGE ENAMEL CTA
 *
 * Texture is deliberately restrained:
 * gleam + tiny tonal wear rather than a grunge overlay.
 */
.gg-home-v1__button {
    position: relative;

    display: inline-flex;

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

    gap: 12px;

    min-height: 52px;

    padding:
        13px
        21px
        14px;

    overflow: hidden;

    border:
        2px solid
        var(--gg-home-cream);

    border-radius: 4px;

    color: #fff !important;

    font-family:
        var(--gg-home-utility);

    font-size:
        clamp(
            0.92rem,
            1.2vw,
            1.02rem
        );

    font-weight: 700;

    line-height: 1;

    letter-spacing:
        0.045em;

    text-decoration: none !important;

    text-transform: uppercase;

    text-shadow:
        0 1px 1px
        rgba(
            0,
            0,
            0,
            0.5
        );

    box-shadow:
        inset
        0 1px 0
        rgba(
            255,
            255,
            255,
            0.30
        ),
        inset
        0 -8px 14px
        rgba(
            0,
            0,
            0,
            0.18
        ),
        0 6px 18px
        rgba(
            0,
            0,
            0,
            0.34
        );

    transition:
        transform 130ms ease,
        border-color 130ms ease,
        box-shadow 130ms ease,
        filter 130ms ease;
}


.gg-home-v1__button--primary {
    background:
        radial-gradient(
            circle at 16% 24%,
            rgba(
                255,
                255,
                255,
                0.14
            )
            0 1px,
            transparent 1.7px
        ),
        radial-gradient(
            circle at 71% 74%,
            rgba(
                255,
                230,
                205,
                0.09
            )
            0 1px,
            transparent 1.6px
        ),
        linear-gradient(
            180deg,
            #c82a26 0%,
            #a51f1e 52%,
            #7b1513 100%
        );
}


.gg-home-v1__button--secondary {
    background:
        radial-gradient(
            circle at 19% 27%,
            rgba(
                255,
                255,
                255,
                0.11
            )
            0 1px,
            transparent 1.6px
        ),
        radial-gradient(
            circle at 75% 67%,
            rgba(
                255,
                230,
                205,
                0.07
            )
            0 1px,
            transparent 1.6px
        ),
        linear-gradient(
            180deg,
            #25211d 0%,
            #151311 55%,
            #090807 100%
        );
}


.gg-home-v1__button::before {
    content: "";

    position: absolute;

    inset:
        2px
        3px
        auto
        3px;

    height: 34%;

    border-radius: 2px;

    background:
        linear-gradient(
            180deg,
            rgba(
                255,
                255,
                255,
                0.12
            ),
            transparent
        );

    pointer-events: none;
}


.gg-home-v1__button:hover {
    border-color: #fff1dd;

    filter:
        brightness(1.08);

    box-shadow:
        inset
        0 1px 0
        rgba(
            255,
            255,
            255,
            0.38
        ),
        inset
        0 -8px 14px
        rgba(
            0,
            0,
            0,
            0.16
        ),
        0 8px 22px
        rgba(
            0,
            0,
            0,
            0.40
        );
}


.gg-home-v1__button:active {
    transform:
        translateY(1px);
}


.gg-home-v1__button:focus-visible {
    outline:
        4px solid
        #fff;

    outline-offset:
        4px;
}


.gg-home-v1__arrow {
    position: relative;

    top: -1px;

    font-family: Arial, sans-serif;

    font-size: 1.55em;

    font-weight: 400;

    line-height: 0.7;
}


@media (max-width: 800px) {

    .gg-home-v1__panel {
        min-height: 540px;

        background-position:
            center center;
    }


    .gg-home-v1__scrim,
    .gg-home-v1__panel--music
    .gg-home-v1__scrim {
        background:
            linear-gradient(
                180deg,
                rgba(
                    8,
                    7,
                    6,
                    0.16
                )
                0%,
                rgba(
                    8,
                    7,
                    6,
                    0.36
                )
                38%,
                rgba(
                    8,
                    7,
                    6,
                    0.88
                )
                72%,
                rgba(
                    8,
                    7,
                    6,
                    0.97
                )
                100%
            );
    }


    .gg-home-v1__inner,
    .gg-home-v1__inner--right {
        align-items: flex-end;

        justify-content:
            flex-start;

        width:
            min(
                100% - 28px,
                1160px
            );

        padding:
            48px
            0
            28px;
    }


    .gg-home-v1__content,
    .gg-home-v1__inner--right
    .gg-home-v1__content {
        width: 100%;

        text-align: left;
    }


    .gg-home-v1__inner--right
    .gg-home-v1__title,

    .gg-home-v1__inner--right
    .gg-home-v1__deck {
        margin-left: 0;
    }


    .gg-home-v1__inner--right
    .gg-home-v1__eyebrow {
        border-right: 0;

        border-left:
            3px solid
            var(--gg-home-red-bright);
    }


    .gg-home-v1__inner--right
    .gg-home-v1__actions {
        justify-content:
            flex-start;
    }


    .gg-home-v1__actions {
        display: grid;

        grid-template-columns:
            1fr;

        width: 100%;

        max-width: 420px;
    }


    .gg-home-v1__button {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .gg-home-v1__panel {
        min-height: 510px;
    }


    .gg-home-v1__title {
        font-size:
            clamp(
                2.25rem,
                11vw,
                3.45rem
            );
    }


    .gg-home-v1__deck {
        font-size: 1rem;
    }
}


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

    .gg-home-v1__button {
        transition: none;
    }
}
