/* ============================================================================
 * ESSAWY — WHITE ENTERPRISE DESIGN SYSTEM
 * ----------------------------------------------------------------------------
 * Clean, professional, rich. Reference points: Ingram Micro, Arrow Electronics,
 * TD Synnex, Westcon-Comstor. White base, deep navy primary, enterprise blue
 * accent, photography-forward, data-rich.
 * ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&family=Cairo:wght@400;500;600;700;900&display=swap');

:root {
  /* ---- Color System ---- */
  --ink:        #0a0e1a;      /* near-black navy */
  --ink-2:      #141a2b;
  --ink-3:      #1e2639;
  --ink-4:      #2d3650;

  --slate-900:  #0f172a;
  --slate-800:  #1e293b;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-500:  #64748b;
  --slate-400:  #94a3b8;
  --slate-300:  #cbd5e1;
  --slate-200:  #e2e8f0;
  --slate-100:  #f1f5f9;
  --slate-50:   #f8fafc;

  --paper:      #ffffff;
  --paper-2:    #fafbfc;
  --paper-3:    #f5f7fa;
  --paper-4:    #eef1f6;

  --line:       #e5e8ef;
  --line-2:     #eef0f5;

  --text:       #0a0e1a;
  --text-2:     #425068;
  --text-3:     #6b7587;
  --text-4:     #9199a8;

  --text-inv:   #f8fafc;
  --text-inv-2: #a7b0c2;

  /* Accent — deep enterprise blue */
  --blue:       #1e40af;
  --blue-2:     #1d4ed8;
  --blue-3:     #2563eb;
  --blue-4:     #3b82f6;
  --blue-light: #dbeafe;
  --blue-50:    #eff6ff;

  /* Supporting */
  --gold:       #b08a3a;
  --red:        #be1a2f;
  --green:      #0d9f6e;

  /* ---- Type System ---- */
  --f-display: 'Sora', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body:    'DM Sans', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid type scale */
  --fs-xs:    0.74rem;
  --fs-sm:    0.86rem;
  --fs-base:  clamp(0.98rem, 0.92rem + 0.25vw, 1.06rem);
  --fs-md:    clamp(1.08rem, 0.98rem + 0.40vw, 1.22rem);
  --fs-lg:    clamp(1.30rem, 1.10rem + 0.80vw, 1.60rem);
  --fs-xl:    clamp(1.60rem, 1.30rem + 1.30vw, 2.20rem);
  --fs-2xl:   clamp(2.00rem, 1.60rem + 1.80vw, 3.00rem);
  --fs-3xl:   clamp(2.60rem, 1.90rem + 3.00vw, 4.20rem);
  --fs-hero:  clamp(3.20rem, 2.40rem + 4.00vw, 5.80rem);

  /* ---- Spacing (8px rhythm) ---- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* ---- Radius ---- */
  --r-sm: 4px;
  --r:    8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* ---- Shadows (elevation scale) ---- */
  --sh-xs: 0 1px 2px rgba(10,14,26,0.04), 0 1px 1px rgba(10,14,26,0.03);
  --sh-sm: 0 2px 4px rgba(10,14,26,0.04), 0 1px 2px rgba(10,14,26,0.04);
  --sh:    0 4px 12px rgba(10,14,26,0.06), 0 2px 4px rgba(10,14,26,0.04);
  --sh-md: 0 12px 24px rgba(10,14,26,0.08), 0 4px 8px rgba(10,14,26,0.04);
  --sh-lg: 0 24px 48px rgba(10,14,26,0.12), 0 8px 16px rgba(10,14,26,0.06);
  --sh-xl: 0 32px 64px rgba(10,14,26,0.16), 0 12px 24px rgba(10,14,26,0.08);
  --sh-blue: 0 16px 40px rgba(30,64,175,0.24);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur:      280ms;
  --dur-slow: 480ms;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'calt';
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
::selection { background: var(--blue-3); color: #fff; }

/* Focus rings (accessibility) */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue-3);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-2xl); font-weight: 700; }
h4 { font-size: var(--fs-xl);  font-weight: 600; }
h5 { font-size: var(--fs-lg);  font-weight: 600; }
h6 {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-600);
}
p { color: var(--text-2); max-width: 64ch; }
strong, b { font-weight: 600; color: var(--ink); }

