/* =================================================================== TRUST (quality options) section css =================================================================== */
/* 2026-12-01 (option 2, chosen by the client): "Checked by people…" as .checks (dark, big orange figures)
   and "Working with us, in plain terms." as its own .terms--band (orange band, 2 × 2 grid). Tokens only.
   Option 1 is in _backup/quality-option-1. */

/* ------------------------------------------------------------------ CHECKS (option 2) */
.checks {
    padding-block: var(--sectionPad);

    & .checks__head {
        display: flex; justify-content: space-between;
        align-items: last baseline;
        gap: var(--sp30);
        margin-bottom: var(--titleGap);
    }
    & .checks__head .section-title-wrap { max-width: none; margin-bottom: 0; }
    & .checks__lede { max-width: 30em; color: var(--white-75); }

    & .checks__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        list-style: none;
        border-top: 1px solid var(--white-20);
        border-bottom: 1px solid var(--white-20);
    }
    & .checks__stat {
        display: flex; flex-direction: column;
        gap: var(--sp15);
        padding: calc(var(--cvw) * 3) calc(var(--cvw) * 2.5);

        &:first-child { padding-left: 0; }
        & + .checks__stat { border-left: 1px solid var(--white-20); }
    }
    & .checks__num {
        margin-bottom: var(--sp10);
        font-family: var(--font-display);
        font-size: calc(var(--cvw) * 8);
        font-weight: 700;
        line-height: .85;
        letter-spacing: var(--ls-h1);
        color: var(--orange);
    }
    & .checks__unit { font-size: .3em; letter-spacing: var(--ls-h3); color: var(--white); }
    & .checks__label { font-size: var(--f25); font-weight: 700; line-height: var(--lhSnug); letter-spacing: var(--ls-h3); }
    & .checks__text { max-width: 34ch; color: var(--white-75); }
    & .checks__links { display: flex; flex-wrap: wrap; gap: var(--sp12) var(--sp30); margin-top: calc(var(--cvw) * 3); }
    /* same inline link style as "Tell us the job in a sentence" (client, 2026-12-01) */
    & .checks__link {
        font-weight: 600;
        color: var(--white);
        /* line + hover: global/link-line.css */
    }

    @media (max-width: 991.98px) {
        & .checks__head { flex-direction: column; align-items: flex-start; }
        & .checks__stats { grid-template-columns: minmax(0, 1fr); }
        & .checks__stat { padding: calc(var(--cvw) * 6) 0; & + .checks__stat { border-left: 0; border-top: 1px solid var(--white-20); } }
        & .checks__num { font-size: calc(var(--cvw) * 18); }
    }
}

/* ------------------------------------------------------------------ TERMS (shared) */
.terms {
    padding-block: var(--sectionPad);

    & .terms__inner {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: start;
        gap: calc(var(--cvw) * 6);
    }
    & .terms__aside .section-title-wrap { margin-bottom: 0; }
    & .terms__item {
        display: grid;
        grid-template-columns: calc(var(--cvw) * 4) minmax(0, 1fr);
        column-gap: var(--sp25);
        row-gap: var(--sp10);
    }
    & .terms__num { grid-row: 1 / span 2; font-family: var(--font-mono); font-size: var(--f15); padding-top: .35em; }
    & .terms__q { font-size: var(--f25); font-weight: 700; line-height: var(--lhSnug); letter-spacing: var(--ls-h3); }
    & .terms__a { margin: 0; }

    @media (max-width: 991.98px) {
        & .terms__inner { grid-template-columns: minmax(0, 1fr); gap: calc(var(--cvw) * 8); }
        & .terms__item { grid-template-columns: calc(var(--cvw) * 9) minmax(0, 1fr); }
    }
}

/* option 2 — the orange band, ink text, the four points in a 2 × 2 grid */
/* container view (client, 2026-12-01): the orange starts full bleed and closes in to the container box as
   the section scrolls in (preset shrink-bg animates .terms__bg's clip-path); it ends exactly on the box */
.terms--band {
    position: relative;
    color: var(--ink);

    & .terms__bg { position: absolute; inset: 0; background: var(--orange); will-change: clip-path; }
    & .terms__inner { position: relative; z-index: 1; }

    & h2, & .terms__title { color: var(--white); }   /* white titles on the orange band (client, 2026-12-02) */
    /* the title as an h3 (client, 2026-12-01) */
    & .terms__title { font-size: var(--f55); font-weight: 700; line-height: var(--lhTight); letter-spacing: var(--ls-h1); }
    & .terms__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--titleGap);
        padding: calc(var(--cvw) * 6);
    }
    & .terms__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(var(--cvw) * 4) calc(var(--cvw) * 5);
    }
    & .terms__item { padding-top: var(--sp25); border-top: 1px solid var(--ink-40); }
    & .terms__num { color: var(--paper); }
    & .terms__q { color: var(--ink); }   /* point titles dark again; only the main title is white (client, 2026-12-02) */
    & .terms__a { color: var(--ink); opacity: .85; }
    @media (max-width: 767.98px) {
        & .terms__inner { padding: calc(var(--cvw) * 8) calc(var(--cvw) * 6); }
        & .terms__list { grid-template-columns: minmax(0, 1fr); }
    }
}
