/* ───────────────────────── Shendy Studio — site styles ───────────────────────── */

:root {
  --bg:        #0a0a0c;
  --bg-deep:   #050507;
  --ink:       #f6f3ee;
  --ink-dim:   rgba(246, 243, 238, 0.62);
  --ink-faint: rgba(246, 243, 238, 0.32);
  --rule:      rgba(246, 243, 238, 0.10);

  /* gradient stops — pulled off the brand artboards */
  --c-coral:   #e85a3c;
  --c-warm:    #f5a06b;
  --c-rust:    #b8412b;
  --c-navy:    #1f2447;
  --c-violet:  #3a2a55;

  --font-display: "Manrope", "Cairo", ui-sans-serif, system-ui, sans-serif;
  --font-ar:      "Cairo", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "Cairo", ui-monospace, "SFMono-Regular", monospace;

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1440px;

  --ease-brand: cubic-bezier(.2, .72, .18, 1);
  --ease-soft: cubic-bezier(.22, .68, .22, 1);
  --dur-fast: .22s;
  --dur-med: .42s;
  --dur-slow: .9s;
  --lift: translateY(-4px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: default; padding: 0; }
.seo-fallback {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px;
  color: var(--ink);
  font-family: var(--font-ar);
}

/* ───────── Custom cursor ───────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot  { width: 6px;  height: 6px;  background: #fff; transition: transform .12s ease-out, opacity .2s; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.55);
               transition: transform .18s cubic-bezier(.2,.7,.2,1), width .25s, height .25s, opacity .2s; }
body.is-hover .cursor-ring { width: 64px; height: 64px; background: rgba(255,255,255,.04); }
body.is-hover .cursor-dot  { opacity: 0; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ───────── Grain overlay (subtle film grain on dark sections) ───────── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .06;
  background-image:
    radial-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: overlay;
}

/* ───────── Nav ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  font-family: var(--font-ar);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  transition: backdrop-filter .3s, background .3s;
}
.nav.is-scrolled {
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  background: rgba(10,10,12,.65);
  border-bottom: 1px solid var(--rule);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color .25s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { display: none; }

/* Solid orange CTA */
.nav-cta-solid {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  background: var(--c-coral);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 6px 20px rgba(232, 90, 60, 0.25);
  white-space: nowrap;
}
.nav-cta-solid:hover {
  background: var(--c-warm);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(232, 90, 60, 0.45);
}

/* Hamburger — hidden on desktop, shown on mobile */
.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: border-color .2s, background .2s;
}
.nav-burger:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s;
  transform-origin: center;
}
.nav-burger.on span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.on span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.on span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  display: flex;
  justify-content: flex-end;
}
[dir="rtl"] .nav-drawer { justify-content: flex-start; }
.nav-drawer.open {
  opacity: 1;
  visibility: visible;
}
.nav-drawer-inner {
  position: relative;
  width: min(360px, 88vw);
  height: 100vh;
  background: #0c0c10;
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  padding: 90px 28px 32px;
  gap: 30px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
}
[dir="rtl"] .nav-drawer-inner {
  border-left: 0;
  border-right: 1px solid var(--rule);
  transform: translateX(-100%);
}
.nav-drawer.open .nav-drawer-inner { transform: translateX(0); }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.nav-drawer-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 12px;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: background .2s, color .2s, padding-left .25s;
  opacity: 0;
  transform: translateX(20px);
}
[dir="rtl"] .nav-drawer-links a { transform: translateX(-20px); }
.nav-drawer.open .nav-drawer-links a {
  animation: drawerLinkIn .5s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes drawerLinkIn {
  to { opacity: 1; transform: translateX(0); }
}
.nav-drawer-links a:hover { background: rgba(232, 90, 60, 0.08); color: var(--c-coral); }
.nav-drawer-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-coral);
  letter-spacing: 0.05em;
  width: 24px;
}
.nav-drawer-links a > span:nth-child(2) { flex: 1; }
.nav-drawer-links a svg { color: var(--ink-faint); transition: color .2s, transform .2s; }
[dir="rtl"] .nav-drawer-links a svg { transform: scaleX(-1); }
.nav-drawer-links a:hover svg { color: var(--c-coral); }
.nav-drawer-cta {
  padding: 16px 22px;
  font-size: 15px;
  text-align: center;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: background .25s, border-color .25s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #45d97a; box-shadow: 0 0 0 4px rgba(69,217,122,.18);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Solid orange CTA in the nav (new style) */
.nav-cta-solid {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  background: var(--c-coral);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: none;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 6px 20px rgba(232, 90, 60, 0.25);
}
body.lang-ar .nav-cta-solid { font-family: var(--font-ar); font-size: 14px; }
.nav-cta-solid:hover {
  background: var(--c-warm);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(232, 90, 60, 0.45);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(69,217,122,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(69,217,122,0); }
}

/* ───────── Logo wordmark ───────── */
/* ───────── Logo (extracted from supplied artwork) ───────── */
.logo-img {
  display: block;
  height: 30px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.logo-img.lg { height: 54px; }
@media (max-width: 600px) { .logo-img { height: 26px; } .logo-img.lg { height: 44px; } }

/* ───────── Hero (portrait + floating badges) ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px var(--pad) 60px;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-grad {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 75% 55%, var(--c-coral) 0%, transparent 55%),
    radial-gradient(50% 50% at 90% 75%, var(--c-warm) 0%, transparent 55%),
    radial-gradient(50% 60% at 12% 70%, var(--c-navy) 0%, transparent 60%),
    radial-gradient(35% 45% at 5% 30%, var(--c-violet) 0%, transparent 65%),
    linear-gradient(180deg, #060608 0%, #0a0a0c 100%);
  filter: saturate(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: scale(1.04) translate(0,0); }
  100% { transform: scale(1.10) translate(-2%, -1.5%); }
}
.hero-grad::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.5) 0%, transparent 30%, transparent 70%, rgba(10,10,12,.85) 100%);
}

.hero-meta {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 24px; align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-ar);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0;
  text-transform: none;
}
.hero-meta .col { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .col .k { color: var(--ink-faint); font-size: 11px; }
.hero-meta .col .v { color: var(--ink); font-size: 13px; }

.hero-stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(40px, 6vh, 80px) 0;
}
[dir="rtl"] .hero-stage { direction: rtl; }

/* Text column */
.hero-text {
  display: flex; flex-direction: column;
  gap: 24px;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  width: fit-content;
  padding: 7px 16px 7px 14px;
  background: rgba(232, 90, 60, 0.1);
  border: 1px solid rgba(232, 90, 60, 0.3);
  border-radius: 999px;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-coral);
  letter-spacing: 0.01em;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 0 4px rgba(232, 90, 60, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-headline {
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 120px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15em 0.25em;
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordIn .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero-headline .w1 { animation-delay: .15s; }
.hero-headline .w2 { animation-delay: .3s; font-weight: 200; }
.hero-headline .w3 { animation-delay: .45s; }
.hero-headline .accent {
  background: linear-gradient(135deg, var(--c-warm) 0%, var(--c-coral) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin: 0;
}
body.lang-ar .hero-tag { font-family: var(--font-ar); font-size: 17px; }

.hero-live-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 560px;
}
.hero-live-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--ink-dim);
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}
.hero-live-stats span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-warm);
  box-shadow: 0 0 16px rgba(245,160,107,.55);
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--c-coral);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 14px;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 10px 30px rgba(232, 90, 60, 0.35);
}
.hero-cta-primary:hover {
  background: var(--c-warm);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(232, 90, 60, 0.5);
}
.hero-cta-primary .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.25);
}
[dir="rtl"] .hero-cta-primary .arrow svg { transform: scaleX(-1); }

.hero-cta-secondary {
  display: inline-flex; align-items: center;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  font-family: var(--font-ar);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .25s;
}
.hero-cta-secondary:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
}

/* Portrait column */
.hero-portrait-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-aura {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(50% 50% at 50% 50%, var(--c-coral) 0%, transparent 60%);
  opacity: 0.3;
  filter: blur(40px);
  z-index: -1;
  animation: auraPulse 4s ease-in-out infinite;
}
@keyframes auraPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50%      { transform: scale(1.1); opacity: 0.45; }
}

.hero-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-rings .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 90, 60, 0.2);
}
.hero-rings .r1 { width: 78%; height: 78%; animation: ringSpin 30s linear infinite; border-style: dashed; }
.hero-rings .r2 { width: 92%; height: 92%; animation: ringSpin 50s linear infinite reverse; }
.hero-rings .r3 { width: 106%; height: 106%; animation: ringSpin 80s linear infinite; border-color: rgba(255, 255, 255, 0.04); }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero-portrait {
  position: relative;
  width: 72%;
  aspect-ratio: 4/5;
  z-index: 2;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-portrait image-slot {
  width: 100%; height: 100%;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* ───────────────────── Creative world (replaces portrait) ───────────────────── */
.hero-world {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.3));
  --mx: 0;
  --my: 0;
}
.hero-world::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, transparent, rgba(232, 90, 60, 0.12), transparent 32%, rgba(245, 160, 107, 0.08), transparent 66%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.045), transparent 62%);
  filter: blur(1px);
  opacity: .55;
  animation: none;
  pointer-events: none;
}
@keyframes worldHalo { to { transform: rotate(360deg); } }
.planet-ring {
  position: absolute;
  z-index: 3;
  width: 66%;
  height: 22%;
  border: 1px solid rgba(245, 160, 107, 0.32);
  border-left-color: rgba(245, 160, 107, 0.08);
  border-right-color: rgba(245, 160, 107, 0.16);
  border-radius: 50%;
  transform:
    translate3d(calc(var(--mx) * 10px), calc(var(--my) * 7px), 30px)
    rotate(-15deg);
  transition: transform .18s ease-out;
  box-shadow: 0 0 26px rgba(232, 90, 60, 0.12);
  pointer-events: none;
}
.planet-ring::after {
  content: "";
  position: absolute;
  inset: 48% 16% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  opacity: .6;
}
.planet-moon {
  position: absolute;
  z-index: 3;
  top: 25%;
  right: 18%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-warm);
  box-shadow: 0 0 22px rgba(245, 160, 107, .5);
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * -12px), 44px);
  transition: transform .18s ease-out;
  pointer-events: none;
}
.world-grid {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, rgba(0,0,0,.75) 0%, rgba(0,0,0,.22) 45%, transparent 72%);
  opacity: .34;
  transform: rotate(-12deg);
  pointer-events: none;
}
.world-links {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * -7px), calc(var(--my) * -7px), 12px);
  transition: transform .2s ease-out;
}
.world-links path {
  fill: none;
  stroke: rgba(245, 160, 107, .18);
  stroke-width: .38;
  stroke-linecap: round;
  stroke-dasharray: 2.2 2.8;
  filter: drop-shadow(0 0 6px rgba(232, 90, 60, .28));
  animation: linkFlow 9s linear infinite;
}
.world-links path:nth-child(2) { animation-duration: 10s; animation-direction: reverse; }
.world-links path:nth-child(3) { animation-duration: 11s; }
.world-links path:nth-child(4) { animation-duration: 8s; animation-direction: reverse; }
@keyframes linkFlow { to { stroke-dashoffset: -30; } }
.world-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.world-particles span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 160, 107, .78);
  box-shadow: 0 0 16px rgba(232, 90, 60, .75);
  opacity: .35;
  animation: particlePulse 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.22s);
}
.world-particles span:nth-child(1) { left: 16%; top: 48%; }
.world-particles span:nth-child(2) { left: 24%; top: 28%; }
.world-particles span:nth-child(3) { left: 42%; top: 16%; }
.world-particles span:nth-child(4) { left: 62%; top: 18%; }
.world-particles span:nth-child(5) { left: 78%; top: 34%; }
.world-particles span:nth-child(6) { left: 84%; top: 54%; }
.world-particles span:nth-child(7) { left: 72%; top: 74%; }
.world-particles span:nth-child(8) { left: 52%; top: 84%; }
.world-particles span:nth-child(9) { left: 30%; top: 76%; }
.world-particles span:nth-child(10) { left: 14%; top: 62%; }
.world-particles span:nth-child(11) { left: 36%; top: 42%; }
.world-particles span:nth-child(12) { left: 66%; top: 45%; }
.world-particles span:nth-child(13) { left: 48%; top: 66%; }
.world-particles span:nth-child(14) { left: 58%; top: 30%; }
@keyframes particlePulse {
  0%, 100% { transform: scale(.75); opacity: .22; }
  50% { transform: scale(1.6); opacity: .72; }
}

