/* =========================================================
   HASHTAG | هاشتاق — Gulf advertising agency
   Visual identity: charcoal + aura gradient (orange → rose → purple → blue)
   ========================================================= */
:root {
  --bg: #1c1c1e;
  --bg-2: #232325;
  --bg-3: #2c2c2e;
  --panel: #3a3a3c;
  --ink: #f4f1ee;
  --muted: #b3afab;
  --dim: #8a8784;
  --orange: #F28C28;
  --rose: #C2667A;
  --purple: #7B4B94;
  --blue: #4B5B95;
  --grad: linear-gradient(115deg, #5d5b8b 0%, #8a5888 28%, #b8667a 52%, #d97a52 74%, #f28c28 100%);
  --grad-v: linear-gradient(180deg, #F2913A 4%, #B86A86 26%, #7E4D8E 42%, #4E5A8A 60%, rgba(46,46,58,.55) 80%, rgba(20,20,22,0) 97%);
  --line: rgba(255,255,255,.22);
  --glass: rgba(255,255,255,.07);
  --radius-xl: 56px;
  --ff-ar: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --ff-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
  --ff-display: "Bebas Neue", "Alexandria", Impact, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --pad: clamp(16px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--orange); color: #111; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.svg-lib { position: absolute; width: 0; height: 0; overflow: hidden; }
[dir="ltr"] { unicode-bidi: isolate; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: #131314;
  display: grid; place-content: center; justify-items: center; gap: 18px;
}
.loader-mark { width: 84px; height: 84px; color: #fff; animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { 50% { transform: scale(.9) rotate(-6deg); } }
.loader-count {
  font-family: var(--ff-display); font-size: clamp(72px, 12vw, 140px); line-height: .9;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr;
}
.loader-bar { width: min(260px, 60vw); height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.loader-tag { margin: 0; font-family: var(--ff-ar); color: var(--muted); font-size: .9rem; letter-spacing: .02em; }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9500; mix-blend-mode: difference; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%,-50%); will-change: transform; }
.cursor-dot { width: 7px; height: 7px; background: #fff; }
.cursor-ring { width: 42px; height: 42px; border: 1.5px solid #fff; transition: width .35s var(--ease), height .35s var(--ease), background .35s; }
.cursor.hover .cursor-ring { width: 76px; height: 76px; background: rgba(255,255,255,.12); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(20,20,22,.62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); padding-block: 12px; border-color: rgba(255,255,255,.08); }
.site-header.hide { transform: translateY(-100%); }
.site-header { transition: transform .5s var(--ease), background .4s, padding .4s; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; color: #fff; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; gap: 2px; }
.brand-text b { font-family: var(--ff-ar); font-weight: 800; font-size: 1.25rem; }
.brand-text small { font-family: var(--ff-ar); font-size: .62rem; letter-spacing: .32em; color: var(--muted); direction: ltr; text-align: end; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 40px); font-family: var(--ff-ar); font-weight: 500; font-size: .95rem; }
.nav a { position: relative; padding: 6px 0; color: #e7e3df; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; inset-inline: 10px; height: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px;
  font-family: var(--ff-ar); font-weight: 600; font-size: .95rem; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.btn svg { width: 20px; height: 20px; }
.btn-grad { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 10px 30px -10px rgba(242,140,40,.6); }
.btn-grad:hover { background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(242,140,40,.75); }
.btn-dark { background: #19191b; color: #fff; }
.btn-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn-dark:hover::before { transform: translateY(0); }

/* ---------- shared ---------- */
.section { position: relative; padding: clamp(110px, 14vh, 160px) var(--pad) clamp(130px, 16vh, 180px); }
.dark { background: linear-gradient(135deg, #2d2d2f 0%, #1f1f21 55%, #2a2a2c 100%); }
.grad-bg { position: relative; background: var(--grad); background-size: 180% 180%; animation: gradShift 18s ease-in-out infinite alternate; overflow: hidden; }
.grad-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: soft-light;
  background: repeating-linear-gradient(118deg, rgba(255,255,255,.08) 0 2px, transparent 2px 9px),
              radial-gradient(ellipse at 20% 80%, rgba(40,40,80,.45), transparent 60%);
}
@keyframes gradShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.grid-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.32) 1.2px, transparent 1.2px), linear-gradient(90deg, rgba(255,255,255,.32) 1.2px, transparent 1.2px);
  background-size: 56px 56px;
}
.grid-pattern.small { background-size: 64px 64px; }

.title {
  margin: 0 0 32px; font-family: var(--ff-ar); font-weight: 800; line-height: 1.12;
  font-size: clamp(38px, 5.4vw, 90px); letter-spacing: -.01em;
}
.title em { display: inline-block; white-space: nowrap; font-style: normal; color: var(--orange); font-weight: 800; letter-spacing: .01em; }
.title.center { text-align: center; }
.dots { display: inline-flex; gap: 12px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: dot 1.6s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 50% { transform: translateY(-6px); opacity: .6; } }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-block: .08em; margin-block: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* page footer (identity element) */
.page-foot {
  position: absolute; inset-inline: 0; bottom: 26px; z-index: 5;
  display: flex; align-items: center; gap: 22px; padding-inline: clamp(16px, 3vw, 44px);
  direction: ltr; pointer-events: none;
}
.page-foot.static { position: relative; bottom: auto; margin-top: 40px; }
.pf-num { font-family: var(--ff-ar); font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; min-width: 2ch; }
.pf-line { flex: 1; height: 1px; background: rgba(255,255,255,.55); transform-origin: left; }
.pf-logo { width: 46px; height: 46px; color: #fff; flex: none; }
.page-foot.light .pf-num { color: #fff; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 38%, #29292c 0%, #18181a 62%, #121213 100%);
}
.ruler {
  position: absolute; left: 0; top: 0; bottom: 0; width: 46px; z-index: 6;
  border-right: 1px solid rgba(255,255,255,.35);
  background: repeating-linear-gradient(to bottom, transparent 0 52px, rgba(255,255,255,.35) 52px 53px);
}
.hero-word {
  position: absolute; inset-inline: 0; top: clamp(70px, 9vh, 120px); z-index: 1;
  margin: 0; text-align: center; white-space: nowrap;
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(120px, 30vw, 620px); line-height: .8; letter-spacing: .005em;
  transform: scaleY(1.3); transform-origin: top center;
  pointer-events: none; user-select: none;
}
.hero-word .hw { display: inline-block; }
.hero-word .ch, .hero-word .hw {
  background: var(--grad-v); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(-1.5px -1.5px 0 rgba(255,255,255,.45));
}
.hero-word .ch { display: inline-block; filter: none; }
.hero-word .hw:has(.ch) { background: none; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-figure {
  position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; margin-inline: auto;
  height: min(84svh, 940px); aspect-ratio: 518 / 729; max-width: 96vw;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
}
.hero-figure picture, .about-figure picture { display: block; width: 100%; height: 100%; }
.hero-figure img, .about-figure img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
/* moody studio grade + brand-colour rim light so the photo sits in the dark identity */
.hero-figure img { filter: brightness(.84) contrast(1.08) saturate(.92); }
.about-figure img { filter: brightness(.9) contrast(1.05); }
/* soft brand-colour glow behind the figure (orange left, purple right) */
.hero-figure::before {
  content: ""; position: absolute; z-index: -1; left: 22%; right: 22%; top: 8%; height: 52%; border-radius: 50%;
  background: radial-gradient(ellipse at 30% 40%, rgba(242,140,40,.55), transparent 60%), radial-gradient(ellipse at 72% 45%, rgba(138,79,176,.6), transparent 62%);
  filter: blur(40px); pointer-events: none;
}
.hero-meta { position: absolute; z-index: 4; bottom: clamp(56px, 9vh, 96px); display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-family: var(--ff-ar); font-weight: 700; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.2; }
.hero-meta span { font-family: var(--ff-ar); font-size: clamp(12px, .95vw, 15px); letter-spacing: .06em; color: #ddd; }
.hero-meta-en { left: clamp(64px, 5vw, 96px); }
.hero-meta-ar { right: clamp(20px, 5vw, 96px); text-align: right; }
.scroll-hint { position: absolute; z-index: 5; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.no-webgl #hero-canvas { background: radial-gradient(circle at 50% 36%, rgba(242,140,40,.35), rgba(123,75,148,.25) 25%, transparent 45%); }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement { min-height: 100svh; display: grid; place-items: center; padding: 120px var(--pad); text-align: center; }
.statement-inner { position: relative; z-index: 2; max-width: 1200px; }
.st-ar { margin: 0 0 18px; font-family: var(--ff-ar); font-weight: 300; font-size: clamp(28px, 4.4vw, 70px); line-height: 1.35; }
.st-ar b, .st-en b { font-weight: 800; }
.st-en { margin: 0; font-family: var(--ff-ar); font-weight: 300; font-size: clamp(24px, 3.9vw, 62px); line-height: 1.3; }
.st-en b { font-family: var(--ff-display); font-weight: 400; font-size: 1.22em; letter-spacing: .02em; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 90px); align-items: center; max-width: 1500px; margin: 0 auto; }
.about-visual { position: relative; aspect-ratio: .88; max-height: 80vh; width: 100%; }
.halo {
  position: absolute; width: 84%; aspect-ratio: 1; left: 8%; top: 4%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(28,28,30,.0) 0 40%, rgba(28,28,30,0) 41%),
    conic-gradient(from 210deg, #3d5aa8, #7b4b94 25%, #b8667a 45%, #f28c28 62%, #c96f4b 75%, #3d5aa8);
  filter: blur(1px) saturate(1.1);
  animation: spin 26s linear infinite;
}
.halo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 46% 54%, rgba(28,28,30,.85) 0%, rgba(28,28,30,.4) 38%, transparent 66%); }
.halo-arc { position: absolute; width: 96%; aspect-ratio: 1; left: 2%; top: -2%; border-radius: 50%; border: 2.5px solid transparent; border-left-color: rgba(255,255,255,.65); filter: blur(.6px) drop-shadow(0 0 10px rgba(255,255,255,.4)); transform: rotate(18deg); animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-figure { position: absolute; bottom: 0; left: 0; right: 0; margin-inline: auto; width: 78%; aspect-ratio: 518/729; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.hero-figure { isolation: isolate; }
.lead-ar { font-family: var(--ff-body); font-size: clamp(15px, 1.12vw, 18px); line-height: 2; color: #e4e0dc; text-align: justify; margin: 0 0 26px; }
.lead-ar b { font-family: var(--ff-ar); font-weight: 700; color: #fff; }
.lead-en { font-family: var(--ff-body); font-size: clamp(14px, 1.05vw, 17px); line-height: 1.85; color: #cfcbc7; text-align: justify; margin: 0 0 40px; }
.lead-en b { font-family: var(--ff-ar); font-weight: 700; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat strong { display: block; font-family: var(--ff-display); font-weight: 400; font-size: clamp(42px, 4.2vw, 72px); line-height: 1; direction: ltr; text-align: right;
  background: linear-gradient(180deg, #F2913A, #B86A86 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { display: block; font-family: var(--ff-ar); font-size: .86rem; color: #ddd; margin-top: 6px; line-height: 1.4; }
.stat small i { display: block; font-style: normal; color: var(--dim); font-size: .74rem; letter-spacing: .08em; }

/* =========================================================
   SERVICES FOLDER
   ========================================================= */
.folder-sec {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: clamp(150px, 20vh, 220px) var(--pad) 140px;
  background: linear-gradient(100deg, #F28C28 0%, #e07f45 18%, #bf6c6e 38%, #8f5784 56%, #5a4870 72%, #2f2b36 88%, #232226 100%);
}
.folder-bg { position: absolute; inset: 0; pointer-events: none; }
.folder-bg .grid-pattern { left: auto; right: 0; width: 56%;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.9) 30%, transparent 100%); mask-image: linear-gradient(to left, rgba(0,0,0,.9) 30%, transparent 100%); }
.folder-wrap { position: relative; max-width: 1080px; margin: 0 auto; perspective: 1600px; }
.folder-side { position: absolute; left: -34px; bottom: 30px; transform: rotate(-90deg); transform-origin: left bottom; font-size: .8rem; letter-spacing: .1em; color: rgba(255,255,255,.75); white-space: nowrap; }
.folder-line { position: absolute; left: -36px; top: -90px; width: 52%; height: calc(100% + 40px); pointer-events: none; }
.folder-line path { fill: none; stroke: rgba(255,255,255,.65); stroke-width: 2; vector-effect: non-scaling-stroke; }
.folder { position: relative; height: clamp(560px, 74vh, 700px); transform-style: preserve-3d; transition: transform .2s ease-out; }
.f-layer, .f-front { position: absolute; inset-inline: 0; bottom: 0; border-radius: 42px; background: var(--c); box-shadow: 0 -18px 40px -18px rgba(0,0,0,.45); }
.f-layer.l3 { top: 70px; } .f-layer.l2 { top: 150px; } .f-layer.l1 { top: 230px; }
.f-layer { background-image: linear-gradient(180deg, rgba(255,255,255,.08), transparent 40%); background-color: var(--c); }
.f-tab {
  position: absolute; top: -66px; height: 68px; padding: 0 34px;
  display: flex; align-items: center; gap: 22px;
  border-radius: 32px 32px 0 0; background: var(--c);
  font-family: var(--ff-ar); font-size: 1.05rem; color: #fff;
  transition: color .3s;
}
.f-tab::before, .f-tab::after { content: ""; position: absolute; bottom: 0; width: 32px; height: 32px; pointer-events: none; }
.f-tab::before { right: -32px; background: radial-gradient(circle at 100% 0, transparent 31.5px, var(--c) 32px); }
.f-tab::after { left: -32px; background: radial-gradient(circle at 0 0, transparent 31.5px, var(--c) 32px); }
.l3 .f-tab { left: 30%; }
.l2 .f-tab { right: 30%; }
.l1 .f-tab { right: 0; }
.l1 .f-tab::before { display: none; }
.f-tab .n { font-family: var(--ff-ar); font-weight: 300; font-size: 1.7rem; line-height: 1; }
.f-tab .en { font-weight: 700; font-size: .95rem; }
.f-tab .ar { font-weight: 600; }
.f-tab.active .n, .f-tab:hover .n { color: var(--orange); }
.f-tab.active .ar { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 10px; text-decoration-thickness: 2px; }
.f-front {
  top: 312px; --c: #2b2b2d; background-color: #2b2b2d;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px), linear-gradient(180deg, rgba(255,255,255,.06), transparent 30%);
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.folder-title { margin: 0; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(44px, 6.4vw, 104px); line-height: 1.15; }
.folder-en { margin: 6px 0 12px; font-family: var(--ff-ar); font-weight: 800; color: var(--orange); font-size: clamp(20px, 2.4vw, 38px); letter-spacing: .02em; }
.folder-desc { margin: 0; max-width: 620px; color: #d8d4cf; font-size: clamp(14px, 1.05vw, 17px); min-height: 3.6em; }
.folder-hash { position: absolute; left: 4%; top: 50%; transform: translateY(-50%) rotate(-8deg); font-family: var(--ff-display); font-size: clamp(160px, 22vw, 360px); line-height: .8;
  background: linear-gradient(160deg, rgba(242,140,40,.55), rgba(123,75,148,.25) 60%, transparent); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; }

/* =========================================================
   WHAT WE DO
   ========================================================= */
.wwd { overflow: hidden; }
.wwd::before { content: ""; position: absolute; width: 60vw; height: 60vw; left: -10vw; bottom: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(242,140,40,.55), rgba(194,102,122,.35) 40%, transparent 70%); filter: blur(40px); pointer-events: none; }
.wwd::after { content: ""; position: absolute; width: 40vw; height: 40vw; right: 20vw; top: 25%; border-radius: 50%; background: radial-gradient(circle, rgba(123,75,148,.5), transparent 70%); filter: blur(50px); pointer-events: none; }
.wwd-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 2.1fr 1fr; grid-template-areas: "head head" "glass sketch"; gap: 40px clamp(32px, 4vw, 70px); max-width: 1500px; margin: 0 auto; align-items: start; }
.wwd-head { grid-area: head; }
.wwd-head .title { margin: 0; }
.glass-panel {
  grid-area: glass; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: clamp(20px, 3vw, 46px); border-radius: var(--radius-xl);
  background: var(--glass); border: 1.5px solid rgba(255,255,255,.24);
  backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 40px 80px -40px rgba(0,0,0,.6);
}
.svc { padding: 26px 18px 22px; border-radius: 28px; text-align: center; transition: transform .5s var(--ease), background .4s; position: relative; }
.svc:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.svc svg { width: 58px; height: 58px; margin: 0 auto 16px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .6s var(--ease); }
.svc:hover svg { stroke: var(--orange); transform: scale(1.08) rotate(-4deg); }
.svc h3 { margin: 0 0 6px; font-family: var(--ff-ar); font-weight: 600; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.45; }
.svc p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; letter-spacing: .02em; }
.sketch { grid-area: sketch; position: relative; padding: 34px 34px 0; }
.sketch-svg { width: 100%; max-width: 280px; margin: 0 auto 50px; overflow: visible; }
.dim { position: absolute; font-size: .7rem; color: rgba(255,255,255,.8); }
.dim::before { content: ""; position: absolute; background: rgba(255,255,255,.7); }
.dim span { position: absolute; background: #262628; padding: 0 6px; direction: ltr; }
.dim-top, .dim-bottom { inset-inline: 34px; height: 1px; }
.dim-top { top: 8px; } .dim-bottom { top: calc(min(100%, 280px * 1.385) + 12px); display: none; }
.dim-top::before, .dim-bottom::before { inset: 0; }
.dim-top span, .dim-bottom span { left: 50%; top: -10px; transform: translateX(-50%); }
.dim-left, .dim-right { top: 34px; width: 1px; height: min(360px, 60%); }
.dim-left { left: 8px; } .dim-right { right: 8px; }
.dim-left::before, .dim-right::before { inset: 0; }
.dim-left span, .dim-right span { top: 50%; left: -12px; transform: translateY(-50%); }
.sketch-ar { font-family: var(--ff-ar); font-weight: 500; font-size: .95rem; line-height: 1.9; margin: 0 0 18px; }
.sketch-en { font-size: .88rem; line-height: 1.8; color: #d4d0cb; margin: 0; }

/* =========================================================
   SECTORS
   ========================================================= */
.sectors { position: relative; background: #2a2a2c; padding-bottom: 120px; overflow: hidden; }
.sectors-top { height: clamp(140px, 22vh, 220px); background: linear-gradient(100deg, #6b5a92 0%, #8a5888 30%, #b8667a 60%, #f28c28 100%); position: relative; }
.sectors-top .grid-pattern { right: auto; width: 26%; -webkit-mask-image: linear-gradient(to right, #000, transparent); mask-image: linear-gradient(to right, #000, transparent); }
.sector-display {
  position: relative; z-index: 2; margin: calc(-1 * clamp(80px, 12vh, 120px)) auto 0; max-width: 1500px; width: calc(100% - 2 * var(--pad));
  background: #333335; border-radius: 64px; padding: clamp(36px, 5vw, 80px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
  background-image: radial-gradient(ellipse at 0% 100%, rgba(242,140,40,.12), transparent 50%);
}
.sector-display::before { content: ""; position: absolute; top: -56px; right: 26%; width: 32%; height: 60px; background: #333335; border-radius: 40px 40px 0 0; }
.sd-title { margin: 0; font-family: var(--ff-ar); font-weight: 700; font-size: clamp(34px, 4.6vw, 78px); line-height: 1.15; }
.sd-en { margin: 4px 0 22px; font-family: var(--ff-ar); font-weight: 800; color: var(--orange); font-size: clamp(26px, 4vw, 66px); line-height: 1; letter-spacing: .01em; }
.sd-desc { margin: 0; color: #dcd8d3; font-size: clamp(14px, 1.08vw, 17px); line-height: 2; max-width: 640px; min-height: 6em; }
.sd-arrow { margin-top: 18px; direction: ltr; text-align: left; font-family: var(--ff-ar); font-size: 1.6rem; letter-spacing: .1em; color: #fff; opacity: .85; }
.sd-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.phone { width: 210px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 9px; background: #0f0f10; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 1.5px #444; transform: rotate(-5deg) translateX(-40px); position: relative; z-index: 2; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #000; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; display: grid; place-content: center; text-align: center; gap: 4px; background: var(--grad); background-size: 200% 200%; transition: background-position 1s var(--ease); }
.ps-tag { font-family: var(--ff-display); font-size: 110px; line-height: .8; color: rgba(255,255,255,.95); }
.ps-word { font-family: var(--ff-ar); font-weight: 800; font-size: 34px; line-height: 1.2; }
.ps-sub { font-size: .62rem; letter-spacing: .4em; direction: ltr; opacity: .85; }
.paper { position: absolute; width: 200px; aspect-ratio: .82; right: 6%; top: 8%; background: #f3f1ee; border-radius: 22px; transform: rotate(8deg); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); display: grid; place-items: center; overflow: hidden; }
.paper span { font-family: var(--ff-display); font-size: 150px; line-height: .8; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper::after { content: ""; position: absolute; top: -14px; left: 26px; width: 22px; height: 78px; border: 3px solid #9b9b9f; border-radius: 14px; transform: rotate(-10deg); }
.tabs-stack { position: relative; z-index: 1; max-width: 1500px; width: calc(100% - 2 * var(--pad)); margin: 60px auto 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
.ts-tab {
  --l: calc(24% + var(--o) * 4.2%);
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: -14px; padding: 26px clamp(22px, 3vw, 46px) 34px;
  border-radius: 40px 40px 0 0; text-align: right;
  background: hsl(240 2% var(--l)); color: #fff;
  box-shadow: 0 -12px 28px -12px rgba(0,0,0,.45);
  transition: transform .5s var(--ease), background .4s;
}
.ts-tab:nth-child(odd) { margin-inline-start: 6%; }
.ts-tab:nth-child(even) { margin-inline-end: 6%; }
.ts-tab .ar { font-family: var(--ff-ar); font-weight: 600; font-size: clamp(15px, 1.4vw, 22px); }
.ts-tab .en { font-family: var(--ff-ar); font-weight: 600; font-size: clamp(12px, 1vw, 16px); opacity: .85; }
.ts-tab:hover { transform: translateY(-6px); }
.ts-tab.active { background: linear-gradient(100deg, #7b4b94, #c2667a 55%, #f28c28); transform: translateY(-10px); z-index: 2; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { position: relative; z-index: 3; overflow: hidden; transform: rotate(-2deg) scale(1.04); margin: -24px 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.mq-row { overflow: hidden; }
.mq-row:first-child { background: var(--grad); }
.mq-row.rev { background: #121213; }
.mq-track { display: flex; width: max-content; animation: mqR 38s linear infinite; }
.mq-row.rev .mq-track { animation-name: mqL; animation-duration: 30s; }
.mq-track span { padding: 14px 32px; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(22px, 3vw, 46px); white-space: nowrap; }
.mq-row.rev .mq-track span { font-family: var(--ff-display); font-weight: 400; font-size: clamp(36px, 5vw, 78px); line-height: 1.15; padding-block: 6px; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.7); }
.mq-row.rev .mq-track span:nth-child(3n) { color: var(--orange); -webkit-text-stroke: 0; }
@keyframes mqR { to { transform: translateX(50%); } }
@keyframes mqL { to { transform: translateX(-50%); } }

/* =========================================================
   WORK DECK
   ========================================================= */
.work { min-height: 100svh; padding: clamp(130px, 18vh, 190px) var(--pad) 170px; background: linear-gradient(110deg, #5d5b8b 0%, #8a5888 30%, #b8667a 55%, #e0804a 80%, #f28c28 100%); background-size: 180% 180%; }
.work-grid-bg { position: absolute; inset: 0 0 0 auto; width: 32%; pointer-events: none; }
.work-grid-bg .grid-pattern { -webkit-mask-image: linear-gradient(to left, #000 20%, transparent); mask-image: linear-gradient(to left, #000 20%, transparent); }
.work-side { position: absolute; left: clamp(14px, 3vw, 40px); bottom: 45%; transform: rotate(-90deg); transform-origin: left bottom; font-size: .82rem; letter-spacing: .12em; white-space: nowrap; color: rgba(255,255,255,.85); }
.work-side.en { bottom: 16%; font-size: .78rem; letter-spacing: .14em; }
.deck { position: relative; max-width: 1150px; height: clamp(520px, 68vh, 660px); margin: 0 auto; }
.d-card { position: absolute; top: 0; height: 100%; border-radius: 52px; text-align: right; }
.d-info {
  right: 0; width: 44%; z-index: 10; padding: clamp(30px, 4vw, 60px);
  background-color: #5f5f61; display: flex; flex-direction: column; justify-content: center;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 2px, transparent 2px 6px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.d-title { margin: 0; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(40px, 5vw, 86px); line-height: 1.15; }
.d-en { margin: 10px 0 20px; font-family: var(--ff-ar); font-weight: 800; color: var(--orange); font-size: clamp(24px, 3vw, 46px); line-height: 1; }
.d-ar { margin: 0 0 14px; font-size: clamp(13px, 1vw, 16px); line-height: 1.95; color: #f1eeea; }
.d-en2 { margin: 0 0 26px; font-size: clamp(12px, .95vw, 15px); line-height: 1.7; color: #dedad6; text-align: left; }
.d-info .dots { align-self: center; }
.d-proj {
  width: 38%; right: calc(10% + var(--i) * 12%); z-index: calc(10 - var(--i));
  background: #ebebed; padding: 0;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.55);
  transition: transform .7s var(--ease), box-shadow .5s;
}
.d-proj:hover, .d-proj:focus-visible { transform: translateX(-46px) rotate(-2.5deg); box-shadow: 0 40px 80px -24px rgba(0,0,0,.7); }
.d-tab {
  position: absolute; left: -44px; top: 34%; width: 46px; height: 250px;
  background: #ebebed; border-radius: 24px 0 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  writing-mode: vertical-rl; transform: rotate(180deg); border-radius: 0 24px 24px 0;
  font-family: var(--ff-ar); font-size: .74rem; color: #222; white-space: nowrap;
}
.d-tab b { color: var(--orange); font-weight: 600; }
.cover { position: absolute; inset: 20px; border-radius: 34px; overflow: hidden; display: block; color: #fff; }
.cv-word { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); font-family: var(--ff-ar); font-weight: 900; font-size: clamp(54px, 6vw, 100px); line-height: 1; white-space: nowrap; }
.cv-sub { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-size: .7rem; letter-spacing: .4em; opacity: .85; }
.cv-ramadan { background: radial-gradient(circle at 70% 20%, #2b3b7a, #10173a 60%, #0a0f26); }
.cv-ramadan::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,230,170,.7) 1px, transparent 1.5px); background-size: 38px 38px; opacity: .4; }
.cv-moon { position: absolute; width: 110px; height: 110px; top: 12%; right: 18%; border-radius: 50%; box-shadow: -24px 12px 0 0 #f3c86e; transform: rotate(-20deg); filter: drop-shadow(0 0 22px rgba(243,200,110,.5)); }
.cv-lantern { position: absolute; top: 0; width: 34px; height: 54px; border-radius: 10px 10px 16px 16px; background: linear-gradient(#f3c86e, #b98431); box-shadow: 0 0 30px rgba(243,200,110,.55); }
.cv-lantern::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1.5px; height: 90px; background: rgba(243,200,110,.7); }
.cv-lantern.l1 { left: 18%; top: 110px; } .cv-lantern.l2 { left: 38%; top: 60px; transform: scale(.75); }
.cv-ramadan .cv-word { color: #f3c86e; }
.cv-national { background: linear-gradient(160deg, #13804f, #075232 60%, #03311d); }
.cv-national::before { content: ""; position: absolute; inset: 0; background-image: repeating-conic-gradient(from 45deg, rgba(255,255,255,.07) 0 25%, transparent 0 50%); background-size: 46px 46px; }
.cv-palm { position: absolute; width: 180%; height: 180%; left: -40%; top: -40%; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(255,255,255,.06) 30.5% 31%, transparent 31.5% 40%, rgba(255,255,255,.06) 40.5% 41%, transparent 41.5%); }
.cv-food { background: #ef5a24; }
.cv-food .blob { position: absolute; background: #ffd9a0; }
.cv-food .b1 { width: 70%; height: 46%; left: -20%; top: -10%; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; opacity: .9; }
.cv-food .b2 { width: 60%; height: 40%; right: -18%; bottom: -8%; border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; background: #8a4fb0; }
.cv-food .cv-word { color: #fff2dc; font-size: clamp(64px, 7.4vw, 120px); transform: translate(-50%, -50%) rotate(-8deg); text-shadow: 6px 6px 0 #b8371a; }
.cv-estate { background: linear-gradient(180deg, #1c2029 0%, #2d3240 60%, #3c4152 100%); }
.cv-estate .skyline { position: absolute; inset: auto 0 0 0; height: 55%;
  background:
    linear-gradient(#11141b, #11141b) 6% 100% / 12% 62% no-repeat,
    linear-gradient(#151923, #151923) 20% 100% / 10% 88% no-repeat,
    linear-gradient(#0f1218, #0f1218) 34% 100% / 14% 48% no-repeat,
    linear-gradient(#171b25, #171b25) 52% 100% / 9% 100% no-repeat,
    linear-gradient(#10131a, #10131a) 66% 100% / 13% 70% no-repeat,
    linear-gradient(#141822, #141822) 84% 100% / 11% 84% no-repeat,
    repeating-linear-gradient(0deg, rgba(217,178,111,.35) 0 2px, transparent 2px 14px);
}
.cv-estate .cv-word { color: #d9b26f; top: 32%; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(10,10,12,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lb-panel { position: relative; width: min(1100px, 100%); max-height: 92svh; overflow: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #2b2b2d; border-radius: 40px; border: 1px solid rgba(255,255,255,.14); }
.lb-cover { position: relative; min-height: 520px; }
.lb-cover .cover { inset: 16px; }
.lb-info { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.lb-info h3 { margin: 0; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.2; }
.lb-en { color: var(--orange); font-family: var(--ff-ar); font-weight: 800; margin: 4px 0 18px; font-size: 1.2rem; }
.lb-info p { color: #dad6d1; line-height: 1.95; }
.lb-tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lb-tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: .8rem; }
.lb-close { position: absolute; top: 16px; left: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.45); font-size: 28px; line-height: 1; }
.deck-hint { text-align: center; margin: 34px 0 0; font-family: var(--ff-ar); font-size: .85rem; opacity: .85; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-track { position: relative; max-width: 1400px; margin: 70px auto 0; }
.process-path { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 220px; }
.steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { padding: 0 6px; }
.step:nth-child(even) { margin-top: 120px; }
.s-num { display: block; font-family: var(--ff-display); font-size: clamp(64px, 7vw, 110px); line-height: 1; color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.75); text-align: right; transition: color .5s; }
.step:hover .s-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.step h3 { margin: 8px 0 0; font-family: var(--ff-ar); font-weight: 700; font-size: clamp(22px, 2vw, 32px); }
.step .s-en { margin: 0 0 10px; color: var(--orange); font-family: var(--ff-ar); font-weight: 700; font-size: .9rem; text-align: right; }
.step p { margin: 0; color: #cfcbc6; font-size: .95rem; line-height: 1.9; }

/* =========================================================
   GCC
   ========================================================= */
.gcc-head { max-width: 1400px; margin: 0 auto 50px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: end; }
.gcc-head .title { margin: 0; }
.gcc-lead { margin: 0; color: #d6d2cd; font-size: clamp(14px, 1.1vw, 17px); line-height: 2; }
.gcc-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.country {
  position: relative; padding: 32px 32px 28px; border-radius: 36px;
  background: var(--glass); border: 1.5px solid rgba(255,255,255,.16);
  overflow: hidden; transition: transform .6s var(--ease), border-color .4s;
}
.country::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .5s; z-index: 0; }
.country > * { position: relative; z-index: 1; }
.country:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.4); }
.country:hover::before { opacity: .9; }
.flag { direction: ltr; display: flex; width: 54px; height: 8px; border-radius: 6px; overflow: hidden; margin-bottom: 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.flag i { flex: 1; background: var(--f1); }
.flag i:nth-child(2) { background: var(--f2); } .flag i:nth-child(3) { background: var(--f3); }
.flag.uae { position: relative; }
.flag.uae::before { content: ""; width: 14px; background: var(--f4); flex: none; }
.country h3 { margin: 0; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.2; }
.country p { margin: 0 0 14px; font-family: var(--ff-ar); color: var(--orange); font-weight: 600; font-size: .9rem; text-align: right; transition: color .4s; }
.country:hover p { color: #fff; }
.country small { color: #d3cfca; font-size: .9rem; }

/* =========================================================
   AURA
   ========================================================= */
.aura { min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: linear-gradient(90deg, #444446 0%, #2e2e30 50%, #333335 100%); }
#aura-canvas, .aura-fallback { position: absolute; inset: 0; margin: auto; width: min(78svh, 92vw); height: min(78svh, 92vw); }
.aura-fallback { border-radius: 50%; background: linear-gradient(200deg, #f28c28, #c66f6e 45%, #8a5a8a 80%, #6a5a8c); z-index: 0; }
.webgl-aura .aura-fallback { display: none; }
.aura-copy { position: relative; z-index: 2; max-width: 1000px; text-align: center; padding: 0 16px; }
.aura-ar { margin: 0 0 30px; font-family: var(--ff-ar); font-weight: 600; font-size: clamp(20px, 2.3vw, 36px); line-height: 1.85; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.aura-en { margin: 0 0 30px; font-family: var(--ff-ar); font-weight: 500; font-size: clamp(15px, 1.6vw, 25px); line-height: 1.8; text-shadow: 0 2px 20px rgba(0,0,0,.25); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: clamp(120px, 16vh, 170px) var(--pad); }
.contact-grid { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact-title { margin: 0; font-family: var(--ff-ar); font-weight: 800; font-size: clamp(44px, 6.4vw, 112px); line-height: 1.12; }
.contact-title b { display: inline-block; color: #19191b; font-weight: 900; }
.contact-en { margin: 8px 0 18px; font-family: var(--ff-display); font-size: clamp(28px, 3.4vw, 54px); letter-spacing: .03em; line-height: 1; color: rgba(255,255,255,.9); }
.contact-lead { margin: 0 0 34px; font-size: clamp(15px, 1.2vw, 19px); color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 520px; }
.contact-list a, .contact-list .cl-loc { display: grid; grid-template-columns: 44px auto 1fr; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 22px; background: rgba(20,20,22,.22); border: 1px solid rgba(255,255,255,.2); transition: background .3s, transform .4s var(--ease); }
.contact-list a:hover { background: rgba(20,20,22,.45); transform: translateX(-6px); }
.contact-list svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(255,255,255,.16); fill: currentColor; }
.contact-list span { font-family: var(--ff-ar); font-weight: 600; }
.contact-list b { font-weight: 500; text-align: left; font-size: .95rem; opacity: .95; }
.contact-form { padding: clamp(24px, 3vw, 44px); border-radius: 44px; background: rgba(24,24,26,.6); border: 1.5px solid rgba(255,255,255,.18); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); display: grid; gap: 16px; }
.field label { display: block; font-family: var(--ff-ar); font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 18px; border-radius: 18px; border: 1.5px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .95rem; outline: none;
  transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); background: rgba(255,255,255,.1); }
.field input::placeholder, .field textarea::placeholder { color: #8f8b88; }
.field input.invalid { border-color: #ff6b6b; }
.phone-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.phone-row select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.phone-row select option { background: #222; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2); font-family: var(--ff-ar); font-size: .84rem; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip.on { background: var(--grad); border-color: transparent; }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-msg:empty { display: none; }
.form-msg { margin: 0; font-size: .88rem; min-height: 1.4em; color: #ffd9b0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #121213; padding: 80px var(--pad) 36px; position: relative; overflow: hidden; }
.site-footer::before { content: "#"; position: absolute; left: -2vw; bottom: -8vw; font-family: var(--ff-display); font-size: 40vw; line-height: .8; color: rgba(255,255,255,.025); pointer-events: none; }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand.big .brand-mark { width: 60px; height: 60px; }
.brand.big .brand-text b { font-size: 2rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.2); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-4px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.ft-links { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 40px; font-family: var(--ff-ar); color: #cfcbc6; }
.ft-links a:hover { color: var(--orange); }
.ft-copy { margin: 18px 0 0; color: var(--dim); font-size: .82rem; text-align: center; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 950; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .glass-panel { grid-template-columns: repeat(2, 1fr); }
  .wwd-grid { grid-template-columns: 1.4fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .d-proj { width: 42%; right: calc(4% + var(--i) * 12%); }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 18px; font-size: 1.6rem; font-weight: 700; background: rgba(18,18,19,.97); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav-cta-mobile { display: block; color: var(--orange) !important; }
  .burger { display: block; }
  .header-cta { display: none; }
  .about-grid, .contact-grid, .sector-display, .gcc-head { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; margin: 0 auto; }
  .wwd-grid { grid-template-columns: 1fr; grid-template-areas: "head" "glass" "sketch"; }
  .sketch { display: grid; grid-template-columns: 160px 1fr; gap: 0 24px; align-items: start; padding: 20px 0 0; }
  .sketch .dim { display: none; }
  .sketch-svg { grid-row: span 2; margin: 0; }
  .sector-display::before { display: none; }
  .sd-visual { min-height: 360px; }
  .tabs-stack { grid-template-columns: 1fr; }
  .ts-tab:nth-child(odd), .ts-tab:nth-child(even) { margin-inline: 0; }
  .ts-tab:nth-child(odd) { margin-inline-start: 4%; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(even) { margin-top: 60px; }
  .process-path { display: none; }
  .gcc-grid { grid-template-columns: 1fr 1fr; }
  .folder-line, .folder-side { display: none; }
  .lb-panel { grid-template-columns: 1fr; }
  .lb-cover { min-height: 340px; }

  /* deck -> swipe row */
  .deck { height: auto; display: flex; flex-direction: column; gap: 18px; }
  .d-card { position: relative; width: 100% !important; right: auto !important; height: auto; }
  .d-info { padding: 34px 28px; }
  .d-proj-row { display: flex; }
  .deck { overflow: visible; }
  .d-proj { height: 420px; transform: none !important; }
  .d-tab { display: none; }
  .work-side { display: none; }
}
@media (max-width: 760px) {
  .ruler { width: 22px; background: repeating-linear-gradient(to bottom, transparent 0 32px, rgba(255,255,255,.3) 32px 33px); }
  .hero-word { font-size: 31vw; transform: scaleY(1.9); top: 92px; }
  .hero-figure { height: 62svh; }
  .hero-meta { bottom: 60px; }
  .hero-meta strong { font-size: 15px; }
  .hero-meta span { font-size: 10.5px; }
  .hero-meta-en { left: 32px; }
  .hero-meta-ar { right: 16px; }
  .folder { height: 560px; }
  .f-layer.l3 { top: 56px; } .f-layer.l2 { top: 132px; } .f-layer.l1 { top: 208px; }
  .f-front { top: 284px; border-radius: 32px; }
  .f-tab { height: 58px; top: -56px; padding: 0 18px; gap: 10px; font-size: .82rem; border-radius: 24px 24px 0 0; }
  .f-tab .n { font-size: 1.15rem; }
  .f-tab .en { display: none; }
  .l3 .f-tab { left: 8%; } .l2 .f-tab { right: 22%; }
  .f-tab::before, .f-tab::after { width: 24px; height: 24px; }
  .f-tab::before { right: -24px; background: radial-gradient(circle at 100% 0, transparent 23.5px, var(--c) 24px); }
  .f-tab::after { left: -24px; background: radial-gradient(circle at 0 0, transparent 23.5px, var(--c) 24px); }
  .f-layer, .f-front { border-radius: 30px; }
  .glass-panel { border-radius: 36px; gap: 6px; padding: 14px; }
  .svc { padding: 20px 8px 16px; }
  .svc svg { width: 46px; height: 46px; }
  .sketch { grid-template-columns: 110px 1fr; }
  .sector-display { border-radius: 40px; padding: 30px 22px; }
  .phone { width: 170px; transform: rotate(-5deg) translateX(-20px); }
  .paper { width: 150px; right: 2%; }
  .paper span { font-size: 110px; }
  .ts-tab { padding: 22px 22px 30px; border-radius: 30px 30px 0 0; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { margin-top: 0; }
  .gcc-grid { grid-template-columns: 1fr; }
  .country { padding: 26px; border-radius: 28px; }
  .d-proj { height: 360px; border-radius: 40px; }
  .cover { inset: 14px; border-radius: 28px; }
  .page-foot { bottom: 16px; gap: 14px; }
  .pf-logo { width: 34px; height: 34px; }
  .contact-form { border-radius: 32px; }
  .phone-row { grid-template-columns: 112px 1fr; }
  .contact-list a, .contact-list .cl-loc { grid-template-columns: 40px auto 1fr; padding: 10px 12px; }
  .contact-list b { font-size: .82rem; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

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

/* links added for the page network */
a.svc, a.country { display: block; color: inherit; }
.explore .p-chips a { font-size: .86rem; }
