/**
 * SDC Theme Fonts
 *
 * Local Avenir Next Cyr font loading
 * Plus Google Fonts Inconsolata for code
 * Plus fallback font stacks
 *
 * @package SDC_Theme
 * @since 0.1.0
 */

/* ========================================
   GOOGLE FONTS - INCONSOLATA (Code Font)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;500;600;700&display=swap');

/* ========================================
   LOCAL AVENIR NEXT CYR FONT LOADING
   ======================================== */

@import url('../fonts/avenir-next/stylesheet.css');

/* ========================================
   FONT FAMILY VARIABLES
   ======================================== */

:root {
	/* Primary font family - Local Avenir Next Cyr with fallbacks */
	--font-primary: "Avenir Next Cyr", "Avenir Next", "Avenir Next LT Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

	/* Code font family - Inconsolata from Google Fonts */
	--font-code: "Inconsolata", "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

	/* Font weights matching Avenir Next Cyr styles */
	/* Note: The local stylesheet maps Demi as font-weight: bold (700) */
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-demi-bold: 700; /* Demi maps to bold (700) in local stylesheet */
	--font-weight-bold: 700;

	/* Font styles */
	--font-style-normal: normal;
	--font-style-italic: italic;
}

/* ========================================
   BASE FONT SETTINGS
   ======================================== */

body {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-regular);
	font-style: var(--font-style-normal);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Code elements */
code,
kbd,
pre,
samp,
.code,
.font-code {
	font-family: var(--font-code);
}