/* glowing creative core */
.world-core {
  position: relative;
  z-index: 4;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  background:
    radial-gradient(circle at calc(34% + var(--mx) * 4%) calc(28% + var(--my) * 4%), #ffc2a2 0%, #ff875b 22%, var(--c-coral) 58%, #812617 100%);
  box-shadow:
    0 24px 62px rgba(232, 90, 60, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 2px 24px rgba(255, 255, 255, 0.28) inset,
    0 -22px 54px rgba(80, 16, 8, .42) inset;
  animation: none;
  overflow: hidden;
  transform:
    translate3d(calc(var(--mx) * 16px), calc(var(--my) * 11px), 54px)
    rotateX(calc(var(--my) * -8deg))
    rotateY(calc(var(--mx) * 10deg));
  transition: transform .18s ease-out, background .18s ease-out;
}
.world-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 28%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.055) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(32deg, rgba(65, 13, 8, .13) 0 2px, transparent 2px 16px);
  opacity: .34;
  mix-blend-mode: screen;
}
.world-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.32), transparent 22%),
    radial-gradient(circle at 78% 76%, rgba(42, 8, 6, .48), transparent 48%);
  mix-blend-mode: multiply;
  opacity: .42;
  pointer-events: none;
}
.world-core-shine {
  position: absolute;
  top: 22%;
  left: 30%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.26), transparent 68%);
  filter: blur(8px);
}
.world-core-ring {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow:
    0 0 0 8px rgba(255,255,255,.025) inset,
    0 0 28px rgba(245, 160, 107, .18);
  animation: none;
}
@keyframes coreRingPulse {
  0%, 100% { transform: scale(.96); opacity: .45; }
  50% { transform: scale(1.05); opacity: .9; }
}
@keyframes worldCoreFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateX(5deg) rotateY(-5deg); }
}
@keyframes coreSweep {
  0%, 35% { transform: translateX(-70%) rotate(12deg); opacity: 0; }
  55% { opacity: .75; }
  80%, 100% { transform: translateX(70%) rotate(12deg); opacity: 0; }
}
.world-spark {
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
  animation: ringSpin 22s linear infinite;
}
.world-core-logo {
  width: 72%;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
  position: relative;
  z-index: 2;
}

/* orbit rings (decorative, rotate slowly) */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(232, 90, 60, 0.1);
  pointer-events: none;
  box-shadow: 0 0 40px rgba(232, 90, 60, 0.04) inset;
}
.orbit.o1 { width: 58%;  height: 58%;  border-style: solid; animation: none; }
.orbit.o2 { width: 82%;  height: 82%;  animation: none; border-color: rgba(232, 90, 60, .1); }
.orbit.o3 { width: 104%; height: 104%; border-color: rgba(255, 255, 255, 0.045); animation: none; }
@keyframes orbitBreathe {
  0%, 100% { opacity: .72; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: .38; transform: translate(-50%, -50%) scale(1.035); }
}
.world-timeline {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * -4px), calc(var(--my) * -4px), 36px);
  transition: transform .2s ease-out;
}
.timeline-step {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(240, 238, 233, .64);
  font-family: var(--font-ar);
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
  white-space: nowrap;
  animation: timelineGlow 4.8s ease-in-out infinite;
}
.timeline-step i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-warm);
  box-shadow: 0 0 0 4px rgba(232, 90, 60, .12), 0 0 18px rgba(245, 160, 107, .6);
}
.timeline-step em { font-style: normal; }
.timeline-step.t0 { top: 18%; left: 23%; animation-delay: 0s; }
.timeline-step.t1 { top: 25%; right: 16%; animation-delay: .5s; }
.timeline-step.t2 { bottom: 18%; right: 22%; animation-delay: 1s; }
.timeline-step.t3 { bottom: 24%; left: 16%; animation-delay: 1.5s; }
@keyframes timelineGlow {
  0%, 100% { opacity: .38; transform: translateY(0); }
  45%, 60% { opacity: .9; transform: translateY(-2px); }
}

/* discipline pills — fixed positions, always upright, gentle float */
.discipline {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(18, 15, 17, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(232, 90, 60, 0.04) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: disciplineFloat 8.5s ease-in-out infinite;
  transition: border-color .25s, color .25s, transform .2s, box-shadow .25s;
  cursor: default;
}
.discipline:hover {
  border-color: rgba(232, 90, 60, 0.55);
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 42px rgba(232, 90, 60, 0.28), 0 0 22px rgba(232, 90, 60, 0.14);
}
.hero-world:hover .discipline.d0 { transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 5px), 58px); }
.hero-world:hover .discipline.d1 { transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 7px), 58px); }
.hero-world:hover .discipline.d2 { transform: translate3d(calc(var(--mx) * 7px), calc(var(--my) * 10px), 58px); }
.hero-world:hover .discipline.d3 { transform: translate3d(calc(var(--mx) * 11px), calc(var(--my) * 6px), 58px); }
.discipline.extra { display: none; }
.discipline.dx0 { top: 68%; right: -1%; }
.discipline.dx1 { top: 63%; left: -2%; }
.discipline .rating-dot {
  background: var(--c-warm);
  box-shadow: 0 0 0 4px rgba(245, 160, 107, .16), 0 0 18px rgba(245, 160, 107, .62);
}
.hero-world:hover .discipline.dx0 { transform: translate3d(calc(var(--mx) * 13px), calc(var(--my) * 9px), 64px); }
.hero-world:hover .discipline.dx1 { transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 12px), 64px); }
.discipline-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 0 4px rgba(232, 90, 60, 0.16);
  flex: 0 0 auto;
}
@keyframes disciplineFloat {
  0%, 100% { transform: translate3d(0, 0, 34px); }
  50% { transform: translate3d(0, -8px, 50px); }
}
/* four anchors that steer clear of the corner badges (tl + br) */
.discipline.d0 { top: 3%;    left: 40%; }   /* Branding — top center/right */
.discipline.d1 { top: 40%;   right: -4%; }  /* Social Media — right */
.discipline.d2 { bottom: 6%; left: 28%; }   /* Visual Key — bottom center/left */
.discipline.d3 { top: 47%;   left: -7%; }   /* Store Design — left */

@media (prefers-reduced-motion: reduce) {
  .orbit, .world-spark, .world-core, .discipline, .world-particles span, .world-core::after, .world-core-ring, .hero-world::before, .world-links path, .timeline-step { animation: none !important; }
}

/* Stat badges in the four corners around the portrait */
.hero-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 9px;
  background: rgba(12, 11, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: scale(0.7);
  animation: badgeIn .7s cubic-bezier(.2, .7, .2, 1) forwards, badgeBob 5s ease-in-out infinite;
  z-index: 3;
}
@keyframes badgeIn { to { opacity: 1; transform: scale(1); } }
@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-badge .hero-badge-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  flex: 0 0 auto;
  box-shadow: 0 0 20px color-mix(in srgb, var(--badge-color), transparent 45%);
}
.hero-badge:hover {
  border-color: color-mix(in srgb, var(--badge-color), transparent 45%);
  box-shadow: 0 18px 44px rgba(0,0,0,.42), 0 0 24px color-mix(in srgb, var(--badge-color), transparent 72%);
}

.hero-badge.bg-tl { top: 8%;    left: -8%; }
.hero-badge.bg-tr { top: 8%;    right: -8%; animation-delay: 0.2s, 0s; animation-duration: .7s, 6s; }
.hero-badge.bg-bl { bottom: 14%; left: -10%; animation-duration: .7s, 5.5s; }
.hero-badge.bg-br { bottom: 14%; right: -10%; animation-duration: .7s, 6.5s; }

[dir="rtl"] .hero-badge.bg-tl { left: auto; right: -8%; }
[dir="rtl"] .hero-badge.bg-tr { right: auto; left: -8%; }
[dir="rtl"] .hero-badge.bg-bl { left: auto; right: -10%; }
[dir="rtl"] .hero-badge.bg-br { right: auto; left: -10%; }

/* Service chips along the bottom */
.hero-chips {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 110%;
  z-index: 3;
}
.hero-chip {
  padding: 9px 18px;
  background: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: chipIn .6s cubic-bezier(.2, .7, .2, 1) forwards;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
@keyframes chipIn { to { opacity: 1; transform: translateY(0); } }
.hero-chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.hero-chip.on {
  background: var(--c-coral);
  color: #fff;
  border-color: var(--c-coral);
  box-shadow: 0 8px 24px rgba(232, 90, 60, 0.4);
}

.hero-foot {
  display: flex; justify-content: center; align-items: flex-end;
  padding: 16px 0 0;
  gap: 32px;
}
.hero-scroll {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ar);
  font-size: 12px;
  color: var(--ink-dim);
}
.hero-scroll .arrow {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--rule);
  display: inline-flex; align-items: center; justify-content: center;
  animation: bob 2.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (max-width: 960px) {
  .hero-stage { grid-template-columns: 1fr; gap: 60px; }
  .hero-world { max-width: 380px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: clamp(40px, 10vw, 64px); }
}
@media (max-width: 600px) {
  .hero-world { max-width: 300px; }
  .world-grid { opacity: .22; background-size: 32px 32px; }
  .world-links { opacity: .55; }
  .timeline-step {
    font-size: 9px;
    gap: 4px;
  }
  .timeline-step i { width: 5px; height: 5px; }
  .timeline-step.t0 { top: 16%; left: 18%; }
  .timeline-step.t1 { top: 23%; right: 12%; }
  .timeline-step.t2 { bottom: 15%; right: 18%; }
  .timeline-step.t3 { bottom: 22%; left: 12%; }
  .world-core { width: 48%; height: 48%; }
  .world-particles span { width: 3px; height: 3px; }
  .discipline {
    font-size: 11px;
    padding: 8px 12px;
    gap: 7px;
  }
  .discipline-dot { width: 6px; height: 6px; }
  .discipline.d0 { top: 1%; left: 34%; }
  .discipline.d1 { top: 36%; right: -2%; }
  .discipline.d2 { bottom: 3%; left: 22%; }
  .discipline.d3 { top: 47%; left: -3%; }
  .discipline.dx0 { top: 72%; right: 2%; }
  .discipline.dx1 { top: 67%; left: 2%; }
  .hero-badge { font-size: 11px; padding: 7px 12px 7px 7px; }
  .hero-badge .hero-badge-ico { width: 22px; height: 22px; font-size: 11px; }
  .hero-badge.bg-tl { left: -4%; }
  .hero-badge.bg-tr { right: -4%; }
  .hero-badge.bg-bl { left: -4%; }
  .hero-badge.bg-br { right: -4%; }
  [dir="rtl"] .hero-badge.bg-tl { right: -4%; }
  [dir="rtl"] .hero-badge.bg-tr { left: -4%; }
  [dir="rtl"] .hero-badge.bg-bl { right: -4%; }
  [dir="rtl"] .hero-badge.bg-br { left: -4%; }
}

