:root {
    --gs-gold: #d2a24d;
    --gs-gold-dark: #9a6b22;
    --gs-white: #f7f4ee;
    --gs-max-width: 1240px;
}

.gs-hero,
.gs-hero * {
    box-sizing: border-box;
}

.gs-hero {
    position: relative;
    /* isolation: isolate; */
    width: 100vw;
    min-height: var(--gs-hero-min-height, 680px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    color: var(--gs-white);
    background-color: #050505;
    background-image: var(--gs-hero-background);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.gs-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .87) 32%, rgba(0, 0, 0, .58) 52%, rgba(0, 0, 0, .12) 76%, rgba(0, 0, 0, .03) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .3));
}

.gs-hero__inner {
    width: min(100%, var(--gs-max-width));
    min-height: inherit;
    margin: 0 auto;
    padding: clamp(72px, 8vw, 112px) clamp(24px, 5vw, 72px);
    display: flex;
    align-items: center;
}

.gs-hero__content {
    width: min(100%, 640px);
}

.gs-hero__eyebrow {
    margin: 0 0 20px;
    color: var(--gs-gold);
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .01em;
}

.gs-hero__title {
    max-width: 17ch;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5.1vw, 59px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.030em;
    text-wrap: balance;
}

.gs-hero__title::first-line {
    color: #fff;
}

.gs-hero__title {
    background: linear-gradient(180deg, #fff 0 44%, var(--gs-gold) 61% 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gs-hero__subtitle {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.5;
}

.gs-hero__benefit {
    display: inline-grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(210, 162, 77, .45);
}

.gs-hero__benefit-icon {
    display: grid;
    place-items: center;
    /* width: 55px; */
    height: 52px;
    /* border: 1px solid var(--gs-gold); */
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, .25);
}

.gs-hero__benefit-icon img {
    display: block;
    /* width: 50px; */
    height: 37px;
    object-fit: contain;
}

.gs-hero__benefit-text {
    display: grid;
    gap: 3px;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
}

.gs-hero__benefit-text strong {
    font-weight: 700;
}

.gs-hero__benefit-text span {
    color: rgba(255, 255, 255, .9);
}

.gs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.gs-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 52px;
    padding: 14px 26px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.gs-hero__cta--primary {
    border: 1px solid var(--gs-gold);
    color: #1d1509;
    background: linear-gradient(180deg, #e2b967, #c89238);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.gs-hero__cta--secondary {
    border: 1px solid var(--gs-gold);
    color: #fff;
    background: rgba(0, 0, 0, .38);
}

.gs-hero__cta:hover,
.gs-hero__cta:focus-visible {
    transform: translateY(-2px);
}

.gs-hero__cta--primary:hover,
.gs-hero__cta--primary:focus-visible {
    color: #140d03;
    background: linear-gradient(180deg, #ecc77b, #d59b3b);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}

.gs-hero__cta--secondary:hover,
.gs-hero__cta--secondary:focus-visible {
    color: var(--gs-gold);
    background: rgba(0, 0, 0, .62);
}

.gs-hero__cta:focus-visible {
    outline: 3px solid rgba(210, 162, 77, .34);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .gs-hero {
        background-position: 65% center;
    }

    .gs-hero::before {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .88) 46%, rgba(0, 0, 0, .42) 74%, rgba(0, 0, 0, .16) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .28));
    }

    .gs-hero__content {
        width: min(100%, 560px);
    }
}

@media (max-width: 700px) {
    .gs-hero {
        min-height: 680px;
        background-position: 68% center;
    }

    .gs-hero::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .74) 42%, rgba(0, 0, 0, .96) 100%);
    }

    .gs-hero__inner {
        align-items: flex-end;
        padding: 250px 18px 42px;
    }

    .gs-hero__content {
        width: 100%;
    }

    .gs-hero__title {
        max-width: 100%;
        font-size: clamp(40px, 10vw, 58px);
    }

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

    .gs-hero__cta {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .gs-hero {
        min-height: 640px;
        background-position: 72% center;
    }

    .gs-hero__inner {
        padding: 220px 14px 28px;
    }

    .gs-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .gs-hero__title {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.02;
    }

    .gs-hero__subtitle {
        margin-top: 18px;
        font-size: 16px;
    }

    .gs-hero__benefit {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        margin-top: 22px;
        padding-top: 17px;
    }

    .gs-hero__benefit-icon {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .gs-hero__benefit-text {
        font-size: 15px;
    }

    .gs-hero__actions {
        gap: 12px;
        margin-top: 26px;
    }

    .gs-hero__cta {
        min-height: 50px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-hero__cta {
        transition: none;
    }
}


/* Mobile refinement */
@media (max-width: 700px) {
    .gs-hero {
        width: 100%;
        min-height: auto;
        margin-left: 0;
        margin-right: 0;
        background-position: 72% top;
    }

    .gs-hero__inner {
        min-height: 710px;
        padding: 29px 18px 61px;
        background: #00000080;
    }

    .gs-hero__content {
        max-width: 100%;
    }

    .gs-hero__eyebrow,
    .gs-hero__title,
    .gs-hero__subtitle,
    .gs-hero__benefit-text {
        overflow-wrap: anywhere;
    }

    .gs-hero__title {
        font-size: clamp(34px, 10.5vw, 48px);
        line-height: 1.04;
    }

    .gs-hero__subtitle {
        font-size: 16px;
        line-height: 1.55;
    }

    .gs-hero__benefit {
        width: 100%;
    }

    .gs-hero__actions {
        width: 100%;
        gap: 10px;
    }

    .gs-hero__cta {
        min-width: 0;
        min-height: 52px;
        padding: 14px 18px;
    }
}

@media (max-width: 390px) {
    .gs-hero__inner {
        min-height: 625px;
    }

    .gs-hero__title {
        font-size: 32px;
    }

    .gs-hero__benefit {
        grid-template-columns: 36px minmax(0, 1fr);
    }
}
