/* Alkhudari Group — brand: #FF7425 orange on near-black, DM Sans. */
:root {
  --bg: #0e0e0e;
  --surface: #151515;
  --surface-2: #1b1b1b;
  --line: #2a2a2a;
  --text: #ffffff;
  --text-2: #d0d0d0;
  --muted: #9a9a9a;
  --accent: #ff7425;
  --accent-ink: #140800;
  --accent-soft: rgba(255, 116, 37, .12);
  --ok: #5fd08a;
  --err: #ff8a7a;
  --radius: 18px;
  --wrap: 1180px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
:lang(ar) { --font: "IBM Plex Sans Arabic", "DM Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text-2);
  font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--text); margin: 0; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -2px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14, 14, 14, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; height: 72px; gap: 20px; }
.brand { justify-self: start; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.m-only { display: none !important; }

/* smart finder */
.ask-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(21, 21, 21, .6); color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, color .2s, box-shadow .2s; }
.ask-btn:hover { border-color: rgba(255, 116, 37, .55); color: var(--text); box-shadow: 0 0 24px -6px rgba(255, 116, 37, .45); }
.ask-btn .ico-sm { color: var(--accent); width: 15px; height: 15px; }
.ask-kbd { font: 500 11px var(--mono); color: var(--muted); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); }
.ask-m { display: none; }
.ask-dlg { width: min(680px, calc(100vw - 32px)); max-height: 76vh; margin: 11vh auto auto; padding: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(20, 20, 20, .92); color: var(--text-2); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 116, 37, .08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); overflow: hidden; }
.ask-dlg::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ask-dlg[open] { animation: ask-in .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes ask-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.ask-box { display: flex; flex-direction: column; max-height: 76vh; }
.ask-in { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ask-in .ico { color: var(--accent); width: 22px; height: 22px; flex: none; }
.ask-in input { flex: 1; min-width: 0; font: inherit; font-size: 17px; color: var(--text); background: none; border: 0; outline: none; }
.ask-in input::placeholder { color: var(--muted); }
.ask-in input::-webkit-search-cancel-button { display: none; }
.ask-x { font: 500 11px var(--mono); color: var(--muted); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.ask-hint { padding: 14px 20px 6px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
:lang(ar) .ask-hint { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.ask-res { overflow-y: auto; padding: 4px 10px 10px; }
.ask-res a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; color: var(--text); }
.ask-res a .ico { width: 20px; height: 20px; color: var(--accent); }
.ask-res a strong { display: block; font-size: 15.5px; font-weight: 500; }
.ask-res a small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.ask-res a mark { background: none; color: var(--accent); }
.ask-res a em { font-style: normal; font: 500 11px var(--mono); color: var(--muted); padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line); white-space: nowrap; }
:lang(ar) .ask-res a em { font-family: var(--font); font-size: 12px; }
.ask-res a[aria-selected="true"], .ask-res a:hover { background: rgba(255, 255, 255, .06); }
.ask-res a[aria-selected="true"] { box-shadow: 0 0 0 1px rgba(255, 116, 37, .35) inset; }
.ask-empty { padding: 8px 22px 16px; color: var(--text-2); font-size: 15px; }
.ask-empty a { color: var(--accent); font-weight: 500; }
.ask-keys { padding: 10px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.brand img { height: 36px; width: auto; }
.links { display: flex; align-items: center; gap: 6px; font-size: 15px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(21, 21, 21, .6); }
.links { position: relative; }
.links > a:not(.btn):not(.lang) { position: relative; z-index: 1; padding: 7px 16px; border-radius: 999px; }
.js .links > a:not(.btn):not(.lang):hover { background: none; }
.links > a:not(.btn):not(.lang):hover { background: var(--surface-2); }
/* sliding highlight that follows the pointer and rests on the current page */
.nav-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 1px rgba(255, 255, 255, .05) inset; opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1), opacity .2s, background .2s; pointer-events: none; }
.nav-pill.on { opacity: 1; }
.nav-pill.here { background: var(--accent-soft); box-shadow: 0 0 0 1px rgba(255, 116, 37, .25) inset; }
.js .links > a[aria-current="page"] { background: none; }
.links > a:not(.btn):not(.lang) { color: var(--text-2); transition: color .15s; }
.links > a:not(.btn):not(.lang):hover, .links > a[aria-current="page"] { color: var(--text); }
.links > a[aria-current="page"] { background: var(--accent-soft); color: var(--accent) !important; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 13px; color: var(--text); transition: border-color .15s; }
.lang:hover { border-color: var(--accent); }
.lang:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; }
.menu { display: none; background: none; border: 0; width: 44px; height: 44px; margin-inline-end: -10px; cursor: pointer; color: var(--text); }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; margin-inline: auto; position: relative; transition: transform .2s, background .2s; }
.bars::before, .bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu[aria-expanded="true"] .bars { background: transparent; }
.menu[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 999px; border: 1px solid var(--accent); cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: #ff8a47; box-shadow: 0 10px 30px -10px rgba(255, 116, 37, .6); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: #3a3a3a; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; white-space: nowrap; }
.more:hover { gap: 12px; }
.more, .btn .ico-sm { transition: gap .15s, transform .15s; }

/* ---------- type bits ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); color: var(--accent); letter-spacing: .02em; margin-bottom: 18px; }
:lang(ar) .kicker { font-family: var(--font); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tag { font: 500 12px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
:lang(ar) .tag { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); max-width: 620px; margin-top: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-inline-end: -12%; top: -18%; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(255, 116, 37, .16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.orb { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 116, 37, .28), rgba(255, 116, 37, .06) 45%, transparent 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.orb-core { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orb-core span { font: 700 clamp(40px, 5vw, 64px)/1 var(--font); color: #fff; text-shadow: 0 0 40px rgba(255, 116, 37, .8), 0 0 12px rgba(255, 190, 140, .6); letter-spacing: -.02em; }
.orb-chips li { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--text); white-space: nowrap; background: rgba(20, 20, 20, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); animation: float 7s ease-in-out infinite; transition: border-color .3s, color .3s; }
.orb-chips li i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.orb-chips li.lit { border-color: rgba(255, 116, 37, .6); color: #ffd2b3; }
@keyframes float { 50% { transform: translateY(-8px); } }
.orb-chips .chip-0 { top: 8%; inset-inline-start: 2%; }
.orb-chips .chip-1 { top: 4%; inset-inline-end: 0; animation-delay: -1.2s; }
.orb-chips .chip-2 { top: 44%; inset-inline-end: -4%; animation-delay: -2.4s; }
.orb-chips .chip-3 { bottom: 20%; inset-inline-end: 4%; animation-delay: -3.6s; }
.orb-chips .chip-4 { bottom: 14%; inset-inline-start: -2%; animation-delay: -4.8s; }
.orb-chips .chip-5 { top: 40%; inset-inline-start: -6%; animation-delay: -6s; }
.orb-cap { position: absolute; bottom: -2%; inset-inline: 0; text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
:lang(ar) .orb-cap { letter-spacing: 0; font-size: 14px; text-transform: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.stats > div { padding: 28px 24px 0 0; }
[dir="rtl"] .stats > div { padding: 28px 0 0 24px; }
.stats dt { font-size: clamp(32px, 3.4vw, 44px); font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -.02em; }
.stats dd { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-tight { padding-top: 24px; }
.sec-alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.sec-head h2, .founder h2, .band h2, .direct h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 720px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.sec-alt .card { background: var(--bg); }
.svc { display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s; overflow: hidden; }
.svc:hover { border-color: rgba(255, 116, 37, .5); transform: translateY(-3px); }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.svc .ico { color: var(--accent); width: 30px; height: 30px; }
.svc h3 { font-size: 20px; letter-spacing: -.01em; }
.svc p { font-size: 15px; color: var(--muted); }
.points { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.points li { font: 12.5px/1.5 var(--mono); color: var(--text-2); }
:lang(ar) .points li { font-family: var(--font); font-size: 13.5px; }

/* e-commerce focus */
.grid-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.grid-feature .svc { border-color: rgba(255, 116, 37, .35); }
.grid-feature .svc-img { aspect-ratio: 21 / 9; }
.grid-feature .svc h3 { font-size: 26px; }
.grid-feature .svc p { font-size: 16px; }
.ecom-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.ecom-h { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 24px; }
.ecom-grid .prose p { font-size: 17px; color: var(--text-2); }
.ecom-grid .prose p:first-of-type { font-size: 17px; color: var(--text-2); }
.ecom-grid .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ecom-grid .prose strong { color: var(--text); }
.ecom-points { display: grid; gap: 12px; }
.ecom-points li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.ecom-points .num { grid-row: span 2; font: 500 13px var(--mono); color: var(--accent); padding-top: 3px; }
.ecom-points strong { color: var(--text); font-size: 17px; }
.ecom-points span:last-child { color: var(--muted); font-size: 15px; }

/* projects */
.projects { display: grid; gap: 16px; }
.project { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); transition: border-color .2s; }
.page-work .project { background: var(--surface); }
.project:hover { border-color: rgba(255, 116, 37, .45); }
.project:not(:has(.facts)) { grid-template-columns: 1fr; }
.group-h { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 24px; }
.grid-clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-clients .project { grid-template-columns: 1fr; gap: 8px; align-content: start; }
.grid-clients .project h3 { font-size: 28px; }
.grid-clients .facts { border-inline-start: 0; padding-inline-start: 0; grid-template-columns: repeat(3, 1fr); column-gap: 16px; border-top: 1px solid var(--line); }
.grid-clients .facts > div { border-bottom: 0; }
.grid-clients .facts dt { font-size: 26px; }
.project h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 16px; }
.project p { max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chips li { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.link-out { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; }
.link-out:hover { text-decoration: underline; text-underline-offset: 4px; }
.facts { display: grid; align-content: center; gap: 0; border-inline-start: 1px solid var(--line); padding-inline-start: 36px; }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 36px; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -.02em; }
.facts dd { color: var(--muted); font-size: 14px; margin-top: 8px; }
.facts-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.facts-2 > div:nth-last-child(2) { border-bottom: 0; }

/* why / steps */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: n; }
.why-3 { grid-template-columns: repeat(3, 1fr); }
.why li { padding: 28px 28px 8px 0; border-top: 1px solid var(--line); position: relative; }
[dir="rtl"] .why li { padding: 28px 0 8px 28px; }
.why li::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 40px; height: 2px; background: var(--accent); }
.why .num { font: 500 13px var(--mono); color: var(--accent); }
.why h3 { font-size: 21px; margin: 14px 0 10px; }
.why p { font-size: 15.5px; color: var(--muted); }

