/*
 * CapoFine type: one font stack for Onboard and Hire. Keep this file and fonts/capofine-sans/ byte-identical in
 * Onboard client/public/ and Hire frontend/public/ (the stylesheet itself is frontend/app/capofine-fonts.css in Hire).
 *
 * "CapoFine Sans" is self-hosted Avenir LT Pro, licensed to CapoFine (owner confirmation, Dexter, 2 Nov 2026; see
 * marketing/brand/provenance.json), subset to Latin and Latin Extended. If a file cannot load, a local Avenir Next
 * stands in; after that the stack falls back to DM Sans, which both products provide and the browser only fetches for
 * characters outside the subset. Weights: 100–400 Book, 500 Medium, 600+ Heavy; each has an oblique.
 */
@font-face {
	font-family: "CapoFine Sans";
	src: url("/fonts/capofine-sans/avenir-lt-pro-book.woff2") format("woff2"), local("Avenir Next Regular"), local("AvenirNext-Regular");
	font-weight: 100 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "CapoFine Sans";
	src: url("/fonts/capofine-sans/avenir-lt-pro-book-oblique.woff2") format("woff2"), local("Avenir Next Italic"), local("AvenirNext-Italic");
	font-weight: 100 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "CapoFine Sans";
	src: url("/fonts/capofine-sans/avenir-lt-pro-medium.woff2") format("woff2"), local("Avenir Next Medium"), local("AvenirNext-Medium");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "CapoFine Sans";
	src: url("/fonts/capofine-sans/avenir-lt-pro-medium-oblique.woff2") format("woff2"), local("Avenir Next Medium Italic"), local("AvenirNext-MediumItalic");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "CapoFine Sans";
	src: url("/fonts/capofine-sans/avenir-lt-pro-heavy.woff2") format("woff2"), local("Avenir Next Bold"), local("AvenirNext-Bold");
	font-weight: 600 1000;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "CapoFine Sans";
	src: url("/fonts/capofine-sans/avenir-lt-pro-heavy-oblique.woff2") format("woff2"), local("Avenir Next Bold Italic"), local("AvenirNext-BoldItalic");
	font-weight: 600 1000;
	font-style: italic;
	font-display: swap;
}

:root {
	--cf-font-sans: "CapoFine Sans", var(--font-dm-sans, "DM Sans"), "Helvetica Neue", Arial, sans-serif;
}
