/* ==========================================================================
   Avadis typography — THE size, weight and rhythm of every heading, h1 to h6.
   The scale lives in css/identity.css (--av-fs-h1 .. h6, --av-lh-h*): phone value + desktop value, one size per level.
   A heading takes its size from its LEVEL, never from a utility class: do not put text-size*, leading-*, font-title or
   title-variation on an h1..h6. A component that needs its own title (card, hero) sets font-size: var(--av-fs-hN) in its css.
   The .h1 .. .h6 classes give the same look to an element that is not (or must not be) that heading level.
   ========================================================================== */
/* Numbers: one font on the whole site, Azarmehr (user, 2026-11-29). This second face of the Pinar family holds only the digits and the number
   signs (% + and the Persian separators), so a title keeps Pinar for its letters and takes its numbers from Azarmehr. It must come after the
   main Pinar @font-face (css/chrome.css, css/style.css) with the same descriptors; the file is the one body text already loads. */
@font-face { font-family: Pinar; src: url("../fonts/AzarMehr-V4.0/Variable/woff2/AzarMehr-VF-FD[DSTY,KSHD,wght].woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0025, U+002B, U+0030-0039, U+0660-066C, U+06F0-06F9; }
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: Pinar, sans-serif;
  font-weight: var(--av-heading-weight);
}
/* the page (body.text-variation) sets font-variation-settings, which beats font-weight, so the heading weight is given on the axis: h2..h6 = 800 like the blog, h1 = 700 */
h2, h3, h4, h5, h6,
.h2, .h3, .h4, .h5, .h6 { font-variation-settings: var(--av-fv-heading); }
h1, .h1 { font-size: var(--av-fs-h1); line-height: var(--av-lh-h1); font-variation-settings: "wght" 700, "DSTY" 3, "KSHD" 100; }
h2, .h2 { font-size: var(--av-fs-h2); line-height: var(--av-lh-h2); }
h3, .h3 { font-size: var(--av-fs-h3); line-height: var(--av-lh-h3); }
h4, .h4 { font-size: var(--av-fs-h4); line-height: var(--av-lh-h4); }
h5, .h5 { font-size: var(--av-fs-h5); line-height: var(--av-lh-h5); }
h6, .h6 { font-size: var(--av-fs-h6); line-height: var(--av-lh-h6); }
