/* ============================================================
   ProHandOPS — Facility Workforce Management
   Shared design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  /* Brand — deep blue corporate */
  --navy-900: oklch(0.21 0.045 256);
  --navy-800: oklch(0.27 0.058 256);
  --navy-700: oklch(0.34 0.07 256);
  --navy-600: oklch(0.43 0.085 256);

  /* Industrial safety accent */
  --amber: oklch(0.76 0.155 64);
  --amber-600: oklch(0.69 0.16 55);

  /* Neutrals — warm */
  --bg: oklch(0.985 0.005 85);
  --bg-alt: oklch(0.965 0.008 80);
  --surface: oklch(1 0 0);
  --ink: oklch(0.24 0.02 262);
  --muted: oklch(0.50 0.018 262);
  --faint: oklch(0.62 0.012 262);
  --line: oklch(0.90 0.008 262);
  --line-strong: oklch(0.82 0.01 262);

  /* On-dark */
  --on-dark: oklch(0.97 0.006 85);
  --on-dark-muted: oklch(0.80 0.02 256);
  --line-dark: oklch(1 0 0 / 0.12);

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 8px;

  --ff-display: 'Archivo', system-ui, sans-serif;
  --ff-body: 'IBM Plex Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}
.eyebrow--on-dark { color: var(--amber); }

/* ---------- Headings scale ---------- */
.h-display {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h-1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.03em; }
.h-2 { font-size: clamp(26px, 3vw, 38px); }
.h-3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn--amber { background: var(--amber); color: var(--navy-900); }
.btn--amber:hover { background: var(--amber-600); }

.btn--navy { background: var(--navy-800); color: var(--on-dark); }
.btn--navy:hover { background: var(--navy-900); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy-700); background: var(--surface); }

.btn--ghost-light { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn--ghost-light:hover { border-color: var(--on-dark); background: oklch(1 0 0 / 0.06); }

.btn--lg { padding: 18px 32px; font-size: 16px; }

/* Text link with arrow */
.link-arrow {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-700);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: gap .2s ease, border-color .2s ease;
}
.link-arrow:hover { gap: 14px; border-color: var(--amber); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.985 0.005 85 / 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--navy-800);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2.5px solid var(--amber);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 2px;
}
.brand__mark::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  background: var(--amber);
  right: 9px; bottom: 9px;
  border-radius: 1px;
}
.brand__name {
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.brand__name b { color: var(--amber-600); font-weight: 900; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.nav a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 16px;
  border-radius: var(--radius);
  color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--navy-900); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--navy-900); }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--amber);
  margin-top: 5px;
  border-radius: 2px;
}
.header__cta { display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang-switch {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--navy-900);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: border-color .2s ease, background .2s ease;
}
.lang-switch:hover { border-color: var(--navy-700); background: var(--surface); }
.lang-switch svg { width: 15px; height: 15px; opacity: .7; }

.menu-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--navy-900);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* faint blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 100% at 80% 0%, #000 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px);
}
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero__lede {
  color: var(--on-dark-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  margin-top: 26px;
  max-width: 48ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero__media {
  position: relative;
}

/* ---------- Image placeholders ---------- */
.img-slot {
  position: relative;
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(
    -45deg,
    oklch(0.88 0.01 262) 0 1px,
    transparent 1px 12px
  );
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--faint);
}
.img-slot::after {
  content: attr(data-label);
  font-family: 'IBM Plex Sans', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--faint);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 100px;
}
.img-slot--dark {
  background-color: var(--navy-800);
  background-image: repeating-linear-gradient(
    -45deg,
    oklch(1 0 0 / 0.06) 0 1px,
    transparent 1px 12px
  );
  border-color: var(--line-dark);
}
.img-slot--dark::after {
  color: var(--on-dark-muted);
  background: var(--navy-900);
  border-color: var(--line-dark);
}
.hero__media .img-slot { aspect-ratio: 4 / 5; }

.hero__badge {
  position: absolute;
  left: -22px;
  bottom: 30px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: 0 24px 60px -24px oklch(0.21 0.045 256 / 0.55);
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 250px;
}
.hero__badge .num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 34px;
  color: var(--navy-800);
  line-height: 1;
}
.hero__badge .lbl { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* ============================================================
   Marquee / industries strip
   ============================================================ */
.strip {
  background: var(--navy-800);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
}
.strip__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  padding-block: 26px;
}
.strip__label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-inline-start: auto;
}
.strip__items span {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px);
  color: #fff;
  letter-spacing: -0.01em;
}
.strip__items i {
  width: 6px; height: 6px; background: var(--amber);
  display: inline-block; transform: rotate(45deg);
}

/* ============================================================
   Section heads
   ============================================================ */
.section-head { max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { display: inline-flex; }
.section-head .lede { margin-top: 20px; }
.section-head.center .lede { margin-inline: auto; }

/* ============================================================
   Split (who we are / image+text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media .img-slot { aspect-ratio: 5 / 4; height: 100%; }
.split__body .eyebrow { margin-top: 0; }

.stat-row {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat .n {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 48px);
  color: var(--navy-800);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .n b { color: var(--amber-600); }
.stat .t { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 18ch; }

/* ============================================================
   Solution cards
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -32px oklch(0.21 0.045 256 / 0.45);
  border-color: var(--line-strong);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--navy-900);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--amber);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; color: var(--navy-900); }
.card p { color: var(--muted); font-size: 15.5px; }
.card .link-arrow { margin-top: 22px; font-size: 14px; }
.card__num {
  position: absolute;
  top: 24px; right: 26px;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 15px;
  color: var(--line-strong);
  letter-spacing: 0.05em;
}

/* ============================================================
   Process steps
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  margin-top: 8px;
}
.step {
  padding-block: 36px;
  padding-inline-end: 28px;
  border-top: 2px solid var(--navy-800);
  position: relative;
}
.step + .step { padding-inline-start: 28px; }
.step__n {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 52px;
  color: var(--navy-800);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step__n sup { color: var(--amber-600); font-size: 18px; top: -1.4em; margin-inline-start: 2px; }
.step h3 { font-size: 19px; margin: 18px 0 10px; color: var(--navy-900); }
.step p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   Feature list (checks)
   ============================================================ */
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px;
}
.checks li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--navy-900);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf52' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   Page banner (sub-pages)
   ============================================================ */
