/* =========================================================
   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; }
}

/* Behance covers on project cards */
.p-media { aspect-ratio: 808 / 632; }
.p-media.is-bh::after { background: linear-gradient(180deg, transparent 62%, rgba(13, 9, 22, .78)); }

.p-badges { display: none !important; }

/* =========================================================
   Type scale v2 — calmer, consistent headings site-wide
   H1 hero 84 · page H1 60 · section H2 40 · H3 24
   ========================================================= */
h1, h2, h3, h4 { letter-spacing: -.012em; }
.hero-title { font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.02em; font-weight: 700; }
html[lang="ar"] .hero-title { font-size: clamp(44px, 6.2vw, 92px); line-height: 1.2; }
.ph-title { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.015em; }
.project-hero .ph-title { font-size: clamp(28px, 3.2vw, 46px); }
.sec-title { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; }
.reel-copy .sec-title { font-size: clamp(26px, 2.6vw, 38px); }
.fcta-title { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; }
.mm-main a { font-size: clamp(32px, 7vw, 44px); }
.num-val { font-size: clamp(28px, 2.6vw, 40px); }
.tl-n { font-size: 52px; }
html[lang="ar"] .ph-title { line-height: 1.3; }
html[lang="ar"] .sec-title, html[lang="ar"] .fcta-title { line-height: 1.4; }
@media (max-width: 700px) {
  .hero-title { font-size: clamp(36px, 10vw, 54px); }
  html[lang="ar"] .hero-title { font-size: clamp(38px, 11vw, 58px); }
  .ph-title { font-size: clamp(30px, 8.4vw, 42px); }
  .sec-title { font-size: clamp(24px, 6.6vw, 32px); }
}

/* =========================================================
   v3 — creative hero name, toolkit, services, contact word
   ========================================================= */
