/* fonts.css — the faces this invite is set in (Isha & Rishabh).
 *
 * Every file is a subset built by tools/build_fonts.py from data/textspec.json's
 * charset and self-hosted; nothing is fetched from a CDN. See FONTS.md.
 *
 * PSD font name                       ->  CSS family                    weight
 * ---------------------------------------------------------------------------------
 * CormorantGaramond-Medium            ->  "Cormorant Garamond"          500
 * CormorantGaramond-SemiBold          ->  "Cormorant Garamond"          600
 * CormorantGaramond-MediumItalic      ->  "Cormorant Garamond Italic"   500
 * CormorantGaramond-SemiBoldItalic    ->  "Cormorant Garamond Italic"   600
 * HelloBrideScript-Regular            ->  "Hello Bride"                 400
 * Rungkut                             ->  "Rungkut"                     400
 * Quattrocento                        ->  "Quattrocento"                400
 * Amiri-Regular                       ->  "Amiri"                       400
 * AireBoldStd                       ->  "Aire Bold"                   400  STAND-IN
 * MinionConceptRoman-Bold (2 spaces) -> "Cormorant Garamond"         600
 *
 * The italics are a separate FAMILY (declared font-style normal on italic outlines) so
 * js/fx/text.js, which only knows family + weight, needs no italic plumbing.
 *
 * TODO(production): missing licensed font AireBoldStd (Adobe) -- the cover names
 * "ISHA ... RISHABH". The client must supply the file. Until then "Aire Bold" resolves
 * to Italiana (SIL OFL), the closest open high-contrast display caps.
 *
 * TODO(production): Hello Bride Script (fsType 4, preview & print) and Rungkut
 * (fsType 8) need written web-embedding clearance -- same open item as muskan-shourya.
 *
 * Traps recorded in data/textspec.json: Rungkut's lowercase slots ARE small caps (never
 * uppercase a Rungkut string); all-caps Cormorant runs need font-feature-settings
 * "case" for lining figures.
 */

@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;
}

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

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

@font-face {
  font-family: "Hello Bride";
  src: url("../assets/fonts/hello-bride-400.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

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

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

/* TODO(production): stand-in for AireBoldStd -- see the head of this file */
@font-face {
  font-family: "Aire Bold";
  src: url("../assets/fonts/aire-standin-400.woff2?v=1") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Rungkut", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body-italic: "Cormorant Garamond Italic", "Cormorant Garamond", Georgia, serif;
  --font-script: "Hello Bride", "Snell Roundhand", "Brush Script MT", cursive;
  --font-title: "Aire Bold", "Cormorant Garamond", Georgia, serif;
  --font-invocation: "Quattrocento", Georgia, serif;
  --font-button: "Amiri", Georgia, serif;
}
