/* ==========================================================================
   Illegend — website styles
   Design language: Armory (4-column hairline grid, Inter Display + Geist Mono,
   monochrome with the Illegend teal as accent). Arabic uses IBM Plex Sans Arabic (RTL).
   ========================================================================== */

/* ------------------------------------------------------------------ Fonts */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 300; font-display: swap; src: url("../fonts/geist-mono-300.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url("../fonts/geist-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap; src: url("../fonts/geist-mono-500.woff2") format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 300; font-display: swap; src: url("../fonts/plex-arabic-300.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+25CC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+25CC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+25CC; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+25CC; }

/* ----------------------------------------------------------------- Tokens */
:root {
  --dark: #060606;
  --dark-2: #0D0D0D;
  --dark-3: #151515;
  --light: #E8E8E6;
  --light-2: #DCDCD9;
  --ink: #060606;
  --ink-2: #1A1A1A;
  --accent: #1F8DA1;
  --accent-2: #5FC4D3;
  --accent-soft: rgba(31, 141, 161, .16);
  --w85: rgba(255, 255, 255, .85);
  --w70: rgba(255, 255, 255, .7);
  --w50: rgba(255, 255, 255, .5);
  --w35: rgba(255, 255, 255, .35);
  --w20: rgba(255, 255, 255, .2);
  --w12: rgba(255, 255, 255, .12);
  --w07: rgba(255, 255, 255, .07);
  --w04: rgba(255, 255, 255, .04);
  --k70: rgba(6, 6, 6, .7);
  --k50: rgba(6, 6, 6, .5);
  --k20: rgba(6, 6, 6, .2);
  --k10: rgba(6, 6, 6, .1);
  --k06: rgba(6, 6, 6, .06);
  --font: "Inter", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "Plex Arabic", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: 40px;
  --head-pad: 30px;
  --sec-top: 170px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-h1: clamp(52px, 6.95vw, 100px);
  --t-h2: clamp(38px, 4.17vw, 60px);
  --t-statement: clamp(28px, 3.125vw, 45px);
  --t-list: clamp(22px, 2.36vw, 34px);
  --t-lead: clamp(18px, 1.53vw, 22px);
  --t-stat: clamp(42px, 4.03vw, 58px);
}
html[lang="ar"] { --font: "Plex Arabic", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ------------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--dark); scrollbar-color: #2a2a2a var(--dark); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; min-height: 100vh; background: var(--dark); color: #fff; font-family: var(--font); font-size: 16px; font-weight: 300; line-height: 1.7; letter-spacing: .02em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
html[lang="ar"] body { letter-spacing: 0; line-height: 1.8; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--ink); font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.mono, .mono-label { font-family: var(--mono); }
.mono-label { display: block; font-size: 13px; font-weight: 300; letter-spacing: .02em; text-transform: uppercase; opacity: .55; }
html[lang="ar"] .mono-label { font-family: var(--font); text-transform: none; font-size: 13.5px; letter-spacing: 0; }
[dir="rtl"] .flip-rtl, [dir="rtl"] .px-arrow, [dir="rtl"] .work-row__arrow .icon, [dir="rtl"] .link-arrow .icon, [dir="rtl"] .menu__arrow, [dir="rtl"] .svc-card__more .icon, [dir="rtl"] .svc-line__go .icon, [dir="rtl"] .next-case__go .icon, [dir="rtl"] .announce__link .icon { transform: scaleX(-1); }
main { display: block; outline: none; }

/* Film grain over everything (very light, animated in steps) */
body.has-grain::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ------------------------------------------------------- Sections & grid */
/* Every section draws the 4-column hairlines (25 / 50 / 75 %) behind its content, like Armory. */
.sec { position: relative; isolation: isolate; }
.sec--dark { background: var(--dark); color: #fff; --line: rgba(255, 255, 255, .065); --line-strong: rgba(255, 255, 255, .1); --ill-bg: var(--dark); --dim: rgba(255, 255, 255, .2); --text-2: var(--w85); --card: var(--dark-2); }
.sec--light { background: var(--light); color: var(--ink); --line: rgba(6, 6, 6, .085); --line-strong: rgba(6, 6, 6, .14); --ill-bg: var(--light); --dim: rgba(6, 6, 6, .2); --text-2: var(--ink-2); --card: #F2F2F0; }
.sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(90deg, var(--line) 0 1px, transparent 1px); background-size: 25% 100%; background-position: 25% 0; background-repeat: repeat-x; }
.sec > * { position: relative; }

/* Eyebrow: hatch marker + mono uppercase label */
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 300; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; }
html[lang="ar"] .eyebrow { font-family: var(--font); font-size: 14px; text-transform: none; letter-spacing: 0; }
.eyebrow__hatch { width: 25px; height: 9px; flex-shrink: 0; background: repeating-linear-gradient(-48deg, currentColor 0 1.6px, transparent 1.6px 4.2px); }
[dir="rtl"] .eyebrow__hatch { transform: scaleX(-1); }
.eyebrow__sep { opacity: .4; }
.eyebrow a.eyebrow__text:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Section head (column 2) */
.sec-head { padding-block: var(--sec-top) 0; padding-inline: calc(25% + var(--head-pad)) var(--pad); display: flex; flex-direction: column; gap: 20px; }
.sec-head__title { max-width: 440px; font-size: var(--t-h2); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.sec-head__intro { max-width: 652px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
html[lang="ar"] .sec-head__title { max-width: 520px; line-height: 1.22; letter-spacing: 0; font-weight: 400; }

/* -------------------------------------------------------------- Buttons */
/* Armory button: sharp rectangle, square icon box with a pixel-art arrow, label */
.btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 200px; padding-block: 2px; padding-inline: 2px 16px; border: 1px solid transparent; font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; isolation: isolate; overflow: hidden; transition: color .45s var(--ease), border-color .45s var(--ease); }
html[lang="ar"] .btn { letter-spacing: 0; font-size: 14.5px; }
.btn__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 2px; overflow: hidden; transition: background-color .45s var(--ease); }
.btn__label { position: relative; z-index: 1; flex: 1; text-align: center; padding-inline: 10px 0; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .55s var(--ease); }
[dir="rtl"] .btn::before { --origin: right; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--light { background: #fff; color: var(--dark-2); border-color: rgba(13, 13, 13, .06); }
.btn--light .btn__icon { background: var(--dark-2); color: #fff; }
.btn--light::before { background: var(--dark-2); }
.btn--light:hover { color: #fff; border-color: var(--w20); }
.btn--light:hover .btn__icon { background: #fff; color: var(--dark-2); }
.btn--dark { background: var(--dark-2); color: #fff; border-color: rgba(255, 255, 255, .06); }
.btn--dark .btn__icon { background: #fff; color: var(--dark-2); }
.btn--dark::before { background: #fff; }
.btn--dark:hover { color: var(--dark-2); border-color: var(--k20); }
.btn--dark:hover .btn__icon { background: var(--dark-2); color: #fff; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.px-arrow { width: 14px; height: 12px; fill: currentColor; }
.btn:hover .px-arrow, .quick-form__btn:hover .px-arrow, .send-btn:hover .px-arrow { animation: pxMarch .6s steps(4) infinite; }
@keyframes pxMarch { 0% { transform: translateX(-4px); opacity: .3; } 30% { opacity: 1; } 100% { transform: translateX(4px); opacity: .3; } }
[dir="rtl"] .btn:hover .px-arrow, [dir="rtl"] .quick-form__btn:hover .px-arrow, [dir="rtl"] .send-btn:hover .px-arrow { animation-name: pxMarchRtl; }
@keyframes pxMarchRtl { 0% { transform: scaleX(-1) translateX(-4px); opacity: .3; } 30% { opacity: 1; } 100% { transform: scaleX(-1) translateX(4px); opacity: .3; } }
.btn[data-draw] { clip-path: inset(0 100% 0 0); }
[dir="rtl"] .btn[data-draw] { clip-path: inset(0 0 0 100%); }
.btn[data-draw].is-drawn { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease) .1s; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
html[lang="ar"] .link-arrow { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 14px; }
.link-arrow .icon { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

/* --------------------------------------------------------------- Header */
.hdr { position: fixed; top: 0; inset-inline: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 28px var(--pad); color: #fff; mix-blend-mode: difference; pointer-events: none; transition: transform .6s var(--ease); }
.hdr > * { pointer-events: auto; }
.hdr.is-hidden { transform: translateY(-110%); }
.menu-open .hdr { transform: none; }
.hdr__logo { display: block; }
.hdr__logo .logo { height: 26px; width: auto; }
.logo__mark .logo-mark__p { transform-box: fill-box; transform-origin: center; }
.hdr__logo:hover .logo-mark__p--1 { animation: markHop .6s var(--ease); }
.hdr__logo:hover .logo-mark__p--2 { animation: markHop .6s var(--ease) .08s; }
@keyframes markHop { 40% { transform: translateY(-3px); } }
.hdr__actions { display: flex; align-items: center; gap: 22px; }
.hdr__lang { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .35); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; transition: background-color .3s, color .3s; }
.hdr__lang:hover { background: #fff; color: #000; }
.hdr__lang-now { opacity: .45; }
.hdr__lang-sep { opacity: .3; }
.hdr__lang-next { font-family: var(--font); font-size: 13px; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -10px; }
.burger__lines { position: relative; width: 26px; height: 10px; }
.burger__lines i { position: absolute; inset-inline: 0; height: 1.6px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 8.4px; }
.menu-open .burger__lines i:first-child { top: 4.2px; transform: rotate(45deg); }
.menu-open .burger__lines i:last-child { top: 4.2px; transform: rotate(-45deg); }

/* Announcement bar */
.announce { position: relative; z-index: 61; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding: 6px 16px; background: var(--accent); color: #fff; font-size: 13px; text-align: center; }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.announce__link { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); text-transform: uppercase; font-size: 12px; border-bottom: 1px solid; }
.announce__link .icon { width: 14px; height: 14px; }
body:has(.announce) .hdr { top: 38px; }
body:has(.announce) .hdr.is-scrolled { top: 0; }

/* ------------------------------------------------------------- Preloader */
.preloader { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: var(--dark); color: #fff; }
.preloader__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.preloader__mark { width: 110px; opacity: 0; color: #fff; }
.preloader__mark .logo-mark { width: 100%; height: auto; }
.preloader.no-webgl .preloader__mark { opacity: 1; animation: pulseMark 1.2s ease-in-out infinite alternate; }
@keyframes pulseMark { to { opacity: .35; } }
.preloader__meta { position: absolute; inset-inline: var(--pad); bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; font-size: 12px; letter-spacing: .1em; }
.preloader__label { opacity: .55; }
.preloader__count { font-size: 46px; font-weight: 300; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.preloader__bar { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--w07); }
.preloader__bar i { display: block; width: 100%; height: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: var(--o, left); }
[dir="rtl"] .preloader__bar i { --o: right; }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .9s var(--ease) .1s, visibility 0s 1s; }
.no-preloader .preloader { display: none; }
html.preloading { overflow: hidden; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px); background-size: 25% 100%; background-position: 25% 0; }
.hero__stage { position: absolute; inset: 0; z-index: 0; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero__fallback { position: absolute; top: 50%; inset-inline-end: 12%; width: min(36vw, 520px); transform: translateY(-46%); color: #fff; opacity: .9; filter: drop-shadow(0 0 60px rgba(31, 141, 161, .55)); transition: opacity 1s; }
.hero__fallback .logo-mark { width: 100%; height: auto; }
.hero__fallback::after { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(closest-side, rgba(31, 141, 161, .35), transparent); }
.hero.is-3d .hero__fallback { opacity: 0; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(6, 6, 6, .92) 0%, rgba(6, 6, 6, .2) 34%, rgba(6, 6, 6, 0) 55%), linear-gradient(90deg, rgba(6, 6, 6, .55) 0%, rgba(6, 6, 6, 0) 46%); }
[dir="rtl"] .hero__shade { background: linear-gradient(0deg, rgba(6, 6, 6, .92) 0%, rgba(6, 6, 6, .2) 34%, rgba(6, 6, 6, 0) 55%), linear-gradient(270deg, rgba(6, 6, 6, .55) 0%, rgba(6, 6, 6, 0) 46%); }
.hero__top { position: absolute; z-index: 2; top: 44px; inset-inline-start: 50%; inset-inline-end: 0; }
.hero__services { display: flex; flex-direction: column; gap: 20px; }
.hero__services a { position: relative; display: inline-flex; align-items: baseline; gap: 14px; font-size: var(--t-list); font-weight: 400; line-height: 1.2; letter-spacing: -.03em; transition: opacity .4s; }
html[lang="ar"] .hero__services a { letter-spacing: 0; font-weight: 400; }
.hero__svc-idx { font-size: 11px; letter-spacing: .04em; opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s var(--ease); align-self: center; }
.hero__services:hover a { opacity: .38; }
.hero__services a:hover { opacity: 1; }
.hero__services a:hover .hero__svc-idx { opacity: .6; transform: none; }
.hero__services li { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.is-loaded .hero__services li { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(.15s + var(--i) * .11s); }
.hero__clients { width: min(50vw - 40px, 560px); margin-top: 38px; opacity: 0; transition: opacity 1.4s var(--ease) 1.1s; }
.is-loaded .hero__clients { opacity: 1; }
.hero__content { position: absolute; z-index: 2; inset-inline-start: var(--pad); bottom: 130px; max-width: 640px; }
.hero__title { font-size: var(--t-h1); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
html[lang="ar"] .hero__title { line-height: 1.18; letter-spacing: 0; font-weight: 400; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; transform: translateY(105%); }
.is-loaded [data-hero-title] .line > span, [data-hero-title].is-in .line > span { transform: none; transition: transform 1.15s var(--ease); }
[data-hero-title] .line:nth-child(2) > span { transition-delay: .09s !important; }
[data-hero-title] .line:nth-child(3) > span { transition-delay: .18s !important; }
.hero__sub { max-width: 500px; margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--w85); }
.hero__cta { margin-top: 36px; }
[data-hero-fade] { opacity: 0; transform: translateY(12px); }
.is-loaded [data-hero-fade] { opacity: 1; transform: none; transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; }
.hero__hint { position: absolute; z-index: 2; inset-inline-end: var(--pad); bottom: 40px; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .08em; opacity: .5; }
.hero__hint-line { width: 1px; height: 46px; background: linear-gradient(var(--w70), transparent); animation: scrollHint 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes scrollHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Marquee (client wordmarks) */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marqueeRtl; }
.marquee__group { display: flex; align-items: center; gap: 46px; padding-inline-end: 46px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
.client { white-space: nowrap; font-size: 17px; line-height: 1; opacity: .9; }
.client--sans { font-weight: 700; letter-spacing: -.04em; font-size: 18px; }
.client--mono { font-family: var(--mono); font-weight: 500; letter-spacing: .12em; font-size: 14px; }
.client--serif { font-weight: 200; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.client__logo { height: 26px; width: auto; }

/* ------------------------------------------------------- Intro statement */
.intro { padding: 170px 0 90px; }
.intro__inner { width: min(652px, calc(100% - 2 * var(--pad))); margin-inline: auto; }
.intro__chips { display: flex; margin-bottom: 26px; }
.chip-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-inline-end: -12px; border-radius: 50%; background: var(--dark); border: 1px solid var(--w20); color: #fff; box-shadow: 0 0 0 4px var(--dark); }
.chip-ico .icon { width: 22px; height: 22px; stroke-width: 1.4; }
.chip-ico:nth-child(2) { background: #101516; }
.chip-ico:nth-child(4) { border-color: var(--accent); color: var(--accent-2); }
.intro__text { font-size: var(--t-statement); font-weight: 400; line-height: 1.133; letter-spacing: -.044em; }
html[lang="ar"] .intro__text { line-height: 1.45; letter-spacing: 0; }
.intro__sub { margin-top: 36px; font-size: 16px; line-height: 1.7; color: var(--w85); }
[data-char-reveal] .cr { color: var(--dim, rgba(255, 255, 255, .2)); transition: color .25s linear; }
[data-char-reveal] .cr.is-lit { color: inherit; }
[data-char-reveal] .cw { display: inline-block; white-space: nowrap; }

/* ---------------------------------------------------------- Service cards */
.svc-cards { padding: 40px 0 90px; }
.svc-cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 0 var(--pad) 46px; color: inherit; isolation: isolate; }
.svc-card__art { position: relative; display: grid; place-items: center; height: 330px; margin: 0 calc(-1 * var(--pad)) 34px; color: #fff; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px); background-size: 18px 18px; background-position: center; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.svc-card__art .ill { width: 62%; max-height: 190px; height: auto; transition: transform .8s var(--ease), filter .8s var(--ease); }
.svc-card:hover .svc-card__art .ill { transform: translateY(-10px) scale(1.04); filter: drop-shadow(0 18px 30px rgba(31, 141, 161, .35)); }
.svc-card__idx { position: absolute; top: 18px; inset-inline-start: var(--pad); font-size: 11px; opacity: .45; }
.svc-card__title { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; }
html[lang="ar"] .svc-card__title { font-family: var(--font); font-size: 19px; letter-spacing: 0; font-weight: 500; }
.svc-card__text { margin-top: 21px; max-width: 280px; font-size: 15px; line-height: 1.7; color: var(--w85); }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
html[lang="ar"] .svc-card__more { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.svc-card__more .icon { width: 14px; height: 14px; }
.svc-card:hover .svc-card__more { opacity: .8; transform: none; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(31, 141, 161, .07)); opacity: 0; transition: opacity .6s; }
.svc-card:hover::after { opacity: 1; }

/* ----------------------------------------------------------------- Stats */
.stats__head { padding-block: 120px 70px; padding-inline: calc(25% + var(--pad)) var(--pad); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.stats__text { max-width: 430px; font-size: var(--t-lead); font-weight: 400; line-height: 1.3; letter-spacing: .02em; }
html[lang="ar"] .stats__text { line-height: 1.6; letter-spacing: 0; }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats__row::before { content: ""; }
.stat { position: relative; padding: 50px var(--pad) 70px; }
.stat__corner { position: absolute; top: 18px; inset-inline-end: 18px; width: 9px; height: 9px; border-top: 1px solid var(--w50); border-inline-end: 1px solid var(--w50); }
.sec--light .stat__corner { border-color: var(--k50); }
.stat__num { display: flex; align-items: baseline; font-size: var(--t-stat); font-weight: 300; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
html[lang="ar"] .stat__num { direction: ltr; justify-content: flex-end; }
.stat__label { margin-top: 10px; max-width: 220px; font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--w85); }
html[lang="ar"] .stat__label { font-family: var(--font); font-size: 15px; }
.sec--light .stat__label { color: var(--ink-2); }
.stats--case .stats__row, .stats--about .stats__row { border-top: 0; }

/* -------------------------------------------------------------- Showreel */
.reel { position: relative; height: clamp(520px, 59vw, 850px); overflow: hidden; background: #000; color: #fff; isolation: isolate; }
.reel__stage { position: absolute; inset: 0; }
.reel__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel__halftone { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(0, 0, 0, .55) 1px, transparent 1.6px); background-size: 4px 4px; mix-blend-mode: multiply; }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .8) 100%); }
.reel__label { position: absolute; z-index: 2; top: 40px; inset-inline-end: var(--pad); display: flex; align-items: center; gap: 8px; font-size: 14px; }
.reel__label .icon { width: 16px; height: 16px; }
.reel__coords { position: absolute; z-index: 2; bottom: 36px; inset-inline-start: var(--pad); display: flex; gap: 10px; font-size: 12px; letter-spacing: .08em; opacity: .7; }
.reel__coords span:first-child { color: #ff5a4f; }
.reel__coords span:first-child::before { content: "●"; margin-inline-end: 6px; animation: blink 1.2s steps(2) infinite; }
.reel__play { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center; width: 116px; height: 116px; margin: -58px 0 0 -58px; border-radius: 50%; color: #fff; transition: transform .6s var(--ease); }
.reel__play .icon { width: 28px; height: 28px; fill: currentColor; transform: translateX(2px); }
.reel__play-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--w50); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.reel__play-ring::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed var(--w20); animation: spin 18s linear infinite; }
.reel__play-text { position: absolute; top: calc(100% + 16px); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.reel__play:hover { transform: scale(1.08); }
.reel-modal { width: min(1200px, 94vw); padding: 0; border: 0; background: #000; color: #fff; overflow: visible; }
.reel-modal::backdrop { background: rgba(0, 0, 0, .86); backdrop-filter: blur(6px); }
.reel-modal__frame { aspect-ratio: 16 / 9; }
.reel-modal__frame iframe, .reel-modal__frame video { width: 100%; height: 100%; border: 0; display: block; }
.reel-modal__close { position: absolute; top: -48px; inset-inline-end: 0; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; }

/* ---------------------------------------------------- Work / case studies */
.work { padding-bottom: 110px; }
.work__list { margin-top: 60px; border-top: 1px solid var(--line); }
.work-row { position: relative; display: grid; grid-template-columns: 25% 25% 1fr 96px; min-height: 190px; border-bottom: 1px solid var(--line); color: inherit; transition: background-color .5s var(--ease); }
.work-row:hover { background: rgba(6, 6, 6, .045); }
.work-row__client { position: relative; display: grid; place-items: center; overflow: hidden; }
.work-row__brand { position: relative; z-index: 1; font-size: 20px; font-weight: 600; letter-spacing: -.03em; transition: color .5s var(--ease), transform .7s var(--ease); }
.work-row__media { position: absolute; inset: 0; clip-path: inset(50% 0 50% 0); transition: clip-path .8s var(--ease); }
.work-row__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: saturate(.85); transition: transform 1.2s var(--ease); }
.work-row__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.work-row:hover .work-row__media { clip-path: inset(0 0 0 0); }
.work-row:hover .work-row__img { transform: scale(1); }
.work-row:hover .work-row__brand { color: #fff; transform: scale(1.04); }
.work-row__meta { display: flex; flex-direction: column; gap: 6px; padding: 32px var(--head-pad); font-size: 14px; color: var(--ink-2); }
.work-row__svc { font-size: 12px; opacity: .55; text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .work-row__svc { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.work-row__body { display: flex; flex-direction: column; gap: 34px; padding: 28px 0 32px; }
.work-row__title { font-size: var(--t-lead); font-weight: 400; line-height: 1.3; letter-spacing: .02em; }
html[lang="ar"] .work-row__title { letter-spacing: 0; line-height: 1.5; }
.work-row__text { max-width: 430px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
html[lang="ar"] .work-row__text { font-family: var(--font); font-size: 15px; line-height: 1.7; }
.work-row__arrow { display: grid; place-items: center; }
.work-row__arrow .icon { width: 26px; height: 26px; stroke-width: 1.3; transition: transform .5s var(--ease); }
.work-row:hover .work-row__arrow .icon { transform: translateX(6px); }
[dir="rtl"] .work-row:hover .work-row__arrow .icon { transform: scaleX(-1) translateX(6px); }
.work__more { padding: 56px calc(25% + var(--head-pad)) 0; }
.work--page { padding-top: 60px; }
.filters { display: flex; flex-wrap: wrap; gap: 0; margin-inline: calc(25% + var(--head-pad)) var(--pad); border: 1px solid var(--line-strong); width: max-content; max-width: calc(100% - 25% - var(--head-pad) - var(--pad)); }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; font-size: 14px; border-inline-end: 1px solid var(--line-strong); transition: background-color .3s, color .3s; }
.filter:last-child { border-inline-end: 0; }
.filter span { font-size: 11px; opacity: .5; }
.filter.is-active { background: var(--ink); color: #fff; }
.work-row.is-filtered { display: none; }

/* ------------------------------------------------------------------ Labs */
.lab { padding-bottom: 60px; }
.frame { position: relative; margin: 56px var(--pad) 0; }
.frame__corner { position: absolute; z-index: 3; width: 22px; height: 22px; border-color: var(--w70); border-style: solid; border-width: 0; pointer-events: none; }
.sec--light .frame__corner { border-color: var(--k50); }
.frame__corner--tl { top: -10px; inset-inline-start: -10px; border-top-width: 1px; border-inline-start-width: 1px; }
.frame__corner--tr { top: -10px; inset-inline-end: -10px; border-top-width: 1px; border-inline-end-width: 1px; }
.frame__corner--bl { bottom: -10px; inset-inline-start: -10px; border-bottom-width: 1px; border-inline-start-width: 1px; }
.frame__corner--br { bottom: -10px; inset-inline-end: -10px; border-bottom-width: 1px; border-inline-end-width: 1px; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; }
.feat { padding: 0 var(--pad) 40px; }
.feat__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border: 1px solid var(--line-strong); background-image: radial-gradient(var(--line-strong) 1px, transparent 1.2px); background-size: 6px 6px; }
.feat__icon .icon { width: 20px; height: 20px; stroke-width: 1.4; }
.feat__title { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; }
html[lang="ar"] .feat__title { font-family: var(--font); letter-spacing: 0; }
.feat__text { margin-top: 18px; max-width: 290px; font-size: 15px; line-height: 1.7; color: var(--text-2); }

/* IDE (software lab) */
.ide { position: relative; display: grid; grid-template-columns: 160px 1fr; min-height: 600px; background: var(--dark); border: 1px solid var(--w12); overflow: hidden; }
.ide__side { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px 18px; border-inline-end: 1px solid var(--w07); }
.ide__hatch { position: absolute; top: 26px; inset-inline-start: 10px; width: 6px; height: 60px; background: repeating-linear-gradient(-45deg, var(--w50) 0 1.5px, transparent 1.5px 4px); }
.ide__modes { display: flex; flex-direction: column; gap: 8px; margin-inline-start: 14px; }
.ide__mode { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border: 1px solid var(--w12); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--w70); transition: background-color .3s, color .3s; }
.ide__mode .icon { width: 14px; height: 14px; }
.ide__mode.is-active { background: #fff; color: #000; border-color: #fff; }
.ide__label { margin: 14px 0 0 14px; margin-inline-start: 14px; font-size: 10px; letter-spacing: .1em; opacity: .7; }
.ide__stack { display: grid; grid-template-columns: repeat(3, 32px); gap: 6px; margin-inline-start: 14px; }
.ide__stack span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--w12); color: var(--w70); }
.ide__stack .icon { width: 15px; height: 15px; }
.ide__auto { margin-top: auto; margin-inline-start: 14px; font-size: 10px; letter-spacing: .1em; opacity: .7; }
.ide__rail { position: absolute; bottom: 26px; inset-inline-end: 18px; width: 60px; height: 8px; background: repeating-linear-gradient(90deg, var(--w50) 0 1.5px, transparent 1.5px 4px); }
.ide__main { display: flex; flex-direction: column; min-width: 0; }
.ide__bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--w07); }
.ide__history { display: flex; gap: 8px; color: var(--w50); padding-inline-end: 12px; border-inline-end: 1px solid var(--w07); }
.ide__history .icon { width: 15px; height: 15px; }
.ide__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.ide__tab { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid transparent; font-size: 11px; color: var(--w50); white-space: nowrap; transition: color .3s, border-color .3s; }
.ide__tab.is-active { color: #fff; border-color: var(--w12); background: var(--dark-2); }
.ide__dot { width: 7px; height: 7px; border-radius: 50%; background: #61dafb; }
.ide__dot--dart { background: #40c4ff; }
.ide__dot--ts { background: #3178c6; }
.ide__dot--php { background: #8892bf; }
.ide__host { margin-inline-start: auto; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .14em; opacity: .5; }
.ide__stage { position: relative; flex: 1; min-height: 480px; overflow: hidden; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 16px 16px; }
.code { position: absolute; inset: 0; display: grid; grid-template-columns: 52px 1fr; padding: 22px 0; overflow: hidden; font-family: var(--mono); font-size: 13px; line-height: 21px; direction: ltr; text-align: left; }
.code__gutter { padding-inline-end: 14px; text-align: right; color: var(--w20); user-select: none; counter-reset: ln; }
.code__gutter li { height: 21px; }
.code__text { margin: 0; padding-inline-end: 24px; font: inherit; color: #d7dde2; white-space: pre; overflow: hidden; }
.code__text code { font: inherit; }
.tok-k { color: #c792ea; }
.tok-s { color: #a5d6a7; }
.tok-n { color: #f8bb7a; }
.tok-c { color: #5c6773; font-style: italic; }
.tok-t { color: #7fdbe8; }
.tok-f { color: #82aaff; }
.tok-a { color: #ffcb6b; }
.tok-p { color: #89ddff; }
.caret { display: inline-block; width: 8px; height: 17px; margin-bottom: -3px; background: var(--accent-2); animation: blink 1s steps(2) infinite; }
.ac-pop { position: absolute; z-index: 2; min-width: 220px; padding: 4px; background: #121518; border: 1px solid var(--w12); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); font-family: var(--mono); font-size: 12px; animation: popIn .25s var(--ease); }
.ac-pop div { display: flex; gap: 10px; padding: 4px 8px; color: var(--w70); }
.ac-pop div:first-child { background: rgba(31, 141, 161, .25); color: #fff; }
.ac-pop i { font-style: normal; color: var(--accent-2); }
.render { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 26px; container-type: inline-size; }
.render > .ui { flex-shrink: 0; opacity: 0; transition: opacity .5s var(--ease); }
.render.is-built > .ui { opacity: 1; }
.render::after { content: ""; position: absolute; z-index: 3; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-2) 20%, #fff 50%, var(--accent-2) 80%, transparent); box-shadow: 0 0 22px 3px rgba(95, 196, 211, .55); opacity: 0; pointer-events: none; }
.render.is-built::after { animation: renderScan 1.25s var(--ease) both; }
@keyframes renderScan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.ide__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.ide__console { position: absolute; z-index: 5; inset-inline: 0; bottom: 0; max-height: 0; overflow: hidden; background: rgba(8, 10, 11, .94); border-top: 1px solid var(--w12); font-size: 12px; line-height: 1.7; color: var(--w70); transition: max-height .5s var(--ease); direction: ltr; text-align: left; }
.ide__console.is-open { max-height: 160px; padding: 10px 18px; }
.ide__console .ok { color: #7ee2a8; }
.ide__console .dim { color: var(--w35); }
.ide__foot { display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 14px 0 18px; border-top: 1px solid var(--w07); }
.ide__status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .06em; color: var(--w70); }
.ide__status i { width: 7px; height: 7px; border-radius: 50%; background: #f5c451; box-shadow: 0 0 0 4px rgba(245, 196, 81, .15); animation: pulse 1.4s infinite; }
.ide__status.is-ready i { background: #59d68f; box-shadow: 0 0 0 4px rgba(89, 214, 143, .15); }
.ide__status.is-busy i { background: var(--accent-2); }
.ide__meta { font-size: 10px; letter-spacing: .08em; color: var(--w35); }
.ide__compile { margin-inline-start: auto; min-width: 230px; transition: color .45s var(--ease), border-color .45s var(--ease), opacity .6s var(--ease), translate .6s var(--ease); }
.ide__compile.is-pending { opacity: 0; translate: 0 12px; pointer-events: none; }
.ide__compile:not([disabled]) { animation: glowBtn 2s var(--ease) infinite; }
@keyframes glowBtn { 0%, 100% { box-shadow: 0 0 0 0 rgba(95, 196, 211, .5); } 50% { box-shadow: 0 0 0 8px rgba(95, 196, 211, 0); } }

/* Rendered designs inside the software lab */
.ui { position: relative; width: 100%; max-width: 1040px; color: #111; font-family: "Inter", "Plex Arabic", sans-serif; letter-spacing: 0; font-weight: 400; line-height: 1.4; }
.ui [data-b] { opacity: 0; transform: translateY(16px) scale(.98); }
.render.is-built .ui [data-b] { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.ui-dash { display: grid; grid-template-columns: 64px 1fr; height: 440px; background: #f4f5f6; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.ui-dash__nav { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; background: #0f1416; }
.ui-dash__nav i { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.ui-dash__nav i:first-child { background: var(--accent); }
.ui-dash__nav i.is-on { background: rgba(255, 255, 255, .22); }
.ui-dash__main { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; padding: 18px 20px; min-width: 0; }
.ui-dash__top { display: flex; align-items: center; gap: 12px; }
.ui-dash__top h4 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ui-search { margin-inline-start: auto; width: 200px; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid #e3e6e8; font-size: 12px; color: #8b9399; display: flex; align-items: center; }
.ui-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0e3b44); }
.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ui-kpi { padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #eceeef; }
.ui-kpi span { display: block; font-size: 11px; color: #7b848a; }
.ui-kpi strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ui-kpi em { font-style: normal; font-size: 11px; color: #13a06a; }
.ui-kpi svg { width: 100%; height: 26px; margin-top: 6px; }
.ui-panels { display: grid; grid-template-columns: 2.2fr 1fr; gap: 12px; min-height: 0; }
.ui-panel { position: relative; padding: 14px; border-radius: 10px; background: #fff; border: 1px solid #eceeef; min-height: 0; }
.ui-panel h5 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: #3a4247; }
.ui-panel svg { width: 100%; height: calc(100% - 26px); }
.ui-chart { position: relative; height: calc(100% - 26px); }
.ui-chart svg { height: 100%; }
.ui-tip { position: absolute; translate: -50% calc(-100% - 12px); padding: 4px 8px; border-radius: 6px; background: #0f1416; color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ui-tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: inherit; transform: rotate(45deg); }
.ui-donut { display: block; width: 110px; height: 110px !important; margin: 4px auto 0; transform: rotate(-90deg); }
.ui-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; font-size: 11px; color: #555; }
.ui-legend span { display: flex; align-items: center; gap: 6px; }
.ui-legend i { width: 8px; height: 8px; border-radius: 2px; }
.ui-phone { position: relative; width: 300px; height: 600px; padding: 12px; border-radius: 44px; background: #0b0d0e; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px rgba(0, 0, 0, .6); }
.ui-phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #f3f5f6; padding: 46px 18px 76px; }
.ui-phone__notch { position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #0b0d0e; z-index: 2; }
.ui-phone__hello { font-size: 12px; color: #7b848a; }
.ui-phone__name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ui-card { position: relative; margin-top: 16px; padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #1f8da1, #0b3640 70%); overflow: hidden; }
.ui-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -70px; background: rgba(255, 255, 255, .1); }
.ui-card small { font-size: 11px; opacity: .75; }
.ui-card strong { display: block; margin-top: 4px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ui-card .ui-card__num { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; opacity: .85; }
.ui-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.ui-actions div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: #3a4247; }
.ui-actions i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid #e6e9eb; color: var(--accent); font-style: normal; font-size: 18px; }
.ui-tx { margin-top: 18px; }
.ui-tx__head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.ui-tx__head span { color: var(--accent); font-weight: 500; }
.ui-tx__row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 10px; border-radius: 12px; background: #fff; font-size: 11.5px; }
.ui-tx__row i { width: 30px; height: 30px; border-radius: 10px; background: #e8f4f6; flex-shrink: 0; }
.ui-tx__row small { color: #8b9399; }
.ui-tx__row b { margin-inline-start: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.ui-tx__row b.neg { color: #c2412d; }
.ui-tabbar { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: space-around; padding: 14px 10px 22px; background: #fff; border-top: 1px solid #edf0f1; }
.ui-tabbar i { width: 22px; height: 22px; border-radius: 7px; background: #dfe4e6; }
.ui-tabbar i:first-child { background: var(--accent); }
.ui-flow { position: relative; width: 100%; height: 440px; border: 1px solid var(--w12); background: #0a0c0d; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 18px 18px; border-radius: 10px; overflow: hidden; color: #fff; }
.ui-flow svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui-node { position: absolute; display: flex; align-items: center; gap: 10px; min-width: 132px; padding: 10px 12px; border: 1px solid var(--w20); background: #111517; border-radius: 10px; font-family: var(--mono); font-size: 11px; translate: -50% -50%; transition: border-color .3s, box-shadow .3s; }
.ui-node b { display: block; font-weight: 500; font-size: 12px; color: #fff; }
.ui-node small { display: block; color: var(--w50); font-size: 10px; }
.ui-node i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(31, 141, 161, .2); color: var(--accent-2); font-style: normal; flex-shrink: 0; }
.ui-node.is-hot { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(95, 196, 211, .14); }
.ui-node .ok { position: absolute; top: -8px; inset-inline-end: -8px; width: 18px; height: 18px; border-radius: 50%; background: #2fbf71; color: #04210f; font-size: 10px; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.ui-node.is-done .ok { opacity: 1; transform: none; }
.ui-packet { fill: #bff3fa; filter: drop-shadow(0 0 6px #5fc4d3) drop-shadow(0 0 12px rgba(95, 196, 211, .8)); }
.ui-flow.is-narrow .ui-flow__log { display: none; }
.ui-flow__log { position: absolute; left: 14px; bottom: 14px; min-height: 40px; width: 250px; padding: 10px 12px; border: 1px solid var(--w12); background: rgba(5, 7, 8, .9); font-family: var(--mono); font-size: 10.5px; line-height: 1.7; color: var(--w70); direction: ltr; text-align: left; }
@container (max-width: 760px) {
  .ui-dash { grid-template-columns: 1fr; height: auto; }
  .ui-dash__nav, .ui-search, .ui-panel--side { display: none; }
  .ui-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ui-panels { grid-template-columns: 1fr; }
  .ui-panel { height: 170px; }
}
.ui-flow__badge { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--w20); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.ui-flow__badge i { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; animation: pulse 1.2s infinite; }

/* Website generator (web lab) */
.lab--web .frame { margin-top: 56px; }
.wgen { display: grid; grid-template-columns: 300px 1fr; min-height: 700px; background: #fff; border: 1px solid var(--k10); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .25); }
.wgen__panel { display: flex; flex-direction: column; gap: 20px; padding: 20px; background: #0e0f10; color: #fff; }
.wgen__brand { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .12em; opacity: .85; }
.wgen__logo { width: 20px; color: var(--accent-2); }
.wgen__logo .logo-mark { width: 100%; height: auto; }
.wgen__label { display: block; margin-bottom: 8px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
html[lang="ar"] .wgen__label { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 12px; }
.wgen__prompt textarea { width: 100%; min-height: 66px; padding: 10px 12px; border: 1px solid var(--w20); background: #151718; color: #fff; font-size: 13px; line-height: 1.5; resize: none; outline: none; transition: border-color .3s; }
.wgen__prompt textarea:focus { border-color: var(--accent-2); }
.wgen__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wchip { padding: 6px 10px; border: 1px solid var(--w20); font-size: 12px; color: var(--w85); transition: background-color .25s, color .25s, border-color .25s; }
.wchip:hover { border-color: var(--w50); }
.wchip.is-active { background: #fff; color: #000; border-color: #fff; }
.wgen__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { display: inline-flex; border: 1px solid var(--w20); }
.seg button { display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 8px; color: var(--w70); font-size: 12px; border-inline-end: 1px solid var(--w12); transition: background-color .25s, color .25s; }
.seg button:last-child { border-inline-end: 0; }
.seg button .icon { width: 15px; height: 15px; }
.seg button.is-active { background: #fff; color: #000; }
.seg--text button { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.seg button.is-serif { font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.seg button.is-mono { font-family: var(--mono); }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.swatches button.is-active { box-shadow: 0 0 0 2px #0e0f10, 0 0 0 3.5px #fff; transform: scale(1.06); }
.wgen__go { width: 100%; margin-top: 4px; }
.wgen__log { min-height: 120px; font-size: 11px; line-height: 1.75; color: var(--w50); }
.wgen__log p { display: flex; gap: 8px; }
.wgen__log p::before { content: "›"; color: var(--accent-2); }
.wgen__log p.is-done { color: var(--w85); }
.wgen__log p.is-done::before { content: "✓"; color: #59d68f; }
.wgen__stage { display: flex; flex-direction: column; min-width: 0; background: #e9eaeb; background-image: radial-gradient(rgba(0, 0, 0, .09) 1px, transparent 1.2px); background-size: 14px 14px; }
.wgen__toolbar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 14px; background: #f6f6f7; border-bottom: 1px solid var(--k10); color: var(--ink); }
.wgen__toolbar .seg { border-color: var(--k20); }
.wgen__toolbar .seg button { color: var(--k50); border-color: var(--k10); }
.wgen__toolbar .seg button.is-active { background: var(--ink); color: #fff; }
.wgen__size { font-size: 11px; color: var(--k50); }
.wgen__inspect { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-size: 11px; letter-spacing: .04em; color: var(--k70); cursor: pointer; }
.wgen__inspect input { accent-color: #146ef5; }
.wgen__publish { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; background: #146ef5; color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: opacity .3s, transform .3s; }
.wgen__publish .icon { width: 14px; height: 14px; }
.wgen__publish[disabled] { opacity: .35; pointer-events: none; }
.wgen__publish.is-busy { opacity: .75 !important; }
.wgen__publish.is-busy .icon { animation: wspin .8s linear infinite; }
@keyframes wspin { to { transform: rotate(360deg); } }
.browser__url.is-flash { animation: urlFlash 1.4s var(--ease); }
@keyframes urlFlash { 0% { background: #fff; } 15% { background: #dff6e7; color: #157a43; } 100% { background: #fff; } }
.is-inspecting .browser__screen { cursor: crosshair; }
.swatches button[data-custom] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 1px rgba(255, 255, 255, .12); }
.wgen__viewport { position: relative; flex: 1; display: grid; place-items: start center; padding: 28px; overflow: hidden; }
.browser { width: 100%; max-width: 1100px; height: 560px; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 30px 60px -20px rgba(0, 0, 0, .35); transition: max-width .8s var(--ease), height .8s var(--ease), border-radius .6s; }
.browser[data-device="tablet"] { max-width: 600px; height: 600px; border-radius: 18px; }
.browser[data-device="mobile"] { max-width: 300px; height: 600px; border-radius: 30px; }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; background: #f1f1f2; border-bottom: 1px solid #e3e3e5; flex-shrink: 0; }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d7; }
.browser__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 6px; background: #fff; font-size: 11px; color: #555; overflow: hidden; white-space: nowrap; direction: ltr; }
.browser__url .icon { width: 11px; height: 11px; }
.browser__url span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__url .icon { flex-shrink: 0; }
.browser__reload { color: #888; }
.browser__reload .icon { width: 14px; height: 14px; }
.browser__screen { position: relative; flex: 1; overflow: hidden auto; scrollbar-width: thin; scrollbar-color: rgba(127, 127, 127, .4) transparent; color-scheme: light; }
.wsite-empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 30px; text-align: center; color: #888; background: #fafafa; }
.wsite-empty__mark { width: 56px; color: #c9c9c9; animation: floatY 3s ease-in-out infinite; }
.wsite-empty__mark .logo-mark { width: 100%; height: auto; }
.wsite-empty p { max-width: 280px; font-size: 12px; line-height: 1.6; }
html[lang="ar"] .wsite-empty p { font-family: var(--font); font-size: 13px; }
.wgen__toast { position: absolute; bottom: 24px; left: 50%; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #111; color: #fff; font-size: 12px; transform: translateX(-50%); box-shadow: 0 16px 30px rgba(0, 0, 0, .3); animation: toastIn .5s var(--ease); }
.wgen__toast::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #2fbf71; color: #04210f; font-size: 11px; }

/* Generated mini website */
.ws { --ws-bg: #fff; --ws-fg: #111; --ws-muted: rgba(17, 17, 17, .6); --ws-line: rgba(17, 17, 17, .1); --ws-accent: #1F8DA1; position: relative; min-height: 100%; background: var(--ws-bg); color: var(--ws-fg); font-family: "Inter", "Plex Arabic", sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5; transition: background-color .7s var(--ease), color .7s var(--ease); }
.ws-btn, .ws-cta, .ws-feat i, .ws-kicker { transition: background-color .7s var(--ease), color .7s var(--ease); }
.ws--dark { --ws-bg: #0d0d0f; --ws-fg: #f4f4f4; --ws-muted: rgba(244, 244, 244, .62); --ws-line: rgba(244, 244, 244, .12); }
.ws--serif .ws-h, .ws--serif .ws-logo { font-family: Georgia, "Plex Arabic", "Times New Roman", serif; font-weight: 400; letter-spacing: -.01em; }
.ws--mono .ws-h, .ws--mono .ws-logo { font-family: var(--mono); letter-spacing: -.03em; }
html[lang="ar"] .ws--mono .ws-h { letter-spacing: 0; }
.ws-nav { display: flex; align-items: center; gap: 20px; padding: 16px 26px; border-bottom: 1px solid var(--ws-line); font-size: 12px; }
.ws-logo { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.ws-nav ul { display: flex; gap: 18px; margin-inline-start: auto; color: var(--ws-muted); }
.ws-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; background: var(--ws-accent); color: #fff; font-size: 12px; font-weight: 500; border-radius: 0; }
.ws-btn--ghost { background: transparent; color: var(--ws-fg); box-shadow: inset 0 0 0 1px var(--ws-line); }
.ws-hero { position: relative; display: grid; gap: 26px; padding: 34px 26px; }
.ws-hero--split { grid-template-columns: 1.05fr 1fr; align-items: center; }
.ws-hero--full { min-height: 420px; align-content: end; padding: 46px 30px; color: #fff; }
.ws-hero--full .ws-hero__img { position: absolute; inset: 0; height: auto; }
.ws-hero--full .ws-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .1) 70%); }
.ws-hero--full .ws-hero__copy { position: relative; max-width: 520px; }
.ws-hero--full .ws-p { color: rgba(255, 255, 255, .8); }
.ws-hero--editorial { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.ws-hero--editorial .ws-h1 { font-size: 46px; max-width: 640px; }
.ws-hero--editorial .ws-hero__img { width: 100%; height: 260px; }
.ws-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-accent); }
html[lang="ar"] .ws-kicker { font-family: var(--font); letter-spacing: 0; font-size: 11px; }
.ws-h1 { margin-top: 10px; font-size: 38px; font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
html[lang="ar"] .ws-h1 { line-height: 1.3; letter-spacing: 0; }
.ws-p { margin-top: 12px; max-width: 420px; font-size: 13px; line-height: 1.65; color: var(--ws-muted); }
.ws-actions { display: flex; gap: 8px; margin-top: 18px; }
.ws-hero--editorial .ws-actions { justify-content: center; }
.ws-hero__img { position: relative; height: 300px; overflow: hidden; background: var(--ws-line); }
.ws-hero__img img, .ws-hero__img canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-logos { display: flex; justify-content: space-around; gap: 18px; padding: 16px 26px; border-block: 1px solid var(--ws-line); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ws-muted); text-transform: uppercase; }
.ws-sec { padding: 34px 26px; }
.ws-sec__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.ws-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.ws-feat { padding: 18px; border: 1px solid var(--ws-line); }
.ws-feat i { display: block; width: 26px; height: 26px; margin-bottom: 26px; background: var(--ws-accent); opacity: .9; }
.ws-feat b { display: block; font-size: 14px; font-weight: 600; }
.ws-feat span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ws-muted); }
.ws-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 18px; }
.ws-gallery div { position: relative; height: 230px; overflow: hidden; background: var(--ws-line); }
.ws-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ws-quote { padding: 40px 26px; text-align: center; border-top: 1px solid var(--ws-line); }
.ws-quote p { max-width: 520px; margin-inline: auto; font-size: 22px; line-height: 1.35; letter-spacing: -.01em; }
.ws-quote span { display: block; margin-top: 12px; font-size: 11px; color: var(--ws-muted); }
.ws-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 30px 26px; background: var(--ws-accent); color: #fff; }
.ws-cta .ws-h { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.ws-cta .ws-btn { background: #fff; color: #111; }
.ws-foot { display: flex; justify-content: space-between; padding: 18px 26px; font-size: 11px; color: var(--ws-muted); }
.ws [data-wb] { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.ws [data-wb].is-in { opacity: 1; transform: none; }
.ws [data-img] { opacity: 0; transition: opacity .6s var(--ease); }
.ws canvas[data-develop] { transition: opacity .4s; image-rendering: pixelated; }
.ws-gallery canvas, .ws-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws.is-skeleton .ws-h1, .ws.is-skeleton .ws-p, .ws.is-skeleton .ws-sec__title, .ws.is-skeleton .ws-quote p, .ws.is-skeleton .ws-quote span, .ws.is-skeleton .ws-feat b, .ws.is-skeleton .ws-feat span, .ws.is-skeleton .ws-logo, .ws.is-skeleton .ws-nav li, .ws.is-skeleton .ws-cta .ws-h, .ws.is-skeleton .ws-kicker, .ws.is-skeleton .ws-logos span, .ws.is-skeleton .ws-foot span { color: transparent !important; background: linear-gradient(90deg, rgba(127, 127, 127, .16), rgba(127, 127, 127, .3), rgba(127, 127, 127, .16)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 3px; }
.ws.is-skeleton .ws-btn { background: rgba(127, 127, 127, .25); color: transparent; box-shadow: none; }
.ws.is-skeleton .ws-hero__img, .ws.is-skeleton .ws-gallery div { background: rgba(127, 127, 127, .14); }
.ws.is-skeleton .ws-feat i { background: rgba(127, 127, 127, .25); }
.ws.is-styled [data-wb] { opacity: 1; transition: opacity .5s var(--ease); }
.ws-sel { position: absolute; z-index: 5; pointer-events: none; border: 1.5px solid #146ef5; animation: popIn .25s var(--ease); }
.ws-sel.is-flip span { top: 0; }
.ws-sel.is-locked { border-width: 2px; box-shadow: 0 0 0 9999px rgba(20, 110, 245, .06); }
.ws-sel span { position: absolute; top: -20px; inset-inline-start: -1.5px; padding: 2px 6px; background: #146ef5; color: #fff; font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; white-space: nowrap; }
.browser[data-device="mobile"] .ws-nav ul, .browser[data-device="mobile"] .ws-logos { display: none; }
.browser[data-device="mobile"] .ws-hero--split, .browser[data-device="mobile"] .ws-feats, .browser[data-device="mobile"] .ws-gallery { grid-template-columns: 1fr; }
.browser[data-device="mobile"] .ws-h1, .browser[data-device="mobile"] .ws-hero--editorial .ws-h1 { font-size: 28px; }
.browser[data-device="mobile"] .ws-cta { flex-direction: column; align-items: flex-start; }
.browser[data-device="tablet"] .ws-feats { grid-template-columns: 1fr 1fr; }
.browser[data-device="tablet"] .ws-h1 { font-size: 32px; }

/* Social growth dashboard (Armory "Optimized for performance") */
.sdash { margin: 56px var(--pad) 0; }
.sdash__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.sdash__platforms { display: flex; border: 1px solid var(--w12); }
.sdash__pf { display: grid; place-items: center; width: 48px; height: 40px; color: var(--w50); border-inline-end: 1px solid var(--w07); transition: color .3s, background-color .3s; }
.sdash__pf:last-child { border-inline-end: 0; }
.sdash__pf .icon { width: 17px; height: 17px; }
.sdash__pf.is-active { background: #fff; color: #000; }
.sdash__range { border-color: var(--w12); }
.sdash__compare { display: inline-flex; align-items: center; gap: 10px; margin-inline-start: auto; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--w70); }
html[lang="ar"] .sdash__compare { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.toggle { position: relative; display: inline-block; width: 42px; height: 22px; cursor: pointer; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.toggle i { position: absolute; inset: 0; border: 1px solid var(--w35); transition: background-color .3s; }
.toggle i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; background: #fff; transition: transform .4s var(--ease); }
.toggle input:checked + i { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + i::after { transform: translateX(20px); }
[dir="rtl"] .toggle input:checked + i::after { transform: translateX(-20px); }
.sdash__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 18px; }
.scard { position: relative; display: flex; flex-direction: column; padding: 18px; background: var(--dark-2); border: 1px solid var(--w07); min-width: 0; }
.scard__head { display: flex; align-items: center; gap: 12px; }
.scard__icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--w12); }
.scard__icon .icon { width: 17px; height: 17px; }
.scard__head h3 { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.scard__val { margin-inline-start: auto; font-size: 15px; font-weight: 500; color: var(--w70); }
.scard__sub { margin-top: 8px; font-size: 14px; color: var(--w70); }
.scard--wide { grid-column: span 2; }
.gauge { position: relative; width: 220px; margin: 22px auto 6px; }
.gauge svg { width: 100%; height: auto; transform: rotate(-90deg); }
[dir="rtl"] .gauge svg { transform: rotate(-90deg) scaleY(-1); }
.gauge__track { fill: none; stroke: var(--w07); stroke-width: 26; }
.gauge__arc { fill: none; stroke: #fff; stroke-width: 26; stroke-dasharray: 465; stroke-dashoffset: 465; transition: stroke-dashoffset 1.6s var(--ease); }
.gauge__tick { stroke: var(--w35); stroke-width: 1; }
.gauge__tick.is-major { stroke: var(--w70); stroke-width: 1.4; }
.gauge__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.gauge__center strong { font-size: 40px; font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__center span { margin-top: 6px; font-size: 11px; color: var(--w50); }
.scard__mini { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--w07); }
.scard__mini p, .scard__pair p { display: flex; flex-direction: column; }
.scard__mini strong, .scard__pair strong { font-size: 20px; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.scard__mini span, .scard__pair span { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--w50); }
html[lang="ar"] .scard__mini span, html[lang="ar"] .scard__pair span { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 12px; }
.lolli { position: relative; flex: 1; min-height: 210px; margin-top: 20px; }
.lolli__pill { position: absolute; top: 0; inset-inline-start: 0; z-index: 1; padding: 4px 10px; background: #e7e7e7; color: #111; font-size: 10px; letter-spacing: .06em; }
.lolli svg { position: absolute; inset: 26px 0 0; width: 100%; height: calc(100% - 26px); overflow: visible; }
.lolli line.l { stroke: var(--w50); stroke-width: 1.2; }
.lolli line.l.is-after { stroke: #fff; }
.lolli circle { fill: #fff; }
.lolli circle.is-peak { fill: var(--accent-2); }
.lolli .base { stroke: var(--w20); stroke-width: 1; }
.lolli .avg { stroke: var(--w35); stroke-dasharray: 3 4; }
.semi { position: relative; width: 240px; margin: 26px auto 0; }
.semi svg { width: 100%; height: auto; overflow: visible; }
[dir="rtl"] .semi svg { transform: scaleX(-1); }
.growth__line, .growth__area { transition: opacity .6s var(--ease); }
.sdash.is-before .scard__val, .sdash.is-before .growth__big strong { color: var(--w50); transition: color .5s; }
.semi__track { fill: none; stroke: var(--w07); stroke-width: 22; }
.semi__arc { fill: none; stroke: #fff; stroke-width: 22; stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 1.6s var(--ease); }
.semi__needle { transform-origin: 120px 120px; transform: rotate(-90deg); transition: transform 1.6s var(--ease); }
.semi__needle path { stroke: #fff; stroke-width: 2.4; }
.semi__needle circle { fill: var(--dark-2); stroke: #fff; stroke-width: 2; }
.semi__num { position: absolute; top: 48%; left: 50%; transform: translate(-50%, -50%); font-size: 34px; font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.scard__pair { display: flex; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.growth { display: grid; grid-template-columns: 220px 1fr; gap: 20px; flex: 1; margin-top: 18px; }
.growth__big strong { display: block; font-size: 70px; font-weight: 300; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.growth__big span { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--w70); }
html[lang="ar"] .growth__big span { font-family: var(--font); text-transform: none; letter-spacing: 0; }
.growth__chart { position: relative; min-height: 220px; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.2px); background-size: 14px 14px; }
.growth__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.growth__line { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.growth__line--before { stroke: var(--w35); stroke-dasharray: 4 5; stroke-width: 1.5; }
.growth__area { fill: url(#gArea); }
.growth__marker { stroke: var(--accent-2); stroke-width: 1; stroke-dasharray: 2 4; }
.growth__dot { fill: var(--accent-2); }
.growth__tag { font-family: var(--mono); font-size: 10px; fill: var(--accent-2); letter-spacing: .08em; }
.growth__tip { position: absolute; z-index: 2; padding: 6px 10px; background: #fff; color: #000; font-size: 11px; white-space: nowrap; transform: translate(-50%, -130%); pointer-events: none; }
.growth__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.growth__note { font-size: 12px; color: var(--w50); }
html[lang="ar"] .growth__note { font-family: var(--font); font-size: 13px; }
.scard--phone { padding: 18px; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 30%, rgba(31, 141, 161, .22), transparent 60%), var(--dark-2); }
.phone { position: relative; width: 236px; height: 440px; padding: 10px; border-radius: 36px; background: #090909; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.phone__notch { position: absolute; top: 8px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 14px; background: #000; z-index: 3; }
.phone__top { display: flex; align-items: center; gap: 8px; padding: 34px 10px 10px; font-size: 12px; }
.phone__avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #062b33); color: #fff; padding: 6px; box-shadow: 0 0 0 2px #090909, 0 0 0 3.5px var(--accent-2); }
.phone__avatar .logo-mark { width: 100%; height: auto; }
.phone__top strong { font-weight: 600; font-size: 12px; direction: ltr; }
.phone__live { margin-inline-start: auto; padding: 2px 6px; background: #e0245e; font-size: 9px; letter-spacing: .1em; }
.phone__media { position: relative; height: 236px; margin: 0 -10px; background: #1a1a1a; overflow: hidden; }
.phone__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.phone__actions { display: flex; align-items: center; gap: 12px; padding: 10px 2px 4px; }
.phone__actions .icon { width: 19px; height: 19px; }
.phone__actions [data-like] .icon { transition: transform .3s var(--ease), fill .3s, color .3s; }
.phone__actions [data-like].is-on .icon { fill: #ff3b5c; color: #ff3b5c; transform: scale(1.18); }
.phone__save { margin-inline-start: auto; }
.phone__likes { padding: 0 2px; font-size: 11px; color: var(--w70); }
.phone__likes strong { color: #fff; font-variant-numeric: tabular-nums; }
.phone__toasts { position: absolute; inset-inline: 12px; top: 36px; z-index: 4; display: flex; flex-direction: column; gap: 6px; }
.ptoast { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(32, 32, 32, .92); backdrop-filter: blur(8px); font-size: 10.5px; line-height: 1.3; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); animation: toastIn .5s var(--ease); }
.ptoast i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ptoast.is-leaving { animation: toastOut .4s var(--ease) forwards; }
.phone__hearts { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fheart { position: absolute; bottom: 120px; width: 18px; height: 18px; color: #ff3b5c; animation: heartUp 2.2s var(--ease) forwards; }
.fheart svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes heartUp { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; transform: translate(var(--hx1), -20px) scale(1); } 100% { opacity: 0; transform: translate(var(--hx2), -230px) scale(.8); } }

/* Studio (camera viewfinder + editing timeline) */
.studio { background: #000; border: 1px solid var(--w12); }
.studio__bar { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 14px; border-bottom: 1px solid var(--w07); }
.studio__modes { display: flex; border: 1px solid var(--w12); }
.studio__mode { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; font-size: 13px; color: var(--w70); transition: background-color .3s, color .3s; }
.studio__mode .icon { width: 16px; height: 16px; }
.studio__mode span { white-space: nowrap; }
.studio__mode.is-active { background: #fff; color: #000; }
.studio__rec { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; font-size: 11px; letter-spacing: .1em; color: var(--w70); }
.studio__rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4b3e; animation: blink 1.2s steps(2) infinite; }
.studio__panel { display: grid; grid-template-columns: 1fr 300px; }
.studio__panel[data-studio-panel="video"] { display: block; }
.vf { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #050505; cursor: crosshair; }
.vf__image { position: absolute; inset: 0; }
.vf__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vf__img--raw { filter: contrast(.74) saturate(.55) brightness(1.08); }
.vf__graded { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split, 50%)); }
[dir="rtl"] .vf__graded { clip-path: inset(0 var(--split, 50%) 0 0); }
.vf__graded img { transition: filter .8s var(--ease); }
.vf__graded::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .8s; }
.grade-teal .vf__graded img, .vf__graded.grade-teal img { filter: contrast(1.12) saturate(1.18) hue-rotate(-6deg); }
.grade-teal::after, .vf__graded.grade-teal::after { opacity: .55; background: linear-gradient(135deg, rgba(0, 150, 170, .9), rgba(255, 140, 50, .8)); }
.vf__graded.grade-noir img { filter: grayscale(1) contrast(1.35) brightness(.95); }
.vf__graded.grade-film img { filter: sepia(.28) contrast(1.06) saturate(1.1) brightness(1.04); }
.vf__graded.grade-film::after { opacity: .35; background: linear-gradient(180deg, rgba(255, 200, 140, .7), rgba(30, 60, 90, .6)); }
.vf__graded.grade-moody img { filter: contrast(1.25) saturate(.85) brightness(.82); }
.vf__graded.grade-moody::after { opacity: .4; background: radial-gradient(circle at 50% 45%, transparent 42%, rgba(0, 20, 30, .85)); mix-blend-mode: multiply; }
.vf__graded.grade-natural img { filter: contrast(1.06) saturate(1.06); }
.vf__split { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px; background: #fff; cursor: ew-resize; z-index: 3; touch-action: none; }
[dir="rtl"] .vf__split { left: auto; right: var(--split, 50%); margin-right: -1px; }
.vf__split-handle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.vf__split-handle .icon { width: 18px; height: 18px; }
.vf__split-raw, .vf__split-graded { position: absolute; bottom: 64px; padding: 3px 8px; background: rgba(0, 0, 0, .6); font-size: 10px; letter-spacing: .1em; white-space: nowrap; }
.vf__split-raw { right: 12px; }
.vf__split-graded { left: 12px; }
[dir="rtl"] .vf__split-raw { right: auto; left: 12px; }
[dir="rtl"] .vf__split-graded { left: auto; right: 12px; }
.vf__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-size: 11px; letter-spacing: .06em; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.vf__grid { position: absolute; inset: 0; background-image: linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .3) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(255, 255, 255, .3) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px)), linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .3) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(255, 255, 255, .3) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.vf__c { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .85); }
.vf__c--tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; }
.vf__c--tr { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; }
.vf__c--bl { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; }
.vf__c--br { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; }
.vf__top { position: absolute; top: 22px; inset-inline: 54px; display: flex; gap: 20px; direction: ltr; }
.vf__top span:last-child { margin-left: auto; }
.vf__bat { display: inline-flex; align-items: center; gap: 6px; }
.vf__bat i { width: 20px; height: 9px; border: 1px solid #fff; position: relative; }
.vf__bat i::after { content: ""; position: absolute; inset: 1px; right: 4px; background: #fff; }
.vf__bottom { position: absolute; bottom: 20px; inset-inline: 54px; display: flex; gap: 22px; direction: ltr; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .25); }
.vf__lens { margin-left: auto; opacity: .8; }
.vf__focus { position: absolute; top: 45%; left: 55%; width: 84px; height: 64px; transform: translate(-50%, -50%); transition: top .5s var(--ease), left .5s var(--ease), width .3s var(--ease), height .3s var(--ease); }
.vf__focus i { position: absolute; width: 12px; height: 12px; border: 0 solid #fff; }
.vf__focus i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf__focus i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf__focus i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf__focus i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf__focus.is-locked { width: 64px; height: 48px; }
.vf__focus.is-locked i { border-color: #6dff9b; }
.vf__level { position: absolute; top: 50%; left: 50%; width: 120px; height: 1px; margin-left: -60px; }
.vf__level i { display: block; height: 1px; background: rgba(255, 255, 255, .55); transition: transform .3s; }
.vf__histo { position: absolute; bottom: 52px; right: 54px; width: 150px; height: 54px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .25); }
[dir="rtl"] .vf__histo { right: auto; left: 54px; }
.vf__shutter { position: absolute; z-index: 4; bottom: 70px; right: 22px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; transition: transform .25s var(--ease); }
[dir="rtl"] .vf__shutter { right: auto; left: 22px; }
.vf__shutter i { width: 40px; height: 40px; border-radius: 50%; background: #fff; transition: transform .2s; }
.vf__shutter:hover i { transform: scale(.9); }
.vf__shutter:active i { transform: scale(.75); }
.vf__flash { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: #000; opacity: 0; }
.vf__note { position: absolute; z-index: 6; top: 58px; left: 50%; padding: 7px 12px; background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .2); font-size: 11px; letter-spacing: .06em; white-space: nowrap; pointer-events: none; animation: vfNote 2.2s var(--ease) forwards; }
@keyframes vfNote { 0% { opacity: 0; transform: translate(-50%, 8px); } 12%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -6px); } }
.vf__split:focus-visible .vf__split-handle { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.vf__flash.is-on { animation: shutter .45s var(--ease-io); }
@keyframes shutter { 0% { opacity: 0; } 18% { opacity: 1; } 40% { opacity: 1; background: #000; } 100% { opacity: 0; } }
.studio__side { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-inline-start: 1px solid var(--w07); background: #0a0a0a; }
.studio__side .mono-label { font-size: 10px; letter-spacing: .12em; }
.shots { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.shot { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid transparent; transition: border-color .3s; }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.75); transition: filter .4s, transform .6s var(--ease); }
.shot span { position: absolute; inset-inline: 0; bottom: 0; padding: 14px 6px 5px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); font-size: 10.5px; text-align: start; }
.shot:hover img { filter: none; transform: scale(1.06); }
.shot.is-active { border-color: #fff; }
.shot.is-active img { filter: none; }
.luts { display: flex; flex-wrap: wrap; gap: 6px; }
.lut { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--w12); font-size: 12px; color: var(--w70); transition: background-color .25s, color .25s; }
.lut.is-active { background: #fff; color: #000; }
.lut__sw { width: 12px; height: 12px; border-radius: 50%; }
.lut__sw--natural { background: linear-gradient(135deg, #d9c4a6, #6b8f71); }
.lut__sw--teal { background: linear-gradient(135deg, #0aa3b5, #ff8a3c); }
.lut__sw--noir { background: linear-gradient(135deg, #fff, #000); }
.lut__sw--film { background: linear-gradient(135deg, #f4c07a, #2c4a63); }
.lut__sw--moody { background: linear-gradient(135deg, #2c3e4a, #0b0f12); }
.studio__spec { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--w07); }
.studio__desc { font-size: 13.5px; line-height: 1.6; color: var(--w85); }
.studio__cam { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11px; color: var(--w50); }
.studio__cam .icon { width: 15px; height: 15px; }
.editor { display: grid; grid-template-columns: 1fr 300px; grid-template-rows: auto auto; }
.monitor { position: relative; display: grid; place-items: center; min-height: 420px; padding: 18px; background: #050505; }
.monitor__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 380px; overflow: hidden; background: #000; transition: aspect-ratio .7s var(--ease), width .7s var(--ease); }
.monitor__frame[data-aspect="9x16"] { width: auto; height: 380px; aspect-ratio: 9 / 16; }
.monitor__frame[data-aspect="1x1"] { width: auto; height: 380px; aspect-ratio: 1; }
.monitor__frame[data-aspect="4x5"] { width: auto; height: 380px; aspect-ratio: 4 / 5; }
.monitor__layers { position: absolute; inset: 0; }
.monitor__frame::before, .monitor__frame::after { content: ""; position: absolute; z-index: 1; inset-inline: 0; height: 0; background: #000; transition: height .7s var(--ease); pointer-events: none; }
.monitor__frame::before { top: 0; }
.monitor__frame::after { bottom: 0; }
.monitor__frame.has-bars::before, .monitor__frame.has-bars::after { height: 12%; }
.mlayer { overflow: hidden; }
.mlayer { position: absolute; inset: 0; }
.mlayer img { width: 100%; height: 100%; object-fit: cover; }
.mlayer.is-glitch { animation: glitch .32s steps(4); }
@keyframes glitch { 0% { clip-path: inset(10% 0 60% 0); transform: translateX(-8px); filter: hue-rotate(90deg); } 25% { clip-path: inset(50% 0 20% 0); transform: translateX(8px); } 50% { clip-path: inset(20% 0 40% 0); transform: translateX(-4px); filter: none; } 100% { clip-path: inset(0); transform: none; } }
.monitor__safe { position: absolute; inset: 7%; border: 1px dashed rgba(255, 255, 255, .25); pointer-events: none; }
.monitor__caption { position: absolute; inset-inline: 8%; bottom: 10%; z-index: 2; font-size: clamp(14px, 1.6vw, 22px); font-weight: 600; line-height: 1.3; text-align: center; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .3s; }
.monitor__caption.is-on { opacity: 1; }
.monitor__caption mark { background: var(--accent); color: #fff; padding: 0 6px; }
.monitor__hud { position: absolute; top: 26px; inset-inline: 26px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .06em; pointer-events: none; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); direction: ltr; }
.editor__side { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #0a0a0a; border-inline-start: 1px solid var(--w07); }
.editor__side .mono-label { font-size: 10px; letter-spacing: .12em; }
.estyles { display: flex; flex-direction: column; gap: 6px; }
.estyle { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid var(--w12); font-size: 13px; color: var(--w85); text-align: start; transition: background-color .3s, color .3s; }
.estyle i { font-style: normal; font-size: 10px; color: var(--w50); }
.estyle.is-active { background: #fff; color: #000; }
.estyle.is-active i { color: rgba(0, 0, 0, .55); }
.timeline { grid-column: 1 / -1; border-top: 1px solid var(--w12); background: #0b0b0b; direction: ltr; }
.timeline__transport { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--w07); font-size: 12px; }
.tl-btn { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--w20); }
.tl-btn .icon { width: 14px; height: 14px; fill: currentColor; }
.timeline__zoom { margin-left: auto; font-size: 11px; color: var(--w35); }
.timeline__body { position: relative; padding: 0 0 10px 54px; user-select: none; touch-action: none; cursor: col-resize; }
.timeline__ruler { position: relative; height: 24px; border-bottom: 1px solid var(--w07); font-size: 9.5px; color: var(--w35); }
.timeline__ruler span { position: absolute; top: 6px; transform: translateX(-50%); }
.timeline__ruler i { position: absolute; bottom: 0; width: 1px; height: 6px; background: var(--w20); }
.track { position: relative; height: 46px; border-bottom: 1px solid var(--w04); }
.track--audio { height: 40px; }
.track__name { position: absolute; left: -48px; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--w50); }
.track__lane { position: absolute; inset: 5px 0; }
.clip { position: absolute; top: 0; bottom: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .35); background: #222; transition: left .6s var(--ease), width .6s var(--ease); }
.clip img { height: 100%; width: 100%; object-fit: cover; opacity: .75; }
.clip span { position: absolute; left: 6px; top: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.clip.is-live { border-color: var(--accent-2); box-shadow: inset 0 0 0 1px var(--accent-2); }
.clip--title { background: #3a2a63; border-color: #8e74d8; }
.clip--vo { background: #1d4d3a; border-color: #4fbf8a; }
.clip--title span, .clip--vo span { top: 50%; transform: translateY(-50%); }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.playhead { position: absolute; top: 0; bottom: 0; left: 54px; width: 1px; background: #ff4b3e; pointer-events: none; z-index: 3; }
.playhead i { position: absolute; top: 0; left: -6px; width: 13px; height: 14px; background: #ff4b3e; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* --------------------------------------------------------------- Approach */
.approach { display: grid; grid-template-columns: 1fr 1fr; min-height: 1180px; background: var(--light); }
.approach__visual { position: relative; background: #000; overflow: hidden; }
.approach__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.approach__panel { position: relative; isolation: isolate; color: var(--ink); --line: rgba(6, 6, 6, .085); --line-strong: rgba(6, 6, 6, .14); --ill-bg: var(--light); --text-2: var(--ink-2); }
.approach__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, var(--line) 0 1px, transparent 1px); background-size: 50% 100%; background-position: 50% 0; }
.approach__panel .sec-head { padding: var(--sec-top) var(--pad) 70px; }
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.value { padding: 50px var(--pad) 60px; border-bottom: 1px solid var(--line); }
.value__art { display: grid; place-items: start; height: 70px; margin-bottom: 30px; color: var(--ink); }
.value__art .ill { height: 64px; width: auto; }
.value__title { font-size: 18px; font-weight: 500; letter-spacing: .02em; }
html[lang="ar"] .value__title { font-family: var(--font); letter-spacing: 0; }
.value__text { margin-top: 20px; max-width: 290px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

/* ----------------------------------------------------------- Process tabs */
.process { padding-bottom: 120px; }
.ptabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-block: 1px solid var(--line); }
.ptab { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; color: var(--w85); transition: background-color .45s var(--ease), color .45s; }
html[lang="ar"] .ptab { text-transform: none; letter-spacing: 0; }
.ptab .icon { width: 17px; height: 17px; }
.ptab.is-active { background: #d9d9d9; color: var(--ink); }
.ptab__progress { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: var(--o, left); }
[dir="rtl"] .ptab__progress { --o: right; }
.ppanels { position: relative; }
.ppanel { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.ppanel.is-active { animation: fadeIn .6s var(--ease); }
.ppanel__media { position: relative; overflow: hidden; background: #111; }
.ppanel__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcard { position: absolute; top: 18%; inset-inline-start: 18%; width: min(62%, 330px); background: #0b0b0b; border: 1px solid var(--w20); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.pcard__bar { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--w12); }
.pcard__bar .icon { width: 13px; height: 13px; }
.pcard__dots { display: flex; gap: 4px; }
.pcard__dots i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.pcard__body { padding: 14px; }
.pcard__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border: 1px solid var(--w12); font-size: 12px; }
.pcard__stars { letter-spacing: 2px; font-size: 10px; }
.pcard__list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pcard__list li { position: relative; display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: center; font-size: 12px; opacity: 0; transform: translateX(-8px); }
.ppanel.is-active .pcard__list li { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.3s + var(--j) * .18s); }
.pcard__list .icon { width: 14px; height: 14px; color: #7ee2a8; }
.pcard__track { grid-column: 2; height: 3px; background: var(--w12); }
.pcard__track i { display: block; height: 100%; background: #fff; width: 0; }
.ppanel.is-active .pcard__track i { width: 100%; transition: width 1s var(--ease); transition-delay: calc(.5s + var(--j) * .18s); }
.pcard__chips { display: flex; gap: 8px; margin-top: 14px; }
.pcard__chips span { display: grid; place-items: center; height: 36px; padding: 0 12px; border: 1px solid var(--w12); font-size: 11px; background: #161616; }
.pcard__chips .is-on { background: #fff; color: #000; }
.ppanel__copy { display: flex; flex-direction: column; justify-content: space-between; padding: 50px var(--pad) 50px var(--pad); }
.ppanel__text { max-width: 500px; font-size: var(--t-lead); font-weight: 400; line-height: 1.3; letter-spacing: .02em; }
html[lang="ar"] .ppanel__text { line-height: 1.6; letter-spacing: 0; }
.ppanel__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ppanel__note { font-size: 16px; color: var(--w85); }
.ppanel__pill { display: inline-flex; align-items: center; gap: 10px; }
.ppanel__check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--w35); }
.ppanel__check .icon { width: 14px; height: 14px; }
.ppanel__pill .mono { padding: 6px 14px; border-radius: 99px; background: #fff; color: #000; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .ppanel__pill .mono { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 12px; }

/* --------------------------------------------------------------- Stack */
.stack { padding-bottom: 0; }
.stack__head { padding-block: var(--sec-top) 120px; padding-inline: calc(25% + var(--head-pad)) var(--pad); }
.stack__text { max-width: 652px; margin-top: 22px; font-size: var(--t-statement); font-weight: 400; line-height: 1.133; letter-spacing: -.044em; }
html[lang="ar"] .stack__text { line-height: 1.45; letter-spacing: 0; }
.stack__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stack__cell { position: relative; display: grid; place-items: center; height: 160px; border-bottom: 1px solid var(--line); }
.stack__logo { color: #fff; opacity: .9; transition: opacity .6s, transform .6s var(--ease), filter .6s; }
.stack__logo .icon { width: 42px; height: 42px; }
.stack__name { position: absolute; bottom: 14px; font-size: 11px; letter-spacing: .06em; opacity: 0; transition: opacity .4s, transform .4s var(--ease); transform: translateY(4px); }
.stack__cell:hover .stack__name { opacity: .6; transform: none; }
.stack__cell:hover .stack__logo { transform: scale(1.1); }
.stack__cell.is-dim .stack__logo { opacity: .12; filter: blur(2px); }
.stack__cell.is-flash .stack__logo { color: var(--accent-2); }

/* ---------------------------------------------------------- Testimonials */
.testimonials { padding-bottom: 0; }
.tcards { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-block: 1px solid var(--line); }
.tcard { display: grid; grid-template-columns: 36px 1fr; min-height: 470px; border-inline-end: 1px solid var(--line); }
.tcard:nth-child(even) { background: rgba(6, 6, 6, .045); }
.tcard__side { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 14px 0; border-inline-end: 1px solid var(--line); }
.tcard__glyph { width: 18px; height: 18px; }
.tcard__company { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.tcard__menu { display: flex; flex-direction: column; gap: 3px; width: 14px; }
.tcard__menu i { height: 1.5px; background: currentColor; }
.tcard__main { display: flex; flex-direction: column; }
.tcard__headline { padding: 16px var(--head-pad) 60px; min-height: 150px; border-bottom: 1px solid var(--line); font-size: var(--t-lead); font-weight: 400; line-height: 1.3; letter-spacing: .02em; }
html[lang="ar"] .tcard__headline { line-height: 1.55; letter-spacing: 0; }
.tcard__block { padding: 20px var(--head-pad) 0; }
.tcard__block .mono-label { opacity: 1; color: var(--ink); }
.tcard__stars { margin-top: 12px; font-size: 22px; letter-spacing: 4px; color: var(--k20); }
.tcard__stars .is-on { color: var(--ink); }
.tcard__comment { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink); }
.tcard__person { margin-top: 14px; font-size: 11px; opacity: .55; }
html[lang="ar"] .tcard__person { font-family: var(--font); font-size: 12px; }
.tlogos { padding: 34px 0; border-bottom: 1px solid var(--line); }
.tlogos .client { color: var(--ink); opacity: .8; }

/* -------------------------------------------------------------- Pricing */
.pricing-sec { padding-bottom: 100px; }
.pricing-sec__more { padding: 40px calc(25% + var(--head-pad)) 0; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-block: 1px solid var(--line); }
.pricing__side { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 30px var(--pad) 30px; }
.pricing__switch { display: flex; flex-direction: column; border: 1px solid var(--line-strong); }
.pricing__tab { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; font-size: 14px; text-align: start; border-bottom: 1px solid var(--line-strong); transition: background-color .3s, color .3s; }
.pricing__tab:last-child { border-bottom: 0; }
.pricing__tab-idx { font-size: 10px; opacity: .5; }
.pricing__tab.is-active { background: var(--ink); color: #fff; }
.pricing__note { font-size: 12px; line-height: 1.6; color: var(--ink-2); opacity: .75; }
html[lang="ar"] .pricing__note { font-family: var(--font); font-size: 13px; }
.pricing__plans { display: contents; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px var(--head-pad) 34px; border-inline-start: 1px solid var(--line); }
.plan--featured { background: var(--dark); color: #fff; border-color: var(--dark); --line: rgba(255, 255, 255, .1); }
.plan__head { display: flex; align-items: center; gap: 12px; }
.plan__icon { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(6, 6, 6, .08); }
.plan--featured .plan__icon { background: rgba(255, 255, 255, .1); }
.plan__icon .icon { width: 19px; height: 19px; }
.plan__name { font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.plan__badge { margin-inline-start: auto; padding: 4px 8px; background: var(--accent); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .plan__badge { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 11px; }
.plan__desc { margin-top: 18px; min-height: 66px; font-size: 14px; line-height: 1.65; opacity: .85; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 18px 0 20px; }
.price__value { font-family: var(--mono); font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
.price__prefix, .price__period { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
html[lang="ar"] .price__prefix, html[lang="ar"] .price__period { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.plan .btn { align-self: flex-start; }
.plan__features { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.plan__features .icon { width: 16px; height: 16px; margin-top: 2px; opacity: .8; }
.plan { opacity: 0; transform: translateY(16px); }
.pricing.is-in .plan, .no-anim .plan { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--j) * .1s); }
.compare { margin-top: 0; }
.compare__row, .compare__group { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.compare__row { min-height: 50px; }
.compare__feat { display: flex; align-items: center; padding: 10px var(--pad); font-size: 14px; }
.compare__cell { display: grid; place-items: center; padding: 10px; font-size: 13px; text-align: center; border-inline-start: 1px solid var(--line); }
.compare__cell.is-featured { background: var(--dark); color: #fff; border-color: var(--dark); }
.compare__row--head .compare__cell { font-size: 14px; font-weight: 500; }
.compare__group { min-height: 44px; background-image: radial-gradient(var(--k20) 1px, transparent 1.2px); background-size: 8px 8px; }
.compare__group > span:first-child { display: flex; align-items: center; padding: 0 var(--pad); }
.compare__group .compare__cell.is-featured { background-image: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1.2px); background-size: 8px 8px; }
.cmp-yes .icon { width: 18px; height: 18px; }
.cmp-no .icon { width: 18px; height: 18px; opacity: .2; }
.cmp-text { font-family: var(--mono); font-size: 12px; }
html[lang="ar"] .cmp-text { font-family: var(--font); font-size: 13px; }
.custom-quote { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 70px; padding-inline: calc(25% + var(--head-pad)) var(--pad); }
.custom-quote h2 { font-size: var(--t-h2); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
html[lang="ar"] .custom-quote h2 { line-height: 1.25; letter-spacing: 0; }
.custom-quote p { margin-top: 14px; color: var(--w85); }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.faq__intro { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 60px; }
.faq__intro .sec-head { padding-inline: var(--pad); padding-top: var(--sec-top); }
.faq__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 120px var(--pad) 0; }
.faq__text { max-width: 600px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.faq__panel { padding: var(--sec-top) 0 90px; }
.faq__tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-inline-end: 0; }
.faq__tab { height: 46px; font-size: 15px; border-bottom: 1px solid var(--line); transition: background-color .3s, color .3s; }
.faq__tab.is-active { background: var(--dark-2); color: #fff; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 22px 1fr 24px; align-items: center; gap: 14px; min-height: 85px; padding-block: 20px; padding-inline: 30px var(--pad); cursor: pointer; list-style: none; font-size: 16px; font-weight: 400; color: var(--ink-2); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon .icon { width: 19px; height: 19px; }
.faq__toggle { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--k50); transition: transform .45s var(--ease), background-color .3s; }
.faq__toggle .icon { width: 13px; height: 13px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); }
.faq__a { padding-block: 0 26px; padding-inline: 66px var(--pad); font-size: 15px; line-height: 1.6; color: var(--ink-2); overflow: hidden; }
.faq__a p + p { margin-top: 10px; }

/* ------------------------------------------------------------ CTA band */
.cta-band { position: relative; min-height: 626px; display: flex; align-items: center; overflow: hidden; background: #000; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .55)), linear-gradient(0deg, rgba(6, 6, 6, 1), rgba(6, 6, 6, 0) 40%); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; padding-block: 120px; padding-inline: calc(25% + var(--head-pad)) var(--pad); }
.cta-band__title { max-width: 520px; font-size: var(--t-h2); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
html[lang="ar"] .cta-band__title { line-height: 1.25; letter-spacing: 0; }
.cta-band__text { max-width: 652px; color: var(--w85); }
.quick-form { position: relative; display: flex; align-items: center; width: min(420px, 100%); height: 46px; margin-top: 10px; padding: 3px; background: rgba(255, 255, 255, .12); border: 1px solid var(--w20); backdrop-filter: blur(10px); }
.quick-form__input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; background: transparent; outline: none; font-size: 14px; color: #fff; }
.quick-form__input::placeholder { color: var(--w70); }
.quick-form__btn { display: inline-flex; align-items: center; gap: 0; height: 100%; padding-inline-end: 16px; background: #d9d9d9; color: var(--dark-2); font-size: 14px; transition: background-color .3s; }
.quick-form__btn .btn__icon { width: 30px; height: 100%; background: var(--dark-2); color: #fff; border-radius: 0; margin-inline-end: 12px; }
.quick-form__btn:hover { background: #fff; }
.quick-form__msg { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; font-size: 13px; color: var(--w85); }
.quick-form__msg.is-error { color: #ff8d84; }
.quick-form.is-busy { opacity: .6; pointer-events: none; }

/* --------------------------------------------------------------- Footer */
.ftr { padding-top: 0; overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ftr__mark { position: relative; min-height: 300px; }
.ftr__mark-link { position: absolute; inset: 0; display: grid; place-items: center; }
.ftr__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.ftr__mark.is-3d .ftr__canvas { opacity: 1; }
.ftr__mark-fallback { width: 92px; color: #fff; transition: opacity .8s; }
.ftr__mark-fallback .logo-mark { width: 100%; height: auto; }
.ftr__mark.is-3d .ftr__mark-fallback { opacity: 0; }
.ftr__col { padding: 66px var(--pad) 50px; }
.ftr__col .mono-label { opacity: .5; }
.ftr__col ul { display: flex; flex-direction: column; gap: 7px; margin-top: 20px; }
.ftr__col a { font-size: 15px; color: var(--w85); transition: color .3s; }
.ftr__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ftr__socials, .menu__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.social-btn { display: grid; place-items: center; width: 34px; height: 34px; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .3s, color .3s; }
.social-btn:hover { background: #fff; color: #000; }
.social-btn .icon { width: 15px; height: 15px; }
.ftr__word { position: relative; padding: 30px var(--pad) 10px; border-top: 1px solid var(--line); color: #e8e8e8; }
.ftr__word .logo-word { width: 100%; height: auto; transition: opacity 1s; }
.ftr__word-canvas { position: absolute; inset: 30px var(--pad) 10px; width: calc(100% - 2 * var(--pad)); height: calc(100% - 40px); }
.ftr__word.is-live .logo-word { opacity: 0; }
.ftr__copy { padding: 24px var(--pad) 30px; font-size: 13px; text-align: center; opacity: .8; }

/* ------------------------------------------------------------ Menu overlay */
.menu { position: fixed; inset: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; }
.menu__left { position: relative; display: flex; flex-direction: column; justify-content: center; padding-block: 0; padding-inline: 12% var(--pad); background: var(--dark); color: #fff; overflow: hidden; clip-path: inset(0 0 100% 0); }
.menu__visual { position: absolute; inset: 0; }
.menu__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.menu__mark-fallback { position: absolute; top: 50%; left: 50%; width: 46%; transform: translate(-50%, -50%); color: rgba(255, 255, 255, .06); }
.menu__mark-fallback .logo-mark { width: 100%; height: auto; }
.menu.is-3d .menu__mark-fallback { opacity: 0; }
.menu__statement { position: relative; z-index: 1; max-width: 380px; }
.menu__label { font-size: 15px; color: var(--w85); }
.menu__text { margin-top: 18px; font-size: var(--t-list); font-weight: 400; line-height: 1.2; letter-spacing: -.03em; }
html[lang="ar"] .menu__text { line-height: 1.45; letter-spacing: 0; }
.menu__address { position: absolute; z-index: 1; inset-inline-start: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--w70); }
html[lang="ar"] .menu__address { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.menu__dot { width: 6px; height: 6px; border-radius: 50%; background: #59d68f; box-shadow: 0 0 0 4px rgba(89, 214, 143, .18); }
.menu__right { display: grid; grid-template-rows: 1fr 1fr; }
.menu__links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 110px 40px; padding-inline: 24% var(--pad); background: var(--light); color: var(--ink); clip-path: inset(0 0 0 100%); }
[dir="rtl"] .menu__links { clip-path: inset(0 100% 0 0); }
.menu__col .mono-label { opacity: .55; }
.menu__col ul { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.menu__col a { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 1.55; transition: opacity .3s; }
.menu__col ul:hover a { opacity: .45; }
.menu__col ul a:hover { opacity: 1; }
.menu__arrow { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.menu__col a:hover .menu__arrow { transform: translate(2px, -2px); }
.menu__media { position: relative; overflow: hidden; background: #111; clip-path: inset(100% 0 0 0); }
.menu__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.15); transition: transform 1.6s var(--ease); }
.menu__date { position: absolute; bottom: 26px; inset-inline-start: 40px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
html[lang="ar"] .menu__date { font-family: var(--font); text-transform: none; }
.menu__socials { position: absolute; bottom: 18px; inset-inline-end: 40px; margin-top: 0; }
.menu.is-open .menu__left { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease); }
.menu.is-open .menu__links { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease) .08s; }
.menu.is-open .menu__media { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease) .16s; }
.menu.is-open .menu__img { transform: none; }
.menu [data-menu-item] { opacity: 0; transform: translateY(16px); }
.menu.is-open [data-menu-item] { opacity: 1; transform: none; transition: opacity .7s var(--ease) .35s, transform .8s var(--ease) .35s; }
.menu.is-open .menu__col:nth-child(2) { transition-delay: .45s; }
.menu.is-closing .menu__left, .menu.is-closing .menu__links, .menu.is-closing .menu__media { transition: clip-path .55s var(--ease-io); }
.menu.is-closing .menu__left { clip-path: inset(100% 0 0 0); }
.menu.is-closing .menu__links { clip-path: inset(0 0 100% 0); }
.menu.is-closing .menu__media { clip-path: inset(0 0 100% 0); }
.menu.is-closing [data-menu-item] { opacity: 0; transition: opacity .25s; }

/* --------------------------------------------------- Inner page headers */
.phero { padding: 180px 0 90px; }
.phero__text { padding-block: 0; padding-inline: calc(25% + var(--head-pad)) var(--pad); display: flex; flex-direction: column; gap: 22px; }
.phero__title { max-width: 760px; font-size: clamp(46px, 5.6vw, 84px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.phero__title--wide { max-width: 860px; font-size: var(--t-h2); }
html[lang="ar"] .phero__title { line-height: 1.2; letter-spacing: 0; }
.phero__intro { max-width: 652px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 6px; }
.phero--split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 150px 0 0; min-height: 86vh; }
.phero--split .phero__text { padding: 0 var(--pad) 90px; }
.phero__visual { align-self: stretch; }
.svc-hero-art { position: relative; display: grid; place-items: center; height: 100%; min-height: 520px; color: #fff; }
.svc-hero-art__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.3px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.svc-hero-art .ill { position: relative; width: 58%; max-height: 360px; height: auto; animation: floatY 6s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(31, 141, 161, .35)); }

/* Services index */
.svc-index { border-top: 1px solid var(--line); }
.svc-line { display: grid; grid-template-columns: 25% 25% 1fr 96px; align-items: center; min-height: 240px; border-bottom: 1px solid var(--line); transition: background-color .5s; }
.svc-line:hover { background: rgba(255, 255, 255, .03); }
.svc-line__idx { padding-inline-start: var(--pad); font-size: 12px; opacity: .5; }
.svc-line__art { display: grid; place-items: center; color: #fff; }
.svc-line__art .ill { width: 70%; max-height: 150px; height: auto; transition: transform .8s var(--ease); }
.svc-line:hover .svc-line__art .ill { transform: translateY(-6px) scale(1.05); }
.svc-line__body { display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 30px 0; }
.svc-line__kicker { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
html[lang="ar"] .svc-line__kicker { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.svc-line__title { font-size: var(--t-list); font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
html[lang="ar"] .svc-line__title { letter-spacing: 0; line-height: 1.4; }
.svc-line__text { max-width: 520px; font-size: 15px; color: var(--w85); }
.svc-line__go { display: grid; place-items: center; }
.svc-line__go .icon { width: 28px; height: 28px; stroke-width: 1.2; transition: transform .5s var(--ease); }
.svc-line:hover .svc-line__go .icon { transform: translate(4px, -4px) rotate(0deg); }

/* Service page: what's included */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 120px 0 120px; }
.included__copy { display: flex; flex-direction: column; gap: 26px; padding-inline: calc(50% + var(--head-pad)) var(--pad); }
.prose { font-size: 16px; line-height: 1.75; color: var(--text-2); max-width: 560px; }
.prose p + p, .prose ul, .prose ol, .prose h2, .prose h3 { margin-top: 1em; }
.prose h2, .prose h3 { font-weight: 500; font-size: 20px; color: inherit; }
.prose ul { list-style: disc; padding-inline-start: 1.2em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.included__list { border-top: 1px solid var(--line); margin-inline-end: var(--pad); }
.included__list li { display: grid; grid-template-columns: 50px 1fr 24px; align-items: center; gap: 12px; min-height: 62px; border-bottom: 1px solid var(--line); font-size: 17px; }
.included__list li .mono { font-size: 11px; opacity: .5; }
.included__list li .icon { width: 18px; height: 18px; opacity: .6; }
.more-svc { padding: 110px 0 40px; }
.more-svc > .eyebrow { padding-inline: calc(25% + var(--head-pad)) var(--pad); }
.more-svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; margin-inline-start: 25%; }
.svc-card--compact .svc-card__art { height: 220px; margin-bottom: 24px; }
.svc-card--compact .svc-card__art .ill { width: 55%; }

/* Case study */
.case-hero { display: grid; grid-template-columns: 3fr 1fr; gap: 0; align-items: end; padding: 180px 0 70px; }
.case-hero__text { display: flex; flex-direction: column; gap: 24px; padding-inline: calc(33.3333% + var(--head-pad)) var(--pad); }
.case-hero__title { max-width: 820px; font-size: clamp(42px, 5vw, 76px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
html[lang="ar"] .case-hero__title { line-height: 1.25; letter-spacing: 0; }
.case-hero__intro { max-width: 620px; color: var(--w85); }
.case-meta { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-inline-end: var(--pad); }
.case-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.case-meta dt { opacity: .5; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .case-meta { font-family: var(--font); }
html[lang="ar"] .case-meta dt { text-transform: none; letter-spacing: 0; }
.case-meta a { border-bottom: 1px solid; }
.case-cover { position: relative; height: clamp(360px, 62vw, 860px); overflow: hidden; background: #000; }
.case-cover__img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; padding: 120px 0; }
.case-body__col { display: flex; flex-direction: column; gap: 24px; padding: 0 var(--pad); }
.case-body__col:first-child { padding-inline-start: calc(50% + var(--head-pad)); }
.case-body__label { margin-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border: 1px solid var(--line-strong); font-size: 12px; }
html[lang="ar"] .tags li { font-family: var(--font); font-size: 13px; }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 var(--pad) 120px; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; }
.next-case { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 520px; padding: 80px calc(25% + var(--head-pad)); overflow: hidden; background: #000; color: #fff; isolation: isolate; }
.next-case__media { position: absolute; inset: 0; z-index: -1; }
.next-case__media img { width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(.5); transform: scale(1.08); transition: transform 1.4s var(--ease), opacity .8s, filter .8s; }
.next-case:hover .next-case__media img { transform: none; opacity: .6; filter: none; }
.next-case__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
html[lang="ar"] .next-case__label { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 14px; }
.next-case__title { max-width: 760px; font-size: var(--t-h2); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
html[lang="ar"] .next-case__title { line-height: 1.3; letter-spacing: 0; }
.next-case__go { position: absolute; top: 50%; inset-inline-end: var(--pad); transform: translateY(-50%); }
.next-case__go .icon { width: 64px; height: 64px; stroke-width: .9; transition: transform .6s var(--ease); }
.next-case:hover .next-case__go .icon { transform: translate(8px, -8px); }

/* About */
.about-statement { padding: 60px 0 150px; }
.about-statement .intro__text { width: min(860px, calc(100% - 2 * var(--pad))); margin-inline: auto; }
.about-photo { position: relative; height: clamp(320px, 52vw, 760px); overflow: hidden; background: #000; }
.about-photo__img { width: 100%; height: 118%; object-fit: cover; filter: grayscale(1) contrast(1.05); will-change: transform; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; padding: 130px 0; }
.about-story__copy { display: flex; flex-direction: column; gap: 26px; padding-inline: calc(50% + var(--head-pad)) var(--pad); }
.about-story__mv { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-inline-end: var(--pad); }
.mv { padding: 34px 0; border-bottom: 1px solid var(--line); }
.mv__text { margin-top: 14px; font-size: var(--t-lead); font-weight: 400; line-height: 1.35; }
html[lang="ar"] .mv__text { line-height: 1.6; }
.team { padding-bottom: 120px; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); }
.member { padding: 30px var(--pad); border-inline-end: 1px solid var(--line); }
.member__photo { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: #d0d0cd; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s; }
.member:hover .member__photo img { filter: none; }
.member__initial { font-size: 80px; font-weight: 200; opacity: .3; }
.member figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.member figcaption span { font-size: 12px; opacity: .6; }

/* Contact (Armory contact page) */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--dark); }
.contact__form-side { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 150px var(--pad) 60px; color: #fff; --line: rgba(255, 255, 255, .1); }
.contact__title { font-size: var(--t-h2); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
html[lang="ar"] .contact__title { line-height: 1.25; letter-spacing: 0; }
.contact__intro { max-width: 480px; color: var(--w85); font-size: 15px; }
.brief { margin-top: 30px; }
.brief__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-inline: calc(-1 * var(--pad)); }
.fld { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px var(--pad) 14px; border-bottom: 1px solid var(--line); }
.fld:nth-child(odd):not(.fld--wide) { border-inline-end: 1px solid var(--line); }
.fld--wide { grid-column: 1 / -1; }
.fld__label { font-size: 12px; letter-spacing: .02em; color: var(--w85); }
html[lang="ar"] .fld__label { font-family: var(--font); font-size: 13px; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 4px 0; border: 0; background: transparent; outline: none; font-size: 15px; color: #fff; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--w35); }
.fld select { -webkit-appearance: none; appearance: none; color: var(--w70); cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; padding-inline-end: 20px; }
[dir="rtl"] .fld select { background-position: left center; }
.fld select option { background: #111; color: #fff; }
.fld textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.fld:focus-within { background: rgba(255, 255, 255, .03); }
.fld:focus-within .fld__label { color: var(--accent-2); }
.fld.has-error .fld__label { color: #ff8d84; }
.fld__err { font-size: 12px; color: #ff8d84; min-height: 0; }
.fld__err:empty { display: none; }
.brief__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.brief__privacy { font-size: 11px; color: var(--w50); }
html[lang="ar"] .brief__privacy { font-family: var(--font); font-size: 12px; }
.brief__privacy a { text-decoration: underline; }
.send-btn { display: inline-flex; align-items: center; gap: 0; height: 44px; min-width: 200px; padding-inline-end: 22px; background: #d9d9d9; color: var(--dark-2); font-size: 14px; transition: background-color .3s; }
.send-btn .btn__icon { width: 40px; height: 100%; margin-inline-end: auto; background: var(--dark-2); color: #fff; border-radius: 0; }
.send-btn span:last-child { margin-inline: auto; }
.send-btn:hover { background: #fff; }
.send-btn.is-busy { opacity: .6; pointer-events: none; }
.brief__alert { margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(255, 141, 132, .5); color: #ffb3ab; font-size: 14px; }
.form-done { margin-top: 20px; padding: 26px; border: 1px solid rgba(89, 214, 143, .4); background: rgba(89, 214, 143, .06); }
.form-done h2 { font-size: 26px; font-weight: 400; }
.form-done p { margin-top: 10px; color: var(--w85); }
.form-done .btn { margin-top: 18px; }
.contact__side { position: relative; display: grid; grid-template-rows: auto 1fr; background: #0b0b0b; border-inline-start: 1px solid var(--w07); overflow: hidden; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; padding-top: 110px; border-bottom: 1px solid var(--w07); }
.tile { display: flex; flex-direction: column; gap: 8px; min-height: 170px; padding: 26px var(--pad); border-top: 1px solid var(--w07); border-inline-end: 1px solid var(--w07); color: #fff; transition: background-color .4s; }
.tile:hover { background: rgba(255, 255, 255, .03); }
.tile--wide { grid-column: 1 / -1; }
.tile__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: auto; border: 1px solid var(--w20); }
.tile__icon .icon { width: 17px; height: 17px; }
.tile strong { font-size: 16px; font-weight: 400; }
.tile__live { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--w50); }
.tile__live i { width: 6px; height: 6px; border-radius: 50%; background: #59d68f; animation: pulse 1.6s infinite; }
.contact__visual { position: relative; min-height: 360px; }
.contact__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; }
.contact__pin { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 6px rgba(95, 196, 211, .2); }
.contact__pin i { position: absolute; inset: -18px; border-radius: 50%; border: 1px solid var(--accent-2); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* Legal & 404 */
.legal { padding-block: 180px 140px; padding-inline: calc(25% + var(--head-pad)) var(--pad); display: flex; flex-direction: column; gap: 26px; }
.legal__title { font-size: var(--t-h2); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
html[lang="ar"] .legal__title { line-height: 1.25; letter-spacing: 0; }
.legal__body { max-width: 720px; }
.legal__body h2 { margin-top: 2em; font-size: 22px; }
.lost { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.lost__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lost__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-inline: calc(25% + var(--head-pad)) var(--pad); }
.lost__code { font-size: clamp(90px, 10vw, 150px); font-weight: 400; line-height: .9; letter-spacing: -.05em; }
.lost__msg { max-width: 420px; color: var(--w85); }

/* WhatsApp button */
.wa-fab { position: fixed; z-index: 40; bottom: 22px; inset-inline-end: 22px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transition: transform .4s var(--ease); }
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.4s var(--ease) infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-fab__tip { position: absolute; inset-inline-end: calc(100% + 12px); padding: 8px 12px; background: #fff; color: #000; font-size: 13px; white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
[dir="rtl"] .wa-fab__tip { transform: translateX(-8px); }
.wa-fab:hover .wa-fab__tip { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Reveals */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(5px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.reveal-ready .sec-head__title[data-reveal] { transition-delay: 60ms; }
.reveal-ready .sec-head__intro[data-reveal] { transition-delay: 140ms; }
.scr-glyph { opacity: .55; }
[data-scramble] { white-space: nowrap; }
body.no-anim [data-reveal], body.no-anim .line > span, body.no-anim [data-hero-fade], body.no-anim .hero__services li { opacity: 1 !important; transform: none !important; filter: none !important; }
body.no-anim .btn[data-draw] { clip-path: none; }

/* ---------------------------------------------------------- Keyframes */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.ptoast { animation-name: ptoastIn; }
@keyframes ptoastIn { from { opacity: 0; transform: translateY(-10px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px) scale(.96); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

/* ---------------------------------------------------------- Responsive */
@media (max-width: 1280px) {
  :root { --pad: 30px; --head-pad: 24px; --sec-top: 140px; }
  .ide { grid-template-columns: 130px 1fr; }
  .wgen { grid-template-columns: 270px 1fr; }
  .studio__panel, .editor { grid-template-columns: 1fr 260px; }
  .growth { grid-template-columns: 170px 1fr; }
  .growth__big strong { font-size: 56px; }
}
@media (max-width: 1080px) {
  :root { --sec-top: 120px; }
  .sec::before, .hero::before { background-size: 50% 100%; background-position: 50% 0; }
  .sec-head, .stats__head, .stack__head, .phero__text, .cta-band__inner, .legal, .custom-quote, .work__more, .pricing-sec__more { padding-inline: var(--pad) !important; }
  .lost__text { padding-inline: var(--pad); }
  .filters { margin-inline: var(--pad); max-width: calc(100% - 2 * var(--pad)); }
  .svc-cards__grid, .feats, .stack__grid, .tcards, .team__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__row { grid-template-columns: repeat(3, 1fr); }
  .stats__row > .stat:first-child { grid-column: auto; }
  .work-row { grid-template-columns: 30% 1fr 70px; }
  .work-row__meta { display: none; }
  .sdash__grid { grid-template-columns: 1fr 1fr; }
  .scard--wide { grid-column: 1 / -1; }
  .scard--phone { grid-column: 1 / -1; }
  .approach { grid-template-columns: 1fr; min-height: 0; }
  .approach__visual { min-height: 520px; }
  .ppanel { grid-template-columns: 1fr; }
  .ppanel__media { min-height: 420px; }
  .faq { grid-template-columns: 1fr; }
  .faq__panel { padding-top: 40px; }
  .faq__bottom { padding-top: 40px; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .pricing__side { grid-column: 1 / -1; }
  .pricing__switch { flex-direction: row; flex-wrap: wrap; }
  .pricing__tab { flex: 1; border-bottom: 0; border-inline-end: 1px solid var(--line-strong); }
  .compare__row, .compare__group { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__side { min-height: 0; }
  .tiles { padding-top: 0; }
  .included, .about-story, .case-body { grid-template-columns: 1fr; gap: 50px; }
  .included__list, .about-story__mv { margin-inline: var(--pad); }
  .case-hero { grid-template-columns: 1fr; gap: 40px; }
  .case-hero__text { padding-inline: var(--pad); }
  .case-meta { margin-inline: var(--pad); }
  .phero--split { grid-template-columns: 1fr; min-height: 0; padding-top: 140px; }
  .svc-hero-art { min-height: 360px; }
  .more-svc__grid { grid-template-columns: 1fr 1fr; margin-inline-start: 0; }
  .svc-line { grid-template-columns: 60px 1fr 60px; }
  .svc-line__art { display: none; }
  .studio__panel, .editor { grid-template-columns: 1fr; }
  .studio__side, .editor__side { border-inline-start: 0; border-top: 1px solid var(--w07); }
  .wgen { grid-template-columns: 1fr; }
  .wgen__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .wgen__brand, .wgen__prompt, .wgen__log, .wgen__go { grid-column: 1 / -1; }
  .menu { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .menu__left { min-height: 34vh; padding-top: 90px; padding-bottom: 60px; }
  .menu__right { grid-template-rows: auto 1fr; }
  .menu__links { padding: 40px var(--pad); }
}
@media (max-width: 720px) {
  :root { --pad: 20px; --head-pad: 20px; --sec-top: 100px; --t-h1: clamp(44px, 12.5vw, 64px); }
  .hdr { padding: 20px var(--pad); }
  .hdr__logo .logo { height: 22px; }
  .hdr__actions { gap: 12px; }
  .hero__top { inset-inline-start: var(--pad); top: 92px; }
  .hero__services { gap: 10px; }
  .hero__services a { font-size: 21px; }
  .hero__clients { width: calc(100vw - 2 * var(--pad)); margin-top: 22px; }
  .hero__content { bottom: 100px; inset-inline-end: var(--pad); }
  .hero__hint { display: none; }
  .hero__fallback { inset-inline-end: -10%; width: 80vw; top: 46%; opacity: .5; }
  .svc-cards__grid, .feats, .tcards, .team__grid, .stats__row, .ftr__grid, .more-svc__grid { grid-template-columns: 1fr; }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .stack__cell { height: 120px; }
  .svc-card__art { height: 240px; }
  .stat { padding: 34px var(--pad) 40px; border-bottom: 1px solid var(--line); }
  .work-row { grid-template-columns: 1fr 50px; }
  .work-row__client { display: none; }
  .work-row__body { padding: 24px var(--pad); gap: 14px; }
  .reel__label { top: 22px; }
  .frame { margin-inline: 12px; }
  .frame__corner { display: none; }
  .ide { grid-template-columns: 1fr; min-height: 0; }
  .ide__side { display: none; }
  .ide__stage { min-height: 460px; }
  .code { font-size: 11px; line-height: 18px; grid-template-columns: 34px 1fr; }
  .code__gutter li { height: 18px; }
  .ide__foot { flex-wrap: wrap; height: auto; padding: 12px; }
  .ide__meta { display: none; }
  .ide__compile { min-width: 0; flex: 1; }
  .wgen__panel { grid-template-columns: 1fr; }
  .wgen__viewport { padding: 12px; }
  .wgen__inspect, .wgen__size { display: none; }
  .browser { height: 520px; }
  .sdash { margin-inline: 12px; }
  .sdash__grid { grid-template-columns: 1fr; }
  .sdash__compare { margin-inline-start: 0; }
  .growth { grid-template-columns: 1fr; }
  .growth__chart { min-height: 180px; }
  .growth__foot { flex-direction: column; align-items: flex-start; }
  .vf { aspect-ratio: 4 / 5; }
  .vf__top { inset-inline: 46px; gap: 10px; font-size: 9px; }
  .vf__bottom { inset-inline: 20px; gap: 10px; font-size: 9px; }
  .vf__histo { display: none; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .monitor { min-height: 0; }
  .monitor__frame[data-aspect="9x16"], .monitor__frame[data-aspect="1x1"], .monitor__frame[data-aspect="4x5"] { height: 300px; }
  .approach__panel::before { background-size: 100% 100%; }
  .approach__grid { grid-template-columns: 1fr; }
  .ptabs { grid-template-columns: repeat(2, 1fr); }
  .ptab { height: 54px; font-size: 13px; }
  .pcard { inset-inline-start: 6%; width: 88%; }
  .faq__tabs { grid-template-columns: repeat(2, 1fr); }
  .faq__item summary { padding-inline: var(--pad); grid-template-columns: 20px 1fr 24px; }
  .faq__a { padding-inline: var(--pad); }
  .pricing { grid-template-columns: 1fr; }
  .plan { border-inline-start: 0; border-top: 1px solid var(--line); }
  .compare { overflow-x: auto; }
  .compare__row, .compare__group { min-width: 640px; }
  .cta-band { min-height: 520px; }
  .brief__grid { grid-template-columns: 1fr; }
  .fld:nth-child(odd):not(.fld--wide) { border-inline-end: 0; }
  .brief__foot { flex-direction: column-reverse; align-items: stretch; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 120px; }
  .ftr__mark { min-height: 220px; }
  .ftr__col { padding: 34px var(--pad); border-top: 1px solid var(--line); }
  .menu__links { grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 30px; }
  .menu__left { min-height: 30vh; }
  .menu__text { font-size: 22px; }
  .menu__date { inset-inline-start: var(--pad); }
  .menu__socials { inset-inline-end: var(--pad); }
  .custom-quote { flex-direction: column; align-items: flex-start; }
  .case-gallery { grid-template-columns: 1fr; }
  .next-case { padding: 60px var(--pad); min-height: 380px; }
  .wa-fab { bottom: 16px; inset-inline-end: 16px; width: 50px; height: 50px; }
}
@media (max-width: 460px) {
  .studio__rec { display: none; }
  .studio__mode { padding: 0 11px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .line > span, [data-hero-fade], .hero__services li { opacity: 1 !important; transform: none !important; filter: none !important; }
  .btn[data-draw] { clip-path: none !important; }
  @view-transition { navigation: none; }
}