/* hero name: variable "Unbounded" that reacts to the cursor + an edit playhead scanning MAGDY */
.hn { font-family: 'Unbounded', var(--f-display); font-weight: 800; font-size: clamp(44px, 6.3vw, 98px); line-height: 1; letter-spacing: -.015em; text-transform: uppercase; margin: 0 0 24px; }
html[lang="ar"] .hn { font-family: 'Reem Kufi', var(--f-display); font-size: clamp(52px, 7.2vw, 110px); line-height: 1.15; letter-spacing: 0; text-transform: none; font-weight: 700; }
.hn-line { position: relative; display: block; width: max-content; max-width: 100%; }
.hn-a { background: linear-gradient(100deg, #fff 0%, #fff 38%, #d6c2ff 48%, #fff 58%, #fff 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hnSheen 7s linear infinite; }
@keyframes hnSheen { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.hn-b { color: transparent; -webkit-text-stroke: 1.6px #b98bff; margin-top: .04em; }
html[lang="ar"] .hn-b { -webkit-text-stroke: 1.4px #b98bff; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: hnSheen 9s linear infinite; color: transparent; -webkit-text-stroke-width: 0; }
.hn-ch { display: inline-block; font-variation-settings: 'wght' var(--w, 800); transform: translateY(var(--y, 0px)); transition: font-variation-settings .45s var(--ease), transform .45s var(--ease); will-change: transform; }
.hn-a .hn-ch { color: transparent; }
.hn-b .hn-ch { color: color-mix(in srgb, #ff7a1a calc(var(--f, 0) * 100%), transparent); -webkit-text-stroke-color: color-mix(in srgb, #ffb37a calc(var(--f, 0) * 100%), #b98bff); transition: font-variation-settings .45s var(--ease), transform .45s var(--ease), color .25s, -webkit-text-stroke-color .25s; }
.hn-scan { position: absolute; top: -8%; bottom: -8%; width: 2px; left: var(--px, -10px); background: linear-gradient(#ff6a00, #ff9a3d); box-shadow: 0 0 14px rgba(255, 106, 0, .9); opacity: var(--po, 0); pointer-events: none; transition: opacity .3s; }
.hn-scan::before { content: ''; position: absolute; top: -10px; left: -6px; border: 7px solid transparent; border-top: 9px solid #ff6a00; border-bottom: 0; }
html[dir="rtl"] .hn-scan { left: auto; right: var(--px, -10px); }
@media (prefers-reduced-motion: reduce) { .hn-a, .hn-b { animation: none; } .hn-scan { display: none; } }

/* hero value points (replace the numbers) */
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 40px; border: 1px solid var(--line-2); background: rgba(13, 9, 22, .55); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; color: #eee8f7; transition: border-color .4s, transform .4s var(--ease); }
html[dir="rtl"] .hero-points li { padding: 9px 10px 9px 16px; }
.hero-points li:hover { border-color: rgba(255, 154, 61, .6); transform: translateY(-3px); }
.hp-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: var(--orange-2); }
.hp-ic svg { width: 17px; height: 17px; }
@media (max-width: 700px) { .hero-points { gap: 8px; } .hero-points li { font-size: 13px; } }

/* availability badge on the reel photo */
.reel-badge.is-live { gap: 10px; padding: 11px 16px; }
.reel-badge.is-live i { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: livePulse 2s infinite; flex: none; }
.reel-badge.is-live small { max-width: none; color: #fff; font-weight: 600; font-size: 14px; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.reel-photo img, .about-photo img { object-position: 50% 30%; }
.why-img img { object-position: 50% 30%; }

/* cursor spotlight shared by services + toolkit */
[data-spot] { position: relative; }
[data-spot] > .spot { position: absolute; z-index: 5; left: var(--sx, 50%); top: var(--sy, 50%); width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; background: radial-gradient(closest-side, rgba(185, 139, 255, .28), rgba(255, 106, 0, .1) 55%, transparent 72%); mix-blend-mode: screen; pointer-events: none; opacity: 0; transition: opacity .5s; }
[data-spot]:hover > .spot { opacity: 1; }

/* services: expanding interactive panels */
@media (min-width: 1100px) {
  .svc-flex { display: flex; gap: 16px; height: clamp(460px, 38vw, 560px); }
  .svc-flex .cat-card { flex: 1 1 0; min-width: 0; aspect-ratio: auto; transition: flex .85s var(--ease), border-color .4s; }
  .svc-flex .cat-card:hover, .svc-flex:not(:hover) .cat-card:first-child { flex: 2.4 1 0; border-color: rgba(185, 139, 255, .45); }
  .svc-flex .cat-desc { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
  .svc-flex .cat-card:hover .cat-desc, .svc-flex:not(:hover) .cat-card:first-child .cat-desc { max-height: 140px; opacity: 1; transition-delay: .15s; }
  .svc-flex .cat-title { white-space: nowrap; }
  .svc-flex .cat-num { transition: transform .8s var(--ease), color .4s; }
  .svc-flex .cat-card:hover .cat-num, .svc-flex:not(:hover) .cat-card:first-child .cat-num { transform: scale(1.35); transform-origin: top left; color: var(--orange-2); }
  .svc-flex .cat-card::before { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; z-index: 3; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
  .svc-flex .cat-card:hover::before, .svc-flex:not(:hover) .cat-card:first-child::before { transform: scaleX(1); }
}

/* toolkit section (replaces the numbers block) */
.toolkit .tk-lead { max-width: 560px; margin: 0; }
.tk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tk-group { position: relative; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.tk-h { font-family: var(--f-body); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 18px; }
html[lang="ar"] .tk-h { letter-spacing: 0; font-size: 15px; }
.tk-group .pz-tools { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tk-group .pz-tool { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; padding: 6px; border-radius: 12px; transition: background .3s, transform .4s var(--ease); }
.tk-group .pz-tool:hover { background: rgba(255, 255, 255, .06); transform: translateX(4px); }
html[dir="rtl"] .tk-group .pz-tool:hover { transform: translateX(-4px); }
.tk-group .pz-tool-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; font: 800 14px/1 var(--f-display); color: var(--c); background: var(--b); border: 1.5px solid color-mix(in srgb, var(--c) 60%, transparent); direction: ltr; }
@media (max-width: 1000px) { .tk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tk-grid { grid-template-columns: 1fr; } }

/* contact page: one big interactive word */
.ct-word { display: inline-block; font-family: 'Unbounded', var(--f-display); font-weight: 800; font-size: clamp(54px, 8.4vw, 128px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
html[lang="ar"] .ct-word { font-family: 'Reem Kufi', var(--f-display); font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.25; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hnSheen 8s linear infinite; }
.ct-word .ct-ch { display: inline-block; color: color-mix(in srgb, #ffffff calc(var(--f, 0) * 100%), transparent); -webkit-text-stroke: 1.6px color-mix(in srgb, #ff9a3d calc(var(--f, 0) * 100%), #b98bff); transform: translateY(var(--y, 0px)) rotate(var(--r, 0deg)); font-variation-settings: 'wght' var(--w, 800); transition: transform .5s var(--ease), color .25s, -webkit-text-stroke-color .25s, font-variation-settings .5s var(--ease); }
.ct-word .ct-ch:nth-child(odd) { --tint: 1; }
.ct-word.is-wave .ct-ch { animation: ctWave 2.6s var(--ease) infinite; animation-delay: calc(var(--i) * 90ms); }
@keyframes ctWave { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -.12em; } }
.hn-a:has(.hn-ch) { background: none; animation: none; color: #fff; }
.hn-a .hn-ch { color: transparent; background: linear-gradient(180deg, #ffffff 35%, #d9cdf0 100%); -webkit-background-clip: text; background-clip: text; }
.hn-a .hn-ch:nth-child(odd) { background: linear-gradient(180deg, #ffffff 35%, #e4d8ff 100%); -webkit-background-clip: text; background-clip: text; }
@media (min-width: 1100px) {
  .svc-flex .cat-title { white-space: normal; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.2; }
  .svc-flex .cat-card:hover .cat-title, .svc-flex:not(:hover) .cat-card:first-child .cat-title { font-size: clamp(20px, 1.7vw, 26px); }
}

/* =========================================================
   v4 — premium hero name + services list with cursor preview
   ========================================================= */
.hn2 { font-family: 'Unbounded', var(--f-display); font-weight: 800; font-size: clamp(46px, 6.6vw, 104px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 26px; perspective: 900px; }
html[lang="ar"] .hn2 { font-family: 'Reem Kufi', var(--f-display); font-weight: 700; font-size: clamp(56px, 7.4vw, 116px); line-height: 1.12; letter-spacing: 0; text-transform: none; }
.hn2-line { position: relative; display: block; width: max-content; max-width: 100%; overflow: hidden; padding: .04em .06em .1em 0; margin-bottom: -.06em; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .9s var(--ease); }
html[lang="ar"] .hn2-line { padding: .06em 0 .18em .06em; }
.hn2-w { position: relative; z-index: 2; display: inline-block; color: #fff; }
.hn2-line.is-b .hn2-w { background: linear-gradient(100deg, #b98bff 0%, #8b3dff 28%, #c13cff 52%, #ff6a00 78%, #ff9a3d 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hn2Flow 9s ease-in-out infinite alternate; }
@keyframes hn2Flow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.hn2-ghost { position: absolute; z-index: 1; inset: .04em auto auto 0; color: transparent; -webkit-text-stroke: 1px; pointer-events: none; transition: transform .7s var(--ease), opacity .6s; opacity: .55; }
html[dir="rtl"] .hn2-ghost { inset: .06em 0 auto auto; }
.hn2-ghost.g1 { -webkit-text-stroke-color: rgba(139, 61, 255, .9); transform: translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -9px)); }
.hn2-ghost.g2 { -webkit-text-stroke-color: rgba(255, 106, 0, .85); transform: translate(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 9px)); }
.hn2-shine { position: absolute; z-index: 3; top: 0; bottom: 0; width: 38%; left: -45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); mix-blend-mode: overlay; transform: skewX(-18deg); pointer-events: none; }
/* entrance: each line rises out of a mask, ghosts settle, then one light pass */
.js .hn2-line .hn2-w, .js .hn2-line .hn2-ghost { transform: translateY(105%); }
.js .hn2-line .hn2-w { transition: transform 1.25s var(--ease); transition-delay: calc(350ms + var(--li) * 160ms); }
.js .hn2-line .hn2-ghost { transition: transform 1.6s var(--ease), opacity .6s; transition-delay: calc(500ms + var(--li) * 160ms); opacity: 0; }
.is-loaded .hn2.is-in .hn2-line .hn2-w { transform: none; }
.is-loaded .hn2.is-in .hn2-ghost { opacity: .55; }
.is-loaded .hn2.is-in .hn2-ghost.g1 { transform: translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -9px)); }
.is-loaded .hn2.is-in .hn2-ghost.g2 { transform: translate(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 9px)); }
.is-loaded .hn2.is-in .hn2-shine { animation: hn2Shine 1.6s var(--ease) forwards; animation-delay: calc(1300ms + var(--li) * 200ms); }
.hn2.is-in .hn2-line:hover .hn2-shine { animation: hn2Shine 1.1s var(--ease); }
@keyframes hn2Shine { from { left: -45%; } to { left: 120%; } }
.hn2.is-active .hn2-ghost { opacity: .8; }
@media (prefers-reduced-motion: reduce) { .js .hn2-line .hn2-w, .js .hn2-line .hn2-ghost { transform: none; opacity: .5; } .hn2-line.is-b .hn2-w { animation: none; } }

/* services: editorial list with a floating preview that follows the cursor */
.svc-list { position: relative; border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) 56px; align-items: center; gap: 28px; padding: clamp(24px, 2.6vw, 36px) 8px; border-bottom: 1px solid var(--line); isolation: isolate; overflow: hidden; }
.svc-row-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(139, 61, 255, .16), rgba(255, 106, 0, .08) 60%, transparent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.svc-row:hover .svc-row-bg { transform: scaleY(1); }
.svc-n { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--muted); transition: color .4s; }
.svc-row:hover .svc-n { color: var(--orange-2); }
.svc-thumb { display: none; }
.svc-main { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; min-width: 0; }
.svc-t { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3.1vw, 46px); line-height: 1.1; letter-spacing: -.015em; transition: transform .6s var(--ease), color .4s; }
.svc-row:hover .svc-t { transform: translateX(18px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="rtl"] .svc-row:hover .svc-t { transform: translateX(-18px); }
.svc-d { max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--muted); text-align: end; transition: color .4s, opacity .4s; }
.svc-row:hover .svc-d { color: #e9e2f4; }
.svc-go { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .45s, border-color .45s, transform .6s var(--ease); }
.svc-go svg { width: 20px; height: 20px; }
html[dir="rtl"] .svc-go svg { transform: scaleX(-1); }
.svc-row:hover .svc-go { background: var(--grad); border-color: transparent; transform: rotate(-45deg); }
html[dir="rtl"] .svc-row:hover .svc-go { transform: rotate(45deg); }
.svc-float { position: absolute; z-index: 20; left: 0; top: 0; width: 320px; height: 220px; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0) translate(-50%, -50%) rotate(var(--fr, 0deg)) scale(var(--fs, .6)); transition: opacity .35s, transform .12s linear; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.svc-list.is-hover .svc-float { opacity: 1; --fs: 1; }
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .5s, transform .8s var(--ease); }
.svc-float img.is-on { opacity: 1; transform: none; }
@media (hover: none), (max-width: 900px) {
  .svc-float { display: none; }
  .svc-row { grid-template-columns: 96px minmax(0, 1fr) 44px; gap: 16px; }
  .svc-n { display: none; }
  .svc-thumb { display: block; width: 96px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-main { flex-direction: column; gap: 6px; align-items: flex-start; }
  .svc-d { text-align: start; font-size: 13.5px; }
  .svc-go { width: 44px; height: 44px; }
}
.hn2-shine { opacity: 0; } @keyframes hn2Shine { 0% { left: -45%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
html[lang="ar"] .hn2-ghost { display: none; }
.main-nav a { white-space: nowrap; }

/* v5 hero name: no light sweep; quick motion-blur + glow entrance */
.hn2-shine { display: none !important; }
.hn2-line { overflow: visible; }
.js .hn2-line .hn2-w { transform: none; opacity: 0; transition: none; }
.is-loaded .hn2.is-in .hn2-line .hn2-w { animation: hn2Blur .95s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(250ms + var(--li) * 120ms); }
.is-loaded .hn2.is-in .hn2-line.is-b .hn2-w { animation: hn2Blur .95s cubic-bezier(.2, .8, .2, 1) both, hn2Flow 9s ease-in-out 1.4s infinite alternate; animation-delay: calc(250ms + var(--li) * 120ms), 1.4s; }
@keyframes hn2Blur {
  0% { opacity: 0; transform: translateX(-.35em) scaleX(1.12); filter: blur(16px) drop-shadow(0 0 0 rgba(160, 90, 255, 0)); }
  45% { opacity: 1; filter: blur(3px) drop-shadow(0 0 22px rgba(160, 90, 255, .75)); }
  100% { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 10px rgba(160, 90, 255, .28)); }
}
html[dir="rtl"] .is-loaded .hn2.is-in .hn2-line .hn2-w { --hx: .35em; }
.js .hn2-line .hn2-ghost { transform: none; transition: opacity .8s ease 1s; }
@media (prefers-reduced-motion: reduce) { .is-loaded .hn2.is-in .hn2-line .hn2-w { animation: none; opacity: 1; } }

/* =========================================================
   v6 — calmer type scale, mobile portraits, touch motion
   ========================================================= */
/* desktop: smaller, more balanced type */
.hn2 { font-size: clamp(40px, 5.4vw, 86px); margin-bottom: 22px; }
html[lang="ar"] .hn2 { font-size: clamp(46px, 6vw, 94px); }
.hero-role { font-size: clamp(17px, 1.45vw, 21px); }
.hero-rotator { font-size: clamp(15px, 1.25vw, 18px); }
.hero-tag { font-size: clamp(15px, 1.1vw, 17px); margin-bottom: 28px; }
.hero-actions .btn-lg { --h: 52px; padding: 0 26px; font-size: 15px; }
.hero-points li { font-size: 13.5px; padding-block: 7px; }
.hp-ic { width: 26px; height: 26px; }
.sec-title { font-size: clamp(24px, 2.4vw, 34px); }
.reel-copy .sec-title { font-size: clamp(24px, 2.2vw, 32px); }
.lead { font-size: clamp(16px, 1.1vw, 17.5px); }
.ph-title { font-size: clamp(32px, 3.6vw, 52px); }
.project-hero .ph-title { font-size: clamp(26px, 2.8vw, 40px); }
.ph-sub { font-size: clamp(16px, 1.2vw, 18px); }
.fcta-title { font-size: clamp(26px, 2.8vw, 38px); }
.fcta-sub { font-size: clamp(15.5px, 1.2vw, 18px); }
.svc .svc-t { font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.25; }
.ct-word { font-size: clamp(48px, 6.6vw, 104px); }
.num-val { font-size: clamp(26px, 2.3vw, 36px); }
.cat-title { font-size: clamp(18px, 1.35vw, 21px); }
.mission h3 { font-size: 20px; }
.mission p { font-size: 17px; }
@media (max-width: 700px) {
  .hn2 { font-size: clamp(34px, 10.4vw, 52px); }
  html[lang="ar"] .hn2 { font-size: clamp(40px, 12vw, 60px); }
  .sec-title { font-size: clamp(23px, 6.2vw, 30px); }
  .ph-title { font-size: clamp(28px, 7.8vw, 38px); }
  .ct-word { font-size: clamp(40px, 13vw, 64px); }
}

/* mobile portraits: show the whole square photo, smaller, with room above the head */
@media (max-width: 960px) {
  .reel-photo, .about-photo, .why-img { aspect-ratio: 1 / 1; width: min(100%, 420px); margin-inline: auto; }
  .reel-photo img, .about-photo img, .why-img img { transform: none; object-position: 50% 0; }
}
@media (max-width: 640px) {
  .reel-photo, .about-photo, .why-img { width: 86%; }
}

/* touch screens: the "focused" card plays the same states as desktop hover */
@media (hover: none) {
  .cat-card, .p-card, .svc-row { transition: border-color .5s, box-shadow .6s var(--ease), transform .7s var(--ease); }
  .cat-card.is-live .cat-media img { transform: scale(1.08); filter: saturate(1.15); }
  .cat-card.is-live::after { opacity: .3; }
  .cat-card.is-live { border-color: rgba(185, 139, 255, .45); box-shadow: 0 30px 70px -40px rgba(139, 61, 255, .8); }
  .cat-card.is-live .cat-desc { color: #fff; }
  .cat-card.is-live .cat-go { background: var(--orange); color: #fff; transform: rotate(-45deg); }
  html[dir="rtl"] .cat-card.is-live .cat-go { transform: rotate(45deg); }
  .p-card.is-live { border-color: transparent; box-shadow: 0 30px 60px -34px rgba(139, 61, 255, .65); }
  .p-card.is-live::before, .p-card.is-live .p-shine { opacity: 1; }
  .p-card.is-live .p-media img { transform: scale(1.05); }
  .p-card.is-live .p-arrow { background: var(--grad); border-color: transparent; transform: rotate(-45deg); }
  html[dir="rtl"] .p-card.is-live .p-arrow { transform: rotate(45deg); }
  [data-spot].is-touch > .spot { opacity: 1; transition: opacity .5s, left .5s var(--ease), top .5s var(--ease); width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .tilt.is-tilting { transition: transform .35s var(--ease); }
}


/* v7 — footer word reacts to scroll: letters rise in a wave and light up in the brand gradient */
.footer-word.is-split { background: none; color: transparent; }
.footer-word .fw-ch { --lp: clamp(0, calc(var(--p, 0) * 1.9 - var(--i) * .09), 1); display: inline-block; color: transparent;
  background: linear-gradient(180deg, rgb(185 139 255 / calc(.07 + var(--lp) * .2)) 0%, rgb(255 122 26 / calc(var(--lp) * .1)) 45%, transparent 88%);
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(calc((1 - var(--lp)) * 38%)) scaleY(calc(.9 + var(--lp) * .1)); transform-origin: 50% 100%;
  transition: transform .5s var(--ease); will-change: transform; }
.footer-word .fw-sp { display: inline-block; width: .32em; }
@media (prefers-reduced-motion: reduce) { .footer-word .fw-ch { --lp: 1; transform: none; } }
.footer-word { direction: ltr; unicode-bidi: isolate; }

/* =========================================================
   v8 — Apple-style liquid glass navigation + service video loops
   ========================================================= */
.main-nav > ul, .lang-toggle, .sub-menu {
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045) 55%, rgba(255, 255, 255, .07));
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(185%) brightness(1.08);
  backdrop-filter: blur(22px) saturate(185%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 -1px 0 rgba(255, 255, 255, .07), inset 0 0 18px rgba(255, 255, 255, .05), 0 18px 46px -18px rgba(0, 0, 0, .75), 0 2px 8px -2px rgba(0, 0, 0, .35);
}
.main-nav > ul { position: relative; isolation: isolate; padding: 6px; gap: 2px; }
/* rim light: a thin gradient border that catches light top-left and bottom-right */
.main-nav > ul::before, .lang-toggle::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .05) 38%, rgba(255, 255, 255, 0) 60%, rgba(185, 139, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* lens refraction where the browser supports SVG backdrop filters (Chrome / Edge); others keep the frosted look */
.main-nav > ul::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; -webkit-backdrop-filter: url(#lg-lens); backdrop-filter: url(#lg-lens);
  background: radial-gradient(160px 60px at var(--gx, 50%) -10%, rgba(255, 255, 255, .18), transparent 70%); }
.lang-toggle { position: relative; }
.lang-toggle:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07)); }
/* links sit on the glass; the moving lens replaces the old hover / active pills */
.main-nav > ul > li > a { position: relative; z-index: 3; background: none !important; box-shadow: none !important; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); transition: color .35s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.is-active > a, .main-nav > ul > li.lens-on > a { color: #fff; }
.nav-lens { position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; pointer-events: none; opacity: 0;
  transform: translateX(var(--lx, 0px)) scaleX(var(--ls, 1)); width: var(--lw, 0px); transform-origin: 50% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08) 60%, rgba(255, 255, 255, .14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 1px rgba(255, 255, 255, .12), inset 0 0 12px rgba(255, 255, 255, .1), 0 6px 18px -6px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), width .55s cubic-bezier(.34, 1.4, .64, 1), opacity .35s; }
.nav-lens.is-on { opacity: 1; }
.nav-lens::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #ff9a3d, transparent); opacity: var(--lact, 0); transition: opacity .4s; }
.sub-menu { border-radius: 20px; }
.site-header.is-scrolled { background: linear-gradient(180deg, rgba(7, 5, 12, .55), rgba(7, 5, 12, .35)); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); border-color: rgba(255, 255, 255, .07); }
.header-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -10px rgba(193, 60, 255, .8); }
@media (prefers-reduced-motion: reduce) { .nav-lens { transition: opacity .2s; } }

/* service cards: loops of real work */
.cat-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92) brightness(.92); }
.cat-card:hover .cat-video, .cat-card.is-live .cat-video { transform: scale(1.1); filter: saturate(1.12) brightness(1); }
@media (min-width: 1100px) { .svc-flex:not(:hover) .cat-card:first-child .cat-video { filter: saturate(1.1) brightness(1); } }

/* v9 — liquid glass interaction: physics drives the lens; CSS only paints it */
.nav-lens { transition: none !important; left: 0; top: 6px; bottom: 6px; transform-origin: 50% 50%; will-change: transform, width;
  -webkit-backdrop-filter: blur(1.5px) saturate(175%) brightness(1.14); backdrop-filter: blur(1.5px) saturate(175%) brightness(1.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, calc(.7 + var(--lift, 0) * .3)), inset 0 -1px 1px rgba(255, 255, 255, .14), inset 0 0 14px rgba(255, 255, 255, calc(.1 + var(--lift, 0) * .18)), 0 calc(6px + var(--lift, 0) * 10px) calc(18px + var(--lift, 0) * 18px) -6px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, calc(.1 + var(--lift, 0) * .2)); }
.nav-lens::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(70px 30px at var(--sx, 50%) var(--sy, 15%), rgba(255, 255, 255, calc(.32 + var(--lift, 0) * .4)), transparent 70%); }
.nav-lens.is-v { left: 6px; right: 6px; top: 0; bottom: auto; width: auto; border-radius: 14px; }
.sub-menu > ul { position: relative; isolation: isolate; }
.sub-link { position: relative; z-index: 2; background: none !important; }
.main-nav > ul > li > a, .sub-link { transform-origin: 50% 55%; will-change: transform; }
.main-nav > ul > li > a.is-lensed, .sub-link.is-lensed { color: #fff; text-shadow: 0 1px 10px rgba(255, 255, 255, .25); }
.lg-btn { position: relative; transform-origin: 50% 50%; will-change: transform; }
.lg-spec { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: screen;
  background: radial-gradient(60px 30px at var(--sx, 50%) var(--sy, 20%), rgba(255, 255, 255, .38), transparent 70%); }
.lg-btn:hover .lg-spec { opacity: 1; }
.header-cta .lg-spec { z-index: 3; }
.lang-toggle svg { transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.lang-toggle:hover svg { transform: rotate(-24deg) scale(1.12); }

/* v10 — headroom inside the portrait frames: the photo sits on the frame's bottom edge at 91% height,
   its top fades into a backdrop matched to the studio wall, so there is air above the head with no seam */
.reel-photo, .about-photo, .why-img { position: relative; }
.reel-photo, .about-photo { background: radial-gradient(90% 70% at 50% 0%, #3b3440 0%, #2c2630 85%); }
.why-img { background: radial-gradient(90% 70% at 50% 0%, #35313a 0%, #232126 85%); }
.reel-photo img, .about-photo img, .why-img img { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: 91%; object-fit: cover; object-position: 50% 0; transform: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%); mask-image: linear-gradient(180deg, transparent 0, #000 10%); }

/* v10 — site background that reacts to scroll: a faint dot grid drifting at parallax speed,
   two soft brand glows travelling down the page, and a gentle stretch with scroll speed */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx .fx-grid { position: absolute; inset: -60px 0; background-image: radial-gradient(rgba(255, 255, 255, .095) 1px, transparent 1.4px); background-size: 34px 34px;
  transform: translate3d(0, var(--gy, 0px), 0) scaleY(var(--gs, 1)); transform-origin: 50% 50%;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 45%, #000 0%, rgba(0, 0, 0, .35) 60%, transparent 100%); mask-image: radial-gradient(75% 65% at 50% 45%, #000 0%, rgba(0, 0, 0, .35) 60%, transparent 100%); }
.bg-fx .fx-orb { position: absolute; width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax; border-radius: 50%; filter: blur(30px); opacity: calc(.16 + var(--v, 0) * .1); will-change: transform; }
.bg-fx .fx-a { left: 0; top: 0; background: radial-gradient(closest-side, rgba(139, 61, 255, .9), transparent 70%); transform: translate3d(var(--ax, 15vw), var(--ay, 30vh), 0); }
.bg-fx .fx-b { left: 0; top: 0; background: radial-gradient(closest-side, rgba(255, 106, 0, .75), transparent 70%); transform: translate3d(var(--bx, 85vw), var(--by, 70vh), 0); opacity: calc(.11 + var(--v, 0) * .08); }
@media (max-width: 760px) { .bg-fx .fx-orb { width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; } .bg-fx .fx-grid { background-size: 26px 26px; } }

/* v11 — hero positioning copy + mobile menu current item */
.hero-role { font-size: clamp(17px, 1.5vw, 22px); margin-bottom: 10px; }
.hero-sub { max-width: 520px; margin: 0 0 18px; color: #d4cce2; font-size: clamp(15px, 1.12vw, 17px); line-height: 1.6; }
.hero-tag { font-family: var(--f-display); font-weight: 700; font-size: clamp(15px, 1.2vw, 18px); letter-spacing: .01em; margin-bottom: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; max-width: 100%; }
html[lang="ar"] .hero-tag { line-height: 1.6; }
/* an outline (text-stroke) on Syne shows each glyph's overlapping inner contours, so the current page is a solid gradient */
.mm-main a[aria-current] { -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mm-main a[aria-current] small { -webkit-text-fill-color: var(--orange-2); }

/* =========================================================
   v12 — About: a professional page built like an edit suite
   ========================================================= */
/* intro: words light up as you scroll */
.ab-intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ab-statement { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.25; letter-spacing: -.015em; margin: 14px 0 26px; }
html[lang="ar"] .ab-statement { line-height: 1.6; letter-spacing: 0; }
.ab-statement .sw { color: rgba(255, 255, 255, .16); transition: color .35s; }
.ab-statement .sw.is-lit { color: #fff; }
.ab-statement .sw.is-lit:nth-child(7n+3) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.no-js .ab-statement .sw, .ab-statement.is-static .sw { color: #fff; }
.ab-body { color: #d4cce2; font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.75; max-width: 620px; }
.ab-facts { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.ab-facts li { padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 14px; font-weight: 600; color: #e9e2f4; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-actions .btn svg { width: 20px; height: 20px; }

/* career journey: an NLE timeline scrubbed by scroll */
.ab-journey { position: relative; }
.ab-j-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-block: calc(var(--header-h) + 10px) 30px; overflow: hidden; }
.ab-j-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ab-j-tc { display: grid; justify-items: end; gap: 2px; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.ab-j-tc span { font-size: 11px; letter-spacing: .2em; color: var(--orange-2); }
.ab-j-tc b { font-size: clamp(34px, 3.6vw, 54px); font-weight: 700; line-height: 1; letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums; }
.ab-j-tc small { font-family: var(--f-body); font-size: 12.5px; color: var(--muted); }
html[dir="rtl"] .ab-j-tc { justify-items: start; }
.ab-j-stage { display: grid; grid-template-rows: auto auto; gap: 18px; }
.ab-j-insp { position: relative; min-height: 190px; padding: 24px 28px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px 36px; align-items: start; }
.ab-j-insp::before { content: 'INSPECTOR'; position: absolute; top: -9px; inset-inline-start: 22px; padding: 0 8px; font: 700 10.5px/18px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .2em; color: var(--orange-2); background: var(--bg); border-radius: 6px; }
.ab-j-insp .ab-role-dates { grid-column: 1; }
.ab-j-insp h3 { grid-column: 1; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; margin: 0; }
.ab-j-insp .ab-role-org { grid-column: 1; margin: 0; color: var(--muted); font-weight: 600; }
.ab-j-insp ul { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ab-j-insp ul li { position: relative; padding-inline-start: 22px; color: #e3dcef; font-size: 15px; line-height: 1.55; }
.ab-j-insp ul li::before { content: ''; position: absolute; inset-inline-start: 0; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: var(--grad); }
.ab-j-insp .ab-also { grid-column: 1; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.ab-j-insp .ab-also b { color: #fff; font-weight: 700; }
.ab-j-insp > * { animation: inspIn .5s var(--ease) both; }
@keyframes inspIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.ab-role-dates { display: inline-block; font: 700 12px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--orange-2); }
.ab-j-view { position: relative; height: 196px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); overflow: hidden; }
.ab-j-track { position: absolute; top: 0; bottom: 0; left: 0; width: 3400px; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.ab-j-ruler { position: absolute; inset: 0 0 auto 0; height: 34px; border-bottom: 1px solid var(--line); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 34px); background-size: 34px 8px; background-repeat: repeat-x; background-position: 0 100%; }
.ab-j-ruler span { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(255, 255, 255, .35); }
.ab-j-ruler b { position: absolute; top: 7px; left: 8px; font: 700 12px/1 ui-monospace, Menlo, Consolas, monospace; color: #cfc6de; }
.ab-j-mk { position: absolute; top: 26px; z-index: 3; transform: translateX(-50%); }
.ab-j-mk i { display: block; width: 12px; height: 12px; transform: rotate(45deg); background: linear-gradient(135deg, #ffb37a, #ff6a00); box-shadow: 0 0 14px rgba(255, 106, 0, .8); border-radius: 2px; }
.ab-j-mk em { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 11.5px; font-weight: 700; color: #ffd2ad; opacity: .75; }
.ab-j-lane { position: absolute; left: 0; right: 0; height: 44px; }
.ab-j-lane.is-v2 { top: 44px; } .ab-j-lane.is-v1 { top: 94px; } .ab-j-lane.is-a1 { top: 144px; height: 38px; }
.ab-j-lab { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.ab-clip { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 12px; border-radius: 9px; text-align: left; overflow: hidden; color: #fff; border: 1px solid rgba(255, 255, 255, .22); background: linear-gradient(180deg, color-mix(in srgb, var(--cc) 62%, transparent), color-mix(in srgb, var(--cc) 34%, transparent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); transition: filter .35s, box-shadow .35s, transform .35s var(--ease); cursor: pointer; }
.ab-clip b { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-clip small { font-size: 11px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-clip.is-on { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 2px #fff, 0 10px 30px -8px color-mix(in srgb, var(--cc) 90%, transparent); filter: saturate(1.25) brightness(1.15); }
.c-teal { --cc: #2ec4b6; } .c-orange { --cc: #ff7a1a; } .c-purple { --cc: #8b3dff; } .c-blue { --cc: #3d7bff; } .c-magenta { --cc: #d13cff; } .c-gold { --cc: #e8a33d; }
.ab-j-wave { position: absolute; inset: 4px 0; border-radius: 8px; background: linear-gradient(180deg, rgba(61, 220, 132, .18), rgba(61, 220, 132, .08)); -webkit-mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px), radial-gradient(60% 50% at 50% 50%, #000, transparent); mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px); }
.ab-j-wave::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(61, 220, 132, .5) 40px 42px, transparent 42px 90px); }
.ab-j-head-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #ff6a00; box-shadow: 0 0 16px rgba(255, 106, 0, .9); z-index: 5; pointer-events: none; }
.ab-j-head-line i { position: absolute; top: -1px; left: -7px; border: 8px solid transparent; border-top: 11px solid #ff6a00; border-bottom: 0; }
.ab-j-list { display: none; }
/* below 1000px (and when motion is reduced): a vertical, readable career list */
@media (max-width: 999px) {
  .ab-j-sticky { position: relative; min-height: 0; padding-block: clamp(70px, 9vw, 130px) 10px; }
  .ab-j-stage, .ab-j-tc { display: none; }
  .ab-j-list { display: grid; gap: 16px; list-style: none; margin: 0 auto; padding-bottom: clamp(70px, 9vw, 130px); position: relative; padding-inline-start: 34px; }
  .ab-j-list::before { content: ''; position: absolute; top: 6px; bottom: 90px; inset-inline-start: 12px; width: 2px; background: linear-gradient(180deg, #8b3dff, #ff6a00); opacity: .6; }
}
@media (prefers-reduced-motion: reduce) { .ab-journey { height: auto !important; } .ab-j-sticky { position: relative; } .ab-j-stage, .ab-j-tc { display: none; } .ab-j-list { display: grid; gap: 16px; list-style: none; padding-bottom: 80px; } }
.ab-role { position: relative; padding: 22px 22px 20px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.ab-role::before { content: ''; position: absolute; top: 26px; inset-inline-start: -28px; width: 12px; height: 12px; border-radius: 50%; background: var(--cc, #8b3dff); box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--cc, #8b3dff); }
.ab-role h3 { font-size: 20px; line-height: 1.25; margin: 8px 0 4px; }
.ab-role .ab-role-org { color: var(--muted); font-weight: 600; margin: 0 0 12px; font-size: 14.5px; }
.ab-role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ab-role ul li { position: relative; padding-inline-start: 18px; font-size: 14.5px; line-height: 1.55; color: #ddd5ea; }
.ab-role ul li::before { content: ''; position: absolute; inset-inline-start: 0; top: .65em; width: 8px; height: 2px; background: var(--grad); }

/* achievements */
.ab-ach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-card { position: relative; overflow: hidden; padding: 26px 26px 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); isolation: isolate; }
.ab-card.is-big { grid-column: span 1; background: radial-gradient(120% 90% at 0% 0%, rgba(139, 61, 255, .22), transparent 60%), radial-gradient(100% 80% at 100% 100%, rgba(255, 106, 0, .16), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border-color: rgba(185, 139, 255, .3); }
.ab-card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-soft); color: var(--orange-2); margin-bottom: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.ab-card-ic svg { width: 26px; height: 26px; }
.ab-card h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; margin: 0 0 6px; }
.ab-card-meta { font: 700 12.5px/1.4 var(--f-body); letter-spacing: .04em; color: var(--orange-2); margin: 0 0 12px; }
.ab-card p { color: #d4cce2; font-size: 15px; line-height: 1.6; margin: 0; }
.ab-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.ab-card ul li { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 600; color: #eee8f7; }
.ab-card-shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .09) 45%, transparent 60%); transform: translateX(-120%); transition: transform 1.1s var(--ease); }
.ab-card:hover .ab-card-shine, .ab-card.is-live .ab-card-shine { transform: translateX(120%); }
.ab-card:hover .ab-card-ic, .ab-card.is-live .ab-card-ic { transform: rotate(-8deg) scale(1.08); }
.ab-card-ic { transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }

/* core expertise: each skill has its own live micro-visual */
.ab-exp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-x { position: relative; padding: 18px 18px 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); transition: border-color .4s, transform .5s var(--ease); }
.ab-x:hover { border-color: rgba(185, 139, 255, .45); transform: translateY(-4px); }
.ab-x h3 { font-size: 19px; margin: 16px 0 6px; }
.ab-x p { margin: 0; color: #cfc6de; font-size: 14.5px; line-height: 1.55; }
.ab-x-vis { position: relative; height: 96px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, rgba(139, 61, 255, .16), rgba(7, 5, 12, .6)); border: 1px solid rgba(255, 255, 255, .06); }
.ab-x * { animation-play-state: paused; }
.ab-x.is-in *, .ab-x:hover * { animation-play-state: running; }
.fx-tl { position: absolute; inset: 30px 14px; display: flex; gap: 4px; }
.fx-tl i { height: 100%; border-radius: 5px; background: linear-gradient(180deg, #a46bff, #6d2ee0); animation: fxTrim 3.2s ease-in-out infinite; flex: 1; }
.fx-tl i:nth-child(2) { background: linear-gradient(180deg, #ff9a3d, #e0661a); animation-delay: -.8s; } .fx-tl i:nth-child(3) { background: linear-gradient(180deg, #3d7bff, #2450c7); animation-delay: -1.6s; } .fx-tl i:nth-child(4) { background: linear-gradient(180deg, #2ec4b6, #1a8f84); animation-delay: -2.4s; }
@keyframes fxTrim { 50% { flex: 2.2; } }
.fx-ph { position: absolute; top: 18px; bottom: 18px; left: 14px; width: 2px; background: #ff6a00; box-shadow: 0 0 10px #ff6a00; animation: fxPh 3.2s linear infinite; }
@keyframes fxPh { to { left: calc(100% - 16px); } }
.fx-motion svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-curve { fill: none; stroke: rgba(185, 139, 255, .55); stroke-width: 2; stroke-dasharray: 4 5; }
.fx-dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #ff9a3d; box-shadow: 0 0 16px #ff6a00; offset-path: path('M10 75 C 60 75, 70 15, 110 15 S 170 60, 190 20'); animation: fxPath 2.4s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
@keyframes fxPath { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.fx-orb { position: absolute; border-radius: 50%; mix-blend-mode: screen; filter: blur(2px); animation: fxOrb 3s ease-in-out infinite; }
.fx-orb.o1 { width: 70px; height: 70px; left: 22%; top: 14px; background: radial-gradient(circle, #8b3dff, transparent 70%); }
.fx-orb.o2 { width: 60px; height: 60px; left: 42%; top: 24px; background: radial-gradient(circle, #ff6a00, transparent 70%); animation-delay: -1s; }
.fx-orb.o3 { width: 50px; height: 50px; left: 56%; top: 8px; background: radial-gradient(circle, #3dd6ff, transparent 70%); animation-delay: -2s; }
@keyframes fxOrb { 50% { transform: translate(14px, 8px) scale(1.25); } }
.fx-wheel { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: radial-gradient(circle, #fff 0, transparent 62%), conic-gradient(#ff3d3d, #ffd23d, #3dff7a, #3dd6ff, #6d3dff, #ff3dd6, #ff3d3d); animation: fxSpin 8s linear infinite; }
.fx-wheel-dot { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .6); animation: fxGrade 4s ease-in-out infinite; }
@keyframes fxSpin { to { transform: rotate(360deg); } }
@keyframes fxGrade { 0%, 100% { transform: translate(-14px, 8px); } 50% { transform: translate(16px, -10px); } }
.fx-wave { position: absolute; inset: 18px 14px; display: flex; align-items: center; gap: 3px; }
.fx-wave i { flex: 1; height: 30%; border-radius: 2px; background: linear-gradient(180deg, #3ddc84, #1a9f5c); animation: fxBar 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -73ms); }
@keyframes fxBar { 50% { height: 95%; } }
.fx-check { position: absolute; inset: 16px 18px; display: grid; gap: 8px; }
.fx-check i { position: relative; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fx-check i::before { content: ''; position: absolute; inset: 0; width: 0; background: var(--grad); animation: fxFill 3s ease-in-out infinite; }
.fx-check i:nth-child(2)::before { animation-delay: .4s; } .fx-check i:nth-child(3)::before { animation-delay: .8s; }
@keyframes fxFill { 0% { width: 0; } 40%, 80% { width: 100%; } 100% { width: 0; } }
.fx-ai { position: absolute; inset: 12px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.fx-ai i { border-radius: 4px; background: rgba(255, 255, 255, .06); animation: fxTw 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -170ms); }
@keyframes fxTw { 50% { background: linear-gradient(135deg, #a46bff, #ff9a3d); box-shadow: 0 0 12px rgba(193, 60, 255, .6); } }

/* tools */
.ab-tools-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ab-tg { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.ab-tg h3 { font: 700 12.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--orange-2); margin: 0 0 16px; }
html[lang="ar"] .ab-tg h3 { letter-spacing: 0; font-size: 15px; }
.ab-tg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ab-tool { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background .3s, border-color .3s; }
html[dir="rtl"] .ab-tool { padding: 6px 6px 6px 14px; }
.ab-tool:hover { transform: translateY(-4px) scale(1.04); background: rgba(255, 255, 255, .08); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.ab-tool-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font: 800 14px/1 var(--f-display); color: var(--c); background: var(--b); border: 1.5px solid color-mix(in srgb, var(--c) 60%, transparent); }
.ab-tool-n { font-weight: 600; font-size: 14.5px; }

/* learning marquee */
.ab-degree { font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; max-width: 900px; margin: 10px 0 30px; color: #eee8f7; }
.ab-mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ab-mq + .ab-mq { margin-top: 12px; }
.ab-mq > div { display: flex; width: max-content; gap: 18px; align-items: center; animation: abMq 60s linear infinite; }
.ab-mq.is-rev > div { animation-direction: reverse; }
.ab-mq span { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; white-space: nowrap; background: rgba(255, 255, 255, .03); }
.ab-mq i { color: var(--orange-2); font-style: normal; }
.ab-mq:hover > div { animation-play-state: paused; }
@keyframes abMq { to { transform: translateX(-50%); } }

/* CV block */
.ab-cv-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.ab-cv-doc { position: relative; height: 380px; }
.ab-cv-page { position: absolute; width: 62%; aspect-ratio: 1 / 1.41; left: 12%; top: 4%; padding: 22px 20px; border-radius: 10px; background: #f6f3fb; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); display: flex; flex-direction: column; gap: 9px; transform: rotate(-4deg); }
.ab-cv-page.is-2 { left: 30%; top: 10%; transform: rotate(5deg); z-index: -1; opacity: .9; }
.ab-cv-page b { font: 800 19px/1 var(--f-display); color: #1b2a4a; }
.ab-cv-page small { font-size: 9.5px; font-weight: 700; color: #1b2a4a; margin-bottom: 6px; }
.ab-cv-page i { display: block; height: 6px; border-radius: 3px; background: #d9d4e4; }
.ab-cv-page i:nth-child(3n) { width: 70%; } .ab-cv-page i:nth-child(4n+1) { background: #1b2a4a; height: 4px; width: 40%; margin-top: 6px; }
.ab-cv-badge { position: absolute; right: 14%; bottom: 8%; padding: 10px 16px; border-radius: 12px; background: var(--grad); font: 800 15px/1 var(--f-display); box-shadow: 0 16px 40px -10px rgba(193, 60, 255, .8); }
.ab-cv-meta { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

@media (max-width: 1100px) { .ab-exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ab-ach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ab-intro-grid, .ab-cv-grid { grid-template-columns: 1fr; } .ab-tools-groups { grid-template-columns: 1fr; } .ab-cv-doc { height: 300px; } }
@media (max-width: 560px) { .ab-exp-grid, .ab-ach-grid { grid-template-columns: 1fr; } .ab-statement { font-size: clamp(23px, 6.6vw, 30px); } .ab-actions .btn { width: 100%; } }

/* v12b — timeline: third lane, markers that name themselves only under the playhead */
.ab-j-view { height: 244px; }
.ab-j-lane.is-v3 { top: 44px; } .ab-j-lane.is-v2 { top: 94px; } .ab-j-lane.is-v1 { top: 144px; } .ab-j-lane.is-a1 { top: 196px; }
.ab-j-mk em { top: auto; bottom: 18px; padding: 3px 9px; border-radius: 6px; background: #1a1226; border: 1px solid rgba(255, 154, 61, .5); color: #ffd2ad; opacity: 0; transform: translate(-50%, 4px); transition: opacity .3s, transform .3s; }
.ab-j-mk.is-near em { opacity: 1; transform: translate(-50%, 0); }
.ab-j-mk { top: 24px; }
.x-motion svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== v13: real tool logos ===== */
.ab-tool-ic { overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.ab-tool-ic svg { width: 22px; height: 22px; display: block; }
.ab-tool-ic.is-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ===== v14: performance (no visual change) =====
   The background glows were blurred and blended on every frame while scrolling, which made scrolling heavy.
   Their radial gradient is already soft, so dropping the blur and the blend mode looks the same (max 5/255 per pixel). */
.bg-fx { contain: strict; }
.bg-fx .fx-orb { filter: none; mix-blend-mode: normal; }


/* ===== v16: "cinematic" site background (replaces the two colour orbs) =====
   two anamorphic lens streaks (wide flat halo + hairline core + small hot centre) that drift with scroll,
   the dot grid, a soft vignette and fine film grain */
.bg-fx.fx-cine .fx-streak { position: absolute; top: 0; left: -60vw; width: 120vw; height: 90px; margin-top: -45px;
  background: radial-gradient(closest-side, rgba(150, 110, 255, .075), rgba(139, 61, 255, .025) 55%, transparent);
  opacity: calc(.8 + var(--v, 0) * .2); transform: translate3d(var(--ax, 15vw), var(--ay, 30vh), 0) scaleX(calc(1 + var(--v, 0) * .15)); will-change: transform; }
.bg-fx.fx-cine .fx-streak::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(140, 100, 255, .12) 22%, rgba(180, 150, 255, .38) 42%, rgba(240, 234, 255, .7) 50%, rgba(180, 150, 255, .38) 58%, rgba(140, 100, 255, .12) 78%, transparent 96%); }
.bg-fx.fx-cine .fx-streak::after { content: ''; position: absolute; left: 50%; top: 50%; width: 220px; height: 10px; margin: -5px 0 0 -110px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .28), rgba(190, 160, 255, .08) 60%, transparent); }
.bg-fx.fx-cine .fx-streak-2 { width: 90vw; left: -45vw; height: 70px; margin-top: -35px; background: radial-gradient(closest-side, rgba(255, 130, 50, .045), transparent);
  opacity: calc(.6 + var(--v, 0) * .2); transform: translate3d(var(--bx, 85vw), var(--by, 70vh), 0) scaleX(calc(1 + var(--v, 0) * .15)); }
.bg-fx.fx-cine .fx-streak-2::before { background: linear-gradient(90deg, transparent 8%, rgba(255, 120, 40, .1) 30%, rgba(255, 190, 140, .4) 50%, rgba(255, 120, 40, .1) 70%, transparent 92%); }
.bg-fx.fx-cine .fx-streak-2::after { width: 150px; margin-left: -75px; background: radial-gradient(closest-side, rgba(255, 220, 190, .18), transparent); }
.bg-fx.fx-cine .fx-vig { position: absolute; inset: 0; background: radial-gradient(130% 100% at 50% 45%, transparent 60%, rgba(0, 0, 0, .32) 100%); }
.bg-fx.fx-cine .fx-grain { position: absolute; inset: -50%; opacity: .035; animation: fxGrain 1.4s steps(4) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes fxGrain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); } 60% { transform: translate(-4%, -3%); } 80% { transform: translate(7%, 6%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .bg-fx.fx-cine .fx-grain { animation: none; } }