@charset "UTF-8";

/* ═══════════════════════════════════════════════════════════════════
   Typefaces, served from this server.

   Nothing here is fetched from Google or any other host: the site
   renders correctly with no internet connection, nothing about a
   visitor is disclosed to a third party, and the fonts cannot break
   because somebody else changed their service.

   All four families are under the SIL Open Font License 1.1, which
   permits exactly this — see assets/fonts/LICENSE.txt.

   The unicode-range on each face means a browser downloads a file only
   when the page actually contains characters it covers. An English page
   never fetches the Thaana; a Dhivehi page never fetches the Latin
   extended set.
   ══════════════════════════════════════════════════════════════════ */

/* ── Newsreader — display ──────────────────────────────────────────
   Variable across weight 200–800. The roman also carries the optical
   size axis, so the same face is drawn with finer strokes and tighter
   spacing at heading sizes than at 19px in the top bar. */
@font-face{
  font-family:"Newsreader";
  font-style:normal;
  font-weight:200 800;
  font-stretch:normal;
  font-display:swap;
  src:url("../fonts/newsreader-roman.woff2") format("woff2-variations"),
      url("../fonts/newsreader-roman.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;
}
/* A real italic, rather than the browser slanting the roman — which is
   what was happening before, and it shows badly on a serif. */
@font-face{
  font-family:"Newsreader";
  font-style:italic;
  font-weight:200 800;
  font-stretch:normal;
  font-display:swap;
  src:url("../fonts/newsreader-italic.woff2") format("woff2-variations"),
      url("../fonts/newsreader-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;
}

/* ── Archivo — body ────────────────────────────────────────────────
   Variable across weight 100–900, so every weight the site uses comes
   from one file instead of five. */
@font-face{
  font-family:"Archivo";
  font-style:normal;
  font-weight:100 900;
  font-stretch:normal;
  font-display:swap;
  src:url("../fonts/archivo-roman.woff2") format("woff2-variations"),
      url("../fonts/archivo-roman.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;
}
/* Latin Extended, for names and quoted text outside the basic set.
   Fetched only by a page that actually contains one of these. */
@font-face{
  font-family:"Archivo";
  font-style:normal;
  font-weight:100 900;
  font-stretch:normal;
  font-display:swap;
  src:url("../fonts/archivo-roman-ext.woff2") format("woff2-variations"),
      url("../fonts/archivo-roman-ext.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:"Archivo";
  font-style:italic;
  font-weight:100 900;
  font-stretch:normal;
  font-display:swap;
  src:url("../fonts/archivo-italic.woff2") format("woff2-variations"),
      url("../fonts/archivo-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;
}

/* ── IBM Plex Mono — dates, figures, labels ───────────────────────── */
@font-face{
  font-family:"IBM Plex Mono";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../fonts/plex-mono-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:"IBM Plex Mono";
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url("../fonts/plex-mono-500.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;
}

/* ── Noto Sans Thaana — Dhivehi ────────────────────────────────────
   One variable file covering weight 100–900, replacing the two fixed
   weights that were here before. Only the Thaana block is bundled: the
   Latin in this family is never used, since Latin is set in Archivo or
   Newsreader.

   This is the one Thaana face that can lawfully be served from this
   server. See the note below about the MV family. */
@font-face{
  font-family:"Noto Sans Thaana";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("../fonts/thaana-var.woff2") format("woff2-variations"),
      url("../fonts/thaana-var.woff2") format("woff2");
  unicode-range:U+0780-07B1,U+FDF2,U+FDFD;
}

/* ── A licensed Maldivian face, when the office has one ────────────
   MV Faseyha, MV Kelaa, MV Ilham, MV Utheemu and MV A Waheed are the
   faces Maldivian readers recognise from official and printed matter,
   and any of them would look more at home here than Noto.

   They are NOT bundled, deliberately. Their licence states: "You may
   not distribute these typefaces to another party." Serving a webfont
   is distribution — every visitor downloads the file — so publishing
   one here without written permission would breach that licence.

   To use one once the office holds a webfont licence for it:
     1. put the .woff2 in assets/fonts/
     2. uncomment the block below and set the file name
     3. in site.css, put the family first in --f-thaana

@font-face{
  font-family:"MV Faseyha";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("../fonts/mv-faseyha.woff2") format("woff2");
  unicode-range:U+0780-07B1,U+FDF2,U+FDFD;
}
*/
