/* Arabic pages (/ar, /ar/start-a-project, /ar/contact-us), and the Arabic menu on the other pages: Alexandria (SIL Open Font License, see assets/fonts/ar/OFL.txt), a wide geometric
   Arabic close to the brand's Area Extended. Each of the site's font names also gets Alexandria for Arabic
   letters only, at a matching weight, so Latin text keeps the brand font and every existing style works. */
@font-face { font-family: "Fonntsthin"; src: url("../fonts/ar/alexandria-arabic-300.woff2") format("woff2"); font-weight: normal; font-display: swap; 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; }
@font-face { font-family: "Fonntsreg"; src: url("../fonts/ar/alexandria-arabic-400.woff2") format("woff2"); font-weight: normal; font-display: swap; 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; }
@font-face { font-family: "Fonntsbold"; src: url("../fonts/ar/alexandria-arabic-700.woff2") format("woff2"); font-weight: normal; font-display: swap; 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; }
@font-face { font-family: "Fonntsn"; src: url("../fonts/ar/alexandria-arabic-900.woff2") format("woff2"); font-weight: normal; font-display: swap; 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; }
@font-face { font-family: "Area Hairlineinktrapextended"; src: url("../fonts/ar/alexandria-arabic-200.woff2") format("woff2"); font-weight: normal; font-display: swap; 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; }
@font-face { font-family: "Area Hairlineextended"; src: url("../fonts/ar/alexandria-arabic-200.woff2") format("woff2"); font-weight: normal; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-200.woff2") format("woff2"); font-weight: 100; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-200.woff2") format("woff2"); font-weight: 200; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-300.woff2") format("woff2"); font-weight: 300; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-700.woff2") format("woff2"); font-weight: 600; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; 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; }
@font-face { font-family: "Area"; src: url("../fonts/ar/alexandria-arabic-900.woff2") format("woff2"); font-weight: 900; font-display: swap; 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; }
@font-face { font-family: "Alexandria"; src: url("../fonts/ar/alexandria-arabic-400.woff2") format("woff2"); font-weight: normal; font-display: swap; 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; }

/* Arabic letters join: spacing between them breaks the words */
html[lang="ar"] body * { letter-spacing: 0 !important; }

/* Wheel: sized so the Arabic fills about as much of the width as the English, as far as the
   gap between the wheel's slots allows (Arabic letters are taller than the English capitals). */
html[lang="ar"] .wheel .txt { font-size: clamp(24px, 7.2vw, 76px); line-height: 1.4; white-space: nowrap; }
@media (min-width: 600px) and (max-width: 900px) { html[lang="ar"] .wheel .txt { font-size: clamp(30px, 8.6vw, 86px); } }
@media (min-width: 901px) and (max-width: 991px) { html[lang="ar"] .wheel .txt { font-size: clamp(32px, 8vw, 92px); } }
@media (max-width: 599px) { html[lang="ar"] .wheel .txt { font-size: clamp(22px, 8.8vw, 64px); } }
/* desktop: the wheel's slots are a fixed distance apart (its radius doesn't grow with the screen),
   so the two-line Arabic titles stay a size that leaves clear space between them on big screens */
@media (min-width: 992px) { html[lang="ar"] .wheel .txt { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.4; } }


/* Right-to-left mirror of the pieces Webflow positions by hand */
html[dir="rtl"] .button-g { right: auto !important; left: 2.5%; }                 /* menu button on the left */
html[dir="rtl"] .text-block-2 { left: auto; right: 0; text-align: right; }        /* copyright line */
html[dir="rtl"] .text-block-8 { margin-right: 0; margin-left: 10px; }             /* "أ." then the word */
html[dir="rtl"] .div-block-3 { margin-left: 0; margin-right: 20px; }              /* social icons */
@media (min-width: 992px) {                                                       /* menu side columns, inside the rings */
  html[dir="rtl"] .menu-wrapper .srv-lnk-div.is1 { margin-left: 0 !important; margin-right: 9vw !important; }
  html[dir="rtl"] .menu-wrapper .srv-lnk-div.is3 { margin-right: 0 !important; margin-left: 9vw !important; }
}

/* Front link of the wheel: outline of each word's outer edge (see the filter in ar/index.html).
   A text stroke would also draw lines where the joined Arabic letters overlap. */
html[lang="ar"] .wheel .txt.is-front {
  color: #f7f2e2;
  -webkit-text-stroke: 0 !important;
  filter: url(#az-outline);
}
@media (max-width: 767px) {
  html[lang="ar"] .wheel .txt.is-front { filter: url(#az-outline-thin); }
}

/* Alexandria's letters and dots reach higher and lower than the English capitals the layout was
   built around: more line spacing everywhere, and slightly tighter gaps between words */
html[lang="ar"] body { word-spacing: -0.06em; }
html[lang="ar"] .menu-wrapper .srv-lnk-div a { line-height: 1.3; }

/* Menu links: in English hover swaps the thin font for the bold one; Alexandria Bold is much wider
   than Alexandria Light, so an Arabic word would grow and push its neighbours. Here the word is
   thickened with an outline in its own colour instead: it looks bolder and keeps its width. */
html[lang="ar"] .menu-wrapper .srv-lnk-div a:hover,
.az-menu-ar .menu-wrapper .srv-lnk-div a:hover { -webkit-text-stroke: 0.035em currentColor; }
/* each link keeps its own resting font (as set in the site's styles) */
html[lang="ar"] .menu-wrapper .srv-lnk-div :is(.link-1, .link-3, .link-4, .link-9):hover,
.az-menu-ar .menu-wrapper .srv-lnk-div :is(.link-1, .link-3, .link-4, .link-9):hover { font-family: Fonntsthin, Arial, sans-serif !important; }
html[lang="ar"] .menu-wrapper .srv-lnk-div :is(.link-2, .link-5, .link-6, .link-7, .link-8, .link-10):hover,
.az-menu-ar .menu-wrapper .srv-lnk-div :is(.link-2, .link-5, .link-6, .link-7, .link-8, .link-10):hover { font-family: Fonntsreg, Arial, sans-serif !important; }
