/* ============================================
   SECTION: Why Join ANNA — How We Work
   Header + 2-col alternating value/photo cards, then a 3-col
   row of smaller value cards with decorative corner swirls.
   ============================================ */

.hww {
    padding: 72px var(--section-side-padding) 100px;
    background: var(--color-white);
    overflow: hidden;
}

.hww__inner {
    max-width: var(--container-max);
    margin-inline: auto;
}

/* ----- Header ----- */
.hww__head {
    max-width: 450px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hww__head .eyebrow {
    margin: 0;
}

.hww__title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: var(--font-weight-normal);
    line-height: 50px;
    letter-spacing: -1px;
    color: var(--color-text-heading);
    margin: 0;
}
.hww__title .accent-script {
    letter-spacing: -0.03em;
    color: var(--color-primary);
}

/* ----- Grids ----- */
.hww__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hww__grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* ----- Card base ----- */
.hww-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* Text card: icon sits top-left as a background, copy pinned to the bottom */
.hww-card--text {
    min-height: 390px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.hww-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hww-card__title {
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    line-height: 32px;
    color: var(--color-text-heading);
    margin: 0;
}

.hww-card__desc {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    line-height: 26px;
    color: var(--color-text-body);
    margin: 0;
}

/* Photo card: image covers the card */
.hww-card--photo {
    min-height: 390px;
    background: var(--color-white);
}
.hww-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Colours + top-left icon backgrounds ----- */
.hww-card--blue {
    background: #ddf5ff url("../../../images/decorative/award.a62c59d7ef4c.svg") no-repeat;
    background-position: 19px 0px;
}
.hww-card--cream {
    background: #fdf7e9 url("../../../images/decorative/gold-heart.e403c94a29bc.png") no-repeat;
}
.hww-card--purple {
    background: #f6eaff url("../../../images/decorative/users-purple.c6a1bf93610c.png") no-repeat 24px 0px;
}
.hww-card--green {
    background: #daf6e9 url("../../../images/decorative/star-big.eb1a366c3d49.png") no-repeat right top;
}
.hww-card--peach {
    background: #ffefdd url("../../../images/decorative/rocket-gold.94b8d8aa9ab8.png") no-repeat right top;
}
.hww-card--pink {
    background: #ffebf0 url("../../../images/decorative/blocks-pink.7cbd20c15c47.png") no-repeat right top;
}

/* ----- Small cards ----- */
.hww-card--sm {
    min-height: 300px;
    padding: 24px;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .hww__grid {
        grid-template-columns: 1fr;
    }
    .hww-card--text,
    .hww-card--photo {
        min-height: 300px;
    }
    /* keep each photo directly above/below its paired text card in order */
}

@media (max-width: 760px) {
    .hww__grid3 {
        grid-template-columns: 1fr;
    }
    .hww {
        padding: 56px var(--section-side-padding) 64px;
    }
}
