/* ============================================================
   YAGO'S — Self-Hosted Fonts
   Loaded locally so icons/typography work WITHOUT internet
   ============================================================ */

/* ── Inter (UI font, 300–900 weights) ── */
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter.woff2') format('woff2');
}

/* ── Playfair Display (heading font) ── */
@font-face {
  font-family: 'Playfair Display';
  font-style:  normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/playfair_efdcc5f2.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style:  italic;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/playfair_ffc80142.woff2') format('woff2');
}

/* ── Material Symbols Rounded (icons) ── */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style:  normal;
  font-weight: 100 700;
  font-display: block;  /* block = invisible until loaded, then snap in */
  src: url('../fonts/MaterialSymbolsRounded.woff2') format('woff2');
}

/* ── Icon class (matches Google CDN class name exactly) ── */
.material-symbols-rounded,
.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  /* Default variation settings — can be overridden inline */
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Size helpers */
.ms-sm { font-size: 18px; }
.ms-xs { font-size: 14px; }
.ms-lg { font-size: 28px; }
.ms-xl { font-size: 32px; }

/* Filled variant */
.ms-fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.ms-fill-sm {
  font-size: 18px;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}