/* ============ LAYOUT ============ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
@media (max-width: 768px) { .container { padding: 0 var(--s-5); } }

.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--blue-3);
}

/* ============ TOP STRIP ============ */
.topstrip {
  background: var(--ink);
  color: var(--text-inv-2);
  font-size: var(--fs-xs);
  font-family: var(--f-body);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topstrip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-6);
  padding-top: 10px;
  padding-bottom: 10px;
}
.topstrip a { transition: color var(--dur-fast) var(--ease); }
.topstrip a:hover { color: var(--blue-4); }
.topstrip .left, .topstrip .right { display: flex; gap: var(--s-5); align-items: center; }
.topstrip .div { width: 1px; height: 12px; background: rgba(255,255,255,0.15); }
.topstrip .flag { width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(to bottom, #ce1126 33%, #fff 33% 66%, #0a0e1a 66%); display: inline-block; }

/* ============ NAV ============ */
header.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255,255,255,0.94);
}
header.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
  gap: var(--s-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
}
.brand img.logo {
  height: 88px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .brand img.logo { height: 68px; }
}
/* White-on-dark variant */
.brand img.logo-inv { filter: invert(1) brightness(1.15); }

nav.primary ul {
  display: flex;
  gap: var(--s-7);
}
nav.primary a {
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: var(--s-2) 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
nav.primary a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue-3);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
nav.primary a:hover,
nav.primary a.active { color: var(--blue-2); }
nav.primary a:hover::after,
nav.primary a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform .25s, top .25s, bottom .25s, opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  nav.primary {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 340px);
    background: var(--paper);
    border-left: 1px solid var(--line);
    padding: 92px var(--s-6) var(--s-6);
    transform: translate3d(100%, 0, 0);
    transition: transform .24s cubic-bezier(.22,.61,.36,1);
    z-index: 90;
    box-shadow: -12px 0 40px rgba(10,14,26,0.10);
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    touch-action: pan-y;
  }
  nav.primary.open { transform: translate3d(0, 0, 0); }
  .nav-toggle, nav.primary a { touch-action: manipulation; }
  nav.primary ul { flex-direction: column; gap: var(--s-4); align-items: flex-start; }
  nav.primary a { font-size: 1.15rem; padding: var(--s-3) 0; display: block; width: 100%; }
  .nav-toggle { display: inline-flex; }
  header.nav > .container > .btn { display: none; }
  /* RTL drawer also opens from right — consistent behavior */
  html[lang^="ar"] nav.primary { direction: rtl; }
}
body.nav-open { overflow: hidden; }
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10,14,26,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 80;
}
.nav-scrim.visible { opacity: 1; pointer-events: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 24px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 46px;
}
.btn::after {
  content: '';
  width: 16px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none'><path d='M10 1l4 4-4 4M14 5H0' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--dur) var(--ease);
}
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--blue-2); border-color: var(--blue-2); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none'><path d='M10 1l4 4-4 4M14 5H0' stroke='%230a0e1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost:hover::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none'><path d='M10 1l4 4-4 4M14 5H0' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.btn-inv {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-inv::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none'><path d='M10 1l4 4-4 4M14 5H0' stroke='%230a0e1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.btn-inv:hover { background: var(--blue-3); color: #fff; border-color: var(--blue-3); }
.btn-inv:hover::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none'><path d='M10 1l4 4-4 4M14 5H0' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.68) 45%, rgba(10,14,26,0.28) 100%),
    linear-gradient(0deg, rgba(10,14,26,0.5) 0%, transparent 40%);
}
.hero .container { position: relative; z-index: 2; padding-top: var(--s-9); padding-bottom: var(--s-9); width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-8);
  align-items: end;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

