/* =============================================================
   Q MADAR v2 — cinematic homepage
   Palette: Qatari burgundy / rose / pearl on charcoal (dark) and porcelain (light)
   ============================================================= */
:root {
  --burg: #650d28; --burg-2: #8e1238; --rose: #c33465; --rose-2: #ff7aa6;
  --bg: #08090d; --bg-2: #0d0e14; --surface: rgba(20, 20, 28, .55);
  --ink: #f7f7f9; --ink-2: rgba(247, 247, 249, .86); --ink-3: rgba(247, 247, 249, .66);
  --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .18);
  --glass: rgba(255, 255, 255, .06); --glass-edge: rgba(255, 255, 255, .14);
  --pearl: linear-gradient(115deg, #f7f1f3, #d9c3cb 22%, #ffffff 40%, #c9a7b4 62%, #f3e9ec);
  --font-d: "Sora", "Noto Kufi Arabic", system-ui, sans-serif;
  --font-b: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-s: "Instrument Serif", "Noto Kufi Arabic", serif;
  --wrap: 1320px; --gut: clamp(16px, 4vw, 48px); --sec: clamp(96px, 12vw, 180px);
  --r: 28px; --r-s: 14px; --ease: cubic-bezier(.16, 1, .3, 1); --nav-h: 84px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f2f3; --bg-2: #efe8ea; --surface: rgba(255, 255, 255, .6);
  --ink: #17080e; --ink-2: rgba(23, 8, 14, .84); --ink-3: rgba(23, 8, 14, .64);
  --line: rgba(23, 8, 14, .1); --line-2: rgba(23, 8, 14, .18);
  --glass: rgba(255, 255, 255, .55); --glass-edge: rgba(255, 255, 255, .8);
  color-scheme: light;
}
:root[dir="rtl"] { --font-d: "Noto Kufi Arabic", "Sora", system-ui, sans-serif; --font-b: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif; --font-s: "Noto Kufi Arabic", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font-b); overflow-x: clip; -webkit-font-smoothing: antialiased; transition: background-color .6s, color .6s; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--rose); color: #fff; }
.skip { position: fixed; top: -60px; inset-inline-start: 16px; z-index: 999; background: var(--rose); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--rose-2); outline-offset: 4px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }

