/* Novexa page CSS: the bright theme, Arabic, and the drawn UI inside visuals (the kit has no
   window, chat or flow pieces for this client). Loaded after the kit and the :root block. */

/* ---------- the bright theme (dim is the dealt :root) */
html[data-theme="bright"] {
  --p-bg: #ffffff; --p-surface: #f5f6fb; --p-ink: #0b1020; --p-muted: #4b5272;
  --p-accent: #3b5bff; --p-accent-ink: #ffffff; --p-action: #3b5bff; --p-action-ink: #ffffff;
  --p-inv-bg: #0b1020; --p-inv-surface: #12142a; --p-inv-ink: #eef0f8; --p-inv-muted: #a0a6c2;
  --p-inv-accent: #5b7bff; --p-inv-accent-ink: #07080f; --p-inv-action: #5b7bff; --p-inv-action-ink: #07080f;
  --nx-purple: #7c4dff;
  color-scheme: light;
}
html:not([data-theme="bright"]) { color-scheme: dark; }

/* the lit ground behind UI: a deep night blue on the dim theme, the kit's sky on the bright one */
html[data-ground="sky"]:not([data-theme="bright"]) {
  --ground-bg: #10122a; --ground-surface: #1a1d3d; --ground-ink: #eef0f8; --ground-muted: #a7acd0; --ground-accent: #7c6bff;
}

html[data-ground="sky"][data-theme="bright"] { --ground-bg: #eef0fb; --ground-surface: #e3e6fa; --ground-ink: #0b1020; --ground-muted: #4b5272; --ground-accent: #7c4dff; }
/* ---------- UI tokens, per theme */
:root {
  --w-bg: #12142a; --w-bar: #0d0f22; --w-line: rgb(255 255 255 / .08); --w-ink: #e8edf7; --w-muted: #95a2bb;
  --w-soft: rgb(255 255 255 / .05); --w-on: rgb(255 255 255 / .08);
  --ok: #b9a3ff; --ok-bg: rgb(157 123 255 / .16); --run: #9fb1ff; --run-bg: rgb(91 123 255 / .18);
  --wait: #b9c3d6; --wait-bg: rgb(255 255 255 / .07); --w-acc: #5b7bff; --w-acc-ink: #07080f;
  --w-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 28px 64px -28px rgb(0 0 0 / .85);
}
html[data-theme="bright"] {
  --w-bg: #ffffff; --w-bar: #f6f8fb; --w-line: rgb(11 19 36 / .08); --w-ink: #0b1324; --w-muted: #5a6478;
  --w-soft: rgb(11 19 36 / .035); --w-on: rgb(59 91 255 / .08);
  --ok: #5b2fd6; --ok-bg: #eee8ff; --run: #2b47e0; --run-bg: #e6eaff; --wait: #4a5568; --wait-bg: #eef1f5;
  --w-acc: #3b5bff; --w-acc-ink: #ffffff;
  --w-shadow: 0 0 0 1px rgb(11 19 36 / .07), 0 24px 56px -28px rgb(11 19 36 / .35);
}

/* ---------- Arabic */
html[lang="ar"] {
  --font-display: "IBM Plex Sans Arabic", "Instrument Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans Arabic", "Instrument Sans", system-ui, sans-serif;
  --display-tracking: 0; --display-tracking-xl: 0;
}
html[lang="ar"] :is(h1, h2, h3, .t-stat, .pl__word) { letter-spacing: 0; line-height: 1.22; }
html[lang="ar"] .nx-ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .m-arrow, [dir="rtl"] .nx-flip { transform: scaleX(-1); }

/* ---------- nav extras: the language word and the theme switch */
.nx-theme { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-btn, 10px);
  border: 1px solid var(--line-strong, var(--line)); background: transparent; color: var(--ink); cursor: pointer;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease; }
.nx-theme:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .nx-theme:hover { background: var(--w-soft); } }
.nx-theme svg { width: 18px; height: 18px; }
.nx-theme .i-sun { display: none; }
html[data-theme="bright"] .nx-theme .i-sun { display: block; }
html[data-theme="bright"] .nx-theme .i-moon { display: none; }
.nx-lang { font-weight: 500; }
html[lang="en"] .nx-lang { font-family: "IBM Plex Sans Arabic", var(--font-text); }
@media (max-width: 639px) { .nav__actions .nx-lang { display: none; } }
.nav .mark[data-mark] { color: var(--p-accent); }
.nav__logo, .footer .nav__logo { font-weight: 500; letter-spacing: -0.01em; }

/* ---------- the window */
.nx-win { background: var(--w-bg); color: var(--w-ink); border-radius: 14px; overflow: hidden; box-shadow: var(--w-shadow);
  font: 400 14px/1.4 var(--font-text); }
.nx-win__bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; background: var(--w-bar);
  border-bottom: 1px solid var(--w-line); font-size: 13px; color: var(--w-muted); white-space: nowrap; }
.nx-win__bar b { color: var(--w-ink); font-weight: 500; }
.nx-dots { display: flex; gap: 6px; } .nx-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--w-line); }
.nx-win__body { display: grid; grid-template-columns: 172px minmax(0, 1fr); }
.nx-side { padding: 14px 10px; border-inline-end: 1px solid var(--w-line); display: grid; align-content: start; gap: 2px; font-size: 13px; color: var(--w-muted); }
.nx-side > span { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 9px; border-radius: 8px; white-space: nowrap; }
.nx-side > span.is-on { background: var(--w-on); color: var(--w-ink); font-weight: 500; }
.nx-side img, .nx-side svg { width: 16px; height: 16px; flex: none; }
.nx-side .lbl { height: 26px; margin-top: 8px; font-size: 13px; opacity: .8; }
.nx-main { padding: 18px 20px; display: grid; align-content: start; gap: 14px; min-width: 0; }
.nx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nx-head h4 { margin: 0; font: 500 16px/1.25 var(--font-text); color: var(--w-ink); }
.nx-head small { display: block; color: var(--w-muted); font-size: 13px; margin-top: 2px; }
.nx-live { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 500; white-space: nowrap; }
.nx-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: nx-pulse 2.4s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes nx-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, currentColor 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.nx-flow { display: grid; border-top: 1px solid var(--w-line); }
.nx-step { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--w-line); font-size: 13px; }
.nx-step b { display: block; font-weight: 500; color: var(--w-ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-step small { color: var(--w-muted); font-size: 13px; }
.nx-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--w-soft); border: 1px solid var(--w-line); }
.nx-ic img { width: 18px; height: 18px; }
.nx-ic--ui img { filter: var(--nx-glyph, invert(1) brightness(1.6)); opacity: .9; }
html[data-theme="bright"] .nx-ic--ui img { --nx-glyph: none; }
.nx-chip { justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--ok-bg); color: var(--ok); }
.nx-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nx-chip--run { background: var(--run-bg); color: var(--run); }
.nx-chip--wait { background: var(--wait-bg); color: var(--wait); }

/* a small solid card over a window or on a panel */
.nx-card { background: var(--w-bg); color: var(--w-ink); border-radius: 14px; padding: 16px 18px; box-shadow: var(--w-shadow); font: 400 14px/1.4 var(--font-text); }
.nx-card h5 { margin: 0; font: 500 14px/1.3 var(--font-text); }
.nx-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.nx-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--w-line); font-size: 13px; color: var(--w-muted); }
.nx-line:first-of-type { border-top: 0; }
.nx-line b { color: var(--w-ink); font-weight: 500; }
.nx-line i { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); font-style: normal; font-size: 12px; font-weight: 700; }

/* chat */
.nx-chat { display: grid; gap: 10px; align-content: start; padding: 16px 18px; font-size: 14px; }
.nx-msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; background: var(--w-soft); border: 1px solid var(--w-line); }
.nx-msg--me { justify-self: end; background: var(--w-acc); color: var(--w-acc-ink); border-color: transparent; border-end-end-radius: 6px; }
.nx-msg--bot { border-end-start-radius: 6px; }
.nx-msg small { display: block; margin-top: 5px; font-size: 13px; color: var(--w-muted); }
.nx-tool { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--w-muted); }
.nx-tool::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; }
.nx-acts { display: flex; gap: 8px; } .nx-acts span { height: 30px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; background: var(--w-acc); color: var(--w-acc-ink); }
.nx-acts span + span { background: var(--w-soft); color: var(--w-ink); border: 1px solid var(--w-line); }

/* a small website on a phone or a browser */
.nx-site { display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--w-bg); color: var(--w-ink); font: 400 13px/1.35 var(--font-text); }
.nx-site__nav { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--w-line); color: var(--w-muted); white-space: nowrap; }
.nx-site__nav b { color: var(--w-ink); font-weight: 500; margin-inline-end: auto; }
.nx-site__nav em { font-style: normal; padding: 3px 9px; border-radius: 99px; background: var(--w-soft); border: 1px solid var(--w-line); color: var(--w-ink); }
.nx-site__hero { padding: 20px 16px; display: grid; align-content: start; gap: 10px; }
.nx-site__hero strong { font: 500 22px/1.15 var(--font-display); letter-spacing: -0.01em; }
.nx-site__hero span { color: var(--w-muted); }
.nx-site__btns { display: flex; gap: 8px; } .nx-site__btns i { font-style: normal; height: 30px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; background: var(--w-acc); color: var(--w-acc-ink); font-weight: 500; }
.nx-site__btns i + i { background: var(--w-soft); color: var(--w-ink); border: 1px solid var(--w-line); }
.nx-site__tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 6px; }
.nx-site__tiles span { height: 56px; border-radius: 10px; background: linear-gradient(160deg, var(--w-on), var(--w-soft)); border: 1px solid var(--w-line); }

