/* =========================================================
   ui-ux-pro-max audit fixes (all themes) — touch targets, readable sizes,
   slideshow pause control, heading balance. Loaded last.
   ========================================================= */

/* ---- spotlight slideshow: visible pause / play (WCAG 2.2.2) ---- */
.sb-pause { position: absolute; z-index: 5; bottom: 20px; inset-inline-start: 20px; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(5,6,26,.62); color: #fff; cursor: pointer;
  transition: background-color .2s, transform .2s; }
.sb-pause:hover { background: rgba(5,6,26,.82); transform: scale(1.05); }
.sb-pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sb-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sb-pause .i-play { display: none; fill: currentColor; stroke: none; }
.is-paused .sb-pause .i-pause { display: none; } .is-paused .sb-pause .i-play { display: block; }
.is-paused .sb-tab__bar { animation-play-state: paused !important; }

/* ---- touch targets: ≥44px on touch screens, ≥24px everywhere (WCAG 2.5.8) ---- */
.trust__more, .js-phone1, .js-phone2, .contact__list a { display: inline-flex; align-items: center; min-height: 24px; }
@media (pointer: coarse), (max-width: 760px) {
  .svx__tag, .dmodal__chip, .aip__tag { min-height: 44px; }
  .btn--sm { min-height: 44px; }
  .trust__more { min-height: 44px; padding-inline: 6px; }
  .footer__nav a, .contact__list a { min-height: 44px; }
}

/* ---- readable text on phones (≈16px body) ---- */
.hero__cue { font-size: 12px; }
.svx__insight span { font-size: 12.5px; }
@media (max-width: 760px) {
  .bx__txt p, .story__feats p, .jstep__card p, .ai__feats p, .about__pillars p, .vm__card p, .faq__a, .trust__lead { font-size: 15.5px !important; line-height: 1.6; }
  .svx__desc, .hero__sub, .story__line { font-size: 16px !important; }
}

/* ---- typography polish ---- */
h1, h2, h3, .h-xl, .story__title { text-wrap: balance; }
p { text-wrap: pretty; }

/* robot close buttons: keep the small look, enlarge the tap area to 44px */
.bot__bubble-x, .bot__hide { position: relative; }
.bot__bubble-x::after, .bot__hide::after { content: ""; position: absolute; inset: -9px; }

/* service mockups are always dark "screens": keep their own light text in every theme
   (theme-light's `p {color:inherit}` and `em` accent rules were turning it dark-on-dark) */
