/* ==========================================================================
   KutchOnline typefaces — the one place to change fonts on every page.

   Every stylesheet on the site uses these three roles, never a font name:
     var(--font-heading)     page and section headings (h1, h2)
     var(--font-subheading)  card titles, h3–h6, labels, buttons, brand text
     var(--font-text)        body text, inputs, captions, everything else

   To switch a typeface: change the @import line below, then the matching
   variable. Nothing else needs editing.

   Loaded by src/layouts/Layout.astro, BhujLayout.astro, MundraLayout.astro
   and the two standalone pages in src/pages/bhuj/ (haritech, pioneer).
   It lives under /assets/ so the bhuj. and mundra. subdomains can load it.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Manrope:wght@400;500;600;700;800&family=Radio+Canada+Big:wght@400;500;600;700&family=Hind+Vadodara:wght@400;600;700&display=swap");

:root {
  /* Hind Vadodara follows each family so Gujarati text has a matching face;
     the browser only downloads its Gujarati files on pages that use them. */
  --font-heading: "Alfa Slab One", "Hind Vadodara", Rockwell, Georgia, serif;
  --font-subheading: "Radio Canada Big", "Hind Vadodara", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Manrope", "Hind Vadodara", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Large Gujarati display text, such as the કચ્છ on the homepage */
  --font-gujarati: "Hind Vadodara", "Noto Sans Gujarati", sans-serif;

  /* Alfa Slab One has a single weight. Stop browsers faking a bold version
     when a heading asks for 700 or 800. */
  font-synthesis-weight: none;
}

body {
  font-family: var(--font-text);
}

h1,
h2 {
  font-family: var(--font-heading);
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-subheading);
}

input,
select,
textarea,
button {
  font-family: inherit;
}
