/**
 * UH Design System - Font Declarations
 *
 * Provides @font-face declarations for OpenSans fonts from the design system.
 * This acts as a fallback when Obar (external header/footer) is not loaded,
 * ensuring fonts are available for visual regression tests and standalone pages.
 *
 * These fonts are copied from node_modules/@uh-design-system/component-library
 * to assets/design-system/fonts/ by the gulp copy-design-system task.
 */

/* OpenSans Regular - Font weight 400 */
@font-face {
  font-family: 'Open Sans';
  src: url('../assets/design-system/fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* OpenSans Bold - Font weight 700 */
@font-face {
  font-family: 'Open Sans';
  src: url('../assets/design-system/fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* OpenSans Variable Font - All weights 100-900 */
@font-face {
  font-family: 'Open Sans Variable';
  src: url('../assets/design-system/fonts/OpenSans-VariableFont.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 90% 100%;
  font-style: normal;
  font-display: swap;
}
