/* ── About intro ────────────────────────────────────────────
   Figma: desktop 1840:10143 — the words and three figures beside
   the photo; mobile 2322:3636 — the photo first.
   ─────────────────────────────────────────────────────────── */

.about-intro {
    padding: var(--pad-y) var(--pad-x);
}

.about-intro__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.about-intro__words {
    display: flex;
    flex: 0 1 574px;
    flex-direction: column;
    gap: 20px;
}

.about-intro__title {
    font-size: 45px;
    font-weight: 600;
    line-height: 48px;
    text-transform: capitalize;
}

.about-intro__text {
    line-height: 20.8px;
}

.about-intro__text > * + * {
    margin-top: 20.8px;
}

.about-intro__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    gap: 30px;
}

.about-intro__stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.about-intro__stat dt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-intro__figure {
    font-family: var(--font-heading);
    font-size: 45px;
    font-weight: 600;
    line-height: 48px;
}

.about-intro__unit {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 20px;
}

.about-intro__stat dd {
    margin: 0;
    line-height: 20.8px;
}

.about-intro__image {
    flex: 0 1 664px;
    min-width: 0;
    height: 443px;
    border-radius: 3px;
    box-shadow: 0 0 12px rgb(0 0 0 / 0.12);
    object-fit: cover;
}

/* ── Tablet and mobile: the photo, then the words ───────────── */
@media (max-width: 1024px) {
    .about-intro__inner {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 25px;
    }

    .about-intro__words,
    .about-intro__image {
        flex: none;
    }

    .about-intro__image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .about-intro__title {
        font-size: 32px;
        line-height: 36px;
    }
}

@media (max-width: 767px) {
    .about-intro__words {
        gap: 25px;
    }

    .about-intro__title {
        font-size: 28px;
        line-height: 36px;
    }

    .about-intro__text {
        margin-top: -5px; /* 20px under the heading, 25px over the figures */
    }

    .about-intro__stats {
        gap: 12px;
    }

    .about-intro__stat {
        gap: 4px;
        padding: 0;
    }

    .about-intro__figure {
        font-size: 26px;
        font-weight: 500;
        line-height: 30px;
    }

    .about-intro__unit,
    .about-intro__stat dd {
        font-size: 12px;
        line-height: 16px;
    }
}
