/* fonts.css — the four type families this invite is set in.
 *
 * All four are SIL OFL 1.1 Google Fonts (embedding permitted), self-hosted as woff2
 * subset to exactly this invitation's characters by tools/fetch_fonts.py (charset in
 * assets/fonts/charset.json; tools/build_content.py --check guards it). New copy with
 * a new character needs a re-fetch — see FONTS.md. Nothing is loaded from a CDN.
 *
 * role        CSS family             weight   used for
 * ---------------------------------------------------------------------------
 * display     "Cinzel Decorative"    700      the couple's names
 * caps        "Cinzel"               600      invocation, dates, day labels, firms
 * script      "Great Vibes"          400      event titles, "&", headings
 * body        "Cormorant Garamond"   500/600  times, venues, tagline, map chrome
 *
 * Chosen to read differently from the sister invitation (deepesh-bhavna's Rungkut +
 * Hello Bride), alongside the maroon & gold art.
 */

@font-face {
  font-family: "Cinzel Decorative";
  src: url("../assets/fonts/cinzel-decorative-700.woff2?v=1") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../assets/fonts/cinzel-600.woff2?v=1") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Great Vibes";
  src: url("../assets/fonts/great-vibes-400.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-500.woff2?v=1") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-600.woff2?v=1") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* bump every ?v= above (and the matching <link rel="preload"> in index.html) on any
   re-fetch, or browsers keep the old subset and the new characters fall back. */

:root {
  --font-display: "Cinzel Decorative", "Cinzel", Georgia, "Times New Roman", serif;
  --font-caps: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Snell Roundhand", "Brush Script MT", cursive;
}