/* ───────── Marquee ───────── */
.marquee {
  border-block: 1px solid var(--rule);
  overflow: hidden;
  padding: 28px 0;
  background: var(--bg-deep);
}
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-weight: 800;
  font-size: clamp(42px, 6vw, 92px);
  letter-spacing: -0.035em;
  line-height: 1;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-coral);
  flex: 0 0 auto;
}
.marquee-track em {
  font-style: italic; font-weight: 200;
  background: linear-gradient(90deg, var(--c-warm), var(--c-coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───────── Section wrappers ───────── */
section.block { padding: clamp(80px, 12vh, 140px) var(--pad); position: relative; }
.section-h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(40px, 6vh, 72px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-dim);
}
.section-h .num { color: var(--c-coral); }

/* ───────── Selected work ───────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px clamp(20px, 3vw, 36px);
}
.work-card {
  grid-column: span 6;
  position: relative;
  cursor: default;
}
.work-card.wide  { grid-column: span 12; }
.work-card.tall  { grid-column: span 5; }
.work-card.short { grid-column: span 7; }

.work-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}
.work-card.tall .work-thumb { aspect-ratio: 4/5; }
.work-card.wide .work-thumb { aspect-ratio: 21/9; }

.work-thumb .g {
  position: absolute; inset: 0;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s;
  filter: saturate(1.1);
}
.work-card:hover .work-thumb .g { transform: scale(1.06); filter: saturate(1.2) brightness(1.05); }

/* gradient variants for thumbnails */
.g-1 {
  background:
    radial-gradient(70% 70% at 70% 75%, #e85a3c, transparent 60%),
    radial-gradient(60% 60% at 90% 85%, #f5a06b, transparent 55%),
    radial-gradient(60% 70% at 15% 80%, var(--c-navy), transparent 60%),
    linear-gradient(160deg, #0c0c10, #0a0a0c);
}
.g-2 {
  background:
    radial-gradient(70% 60% at 30% 30%, var(--c-violet), transparent 55%),
    radial-gradient(50% 60% at 80% 70%, var(--c-coral), transparent 60%),
    linear-gradient(180deg, #07070a 0%, #0a0a0c 100%);
}
.g-3 {
  background:
    radial-gradient(60% 80% at 50% 100%, var(--c-warm), transparent 60%),
    radial-gradient(80% 50% at 50% 0%, var(--c-navy), transparent 70%),
    linear-gradient(180deg, #0a0a0c, #060608);
}
.g-4 {
  background:
    radial-gradient(70% 60% at 80% 30%, var(--c-coral), transparent 55%),
    radial-gradient(55% 60% at 20% 80%, var(--c-violet), transparent 60%),
    linear-gradient(180deg, #0a0a0c, #0a0a0c);
}
.g-5 {
  background:
    radial-gradient(60% 70% at 50% 60%, var(--c-rust), transparent 60%),
    radial-gradient(80% 70% at 0% 0%, var(--c-navy), transparent 60%),
    linear-gradient(180deg, #060608, #0a0a0c);
}

.work-thumb .label {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.78); z-index: 2;
}
.work-thumb .label .yr { color: rgba(255,255,255,.55); }
.work-thumb .title-overlay {
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  z-index: 2;
  font-weight: 800; font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
  text-wrap: balance;
}

.work-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-dim);
}
.work-meta .view {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink);
}

/* ───────── Manifesto ───────── */
.manifesto {
  position: relative;
  background: var(--bg-deep);
  border-block: 1px solid var(--rule);
}
.manifesto-inner {
  padding: clamp(100px, 16vh, 180px) var(--pad);
  position: relative;
}
.manifesto-aura {
  position: absolute; right: -10%; top: -10%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, var(--c-coral) 0%, transparent 60%);
  opacity: .22;
  filter: blur(40px);
  pointer-events: none;
}
.manifesto-text {
  position: relative;
  font-weight: 200;
  font-size: clamp(28px, 4.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 22ch;
  text-wrap: balance;
}
.manifesto-text b {
  font-weight: 800;
  font-style: normal;
  background: linear-gradient(90deg, var(--c-warm), var(--c-coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manifesto-sig {
  display: flex; gap: 20px; align-items: center;
  margin-top: 56px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-dim); text-transform: uppercase; letter-spacing: .08em;
}
.manifesto-sig .line { flex: 1; max-width: 80px; height: 1px; background: var(--rule); }

/* ───────── Capabilities ───────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cap-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  min-height: 140px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  cursor: default;
  transition: background .35s, border-color .35s, transform .35s;
  position: relative;
  overflow: hidden;
}
.cap-row:nth-child(2n) { border-right: 1px solid var(--rule); }
.cap-row::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 65%;
  background: radial-gradient(circle, rgba(232,90,60,.18), transparent 64%);
  opacity: .65;
  transition: opacity .35s, transform .35s;
}
.cap-row:hover {
  background: rgba(232,90,60,.045);
  border-color: rgba(232,90,60,.28);
  transform: translateY(-4px);
}
.cap-row:hover::before { opacity: 1; transform: translateY(-8px); }

.cap-row .num {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-coral);
}
.cap-row .name {
  position: relative;
  z-index: 2;
  display: block;
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 23px);
  letter-spacing: -0.02em;
}
.cap-row .desc {
  position: relative;
  z-index: 2;
  display: block;
  font-family: var(--font-ar);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-dim);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 8px;
  font-weight: 400;
}
.cap-fit {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
}
.cap-fit small {
  color: var(--ink-faint);
  font-family: var(--font-ar);
  font-size: 11px;
}
.cap-fit b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(232,90,60,.1);
  color: var(--c-warm);
  font-family: var(--font-ar);
  font-size: 11px;
}
.cap-cta {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: start;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--c-coral);
  color: #fff;
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(232,90,60,.28);
  transition: background .25s, transform .25s;
}
.cap-cta:hover {
  background: var(--c-warm);
  transform: translateY(-2px);
}

/* ───────── Recognition ───────── */
.recognition {
  background: var(--bg);
}
.recog-list {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}
.recog-row {
  display: grid;
  grid-template-columns: 80px 2fr 2fr 1fr;
  gap: 32px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
  text-transform: uppercase; letter-spacing: .04em;
}
.recog-row .yr { color: var(--ink-faint); font-size: 11px; }
.recog-row .award { color: var(--ink); font-weight: 500; }
.recog-row .cat { color: var(--ink-dim); }
.recog-row .org { text-align: right; color: var(--ink-dim); }

/* ───────── Process steps ───────── */
.process-steps {
  padding: 88px var(--pad);
  background:
    radial-gradient(48% 60% at 12% 20%, rgba(232,90,60,.12), transparent 62%),
    var(--bg);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.process-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  position: relative;
  overflow: hidden;
}
.process-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -32% -18%;
  height: 64%;
  background: radial-gradient(circle, rgba(232,90,60,.16), transparent 64%);
}
.process-num {
  display: block;
  color: var(--c-coral);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-bottom: 28px;
}
.process-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: clamp(18px, 1.5vw, 23px);
}
.process-card p {
  margin: 0;
  color: var(--ink-dim);
  font-family: var(--font-ar);
  font-size: 13px;
  line-height: 1.7;
}

/* ───────── Contact CTA ───────── */
.cta {
  position: relative;
  padding: clamp(100px, 18vh, 220px) var(--pad);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.cta-grad {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 60%, var(--c-coral) 0%, transparent 55%),
    radial-gradient(50% 50% at 20% 80%, var(--c-navy) 0%, transparent 60%),
    radial-gradient(40% 40% at 90% 20%, var(--c-warm) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0c, #060608);
  animation: heroDrift 22s ease-in-out infinite alternate-reverse;
}
.cta-grad::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.6), transparent 30%, transparent 70%, rgba(10,10,12,.7));
}
.cta-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-dim); text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 32px;
}
.cta h2 {
  font-weight: 800;
  font-size: clamp(54px, 10vw, 160px);
  line-height: .9;
  letter-spacing: -0.045em;
  margin: 0 0 48px;
  text-wrap: balance;
}
.cta h2 .lite { font-weight: 200; font-style: italic; letter-spacing: -0.025em; }
.cta-mail {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,.04);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.cta-mail:hover { background: #fff; color: #0a0a0c; border-color: #fff; transform: translateY(-2px); }
.cta-mail .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-coral); color: #fff;
  font-size: 14px;
}
.cta-mail:hover .arrow { background: #0a0a0c; color: #fff; }

.cta-sub {
  margin-top: 26px;
  display: flex; gap: 28px; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-dim); text-transform: uppercase; letter-spacing: .08em;
}
.cta-sub .pill {
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(0,0,0,.3);
}
.cta-sub .pill .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #45d97a; margin-right: 6px; vertical-align: middle; }

/* ───────── Footer ───────── */
footer {
  padding: 48px var(--pad) 32px;
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  text-transform: uppercase; letter-spacing: .06em;
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.foot-top h4 { font: inherit; color: var(--ink-faint); margin: 0 0 14px; font-weight: 400; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-top ul a { color: var(--ink); }
.foot-top ul a:hover { color: var(--c-coral); }
.foot-brand p {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 200;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
  margin: 16px 0 0;
  max-width: 36ch;
}
.foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  flex-wrap: wrap; gap: 16px;
}
.foot-bot .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 11vw, 150px);
  letter-spacing: -0.04em;
  line-height: .9;
  text-transform: none;
  color: var(--ink);
  display: block;
  width: 100%;
  margin-bottom: 32px;
}
.foot-bot .big em {
  font-weight: 200; font-style: italic;
  background: linear-gradient(90deg, var(--c-warm), var(--c-coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───────── Reveal on scroll ───────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .work-card, .work-card.wide, .work-card.tall, .work-card.short { grid-column: span 12; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-row { border-right: 1px solid var(--rule); padding: 16px; }
  .nav-links { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .recog-row { grid-template-columns: 60px 1fr 1fr; }
  .recog-row .org { grid-column: 2 / -1; text-align: left; }
}

/* ═════════════════════════════════════════════════════════════════════
   RTL + Arabic typography
   ═════════════════════════════════════════════════════════════════════ */
body.lang-ar {
  font-family: var(--font-ar);
}
body.lang-ar .hero-headline,
body.lang-ar .cta h2,
body.lang-ar .manifesto-text,
body.lang-ar .work-thumb .title-overlay,
body.lang-ar .foot-bot .big {
  font-family: var(--font-ar);
  letter-spacing: -0.01em;
}
/* Arabic doesn't have italics — use lighter weight + reduce style */
body.lang-ar .lite,
body.lang-ar .manifesto-text {
  font-style: normal;
}
body.lang-ar .accent {
  font-style: normal;
}
/* Numbers and Latin labels remain in their original font */
body.lang-ar .nav-cta,
body.lang-ar .hero-meta .col .v[lang="en"],
body.lang-ar .marquee-track,
body.lang-ar .work-meta,
body.lang-ar .recog-row,
body.lang-ar .cap-row .num,
body.lang-ar .section-h,
body.lang-ar .cta-eyebrow,
body.lang-ar .cta-sub,
body.lang-ar footer {
  font-family: var(--font-ar);
}
/* But the BIG wordmark stays Latin since the brand asset is Latin */
body.lang-ar .logo,
body.lang-ar .foot-bot .big {
  font-family: var(--font-display);
}

/* RTL flips */
[dir="rtl"] .nav-links a::after { left: auto; right: 0; left: 100%; transition: left .35s cubic-bezier(.2,.7,.2,1); }
[dir="rtl"] .nav-links a:hover::after { left: 0; right: 0; }
[dir="rtl"] .cap-row:hover { padding-left: 22px; padding-right: 22px; }
[dir="rtl"] .work-thumb .label { left: 16px; right: 16px; }
[dir="rtl"] .recog-row .org { text-align: left; }
[dir="rtl"] .hero-scroll .arrow svg { transform: scaleX(-1); }
[dir="rtl"] .cta-mail .arrow svg,
[dir="rtl"] .work-meta .view svg { transform: scaleX(-1); }

/* The marquee stays LTR for rhythm regardless of language — keep direction */

/* ═════════════════════════════════════════════════════════════════════
   Nav language switch
   ═════════════════════════════════════════════════════════════════════ */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px;
  height: 38px;
  padding: 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  transition: border-color .25s, background .25s, color .25s;
}
.lang-switch:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.05); }

/* ═════════════════════════════════════════════════════════════════════
   Page loader
   ═════════════════════════════════════════════════════════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 9998;
  background:
    radial-gradient(36% 42% at 50% 46%, rgba(232, 90, 60, 0.16), transparent 64%),
    radial-gradient(38% 48% at 16% 76%, rgba(31, 43, 96, 0.24), transparent 70%),
    var(--bg-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  overflow: hidden;
  transition: opacity .65s ease, visibility .65s;
}
.loader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 0 43%, rgba(255,255,255,.025) 50%, transparent 57%);
  opacity: .34;
  animation: loaderNebula 1.8s ease-in-out both;
}
.loader.out { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.02); }
.loader-cosmos {
  position: relative;
  width: min(44vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: loaderArrive .7s cubic-bezier(.2,.7,.2,1) both;
}
.loader-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 160, 107, .18);
  transform: rotate(-16deg);
}
.loader-orbit.orbit-a {
  display: none;
}
.loader-orbit.orbit-b {
  width: 82%;
  height: 28%;
  border-color: rgba(245, 160, 107, .34);
  animation: loaderRing 1.2s ease-in-out infinite;
}
.loader-orbit.orbit-c {
  width: 74%;
  height: 74%;
  border-color: rgba(255,255,255,.05);
}
.loader-idea {
  position: relative;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 26%, #ffc2a2, #ff875b 24%, var(--c-coral) 60%, #8c2718);
  box-shadow:
    0 20px 54px rgba(232, 90, 60, .34),
    0 0 0 1px rgba(255,255,255,.14) inset,
    0 -18px 44px rgba(55, 10, 8, .46) inset;
  overflow: hidden;
  animation: loaderPlanet 1.35s ease-in-out infinite;
}
.loader-idea::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(120deg, rgba(255,255,255,.055) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 76% 78%, rgba(35, 8, 6, .42), transparent 45%);
}
.loader-idea img {
  width: 72%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.28));
}
.loader-idea-glow {
  position: absolute;
  top: 20%;
  left: 28%;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: rgba(255,255,255,.34);
  filter: blur(10px);
}
.loader-spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-warm);
  box-shadow: 0 0 18px rgba(245, 160, 107, .8);
}
.loader-spark.s1 { top: 24%; right: 23%; animation: sparkMove1 1.8s ease-in-out infinite; }
.loader-spark.s2,
.loader-spark.s3 { display: none; }
.loader-bar {
  position: relative;
  z-index: 1;
  width: min(150px, 42vw); height: 1px; background: rgba(255,255,255,.08); overflow: hidden;
  border-radius: 999px;
}
.loader-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--c-warm), var(--c-coral));
  animation: barFill .95s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes barFill { from { width: 0; } to { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loaderArrive { from { opacity: 0; transform: scale(.92) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes loaderSpin { to { transform: rotate(344deg); } }
@keyframes loaderRing {
  0%, 100% { transform: rotate(-16deg) scaleX(1); opacity: .7; }
  50% { transform: rotate(-12deg) scaleX(1.08); opacity: 1; }
}
@keyframes loaderPlanet {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes loaderNebula {
  from { transform: translateX(-4%) rotate(-2deg); opacity: 0; }
  to { transform: translateX(0) rotate(0); opacity: .45; }
}
@keyframes sparkMove1 { 0%,100% { transform: translate(0,0); opacity:.65; } 50% { transform: translate(-12px, 10px); opacity:1; } }
@keyframes sparkMove2 { 0%,100% { transform: translate(0,0); opacity:.42; } 50% { transform: translate(16px, -8px); opacity:.95; } }
@keyframes sparkMove3 { 0%,100% { transform: translate(0,0); opacity:.38; } 50% { transform: translate(-8px, -14px); opacity:.9; } }

/* ═════════════════════════════════════════════════════════════════════
   Contact form
   ═════════════════════════════════════════════════════════════════════ */
.contact-form {
  max-width: 720px;
  margin: 64px auto 0;
  padding: 36px clamp(24px, 4vw, 44px);
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  text-align: start;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--ink);
  text-align: start;
}
body.lang-ar .form-title { font-family: var(--font-ar); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-bottom: 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-faint);
}
body.lang-ar .field > span { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }

