/* L’Orangerie — socle.
 *
 * Only what has to be a file: the self-hosted @font-face rules. Colours, spacing,
 * type scale and component styles live in Bricks (palette, global variables, theme
 * style, global classes), so they stay editable in the Builder.
 *
 * Family names match the lab (lab/shared/tokens.css): one family per Charlottenburg
 * cut, so a style picks a cut by family alone. They are also listed in the Builder's
 * font picker (functions.php, bricks/builder/standard_fonts).
 *
 * Charlottenburg Classic is the full cut the agency sent on 2026-10-14 (real lowercase,
 * 487 glyphs): the uppercase display titles and the mixed-case titles, subtitles and serif
 * text (--lo-police-serif) all use it, as in the Figma (Landing page V4). Compressed,
 * Circles and Choices are still the caps-only files. Cormorant Garamond stays as the
 * fallback while the font loads. Running text is DM Sans, details DM Mono (the Figma's).
 */

@font-face {
	font-family: "Charlottenburg";
	src: url("../fonts/charlottenburg/Charlottenburg_W-Classic.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Charlottenburg Compressed";
	src: url("../fonts/charlottenburg/Charlottenburg_W-Compressed.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Charlottenburg Circles";
	src: url("../fonts/charlottenburg/Charlottenburg_W-Circles.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Charlottenburg Choices";
	src: url("../fonts/charlottenburg/Charlottenburg_W-Choices.woff2") format("woff2");
	font-display: swap;
}

/* Cormorant Garamond, latin subset (covers French: é, œ, ’, «, », €). OFL, see OFL.txt. */
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/cormorant-garamond/cormorant-garamond-latin-400-normal.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/cormorant-garamond/cormorant-garamond-latin-500-normal.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 400;
	src: url("../fonts/cormorant-garamond/cormorant-garamond-latin-400-italic.woff2") format("woff2");
	font-display: swap;
}

/* DM Sans, variable (opsz 9–40, wght 100–1000), latin subset. OFL, see dm-sans/OFL.txt.
   The Figma sets it at optical size 14: body { font-variation-settings: "opsz" 14 }
   lives in the Bricks theme style. */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	src: url("../fonts/dm-sans/dm-sans-latin-variable.woff2") format("woff2");
	font-display: swap;
}

/* DM Mono, latin subset. OFL, see dm-mono/OFL.txt. */
@font-face {
	font-family: "DM Mono";
	font-style: normal;
	font-weight: 300;
	src: url("../fonts/dm-mono/dm-mono-latin-300-normal.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "DM Mono";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/dm-mono/dm-mono-latin-400-normal.woff2") format("woff2");
	font-display: swap;
}

/* The preloader only exists for the script that lifts it: without JavaScript (and in the
   Bricks builder, which never gets html.lo-js) it would cover the page for good. */
html:not(.lo-js) .lo-prelude {
	display: none;
}
