/* SHAMS brand foundations — shared by the site and the dashboard.
   Source: SHAMS Brand Guidelines 2026 (Edition 01). */

/* ---------- type ----------
   AA-GALAXY: the Arabic display face, one bold weight, Arabic letters only (no digits, no Latin),
   as supplied by the client. Alexandria: Arabic and Latin, one variable family (SIL OFL 1.1), for
   everything else and for any character AA-GALAXY does not have. */
@font-face {
  font-family: "AA Galaxy";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/aa-galaxy-bold.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+FE70-FEFC;
}
@font-face {
  font-family: "Alexandria";
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/alexandria-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Alexandria";
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/alexandria-arabic-wght-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  /* the palette */
  --olive-dust: #a5a78f;
  --olive-branch: #797d5b;
  --verdant: #54583e;      /* Verdant Olive */
  --bark: #343524;         /* Tree Bark: text on light, ground for dark sections */
  --soil: #181b10;         /* Rooted Soil */
  --green: #637752;        /* Logo Green: the logo, and the accent on white */

  /* surfaces and lines derived from Olive Dust, never off-palette */
  --paper: #ffffff;
  --tint: #f2f3ef;         /* Olive Dust at 14% on white */
  --tint-deep: #e6e6e0;    /* Olive Dust at 28% on white */
  --rule: rgba(165, 167, 143, 0.55);

  --ink: var(--bark);
  --ink-soft: var(--verdant);   /* 7.4:1 on white */

  --text: "Alexandria", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --display-ar: "AA Galaxy", "Alexandria", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
/* Display type: AA-GALAXY for Arabic; English display stays Alexandria ExtraLight. */
:root:lang(ar) { --display: var(--display-ar); }
:root:lang(en) { --display: var(--text); }

/* Weights by role (proposed hierarchy): Display ExtraLight in English and AA-GALAXY Bold in Arabic,
   Subheading Medium, Body Light, Label Medium. */
:root:lang(en) { --w-display: 200; --w-heading: 300; --w-sub: 500; --w-body: 300; }
:root:lang(ar) { --w-display: 700; --w-heading: 500; --w-sub: 500; --w-body: 300; }