.hero-main .eyebrow {
  color: var(--blue-4);
  margin-bottom: var(--s-5);
}
.hero-main .eyebrow::before { background: var(--blue-4); }

.hero-main h1 {
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: var(--s-6);
}
.hero-main h1 .accent { color: var(--blue-4); }
.hero-main .lede {
  color: var(--text-inv-2);
  font-size: var(--fs-md);
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: var(--s-7);
}
.hero-actions { display: flex; gap: var(--s-4); flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.hero-card .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.hero-card .header .label {
  font-family: var(--f-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-4);
}
.hero-card .header .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-inv-2);
  font-weight: 500;
}
.hero-card .header .status::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(13,159,110,0.2);
}
.hero-card .metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-card .metric:last-child { border-bottom: none; padding-bottom: 0; }
.hero-card .metric .k {
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: var(--text-inv-2);
  font-weight: 500;
}
.hero-card .metric .v {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-card .metric .v em { font-style: normal; color: var(--blue-4); }

/* ============ STATS BAR ============ */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: var(--s-7) 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}
@media (max-width: 800px) { .stats .container { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 0 var(--s-5);
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .k-label {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: var(--s-3);
}
.stat .k-value {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-2);
}
.stat .k-value em { font-style: normal; color: var(--blue-3); }
.stat .k-desc {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.4;
  max-width: 26ch;
}

/* ============ SECTIONS ============ */
section { padding: var(--s-10) 0; }
@media (max-width: 800px) { section { padding: var(--s-8) 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
  align-items: end;
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: var(--s-4); } }
.section-head h2 { max-width: 18ch; line-height: 0.98; }
.section-head .head-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.section-head .head-body p {
  font-size: var(--fs-md);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 56ch;
}

/* ============ CATEGORIES ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.cat-card:hover {
  border-color: var(--blue-3);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card .icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  color: var(--blue-2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
}
.cat-card .icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.cat-card .num {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--slate-500);
  text-transform: uppercase;
}
.cat-card h4 {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
}
.cat-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.cat-card .brand-list {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.cat-card .brand-tag {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 4px 10px;
  background: var(--slate-100);
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
}

/* ============ BRAND WALL ============ */
.brand-section {
  background: var(--paper-3);
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 900px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
.brand-cell {
  background: var(--paper);
  padding: var(--s-6) var(--s-4);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  transition: background var(--dur) var(--ease);
  position: relative;
}
.brand-cell:hover { background: var(--paper-2); }
.brand-cell .brand-no {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-400);
  letter-spacing: 0.1em;
}
.brand-cell .brand-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-cell .brand-cat {
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: var(--slate-500);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.brand-cell.featured {
  background: var(--ink);
  color: #fff;
}
.brand-cell.featured:hover { background: var(--ink-2); }
.brand-cell.featured .brand-no { color: var(--blue-4); }
.brand-cell.featured .brand-name { color: #fff; }
.brand-cell.featured .brand-cat { color: var(--text-inv-2); }
.brand-cell.featured .badge {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-4);
  padding: 3px 8px;
  border: 1px solid var(--blue-4);
  border-radius: 2px;
}

/* ============ REDRAGON SPOTLIGHT ============ */
.spotlight {
  padding: var(--s-10) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.22), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.spotlight::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.spotlight .container { position: relative; z-index: 2; }
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 900px) { .spotlight-grid { grid-template-columns: 1fr; } }

.spotlight-image {
  background-image:
    linear-gradient(165deg, rgba(10,14,26,0.75) 0%, rgba(10,14,26,0.55) 45%, rgba(10,14,26,0.9) 100%),
    url('assets/redragon.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: var(--s-7);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.spotlight-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-4), transparent);
}

/* ============ COMPANY / OFFICE SHOWCASE ============ */
.showcase {
  padding: var(--s-10) 0;
  background: var(--paper-2);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } }
.showcase-image {
  background-image: url('assets/office.jpg');
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.showcase-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,14,26,0.12) 100%);
}
.showcase-content h2 { margin-bottom: var(--s-5); max-width: 18ch; }
.showcase-content p {
  font-size: var(--fs-md);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--s-5);
  max-width: 52ch;
}
.showcase-content .highlights {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.showcase-content .highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-2);
}
.showcase-content .highlights li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'><circle cx='10' cy='10' r='9' stroke='%232563eb' stroke-width='1.5'/><path d='M6 10l3 3 5-6' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.showcase-content .highlights li strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.spotlight-image .mark {
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-4);
  font-weight: 600;
}
.spotlight-image .big-label {
  font-family: var(--f-display);
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  line-height: 0.88;
  color: #fff;
  letter-spacing: -0.04em;
}
.spotlight-image .sub {
  font-size: 0.85rem;
  color: var(--text-inv-2);
  margin-top: var(--s-3);
  max-width: 30ch;
}
.spotlight-image .meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.spotlight-image .meta-row .k {
  font-size: 0.66rem;
  color: var(--blue-4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.spotlight-image .meta-row .v {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  margin-top: 4px;
}

.spotlight-content .eyebrow {
  color: var(--blue-4);
  margin-bottom: var(--s-4);
}
.spotlight-content .eyebrow::before { background: var(--blue-4); }
.spotlight-content h2 {
  color: #fff;
  margin-bottom: var(--s-6);
  max-width: 16ch;
}
.spotlight-content p {
  color: var(--text-inv-2);
  font-size: var(--fs-md);
  line-height: 1.7;
  margin-bottom: var(--s-5);
  max-width: 58ch;
}
.spotlight-content p strong { color: #fff; }
.spotlight-content .quote {
  padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--blue-4);
  background: rgba(255,255,255,0.03);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  margin: var(--s-6) 0;
  max-width: 52ch;
}
.spotlight-content .actions {
  display: flex;
  gap: var(--s-4);
  margin-top: var(--s-6);
  flex-wrap: wrap;
}

/* ============ REACH / MAP ============ */
.reach {
  padding: var(--s-10) 0;
  background: var(--paper);
}
.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 900px) { .reach-grid { grid-template-columns: 1fr; } }
.reach h2 { margin-bottom: var(--s-5); }
.reach p { font-size: var(--fs-md); color: var(--text-2); margin-bottom: var(--s-5); max-width: 48ch; }
.reach-offices {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.office-card {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--paper-3);
  border-radius: var(--r);
  border-left: 3px solid var(--blue-3);
}
.office-card .label {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: var(--s-2);
}
.office-card .name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.office-card .detail {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 6px;
}

.map-visual {
  aspect-ratio: 4/3;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
}
/* Simple stylized map using gradients */
.map-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 55%, rgba(30,64,175,0.08), transparent 40%),
    radial-gradient(ellipse at 65% 45%, rgba(30,64,175,0.04), transparent 50%);
}
.map-visual .map-title {
  position: relative;
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.map-visual .map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--blue-3);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(37,99,235,0.15), 0 0 0 12px rgba(37,99,235,0.08);
}
.map-visual .map-dot::after {
  content: attr(data-label);
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.map-visual .dot-cairo { top: 58%; left: 32%; }
.map-visual .dot-riyadh { top: 48%; left: 62%; }
.map-visual .connector {
  position: absolute;
  top: 53%;
  left: 32%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-3), transparent, var(--blue-3));
  transform: translateY(3px) rotate(5deg);
  opacity: 0.5;
}

