/* ethar-web/public/fonts/fonts.css
 *
 * Self-hosted @font-face declarations for Ethar brand fonts.
 * All paths are relative to the public root so Vite serves them as-is.
 *
 * EN display/headings : Parma W01 Display
 * EN body/UI          : Helvetica
 * AR display/headings : jAWAD Salma Arabic (Thin→Medium)
 * AR body             : Nassim Arabic (Regular + Bold)
 */

/* ─── English – Display (Parma W01) ──────────────────────────────────────── */

@font-face {
  font-family: 'Parma W01 Display';
  src: url('/fonts/en/Parma_W01_Display.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Parma W01 Display';
  src: url('/fonts/en/Parma_W01_Display_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── English – Body / UI (Helvetica) ────────────────────────────────────── */

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/en/helvetica/Helvetica-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/en/helvetica/Helvetica.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/en/helvetica/Helvetica-Oblique.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/en/helvetica/Helvetica-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/fonts/en/helvetica/Helvetica-BoldOblique.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ─── Arabic – Display / Headings (jAWAD Salma Arabic) ───────────────────── */

@font-face {
  font-family: 'jAWAD Salma Arabic';
  src: url('/fonts/ar/jAWAD_Salma_Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  /* Arabic blocks + whitespace and the ASCII punctuation that appears
   * INSIDE Arabic runs (commas, periods, parens, dashes). We intentionally
   * EXCLUDE Latin letters/digits (U+0030–0039, U+0041–005A, U+0061–007A) so
   * Latin runs still resolve to Helvetica. The included whitespace+
   * punctuation block prevents the browser from routing spaces/commas
   * through Helvetica (which Windows substitutes to Arial), so the DevTools
   * "Rendered Fonts" panel never lists Arial on Arabic pages. */
  unicode-range:
    U+0020-002F,                  /* SP ! " # $ % & ' ( ) * + , - . / */
    U+003A-0040,                  /* : ; < = > ? @ */
    U+005B-0060,                  /* [ \ ] ^ _ ` */
    U+007B-007F,                  /* { | } ~ DEL */
    U+00A0-00BF,                  /* nbsp + Latin-1 punctuation */
    U+2000-206F,                  /* General punctuation (en/em dash, smart quotes, ZWNJ) */
    U+0600-06FF, U+0750-077F,     /* Arabic + Arabic Supplement */
    U+08A0-08FF,                  /* Arabic Extended-A */
    U+FB50-FDFF, U+FE70-FEFF;     /* Arabic Presentation Forms-A/B */
}

@font-face {
  font-family: 'jAWAD Salma Arabic';
  src: url('/fonts/ar/jAWAD_Salma_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  /* Arabic blocks + whitespace and the ASCII punctuation that appears
   * INSIDE Arabic runs (commas, periods, parens, dashes). We intentionally
   * EXCLUDE Latin letters/digits (U+0030–0039, U+0041–005A, U+0061–007A) so
   * Latin runs still resolve to Helvetica. The included whitespace+
   * punctuation block prevents the browser from routing spaces/commas
   * through Helvetica (which Windows substitutes to Arial), so the DevTools
   * "Rendered Fonts" panel never lists Arial on Arabic pages. */
  unicode-range:
    U+0020-002F,                  /* SP ! " # $ % & ' ( ) * + , - . / */
    U+003A-0040,                  /* : ; < = > ? @ */
    U+005B-0060,                  /* [ \ ] ^ _ ` */
    U+007B-007F,                  /* { | } ~ DEL */
    U+00A0-00BF,                  /* nbsp + Latin-1 punctuation */
    U+2000-206F,                  /* General punctuation (en/em dash, smart quotes, ZWNJ) */
    U+0600-06FF, U+0750-077F,     /* Arabic + Arabic Supplement */
    U+08A0-08FF,                  /* Arabic Extended-A */
    U+FB50-FDFF, U+FE70-FEFF;     /* Arabic Presentation Forms-A/B */
}

@font-face {
  font-family: 'jAWAD Salma Arabic';
  src: url('/fonts/ar/jAWAD_Salma_Normal.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* Arabic blocks + whitespace and the ASCII punctuation that appears
   * INSIDE Arabic runs (commas, periods, parens, dashes). We intentionally
   * EXCLUDE Latin letters/digits (U+0030–0039, U+0041–005A, U+0061–007A) so
   * Latin runs still resolve to Helvetica. The included whitespace+
   * punctuation block prevents the browser from routing spaces/commas
   * through Helvetica (which Windows substitutes to Arial), so the DevTools
   * "Rendered Fonts" panel never lists Arial on Arabic pages. */
  unicode-range:
    U+0020-002F,                  /* SP ! " # $ % & ' ( ) * + , - . / */
    U+003A-0040,                  /* : ; < = > ? @ */
    U+005B-0060,                  /* [ \ ] ^ _ ` */
    U+007B-007F,                  /* { | } ~ DEL */
    U+00A0-00BF,                  /* nbsp + Latin-1 punctuation */
    U+2000-206F,                  /* General punctuation (en/em dash, smart quotes, ZWNJ) */
    U+0600-06FF, U+0750-077F,     /* Arabic + Arabic Supplement */
    U+08A0-08FF,                  /* Arabic Extended-A */
    U+FB50-FDFF, U+FE70-FEFF;     /* Arabic Presentation Forms-A/B */
}

@font-face {
  font-family: 'jAWAD Salma Arabic';
  src: url('/fonts/ar/jAWAD_Salma_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  /* Arabic blocks + whitespace and the ASCII punctuation that appears
   * INSIDE Arabic runs (commas, periods, parens, dashes). We intentionally
   * EXCLUDE Latin letters/digits (U+0030–0039, U+0041–005A, U+0061–007A) so
   * Latin runs still resolve to Helvetica. The included whitespace+
   * punctuation block prevents the browser from routing spaces/commas
   * through Helvetica (which Windows substitutes to Arial), so the DevTools
   * "Rendered Fonts" panel never lists Arial on Arabic pages. */
  unicode-range:
    U+0020-002F,                  /* SP ! " # $ % & ' ( ) * + , - . / */
    U+003A-0040,                  /* : ; < = > ? @ */
    U+005B-0060,                  /* [ \ ] ^ _ ` */
    U+007B-007F,                  /* { | } ~ DEL */
    U+00A0-00BF,                  /* nbsp + Latin-1 punctuation */
    U+2000-206F,                  /* General punctuation (en/em dash, smart quotes, ZWNJ) */
    U+0600-06FF, U+0750-077F,     /* Arabic + Arabic Supplement */
    U+08A0-08FF,                  /* Arabic Extended-A */
    U+FB50-FDFF, U+FE70-FEFF;     /* Arabic Presentation Forms-A/B */
}

/* ─── Arabic – Body / Reading (Nassim Arabic) ─────────────────────────────── */

@font-face {
  font-family: 'Nassim Arabic';
  src: url('/fonts/ar/Nassim_Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* Arabic blocks + whitespace and the ASCII punctuation that appears
   * INSIDE Arabic runs (commas, periods, parens, dashes). We intentionally
   * EXCLUDE Latin letters/digits (U+0030–0039, U+0041–005A, U+0061–007A) so
   * Latin runs still resolve to Helvetica. The included whitespace+
   * punctuation block prevents the browser from routing spaces/commas
   * through Helvetica (which Windows substitutes to Arial), so the DevTools
   * "Rendered Fonts" panel never lists Arial on Arabic pages. */
  unicode-range:
    U+0020-002F,                  /* SP ! " # $ % & ' ( ) * + , - . / */
    U+003A-0040,                  /* : ; < = > ? @ */
    U+005B-0060,                  /* [ \ ] ^ _ ` */
    U+007B-007F,                  /* { | } ~ DEL */
    U+00A0-00BF,                  /* nbsp + Latin-1 punctuation */
    U+2000-206F,                  /* General punctuation (en/em dash, smart quotes, ZWNJ) */
    U+0600-06FF, U+0750-077F,     /* Arabic + Arabic Supplement */
    U+08A0-08FF,                  /* Arabic Extended-A */
    U+FB50-FDFF, U+FE70-FEFF;     /* Arabic Presentation Forms-A/B */
}

@font-face {
  font-family: 'Nassim Arabic';
  src: url('/fonts/ar/Nassim_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  /* Arabic blocks + whitespace and the ASCII punctuation that appears
   * INSIDE Arabic runs (commas, periods, parens, dashes). We intentionally
   * EXCLUDE Latin letters/digits (U+0030–0039, U+0041–005A, U+0061–007A) so
   * Latin runs still resolve to Helvetica. The included whitespace+
   * punctuation block prevents the browser from routing spaces/commas
   * through Helvetica (which Windows substitutes to Arial), so the DevTools
   * "Rendered Fonts" panel never lists Arial on Arabic pages. */
  unicode-range:
    U+0020-002F,                  /* SP ! " # $ % & ' ( ) * + , - . / */
    U+003A-0040,                  /* : ; < = > ? @ */
    U+005B-0060,                  /* [ \ ] ^ _ ` */
    U+007B-007F,                  /* { | } ~ DEL */
    U+00A0-00BF,                  /* nbsp + Latin-1 punctuation */
    U+2000-206F,                  /* General punctuation (en/em dash, smart quotes, ZWNJ) */
    U+0600-06FF, U+0750-077F,     /* Arabic + Arabic Supplement */
    U+08A0-08FF,                  /* Arabic Extended-A */
    U+FB50-FDFF, U+FE70-FEFF;     /* Arabic Presentation Forms-A/B */
}
