/* ============================================================
   KOI Group — Typography Tokens
   Cormorant Garamond (serif display) · Manrope (sans UI/body)
   Amiri + Cairo (Arabic) · JetBrains Mono (technical)
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-serif:  'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:   'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Semantic family roles */
  --font-display: var(--font-serif);  /* hero & brand headings */
  --font-heading: var(--font-sans);   /* section/UI headings */
  --font-body:    var(--font-sans);   /* paragraphs & UI */

  /* ---- Type scale (1.250 major-third-ish, 16px root) ---- */
  --text-2xs: 0.6875rem; /* 11 */
  --text-xs:  0.75rem;   /* 12 */
  --text-sm:  0.875rem;  /* 14 */
  --text-base:1rem;      /* 16 */
  --text-lg:  1.125rem;  /* 18 */
  --text-xl:  1.375rem;  /* 22 */
  --text-2xl: 1.75rem;   /* 28 */
  --text-3xl: 2.25rem;   /* 36 */
  --text-4xl: 3rem;      /* 48 */
  --text-5xl: 4rem;      /* 64 */
  --text-6xl: 5.25rem;   /* 84 */

  /* Fluid display sizes */
  --display-sm: clamp(2rem, 1.4rem + 2.6vw, 3rem);     /* @kind other */
  --display-md: clamp(2.6rem, 1.6rem + 4vw, 4rem);     /* @kind other */
  --display-lg: clamp(3.2rem, 1.8rem + 6vw, 5.25rem);  /* @kind other */

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

  /* ---- Line heights ---- */
  --leading-none:    1;
  --leading-tight:   1.12;
  --leading-snug:    1.28;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;

  /* ---- Letter spacing ---- */
  --tracking-tighter: -0.02em;
  --tracking-tight:   -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-wider:   0.12em;  /* eyebrows / GROUP-style wordmarks */
  --tracking-widest:  0.22em;
}
