/* Nedim Shoes: the self-hosted faces (design-system.md, Type; decisions.md 2026-11-19, "Fonts are self-hosted").
   The URLs are relative to this file, so the same stylesheet works on the site (/fonts/fonts.css) and from file://
   (a prototype links ../../../public/fonts/fonts.css). Link it after the tokens file.

   Switzer Variable 1.200, Indian Type Foundry, ITF Free Font License 2.0 (FFL.txt). The main face (owner, 2026-11-21:
   "主要字体是 Switzer 的 Variable"). The official WOFF2 from the Fontshare download
   (api.fontshare.com/v2/fonts/download/switzer, Switzer_Complete/Fonts/WEB/fonts/Switzer-Variable.woff2, fetched
   2026-11-21), byte-identical: never subset, convert or rename it (guideline §4a). Repo stays private.
   One axis, wght 100-900 (default 400, named instances every 100). Upright only: no italics (T7).
   At 400, 500 and 700 its advance widths and vertical metrics equal the static Switzer files, so line breaks do not move.

   Babylonica 1.010, Robert Leuschke, SIL Open Font License 1.1 (OFL.txt). The WOFF2 from the upstream project
   github.com/googlefonts/babylonica, fonts/webfonts/, commit 7b1c733 (the commit Google Fonts ships), unmodified.
   The script face, used where it fits (owner, 2026-11-21).

   Turkish (İ ı Ş ş Ğ ğ Ç ç Ö ö Ü ü â î û) is in the cmap of both files. */

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

/* INTERIM, until the tokens file drops its placeholder Switzer rules (docs/design-system-tokens.css, "Type: font
   loading": three single-weight rules, 400 / 500 / 700, pointing at /fonts/Switzer-*.woff2). Chrome prefers a face
   whose weight is exactly the one asked for over a face whose range contains it, so without these three rules the
   placeholders win at 400, 500 and 700, 404, and the text falls back (to an installed Switzer, else Arial).
   Same file, same weights: each rule only overrides the placeholder with the same descriptors, and the browser
   downloads the file once. Delete these three rules when the tokens' placeholder rules are gone. */
@font-face {
  font-family: "Switzer";
  src: url("Switzer-Variable.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("Switzer-Variable.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("Switzer-Variable.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Babylonica";
  src: url("Babylonica-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