/* ============ CTA ============ */
.cta {
  padding: var(--s-10) 0;
  background: var(--paper-3);
}
.cta .inner {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: var(--s-9) var(--s-8);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
@media (max-width: 900px) {
  .cta .inner { grid-template-columns: 1fr; padding: var(--s-7) var(--s-6); }
}
.cta .inner::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent 60%);
  border-radius: 50%;
}
.cta .content { position: relative; z-index: 2; }
.cta .eyebrow { color: var(--blue-4); }
.cta .eyebrow::before { background: var(--blue-4); }
.cta h2 {
  color: #fff;
  margin: var(--s-4) 0 var(--s-5);
  max-width: 18ch;
}
.cta p {
  color: var(--text-inv-2);
  font-size: var(--fs-md);
  margin-bottom: var(--s-6);
  max-width: 52ch;
}
.cta .actions { display: flex; gap: var(--s-3); flex-direction: column; position: relative; z-index: 2; }

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--text-inv-2);
  padding: var(--s-9) 0 var(--s-5);
  border-top: 4px solid var(--blue-3);
}
footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { footer .grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
footer .col-brand .brand-text .name { color: #fff; }
footer .col-brand .brand-text .tag { color: var(--text-inv-2); }
footer .col-brand .brand-mark {
  background: var(--blue-3);
  color: #fff;
}
footer .col-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  max-width: 32ch;
  margin-top: var(--s-5);
  line-height: 1.6;
}
footer h6 {
  font-family: var(--f-body);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
footer ul li { padding: 6px 0; }
footer li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast) var(--ease);
}
footer li a:hover { color: var(--blue-4); }
footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
footer .bottom a { color: rgba(255,255,255,0.65); }
footer .bottom-links { display: flex; gap: var(--s-5); }