/* ---------- type ---------- */
.h2 { font: 600 clamp(2.3rem, 5.4vw, 5rem)/1.04 var(--font-d); letter-spacing: -.035em; margin: 18px 0 0; }
[dir="rtl"] .h2 { letter-spacing: 0; line-height: 1.3; }
.h2 em, .hero__title em, .contact__title em { font-family: var(--font-s); font-style: italic; font-weight: 400; letter-spacing: -.01em; background: var(--pearl); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
[dir="rtl"] .h2 em, [dir="rtl"] .hero__title em, [dir="rtl"] .contact__title em { font-style: normal; font-weight: 700; }
:root[data-theme="light"] .h2 em, :root[data-theme="light"] .contact__title em:not(.contact *) { background: linear-gradient(115deg, var(--burg), var(--rose) 60%, var(--burg-2)); -webkit-background-clip: text; background-clip: text; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-2); }
:root[data-theme="light"] .kicker { color: var(--burg-2); }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }
.kicker i { width: 36px; height: 1px; background: currentColor; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn { --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h); padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--font-b); white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
.btn--solid { background: linear-gradient(135deg, var(--burg-2), var(--burg)); color: #fff; box-shadow: 0 10px 30px -10px rgba(195, 52, 101, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--solid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--rose), var(--burg-2)); opacity: 0; transition: opacity .5s; }
.btn--solid:hover::before { opacity: 1; }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s, transform .4s var(--ease); }
.icon-btn:hover { background: rgba(195, 52, 101, .18); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.glass { background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border-radius: var(--r); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
[dir="rtl"] .link svg { transform: scaleX(-1); }
.link:hover { color: var(--ink); }

/* ---------- loader (original Q Madar veil) ---------- */
.veil { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 0; pointer-events: none; animation: veil-out .28s ease .68s forwards; }
.veil__panel { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 45%, #2a0d1b 0%, #0d0b12 55%, #07070b 100%); }
.veil__panel::after { content: ""; position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e8c79c' stroke-width='.8'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3C/g%3E%3C/svg%3E"); }
.veil__mark { position: relative; width: 108px; height: 108px; display: grid; place-items: center; margin: 0 auto 26px; }
.veil__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.veil__ring circle { fill: none; stroke: #e8c79c; stroke-width: 1; stroke-dasharray: 352; stroke-dashoffset: 352; animation: veil-ring .65s ease-out forwards; }
.veil__logo { position: relative; width: 64px; height: 64px; animation: veil-in .4s var(--ease) both; }
.veil__word { position: relative; display: flex; justify-content: center; overflow: hidden; color: #f7f1ec; font: 600 15px var(--font-b); letter-spacing: .55em; padding-inline-start: .55em; direction: ltr; }
.veil__word span { display: inline-block; animation: veil-in .38s var(--ease) .12s both; }
.veil__line { position: relative; width: 140px; height: 1px; margin: 18px auto 14px; background: rgba(232,199,156,.15); overflow: hidden; }
.veil__line i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #e8c79c, transparent); animation: veil-line .5s var(--ease) .12s both; }
.veil__sub { position: relative; text-align: center; color: rgba(247,241,236,.55); font-size: 10px; letter-spacing: .32em; animation: veil-in .35s var(--ease) .24s both; }
[lang="ar"] .veil__sub { letter-spacing: 0; font-size: 12px; }

@keyframes veil-out { to { opacity: 0; visibility: hidden; } }
@keyframes veil-in { from { opacity: 0; translate: 0 8px; } }
@keyframes veil-ring { to { stroke-dashoffset: 0; } }
@keyframes veil-line { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: no-preference) {
  .hero__inner, .phero__inner { animation: opening-content .48s var(--ease) .56s backwards; }
}
@keyframes opening-content { from { opacity: .65; translate: 0 14px; } }
@media (max-width: 1023px) {
  .veil { animation-delay: .52s; animation-duration: .22s; }
  .hero__inner, .phero__inner { animation-delay: .42s; }
}
@media (prefers-reduced-motion: reduce) {
  .veil { display: none; }
}

/* ---------- progress / cursor ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--burg-2), var(--rose-2)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .progress i { transform-origin: 100% 50%; }
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255, 122, 166, .7); mix-blend-mode: difference; opacity: 0; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s, background .3s; }
.cursor i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fff; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255, 122, 166, .2); }
@media (hover: hover) and (pointer: fine) { .cursor.is-on { opacity: 1; } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; inset-inline: var(--gut); z-index: 100; height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 10px 0 16px; border-radius: 999px; border: 1px solid transparent; transition: background .5s, border-color .5s, transform .6s var(--ease), box-shadow .5s; }
[dir="rtl"] .nav { padding: 0 16px 0 10px; }
.nav.is-solid { background: rgba(10, 10, 15, .62); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8); }
:root[data-theme="light"] .nav.is-solid { background: rgba(255, 255, 255, .7); border-color: rgba(23, 8, 14, .08); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: #fff; }
.nav.is-solid .nav__brand, :root[data-theme="light"] .nav.is-solid .nav__brand { color: var(--ink); }
.nav__brand img { width: 38px; height: 38px; object-fit: contain; }
.nav__name { display: grid; font: 700 15px/1.1 var(--font-d); letter-spacing: .08em; direction: ltr; }
.nav__name small { font: 500 10px/1.4 var(--font-b); letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
[dir="rtl"] .nav__name small { letter-spacing: 0; font-size: 11px; text-transform: none; direction: rtl; text-align: end; }
.nav__links { display: flex; gap: 2px; margin-inline: auto; padding: 5px; border-radius: 999px; }
.nav__links a { position: relative; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .78); transition: color .3s, background .3s; }
.nav.is-solid .nav__links a { color: var(--ink-2); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav.is-solid .nav__links a:hover, .nav.is-solid .nav__links a.is-active { color: var(--ink); background: rgba(195, 52, 101, .14); }
.nav__tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav__links + .nav__tools { margin-inline-start: 0; }
.nav .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.nav.is-solid .icon-btn { color: var(--ink); border-color: var(--line-2); }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
.lang { position: relative; display: flex; padding: 4px; gap: 2px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); direction: ltr; }
.nav.is-solid .lang { border-color: var(--line-2); }
.lang__btn { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 999px; font: 600 12px/1 var(--font-b); color: rgba(255, 255, 255, .7); transition: color .3s; }
.nav.is-solid .lang__btn { color: var(--ink-3); }
.lang__btn svg { width: 20px; height: 13px; border-radius: 3px; }
.lang__btn.is-on { color: #fff !important; }
.lang__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: linear-gradient(135deg, var(--burg-2), var(--burg)); box-shadow: 0 6px 16px -6px rgba(195, 52, 101, .8); transition: transform .6s var(--ease), width .6s var(--ease); }
.nav__burger { display: none; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.menu[hidden] { display: none; }
.menu { position: fixed; inset: 0; z-index: 90; display: grid; align-content: center; padding: 110px var(--gut) 40px; }
.menu__bg { position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, #3a0a1f, #08090d 65%); clip-path: circle(0% at calc(100% - 50px) 46px); }
[dir="rtl"] .menu__bg { clip-path: circle(0% at 50px 46px); }
.menu__links { position: relative; display: grid; gap: 4px; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; font: 600 clamp(2rem, 9vw, 3.4rem)/1.15 var(--font-d); color: #fff; overflow: hidden; }
.menu__links a small { font: 500 12px var(--font-b); color: var(--rose-2); }
.menu__links a span { display: inline-block; }
.menu__foot { position: relative; display: flex; justify-content: space-between; margin-top: 40px; color: rgba(255, 255, 255, .6); font-size: 14px; }

/* ---------- video + grade ---------- */
.vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b0b10 center/cover no-repeat; }
.grade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(101, 13, 40, .28), rgba(20, 4, 12, .38)); mix-blend-mode: multiply; }
.grade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 30%, rgba(195, 52, 101, .18), transparent 60%); mix-blend-mode: screen; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #08090d; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 8s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 13, .82) 0%, rgba(8, 9, 13, .35) 55%, rgba(8, 9, 13, .2)), linear-gradient(0deg, rgba(8, 9, 13, .9) 0%, transparent 35%), linear-gradient(180deg, rgba(8, 9, 13, .6), transparent 22%); }
[dir="rtl"] .hero__shade { background: linear-gradient(270deg, rgba(8, 9, 13, .82) 0%, rgba(8, 9, 13, .35) 55%, rgba(8, 9, 13, .2)), linear-gradient(0deg, rgba(8, 9, 13, .9) 0%, transparent 35%), linear-gradient(180deg, rgba(8, 9, 13, .6), transparent 22%); }
.hero__orbits { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; mix-blend-mode: screen; }
.hero__inner { position: relative; height: 100%; width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 40px) 0 34px; }
.hero__card { width: min(860px, 100%); padding: clamp(24px, 3.4vw, 44px); margin-bottom: clamp(28px, 6vh, 64px); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12); }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 500; }
[dir="rtl"] .chip { padding: 7px 8px 7px 14px; }
.chip img { width: 22px; height: 22px; object-fit: contain; }
.hero__count { font: 500 13px var(--font-d); color: rgba(255, 255, 255, .6); direction: ltr; }
.hero__count b { color: #fff; }
.hero__title { font: 700 clamp(2.5rem, 5.4vw, 5.4rem)/1 var(--font-d); letter-spacing: -.045em; margin: 0; }
[dir="rtl"] .hero__title { letter-spacing: 0; line-height: 1.3; font-size: clamp(2.2rem, 4.8vw, 4.6rem); }
.hero__lead { max-width: 54ch; margin: 22px 0 0; font-size: clamp(15px, 1.25vw, 18px); color: rgba(255, 255, 255, .76); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__tabs { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: clamp(12px, 2.4vw, 30px); align-items: end; }
.hero__tab { display: grid; gap: 12px; text-align: start; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .5); transition: color .4s; }
.hero__tab.is-active, .hero__tab:hover { color: #fff; }
.hero__tab i { display: block; height: 2px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.hero__tab i b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--rose-2), #fff); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .hero__tab i b { transform-origin: 100% 50%; }
.hero__pause { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); }
.hero__pause svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.hero__pause .pl { display: none; fill: #fff; stroke: none; }
.hero__pause.is-paused .p { display: none; }
.hero__pause.is-paused .pl { display: block; }
.hero__scroll { position: absolute; right: var(--gut); bottom: 120px; display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); writing-mode: vertical-rl; }
[dir="rtl"] .hero__scroll { letter-spacing: 0; right: auto; left: var(--gut); }
.hero__scroll i { width: 1px; height: 60px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ticker ---------- */
.ticker { position: relative; padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.ticker__row { display: flex; white-space: nowrap; direction: ltr; }
.ticker__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-inline-end: clamp(24px, 3vw, 48px); flex-shrink: 0; font: 600 clamp(2.2rem, 6vw, 5.6rem)/1.1 var(--font-d); letter-spacing: -.03em; will-change: transform; }
[dir="rtl"] .ticker__track { letter-spacing: 0; }
.ticker__track i { font-style: normal; color: var(--rose); font-size: .5em; }
.ticker__row--ghost .ticker__track { color: transparent; -webkit-text-stroke: 1px var(--line-2); font-size: clamp(1.8rem, 4.4vw, 4rem); }
.ticker__row--ghost .ticker__track i { -webkit-text-stroke: 0; color: var(--rose-2); }

/* ---------- about ---------- */
.about__head { max-width: 980px; }
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: clamp(28px, 5vw, 80px); row-gap: clamp(16px, 2.6vw, 40px); margin-top: clamp(34px, 5vw, 72px); align-items: start; }
.about__big { grid-column: 1 / -1; margin: 0; font: 500 clamp(1.5rem, 3.1vw, 2.9rem)/1.3 var(--font-d); letter-spacing: -.02em; max-width: 30ch; }
[dir="rtl"] .about__big { letter-spacing: 0; line-height: 1.6; max-width: 34ch; }
.about__film { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #111; }
.about__film figcaption { position: absolute; inset-inline-start: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #fff; background: rgba(0, 0, 0, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose-2); box-shadow: 0 0 0 4px rgba(255, 122, 166, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 122, 166, 0); } }
.about__copy { display: grid; gap: 22px; align-self: center; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.about__copy p { margin: 0; }
.about__grid > .about__film { grid-column: 2; grid-row: 2 / span 2; }
.about__grid > .about__copy { grid-column: 1; grid-row: 2; }
@media (min-width: 1024px) {
  .about__big { grid-column: 1; grid-row: 1; }
  .about__grid > .about__film { grid-row: 1 / span 2; }
}
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 7vw, 100px); }
.vm__card { position: relative; padding: clamp(26px, 3vw, 42px); overflow: hidden; }
.vm__card::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(600px circle at var(--mx, 30%) var(--my, 0%), rgba(195, 52, 101, .18), transparent 40%); pointer-events: none; }
.vm__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--burg-2), var(--burg)); }
.vm__icon svg { width: 24px; fill: none; stroke: #fff; stroke-width: 1.7; }
.vm__card h3 { font: 600 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--font-d); margin: 22px 0 10px; }
.vm__card p { margin: 0; color: var(--ink-2); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; display: grid; gap: 6px; border-inline-end: 1px solid var(--line); padding-inline: 0 24px; }
.stat + .stat { padding-inline-start: 24px; }
.stat:last-child { border: 0; }
.stat b { font: 600 clamp(3rem, 6vw, 5.4rem)/1 var(--font-d); letter-spacing: -.04em; background: linear-gradient(180deg, var(--ink), var(--ink-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b.stat__word { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.stat span { color: var(--ink-3); font-size: 14px; }

/* ---------- services (horizontal) ---------- */
.services { position: relative; background: #07070b; color: #fff; }
:root[data-theme="light"] .services { background: #0d0a0d; }
.services__pin { position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.services__bar { display: flex; align-items: center; gap: 24px; padding-top: calc(var(--nav-h) + 22px); flex-shrink: 0; }
.services__bar .kicker { color: var(--rose-2); }
.services__progress { flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.services__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--rose-2), #fff); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .services__progress i { transform-origin: 100% 50%; }
.services__num { font: 500 13px var(--font-d); color: rgba(255, 255, 255, .5); direction: ltr; }
.services__num b { color: #fff; }
.services__track { flex: 1; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: 26px var(--gut) 40px; will-change: transform; }
.svc { position: relative; flex: 0 0 auto; height: min(68vh, 640px); width: min(78vw, 980px); border-radius: var(--r); overflow: hidden; isolation: isolate; }
.svc--intro { width: min(40vw, 560px); display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-inline-end: 40px; }
.svc--intro .h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
.svc--intro p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 18px; max-width: 42ch; }
.svc__hint { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.svc__hint i { width: 48px; height: 1px; background: rgba(255, 255, 255, .4); position: relative; overflow: hidden; }
.svc__hint i::after { content: ""; position: absolute; inset: 0; background: var(--rose-2); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.svc__media { position: absolute; inset: 0; z-index: -1; }
.svc__media .vid { transform: scale(1.15); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 11, .92) 0%, rgba(7, 7, 11, .6) 45%, rgba(7, 7, 11, .2) 100%), linear-gradient(0deg, rgba(7, 7, 11, .7), transparent 40%); }
[dir="rtl"] .svc__media::after { background: linear-gradient(270deg, rgba(7, 7, 11, .92) 0%, rgba(7, 7, 11, .6) 45%, rgba(7, 7, 11, .2) 100%), linear-gradient(0deg, rgba(7, 7, 11, .7), transparent 40%); }
.svc__body { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(24px, 3.4vw, 48px); border: 1px solid rgba(255, 255, 255, .12); border-radius: inherit; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__n { font: 700 clamp(4rem, 9vw, 8.5rem)/.8 var(--font-d); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); letter-spacing: -.05em; direction: ltr; }
.svc__tag { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] .svc__tag { letter-spacing: 0; }
.svc__main { align-self: end; max-width: 560px; }
.svc__main h3 { margin: 0; font: 600 clamp(1.8rem, 3.2vw, 3rem)/1.08 var(--font-d); letter-spacing: -.03em; }
[dir="rtl"] .svc__main h3 { letter-spacing: 0; line-height: 1.35; }
.svc__main .svc__lead { margin: 10px 0 0; font: 400 italic clamp(1.2rem, 1.8vw, 1.6rem)/1.3 var(--font-s); color: var(--rose-2); }
[dir="rtl"] .svc__main .svc__lead { font-style: normal; font-weight: 500; }
.svc__main p { margin: 16px 0 0; color: rgba(255, 255, 255, .72); font-size: 16px; max-width: 52ch; }
.svc__caps { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.svc__caps li { padding: 8px 14px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.svc__cta { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: #fff; }
.svc__cta svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
[dir="rtl"] .svc__cta svg { transform: scaleX(-1); }
.svc__cta:hover svg { transform: translateX(5px); }

/* ---------- approach ---------- */
.approach { overflow: hidden; }
.approach__pin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; min-height: 100svh; }
.approach__lead { color: var(--ink-2); font-size: 18px; max-width: 48ch; margin: 22px 0 0; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step b { font: 600 14px var(--font-d); color: var(--rose); padding-top: 4px; direction: ltr; }
.step h3 { margin: 0; font: 600 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--font-d); }
.step p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.step.is-active p { max-height: 80px; }
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 580px); justify-self: center; }
.orbit__svg { width: 100%; height: 100%; overflow: visible; }
.orbit__track { fill: none; stroke: var(--line-2); stroke-width: 1; }
.orbit__line { fill: none; stroke: url(#og); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 300px 300px; filter: drop-shadow(0 0 8px rgba(255, 122, 166, .6)); }
.orbit__thin { fill: none; stroke: var(--line); stroke-dasharray: 3 6; }
.orbit__glow { opacity: .55; }
.onode circle { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.onode text { fill: var(--ink-3); font: 600 13px var(--font-d); text-anchor: middle; transition: fill .5s; }
.onode.is-active circle { fill: var(--burg-2); stroke: var(--rose-2); }
.onode.is-active text { fill: #fff; }
.orbit__sat circle { fill: #fff; filter: drop-shadow(0 0 10px var(--rose-2)); }
.orbit__core { position: absolute; inset: 31%; display: grid; place-items: center; align-content: center; gap: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(195, 52, 101, .22), transparent 70%); text-align: center; }
.orbit__core img { width: 38%; height: auto; }
.orbit__core span { font: 600 clamp(1.1rem, 2vw, 1.6rem) var(--font-d); }

/* ---------- why ---------- */
.why__title { font: 700 clamp(2.6rem, 8vw, 8rem)/.98 var(--font-d); letter-spacing: -.05em; margin: 20px 0 0; max-width: 14ch; }
[dir="rtl"] .why__title { letter-spacing: 0; line-height: 1.3; }
.why__title .w { color: var(--line-2); transition: color .3s; }
.why__title .w.on { color: var(--ink); }
.why__title .w.on:nth-child(n+3) { background: var(--pearl); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .why__title .w.on:nth-child(n+3) { background: linear-gradient(115deg, var(--burg), var(--rose)); -webkit-background-clip: text; background-clip: text; }
.why__lead { margin: 26px 0 0; color: var(--ink-2); font-size: 19px; max-width: 46ch; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); perspective: 1200px; }
.wcard { position: relative; padding: 30px 26px 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: border-color .4s; min-height: 330px; display: flex; flex-direction: column; }
.wcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(195, 52, 101, .22), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.wcard:hover { border-color: rgba(195, 52, 101, .5); }
.wcard:hover::before { opacity: 1; }
.wcard__n { font: 600 13px var(--font-d); color: var(--ink-3); direction: ltr; }
.wcard svg { width: 40px; height: 40px; margin: 34px 0 auto; fill: none; stroke: var(--rose); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wcard h3 { margin: 40px 0 10px; font: 600 1.35rem/1.25 var(--font-d); }
.wcard p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- clients ---------- */
.clients { padding-bottom: clamp(60px, 8vw, 120px); }
.clients__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.clients__rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); direction: ltr; }
.clients__track { display: flex; width: max-content; gap: 14px; animation: rail 40s linear infinite; }
.clients__rail:hover .clients__track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }
.client { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.client__logo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; flex-shrink: 0; font: 700 18px var(--font-d); color: var(--burg); }
.client__logo img { width: 100%; height: 100%; object-fit: cover; }
.client b { display: block; font: 600 15px var(--font-d); white-space: nowrap; }
.client small { color: var(--ink-3); font-size: 12px; white-space: nowrap; }

/* ---------- products ---------- */
.products { background: radial-gradient(80% 60% at 80% 50%, rgba(101, 13, 40, .45), transparent 70%); }
:root[data-theme="light"] .products { background: radial-gradient(80% 60% at 80% 50%, rgba(195, 52, 101, .14), transparent 70%); }
.products__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.products__text > p { color: var(--ink-2); font-size: 18px; max-width: 50ch; margin: 22px 0 0; }
.qget { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 26px; margin-top: 36px; }
.qget__logo { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; background: #fff; }
.qget h3 { margin: 0 0 10px; font: 600 1.3rem/1.3 var(--font-d); }
.qget p { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.phone-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone-ring { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--line-2); box-shadow: inset 0 0 120px rgba(195, 52, 101, .25); }
.phone-ring::before, .phone-ring::after { content: ""; position: absolute; inset: -60px; border-radius: 50%; border: 1px dashed var(--line); }
.phone-ring::after { inset: 60px; border-style: solid; }
.phone { position: relative; width: 290px; aspect-ratio: 650 / 1413; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2a2a33, #0c0c10); box-shadow: 0 60px 120px -40px rgba(101, 13, 40, .9), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 2px rgba(255, 255, 255, .06); transform-style: preserve-3d; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #000; z-index: 2; }
.float-chip { position: absolute; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); white-space: nowrap; }
.float-chip::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 8px; border-radius: 50%; background: var(--rose-2); vertical-align: middle; }
.float-chip[style*="--a:0"] { top: 14%; inset-inline-start: 2%; }
.float-chip[style*="--a:1"] { top: 30%; inset-inline-end: 0; }
.float-chip[style*="--a:2"] { bottom: 26%; inset-inline-start: 0; }
.float-chip[style*="--a:3"] { bottom: 10%; inset-inline-end: 6%; }

/* ---------- contact ---------- */
.contact { position: relative; padding-block: var(--sec); color: #fff; overflow: hidden; isolation: isolate; }
.contact__media { position: absolute; inset: 0; z-index: -1; background: #08090d; }
.contact__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 13, .9), rgba(8, 9, 13, .55) 60%, rgba(8, 9, 13, .7)), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, #08090d); }
[dir="rtl"] .contact__shade { background: linear-gradient(270deg, rgba(8, 9, 13, .9), rgba(8, 9, 13, .55) 60%, rgba(8, 9, 13, .7)), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, #08090d); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact .kicker { color: var(--rose-2); }
.contact__title { font: 700 clamp(3rem, 8vw, 7.6rem)/.95 var(--font-d); letter-spacing: -.05em; margin: 20px 0 0; }
[dir="rtl"] .contact__title { letter-spacing: 0; line-height: 1.25; }
.contact__lead { color: rgba(255, 255, 255, .74); font-size: 18px; max-width: 52ch; margin: 26px 0 0; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact__info { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 30px; }
.contact__info li { display: grid; gap: 4px; }
.contact__info small { color: rgba(255, 255, 255, .5); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
[dir="rtl"] .contact__info small { letter-spacing: 0; }
.contact__info a, .contact__info span { font-weight: 600; }
.form { padding: clamp(24px, 3vw, 38px); display: grid; gap: 14px; background: rgba(12, 12, 18, .55); border-color: rgba(255, 255, 255, .14); }
.form h3 { margin: 0 0 6px; font: 600 1.5rem var(--font-d); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; height: 56px; padding: 22px 16px 8px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #fff; font: 500 15px var(--font-b); outline: none; transition: border-color .3s, background .3s; }
.field textarea { height: auto; min-height: 120px; resize: vertical; padding-top: 26px; }
.field span { position: absolute; inset-inline-start: 16px; top: 18px; font-size: 14px; color: rgba(255, 255, 255, .55); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: 0 0; }
[dir="rtl"] .field span { transform-origin: 100% 0; }
.field input:focus, .field textarea:focus { border-color: var(--rose-2); background: rgba(255, 255, 255, .08); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-11px) scale(.78); color: var(--rose-2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b81; }
.pills { border: 0; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { width: 100%; margin-bottom: 10px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: block; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 500; transition: background .3s, border-color .3s; }
.pills input:checked + span { background: linear-gradient(135deg, var(--burg-2), var(--burg)); border-color: transparent; }
.pills input:focus-visible + span { outline: 2px solid var(--rose-2); outline-offset: 3px; }
.form__status { margin: 0; min-height: 1.4em; font-size: 14px; color: rgba(255, 255, 255, .7); }
.form__status.is-success { color: #7ee2a8; }
.form__status.is-error { color: #ff8a9a; }

/* ---------- footer ---------- */
.footer { background: #08090d; color: #fff; padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-end; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__top > p { max-width: 42ch; margin: 0; color: rgba(255, 255, 255, .6); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 56px; height: 56px; object-fit: contain; }
.footer__brand b { display: block; font: 700 20px var(--font-d); letter-spacing: .1em; direction: ltr; }
.footer__brand span { color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 44px 0; }
.footer h4 { margin: 0 0 16px; font: 600 13px var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-2); }
[dir="rtl"] .footer h4 { letter-spacing: 0; font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span { color: rgba(255, 255, 255, .72); font-size: 15px; transition: color .3s; }
.footer ul a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.social__item { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); transition: background .3s, transform .4s var(--ease); }
.social__item:hover { background: var(--burg-2); transform: translateY(-3px); }
.social__item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social__ico { display: grid; place-items: center; }
.social__tip { display: none; }
.footer__giant { padding: 10px 0 30px; font: 700 clamp(2rem, 6.6vw, 7rem)/1 var(--font-d); letter-spacing: -.05em; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .02)); -webkit-background-clip: text; background-clip: text; color: transparent; overflow: hidden; }
[dir="rtl"] .footer__giant { letter-spacing: 0; line-height: 1.4; }
.footer__giant span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- Q assistant ---------- */
.qbtn { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 7px; border-radius: 999px; background: linear-gradient(135deg, var(--burg-2), var(--burg)); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 18px 40px -12px rgba(195, 52, 101, .7); transition: transform .5s var(--ease); }
[dir="rtl"] .qbtn { padding: 0 7px 0 20px; }
.qbtn:hover { transform: translateY(-3px); }
.qbtn img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.qchat { position: fixed; inset-inline-end: 20px; bottom: 86px; z-index: 81; width: min(380px, calc(100vw - 32px)); height: min(520px, 70vh); display: flex; flex-direction: column; overflow: hidden; background: rgba(14, 12, 18, .82); color: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transform-origin: bottom right; }
.qchat[hidden] { display: none; }
.qchat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.qchat__head img { border-radius: 50%; background: #fff; padding: 3px; }
.qchat__head div { flex: 1; display: grid; }
.qchat__head small { color: rgba(255, 255, 255, .55); font-size: 12px; }
.qchat__head .icon-btn { width: 34px; height: 34px; color: #fff; border-color: rgba(255, 255, 255, .2); font-size: 13px; }
.qchat__msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.msg--q { align-self: flex-start; background: rgba(255, 255, 255, .08); border-end-start-radius: 6px; }
.msg--me { align-self: flex-end; background: linear-gradient(135deg, var(--burg-2), var(--burg)); border-end-end-radius: 6px; }
.msg.is-thinking { display: flex; gap: 5px; }
.msg.is-thinking i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: blink 1.2s infinite; }
.msg.is-thinking i:nth-child(2) { animation-delay: .15s; }
.msg.is-thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.qchat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qchat__chips button { padding: 8px 12px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(255, 255, 255, .2); }
.qchat__chips button:hover { background: rgba(195, 52, 101, .3); }
.qchat__wa { align-self: flex-start; padding: 9px 14px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 600; font-size: 13px; }
.qchat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.qchat__form input { flex: 1; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: 500 14px var(--font-b); outline: none; }
.qchat__form input:focus { border-color: var(--rose-2); }
.qchat__form button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--burg-2); }
.qchat__form svg { width: 18px; fill: none; stroke: #fff; stroke-width: 2; }
[dir="rtl"] .qchat__form svg { transform: scaleX(-1); }

/* ---------- reveal defaults (JS adds motion; no-JS stays visible) ---------- */

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .why__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .services__pin { height: auto; overflow: visible; }
  .services__bar { position: sticky; top: 0; z-index: 3; padding: calc(var(--nav-h) + 10px) var(--gut) 14px; width: 100%; background: linear-gradient(#07070b 70%, transparent); }
  .services__track { flex-direction: column; align-items: stretch; padding: 10px var(--gut) 80px; gap: 0; }
  .svc { width: 100%; height: auto; min-height: 560px; position: sticky; top: calc(var(--nav-h) + 60px); margin-bottom: 24px; }
  .svc--intro { position: relative; top: auto; min-height: 0; padding: 20px 0 40px; width: 100%; }
  .svc__media::after { background: linear-gradient(0deg, rgba(7, 7, 11, .95) 10%, rgba(7, 7, 11, .55) 60%, rgba(7, 7, 11, .3)); }
  [dir="rtl"] .svc__media::after { background: linear-gradient(0deg, rgba(7, 7, 11, .95) 10%, rgba(7, 7, 11, .55) 60%, rgba(7, 7, 11, .3)); }
  .approach__pin { grid-template-columns: 1fr; min-height: 0; }
  .orbit { width: min(100%, 440px); order: -1; }
  .step p { max-height: none; }
  .step { opacity: 1; }
  .products__grid, .contact__grid { grid-template-columns: 1fr; }
  .phone-stage { min-height: 560px; }
}
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__grid > .about__film, .about__grid > .about__copy { grid-column: 1; grid-row: auto; }
  .about__film { aspect-ratio: 16 / 11; }
  .vm { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 24px 0 !important; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-inline-end: 0; padding-inline-start: 16px !important; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .nav { top: 10px; height: 58px; inset-inline: 10px; gap: 8px; padding: 0 6px 0 10px; }
  [dir="rtl"] .nav { padding: 0 10px 0 6px; }
  .nav__name { display: none; }
  .nav__cta { display: none; }
  .lang__btn { padding: 0 8px; }
  .lang__btn span { display: none; }
  .hero { min-height: 680px; }
  .hero__card { padding: 22px; margin-bottom: 26px; }
  .hero__meta { margin-bottom: 16px; }
  .hero__count { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__tabs { grid-template-columns: repeat(3, 1fr); }
  .hero__tab { font-size: 11px; }
  .hero__pause, .hero__scroll { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .wcard { min-height: 0; }
  .wcard svg { margin: 22px 0 0; }
  .wcard h3 { margin-top: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .qget { grid-template-columns: 1fr; }
  .phone-stage { min-height: 520px; }
  .phone { width: 230px; }
  .phone-ring { width: 360px; height: 360px; }
  .float-chip { font-size: 12px; padding: 8px 12px; }
  .footer__cols { grid-template-columns: 1fr; }
  .qbtn span { display: none; }
  .qbtn { padding: 0 7px !important; width: 54px; justify-content: center; }
  .svc { min-height: 600px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* gradient text survives word-splitting */
.h2 em .split-w > span, .hero__title em .split-w > span, .contact__title em .split-w > span { background: var(--pearl); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .04em; }
:root[data-theme="light"] .h2 em .split-w > span { background: linear-gradient(115deg, var(--burg), var(--rose) 60%, var(--burg-2)); -webkit-background-clip: text; background-clip: text; }
.services .h2 em .split-w > span { background: var(--pearl) !important; -webkit-background-clip: text !important; background-clip: text !important; }
:root[data-theme="light"] .services .h2 em { background: var(--pearl); -webkit-background-clip: text; background-clip: text; }

/* number-free details */
.hero__inner { padding-bottom: clamp(40px, 8vh, 90px); }
.hero__card { margin-bottom: 0; }
.svc__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(195, 52, 101, .9), rgba(101, 13, 40, .9)); box-shadow: 0 16px 40px -14px rgba(195, 52, 101, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.svc__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step { grid-template-columns: 28px 1fr; }
.step__dot { width: 10px; height: 10px; margin-top: 10px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; }
.step.is-active .step__dot { background: var(--rose); border-color: var(--rose-2); box-shadow: 0 0 0 5px rgba(195, 52, 101, .2); }
.onode .onode__in { fill: var(--line-2); stroke: none; }
.onode.is-active .onode__in { fill: #fff; }
.footer__giant { background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06)); -webkit-background-clip: text; background-clip: text; }
.footer__giant span { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm { margin-bottom: 0; }
.svc:not(.svc--intro) { background: #0b0a0f; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .9); }

/* ---------- certificates ---------- */
.certs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.certs__head > p { max-width: 44ch; margin: 0; color: var(--ink-2); font-size: 17px; }
.certs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 70px); perspective: 1200px; }
.cert { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: start; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.cert:hover { border-color: rgba(195, 52, 101, .55); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(101, 13, 40, .8); }
.cert__media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, #f7f1f3, #e7d6dc); overflow: hidden; }
.cert__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .8s var(--ease); }
.cert:hover .cert__media img { transform: scale(1.05); }
.cert__seal svg { width: 70px; height: 70px; fill: none; stroke: var(--burg-2); stroke-width: 1.3; }
.cert__badge { position: absolute; top: 12px; inset-inline-start: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(23, 120, 70, .9); }
.cert__badge--in_progress { background: rgba(190, 120, 20, .92); }
.cert__badge--expired { background: rgba(110, 110, 120, .92); }
.cert__body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.cert__issuer { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
[dir="rtl"] .cert__issuer { letter-spacing: 0; }
.cert__body h3 { margin: 0; font: 600 1.15rem/1.35 var(--font-d); }
.cert__open { position: absolute; bottom: 18px; inset-inline-end: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 18px; color: var(--ink-2); transition: background .3s, color .3s, transform .5s var(--ease); }
.cert:hover .cert__open { background: var(--burg-2); color: #fff; transform: rotate(90deg); }

/* ---------- logo rails (partners / clients) ---------- */
.logos { padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); display: grid; gap: clamp(50px, 6vw, 90px); }
.logos__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.logos__head p { margin: 0; color: var(--ink-3); font-size: 14px; }
.rail { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rail__track { display: flex; width: max-content; animation: railLeft var(--speed, 45s) linear infinite; }
.rail:hover .rail__track { animation-play-state: paused; }
@keyframes railLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rail__group { display: flex; gap: 16px; padding-inline-end: 16px; }
.logo { flex-shrink: 0; width: 220px; height: 120px; display: grid; place-items: center; padding: 22px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, background .4s; position: relative; }
.logo:hover { border-color: rgba(195, 52, 101, .5); }
.logo img { max-width: 100%; max-height: 60px; object-fit: contain; filter: grayscale(1) brightness(1.6) contrast(.9); opacity: .78; transition: filter .5s, opacity .5s, transform .5s var(--ease); }
:root[data-theme="light"] .logo img { filter: grayscale(1) contrast(1.1); }
.logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.logo--photo img { max-height: 76px; border-radius: 12px; }
.logo__name { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--ink-3); opacity: 0; transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
.logo:hover .logo__name { opacity: 1; }
.logo__mono { font: 700 1.3rem var(--font-d); color: var(--ink-2); text-align: center; line-height: 1.2; }

/* ---------- certificate lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(5, 5, 8, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox__panel { position: relative; width: min(960px, 100%); max-height: 88vh; overflow: auto; background: rgba(16, 14, 20, .92); color: #fff; outline: none; }
.lightbox__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; color: #fff; border-color: rgba(255, 255, 255, .2); font-size: 13px; }
.lightbox__body { display: grid; grid-template-columns: 1.1fr .9fr; }
.lightbox__media { background: linear-gradient(135deg, #f7f1f3, #e7d6dc); display: grid; place-items: center; min-height: 360px; }
.lightbox__media img { width: 100%; height: 100%; max-height: 80vh; object-fit: contain; padding: 18px; }
.lightbox__info { padding: 40px 34px; display: grid; align-content: center; gap: 14px; }
.lightbox__info h3 { margin: 0; font: 600 1.6rem/1.3 var(--font-d); }
.lightbox__info p { margin: 0; color: rgba(255, 255, 255, .7); }
.lightbox__facts { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 10px; }
.lightbox__facts li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.lightbox__facts span { color: rgba(255, 255, 255, .55); }
.lightbox__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .lightbox__body { grid-template-columns: 1fr; } .lightbox__media { min-height: 240px; } .logo { width: 170px; height: 100px; } }
.logos { grid-template-columns: minmax(0, 1fr); } .logos__block { min-width: 0; }
html { overflow-x: clip; } .products, .approach, .why { overflow-x: clip; }
.logos { padding-bottom: 10px; }


/* =============================================================
   READABILITY PASS — bigger type, higher contrast, calmer effects
   ============================================================= */
body { font-size: 17px; line-height: 1.7; }
[dir="rtl"] body { font-size: 18px; line-height: 1.85; }
.kicker { font-size: 14px; letter-spacing: .12em; }
[dir="rtl"] .kicker { font-size: 16px; font-weight: 600; }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4.4rem); line-height: 1.08; }
[dir="rtl"] .h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.4; }

/* hero: darker behind the card, crisper text */
.hero__shade { background: linear-gradient(90deg, rgba(8, 9, 13, .9) 0%, rgba(8, 9, 13, .55) 55%, rgba(8, 9, 13, .3)), linear-gradient(0deg, rgba(8, 9, 13, .9) 0%, transparent 40%), linear-gradient(180deg, rgba(8, 9, 13, .7), transparent 25%); }
[dir="rtl"] .hero__shade { background: linear-gradient(270deg, rgba(8, 9, 13, .9) 0%, rgba(8, 9, 13, .55) 55%, rgba(8, 9, 13, .3)), linear-gradient(0deg, rgba(8, 9, 13, .9) 0%, transparent 40%), linear-gradient(180deg, rgba(8, 9, 13, .7), transparent 25%); }
.hero__card { background: rgba(10, 10, 16, .55); }
.hero__lead { color: rgba(255, 255, 255, .9); font-size: clamp(16px, 1.3vw, 19px); }
[dir="rtl"] .hero__lead { font-size: clamp(17px, 1.4vw, 20px); }
.chip { font-size: 14px; }
.hero__orbits { opacity: .55; }

/* ticker: one clear row, no outlined ghost text */
.ticker__row--ghost { display: none; }
.ticker__track { font-size: clamp(2rem, 5vw, 4.4rem); }

/* about: paragraph readable from the start */
.about__copy { color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19px); }
[dir="rtl"] .about__copy { font-size: clamp(18px, 1.45vw, 20px); }
.vm__card p { font-size: 17px; }

/* services: solid reading panel behind text */
.svc__media::after { background: linear-gradient(90deg, rgba(7, 7, 11, .96) 0%, rgba(7, 7, 11, .82) 48%, rgba(7, 7, 11, .35) 100%), linear-gradient(0deg, rgba(7, 7, 11, .8), transparent 45%); }
[dir="rtl"] .svc__media::after { background: linear-gradient(270deg, rgba(7, 7, 11, .96) 0%, rgba(7, 7, 11, .82) 48%, rgba(7, 7, 11, .35) 100%), linear-gradient(0deg, rgba(7, 7, 11, .8), transparent 45%); }
.svc__main p { color: rgba(255, 255, 255, .88); font-size: 17px; }
[dir="rtl"] .svc__main p { font-size: 18px; }
.svc__caps li { font-size: 14px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.svc__tag { font-size: 13px; }
.svc--intro p { color: rgba(255, 255, 255, .85); }
.svc__hint { color: rgba(255, 255, 255, .7); font-size: 14px; }

/* approach: inactive steps still legible */
.step { opacity: .6; }
.step p { color: var(--ink-2); font-size: 16px; }
.approach__lead { color: var(--ink-2); }

/* why: title is readable before the colour fill */
.why__title { font-size: clamp(2.4rem, 6.4vw, 6.4rem); }
.why__title .w { color: var(--ink-3); }
.wcard p { font-size: 16px; color: var(--ink-2); }
.wcard h3 { font-size: 1.4rem; }

/* certificates / logos */
.cert__body h3 { font-size: 1.2rem; }
.cert__issuer { font-size: 13px; }
.logo img { filter: none; opacity: 1; }
:root[data-theme="light"] .logo img { filter: none; }
.logo__name { opacity: 1; position: static; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.logo { height: 140px; align-content: center; gap: 4px; }
.logos__head p { color: var(--ink-2); font-size: 15px; }

/* products / contact / footer */
.products__text > p, .contact__lead { font-size: 18px; color: var(--ink-2); }
.qget p { font-size: 16px; color: var(--ink-2); }
.contact__shade { background: linear-gradient(90deg, rgba(8, 9, 13, .94), rgba(8, 9, 13, .75) 60%, rgba(8, 9, 13, .8)), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, #08090d); }
[dir="rtl"] .contact__shade { background: linear-gradient(270deg, rgba(8, 9, 13, .94), rgba(8, 9, 13, .75) 60%, rgba(8, 9, 13, .8)), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, #08090d); }
.contact__lead { color: rgba(255, 255, 255, .88); }
.contact__info small { color: rgba(255, 255, 255, .7); font-size: 13px; }
.form { background: rgba(12, 12, 18, .78); }
.field input, .field textarea { font-size: 16px; }
.field span { color: rgba(255, 255, 255, .72); font-size: 15px; }
.pills legend { color: rgba(255, 255, 255, .8); font-size: 14px; }
.pills span { font-size: 14px; }
.footer__top > p, .footer__brand span { color: rgba(255, 255, 255, .75); }
.footer ul a, .footer ul span { color: rgba(255, 255, 255, .85); font-size: 16px; }
.footer__bottom { color: rgba(255, 255, 255, .65); font-size: 14px; }
.nav__links a { font-size: 15px; }
.nav__name small { opacity: .8; }
.menu__foot { color: rgba(255, 255, 255, .8); }
/* light theme keeps dark text on light surfaces */

/* =============================================================
   CLARITY PASS 2 — no thin italics, everything readable at once
   ============================================================= */
.h2 em, .hero__title em, .contact__title em, .phero__title em,
.h2 em .split-w > span, .hero__title em .split-w > span, .contact__title em .split-w > span, .phero__title em .split-w > span {
  font-family: inherit !important; font-style: normal !important; font-weight: inherit !important; letter-spacing: inherit;
  background: linear-gradient(100deg, #ff9fbf 0%, #ff6f9b 45%, #ffd3e1 100%) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
}
:root[data-theme="light"] .h2 em, :root[data-theme="light"] .h2 em .split-w > span, :root[data-theme="light"] .phero__title em .split-w > span { background: linear-gradient(100deg, var(--burg-2), var(--rose)) !important; -webkit-background-clip: text !important; background-clip: text !important; }
.svc__main .svc__lead { font: 600 clamp(1.05rem, 1.4vw, 1.25rem)/1.4 var(--font-b) !important; font-style: normal !important; color: #ff8fb3; }
.why__title .w, .why__title .w.on { color: var(--ink) !important; background: none !important; }
.why__title .w:nth-last-child(-n+3) { color: #ff7aa6 !important; }
:root[data-theme="light"] .why__title .w:nth-last-child(-n+3) { color: var(--burg-2) !important; }
.hero__title { font-weight: 700; }

/* brand: one clean name next to the logo */
.nav__name small { display: none !important; }
.nav__name { font: 700 17px/1 var(--font-d) !important; letter-spacing: .14em !important; white-space: nowrap; }
.nav__brand { gap: 12px; }
.nav__brand img { width: 40px; height: 40px; }

/* ---------- nav dropdowns (glass) ---------- */
.nav__links { align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .85); transition: color .3s, background .3s; white-space: nowrap; }
.nav.is-solid .nav__link { color: var(--ink-2); }
.nav__link:hover, .nav__link.is-active, .dd:hover > .dd__btn, .dd.is-open > .dd__btn { color: #fff; background: rgba(255, 255, 255, .1); }
.nav.is-solid .nav__link:hover, .nav.is-solid .nav__link.is-active, .nav.is-solid .dd:hover > .dd__btn, .nav.is-solid .dd.is-open > .dd__btn { color: var(--ink); background: rgba(195, 52, 101, .14); }
.dd { position: relative; }
.dd__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); opacity: .8; }
.dd:hover .dd__chev, .dd.is-open .dd__chev { transform: rotate(180deg); }
.dd__panel { position: absolute; top: calc(100% + 14px); left: 50%; width: 330px; padding: 8px; display: grid; gap: 2px; transform: translate(-50%, 8px) scale(.97); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s; background: rgba(14, 12, 20, .72); border-color: rgba(255, 255, 255, .14); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); border-radius: 22px; z-index: 5; }
:root[data-theme="light"] .dd__panel { background: rgba(255, 255, 255, .85); border-color: rgba(23, 8, 14, .08); }
.dd__panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dd--wide .dd__panel { width: 640px; grid-template-columns: 1fr 1fr; }
.dd:hover .dd__panel, .dd.is-open .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.dd__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; color: #fff; transition: background .3s; text-align: start; }
:root[data-theme="light"] .dd__item { color: var(--ink); }
.dd__item:hover, .dd__item:focus-visible { background: rgba(195, 52, 101, .18); }
.dd__ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(195, 52, 101, .2); border: 1px solid rgba(255, 122, 166, .25); }
.dd__ico svg { width: 18px; height: 18px; fill: none; stroke: #ff8fb3; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="light"] .dd__ico svg { stroke: var(--burg-2); }
.dd__item b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.dd__item small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .65); }
:root[data-theme="light"] .dd__item small { color: var(--ink-3); }
@media (max-width: 1280px) { .nav__link { padding: 9px 11px; font-size: 14px; } .nav__cta { display: none; } }

/* ---------- inner page hero ---------- */
.phero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 80px) 0 clamp(60px, 9vh, 110px); }
.phero__media { position: absolute; inset: 0; z-index: -1; background: #08090d; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 13, .7) 35%, rgba(8, 9, 13, .55) 70%, rgba(8, 9, 13, .75) 100%), linear-gradient(90deg, rgba(8, 9, 13, .7), transparent 70%); }
[dir="rtl"] .phero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 13, .7) 35%, rgba(8, 9, 13, .55) 70%, rgba(8, 9, 13, .75) 100%), linear-gradient(270deg, rgba(8, 9, 13, .7), transparent 70%); }
:root[data-theme="light"] .phero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 13, .6) 30%, rgba(8, 9, 13, .55) 70%, rgba(8, 9, 13, .75) 100%), linear-gradient(90deg, rgba(8, 9, 13, .7), transparent 70%); }
.phero .kicker { color: #ff8fb3; }
.phero__title { font: 700 clamp(2.4rem, 5.6vw, 5.4rem)/1.05 var(--font-d); letter-spacing: -.04em; margin: 20px 0 0; max-width: 18ch; }
[dir="rtl"] .phero__title { letter-spacing: 0; line-height: 1.35; font-size: clamp(2.1rem, 4.8vw, 4.4rem); }
:root[data-theme="light"] .phero__title { color: #fff; }
.phero__lead { margin: 24px 0 0; max-width: 56ch; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .88); }

/* ---------- work page ---------- */
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.work__head > p { max-width: 46ch; margin: 0; color: var(--ink-2); font-size: 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.filters button[aria-selected="true"] { background: linear-gradient(135deg, var(--burg-2), var(--burg)); color: #fff; border-color: transparent; }
.filters button:hover { border-color: var(--rose); }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: start; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.pcard:hover { border-color: rgba(195, 52, 101, .5); transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(101, 13, 40, .9); }
.pcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: #111; display: grid; place-items: center; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__mono { font: 700 4rem var(--font-d); color: rgba(255, 255, 255, .25); }
.pcard__body { padding: 24px 26px 28px; display: grid; gap: 8px; }
.pcard__cat { font-size: 13px; font-weight: 600; color: var(--rose); letter-spacing: .06em; text-transform: uppercase; }
[dir="rtl"] .pcard__cat { letter-spacing: 0; }
.pcard__body h3 { margin: 0; font: 600 1.5rem/1.25 var(--font-d); }
.pcard__body p { margin: 0; color: var(--ink-2); font-size: 16px; }
.pcard__more { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.pcard__more svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
[dir="rtl"] .pcard__more svg { transform: scaleX(-1); }
.pcard:hover .pcard__more svg { transform: translateX(5px); }
.pgrid__empty { grid-column: 1 / -1; color: var(--ink-2); text-align: center; padding: 40px 0; }
.lightbox__media--photo { background: #0c0b10; }
.lightbox__media--photo img { object-fit: cover; padding: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; padding: clamp(100px, 14vw, 200px) 0; color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.cta__media { position: absolute; inset: 0; z-index: -1; background: #08090d; }
.cta__shade { position: absolute; inset: 0; background: rgba(8, 9, 13, .62); }
.cta__inner { display: grid; justify-items: center; }
.cta .kicker { color: #ff8fb3; }
.cta .contact__actions { justify-content: center; }

/* ---------- contact page ---------- */
.cpage__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cpage__lead { color: var(--ink-2); font-size: 18px; margin: 22px 0 0; max-width: 44ch; }
.channels { display: grid; gap: 12px; margin-top: 34px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: border-color .4s, transform .5s var(--ease); }
a.channel:hover { border-color: rgba(195, 52, 101, .55); transform: translateX(6px); }
[dir="rtl"] a.channel:hover { transform: translateX(-6px); }
.channel__ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--burg-2), var(--burg)); }
.channel__ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channel small { display: block; font-size: 13px; color: var(--ink-3); }
.channel b { display: block; font-size: 17px; font-weight: 600; }
.channel__go { width: 18px; margin-inline-start: auto; fill: none; stroke: var(--ink-3); stroke-width: 2; }
[dir="rtl"] .channel__go { transform: scaleX(-1); }
.cpage .form { color: #fff; }
:root[data-theme="light"] .cpage .form { background: rgba(20, 14, 20, .92); }
.form__note { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
.form__note a { color: #ff8fb3; text-decoration: underline; }
@media (max-width: 1023px) { .cpage__grid { grid-template-columns: 1fr; } .pgrid { grid-template-columns: 1fr; } .dd__panel { display: none; } }

/* no top progress line */
.progress { display: none !important; }

/* footer slogan: always fully visible */
.footer__giant { white-space: normal; text-align: center; font-size: clamp(1.8rem, 4.6vw, 4.6rem); line-height: 1.2; padding: 20px 0 36px; overflow: visible; }
[dir="rtl"] .footer__giant { line-height: 1.5; font-size: clamp(1.7rem, 4.2vw, 4.2rem); }

/* ---------- moving burgundy background (both themes) ---------- */
html { background: var(--bg); }
body { background: transparent; }
.ticker { background: transparent; }
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 55vw; height: 55vw; left: -12vw; top: -10vw; background: radial-gradient(circle, #8e1238 0%, rgba(142, 18, 56, 0) 70%); animation: auroraA 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 45vw; height: 45vw; right: -10vw; top: 20vh; background: radial-gradient(circle, #650d28 0%, rgba(101, 13, 40, 0) 70%); animation: auroraB 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 25vw; bottom: -15vw; background: radial-gradient(circle, #c33465 0%, rgba(195, 52, 101, 0) 70%); opacity: .35; animation: auroraC 38s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { width: 30vw; height: 30vw; right: 20vw; top: -8vw; background: radial-gradient(circle, #b0244f 0%, rgba(176, 36, 79, 0) 70%); opacity: .3; animation: auroraA 44s ease-in-out infinite alternate-reverse; }
:root[data-theme="light"] .aurora i { opacity: .28; filter: blur(100px); }
:root[data-theme="light"] .aurora i:nth-child(3), :root[data-theme="light"] .aurora i:nth-child(4) { opacity: .18; }
@keyframes auroraA { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(28vw, 18vh) scale(1.2); } 100% { transform: translate(8vw, 55vh) scale(.9); } }
@keyframes auroraB { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30vw, 30vh) scale(1.15); } 100% { transform: translate(-12vw, -10vh) scale(1.3); } }
@keyframes auroraC { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20vw, -40vh) scale(1.25); } 100% { transform: translate(22vw, -20vh) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .aurora i { animation: none; } }
/* let the moving colour show through the plain sections */
.why, .about, .approach, .certs, .logos, .work, .cpage { background: transparent; }
.wcard, .cert, .logo, .channel, .pcard { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* approach: whole column fits on screen while pinned */
@media (min-width: 1024px) {
  .approach.section { padding-block: 0; }
  .approach__pin { height: 100svh; min-height: 640px; padding: calc(var(--nav-h) + 24px) 0 32px; align-items: center; }
  .approach .h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
  [dir="rtl"] .approach .h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
  .approach__lead { margin-top: 14px; font-size: 16px; }
  .steps { margin-top: 20px; }
  .step { padding: 11px 0; }
  .step h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
  .step p { font-size: 15px; }
  .step.is-active p { max-height: 70px; }
  .orbit { width: min(100%, 520px, 70svh); }
}
.step.is-active { opacity: 1; }
.step.is-active h3 { color: var(--ink); }
.step.is-active p { color: var(--ink); }

/* =============================================================
   SIZE PASS — calmer, tidier proportions
   ============================================================= */
.pgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pcard { border-radius: 20px; }
.pcard__media { aspect-ratio: 4 / 3; }
.pcard__body { padding: 18px 20px 22px; gap: 6px; }
.pcard__body h3 { font-size: 1.15rem; }
.pcard__body p { font-size: 14.5px; }
.pcard__cat { font-size: 12px; }
.pcard__more { font-size: 14px; }
.filters button { padding: 8px 15px; font-size: 13.5px; }
.work__head > p, .certs__head > p { font-size: 16px; }

.hero__title { font-size: clamp(2.2rem, 4.4vw, 4.4rem) !important; }
[dir="rtl"] .hero__title { font-size: clamp(2rem, 3.9vw, 3.8rem) !important; }
.hero__card { width: min(760px, 100%); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem) !important; }
[dir="rtl"] .h2 { font-size: clamp(1.8rem, 3.2vw, 3rem) !important; }
.phero { min-height: 62svh; }
.phero__title { font-size: clamp(2.1rem, 4.2vw, 4rem) !important; }
[dir="rtl"] .phero__title { font-size: clamp(1.9rem, 3.7vw, 3.5rem) !important; }
.why__title { font-size: clamp(2.1rem, 4.6vw, 4.6rem) !important; max-width: 16ch; }
.contact__title { font-size: clamp(2.4rem, 5vw, 5rem) !important; }
[dir="rtl"] .contact__title { font-size: clamp(2.2rem, 4.4vw, 4.4rem) !important; }
.about__big { font-size: clamp(1.3rem, 2.3vw, 2.2rem) !important; }
.ticker__track { font-size: clamp(1.6rem, 3.6vw, 3.2rem) !important; }
.ticker { padding: clamp(28px, 4vw, 54px) 0; }
.footer__giant { font-size: clamp(1.6rem, 3.6vw, 3.6rem) !important; }
.svc { height: min(64vh, 580px); width: min(72vw, 900px); }
.svc__main h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.svc--intro .h2 { font-size: clamp(1.9rem, 3.4vw, 3.2rem) !important; }
.wcard { min-height: 280px; padding: 26px 22px 28px; }
.wcard h3 { font-size: 1.2rem !important; }
.stat b { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.section { padding-block: clamp(80px, 9vw, 140px); }
.vm__card h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.phone { width: 260px; }
.phone-ring { width: 460px; height: 460px; }
.phone-stage { min-height: 580px; }
.cert__media { aspect-ratio: 16 / 11; }
.logo { width: 190px; height: 120px; }

/* =============================================================
   LUXURY BACKGROUND — deep charcoal, slow burgundy light,
   silk sheen, faint Qatari star pattern and fine grain
   ============================================================= */
html { background: #07070a; }
:root[data-theme="light"] { --bg: #f7f3f4; }
:root[data-theme="light"] html, html[data-theme="light"] { background: #f7f3f4; }
.aurora { background: radial-gradient(120% 80% at 50% -10%, rgba(101, 13, 40, .28), transparent 60%), radial-gradient(90% 60% at 50% 110%, rgba(60, 8, 26, .35), transparent 60%), #07070a; }
:root[data-theme="light"] .aurora { background: radial-gradient(120% 80% at 50% -10%, rgba(195, 52, 101, .10), transparent 60%), radial-gradient(90% 60% at 50% 110%, rgba(142, 18, 56, .08), transparent 60%), #f7f3f4; }
.aurora i { filter: blur(110px); opacity: .42; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -18vw; top: -14vw; background: radial-gradient(circle, #8e1238 0%, rgba(142, 18, 56, 0) 68%); animation: lux1 40s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 42vw; height: 42vw; right: -18vw; top: 35vh; left: auto; background: radial-gradient(circle, #6d0f2c 0%, rgba(109, 15, 44, 0) 68%); animation: lux2 48s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 30vw; bottom: -22vw; top: auto; background: radial-gradient(circle, #b0244f 0%, rgba(176, 36, 79, 0) 68%); opacity: .22; animation: lux3 56s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { display: none; }
:root[data-theme="light"] .aurora i { mix-blend-mode: multiply; opacity: .16; }
:root[data-theme="light"] .aurora i:nth-child(3) { opacity: .1; }
@keyframes lux1 { to { transform: translate(10vw, 22vh) scale(1.15); } }
@keyframes lux2 { to { transform: translate(-8vw, -18vh) scale(1.2); } }
@keyframes lux3 { to { transform: translate(-14vw, -10vh) scale(1.1); } }
/* silk: a slow rotating sheen, very soft */
.aurora__silk { position: absolute; inset: -50%; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255, 140, 175, .06) 40deg, transparent 90deg, transparent 180deg, rgba(142, 18, 56, .08) 230deg, transparent 290deg); animation: silk 90s linear infinite; }
:root[data-theme="light"] .aurora__silk { background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(195, 52, 101, .05) 40deg, transparent 90deg, transparent 180deg, rgba(142, 18, 56, .04) 230deg, transparent 290deg); }
@keyframes silk { to { transform: rotate(360deg); } }
/* faint 8-point star lattice (Qatari geometry) */
.aurora__pattern { position: absolute; inset: 0; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23e8c79c' stroke-width='.7'%3E%3Cpath d='M36 10l7 19 19 7-19 7-7 19-7-19-19-7 19-7z'/%3E%3Cpath d='M36 22l14 14-14 14-14-14z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%); }
:root[data-theme="light"] .aurora__pattern { opacity: .07; filter: invert(.4) sepia(1) hue-rotate(300deg); }
/* fine film grain */
.aurora__grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="light"] .aurora__grain { opacity: .05; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: reduce) { .aurora__silk { animation: none; } }
/* section edges: thin gold hairline instead of hard blocks */
.about, .approach, .why, .certs, .work, .cpage { position: relative; }
.why::before, .certs::before, .approach::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), 100% - var(--gut) * 2); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(232, 199, 156, .22), transparent); }
/* glass cards read cleaner on the new backdrop */
.wcard, .cert, .logo, .channel, .pcard, .vm__card { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .08); }
:root[data-theme="light"] .wcard, :root[data-theme="light"] .cert, :root[data-theme="light"] .logo, :root[data-theme="light"] .channel, :root[data-theme="light"] .pcard, :root[data-theme="light"] .vm__card { background: rgba(255, 255, 255, .7); border-color: rgba(23, 8, 14, .07); box-shadow: 0 20px 50px -30px rgba(101, 13, 40, .25); }
.cpage .form { background: rgba(14, 12, 18, .72); }

/* =============================================================
   MOBILE PERFORMANCE — no heavy blur/blend/backdrop on phones
   ============================================================= */
@media (max-width: 900px), (pointer: coarse) {
  .aurora i { animation: none !important; filter: none !important; mix-blend-mode: normal !important; opacity: .55 !important; }
  .aurora i:nth-child(1) { background: radial-gradient(circle, rgba(142, 18, 56, .55) 0%, rgba(142, 18, 56, 0) 70%); }
  .aurora i:nth-child(2) { background: radial-gradient(circle, rgba(109, 15, 44, .5) 0%, rgba(109, 15, 44, 0) 70%); }
  .aurora i:nth-child(3) { display: none; }
  :root[data-theme="light"] .aurora i { opacity: .25 !important; }
  .aurora__silk, .aurora__grain { display: none; }
  .hero__orbits { display: none; }
  .wcard, .cert, .logo, .channel, .pcard, .vm__card, .svc__caps li, .svc__tag, .float-chip, .chip, .about__film figcaption, .btn--glass, .hero__card, .form, .qget, .lightbox__scrim, .dd__panel { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .hero__card { background: rgba(10, 10, 16, .72); }
  .form { background: rgba(14, 12, 18, .92); }
  .btn--glass { background: rgba(255, 255, 255, .12); }
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-solid { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .grade::after { display: none; }
  .hero__slide { transition: opacity 1.2s ease; transform: none !important; }
  .dot { animation: none; }
}

/* =============================================================
   PERFORMANCE PASS (desktop too) — the moving background must
   never force the page to re-blur or re-blend on every frame
   ============================================================= */
.aurora { contain: strict; transform: translateZ(0); }
.aurora i { filter: none !important; mix-blend-mode: normal !important; will-change: transform; opacity: .5; }
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(142, 18, 56, .55) 0%, rgba(142, 18, 56, .18) 40%, rgba(142, 18, 56, 0) 70%); }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(109, 15, 44, .5) 0%, rgba(109, 15, 44, .16) 40%, rgba(109, 15, 44, 0) 70%); }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(176, 36, 79, .35) 0%, rgba(176, 36, 79, .1) 40%, rgba(176, 36, 79, 0) 70%); }
:root[data-theme="light"] .aurora i { opacity: .3; }
.aurora__silk { display: none; }
.aurora__grain { mix-blend-mode: normal; opacity: .035; }
/* glass blur only where it matters (nav, menu, dialogs) — cards use tinted panels */
.wcard, .cert, .logo, .channel, .pcard, .vm__card, .svc__caps li, .svc__tag, .float-chip, .about__film figcaption, .qget, .hero__card, .form { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.hero__card { background: rgba(10, 10, 16, .66); }
.cpage .form, .contact .form { background: rgba(14, 12, 18, .86); }
.qget { background: rgba(255, 255, 255, .04); }
:root[data-theme="light"] .qget { background: rgba(255, 255, 255, .75); }
.grade { mix-blend-mode: normal; background: linear-gradient(180deg, rgba(60, 6, 24, .3), rgba(14, 3, 9, .35)); }
.grade::after { display: none; }
.clients__track, .rail__track { will-change: transform; }
.aurora__pattern { mask-image: none !important; -webkit-mask-image: none !important; opacity: .03; }
:root[data-theme="light"] .aurora__pattern { opacity: .05; }
.aurora i { animation-duration: 60s !important; }

/* =============================================================
   INNER PAGES — about / faq / terms / 404 / news
   ============================================================= */
.phero--short { min-height: 48svh; }
.phero__media--plain { background: radial-gradient(80% 90% at 80% 0%, rgba(142, 18, 56, .45), transparent 60%), transparent !important; }
:root[data-theme="light"] .phero__media--plain { background: radial-gradient(80% 90% at 80% 0%, rgba(195, 52, 101, .16), transparent 60%), transparent !important; }
:root[data-theme="light"] .phero:has(.phero__media--plain), :root[data-theme="light"] .phero:has(.phero__media--plain) .phero__title { color: var(--ink); }
:root[data-theme="light"] .phero:has(.phero__media--plain) .phero__lead { color: var(--ink-2); }
:root[data-theme="light"] .phero:has(.phero__media--plain) .kicker { color: var(--burg-2); }
.phero--404 { min-height: 100svh; align-items: center; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--rose); }
.btn--line { color: #fff; }

/* about */
.astory__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.astory__copy { display: grid; gap: 18px; color: var(--ink-2); font-size: 17px; }
.astory__copy p { margin: 0; }
.astory .vm { margin-top: clamp(40px, 5vw, 70px); }
.flow { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.flow li { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); font: 600 1.05rem var(--font-d); }
:root[data-theme="light"] .flow li { background: rgba(255, 255, 255, .7); }
.flow li i { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 5px rgba(195, 52, 101, .18); flex-shrink: 0; }
.profile__card { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding: clamp(22px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); }
:root[data-theme="light"] .profile__card { background: rgba(255, 255, 255, .7); }
.profile__cover img { width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.profile__copy p { color: var(--ink-2); font-size: 17px; margin: 18px 0 0; max-width: 46ch; }
:root[data-theme="light"] .btn--line { color: var(--ink); border-color: var(--line-2); }

/* faq */
.faqwrap { max-width: 900px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); transition: border-color .4s; }
:root[data-theme="light"] .faq__item { background: rgba(255, 255, 255, .75); }
.faq__item[open] { border-color: rgba(195, 52, 101, .45); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 600 1.08rem/1.45 var(--font-d); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item[open] summary i { background: var(--burg-2); border-color: transparent; color: #fff; }
.faq__a { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; }
.faq__a p { margin: 0; }
.faq__a a { color: var(--rose); text-decoration: underline; }

/* terms */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 12px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); }
:root[data-theme="light"] .legal__toc { background: rgba(255, 255, 255, .75); }
.legal__updated { font-size: 13px; color: var(--ink-3); }
.legal__toc nav { display: grid; gap: 2px; }
.legal__toc a { padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); transition: background .3s, color .3s; }
.legal__toc a:hover, .legal__toc a.is-active { background: rgba(195, 52, 101, .15); color: var(--ink); }
.legal__body { display: grid; gap: 14px; }
.legal__sec { padding: clamp(20px, 2.6vw, 32px); border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); scroll-margin-top: calc(var(--nav-h) + 20px); }
:root[data-theme="light"] .legal__sec { background: rgba(255, 255, 255, .75); }
.legal__sec h2 { margin: 0 0 12px; font: 600 1.3rem/1.35 var(--font-d); }
.legal__sec p, .legal__sec li { color: var(--ink-2); font-size: 16px; }
.legal__sec ul { padding-inline-start: 20px; }
.legal__sec a, .legal__link { color: var(--rose); text-decoration: underline; }
.legal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* news page: map the old tokens onto the new system */
body[data-page="news"] { --paper: var(--ink); --muted: var(--ink-3); --faint: var(--line); --glass: rgba(255, 255, 255, .05); --glass-edge: var(--line-2); --maroon: var(--burg-2); --serif: var(--font-d); --gutter: var(--gut); }
:root[data-theme="light"] body[data-page="news"] { --glass: rgba(255, 255, 255, .8); }
body[data-page="news"] .news-hero { min-height: 46svh; padding-bottom: 50px; }
body[data-page="news"] .news-hero .phero__title { font-size: clamp(2.1rem, 4.2vw, 4rem) !important; }
body[data-page="news"] .news-content { width: min(var(--wrap), 100% - var(--gut) * 2); padding-inline: 0; }
body[data-page="news"] .news-content .filters { margin-top: 0; }

@media (max-width: 900px) {
  .astory__grid, .legal, .profile__card { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .profile__cover { max-width: 260px; }
}

/* ---------- services without video: refined burgundy panels ---------- */
.svc:not(.svc--intro) { background: linear-gradient(140deg, #1a0a12 0%, #12090e 45%, #0c0a0f 100%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.svc:not(.svc--intro)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 85% 15%, rgba(142, 18, 56, .55), transparent 60%), radial-gradient(50% 60% at 10% 100%, rgba(101, 13, 40, .35), transparent 70%); }
[dir="rtl"] .svc:not(.svc--intro)::before { background: radial-gradient(70% 90% at 15% 15%, rgba(142, 18, 56, .55), transparent 60%), radial-gradient(50% 60% at 90% 100%, rgba(101, 13, 40, .35), transparent 70%); }
.svc:not(.svc--intro)::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23e8c79c' stroke-width='.7'%3E%3Cpath d='M36 10l7 19 19 7-19 7-7 19-7-19-19-7 19-7z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 72px; }
.svc__art { position: absolute; z-index: -1; top: 50%; inset-inline-end: -4%; width: min(46%, 420px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.svc__art svg { width: 100%; height: 100%; fill: none; stroke: rgba(255, 143, 179, .16); stroke-width: .5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 30px rgba(195, 52, 101, .25)); }
.svc__body { border: 0; }
.svc__main { max-width: 600px; }
@media (max-width: 1023px) { .svc__art { width: 60%; top: 26%; opacity: .7; } .svc { min-height: 0 !important; height: auto; } .svc__body { min-height: 520px; } }

/* ---------- realistic iPhone mockup (titanium frame, Dynamic Island) ---------- */
.phone { width: 270px; aspect-ratio: 9 / 19.5; padding: 4px; border-radius: 52px; background: linear-gradient(145deg, #8b8b92 0%, #3b3b41 18%, #1c1c20 50%, #4a4a52 82%, #9a9aa2 100%); box-shadow: 0 0 0 1.5px #0d0d10, inset 0 0 0 1px rgba(255, 255, 255, .35), 0 50px 100px -30px rgba(101, 13, 40, .85), 0 30px 60px -30px rgba(0, 0, 0, .8); transform-style: preserve-3d; }
.phone::before { content: ""; position: absolute; inset: 4px; border-radius: 48px; background: #050506; }
.phone__screen { position: absolute; inset: 9px; border-radius: 43px; overflow: hidden; background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
.phone__island { position: absolute; top: 11px; left: 50%; width: 33%; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.phone__island::after { content: ""; position: absolute; right: 12%; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3550, #07090f 70%); }
.phone__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 28%, transparent 40%); }
.phone__notch { display: none; }
.phone__btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a2a2f, #8a8a92); }
.phone__btn--action { left: -3px; top: 17%; height: 4%; }
.phone__btn--vol1 { left: -3px; top: 24%; height: 7.5%; }
.phone__btn--vol2 { left: -3px; top: 33%; height: 7.5%; }
.phone__btn--power { right: -3px; left: auto; top: 27%; height: 11%; background: linear-gradient(270deg, #2a2a2f, #8a8a92); }
.phone-ring { width: 470px; height: 470px; }

/* floating feature chips: placed around the phone, never on top of each other */
.float-chip { position: absolute; z-index: 4; background: rgba(18, 14, 22, .82); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
:root[data-theme="light"] .float-chip { background: rgba(255, 255, 255, .92); color: var(--ink); border-color: rgba(23, 8, 14, .08); }
.float-chip--1 { top: 12%; inset-inline-start: 0; }
.float-chip--2 { top: 34%; inset-inline-end: 0; }
.float-chip--3 { bottom: 30%; inset-inline-start: 0; }
.float-chip--4 { bottom: 9%; inset-inline-end: 2%; }
@media (max-width: 640px) {
  .phone { width: 210px; border-radius: 42px; }
  .phone::before { border-radius: 38px; }
  .phone__screen { inset: 8px; border-radius: 34px; }
  .phone__island { height: 20px; top: 9px; }
  .phone-ring { width: 330px; height: 330px; }
  .float-chip--1 { top: 6%; } .float-chip--2 { top: 26%; } .float-chip--3 { bottom: 24%; } .float-chip--4 { bottom: 4%; }
}

/* Paint the Doha backdrop independently of video and JavaScript. */
.hero__media, .phero__media:not(.phero__media--plain) {
  background: #08090d url("/assets/doha-opening.webp") center / cover no-repeat;
}
.hero__media .vid, .phero__media .vid { background: transparent; }
@media (max-width: 1023px) {
  .hero__media, .phero__media:not(.phero__media--plain) {
    background-image: url("/assets/doha-opening-mobile.webp");
  }
  .services__bar { position: static; padding-block-start: 24px; }
  .js:not(.no-motion) .services__bar {
    position: sticky;
    top: calc(var(--nav-h) + 4px);
    padding-block: 10px;
    background: #100a10;
  }
  .no-motion .services__progress { display: none; }
  .step, .step.is-active { opacity: 1; }
  .step p, .step.is-active p { max-height: none; }
  .services__track { gap: 16px; will-change: auto; }
  .svc { position: relative; top: auto; width: 100%; margin-bottom: 0; scroll-margin-top: calc(var(--nav-h) + 52px); }
  .svc__body { height: auto; min-height: 0; gap: 18px; padding: clamp(16px, 5vw, 32px); }
  .svc__art { inset-inline-end: 0; }
  .svc__main, .svc__caps li { min-width: 0; overflow-wrap: anywhere; }
  .svc__main p { line-height: 1.7; }
}

@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .hero__inner { animation: none; }
  .hero__meta, .hero__title, .hero__lead, .hero__actions {
    animation: mobile-opening .72s var(--ease) backwards;
  }
  .hero__meta { animation-delay: .58s; }
  .hero__title { animation-delay: .67s; }
  .hero__lead { animation-delay: .78s; }
  .hero__actions { animation-delay: .89s; }
  .hero__media { animation: mobile-backdrop 1.8s ease-out .46s backwards; }
  .ticker__row:not(.ticker__row--ghost) { width: max-content; }
}
@keyframes mobile-opening { from { opacity: .35; translate: 0 24px; } }
@keyframes mobile-backdrop { from { scale: 1.07; } }
