/* ===========================================================================
   Atelier — Typography
   One family does the work: Geist for everything on screen, Geist Mono for
   code, keyboard hints, and tracked technical labels. Hierarchy comes from
   weight and size, not from swapping faces. Restraint is the point.
   =========================================================================== */

:root {
  /* --- Families ------------------------------------------------------- */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", "Menlo", "Consolas",
               monospace;

  /* --- Weights -------------------------------------------------------- */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extra:    800;

  /* --- Type scale (px-derived rem, 1rem = 16px) ----------------------- */
  --text-xs:    0.75rem;    /* 12 — captions, kbd            */
  --text-sm:    0.875rem;   /* 14 — UI default, labels       */
  --text-base:  1rem;       /* 16 — body                     */
  --text-lg:    1.125rem;   /* 18 — lead body                */
  --text-xl:    1.25rem;    /* 20 — card titles              */
  --text-2xl:   1.5rem;     /* 24 — section headings         */
  --text-3xl:   1.875rem;   /* 30 — page titles              */
  --text-4xl:   2.25rem;    /* 36 — display sm               */
  --text-5xl:   3rem;       /* 48 — display                  */
  --text-6xl:   3.75rem;    /* 60 — hero                     */
  --text-7xl:   4.5rem;     /* 72 — mega hero                */

  /* --- Line heights --------------------------------------------------- */
  --leading-none:    1;
  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* --- Tracking ------------------------------------------------------- */
  --tracking-tighter: -0.03em;  /* large display                 */
  --tracking-tight:   -0.015em; /* headings                      */
  --tracking-normal:  0;
  --tracking-wide:    0.02em;
  --tracking-label:   0.08em;   /* mono eyebrows / tracked caps  */

  /* --- Semantic role aliases ------------------------------------------ */
  --display-font:   var(--font-sans);
  --display-weight: var(--weight-semibold);
  --heading-weight: var(--weight-semibold);
  --body-font:      var(--font-sans);
  --body-weight:    var(--weight-regular);
  --label-font:     var(--font-mono);
}
