/* ===================================================================
   SANTANA
   -------------------------------------------------------------------
   Self-hosted from webfonts/santana/. Load this BEFORE custom.css.

   One family, three weights, three widths. Use font-weight for weight
   and font-stretch for width:

       font-family: var(--heading-font);   /* Santana */
       font-weight: 700;                   /* 400 / 700 / 900 */
       font-stretch: condensed;            /* normal / condensed /
                                              extra-condensed */

   Available combinations (anything else is synthesised by the browser):
       400 normal            Santana.ttf
       700 normal            Santana-Bold.ttf
       900 normal            Santana-Black.ttf
       400 condensed         Santana-RegularCondensed.ttf
       900 condensed         Santana-BlackCondensed.ttf
       400 extra-condensed   SantanaXtraCondensed.ttf

   NOTE - the family has no italic and no rupee sign. See the fallback
   note at the bottom of this file.
   =================================================================== */

/* ---------- normal width ---------- */
@font-face {
    font-family: "Santana";
    src: url("../webfonts/santana/Santana.woff2") format("woff2"),
         url("../webfonts/santana/Santana.woff") format("woff"),
         url("../webfonts/santana/Santana.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}

@font-face {
    font-family: "Santana";
    src: url("../webfonts/santana/Santana-Bold.woff2") format("woff2"),
         url("../webfonts/santana/Santana-Bold.woff") format("woff"),
         url("../webfonts/santana/Santana-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}

@font-face {
    font-family: "Santana";
    src: url("../webfonts/santana/Santana-Black.woff2") format("woff2"),
         url("../webfonts/santana/Santana-Black.woff") format("woff"),
         url("../webfonts/santana/Santana-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}

/* ---------- condensed ---------- */
@font-face {
    font-family: "Santana";
    src: url("../webfonts/santana/Santana-RegularCondensed.woff2") format("woff2"),
         url("../webfonts/santana/Santana-RegularCondensed.woff") format("woff"),
         url("../webfonts/santana/Santana-RegularCondensed.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
}

@font-face {
    font-family: "Santana";
    src: url("../webfonts/santana/Santana-BlackCondensed.woff2") format("woff2"),
         url("../webfonts/santana/Santana-BlackCondensed.woff") format("woff"),
         url("../webfonts/santana/Santana-BlackCondensed.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
}

/* ---------- extra condensed ---------- */
@font-face {
    font-family: "Santana";
    src: url("../webfonts/santana/SantanaXtraCondensed.woff2") format("woff2"),
         url("../webfonts/santana/SantanaXtraCondensed.woff") format("woff"),
         url("../webfonts/santana/SantanaXtraCondensed.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-stretch: extra-condensed;
    font-display: swap;
}


/* -------------------------------------------------------------------
   WIDTH HELPERS
   Santana's condensed cuts are genuinely narrower drawings, not
   squashed versions of the regular. Use these on headings that need to
   fit a tight measure.
   ------------------------------------------------------------------- */
.font-condensed       { font-stretch: condensed; }
.font-xtra-condensed  { font-stretch: extra-condensed; }


/* -------------------------------------------------------------------
   RUPEE FALLBACK  -- important
   Santana has no U+20B9 glyph. Left alone the browser substitutes it
   from a system font, and the mismatch shows next to Santana numerals.
   This maps only that one codepoint onto a stable system stack while
   every other character stays Santana.
   ------------------------------------------------------------------- */
@font-face {
    font-family: "Santana";
    src: local("Noto Sans"), local("Segoe UI"), local("Roboto"),
         local("DejaVu Sans"), local("Arial Unicode MS"), local("Arial");
    unicode-range: U+20B9;   /* Indian rupee sign only */
    font-display: swap;
}