.field input, .field textarea, .field select {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding: 10px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  outline: none;
  transition: border-color .3s;
}
body.lang-ar .field input { font-family: var(--font-ar); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--c-coral);
}
.field .err {
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  color: var(--c-coral);
  text-transform: uppercase;
  letter-spacing: .08em;
}
body.lang-ar .field .err { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-dim);
  background: transparent;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
body.lang-ar .chip { font-family: var(--font-ar); font-size: 14px; }
.chip:hover { color: var(--ink); border-color: rgba(255,255,255,.35); }
.chip.on { background: var(--c-coral); border-color: var(--c-coral); color: #fff; }

.submit-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 24px;
  background: #fff;
  color: #0a0a0c;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .25s, background .25s;
}
body.lang-ar .submit-btn { font-family: var(--font-ar); }
.submit-btn:hover { transform: translateY(-2px); background: var(--c-coral); color: #fff; }
.submit-btn .arrow {
  display: inline-flex; width: 28px; height: 28px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #0a0a0c;
  color: #fff;
  transition: background .25s;
}
.submit-btn:hover .arrow { background: rgba(255,255,255,.15); }
[dir="rtl"] .submit-btn .arrow svg { transform: scaleX(-1); }

.contact-form.sent {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 64px 32px;
  gap: 20px;
  color: var(--c-warm);
}
.contact-form.sent p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  max-width: 28ch;
  line-height: 1.4;
}
body.lang-ar .contact-form.sent p { font-family: var(--font-ar); }
.link-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 2px;
}
body.lang-ar .link-btn { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.link-btn:hover { color: var(--ink); }

.sent-actions {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 4px;
}
.sent-wa {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  background: #25d366;
  color: #06311b;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.32);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.sent-wa:hover { transform: translateY(-2px); background: #2ee06f; box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45); }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}

.mobile-quick {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 82px;
  }

  .mobile-quick {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(8, 8, 10, 0.84);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }

  .mobile-quick a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border-radius: 13px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-ar);
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-quick a.primary {
    background: var(--c-coral);
    color: #fff;
    box-shadow: 0 8px 24px rgba(232, 90, 60, 0.38);
  }

  .wa-btn {
    display: none;
  }
}

/* ═════════════════════════════════════════════════════════════════════
   Dashboard (CMS)
   ═════════════════════════════════════════════════════════════════════ */
.ds-fab {
  position: fixed; bottom: 22px; left: 22px;
  z-index: 9990;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 14px;
  background: rgba(10, 10, 14, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 500;
  transition: background .25s, border-color .25s, transform .25s;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
[dir="rtl"] .ds-fab { left: auto; right: 22px; }
.ds-fab:hover { background: rgba(10,10,14,.85); border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.ds-fab.active { background: var(--c-coral); border-color: var(--c-coral); }
.ds-fab svg { color: currentColor; }

.ds-drawer {
  position: fixed; top: 0; bottom: 0; right: 0;
  width: min(440px, 96vw);
  z-index: 9991;
  background: #0e0e12;
  border-left: 1px solid rgba(255,255,255,.08);
  color: var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  font-family: var(--font-ar);
  box-shadow: -30px 0 60px rgba(0,0,0,.5);
}
[dir="rtl"] .ds-drawer { right: auto; left: 0; border-left: 0; border-right: 1px solid rgba(255,255,255,.08); transform: translateX(-100%); box-shadow: 30px 0 60px rgba(0,0,0,.5); }
.ds-drawer.open { transform: translateX(0); }

.ds-hd {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ds-hd h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ds-hd p { margin: 0; font-size: 12px; color: var(--ink-dim); }
.ds-x {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  font-size: 20px; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.ds-x:hover { background: rgba(255,255,255,.12); }

.ds-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.ds-lang { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-dim); }
.ds-lang button {
  padding: 6px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  color: var(--ink-dim);
  font-family: var(--font-ar);
  transition: background .2s, color .2s, border-color .2s;
}
.ds-lang button.on { background: var(--c-coral); color: #fff; border-color: var(--c-coral); }
.ds-lang button:not(.on):hover { color: var(--ink); border-color: rgba(255,255,255,.3); }

.ds-btn {
  padding: 8px 14px;
  background: var(--c-coral);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-ar);
  transition: background .2s, transform .2s;
}
.ds-btn:hover { background: var(--c-warm); }
.ds-btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.18); color: var(--ink-dim); }
.ds-btn.ghost:hover { color: var(--ink); border-color: rgba(255,255,255,.35); background: transparent; }

.ds-body {
  flex: 1; overflow-y: auto; padding: 8px 0 80px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
}
.ds-body::-webkit-scrollbar { width: 8px; }
.ds-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

.ds-sec { border-bottom: 1px solid rgba(255,255,255,.06); }
.ds-sec-hd {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: start;
  transition: background .2s;
}
.ds-sec-hd:hover { background: rgba(255,255,255,.03); }
.ds-chev { font-size: 18px; color: var(--ink-faint); font-weight: 300; width: 18px; text-align: center; }
.ds-sec.open .ds-chev { color: var(--c-coral); }
.ds-sec-body {
  padding: 4px 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
}

.ds-field { display: flex; flex-direction: column; gap: 8px; }
.ds-lbl { font-size: 12px; color: var(--ink-dim); }
.ds-bilang { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .ds-bilang { grid-template-columns: 1fr; } }

.ds-input-wrap {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  transition: border-color .2s, background .2s;
}
.ds-input-wrap:focus-within { border-color: var(--c-coral); background: rgba(255,255,255,.05); }
.ds-input-wrap .ds-tag {
  position: absolute; top: 6px; right: 8px;
  font-size: 9px; color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  pointer-events: none;
  background: rgba(0,0,0,.3);
  padding: 1px 5px;
  border-radius: 3px;
}
.ds-input-wrap[dir="rtl"] .ds-tag { right: auto; left: 8px; }
.ds-input-wrap input, .ds-input-wrap textarea {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  padding-top: 22px;
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 400;
  outline: none;
  resize: vertical;
  min-height: 0;
}
.ds-input-wrap textarea { min-height: 64px; line-height: 1.5; }

.ds-card {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.ds-card-hd {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ds-card-meta { font-size: 11px; color: var(--ink-faint); font-family: var(--font-mono); }

.ds-image-row { display: flex; gap: 12px; align-items: center; }
.ds-thumb {
  width: 80px; height: 60px;
  border-radius: 8px;
  background: #1a1a20 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  border: 1px solid rgba(255,255,255,.08);
  flex: 0 0 auto;
}
.ds-image-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ds-footer-hint {
  padding: 16px 24px;
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
}

@media (max-width: 720px) {
  .ds-drawer { width: 100vw; }
}

/* ═════════════════════════════════════════════════════════════════════
   Partners marquee
   ═════════════════════════════════════════════════════════════════════ */
.partners {
  position: relative;
  padding: clamp(70px, 10vh, 110px) 0;
  background: var(--bg-deep);
  border-block: 1px solid var(--rule);
  overflow: hidden;
}
.partners-head {
  text-align: center;
  margin-bottom: 44px;
  padding-inline: var(--pad);
}
.partners-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(232, 90, 60, 0.1);
  border: 1px solid rgba(232, 90, 60, 0.25);
  border-radius: 999px;
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-coral);
  margin-bottom: 18px;
}
.partners-heading {
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.platform-partners {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  width: min(1120px, calc(100% - var(--pad) * 2));
  margin: 0 auto 42px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background:
    radial-gradient(60% 120% at 96% 8%, rgba(232, 90, 60, 0.14), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(245, 160, 107, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.platform-copy {
  padding: 6px 0;
  order: 2;
}

.platform-copy span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(232, 90, 60, 0.3);
  border-radius: 999px;
  background: rgba(232, 90, 60, 0.1);
  color: var(--c-coral);
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 800;
}

.platform-copy h3 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.platform-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--ink-dim);
  font-family: var(--font-ar);
  font-size: 14px;
  line-height: 1.9;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  order: 1;
}

.platform-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 10, 0.48);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.platform-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.045), transparent);
  transform: translateX(-120%);
  transition: transform .5s ease;
}
.platform-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 90, 60, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.platform-card:hover::after {
  transform: translateX(120%);
}

.platform-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(232, 90, 60, 0.12);
  color: var(--c-coral);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-inline-start: auto;
  min-width: 124px;
  height: 56px;
  padding-inline: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #005966;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  font-family: var(--font-ar);
  font-size: 22px;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 44px;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-logo.compact {
  width: 118px;
  height: 50px;
}
.zid-logo {
  width: 106px;
}
.zid-logo-img {
  display: block;
  width: 100%;
  height: 34px;
  background: #2a0642;
  -webkit-mask: url("assets/zid-logo.png") center / contain no-repeat;
  mask: url("assets/zid-logo.png") center / contain no-repeat;
}
.zid-logo.compact .zid-logo-img {
  height: 38px;
}

.platform-card strong,
.platform-card small {
  display: block;
  font-family: var(--font-ar);
}

.platform-card strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.platform-card small {
  margin-top: 6px;
  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.partners-track {
  display: flex;
  width: max-content;
  animation: partnersScroll 32s linear infinite;
}
.partners-track-row {
  display: flex;
  gap: 18px;
  padding-inline: 9px; /* half of gap so seam is invisible */
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  min-width: 150px;
  height: 96px;
  transition: background .3s, border-color .3s, transform .3s;
  flex: 0 0 auto;
}
.partner-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(232, 90, 60, 0.35);
  transform: translateY(-4px);
}

.partner-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px; height: 58px;
  padding-inline: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-coral), var(--c-warm));
  color: #fff;
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(232, 90, 60, 0.3);
}
.partner-logo-img {
  width: 132px; height: 56px;
  border-radius: 8px;
  background: center/contain no-repeat;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.78;
  transition: filter .3s, opacity .3s;
  flex: 0 0 auto;
}
.partner-card:hover .partner-logo-img { filter: none; opacity: 1; }

@media (max-width: 600px) {
  .platform-partners {
    grid-template-columns: 1fr;
    width: min(100% - var(--pad) * 2, 520px);
    padding: 18px;
    margin-bottom: 30px;
    gap: 20px;
  }

  .platform-copy {
    order: 1;
    padding: 0;
  }

  .platform-copy h3 { font-size: 30px; }
  .platform-copy p { font-size: 13px; margin-top: 14px; }
  .platform-grid { order: 2; }

  .platform-card {
    min-height: 78px;
    padding: 12px;
    gap: 10px;
  }

  .platform-index { width: 26px; height: 26px; font-size: 10px; }

  .platform-mark {
    min-width: 88px;
    height: 46px;
    font-size: 18px;
  }

  .brand-logo {
    width: 78px;
    height: 38px;
  }

  .brand-logo.compact {
    width: 94px;
    height: 42px;
  }

  .partner-card { min-width: 120px; padding: 12px 26px; height: 80px; gap: 12px; }
  .partner-letter { min-width: 46px; height: 46px; font-size: 18px; }
  .partner-logo-img { width: 104px; height: 44px; }
}
/* ═════════════════════════════════════════════════════════════════════
   Stats counter
   ═════════════════════════════════════════════════════════════════════ */
.stats-block {
  padding: clamp(60px, 9vh, 110px) var(--pad);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--rule);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  position: relative;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: background .3s, border-color .3s, transform .3s;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: radial-gradient(80% 80% at 100% 0%, rgba(232, 90, 60, 0.15), transparent 55%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(232, 90, 60, 0.35);
  transform: translateY(-3px);
}
.stat-card:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 5.5vw, 78px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-coral);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
body.lang-ar .stat-num { font-family: var(--font-display); }
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: -0.005em;
}
body.lang-ar .stat-label { font-family: var(--font-ar); font-size: 15px; }

@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═════════════════════════════════════════════════════════════════════
   Testimonials
   ═════════════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: "";
  position: absolute;
  left: -5%;
  top: 20%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, var(--c-coral) 0%, transparent 60%);
  opacity: 0.08;
  filter: blur(60px);
  pointer-events: none;
}
.testimonials-head {
  text-align: center;
  margin-bottom: 60px;
}
.ts-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(232, 90, 60, 0.12);
  border: 1px solid rgba(232, 90, 60, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--c-coral);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 22px;
}
body.lang-ar .ts-eyebrow { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.ts-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 18px;
}
body.lang-ar .ts-heading { font-family: var(--font-ar); }
.ts-sub {
  max-width: 540px;
  margin: 0 auto;
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.55;
}
body.lang-ar .ts-sub { font-family: var(--font-ar); }

