/* Font faces — the three families of the charte, served from this repository.
   Called from: imported first by static/css/_main.css and by public/css/login.css.

   Self-hosted on purpose. The auth pages and the app used to fetch Inter from
   fonts.googleapis.com, which put the rendering of the whole interface, before
   login included, in the hands of a third party: a blocked or slow external host
   replaced every glyph with a system fallback. The files below are OFL, so they
   can be redistributed; each family ships its licence next to its files.

   Carlito carries the body text. It is the metric-compatible counterpart of the
   charte's Calibri -- same advance widths, so line breaks and layout hold -- and
   it is redistributable, which Calibri is not. It has two weights only: 400 and
   700, and the weight scale in the stylesheets is written in those two values.

   Its vertical metrics, though, are not Calibri's: Carlito's ascent is 95% of the
   em and its descent 27% with no line gap, against Calibri's 75% / 25% plus a
   22% gap. The drawn text is the same size -- measured at 100px, one word is
   522.00px wide in both and its ink 85px against 82 -- and the total line box is
   the same 1.22em, but Calibri sits the baseline higher inside it. `ascent-`,
   `descent-` and `line-gap-override` can copy Calibri's values onto Carlito, and
   were tried here: they move the text up by 1px at 14px, which is a gain in
   running text and a loss in every control whose padding was tuned by eye
   against the previous face's line -- and the icon font sharing a button's line
   is not overridden, so a label rises past its icon. They are deliberately left
 off: the faces keep Carlito's own metrics, and a zone that wants the mock-up's
 rhythm sets its own line-height, which is where that decision belongs.

 Montserrat and Oleo Script Swash Caps are declared for the zones that consume
   them: a project's group header in the tree for the first, the brand name for
   the second -- the left band's title, the auth page's, and a message's avatar
   glyph. A face nothing asks for is never downloaded, so a family left declared
   ahead of its zone costs nothing at runtime.

   The `unicode-range` of each face is the one Google Fonts publishes: a page that
   uses no character outside the latin range never fetches the latin-ext file.
   Paths are relative to this sheet, so they survive being mounted under a prefix.
   `swap` keeps the text visible while the face loads, as the previous remote
   stylesheet did. */

/* ---- Carlito (body) ---- */

@font-face {
    font-family: "Carlito";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/carlito-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Carlito";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/carlito-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Carlito";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/carlito-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Carlito";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/carlito-latin-ext-700.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Carlito";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/carlito-latin-400-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Carlito";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/carlito-latin-ext-400-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Lato (body) ----
   The face `--lato` names. It ships 400, 700 and a 400 italic -- exactly the
   weight scale the stylesheets ask of the body face -- so no rule has to re-map a
   weight. Declared beside Carlito's faces, which stay in this sheet as the
   charte's reference: a face no declaration asks for is never downloaded. */

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/lato-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/lato-latin-ext-700.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Lato";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-400-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Lato";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-ext-400-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Montserrat (titles) ---- */

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext-var.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Oleo Script Swash Caps (brand name) ---- */

@font-face {
    font-family: "Oleo Script Swash Caps";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/oleo-script-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Oleo Script Swash Caps";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/oleo-script-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
