/*
  Jinn ratified faces (jinn/DESIGN.md section 5), self-hosted, relative URLs.
  Copied byte-for-byte from jinn/app/fonts/ (the Fontshare ITF Free Font License
  forbids subsetting / conversion; see FFL.txt). Monaspace Neon (OFL) is from
  .claude/review/2026-10-14-for-investors/fonts/.

  Usage: <link rel="stylesheet" href="../shared/fonts/fonts.css"> (adjust the path),
  then use the tokens below or the family names directly.

  Weights actually shipped here:
    Zodiak           400, 400 italic, 700, 700 italic   (no Medium exists: 500 renders as 400)
    Cabinet Grotesk  500, 700                           (cap 700 per DESIGN.md; no Regular exists)
    General Sans     400, 500, 600, 700                 (no italics exist)
    Gambetta         400, 400i, 500, 500i, 600, 700
    Monaspace Neon   400 only (500/600/700 live on a CDN in production, see bottom of file)
  Not copied on purpose: Zodiak Extrabold 800 and Cabinet Grotesk Extrabold 800
  (present in jinn/app/fonts/ but outside the type ladder; Cabinet is capped at 700).
*/

/* ---------- Zodiak: display serif (hero + display moments) ---------- */
@font-face { font-family: "Zodiak"; src: url("zodiak/Zodiak-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("zodiak/Zodiak-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("zodiak/Zodiak-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("zodiak/Zodiak-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

/* ---------- Cabinet Grotesk: headers (cap 700) ---------- */
@font-face { font-family: "Cabinet Grotesk"; src: url("cabinet-grotesk/CabinetGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("cabinet-grotesk/CabinetGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- General Sans: UI + body ---------- */
@font-face { font-family: "General Sans"; src: url("general-sans/GeneralSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("general-sans/GeneralSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("general-sans/GeneralSans-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("general-sans/GeneralSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Gambetta: serif accent ---------- */
@font-face { font-family: "Gambetta"; src: url("gambetta/Gambetta-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("gambetta/Gambetta-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("gambetta/Gambetta-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("gambetta/Gambetta-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("gambetta/Gambetta-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("gambetta/Gambetta-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Monaspace Neon: mono (measured data, numerals, eyebrows) ---------- */
@font-face { font-family: "Monaspace Neon"; src: url("monaspace-neon/MonaspaceNeon-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/*
  Monaspace Neon 500 / 600 / 700 are NOT in the repo (production loads them from jsdelivr).
  Offline they fall back to the 400 file (faux bold). If a demo site may use the network, add:
  @font-face { font-family: "Monaspace Neon"; font-weight: 500; font-display: swap;
    src: url("https://cdn.jsdelivr.net/gh/githubnext/monaspace@v1.101/fonts/webfonts/MonaspaceNeon-Medium.woff2") format("woff2"); }
  (same pattern for -SemiBold.woff2 = 600 and -Bold.woff2 = 700)
*/

/* ---------- Jinn type tokens (same names as jinn/app/globals.css) ---------- */
:root {
  --display: "Zodiak", Georgia, "Times New Roman", serif;
  --head:    "Cabinet Grotesk", "General Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ui:      "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body:    "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif-accent: "Gambetta", Georgia, "Times New Roman", serif;
  --mono:    "Monaspace Neon", ui-monospace, "SF Mono", Menlo, monospace;
}
