/* Grimoire — type scale. Sizes point at the fluid ramp in tokens/layout.css,
   which interpolates 375px → 1440px and tops out at the original desktop value,
   so desktop is unchanged. Two voices only: a gold SERIF for anything titled, a
   geometric SANS for everything a player reads or clicks. Never mix them inside
   one line. Body, label, caption and key are deliberately FIXED — small text
   must not shrink further, and 16px body keeps iOS from zooming on focus. */
:root {
  --fs-hero: var(--ramp-hero);       /* @kind font */
  --fs-display: var(--ramp-display); /* @kind font */
  --fs-title: var(--ramp-title);     /* @kind font */
  --fs-heading: var(--ramp-heading); /* @kind font */
  --fs-plate: var(--ramp-plate);     /* @kind font */
  --fs-body: 16px;      /* @kind font */
  --fs-label: 14px;     /* @kind font */
  --fs-caption: 13px;   /* @kind font */
  --fs-key: 11px;       /* @kind font */

  --fs-stat-xl: var(--ramp-stat-xl); /* @kind font */
  --fs-stat: var(--ramp-stat);       /* @kind font */
  --fs-stat-sm: var(--ramp-stat-sm); /* @kind font */

  --lh-tight: 1.05; /* @kind font */
  --lh-title: 1.18; /* @kind font */
  --lh-snug: 1.35; /* @kind font */
  --lh-body: 1.62; /* @kind font */

  --ls-hero: 0.005em; /* @kind font */
  --ls-title: 0.015em;  /* @kind font */
  --ls-plate: 0.01em; /* @kind font */
  --ls-body: 0.005em; /* @kind font */
  --ls-caps: 0.14em;    /* @kind font */
  --ls-numeral: 0.02em; /* @kind font */

  --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 */

  /* Ready-made roles — prefer these over assembling font shorthand by hand. */
  --type-hero: var(--fw-regular) var(--fs-hero) / var(--lh-tight) var(--font-display); /* @kind font */
  --type-display: var(--fw-regular) var(--fs-display) / var(--lh-title) var(--font-display); /* @kind font */
  --type-title: var(--fw-medium) var(--fs-title) / var(--lh-title) var(--font-display); /* @kind font */
  --type-heading: var(--fw-medium) var(--fs-heading) / var(--lh-title) var(--font-display); /* @kind font */
  --type-plate: var(--fw-regular) var(--fs-plate) / var(--lh-snug) var(--font-ui); /* @kind font */
  --type-body: var(--fw-regular) var(--fs-body) / var(--lh-body) var(--font-ui); /* @kind font */
  --type-label: var(--fw-medium) var(--fs-label) / var(--lh-snug) var(--font-ui); /* @kind font */
  --type-caption: var(--fw-regular) var(--fs-caption) / var(--lh-snug) var(--font-ui); /* @kind font */
  --type-stat: var(--fw-light) var(--fs-stat) / 1 var(--font-numeral); /* @kind font */
  --type-stat-xl: var(--fw-light) var(--fs-stat-xl) / 1 var(--font-numeral); /* @kind font */
}
