/* NewShift AI — Arabic (RTL) overrides, loaded after ../assets/css/style.css.
   Thmanyah Sans (Thmanyah Font License: free incl. commercial, but the font files may NOT be
   redistributed or hosted for download; see font.thmanyah.com/licenses-en before self-hosting live). */
@font-face{font-family:"Thmanyah Sans";src:url("../fonts/thmanyah/thmanyahsans-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Thmanyah Sans";src:url("../fonts/thmanyah/thmanyahsans-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Thmanyah Sans";src:url("../fonts/thmanyah/thmanyahsans-Bold.woff2") format("woff2");font-weight:600 700;font-display:swap}
@font-face{font-family:"Thmanyah Serif Display";src:url("../fonts/thmanyah/thmanyahserifdisplay-Bold.woff2") format("woff2");font-weight:700;font-display:swap}

/* Inter Display first so Latin (NewShift, n8n, GIZ…) stays Inter; Arabic glyphs fall through to Thmanyah */
html[lang="ar"] body{font-family:"Inter Display","Thmanyah Sans",system-ui,sans-serif;font-feature-settings:normal}
/* Arabic must never get tracking (breaks joining); Latin spans keep a light Inter tightening */
html[lang="ar"] body :not(.hero-text):not(.hero-text *):not(.menu-title):not(.lat):not(.brand-t){letter-spacing:0 !important}
.lat{font-family:"Inter Display","Inter",sans-serif;unicode-bidi:isolate;letter-spacing:-.02em}
.hero-text,.menu-title{direction:ltr}

/* ---------- header ---------- */
.menu-title{left:auto;right:6px;text-align:right}
.skip{left:auto;right:16px}

/* ---------- roll links / arrows (mirror) ---------- */
.roll-b{left:auto;right:0}
.roll .ico-arrow{margin:-3px 0 -3px -4px}
.menu-link .ico-arrow{margin:-3px 2px -3px -6px}
.ico-arrow{transform:scaleX(-1) rotate(-44deg)}
.roll:hover .ico-arrow,.roll:focus-visible .ico-arrow{transform:scaleX(-1) rotate(0deg)}
.pill .ico-arrow{transform:scaleX(-1) rotate(-45deg)}
.pill:hover .ico-arrow,.pill:focus-visible .ico-arrow{transform:scaleX(-1) rotate(0)}
.pill{padding:8px 16px 8px 12px}
.menu-link{font-size:38px;line-height:48px;font-weight:700}
.menu-link .roll-in{line-height:48px}

/* ---------- type scale: Arabic needs taller lines than the tight Inter settings ---------- */
.label{font-size:16px;line-height:24px}
.body-l{font-size:20px;line-height:34px;font-weight:400}
.h-xl{font-size:96px;line-height:124px;font-weight:700;height:auto !important}
.h-commit{font-size:62px;line-height:88px;font-weight:700}
.cat{font-size:32px;line-height:40px;font-weight:700}
.hero-cats{padding-left:0;padding-right:6px}
.hero-lead{font-size:28px;line-height:44px;font-weight:500}
.count-l{font-size:17px;line-height:27px}
.wc-title h3{font-size:20px;line-height:30px;font-weight:700}
.why-card p{font-size:17px;line-height:29px}
.svc-text h3{font-size:21px;line-height:32px;font-weight:700}
.svc-desc{font-size:16px;line-height:27px;font-weight:400}
.svc-tags li{font-size:14px;line-height:20px;padding:3px 12px}
.svc-no{font-family:"Inter Display",sans-serif}
.faq-q button{text-align:right;font-size:20px;line-height:32px;font-weight:700}
.faq-a p{font-size:16px;line-height:28px;font-weight:400}
.ft-title{font-size:20px;line-height:32px}
.ft-copy{text-align:left}
.work-meta{font-size:18px;line-height:28px;height:30px}
.wm{height:30px}
.work-band .wb-t{line-height:1.6}
.cf-box input,.cf-box textarea{text-align:right}
.cf-box input[type=email]{direction:rtl}
.m-foot .mq-item span{font-weight:700;line-height:110px}
.m-foot{height:130px}
.faq-ico i{left:2px;right:2px}

/* ---------- marquees run the other way in RTL ---------- */
.motion .mq-track{animation-name:mq-rtl}
@keyframes mq-rtl{from{transform:translateX(0)}to{transform:translateX(var(--mq-shift,1510px))}}

/* ---------- phone ---------- */
@media (max-width:809.98px){
  .h-xl{font-size:60px;line-height:80px}
  .h-commit{font-size:42px;line-height:62px}
  .cat{font-size:26px;line-height:34px}
  .hero-cats li{height:34px}
  .hero-lead{font-size:21px;line-height:34px}
  .menu-link{font-size:32px;line-height:44px}
  .svc-no{padding-left:0;padding-right:7px}
  .ft-copy{text-align:center}
  .m-foot .mq-item span{font-size:56px;line-height:80px}
  .m-foot{height:96px}
}

/* ---------- final hero (RTL): mirror the dark-blue readability patches to where the Arabic list + paragraph sit ---------- */
@media (min-width:810px){
  .f3::before{background:
    radial-gradient(ellipse 30% 36% at 85% 70%,rgba(6,28,68,.58),rgba(6,28,68,0) 72%),
    radial-gradient(ellipse 32% 20% at 31% 70%,rgba(6,28,68,.5),rgba(6,28,68,0) 75%),
    radial-gradient(ellipse 42% 24% at 22% 21%,rgba(6,28,68,.38),rgba(6,28,68,0) 75%),
    radial-gradient(ellipse 14% 14% at 88% 49%,rgba(6,28,68,.35),rgba(6,28,68,0) 75%)}
}


/* ---------- navbar: NOT mirrored (Hanan) — identical to the English bar, left-to-right ---------- */
.hdr-row{direction:ltr}
.brand-t{letter-spacing:-.8px !important;font-feature-settings:"salt","ss01","ss02","ss03","ss04","ss07"}
.hc-link .roll-b{left:0;right:auto}
.hdr-row .lang-tog{letter-spacing:0}

/* ---------- Astro rebuild additions: inner pages + contact fallback (RTL) ---------- */
.post-card h2{font-size:30px;line-height:42px;font-weight:700}
.post-card p{font-size:17px;line-height:29px}
.post-title{font-size:54px;line-height:76px;font-weight:700}
.prose{font-size:19px;line-height:34px}
.prose h2{font-size:30px;line-height:44px;font-weight:700}
.prose h3{font-size:22px;line-height:34px;font-weight:700}
.cf-note{font-size:17px;line-height:28px}
.cform input[type=email]{direction:ltr;text-align:left}
.cform .cf-chip span{font-size:15px;line-height:24px}
.ft-contact .body-l{font-size:20px;line-height:34px;font-weight:400}
.blog-roll h2,.post-title,.page.post .prose h2,.page.post .prose h3{letter-spacing:0 !important}
.blog-roll h2{font-weight:700;line-height:1.35}
.post-title{font-weight:700;line-height:1.3}
.page.post .prose{max-width:60ch;font-size:19px;line-height:1.85}
.page.post .prose h2{font-size:30px;line-height:1.45;font-weight:700}
.page.post .prose h3{font-size:22px;line-height:1.45;font-weight:700}
@media (max-width:809.98px){
  .post-title{font-size:36px;line-height:52px}
  .prose{font-size:18px;line-height:32px}
}
