/* Local fonts. The page loads no font or icon file from a CDN.
   Figtree: SIL Open Font License 1.1. See figtree-OFL.txt.
   Archivo: SIL Open Font License 1.1. See archivo-OFL.txt.
   Newsreader: SIL Open Font License 1.1. See newsreader-OFL.txt.
   Bodoni Moda: SIL Open Font License 1.1. See bodoni-moda-OFL.txt.
   Courier Prime: SIL Open Font License 1.1. See courier-prime-OFL.txt.
   Mrs Saint Delafield: SIL Open Font License 1.1. See mrs-saint-delafield-OFL.txt.
   Phosphor Icons 2.1.1, regular style: MIT License. See phosphor-LICENSE.txt. */

/* Bodoni Moda is a variable font with two axes: weight 400 to 900 and optical size 6 to 96. */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("bodoni-moda.ttf") format("truetype");
}

@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("bodoni-moda-italic.ttf") format("truetype");
}

/* Courier Prime is a typewriter font. It has three static files. */
@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("courier-prime.ttf") format("truetype");
}

@font-face {
  font-family: "Courier Prime";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("courier-prime-italic.ttf") format("truetype");
}

@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("courier-prime-bold.ttf") format("truetype");
}

/* Mrs Saint Delafield is a script font. Use it only for a signature line. */
@font-face {
  font-family: "Mrs Saint Delafield";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("mrs-saint-delafield.ttf") format("truetype");
}

/* Newsreader is a variable font with two axes: weight 200 to 800 and optical size 6 to 72.
   Only the warm version uses it. These are the full TrueType files (about 450 KB each).
   Before launch, make a Latin subset in WOFF2. It will be much smaller. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("newsreader.ttf") format("truetype");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("newsreader-italic.ttf") format("truetype");
}

/* Figtree is a variable font. One file gives the weights 400 to 700. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("figtree-latin-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("figtree-latin.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 is a variable font with two axes: weight 100 to 900 and width 62 to 125.
   Only the avant-garde version uses it. A browser loads a font file only when a page uses it. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("archivo-latin-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("archivo-latin.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: "Phosphor";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("phosphor.woff2") format("woff2");
}

.ph {
  /* The !important flag stops browser extensions that change fonts. */
  font-family: "Phosphor" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* phosphor.woff2 is a subset. It contains only the 18 icons below.
   To add an icon:
   1. Get the full Phosphor.woff2 (regular style, version 2.1.1) and the code of the icon.
   2. Make the subset again with fonttools. Put all codes in the list:
      pyftsubset Phosphor.woff2 --unicodes="e03e,e06c,..." --layout-features="" \
        --no-hinting --flavor=woff2 --output-file=phosphor.woff2
   3. Add a rule for the icon below. */
.ph.ph-arrow-down::before { content: "\e03e"; }
.ph.ph-arrow-right::before { content: "\e06c"; }
.ph.ph-arrow-up-right::before { content: "\e092"; }
.ph.ph-check::before { content: "\e182"; }
.ph.ph-cube-focus::before { content: "\ed0a"; }
.ph.ph-envelope-simple::before { content: "\e218"; }
.ph.ph-list::before { content: "\e2f0"; }
.ph.ph-map-pin::before { content: "\e316"; }
.ph.ph-phone::before { content: "\e3b8"; }
.ph.ph-printer::before { content: "\e3dc"; }
.ph.ph-scan::before { content: "\ebb6"; }
.ph.ph-shield-check::before { content: "\e40c"; }
.ph.ph-stethoscope::before { content: "\e7ea"; }
.ph.ph-syringe::before { content: "\e968"; }
.ph.ph-tooth::before { content: "\e9cc"; }
.ph.ph-users-three::before { content: "\e68e"; }
.ph.ph-warning::before { content: "\e4e0"; }
.ph.ph-x::before { content: "\e4f6"; }
