/* ═══════════════════════════════════════════════════════════════
   SELF-HOSTED FONTS

   Served from this domain, not fonts.googleapis.com: no visitor IP
   reaches a third party, there is no extra DNS + TLS round trip before
   first paint, and the page still sets where Google is blocked. All four
   families are SIL OFL — the licences ship next to the files in
   assets/fonts/, which is what the OFL asks for.

   Files are built by scripts/build_fonts.py: upstream TTF → variable axes
   pinned to the one instance used → subset to the characters the site can
   show → woff2. Do not hand-edit them.

   font-display: swap — the fallback shows immediately and the real face
   swaps in. On this design the fallbacks are close enough in colour that
   the swap is not violent.
   ═══════════════════════════════════════════════════════════════ */

/* Display — KOBAKO, the wordmark, headings */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/fraunces-500.woff2') format('woff2');
}

/* Text — body copy, card titles */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/newsreader-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/newsreader-500.woff2') format('woff2');
}
/* "Your Idea Companion" is the italic, and it is above the fold */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/newsreader-400-italic.woff2') format('woff2');
}

/* Labels and UI — Latin as well as Japanese */
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/zen-kaku-gothic-new-500.woff2') format('woff2');
}

/* Japanese display — 小箱 and the vertical line */
@font-face {
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/shippori-mincho-400.woff2') format('woff2');
}

/* ── The parked directions ──────────────────────────────────────
   Only Washi's four families are hosted here, because only Washi is on
   the page. The five parked directions in themes.css name faces that are
   no longer loaded — Bodoni Moda, EB Garamond, Space Mono, Zen Old
   Mincho, Archivo, DM Mono, Familjen Grotesk, Zen Maru Gothic, Cormorant
   Garamond, IBM Plex Mono, Anton, Chivo Mono, Dela Gothic One — and will
   fall back to the system serif or sans if the switcher is turned back
   on. Their layouts survive; their character does not. Add the families
   to scripts/build_fonts.py and rebuild before judging any direction on
   its typography again.
   ────────────────────────────────────────────────────────────── */
