/* ── Text and picture ────────────────────────────────────────
   Figma: Sustainability 1366:93139; Careers 1529:18666,
   1529:18671; Vacancies 1529:18949.
   ─────────────────────────────────────────────────────────── */

.text-picture {
    padding: 64px var(--pad-x);
}

.text-picture--candle {
    background: var(--color-candle-wax);
}

.text-picture__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px 96px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.text-picture--center .text-picture__inner {
    align-items: center;
}

/* The picture on the left */
.text-picture--left .text-picture__inner {
    flex-direction: row-reverse;
}

.text-picture__words {
    display: flex;
    flex: 0 1 640px;
    flex-direction: column;
    gap: 24px;
}

.text-picture__heading {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.text-picture__eyebrow {
    color: var(--color-burgundy);
}

/* An eyebrow pulls the heading and words closer (A place to grow) */
.text-picture__heading:has(.text-picture__eyebrow) {
    gap: 16px;
}

.text-picture__title {
    font-size: 64px;
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.96px;
}

.text-picture__heading:has(.text-picture__eyebrow) .text-picture__title {
    line-height: 1.04;
}

.text-picture__text {
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.08px;
    color: var(--color-ink-soft);
}

/* ✦ list, a short walnut rule over it */
.text-picture__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.text-picture__list::before {
    content: "";
    width: 56px;
    height: 1px;
    margin-bottom: 4px;
    background: var(--color-walnut);
}

.text-picture__list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.08px;
    color: var(--color-ink-soft);
}

.text-picture__list li::before {
    content: "✦";
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    line-height: 1;
    color: var(--color-walnut);
}

/* Values: two by two, a short rule over each */
.text-picture__values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 60px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.text-picture__value {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text-picture__value::before {
    content: "";
    width: 48px;
    height: 1px;
    background: var(--color-walnut);
}

.text-picture__value-title {
    font-size: 30px;
    font-style: italic;
    font-weight: 300;
    line-height: normal;
}

.text-picture__value-text {
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0.07px;
    color: var(--color-ink-soft);
}

.text-picture__media {
    flex: 0 1 576px;
    height: 439px;
}

.text-picture__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Tablet and mobile — 1024px and below: the picture over the words */
@media (max-width: 1024px) {
    .text-picture {
        padding: var(--pad-y) var(--pad-x);
    }

    .text-picture__inner,
    .text-picture--left .text-picture__inner {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 20px;
    }

    .text-picture__words {
        flex: none;
        gap: 20px;
    }

    .text-picture__heading {
        gap: 16px;
    }

    .text-picture__title {
        font-size: 32px;
        line-height: 1.06;
        letter-spacing: -0.32px;
    }

    .text-picture__heading:has(.text-picture__eyebrow) .text-picture__title {
        line-height: 1.06;
    }

    .text-picture__list::before {
        margin-bottom: 8px;
    }

    .text-picture__values {
        gap: 24px 20px;
    }

    .text-picture__value-title {
        font-size: 22px;
    }

    .text-picture__media {
        flex: none;
        height: auto;
        aspect-ratio: 353 / 282;
    }
}
