/* ==========================================================================
   Vivid Elysian · site styles (v5, multipage)
   Brand kit v1.1: Midnight Ink, Vivid Pink → Lilac → Sky, Sun Gold sparks,
   Outfit (display) + Manrope (body) + Tajawal (Arabic).
   Layout: near-black ink sections alternate with lilac-violet sections;
   Vivid Pink is the one signal colour (actions, dots, progress).
   Performance: CSS animates transform/opacity only; backdrop-filter on the
   nav pill only; static gradients (no filter blur); no libraries.
   ========================================================================== */

:root {
  --ve-ink: #17122B;
  --ve-pink: #FF4F8B;
  --ve-lilac: #A98BFF;
  --ve-sky: #49B0FF;
  --ve-gold: #FFD23F;
  --ve-dusk: #57507A;
  --ve-mist: #F3F6FF;
  --ve-gradient: linear-gradient(135deg, #FF4F8B, #A98BFF 55%, #49B0FF);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-ar: "Tajawal", system-ui, sans-serif;

  /* Night (default) */
  --bg-deep: #08060F;
  --surface: #121022;
  --surface-2: #1B1733;
  --text: #F3F6FF;
  --text-2: #BDB6DD;
  --text-dim: #6F6896;
  --line: rgba(243, 246, 255, .1);
  --line-strong: rgba(243, 246, 255, .22);
  --label: #A98BFF;
  --accent: #FF4F8B;
  --on-accent: #17122B;
  --accent-text: #FF7AA8;
  --focus: #A98BFF;
  --tile: linear-gradient(140deg, rgba(108, 75, 240, .16), rgba(18, 16, 34, 0) 45%), #110F20;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --gutter: 16px;
  --max: 1320px;
  --top-h: 76px;
  --z-rail: 30; --z-top: 40; --z-pill: 45; --z-menu: 50; --z-loader: 100;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg-deep: #FFFFFF;
  --surface: #F3F6FF;
  --surface-2: #E9EDFB;
  --text: #17122B;
  --text-2: #57507A;
  --text-dim: #A6A0C4;
  --line: rgba(23, 18, 43, .1);
  --line-strong: rgba(23, 18, 43, .22);
  --label: #6C4BF0;
  --accent-text: #C8235F;
  --focus: #6C4BF0;
  --tile: linear-gradient(140deg, rgba(169, 139, 255, .22), rgba(243, 246, 255, 0) 45%), #F3F6FF;
  --shadow: 0 30px 60px -30px rgba(23, 18, 43, .25);
  color-scheme: light;
}
/* Always-dark sections */
.ink, :root[data-theme="light"] .ink {
  --bg-deep: #08060F; --surface: #121022; --surface-2: #1B1733;
  --text: #F3F6FF; --text-2: #BDB6DD; --text-dim: #6F6896;
  --line: rgba(243, 246, 255, .1); --line-strong: rgba(243, 246, 255, .22);
  --label: #A98BFF; --accent-text: #FF7AA8; --focus: #A98BFF;
  --tile: linear-gradient(140deg, rgba(108, 75, 240, .16), rgba(18, 16, 34, 0) 45%), #110F20;
  color-scheme: dark;
}
/* Lilac-violet sections */
.violet {
  --surface: rgba(10, 6, 26, .5); --surface-2: rgba(10, 6, 26, .35);
  --text: #F7F5FF; --text-2: rgba(243, 240, 255, .82); --text-dim: rgba(243, 240, 255, .5);
  --line: rgba(255, 255, 255, .14); --line-strong: rgba(255, 255, 255, .28);
  --label: #D9CCFF; --accent-text: #FFC2D7; --focus: #FFFFFF;
  --tile: rgba(10, 6, 26, .45);
  color-scheme: dark;
}
:root[data-theme="light"] .violet {
  --surface: #FFFFFF; --surface-2: rgba(255, 255, 255, .7);
  --text: #17122B; --text-2: #4A4370; --text-dim: #8F87B5;
  --line: rgba(23, 18, 43, .1); --line-strong: rgba(23, 18, 43, .22);
  --label: #5B3FD6; --accent-text: #C8235F; --focus: #5B3FD6;
  --tile: #FFFFFF;
  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-deep); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
main, .footer { overflow-x: clip; }
html[lang="ar"] body, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] .label, html[lang="ar"] .btn, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] .display {
  font-family: var(--font-ar); letter-spacing: 0 !important; text-transform: none !important;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; font-weight: 600; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ve-pink); color: var(--ve-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 18px; height: 18px; flex: none; }
.ico--sm { width: 15px; height: 15px; }
[dir="rtl"] .ico:not(.ico--down) use[href="#i-arrow"], [dir="rtl"] use[href="#i-out"] { transform: scaleX(-1); transform-origin: center; transform-box: fill-box; }
.ico--down { transform: rotate(90deg); }
.skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200; background: var(--ve-pink); color: var(--ve-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transform: translateY(-200%); transition: transform var(--t-fast) var(--ease-out); }
.skip:focus { transform: none; }

.label { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
html[lang="ar"] .label { font-size: 14px; }
.label--dot { display: inline-flex; align-items: center; gap: 10px; }
.label--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ve-pink); box-shadow: 0 0 0 4px rgba(255, 79, 139, .18); flex: none; }
.grad { background: var(--ve-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--pink { background: var(--ve-pink); } .dot--lilac { background: var(--ve-lilac); } .dot--sky { background: var(--ve-sky); } .dot--gold { background: var(--ve-gold); }

/* Display type: uppercase Outfit, tight */
.display { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: -.015em; line-height: .94; }
html[lang="ar"] .display { font-weight: 700; line-height: 1.25; }
.h2 { font-size: clamp(38px, 5.6vw, 88px); max-width: 18ch; }
.h3 { font-size: clamp(26px, 2.8vw, 42px); }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--text-2); max-width: 46ch; }

