/* VXSpiral scenes — flagship showcase (sticky stage, ribbon of screens) and the Promise spring.
   The stage is always dark, in both themes, so the screens glow. js/vx-spiral.js drives it. */
.vxs { position: relative; }
.vxs-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0b0c; color: #f3f1ed; isolation: isolate; }
.vxs-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(110px, 12vw, 180px); z-index: 1; background: linear-gradient(#0b0b0c, rgba(11, 11, 12, .82) 45%, rgba(11, 11, 12, 0)); pointer-events: none; }
.vxs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity .8s ease; }
.vxs-ready .vxs-canvas { opacity: 1; }
.vxs-label { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: #a7a29a; }
.vxs-label::before { content: ""; width: 8px; height: 8px; background: var(--indigo); }

/* ---- flagship showcase ---- */
.fb.fb--spiral { padding-top: 0; }
.vxs--flagship { height: 400vh; }
.vxs--flagship + .fb-list { position: relative; z-index: 2; margin-top: -100vh; box-shadow: 0 -40px 90px rgba(0, 0, 0, .28); }
.vxs-a, .vxs-b { position: absolute; z-index: 2; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; will-change: opacity, transform; }
.vxs-a { right: clamp(20px, 6vw, 112px); width: min(470px, 36vw); }
.vxs-b { left: clamp(20px, 5.6vw, 108px); width: min(560px, 44vw); opacity: 0; pointer-events: none; }
.vxs-h { margin: 22px 0 0; font: 600 clamp(34px, 3.5vw, 62px)/.98 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; color: #f3f1ed; }
.vxs-h .dot { color: var(--indigo); }
.vxs-p { margin: 18px 0 0; max-width: 40ch; font: 400 clamp(15px, 1.05vw, 18px)/1.6 var(--font-sans); color: #c9c4bb; }
.vxs-cta { margin-top: 28px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.vxs-btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px; background: #f3f1ed; color: #0b0b0c; font: 500 15px/1 var(--font-display); text-decoration: none; transition: background .18s, color .18s; }
.vxs-btn:hover { background: var(--indigo); color: #fff; }
.vxs-btn svg { width: 14px; height: 14px; transform: rotate(180deg); }
.vxs-hint { font: 500 13px/1.3 var(--font-sans); color: #8f8a82; }
.vxs-list { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: b; }
.vxs-list li { border-top: 1px solid rgba(255, 255, 255, .1); }
.vxs-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.vxs-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 4px 14px; padding: 18px 4px; text-decoration: none; color: #f3f1ed; transition: color .18s, padding .25s cubic-bezier(.215, .61, .355, 1); }
.vxs-list a::before { counter-increment: b; content: "0" counter(b); font: 500 12px/1 var(--font-sans); letter-spacing: .16em; color: #8f8a82; }
.vxs-list b { font: 600 clamp(26px, 2.5vw, 44px)/1 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; color: #8f8a82; transition: color .18s; }
.vxs-list small { grid-column: 2; font: 400 15px/1.4 var(--font-sans); color: #8f8a82; }
.vxs-list i { grid-row: 1 / span 2; grid-column: 3; width: 44px; height: 44px; display: grid; place-items: center; background: var(--b); color: #0b0b0c; opacity: 0; transform: translateX(-10px); transition: opacity .2s, transform .25s; }
.vxs-list i svg { width: 15px; height: 15px; }
.vxs-list li:hover a, .vxs-list a:focus-visible { padding-left: 14px; }
.vxs-list li:hover b, .vxs-list a:focus-visible b { color: #f3f1ed; }
.vxs-list li:hover small { color: #c9c4bb; }
.vxs-list li:hover i, .vxs-list a:focus-visible i { opacity: 1; transform: none; }
.vxs-more { margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; font: 500 14px/1 var(--font-display); color: #c9c4bb; text-decoration: none; }
.vxs-more:hover { color: #fff; }
.vxs-more svg { width: 12px; height: 12px; }
.vxs-pill { position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; background: #f3f1ed; color: #0b0b0c; font: 500 14px/1 var(--font-display); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.vxs-pill.on { opacity: 1; }
.vxs-pill i { width: 8px; height: 8px; background: var(--b, var(--indigo)); }
.vxs-pill span { width: 26px; height: 26px; display: grid; place-items: center; background: var(--b, var(--indigo)); color: #0b0b0c; }
.vxs-pill svg { width: 11px; height: 11px; }
.vxs-dim { position: absolute; inset: 0; z-index: 4; background: #000; opacity: 0; pointer-events: none; }
/* no WebGL2: a plain, static layout — heading, the brand list and a row of screens */
.vxs-fallback { display: none; }
.vxs-nogl.vxs--flagship, .vxs-nogl.vxs--spring { height: auto; }
.vxs-nogl .vxs-stage { position: relative; height: auto; }
.vxs-nogl .vxs-canvas, .vxs-nogl .vxs-pill, .vxs-nogl .vxs-dim, .vxs-nogl .vxs-hint { display: none; }
.vxs--flagship.vxs-nogl .vxs-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: clamp(120px, 10vw, 180px) clamp(20px, 5.6vw, 108px) 0; }
.vxs-nogl .vxs-a, .vxs-nogl .vxs-b { position: static; width: auto; padding: 0; justify-content: flex-start; opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
.vxs-nogl .vxs-fallback { order: 3; grid-column: 1 / -1; display: flex; gap: 16px; padding-top: 40px; overflow: hidden; }
.vxs-nogl .vxs-fallback img { height: min(26vw, 300px); width: auto; flex: none; }
.vxs--flagship.vxs-nogl + .fb-list { margin-top: 0; box-shadow: none; }
.vxs--spring.vxs-nogl .vxs-stage { padding: clamp(96px, 10vw, 160px) 20px; }

/* ---- the Promise spring ---- */
.vxs--spring { height: 220vh; }
.vxs--spring .vxs-stage { display: grid; place-items: center; }
.vxs-core { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 6px; pointer-events: none; padding: 0 20px; }
.vxs-big { font: 600 clamp(160px, 24vw, 380px)/.78 var(--font-display); letter-spacing: -0.05em; color: #f3f1ed; text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.vxs-cap { padding: 10px 18px; background: rgba(11, 11, 12, .88); max-width: 24ch; font: 500 clamp(20px, 2vw, 34px)/1.15 var(--font-display); color: #f3f1ed; text-shadow: 0 4px 30px rgba(0, 0, 0, .8); }
.vxs-cap em { font-style: normal; color: #b4b9ff; }
.vxs--spring .vxs-nogl-copy { display: none; }

/* the header goes light-on-dark over a stage (the class is set by js/vx-spiral.js) */
.gx-head.vx-dark { background: transparent !important; border-bottom-color: rgba(255, 255, 255, .07) !important; box-shadow: none !important; }
.gx-head.vx-dark .gx-logo, .gx-head.vx-dark .gx-nav a, .gx-head.vx-dark .lang-btn, .gx-head.vx-dark .theme-btn, .gx-head.vx-dark .menu-btn { color: #f3f1ed; }
.gx-head.vx-dark .gx-nav a::after { background: #fff; }
.gx-head.vx-dark .theme-btn, .gx-head.vx-dark .menu-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.gx-head.vx-dark .gx-cta-head { background: #f3f1ed; color: #0b0b0a; }
.gx-head.vx-dark .gx-logo .gx-mk { background: #f3f1ed; }
.gx-head.vx-dark .gx-logo .gx-mk path { stroke: #0b0b0a; }
.gx-head.vx-dark .vx-sub { color: #a7a29a; }

@media (max-width: 899px) {
  .vxs-a, .vxs-b { left: 20px; right: 20px; width: auto; justify-content: flex-start; padding-top: 108px; }
  .vxs-h { font-size: clamp(30px, 8.6vw, 42px); }
  .vxs-p { font-size: 15px; }
  .vxs-list { margin-top: 16px; }
  .vxs-list a { grid-template-columns: 34px 1fr auto; padding: 13px 2px; }
  .vxs-list b { font-size: 24px; }
  .vxs-list small { font-size: 13px; }
  .vxs-list i { width: 36px; height: 36px; opacity: 1; transform: none; }
  .vxs-pill { display: none; }
  .vxs--flagship.vxs-nogl .vxs-stage { grid-template-columns: 1fr; padding-top: 108px; }
  .vxs--flagship .vxs-stage::before { height: 62%; background: linear-gradient(#0b0b0c 30%, rgba(11, 11, 12, .78) 70%, rgba(11, 11, 12, 0)); }
}
@media (prefers-reduced-motion: reduce) { .vxs-canvas { transition: none; } }
