/* Pinar DS2 — local files in /static/fonts/ */

@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-Light.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-Regular.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-Medium.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-Medium.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-Medium.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-Bold.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-ExtraBold.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Persian-optimized cuts for Arabic script (fallback layer for bold weights) */
@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-FD-Bold.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-FD-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}

@font-face {
  font-family: 'Pinar';
  src:
    url('/static/fonts/Pinar-DS2-FD-ExtraBold.woff2') format('woff2'),
    url('/fonts/Pinar-DS2-FD-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