/* bars */
.nx-bars { display: grid; gap: 10px; }
.nx-bar { display: grid; grid-template-columns: 92px minmax(0, 1fr) 36px; align-items: center; gap: 10px; font-size: 13px; color: var(--w-muted); }
.nx-bar > span:first-child { color: var(--w-ink); white-space: nowrap; }
.nx-bar > i { height: 10px; border-radius: 99px; background: var(--w-soft); overflow: hidden; }
.nx-bar > i > b { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--w-acc); }
.nx-bar > em { font-style: normal; text-align: end; font-variant-numeric: tabular-nums; color: var(--w-ink); }

/* the collage pieces (triptych): one surface, sized by the collage */
.ly-collage { container-type: inline-size; }
.ly-collage .ly-piece { background: var(--w-bg); box-shadow: var(--w-shadow); border-radius: 14px; }
.ly-collage .ly-piece.nx-card { padding: 4cqw 4.4cqw; }
.ly-collage .nx-phone { padding: 1.6cqw; border-radius: 5.4cqw; background: #05080f; }
html[data-theme="bright"] .ly-collage .nx-phone { background: #0b1324; }
.nx-phone > .nx-site { border-radius: 4cqw; overflow: hidden; }
.nx-tg { width: 34px; height: 20px; border-radius: 99px; background: var(--w-acc); position: relative; flex: none; }
.nx-tg::after { content: ""; position: absolute; inset-inline-end: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--w-acc-ink); }

/* ---------- section helpers */
.nx-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.nx-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.nx-steps li:first-child { border-top: 1px solid var(--line); }
.nx-steps .n { font: var(--display-weight) var(--t-h3)/1 var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.nx-steps h3 { margin: 0; font-size: var(--t-card); font-weight: 500; }
.nx-steps p { margin: var(--s-2) 0 0; color: var(--ink); opacity: .86; max-width: 46ch; }
.nx-dl { margin: 0; display: grid; border-top: 1px solid var(--line); }
.nx-dl > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.nx-dl dt { font-weight: 500; font-size: var(--t-card); }
.nx-dl dd { margin: 0; }
@media (max-width: 639px) { .nx-dl > div { grid-template-columns: 1fr; gap: var(--s-2); } .nx-steps li { grid-template-columns: 40px minmax(0, 1fr); } }

/* the lit visual frame used beside text */
.nx-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background:
    radial-gradient(70% 60% at 20% 10%, color-mix(in oklab, var(--ground-surface) 85%, white 6%), transparent 70%),
    radial-gradient(60% 50% at 90% 100%, color-mix(in oklab, var(--ground-bg) 70%, var(--ground-accent)), transparent 72%),
    var(--ground-bg); }
.nx-frame > .nx-in { position: absolute; inset: var(--s-7); display: grid; align-content: center; gap: var(--s-5); }
@media (max-width: 639px) { .nx-frame > .nx-in { inset: var(--s-4); } }

@media (prefers-reduced-motion: reduce) { .nx-live::before { animation: none; } }

/* interface glyphs drawn as images take the window's ink */
img.nx-g { filter: invert(1) brightness(1.5); opacity: .82; }
html[data-theme="bright"] img.nx-g { filter: none; opacity: .7; }
.nx-mpanel { display: flex; align-items: center; justify-content: center; gap: var(--s-3); --p-h: 120px; }
.nx-mpanel .nx-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--w-bg); border-color: var(--w-line); }
.nx-mpanel .nx-ic img { width: 24px; height: 24px; }
html:not([data-theme="bright"]) .nx-ic--ui img { filter: invert(1) brightness(1.5); }

/* the dealt face runs wide at hero size; the collage column holds three lines of the longest h1 at this scale */
:root { --ly-scale: .9; }

.nx-card h5 img, .nx-line img { display: inline-block; vertical-align: -3px; width: 16px; height: 16px; flex: none; }

/* RTL: the collage window is cut by the frame's left edge, its note card sits lower right */
[dir="rtl"] .hero__art > .ly-piece--main { left: auto; right: var(--s-8); }
[dir="rtl"] .hero__art > .ly-piece--note { left: auto; right: var(--s-6); }
@media (max-width: 1023px) { [dir="rtl"] .hero__art > .ly-piece--main { right: var(--s-6); } [dir="rtl"] .hero__art > .ly-piece--note { right: var(--s-4); } }
@media (max-width: 639px) { [dir="rtl"] .hero__art > .ly-piece--main { right: var(--s-4); } }

/* one look for the main action everywhere, the lit footer included */
html .footer.footer--statement { --action: var(--p-action); --action-ink: var(--p-action-ink); }
.nx-h { margin: 0; font: 500 14px/1.3 var(--font-text); color: var(--w-ink); }
.nx-head .nx-h { font-size: 16px; }