.ts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ts-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background .3s, border-color .3s, transform .3s;
  overflow: hidden;
}
.ts-card.primary {
  border-color: rgba(232, 90, 60, 0.45);
  background: linear-gradient(180deg, rgba(232, 90, 60, 0.06), rgba(232, 90, 60, 0.01));
}
.ts-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(232, 90, 60, 0.45);
  transform: translateY(-4px);
}
.ts-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ts-stars {
  display: flex;
  gap: 3px;
  color: var(--c-coral);
}
.ts-quote {
  color: var(--c-coral);
  opacity: 0.45;
}
.ts-quote-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
  text-wrap: pretty;
}
body.lang-ar .ts-quote-text { font-family: var(--font-ar); font-size: 16px; line-height: 1.85; }
.ts-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ts-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-coral);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ts-author-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ts-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
body.lang-ar .ts-name { font-family: var(--font-ar); }
.ts-role {
  font-size: 12px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
body.lang-ar .ts-role { font-family: var(--font-ar); font-size: 13px; letter-spacing: 0; }

@media (max-width: 900px) {
  .ts-grid { grid-template-columns: 1fr; gap: 16px; }
  .ts-card { padding: 26px; }
}

/* ═════════════════════════════════════════════════════════════════════
   WhatsApp floating button
   ═════════════════════════════════════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 22px;
  z-index: 9989;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform .25s, box-shadow .25s;
  right: 22px;
}
[dir="rtl"] .wa-btn { right: auto; left: 22px; }
.wa-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.5;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0;   }
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}

/* Admin lock — discrete link to admin.html */
.admin-lock {
  position: fixed;
  bottom: 22px;
  z-index: 9988;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .25s, background .25s, border-color .25s, transform .25s;
  left: 22px;
}
[dir="rtl"] .admin-lock { left: auto; right: 22px; }
/* When WhatsApp is on opposite side, push lock above it */
[dir="ltr"] .admin-lock { bottom: 80px; left: 24px; }
[dir="rtl"] .admin-lock { bottom: 80px; right: 24px; }
.admin-lock:hover {
  color: var(--c-coral);
  border-color: var(--c-coral);
  background: rgba(10, 10, 14, 0.85);
  transform: scale(1.08);
}

/* ═════════════════════════════════════════════════════════════════════
   Work — redesigned (filter pills + colored cards with big numbers)
   ═════════════════════════════════════════════════════════════════════ */
.work-section { padding-bottom: clamp(60px, 10vh, 120px); }
.work-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-inline: auto;
}
.work-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 18px;
}
body.lang-ar .work-title { font-family: var(--font-ar); }
.work-sub {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px;
}
body.lang-ar .work-sub { font-family: var(--font-ar); font-size: 17px; }
.work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.work-filter {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.lang-ar .work-filter { font-family: var(--font-ar); font-size: 15px; }
.work-filter:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); }
.work-filter.on {
  background: var(--c-coral);
  border-color: var(--c-coral);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 90, 60, 0.3);
}
.work-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
}
.work-filter.on .work-filter-count {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-card2 {
  position: relative;
  cursor: pointer;
  background: var(--card-bg, #1a1a20);
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.work-card2:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.work-card2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 100%, rgba(0, 0, 0, 0.45), transparent 60%),
              radial-gradient(60% 50% at 100% 0%, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}
.work-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}
.work-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: 0;
}
.work-cat {
  align-self: flex-end;
  display: inline-flex;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}
body.lang-ar .work-cat { font-family: var(--font-ar); font-size: 12px; }
[dir="rtl"] .work-cat { align-self: flex-start; }

.work-card-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(96px, 14vw, 168px);
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  z-index: 1;
  transition: color .4s, transform .5s cubic-bezier(.2,.7,.2,1);
}
.work-card2:hover .work-card-num {
  color: rgba(255, 255, 255, 0.08);
  transform: scale(1.04);
}

.work-card-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.work-card2:hover .work-card-foot {
  opacity: 1;
  transform: translateY(0);
}
.work-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 4px;
}
body.lang-ar .work-card-title { font-family: var(--font-ar); }
.work-card-scope {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}
body.lang-ar .work-card-scope { font-family: var(--font-ar); font-size: 13px; }
.work-card-arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-coral);
  color: #fff;
  flex: 0 0 auto;
  transition: background .25s, transform .25s;
}
.work-card2:hover .work-card-arrow {
  transform: rotate(-15deg) scale(1.05);
  background: var(--c-warm);
}
[dir="rtl"] .work-card-arrow svg { transform: scaleX(-1); }

/* ───── View toggle (list / grid) ───── */
.work-view-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.wv-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color .25s, background .25s, box-shadow .25s;
}
.wv-btn.on { background: var(--c-coral); color: #fff; box-shadow: 0 6px 18px rgba(232, 90, 60, 0.3); }
.wv-btn:not(.on):hover { color: var(--ink); }

/* ───── Transparent category folders ───── */
.folders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 16px 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s;
}
.folder:hover, .folder:focus-visible {
  background: rgba(255, 255, 255, 0.022);
  border-color: var(--rule);
  transform: translateY(-4px);
}

/* ── glass folder: design sheets fanned behind a frosted pocket ── */
.gf {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  perspective: 800px;
}
/* soft brand glow under the card */
.gf::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 2%;
  height: 30%;
  background: radial-gradient(60% 100% at 50% 100%, color-mix(in oklab, var(--fc, var(--c-coral)), transparent 55%), transparent 70%);
  filter: blur(14px);
  opacity: .5;
  transition: opacity .4s;
  pointer-events: none;
}
.folder:hover .gf::after, .folder:focus-visible .gf::after { opacity: .9; }

.gf-sheets {
  position: absolute;
  left: 0; right: 0;
  top: 2%;
  bottom: 26%;
}
.gf-sheet {
  position: absolute;
  left: 50%; bottom: 0;
  width: 56%;
  height: 100%;
  margin-left: -28%;
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in oklab, var(--sc, var(--c-coral)), #12100f 55%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 96%;
  transform: rotate(calc((var(--i) - var(--mid)) * 13deg)) translateY(calc((var(--i) - var(--mid)) * (var(--i) - var(--mid)) * -3%));
  transition: transform .5s cubic-bezier(.3, .9, .3, 1), box-shadow .4s;
}
.folder:hover .gf-sheet, .folder:focus-visible .gf-sheet {
  transform: rotate(calc((var(--i) - var(--mid)) * 20deg)) translateY(calc((var(--i) - var(--mid)) * (var(--i) - var(--mid)) * -3% - 6%));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}
.gf-img { display: block; width: 100%; height: 100%; background: center/cover no-repeat; }
.gf-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 9px, transparent 9px 18px),
    linear-gradient(160deg, color-mix(in oklab, var(--sc, var(--c-coral)), #000 4%), color-mix(in oklab, var(--sc, var(--c-coral)), #000 50%));
}
.gf-ph-num { font-family: var(--font-mono); font-weight: 700; font-size: 30px; color: rgba(255, 255, 255, 0.9); }
.gf-ph-cat { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }

/* frosted glass pocket over the lower part of the fan */
.gf-glass {
  position: absolute;
  z-index: 3;
  left: 6%; right: 6%;
  bottom: 4%;
  height: 50%;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(9px) saturate(135%);
  -webkit-backdrop-filter: blur(9px) saturate(135%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.3, .9, .3, 1), border-color .4s;
}
.folder:hover .gf-glass, .folder:focus-visible .gf-glass {
  transform: translateY(6%);
  border-color: color-mix(in oklab, var(--fc, var(--c-coral)), white 20%);
}
.gf-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, transparent 62%);
  pointer-events: none;
}
.gf-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--c-coral);
  direction: ltr;
}
[dir="rtl"] .gf-actions {
  direction: ltr;
}
.gf-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(232, 90, 60, 0.08);
  border: 1px solid rgba(232, 90, 60, 0.3);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.22);
  transition: transform .25s, background .25s, border-color .25s, color .25s;
}
.gf-action svg {
  display: block;
  width: 14px;
  height: 14px;
}
.gf-action path {
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gf-heart {
  color: var(--c-coral);
  background: rgba(232, 90, 60, 0.14);
  border-color: rgba(232, 90, 60, 0.42);
}
.gf-action:hover,
.gf-action:focus-visible {
  transform: translateY(-2px);
  background: rgba(232, 90, 60, 0.16);
  border-color: rgba(232, 90, 60, 0.55);
}
.gf-action:hover,
.gf-action:focus-visible,
.gf-heart:hover,
.gf-heart:focus-visible {
  color: #fff;
  background: var(--c-coral);
  border-color: var(--c-coral);
  box-shadow: 0 9px 22px rgba(232, 90, 60, 0.34);
}
.gf-bar {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gf-logo { height: 16px; width: auto; opacity: .95; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.gf-dots { display: none; gap: 5px; }
.gf-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
.gf-dots i:first-child { background: var(--c-coral); }

.folder-info { display: flex; flex-direction: column; gap: 3px; }
.folder-name {
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.folder-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  transition: color .3s;
}
.folder:hover .folder-hint, .folder:focus-visible .folder-hint { color: var(--c-coral); }

/* opened folder */
.folders-open { margin-top: 4px; }
.fo-bar {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.fo-back {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color .25s, border-color .25s, background .25s;
}
.fo-back:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.03); }
[dir="rtl"] .fo-back svg { transform: scaleX(-1); }
.fo-heading { display: flex; flex-direction: column; gap: 2px; }
.fo-heading-name { font-family: var(--font-ar); font-weight: 700; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; color: var(--ink); }
.fo-heading-count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }
.fo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.fo-grid .work-card2 { animation: cardIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .folders-grid { grid-template-columns: 1fr; }
}

/* ───── Interactive editorial index ───── */
.work-index {
  position: relative;
  border-top: 1px solid var(--rule);
}
.wi-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 30px 14px;
  text-align: start;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: padding .35s cubic-bezier(.2, .7, .2, 1);
}
.wi-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in oklab, var(--pv, var(--c-coral)), transparent 86%), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
[dir="rtl"] .wi-row::before { transform: scaleX(-1); }
.wi-row:hover::before, .wi-row.on::before { opacity: 1; }
.wi-row:hover, .wi-row.on { padding-inline: 26px; }

.wi-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
  transition: color .3s;
}
.wi-row.on .wi-num { color: var(--c-coral); }

.wi-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wi-title {
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), color .3s;
}
.wi-row.on .wi-title { transform: translateX(6px); }
[dir="rtl"] .wi-row.on .wi-title { transform: translateX(-6px); }
.wi-scope { font-family: var(--font-ar); font-size: 13px; color: var(--ink-dim); }

.wi-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  white-space: nowrap;
}
.wi-year { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); }

.wi-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  color: var(--ink-dim);
  opacity: 0;
  transform: scale(0.7) rotate(-20deg);
  transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1), background .3s, color .3s, border-color .3s;
}
.wi-row:hover .wi-arrow, .wi-row.on .wi-arrow {
  opacity: 1;
  transform: scale(1) rotate(0);
  background: var(--c-coral);
  color: #fff;
  border-color: var(--c-coral);
}
[dir="rtl"] .wi-arrow svg { transform: scaleX(-1); }

/* cursor-following preview */
.wi-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: 320px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
  will-change: transform;
}
.wi-preview.show { opacity: 1; }
.wi-preview-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  background: var(--bg-deep);
}
.wi-preview-img, .wi-preview-ph { height: 200px; background: center/cover no-repeat; }
.wi-preview-ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 10px, transparent 10px 20px),
    linear-gradient(140deg, color-mix(in oklab, var(--pv, var(--c-coral)), #000 8%), color-mix(in oklab, var(--pv, var(--c-coral)), #000 55%));
}
.wi-preview-num { font-family: var(--font-mono); font-weight: 700; font-size: 64px; color: rgba(255, 255, 255, 0.85); }
.wi-preview-cap {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.wi-preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.wi-preview-title { font-family: var(--font-ar); font-weight: 700; font-size: 16px; color: var(--ink); }
.wi-preview-open { font-family: var(--font-mono); font-size: 11px; color: var(--c-coral); white-space: nowrap; }

@media (hover: none), (max-width: 760px) {
  .wi-preview { display: none; }
  .wi-row { grid-template-columns: auto 1fr auto; gap: 16px; padding: 22px 8px; }
  .wi-cat, .wi-year { display: none; }
  .wi-title { font-size: clamp(22px, 6vw, 30px); }
  .wi-arrow { opacity: 1; transform: none; }
}

.work-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-dim);
  font-size: 16px;
  font-family: var(--font-ar);
}

/* Load more button */
.work-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.work-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 600;
  transition: background .25s, border-color .25s, transform .2s, color .25s;
}
.work-more-btn:hover {
  background: var(--c-coral);
  border-color: var(--c-coral);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 90, 60, 0.35);
}
.work-more-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 8px;
  background: rgba(232, 90, 60, 0.15);
  color: var(--c-coral);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  transition: background .2s, color .2s;
}
.work-more-btn:hover .work-more-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ═════════════════════════════════════════════════════════════════════
   Project detail modal
   ═════════════════════════════════════════════════════════════════════ */
.pm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9995;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  animation: pmOverlayIn .3s ease-out;
}
@keyframes pmOverlayIn { from { opacity: 0; } to { opacity: 1; } }

.pm-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #0e0e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.7);
  animation: pmModalIn .5s cubic-bezier(.2, .7, .2, 1);
}
@keyframes pmModalIn {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pm-close {
  position: absolute;
  top: 18px;
  z-index: 5;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s, border-color .2s;
  right: 18px;
}
[dir="rtl"] .pm-close { right: auto; left: 18px; }
.pm-close:hover { background: var(--c-coral); border-color: var(--c-coral); transform: rotate(90deg); }

/* Hero band */
.pm-hero {
  position: relative;
  height: 320px;
  background: var(--pm-color, #1a1a20);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 40px;
  overflow: hidden;
}
.pm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 100%, rgba(0, 0, 0, 0.5), transparent 60%),
              radial-gradient(60% 50% at 100% 0%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.pm-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: 0;
}
.pm-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 240px;
  letter-spacing: -0.07em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 1;
}
.pm-cat {
  position: absolute;
  top: 24px;
  z-index: 2;
  padding: 7px 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--font-ar);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  left: 30px;
}
[dir="rtl"] .pm-cat { left: auto; right: 30px; }

