/* ==========================================================
   Home page refinements (executive committee feedback)
   ========================================================== */

/* Cover: text sits higher and the overlay is lighter, so the
   properties in the video show through below and to the right. */
.hero-home {
    align-items: flex-start;
    min-height: min(640px, calc(100vh - var(--header-height)));
}

.hero-home .hero-content {
    padding-block: clamp(40px, 5vw, 72px) clamp(120px, 14vw, 200px);
}

.hero-home .hero-overlay {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--color-ink) 62%, transparent) 0%,
            color-mix(in srgb, var(--color-ink) 30%, transparent) 50%,
            transparent 85%
        ),
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--color-ink) 45%, transparent) 0%,
            transparent 65%
        );
}

.hero-home h1,
.hero-home .lead {
    text-shadow: 0 2px 18px rgb(0 0 0 / 35%);
}

/* Stat band: brand blue instead of black. */
.stat-band.section-dark {
    background: var(--color-accent);
}

.stat-band .stat-icon {
    color: var(--color-white);
}

.stat-band .stat-value {
    font-variant-numeric: tabular-nums;
}

.stat-band .stat-label {
    color: color-mix(in srgb, var(--color-white) 88%, transparent);
}

.stat-band .stat-feature {
    border-left-color: color-mix(in srgb, var(--color-white) 30%, transparent);
}

@media (max-width: 640px) {
    .hero-home .hero-content {
        padding-block: 56px 140px;
    }
}
