/**
 * @file
 * Scala Sans Pro — font-family definition.
 *
 * The self-hosted .woff2 files are not available. The font-family is defined
 * as a CSS variable using a fallback stack so all existing references to
 * 'Scala Sans Pro' resolve without download errors.
 *
 * To enable the real font later, either:
 * 1. Add licensed .woff2 files to fonts/ and uncomment the @font-face blocks, or
 * 2. Use Adobe Fonts (Typekit) by adding the stylesheet in preprocess_html().
 */

:root {
  --font-scala-sans-pro: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/*
 * Override: any element using font-family: 'Scala Sans Pro' will now resolve
 * to the fallback stack via this rule. This prevents the browser from
 * attempting to download non-existent font files.
 */
@font-face {
  font-family: 'Scala Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular');
}

@font-face {
  font-family: 'Scala Sans Pro';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Italic');
}

@font-face {
  font-family: 'Scala Sans Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Montserrat Medium'), local('Montserrat-Medium');
}

@font-face {
  font-family: 'Scala Sans Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Montserrat SemiBold'), local('Montserrat-SemiBold');
}

@font-face {
  font-family: 'Scala Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Montserrat Bold'), local('Montserrat-Bold');
}
