/* SWSAM Arabic / Saudi professional RTL layer */
:root { --font-arabic: "Noto Sans Arabic"; }
html[lang="ar"] {
  direction: rtl;
  /* Use the same Arabic face for copy, navigation, buttons, and diagram labels. */
  --font-display: var(--font-arabic), "Inter", sans-serif;
  --font-data: var(--font-display);
}
html[lang="ar"] body {
  direction: rtl;
  text-align: right;
  font-family:
    var(--font-arabic), "SF Arabic", "SF Pro AR", "SF Pro Gulf",
    "Geeza Pro", "Helvetica Neue", sans-serif !important;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] :is(button,input,select,textarea,svg text) {
  font-family:
    var(--font-arabic), "SF Arabic", "SF Pro AR", "SF Pro Gulf",
    "Geeza Pro", "Helvetica Neue", sans-serif !important;
}
html[lang="ar"] :is(.eyebrow,.section-label,.section-kicker,.section-rail,.presence-meta,.detail-label,.story-meta,small) {
  letter-spacing: 0;
}

html[lang="ar"] :is(h1,h2,h3,.lead) {
  letter-spacing: -.025em;
  text-wrap: balance;
}

html[lang="ar"] :is(p,li,dd,.hero-summary,.intro) { line-height: 1.9; }

