/* ============================================
   SECTION: Our Approach — Hero
   Two-column layout (text + photo) capped at the
   site container width. Decorative pink swirl bleeds
   behind the photo. Mobile-first; stacks under 900px.
   Colors/spacing pulled from the base.css design tokens.
   ============================================ */

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

.approach-hero__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 468px) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

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

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

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

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

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

/* ----- Right: photo + decorative swirl ----- */
.approach-hero__media {
    position: relative;
    justify-self: end;
}

.approach-hero__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 768px;
    height: auto;
    border-radius: var(--radius-lg);
}

/* Pink brushstroke ribbon that arcs across the top, behind the photo */
.approach-hero__swirl {
    position: absolute;
    z-index: 0;
    top: -149px;
    right: 0;
    width: 117%;
    height: 100%;
    background: url("../../../images/approach/approach-hero-swirl.c418dbbc07fb.png") no-repeat top right / contain;
    pointer-events: none;
}

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

@media (max-width: 768px) {
    .approach-hero__heading,
    .approach-hero__heading .accent-script {
        font-size: var(--text-3xl);
        line-height: 1.15;
    }
    .approach-hero__swirl {
        width: 100%;
        top: -24px;
        right: -16px;
    }
}

/* ----- Phones -----
   Centred, text-only hero: the photo gives way to the pink ribbon arcing
   across the bottom edge, and the CTA fills the column. The page's own
   photo section further down still carries the imagery. */
@media (max-width: 600px) {
    .approach-hero {
        position: relative;
        padding: 64px var(--section-side-padding) 0;
        border-bottom: 1px solid var(--color-surface-line-soft);
    }

    .approach-hero__inner {
        gap: 0;
    }

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

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

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

    .approach-hero__actions,
    .approach-hero__actions .btn {
        width: 100%;
    }

    /* Design gives the CTA a little more air than the 20px stack gap */
    .approach-hero__actions {
        margin-top: 12px;
    }

    .approach-hero__photo {
        display: none;
    }

    /* Media box becomes the strip the ribbon sweeps through; flipped so the
       arc bows upward instead of dipping. */
    .approach-hero__media {
        position: relative;
        height: 44px;
        margin-top: 20px;
        overflow: hidden;
        rotate: 180deg;
    }

    /* Crop into the middle of the ribbon rather than fitting the whole
       S-curve, so a single shallow arc spans the strip and is clipped by
       the section's bottom edge. */
    .approach-hero__swirl {
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: 170% auto;
        background-position: 38% bottom;
    }
}