.pm-hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.pm-title {
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  color: #fff;
}
.pm-year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* Body */
.pm-body {
  padding: 32px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pm-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pm-meta-k {
  font-family: var(--font-ar);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-faint);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pm-meta-v {
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.pm-section { display: flex; flex-direction: column; gap: 14px; }
.pm-section-k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-coral);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
body.lang-ar .pm-section-k { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; font-weight: 600; }

.pm-desc {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 70ch;
}

.pm-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.pm-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.pm-service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-coral);
  font-weight: 600;
}

.pm-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.pm-result {
  padding: 22px 18px;
  background: rgba(232, 90, 60, 0.05);
  border: 1px solid rgba(232, 90, 60, 0.18);
  border-radius: 14px;
  text-align: center;
}
.pm-result-v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--c-coral);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.pm-result-k {
  font-family: var(--font-ar);
  font-size: 12px;
  color: var(--ink-dim);
}

.pm-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pm-gallery-img {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.03) center/cover no-repeat;
  border-radius: 10px;
}

.pm-foot {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pm-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--c-coral);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 14px;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 8px 24px rgba(232, 90, 60, 0.3);
}
.pm-cta:hover {
  background: var(--c-warm);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(232, 90, 60, 0.45);
}
[dir="rtl"] .pm-cta svg { transform: scaleX(-1); }

@media (max-width: 720px) {
  .pm-hero { height: 220px; padding: 22px 24px; }
  .pm-num { font-size: 160px; }
  .pm-body { padding: 24px; gap: 24px; }
  .pm-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pm-overlay { padding: 16px 12px; }
  .pm-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .work-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .work-cards { grid-template-columns: 1fr; }
  .work-card2 { aspect-ratio: 5 / 4; }
}

/* ═════════════════════════════════════════════════════════════════════
   Packages / Pricing
   ═════════════════════════════════════════════════════════════════════ */
.packages { position: relative; overflow: hidden; }
.packages::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 30%;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--c-coral) 0%, transparent 60%);
  opacity: 0.08;
  filter: blur(60px);
  pointer-events: none;
}
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.pkg-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background .3s, border-color .3s, transform .3s;
}
.pkg-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.pkg-card.featured {
  background: linear-gradient(180deg, rgba(232, 90, 60, 0.12), rgba(232, 90, 60, 0.02));
  border-color: rgba(232, 90, 60, 0.5);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(232, 90, 60, 0.15);
}
.pkg-card.featured:hover {
  transform: translateY(-12px) scale(1.02);
}
.pkg-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--c-coral);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(232, 90, 60, 0.4);
  white-space: nowrap;
}
body.lang-ar .pkg-badge { font-family: var(--font-ar); font-size: 13px; }

.pkg-head { display: flex; flex-direction: column; gap: 8px; }
.pkg-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
body.lang-ar .pkg-name { font-family: var(--font-ar); }
.pkg-tag {
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.5;
}
body.lang-ar .pkg-tag { font-family: var(--font-ar); font-size: 15px; }

.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}
body.lang-ar .pkg-features li { font-family: var(--font-ar); font-size: 15px; }
.pkg-check {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 90, 60, 0.15);
  color: var(--c-coral);
  flex: 0 0 auto;
  margin-top: 1px;
}
.pkg-card.featured .pkg-check {
  background: var(--c-coral);
  color: #fff;
}

.pkg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
body.lang-ar .pkg-cta { font-family: var(--font-ar); font-size: 15px; }
.pkg-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.pkg-card.featured .pkg-cta {
  background: var(--c-coral);
  border-color: var(--c-coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 90, 60, 0.35);
}
.pkg-card.featured .pkg-cta:hover {
  background: var(--c-warm);
  border-color: var(--c-warm);
}

@media (max-width: 960px) {
  .pkg-grid { grid-template-columns: 1fr; gap: 30px; max-width: 480px; margin-inline: auto; }
  .pkg-card.featured { transform: none; }
  .pkg-card.featured:hover { transform: translateY(-4px); }
}

/* Responsive polish */
img,
svg,
video,
canvas {
  max-width: 100%;
}

html {
  scroll-padding-top: 82px;
}

.nav-logo {
  flex: 0 0 auto;
}

.hero-headline {
  width: min(100%, 980px);
  height: auto;
  min-height: 0;
  gap: clamp(8px, 1.5vw, 18px);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

body.lang-ar .hero-headline {
  line-height: 1.02;
}

.hero-foot {
  font-size: 14px;
}

.hero-world {
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.discipline,
.hero-badge,
.hero-chip,
.work-filter,
.pkg-badge {
  max-width: min(100%, 92vw);
}

.section-h,
.testimonials-head,
.partners-head,
.work-head {
  width: min(100%, var(--maxw));
}

.contact-form,
.pm-modal,
.pkg-card,
.ts-card,
.work-card2,
.folder {
  min-width: 0;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1180px) {
  .hero-headline {
    font-size: clamp(54px, 8.4vw, 94px);
  }

  .hero-stage {
    gap: clamp(32px, 5vw, 56px);
  }

  .work-cards,
  .pkg-grid,
  .ts-grid {
    gap: 18px;
  }
}

@media (max-width: 960px) {
  :root {
    --pad: clamp(18px, 5vw, 36px);
  }

  .nav {
    padding-block: 14px;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-right {
    gap: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 48px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    align-items: start;
    padding: clamp(34px, 7vw, 64px) 0 28px;
  }

  [dir="rtl"] .hero-stage {
    direction: rtl;
  }

  .hero-text {
    max-width: 760px;
  }

  .hero-headline {
    font-size: clamp(46px, 10vw, 78px);
    max-width: 760px;
  }

  .hero-tag {
    max-width: 640px;
  }

  .hero-world {
    width: min(82vw, 420px);
  }

  section.block,
  .work-section,
  .stats-block,
  .partners,
  footer {
    padding-inline: var(--pad);
  }

  .cap-row {
    grid-template-columns: auto 1fr;
  }

  .foot-top,
  footer .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .pm-modal {
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 18px;
  }

  body {
    min-width: 320px;
  }

  .nav {
    padding: 12px var(--pad);
  }

  .nav-cta-solid:not(.nav-drawer-cta) {
    display: none;
  }

  .lang-switch {
    min-width: 40px;
    height: 36px;
    padding-inline: 10px;
  }

  .nav-burger {
    width: 40px;
    height: 40px;
  }

  .nav-drawer-inner {
    width: min(330px, 90vw);
    padding: 84px 20px 28px;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 16px;
  }

  .hero-meta .col {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero-meta .col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero-stage {
    gap: 34px;
    padding-top: 34px;
  }

  .hero-text {
    gap: 18px;
  }

  .hero-eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .hero-headline {
    font-size: clamp(38px, 14vw, 58px);
    gap: 6px 12px;
    line-height: 1;
  }

  body.lang-ar .hero-headline {
    line-height: 1.08;
  }

  .hero-tag,
  body.lang-ar .hero-tag {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-cta-primary,
  .hero-cta-secondary,
  .pkg-cta,
  .work-more-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-world {
    width: min(88vw, 330px);
  }

  .discipline {
    font-size: 11px;
    padding: 7px 10px;
  }

  .hero-badge {
    max-width: 145px;
    white-space: normal;
    line-height: 1.35;
  }

  .marquee {
    font-size: clamp(28px, 12vw, 54px);
  }

  section.block,
  .work-section,
  .stats-block,
  .partners {
    padding-block: 64px;
  }

  .section-h {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .manifesto-text {
    font-size: clamp(28px, 10vw, 48px);
  }

  .cap-row {
    grid-template-columns: auto 1fr;
    gap: 13px;
    padding: 16px;
    min-height: 0;
  }

  .cap-row .num {
    grid-column: auto;
  }

  .cap-row .desc {
    max-width: none;
  }

  .cap-cta {
    width: 100%;
    grid-column: 1 / -1;
  }

  .work-head,
  .testimonials-head,
  .partners-head {
    gap: 14px;
  }

  .work-title,
  .ts-heading,
  .partners-heading,
  .cta h2 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .work-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    scrollbar-width: none;
  }

  .work-filters::-webkit-scrollbar {
    display: none;
  }

  .work-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .folders-grid,
  .fo-grid,
  .work-cards,
  .pkg-grid,
  .ts-grid,
  .cap-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .work-card2,
  .folder {
    aspect-ratio: 4 / 3;
  }

  .fo-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form {
    margin-top: 40px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .form-grid {
    gap: 16px;
  }

  .foot-top,
  footer .foot-top {
    grid-template-columns: 1fr;
  }

  .foot-bot .big {
    font-size: clamp(42px, 17vw, 82px);
  }

  .wa-btn {
    right: 16px;
    bottom: 16px;
  }

  [dir="rtl"] .wa-btn {
    right: auto;
    left: 16px;
  }
}

@media (max-width: 420px) {
  .hero-headline {
    font-size: clamp(34px, 13.2vw, 48px);
  }

  .hero-world {
    width: min(86vw, 290px);
  }

  .hero-badge {
    display: none;
  }

  .discipline {
    max-width: 124px;
  }

  .pm-overlay {
    padding: 10px;
  }

  .pm-hero {
    height: 190px;
    padding: 18px;
  }

  .pm-title {
    font-size: 28px;
  }

  .pm-meta,
  .pm-results,
  .pm-gallery {
    grid-template-columns: 1fr;
  }

  .pkg-card,
  .ts-card {
    padding: 24px 18px;
  }
}

.foot-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(232, 90, 60, 0.32);
  border-radius: 999px;
  background: rgba(232, 90, 60, 0.12);
  color: var(--c-warm);
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.foot-whatsapp:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 90, 60, 0.7);
  background: var(--c-coral);
  color: #fff;
}

.foot-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(247, 244, 239, 0.72);
  white-space: nowrap;
}

.foot-proof b {
  color: var(--c-warm);
  font-family: var(--font-mono);
}

.foot-proof i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 12px rgba(232, 90, 60, 0.8);
}

.payment-methods {
  display: none !important;
}

@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-live-stats {
    max-width: 640px;
  }
}

@media (max-width: 600px) {
  .process-steps {
    padding: 64px var(--pad);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-live-stats {
    gap: 7px;
  }

  .hero-live-stats span {
    padding: 7px 10px;
    font-size: 11px;
  }

  .foot-proof {
    width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* Unified motion system */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--dur-slow) var(--ease-brand),
    transform var(--dur-slow) var(--ease-brand);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-grad,
.cta-grad {
  animation-duration: 26s;
  animation-timing-function: var(--ease-soft);
}

.hero-world {
  animation: brandFloat 7s var(--ease-soft) infinite;
}

.planet-ring {
  animation: brandOrbitBreath 5.4s var(--ease-soft) infinite;
}

.planet-moon {
  animation: brandMoonPulse 4.8s var(--ease-soft) infinite;
}

.world-core {
  transition:
    transform var(--dur-fast) var(--ease-brand),
    background var(--dur-fast) var(--ease-brand),
    box-shadow var(--dur-med) var(--ease-brand);
}

.nav-cta-solid,
.hero-cta-primary,
.hero-cta-secondary,
.cap-cta,
.pkg-cta,
.submit-btn,
.work-more-btn,
.sent-wa,
.foot-whatsapp,
.wa-btn,
.admin-lock,
.gf-action,
.wv-btn,
.work-filter,
.fo-back,
.chip {
  transition:
    transform var(--dur-fast) var(--ease-brand),
    background var(--dur-fast) var(--ease-brand),
    border-color var(--dur-fast) var(--ease-brand),
    color var(--dur-fast) var(--ease-brand),
    box-shadow var(--dur-med) var(--ease-brand);
}

.stat-card,
.platform-card,
.partner-card,
.cap-row,
.ts-card,
.pkg-card,
.work-card2,
.folder,
.pm-modal {
  transition:
    transform var(--dur-med) var(--ease-brand),
    border-color var(--dur-med) var(--ease-brand),
    background var(--dur-med) var(--ease-brand),
    box-shadow var(--dur-med) var(--ease-brand);
}

.stat-card:hover,
.platform-card:hover,
.partner-card:hover,
.cap-row:hover,
.ts-card:hover,
.pkg-card:hover,
.work-card2:hover,
.folder:hover {
  transform: var(--lift);
}

.work-card2:hover,
.folder:hover {
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.work-card-img,
.work-thumb .g,
.gf-sheet,
.gf-glass,
.platform-card::after,
.cap-row::before,
.stat-card::before,
.folder-hint,
.work-card-foot,
.work-card-arrow,
.pm-close {
  transition-timing-function: var(--ease-brand);
}

.discipline {
  animation: brandFloatSmall 7.6s var(--ease-soft) infinite;
  transition:
    transform var(--dur-fast) var(--ease-brand),
    border-color var(--dur-fast) var(--ease-brand),
    color var(--dur-fast) var(--ease-brand),
    box-shadow var(--dur-med) var(--ease-brand);
}

.hero-badge {
  animation: badgeIn .7s var(--ease-brand) forwards, brandFloatSmall 6.2s var(--ease-soft) infinite;
}

.loader-cosmos,
.loader-idea,
.loader-orbit.orbit-b,
.loader-spark.s1 {
  animation-timing-function: var(--ease-soft);
}

@keyframes brandFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes brandFloatSmall {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@keyframes brandOrbitBreath {
  0%, 100% { opacity: .7; filter: saturate(1); }
  50% { opacity: 1; filter: saturate(1.18); }
}

@keyframes brandMoonPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(245, 160, 107, .42); }
  50% { box-shadow: 0 0 28px rgba(245, 160, 107, .72); }
}

/* Hero composition tune-up */
.hero {
  min-height: min(820px, 100svh);
  padding-top: clamp(92px, 9vh, 116px);
  padding-bottom: clamp(34px, 5vh, 56px);
}

.hero::before {
  content: "";
  position: absolute;
  left: clamp(34px, 9vw, 150px);
  top: 50%;
  width: clamp(300px, 34vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 212, 184, .34) 0 6%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(232, 90, 60, .44) 0 24%, rgba(232, 90, 60, .16) 38%, transparent 64%),
    conic-gradient(from 130deg, transparent 0 10%, rgba(245, 160, 107, .18) 16%, transparent 30%, rgba(30, 44, 88, .18) 50%, transparent 70%, rgba(232, 90, 60, .16) 84%, transparent);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow:
    0 0 90px rgba(232, 90, 60, .28),
    inset 0 0 70px rgba(255, 255, 255, .045);
  transform: translateY(-50%) rotate(-10deg);
  opacity: .72;
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(6px, 6vw, 104px);
  top: 50%;
  width: clamp(390px, 43vw, 700px);
  height: clamp(120px, 13vw, 210px);
  border: 1px solid rgba(245, 160, 107, .22);
  border-left-color: rgba(245, 160, 107, .04);
  border-right-color: rgba(245, 160, 107, .09);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-13deg);
  box-shadow: 0 0 40px rgba(232, 90, 60, .12);
  opacity: .74;
  z-index: -1;
  pointer-events: none;
}

.hero-grad {
  z-index: -2;
  background:
    radial-gradient(48% 58% at 74% 58%, rgba(232, 90, 60, .72) 0%, rgba(232, 90, 60, .26) 34%, transparent 66%),
    radial-gradient(42% 52% at 27% 53%, rgba(245, 160, 107, .3) 0%, rgba(232, 90, 60, .13) 34%, transparent 66%),
    radial-gradient(42% 58% at 13% 76%, rgba(30, 44, 88, .48) 0%, transparent 66%),
    radial-gradient(36% 46% at 9% 18%, rgba(67, 45, 98, .42) 0%, transparent 70%),
    linear-gradient(180deg, #060608 0%, #0a0a0c 100%);
}

.hero-grad::after {
  background:
    linear-gradient(90deg, rgba(6, 6, 8, .44) 0%, transparent 34%, rgba(6, 6, 8, .1) 64%, rgba(6, 6, 8, .34) 100%),
    linear-gradient(180deg, rgba(10, 10, 12, .62) 0%, transparent 28%, transparent 72%, rgba(10, 10, 12, .86) 100%);
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(100%, var(--maxw));
  margin: auto;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1fr);
  grid-template-areas: "visual copy";
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
  padding-block: clamp(28px, 5vh, 56px);
}

[dir="rtl"] .hero-stage {
  direction: ltr;
}

.hero-text {
  grid-area: copy;
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 640px);
  text-align: right;
  align-items: flex-end;
  gap: clamp(16px, 2vw, 22px);
}

