/*
 * IranSans — Self-hosted @font-face declarations
 *
 * Download IranSans WOFF2 files from:
 * https://github.com/rastikerdar/iran-sans-font/releases (Persian open-source font)
 * Or the commercial IranSans from https://fontiran.com
 *
 * The official release ZIP from rastikerdar/iran-sans-font uses
 * this exact naming convention (uppercase "IRAN", underscore
 * separator) — place these files, unrenamed, in /assets/fonts/:
 *
 *   - IRANSansWeb.woff2          (Regular  400)
 *   - IRANSansWeb_Medium.woff2   (Medium   500)
 *   - IRANSansWeb_Bold.woff2     (Bold     700)
 *   - IRANSansWeb_Light.woff2    (Light    300)
 *
 * If you are instead using the commercial fontiran.com package,
 * confirm its actual filenames with `ls assets/fonts/` after
 * extracting and adjust the url() paths below to match — vendors
 * are not fully consistent with each other on casing/separators.
 *
 * font-display: swap ensures text stays visible during load.
 * unicode-range limits loading to Persian/Arabic scripts.
 */

@font-face {
  font-family: 'IranSans';
  src:
    url('IRANSansWeb.woff2') format('woff2'),
    url('IRANSansWeb.woff')  format('woff');
  font-weight:  400;
  font-style:   normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+FB50-FDFF,
    U+FE70-FEFF,
    U+0020-007E;
}

@font-face {
  font-family: 'IranSans';
  src:
    url('IRANSansWeb_Medium.woff2') format('woff2'),
    url('IRANSansWeb_Medium.woff')  format('woff');
  font-weight:  500;
  font-style:   normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+FB50-FDFF,
    U+FE70-FEFF,
    U+0020-007E;
}

@font-face {
  font-family: 'IranSans';
  src:
    url('IRANSansWeb_Bold.woff2') format('woff2'),
    url('IRANSansWeb_Bold.woff')  format('woff');
  font-weight:  700;
  font-style:   normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+FB50-FDFF,
    U+FE70-FEFF,
    U+0020-007E;
}

@font-face {
  font-family: 'IranSans';
  src:
    url('IRANSansWeb_Light.woff2') format('woff2'),
    url('IRANSansWeb_Light.woff')  format('woff');
  font-weight:  300;
  font-style:   normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+FB50-FDFF,
    U+FE70-FEFF,
    U+0020-007E;
}
