/* =========================================================
   MARKETLU — Digital Marketing Agency
   Design system & homepage styles
   Palette drawn from the logo:
   pink #EE0B64 · purple #9E55B1 · yellow #FBD220 · blue #398CC0
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../assets/fonts/cairo-arabic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../assets/fonts/cairo-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #06050a;
  --bg-soft: #0a0810;
  --ink: #f7f3ef;
  --muted: #a49aa7;
  --muted-2: #6f6673;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --pink: #ee0b64;
  --pink-soft: #ff4d8f;
  --purple: #9e55b1;
  --yellow: #fbd220;
  --blue: #398cc0;
  --font-en: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Lenis smooth-scroll requirements */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
ul, ol { list-style: none; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #0a0810; }
::-webkit-scrollbar-thumb { background: #2a2331; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #3a3044; }

/* ---------- Language switching ---------- */
html[data-lang='en'] .ar { display: none !important; }
html[data-lang='ar'] .en { display: none !important; }
html[data-lang='ar'] body { font-family: var(--font-ar); }
html[data-lang='ar'] h1, html[data-lang='ar'] h2, html[data-lang='ar'] h3,
html[data-lang='ar'] blockquote, html[data-lang='ar'] .btn, html[data-lang='ar'] .eyebrow { font-family: var(--font-ar); letter-spacing: 0; }
html[data-lang='ar'] .eyebrow { font-size: 0.8rem; }
html[data-lang='ar'] .stat-num, html[data-lang='ar'] .card-idx, html[data-lang='ar'] .work-idx,
html[data-lang='ar'] .process-num, html[data-lang='ar'] .footer-clock time { font-family: var(--font-en); }

/* ---------- Layout ---------- */
.container {
  width: min(100% - (var(--pad) * 2), var(--maxw));
  margin-inline: auto;
}
.section { position: relative; padding-block: clamp(90px, 11vw, 160px); }
.skip-link {
  position: fixed; top: 12px; inset-inline-start: 12px; z-index: 500;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #000;
  transform: translateY(-200%); transition: transform 0.3s;
}
.skip-link:focus { transform: none; }

/* ---------- Type helpers ---------- */
.hero-sub, .sec-lead, .card-desc, .work-desc, .process-desc, .studio-text,
.voice-card blockquote, .cta-sub, .footer-tag { text-wrap: pretty; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.eyebrow:not(.chip)::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  display: inline-block;
  margin-inline-end: 12px;
  flex: none;
}
.grad {
  background-image: linear-gradient(96deg, var(--pink) 4%, var(--pink-soft) 34%, var(--purple) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pink-dot { color: var(--pink); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.sec-title {
  margin-top: 22px;
  font-size: clamp(2.5rem, 5.2vw, 4.7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
html[data-lang='ar'] .sec-title {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}
.sec-lead {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  max-width: 40ch;
  padding-bottom: 6px;
}
html[data-lang='ar'] .sec-lead { line-height: 1.9; }

/* line masks */
.line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.line-inner { display: block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), background-color 0.4s, border-color 0.4s, color 0.3s;
}
html[data-lang='ar'] .btn { font-size: 0.95rem; font-weight: 700; }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.4s var(--ease); }
.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, #ff3d84 100%);
  color: #fff;
  box-shadow: 0 12px 34px rgba(238, 11, 100, 0.28);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-160%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(160%); }
.btn-primary:hover { box-shadow: 0 16px 44px rgba(238, 11, 100, 0.42); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.34); }
.btn-ghost:hover svg { transform: translateY(2px); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-sm { padding: 11px 18px; font-size: 0.84rem; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-lg { padding: 18px 30px; font-size: 0.98rem; }
html[dir='rtl'] .btn > svg:last-child { transform: scaleX(-1); }
html[dir='rtl'] .cta-actions .btn-primary { direction: ltr; unicode-bidi: isolate; }
html[dir='rtl'] .btn:hover > svg:last-child { transform: scaleX(-1) translateX(3px); }
.fb-icon { width: 18px; height: 18px; }

/* ---------- Cursor / noise / progress ---------- */
.noise {
  position: fixed; inset: 0; z-index: 6; pointer-events: none;
  background-image: var(--noise);
  opacity: 0.045;
  mix-blend-mode: overlay;
}
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
}
.cursor-dot { width: 5px; height: 5px; background: var(--pink); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background-color 0.35s, border-color 0.35s;
}
html.has-cursor.cursor-active .cursor { opacity: 1; }
html.has-cursor body,
html.has-cursor a, html.has-cursor button, html.has-cursor .tilt { cursor: none; }
body.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  background: rgba(238, 11, 100, 0.1);
  border-color: rgba(238, 11, 100, 0.65);
}
body.cursor-hover .cursor-dot { background: #fff; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue), var(--yellow));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
html[dir='rtl'] .scroll-progress { transform-origin: 100% 50%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  background: #06050a;
  display: grid; place-items: center;
  transition: transform 1s var(--ease), opacity 0.6s ease 0.1s;
}
.preloader.done { transform: translateY(-101%); }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px; }
.preloader-logo { height: clamp(34px, 3.8vw, 44px); width: auto; opacity: 0.95; }
.preloader-bar {
  width: min(280px, 62vw); height: 1px; background: rgba(255, 255, 255, 0.12); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
}
.preloader-meta {
  width: min(280px, 62vw);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.62rem; letter-spacing: 0.22em; color: var(--muted-2);
}
.preloader-count { color: var(--muted); letter-spacing: 0.08em; }
.preloader-count b { font-weight: 500; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 20px;
  transition: padding 0.5s var(--ease), background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding-block: 12px;
  background: rgba(6, 5, 10, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: none; display: block; }
.brand img { height: 38px; width: auto; transition: opacity 0.3s; }
.brand:hover img { opacity: 0.8; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav-links a {
  position: relative; font-size: 0.88rem; color: var(--muted);
  transition: color 0.3s; padding-block: 6px;
}
.nav-links a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--pink); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
html[dir='rtl'] .nav-links a::after { transform-origin: 100% 50%; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }
.mm-links a.active em { color: var(--pink); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem; color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
html[data-lang='ar'] .lang-btn { font-size: 0.82rem; }
.lang-btn svg { width: 15px; height: 15px; opacity: 0.7; }
.lang-btn:hover { color: var(--ink); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.burger {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); position: relative; flex: none;
}
.burger span {
  position: absolute; left: 50%; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 17px; transform: translateX(-50%); }
.burger span:nth-child(2) { top: 24px; transform: translateX(-50%); }
body.menu-open .burger span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: #07060d;
  padding: 110px var(--pad) 40px;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.8s var(--ease), visibility 0s linear 0.8s;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow-y: auto;
}
.mobile-menu::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 80% 0%, rgba(238, 11, 100, 0.18), transparent 70%),
              radial-gradient(50% 40% at 10% 100%, rgba(158, 85, 177, 0.16), transparent 70%);
}
body.menu-open .mobile-menu {
  transform: none; visibility: visible;
  transition: transform 0.8s var(--ease), visibility 0s;
}
.mm-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; gap: 48px; }
.mm-links { display: flex; flex-direction: column; }
.mm-links a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-block: 18px; border-bottom: 1px solid var(--line);
  font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em;
}
html[data-lang='ar'] .mm-links a { font-weight: 700; }
.mm-links a em {
  font-style: normal; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--muted-2);
  font-family: var(--font-en);
}
.mm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.mm-foot .btn { padding: 15px 26px; }
.mm-social { font-size: 0.85rem; color: var(--muted); }
.mm-foot p { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(80% 70% at 55% 45%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 55% 45%, #000 0%, transparent 100%);
}
.hero-canvas {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: 66%; height: 100%;
  z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity 1.6s ease 0.15s;
}
body.webgl-ready .hero-canvas { opacity: 1; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(52% 46% at 74% 46%, rgba(238, 11, 100, 0.16), transparent 70%),
              radial-gradient(40% 40% at 88% 74%, rgba(158, 85, 177, 0.14), transparent 70%),
              radial-gradient(30% 30% at 60% 12%, rgba(57, 140, 192, 0.08), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: none;
}
.hero-orbs { display: none; position: absolute; inset-inline-end: 0; top: 0; width: 62%; height: 100%; z-index: 1; pointer-events: none; }
body.webgl-failed .hero-orbs { display: block; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.85; }
.orb-pink { width: 220px; height: 220px; top: 26%; inset-inline-end: 26%; background: radial-gradient(circle at 32% 30%, #ff77a9, var(--pink) 55%, #7d0736); box-shadow: 0 0 90px rgba(238, 11, 100, 0.4); }
.orb-purple { width: 150px; height: 150px; top: 48%; inset-inline-end: 14%; background: radial-gradient(circle at 34% 30%, #d6a2e6, var(--purple) 60%, #3d1c4c); }
.orb-yellow { width: 90px; height: 90px; top: 16%; inset-inline-end: 8%; background: radial-gradient(circle at 34% 30%, #fff3a1, var(--yellow) 60%, #8d7300); }
.orb-blue { width: 70px; height: 70px; top: 66%; inset-inline-end: 42%; background: radial-gradient(circle at 34% 30%, #9bd6f5, var(--blue) 60%, #123c55); }

.hero-content::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline: calc(var(--pad) * -1);
  z-index: -1;
  pointer-events: none;
  display: none;
  background: linear-gradient(to right, rgba(6,5,10,0.92) 0%, rgba(6,5,10,0.55) 36%, rgba(6,5,10,0) 64%);
}
html[dir='rtl'] .hero-content::before {
  background: linear-gradient(to left, rgba(6,5,10,0.92) 0%, rgba(6,5,10,0.55) 36%, rgba(6,5,10,0) 64%);
}
@media (max-width: 1024px) {
  .hero-content::before { display: block; }
  .hero-sub { text-shadow: 0 2px 24px rgba(4, 3, 8, 0.7); }
  .hero-actions .btn-ghost { background: rgba(8, 6, 14, 0.5); border-color: rgba(255, 255, 255, 0.24); }
}
.hero-content {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: clamp(122px, 16vh, 176px);
  padding-bottom: 26px;
}
.hero-eyebrow.chip {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  font-size: 0.68rem; letter-spacing: 0.17em;
  color: var(--muted);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html[data-lang='ar'] .hero-eyebrow.chip { letter-spacing: 0; font-size: 0.74rem; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #57e389; flex: none;
  box-shadow: 0 0 0 0 rgba(87, 227, 137, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(87, 227, 137, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(87, 227, 137, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 227, 137, 0); }
}
.hero-title {
  margin-top: clamp(22px, 3.4vh, 38px);
  font-size: clamp(3.1rem, min(7.6vw, 10.6vh), 7.5rem);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.05em;
  max-width: 12ch;
}
html[data-lang='ar'] .hero-title {
  font-size: clamp(2.7rem, min(6.7vw, 9.4vh), 6.9rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
  max-width: 14ch;
}
.hero-title .line-inner {
  transform: translateY(112%);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--i) * 0.09s + 0.15s);
}
body.is-loaded .hero-title .line-inner { transform: none; }
.hero-sub {
  margin-top: clamp(20px, 2.8vh, 32px);
  max-width: 47ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease) 0.42s, transform 1s var(--ease) 0.42s;
}
html[data-lang='ar'] .hero-sub { line-height: 1.95; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(22px, 3.2vh, 38px);
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease) 0.54s, transform 1s var(--ease) 0.54s;
}
.hero-foot {
  margin-top: auto;
  padding-top: clamp(26px, 4.6vh, 54px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease) 0.68s, transform 1s var(--ease) 0.68s;
}
body.is-loaded .hero-eyebrow.chip,
body.is-loaded .hero-sub,
body.is-loaded .hero-actions,
body.is-loaded .hero-foot { opacity: 1; transform: none; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  width: min(100%, 720px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(14px, 2.4vw, 34px); }
.stat-num {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.72rem; color: var(--muted-2); line-height: 1.4; max-width: 24ch; text-wrap: balance; }
html[data-lang='ar'] .stat-num { text-align: right; }
html[data-lang='ar'] .stat-label { font-size: 0.78rem; line-height: 1.6; }

.scroll-cue {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 4px;
  flex: none;
}
html[data-lang='ar'] .scroll-cue { letter-spacing: 0; font-size: 0.74rem; }
.scroll-cue:hover { color: var(--muted); }
.scroll-line {
  width: 1px; height: 44px; background: linear-gradient(to bottom, var(--pink), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; inset-inline: 0; top: -100%; height: 100%;
  background: var(--ink);
  animation: scrollDrip 2.2s var(--ease) infinite;
}
@keyframes scrollDrip { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.hero-badge {
  position: absolute; z-index: 3;
  inset-inline-end: clamp(24px, 7vw, 120px);
  top: 17%;
  width: clamp(100px, 9vw, 140px); aspect-ratio: 1;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease 0.9s;
}
body.is-loaded .hero-badge { opacity: 1; }
.badge-ring { width: 100%; height: 100%; animation: spin 26s linear infinite; direction: ltr; }
.badge-ring text {
  font-family: var(--font-en); font-size: 10.4px; letter-spacing: 3.4px;
  fill: rgba(255, 255, 255, 0.5);
}
.badge-mark { position: absolute; width: 34%; height: auto; opacity: 0.95; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2;
  border-block: 1px solid var(--line);
  padding-block: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 42s linear infinite;
  direction: ltr;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir='rtl'] .marquee-track { animation-direction: reverse; }
.mq-item {
  display: inline-flex; align-items: center; gap: 26px;
  padding-inline: 26px;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
html[data-lang='ar'] .mq-item { font-size: 0.92rem; letter-spacing: 0; }
.mq-item i { font-style: normal; color: var(--pink); font-size: 0.7rem; opacity: 0.8; }
.mq-item:nth-child(4n+2) i { color: var(--yellow); }
.mq-item:nth-child(4n+3) i { color: var(--purple); }
.mq-item:nth-child(4n+4) i { color: var(--blue); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.95s var(--ease) var(--d, 0s), transform 0.95s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-lines .line-inner { transform: translateY(112%); transition: transform 1.15s var(--ease); }
.reveal-lines .line:nth-child(1) .line-inner { transition-delay: 0.05s; }
.reveal-lines .line:nth-child(2) .line-inner { transition-delay: 0.15s; }
.reveal-lines .line:nth-child(3) .line-inner { transition-delay: 0.25s; }
.reveal-lines.in .line-inner { transform: none; }

/* ---------- Services ---------- */
.services { padding-top: clamp(80px, 10vw, 140px); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
  perspective: 1200px;
}
.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 340px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 55%);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.5s, transform 0.5s var(--ease), box-shadow 0.6s;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 16%, transparent), transparent 62%);
  opacity: 0; transition: opacity 0.5s;
}
.service-card:hover { border-color: color-mix(in srgb, var(--c) 42%, transparent); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--c) 55%, transparent); }
.service-card:hover::before { opacity: 1; }
.card-glow {
  position: absolute; z-index: 0;
  width: 260px; height: 260px; border-radius: 50%;
  inset-block-start: -110px; inset-inline-end: -90px;
  background: var(--c); filter: blur(90px); opacity: 0.15;
  transition: opacity 0.6s;
  pointer-events: none;
}
.service-card:hover .card-glow { opacity: 0.32; }
.card-top {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.card-idx { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--muted-2); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 26%, transparent);
}
.card-icon svg { width: 23px; height: 23px; }
.card-title {
  position: relative; z-index: 1;
  margin-top: 26px;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.025em;
  max-width: 20ch;
}
html[data-lang='ar'] .card-title { font-weight: 700; line-height: 1.4; letter-spacing: 0; max-width: 24ch; }
.card-desc {
  position: relative; z-index: 1;
  margin-top: 12px; color: var(--muted);
  font-size: 0.94rem; line-height: 1.65; max-width: 42ch;
}
html[data-lang='ar'] .card-desc { line-height: 1.85; font-size: 0.96rem; }
.card-tags {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-top: auto; padding-top: 26px;
}
.card-tags li {
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 11px;
  background: rgba(255, 255, 255, 0.02);
}
html[data-lang='ar'] .card-tags li { letter-spacing: 0; font-size: 0.7rem; }
.services-note {
  margin-top: 34px; font-size: 0.94rem; color: var(--muted-2);
}
.services-note a {
  color: var(--ink); position: relative;
  border-bottom: 1px solid rgba(238, 11, 100, 0.55);
  padding-bottom: 2px; transition: color 0.3s, border-color 0.3s;
}
.services-note a:hover { color: var(--pink-soft); border-color: var(--pink-soft); }

/* ---------- Studio statement ---------- */
.studio { overflow: hidden; }
.studio-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 12% 40%, rgba(238, 11, 100, 0.1), transparent 70%),
              radial-gradient(40% 50% at 88% 70%, rgba(158, 85, 177, 0.12), transparent 70%);
}
.studio .container { position: relative; z-index: 1; }
.studio-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
}
.statement {
  margin-top: 30px;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.05em;
}
html[data-lang='ar'] .statement {
  font-size: clamp(2.3rem, 5.4vw, 5.1rem);
  font-weight: 800; line-height: 1.35; letter-spacing: 0;
}
.statement-line { display: block; }
.word { display: inline-block; overflow: hidden; vertical-align: bottom; margin-inline-end: 0.24em; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.05s var(--ease);
  transition-delay: calc(var(--n) * 0.09s + 0.1s);
}
.statement.in .w { transform: none; }
.c1 { color: var(--pink); }
.c2 { color: var(--yellow); }
.c3 { color: var(--purple); }
.c4 { color: var(--blue); }
.studio-side { border-top: 1px solid var(--line); padding-top: 26px; }
.studio-text { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
html[data-lang='ar'] .studio-text { line-height: 1.95; }
.value-list { margin-top: 28px; }
.value-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem; color: rgba(255, 255, 255, 0.72);
}
.value-list em { font-style: normal; color: var(--pink); font-size: 1rem; }

/* ---------- Work ---------- */
.work-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
  perspective: 1200px;
}
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  padding: 13px;
  will-change: transform;
  transition: border-color 0.5s, transform 0.5s var(--ease), box-shadow 0.6s;
}
.work-card:hover {
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--c) 60%, transparent);
}
.work-visual { border-radius: 19px; overflow: hidden; }
.art {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 4.7;
  padding: 20px;
  display: flex; flex-direction: column;
  transition: transform 0.9s var(--ease);
}
.work-card:hover .art { transform: scale(1.05); }
.art::after {
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image: var(--noise); opacity: 0.16; mix-blend-mode: overlay;
}
.art-kicker, .art-foot {
  position: relative; z-index: 3;
  font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.art-foot { margin-top: auto; }

/* NUN art */
.art-nun {
  background:
    radial-gradient(90% 70% at 78% 18%, rgba(255, 61, 132, 0.55), transparent 60%),
    linear-gradient(158deg, #ee0b64 0%, #a8084b 46%, #2b0716 100%);
}
.nun-word {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  font-size: clamp(56px, 6vw, 88px); font-weight: 600;
  letter-spacing: 0.04em; line-height: 1; color: #fff;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
.nun-ring {
  position: absolute; z-index: 1;
  width: 72%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.nun-blob {
  position: absolute; z-index: 0;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  bottom: -22%; right: -16%;
  background: radial-gradient(circle at 35% 30%, #ffb3cf, rgba(238, 11, 100, 0) 65%);
  filter: blur(10px); opacity: 0.65;
}
.art-nun .art-kicker { position: absolute; top: 20px; inset-inline-start: 20px; }
.art-nun .art-foot { position: absolute; bottom: 20px; inset-inline-start: 20px; }

/* ATLAS art */
.art-atlas {
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(158, 85, 177, 0.5), transparent 60%),
    linear-gradient(165deg, #25122f 0%, #3c1a49 45%, #120a18 100%);
  justify-content: flex-end;
}
.atlas-skyline { position: absolute; z-index: 1; left: 0; right: 0; bottom: 34px; width: 100%; height: auto; }
.atlas-word {
  position: relative; z-index: 3;
  margin-top: auto;
  font-size: clamp(30px, 3.2vw, 44px); font-weight: 500;
  letter-spacing: 0.24em; line-height: 1;
  margin-bottom: 6px; color: #fff;
}
.atlas-sub {
  position: relative; z-index: 3;
  font-size: 0.55rem; letter-spacing: 0.5em; color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.art-atlas .art-kicker { position: absolute; top: 20px; inset-inline-start: 20px; }
.art-atlas .art-foot, .art-fawra .art-foot { margin-top: 12px; }

/* FAWRA art */
.art-fawra {
  background:
    radial-gradient(80% 60% at 80% 8%, rgba(57, 140, 192, 0.55), transparent 60%),
    linear-gradient(170deg, #0a2133 0%, #0b2d45 55%, #061019 100%);
  justify-content: flex-end;
}
.fawra-phone {
  position: absolute; z-index: 2;
  top: 9%; inset-inline-end: 9%;
  transform: rotate(-7deg);
  width: 44%; height: 70%;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #050c12;
  padding: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.9s var(--ease);
}
.work-card:hover .fawra-phone { transform: rotate(-4deg) translateY(-6px); }
.fp-screen {
  position: relative; height: 100%; border-radius: 21px; overflow: hidden;
  background: linear-gradient(180deg, #0e2d45, #081722 70%);
  padding: 14px 11px;
  display: flex; flex-direction: column; gap: 6px;
}
.fp-chip { width: 34%; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); margin-bottom: 6px; }
.fp-balance { font-size: 0.66rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.fp-label { font-size: 0.36rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; }
.fp-card {
  margin-top: 6px; height: 34%; border-radius: 9px;
  background: linear-gradient(135deg, #398cc0, #1b4c6b 60%, #102c3e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.fp-actions { display: flex; gap: 5px; margin-top: 7px; }
.fp-actions span { flex: 1; aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); }
.fp-bars {
  margin-top: auto; display: flex; align-items: flex-end; gap: 5px; height: 26%;
  padding-bottom: 2px;
}
.fp-bars i {
  flex: 1; height: var(--h); border-radius: 3px 3px 2px 2px;
  background: linear-gradient(to top, rgba(57, 140, 192, 0.35), #6ec1ec);
}
.fawra-word {
  position: relative; z-index: 3;
  margin-top: auto;
  font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; font-weight: 600;
  color: #fff; margin-bottom: 10px; text-transform: lowercase;
}
.art-fawra .art-kicker { position: absolute; top: 20px; inset-inline-start: 20px; }

/* work meta */
.work-meta { padding: 18px 8px 10px; }
.work-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-tag { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
html[data-lang='ar'] .work-tag { letter-spacing: 0; font-size: 0.7rem; }
.work-idx { font-size: 0.64rem; color: var(--muted-2); letter-spacing: 0.12em; }
.work-name {
  margin-top: 12px;
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
}
html[data-lang='ar'] .work-name { font-weight: 700; line-height: 1.4; }
.work-desc { margin-top: 6px; font-size: 0.87rem; color: var(--muted); line-height: 1.6; }
html[data-lang='ar'] .work-desc { line-height: 1.8; }
.work-metric {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px;
  margin-top: 18px; padding-top: 15px;
  border-top: 1px solid var(--line);
}
.work-metric .num {
  font-size: clamp(1.55rem, 2.2vw, 1.95rem); font-weight: 600;
  color: var(--c); letter-spacing: -0.02em; line-height: 1;
  direction: ltr; unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}
.work-metric .lbl { font-size: 0.74rem; color: var(--muted-2); }

/* ---------- Process ---------- */
.process-list { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.process-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 0.9fr) minmax(0, 1.25fr) 40px;
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
  padding-block: clamp(26px, 3.4vw, 40px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s, padding-inline 0.5s var(--ease);
}
.process-row::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 55%);
  transition: opacity 0.4s;
}
html[dir='rtl'] .process-row::before { background: linear-gradient(270deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 55%); }
.process-row:hover::before { opacity: 1; }
.process-row:hover { padding-inline: 14px; }
.process-num {
  font-size: 0.72rem; letter-spacing: 0.14em; color: var(--c);
  padding-top: 10px; font-variant-numeric: tabular-nums;
}
.process-title {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
}
html[data-lang='ar'] .process-title { font-weight: 700; line-height: 1.5; }
.process-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; max-width: 52ch; padding-top: 3px; }
html[data-lang='ar'] .process-desc { line-height: 1.9; }
.process-arrow {
  justify-self: end; font-size: 1.2rem; color: var(--muted-2); padding-top: 4px;
  transition: transform 0.4s var(--ease), color 0.4s;
}
.process-row:hover .process-arrow { transform: translate(3px, -3px); color: var(--ink); }

/* ---------- Testimonials ---------- */
.voices-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; margin-top: clamp(40px, 6vw, 72px);
}
.voice-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.5s, transform 0.5s var(--ease);
}
.voice-card:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-4px); }
.quote-mark {
  font-size: 4.6rem; line-height: 1; color: var(--pink); opacity: 0.8;
  font-family: Georgia, serif; height: 46px;
}
.voice-card blockquote { margin-top: 10px; font-size: 0.98rem; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
html[data-lang='ar'] .voice-card blockquote { line-height: 1.95; font-size: 1rem; }
.voice-card figcaption {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line);
}
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 600; color: #fff; flex: none;
  font-family: var(--font-en);
}
.av-pink { background: linear-gradient(135deg, #ee0b64, #8e073e); }
.av-purple { background: linear-gradient(135deg, #9e55b1, #4a1f58); }
.av-blue { background: linear-gradient(135deg, #398cc0, #153f57); }
.who { display: flex; flex-direction: column; gap: 2px; }
.who b { font-size: 0.86rem; font-weight: 600; }
.who small { font-size: 0.7rem; color: var(--muted-2); }
html[data-lang='ar'] .who b { font-weight: 700; }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: clamp(80px, 10vw, 130px); }
.cta-panel {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 110px) clamp(22px, 6vw, 90px);
  border: 1px solid var(--line);
  border-radius: clamp(26px, 3vw, 40px);
  background:
    radial-gradient(110% 130% at 12% -10%, rgba(238, 11, 100, 0.22), transparent 52%),
    radial-gradient(90% 120% at 88% 112%, rgba(158, 85, 177, 0.24), transparent 55%),
    linear-gradient(160deg, #0e0a15, #08070d);
  text-align: center;
  isolation: isolate;
}
.cta-panel .eyebrow { justify-content: center; }
.cta-title {
  position: relative; z-index: 2;
  margin-top: 24px;
  font-size: clamp(2.7rem, 6.6vw, 6.4rem);
  font-weight: 600; line-height: 0.97; letter-spacing: -0.05em;
}
html[data-lang='ar'] .cta-title {
  font-size: clamp(2.2rem, 5.4vw, 5.2rem);
  font-weight: 800; line-height: 1.3; letter-spacing: 0;
}
.cta-sub {
  position: relative; z-index: 2;
  margin: 26px auto 0; max-width: 50ch;
  color: var(--muted); font-size: clamp(0.95rem, 1.2vw, 1.05rem); line-height: 1.75;
}
html[data-lang='ar'] .cta-sub { line-height: 1.95; }
.cta-actions {
  position: relative; z-index: 2;
  margin-top: 34px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
}
.cta-note { position: relative; z-index: 2; margin-top: 26px; font-size: 0.74rem; color: var(--muted-2); letter-spacing: 0.02em; }
html[data-lang='ar'] .cta-note { font-size: 0.8rem; }
.cta-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
}
.cta-orb-1 { width: 300px; height: 300px; background: var(--pink); opacity: 0.16; top: -80px; left: -60px; animation: floatOrb 12s ease-in-out infinite; }
.cta-orb-2 { width: 340px; height: 340px; background: var(--purple); opacity: 0.14; bottom: -120px; right: -80px; animation: floatOrb 15s ease-in-out infinite reverse; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -24px); }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: clamp(60px, 8vw, 90px);
  background: #05040a;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
}
.footer-logo { height: 44px; width: auto; }
.footer-tag { margin-top: 22px; max-width: 34ch; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
html[data-lang='ar'] .footer-tag { line-height: 1.9; }
.footer-clock {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 24px;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
}
.footer-clock .live-dot { width: 6px; height: 6px; }
.footer-clock time { color: var(--muted); letter-spacing: 0.08em; }
.footer-col h3 {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 20px;
}
html[data-lang='ar'] .footer-col h3 { letter-spacing: 0; font-size: 0.8rem; font-weight: 700; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: var(--ink); }
.footer-mail { position: relative; width: fit-content; }
.footer-mail::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 1px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.footer-mail:hover::after { transform: scaleX(1); }
.footer-social a { display: inline-flex; align-items: center; gap: 9px; }
.footer-social svg { width: 16px; height: 16px; }
.footer-wordmark {
  margin-top: clamp(46px, 7vw, 80px);
  font-size: clamp(64px, 16.5vw, 244px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.76;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.085);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 34px; padding-block: 22px 30px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem; color: var(--muted-2);
}
html[data-lang='ar'] .footer-bottom { font-size: 0.8rem; }
.footer-made { text-align: end; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-canvas { width: 72%; }
  .hero-badge { display: none; }
  .hero-title { max-width: 13ch; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .hero-canvas { width: 84%; opacity: 0; }
  body.webgl-ready .hero-canvas { opacity: 0.9; }
  .studio-grid { grid-template-columns: 1fr; align-items: start; }
  .voices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
  .footer-contact h3 { width: 100%; margin-bottom: 8px; }
  .footer-contact p { margin-bottom: 0; }
}
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .sec-lead { max-width: 52ch; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .work-card:last-child .art { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .work-card:last-child .work-meta { display: flex; flex-direction: column; justify-content: center; padding: 26px; }
  .process-row { grid-template-columns: 54px 1fr 36px; }
  .process-desc { grid-column: 2 / 4; padding-top: 0; }
  .process-arrow { grid-row: 1; grid-column: 3; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 26px; }
  .scroll-cue { display: none; }
  .hero-stats { width: 100%; }
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card:last-child { grid-column: auto; display: block; }
  .work-card:last-child .art { aspect-ratio: 4 / 4.7; min-height: 0; }
  .work-card:last-child .work-meta { display: block; padding: 18px 8px 10px; }
  .voices-grid { grid-template-columns: 1fr; }
  .hero-canvas { width: 100%; }
  body.webgl-ready .hero-canvas { opacity: 0.6; }
  .hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    display: block;
    background: linear-gradient(180deg, rgba(6,5,10,0.88) 0%, rgba(6,5,10,0.48) 30%, rgba(6,5,10,0.38) 52%, rgba(6,5,10,0.82) 100%);
  }
  .scroll-cue { display: none; }
  .hero-title { font-size: clamp(3rem, 12vw, 4.6rem); max-width: 12ch; }
  html[data-lang='ar'] .hero-title { font-size: clamp(2.7rem, 10.5vw, 4.1rem); }
  .stat-label { font-size: 0.66rem; }
  html[data-lang='ar'] .stat-label { font-size: 0.7rem; }
  .stat + .stat { padding-inline-start: 14px; }
  .hero-stats { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-made { text-align: start; }
  .process-title { font-size: 1.3rem; }
  .process-row { gap: 14px; }
  .card-title { margin-top: 20px; }
}
@media (max-width: 560px) {
  .hero-content { padding-top: 108px; }
  .hero-actions .btn { padding: 16px 20px; }
  .hero-foot { padding-top: 22px; }
  .hero-eyebrow.chip { font-size: 0.6rem; letter-spacing: 0.12em; padding: 8px 13px; }
  html[data-lang='ar'] .hero-eyebrow.chip { font-size: 0.68rem; letter-spacing: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stat:nth-child(3) { grid-column: 1 / -1; border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .stat + .stat:nth-child(2) { border-inline-start: 1px solid var(--line); }
  .frame { display: none; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-contact { display: block; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-actions { gap: 8px; }
  .brand img { height: 31px; }
  .preloader-logo { height: 34px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-lines .line-inner, .hero-title .line-inner { transform: none; }
  .w { transform: none; }
  .hero-eyebrow.chip, .hero-sub, .hero-actions, .hero-foot { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .badge-ring { animation: none; }
}

/* ---------- Interaction fine-tuning ---------- */
.section, .hero { scroll-margin-top: 84px; }
@media (hover: hover) and (pointer: fine) {
  .service-card.tilt:hover,
  .work-card.tilt:hover {
    transition: transform 0.12s linear, border-color 0.3s, box-shadow 0.3s;
  }
}