.section { position: relative; padding-block: clamp(96px, 12vw, 170px); background: var(--bg-deep); color: var(--text); }
.violet { background: radial-gradient(70% 55% at 50% 0%, rgba(169, 139, 255, .32), rgba(169, 139, 255, 0) 70%), linear-gradient(180deg, #1C0F4D 0%, #34209A 55%, #4A2DC0 100%); color: var(--text); }
:root[data-theme="light"] .violet { background: radial-gradient(70% 55% at 50% 0%, rgba(169, 139, 255, .3), rgba(169, 139, 255, 0) 70%), linear-gradient(180deg, #F1ECFF 0%, #E4DAFF 100%); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
.section__head--split > div { display: grid; gap: 20px; }
@media (min-width: 1024px) { .section__head--split { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; } }

.badge { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); line-height: 1.2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
html[lang="ar"] .chips li, html[lang="ar"] .badge { letter-spacing: 0; font-size: 13px; }

/* ---------- Buttons ---------- */
.btn { --pad-y: 15px; --pad-x: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: var(--pad-y) var(--pad-x); border-radius: 999px; position: relative; isolation: isolate; overflow: hidden; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.15; transition: transform var(--t-fast) var(--ease-out), translate .45s var(--ease-out); touch-action: manipulation; text-align: center; }
html[lang="ar"] .btn { font-size: 15px; }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: currentColor; opacity: 0; transition: opacity var(--t-fast); z-index: -1; }
.btn:hover::after { opacity: .1; }
.btn .ico { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .ico:not(.ico--down) { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ico:not(.ico--down) { transform: translateX(-4px); }
.btn:hover .ico--down { transform: rotate(90deg) translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { --pad-y: 11px; --pad-x: 18px; min-height: 44px; font-size: 11.5px; }
html[lang="ar"] .btn--sm { font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent::after { background: #fff; }
.btn--accent:hover::after { opacity: .2; }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); }

.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); position: relative; color: var(--text); }
.icon-btn::after, .lang-btn::after, .sound-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: currentColor; opacity: 0; transition: opacity var(--t-fast); }
.icon-btn:hover::after, .lang-btn:hover::after, .sound-btn:hover::after { opacity: .1; }
.icon-btn.icon-btn--float, .sound-btn.sound-btn--float { background: rgba(8, 6, 15, .86); color: #F3F6FF; border-color: rgba(243, 246, 255, .18); }
.ico-sun { display: none; }
:root[data-theme="light"] .ico-sun { display: block; }
:root[data-theme="light"] .ico-moon { display: none; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; line-height: 1; position: relative; flex: none; }
.lang-btn__label { display: block; line-height: 1; }
.lang-btn__label[lang="ar"] { font-family: var(--font-ar); font-size: 16px; letter-spacing: 0; padding-top: 2px; }
.sound-btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; position: relative; flex: none; }
html[lang="ar"] .sound-btn { font-size: 14px; }
.sound-bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.sound-bars i { width: 2px; height: 14px; border-radius: 2px; background: currentColor; transform: scaleY(.2); transform-origin: 50% 100%; transition: transform .3s; }
.sound-btn[aria-pressed="true"] .sound-bars i { animation: bars .9s ease-in-out infinite alternate; }
.sound-btn[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.3s; }
.sound-btn[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.6s; }
.sound-btn[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: -.15s; }
.sound-btn[aria-pressed="true"] { border-color: var(--ve-pink); }

.arrow-circle { width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); flex: none; position: relative; overflow: hidden; isolation: isolate; transition: color .3s, border-color .3s; }
.arrow-circle::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform: scale(0); transition: transform .4s var(--ease-out); z-index: -1; }
.arrow-circle .ico { transition: transform .4s var(--ease-out); }

/* ---------- Loader (home, ≈1.3 s, skippable) ---------- */
.loader { display: none; }
.js:not(.no-loader) .loader { position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-items: center; background: #08060F; animation: loaderOut .45s var(--ease-expo) .95s forwards; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__spark { width: 56px; height: 56px; fill: url(#g-big); animation: sparkIn .7s var(--ease-expo) both; }
.loader__logo { width: 210px; height: auto; aspect-ratio: 555.6 / 118; color: #D9D3F5; animation: fadeUp .5s var(--ease-expo) .25s both; }
.loader__bar { position: absolute; bottom: 48px; left: 50%; width: 140px; height: 2px; margin-left: -70px; background: rgba(243, 246, 255, .12); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--ve-gradient); transform-origin: left; animation: barFill .9s ease-in-out both; }
.loader__skip { position: absolute; top: 20px; inset-inline-end: 20px; color: #BDB6DD; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(243, 246, 255, .2); }
.js .loader.is-skipped { animation: loaderSkip .2s ease-out forwards; }
.loader.is-gone { display: none !important; }

/* ---------- Rail (wide screens) ---------- */
.rail { display: none; }
@media (min-width: 1280px) {
  .rail { display: block; position: fixed; top: 50%; inset-inline-start: 22px; z-index: var(--z-rail); height: 40vh; margin-top: -20vh; pointer-events: none; opacity: 0; transition: opacity .4s; }
  .rail.is-on { opacity: 1; }
  .rail__track { position: relative; width: 1px; height: 100%; background: repeating-linear-gradient(180deg, rgba(169, 139, 255, .55) 0 1px, transparent 1px 12px); }
  .rail__dot { position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ve-pink); box-shadow: 0 0 0 4px rgba(255, 79, 139, .18); will-change: transform; }
}

/* ---------- Top bar ---------- */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: var(--z-top); height: var(--top-h); color: #F3F6FF; }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.topbar__logo { width: 150px; flex: none; color: #D9D3F5; }
.topbar__logo svg { width: 100%; height: auto; aspect-ratio: 555.6 / 118; }
.topbar__links { display: none; gap: 4px; margin-inline: auto; }
.topbar__links a { position: relative; padding: 10px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .78; transition: opacity var(--t-fast); }
.topbar__links a:hover, .topbar__links a[aria-current] { opacity: 1; }
.topbar__links a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ve-pink); }
html[lang="ar"] .topbar__links a { font-size: 15px; }
.topbar__tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.topbar .icon-btn, .topbar .lang-btn { border-color: rgba(243, 246, 255, .24); color: #F3F6FF; }
.topbar .lang-btn, .topbar .icon-btn, .topbar__cta { display: none; }
.burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid rgba(243, 246, 255, .24); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F3F6FF; }
[dir="rtl"] .burger { padding: 0 16px 0 8px; }
html[lang="ar"] .burger { font-size: 14px; }
.burger__lines { width: 30px; height: 30px; display: grid; place-content: center; gap: 5px; }
.burger__lines i { display: block; width: 14px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease-out); }
[aria-expanded="true"] .burger__lines i:first-child, .menu .burger__lines i:first-child { transform: translateY(3.3px) rotate(45deg); }
[aria-expanded="true"] .burger__lines i:last-child, .menu .burger__lines i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
@media (min-width: 720px) { .topbar .lang-btn, .topbar .icon-btn { display: inline-flex; } }
@media (min-width: 1080px) { .topbar__links { display: flex; } .topbar__tools { margin-inline-start: 0; } .topbar__cta { display: inline-flex; } .topbar .burger { display: none; } }

