/* Sukkar brand foundations — shared by the site and the dashboard.
   Source: Sukkar Brand Guidelines (09-2026): Burgundy and Beige, Alexandria in both languages. */

/* ---------- type ----------
   Alexandria: Arabic and Latin, one variable family (SIL OFL 1.1), for everything in both languages. */
@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 two brand colours */
  --burgundy: #3d030d;     /* Burgundy: text on light, ground for dark sections */
  --beige: #ede2d0;        /* Beige: the brand's light colour; the logo and text on burgundy */

  /* tints and shades of those two, never off-palette */
  --wine: #6e1f30;         /* Burgundy lifted: hover and quiet text on light (9.8:1 on paper) */
  --accent: #7a1a2c;       /* headings and links on light (9.2:1 on paper) */
  --rose: #8a5560;         /* edges of controls and rims on light (5.2:1), rules on burgundy */
  --sand: #d9c9b3;         /* quiet text on burgundy (10.6:1) */
  --paper: #f6f0e7;        /* Beige at 50% on white: the page */
  --tint: #ede2d0;         /* Beige itself: bands and hover */
  --tint-deep: #e2d4bd;
  --rule: rgba(110, 31, 48, 0.3);
  --danger: #b42318;       /* errors and deletes: the one colour outside the palette, a red unlike the burgundy */

  --ink: var(--burgundy);
  --ink-soft: var(--wine);

  --text: "Alexandria", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --display: var(--text);
}

/* Weights by role: Display ExtraLight in English and Semibold in Arabic (Arabic joins its letters, so it
   needs more weight to hold the same presence), 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: 600; --w-heading: 500; --w-sub: 500; --w-body: 300; }
