/* ============================================
   SECTION: Why Join ANNA — Hero ("hero bg menu" type)
   Full-height pink hero. The photo is a right-anchored
   background that bleeds up behind the navbar; the navbar is
   made transparent on this page and fades to solid white as
   soon as the page starts scrolling (body.nav-solid, set by JS).
   ============================================ */

/* Blend the menu into the hero on this page only; it fades to
   solid white the moment scrolling begins (body.nav-solid). */
.page-wja .navbar {
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.page-wja.nav-solid .navbar {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.wja-hero {
    position: relative;
    overflow: clip;
    margin-top: -76px;            /* pull the hero up behind the sticky navbar */
    padding-top: 76px;            /* keep the copy clear of the navbar */
    min-height: 820px;
    max-height: 820px;
    background: var(--color-primary-light)   /* #ffebf0 */
        url("../../../images/why-join-anna/hero.840f509011a9.png") no-repeat right bottom / auto 100%;
}

.wja-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--section-side-padding);
    min-height: calc(820px - 76px);
    display: flex;
    align-items: center;
}

/* ----- Copy (left) ----- */
.wja-hero__content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 48px 0;
}

.wja-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 0 20px;
}

.wja-hero__heading .accent-script {
    font-size: var(--text-5xl);
    line-height: 58px;
    letter-spacing: -0.03em;
    color: var(--color-primary);     /* pink accent */
}

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

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

/* ----- Responsive: photo drops below the copy ----- */
@media (max-width: 900px) {
    .wja-hero {
        min-height: 0;
        max-height: none;
        background-position: center bottom;
        background-size: 100% auto;
        padding-bottom: 90vw;
    }
    .wja-hero__inner {
        min-height: 0;
        display: block;
    }
    .wja-hero__content {
        max-width: none;
        padding: 24px 0;
    }
}

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

/* ----- Phones -----
   Centred copy. The photo keeps its full-width size and position. */
@media (max-width: 600px) {
    .wja-hero__content {
        align-items: center;
        text-align: center;
    }
}