/* ---------- Floating pill (the only backdrop-filter) ---------- */
.pill { position: fixed; z-index: var(--z-pill); left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; color: #F3F6FF; background: rgba(8, 6, 15, .74); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border: 1px solid rgba(243, 246, 255, .14); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); transform: translate(-50%, 160%); opacity: 0; transition: transform .5s var(--ease-expo), opacity .3s; max-width: calc(100vw - 24px); }
.pill.is-on { transform: translate(-50%, 0); opacity: 1; }
.pill__mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.pill__mark svg { width: 30px; height: 25px; }
.pill__links { display: none; }
.pill__cta { white-space: nowrap; }
.pill__menu { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(243, 246, 255, .2); flex: none; }
@media (max-width: 380px) { .pill__cta .ico { display: none; } .pill__cta { --pad-x: 14px; } }
@media (min-width: 1080px) { .pill { top: 16px; bottom: auto; transform: translate(-50%, -160%); } .pill.is-on { transform: translate(-50%, 0); } }
.menu-open .pill { opacity: 0; pointer-events: none; }
.corner { display: none; }
@media (min-width: 1280px) {
  .corner { display: block; position: fixed; bottom: 20px; z-index: var(--z-pill); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .5s var(--ease-expo); pointer-events: none; }
  .corner.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .corner--start { inset-inline-start: 20px; } .corner--end { inset-inline-end: 20px; }
}

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: radial-gradient(70% 50% at 80% 0%, rgba(169, 139, 255, .3), rgba(169, 139, 255, 0) 70%), #08060F; color: #F3F6FF; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s linear .3s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
.menu__top { position: sticky; top: 0; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.menu__inner { min-height: calc(100% - var(--top-h)); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 16px calc(32px + env(safe-area-inset-bottom, 0px)); }
.menu__links { display: grid; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; border-bottom: 1px solid rgba(243, 246, 255, .1); font-family: var(--font-head); font-size: clamp(34px, 7vw, 64px); font-weight: 600; text-transform: uppercase; line-height: 1.1; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease-expo), transform .5s var(--ease-expo), color .2s; }
.menu__links a:hover { color: var(--ve-lilac); }
html[lang="ar"] .menu__links a { font-family: var(--font-ar); text-transform: none; }
.menu__links a[aria-current] { color: var(--ve-pink); }
.menu__n { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #A98BFF; min-width: 2.5em; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 40ms; } .menu.is-open .menu__links a:nth-child(3) { transition-delay: 80ms; } .menu.is-open .menu__links a:nth-child(4) { transition-delay: 120ms; } .menu.is-open .menu__links a:nth-child(5) { transition-delay: 160ms; } .menu.is-open .menu__links a:nth-child(6) { transition-delay: 200ms; }
.menu__foot { display: grid; gap: 18px; max-width: 520px; }
.menu__settings { display: flex; flex-wrap: wrap; gap: 10px; }
.menu .lang-btn, .menu .icon-btn, .menu .sound-btn { border-color: rgba(243, 246, 255, .24); color: #F3F6FF; }
.menu__contact { color: #BDB6DD; font-size: 15px; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- Home hero: interactive globe ---------- */
.hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: linear-gradient(180deg, #08060F 55%, #170C40 100%); color: var(--text); isolation: isolate; }
.hero__stars, .hero__stars::after { position: absolute; inset: 0; pointer-events: none; z-index: -3; }
.hero__stars { background-image: radial-gradient(1.2px 1.2px at 20px 30px, rgba(255, 255, 255, .7), transparent 100%), radial-gradient(1px 1px at 140px 80px, rgba(255, 255, 255, .45), transparent 100%), radial-gradient(1.4px 1.4px at 230px 190px, rgba(169, 139, 255, .75), transparent 100%), radial-gradient(1px 1px at 60px 220px, rgba(255, 255, 255, .4), transparent 100%); background-size: 320px 260px; }
.hero__stars::after { content: ""; background-image: radial-gradient(1.6px 1.6px at 90px 140px, rgba(255, 255, 255, .85), transparent 100%), radial-gradient(1.3px 1.3px at 200px 20px, rgba(255, 79, 139, .75), transparent 100%); background-size: 360px 300px; animation: twinkle 4.5s ease-in-out infinite alternate; }
.hero__glow { position: absolute; inset: 0; z-index: -3; pointer-events: none; background: radial-gradient(55% 45% at 72% 38%, rgba(108, 75, 240, .32), rgba(108, 75, 240, 0) 70%), radial-gradient(60% 40% at 50% 105%, rgba(108, 75, 240, .45), rgba(108, 75, 240, 0) 70%); }
/* Brand sparkle (kit icon) rising over a sky of small sparkles (kit pattern) */
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.star { position: absolute; z-index: -1; top: calc(var(--top-h) + 1vh); inset-inline-end: 2vw; width: min(48vw, 680px); aspect-ratio: 1; cursor: pointer; will-change: transform; -webkit-tap-highlight-color: transparent; }
.star__glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 79, 139, .26), rgba(169, 139, 255, .16) 45%, rgba(73, 176, 255, .07) 72%, rgba(73, 176, 255, 0)); }
.star__tilt, .star__spin { position: absolute; inset: 0; transform-origin: 47.6% 52.4%; }
.star__tilt { transition: rotate .7s var(--ease-out), translate .7s var(--ease-out); }
.star__svg { width: 100%; height: 100%; transform-origin: 47.6% 52.4%; animation: starBreathe 7s ease-in-out infinite alternate; }
.star__spin.is-spin { animation: starSpin 1.1s var(--ease-expo); }
[dir="rtl"] .star__spin { scale: -1 1; }
@media (min-width: 900px) { [dir="rtl"] .star { width: min(40vw, 560px); top: calc(var(--top-h) + 12vh); inset-inline-end: -1vw; } }
@media (max-width: 899px) { .star { top: auto; bottom: 22%; inset-inline-end: -16vw; width: 82vw; opacity: .9; } }
.sky-used .hint { opacity: 0; transition: opacity .6s; }
.hero__inner { position: relative; flex: 1; display: flex; flex-direction: column; padding-block: calc(var(--top-h) + clamp(28px, 6vh, 72px)) clamp(28px, 5vh, 48px); pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 24px; margin-bottom: clamp(20px, 5vh, 48px); }
.hero__label { color: #BDB6DD; }
.hero__legend { display: grid; gap: 6px; justify-items: end; text-align: end; }
.legend { display: flex; gap: 16px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #BDB6DD; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.hint { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8C85B3; }
html[lang="ar"] .legend, html[lang="ar"] .hint { letter-spacing: 0; font-size: 13px; }
@media (max-width: 599px) { .hero__legend { justify-items: start; text-align: start; } }
.hero__title { font-size: clamp(44px, 9.6vw, 156px); line-height: .9; letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(8, 6, 15, .4); }
.hero__title .indent { display: inline-block; }
@media (min-width: 768px) { .hero__title .indent { margin-inline-start: .5em; } }
html[lang="ar"] .hero__title { line-height: 1.2; letter-spacing: 0; font-size: clamp(40px, 8vw, 120px); }
.hero__bottom { margin-top: auto; padding-top: clamp(40px, 12vh, 140px); display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .hero__bottom { grid-template-columns: 1fr auto; gap: 48px; } }
.hero__sub { font-size: clamp(17px, 1.45vw, 21px); color: #E3E0F4; max-width: 30ch; line-height: 1.45; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
html[lang="ar"] .w { padding-bottom: .22em; margin-bottom: -.22em; }
.hero__title .w > span, .page-hero__title .w > span { animation: wordUp 1.1s var(--ease-expo) calc(.1s + var(--i, 0) * 80ms) both; }
.intro-done .hero__title .w > span, .intro-done .page-hero__title .w > span { animation: none; }
[data-hero-fade] { animation: fadeUp .9s var(--ease-expo) .45s both; }
.hero__top[data-hero-fade], .hero__top [data-hero-fade] { animation-delay: .05s; }
.star, .brandmark--hero { animation: fadeIn 1.6s var(--ease-expo) .1s both; }
.topbar__inner > * { animation: fadeIn .8s var(--ease-expo) .2s both; }
.js:not(.is-ready) .hero__title .w > span, .js:not(.is-ready) .page-hero__title .w > span, .js:not(.is-ready) [data-hero-fade], .js:not(.is-ready) .star, .js:not(.is-ready) .topbar__inner > * { animation-play-state: paused; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; min-height: 82vh; min-height: 82svh; display: flex; flex-direction: column; background: linear-gradient(180deg, #08060F 50%, #160B3D 100%); color: var(--text); isolation: isolate; }
.page-hero--short { min-height: 56vh; min-height: 56svh; }
.page-hero__glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(50% 50% at 85% 20%, rgba(108, 75, 240, .32), rgba(108, 75, 240, 0) 70%), radial-gradient(60% 40% at 30% 110%, rgba(255, 79, 139, .16), rgba(255, 79, 139, 0) 70%); }
.page-hero__inner { flex: 1; display: flex; flex-direction: column; gap: 22px; padding-block: calc(var(--top-h) + clamp(48px, 10vh, 110px)) clamp(32px, 6vh, 64px); }
.page-hero__title { font-size: clamp(50px, 9vw, 148px); line-height: .9; letter-spacing: -.025em; max-width: 14ch; }
html[lang="ar"] .page-hero__title { line-height: 1.2; font-size: clamp(42px, 7.6vw, 116px); }
.page-hero__bottom { margin-top: auto; padding-top: 28px; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .page-hero__bottom { grid-template-columns: 1fr auto; gap: 48px; } }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s; }
.jump a span:first-child { color: var(--ve-pink); }
.jump a:hover { border-color: var(--text-2); }
html[lang="ar"] .jump a { font-size: 14px; letter-spacing: 0; }

/* Words that rise in when the heading enters */
.motion [data-words] .wd { display: inline-block; opacity: 0; translate: 0 .35em; transition: opacity .7s var(--ease-expo), translate .7s var(--ease-expo); transition-delay: calc(var(--i, 0) * 60ms); }
.motion [data-words].is-in .wd { opacity: 1; translate: none; }

/* ---------- Problems ---------- */
.problems__title { font-size: clamp(42px, 7vw, 112px); max-width: 15ch; margin: 18px 0 clamp(48px, 7vw, 88px); }
.pb-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .pb-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pb { display: grid; gap: 18px; align-content: start; justify-items: start; grid-template-rows: auto auto auto 1fr; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.pb .h3 { font-size: clamp(28px, 2.6vw, 40px); }
.pb .btn { align-self: end; margin-top: 10px; }

/* ---------- Journey ---------- */
.jr-sec { position: relative; background: #08060F; color: var(--text); }
.jr-sec__sticky { position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 160px); }
.motion .jr-sec { height: 240vh; }
.motion .jr-sec__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: 72px 40px; }
.jr-sec__inner { position: relative; display: grid; gap: clamp(40px, 8vh, 96px); width: 100%; }
.jr-sec__head { display: grid; gap: 20px; }
@media (min-width: 1024px) { .jr-sec__head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; } }
.grid-floor { position: absolute; left: -30%; right: -30%; bottom: 0; height: 52%; perspective: 420px; perspective-origin: 50% 0; pointer-events: none; overflow: hidden; -webkit-mask: linear-gradient(180deg, transparent, #000 50%); mask: linear-gradient(180deg, transparent, #000 50%); }
.grid-floor__plane { position: absolute; left: 0; right: 0; bottom: -80px; height: 320%; transform-origin: 50% 100%; transform: rotateX(74deg); background-image: linear-gradient(rgba(169, 139, 255, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 139, 255, .3) 1px, transparent 1px); background-size: 64px 64px; animation: floor 3s linear infinite; }
.jr { position: relative; }
.jr__labels { display: flex; justify-content: space-between; margin-bottom: 44px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
html[lang="ar"] .jr__labels { font-size: 14px; letter-spacing: 0; }
.jr__track { position: relative; }
.jr__line { position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line-strong); }
.jr__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ve-pink), var(--ve-lilac)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .jr__fill { transform-origin: 100% 50%; background: linear-gradient(-90deg, var(--ve-pink), var(--ve-lilac)); }
.jr__mark { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--ve-pink); background: #08060F; color: var(--accent-text); white-space: nowrap; }
html[lang="ar"] .jr__mark { font-size: 13px; letter-spacing: 0; }
.jr__nodes { position: relative; display: flex; justify-content: space-between; }
.jr__nodes li { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 0; white-space: nowrap; font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; color: var(--text-dim); transition: color .4s; }
.jr__nodes li:first-child { align-items: flex-start; } .jr__nodes li:last-child { align-items: flex-end; }
.jr__nodes li i { width: 17px; height: 17px; border-radius: 50%; background: #08060F; border: 1px solid var(--line-strong); position: relative; transition: border-color .4s; }
.jr__nodes li i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ve-pink); transform: scale(0); transition: transform .4s var(--ease-out); }
.jr__nodes li.is-on { color: var(--text); } .jr__nodes li.is-on i { border-color: var(--ve-pink); } .jr__nodes li.is-on i::after { transform: scale(1); }
.jr__nodes li.is-now i { box-shadow: 0 0 0 6px rgba(255, 79, 139, .18); }
html:not(.motion) .jr__fill { transform: none; }
html:not(.motion) .jr__nodes li { color: var(--text); }
@media (max-width: 767px) {
  .jr__labels, .jr__mark { display: none; }
  .jr__line { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  [dir="rtl"] .jr__line { left: auto; right: 8px; }
  .jr__fill, [dir="rtl"] .jr__fill { transform: scaleY(0); transform-origin: 50% 0; background: linear-gradient(180deg, var(--ve-pink), var(--ve-lilac)); }
  .jr__nodes { flex-direction: column; gap: 16px; }
  .jr__nodes li, .jr__nodes li:first-child, .jr__nodes li:last-child { width: auto; flex-direction: row; align-items: center; gap: 16px; font-size: 18px; }
  .grid-floor { height: 30%; }
  .motion .jr-sec { height: 200vh; }
}

/* ---------- Solutions ---------- */
.tilt-stage { position: relative; height: clamp(260px, 30vw, 400px); margin-bottom: clamp(40px, 6vw, 72px); perspective: 1200px; display: grid; place-items: center; }
.tilt-card { position: absolute; width: clamp(150px, 18vw, 250px); aspect-ratio: 4 / 5; border-radius: 26px; background: radial-gradient(80% 60% at 50% 30%, rgba(169, 139, 255, .28), rgba(169, 139, 255, 0) 70%), linear-gradient(160deg, #1B1240, #0A0718); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7); display: grid; place-items: center; color: #fff; will-change: transform; }
.tilt-card svg { width: 62%; }
.tilt-card__k { position: absolute; top: 16px; inset-inline-start: 18px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #BDB6DD; }
html[lang="ar"] .tilt-card__k { font-size: 13px; letter-spacing: 0; }
.tilt-card--1 { --x: -62%; --ry: 28deg; --rz: -4deg; }
.tilt-card--2 { --x: 0%; --ry: 0deg; --rz: 0deg; z-index: 2; }
.tilt-card--3 { --x: 62%; --ry: -28deg; --rz: 4deg; }
.tilt-card { --p: 1; transform: translateX(calc(var(--x) * var(--p))) translateY(calc((1 - var(--p)) * 12%)) rotateY(calc(var(--ry) * var(--p))) rotateZ(calc(var(--rz) * var(--p))); }
@media (max-width: 599px) { .tilt-card--1 { --x: -55%; } .tilt-card--3 { --x: 55%; } }
.so-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .so-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.so { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.so .h3 { margin-bottom: 8px; }
.so__rows { border-top: 1px solid var(--line-strong); }
.so__rows a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); font-size: 18px; font-weight: 600; transition: color .2s; }
.so__rows a .ico { transition: transform .3s var(--ease-out); }
.so__rows a:hover { color: var(--accent-text); }
.so__rows a:hover .ico { transform: translateX(5px); }
[dir="rtl"] .so__rows a:hover .ico { transform: translateX(-5px); }

/* ---------- Work ---------- */
.work__big { font-size: clamp(60px, 13vw, 210px); line-height: .86; letter-spacing: -.03em; margin: 18px 0 clamp(32px, 5vw, 56px); }
html[lang="ar"] .work__big { line-height: 1.2; }
.work__note { font-size: 14px; color: var(--text-2); }

.work__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(40px, 5vw, 64px); }
.work__note { font-size: 14px; color: var(--text-2); }
.page-hero__copy { display: grid; gap: 12px; }

/* Project cards (home + work page) */
.proj-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .proj-grid { grid-template-columns: 1fr 1fr; gap: 48px 28px; } }
@media (min-width: 1100px) { .proj-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .proj-grid--offset { gap: 56px 40px; } .proj-grid--offset .proj.is-low { margin-top: 140px; } }
.proj { display: grid; gap: 22px; align-content: start; }
.proj[hidden] { display: none; }
.proj__cover { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; isolation: isolate; color: var(--ink); background: radial-gradient(70% 60% at 25% 15%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%), linear-gradient(150deg, var(--c1), var(--c2)); display: grid; place-items: center; box-shadow: var(--shadow); }
.proj__logo { width: 64%; transition: transform .7s var(--ease-out); }
.proj__logo svg { width: 100%; height: auto; direction: ltr; }
.proj__phone { position: absolute; inset-inline-end: 7%; bottom: -16%; width: 21%; aspect-ratio: 9 / 18; border-radius: 16px; background: var(--ink); padding: 22% 9% 0; display: grid; gap: 7px; align-content: start; rotate: -8deg; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .45); transition: translate .7s var(--ease-out), rotate .7s var(--ease-out); }
.proj__phone i { display: block; height: 5px; border-radius: 3px; background: var(--c1); opacity: .35; }
.proj__phone i:first-child { height: 30%; min-height: 20px; border-radius: 8px; opacity: .85; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.proj__phone i:nth-child(3) { width: 70%; }
.proj__phone b { display: block; height: 12px; width: 64%; margin-top: 4px; border-radius: 999px; background: var(--acc); }
.proj:hover .proj__logo { transform: scale(1.05); }
.proj:hover .proj__phone { translate: 0 -12%; rotate: -3deg; }
.proj__meta { display: grid; gap: 10px; justify-items: start; }
.proj__top { display: flex; align-items: center; gap: 14px; }
.proj__n { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text-dim); }
.proj__title { font-size: clamp(28px, 2.8vw, 44px); }
.proj-grid--3 .proj__title { font-size: clamp(26px, 2.2vw, 34px); }
.proj__p { color: var(--text-2); max-width: 46ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.filters button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background-color .2s, color .2s, border-color .2s; }
html[lang="ar"] .filters button { font-size: 14px; letter-spacing: 0; }
.filters button:hover { border-color: var(--text-2); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.logos--page { padding-top: clamp(96px, 12vw, 170px); }

/* ---------- Brands we've designed (logo wall) ---------- */
.logos { padding-top: 0; }
.logos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 28px; }
.logos__note { font-size: 14px; color: var(--text-2); }
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.logo-tile { display: grid; place-items: center; height: clamp(92px, 9vw, 120px); border-radius: 18px; background: var(--tile); border: 1px solid var(--line); color: #9C95BF; transition: transform var(--t-med) var(--ease-out), color .3s; }
:root[data-theme="light"] .logo-tile { color: #6F6896; }
.logo-tile svg { width: min(84%, 230px); height: auto; direction: ltr; }
.logo-tile:hover { transform: translateY(-3px); color: var(--text); }
.logo-tile--you a { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; border-radius: inherit; font-family: var(--font-head); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; color: var(--text-2); }
.logo-tile--you a:hover { color: var(--text); }
.logo-tile--you { border-style: dashed; border-color: var(--line-strong); }

/* ---------- Straight talk statements ---------- */
.stmts { position: relative; background: radial-gradient(42% 46% at 50% 50%, rgba(108, 75, 240, .4), rgba(108, 75, 240, 0) 75%), #08060F; color: #F3F6FF; }
.stmts__sticky { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; align-content: center; gap: 36px; padding: 96px var(--gutter); }
.stmts__stage { position: relative; display: grid; width: 100%; max-width: 1100px; }
.stmt { grid-area: 1 / 1; text-align: center; justify-self: center; font-family: var(--font-head); font-weight: 600; font-size: clamp(34px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; max-width: 17ch; text-wrap: balance; }
html[lang="ar"] .stmt { font-family: var(--font-ar); line-height: 1.35; letter-spacing: 0; text-transform: none; }
.stmt .sw { opacity: .22; transition: opacity .25s; }
.stmts__dots { display: flex; gap: 8px; justify-content: center; }
.stmts__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 246, 255, .25); transition: transform .3s var(--ease-out), background-color .3s; }
.stmts__dots i.on { background: var(--ve-pink); transform: scale(1.35); }
.motion .stmts { height: 330vh; }
.motion .stmts__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.motion .stmt { opacity: 0; transform: translateY(28px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-expo); }
.motion .stmt.is-on { opacity: 1; transform: none; }
html:not(.motion) .stmts__stage { gap: 48px; } html:not(.motion) .stmt { grid-area: auto; } html:not(.motion) .stmt .sw { opacity: 1; } html:not(.motion) .stmts__dots { display: none; }

/* ---------- Approach + process ---------- */
.approach { display: grid; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); margin-bottom: clamp(72px, 10vw, 140px); }
@media (min-width: 1024px) { .approach { grid-template-columns: 1.2fr 1fr auto; } }
.approach .h2 { font-size: clamp(34px, 4.4vw, 68px); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.flow li { display: inline-flex; align-items: center; gap: 10px; }
.flow li:not(:last-child)::after { content: "→"; color: var(--text-dim); }
[dir="rtl"] .flow li:not(:last-child)::after { content: "←"; }
.flow li.is-on { color: var(--text); }
.flow li.is-on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ve-pink); }
.approach .btn { justify-self: start; }
.process__wrap { display: grid; gap: 56px; }
.process__intro { display: grid; gap: 20px; align-content: start; justify-items: start; }
@media (min-width: 960px) { .process__wrap { grid-template-columns: .9fr 1.1fr; gap: 80px; } .process__intro { position: sticky; top: 110px; } }
.steps { position: relative; display: grid; }
.steps__line { position: absolute; top: 14px; bottom: 14px; inset-inline-start: 0; width: 1px; background: var(--line-strong); }
.steps__line span { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--ve-pink), var(--ve-lilac)); transform: scaleY(0); transform-origin: 50% 0; }
html:not(.motion) .steps__line span { transform: none; }
.step { position: relative; display: grid; grid-template-columns: 3.2em 1fr; gap: 12px; padding: 22px 0; padding-inline-start: 28px; }
.step::before { content: ""; position: absolute; inset-inline-start: -4px; top: 34px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-deep); border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s; }
.violet .step::before { background: #2A1A75; }
:root[data-theme="light"] .violet .step::before { background: #EAE2FF; }
.step.is-on::before { background: var(--ve-pink); border-color: var(--ve-pink); }
.step__n { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--text-dim); padding-top: 1em; }
.step h3 { font-size: clamp(30px, 4.2vw, 62px); }
.step p { color: var(--text-2); margin-top: 10px; max-width: 40ch; }
.motion .step h3, .motion .step p, .motion .step__n { opacity: .3; transition: opacity .5s var(--ease-out); }
.motion .step.is-on h3, .motion .step.is-on p, .motion .step.is-on .step__n { opacity: 1; }

/* ---------- Studio teaser + dot-matrix monogram ---------- */
.teaser__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .teaser__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
/* Brand kit icons: the "ve" monogram (primary) and the sparkle (secondary) */
.brandmark { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; }
.brandmark::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(169, 139, 255, .32), rgba(255, 79, 139, .1) 60%, rgba(255, 79, 139, 0)); }
.brandmark svg { position: absolute; border-radius: 23%; box-shadow: 0 40px 70px -30px rgba(8, 6, 15, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.brandmark__ve { width: 64%; top: 6%; inset-inline-start: 4%; rotate: -6deg; animation: float 5s ease-in-out infinite alternate; }
.brandmark__sp { width: 42%; bottom: 8%; inset-inline-end: 4%; rotate: 8deg; animation: float 5s ease-in-out -2.5s infinite alternate; }
.brandmark--hero { position: absolute; z-index: -1; top: calc(var(--top-h) + 20px); inset-inline-end: var(--gutter); width: min(36vw, 480px); }
@media (max-width: 899px) { .brandmark--hero { width: 56vw; top: auto; bottom: 18%; opacity: .55; } }
.teaser__copy { display: grid; gap: 24px; justify-items: start; }
.teaser__logo { width: min(100%, 520px); height: auto; aspect-ratio: 555.6 / 118; color: #D9D3F5; }
:root[data-theme="light"] .teaser__logo { color: var(--ve-ink); }
.teaser__lead { font-size: clamp(18px, 1.6vw, 22px); max-width: 40ch; }

/* ---------- Choose your path ---------- */
.path-rows { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-strong); }
.path-rows a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line-strong); }
.path-rows .display { font-size: clamp(28px, 4.6vw, 70px); line-height: 1; transition: color .25s, translate .4s var(--ease-out); }
.path-rows a:hover .display { color: var(--accent-text); translate: 10px 0; }
[dir="rtl"] .path-rows a:hover .display { translate: -10px 0; }
.path-rows a:hover .arrow-circle::before, a.crow:hover .arrow-circle::before, .prow:hover .arrow-circle::before { transform: scale(1); }
.path-rows a:hover .arrow-circle, a.crow:hover .arrow-circle, .prow:hover .arrow-circle { color: var(--on-accent); border-color: var(--accent); }
.path-rows a:hover .arrow-circle .ico { transform: translateX(3px); }
[dir="rtl"] .path-rows a:hover .arrow-circle .ico { transform: translateX(-3px); }
.paths__cta, .band__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

