/* ============================================================
   NŪFIK TYPE SYSTEM — src/type.css
   Values from type-system.md (Figma "Nūfik — Graphic List", 2026-10-25).
   Two families only: Neue Haas Grotesk Display for titles, Funnel Sans
   for everything else. No italics, no mono, no uppercase, no positive
   tracking. Loaded on every page before its own <style>.
   ============================================================ */
:root {
  /* Families. Neue Haas comes from Typekit kit bvc3fac. */
  --font-title: "neue-haas-grotesk-display", "Helvetica Neue", Arial, sans-serif;
  --font-body:  "Funnel Sans", system-ui, sans-serif;

  /* Title. Desktop values from Figma, mobile floors are proposals.
     The kit numbers Neue Haas off the usual scale:
     55 Roman = 500, 65 Medium = 600, 75 Bold = 700. */
  --title-display: 700 clamp(44px, 7vw, 80px) / 1.0 var(--font-title);
  --title-h1:      600 clamp(34px, 4.6vw, 52px) / 1.02 var(--font-title);
  --title-h2:      600 clamp(28px, 3.2vw, 36px) / 1.1 var(--font-title);
  --title-subhead: 500 clamp(22px, 2.4vw, 26px) / 1.2 var(--font-title);
  --title-h3:      500 22px / 1.2 var(--font-title);
  --title-h4:      600 20px / 1.2 var(--font-title);

  /* Body */
  --body-lead:    400 20px / 1.45 var(--font-body);
  --body-l:       400 17px / 1.5  var(--font-body);
  --body-strong:  500 16px / 1.4  var(--font-body);
  --body-m:       400 15px / 1.5  var(--font-body);
  --body-nav:     500 14px / 1.4  var(--font-body);
  --body-caption: 400 14px / 1.45 var(--font-body);
  --body-label:   500 13px / 1.4  var(--font-body);
  --body-small:   400 13px / 1.4  var(--font-body);

  /* Tracking */
  --tracking-title:   0;
  --tracking-subhead: -0.01em;
  --tracking-h4:      -0.005em;
  --tracking-body:    -0.03em;
}

body {
  font: var(--body-l);
  letter-spacing: var(--tracking-body);
}
