/* Rubik */
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-Black.ttf");
  font-weight: 900;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-BlackItalic.ttf");
  font-weight: 900;
  font-style: italic;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-ExtraBold.ttf");
  font-weight: 800;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-ExtraBoldItalic.ttf");
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-Bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-BoldItalic.ttf");
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-SemiBold.ttf");
  font-weight: 600;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-SemiBoldItalic.ttf");
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-MediumItalic.ttf");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-Italic.ttf");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-Light.ttf");
  font-weight: 300;
}
@font-face {
  font-family: "Default";
  src: url("./fonts/Rubik/Rubik-LightItalic.ttf");
  font-weight: 300;
  font-style: italic;
}

/* Noto Color Emoji */
@font-face {
  font-family: "Noto Color Emoji";
  src: url("./fonts/NotoColorEmoji/NotoColorEmoji.ttf") format("truetype");
  /* Emoji fonts typically have one weight/style */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* PingARLT — رقميتيا brand typeface (licensed, owner confirmed) */
@font-face {
  font-family: "PingARLT";
  src: url("./fonts/PingARLT/PingARLT-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PingARLT";
  src: url("./fonts/PingARLT/PingARLT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Body copy uses --f-body, headings use --f-head (tokens defined at :root in
   tailwind.css). Literal fallbacks keep the brand font resolving before the
   bundled CSS loads (no flash of the old font). */
html,
body {
  font-family: var(--f-body, "PingARLT", "IBM Plex Sans Arabic", system-ui, sans-serif);
}

* {
  font-family: var(--f-body, "PingARLT", "IBM Plex Sans Arabic", system-ui, sans-serif),
    "Noto Color Emoji" !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-head, "PingARLT", "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif),
    "Noto Color Emoji" !important;
}