/* ---------- Contact card + rows ---------- */
.contact__card { display: grid; gap: 32px; padding: clamp(26px, 4vw, 64px); border-radius: 32px; color: #F7F5FF; background: radial-gradient(70% 60% at 100% 0%, rgba(255, 79, 139, .3), rgba(255, 79, 139, 0) 70%), radial-gradient(70% 70% at 0% 100%, rgba(73, 176, 255, .16), rgba(73, 176, 255, 0) 70%), linear-gradient(160deg, #2B1A78, #120B33 75%); border: 1px solid rgba(243, 246, 255, .12); --text: #F7F5FF; --text-2: rgba(243, 240, 255, .82); --line-strong: rgba(255, 255, 255, .24); --label: #D9CCFF; --accent-text: #FFC2D7; --focus: #fff; }
@media (min-width: 1040px) { .contact__card { grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; } }
.contact__head { display: grid; gap: 18px; }
.contact__title { font-size: clamp(40px, 5vw, 80px); }
.crow-list { border-top: 1px solid var(--line-strong); }
.crow { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding: 14px 0; min-height: 78px; }
.crow-list > li { border-bottom: 1px solid var(--line-strong); }
.crow__k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
html[lang="ar"] .crow__k { font-size: 13px; letter-spacing: 0; }
.crow__v { font-family: var(--font-head); font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; overflow-wrap: anywhere; }
html[lang="ar"] .crow__v { font-family: var(--font-ar); }
.crow .arrow-circle { width: 46px; height: 46px; }
a.crow:hover .arrow-circle .ico, .prow:hover .arrow-circle .ico { transform: translateX(3px) rotate(-45deg); }
[dir="rtl"] a.crow:hover .arrow-circle .ico, [dir="rtl"] .prow:hover .arrow-circle .ico { transform: translateX(-3px) rotate(45deg); }
.crow--accent .crow__v { color: var(--accent-text); }
@media (max-width: 520px) { .crow { grid-template-columns: minmax(0, 1fr) auto; } .crow__k { grid-column: 1 / -1; margin-bottom: -6px; } }
.copy-row__text { user-select: all; -webkit-user-select: all; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); }
html[lang="ar"] .copy-btn { font-size: 14px; letter-spacing: 0; }
.copy-btn .ico { width: 15px; height: 15px; }
.copy-btn.is-copied { border-color: var(--ve-pink); color: var(--accent-text); }
.copy-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-row--sm { font-size: 14.5px; color: var(--text-2); }

