/* ===========================================================================
   Polimi — Typography tokens
   Source: Brand Guidelines Rel. 3.0, §06 Tipografia + §10 Tipografia digitale.
   Primary  : Manrope  (sans) — titles AND body, corporate lettering.   Fallback: Arial.
   Secondary: Frank Ruhl Libre (serif) — institutional titles / special. Fallback: Georgia.
   =========================================================================== */

:root {
  /* Families */
  --font-sans: 'Manrope', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-serif: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --font-body: var(--font-sans);
  --font-display: var(--font-sans);   /* default display = Manrope; serif used for special titles */

  /* Weights (Manrope ships 200–800; we expose the brand's working set) */
  --fw-light: 300;        /* @kind font */
  --fw-regular: 400;      /* @kind font */
  --fw-medium: 500;       /* @kind font */
  --fw-semibold: 600;     /* @kind font */
  --fw-bold: 700;         /* @kind font */
  --fw-extrabold: 800;    /* @kind font */

  /* Type scale — Manrope-tuned, ~1.25 ratio. rem-based (16px root). */
  --text-2xs: 0.6875rem;   /* 11px — captions, labels */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px — body */
  --text-md: 1.125rem;     /* 18px — lead body */
  --text-lg: 1.375rem;     /* 22px */
  --text-xl: 1.75rem;      /* 28px */
  --text-2xl: 2.25rem;     /* 36px */
  --text-3xl: 3rem;        /* 48px */
  --text-4xl: 4rem;        /* 64px — hero */
  --text-5xl: 5.25rem;     /* 84px — display */

  /* Line heights */
  --leading-tight: 1.08;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing — Manrope sits well slightly tightened at large sizes;
     labels/eyebrows use positive tracking + uppercase (per brand specimen). */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-label: 0.14em;   /* eyebrow / overline */
}
