/**
 * GT Planar Font Family
 *
 * Affinius Capital brand fonts.
 * Converted from TTF to WOFF2 for optimal web performance.
 *
 * File sizes: ~52-55KB each (compressed from ~140KB TTF)
 * Browser support: All modern browsers (95%+ coverage)
 */

/* GT Planar Thin (200) */
@font-face {
  font-family: 'GT Planar';
  src: url('./gt-planar-thin.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap; /* Prevent invisible text during font load */
}

/* GT Planar Light (300) */
@font-face {
  font-family: 'GT Planar';
  src: url('./gt-planar-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* GT Planar Regular (400) */
@font-face {
  font-family: 'GT Planar';
  src: url('./gt-planar-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* GT Planar Medium (500) */
@font-face {
  font-family: 'GT Planar';
  src: url('./gt-planar-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/**
 * Font Stack
 *
 * Primary: GT Planar (brand font)
 * Fallbacks: System fonts that closely match GT Planar's geometric, clean aesthetic
 *
 * -apple-system: San Francisco (macOS/iOS)
 * BlinkMacSystemFont: San Francisco (Chrome on macOS)
 * 'Segoe UI': Windows
 * Roboto: Android
 * sans-serif: Universal fallback
 */
:root {
  --font-family-primary: 'GT Planar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font weights */
  --font-weight-thin: 200;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
}