/* ---------- Services detail ---------- */
.svd__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .svd__grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } .svd__intro { position: sticky; top: 110px; align-self: start; } }
.svd__intro { display: grid; gap: 18px; justify-items: start; }
.svd__n { font-family: var(--font-head); font-size: clamp(56px, 7vw, 110px); font-weight: 600; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--text-dim); }
.svd__body { display: grid; gap: 32px; }
.inc { border-top: 1px solid var(--line-strong); }
.inc li { display: grid; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
@media (min-width: 700px) { .inc li { grid-template-columns: .9fr 1.1fr; align-items: baseline; } }
.inc h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.inc p { color: var(--text-2); }

.art-brand { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); padding: 20px; display: grid; place-items: center; min-height: 150px; }
.tile--logo { background: #fff; color: var(--ve-ink); } .tile--logo svg { width: 64%; }
.tile--type { place-items: center start; align-content: center; gap: 4px; }
.type-aa { font-family: var(--font-head); font-size: clamp(56px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.tile--type small { color: var(--text-2); font-size: 12.5px; }
.tile--swatch { display: flex; padding: 20px 24px; justify-content: center; align-items: center; }
.tile--swatch i { width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 3px solid var(--bg-deep); margin-inline-start: -10px; transition: transform .4s var(--ease-out); } .tile--swatch i:first-child { margin-inline-start: 0; }
.tile--swatch:hover i { transform: translateY(-6px); } .tile--swatch:hover i:nth-child(even) { transform: translateY(6px); }
.tile--card { background: var(--ve-gradient); place-items: end start; align-content: end; gap: 8px; position: relative; }
.tile--card .bar { display: block; height: 8px; width: 60%; border-radius: 4px; background: rgba(255, 255, 255, .9); } .tile--card .bar--s { width: 38%; background: rgba(255, 255, 255, .6); }
.tile--card .dot { position: absolute; top: 18px; inset-inline-end: 18px; width: 26px; height: 26px; border-radius: 8px; background: rgba(23, 18, 43, .85); }
.art-it { display: grid; place-items: center; }
.checklist { width: min(100%, 460px); background: var(--surface-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.checklist__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ve-pink); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ve-pink); animation: ping 2s var(--ease-out) infinite; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; font-size: 15px; }
.tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 79, 139, .16); color: var(--accent-text); flex: none; }
.tick .ico { width: 15px; height: 15px; }
.motion .checklist .row { opacity: 0; translate: -12px 0; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out); }
.motion .is-in .checklist .row { opacity: 1; translate: none; }
.motion .is-in .checklist .row:nth-child(3) { transition-delay: .12s; } .motion .is-in .checklist .row:nth-child(4) { transition-delay: .24s; } .motion .is-in .checklist .row:nth-child(5) { transition-delay: .36s; } .motion .is-in .checklist .row:nth-child(6) { transition-delay: .48s; }

