/* Fonts served by this platform, not fetched from anywhere else.
   The rule for the built-in stacks is that nothing is fetched at render time:
   a published site that reaches out to a font host has taken on a third
   party's latency and a visitor's privacy on the customer's behalf. Serving
   it ourselves keeps that true -- it is one request to the same origin the
   page came from, cached like any other asset. */
@font-face {
  font-family: "Signature Script";
  src: url("../fonts/SignatureScript-Regular.woff2") format("woff2"),
       url("../fonts/SignatureScript-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  /* 2.590.0. Kelly, 2026-11-27: text drawn in another font, then switched to
     this one, "is a major bug". Wait for it (a page names the fonts it uses
     in its head, so they come early, and keeps them a week); a browser gives
     up waiting after about three seconds and draws the fallback. */
  font-display: block;
}

/* Four faces the hero arrangements need, self-hosted like Signature Script.

   Not fetched from Google at render time: a published page here reaches no
   third party, and a font request is a request that tells somebody else who
   is reading a customer's site.

   Each is subset to Latin and the punctuation a business writes with, which
   takes a face from several hundred kilobytes to under fifty. All four are
   variable, so one file covers every weight -- a display serif at 400 for a
   subheading and 900 for a headline costs nothing extra.

   All under the SIL Open Font License. */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  /* 2.590.0. Not the fallback first: see Signature Script above. */
  font-display: block;
}

@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

/* 2.472.0. Five more, the lookbooks' fonts (Kelly, 2026-11-09), from
   github.com/google/fonts, under the SIL Open Font License; each family's
   licence is in ../fonts/licences/. Fraunces, Newsreader, DM Sans and Space
   Mono are subset to the same characters as the four above. Libre
   Baskerville's licence reserves its name for the unmodified font, and a
   subset is a modified one, so it is converted to WOFF2 whole. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: block;
}

/* Not variable: a regular and a bold. */
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/SpaceMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Space Mono";
  src: url("../fonts/SpaceMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
