/* ── hero.css ───────────────────────────────────────────
   Module: nf--hero
   ──────────────────────────────────────────────────────── */

.nf--hero {
    background-color: var(--black);
    padding: var(--spacing9) var(--grid-outer-margin, var(--spacing8));
    display: flex;
    align-items: center;
}

.nf--hero__grid {
    display: flex;
    align-items: center;
    gap: var(--spacing8);
    width: calc(var(--grid-column-width) * 12 + var(--grid-gap) * 11);
    margin: 0 auto;
}

.nf--hero__copy {
    flex: 0 0 44%;
}

.nf--hero__topic {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 2rem;
}

.nf--hero__heading {
    font-size: clamp(2.9rem, 3.8vw, 5.1rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--white);
    margin: 0 0 2.8rem;
}

.nf--hero__copy > p:not(.nf--hero__topic) {
    color: var(--white);
    font-size: clamp(1.2rem, 1.0vw, 1.5rem);
    font-weight: 500;
    margin: 0 0 3.6rem;
    max-width: 44ch;
}

.nf--hero__copy .nf--check-list li {
    color: var(--white);
    font-weight: 500;
}

.nf--hero__art {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32rem;
}

.nf--hero__art svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 var(--spacing3) var(--spacing6) rgba(0, 0, 0, 0.45));
}

/* ── Centered variant ───────────────────────────────────
   Heading + sub + CTAs centered, illustration full-width below.
   ──────────────────────────────────────────────────────── */
.nf--hero--centered .nf--hero__grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nf--hero--centered .nf--hero__copy {
    flex: 0 0 auto;
    max-width: 70ch;
}

.nf--hero--centered .nf--hero__heading {
    font-size: clamp(3.2rem, 4.5vw, 5.8rem);
    margin-left: auto;
    margin-right: auto;
}

.nf--hero--centered .nf--hero__copy > p:not(.nf--hero__topic) {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.nf--hero--centered .nf--hero__art {
    flex: 0 0 auto;
    width: 100%;
    margin-top: var(--spacing7);
    min-height: 0;
}

/* Fallback width for viewports where ATOSS grid vars aren't defined (900–1136px) */
@media (max-width: 1136px) {
    .nf--hero__grid {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .nf--hero {
        padding: var(--spacing6) var(--spacing4);
    }

    .nf--hero__grid {
        flex-direction: column;
    }

    .nf--hero__copy {
        flex: 0 0 auto;
    }

    .nf--hero__art {
        min-height: 0;
        width: 100%;
    }
}