/* From blank page to finished site */
.build { position: relative; margin-block: clamp(72px, 10vw, 140px); }
.build__sticky { padding-block: 20px; }
@media (min-width: 900px) {
  .motion .build { height: 320vh; }
  .motion .build__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
}
.build__grid { display: grid; gap: 40px; align-items: center; width: 100%; }
@media (min-width: 900px) { .build__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.build__copy { display: grid; gap: 20px; }
.build__steps { counter-reset: s; display: grid; gap: 2px; margin-top: 10px; }
.build__steps li { counter-increment: s; display: flex; align-items: baseline; gap: 16px; font-family: var(--font-head); font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; text-transform: uppercase; transition: opacity .4s, translate .4s var(--ease-out); }
html[lang="ar"] .build__steps li { font-family: var(--font-ar); text-transform: none; }
.build__steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--label); }
.motion .build__steps li { opacity: .3; }
.motion .build__steps li.is-on { opacity: 1; }
.motion .build__steps li.is-now { translate: 8px 0; }
[dir="rtl"] .motion .build__steps li.is-now { translate: -8px 0; }
.mock { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; background: rgba(10, 6, 26, .6); border: 1px solid var(--line-strong); box-shadow: var(--shadow); margin-inline-end: 6%; }
:root[data-theme="light"] .mock { background: #fff; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__bar span { margin-inline-start: 10px; height: 10px; flex: 1; max-width: 200px; border-radius: 5px; background: var(--line); }
.mock__page { position: relative; padding: 5% 6%; display: grid; gap: 7%; height: calc(100% - 36px); grid-template-rows: auto 1fr auto; }
.mock__nav { display: flex; align-items: center; gap: 10px; }
.mock__hero { display: grid; gap: 10px; align-content: start; width: 55%; }
.mock__visual { position: absolute; inset-inline-end: 8%; top: 22%; width: 28%; aspect-ratio: 1; display: grid; place-items: center; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk { position: relative; display: block; border-radius: 8px; height: 12px; }
.mk::before, .mk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transition: opacity .5s var(--ease-out); opacity: 0; }
.mk::before { border: 1.5px dashed var(--line-strong); }
.mk::after { background: var(--mk-fill, rgba(243, 246, 255, .22)); transition: opacity .5s var(--ease-out), background-color .5s; }
:root[data-theme="light"] .violet .mk::after { background: var(--mk-fill, rgba(23, 18, 43, .14)); }
.mk--logo { width: 70px; } .mk--link { width: 44px; height: 8px; } .mk--btn { width: 70px; height: 22px; margin-inline-start: auto; border-radius: 999px; }
.mk--h { height: 22px; width: 92%; } .mk--short { width: 60%; } .mk--p { height: 9px; width: 80%; } .mk--cta { width: 110px; height: 30px; border-radius: 999px; margin-top: 8px; }
.mk--card { height: auto; aspect-ratio: 4 / 3; border-radius: 12px; }
.mock__orb { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--ve-gradient); opacity: 0; transform: scale(.8); transition: opacity .5s, transform .6s var(--ease-expo); }
.mock__phone { position: absolute; width: 24%; aspect-ratio: 9 / 18; inset-inline-end: -6%; bottom: -10%; border-radius: 22px; background: #0D0920; border: 1px solid rgba(243, 246, 255, .22); padding: 26px 10px 10px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease-expo); }
.mock__phone .mk { width: 100%; } .mock__phone .mk--cta { width: 70%; }
.mock__phone .mk::after { background: rgba(243, 246, 255, .3); }
.mock.is-s1 .mk::before { opacity: 1; }
.mock.is-s2 .mk::before { opacity: .35; }
.mock.is-s2 .mk::after { opacity: 1; }
.mock.is-s3 .mk--h { --mk-fill: rgba(243, 246, 255, .85); }
:root[data-theme="light"] .mock.is-s3 .mk--h { --mk-fill: #17122B; }
.mock.is-s3 .mk--cta, .mock.is-s3 .mk--btn { --mk-fill: var(--ve-pink); }
.mock.is-s3 .mk--card { --mk-fill: rgba(169, 139, 255, .32); }
.mock.is-s3 .mk::before { opacity: 0; }
.mock.is-s3 .mock__orb { opacity: 1; transform: none; }
.mock.is-s4 .mock__orb { animation: orbit 5s ease-in-out infinite alternate; }
.mock.is-s4 .mk--card { animation: float 2.6s ease-in-out infinite alternate; }
.mock.is-s4 .mk--card:nth-child(2) { animation-delay: -.9s; } .mock.is-s4 .mk--card:nth-child(3) { animation-delay: -1.8s; }
.mock.is-s5 .mock__phone { opacity: 1; transform: none; }
.mock.is-s5 .mock__phone .mk--cta { --mk-fill: var(--ve-pink); }
html:not(.motion) .mock .mk::after, html:not(.motion) .mock__orb, html:not(.motion) .mock__phone { opacity: 1; transform: none; }

/* Features */
.feat-head { display: grid; gap: 14px; margin-bottom: 32px; }
.feat-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.feat > .ico { width: 28px; height: 28px; color: var(--label); margin-bottom: 10px; transition: transform .5s var(--ease-out); }
.feat:hover > .ico { transform: translateY(-3px) rotate(-6deg); }
.feat h3 { font-size: 20px; letter-spacing: -.01em; }
.feat p { color: var(--text-2); font-size: 15px; }
.feat__try { justify-self: start; margin-top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-strong); position: relative; }
html[lang="ar"] .feat__try { font-size: 14px; letter-spacing: 0; }
.feat__try:hover { border-color: var(--text-2); }

/* What we don't do */
.not__list { margin: clamp(40px, 6vw, 64px) 0 32px; border-top: 1px solid var(--line-strong); }
.not__list li { display: flex; align-items: center; gap: 20px; padding: clamp(14px, 2vw, 22px) 0; border-bottom: 1px solid var(--line-strong); font-family: var(--font-head); font-size: clamp(22px, 3.2vw, 46px); font-weight: 600; text-transform: uppercase; line-height: 1.05; color: var(--text-2); }
html[lang="ar"] .not__list li { font-family: var(--font-ar); text-transform: none; line-height: 1.4; }
.not__list li::before { content: "×"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-body); font-size: 20px; font-weight: 500; color: var(--accent-text); }