.banner {
  background: var(--navy-900);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(110% 120% at 90% -10%, #000, transparent 65%);
          mask-image: radial-gradient(110% 120% at 90% -10%, #000, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}
.banner__inner {
  position: relative; z-index: 1;
  padding-block: clamp(60px, 8vw, 104px);
  max-width: 60ch;
}
.banner h1 { color: #fff; }
.banner .lede { color: var(--on-dark-muted); margin-top: 22px; }
.crumbs {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
  margin-bottom: 22px;
  display: flex; gap: 10px; align-items: center;
}
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--amber); }

/* ============================================================
   Values / mission grid
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value {
  background: var(--surface);
  padding: 36px 32px;
}
.value__k {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--amber-600);
  letter-spacing: 0.05em;
}
.value h3 { margin: 16px 0 10px; color: var(--navy-900); font-size: 21px; }
.value p { color: var(--muted); font-size: 15px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--navy-800);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border: 40px solid var(--amber);
  opacity: 0.16;
  transform: rotate(45deg);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: var(--on-dark-muted); margin-top: 14px; position: relative; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: var(--on-dark);
  padding-block: clamp(56px, 7vw, 88px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand__name { color: #fff; }
.footer-brand p {
  color: var(--on-dark-muted);
  margin-top: 22px;
  max-width: 38ch;
  font-size: 15px;
}
.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links { display: grid; gap: 13px; }
.footer-links a { color: var(--on-dark); font-size: 15.5px; opacity: 0.85; transition: opacity .15s, color .15s; }
.footer-links a:hover { opacity: 1; color: var(--amber); }

.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci-ico {
  flex: none; width: 38px; height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  color: var(--amber);
}
.contact-item .ci-ico svg { width: 18px; height: 18px; }
.contact-item .k { font-size: 12px; color: var(--on-dark-muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; font-family: var(--ff-display); }
.contact-item .v { color: #fff; font-size: 15.5px; margin-top: 3px; }
.contact-item .v a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 28px;
  font-size: 13.5px;
  color: var(--on-dark-muted);
}
.footer-bottom .dot { color: var(--amber); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .header__cta .btn { display: none; }
  .menu-toggle {
    display: inline-flex;
    margin-inline-start: auto;
    background: var(--navy-800);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    cursor: pointer;
  }
  .header__cta { margin-left: 0; }
  .strip__inner { flex-direction: column; align-items: flex-start; }
  .strip__items { margin-left: 0; }
  .process { grid-template-columns: 1fr; }
  .step { padding: 28px 0; }
  .step + .step { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band__actions .btn { flex: 1; justify-content: center; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--navy-900);
  display: none;
  flex-direction: column;
  padding: 24px var(--pad);
}
.mobile-nav.open { display: flex; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-nav__top .brand__name { color: #fff; }
.mobile-nav__close { background: none; border: none; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.mobile-nav__links { display: grid; gap: 4px; margin-top: 40px; }
.mobile-nav__links a {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav__links a span { color: var(--amber); margin-inline-end: 14px; font-size: 16px; }
.mobile-nav .btn { margin-top: 32px; justify-content: center; }
.mobile-nav .lang-switch { margin-top: 16px; justify-content: center; color: #fff; border-color: var(--line-dark); }
.mobile-nav .lang-switch:hover { background: oklch(1 0 0 / 0.06); }

/* ============================================================
   Arabic / RTL
   ============================================================ */
[lang="ar"] {
  --ff-display: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ff-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
/* Arabic script should not carry Latin tracking */
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4,
[lang="ar"] .h-display, [lang="ar"] .h-1, [lang="ar"] .h-2, [lang="ar"] .h-3 {
  letter-spacing: normal;
}
[lang="ar"] .eyebrow, [lang="ar"] .strip__label, [lang="ar"] .footer-col h4,
[lang="ar"] .contact-item .k, [lang="ar"] .crumbs, [lang="ar"] .value__k,
[lang="ar"] .btn, [lang="ar"] .nav a, [lang="ar"] .link-arrow {
  letter-spacing: normal;
  text-transform: none;
}
/* keep the brand wordmark in Latin even on Arabic pages */
[lang="ar"] .brand__name { direction: ltr; letter-spacing: -0.02em; }

/* Heading weight: Plex Arabic tops out at 700 */
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { font-weight: 700; }
[lang="ar"] .h-display { font-weight: 700; }

/* RTL mirroring of directional bits */
[dir="rtl"] .eyebrow::before { /* line sits before text via flex; order is fine */ }
[dir="rtl"] .hero__badge { left: auto; right: -22px; }
[dir="rtl"] .cta-band::before { right: auto; left: -60px; }
[dir="rtl"] .card::before { transform-origin: right; }
[dir="rtl"] .card__num { right: auto; left: 26px; }
[dir="rtl"] .banner::after {
  -webkit-mask-image: radial-gradient(110% 120% at 10% -10%, #000, transparent 65%);
          mask-image: radial-gradient(110% 120% at 10% -10%, #000, transparent 65%);
}
[dir="rtl"] .hero::after {
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 100% at 20% 0%, #000 0%, transparent 70%);
}
/* arrows point the other way in RTL */
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(3px); }
