/* ============================================================================
   ITOKAZE DS.
   fonts.css · self-hosted variable faces

   Every face here is SIL Open Font License 1.1 — free for commercial use,
   including desktop, web and app embedding, with no pageview or domain caps.
   The licence texts ship alongside the binaries in assets/fonts/OFL-*.txt,
   because OFL requires the copyright notice to travel with any redistribution
   of the files — and self-hosting a webfont IS redistribution.

   This file declares the two faces the system uses: Saira and Martian Mono.
   Two further comparison faces (Anybody, Tourney) live in assets/fonts and are
   declared only by type-specimen.html. None of the four carries a Reserved
   Font Name, so subsetting or optically tightening a cut without renaming is
   permitted.

   PRODUCTION NOTE: these are full .ttf variable binaries, shipped whole so the
   entire width axis is live. Before launch, subset to the Latin range and
   convert to .woff2 (`pyftsubset --flavor=woff2 --layout-features='*'`) — that
   typically takes Anybody from ~197 KB to under 40 KB. Do NOT drop the
   OpenType layout features when subsetting: `tnum` and `zero` carry every
   measurement, lot code and price in the system.
   ========================================================================== */

/* DISPLAY + TEXT — Saira, Omnibus-Type. ONE superfamily, two roles.
   Display and text are the same typeface separated by width alone, which is
   the Söhne Breit / Söhne relationship this direction originally specified —
   now in an OFL family. 126 upstream styles (9 weights x 7 widths + italics),
   so the widths are genuinely drawn rather than interpolated.
   Richest figure set of any candidate: tnum, lnum, onum, titl, salt,
   ss01/ss02 and a slashed zero, all verified present in the binary.

   THE TRADE, stated plainly: the axis stops at 125, so the expanded end alone
   gives only a 17% width gain over normal. The ladder therefore leans on the
   CONDENSED end too — see --wdth-data / --wdth-tight in tokens.css. Set dense
   data narrow, or the hierarchy flattens and tracking creeps back in.
   (Anybody, wdth 50–150, remains in assets/fonts for type-specimen.html —
   it is the face to revisit if the width hierarchy ever reads too soft.) */
@font-face {
  font-family: "Saira";
  src: url("../assets/fonts/Saira-var.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}

/* MONO — Martian Mono, Evil Martians.
   The machine-truth slot: measurements, gsm, lot codes, filament codes,
   prices, timestamps. Used only at 11px and 13px, uppercase, +0.08em.
   It is the only free mono with its own width axis, so measurements can join
   the width ladder instead of sitting outside it. Figures are tabular by
   construction — no `tnum` needed. */
@font-face {
  font-family: "Martian Mono";
  src: url("../assets/fonts/MartianMono-var.ttf") format("truetype-variations");
  font-weight: 100 800;
  font-stretch: 75% 112%;
  font-display: swap;
}