/* Arabic hero: copy stays on the right; the photographic signal field moves left. */
html[lang="ar"] .hero::before {
  inset: 0 34% 0 0;
  transform: scaleX(-1);
  transform-origin: center;
}
html[lang="ar"] .hero::after {
  background: linear-gradient(270deg, #001044 0%, rgba(0,16,68,.97) 35%, rgba(0,16,68,.26) 72%, rgba(0,16,68,.68) 100%);
}
html[lang="ar"] .hero-content :is(.eyebrow,h1,.intro) { animation-name: ar-reveal-right; }
html[lang="ar"] :is(.header-cta,.cta-button) svg { transform: scaleX(-1); }
html[lang="ar"] .header-cta:hover svg { transform: scaleX(-1) translateX(3px); }

/* Header frame stays spatially consistent with the English site: logo left, CTA right. */
html[lang="ar"] .header-shell { direction: ltr; }
html[lang="ar"] .brand { justify-self: start; }
html[lang="ar"] .header-cta { justify-self: end; direction: rtl; }
html[lang="ar"] .desktop-nav { direction: rtl; }
html[lang="ar"] .mobile-menu { direction: rtl; text-align: right; }
html[lang="ar"] .mobile-menu nav a { flex-direction: row; }
html[lang="ar"] .mobile-cta { flex-direction: row; }

/* Editorial grids and rails */
html[lang="ar"] :is(.hero-layout,.positioning-main,.cyber-heading,.products-heading,.systems-heading,.ecosystem-heading,.responsible-shell,.why-heading,.industries-heading,.presence-heading,.insights-heading,.section-head,.intro-grid,.detail-heading,.editorial-head,.contact-layout,.legal-layout) {
  direction: rtl;
}

html[lang="ar"] :is(.positioning-context,.products-intro,.systems-intro,.ecosystem-heading>p,.responsible-summary,.why-heading>p,.industries-heading>p,.presence-heading>p,.insights-intro,.hero-summary) {
  padding-left: 0;
  padding-right: 22px;
  border-left: 0;
  border-right: 1px solid rgba(52,182,255,.5);
}

html[lang="ar"] :is(.section-rail,.cyber-meta,.products-index,.systems-meta,.ecosystem-meta,.why-meta,.industries-meta,.presence-meta,.insights-meta) {
  padding-right: 0;
  padding-left: 22px;
  border-right: 0;
  border-left: 1px solid currentColor;
}

html[lang="ar"] .section-rail span { transform: rotate(180deg); }

/* Cards and component flow */
html[lang="ar"] :is(.product-copy,.system-copy,.insight-copy,.story-content,.feature-copy,.service-card,.number-card,.detail-card,.contact-locations article) {
  text-align: right;
}

html[lang="ar"] :is(.product-logo img,.system-logo img,.product-card img,.cyber-product-logo) {
  object-position: right center;
}

html[lang="ar"] :is(.product-copy>a,.system-copy>a,.text-link,.advisory-link,.responsible-copy>a,.insights-intro>a,.insight-copy>a,.contact-locations article>a) {
  flex-direction: row-reverse;
}

html[lang="ar"] :is(.service-arrow,.industry-arrow,.ecosystem-product>a,.secondary-copy>a) { transform: scaleX(-1); }

html[lang="ar"] .ecosystem-product>a { right: auto; left: 28px; }
html[lang="ar"] .flare-readout { right: auto; left: 0; }

/* Timelines, maps and diagrams */
html[lang="ar"] :is(.lifecycle-map ol,.presence-timeline,.journey-steps,.quantum-track,.usable-grid) { direction: rtl; }
html[lang="ar"] .route-map,
html[lang="ar"] .identity-visual,
html[lang="ar"] .workflow-visual,
html[lang="ar"] .governance-architecture,
html[lang="ar"] .story-graphic,
html[lang="ar"] .feature-signal,
html[lang="ar"] .bazgrid-interface,
html[lang="ar"] .attack-interface,
html[lang="ar"] .ecosystem-graphic,
html[lang="ar"] .flare-console { direction: ltr; }

/* Geographic maps are not mirrored: US remains west/left and Saudi remains east/right. */
html[lang="ar"] .route-city,
html[lang="ar"] .route-coordinate { direction: rtl; }

/* Forms */
html[lang="ar"] .contact-form { direction: rtl; }
html[lang="ar"] .contact-form :is(input,textarea,select) { text-align: right; }
html[lang="ar"] .direct-contact { direction: rtl; }
html[lang="ar"] .form-submit { direction: rtl; }

/* Footer */
html[lang="ar"] :is(.footer-grid,.footer-shell,.footer-nav,.footer-base) { direction: rtl; }
html[lang="ar"] .footer-base>span:last-child { text-align: left; }
html[lang="ar"] .footer-brand-column{align-items:flex-start}
html[lang="ar"] .footer-linkedin{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid #34B6FF;background:#34B6FF;color:#001044!important;transition:color .25s ease,background-color .25s ease,transform .25s ease}html[lang="ar"] .footer-linkedin svg{width:17px;height:17px;fill:currentColor}html[lang="ar"] .footer-linkedin:hover{color:#001044!important;background:#fff;transform:translateY(-2px)}html[lang="ar"] .footer-linkedin:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* Arabic display sizing: Arabic glyphs are visually denser than Latin. */
html[lang="ar"] .hero h1 { line-height: 1.2; }
html[lang="ar"] .page-hero h1,
html[lang="ar"] .contact-intro h1 { line-height: 1.18; }
html[lang="ar"] :is(.section-head h2,.positioning h2,.cyber-title-group h2,.products-heading h2,.systems-heading h2,.responsible-copy h2,.presence-heading h2,.insights-heading h2) { line-height: 1.18; }

@media (max-width: 900px) {
  html[lang="ar"] .hero::before { inset: 0; }
  html[lang="ar"] .hero::after { background: linear-gradient(270deg, rgba(0,16,68,.98), rgba(0,16,68,.68)); }
  html[lang="ar"] :is(.section-rail,.cyber-meta,.products-index,.systems-meta,.ecosystem-meta,.why-meta,.industries-meta,.presence-meta,.insights-meta) {
    padding: 0 0 22px;
    border-left: 0;
  }
  html[lang="ar"] .hero-summary { padding-right: 18px; }
}

@media (max-width: 560px) {
  html[lang="ar"] :is(.positioning-context,.products-intro,.systems-intro,.ecosystem-heading>p,.responsible-summary,.why-heading>p,.industries-heading>p,.presence-heading>p,.insights-intro) {
    padding-right: 18px;
  }
  html[lang="ar"] .footer-base>span:last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html[lang="ar"] * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@keyframes ar-reveal-right {
  from { opacity: 0; transform: translateX(42px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Arabic refinement pass: tighter laptop rhythm, calmer type and clearer reading contrast. */
html[lang="ar"] :is(h1,h2,h3,.lead) {
  letter-spacing: 0;
}

html[lang="ar"] .hero {
  min-height: 92svh;
  padding-top: 132px;
  padding-bottom: 82px;
}

html[lang="ar"] .hero-layout {
  grid-template-columns: minmax(0, .86fr) minmax(520px, .92fr);
  gap: clamp(42px, 5vw, 86px);
}

html[lang="ar"] .hero-content {
  max-width: 700px;
  margin-right: auto;
}

html[lang="ar"] .hero h1 {
  max-width: 680px;
  font-size: clamp(44px, 4vw, 56px);
  line-height: 1.24;
}

html[lang="ar"] .intro {
  max-width: 560px;
  margin-top: 34px;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
}

html[lang="ar"] :is(.eyebrow,.section-kicker,.cyber-kicker,.products-kicker,.systems-kicker,.responsible-kicker,.presence-kicker,.insights-kicker,.cta-kicker) {
  color: color-mix(in srgb, currentColor 64%, transparent);
}

html[lang="ar"] :is(.positioning-shell,.cyber-shell,.products-shell,.systems-shell,.presence-shell,.insights-shell) {
  padding-top: 88px;
}

html[lang="ar"] .positioning-shell {
  padding-bottom: 0;
}

html[lang="ar"] .positioning-main {
  padding-bottom: 72px;
  gap: clamp(44px, 5.6vw, 92px);
}

html[lang="ar"] :is(.positioning h2,.cyber-title-group h2,.products-heading h2,.systems-heading h2,.responsible-copy h2,.presence-heading h2,.insights-heading h2,.section-head h2) {
  font-size: clamp(40px, 3.55vw, 50px);
  line-height: 1.22;
}

html[lang="ar"] :is(.positioning-context>p,.products-intro,.systems-intro,.responsible-summary,.presence-heading>p,.insights-intro,.cyber-summary p,.advisory-summary,.service-body>p,.product-copy>p,.system-copy>p,.secondary-copy p) {
  color: rgba(0,16,68,.78);
  line-height: 1.78;
}

html[lang="ar"] :is(.cyber-summary p,.advisory-summary,.service-body>p,.dark .detail-heading>p) {
  color: rgba(255,255,255,.72);
}

html[lang="ar"] .capability-index li {
  min-height: 190px;
  padding: 24px 24px 26px;
}

html[lang="ar"] .capability-index h3 {
  margin-top: 48px;
  font-size: clamp(20px, 1.6vw, 25px);
  line-height: 1.22;
}

html[lang="ar"] .cyber-shell {
  padding-bottom: 58px;
}

html[lang="ar"] .cyber-heading {
  align-items: start;
}

html[lang="ar"] .lifecycle-map {
  margin-top: 64px;
}

html[lang="ar"] .lifecycle-map li {
  min-height: 258px;
  padding: 26px 24px;
}

html[lang="ar"] .lifecycle-map h3 {
  margin: 46px 0 18px;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.2;
}

html[lang="ar"] .lifecycle-map li>p {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255,255,255,.68);
}

html[lang="ar"] .products-shell {
  padding-bottom: 96px;
}

html[lang="ar"] :is(.products-heading,.systems-heading,.presence-heading,.insights-heading) {
  margin-bottom: 66px;
}

html[lang="ar"] .product {
  min-height: 630px;
}

html[lang="ar"] .product-copy {
  padding-top: 34px;
}

html[lang="ar"] .product h3 {
  margin: 28px 0 20px;
  font-size: clamp(28px, 2.25vw, 34px);
  line-height: 1.2;
}

html[lang="ar"] :is(.bazgrid-interface,.attack-interface) {
  margin-top: 36px;
}

html[lang="ar"] .advisory-shell {
  padding-top: 88px;
  padding-bottom: 88px;
  gap: clamp(58px, 7vw, 104px);
}

html[lang="ar"] .advisory-kicker {
  margin-top: 56px;
}

html[lang="ar"] .advisory h2 {
  font-size: clamp(38px, 3.55vw, 50px);
  line-height: 1.22;
}

html[lang="ar"] .advisory-summary {
  margin-top: 34px;
}

html[lang="ar"] .advisory-list li {
  min-height: 212px;
  padding-top: 28px;
  padding-bottom: 28px;
}

html[lang="ar"] .service-body h3 {
  font-size: clamp(24px, 1.9vw, 28px);
  line-height: 1.2;
}

html[lang="ar"] .service-body>p {
  margin-top: 18px;
}

html[lang="ar"] .service-tags {
  margin-top: 24px;
}

html[lang="ar"] .systems-shell {
  padding-bottom: 96px;
}

html[lang="ar"] .system-product {
  min-height: 590px;
}

html[lang="ar"] .system-copy {
  padding: 30px 34px 34px;
}

html[lang="ar"] .system-copy h3 {
  font-size: clamp(34px, 3vw, 40px);
  line-height: 1.16;
}

html[lang="ar"] :is(.identity-visual,.workflow-visual) {
  min-height: 520px;
}

html[lang="ar"] .responsible-shell {
  min-height: auto;
  padding-top: 88px;
  padding-bottom: 88px;
  gap: clamp(60px, 7vw, 106px);
}

html[lang="ar"] .governance-architecture {
  min-height: 590px;
}

html[lang="ar"] .presence-shell {
  padding-bottom: 96px;
}

html[lang="ar"] .route-map {
  min-height: 440px;
}

html[lang="ar"] .presence-timeline li {
  min-height: 168px;
}

html[lang="ar"] .final-cta {
  min-height: 720px;
}

html[lang="ar"] .cta-shell {
  min-height: 560px;
}

html[lang="ar"] .cta-content h2 {
  font-size: clamp(46px, 4.5vw, 62px);
  line-height: 1.14;
}

html[lang="ar"] .footer-signature {
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.05;
}

@media (min-width: 861px) and (max-width: 1440px) {
  html[lang="ar"] .header-shell {
    width: calc(100% - 64px);
    grid-template-columns: 220px 1fr 154px;
  }

  html[lang="ar"] .desktop-nav {
    gap: clamp(22px, 2vw, 32px);
  }

  html[lang="ar"] .desktop-nav a {
    font-size: 12px;
  }

  html[lang="ar"] .header-cta {
    min-height: 46px;
    padding-inline: 18px;
  }

  html[lang="ar"] .hero h1 {
    font-size: clamp(44px, 3.9vw, 54px);
  }

  html[lang="ar"] :is(.positioning-shell,.cyber-shell,.products-shell,.systems-shell,.presence-shell,.insights-shell,.advisory-shell,.responsible-shell) {
    width: min(1280px, calc(100% - 64px));
  }
}

@media (max-width: 900px) {
  html[lang="ar"] .hero {
    min-height: 88svh;
    padding-top: 122px;
    padding-bottom: 72px;
  }

  html[lang="ar"] .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  html[lang="ar"] .hero h1 {
    font-size: clamp(36px, 8.8vw, 48px);
    line-height: 1.24;
  }

  html[lang="ar"] .intro {
    max-width: 520px;
    margin-top: 28px;
  }

  html[lang="ar"] :is(.positioning-shell,.cyber-shell,.products-shell,.systems-shell,.presence-shell,.insights-shell,.advisory-shell,.responsible-shell) {
    padding-top: 68px;
  }

  html[lang="ar"] :is(.positioning h2,.cyber-title-group h2,.products-heading h2,.systems-heading h2,.responsible-copy h2,.presence-heading h2,.insights-heading h2,.section-head h2) {
    font-size: clamp(36px, 8vw, 46px);
  }

  html[lang="ar"] .positioning-main {
    padding: 42px 0 54px;
    gap: 38px;
  }

  html[lang="ar"] .capability-index li {
    min-height: 138px;
  }

  html[lang="ar"] .lifecycle-map {
    margin-top: 48px;
  }

  html[lang="ar"] .lifecycle-map li {
    min-height: 246px;
  }

  html[lang="ar"] :is(.products-heading,.systems-heading,.presence-heading,.insights-heading) {
    margin-bottom: 48px;
  }

  html[lang="ar"] .product {
    min-height: 610px;
  }

  html[lang="ar"] .advisory-shell {
    gap: 52px;
  }

  html[lang="ar"] .system-product {
    min-height: auto;
  }

  html[lang="ar"] .system-copy {
    min-height: 520px;
  }

  html[lang="ar"] :is(.identity-visual,.workflow-visual) {
    min-height: 460px;
  }

  html[lang="ar"] .governance-architecture {
    min-height: 600px;
  }

  html[lang="ar"] .final-cta {
    min-height: 660px;
  }

  html[lang="ar"] .cta-shell {
    min-height: 540px;
  }
}

@media (max-width: 560px) {
  html[lang="ar"] .brand,
  html[lang="ar"] .brand img {
    width: 138px;
  }

  html[lang="ar"] .hero {
    min-height: 84svh;
    padding-top: 110px;
    padding-bottom: 58px;
  }

  html[lang="ar"] .hero h1 {
    font-size: clamp(34px, 9.2vw, 42px);
    line-height: 1.24;
  }

  html[lang="ar"] .hero .eyebrow {
    margin-bottom: 26px;
  }

  html[lang="ar"] .intro {
    font-size: 16px;
    line-height: 1.82;
  }

  html[lang="ar"] :is(.positioning h2,.cyber-title-group h2,.products-heading h2,.systems-heading h2,.responsible-copy h2,.presence-heading h2,.insights-heading h2,.section-head h2) {
    font-size: clamp(34px, 9.2vw, 42px);
    line-height: 1.24;
  }

  html[lang="ar"] :is(.positioning-shell,.cyber-shell,.products-shell,.systems-shell,.presence-shell,.insights-shell,.advisory-shell,.responsible-shell) {
    width: calc(100% - 36px);
    padding-top: 58px;
  }

  html[lang="ar"] .section-rail,
  html[lang="ar"] :is(.cyber-meta,.products-index,.systems-meta,.presence-meta,.insights-meta) {
    padding-bottom: 16px;
  }

  html[lang="ar"] .capability-index li {
    min-height: 124px;
    padding: 22px 20px;
  }

  html[lang="ar"] .capability-index h3 {
    margin-top: 28px;
  }

  html[lang="ar"] .lifecycle-map {
    margin-top: 38px;
    margin-right: 0;
  }

  html[lang="ar"] .lifecycle-map li {
    min-height: 228px;
  }

  html[lang="ar"] .product {
    min-height: 600px;
    padding: 22px;
  }

  html[lang="ar"] .product h3 {
    font-size: clamp(28px, 8.2vw, 32px);
  }

  html[lang="ar"] .product-showcase {
    row-gap: 30px !important;
  }

  html[lang="ar"] .advisory h2 {
    font-size: clamp(34px, 9.2vw, 42px);
  }

  html[lang="ar"] .advisory-list li {
    min-height: 235px;
  }

  html[lang="ar"] .system-copy {
    min-height: 500px;
  }

  html[lang="ar"] .system-copy h3 {
    font-size: clamp(31px, 8.8vw, 36px);
  }

  html[lang="ar"] :is(.identity-visual,.workflow-visual) {
    min-height: 420px;
  }

  html[lang="ar"] .governance-architecture {
    min-height: 680px !important;
  }

  html[lang="ar"] .governance-architecture .control-account {
    bottom: 14% !important;
  }

  html[lang="ar"] .route-map {
    min-height: 360px;
  }

  html[lang="ar"] .presence-timeline li {
    min-height: 150px;
  }

  html[lang="ar"] .cta-content h2 {
    font-size: clamp(40px, 11vw, 52px);
  }

  html[lang="ar"] .footer-brand img {
    width: 170px;
  }

  html[lang="ar"] .footer-signature {
    font-size: clamp(42px, 12vw, 56px);
  }
}

/* Arabic RTL structure pass: align reading flow, icons, diagrams and table-like grids. */
html[lang="ar"] :is(.page-shell,.hero-layout,.positioning-main,.cyber-heading,.products-heading,.systems-heading,.responsible-shell,.presence-heading,.insights-heading,.section-head,.intro-grid,.cta-grid,.contact-layout,.product-hero-shell,.detail-heading,.editorial-head) {
  direction: rtl;
}

html[lang="ar"] :is(.hero-summary,.section-head>p,.presence-heading>p,.industries-heading>p,.article-callout,.market-major,.editorial-head>p) {
  padding-left: 0;
  padding-right: 24px;
  border-left: 0;
  border-right: 1px solid currentColor;
}

html[lang="ar"] .hero-summary {
  border-right-color: rgba(52,182,255,.55);
}

html[lang="ar"] :is(.section-head>p,.presence-heading>p,.industries-heading>p,.editorial-head>p) {
  border-right-color: rgba(0,16,68,.22);
}

html[lang="ar"] .dark .section-head>p,
html[lang="ar"] .industries-heading>p {
  border-right-color: rgba(255,255,255,.22);
}

html[lang="ar"] :is(.button,.text-link,.mobile-cta,.header-cta,.capability-nav a,.article-next a,.quickcheck a,.vapt-logo a,.product-tile>span) {
  direction: rtl;
}

html[lang="ar"] :is(.text-link span,.service-arrow,.industry-arrow,.capability-nav span,.article-next span) {
  display: inline-block;
  transform: scaleX(-1);
  transform-origin: center;
}

html[lang="ar"] .advisory-list li:hover .service-arrow,
html[lang="ar"] .industry-list li:hover .industry-arrow {
  transform: scaleX(-1) translate(3px,-3px);
}

html[lang="ar"] .advisory-list li {
  padding-left: 0;
  padding-right: 28px;
  grid-template-columns: 62px minmax(0,1fr) 26px;
}

html[lang="ar"] .industry-list li {
  padding-left: 0;
  padding-right: 24px;
  grid-template-columns: 74px minmax(210px,.66fr) minmax(340px,1fr) minmax(176px,200px) 24px;
}

html[lang="ar"] .industry-list li:hover {
  padding-left: 0;
  padding-right: 42px;
  background: linear-gradient(270deg, rgba(52,182,255,.09), transparent 68%);
}

html[lang="ar"] :is(.industry-number,.service-index>a>span,.trust-ledger>article>span,.framework span) {
  text-align: right;
}

html[lang="ar"] :is(.industry-arrow,.service-arrow) {
  justify-self: start;
}

html[lang="ar"] .industries-meta,
html[lang="ar"] .presence-meta {
  padding-left: 0;
  padding-right: 22px;
  border-left: 0;
  border-right: 1px solid currentColor;
}

html[lang="ar"] .industry-diagram,
html[lang="ar"] :is(.government-diagram,.finance-diagram,.telecom-diagram,.healthcare-diagram,.infrastructure-diagram) {
  direction: ltr;
  justify-self: stretch;
}

html[lang="ar"] :is(.bazgrid-interface,.attack-interface,.flare-console,.support-console,.medical-console,.biometric-visual,.identity-visual,.workflow-visual,.governance-architecture,.story-graphic,.feature-signal,.quantum-graphic,.migration-graphic) {
  direction: ltr;
}

html[lang="ar"] :is(.bazgrid-interface,.flare-console,.support-console,.medical-console) {
  text-align: left;
}

html[lang="ar"] .evidence-row {
  grid-template-columns: minmax(145px,1.25fr) minmax(72px,.55fr) minmax(116px,.78fr);
  column-gap: 10px;
}

html[lang="ar"] .evidence-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

html[lang="ar"] .evidence-row i {
  justify-self: start;
  white-space: normal;
}

html[lang="ar"] :is(.number-grid,.service-grid,.product-grid,.detail-grid,.scope-list,.outcome-row,.flow,.deployment-grid,.impact-grid,.cost-grid,.fragment-grid,.risk-line,.yally-highlights,.thesis-grid,.presence-line,.pillar-grid-new,.quantum-track,.problem-rail,.journey-steps,.guardrail-map,.sector-grid,.entry-grid,.secondary-products,.fact-grid,.contact-locations) {
  direction: rtl;
}

html[lang="ar"] :is(.number-card,.service-card,.product-card,.detail-card,.flow-step,.deployment-card,.scope-list article,.outcome-row article,.impact-grid article,.cost-grid article,.fragment-grid article,.risk-line article,.yally-highlights article,.thesis-grid article,.presence-line article,.pillar-grid-new article,.quantum-track article,.problem-rail article,.journey-steps article,.guardrail-map article,.sector-grid article,.entry-grid article,.secondary-products a,.fact-grid article,.contact-locations article) {
  min-width: 0;
  overflow-wrap: break-word;
}

html[lang="ar"] :is(.number-grid,.service-grid,.problem-rail,.journey-steps,.thesis-grid,.presence-line,.pillar-grid-new,.quantum-track,.entry-grid) {
  border-left: 0;
  border-right: 1px solid rgba(0,16,68,.15);
}

html[lang="ar"] .dark :is(.number-grid,.service-grid,.entry-grid),
html[lang="ar"] .navy .sector-grid {
  border-right-color: rgba(255,255,255,.15);
}

html[lang="ar"] :is(.number-card,.service-card,.problem-rail article,.journey-steps article,.thesis-grid article,.presence-line article,.pillar-grid-new>article,.quantum-track article,.entry-grid article) {
  border-right: 0;
  border-left: 1px solid rgba(0,16,68,.15);
}

html[lang="ar"] .dark :is(.number-card,.service-card,.entry-grid article),
html[lang="ar"] .navy .sector-grid article {
  border-left-color: rgba(255,255,255,.15);
}

html[lang="ar"] :is(.product-card img,.product-tile img,.vapt-logo img) {
  object-position: right center;
}

html[lang="ar"] .article-layout {
  grid-template-columns: minmax(0,760px) 220px;
}

html[lang="ar"] .article-rail {
  order: 2;
}

html[lang="ar"] .article-copy {
  order: 1;
}

html[lang="ar"] .article-copy :is(ul,ol) {
  padding-left: 0;
  padding-right: 24px;
}

html[lang="ar"] .article-copy li {
  padding-left: 0;
  padding-right: 8px;
}

html[lang="ar"] .framework article {
  grid-template-columns: 60px minmax(150px,170px) minmax(0,1fr);
}

html[lang="ar"] .service-index a {
  grid-template-columns: 70px minmax(210px,.72fr) minmax(0,1fr);
}

html[lang="ar"] .service-index a:hover {
  padding-left: 0;
  padding-right: 14px;
}

html[lang="ar"] .trust-ledger article {
  grid-template-columns: 80px minmax(0,1fr) 100px;
}

html[lang="ar"] .trust-ledger .limits {
  padding-left: 0;
  padding-right: 28px;
}

html[lang="ar"] .contact-form :is(input,textarea,select) {
  font-family: inherit;
}

html[lang="ar"] .contact-locations article {
  padding-left: 40px;
  padding-right: 0;
}

html[lang="ar"] .contact-locations article + article {
  padding-right: 40px;
  padding-left: 40px;
  border-left: 0;
  border-right: 1px solid rgba(0,16,68,.14);
}

html[lang="ar"] .contact-locations article > a {
  align-self: flex-start;
  direction: ltr;
}

html[lang="ar"] :is(a[href^="tel:"],.presence-timeline a,.contact-locations article>a) {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  white-space: nowrap;
}

html[lang="ar"] .route-map {
  direction: ltr;
}

html[lang="ar"] .route-city {
  text-align: center;
}

html[lang="ar"] .route-city.city-ksa {
  text-align: right;
}

html[lang="ar"] .route-city.city-usa {
  text-align: left;
}

html[lang="ar"] .hero-glow {
  right: auto;
  left: -180px;
}

html[lang="ar"] .positioning::before {
  right: auto;
  left: -18vw;
}

html[lang="ar"] .product-brutclad::before {
  background:
    radial-gradient(circle at 28% 72%, rgba(52,182,255,.12), transparent 34%),
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}

html[lang="ar"] .responsible-ai::before {
  background: radial-gradient(circle at 22% 48%, rgba(52,182,255,.09), transparent 32%);
}

html[lang="ar"] .capability-mark {
  right: auto;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(52,182,255,.34);
  border-radius: 50%;
  background: rgba(52,182,255,.07);
  transform: scaleX(-1) translate(8px, 8px);
}

html[lang="ar"] .capability-index li:hover .capability-mark {
  opacity: 1;
  transform: scaleX(-1) translate(0, 0);
}

html[lang="ar"] .capability-index li:hover {
  background:
    radial-gradient(circle at 10% 18%, rgba(52,182,255,.15), transparent 28%),
    var(--navy);
}

html[lang="ar"] .final-cta {
  isolation: isolate;
}

html[lang="ar"] .final-cta .cta-grid {
  background-position: calc(50% + 18px) 0;
  mask-image: radial-gradient(circle at 26% 52%, #000, transparent 68%);
}

html[lang="ar"] .cta-mark {
  right: auto;
  left: 7%;
}

html[lang="ar"] .cta-orbit {
  right: auto;
  left: 8%;
}

html[lang="ar"] .cta-content {
  margin-right: 0;
  margin-left: auto;
}

html[lang="ar"] .cta-meta {
  direction: ltr;
}

html[lang="ar"] .cta-status {
  justify-content: flex-end;
}

html[lang="ar"] :is(.page-hero::after,.contact-hero::after) {
  right: auto;
  left: -260px;
}

html[lang="ar"] :is(.hero-grid,.cyber-lifecycle::before,.workflow-visual::before,.contact-hero::before,.page-hero::before) {
  background-position: calc(50% + 18px) 0;
}

@media (min-width: 861px) and (max-width: 1320px) {
  html[lang="ar"] .industry-list li {
    grid-template-columns: 56px minmax(190px,.68fr) minmax(280px,1fr) minmax(144px,170px) 20px;
    gap: 22px;
  }

  html[lang="ar"] .industry-diagram {
    width: 100%;
    min-width: 0;
  }

  html[lang="ar"] .service-index a {
    grid-template-columns: 52px minmax(190px,.8fr) minmax(0,1fr);
  }

  html[lang="ar"] :is(.usable-grid,.problem-rail,.journey-steps,.quantum-track) {
    grid-template-columns: repeat(auto-fit, minmax(190px,1fr));
  }
}

@media (max-width: 900px) {
  html[lang="ar"] :is(.hero-summary,.section-head>p,.presence-heading>p,.industries-heading>p,.article-callout,.market-major,.editorial-head>p) {
    padding-right: 18px;
  }

  html[lang="ar"] .industry-list li {
    padding: 28px 4px;
    grid-template-columns: 42px minmax(0,1fr) 20px;
  }

  html[lang="ar"] .industry-list>li>p,
  html[lang="ar"] .industry-diagram {
    grid-column: 2;
  }

  html[lang="ar"] .industry-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  html[lang="ar"] .contact-locations article,
  html[lang="ar"] .contact-locations article + article {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  html[lang="ar"] .article-layout {
    grid-template-columns: 1fr;
  }

  html[lang="ar"] .cta-mark {
    left: -8%;
    right: auto;
  }

  html[lang="ar"] .orbit-one {
    left: -12%;
    right: auto;
  }

  html[lang="ar"] .orbit-two {
    left: -3%;
    right: auto;
  }
}

@media (max-width: 620px) {
  html[lang="ar"] .evidence-row {
    grid-template-columns: minmax(118px,1fr) minmax(62px,.48fr) minmax(96px,.72fr);
    font-size: 12px;
  }

  html[lang="ar"] .evidence-head {
    font-size: 12px;
  }

  html[lang="ar"] :is(.framework article,.trust-ledger article,.service-index a) {
    grid-template-columns: 42px minmax(0,1fr);
  }

  html[lang="ar"] :is(.framework p,.trust-ledger>article>b,.service-index a>p) {
    grid-column: 2;
  }

  html[lang="ar"] .final-cta .cta-grid {
    mask-image: radial-gradient(circle at 18% 58%, #000, transparent 72%);
  }

  html[lang="ar"] .cta-mark {
    left: -38%;
    right: auto;
  }

  html[lang="ar"] .orbit-one {
    left: -55%;
    right: auto;
  }

  html[lang="ar"] .orbit-two {
    left: -36%;
    right: auto;
  }
}

/* Four-market presence and postal details */
html[lang="ar"] .route-city.city-ksa { text-align: center; }
html[lang="ar"] .route-city.city-pk { text-align: right; }
html[lang="ar"] .presence-timeline address,
html[lang="ar"] .contact-locations address { text-align: right; }
html[lang="ar"] body .presence-timeline { direction: ltr; }
html[lang="ar"] .presence-timeline li { direction: rtl; text-align: right; }
html[lang="ar"] .contact-locations article:nth-child(odd) {
  padding-right: 0;
  border-right: 0;
}

@media (max-width: 900px) {
  html[lang="ar"] .contact-locations article:nth-child(odd) { padding-left: 0; }
}

@media (max-width: 560px) {
  html[lang="ar"] .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  html[lang="ar"] .hero > .hero-layout,
  html[lang="ar"] .hero > .hero-layout .hero-content {
    width: 100%;
    min-width: 0;
  }

  html[lang="ar"] .page-hero .hero-layout {
    width: calc(100% - 36px);
    margin-inline: 18px;
  }

  html[lang="ar"] .hero-content {
    margin: 0;
  }

  html[lang="ar"] .hero h1 {
    max-width: none;
    font-size: clamp(31px, 8.7vw, 36px);
    line-height: 1.3;
    text-wrap: pretty;
    word-break: normal;
  }

  html[lang="ar"] .hero .intro {
    width: 100%;
    max-width: none;
    line-height: 1.9;
  }

  html[lang="ar"] .hero-content :is(.eyebrow,h1,.intro) {
    animation-name: ar-reveal-right-mobile;
  }

  html[lang="ar"] .mobile-route-point {
    padding-right: 48px;
    padding-left: 0;
    text-align: right;
  }

  html[lang="ar"] .mobile-route::before {
    right: 14px;
    left: auto;
  }

  html[lang="ar"] .mobile-route::after {
    right: 11px;
    left: auto;
  }

  html[lang="ar"] .mobile-route-point::before {
    right: 4px;
    left: auto;
  }
}

@keyframes ar-reveal-right-mobile {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
html[lang="ar"] body { font-family: "Noto Sans Arabic", "Inter", sans-serif; }

/* Use a darker accent for small text on light surfaces; bright cyan remains on dark sections. */
html[lang="ar"] .product-card:not(.primary) small,
html[lang="ar"] .product-card:not(.primary) .text-link span,
html[lang="ar"] .corridor-heading h2 span,
html[lang="ar"] .cyber-product-rail b,
html[lang="ar"] .capability-nav a span,
html[lang="ar"] .article-body .framework span,
html[lang="ar"] .article-next span {
  color: var(--blue-on-light, #00679d);
}

html[lang="ar"] .hero::before {
  background-image: url("assets/cybersecurity-responsible-ai.webp");
}

html[lang="ar"] .campaign-page .hero-image {
  background-image: url("../assets/cybersecurity-responsible-ai.webp");
}

@media (max-width: 900px) {
  html[lang="ar"] .hero::before {
    background-image: url("assets/cybersecurity-responsible-ai-mobile.webp");
  }

  html[lang="ar"] .campaign-page .hero-image {
    background-image: url("../assets/cybersecurity-responsible-ai-mobile.webp");
  }
}

/* Supplied Saudi wordmark: preserve blue emblem; white lettering is isolated by its SVG mask. */
html[lang="ar"] :is(.brand img,.footer-brand img,.footer-brand-column>a>img){object-fit:contain;filter:drop-shadow(0 1px 1px rgba(0,0,0,.18));mix-blend-mode:normal}
