/* =========================================================
   FONTS
   ========================================================= */

/* =========================
   Nicholas (headings) – ONLINE (Adobe Typekit)
   ========================= */

@font-face {
    font-family: "Nicholas";
    src:
      url("https://use.typekit.net/af/29af51/000000000000000077575710/31/l?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n4&v=3") format("woff2"),
      url("https://use.typekit.net/af/29af51/000000000000000077575710/31/d?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n4&v=3") format("woff"),
      url("https://use.typekit.net/af/29af51/000000000000000077575710/31/a?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n4&v=3") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nicholas";
    src:
      url("https://use.typekit.net/af/ffc606/00000000000000007757570f/31/l?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=i4&v=3") format("woff2"),
      url("https://use.typekit.net/af/ffc606/00000000000000007757570f/31/d?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=i4&v=3") format("woff"),
      url("https://use.typekit.net/af/ffc606/00000000000000007757570f/31/a?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=i4&v=3") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Nicholas";
    src:
      url("https://use.typekit.net/af/c38167/00000000000000007757570d/31/l?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n6&v=3") format("woff2"),
      url("https://use.typekit.net/af/c38167/00000000000000007757570d/31/d?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n6&v=3") format("woff"),
      url("https://use.typekit.net/af/c38167/00000000000000007757570d/31/a?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n6&v=3") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nicholas";
    src:
      url("https://use.typekit.net/af/42ac7b/00000000000000007757570e/31/l?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n7&v=3") format("woff2"),
      url("https://use.typekit.net/af/42ac7b/00000000000000007757570e/31/d?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n7&v=3") format("woff"),
      url("https://use.typekit.net/af/42ac7b/00000000000000007757570e/31/a?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n7&v=3") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nicholas";
    src:
      url("https://use.typekit.net/af/8ca07b/00000000000000007757570c/31/l?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n8&v=3") format("woff2"),
      url("https://use.typekit.net/af/8ca07b/00000000000000007757570c/31/d?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n8&v=3") format("woff"),
      url("https://use.typekit.net/af/8ca07b/00000000000000007757570c/31/a?primer=a859b15c287b4c2476f2749f0ef308a8ec8c8611338231277d016b7ee9a52f92&fvd=n8&v=3") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


/* =========================
   Inter Tight (body) – LOCAL
   ========================= */

@font-face {
    font-family: "Inter Tight";
    src: url("../../fonts/custom/InterTight-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter Tight";
    src: url("../../fonts/custom/InterTight-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter Tight";
    src: url("../../fonts/custom/InterTight-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter Tight";
    src: url("../../fonts/custom/InterTight-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   APPLICATION (Cassiopeia variables)
   ========================================================= */

:root {
    --cassiopeia-font-family-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --cassiopeia-font-family-headings: "Nicholas", var(--cassiopeia-font-family-body);
}

/* Fallback jistota */
body {
    font-family: var(--cassiopeia-font-family-body);
}

h1,h2,h3,h4,h5,h6,
.page-header h1 {
    font-family: var(--cassiopeia-font-family-headings);
}

/* Zabránit syntetickému fake bold */
h1,h2,h3,h4,h5,h6,
.typo-h1,.typo-h12,.typo-h2,.typo-h3,.typo-h4 {
    font-synthesis: none;
}