/* CTA band */
.band__inner { display: grid; gap: 20px; justify-items: start; }
.band .h2 { max-width: 16ch; }

/* ---------- Packages ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.prow { position: relative; display: grid; gap: 14px 32px; grid-template-columns: auto 1fr; align-items: start; padding: clamp(28px, 3.6vw, 48px) clamp(0px, 1vw, 16px); border-bottom: 1px solid var(--line-strong); isolation: isolate; scroll-margin-top: 110px; }
.prow::before { content: ""; position: absolute; inset: 0; background: var(--surface); opacity: 0; transition: opacity var(--t-med); z-index: -1; border-radius: 20px; }
.prow:hover::before { opacity: .8; }
.prow__n { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text-dim); padding-top: .9em; min-width: 2.2em; }
.prow__main { display: grid; gap: 14px; }
.prow h3 { font-size: clamp(30px, 4.4vw, 68px); line-height: .98; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.prow h3 .badge { font-size: 11px; letter-spacing: .1em; border-color: var(--accent); color: var(--accent-text); font-family: var(--font-body); line-height: 1.2; }
.prow__main > p { color: var(--text-2); max-width: 52ch; font-size: 18px; }
.prow__inc { display: flex; flex-wrap: wrap; gap: 8px; }
.prow__inc li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
.prow__inc li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ve-pink); }
.prow__cta { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .prow__cta { font-size: 15px; letter-spacing: 0; }
@media (min-width: 900px) { .prow { grid-template-columns: 4em minmax(0, 1fr) auto; } .prow__cta { grid-column: auto; justify-self: end; align-self: center; } }
.prow.is-match::before { opacity: 1; background: linear-gradient(90deg, rgba(255, 79, 139, .18), rgba(169, 139, 255, .06)); }
[dir="rtl"] .prow.is-match::before { background: linear-gradient(-90deg, rgba(255, 79, 139, .18), rgba(169, 139, 255, .06)); }
.prow.is-match .prow__n { color: var(--accent-text); }
.kits__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; margin-top: 32px; }
.kits__also { font-size: 17px; font-weight: 600; }
.terms { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.terms li { display: inline-flex; align-items: center; gap: 8px; }
.terms .ico { width: 16px; height: 16px; color: var(--accent-text); }
.qsteps { display: grid; gap: 16px; }
@media (min-width: 768px) { .qsteps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .qsteps { grid-template-columns: repeat(4, 1fr); } }
.qsteps li { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.qsteps__n { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--accent-text); }
.qsteps p { color: var(--text-2); }

/* Package finder */
.quiz { display: grid; gap: 32px; padding: clamp(26px, 4vw, 56px); border-radius: 32px; background: radial-gradient(70% 60% at 50% 0%, rgba(169, 139, 255, .25), rgba(169, 139, 255, 0) 70%), var(--surface); border: 1px solid var(--line); }
@media (min-width: 960px) { .quiz { grid-template-columns: .75fr 1.25fr; gap: 56px; } }
.quiz__side { display: grid; gap: 16px; align-content: start; }
.quiz__title { font-size: clamp(32px, 3.6vw, 56px); max-width: 14ch; }
.quiz__dots { display: flex; gap: 8px; margin-top: 6px; }
.quiz__dots i { width: 36px; height: 3px; border-radius: 3px; background: var(--line-strong); position: relative; overflow: hidden; }
.quiz__dots i::after { content: ""; position: absolute; inset: 0; background: var(--ve-pink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
[dir="rtl"] .quiz__dots i::after { transform-origin: 100% 50%; }
.quiz__dots i.on::after { transform: none; }
.quiz__main { position: relative; min-height: 320px; }
.quiz__step { display: none; gap: 18px; }
.quiz__step.is-active { display: grid; }
.motion .quiz__step.is-active > * { animation: fadeUp .5s var(--ease-expo) both; }
.motion .quiz__step.is-active > :nth-child(2) { animation-delay: 60ms; } .motion .quiz__step.is-active > :nth-child(3) { animation-delay: 120ms; } .motion .quiz__step.is-active > :nth-child(4) { animation-delay: 180ms; }
.quiz__q { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
html[lang="ar"] .quiz__q { font-size: 16px; }
.quiz__opts { display: grid; border-top: 1px solid var(--line-strong); }
.quiz__opts button { position: relative; display: block; width: 100%; text-align: start; padding: 20px 56px 20px 0; min-height: 64px; border-bottom: 1px solid var(--line-strong); font-family: var(--font-head); font-weight: 500; font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -.015em; line-height: 1.2; transition: color .2s; }
[dir="rtl"] .quiz__opts button { padding: 20px 0 20px 56px; }
html[lang="ar"] .quiz__opts button { font-family: var(--font-ar); line-height: 1.4; }
.quiz__opts button::after { content: ""; position: absolute; inset-inline-end: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .35s var(--ease-out); }
[dir="rtl"] .quiz__opts button::after { transform: scaleX(-1); }
.quiz__opts button:hover { color: var(--accent-text); }
.quiz__opts button:hover::after { transform: translateX(6px); }
[dir="rtl"] .quiz__opts button:hover::after { transform: scaleX(-1) translateX(6px); }
.quiz__kit { font-size: clamp(40px, 5vw, 76px); line-height: .95; }
.quiz__why { color: var(--text-2); max-width: 46ch; font-size: 18px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; gap: 48px; }
.faq__intro { display: grid; gap: 20px; align-content: start; }
@media (min-width: 960px) { .faq__wrap { grid-template-columns: .85fr 1.15fr; gap: 80px; } .faq__intro { position: sticky; top: 110px; } }
.accordion { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; min-height: 72px; font-family: var(--font-head); font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; }
html[lang="ar"] .qa summary { font-family: var(--font-ar); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; transition: transform var(--t-med) var(--ease-out); }
.qa[open] summary .ico { transform: rotate(45deg); color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.qa__a { padding: 0 0 26px; }
.motion .qa[open] .qa__a { animation: fadeUp .45s var(--ease-expo) both; }
.qa__a p { color: var(--text-2); max-width: 60ch; font-size: 17px; }

/* ---------- Studio page ---------- */
.manifesto { margin-top: 24px; font-size: clamp(28px, 4.4vw, 66px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; max-width: 22ch; }
.manifesto strong { font-weight: 700; }
html[lang="ar"] .manifesto { line-height: 1.5; letter-spacing: 0; }
.about__grid { display: grid; gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 768px) { .about__grid { grid-template-columns: repeat(3, 1fr); } }
.soft-card { display: grid; gap: 8px; align-content: start; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.soft-card h3 { font-size: 20px; } .soft-card p { color: var(--text-2); }
.jobs { display: grid; gap: 16px; }
@media (min-width: 960px) { .jobs { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.jobs li { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 26px; background: var(--tile); border: 1px solid var(--line); }
.jobs__n { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text-dim); }
.jobs .h3 { font-size: clamp(24px, 2.2vw, 34px); }
.jobs__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; min-height: 44px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
html[lang="ar"] .jobs__link { font-size: 15px; letter-spacing: 0; }
.dna { display: grid; gap: 16px; }
@media (min-width: 900px) { .dna { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.dna__card { display: grid; gap: 14px; align-content: start; }
.dna__art { aspect-ratio: 4 / 3; border-radius: 24px; background: #0C0A18; border: 1px solid rgba(243, 246, 255, .12); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; margin-bottom: 8px; }
.dna__art--type span { font-family: var(--font-head); font-size: clamp(80px, 9vw, 130px); font-weight: 600; line-height: 1; }
.dna__art--type small { position: absolute; bottom: 16px; inset-inline-start: 18px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #BDB6DD; }
.dna__art--motion { display: flex; align-items: center; justify-content: center; gap: 9%; }
.dna__art--motion svg { width: 15%; animation: pulseSpark 2.4s var(--ease-out) infinite; }
.dna__art--motion svg:nth-child(1) { fill: #FF4F8B; } .dna__art--motion svg:nth-child(2) { fill: #A98BFF; animation-delay: .3s; } .dna__art--motion svg:nth-child(3) { fill: #49B0FF; animation-delay: .6s; }
.dna__art--spark svg { width: 34%; animation: breathe 6s ease-in-out infinite alternate; }
.dna__card p { color: var(--text-2); }
.values { display: grid; gap: 28px; margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { border-top: 1px solid var(--line-strong); padding-top: 20px; display: grid; gap: 8px; }
.value h3 { font-size: 22px; } .value p { color: var(--text-2); font-size: 15px; }
.regions { margin: clamp(40px, 6vw, 64px) 0 28px; border-top: 1px solid var(--line-strong); }
.regions li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding: clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--line-strong); }
.regions__k { font-family: var(--font-head); font-size: clamp(30px, 4.4vw, 66px); font-weight: 600; text-transform: uppercase; line-height: 1; }
html[lang="ar"] .regions__k { font-family: var(--font-ar); text-transform: none; line-height: 1.3; }
.regions__v { color: var(--text-2); }

/* ---------- Contact page ---------- */
.contact-page { padding-top: clamp(56px, 7vw, 96px); }
.contact__wrap { display: grid; gap: 20px; }
@media (min-width: 1040px) { .contact__wrap { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 48px; } }
.brief { display: grid; gap: 20px; align-content: start; padding: clamp(24px, 3.5vw, 48px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.brief__title { font-size: clamp(30px, 3vw, 44px); margin-top: -8px; }
.brief__need { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.brief__need legend, .field label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding: 0; margin-bottom: 4px; }
html[lang="ar"] .brief__need legend, html[lang="ar"] .field label { font-size: 14px; letter-spacing: 0; }
.field__opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-dim); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.pills label:hover span { border-color: var(--text-2); }
.pills input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pills input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: 14px; padding: 13px 16px; min-height: 52px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field__err { display: none; color: #FF8FB3; font-size: 13.5px; font-weight: 600; }
:root[data-theme="light"] .field__err { color: #C8235F; }
.field.is-invalid input { border-color: #FF8FB3; }
.field.is-invalid .field__err { display: block; }
.brief__note { font-size: 13px; color: var(--text-2); text-align: center; margin-top: -6px; }
.brief__ok { font-size: 14px; font-weight: 600; color: var(--accent-text); text-align: center; }
.brief__ok:empty { display: none; }
.brief__alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.brief__call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.brief__call .ico { color: var(--accent-text); }
.direct { display: grid; gap: 22px; align-content: start; }
.direct__where { display: grid; gap: 10px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.soon { display: grid; place-items: center; min-height: 60vh; padding: 96px var(--gutter); background: radial-gradient(50% 60% at 50% 50%, rgba(108, 75, 240, .45), rgba(108, 75, 240, 0) 75%), #08060F; color: #F3F6FF; text-align: center; overflow: hidden; }
.soon__text { font-size: clamp(56px, 12vw, 200px); line-height: .9; }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(64px, 8vw, 96px); background: #08060F; color: var(--text); border-top: 1px solid rgba(243, 246, 255, .08); }
.footer__inner { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer__tag { font-family: var(--font-head); font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.05; text-transform: uppercase; max-width: 14ch; }
html[lang="ar"] .footer__tag { font-family: var(--font-ar); text-transform: none; line-height: 1.4; }
.footer__col { display: grid; gap: 2px; justify-items: start; align-content: start; }
.footer__col .label { margin-bottom: 10px; }
.footer__col a, .footer__col span { padding: 7px 0; color: var(--text-2); font-weight: 600; }
.footer__col a:hover { color: var(--text); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.footer__logo { display: block; width: 100%; height: auto; aspect-ratio: 555.6 / 118; color: #D9D3F5; margin-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(16px, 2vw, 28px); }

/* ---------- Scroll reveal ---------- */
.motion [data-reveal] { opacity: 0; translate: 0 32px; transition: opacity .9s var(--ease-expo), translate .9s var(--ease-expo), transform var(--t-med) var(--ease-out); transition-delay: var(--d, 0s), var(--d, 0s), 0s; }
.motion [data-reveal].is-in { opacity: 1; translate: none; }
.pb, .so, .soft-card, .feat, .jobs li, .qsteps li { transition: transform var(--t-med) var(--ease-out); }

/* ---------- Keyframes (transform / opacity only) ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes twinkle { from { opacity: .15; } to { opacity: 1; } }
@keyframes breathe { from { transform: rotate(-4deg) scale(.98); } to { transform: rotate(8deg) scale(1.04); } }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes orbit { from { transform: translate(-8%, 4%) rotate(0); } to { transform: translate(6%, -6%) rotate(40deg); } }
@keyframes hop { 0%, 20% { transform: translate(0, 0); } 30%, 45% { transform: translate(36px, 0); } 55%, 70% { transform: translate(36px, 36px); } 80%, 100% { transform: translate(0, 0); } }
@keyframes floor { from { transform: rotateX(74deg) translateY(-64px); } to { transform: rotateX(74deg) translateY(0); } }
@keyframes starBreathe { from { transform: scale(.97) rotate(-3deg); } to { transform: scale(1.03) rotate(4deg); } }
@keyframes starSpin { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(200deg) scale(1.12); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes pulseSpark { 0%, 100% { transform: scale(.55) rotate(0); opacity: .35; } 35% { transform: scale(1.1) rotate(45deg); opacity: 1; } 70% { transform: scale(.8) rotate(90deg); opacity: .6; } }
@keyframes bars { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes wordUp { from { transform: translateY(115%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sparkIn { from { opacity: 0; scale: .3; rotate: -60deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loaderOut { to { transform: translateY(-100%); } }
@keyframes loaderSkip { to { opacity: 0; } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }

/* Page-to-page transitions (browsers with cross-document View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .25s ease-in both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease-expo) both; }

/* ---------- Reduced motion: static and fully readable ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .loader { display: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; }
