.background-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: calc(100vh - var(--hero-header-height, 148px));
    min-height: calc(100dvh - var(--hero-header-height, 148px));
    padding-block: 72px 116px;
    overflow: hidden;
    background: var(--feature-bg);
    color: var(--feature-ink);
}
.background-hero-image,
.background-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.background-hero-image { z-index: -2; }
.background-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}
.background-hero::before {
    content: '';
    z-index: -1;
    /* Reveal more of the painting at the edges; retain contrast behind the copy. */
    background: linear-gradient(90deg,
        rgb(24 38 49 / 54%),
        rgb(24 38 49 / 67%) 28%,
        rgb(24 38 49 / 67%) 72%,
        rgb(24 38 49 / 54%));
}
.background-hero-copy {
    max-width: 1000px;
    text-align: center;
}
.background-hero-copy h1 {
    font-size:clamp(4.75rem, 7.65vw, 7.625rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    margin-bottom: 26px;
    overflow-wrap: anywhere;
}
.background-hero-intro {
    max-width: 600px;
    margin: 0 auto 34px;
    font-size:var(--text-body);
    line-height: 1.85;
}
.background-hero-copy .button {
    max-width: 100%;
    background: var(--feature-ink);
    border-color: var(--feature-ink);
    color: var(--feature-bg);
}
.background-hero-copy .button:hover { background: white; border-color: white; }
.background-hero-copy a:focus-visible { outline-color: var(--feature-ink); }
.background-hero-scroll {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: var(--feature-ink);
    opacity: .75;
    transition: opacity .2s;
}
.background-hero-scroll svg { width: 40px; height: 40px; }
.background-hero-scroll:hover,
.background-hero-scroll:focus-visible { opacity: 1; }
.background-hero-scroll:focus-visible { outline-color: var(--feature-ink); }
.background-hero + .selected-works { padding-top: 72px; }
@media (max-width: 1200px) {
    .background-hero::before {
        background: linear-gradient(90deg,
            rgb(24 38 49 / 54%),
            rgb(24 38 49 / 67%) 6%,
            rgb(24 38 49 / 67%) 94%,
            rgb(24 38 49 / 54%));
    }
}
@media (max-width: 799px) {
    .background-hero { padding-block: 60px 110px; }
    .background-hero-copy h1 { font-size:clamp(2.8125rem, 11.7vw, 4.75rem); margin-bottom: 24px; }
    .background-hero-intro { max-width: 36ch; font-size:var(--text-body); line-height: 1.8; margin-bottom: 28px; }
    .background-hero + .selected-works { padding-top: 52px; }
}

/* Keep the stored line breaks when the native text editor edits the headline. */
.background-hero-copy h1 { white-space: pre-line; }
