/**
 * @file
 * Typography: Alga (H1), Urca Medium (H2), Katha Latin (body text).
 *
 * The fonts are commercial and are not bundled. Two ways to load them:
 *
 * 1. Adobe Fonts: enter your Web Project ID under
 *    Appearance > Settings > Zymphonies D11 > Fonts. Adobe serves the
 *    families as "alga", "urca" and "katha-latin", which come first in the
 *    stacks below.
 *
 * 2. Self-hosted: put licensed WOFF2 files in the theme's fonts/ folder
 *    with the file names used below (see fonts/README.md), and tick
 *    "Use self-hosted font files" in the theme settings.
 */

@font-face {
  font-family: "Alga";
  src: url("../fonts/Alga-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Urca";
  src: url("../fonts/Urca-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Katha Latin";
  src: url("../fonts/KathaLatin-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Katha Latin";
  src: url("../fonts/KathaLatin-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Katha Latin";
  src: url("../fonts/KathaLatin-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Katha Latin";
  src: url("../fonts/KathaLatin-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-h1: "alga", "Alga", Georgia, "Times New Roman", serif;
  --font-h2: "urca", "Urca", "Helvetica Neue", Arial, sans-serif;
  --font-body: "katha-latin", "Katha Latin", Charter, Georgia, serif;

  --weight-h1: 400;   /* Alga Regular */
  --weight-h2: 500;   /* Urca Medium */
  --weight-body: 400; /* Katha Latin Regular */
}

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

h1,
.h1,
.page-title,
.site-branding__name {
  font-family: var(--font-h1);
  font-weight: var(--weight-h1);
}

h2,
.h2,
.block-title,
.node__title,
.hero__title,
.main-menu,
.header__utility {
  font-family: var(--font-h2);
  font-weight: var(--weight-h2);
}

/* H3–H6 follow the body face so the two display faces stay special. */
h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
}
