/* Purdue brand foundation, shared by every theme (loaded before site.css).
   Source: Purdue Brand Studio, Visual Identity (purdue.edu/brand-studio/brand/visual-identity/).
   Themes should build their semantic tokens ONLY from these --purdue-* values.

   Contrast notes (WCAG, measured):
     on white: Black 21, Steel 7.0, Cool Gray 4.8, Aged 4.7  -> usable for text
               Gold 1.9, Rush 2.2, Field 1.9, Dust 1.4       -> decoration/backgrounds only
     on black: Gold 11.0, Field 11.1, Rush 9.7, Steam 11.6, Railway 7.3 -> usable for text
     Black text on Gold 11.0, on Dust 15.0                    -> gold "chips" are fine */

:root {
  /* primary */
  --purdue-gold: #CFB991;      /* Boilermaker Gold */
  --purdue-black: #000000;
  /* supporting golds */
  --purdue-aged: #8E6F3E;
  --purdue-rush: #DAAA00;
  --purdue-field: #DDB945;
  --purdue-dust: #EBD99F;
  /* supporting grays */
  --purdue-steel: #555960;
  --purdue-cool-gray: #6F727B;
  --purdue-railway: #9D9795;
  --purdue-steam: #C4BFC0;
  --purdue-white: #FFFFFF;
  /* tints derived from the palette (not official swatches; used for large quiet areas) */
  --purdue-dust-10: #FBF7EC;   /* ~10% Dust on white */
  --purdue-steam-15: #F4F3F3;  /* ~15% Steam on white */
  --purdue-ink: #0E0E0E;       /* near-black surface for dark mode cards */
  --purdue-ink-2: #1C1C1C;
  --purdue-ink-line: #333333;
  --purdue-hairline: #DEDBD6;  /* Steam lightened, for 1px borders on white */
  --purdue-paper: #F0EDE7;     /* warm off-white for body text on black (≈18:1) */
  --purdue-gold-night: #1A1610;/* Gold at ~8% on black: quiet highlight areas */
  --purdue-gold-dim: #2A2416;  /* Gold at ~15% on black: badge backgrounds */

  /* brand type: Acumin Pro / Source Serif Pro are Adobe-licensed; we self-host the
     open equivalents (Libre Franklin ≈ Franklin Gothic, the brand's named substitute). */
  --purdue-sans: "Acumin Pro", "Libre Franklin", "Franklin Gothic Medium", "Franklin Gothic", system-ui, sans-serif;
  --purdue-serif: "Source Serif Pro", "Source Serif 4", Georgia, serif;
  --purdue-display: "United Sans", "Libre Franklin", Impact, sans-serif;
  --purdue-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@font-face {
  font-family: "Libre Franklin"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fonts/LibreFranklin-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("fonts/LibreFranklin-Italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/SourceSerif4-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("fonts/SourceSerif4-Italic-latin.woff2") format("woff2");
}
