/* Tangram Studios, typography
   One family: DM Sans, as used on tangramstudios.com. Display, body, and labels are all the same
   typeface. Hierarchy is carried by weight, size, and the orange accent, never by a second family.
   --font-display and --font-mono are kept as aliases so existing code keeps working. */
:root {
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: var(--font-body);
  --font-mono:    var(--font-body); /* deprecated alias, no monospace in the system */

  /* Type scale (1.25 major-third-ish, tuned) */
  --text-2xs:  0.6875rem; /* 11 */
  --text-xs:   0.75rem;   /* 12 */
  --text-sm:   0.875rem;  /* 14 */
  --text-base: 1rem;      /* 16 */
  --text-md:   1.125rem;  /* 18 */
  --text-lg:   1.375rem;  /* 22 */
  --text-xl:   1.75rem;   /* 28 */
  --text-2xl:  2.25rem;   /* 36 */
  --text-3xl:  3rem;      /* 48 */
  --text-4xl:  4rem;      /* 64 */
  --text-5xl:  5.5rem;    /* 88 */

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  --leading-tight:   1.08;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;

  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-caps:   0.12em; /* eyebrow / overline labels */

  /* Label voice: replaces the old mono labels. Uppercase, letterspaced, medium weight, small. */
  --label-size:     var(--text-2xs);
  --label-weight:   var(--weight-medium);
  --label-tracking: var(--tracking-caps);

  /* Social display: same family, biggest sizes, bold, tightened. */
  --social-weight:   var(--weight-bold);
  --social-tracking: -0.03em;
}

/* All numeric data aligns in columns. */
table, .tabular, [data-numeric] { font-variant-numeric: tabular-nums; }
