/* Live On! Summit — Typography tokens
   Primary display: Gambarino (postmodern serif) — headlines, numerals, editorial.
   Secondary: Figtree (sans) — UI, body, data, labels.
   Type scale transcribed from Brand Style Guide §5. */

:root {
  /* ---- Latin (default) ---- */
  --font-display: "Gambarino", "Times New Roman", Georgia, serif;
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: var(--font-sans);

  /* ---- Cyrillic / localisation (apply on :lang(bg) or .lang-cyr) ---- */
  --font-display-cyr: "Oranienbaum", "Times New Roman", Georgia, serif;
  --font-sans-cyr: "Onest", var(--font-sans);
  /* Guidelines §5.4 localisation formula: Cyrillic headings run larger and
     tighter than their Latin counterparts. */
  --loc-cyr-tracking: -0.02em;  /* @kind other */ /* -2% */
  --loc-cyr-line-height: 0.85;  /* @kind other */

  /* Weights */
  --fw-light: 300; /* @kind other */
  --fw-regular: 400; /* @kind other */
  --fw-medium: 500; /* @kind other */
  --fw-semibold: 600; /* @kind other */
  --fw-bold: 700; /* @kind other */

  /* Display scale (Gambarino) */
  --text-hero: 110px;      /* section covers */
  --text-display: 90px;
  --text-h1: 64px;
  --text-h2: 48px;
  --text-h3: 36px;

  /* Text scale (Figtree) */
  --text-title: 30px;
  --text-lead: 22px;
  --text-body-lg: 20px;
  --text-body: 18px;
  --text-body-sm: 16px;
  --text-caption: 14px;
  --text-micro: 12px;

  /* Line heights */
  --lh-tight: 1.05; /* @kind other */
  --lh-snug: 1.2; /* @kind other */
  --lh-normal: 1.4; /* @kind other */
  --lh-relaxed: 1.55; /* @kind other */

  /* Tracking */
  --tracking-tight: -0.02em; /* @kind other */
  --tracking-normal: 0em; /* @kind other */
  --tracking-wide: 0.02em; /* @kind other */
  --tracking-caps: 0.08em; /* @kind other */

  /* Canonical guideline scale (§5.5, Golden-Ratio, in pt for print reference):
     Heading XL 120 · Heading L 80 · Heading M 48 · Heading S 28 ·
     Body L 18 · Body M 16 · Body S 14. The px --text-* tokens above are the
     on-screen realisation of this hierarchy. */
}

/* Cyrillic / Bulgarian localisation scope — set lang="bg" or class="lang-cyr"
   on a container to switch the type system to Oranienbaum + Onest. */
:lang(bg), .lang-cyr {
  --font-display: var(--font-display-cyr);
  --font-sans: var(--font-sans-cyr);
  --font-body: var(--font-sans-cyr);
  --tracking-tight: var(--loc-cyr-tracking);
  --lh-tight: var(--loc-cyr-line-height);
}
