/* ============================================================
   Arenex Digital — brand layer.

   Self-hosted @font-face declarations and the brand token
   overrides. Loaded after the parent's main.css and
   responsive.css.

   Pre-Flight 1.2 — the child HARD-SETS its font vars rather
   than relying on the parent's resolver picking them up.
============================================================ */

/* ------------------------------------------------- font faces */

/*
 * Google Sans Flex — a variable font carrying weight, width, optical size,
 * slant, grade and roundness. The type scale drives it through
 * font-variation-settings, which is why every heading role sets opsz/wght/wdth.
 */
@font-face {
	font-family: "Google Sans Flex";
	src: url("../fonts/GoogleSansFlex.ttf") format("truetype-variations");
	font-weight: 100 900;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
}

/* Geist Mono — latin subset first, latin-ext for the rest. */
@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/geist-mono-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}

/* -------------------------------------------- brand token hard-set */

:root {
	/* Pre-Flight 1.2 — set explicitly, not inherited from a parent default. */
	--font-display: "Google Sans Flex", system-ui, -apple-system, sans-serif;
	--font-body: "Google Sans Flex", system-ui, -apple-system, sans-serif;
	--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/*
 * R4.6 — the wordmark's viewBox is cropped to its ink
 * (113.32 75.37 1235.5 177.11), so the rendered height is scaled by the same
 * ratio the crop removed: 177.11 / 327.87 = 0.5402. 2rem x 0.5402 = 1.0804rem,
 * which keeps the mark the same visual size it was before the crop while
 * letting it align to a text column.
 */
.site-nav__logo {
	height: 1.9313rem;
}

/* The lockup crop ratio is 211.07 / 327.87 = 0.6438. */
.site-footer__logo {
	height: 1.2876rem;
}

/*
 * The brand lockup is cropped to its ink (80.87 58.39 1758.25 211.07), so the
 * rendered height is scaled by the ratio the crop removed: 211.07 / 327.87 =
 * 0.6438. 2rem x 0.6438 = 1.2875rem, which keeps the mark the size it was
 * before the crop while letting it align to the nav's text baseline.
 */
.site-nav__logo {
	height: 1.9313rem;
	width: auto;
}
