/* Eurostile LT Pro (self-hosted). Binding product typeface for CARE / Primedesk.
 * Cuts: Medium (body), Demi (display), Bold Extended 2 (statement).
 * Source files: EurostileLTPro.otf / -Demi.otf / -BoldEx2.otf → woff2.
 *
 * Cap-height vertical trim (Figma leadingTrim CAP_HEIGHT) is three layers:
 * 1. The shipped woff2 bake hhea + OS/2 typo/win to sCapHeight / 0 / 0 so
 *    WebKit (Safari, iOS Chrome/Edge) still gets a cap → alphabetic em-box.
 *    Those engines ignore @font-face metric overrides. Re-bake after replacing
 *    a cut:
 *    uv run --with fonttools --with brotli
 *    python scripts/ci/check_eurostile_cap_height.py bake
 * 2. Metric overrides here keep desktop Chromium/Firefox on the same em-box.
 *    Native WinAscent (959–1071) / descent (277) / lineGap (200) otherwise
 *    leave empty space below the baseline, so all-caps labels sit high in
 *    buttons, chips, and nav. `text-box-trim` cannot fix that inside
 *    fixed-height flex containers.
 * 3. tokens.css sets `text-box-trim: trim-both; text-box-edge: cap
 *    alphabetic` so auto-sized stacks drop half-leading on the first/last line.
 *
 * Served via the fonts static handler, which substitutes 1786700493
 * on each src so preload and @font-face share one URL.
 *
 * sCapHeight = 723 / 1000 UPM. Descent 0 matches Figma's alphabetic edge;
 * descenders (g, y, p) paint outside the line box, same as in Figma.
 */

@font-face {
    font-family: 'Eurostile LT Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/eurostile-lt-pro-medium.woff2?v=1786700493') format('woff2');
    ascent-override: 72.3%;
    descent-override: 0%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Eurostile LT Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/fonts/eurostile-lt-pro-demi.woff2?v=1786700493') format('woff2');
    ascent-override: 72.3%;
    descent-override: 0%;
    line-gap-override: 0%;
}

/* Statement / marketing face — separate family (extended width). */
@font-face {
    font-family: 'Eurostile LT Pro Bold Extended 2';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/static/fonts/eurostile-lt-pro-bold-extended-2.woff2?v=1786700493') format('woff2');
    ascent-override: 72.3%;
    descent-override: 0%;
    line-gap-override: 0%;
}
