/* ============================================
   SECTION: Neuroaffirming — Hero
   Two-column layout (copy left, photo right) capped at
   the site container width. The decorative swirl is
   baked into the photo. Stacks under 900px.
   ============================================ */

.neuro-hero {
    padding: 36px var(--section-side-padding) 80px;
    background: var(--color-white);
    overflow: hidden;
}

.neuro-hero__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 483px) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    border-bottom: 2px solid var(--color-surface-line-soft);
}

/* ----- Left: copy ----- */
.neuro-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.neuro-hero__heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-normal);
    line-height: 58px;
    letter-spacing: -2px;
    color: var(--color-text-heading);
    margin: 0;
}

.neuro-hero__heading .accent-script {
    font-size: var(--text-5xl);
    line-height: 58px;
}

.neuro-hero__lede {
    font-size: var(--text-md);
    font-weight: var(--font-weight-medium);
    line-height: 28px;
    color: var(--color-text-heading);
    margin: 0;
}

.neuro-hero__actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

/* ----- Right: photo (swirl baked in) ----- */
.neuro-hero__media {
    justify-self: end;
}

.neuro-hero__photo {
    width: 100%;
    max-width: 737px;
    height: auto;
    display: block;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .neuro-hero {
        padding: 24px var(--section-side-padding) 56px;
    }
    .neuro-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .neuro-hero__media {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .neuro-hero__heading,
    .neuro-hero__heading .accent-script {
        font-size: var(--text-3xl);
        line-height: 1.15;
    }
}

/* ----- Phones -----
   Centred, text-only hero: the photo gives way to a gold brush mark across
   the bottom, matching the Our Approach hero on the sibling page. */
@media (max-width: 600px) {
    .neuro-hero {
        padding: 40px var(--section-side-padding) 0;
    }

    .neuro-hero__inner {
        gap: 0;
        border-bottom: none;
    }

    .neuro-hero__content {
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .neuro-hero__heading,
    .neuro-hero__heading .accent-script {
        font-size: 36px;
        line-height: 36px;
        letter-spacing: -1.8px;
    }

    .neuro-hero__lede {
        font-size: 16px;
        line-height: 24px;
    }

    .neuro-hero__photo {
        display: none;
    }

    /* Media box becomes the strip the brush mark sweeps through. The mark is
       drawn at its natural size from the top-left, so the strip height is
       what crops it. */
    .neuro-hero__media {
        justify-self: stretch;
        position: relative;
        height: 93px;
        background-image: url("../../../images/decorative/gold-swirl-6-2.2f8c97dd6c24.svg");
        background-repeat: no-repeat;
    }
}
