/**
 * Chillybin Font Loading
 *
 * DEFAULT: system font stack — no file needed, no loading cost.
 *
 * TO ADD A GOOGLE FONT (recommended workflow):
 *  1. Choose a font at fonts.google.com
 *  2. Download the woff2 files via https://gwfh.mranftl.com (google-webfonts-helper)
 *     — select "Modern Browsers" to get woff2 only
 *  3. Place the woff2 files in /fonts/
 *  4. Add @font-face blocks below (copy the example)
 *  5. Update CB_FONT_HEADING / CB_FONT_BODY in config.php
 *  6. Add the woff2 filename to CB_PRELOAD_FONTS in config.php
 *
 * METRIC-MATCHED FALLBACK:
 *  Add a @font-face fallback rule to reduce layout shift (CLS) while the
 *  real font loads. Adjust size-adjust / ascent-override per font — use
 *  https://screenspan.net/fallback or https://meowni.ca/font-style-matcher/
 *  to find the right values.
 */
@font-face {
	font-family: 'Gotham Fallback';
	src: local('Arial');
	size-adjust: 100%;
	ascent-override: 95%;
	descent-override: 25%;
	line-gap-override: 0%;
}
@font-face {
	font-family: 'Gotham';
	src: url('../fonts/Gotham-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
    font-display: swap;
}
@font-face {
	font-family: 'Gotham';
	src: url('../fonts/Gotham-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: italic;
    font-display: swap;
}

@font-face {
	font-family: 'Gotham';
	src: url('../fonts/Gotham-Book.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
    font-display: swap;
}
@font-face {
	font-family: 'Gotham';
	src: url('../fonts/Gotham-BookIta.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
    font-display: swap;
}
@font-face {
	font-family: 'Gotham';
	src: url('../fonts/Gotham-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
    font-display: swap;
}
@font-face {
	font-family: 'Gotham';
	src: url('../fonts/Gotham-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
    font-display: swap;
}
@font-face {
	font-family: 'Gotham';
	src: url('../fonts/Gotham-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
    font-display: swap;
}
/*
 * ── EXAMPLE — uncomment and adapt for your chosen font ──────────────────────
 *
 * Using Figtree (a clean, modern sans-serif from Google Fonts):
 *  https://fonts.google.com/specimen/Figtree
 *  Download woff2 files: https://gwfh.mranftl.com/fonts/figtree
 *
 * Metric-matched fallback (reduces CLS while Figtree loads):
 *
 * @font-face {
 *     font-family: 'Figtree Fallback';
 *     src: local('Arial');
 *     size-adjust: 100%;
 *     ascent-override: 95%;
 *     descent-override: 25%;
 *     line-gap-override: 0%;
 * }
 *
 * Figtree — Regular (400)
 * @font-face {
 *     font-family: 'Figtree';
 *     src: url('../fonts/figtree-v6-latin-regular.woff2') format('woff2');
 *     font-weight: 400;
 *     font-style: normal;
 *     font-display: swap;
 * }
 *
 * Figtree — SemiBold (600)
 * @font-face {
 *     font-family: 'Figtree';
 *     src: url('../fonts/figtree-v6-latin-600.woff2') format('woff2');
 *     font-weight: 600;
 *     font-style: normal;
 *     font-display: swap;
 * }
 *
 * Figtree — Bold (700)
 * @font-face {
 *     font-family: 'Figtree';
 *     src: url('../fonts/figtree-v6-latin-700.woff2') format('woff2');
 *     font-weight: 700;
 *     font-style: normal;
 *     font-display: swap;
 * }
 *
 * Then in config.php:
 *   define( 'CB_FONT_HEADING', 'Figtree' );
 *   define( 'CB_FONT_HEADING_WEIGHT', '600' );
 *   define( 'CB_FONT_HEADING_FALLBACK', "'Figtree Fallback', Arial, sans-serif" );
 *   define( 'CB_FONT_BODY', 'Figtree' );
 *   define( 'CB_PRELOAD_FONTS', ['figtree-v6-latin-600.woff2'] );
 * ────────────────────────────────────────────────────────────────────────────
 */