/* =================================================================== the living AI core story */
.story { position: relative; height: 620vh !important; max-height: none !important; background: #07080f; color: #eef2f9; --cta-glow: 0; }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#core-canvas, #car-canvas { position: absolute; top: 0; bottom: 0; inset-inline-start: 38%; inset-inline-end: auto; width: 62% !important; height: 100% !important; display: block;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 12%); mask: linear-gradient(90deg, transparent 0, #000 12%); }
[dir="rtl"] #core-canvas, [dir="rtl"] #car-canvas { -webkit-mask: linear-gradient(270deg, transparent 0, #000 12%); mask: linear-gradient(270deg, transparent 0, #000 12%); }
.story__stage { background: radial-gradient(70% 70% at 70% 50%, #11143a 0%, #07080f 70%); }
[dir="rtl"] .story__stage { background: radial-gradient(70% 70% at 30% 50%, #11143a 0%, #07080f 70%); }
.story::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 66% 45%, #141a4a 0%, #07080f 70%); }
.story.gl-on::before { display: none; }
.story.no-gl .story__stage::after { content: ""; position: absolute; width: 46vmin; aspect-ratio: 1; inset-inline-end: 12vw; top: 26%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d6dcff, #5b7bff 30%, #2a1a6b 70%); box-shadow: 0 0 120px 30px rgb(124 107 255 / .45); animation: nx-breathe 4s ease-in-out infinite; }
@keyframes nx-breathe { 50% { transform: scale(1.04); } }
.story__caps { position: absolute; inset: 0; pointer-events: none; }
.story__caps > .wrap { position: relative; height: 100%; }
.story__cap { position: absolute; inset-inline-start: var(--edge, 0px); top: 50%;
  width: min(34vw, 500px); translate: 0 -50%; opacity: 0; filter: blur(10px); transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.23, 1, .32, 1), transform 900ms cubic-bezier(.23, 1, .32, 1), filter 700ms cubic-bezier(.23, 1, .32, 1); }
.story__cap.on { opacity: 1; filter: none; transform: none; pointer-events: auto; }
.story__cap h1, .story__cap h2 { color: #f4f7fd; margin: 0 0 var(--s-5); font-weight: 500; letter-spacing: var(--display-tracking-xl); text-wrap: balance; }
.story__cap h1 { font-size: clamp(40px, 4.6vw, 76px); line-height: 1.02; }
.story__cap h2 { font-size: clamp(34px, 3.6vw, 60px); line-height: 1.05; }
.story__cap p { color: #a9b6cf; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; margin: 0 0 var(--s-6); max-width: 44ch; }
.story__cap .grad { background: linear-gradient(100deg, #a9b8ff 0%, #5b7bff 40%, #9d7bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story .btn--secondary { --ink: #eef2f9; color: #eef2f9; border-color: rgb(255 255 255 / .28); }
.story .btn--primary { --action: #5b7bff; --action-ink: #07080f; background: #5b7bff; color: #07080f; }
.story__cap--end .btn--primary { box-shadow: 0 0 calc(var(--cta-glow) * 60px) calc(var(--cta-glow) * 8px) rgb(124 107 255 / .6); }
.story__hint { display: inline-flex; align-items: center; gap: 12px; color: #c9cfe6; font-size: 15px; margin-top: var(--s-7); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.story__hint:hover { color: #fff; }
.story__hint i { width: 22px; height: 34px; border: 1.5px solid #8d9ab4; border-radius: 12px; position: relative; }
.story__hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: #cfe0ff; translate: -50% 0; animation: nx-wheel 1.6s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes nx-wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
.story__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-2); }
.story__nums div { padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .04); border: 1px solid rgb(140 140 255 / .22); }
.story__nums b { display: block; font: 500 clamp(26px, 2.3vw, 38px)/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.story__nums span { display: block; margin-top: 6px; font-size: 13px; color: #93a1bd; line-height: 1.35; }
.story__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #b9a3ff; margin-bottom: var(--s-4); }
.story__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: nx-pulse 2s infinite; }
.story__steps { position: absolute; inset-inline-start: 0; bottom: 36px; display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: #5d6a85; }
.story__steps li { display: flex; align-items: center; gap: 8px; transition: color 400ms ease; }
.story__steps li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transition: box-shadow 400ms ease; }
.story__steps li.on { color: #cfe0ff; } .story__steps li.on::before { background: #9d7bff; box-shadow: 0 0 10px #9d7bff; }
.story__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(255 255 255 / .06); }
.story__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #5b7bff, #9d7bff); }
[dir="rtl"] .story__bar i { transform-origin: right; }
@media (max-width: 899px), (max-aspect-ratio: 9/10) {
  .story { height: 560vh !important; }
#core-canvas, #car-canvas { inset-inline: 0; top: 64px; bottom: auto; width: 100% !important; height: 50% !important; -webkit-mask: linear-gradient(#000 80%, transparent); mask: linear-gradient(#000 80%, transparent); }
[dir="rtl"] #core-canvas, [dir="rtl"] #car-canvas { -webkit-mask: linear-gradient(#000 80%, transparent); mask: linear-gradient(#000 80%, transparent); }
  .story__stage, [dir="rtl"] .story__stage { background: radial-gradient(90% 45% at 50% 32%, #11143a 0%, #07080f 75%); }
  .story__cap { inset-inline: 0; width: auto; top: auto; bottom: 48px; translate: none; }
  .story__caps::before { content: ""; position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(transparent, #07080f 34%); }
  .story__cap h1 { font-size: clamp(32px, 9vw, 44px); } .story__cap h2 { font-size: clamp(28px, 7.6vw, 38px); margin-bottom: 12px; }
  .story__cap p { font-size: 16px; margin-bottom: 18px; }
  .story__nums { gap: 8px; } .story__nums div { padding: 10px; } .story__nums span { font-size: 12px; }
  .story__steps { display: none; } .story__hint { display: none; }
  .story__cap .btn-row { gap: 10px; }
}

/* =================================================================== motion layer */
.fx .fx-rv { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 800ms cubic-bezier(.23, 1, .32, 1) var(--d, 0ms), transform 1000ms cubic-bezier(.23, 1, .32, 1) var(--d, 0ms), filter 800ms cubic-bezier(.23, 1, .32, 1) var(--d, 0ms); }
.fx .fx-rv.fx-in { opacity: 1; transform: none; filter: none; }
.fx .card.fx-rv.fx-in { transform: none; }
.fx-w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity 700ms cubic-bezier(.23, 1, .32, 1), transform 800ms cubic-bezier(.23, 1, .32, 1), filter 700ms ease; transition-delay: calc(var(--i) * 55ms); }
.fx-go .fx-w { opacity: 1; transform: none; filter: none; }
.fx-decoding { font-variant-ligatures: none; }
/* cursor light */
.card, .nx-frame, .menu-card { position: relative; }
.card::after, .nx-frame::after, .menu-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgb(91 123 255 / .16), transparent 60%); z-index: 3; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 300ms ease; z-index: 3;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(157 123 255 / .8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (hover: hover) and (pointer: fine) { .card:hover::after, .card:hover::before, .nx-frame:hover::after, .menu-card:hover::after { opacity: 1; } }
.nx-frame, .card--open .panel, .hero__window, .hero__art { transform-style: preserve-3d; will-change: transform; }
.btn--primary { transition: translate 260ms cubic-bezier(.23, 1, .32, 1), transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 200ms ease, box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { box-shadow: 0 10px 34px -8px rgb(91 123 255 / .7); } }
/* the light field behind inner heroes */
.hero { position: relative; isolation: isolate; }
.nx-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .35) 35%, #000 70%); mask: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .35) 35%, #000 70%); }
[dir="rtl"] .nx-field { -webkit-mask: linear-gradient(270deg, transparent 0%, rgb(0 0 0 / .35) 35%, #000 70%); mask: linear-gradient(270deg, transparent 0%, rgb(0 0 0 / .35) 35%, #000 70%); }
.hero--centred .nx-field { -webkit-mask: radial-gradient(70% 60% at 50% 70%, #000, transparent); mask: radial-gradient(70% 60% at 50% 70%, #000, transparent); }
/* chat messages pop in */
.fx-hide { opacity: 0; transform: translateY(8px) scale(.98); }
.fx-pop { animation: nx-pop 520ms cubic-bezier(.23, 1, .32, 1) both; }
@keyframes nx-pop { from { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
/* the integrations marquee */
.nx-marquee { overflow: hidden; padding-block: var(--s-7); border-block: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.nx-marquee__row { display: flex; gap: 56px; width: max-content; animation: nx-marq 38s linear infinite; }
[dir="rtl"] .nx-marquee__row { animation-name: nx-marq-rtl; }
.nx-marquee__row span { display: inline-flex; align-items: center; gap: 12px; font: 500 22px/1 var(--font-display); color: var(--muted); white-space: nowrap; }
.nx-marquee__row img { width: 28px; height: 28px; }
@keyframes nx-marq { to { transform: translateX(-50%); } }
@keyframes nx-marq-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .nx-marquee__row { animation: none; } .fx .fx-rv, .fx-w { opacity: 1; transform: none; filter: none; transition: none; } }

/* brand gradient text: blue leads, purple accents (used sparingly) */
.nx-grad { background: linear-gradient(100deg, var(--p-accent) 10%, var(--nx-purple) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* home: the product's features orbit the dealership core */
.nx-chips-frame { height: 520px; }
.nx-orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.nx-orbit__core { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(135deg, var(--p-accent), var(--nx-purple)); box-shadow: 0 0 60px -6px var(--p-accent); z-index: 2; animation: hubp2 3s ease-in-out infinite; }
@keyframes hubp2 { 50% { transform: scale(1.06); } }
.nx-orbit__core img { width: 46px; height: 46px; filter: brightness(0) invert(1) !important; opacity: 1 !important; }
.nx-orbit::before, .nx-orbit::after { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px dashed color-mix(in oklab, var(--ground-ink) 22%, transparent); }
.nx-orbit::after { width: 190px; height: 190px; border-style: solid; border-color: color-mix(in oklab, var(--nx-purple) 40%, transparent); }
.nx-orbit__chip { position: absolute; left: 50%; top: 50%; padding: 9px 14px; border-radius: 99px; background: var(--w-bg); color: var(--w-ink); font-size: 14px; white-space: nowrap; box-shadow: var(--w-shadow);
  --a: calc(var(--i) * 45deg); animation: orbit 40s linear infinite; translate: -50% -50%; }
@keyframes orbit { from { transform: rotate(var(--a)) translateX(var(--r, 190px)) rotate(calc(-1 * var(--a))); } to { transform: rotate(calc(var(--a) + 360deg)) translateX(var(--r, 190px)) rotate(calc(-1 * var(--a) - 360deg)); } }
.nx-orbit__chip:nth-child(odd) { --r: 165px; }
@media (max-width: 1023px) { .nx-chips-frame { height: 440px; margin-top: var(--s-7); } .nx-orbit__chip { --r: 150px !important; font-size: 13px; } .nx-orbit::before { width: 280px; height: 280px; } }
@media (max-width: 639px) { .nx-chips-frame { height: 380px; } .nx-orbit__chip { --r: 120px !important; padding: 7px 10px; font-size: 12px; } .nx-orbit::before { width: 230px; height: 230px; } .nx-orbit__core { width: 80px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .nx-orbit__chip { animation: none; transform: rotate(var(--a)) translateX(var(--r, 190px)) rotate(calc(-1 * var(--a))); } }

.nx-grad .fx-w, .grad .fx-w { background: linear-gradient(100deg, var(--p-accent), var(--nx-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story .grad .fx-w { background: linear-gradient(100deg, #a9b8ff, #9d7bff); -webkit-background-clip: text; background-clip: text; }

/* the dealership film */
.drive { height: 460vh !important; }
@media (max-width: 899px), (max-aspect-ratio: 9/10) { .drive { height: 420vh !important; } }
.car-tag { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; }
.car-tag > span { display: inline-flex; align-items: center; gap: 10px; translate: -50% calc(-100% - 18px); padding: 10px 14px 10px 10px; border-radius: 14px; white-space: nowrap;
  background: rgb(18 20 42 / .94); border: 1px solid rgb(157 123 255 / .35); color: #eef0f8; font-size: 14px;
  box-shadow: 0 10px 40px -10px rgb(91 123 255 / .55); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity 500ms cubic-bezier(.23, 1, .32, 1), transform 600ms cubic-bezier(.23, 1, .32, 1); }
.car-tag > span::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 1px; height: 18px; background: linear-gradient(rgb(157 123 255 / .8), transparent); }
.car-tag i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #5b7bff, #9d7bff); font-style: normal; font-size: 13px; }
.car-tag.on > span { opacity: 1; transform: none; }
@media (max-width: 899px), (max-aspect-ratio: 9/10) { .car-tag > span { font-size: 12px; padding: 7px 10px 7px 7px; } .car-tag i { width: 22px; height: 22px; } }

@media (max-width: 899px), (max-aspect-ratio: 9/10) { .car-tag:nth-of-type(n+4) { display: none; } }

/* the product reel on the home page */
.reel { position: relative; height: 560px; border-radius: var(--r-lg, 24px); overflow: hidden; background: #05060c; isolation: isolate; box-shadow: 0 0 0 1px rgb(157 123 255 / .18), 0 40px 90px -40px rgb(91 123 255 / .55); }
.reel canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.reel__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(5 6 12 / .72) 0%, rgb(5 6 12 / .25) 45%, transparent 70%), linear-gradient(0deg, rgb(5 6 12 / .7) 0%, transparent 35%); }
[dir="rtl"] .reel__scrim { background: linear-gradient(270deg, rgb(5 6 12 / .72) 0%, rgb(5 6 12 / .25) 45%, transparent 70%), linear-gradient(0deg, rgb(5 6 12 / .7) 0%, transparent 35%); }
.reel__cap { position: absolute; inset-inline-start: 28px; top: 28px; display: grid; gap: 2px; color: #fff; pointer-events: none; }
.reel__cap span { display: block; font: 600 clamp(26px, 3.1vw, 44px)/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; letter-spacing: -.01em;
  clip-path: inset(0 100% 0 0); transform: translateX(-28px); transition: clip-path 700ms cubic-bezier(.77, 0, .175, 1), transform 900ms cubic-bezier(.23, 1, .32, 1); text-shadow: 0 2px 30px rgb(0 0 0 / .5); }
[dir="rtl"] .reel__cap span { clip-path: inset(0 0 0 100%); transform: translateX(28px); font-stretch: 100%; text-transform: none; line-height: 1.25; font-size: clamp(24px, 2.6vw, 38px); }
.reel__cap span:nth-child(2) { transition-delay: 120ms; color: #b9a8ff; } .reel__cap span:nth-child(3) { transition-delay: 240ms; }
.reel__cap--stack span:nth-child(2) { color: #fff; transition-delay: 450ms; } .reel__cap--stack span:nth-child(3) { color: #b9a8ff; transition-delay: 900ms; }
.reel__cap.on span { clip-path: inset(0 0 0 0); transform: none; }
.reel__cap--small { top: auto; bottom: 28px; } .reel__cap--small span { font-size: 15px; letter-spacing: .3em; font-stretch: 100%; color: #cfd6ff; }
.reel__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 0; background: rgb(245 246 251 / .94); overflow: hidden; transform: translateY(100%); transition: transform 600ms cubic-bezier(.23, 1, .32, 1); }
.reel__bar.on { transform: none; }
.reel__bar > div { display: flex; gap: 10px; width: max-content; animation: nx-marq 16s linear infinite; }
[dir="rtl"] .reel__bar > div { animation-name: nx-marq-rtl; }
.reel__bar span { padding: 7px 14px; border-radius: 99px; background: #fff; color: #0b1020; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 0 0 1px rgb(11 16 32 / .08); }
.reel__bar span:nth-child(3n+1) { background: #3b5bff; color: #fff; }
.reel__cut { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.reel__cut.go { animation: reel-cut 260ms ease-out; }
@keyframes reel-cut { 0% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 1023px) { .reel { height: 460px; margin-top: var(--s-7); } }
@media (max-width: 639px) { .reel { height: 360px; } .reel__cap { inset-inline-start: 18px; top: 18px; } .reel__bar span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .reel__bar > div { animation: none; } }

/* =================================================================== real cars */
/* the photo reel */
.reel--photo { background: #05060c; }
.pr__shot { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 120ms linear; }
.pr__shot.on { opacity: 1; }
.pr__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: var(--o, 50% 50%); transform: scale(var(--s0, 1)) translateX(var(--x0, 0%)); }
.pr__shot.run img { animation: pr-move var(--dur, 2.8s) cubic-bezier(.33, 0, .2, 1) forwards; }
.pr__shot:nth-child(1) { --dur: 2.8s; } .pr__shot:nth-child(2) { --dur: 2.7s; } .pr__shot:nth-child(3) { --dur: 1.5s; } .pr__shot:nth-child(4) { --dur: 3.3s; } .pr__shot:nth-child(5) { --dur: 3.6s; }
@keyframes pr-move { from { transform: scale(var(--s0, 1)) translate(var(--x0, 0%), var(--y0, 0%)); } to { transform: scale(var(--s1, 1.1)) translate(var(--x1, 0%), var(--y1, 0%)); } }
.pr__shot--macro.run img { animation-timing-function: cubic-bezier(.7, 0, .84, 0); filter: saturate(.9); }
.pr__door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: repeating-linear-gradient(90deg, #0d0f1c 0 14px, #171a2c 14px 16px, #0a0b15 16px 28px); box-shadow: 0 0 60px rgb(0 0 0 / .7); z-index: 2; }
.pr__door--l { left: 0; } .pr__door--r { right: 0; }
.pr__shot--doors.run .pr__door--l { animation: door-l 1.6s cubic-bezier(.77, 0, .175, 1) .25s forwards; }
.pr__shot--doors.run .pr__door--r { animation: door-r 1.6s cubic-bezier(.77, 0, .175, 1) .25s forwards; }
@keyframes door-l { to { transform: translateX(-102%); } } @keyframes door-r { to { transform: translateX(102%); } }
.pr__seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; background: linear-gradient(transparent, #b9a8ff, #fff, #b9a8ff, transparent); box-shadow: 0 0 30px 8px rgb(157 123 255 / .7); z-index: 3; opacity: 0; }
.pr__shot--doors.run .pr__seam { animation: seam 1.9s ease forwards; }
@keyframes seam { 0% { opacity: 0; transform: scaleY(.2); } 15% { opacity: 1; transform: scaleY(1); } 60% { opacity: 1; } 100% { opacity: 0; } }
.pr__grade { position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: radial-gradient(120% 90% at 60% 55%, transparent 45%, rgb(5 6 12 / .65) 100%), linear-gradient(180deg, rgb(10 12 40 / .25), rgb(20 10 50 / .2)); mix-blend-mode: normal; }
.pr__sweep { position: absolute; inset: -10%; pointer-events: none; z-index: 4; background: linear-gradient(105deg, transparent 42%, rgb(255 255 255 / .16) 50%, transparent 58%); background-size: 300% 100%; mix-blend-mode: screen; animation: sweep 3.2s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.reel--photo .reel__scrim { z-index: 5; } .reel--photo .reel__cap, .reel--photo .reel__bar { z-index: 6; } .reel--photo .reel__cut { z-index: 7; }
@media (prefers-reduced-motion: reduce) { .pr__shot.run img, .pr__sweep { animation: none; } .pr__door { display: none; } }

/* the inspection (Products) */
.insp { position: absolute; top: 0; bottom: 0; inset-inline-start: 36%; inset-inline-end: 0; display: grid; place-items: center; padding: 96px max(24px, 4vw) 80px 0; }
[dir="rtl"] .insp { padding: 96px 0 80px max(24px, 4vw); }
.insp__frame { position: relative; aspect-ratio: 4 / 3; width: min(100%, calc((100svh - 190px) * 4 / 3)); border-radius: 22px; overflow: hidden; background: #0b0c14;
  box-shadow: 0 0 0 1px rgb(157 123 255 / .25), 0 50px 120px -40px rgb(91 123 255 / .55); --scan: 0; --zoom: 1; }
.insp__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 90% at 50% 45%, transparent 55%, rgb(7 8 15 / .7) 100%), linear-gradient(180deg, rgb(12 14 44 / .2), rgb(20 10 50 / .18)); }
.insp__grid { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 600ms ease;
  background-image: linear-gradient(rgb(157 123 255 / .22) 1px, transparent 1px), linear-gradient(90deg, rgb(157 123 255 / .22) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask: linear-gradient(transparent calc(var(--scan) * 100% - 18%), #000 calc(var(--scan) * 100%), transparent calc(var(--scan) * 100% + 2%)); mask: linear-gradient(transparent calc(var(--scan) * 100% - 18%), #000 calc(var(--scan) * 100%), transparent calc(var(--scan) * 100% + 2%)); }
.insp__scan { position: absolute; left: 0; right: 0; height: 2px; top: calc(var(--scan) * 100%); z-index: 3; opacity: 0; background: linear-gradient(90deg, transparent, #b9a8ff 20%, #fff 50%, #b9a8ff 80%, transparent); box-shadow: 0 0 24px 6px rgb(124 107 255 / .6); transition: opacity 400ms ease; }
.insp__frame[data-stage="1"] .insp__grid, .insp__frame[data-stage="2"] .insp__grid { opacity: 1; }
.insp__frame[data-stage="1"] .insp__scan, .insp__frame[data-stage="2"] .insp__scan { opacity: 1; }
.insp__corners { position: absolute; inset: 18px; z-index: 3; pointer-events: none; opacity: .8;
  background: linear-gradient(#b9a8ff, #b9a8ff) top left / 26px 2px, linear-gradient(#b9a8ff, #b9a8ff) top left / 2px 26px, linear-gradient(#b9a8ff, #b9a8ff) top right / 26px 2px, linear-gradient(#b9a8ff, #b9a8ff) top right / 2px 26px,
    linear-gradient(#b9a8ff, #b9a8ff) bottom left / 26px 2px, linear-gradient(#b9a8ff, #b9a8ff) bottom left / 2px 26px, linear-gradient(#b9a8ff, #b9a8ff) bottom right / 26px 2px, linear-gradient(#b9a8ff, #b9a8ff) bottom right / 2px 26px; background-repeat: no-repeat; }
.insp__label { position: absolute; left: 30px; bottom: 26px; z-index: 4; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #cfd6ff; background: rgb(7 8 15 / .85); padding: 6px 10px; border-radius: 99px; }
[dir="rtl"] .insp__label { left: auto; right: 30px; letter-spacing: 0; }
.insp__tag { position: absolute; z-index: 5; width: 0; height: 0; transition: left 700ms cubic-bezier(.23, 1, .32, 1), top 700ms cubic-bezier(.23, 1, .32, 1); }
.insp__tag::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; translate: -50% -50%; background: #fff; box-shadow: 0 0 0 6px rgb(157 123 255 / .35), 0 0 22px 4px rgb(157 123 255 / .7); opacity: 0; transform: scale(.4); transition: opacity 400ms ease, transform 500ms cubic-bezier(.23, 1, .32, 1); }
.insp__tag > span { position: absolute; left: 0; bottom: 20px; translate: -50% 0; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 8px 13px 8px 8px; border-radius: 13px; color: #eef0f8; font-size: 14px;
  background: rgb(14 16 36 / .94); border: 1px solid rgb(157 123 255 / .4); box-shadow: 0 12px 40px -12px rgb(91 123 255 / .6); opacity: 0; transform: translateY(8px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.23, 1, .32, 1); }
.insp__tag i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 12px; background: linear-gradient(135deg, #5b7bff, #9d7bff); }
.insp__tag.on::before { opacity: 1; transform: scale(1); } .insp__tag.on > span { opacity: 1; transform: none; }
@media (max-width: 899px), (max-aspect-ratio: 9/10) {
  .insp, [dir="rtl"] .insp { inset: 64px 0 auto 0; height: 52%; padding: 12px 16px; }
  .insp__frame { width: min(100%, calc((52svh - 40px) * 4 / 3)); border-radius: 16px; }
  .insp__tag > span { font-size: 11px; padding: 5px 8px 5px 5px; gap: 6px; } .insp__tag i { width: 20px; height: 20px; font-size: 10px; }
  .insp__label { display: none; }
}

/* every car on the lot */
#lot.section { height: auto !important; min-height: 0 !important; padding-block: clamp(80px, 10vw, 140px); }
#lot .wrap { height: auto !important; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ───────── the showroom (home) ───────── */
main > section.sr { height: 330vh !important; min-height: 0 !important; padding: 0 !important; background: #07080f; position: relative; }
.sr__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #06070c; color: #eef0f8; isolation: isolate; contain: paint; }
.sr__room { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.sr__wall { position: absolute; inset: 0 0 46% 0; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / .022) 0 1px, transparent 1px 9.09%),
    linear-gradient(180deg, #06070c 0%, #0d0e17 55%, #161722 100%); }
.sr__glow { position: absolute; bottom: -30%; width: 46%; height: 80%; opacity: .55; }
.sr__glow--a { left: 6%; background: radial-gradient(closest-side, rgb(124 77 255 / .55), transparent); }
.sr__glow--b { right: 6%; background: radial-gradient(closest-side, rgb(59 91 255 / .5), transparent); }
.sr__lights { position: absolute; inset: 0 0 46% 0; pointer-events: none; }
.sr__lights i { position: absolute; left: 50%; height: 3px; border-radius: 3px; translate: -50% 0; transform-origin: 50% 50%; opacity: 0;
  background: linear-gradient(90deg, transparent, #f4f5ff 12%, #fff 50%, #f4f5ff 88%, transparent);
  box-shadow: 0 0 18px 4px rgb(220 226 255 / .55), 0 18px 70px 10px rgb(200 210 255 / .12); }
.sr__lights i:nth-child(1) { top: 10%; width: 92%; height: 4px; } .sr__lights i:nth-child(2) { top: 15.5%; width: 70%; }
.sr__lights i:nth-child(3) { top: 20%; width: 52%; height: 2px; } .sr__lights i:nth-child(4) { top: 23.5%; width: 38%; height: 2px; }
.sr__strip { position: absolute; left: 0; right: 0; top: 54%; height: 2px; translate: 0 -1px; background: linear-gradient(90deg, transparent 2%, #5b7bff 22%, #9d7bff 50%, #5b7bff 78%, transparent 98%); box-shadow: 0 0 22px 3px rgb(124 107 255 / .55); opacity: .8; }
.sr__floor { position: absolute; inset: 54% 0 0 0; overflow: hidden; perspective: 600px;
  background: radial-gradient(70% 60% at 50% 0%, rgb(190 200 255 / .1), transparent 70%), linear-gradient(180deg, #14151f 0%, #0b0c13 45%, #05060a 100%); }
.sr__tiles { position: absolute; left: -60%; right: -60%; top: 0; height: 260%; transform-origin: 50% 0; transform: rotateX(78deg);
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 120px), repeating-linear-gradient(0deg, rgb(255 255 255 / .04) 0 2px, transparent 2px 120px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.sr__pool { position: absolute; left: 50%; top: 4%; width: 70%; height: 70%; translate: -50% 0; background: radial-gradient(closest-side, rgb(157 123 255 / .1), transparent); }

/* the cars: positions are % of the stage; depth decides how the camera moves them */
.sr__cars { position: absolute; inset: 0; z-index: 1; }
.sr__car { position: absolute; will-change: transform, opacity, filter; left: calc((var(--x) - var(--w) / 2) * 1%); bottom: calc(var(--b) * 1%); width: calc(var(--w) * 1%); transform-origin: 50% 100%; }
.sr__img { position: relative; display: block; width: 100%; height: auto; z-index: 1; }
.sr__refl { position: absolute; left: 0; top: 100%; width: 100%; height: auto; transform: scaleY(-1); transform-origin: 50% 0; opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(0deg, rgb(0 0 0 / .9) 0%, transparent 28%); mask-image: linear-gradient(0deg, rgb(0 0 0 / .9) 0%, transparent 28%); }
.sr__shadow { position: absolute; left: -2%; right: -6%; bottom: -5%; height: 22%; z-index: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgb(0 0 0 / .85), rgb(0 0 0 / .45) 45%, transparent 72%); }
.sr__shadow::after { content: ""; position: absolute; inset: 30% 6% 30% 2%; background: radial-gradient(closest-side, rgb(0 0 0 / .9), transparent); }
.sr__car--g550 { --x: 50; --b: 40; --w: 17; z-index: 1; }
.sr__car--s580 { --x: 30; --b: 30; --w: 25; z-index: 2; }
.sr__car--x6 { --x: 70; --b: 30.5; --w: 24.5; z-index: 2; }
.sr__car--ghost { --x: 23.5; --b: 6; --w: 38; z-index: 3; }
.sr__car--rr { --x: 76; --b: 5; --w: 37; z-index: 3; }
.sr__car--ghost .sr__img, .sr__car--ghost .sr__refl { --tilt: 0; }

/* the modules pinned to the focus car */
.sr__labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sr__label { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.sr__label > i { position: absolute; width: 10px; height: 10px; border-radius: 50%; translate: -50% -50%; background: #fff; box-shadow: 0 0 0 5px rgb(157 123 255 / .3), 0 0 18px 3px rgb(124 107 255 / .8); opacity: 0; transform: scale(.4); transition: opacity 300ms ease, transform 400ms cubic-bezier(.23, 1, .32, 1); }
.sr__label > span { position: absolute; top: 0; translate: 0 -50%; display: grid; gap: 1px; padding: 9px 14px; border-radius: 12px; white-space: nowrap;
  background: rgb(14 16 36 / .92); border: 1px solid rgb(157 123 255 / .38); box-shadow: 0 14px 40px -14px rgb(91 123 255 / .6);
  opacity: 0; transition: opacity 400ms ease, transform 500ms cubic-bezier(.23, 1, .32, 1); }
.sr__label > span::before { content: ""; position: absolute; top: 50%; width: 46px; height: 1px; }
.sr__label--l > span { right: 52px; transform: translateX(-10px); } .sr__label--l > span::before { left: 100%; background: linear-gradient(90deg, rgb(157 123 255 / .9), rgb(255 255 255 / .2)); }
.sr__label--r > span { left: 52px; transform: translateX(10px); } .sr__label--r > span::before { right: 100%; background: linear-gradient(270deg, rgb(157 123 255 / .9), rgb(255 255 255 / .2)); }
.sr__label b { font-weight: 600; font-size: 15px; color: #fff; } .sr__label em { font-style: normal; font-size: 12.5px; color: #b9c2e6; }
.sr__label.on > i { opacity: 1; transform: scale(1); } .sr__label.on > span { opacity: 1; transform: none; }

/* words */
.sr__say { position: absolute; z-index: 5; left: 0; right: 0; top: 18%; margin: 0; text-align: center; pointer-events: none; display: grid; gap: .1em;
  font: 600 clamp(34px, 5.2vw, 76px)/1.02 var(--font-display); letter-spacing: -.025em; }
.sr__say span { display: block; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 600ms cubic-bezier(.23, 1, .32, 1), transform 700ms cubic-bezier(.23, 1, .32, 1), filter 600ms ease; }
.sr__say span + span { background: linear-gradient(100deg, #a9b8ff, #9d7bff); -webkit-background-clip: text; background-clip: text; color: transparent; transition-delay: 140ms; }
.sr__say.on span { opacity: 1; transform: none; filter: none; }
[dir="rtl"] .sr__say { letter-spacing: 0; line-height: 1.3; }
.sr__end { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; pointer-events: none; }
.sr__end > .wrap { flex: none; }
.sr__copy { max-width: 440px; display: grid; gap: 18px; pointer-events: auto; }
.sr__copy > * { margin: 0; opacity: 0; transform: translateY(16px); transition: opacity 600ms cubic-bezier(.23, 1, .32, 1), transform 700ms cubic-bezier(.23, 1, .32, 1); }
.sr__copy > :nth-child(2) { transition-delay: 80ms; } .sr__copy > :nth-child(3) { transition-delay: 160ms; } .sr__copy > :nth-child(4) { transition-delay: 240ms; }
.sr__end.on .sr__copy > * { opacity: 1; transform: none; }
.sr__end:not(.on) .sr__copy { pointer-events: none; }
.sr__kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #a9b8ff; } [dir="rtl"] .sr__kicker { letter-spacing: 0; font-size: 15px; }
.sr__copy h2 { color: #fff; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -.02em; } [dir="rtl"] .sr__copy h2 { letter-spacing: 0; line-height: 1.3; }
.sr__copy p:not(.sr__kicker) { color: #c4cae2; font-size: 17px; line-height: 1.55; }

/* doors and light */
.sr__dark { position: absolute; inset: 0; z-index: 4; background: #020206; pointer-events: none; }
.sr__doors { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.sr__door { position: absolute; top: 0; bottom: 0; width: 50.2%; will-change: transform;
  background: linear-gradient(180deg, rgb(255 255 255 / .03), transparent 30%, rgb(0 0 0 / .4)), repeating-linear-gradient(90deg, #0c0d17 0 46px, #151729 46px 48px, #090a12 48px 94px, #1a1c30 94px 95px); }
.sr__door--l { left: 0; box-shadow: inset -40px 0 60px -30px rgb(0 0 0 / .8); } .sr__door--r { right: 0; box-shadow: inset 40px 0 60px -30px rgb(0 0 0 / .8); }
.sr__door::after { content: ""; position: absolute; top: 50%; width: 3px; height: 70px; translate: 0 -50%; border-radius: 3px; background: linear-gradient(#5b7bff, #9d7bff); box-shadow: 0 0 14px rgb(124 107 255 / .8); }
.sr__door--l::after { right: 18px; } .sr__door--r::after { left: 18px; }
.sr__seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; opacity: 0; background: linear-gradient(transparent, #b9a8ff 20%, #fff 50%, #b9a8ff 80%, transparent); box-shadow: 0 0 40px 12px rgb(157 123 255 / .6); }
.sr__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 8; background: rgb(255 255 255 / .06); }
.sr__progress i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #5b7bff, #9d7bff); }
[dir="rtl"] .sr__progress i { transform-origin: 100% 50%; }

/* tablet and phone: a simpler composition and a shorter run */
@media (max-width: 1023px) {
  main > section.sr { height: 290vh !important; }
  .sr__car--g550 { --x: 50; --b: 39; --w: 22; } .sr__car--s580 { --x: 26; --b: 30; --w: 30; } .sr__car--x6 { --x: 74; --b: 30.5; --w: 30; }
  .sr__car--ghost { --x: 25; --b: 8; --w: 46; } .sr__car--rr { --x: 76; --b: 6; --w: 45; }
}
@media (max-width: 759px), (max-aspect-ratio: 9/10) {
  main > section.sr { height: 240vh !important; }
  .sr__wall, .sr__lights { inset: 0 0 52% 0; } .sr__strip { top: 48%; } .sr__floor { inset: 48% 0 0 0; }
  .sr__car--g550 { --x: 50; --b: 47; --w: 38; } .sr__car--s580 { --x: 20; --b: 39; --w: 48; } .sr__car--x6 { --x: 80; --b: 39.5; --w: 48; }
  .sr__car--ghost { --x: 26; --b: 22; --w: 72; } .sr__car--rr { --x: 74; --b: 19; --w: 70; }
  .sr__say { top: 15%; font-size: clamp(30px, 8.6vw, 44px); padding-inline: 20px; }
  .sr__end { align-items: flex-start; padding-top: 80px; }
  .sr__copy { gap: 12px; } .sr__copy h2 { font-size: 27px; } .sr__copy p:not(.sr__kicker) { font-size: 15px; }
  .sr__label > span { padding: 6px 10px; } .sr__label b { font-size: 12.5px; } .sr__label em { display: none; }
  .sr__label--l > span { right: 30px; } .sr__label--r > span { left: 30px; } .sr__label > span::before { width: 24px; }
  .sr__label--up > span, .sr__label--down > span { left: 0; right: auto; transform: translateY(6px); }
  .sr__label--up > span { top: auto; bottom: 16px; translate: -50% 0; } .sr__label--down > span { top: 16px; translate: -50% 0; }
  .sr__label--up > span::before, .sr__label--down > span::before { left: 50%; right: auto; width: 1px; height: 12px; }
  .sr__label--up > span::before { top: 100%; background: linear-gradient(180deg, rgb(255 255 255 / .2), rgb(157 123 255 / .9)); }
  .sr__label--down > span::before { top: auto; bottom: 100%; background: linear-gradient(0deg, rgb(255 255 255 / .2), rgb(157 123 255 / .9)); }
}
/* reduced motion: a still of the whole showroom, the copy beside it, no pinning */
@media (prefers-reduced-motion: reduce) {
  main > section.sr { height: auto !important; }
  .sr__stage { position: relative; }
  .sr__doors, .sr__dark, .sr__say, .sr__labels, .sr__progress { display: none; }
  .sr__lights i { opacity: 1; }
  .sr__copy > * { transition: none; opacity: 1; transform: none; }
  .sr__stage { height: auto; min-height: 0; aspect-ratio: auto; }
  .sr__end { position: relative; inset: auto; padding: clamp(96px, 12vh, 140px) 0 0; }
  .sr__copy { max-width: 620px; }
  .sr__scene-still { display: block; }
  .sr__room, .sr__cars { top: auto; height: var(--still-h); bottom: 0; }
  .sr__stage { --still-h: min(100svh, 58vw); }
  .sr__stage::after { content: ""; display: block; height: var(--still-h); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 759px), (prefers-reduced-motion: reduce) and (max-aspect-ratio: 9/10) {
  .sr__stage { --still-h: 130vw; }
  .sr__end { padding-top: 88px; }
}

/* inspection: the Range Rover cut-out in a small showroom */
.insp__room { position: absolute; inset: 0; background:
  linear-gradient(180deg, transparent 0 63%, rgb(124 107 255 / .55) 63%, rgb(124 107 255 / .55) calc(63% + 1px), transparent calc(63% + 1px)),
  radial-gradient(60% 40% at 50% 63%, rgb(157 123 255 / .14), transparent 70%),
  linear-gradient(180deg, #07080f 0%, #11121c 62%, #171824 63%, #0a0b11 85%, #05060a 100%); }
.insp__room::before { content: ""; position: absolute; left: 14%; right: 14%; top: 9%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #fff 15%, #fff 85%, transparent); box-shadow: 0 0 18px 4px rgb(220 226 255 / .45), 0 30px 80px 20px rgb(200 210 255 / .08); }
.insp__car { position: absolute; left: 8%; width: 84%; bottom: 13%; transform: scale(var(--zoom, 1)); transform-origin: 50% 60%; transition: transform 1200ms cubic-bezier(.23, 1, .32, 1); }
.insp__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.insp__car .sr__refl { opacity: .22; }

/* every car on the lot: cut-outs on a dark showroom floor */
.lot { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--g-gap, 24px); margin-top: var(--s-8); }
.lot__car { margin: 0; position: relative; border-radius: 20px; overflow: hidden; grid-column: span 2; aspect-ratio: 4 / 3.2; isolation: isolate;
  background: radial-gradient(70% 45% at 50% 70%, rgb(157 123 255 / .14), transparent 70%), linear-gradient(180deg, #0a0b13 0%, #13141f 58%, #1a1b27 58.4%, #0b0c12 100%); }
.lot__car--big { grid-column: span 3; aspect-ratio: 16 / 10; }
.lot__pic { position: absolute; left: 9%; right: 9%; bottom: 24%; transition: transform 700ms cubic-bezier(.23, 1, .32, 1); }
.lot__car--big .lot__pic { left: 14%; right: 14%; bottom: 20%; }
.lot__pic img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.lot__car figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; }
.lot__car figcaption b { font-weight: 500; font-size: 16px; }
.lot__car .nx-chip { background: rgb(157 123 255 / .25); color: #e4dcff; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .lot__car:hover .lot__pic { transform: scale(1.03); } }
@media (max-width: 1023px) { .lot { grid-template-columns: 1fr 1fr; } .lot__car, .lot__car--big { grid-column: span 1; aspect-ratio: 4 / 3.2; } .lot__car--big .lot__pic { left: 9%; right: 9%; bottom: 24%; } .lot__car:last-child { grid-column: span 2; aspect-ratio: 16 / 9; } .lot__car:last-child .lot__pic { left: 22%; right: 22%; } }
@media (max-width: 639px) { .lot { grid-template-columns: 1fr; } .lot__car, .lot__car:last-child { grid-column: span 1; aspect-ratio: 4 / 3.4; } .lot__pic, .lot__car--big .lot__pic, .lot__car:last-child .lot__pic { left: 13%; right: 13%; bottom: 31%; } }

/* ═════════ redesign: one clear story per page ═════════ */
.chap { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-5); }
.chap b { font-weight: 600; color: var(--p-accent); padding: 3px 8px; border-radius: 99px; border: 1px solid color-mix(in oklab, var(--p-accent) 45%, transparent); letter-spacing: .04em; }
[dir="rtl"] .chap { letter-spacing: 0; font-size: 15px; }
.story .chap { color: #a9b6cf; } .story .chap b { color: #a9b8ff; }

/* home hero: the AI core holds one pose; no long scroll */
main > section.story--hero { height: 100vh !important; height: 100svh !important; min-height: 620px !important; }
.story--hero .story__cap { opacity: 1; filter: none; transform: none; }
.story--hero .story__cap h1 { font-size: clamp(38px, 4.4vw, 70px); max-width: 15ch; }
@media (max-width: 899px), (max-aspect-ratio: 9/10) { .story--hero .story__cap { top: auto; bottom: 7%; transform: none; } }

/* what AI is: three living cards */
.cans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g-gap, 24px); margin-top: var(--s-8); }
.can { border-radius: 22px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: 230px auto;
  --w-acc: var(--p-accent); --w-acc-ink: #fff; --w-surf: var(--surface); --w-line: var(--line); --w-muted: var(--muted); }
.can__vis { display: grid; place-items: center; padding: 22px; background: radial-gradient(80% 90% at 50% 100%, color-mix(in oklab, var(--p-accent) 14%, transparent), transparent 70%); border-bottom: 1px solid var(--line); overflow: hidden; }
.can__txt { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.can__txt h3 { margin: 4px 0 0; font-size: 24px; font-weight: 500; } .can__txt p { margin: 0; color: var(--muted); line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .can { transition: transform 300ms cubic-bezier(.23, 1, .32, 1), border-color 300ms; } .can:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--p-accent) 45%, var(--line)); } }
@media (max-width: 1023px) { .cans { grid-template-columns: 1fr; } .can { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .can__vis { border-bottom: 0; border-inline-end: 1px solid var(--line); min-height: 220px; } }
@media (max-width: 639px) { .can { grid-template-columns: 1fr; } .can__vis { border-inline-end: 0; border-bottom: 1px solid var(--line); } }

.fv-pred { width: min(320px, 100%); overflow: visible; }
.fv-pred .gr path { stroke: var(--line); stroke-width: 1; }
.fv-pred .past, .fv-pred .next { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fv-pred .past { stroke: var(--p-accent); stroke-dasharray: 260; stroke-dashoffset: 260; animation: pred-draw 4s cubic-bezier(.23, 1, .32, 1) infinite; }
.fv-pred .next { stroke: var(--nx-purple); stroke-dasharray: 6 7; opacity: 0; animation: pred-next 4s ease infinite; }
.fv-pred .area { fill: color-mix(in oklab, var(--p-accent) 16%, transparent); opacity: 0; animation: pred-area 4s ease infinite; }
.fv-pred .now { fill: var(--bg); stroke: var(--nx-purple); stroke-width: 3; opacity: 0; animation: pred-next 4s ease infinite; }
.fv-pred text { fill: var(--muted); font-size: 12px; opacity: 0; animation: pred-next 4s ease infinite; }
@keyframes pred-draw { 0% { stroke-dashoffset: 260; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes pred-area { 0%, 25% { opacity: 0; } 45%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pred-next { 0%, 40% { opacity: 0; } 55%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* what it adds */
.p-statement { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; max-width: 34ch; letter-spacing: -.01em; }
[dir="rtl"] .p-statement { line-height: 1.6; letter-spacing: 0; }
.vals { margin-top: var(--s-8); }

/* message → finished task */
.lane--flow ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1023px) { .lane--flow ol { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .lane--flow ol { grid-template-columns: 1fr 1fr; } }

/* about: an orbit of what we do around Amman */
.ab-hero .hero-text { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: var(--s-8); text-align: start; }
.ab-hero .hero__c { align-items: flex-start; text-align: start; margin: 0; }
.orbit { position: relative; aspect-ratio: 1; width: min(460px, 100%); justify-self: center; }
.orbit__core { position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #8ea2ff, var(--p-accent) 45%, #3b2fb8 100%); box-shadow: 0 0 60px 6px color-mix(in oklab, var(--p-accent) 45%, transparent); animation: core-breathe 4s ease-in-out infinite; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--p-accent) 35%, var(--line)); }
.orbit__ring.r1 { inset: 24%; } .orbit__ring.r2 { inset: 11%; border-style: dashed; animation: spin 40s linear infinite; } .orbit__ring.r3 { inset: 0; opacity: .6; }
.orbit__dot { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgb(0 0 0 / .5);
  animation: orbit 24s linear infinite; animation-delay: calc(var(--i) * -4s); }
.orbit__dot img { width: 22px; height: 22px; }
@keyframes orbit { from { transform: rotate(0turn) translateX(min(200px, 39vw)) rotate(0turn); } to { transform: rotate(1turn) translateX(min(200px, 39vw)) rotate(-1turn); } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes core-breathe { 50% { box-shadow: 0 0 90px 14px color-mix(in oklab, var(--p-accent) 55%, transparent); } }
@media (max-width: 899px) { .ab-hero .hero-text { grid-template-columns: 1fr; } .orbit { width: min(320px, 82vw); } @keyframes orbit { from { transform: rotate(0turn) translateX(min(138px, 37vw)) rotate(0turn); } to { transform: rotate(1turn) translateX(min(138px, 37vw)) rotate(-1turn); } } }

/* vision and mission, set large */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.vm__item { display: grid; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.vm__k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accent); font-weight: 600; } [dir="rtl"] .vm__k { letter-spacing: 0; font-size: 15px; }
.vm__t { margin: 0; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.vm__t--m { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; letter-spacing: -.01em; color: var(--muted); }
[dir="rtl"] .vm__t { letter-spacing: 0; line-height: 1.35; } [dir="rtl"] .vm__t--m { line-height: 1.6; }
@media (max-width: 899px) { .vm { grid-template-columns: 1fr; } }

/* why choose us: a numbered list that lights up in turn */
.why { list-style: none; margin: var(--s-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); position: relative; }
[dir="rtl"] .why li { padding: 28px 0 30px 24px; }
.why li::before { content: ""; position: absolute; inset-inline-start: 0; top: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--p-accent), var(--nx-purple)); animation: why-run 9s linear infinite; animation-delay: calc(var(--i) * 1.5s); }
[dir="rtl"] .why li::before { transform-origin: 100% 50%; }
@keyframes why-run { 0% { transform: scaleX(0); } 12% { transform: scaleX(1); opacity: 1; } 16%, 100% { transform: scaleX(1); opacity: 0; } }
.why .n { font-size: 14px; font-weight: 600; color: var(--p-accent); padding-top: 5px; }
.why h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; } .why p { margin: 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 1023px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .why { grid-template-columns: 1fr; } }

/* services: index + nine animated cards */
.sv-hero .hero__c { max-width: 980px; }
.sv-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--s-7); }
.sv-index a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink); text-decoration: none; transition: border-color 200ms, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.sv-index a b { color: var(--p-accent); font-weight: 600; font-size: 12px; }
.sv-index a:hover { border-color: var(--p-accent); transform: translateY(-1px); } .sv-index a:active { transform: scale(.97); }
.svg9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g-gap, 24px); margin-top: var(--s-8); }
.sv { scroll-margin-top: 96px; border-radius: 22px; padding: 0 24px 24px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; overflow: hidden;
  --a: var(--p-accent); --b: var(--nx-purple); }
.sv__vis { height: 150px; margin: 0 -24px 6px; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 110%, color-mix(in oklab, var(--a) 16%, transparent), transparent 70%); overflow: hidden; }
.sv__top { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.sv__n { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.sv h3 { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.2; } .sv p { margin: 0; color: var(--muted); line-height: 1.55; }
.sv__eg { margin-top: 6px !important; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink) !important; font-size: 15px; }
.sv__eg span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--p-accent); margin-bottom: 3px; } [dir="rtl"] .sv__eg span { letter-spacing: 0; font-size: 13px; }
.sv:target { border-color: var(--p-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--p-accent) 25%, transparent); }
@media (hover: hover) and (pointer: fine) { .sv { transition: transform 300ms cubic-bezier(.23, 1, .32, 1), border-color 300ms; } .sv:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--a) 50%, var(--line)); } .sv:hover .mg * { animation-play-state: running; } }
@media (max-width: 1023px) { .svg9 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .svg9 { grid-template-columns: 1fr; } }

/* the nine motion graphics */
.mg { --t: 3.2s; position: relative; }
.mg-auto { display: flex; gap: 10px; align-items: center; }
.mg-auto span { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; animation: mg-lit var(--t) ease infinite; }
.mg-auto span:nth-of-type(2) { animation-delay: calc(var(--t) / 3); } .mg-auto span:nth-of-type(3) { animation-delay: calc(var(--t) * 2 / 3); }
.mg-auto .d { position: absolute; top: -18px; inset-inline-start: 0; width: 22px; height: 28px; border-radius: 4px; background: var(--ink); opacity: .85; animation: mg-doc var(--t) cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes mg-lit { 0%, 30% { background: var(--a); color: #fff; border-color: var(--a); } 34%, 100% { background: var(--surface); color: inherit; border-color: var(--line); } }
@keyframes mg-doc { 0% { transform: translateX(10px); } 33% { transform: translateX(80px); } 66% { transform: translateX(160px); } 100% { transform: translateX(230px); opacity: 0; } }
[dir="rtl"] .mg-auto .d { animation-name: mg-doc-r; } @keyframes mg-doc-r { 0% { transform: translateX(-10px); } 33% { transform: translateX(-80px); } 66% { transform: translateX(-160px); } 100% { transform: translateX(-230px); opacity: 0; } }
.mg-film { width: 220px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #0b0d18; }
.mg-film .strip { display: flex; gap: 6px; padding: 12px 6px; width: max-content; animation: mg-strip 6s linear infinite; }
.mg-film .strip i { width: 70px; height: 60px; border-radius: 6px; background: linear-gradient(135deg, color-mix(in oklab, var(--a) 70%, #000), color-mix(in oklab, var(--b) 60%, #000)); }
.mg-film .strip i:nth-child(even) { background: linear-gradient(135deg, #2a2f4d, color-mix(in oklab, var(--a) 40%, #000)); }
.mg-film .play { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .92); clip-path: none; }
.mg-film .play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 11px solid #0b0d18; border-top: 7px solid transparent; border-bottom: 7px solid transparent; translate: 2px 0; }
@keyframes mg-strip { to { transform: translateX(-304px); } }
.mg-funnel { width: 200px; display: grid; gap: 6px; justify-items: center; }
.mg-funnel i { display: block; height: 18px; width: var(--w); border-radius: 6px; background: color-mix(in oklab, var(--a) calc(40% + var(--i) * 18%), var(--surface)); transform-origin: 50% 50%; animation: mg-fun var(--t) ease infinite; animation-delay: calc(var(--i) * .2s); }
@keyframes mg-fun { 0% { transform: scaleX(.2); opacity: 0; } 25%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.mg-link { width: 240px; }
.mg-link rect { fill: var(--surface); stroke: var(--line); } .mg-link .ln { stroke: var(--line); stroke-width: 2; stroke-dasharray: 5 6; animation: mg-dash 1s linear infinite; }
.mg-link .p { fill: var(--a); animation: mg-go var(--t) cubic-bezier(.65, 0, .35, 1) infinite; } .mg-link .p2 { fill: var(--b); animation-name: mg-back; }
@keyframes mg-dash { to { stroke-dashoffset: -11; } }
@keyframes mg-go { 0%, 10% { transform: translateX(0); } 50%, 60% { transform: translateX(84px); } 100% { transform: translateX(0); } }
@keyframes mg-back { 0%, 10% { transform: translateX(0); } 50%, 60% { transform: translateX(-84px); } 100% { transform: translateX(0); } }
.mg-ai .win { width: 170px; height: 90px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; padding: 16px; align-content: start; }
.mg-ai .win i { height: 8px; border-radius: 4px; background: var(--line); } .mg-ai .win i:nth-child(1) { width: 70%; } .mg-ai .win i:nth-child(3) { width: 50%; }
.mg-ai .win i:nth-child(2) { animation: mg-fill var(--t) ease infinite; background: linear-gradient(90deg, var(--a), var(--b)); transform-origin: 0 50%; }
.mg-ai .spark { position: absolute; top: -14px; inset-inline-end: -14px; font-size: 26px; color: var(--b); animation: mg-spark var(--t) ease infinite; }
@keyframes mg-fill { 0%, 20% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
@keyframes mg-spark { 0%, 100% { transform: scale(.7) rotate(0); opacity: .5; } 30% { transform: scale(1.15) rotate(90deg); opacity: 1; } }
.mg-chat { width: 200px; display: grid; gap: 8px; }
.mg-chat .q { justify-self: end; width: 120px; height: 28px; border-radius: 14px; background: var(--a); animation: mg-pop var(--t) ease infinite; }
.mg-chat .a { justify-self: start; display: inline-flex; gap: 5px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); animation: mg-pop var(--t) ease infinite; animation-delay: .5s; }
.mg-chat .a i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: mg-dot 1s ease infinite; } .mg-chat .a i:nth-child(2) { animation-delay: .15s; } .mg-chat .a i:nth-child(3) { animation-delay: .3s; }
@keyframes mg-pop { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mg-dot { 50% { transform: translateY(-4px); opacity: .5; } }
.mg-line { width: 240px; overflow: visible; } .mg-line path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mg-line .past { stroke: var(--a); stroke-dasharray: 180; animation: mg-draw var(--t) ease infinite; } .mg-line .next { stroke: var(--b); stroke-dasharray: 6 6; animation: mg-later var(--t) ease infinite; }
.mg-line circle { fill: var(--bg); stroke: var(--b); stroke-width: 3; animation: mg-later var(--t) ease infinite; }
@keyframes mg-draw { 0% { stroke-dashoffset: 180; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes mg-later { 0%, 45% { opacity: 0; } 60%, 92% { opacity: 1; } 100% { opacity: 0; } }
.mg-web { width: 190px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.mg-web .bar { display: flex; gap: 4px; padding: 7px 9px; border-bottom: 1px solid var(--line); } .mg-web .bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.mg-web .bd { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 10px; }
.mg-web .bd i { height: 22px; border-radius: 5px; background: color-mix(in oklab, var(--a) 35%, var(--surface)); animation: mg-block var(--t) cubic-bezier(.23, 1, .32, 1) infinite; }
.mg-web .bd .h { grid-column: 1 / -1; height: 26px; background: linear-gradient(90deg, var(--a), var(--b)); }
.mg-web .bd .b1 { animation-delay: .25s; } .mg-web .bd .b2 { animation-delay: .4s; } .mg-web .bd .b3 { animation-delay: .55s; }
@keyframes mg-block { 0% { opacity: 0; transform: translateY(8px); } 20%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mg-data { display: flex; align-items: center; gap: 22px; }
.mg-data .rows { display: grid; gap: 6px; } .mg-data .rows i { width: 70px; height: 9px; border-radius: 4px; background: var(--line); animation: mg-row var(--t) ease-in infinite; }
.mg-data .rows i:nth-child(2) { animation-delay: .3s; width: 56px; } .mg-data .rows i:nth-child(3) { animation-delay: .6s; } .mg-data .rows i:nth-child(4) { animation-delay: .9s; width: 48px; }
.mg-data .db { display: grid; gap: 3px; } .mg-data .db b { width: 58px; height: 18px; border-radius: 50%/40%; background: color-mix(in oklab, var(--a) 55%, var(--surface)); border: 1px solid var(--a); animation: mg-db var(--t) ease infinite; }
.mg-data .db b:nth-child(2) { animation-delay: .35s; } .mg-data .db b:nth-child(3) { animation-delay: .7s; }
@keyframes mg-row { 0% { transform: translateX(0); opacity: 1; } 60% { transform: translateX(90px); opacity: 0; } 100% { opacity: 0; } }
[dir="rtl"] .mg-data .rows i { animation-name: mg-row-r; } @keyframes mg-row-r { 0% { transform: translateX(0); opacity: 1; } 60% { transform: translateX(-90px); opacity: 0; } 100% { opacity: 0; } }
@keyframes mg-db { 0%, 40% { background: color-mix(in oklab, var(--a) 25%, var(--surface)); } 60% { background: var(--a); } 100% { background: color-mix(in oklab, var(--a) 25%, var(--surface)); } }

/* next chapter */
main > section.nextup { min-height: 0 !important; height: auto !important; padding-block: var(--s-9) !important; }
.nextup__a { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; padding: var(--s-6) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nextup__k { grid-column: 1 / -1; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } [dir="rtl"] .nextup__k { letter-spacing: 0; font-size: 15px; }
.nextup__t { font-size: clamp(40px, 6vw, 96px); font-weight: 500; letter-spacing: -.035em; line-height: 1; background: linear-gradient(90deg, var(--ink) 50%, var(--p-accent) 50%, var(--nx-purple)); background-size: 200% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position 700ms cubic-bezier(.23, 1, .32, 1); }
[dir="rtl"] .nextup__t { letter-spacing: 0; line-height: 1.25; background-position: 100% 0; background-image: linear-gradient(270deg, var(--ink) 50%, var(--p-accent) 50%, var(--nx-purple)); }
.nextup__arr { width: clamp(56px, 6vw, 88px); height: clamp(56px, 6vw, 88px); border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background 300ms, border-color 300ms, transform 300ms cubic-bezier(.23, 1, .32, 1); }
.nextup__arr .m-arrow { width: 40%; height: 40%; } [dir="rtl"] .nextup__arr .m-arrow { transform: scaleX(-1); }
.nextup__a:hover .nextup__t { background-position: -100% 0; } [dir="rtl"] .nextup__a:hover .nextup__t { background-position: 200% 0; }
.nextup__a:hover .nextup__arr { background: var(--p-accent); border-color: var(--p-accent); color: #fff; transform: translateX(6px); } [dir="rtl"] .nextup__a:hover .nextup__arr { transform: translateX(-6px); }
.nextup__a:active .nextup__arr { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  .fv-pred *, .orbit *, .why li::before, .mg, .mg * { animation: none !important; }
  .fv-pred .next, .fv-pred .area, .fv-pred .now, .fv-pred text, .mg-line * { opacity: 1 !important; stroke-dashoffset: 0 !important; }
  .orbit__dot { transform: rotate(calc(var(--i) * 60deg)) translateX(min(200px, 39vw)) rotate(calc(var(--i) * -60deg)); }
}
.story--hero .story__cap { top: 52%; width: min(46vw, 640px); }
.story--hero .story__cap h1 { font-size: clamp(34px, 3.7vw, 60px); max-width: 17ch; }
[dir="rtl"] .story--hero .story__cap h1 { line-height: 1.3; }
@media (max-width: 899px), (max-aspect-ratio: 9/10) { .story--hero .story__cap { width: auto; inset-inline-end: var(--edge, 0px); top: auto; bottom: 6%; transform: none; translate: none; } .story--hero .story__cap h1 { font-size: clamp(30px, 8vw, 44px); } }
main > section:is(#what, #value, #flow, #vision, #who, #why, #how, #list) { height: auto !important; min-height: 100vh; min-height: 100svh; max-height: none !important; }
.vm { margin-top: var(--s-8); }
.vm__t { font-size: clamp(26px, 2.6vw, 40px); }
.ab-hero .hero-text { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) !important; align-items: center !important; justify-items: stretch !important; }
.ab-hero .hero__c { max-width: none !important; margin: 0 !important; text-align: start !important; align-items: flex-start !important; }
.ab-hero .hero__c .btn-row { justify-content: flex-start !important; }
.ab-hero .hero__lead { margin-inline: 0 !important; }
@media (max-width: 899px) { .ab-hero .hero-text { grid-template-columns: 1fr !important; } }
.ab-hero .chap { align-self: flex-start; }
/* narrow screens: the core and the words stack, so they can never overlap */
@media (max-width: 899px), (max-aspect-ratio: 9/10) {
  main > section.story--hero { height: auto !important; min-height: 100vh !important; min-height: 100svh !important; }
  .story--hero .story__stage { position: relative; height: auto; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: 0; }
  .story--hero #core-canvas { position: relative; inset: auto; top: auto; flex: 1 1 auto; width: 100% !important; height: auto !important; min-height: 180px; max-height: 40svh; }
  .story--hero .story__caps { position: relative; inset: auto; flex: none; }
  .story--hero .story__caps > .wrap { height: auto; }
  .story--hero .story__cap { position: relative; inset: auto; top: auto; bottom: auto; width: auto; transform: none; translate: none; padding: 8px 0 36px; }
}
.ab-hero .hero__c > * { margin-inline: 0 !important; text-align: start !important; align-self: flex-start !important; }
.ab-hero .hero__c .btn-row { justify-content: flex-start !important; width: auto; }
.ab-hero .hero__c { justify-items: start !important; } .ab-hero .hero__c > * { justify-self: start !important; }
