.hero {
    position: relative;
    margin-top: 72px;
    padding: 56px 20px 24px;
    background-color: white;
    overflow: hidden;
}

/* Mountain image fills the right side of the hero and fades into the white background */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 68%;
    background: url('../images/highline-team.png') center 30% / cover no-repeat;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%), linear-gradient(to bottom, #000 55%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 60%), linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-composite: intersect;
}

.hero-inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    margin: 0 0 24px;
    font-size: 3.4em;
    line-height: 1.1;
    color: #0f350f;
}

.hero-title .hero-accent {
    color: #8caf64;
}

.hero-subtext {
    max-width: 540px;
    margin: 0 0 32px;
    font-size: 1.2em;
    line-height: 1.5;
    color: #333333;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-button,
.hero-button:visited {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid #0f350f;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
}

.hero-button-primary,
.hero-button-primary:visited {
    background-color: #0f350f;
    color: white;
}

.hero-button-primary:hover {
    background-color: #8caf64;
    border-color: #8caf64;
}

.hero-button-secondary,
.hero-button-secondary:visited {
    background-color: transparent;
    color: #0f350f;
}

.hero-button-secondary:hover {
    background-color: #0f350f;
    color: white;
}

@media screen and (min-width: 1500px) {
    .hero::before {
        background-image: url('../images/highline-team.png');
    }
}

@media screen and (max-width: 729px) {
    .hero {
        padding: 36px 16px 16px;
    }

    .hero::before {
        width: 100%;
        opacity: 0.3;
    }

    .hero-title {
        font-size: 2.1em;
    }

    .hero-subtext {
        font-size: 1.05em;
    }
}