.hero-world {
  grid-area: visual;
  position: relative;
  z-index: 1;
  justify-self: center;
  width: clamp(390px, 34vw, 540px);
  max-width: min(100%, 540px);
  opacity: 1;
  filter: drop-shadow(0 34px 90px rgba(0, 0, 0, .38));
}

.hero-headline {
  width: 100%;
  max-width: 680px;
  justify-content: flex-end;
  font-size: clamp(64px, 7.8vw, 118px);
  line-height: .88;
  gap: .04em .2em;
  text-wrap: balance;
}

body.lang-ar .hero-headline {
  line-height: .96;
}

.hero-headline .w2 {
  font-size: .82em;
  opacity: .94;
}

.hero-headline .accent {
  display: block;
  width: 100%;
  font-size: .9em;
}

.hero-tag {
  max-width: 560px;
  text-align: right;
}

.hero-live-stats,
.hero-ctas {
  justify-content: flex-end;
}

.hero-scroll {
  opacity: .72;
}

.registration-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(42% 52% at 34% 45%, rgba(232, 90, 60, .28), transparent 68%),
    radial-gradient(36% 46% at 72% 70%, rgba(30, 44, 88, .34), transparent 70%),
    rgba(5, 5, 7, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.registration-card {
  position: relative;
  width: min(100%, 470px);
  overflow: hidden;
  padding: clamp(26px, 4vw, 36px);
  padding-top: clamp(46px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)),
    rgba(13, 12, 15, .92);
  box-shadow: 0 32px 120px rgba(0, 0, 0, .62), 0 0 0 1px rgba(232, 90, 60, .08) inset;
  color: var(--ink);
  font-family: var(--font-ar);
  animation: gateIn .55s var(--ease-brand) both;
}

.registration-card::before {
  content: "";
  position: absolute;
  inset: -34% -22% auto auto;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffd1b5, #ff875b 28%, var(--c-coral) 58%, #57170f 100%);
  opacity: .4;
  filter: blur(1px);
}

.registration-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: rgba(247, 244, 239, .82);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-brand), background var(--dur-fast) var(--ease-brand), color var(--dur-fast) var(--ease-brand), border-color var(--dur-fast) var(--ease-brand);
}

.registration-close:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 90, 60, .54);
  background: rgba(232, 90, 60, .16);
  color: #fff;
}

.registration-orbit {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 74px;
  height: 42px;
  border: 1px solid rgba(245, 160, 107, .28);
  border-radius: 50%;
  transform: rotate(-14deg);
  opacity: .8;
}

.registration-orbit span,
.registration-orbit i {
  position: absolute;
  border-radius: 50%;
  display: block;
}

.registration-orbit span {
  width: 10px;
  height: 10px;
  top: 5px;
  right: 9px;
  background: var(--c-warm);
  box-shadow: 0 0 18px rgba(245, 160, 107, .7);
}

.registration-orbit i {
  width: 4px;
  height: 4px;
  left: 14px;
  bottom: 9px;
  background: rgba(255, 255, 255, .8);
}

.registration-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(232, 90, 60, .34);
  border-radius: 999px;
  background: rgba(232, 90, 60, .12);
  color: var(--c-warm);
  font-size: 12px;
  font-weight: 800;
}

.registration-card h2,
.registration-card p,
.registration-card label,
.registration-error,
.registration-card button[type="submit"] {
  position: relative;
  z-index: 1;
}

.registration-card h2 {
  margin: 0 0 8px;
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.1;
}

.registration-card p {
  margin: 0 0 22px;
  color: var(--ink-dim);
  line-height: 1.75;
  font-size: 14px;
}

.registration-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.registration-card label span {
  color: rgba(247, 244, 239, .76);
  font-size: 12px;
  font-weight: 800;
}

.registration-card input,
.registration-card select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  color: var(--ink);
  padding: 13px 14px;
  font-family: var(--font-ar);
  font-size: 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-brand), background var(--dur-fast) var(--ease-brand), box-shadow var(--dur-fast) var(--ease-brand);
}

.registration-card select option {
  color: #111;
}

.registration-card input:focus,
.registration-card select:focus {
  border-color: rgba(232, 90, 60, .65);
  background: rgba(255, 255, 255, .085);
  box-shadow: 0 0 0 4px rgba(232, 90, 60, .14);
}

.registration-phone {
  display: grid;
  grid-template-columns: minmax(128px, .62fr) minmax(0, 1fr);
  gap: 12px;
}

.registration-error {
  margin-top: 14px;
  color: #ffd0c0;
  font-size: 13px;
}

.registration-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.registration-card button[type="submit"] {
  width: 100%;
  margin-top: 0;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-coral), var(--c-warm));
  color: #fff;
  padding: 14px 18px;
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(232, 90, 60, .34);
  transition: transform var(--dur-fast) var(--ease-brand), box-shadow var(--dur-med) var(--ease-brand), opacity var(--dur-fast) var(--ease-brand);
}

.registration-card button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(232, 90, 60, .46);
}

.registration-card button[type="submit"]:disabled {
  cursor: wait;
  opacity: .72;
}

.registration-skip {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  color: rgba(247, 244, 239, .78);
  padding: 14px 16px;
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-brand), background var(--dur-fast) var(--ease-brand), color var(--dur-fast) var(--ease-brand), border-color var(--dur-fast) var(--ease-brand);
}

.registration-skip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

@keyframes gateIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* Cleaner hero balance */
.hero::before,
.hero::after {
  display: none;
}

.hero {
  min-height: min(760px, 100svh);
}

.hero-meta {
  opacity: .72;
}

.hero-stage {
  grid-template-columns: minmax(320px, .72fr) minmax(520px, 1fr);
  gap: clamp(36px, 5vw, 74px);
}

.hero-world {
  width: clamp(330px, 27vw, 430px);
  max-width: min(100%, 430px);
  opacity: .92;
}

.hero-world::before {
  inset: 16%;
  opacity: .34;
}

.hero-aura {
  opacity: .2;
}

.orbit.o3 {
  display: none;
}

.orbit.o2 {
  width: 74%;
  height: 74%;
}

.planet-ring {
  width: 58%;
  opacity: .72;
}

.planet-moon {
  width: 9px;
  height: 9px;
}

.discipline {
  padding: 7px 10px;
  font-size: 10px;
  opacity: .86;
}

.discipline.d0 { top: 7%; left: 41%; }
.discipline.d1 { top: 38%; right: -1%; }
.discipline.d2 { bottom: 8%; left: 31%; }
.discipline.d3 { top: 47%; left: -1%; }
.discipline.d4 { top: 18%; right: 8%; }
.discipline.d5 { bottom: 22%; right: 7%; }
.discipline.d6 { bottom: 21%; left: 6%; }
.discipline.d7 { top: 20%; left: 7%; }

.hero-badge {
  display: none;
}

.hero-headline {
  font-size: clamp(58px, 7vw, 104px);
}

.hero-live-stats span {
  padding: 7px 11px;
  background: rgba(255, 255, 255, .03);
}

