/* Brooklands hero */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 740px;
    align-items: center;
    overflow: hidden;
    background: #000;
    color: #fff;
    text-align: left;
}

/* Photograph positioned on the right */

.hero__image {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    display: block;
    width: 76%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
}

/* Solid black on the left, fading towards the right */

.hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        #000 0%,
        #000 22%,
        rgb(0 0 0 / 96%) 32%,
        rgb(0 0 0 / 78%) 43%,
        rgb(0 0 0 / 40%) 57%,
        rgb(0 0 0 / 10%) 72%,
        transparent 88%
    );
}

.hero::after {
    content: none;
}

/* Full-width content container */

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 100px clamp(28px, 5vw, 96px);
    text-align: left;
}

.hero__content {
    width: 100%;
    max-width: 620px;
    margin: 0;
    text-align: left;
}

.hero h1 {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(54px, 5.2vw, 88px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-align: left;
}

.hero__description {
    max-width: 460px;
    margin: 28px 0 0;
    color: #d0d0d0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
    text-align: left;
    text-wrap: pretty;
}

.hero__button {
    min-height: 54px;
    margin-top: 34px;
    padding: 16px 30px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1199px) {
    .hero {
        min-height: 660px;
    }

    .hero__inner {
        padding: 80px 40px;
    }

    .hero__content {
        max-width: 530px;
    }

    .hero h1 {
        font-size: 66px;
    }

    .hero__description {
        max-width: 410px;
        font-size: 17px;
    }

    .hero__image {
        width: 85%;
    }

    .hero::before {
        background: linear-gradient(
            to right,
            #000 0%,
            rgb(0 0 0 / 97%) 24%,
            rgb(0 0 0 / 82%) 40%,
            rgb(0 0 0 / 40%) 65%,
            rgb(0 0 0 / 10%) 100%
        );
    }
}

/* Mobile */

@media (max-width: 767px) {
    .hero {
        min-height: 600px;
    }

    .hero__inner {
        padding: 64px 24px 72px;
    }

    .hero__content {
        max-width: 480px;
    }

    .hero h1 {
        font-size: clamp(46px, 8.5vw, 62px);
        line-height: 1.1;
    }

    .hero__description {
        max-width: 380px;
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.8;
    }

    .hero__button {
        min-height: 54px;
        margin-top: 30px;
        padding-inline: 26px;
    }

    .hero__image {
        width: 100%;
        object-position: right center;
    }

    .hero::before {
        background: linear-gradient(
            to right,
            rgb(0 0 0 / 97%) 0%,
            rgb(0 0 0 / 90%) 30%,
            rgb(0 0 0 / 74%) 65%,
            rgb(0 0 0 / 48%) 100%
        );
    }
}

/* Narrow phones */

@media (max-width: 359px) {
    .hero__inner {
        padding-inline: 20px;
    }

    .hero h1 {
        font-size: 42px;
    }
}