/* ============ FORM (for contact) ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.contact-form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }

/* Contact channel cards (replaces fake form) */
.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 720px) { .contact-channels { grid-template-columns: 1fr; } }
.channel-card {
  display: block;
  padding: var(--s-5) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.channel-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.channel-card .label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-600);
  margin-bottom: var(--s-2);
}
.channel-card .value {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.channel-card .hint {
  font-size: .85rem;
  color: var(--slate-500);
}
.field label {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-bottom: var(--s-2);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 46px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-3);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.info-card {
  padding: var(--s-5);
  background: var(--paper-3);
  border-radius: var(--r);
  border-left: 3px solid var(--blue-3);
}
.info-card + .info-card { margin-top: var(--s-4); }
.info-card .k {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: var(--s-2);
}
.info-card .v {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

/* ============ PAGE HEAD (inner pages) ============ */
.page-head {
  padding: var(--s-9) 0 var(--s-10);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: var(--slate-500);
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.breadcrumb a:hover { color: var(--blue-2); }
.breadcrumb .sep { color: var(--slate-300); }
.page-head h1 { font-size: var(--fs-3xl); max-width: 20ch; }
.page-head .sub { color: var(--text-2); font-size: var(--fs-md); max-width: 56ch; margin-top: var(--s-5); }

/* ============ BRANDS PAGE — portfolio grid + filter ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--slate-600);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-5);
}
.portfolio-cell {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6) var(--s-5);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .25s ease;
  cursor: default;
}
.portfolio-cell:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.portfolio-cell.official {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.portfolio-cell.official .brand-name,
.portfolio-cell.official .cat,
.portfolio-cell.official .arrow { color: var(--paper); }
.portfolio-cell.official .badge {
  background: var(--blue-3);
  color: var(--paper);
  border-color: var(--blue-3);
}

.portfolio-cell .badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate-600);
  background: var(--paper);
  align-self: flex-start;
  margin-bottom: var(--s-4);
}
.portfolio-cell .brand-name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.portfolio-cell .cat {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.5;
}
.portfolio-cell .arrow {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  font-size: 1.1rem;
  color: var(--slate-400);
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.portfolio-cell:hover .arrow { opacity: 1; transform: translateX(2px); }

/* ============ RTL / ARABIC ============ */
html[lang^="ar"] body { font-family: var(--f-cairo), var(--f-body); }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3, html[lang^="ar"] h4, html[lang^="ar"] h5, html[lang^="ar"] h6 {
  font-family: var(--f-cairo), var(--f-display);
  letter-spacing: 0;
}
html[lang^="ar"] .eyebrow { letter-spacing: 0.08em; }
html[lang^="ar"] nav.primary a,
html[lang^="ar"] .filter,
html[lang^="ar"] .topstrip,
html[lang^="ar"] .portfolio-cell .badge,
html[lang^="ar"] footer h6,
html[lang^="ar"] .channel-card .label,
html[lang^="ar"] .info-card .k,
html[lang^="ar"] .info-card .label { letter-spacing: 0; }
html[lang^="ar"] .portfolio-cell .arrow { right: auto; left: var(--s-5); transform: scaleX(-1); }
html[lang^="ar"] .portfolio-cell:hover .arrow { transform: scaleX(-1) translateX(2px); }
html[lang^="ar"] .topstrip .flag { margin-left: .25rem; margin-right: 0; }
html[lang^="ar"] .hero .stats { direction: rtl; }
html[lang^="ar"] .nav-lang { margin-left: 0; margin-right: auto; }

/* ============ RTL — lock chrome bars to LTR so they don't flip ============ */
html[lang^="ar"] .topstrip,
html[lang^="ar"] .topstrip > .container,
html[lang^="ar"] header.nav,
html[lang^="ar"] header.nav > .container {
  direction: ltr;
}
/* Let Arabic text inside still read RTL at the inline level */
html[lang^="ar"] .topstrip .left > *,
html[lang^="ar"] .topstrip .right > *,
html[lang^="ar"] nav.primary li,
html[lang^="ar"] header.nav .brand,
html[lang^="ar"] header.nav .btn {
  unicode-bidi: isolate;
}

/* Mobile topstrip — stays visible, compact single-line layout */
@media (max-width: 720px) {
  .topstrip { font-size: 11px; padding: 6px 0; }
  .topstrip .container { flex-wrap: nowrap; gap: 0; overflow: hidden; }
  .topstrip .left, .topstrip .right { gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
  .topstrip .left span:not(.flag):not(.div),
  .topstrip .left a[href^="mailto"] { display: none; }
  .topstrip .left .div:first-of-type { display: none; }
  .topstrip .right span:not(.div) { display: none; }
  .topstrip .right { margin-left: auto; }
}

/* ============ HERITAGE PARTNERS (history roll) ============ */
.heritage-partners {
  padding: var(--s-9) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.heritage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.heritage-grid span {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: border-color .2s, transform .2s;
}
.heritage-grid span:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Prevent horizontal scroll from fixed drawer */
html, body { overflow-x: hidden; max-width: 100%; }

/* ============ AR WORDMARK (visible beside logo on Arabic pages) ============ */
.brand-ar { display: none; }
html[lang^="ar"] .brand-ar {
  display: inline;
  font-family: var(--f-cairo);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
  margin-right: .5rem;
}
@media (max-width: 600px) {
  html[lang^="ar"] .brand-ar { font-size: .95rem; }
}

/* Reseller Inquiry button: only in landscape/desktop, hidden on portrait mobile */
@media (orientation: portrait) and (max-width: 960px) {
  header.nav > .container > .btn { display: none !important; }
}

/* ============ iOS scroll lock when nav is open ============ */
body.nav-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

/* Reseller Inquiry CTA item inside mobile drawer */
nav.primary .nav-cta {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  width: 100%;
}
nav.primary .nav-cta a {
  background: var(--blue-3);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: var(--r-md);
  text-align: center;
  font-weight: 600;
}
nav.primary .nav-cta a:hover { background: var(--blue-2); }
nav.primary .nav-cta a::after { display: none; }
/* Only show this nav item in the mobile drawer, hide on desktop */
@media (min-width: 961px) {
  nav.primary .nav-cta { display: none; }
}

nav.primary .nav-cta { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); width: 100%; }
nav.primary .nav-cta a { background: var(--blue-3); color: #fff; padding: 0.9rem 1.2rem; border-radius: 10px; text-align: center; font-weight: 600; display: block; }
nav.primary .nav-cta a:hover { background: var(--blue-2); }
nav.primary .nav-cta a::after { display: none; }
@media (min-width: 961px) { nav.primary .nav-cta { display: none; } }

/* Mobile hero — stack image above content so full image shows */
@media (max-width: 720px) {
  .hero { min-height: auto; display: block; padding: 0; background: var(--ink); }
  .hero-bg { position: relative; inset: auto; height: 40vh; background-size: cover; background-position: center; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10,14,26,0.2) 0%, rgba(10,14,26,0.7) 100%); }
  .hero .container { padding: 1.5rem 1rem 2rem; position: relative; z-index: 2; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-main h1 { font-size: 2rem; }
  .hero-main .lede { font-size: 0.95rem; }
}

/* Hero image must show 100% — no crop, whole picture visible */
.hero-bg {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: var(--ink);
}
@media (max-width: 720px) {
  .hero-bg { height: 30vh; }
}

/* Hero warehouse pic — show 100%, no crop */
.hero-bg {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: var(--ink);
}

/* Hero — warehouse image fills its container perfectly (matches 1800x1004 ratio), text stacks below */
.hero { min-height: auto !important; display: block !important; padding: 0 !important; overflow: hidden; background: var(--ink); }
.hero-bg { position: relative !important; inset: auto !important; width: 100%; aspect-ratio: 1800 / 1004; height: auto !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
.hero-bg::after { background: linear-gradient(180deg, transparent 60%, rgba(10,14,26,0.7) 100%) !important; }
.hero .container { position: relative; z-index: 2; padding-top: 2.5rem !important; padding-bottom: 3rem !important; }
.hero-grid { grid-template-columns: 1.5fr 1fr !important; gap: 2rem !important; align-items: start !important; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr !important; }
}

/* Hero — DESKTOP: text on top of image, no crop (container locked to image ratio). MOBILE: stacked. */
@media (min-width: 961px) {
  .hero {
    min-height: auto !important;
    aspect-ratio: 1800 / 1004;
    display: flex !important;
    align-items: center;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    background-size: cover !important;
  }
  .hero-bg::after {
    background: linear-gradient(95deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.70) 45%, rgba(10,14,26,0.30) 100%) !important;
  }
  .hero .container { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}
@media (max-width: 960px) {
  .hero { min-height: auto !important; display: block !important; padding: 0 !important; overflow: hidden; background: var(--ink); }
  .hero-bg { position: relative !important; inset: auto !important; width: 100%; aspect-ratio: 1800 / 1004; height: auto !important; background-size: cover !important; }
  .hero-bg::after { background: linear-gradient(180deg, transparent 60%, rgba(10,14,26,0.7) 100%) !important; }
  .hero .container { padding: 2rem 1rem 2.5rem !important; position: relative; z-index: 2; }
}

/* ===== ARABIC TYPOGRAPHY FIXES ===== */
/* Tashkeel (diacritics) need vertical room; connected letters must not be letter-spaced */
html[lang^="ar"] body { line-height: 1.75; }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3, html[lang^="ar"] h4, html[lang^="ar"] h5, html[lang^="ar"] h6 { line-height: 1.5; letter-spacing: 0 !important; }
html[lang^="ar"] p, html[lang^="ar"] li, html[lang^="ar"] a, html[lang^="ar"] span, html[lang^="ar"] div, html[lang^="ar"] label, html[lang^="ar"] button { letter-spacing: 0 !important; word-spacing: 0 !important; }
html[lang^="ar"] .eyebrow { letter-spacing: 0 !important; text-transform: none !important; }
html[lang^="ar"] .num, html[lang^="ar"] .k-label, html[lang^="ar"] .lbl, html[lang^="ar"] .brand-no, html[lang^="ar"] h6, html[lang^="ar"] .filter { letter-spacing: 0 !important; text-transform: none !important; }
html[lang^="ar"] .hero-main .lede, html[lang^="ar"] .story .body p, html[lang^="ar"] .cat-card p, html[lang^="ar"] .portfolio-cell .cat { line-height: 1.9; }