@media (max-width: 1180px) {
  .hero-stage {
    grid-template-columns: minmax(300px, .8fr) minmax(460px, 1fr);
  }

  .hero-headline {
    font-size: clamp(56px, 7.6vw, 92px);
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero::before,
  .hero::after {
    left: 50%;
    top: 68%;
    transform: translate(-50%, -50%) rotate(-13deg);
    opacity: .44;
  }

  .hero-stage,
  [dir="rtl"] .hero-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    direction: rtl;
    margin: 0;
    gap: 40px;
  }

  .hero-text {
    justify-self: stretch;
    width: min(100%, 760px);
  }

  .hero-headline {
    max-width: 760px;
    font-size: clamp(46px, 10vw, 76px);
  }

  .hero-world {
    width: min(82vw, 420px);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 84px;
    padding-bottom: 42px;
  }

  .hero::before {
    width: min(86vw, 340px);
  }

  .hero::after {
    width: min(96vw, 420px);
    height: 120px;
  }

  .hero-text {
    align-items: stretch;
    text-align: right;
  }

  .hero-eyebrow {
    align-self: flex-start;
  }

  .hero-headline {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 1;
  }

  .hero-tag {
    max-width: none;
  }

  .hero-live-stats,
  .hero-ctas {
    justify-content: stretch;
  }

  .registration-card {
    border-radius: 20px;
  }

  .registration-phone {
    grid-template-columns: 1fr;
  }

  .registration-actions {
    grid-template-columns: 1fr;
  }

  .registration-skip {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Final responsive alignment pass */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

.nav,
.hero,
section.block,
.work-section,
.stats-block,
.partners,
.packages,
.recognition,
.process-steps,
.cta,
footer {
  width: 100%;
  max-width: 100%;
}

.hero-stage,
.section-h,
.stats-grid,
.partners-head,
.work-head,
.folders-grid,
.fo-grid,
.cap-grid,
.ts-grid,
.pkg-grid,
.process-grid,
.foot-top,
.foot-bot {
  min-width: 0;
}

.hero {
  min-height: auto;
  padding-top: clamp(96px, 10vh, 124px);
  padding-bottom: clamp(44px, 7vh, 72px);
}

.hero-meta {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  gap: clamp(16px, 3vw, 32px);
}

.hero-stage {
  width: min(100%, var(--maxw));
  min-height: clamp(520px, 68vh, 720px);
  margin-inline: auto;
  grid-template-columns: minmax(300px, .78fr) minmax(500px, 1fr);
  align-items: center;
}

.hero-text {
  max-width: 650px;
}

.hero-headline {
  max-width: 650px;
  font-size: clamp(56px, 6.4vw, 96px);
}

.hero-world {
  width: clamp(320px, 28vw, 430px);
}

.world-core-logo {
  max-width: 76%;
}

.discipline {
  max-width: 140px;
}

.foot-top,
footer .foot-top {
  align-items: start;
}

.foot-bot {
  align-items: center;
}

@media (min-width: 1440px) {
  .hero-stage {
    grid-template-columns: minmax(360px, .82fr) minmax(540px, 1fr);
  }

  .hero-world {
    width: clamp(390px, 29vw, 470px);
  }
}

@media (max-width: 1180px) {
  .hero-stage {
    min-height: auto;
    grid-template-columns: minmax(290px, .76fr) minmax(430px, 1fr);
    gap: clamp(28px, 4vw, 52px);
  }

  .hero-headline {
    font-size: clamp(48px, 7vw, 78px);
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 92px;
  }

  .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 11px;
  }

  .hero-stage,
  [dir="rtl"] .hero-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    justify-items: stretch;
    gap: 36px;
    min-height: auto;
  }

  .hero-text {
    width: min(100%, 720px);
    max-width: 720px;
    justify-self: start;
  }

  .hero-headline {
    max-width: 720px;
    font-size: clamp(44px, 10vw, 72px);
  }

  .hero-tag {
    max-width: 620px;
  }

  .hero-world {
    width: min(76vw, 380px);
    margin-top: 4px;
  }

  .discipline {
    max-width: 124px;
  }

  .foot-top,
  footer .foot-top {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: clamp(16px, 5vw, 22px);
  }

  .hero {
    padding-top: 82px;
    padding-bottom: 56px;
  }

  .hero-meta {
    display: none;
  }

  .hero-stage,
  [dir="rtl"] .hero-stage {
    gap: 28px;
    padding-top: 24px;
  }

  .hero-text {
    align-items: stretch;
    gap: 15px;
  }

  .hero-eyebrow {
    align-self: flex-start;
    font-size: 12px;
  }

  .hero-headline {
    font-size: clamp(38px, 13vw, 56px);
    line-height: 1.05;
    gap: 4px 10px;
  }

  body.lang-ar .hero-headline {
    line-height: 1.08;
  }

  .hero-tag,
  body.lang-ar .hero-tag {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-live-stats {
    gap: 6px;
  }

  .hero-live-stats span {
    padding: 7px 9px;
    font-size: 10px;
  }

  .hero-world {
    width: min(82vw, 310px);
    opacity: .9;
  }

  .discipline {
    font-size: 9px;
    max-width: 110px;
    padding: 6px 8px;
  }

  .discipline.d1 {
    right: 0;
  }

  .discipline.d3 {
    left: 0;
  }

  .discipline.d4,
  .discipline.d5,
  .discipline.d6,
  .discipline.d7 {
    display: none;
  }

  .registration-gate {
    padding: 14px;
  }

  .registration-card {
    width: min(100%, 420px);
    max-height: calc(100svh - 28px);
    overflow-y: auto;
    padding: 22px 18px;
  }

  .foot-top,
  footer .foot-top,
  .foot-bot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-headline {
    font-size: clamp(34px, 12.8vw, 46px);
  }

  .hero-world {
    width: min(80vw, 270px);
  }

  .hero-live-stats {
    display: none;
  }

  .discipline {
    display: none;
  }

  .mobile-quick {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* Final alignment pass for partner/testimonial/package sections */
.partners,
.testimonials,
.packages {
  padding-inline: var(--pad);
}

.partners-head,
.testimonials-head {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.partners-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.platform-partners {
  width: min(100%, 1180px);
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1fr);
  gap: clamp(26px, 4vw, 58px);
  margin-inline: auto;
}

.platform-copy {
  max-width: 560px;
}

[dir="rtl"] .platform-copy {
  text-align: right;
}

[dir="ltr"] .platform-copy {
  text-align: left;
}

.platform-copy h3 {
  font-size: clamp(34px, 3.4vw, 54px);
  max-width: 560px;
}

.platform-grid {
  max-width: 520px;
}

.platform-card {
  min-height: 78px;
  padding: 13px 14px;
}

.platform-index {
  display: none;
}

.platform-mark {
  min-width: 112px;
  height: 52px;
}

.ts-grid,
.pkg-grid {
  width: min(100%, 1320px);
  margin-inline: auto;
}

.ts-grid {
  gap: clamp(16px, 1.8vw, 24px);
}

.ts-card {
  min-width: 0;
  padding: clamp(24px, 2.4vw, 32px);
}

.packages .testimonials-head {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.pkg-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

.pkg-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(26px, 2.6vw, 34px);
}

.pkg-card.featured,
.pkg-card.featured:hover {
  transform: none;
}

.pkg-features {
  gap: 11px;
}

.pkg-cta {
  margin-top: auto;
}

@media (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    opacity: 0;
  }

  body.is-hover .cursor-ring,
  body.is-hover .cursor-dot {
    opacity: 0;
  }
}

@media (min-width: 1500px) {
  .platform-partners {
    width: min(100%, 1100px);
  }

  .ts-grid,
  .pkg-grid {
    width: min(100%, 1240px);
  }
}

@media (max-width: 1100px) {
  .platform-partners {
    grid-template-columns: 1fr;
    width: min(100%, 760px);
  }

  .platform-copy,
  .platform-copy h3,
  .platform-copy p,
  .platform-grid {
    max-width: none;
  }

  .platform-copy {
    order: 1;
  }

  .platform-grid {
    order: 2;
  }

  .ts-grid,
  .pkg-grid {
    grid-template-columns: 1fr;
    width: min(100%, 720px);
  }
}

@media (max-width: 720px) {
  .partners,
  .testimonials,
  .packages {
    padding-block: 62px;
  }

  .partners-heading,
  .ts-heading {
    font-size: clamp(28px, 8.8vw, 40px);
  }

  .platform-partners {
    padding: 18px;
    border-radius: 18px;
  }

  .platform-card {
    gap: 10px;
  }

  .platform-mark {
    min-width: 84px;
    height: 44px;
  }

  .brand-logo.compact {
    width: 88px;
    height: 38px;
  }

  .ts-card,
  .pkg-card {
    border-radius: 18px;
  }
}

/* Lighthouse accessibility quick fixes */
.hero-cta-primary,
.mobile-quick a.primary,
.nav-cta-solid,
.submit-btn,
.pkg-card.featured .pkg-cta {
  background: #c7432c;
}

.hero-cta-primary:hover,
.mobile-quick a.primary:hover,
.nav-cta-solid:hover,
.submit-btn:hover,
.pkg-card.featured .pkg-cta:hover {
  background: #a93421;
}

.foot-top h4,
footer .foot-top h4 {
  color: rgba(246, 243, 238, .78);
}

.gf-action {
  width: 28px;
  height: 28px;
  min-width: 28px;
}

.gf-actions {
  gap: 6px;
}

/* Mobile UX reset: compact, readable, and touch-first */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    overflow-x: hidden;
  }

  .nav {
    width: calc(100% - 24px);
    top: 10px;
    padding: 9px 10px;
    border-radius: 18px;
  }

  .nav-logo img,
  .logo-img {
    height: 24px;
    max-width: 96px;
    object-fit: contain;
  }

  .nav-cta-solid {
    display: none;
  }

  .lang-switch,
  .nav-burger {
    width: 38px;
    height: 38px;
  }

  .nav-drawer-inner {
    width: min(100%, 360px);
    margin-inline: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .hero {
    min-height: auto;
    padding: 86px 18px 34px;
  }

  .hero::before,
  .hero::after,
  .hero-grad::after,
  .hero-aura,
  .world-grid,
  .world-links,
  .world-particles,
  .planet-ring,
  .planet-moon,
  .discipline,
  .hero-badge,
  .hero-foot {
    display: none !important;
  }

  .hero-grad {
    opacity: .65;
    filter: blur(18px);
  }

  .hero-stage,
  [dir="rtl"] .hero-stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    padding: 20px 0 0;
  }

  .hero-text {
    order: 1;
    align-items: flex-start;
    text-align: start;
    gap: 12px;
    max-width: none;
  }

  .hero-eyebrow {
    padding: 6px 11px;
    font-size: 11px;
  }

  .hero-headline {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.05;
    max-width: 10ch;
  }

  body.lang-ar .hero-headline {
    line-height: 1.1;
  }

  .hero-tag,
  body.lang-ar .hero-tag {
    max-width: 32ch;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-live-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
  }

  .hero-live-stats span {
    justify-content: center;
    min-height: 38px;
    padding: 8px 6px;
    font-size: 10px;
    text-align: center;
    white-space: normal;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    justify-content: center;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
  }

  .hero-world {
    order: 2;
    width: min(72vw, 230px);
    height: auto;
    aspect-ratio: 1;
    margin: 2px auto 0;
    opacity: .78;
    transform: none !important;
  }

  .world-core {
    width: 48%;
    height: 48%;
  }

  .world-core-logo {
    width: 84px;
    height: auto;
  }

  section.block,
  .work-section,
  .partners,
  .testimonials,
  .packages,
  .cta,
  .process-steps,
  .manifesto-inner {
    padding: 46px 18px;
  }

  .section-h,
  .testimonials-head,
  .partners-head,
  .packages .testimonials-head {
    align-items: flex-start;
    text-align: start;
    gap: 8px;
    margin-bottom: 22px;
  }

  .section-h h2,
  .partners-heading,
  .ts-heading {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.12;
  }

  .section-h p,
  .ts-sub,
  .partners-sub {
    font-size: 13px;
    line-height: 1.7;
    max-width: 34ch;
  }

  .cap-grid,
  .pkg-grid,
  .ts-grid,
  .form-grid,
  .work-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    width: 100%;
    max-width: none;
  }

  .stats-block {
    padding: 28px 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .stat-card {
    min-height: 0;
    padding: 14px 12px;
    gap: 6px;
    border-radius: 14px;
  }

  .stat-num {
    font-size: clamp(28px, 9vw, 38px);
  }

  .stat-label,
  body.lang-ar .stat-label {
    font-size: 12px;
    line-height: 1.35;
  }

  #services .cap-grid {
    display: flex;
    grid-template-columns: none !important;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    margin-inline: -18px;
    padding-inline: 18px;
    scrollbar-width: none;
  }

  #services .cap-grid::-webkit-scrollbar {
    display: none;
  }

  #services .cap-row {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  .cap-row,
  .pkg-card,
  .ts-card,
  .contact-form,
  .platform-partners {
    border-radius: 16px;
    padding: 18px;
  }

  .cap-row {
    min-height: 0;
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .cap-row .name,
  .pkg-name {
    font-size: 20px;
  }

  .pkg-card {
    gap: 16px;
  }

  .pkg-features {
    gap: 9px;
  }

  .pkg-features li,
  body.lang-ar .pkg-features li {
    font-size: 13px;
    line-height: 1.55;
  }

  .pkg-cta,
  .cap-cta,
  .submit-btn {
    min-height: 46px;
    border-radius: 12px;
  }

  .folders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
  }

  .folder {
    gap: 10px;
    padding: 12px 8px;
    border-radius: 16px;
  }

  .gf {
    aspect-ratio: 1.08 / 1;
  }

  .gf-sheets {
    bottom: 30%;
  }

  .gf-glass {
    left: 4%;
    right: 4%;
    bottom: 7%;
    height: 48%;
    border-radius: 14px;
  }

  .gf-bar {
    left: 9px;
    right: 9px;
    bottom: 9px;
    gap: 6px;
  }

  .gf-logo {
    height: 11px;
  }

  .gf-action {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 9px;
  }

  .folder-name {
    font-size: 14px;
  }

  .folder-hint {
    font-size: 10px;
  }

  .work-view-toggle {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .wi-row {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 15px 0;
  }

  .wi-arrow,
  .wi-preview {
    display: none;
  }

  .platform-partners {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .platform-copy h3 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .platform-card {
    min-height: 62px;
    padding: 10px;
    border-radius: 14px;
  }

  .platform-mark {
    min-width: 76px;
    height: 38px;
  }

  .brand-logo.compact {
    width: 78px;
    height: 34px;
  }

  .manifesto-text {
    font-size: clamp(27px, 9vw, 42px);
    line-height: 1.15;
  }

  .cta h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .contact-form {
    margin-top: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .registration-card input,
  .registration-card select {
    min-height: 46px;
    font-size: 16px;
  }

  .mobile-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px;
    border-radius: 18px;
  }

  .mobile-quick a {
    min-width: 0;
    min-height: 42px;
    padding: 7px 6px;
    font-size: 11px;
  }

  footer,
  .footer {
    padding-bottom: 86px;
  }
}

@media (max-width: 390px) {
  .folders-grid {
    grid-template-columns: 1fr;
  }

  .hero-world {
    display: none;
  }

  .hero-live-stats {
    grid-template-columns: 1fr;
  }
}

/* Mobile first-screen tightening */
@media (max-width: 760px) {
  .hero {
    padding-top: 74px;
    padding-bottom: 24px;
  }

  .hero-stage,
  [dir="rtl"] .hero-stage {
    padding-top: 8px;
    gap: 10px;
  }

  .hero-headline {
    font-size: clamp(30px, 9.2vw, 38px);
    line-height: 1.08;
    max-width: 11ch;
  }

  body.lang-ar .hero-headline {
    line-height: 1.12;
  }

  .hero-tag,
  body.lang-ar .hero-tag {
    font-size: 13px;
    line-height: 1.55;
    max-width: 30ch;
  }

  .hero-live-stats {
    display: none !important;
  }

  .hero-ctas {
    gap: 8px;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-world {
    display: none !important;
  }

  .wa-btn {
    display: none !important;
  }

  .admin-lock {
    display: none !important;
  }

  .mobile-quick {
    z-index: 9999;
  }
}

@media (max-width: 390px) {
  .hero-live-stats {
    display: none !important;
  }
}