/* founder */
.founder { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: center; }
.founder-mark { aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; font-size: 72px; font-weight: 700; color: var(--accent-ink); background: linear-gradient(145deg, #ff8a47, var(--accent) 55%, #d85a14); box-shadow: 0 30px 60px -25px rgba(255, 116, 37, .55); letter-spacing: -.03em; }
.founder .role { font: 500 14px var(--mono); color: var(--muted); margin: 12px 0 18px; }
:lang(ar) .founder .role { font-family: var(--font); }
.founder p:not(.role):not(.kicker) { max-width: 640px; margin-bottom: 22px; }

/* CTA band */
.band { padding: clamp(64px, 8vw, 100px) 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: radial-gradient(120% 140% at 100% 0%, rgba(255, 116, 37, .22), transparent 55%), var(--surface); border: 1px solid var(--line); }
[dir="rtl"] .band-in { background: radial-gradient(120% 140% at 0% 0%, rgba(255, 116, 37, .22), transparent 55%), var(--surface); }
.band p { margin-top: 12px; color: var(--muted); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* inner page hero */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 40px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); max-width: 900px; }
.notfound { padding-bottom: 120px; }
.big-code { font: 700 clamp(80px, 14vw, 160px)/1 var(--font); color: var(--accent); letter-spacing: -.04em; margin-bottom: 12px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.prose p { font-size: 18.5px; margin-bottom: 22px; }
.prose p:first-child { color: var(--text); font-size: 21px; }
.about-grid .facts { border-inline-start: 0; padding-inline-start: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: 14px; }
.alert { background: rgba(255, 138, 122, .1); border: 1px solid rgba(255, 138, 122, .35); color: #ffc1b8; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.form .btn { justify-self: start; margin-top: 4px; }
.notice { display: grid; gap: 12px; padding: 40px; }
.notice .ico { color: var(--ok); width: 36px; height: 36px; }
.notice h2 { font-size: 30px; }
.direct h2 { font-size: 24px; margin-bottom: 24px; }
.direct dl { display: grid; gap: 0; }
.direct dl > div { padding: 18px 0; border-top: 1px solid var(--line); }
.direct dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
:lang(ar) .direct dt { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }
.direct dd { color: var(--text); font-size: 17px; }
.direct a:hover { color: var(--accent); }
[dir="rtl"] .direct a[dir="ltr"] { unicode-bidi: isolate; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 2fr .7fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.foot-grid img { height: 34px; width: auto; margin-bottom: 18px; }
.foot-grid p { max-width: 340px; font-size: 15px; }
.foot-h { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
:lang(ar) .foot-h { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 14px; }
.foot-list { display: grid; gap: 10px; font-size: 15px; }
.foot-list a:hover { color: var(--accent); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 14px; }

/* service cards link to their page; the title link covers the whole card */
.svc { position: relative; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc h3 a:focus-visible { outline: none; }
.svc:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; font-weight: 500; margin-top: 14px; }
.svc:hover .svc-more { gap: 12px; }
.svc-more { transition: gap .15s; }

/* service detail page */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: #555; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text-2); }
.svc-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.svc-hero .kicker .ico-sm { width: 15px; height: 15px; }
.svc-badge { width: 200px; aspect-ratio: 1; border-radius: 40px; display: grid; place-items: center; color: var(--accent-ink); background: linear-gradient(145deg, #ff8a47, var(--accent) 55%, #d85a14); box-shadow: 0 40px 80px -30px rgba(255, 116, 37, .55); }
.svc-badge .ico { width: 88px; height: 88px; stroke-width: 1.3; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ticks { display: grid; gap: 14px; }
.side-stack { display: grid; gap: 16px; }
.pair-links { display: grid; gap: 8px; margin-bottom: 18px; }
.pair-links a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: 15px; transition: border-color .2s; }
.pair-links a:hover { border-color: rgba(255, 116, 37, .5); }
.pair-links .ico { width: 20px; height: 20px; color: var(--accent); flex: none; }
.pair-links .ico-sm { margin-inline-start: auto; color: var(--muted); }
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.svc-link:hover { border-color: rgba(255, 116, 37, .5); color: var(--text); }
.svc-link .ico-sm { color: var(--accent); }
.about-grid .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.photo-band .more { margin-top: 20px; }
.ticks li { position: relative; padding-inline-start: 28px; color: var(--text); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 14px; height: 8px; border-inline-start: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
[dir="rtl"] .ticks li::before { transform: rotate(45deg) scaleX(-1); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inc .num { font: 500 13px var(--mono); color: var(--accent); }
.inc h3 { font-size: 20px; margin: 14px 0 10px; }
.inc p { font-size: 15.5px; color: var(--muted); }
.chips-lg { margin: 0; gap: 10px; }
.chips-lg li { font-size: 15px; padding: 9px 18px; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-h { font-size: clamp(30px, 3.6vw, 46px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 500; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 680px; }
.sec-p { color: var(--muted); margin-top: 14px; max-width: 560px; }
.other { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.other li { display: flex; }
.other a { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; color: var(--text); transition: border-color .2s, transform .2s, background .2s; }
.other a:hover { border-color: rgba(255, 116, 37, .5); transform: translateY(-2px); }
.other-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 18px; }
.other .ico { color: var(--accent); width: 26px; height: 26px; }
.other .go { color: var(--muted); transition: transform .2s, color .2s; }
.other a:hover .go { color: var(--accent); transform: translateX(3px); }
[dir="rtl"] .other a:hover .go { transform: scaleX(-1) translateX(3px); }
.other strong { font-size: 17px; font-weight: 700; line-height: 1.3; }
.other a[aria-current="page"] { background: var(--accent-soft); border-color: rgba(255, 116, 37, .55); }
.here { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); background: var(--accent); padding: 5px 8px; border-radius: 999px; }
:lang(ar) .here { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 12px; }

/* floating WhatsApp button */
.wa-float { position: fixed; z-index: 60; bottom: 22px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 620px) { .wa-float { bottom: 16px; inset-inline-end: 16px; width: 52px; height: 52px; } }

/* ---------- founder profile ---------- */
.founder-hero .crumbs ol { margin-bottom: 24px; }
.founder-hero .motto { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin-top: 14px; line-height: 1.25; }
.profile-card { position: relative; justify-self: center; width: 100%; max-width: 440px; padding: 28px; border-radius: 26px; background: linear-gradient(180deg, rgba(34, 34, 34, .9), rgba(18, 18, 18, .92)); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .06) inset; }
.profile-mark { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--accent-ink); background: linear-gradient(145deg, #ff8a47, var(--accent) 55%, #d85a14); box-shadow: 0 20px 50px -20px rgba(255, 116, 37, .7); margin-bottom: 22px; }
.profile-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { color: var(--text); text-align: end; font-weight: 500; }
.skill .chips { margin: 16px 0 0; }
.skill .chips li { font-size: 12.5px; padding: 4px 10px; }

/* ---------- blog ---------- */
.narrow { max-width: 820px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.postcard { position: relative; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s; overflow: hidden; }
.postcard:hover { border-color: rgba(255, 116, 37, .5); transform: translateY(-3px); }
.postcard .chips { margin: 0; }
.postcard h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.postcard p { font-size: 15px; color: var(--muted); }
.postcard .svc-more { margin-top: auto; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.meta > * + *::before { content: "·"; margin-inline-end: 16px; color: #555; }
.article-head h1 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 18px; }
.article-head .chips { margin: 0; }
.article-head .meta { margin-top: 24px; font-size: 14px; }
.prose-article { font-size: 18px; line-height: 1.8; color: var(--text-2); padding-bottom: 24px; }
.prose-article > * + * { margin-top: 1.1em; }
.prose-article h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 2em; line-height: 1.25; }
.prose-article h3 { font-size: 21px; margin-top: 1.6em; }
.prose-article ul, .prose-article ol { padding-inline-start: 1.3em; }
.prose-article ul { list-style: disc; } .prose-article ol { list-style: decimal; }
.prose-article li + li { margin-top: .45em; }
.prose-article li::marker { color: var(--accent); }
.prose-article strong { color: var(--text); }
.prose-article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose-article table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose-article th, .prose-article td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose-article th { color: var(--text); background: var(--surface); font-weight: 700; }
.prose-article blockquote { margin-inline: 0; padding: 4px 20px; border-inline-start: 3px solid var(--accent); color: var(--text); }
.prose-article code { font: .9em var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.related-svc { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid rgba(255, 116, 37, .4); background: var(--accent-soft); border-radius: var(--radius); transition: transform .2s; }
.related-svc:hover { transform: translateY(-2px); }
.related-svc > .ico { color: var(--accent); width: 34px; height: 34px; flex: none; }
.related-svc > span { display: grid; gap: 4px; }
.related-svc small { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
:lang(ar) .related-svc small { font-family: var(--font); text-transform: none; letter-spacing: 0; }
.related-svc strong { color: var(--text); font-size: 20px; }
.related-svc .muted { font-size: 15px; }
.related-svc > .ico-sm { margin-inline-start: auto; color: var(--accent); flex: none; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- photos: one brand treatment everywhere ---------- */
.photo { position: relative; overflow: hidden; background: var(--surface-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.08) brightness(.78); transition: filter .5s ease, transform .7s ease; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255, 116, 37, .28), rgba(14, 14, 14, .15) 45%, rgba(14, 14, 14, .55)); mix-blend-mode: multiply; }
.svc:hover .photo img, .postcard:hover .photo img, .svc-photo:hover img, .post-cover:hover img { filter: grayscale(0) contrast(1.02) brightness(.9); transform: scale(1.04); }
.svc-img { margin: -28px -28px 20px; aspect-ratio: 16 / 9; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); flex: none; }
.svc-photo { margin: 0; width: min(440px, 38vw); aspect-ratio: 4 / 3; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.svc-photo-badge { position: absolute; z-index: 1; inset-inline-start: 20px; bottom: 20px; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--accent-ink); background: linear-gradient(145deg, #ff8a47, var(--accent) 55%, #d85a14); box-shadow: 0 16px 40px -12px rgba(255, 116, 37, .7); }
.svc-photo-badge .ico { width: 30px; height: 30px; stroke-width: 1.7; }
.post-cover { margin: 8px auto 44px; aspect-ratio: 16 / 8; border-radius: 22px; border: 1px solid var(--line); padding: 0; width: calc(100% - 48px); }
.photo-band { position: relative; min-height: 460px; display: flex; align-items: flex-end; border-block: 1px solid var(--line); }
.photo-band > .photo { position: absolute; inset: 0; }
.photo-band > .photo img { filter: grayscale(.6) contrast(1.05) brightness(.7); }
.photo-band > .photo::after { mix-blend-mode: normal; background: linear-gradient(0deg, rgba(14, 14, 14, .95) 5%, rgba(14, 14, 14, .35) 60%, rgba(255, 116, 37, .18)); }
.photo-band-in { position: relative; padding-block: 64px; }
.photo-band h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 760px; }
.photo-band p { margin-top: 16px; max-width: 560px; color: var(--text-2); font-size: 18px; }

/* ---------- motion & AI effects ---------- */
.neural { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
[dir="rtl"] .neural { -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero .accent { background: linear-gradient(100deg, #ff7425 15%, #ffc9a3 40%, #ff8a47 60%, #ff7425 85%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
.hero h1 { font-weight: 700; letter-spacing: -.03em; }
:lang(ar) .hero h1 { font-weight: 700; letter-spacing: 0; }
.hero .kicker { font-family: var(--font); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--text-2); gap: 14px; }
.hero .kicker .dot { width: 28px; height: 1px; border-radius: 0; box-shadow: none; background: linear-gradient(90deg, var(--accent), transparent); }
[dir="rtl"] .hero .kicker .dot { background: linear-gradient(270deg, var(--accent), transparent); }
:lang(ar) .hero .kicker { letter-spacing: 0; font-size: 14px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.hero .btn { padding: 15px 26px; }
.hero .btn:not(.btn-ghost) { background: linear-gradient(180deg, #ff8a47, #ff7425); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 30px -12px rgba(255, 116, 37, .7); }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }

/* spotlight that follows the cursor */
.svc, .project, .inc, .other a, .ai-console, .postcard { position: relative; isolation: isolate; }
.svc::before, .project::before, .inc::before, .other a::before, .ai-console::before, .postcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 116, 37, .13), transparent 45%);
}
.svc:hover::before, .project:hover::before, .inc:hover::before, .other a:hover::before, .ai-console:hover::before, .postcard:hover::before { opacity: 1; }
.stretch::after { z-index: 1; }


/* AI demo */
.ai-sec { position: relative; overflow: hidden; }
.ai-sec::before { content: ""; position: absolute; inset-inline-start: -10%; bottom: -30%; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(255, 116, 37, .10), transparent 70%); pointer-events: none; }
.ai-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ai-copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.ai-tabs { display: grid; gap: 10px; margin-top: 32px; }
.ai-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; text-align: start; font: inherit; font-size: 16px; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.ai-tab .ico { color: var(--muted); width: 22px; height: 22px; flex: none; transition: color .2s; }
.ai-tab:hover { border-color: #3a3a3a; color: var(--text); }
.ai-tab[aria-selected="true"] { color: var(--text); border-color: rgba(255, 116, 37, .55); background: var(--accent-soft); }
.ai-tab[aria-selected="true"] .ico { color: var(--accent); }
.ai-prog { position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .35s ease; }
[dir="rtl"] .ai-prog { transform-origin: right; }
.ai-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.ai-console { background: #0a0a0a; border: 1px solid var(--line); border-radius: 22px; min-height: 420px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); font: 500 13px var(--mono); color: var(--text-2); }
:lang(ar) .ai-head { font-family: var(--font); }
.ai-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 208, 138, .15); animation: pulse 2s ease-in-out infinite; }
.ai-status { margin-inline-start: auto; font-size: 12px; color: var(--muted); }
.ai-status.think { color: var(--accent); }
.ai-status.think::after { content: "..."; display: inline-block; width: 1.2em; text-align: start; animation: blink 1s steps(1) infinite; }
.ai-status.ok { color: var(--ok); }
.ai-scn { padding: 22px 22px 26px; }
.ai-prompt { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--line); color: var(--text); font-size: 16px; }
.ai-you { flex: none; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); background: var(--accent); padding: 6px 8px; border-radius: 6px; margin-top: 2px; }
:lang(ar) .ai-you { font-family: var(--font); font-size: 12px; text-transform: none; letter-spacing: 0; }
.ai-q.typing::after, .ai-p.run .t::after { content: ""; display: inline-block; width: 8px; height: 1.05em; margin-inline-start: 3px; vertical-align: -2px; background: var(--accent); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-out { display: grid; gap: 12px; }
.js .ai-l { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.js .ai-l.on { opacity: 1; transform: none; }
.ai-l { font-size: 15px; color: var(--text-2); }
.ai-p .t { unicode-bidi: plaintext; display: block; }
.ai-wave { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); opacity: .8; transform: scaleY(.25); }
.ai-wave.run .wave i { animation: eq .9s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-duration: .7s; } .wave i:nth-child(5n) { animation-duration: 1.1s; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.ai-bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 14px; }
.ai-bar .meter { grid-column: 1 / -1; order: 3; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.ai-bar .meter b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #d85a14, var(--accent), #ffb37a); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
[dir="rtl"] .ai-bar .meter b { background: linear-gradient(270deg, #d85a14, var(--accent), #ffb37a); }
.ai-bar .n { font: 500 14px var(--mono); color: var(--text); }
.ai-ok, .ai-warn, .ai-block { display: flex; gap: 10px; align-items: baseline; font: 13px/1.5 var(--mono); }
:lang(ar) .ai-ok, :lang(ar) .ai-warn, :lang(ar) .ai-block { font-family: var(--font); font-size: 14px; }
.ai-ok .t, .ai-warn .t, .ai-block .t { unicode-bidi: plaintext; }
.st { flex: none; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-1px); }
.ai-ok .st { background: var(--ok); } .ai-ok { color: #b6e8c8; }
.ai-warn .st { background: #ffb020; } .ai-warn { color: #ffd58a; }
.ai-block .st { background: var(--err); box-shadow: 0 0 0 4px rgba(255, 138, 122, .15); } .ai-block { color: #ffc1b8; font-weight: 500; padding: 10px 12px; border-radius: 10px; background: rgba(255, 138, 122, .08); border: 1px solid rgba(255, 138, 122, .25); }

/* reveal on scroll (JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
.nav-actions .btn, .ask-btn { white-space: nowrap; }
@media (max-width: 1360px) {
  .ask-kbd { display: none; }
}
@media (max-width: 1180px) {
  .ask-btn:not(.ask-m) span { display: none; }
  .ask-btn:not(.ask-m) { width: 38px; padding: 0; justify-content: center; }
  .nav-actions { gap: 10px; }
  .links { gap: 2px; font-size: 14.5px; }
  .links > a:not(.btn):not(.lang) { padding: 7px 12px; }
}
@media (max-width: 1060px) {
  .grid-4, .grid-3, .other { grid-template-columns: repeat(2, 1fr); }
  .ecom-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-wrap, .ai-grid { grid-template-columns: 1fr; gap: 32px; }
  .why, .steps-5 { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .orb { max-width: 460px; }
}
@media (max-width: 900px) {
  .menu { display: block; justify-self: end; }
  .nav-in { grid-template-columns: 1fr auto auto; gap: 10px; }
  .ask-m { display: inline-flex; width: 40px; height: 40px; padding: 0; justify-content: center; }
  .ask-keys { display: none; }
  .nav-pill { display: none; }
  .nav-actions { display: none; }
  .m-only { display: inline-flex !important; }
  .links { border: 0; border-radius: 0; padding: 12px 24px 28px; }
  .links > a:not(.btn):not(.lang) { border-radius: 0; padding: 14px 0; }
  .links > a:not(.btn):not(.lang):hover { background: none; }
  .links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .links.open { transform: none; opacity: 1; visibility: visible; }
  .links > a:not(.btn):not(.lang) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .links > a[aria-current="page"] { background: none; color: var(--accent); }
  .links .lang { align-self: flex-start; margin: 18px 0 14px; }
  .links .btn { justify-content: center; }
  .project, .about-grid, .contact-grid, .founder { grid-template-columns: 1fr; gap: 32px; }
  .facts { border-inline-start: 0; padding-inline-start: 0; grid-template-columns: repeat(3, 1fr); column-gap: 20px; border-top: 1px solid var(--line); }
  .facts > div { border-bottom: 0; }
  .facts-2 { grid-template-columns: 1fr 1fr; }
  .founder-mark { width: 140px; font-size: 44px; border-radius: 22px; }
  .band-in { flex-direction: column; align-items: flex-start; }
  .svc-hero-grid, .grid-clients { grid-template-columns: 1fr; }
  .svc-photo { width: 100%; aspect-ratio: 16 / 9; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .grid-4, .grid-3, .why, .why-3, .other, .steps-5, .posts, .grid-feature { grid-template-columns: 1fr; }
  .prose-article { font-size: 17px; }
  .ai-console { min-height: 0; }
  .ai-scn { padding: 18px 16px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding-bottom: 8px; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .facts dt { font-size: 28px; }
  .orb-chips li { font-size: 11.5px; padding: 6px 10px; max-width: 46%; white-space: normal; line-height: 1.3; }
  .orb-chips .chip-1 { inset-inline-end: 2%; }
  .orb-chips .chip-2, .orb-chips .chip-5 { display: none; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
  .actions .btn, .band-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .orb-chips li, .orb::before { animation-duration: 12s; }
}

/* ---------- mobile menu: full screen, centred ---------- */
@media (max-width: 900px) {
  .links {
    inset: 72px 0 0 0; height: calc(100dvh - 72px);
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom)); border: 0;
    background: radial-gradient(90% 60% at 50% 0%, rgba(255, 116, 37, .14), transparent 60%), var(--bg);
    font-size: 28px; text-align: center; overflow-y: auto;
    transform: scale(.98);
  }
  .links.open { transform: none; }
  .links > a:not(.btn):not(.lang) { padding: 10px 24px; border: 0; font-weight: 500; color: var(--text); letter-spacing: -.01em; }
  .links > a[aria-current="page"] { color: var(--accent); }
  .links .lang { align-self: center; margin: 22px 0 10px; font-size: 15px; padding: 8px 18px; }
  .links .btn { width: min(320px, 100%); justify-content: center; font-size: 17px; padding: 15px 24px; }
  /* items rise in one after another */
  .links > a { opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
  .links.open > a { opacity: 1; transform: none; }
  .links.open > a:nth-of-type(2) { transition-delay: .04s; } .links.open > a:nth-of-type(3) { transition-delay: .08s; }
  .links.open > a:nth-of-type(4) { transition-delay: .12s; } .links.open > a:nth-of-type(5) { transition-delay: .16s; }
  .links.open > a:nth-of-type(6) { transition-delay: .2s; } .links.open > a:nth-of-type(7) { transition-delay: .24s; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  html.menu-open .wa-float { opacity: 0; pointer-events: none; }
}
