/* =========================================================
   Mazen Magdy — Brand UI
   Black · Purple · Orange · White
   ========================================================= */
:root {
  --bg: #07050c;
  --bg-2: #0d0916;
  --bg-3: #140e22;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f6f3fb;
  --muted: #a7a0b8;
  --muted-2: #6f6882;
  --purple: #8b3dff;
  --purple-2: #6a1fe0;
  --purple-3: #b98bff;
  --orange: #ff6a00;
  --orange-2: #ff9a3d;
  --white: #ffffff;
  --grad: linear-gradient(115deg, #8b3dff 0%, #c13cff 38%, #ff6a00 100%);
  --grad-soft: linear-gradient(115deg, rgba(139, 61, 255, .22), rgba(255, 106, 0, .18));
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.65, 0, .35, 1);
  --container: 1260px;
  --gutter: clamp(20px, 5.5vw, 72px);
  --header-h: 78px;
  --f-display: 'Syne', 'Cairo', system-ui, sans-serif;
  --f-body: 'Manrope', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
html[lang="ar"] {
  --f-display: 'Handicrafts', 'Cairo', 'Syne', system-ui, sans-serif;
  --f-body: 'Handicrafts', 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html[lang="ar"] body { line-height: 1.85; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; inset-inline-start: 16px; z-index: 300; background: var(--orange); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .3s; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h3, h4 { letter-spacing: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-2);
}
html[lang="ar"] .eyebrow { letter-spacing: .02em; font-size: 15px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow .dot { display: none; }
.sec-title { font-size: clamp(28px, 3.9vw, 52px); }
.lead { font-size: clamp(16.5px, 1.3vw, 18.5px); color: #d6cfe3; line-height: 1.75; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap; isolation: isolate; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
html[dir="rtl"] .btn svg:not(.no-flip), html[dir="rtl"] .link-arrow svg, html[dir="rtl"] .p-arrow svg, html[dir="rtl"] .cat-go svg, html[dir="rtl"] .chip-link svg { transform: scaleX(-1); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 40px -10px rgba(255, 106, 0, .55), 0 6px 30px -12px rgba(139, 61, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover svg { transform: translateX(4px); }
html[dir="rtl"] .btn-primary:hover svg { transform: scaleX(-1) translateX(4px); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 154, 61, .7); background: rgba(255, 106, 0, .08); transform: translateY(-2px); }
.btn .pbtn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); margin-inline-start: -12px; }
.btn .pbtn svg { width: 14px; height: 14px; color: #fff; transform: none !important; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--orange-2); margin-top: 28px; }
.link-arrow svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .3s; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--orange); border-color: var(--orange); }
[data-slide-prev] svg { transform: scaleX(-1); }
html[dir="rtl"] [data-slide-prev] svg { transform: none; }
html[dir="rtl"] [data-slide-next] svg { transform: scaleX(-1); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: transform .5s var(--ease), background-color .4s, border-color .4s, height .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7, 5, 12, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); --header-h: 68px; height: 68px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 44px; height: auto; filter: drop-shadow(0 4px 16px rgba(255, 106, 0, .35)); transition: transform .6s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.brand-text small { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #d9d3e6; transition: .3s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.is-active > a { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav > ul > li.is-active > a { box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .45); }
.chev svg { width: 14px; height: 14px; transition: transform .3s; }
.has-sub:hover .chev svg, .has-sub:focus-within .chev svg { transform: rotate(180deg); }
.sub-menu { position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; translate: -50% 0; min-width: 270px; padding: 10px; border-radius: 18px; background: rgba(16, 11, 26, .92); border: 1px solid var(--line-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .35s var(--ease); }
html[dir="rtl"] .sub-menu { translate: 50% 0; }
.sub-menu::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu ul { list-style: none; margin: 0; padding: 0; }
.sub-link { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #ddd6ea; transition: .25s; }
.sub-link:hover { background: var(--grad-soft); color: #fff; }
.sub-count { font-size: 12px; color: var(--muted); padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: .3s; }
.lang-toggle svg { width: 18px; height: 18px; color: var(--orange-2); transition: transform .8s var(--ease); }
.lang-toggle:hover { border-color: var(--orange); background: rgba(255, 106, 0, .08); }
.lang-toggle:hover svg { transform: rotate(180deg); }
.lang-toggle span { font-family: 'Cairo', var(--f-body); }
html[lang="ar"] .lang-toggle span { font-family: 'Manrope', sans-serif; }
.lt-short { display: none; font-size: 15px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-toggle i { position: absolute; inset-inline-start: 13px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .4s var(--ease); }
.menu-toggle i:nth-of-type(1) { top: 18px; }
.menu-toggle i:nth-of-type(2) { top: 26px; width: 13px; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-of-type(2) { top: 22px; width: 20px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: radial-gradient(120% 80% at 100% 0%, rgba(139, 61, 255, .35), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(255, 106, 0, .25), transparent 60%), rgba(7, 5, 12, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding-top: calc(var(--header-h) + 20px); overflow-y: auto; opacity: 0; transition: opacity .45s var(--ease); }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu-inner { display: flex; flex-direction: column; min-height: calc(100% - 20px); padding-bottom: 32px; }
.mm-main { list-style: none; margin: 0; padding: 0; }
.mm-main li { opacity: 0; transform: translateY(24px); transition: .6s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.mobile-menu.is-open .mm-main li { opacity: 1; transform: none; }
.mm-main a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 11vw, 64px); line-height: 1.25; padding: 4px 0; }
.mm-main a small { font-family: var(--f-body); font-size: 13px; color: var(--orange-2); font-weight: 700; }
.mm-main a[aria-current] { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.mm-sub { list-style: none; margin: 28px 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.mm-sub a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14px; font-weight: 600; }
.mm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; color: var(--muted); }

/* ---------- socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .35s var(--ease); }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: calc(var(--header-h) + 30px) 0 140px; isolation: isolate; }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .gl { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero .gl.is-ready { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 72% 45%, rgba(139, 61, 255, .32), transparent 70%), radial-gradient(40% 50% at 85% 75%, rgba(255, 106, 0, .22), transparent 70%), var(--bg); }
html[dir="rtl"] .hero::before { background: radial-gradient(60% 70% at 28% 45%, rgba(139, 61, 255, .32), transparent 70%), radial-gradient(40% 50% at 15% 75%, rgba(255, 106, 0, .22), transparent 70%), var(--bg); }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(7, 5, 12, .85) 0%, rgba(7, 5, 12, .35) 45%, transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
html[dir="rtl"] .hero-vignette { background: linear-gradient(270deg, rgba(7, 5, 12, .85) 0%, rgba(7, 5, 12, .35) 45%, transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
.hero-inner { position: relative; }
.hero-copy { max-width: 820px; }
.hero-title { font-size: clamp(52px, 8.2vw, 132px); line-height: .92; letter-spacing: -.04em; margin: 0 0 22px; font-weight: 800; }
html[lang="ar"] .hero-title { font-size: clamp(60px, 9.5vw, 150px); line-height: 1.12; letter-spacing: 0; font-weight: 700; }
.ht-line { display: block; width: max-content; max-width: 100%; padding-inline-end: .06em; }
.ht-line:first-child { background: linear-gradient(180deg, #fff 30%, #d9cdf0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* second line: solid brand gradient (a stroke on Syne shows the glyphs' overlapping contours) */
.hero-title { --name-grad: linear-gradient(180deg, #d9c4ff 0%, #a76bff 42%, #8b3dff 70%, #6f24ea 100%); }
/* Arabic descenders (ي ج) sit below the line box: give the gradient room so they are not clipped */
html[lang="ar"] .ht-line { padding-block: .04em .3em; margin-bottom: -.3em; }
.ht-outline { position: relative; background: var(--name-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; }
.hero-role { font-family: var(--f-display); font-size: clamp(18px, 1.9vw, 25px); font-weight: 700; margin: 0 0 6px; }
.hero-rotator { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; margin: 0 0 18px; height: 1.6em; overflow: hidden; }
.rot-label { color: var(--orange); }
.rot { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .5s var(--ease), opacity .5s; }
.rot.is-out { transform: translateY(-100%); opacity: 0; }
.rot.is-in { transform: translateY(100%); opacity: 0; transition: none; }
.hero-tag { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bottom { position: absolute; inset: auto 0 34px 0; margin-inline: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 54px); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; line-height: 1; }
.hero-stats div > span { font-size: 13px; color: var(--muted); margin-top: 6px; }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; position: relative; }
.scroll-cue i::after { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--orange); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1 } 80% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }
/* split letters */
.ht-line.is-split { white-space: nowrap; opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; background: none !important; -webkit-text-stroke: 0; }
.ht-line.is-split .ch { display: inline-block; opacity: 0; transform: translateY(70%) rotate(8deg) scale(.9); filter: blur(10px); }
.ht-line:first-child.is-split .ch { background: linear-gradient(180deg, #fff 30%, #d9cdf0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ht-outline.is-split .ch { -webkit-text-stroke: 0; background: var(--name-grad); background-size: var(--bw, 100%) 100%; background-position: var(--bx, 0) 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-loaded .ht-line.is-split .ch { animation: chIn 1.1s var(--ease) forwards; animation-delay: calc(250ms + var(--i) * 55ms); }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.ht-line.is-split .ch:hover { color: var(--orange); -webkit-text-stroke-color: var(--orange); background: none; transition: color .2s; }
.ht-outline.is-split .ch:hover { color: #fff; background: none; }
.hero-actions .btn { transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, border-color .3s, color .3s, translate .35s var(--ease); }
.hero-in { opacity: 0; transform: translateY(40px); filter: blur(8px); }
.is-loaded .hero-in { animation: heroIn 1.2s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

/* quick bar (availability + shortcuts + direct contact) */
.quickbar { position: relative; z-index: 2; margin-top: 4px; display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; padding: 12px 12px 12px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(139, 61, 255, .16), rgba(255, 106, 0, .08)), rgba(13, 9, 22, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 70px -35px rgba(139, 61, 255, .7); }
html[dir="rtl"] .quickbar { padding: 12px 22px 12px 12px; }
.qb-status { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.qb-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: qbPulse 2s infinite; }
@keyframes qbPulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.qb-links { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; justify-content: center; }
.qb-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #d9d1e8; transition: background-color .3s, color .3s; white-space: nowrap; }
.qb-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.qb-actions { display: flex; gap: 8px; }
.qb-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; min-width: 44px; justify-content: center; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: .35s var(--ease); }
.qb-btn svg { width: 19px; height: 19px; flex: none; }
.qb-btn.is-wa { background: var(--grad); border-color: transparent; }
.qb-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(255, 106, 0, .6); }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(70px, 9vw, 130px); }
.section-tight { padding-block: clamp(40px, 5vw, 70px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .eyebrow { width: 100%; margin-bottom: -8px; }
.sec-head .sec-title { flex: 1 1 420px; }
.slider-ctrl { display: flex; gap: 10px; }

/* reel */
.reel-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.reel-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 100px -40px rgba(139, 61, 255, .6); }
.reel-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; transform: scale(1.06); }
.reel-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 5, 12, .8)); }
.reel-badge { position: absolute; z-index: 2; inset-inline-start: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: rgba(7, 5, 12, .6); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.reel-badge b { font-family: var(--f-display); font-size: 34px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reel-badge small { font-size: 13px; color: var(--muted); max-width: 90px; line-height: 1.3; }
.reel-copy .sec-title { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 22px; }
.reel-copy .yt { margin-top: 30px; }

/* YouTube lite */
.yt { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #000; aspect-ratio: 16/9; box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .9); border: 1px solid var(--line); }
.yt.is-vertical { aspect-ratio: 9/16; }
.yt-btn { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.95) brightness(.85); }
.yt-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .75)); }
.yt:hover .yt-btn img { transform: scale(1.05); filter: none; }
.yt-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 15px 40px rgba(255, 106, 0, .5); transition: transform .5s var(--ease), box-shadow .5s; }
.yt-play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.yt:hover .yt-play { transform: scale(1.12); box-shadow: 0 0 0 16px rgba(255, 255, 255, .06), 0 15px 50px rgba(255, 106, 0, .7); }
.yt.is-vertical .yt-play { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.yt-title { position: absolute; z-index: 2; inset: auto 14px 12px; font-size: 13.5px; font-weight: 600; line-height: 1.35; text-align: start; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #f1ecf9; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-video { border-radius: var(--radius); }
.reel-video .yt-play { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.reel-video .yt-title { font-size: 16px; inset: auto 22px 18px; }

/* category cards */
.cat-grid { display: grid; gap: 18px; }
.cat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cat-grid-port { grid-template-columns: repeat(6, 1fr); }
.cat-grid-port .cat-card { grid-column: span 2; }
.cat-grid-port .cat-card.is-big { grid-column: span 3; aspect-ratio: 16/11; }
.cat-card { position: relative; display: block; aspect-ratio: 3/4.4; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--bg-3); transform-style: preserve-3d; }
.cat-media { position: absolute; inset: 0; z-index: -2; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.cat-card:hover .cat-media img { transform: scale(1.12); filter: saturate(1.15); }
.cat-grad { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 5, 12, .1) 20%, rgba(7, 5, 12, .55) 55%, rgba(7, 5, 12, .95) 100%); transition: opacity .5s; }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad); mix-blend-mode: color; opacity: 0; transition: opacity .6s var(--ease); }
.cat-card:hover::after { opacity: .35; }
.cat-num { position: absolute; top: 18px; inset-inline-start: 20px; font-family: var(--f-display); font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(7, 5, 12, .5); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cat-body { position: absolute; inset: auto 0 0 0; padding: 24px; display: flex; flex-direction: column; gap: 8px; transform: translateZ(40px); }
.cat-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.15; }
.cat-grid-port .cat-card.is-big .cat-title { font-size: clamp(22px, 2vw, 30px); }
.cat-desc { font-size: 14px; color: #cfc6de; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .4s; }
.cat-card:hover .cat-desc, .cat-card:focus-visible .cat-desc { color: #fff; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--orange-2); padding-top: 12px; border-top: 1px solid var(--line-2); margin-top: 4px; }
.cat-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; transition: .4s var(--ease); }
.cat-go svg { width: 18px; height: 18px; }
.cat-card:hover .cat-go { background: var(--orange); color: #fff; transform: rotate(-45deg); }
html[dir="rtl"] .cat-card:hover .cat-go { transform: rotate(45deg); }
.cat-mini, .chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip-link { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; transition: .35s var(--ease); background: var(--surface); }
.chip-link svg { width: 18px; height: 18px; color: var(--orange-2); transition: transform .4s var(--ease); }
.chip-link:hover { border-color: var(--purple); background: var(--grad-soft); }
.chip-link:hover svg { transform: translateX(4px); }

/* tilt */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear; }

/* numbers */
.numbers { background: linear-gradient(180deg, transparent, rgba(139, 61, 255, .06) 50%, transparent); }
.num-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.num { min-width: 0; padding: 30px clamp(14px, 2vw, 26px) 10px; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.num:last-child { border-inline-end: 0; }
.num-val { display: inline-flex; align-items: baseline; width: max-content; max-width: 100%; padding-inline-end: .08em; font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3vw, 46px); line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; direction: ltr; background: linear-gradient(100deg, #a46bff 0%, #d24dff 50%, #ff7a1a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
html[dir="rtl"] .num-val { align-self: flex-start; }
.num-label { color: var(--muted); font-weight: 600; font-size: 15px; }

/* partners marquee */
.marquee { direction: ltr; overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; direction: ltr; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 58s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { flex: none; width: 170px; height: 110px; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 14px; transition: transform .5s var(--ease), box-shadow .5s; }
.logo-chip img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; transition: .5s; }
.logo-chip:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -15px rgba(255, 106, 0, .6); }
.logo-chip:hover img { filter: none; opacity: 1; }
.partners .container + .marquee { margin-top: 6px; }

/* testimonials */
.t-slider { overflow-x: auto; scrollbar-width: none; padding: 10px 0 30px; -webkit-overflow-scrolling: touch; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
html[dir="rtl"] .t-card { direction: rtl; }
.t-slider.is-auto .t-track { padding-inline: var(--gutter); }
.t-slider::-webkit-scrollbar { display: none; }
.t-track { display: flex; gap: 20px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); width: max-content; }
.t-card { width: min(440px, 84vw); flex: none; display: flex; flex-direction: column; padding: 32px 30px 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.t-card:hover { border-color: rgba(139, 61, 255, .55); transform: translateY(-6px); }
.t-card::before { content: ''; position: absolute; width: 220px; height: 220px; inset-inline-end: -80px; top: -80px; background: radial-gradient(circle, rgba(139, 61, 255, .35), transparent 70%); pointer-events: none; }
.t-quote svg { width: 38px; height: 38px; color: var(--orange); margin-bottom: 16px; }
.t-title { font-size: 18.5px; line-height: 1.35; margin-bottom: 12px; letter-spacing: -.01em; }
.t-text { color: #cdc5dc; font-size: 15.5px; line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.t-person { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.t-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--orange); }
.t-person b { display: block; font-size: 16px; }
.t-person small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.t-orig { position: absolute; top: 26px; inset-inline-end: 26px; font-size: 12px; font-weight: 700; color: var(--muted); border-bottom: 1px dashed var(--muted-2); }
.t-orig:hover { color: var(--orange-2); }

/* page hero */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 80px) 0 70px; overflow: hidden; isolation: isolate; }
.page-hero .gl { z-index: -2; opacity: .9; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -4; background: radial-gradient(70% 90% at 85% 10%, rgba(139, 61, 255, .3), transparent 65%), radial-gradient(50% 60% at 10% 100%, rgba(255, 106, 0, .16), transparent 70%), var(--bg); }
.ph-bg { position: absolute; inset: 0; z-index: -3; }
/* backdrop photos keep their top (heads) in frame, start below the header bar and fade in under it */
.ph-bg { top: calc(var(--header-h) - 10px); }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; opacity: .38; filter: saturate(1.1); }
.page-hero.has-photo { min-height: 78vh; }
.page-hero.has-photo .ph-bg img { opacity: .6; object-position: 50% 0%; }
/* the person always stands on the side opposite the text (mirrored when needed) */
html[dir="ltr"] .ph-bg.face-left img, html[dir="rtl"] .ph-bg.face-right img { transform: scaleX(-1); }
.ph-fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) calc(var(--header-h) - 10px), rgba(7, 5, 12, 0) calc(var(--header-h) + 90px)), linear-gradient(0deg, var(--bg) 2%, rgba(7, 5, 12, .55) 45%, rgba(7, 5, 12, .15)), linear-gradient(90deg, rgba(7, 5, 12, .8), transparent 70%); }
html[dir="rtl"] .ph-fade { background: linear-gradient(180deg, var(--bg) calc(var(--header-h) - 10px), rgba(7, 5, 12, 0) calc(var(--header-h) + 90px)), linear-gradient(0deg, var(--bg) 2%, rgba(7, 5, 12, .55) 45%, rgba(7, 5, 12, .15)), linear-gradient(270deg, rgba(7, 5, 12, .8), transparent 70%); }
.ph-inner { position: relative; }
.ph-title { font-size: clamp(38px, 6.2vw, 92px); line-height: 1; letter-spacing: -.03em; max-width: 1000px; margin-bottom: 18px; }
html[lang="ar"] .ph-title { line-height: 1.2; letter-spacing: 0; }
.project-hero .ph-title { font-size: clamp(30px, 3.9vw, 58px); line-height: 1.08; }
/* project hero: blurred ambient backdrop + the real cover framed beside the title (no faces cut under the header) */
.page-hero.has-cover { min-height: 0; align-items: center; padding: calc(var(--header-h) + 56px) 0 64px; }
.page-hero.has-cover .ph-bg { top: 0; }
.page-hero.has-cover .ph-bg img { opacity: .3; filter: blur(28px) saturate(1.25); transform: scale(1.2); object-position: center; }
.page-hero.has-cover .ph-fade { background: linear-gradient(180deg, rgba(7, 5, 12, .92) 0, rgba(7, 5, 12, .55) 28%, rgba(7, 5, 12, .7) 70%, var(--bg) 100%); }
.page-hero.has-cover .ph-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ph-copy { min-width: 0; }
.ph-cover { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: 0 50px 100px -45px rgba(139, 61, 255, .75), 0 0 0 1px rgba(255, 255, 255, .03); }
.ph-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ph-cover.is-cutout { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); }
.ph-cover.is-cutout img { width: auto; height: auto; max-width: min(100%, 320px); max-height: 180px; object-fit: contain; }
.ph-sub { font-size: clamp(16.5px, 1.4vw, 19.5px); color: #d6cee4; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: #d4cce2; transition: color .3s; }
.crumbs a:hover { color: var(--orange-2); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { color: var(--orange-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-hero .eyebrow { flex-wrap: wrap; }
.tag { display: inline-flex; padding: 6px 14px; border-radius: 99px; background: rgba(255, 106, 0, .14); border: 1px solid rgba(255, 106, 0, .35); color: var(--orange-2); font-size: 12px; letter-spacing: .1em; transition: .3s; }
.tag:hover { background: var(--orange); color: #fff; }
.tag.is-muted { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: #ddd; }
.project-hero .eyebrow::before { display: none; }

/* project cards */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transform-style: preserve-3d; transition: border-color .4s, transform .6s var(--ease); }
.p-card:hover { border-color: transparent; box-shadow: 0 34px 70px -34px rgba(139, 61, 255, .65); }
.p-card::before { content: ''; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.p-card:hover::before { opacity: 1; }
.p-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-3); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.p-card:hover .p-media img { transform: scale(1.08); }
.p-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13, 9, 22, .9)); }
.p-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .12), transparent 45%); opacity: 0; transition: opacity .4s; }
.p-card:hover .p-shine { opacity: 1; }
.p-info { display: flex; flex-direction: column; gap: 6px; padding: 20px 76px 22px 22px; }
html[dir="rtl"] .p-info { padding: 20px 22px 22px 76px; }
.p-cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); }
html[lang="ar"] .p-cat { letter-spacing: 0; font-size: 13px; }
.p-title { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[lang="ar"] .p-title { line-height: 1.5; }
.p-arrow { position: absolute; inset-inline-end: 20px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: .45s var(--ease); }
.p-arrow svg { width: 18px; height: 18px; }
.p-card:hover .p-arrow { background: var(--grad); border-color: transparent; transform: rotate(-45deg); }
html[dir="rtl"] .p-card:hover .p-arrow { transform: rotate(45deg); }

/* about */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.about-photo { position: sticky; top: 100px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.about-sign { position: absolute; inset-inline-end: 18px; bottom: 18px; width: 70px; padding: 12px; border-radius: 18px; background: rgba(7, 5, 12, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.about-sign .logo-mark { width: 100%; }
.about-grid .sec-title { margin-bottom: 24px; }
.about-grid p:not(.lead):not(.eyebrow) { color: #cbc3da; }
.mission { margin-top: 34px; padding: 30px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid rgba(139, 61, 255, .35); }
.mission h3 { font-size: 22px; margin-bottom: 12px; }
.mission p { margin: 0; font-size: 18px; color: #eee8f7; }
/* services: Hairline (v0.5.1) line figures on a hairline grid */
.svc-grid {
  --hairline-plate: #0b0812; --hairline-hi: #f6f3fb; --hairline-edge: #b98bff; --hairline-mid: #5b4a7a; --hairline-lo: #2a2140; --hairline-stroke: .9;
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2); border-radius: 4px; position: relative;
}
.svc { position: relative; display: flex; flex-direction: column; background: #0b0812; border-inline-end: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: background-color .5s var(--ease); }
.svc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, rgba(139, 61, 255, .16), transparent 70%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.svc:hover::before { opacity: 1; }
.svc:hover { --hairline-hi: #ff9a3d; --hairline-edge: #d6b8ff; }
.svc-fig { display: block; position: relative; margin: 14px 14px 0; aspect-ratio: 5/4; }
.svc-fig svg { width: 100%; height: 100%; overflow: visible; }
.svc-fig path { fill: none; stroke: var(--hairline-mid); stroke-width: var(--hairline-stroke); vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s; }
.svc-fig path.f { fill: var(--hairline-plate); }
.svc-fig path.e { stroke: var(--hairline-edge); }
.svc-fig path.l { stroke: var(--hairline-lo); }
.svc-fig path.h { stroke: var(--hairline-hi); }
.svc-meta { display: flex; flex-direction: column; gap: 8px; padding: 6px 20px 22px; margin-top: auto; }
.svc-i { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 11.5px; letter-spacing: .14em; color: var(--orange-2); }
.svc-t { font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.25; }
.svc-x { position: absolute; width: 11px; height: 11px; inset-inline-end: -6px; bottom: -6px; z-index: 2; pointer-events: none; }
.svc-x::before, .svc-x::after { content: ''; position: absolute; background: var(--muted); opacity: .7; }
.svc-x::before { inset: 5px 0 auto; height: 1px; }
.svc-x::after { inset: 0 auto 0 5px; width: 1px; }
html[dir="rtl"] .svc-x::after { inset: 0 5px 0 auto; }

/* process: interactive 3D timeline */
.tl { position: relative; --rail: 50%; }
.tl-rail { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--rail); width: 2px; margin-inline-start: -1px; background: var(--line-2); border-radius: 2px; }
.tl-fill { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, #8b3dff, #c13cff 50%, #ff6a00); border-radius: inherit; box-shadow: 0 0 18px rgba(193, 60, 255, .7); }
.tl-spark { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 106, 0, .25), 0 0 26px 6px rgba(255, 106, 0, .8); opacity: calc(min(var(--p, 0) * 20, 1)); }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 4vw, 48px); perspective: 1400px; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 120px; }
.tl-node { position: absolute; inset-inline-start: var(--rail); top: 50%; width: 54px; height: 54px; margin: -27px 0 0; transform: translateX(-50%); border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); z-index: 2; transition: background .5s var(--ease), border-color .5s, box-shadow .5s, transform .5s var(--ease); }
html[dir="rtl"] .tl-node { transform: translateX(50%); }
.tl-node b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .06em; color: var(--muted); transition: color .4s; }
.tl-item.is-on .tl-node { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 6px rgba(139, 61, 255, .16), 0 12px 30px -8px rgba(255, 106, 0, .7); }
.tl-item.is-on .tl-node b { color: #fff; }
.tl-card { grid-column: 1; padding-inline-end: clamp(48px, 6vw, 84px); transform-style: preserve-3d; opacity: .25; transform: rotateY(28deg) translateZ(-140px) translateX(-30px); transform-origin: 100% 50%; transition: transform 1s var(--ease), opacity .8s var(--ease); }
.tl-item.is-r .tl-card { grid-column: 2; padding-inline: clamp(48px, 6vw, 84px) 0; transform: rotateY(-28deg) translateZ(-140px) translateX(30px); transform-origin: 0 50%; }
html[dir="rtl"] .tl-card { transform: rotateY(-28deg) translateZ(-140px) translateX(30px); transform-origin: 0 50%; }
html[dir="rtl"] .tl-item.is-r .tl-card { transform: rotateY(28deg) translateZ(-140px) translateX(-30px); transform-origin: 100% 50%; }
.tl-item.is-in .tl-card { opacity: 1 !important; transform: none !important; }
.tl-face { position: relative; padding: 26px 28px 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); overflow: hidden; transition: border-color .5s, box-shadow .5s, transform .6s var(--ease); }
.tl-face::after { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease) .2s; }
.tl-item.is-on .tl-face { border-color: rgba(139, 61, 255, .45); box-shadow: 0 30px 60px -36px rgba(139, 61, 255, .8); }
.tl-item.is-on .tl-face::after { transform: scaleX(1); }
.tl-n { position: absolute; inset-inline-end: 16px; top: 4px; font-family: var(--f-display); font-weight: 800; font-size: 64px; line-height: 1; background: linear-gradient(180deg, rgba(255, 154, 61, .28), rgba(139, 61, 255, 0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; }
.tl-face h3 { position: relative; font-size: clamp(17.5px, 1.4vw, 20px); margin: 0 0 10px; padding-inline-end: 96px; }
@media (min-width: 761px) { .tl-item + .tl-item { margin-top: -54px; } }
.tl-face p { position: relative; color: var(--muted); font-size: 15.5px; margin: 0; }
.tl-item:last-child .tl-face { background: var(--grad-soft), rgba(255, 255, 255, .02); border-color: rgba(255, 106, 0, .35); }

.why-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.why-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 50px 100px -50px rgba(139, 61, 255, .8); border: 1px solid var(--line); }
.why-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 24px 0; text-align: start; font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); }
.acc-n { font-family: var(--f-body); font-size: 13px; color: var(--orange-2); font-weight: 700; }
.acc-ic { margin-inline-start: auto; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .4s var(--ease); }
.acc-ic svg { width: 18px; height: 18px; }
.acc-item.is-open .acc-ic { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-body > p { overflow: hidden; margin: 0; color: var(--muted); padding-inline-start: 40px; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-item.is-open .acc-body > p { padding-bottom: 24px; }

/* project page */
.project-body { max-width: 1100px; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin: 0 0 50px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.meta { background: var(--bg-2); padding: 22px 24px; }
.meta dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 8px; }
html[lang="ar"] .meta dt { letter-spacing: 0; font-size: 14px; }
.meta dd { margin: 0; font-weight: 600; font-size: 16.5px; line-height: 1.5; }
.p-sec { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 30px 0; border-top: 1px solid var(--line); }
.p-label { font-size: 15px; font-family: var(--f-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin: 0; padding-top: 4px; }
html[lang="ar"] .p-label { letter-spacing: 0; font-size: 18px; font-family: var(--f-display); }
.p-body { color: #d8d0e6; font-size: 17.5px; }
.p-body p:last-child { margin-bottom: 0; }
.p-body strong { color: #fff; }
.p-body ul { margin: 0; padding-inline-start: 20px; }
.p-rich { padding: 20px 0; }
.p-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #eee7f8; margin: 0 0 36px; max-width: 900px; }
.p-h { font-size: clamp(23px, 2.5vw, 34px); margin: 64px 0 24px; display: flex; align-items: center; gap: 18px; }
.p-h::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
html[dir="rtl"] .p-h::after { background: linear-gradient(270deg, var(--line-2), transparent); }
.p-h span { background: linear-gradient(90deg, #fff, #e5d8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-grid { display: grid; gap: 18px; margin: 0 0 18px; }
.v-grid.is-h.n-1 { grid-template-columns: 1fr; }
.v-grid.is-h:not(.n-1) { grid-template-columns: repeat(2, 1fr); }
.v-grid.is-vertical { grid-template-columns: repeat(4, 1fr); justify-content: center; }
.v-grid.is-vertical.n-1 { grid-template-columns: minmax(0, 340px); }
.v-grid.is-vertical.n-2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.v-grid.is-vertical.n-3 { grid-template-columns: repeat(3, minmax(0, 300px)); }
.p-figure { margin: 30px 0; display: flex; justify-content: center; }
.p-figure a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.p-figure img { max-height: 70vh; width: auto; object-fit: contain; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 24px 0; }
.img-grid a, .masonry a { display: block; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.img-grid img, .masonry img { width: 100%; transition: transform .8s var(--ease); }
.img-grid a:hover img, .masonry a:hover img { transform: scale(1.05); }
.masonry { columns: 3 260px; column-gap: 14px; margin: 24px 0; }
.masonry a { margin-bottom: 14px; break-inside: avoid; }
.p-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; padding-block: 20px 40px; }
.p-nav-item { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: .4s var(--ease); min-width: 0; }
.p-nav-item.is-next { text-align: end; }
.p-nav-item small { color: var(--orange-2); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .p-nav-item small { letter-spacing: 0; }
.p-nav-item b { font-family: var(--f-display); font-size: clamp(16px, 1.6vw, 21px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-nav-item:hover { border-color: var(--purple); background: var(--grad-soft); }
.p-nav-all { display: grid; place-items: center; width: 86px; border-radius: var(--radius); border: 1px solid var(--line); transition: .4s; }
.p-nav-all:hover { background: var(--orange); border-color: var(--orange); }
.grid-ic { display: grid; grid-template-columns: repeat(2, 9px); gap: 5px; }
.grid-ic i { width: 9px; height: 9px; border-radius: 2px; background: currentColor; }

/* instagram */
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 20px 0; }
.ig { position: relative; aspect-ratio: 9/14.5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 80% at 100% 0%, rgba(139, 61, 255, .35), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(255, 106, 0, .3), transparent 60%), var(--bg-2); }
.ig iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.ig-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; font-weight: 700; }
.ig-icon svg { width: 54px; height: 54px; color: #fff; }
.ig-link { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logo-tile { aspect-ratio: 1; border-radius: 20px; background: #fff; display: grid; place-items: center; padding: 22px; transition: transform .5s var(--ease), box-shadow .5s; }
.logo-tile img { max-height: 100%; object-fit: contain; }
.logo-tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 25px 50px -20px rgba(139, 61, 255, .8); }

/* motivate */
.motivate-app { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.mot-post a { display: block; border-radius: var(--radius); overflow: hidden; }
.gplay { display: inline-block; margin-top: 10px; }
.gplay img { height: 64px; width: auto; transition: transform .4s var(--ease); }
.gplay:hover img { transform: translateY(-3px); }
.mot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mot-item { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.mot-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mot-item:hover img { transform: scale(1.06); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(26px, 5vw, 60px); align-items: start; margin-bottom: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.c-item { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: .4s var(--ease); }
a.c-item:hover { border-color: var(--orange); transform: translateX(6px); }
html[dir="rtl"] a.c-item:hover { transform: translateX(-6px); }
.c-ic { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.c-ic svg { width: 24px; height: 24px; color: #fff; }
.c-item small { display: block; font-size: 13px; color: var(--muted); }
.c-item b { font-size: 18px; word-break: break-all; }
html[dir="rtl"] .c-item b[dir="ltr"] { text-align: right; display: block; }
.c-social { margin-top: 18px; }
.social-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.social-list a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; transition: .35s; }
.social-list a svg { width: 20px; height: 20px; color: var(--orange-2); }
.social-list a:hover { background: var(--grad-soft); border-color: var(--purple); }
.c-form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.c-form::before { content: ''; position: absolute; width: 360px; height: 360px; inset-inline-end: -140px; top: -160px; background: radial-gradient(circle, rgba(139, 61, 255, .4), transparent 70%); pointer-events: none; }
.form-title { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 26px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field span { font-size: 14px; font-weight: 600; color: #d4cce2; }
.field input, .field textarea { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(7, 5, 12, .55); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139, 61, 255, .2); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field.is-error input, .field.is-error textarea { border-color: #ff5a5a; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-msg { min-height: 1em; margin: 0 0 8px; font-weight: 600; color: var(--orange-2); }
.form-msg.is-error { color: #ff7a7a; }
.form-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(200deg) saturate(.6) contrast(.9); }

/* footer */
.footer-cta { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.fcta-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(46px, 8vw, 110px) clamp(20px, 5vw, 60px); border-radius: clamp(24px, 3vw, 40px); background: #0e0918; border: 1px solid var(--line-2); }
.fcta-glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0deg, rgba(139, 61, 255, .55) 70deg, transparent 140deg, rgba(255, 106, 0, .5) 220deg, transparent 300deg); animation: spin 14s linear infinite; filter: blur(60px); opacity: .8; }
.fcta-card::after { content: ''; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; background: radial-gradient(120% 120% at 50% 0%, rgba(14, 9, 24, .3), rgba(14, 9, 24, .92) 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.fcta-card .eyebrow { justify-content: center; }
.fcta-title { font-size: clamp(30px, 4.6vw, 64px); max-width: 980px; margin: 0 auto 18px; }
.fcta-sub { color: #d5cde3; font-size: clamp(16px, 1.5vw, 20px); max-width: 620px; margin: 0 auto 34px; }
.fcta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: 70px; background: linear-gradient(180deg, transparent, rgba(139, 61, 255, .06)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.f-brand p { color: var(--muted); margin: 18px 0 22px; max-width: 320px; }
.f-title { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 18px; }
html[lang="ar"] .f-title { letter-spacing: 0; font-size: 16px; }
.f-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f-list a { color: #d2cadf; transition: color .3s; }
.f-list a:hover { color: #fff; }
.f-contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15px; }
.f-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--orange-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 40px 20px; margin-top: 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #ddd; }
.to-top svg { width: 18px; height: 18px; padding: 2px; }
.to-top:hover { color: var(--orange-2); }
.footer-word { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 15.5vw; line-height: .78; text-align: center; white-space: nowrap; letter-spacing: -.04em; background: linear-gradient(180deg, rgba(255, 255, 255, .09), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin-top: 10px; transform: translateY(12%); }

/* WhatsApp floating */
.wa-float { position: fixed; z-index: 80; bottom: 22px; inset-inline-end: 22px; display: flex; align-items: center; gap: 0; height: 58px; padding: 0 17px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 14px 40px -10px rgba(37, 211, 102, .7); transition: .5s var(--ease); overflow: hidden; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .5s var(--ease), margin .5s; }
.wa-float:hover span { max-width: 200px; margin-inline-start: 10px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5, 3, 9, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; place-items: center; padding: 70px 70px 50px; opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .8); animation: lbIn .5s var(--ease); }
.lb-stage .lb-video { width: min(100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16/9; }
.lb-stage .lb-video.is-vertical { width: auto; height: min(100%, 86vh); aspect-ratio: 9/16; }
.lb-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; background: #000; }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); transition: .3s; }
.lb-close:hover, .lb-nav:hover { background: var(--orange); border-color: var(--orange); }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-prev { inset-inline-start: 14px; top: 50%; translate: 0 -50%; }
.lb-next { inset-inline-end: 14px; top: 50%; translate: 0 -50%; }
.lb-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .lb-prev svg { transform: none; }
html[dir="rtl"] .lb-next svg { transform: scaleX(-1); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; direction: ltr; color: var(--muted); font-size: 14px; margin: 0; }
.lightbox.is-single .lb-nav, .lightbox.is-single .lb-count { display: none; }

/* preloader / cursor / grain */
.preloader { position: fixed; inset: 0; z-index: 500; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity .7s var(--ease), visibility .7s; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
.pl-logo .logo-mark { width: 84px; animation: plPulse 1.6s var(--ease) infinite; }
@keyframes plPulse { 50% { transform: scale(1.08) rotate(-6deg); filter: drop-shadow(0 0 30px rgba(255, 106, 0, .8)); } }
.pl-bar { width: 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 40%; background: var(--grad); animation: plBar 1.1s var(--ease-in) infinite; }
@keyframes plBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
html:not(.js) .preloader, .no-preload .preloader { display: none; }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; z-index: 450; top: 0; left: 0; pointer-events: none; mix-blend-mode: difference; }
  .cursor i { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid #fff; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s; }
  .cursor.is-hover i { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; }
  .cursor.is-hidden { opacity: 0; }
}
.grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .045; background-image: 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.tilt.is-visible { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ---------- logos & cut-out artwork ---------- */
/* transparent logos sit on a tile matched to their own brightness so they never vanish */
.is-cutout { --tile: #f3f0ea; background: var(--tile) !important; border-color: rgba(255, 255, 255, .2) !important; }
.is-cutout.on-dark { --tile: radial-gradient(120% 120% at 30% 0%, #2a1c45, #120c1e 70%); }
/* logos / transparent cut-outs: one consistent, modest size everywhere */
.img-grid a.is-cutout, .masonry a.is-cutout { display: grid; place-items: center; aspect-ratio: 4/3; padding: clamp(22px, 3vw, 36px); }
.img-grid a.is-cutout img, .masonry a.is-cutout img { width: auto; height: auto; max-width: min(78%, 220px); max-height: 120px; margin-inline: auto; object-fit: contain; aspect-ratio: auto; }
.img-grid a.is-cutout:hover img, .masonry a.is-cutout:hover img { transform: scale(1.04); }
.p-figure.is-logo a { display: grid; place-items: center; width: min(100%, 340px); aspect-ratio: 4/3; padding: 28px; }
.p-figure.is-logo img { width: auto; height: auto; max-height: 120px; max-width: min(100%, 220px); object-fit: contain; }
.lb-stage img.is-cutout { padding: clamp(20px, 5vw, 60px); background: #f3f0ea; }
.lb-stage img.is-cutout.on-dark { background: #1a1229; }
.logo-chip { border: 1px solid rgba(255, 255, 255, .5); }
.logo-chip img { filter: none; opacity: 1; max-height: 74px; }
.logo-chip.is-dark, .logo-tile.is-dark { background: #1a1229; border-color: var(--line-2); }
.logo-tile img { max-height: 110px; }

/* category toolbar */
.p-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.p-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.p-search svg { position: absolute; top: 50%; inset-inline-start: 18px; width: 18px; height: 18px; translate: 0 -50%; color: var(--orange-2); pointer-events: none; }
.p-search input { width: 100%; height: 52px; padding-inline: 48px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); outline: none; transition: border-color .3s, box-shadow .3s; }
.p-search input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139, 61, 255, .2); }
.p-search input::placeholder { color: var(--muted-2); }
.p-count { color: var(--muted); font-size: 14px; }
.p-count b { color: var(--text); font-variant-numeric: tabular-nums; }
.p-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.p-card[hidden] { display: none; }

/* project card extras */
.p-media.is-cutout { display: grid; place-items: center; padding: 8% 14%; }
.p-media.is-cutout img { object-fit: contain; }
.p-media.is-cutout::after { display: none; }
.p-card:hover .p-media.is-cutout img { transform: scale(1.04); }
.p-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 90% at 70% 20%, rgba(139, 61, 255, .35), transparent 70%), radial-gradient(60% 70% at 10% 100%, rgba(255, 106, 0, .25), transparent 70%), var(--bg-3); }
.p-ph .logo-mark { width: 70px; opacity: .9; }
.p-badges { position: absolute; z-index: 3; top: 14px; inset-inline-end: 14px; display: flex; gap: 6px; }
.p-badges > span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 99px; background: rgba(7, 5, 12, .7); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.p-badges svg { width: 12px; height: 12px; color: var(--orange-2); }
.ic-img { width: 12px; height: 10px; border: 1.6px solid var(--purple-3); border-radius: 2px; position: relative; display: inline-block; }
.ic-img::after { content: ''; position: absolute; left: 2px; bottom: 1px; width: 4px; height: 3px; background: var(--purple-3); border-radius: 1px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-cta { display: none; }
  .cat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-card { aspect-ratio: 4/4.4; }
  .qb-links a { padding: 8px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .v-grid.is-vertical { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-inline-start: auto; }
  .reel-grid, .about-grid, .why-grid, .contact-grid, .motivate-app { grid-template-columns: 1fr; }
  .reel-photo { aspect-ratio: 16/12; }
  .about-photo { position: relative; top: 0; aspect-ratio: 16/12; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-port { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-port .cat-card, .cat-grid-port .cat-card.is-big { grid-column: span 1; aspect-ratio: 4/4.6; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(2) { border-inline-end: 0; }
  .num:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .p-sec { grid-template-columns: 1fr; gap: 10px; }
  .hero-bottom { position: relative; inset: auto; margin-top: 56px; }
  .hero .gl.is-ready { opacity: .55; }
  .hero { padding-bottom: 60px; }
  .quickbar { margin-top: 0; border-radius: 26px; padding: 14px 16px; justify-content: space-between; }
  html[dir="rtl"] .quickbar { padding: 14px 16px; }
  .qb-links { order: 3; flex-basis: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  html[dir="rtl"] .qb-links { -webkit-mask-image: linear-gradient(270deg, #000 85%, transparent); mask-image: linear-gradient(270deg, #000 85%, transparent); }
  .qb-links::-webkit-scrollbar { display: none; }
  .qb-links a { background: rgba(255, 255, 255, .05); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero.has-cover .ph-inner { grid-template-columns: 1fr; }
  .page-hero.has-cover { padding-bottom: 40px; }
  .ph-cover { max-width: 640px; }
}
@media (max-width: 760px) {
  .tl { --rail: 27px; }
  .tl-item, .tl-item.is-r { grid-template-columns: 1fr; }
  .tl-node { width: 46px; height: 46px; margin-top: -23px; inset-inline-start: 27px; }
  .tl-card, .tl-item.is-r .tl-card { grid-column: 1; padding-inline: 66px 0; transform-origin: 0 50%; transform: rotateY(-24deg) translateZ(-90px) translateX(24px); }
  html[dir="rtl"] .tl-card, html[dir="rtl"] .tl-item.is-r .tl-card { transform-origin: 100% 50%; transform: rotateY(24deg) translateZ(-90px) translateX(-24px); }
  .tl-face { padding: 22px 20px; }
  .tl-n { font-size: 56px; }
  .tl-face h3 { padding-inline-end: 54px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .brand-text b { font-size: 16px; }
  .logo-mark { width: 38px; }
  .lang-toggle { padding: 0 12px; gap: 6px; }
  .lt-full { display: none; }
  .lt-short { display: inline; }
  .header-inner { gap: 12px; }
  .menu-toggle { width: 44px; height: 44px; }
  .menu-toggle i { inset-inline-start: 12px; }
  .hero-title { font-size: clamp(40px, 13vw, 86px); }
  html[lang="ar"] .hero-title { font-size: clamp(54px, 19vw, 100px); }
  .sec-title { font-size: clamp(26px, 7.4vw, 34px); }
  .hero-actions .btn { width: 100%; }
  .qb-btn.is-wa span { display: none; }
  .qb-btn.is-wa { width: 44px; padding: 0; }
  .qb-status { font-size: 13.5px; white-space: normal; }
  .num-val { font-size: clamp(30px, 9vw, 40px); }
  .svc-meta { padding: 4px 14px 18px; }
  .svc-fig { margin: 10px 8px 0; }
  .scroll-cue { display: none; }
  .hero-stats { width: 100%; justify-content: space-between; }
  .cat-grid-4, .cat-grid-port, .p-grid { grid-template-columns: 1fr; }
  .cat-card, .cat-grid-port .cat-card, .cat-grid-port .cat-card.is-big { aspect-ratio: 4/4.2; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .f-row { grid-template-columns: 1fr; }
  .v-grid.is-h:not(.n-1) { grid-template-columns: 1fr; }
  .v-grid.is-vertical, .v-grid.is-vertical.n-3 { grid-template-columns: repeat(2, 1fr); }
  .v-grid.is-vertical.n-1 { grid-template-columns: minmax(0, 300px); justify-content: center; }
  .p-nav { grid-template-columns: 1fr 1fr; }
  .p-nav-all { display: none; }
  .p-nav-item { padding: 18px; }
  .lightbox { padding: 64px 10px 50px; }
  .lb-nav { top: auto; bottom: 8px; translate: none; width: 44px; height: 44px; }
  .logo-chip { width: 130px; height: 88px; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; height: 54px; padding: 0 15px; }
  .crumbs span { max-width: 26ch; }
  .page-hero { min-height: 56vh; padding-bottom: 50px; }
  .social-list { grid-template-columns: 1fr 1fr; }
  .t-text { -webkit-line-clamp: 9; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .hero-in, .tl-card { opacity: 1 !important; transform: none !important; filter: none !important; }
  .grain { display: none; }
}