html[class] .nm { color: #fff; }
html[class] .nm p, html[class] .nm .nm__h { color: #fff; }
html[class] .nm .nm__hero p, html[class] .nm .nm__bro p { color: #9fb3ff; }
html[class] .nm em { background: none; color: inherit !important; -webkit-text-fill-color: currentColor !important; font-style: normal; }
html[class] .nm .nm__nav em { background: #19b5f0 !important; color: #fff !important; }
html[class] .nm .nm__likes em { color: #9fb3ff !important; }

/* hero and "What we do" spotlight read as two separate sections (no overlap, own band) */
html[class] #spotlight.spot-band { margin-top: 0 !important; padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px) !important;
  background: var(--t-alt, #f3f5fa); border-top: 1px solid var(--t-border, rgba(15,23,42,.08)); border-bottom: 1px solid var(--t-border, rgba(15,23,42,.08)); }
html[class] .hero#top { padding-bottom: clamp(56px, 6vw, 96px) !important; }

/* =========================================================
   Clear section separation — every section is its own band:
   one vertical rhythm, alternating full-width tints, hairline dividers.
   ========================================================= */
:root { --sec-pad: clamp(72px, 8.5vw, 128px); --band: var(--t-alt, rgba(255,255,255,.035)); --band-line: var(--t-border, rgba(255,255,255,.1)); }
main > section:not(.hero):not(#ai), main > div > section:not(.hero):not(#ai) { position: relative; isolation: isolate;
  padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad) !important; margin-top: 0 !important; margin-bottom: 0 !important; }
/* full-width background + top divider, drawn behind the section (works for narrow .wrap sections too) */
main section:is(#spotlight, #why, .vm, .process, .sec-process, #work, #clients, #faq)::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; inset-inline: calc(50% - 50vw); pointer-events: none;
  background: var(--band); border-block: 1px solid var(--band-line); }
main section:is(#about, #story, #services, .depts, #reviews, #contact) { border-top: 0; }
main section:is(#about, #story, #services, .depts, #reviews)::after {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--band-line) 15%, var(--band-line) 85%, transparent); }
/* the earlier spotlight-only rule is now covered by the shared band */
html[class] #spotlight.spot-band { background: transparent; border: 0; }
/* paint containment (perf.css) clipped the full-width band to the narrow .wrap box */
main section:is(#spotlight, #why, .vm, .process, .sec-process, #work, #clients, #faq) { contain: layout style !important; }

/* spotlight tabs: one column per service (was hard-coded to 7, so an 8th wrapped to a new row) */
@media (min-width: 1081px) {
  .spot-band__tabs { grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)) !important; }
  .sb-tab { padding-inline: 14px; }
  .sb-tab__t { font-size: 13px; overflow-wrap: anywhere; }
}

/* trust strip: endless logo marquee like the client rows (pauses on hover/focus, static for reduced motion) */
.trust__logos--marquee { display: block !important; overflow: hidden; }
.trust__track { display: flex; width: max-content; will-change: transform; }
.trust__set { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); padding-inline-end: clamp(12px, 1.4vw, 18px); flex: none; }
html .trust .trust__track { animation: trustMarquee 38s linear infinite !important; }
html .trust:hover .trust__track, html .trust:focus-within .trust__track { animation-play-state: paused !important; }
@keyframes trustMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .trust .trust__track { animation-direction: reverse !important; }
.trust__logos--marquee img { flex: none; }
@media (prefers-reduced-motion: reduce) {
  html .trust .trust__track { animation: none !important; }
  .trust__logos--marquee { overflow-x: auto; scrollbar-width: none; }
  .trust__set[aria-hidden="true"] { display: none; }
}

/* jump targets clear the sticky nav */
#services, #contact, #reviews, #work { scroll-margin-top: 84px; }

/* the development / Digital Lab service always stands out in the spotlight strip */
.sb-tab--lab { background: linear-gradient(160deg, rgba(124,58,237,.10), rgba(14,165,233,.10)) !important; }
.sb-tab--lab .sb-tab__ic { background: linear-gradient(135deg, #7c3aed, #0ea5e9) !important; color: #fff !important; box-shadow: 0 8px 22px -8px rgba(124,58,237,.75); }
.sb-tab--lab .sb-tab__t { color: #5b21b6 !important; font-weight: 700; }
html.theme-dark .sb-tab--lab .sb-tab__t { color: #c4b5fd !important; }
.sb-tab__badge { align-self: flex-start; margin-top: -4px; padding: 2px 8px; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #0ea5e9); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; white-space: nowrap; }
.sb-tab--lab .sb-tab__bar { background: linear-gradient(90deg, #7c3aed, #0ea5e9) !important; }
.sb-tab--lab::before { content: ""; position: absolute; inset: 0; border: 1.5px solid transparent; border-image: linear-gradient(135deg, #7c3aed, #0ea5e9) 1; pointer-events: none; }

/* =========================================================
   Chatbot on light themes — was white text on a white panel
   ========================================================= */
html.theme-light .chat { box-shadow: 0 40px 90px -30px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.06) !important; }
html.theme-light .chat__head { background: linear-gradient(120deg, #0f172a, #13306a) !important; border-bottom: 0 !important; }
html.theme-light .chat__who b { color: #fff !important; }
html.theme-light .chat__who span { color: #86efac !important; }
html.theme-light .chat__x { color: #fff !important; border-color: rgba(255,255,255,.28) !important; background: rgba(255,255,255,.08) !important; }
html.theme-light .chat__log { background: var(--t-bg, #f6f8fb); }
html.theme-light .chat__log::-webkit-scrollbar-thumb { background: rgba(15,23,42,.18); }
html.theme-light .msg-b { background: #fff !important; border: 1px solid var(--t-border, #e5e7eb) !important; color: var(--t-text, #0f172a) !important; box-shadow: 0 6px 18px -12px rgba(15,23,42,.3); }
html.theme-light .msg-b a { color: var(--t-accent-h, #105b93) !important; }
html.theme-light .msg-acts a { background: var(--t-text, #0f172a) !important; color: #fff !important; }
html.theme-light .msg-acts a.wa { background: #16a34a !important; }
html.theme-light .typing { background: #fff !important; border-color: var(--t-border, #e5e7eb) !important; }
html.theme-light .typing i { background: var(--t-accent, #136fb3) !important; }
html.theme-light .chat__chips { background: #fff; }
html.theme-light .chat__chips button { background: var(--t-soft, #eaf2f8) !important; border-color: var(--t-soft-b, #c6dced) !important; color: var(--t-accent-h, #105b93) !important; font-weight: 600; }
html.theme-light .chat__chips button:hover { background: var(--t-accent, #136fb3) !important; color: #fff !important; }
html.theme-light .chat__form { background: #fff; border-top-color: var(--t-border, #e5e7eb) !important; }
html.theme-light .chat__form input { background: var(--t-bg, #f6f8fb) !important; color: var(--t-text, #0f172a) !important; border-color: var(--t-border2, #cfd1d4) !important; }
html.theme-light .chat__form input::placeholder { color: var(--t-muted, #656b77); opacity: 1; }
html.theme-light .chat__note { background: #fff; color: var(--t-muted, #656b77) !important; }

/* other contrast bugs found by the scan */
html.theme-light .footer__profile { color: #8cc8f2 !important; }
html[class] .nm .nm__bro p { color: #334155 !important; }

/* =========================================================
   About ("Who we are") — pro redesign
   ========================================================= */
html[class] #about .about__statement { font-family: "Space Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif !important; font-style: normal !important;
  font-weight: 800 !important; font-size: clamp(30px, 3.3vw, 46px) !important; line-height: 1.12 !important; letter-spacing: -.025em; color: var(--t-text, #0f172a); max-width: 18ch; }
html[lang="ar"] #about .about__statement { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif !important; letter-spacing: 0; line-height: 1.4 !important; max-width: 22ch; }
html[class] #about .about__lead { font-size: 17px; line-height: 1.75; color: var(--t-text2, #3f4555); max-width: 58ch; }
html[class] #about .about__pillars { display: grid; gap: 12px; }
html[class] #about .about__pillars li { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; column-gap: 16px; padding: 18px 20px !important;
  border-radius: 18px !important; background: var(--t-surface, #fff) !important; border: 1px solid var(--t-border, #e5e7eb) !important; box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; overflow: hidden; }
html[class] #about .about__pillars li::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--t-accent, #136fb3), #7c3aed); }
html[class] #about .about__pillars li:hover { transform: translateY(-3px); border-color: var(--t-soft-b, #c6dced) !important; box-shadow: 0 22px 44px -26px rgba(15,23,42,.38) !important; }
html[class] #about .ap__ic { grid-row: span 2; width: 52px !important; height: 52px !important; border-radius: 14px !important; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--t-accent, #136fb3), #1e3a8a) !important; color: #fff !important; box-shadow: 0 10px 22px -12px rgba(19,111,179,.8) !important; }
html[class] #about .about__pillars b, html[class] #about .about__pillars strong { font-size: 16px; color: var(--t-text, #0f172a); }
html[class] #about .about__pillars p { margin: 3px 0 0; font-size: 14.5px; color: var(--t-muted, #656b77); }
/* photo: depth + readable overlays */
html[class] #about .about__media { border-radius: 26px !important; overflow: hidden; box-shadow: 0 50px 90px -45px rgba(15,23,42,.55) !important; }
html[class] #about .about__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(15,23,42,0) 55%, rgba(15,23,42,.55)); }
html[class] #about .about__chip { z-index: 2; background: rgba(255,255,255,.96) !important; color: var(--t-text, #0f172a) !important; border: 0 !important; font-weight: 700 !important;
  box-shadow: 0 12px 30px -14px rgba(15,23,42,.6); }
html[class] #about .about__chip * { color: inherit !important; }
html[class] #about .about__chip svg { color: #dc2626 !important; }
html[class] #about .about__badge { z-index: 2; background: #0f172a !important; color: #fff !important; border: 3px solid rgba(255,255,255,.9) !important; box-shadow: 0 16px 40px -14px rgba(15,23,42,.8) !important; }
html[class] #about .about__badge text, html[class] #about .about__badge textPath { fill: #fff !important; }
html[class] #about .about__badge .lg { fill: #fff !important; } html[class] #about .about__badge .lg-acc { fill: #f472b6 !important; }

/* =========================================================
   Hero: Saudi flag + Vision 2030 inside the proof bar (floating seal removed)
   ========================================================= */
html .hero .v30.v30--off { display: none !important; }
.hero--bleed .hero__loc { display: none !important; }
html .hero .pf.pf--flag { cursor: pointer; position: relative; transition: background-color .2s, transform .2s; border-radius: 14px; }
html .hero .pf.pf--flag:hover { background: rgba(255,255,255,.08); }
html .hero .pf.pf--flag:focus-visible { outline: 3px solid #3ddc97; outline-offset: 2px; }
.pf__flag { flex: none; width: 54px; height: 36px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 8px 18px -8px rgba(0,0,0,.6); transform-origin: left center; animation: flagWave 4s ease-in-out infinite; }
html[dir="rtl"] .pf__flag { transform-origin: right center; }
@keyframes flagWave { 0%, 100% { transform: perspective(300px) rotateY(0); } 50% { transform: perspective(300px) rotateY(-14deg) skewY(-1.5deg); } }
.pf__go { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-inline-start: auto; border-radius: 50%; background: #006c35; color: #fff; }
.pf__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .pf__go svg { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .pf__flag { animation: none; } }
@media (max-width: 760px) { .pf__go { display: none; } }

/* =========================================================
   Hero proof bar — rearranged: 4 equal columns, one layout per item
   ========================================================= */
@media (min-width: 1001px) {
  html .hero--bleed .hero__proof { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
html .hero--bleed .hero__proof .pf { align-items: center !important; gap: 14px !important; min-width: 0; }
html .hero--bleed .hero__proof .pf > span:not(.pf__stack):not(.pf__go) { min-width: 0; font-size: 13.5px !important; line-height: 1.4 !important; }
html .hero--bleed .hero__proof .pf--num > span, html .hero--bleed .hero__proof .pf--svc > span, html .hero--bleed .hero__proof .pf--logos > span:not(.pf__stack), html .hero--bleed .hero__proof .pf small {
  display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html .hero--bleed .hero__proof .pf--flag > span:not(.pf__go) { display: grid !important; gap: 2px; }
html .hero--bleed .hero__proof .pf__stack { display: inline-flex !important; flex: none; }
html .hero--bleed .hero__proof .pf > span:not(.pf__stack) b { font-size: 15.5px; line-height: 1.25; white-space: nowrap; }
html .hero--bleed .pf--num b, html .hero--bleed .pf--svc b { font-size: clamp(30px, 2.6vw, 38px) !important; white-space: nowrap; flex: none; }
html .hero--bleed .hero__proof .pf--flag .pf__go { display: none !important; }
html .hero--bleed .hero__proof .pf--flag { border-radius: 0 !important; }
html .hero--bleed .hero__proof .pf--flag:hover { background: rgba(255,255,255,.06) !important; }
html .hero--bleed .hero__proof .pf--flag small { color: #86efac !important; }
.pf__flag { width: 48px !important; height: 32px !important; }

/* =========================================================
   Hero CTAs — finished, professional buttons
   ========================================================= */
html .hero--bleed .hero__ctas { gap: 14px; }
html .hero--bleed .hero__ctas .btn { min-height: 56px; padding: 0 26px !important; border-radius: 14px !important; gap: 12px;
  font-family: "Space Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: .01em;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background-color .2s, border-color .2s; }
html[lang="ar"] .hero--bleed .hero__ctas .btn { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif !important; }
html .hero--bleed .hero__ctas .btn span { font: inherit !important; }
html .hero--bleed .hero__ctas .btn--primary { background: linear-gradient(120deg, #1d6fd1, #1e3a8a) !important; color: #fff !important; padding-inline-end: 10px !important;
  box-shadow: 0 18px 40px -16px rgba(29,111,209,.85), inset 0 1px 0 rgba(255,255,255,.25) !important; }
html .hero--bleed .hero__ctas .btn--primary:hover { background: linear-gradient(120deg, #2a7fe6, #1e40af) !important; transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(29,111,209,.95) !important; }
html .hero--bleed .hero__ctas .btn--primary .arr { width: 38px !important; height: 38px !important; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.18); stroke-width: 2.4; }
html .hero--bleed .hero__ctas .btn--ghost { background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.5) !important; color: #fff !important; }
html .hero--bleed .hero__ctas .btn--ghost::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html .hero--bleed .hero__ctas .btn--ghost:hover { background: rgba(255,255,255,.16) !important; border-color: #fff !important; transform: translateY(-2px); }
html .hero--bleed .hero__ctas .btn:active { transform: scale(.98); }
html .hero--bleed .hero__ctas .btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }

/* proof bar: 3 logos + count leave room for the "Trusted by" text */
@media (min-width: 1001px) { html .hero--bleed .pf__stack i:nth-child(4):not(.pf__more) { display: none; } }

/* =========================================================
   Website developer contact strip — top of page, scrolls away
   ========================================================= */
.devbar { position: relative; z-index: 3; background: #0b1226; color: #cbd5e1; font: 500 13px/1.4 "Space Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif; border-bottom: 1px solid rgba(148,163,184,.18); }
.devbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; min-height: 36px; padding: 4px 16px; }
.devbar__t { display: inline-flex; align-items: center; gap: 6px; color: #94a3b8; }
.devbar svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.devbar__a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; color: #e2e8f0; text-decoration: none; border-radius: 6px; padding: 0 4px; transition: color .2s; }
.devbar__a:hover { color: #93c5fd; }
.devbar__wa svg { color: #25d366; }
.devbar__a:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
/* the fixed menu bar sits below the strip while the page is at the top, then returns to its usual place */
body.has-devbar .nav:not(.is-scrolled) { top: 52px !important; }
body.has-devbar .sidenav { margin-top: 0; }
@media (max-width: 560px) { .devbar { font-size: 12px; } .devbar__t { display: none; } .devbar__in { gap: 2px 12px; } }
/* logo stack is always one overlapping row */
html .hero--bleed .hero__proof .pf__stack { display: inline-flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; -webkit-line-clamp: unset !important; overflow: visible !important; }
html .hero--bleed .hero__proof .pf__stack i { display: grid !important; flex: none; }
html .hero--bleed .hero__proof .pf { align-self: stretch; }
@media (min-width: 1001px) { html .hero--bleed .hero__proof { grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) !important; } }
html .hero--bleed .hero__proof .pf--logos > span:not(.pf__stack) { -webkit-line-clamp: 3 !important; }

/* =========================================================
   Story orbit on light themes — was tuned for dark: faint rings, washed-out flyers, logo in a black box
   ========================================================= */
/* a soft stage so the orbit separates from the white page */
html.theme-light .story__art .st2::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef4fb 55%, rgba(238,244,251,0) 72%); }
html.theme-light .story__art .st2-halo { background: radial-gradient(circle, rgba(19,111,179,.22), rgba(30,58,138,.10) 45%, transparent 68%) !important; }
/* rings: readable navy strokes with a brighter travelling arc */
html.theme-light .story__art .st2-ring { border-color: rgba(30,58,138,.22) !important; border-width: 1.5px !important; }
html.theme-light .story__art .st2-ring--1 { border-top-color: #136fb3 !important; border-inline-end-color: rgba(19,111,179,.55) !important; }
html.theme-light .story__art .st2-ring--2 { border-color: rgba(30,58,138,.2) !important; border-right-color: #6d28d9 !important; }
html.theme-light .story__art .st2-ring--3 { border-color: rgba(30,58,138,.28) !important; border-style: dashed !important; }
html.theme-light .story__art .st2-wave { border-color: rgba(19,111,179,.45) !important; }
/* service chips: crisp navy tiles with white icons */
html.theme-light .story__art .st2-chip__in { background: linear-gradient(140deg, #13306a, #0f172a) !important; border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 10px 22px -10px rgba(15,23,42,.6), 0 0 0 4px rgba(255,255,255,.85) !important; }
html.theme-light .story__art .st2-chip__in svg { stroke: #ffffff !important; }
html.theme-light .story__art .st2-dot::before { box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 4px 10px rgba(15,23,42,.25) !important; }
/* core: logo straight on the sphere — no black box */
html.theme-light .story__art .st2-core, html.theme-light .story__art .story__core { background: transparent !important; box-shadow: none !important; border: 0 !important; }
html.theme-light .story__art .st2-core svg { filter: drop-shadow(0 4px 10px rgba(2,6,23,.35)); }
html.theme-light .story__art .st2-core .lg { fill: #ffffff !important; }
html.theme-light .story__art .st2-orb { box-shadow: 0 30px 60px -20px rgba(19,111,179,.55), inset 0 -10px 30px rgba(15,23,42,.25) !important; }
/* butterflies / fireflies / dragonfly: darker outline + shadow so they read on white */
html.theme-light .story__art .st2-fly__bug { filter: drop-shadow(0 2px 3px rgba(15,23,42,.45)) saturate(1.4) contrast(1.15); }
html.theme-light .story__art .st2-fly__bob { width: 38px !important; height: 38px !important; margin: -19px 0 0 -19px !important; }
/* hero CTAs stay still — no magnetic pull, lift or press-scale (colour change only on hover) */
html .hero--bleed .hero__ctas .btn, html .hero--bleed .hero__ctas .btn:hover, html .hero--bleed .hero__ctas .btn:active { transform: none !important; translate: none !important; }

/* =========================================================
   Proof bar — one system: value on top, label below, same fonts, same baseline
   ========================================================= */
html .hero--bleed .hero__proof .pf { flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 8px !important;
  min-height: 96px; padding: 18px 26px !important; }
/* value line */
html .hero--bleed .hero__proof .pf > b, html .hero--bleed .hero__proof .pf__val b {
  font-family: "Space Grotesk", system-ui, sans-serif !important; font-size: 30px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: -.02em !important; color: #fff !important; }
html .hero--bleed .hero__proof .pf__val { display: inline-flex !important; align-items: center; gap: 10px; height: 30px; }
html .hero--bleed .hero__proof .pf__stack { height: 30px; }
html .hero--bleed .hero__proof .pf__stack i { width: 30px !important; height: 30px !important; border-width: 2px !important; }
html .hero--bleed .hero__proof .pf__stack i + i { margin-inline-start: -9px !important; }
html .hero--bleed .hero__proof .pf__more { font-size: 11px !important; }
.pf__flag { width: 42px !important; height: 28px !important; border-radius: 4px !important; }
/* label line */
html .hero--bleed .hero__proof .pf > span:not(.pf__stack):not(.pf__val), html .hero--bleed .hero__proof .pf__lbl {
  display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important;
  font-family: "Space Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important;
  color: rgba(226,232,240,.78) !important; max-width: 26ch; }
html[lang="ar"] .hero--bleed .hero__proof .pf > span:not(.pf__stack):not(.pf__val), html[lang="ar"] .hero--bleed .hero__proof .pf__lbl { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif !important; font-size: 14px !important; }
html .hero--bleed .hero__proof .pf--flag .pf__lbl { color: #86efac !important; }
html .hero--bleed .hero__proof .pf--flag { padding-top: 18px !important; }
@media (max-width: 760px) {
  html .hero--bleed .hero__proof .pf { min-height: 0; padding: 14px 16px !important; gap: 6px !important; }
  html .hero--bleed .hero__proof .pf > b, html .hero--bleed .hero__proof .pf__val b { font-size: 24px !important; }
  html .hero--bleed .hero__proof .pf__val, html .hero--bleed .hero__proof .pf__stack { height: 26px; }
  html .hero--bleed .hero__proof .pf__stack i { width: 26px !important; height: 26px !important; }
  .pf__flag { width: 36px !important; height: 24px !important; }
}
/* proof items never stay mid-reveal (one was stuck 20px low) */
html .hero--bleed .hero__proof .pf { transform: none !important; opacity: 1 !important; }

/* =========================================================
   About — service mosaic (bento grid of service photos)
   ========================================================= */
html[class] #about .about__visual--mosaic { position: relative; }
html[class] #about .amz { display: grid !important; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, minmax(120px, 1fr)); gap: 12px;
  aspect-ratio: 4 / 4.4; height: auto; border-radius: 26px !important; overflow: visible !important; box-shadow: none !important; background: none !important; }
html[class] #about .amz::after { display: none !important; }
.amz__t { position: relative; overflow: hidden; border: 0; padding: 0; margin: 0; border-radius: 20px; background: #0f172a; cursor: pointer; text-align: start;
  box-shadow: 0 24px 50px -30px rgba(15,23,42,.6); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; isolation: isolate; }
.amz__t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.amz__t::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,.85)); }
.amz__t:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -30px rgba(15,23,42,.7); }
.amz__t:hover img { transform: scale(1.06); }
.amz__t:focus-visible { outline: 3px solid var(--t-accent, #136fb3); outline-offset: 3px; }
.amz__t--1 { grid-row: 1 / span 2; }
.amz__t--4 { grid-column: 1; grid-row: 3; }
.amz__t--5 { grid-column: 2; grid-row: 3; }
.amz__l { position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 24px);
  padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.95); color: #0f172a; font: 700 13.5px/1.25 "Space Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
html[lang="ar"] .amz__l { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; font-size: 14px; }
.amz__l svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--t-accent, #136fb3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.amz__t--1 .amz__l { font-size: 15px; padding: 10px 14px; }
/* rotating badge sits where the tiles meet */
html[class] #about .about__visual--mosaic .about__badge { position: absolute !important; z-index: 4; top: calc(66.6% - 64px) !important; left: calc(53.5% - 64px) !important; right: auto !important; bottom: auto !important;
  width: 128px !important; height: 128px !important; }
html[dir="rtl"] #about .about__visual--mosaic .about__badge { left: auto !important; right: calc(53.5% - 64px) !important; }
@media (max-width: 760px) {
  html[class] #about .amz { grid-template-rows: repeat(3, minmax(110px, 1fr)); gap: 8px; aspect-ratio: 4 / 4.6; }
  .amz__l { font-size: 12px; padding: 6px 9px; inset-inline: 8px; bottom: 8px; }
  html[class] #about .about__visual--mosaic .about__badge { width: 96px !important; height: 96px !important; top: calc(66.6% - 48px) !important; left: calc(53.5% - 48px) !important; }
  html[dir="rtl"] #about .about__visual--mosaic .about__badge { right: calc(53.5% - 48px) !important; }
}
@media (prefers-reduced-motion: reduce) { .amz__t, .amz__t img { transition: none; } .amz__t:hover { transform: none; } .amz__t:hover img { transform: none; } }
/* every value on the same line: items anchor to the top instead of centring around 1- or 2-line labels */
html .hero--bleed .hero__proof .pf { justify-content: flex-start !important; }
html .hero--bleed .hero__proof .pf--flag > span.pf__val { display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; }
