/**
 * Hero — live home header (clearwaterconservationrevival.com, 1440px): 743px
 * tall including the 100px menu laid over it; here the menu is a solid bar,
 * so the photo band is 620px. Wash: rgba(52,81,113,.35) at the top to
 * #151f33 at the bottom. Headline Open Sans 600 26px/44px uppercase, 0.4em
 * tracking, white, centred in ~700px. The tab: 480 x 84px #8ddaec, top
 * corners 10px, Open Sans 600 15px uppercase with 3px tracking.
 */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 620px;
    padding: 80px 0 140px;
    overflow: hidden;
    background: var(--ccr-ink, #151f33);
    isolation: isolate;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(52, 81, 113, 0.35) 0%, rgba(52, 81, 113, 0.55) 45%, rgba(21, 31, 51, 0.95) 100%);
}

.hero-inner { width: 80%; max-width: 720px; margin-inline: auto; text-align: center; }

.hero-title {
    margin: 0;
    font-family: var(--font-display, "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
    font-weight: 600;
    font-size: 26px;
    line-height: 44px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero-button {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 480px;
    max-width: 100%;
    height: 84px;
    border-radius: 10px 10px 0 0;
    background: var(--ccr-accent, #8ddaec);
    color: var(--primary, #345171);
    font-family: var(--font-paragraph, "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease;
}

.hero-button:hover,
.hero-button:focus-visible { background: var(--secondary-hover, #6fcde3); color: var(--primary, #345171); }
.hero-button:focus-visible { outline: 3px solid #ffffff; outline-offset: -6px; }

@media (max-width: 767px) {
    .hero { min-height: 480px; padding: 60px 0 110px; }
    .hero-inner { width: 88%; }
    .hero-title { font-size: 18px; line-height: 32px; letter-spacing: 0.25em; }
    .hero-button { width: 78%; height: 64px; }
}
