/* claude-z-home r1 · new homepage style (theme "全新風格claude專用2" only)
   Ink / fog / volt palette, condensed display type, clipped frames that open on scroll.
   Everything is scoped under .zx so no other page or section is affected. */

.zx {
  --zx-ink: #050507;
  --zx-ink-2: #0d0d13;
  --zx-ink-3: #16161f;
  --zx-fog: #e3e3ec;
  --zx-fog-2: #d4d4e0;
  --zx-volt: #dfff3a;
  --zx-blue: #2f3dff;
  --zx-blue-2: #1a22a8;
  --zx-line: rgba(227, 227, 236, .16);
  --zx-line-ink: rgba(5, 5, 7, .16);
  --zx-dim: rgba(227, 227, 236, .66);
  --zx-dim-ink: rgba(5, 5, 7, .66);
  --zx-display: "Microostep Anton", "Anton", Impact, "Arial Narrow", sans-serif;
  --zx-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --zx-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --zx-g: clamp(16px, 3.6vw, 56px);
  --zx-header: 68px;
  --zx-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative;
  background: var(--zx-ink);
  color: var(--zx-fog);
  font-family: var(--zx-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
:where(.zx) *, :where(.zx) *::before, :where(.zx) *::after { box-sizing: border-box; }
:where(.zx) img { display: block; max-width: 100%; height: auto; }
.zx a { color: inherit; text-decoration: none; }
:where(.zx) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.zx :focus-visible { outline: 2px solid var(--zx-volt); outline-offset: 3px; border-radius: 4px; }

/* type */
.zx-d {
  font-family: var(--zx-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
}
.zx[data-lang="vi"] .zx-d { line-height: 1.16; }
.zx-d b { font-weight: 400; color: var(--zx-volt); }
.zx-m { font-family: var(--zx-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.zx-eyebrow { margin: 0; color: var(--zx-volt); }

/* buttons */
.zx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.zx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-family: var(--zx-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .35s var(--zx-ease), background-color .25s ease, color .25s ease, box-shadow .35s var(--zx-ease);
}
.zx-btn:hover { transform: translateY(-2px); }
.zx .zx-btn--volt { background: var(--zx-volt); color: var(--zx-ink); }
.zx-btn--volt:hover { box-shadow: 0 10px 30px -10px rgba(223, 255, 58, .55); }
.zx-btn--line { box-shadow: inset 0 0 0 1px rgba(227, 227, 236, .5); }
.zx-btn--line:hover { box-shadow: inset 0 0 0 1px var(--zx-fog); background: rgba(227, 227, 236, .06); }
.zx .zx-btn--ink { background: var(--zx-ink); color: var(--zx-fog); }
.zx .zx-btn--ink-line { box-shadow: inset 0 0 0 1.5px var(--zx-ink); color: var(--zx-ink); }
.zx-btn--lg { min-height: 64px; padding: 0 34px; font-size: 14px; }

/* section heads */
.zx-head { display: grid; gap: 20px; margin: 0 0 clamp(36px, 6vw, 72px); }
.zx-head__title { margin: 0; font-size: clamp(52px, 9vw, 152px); text-wrap: balance; }
.zx-head__lead { margin: 0; max-width: 40ch; font-size: clamp(15px, 1.25vw, 18px); color: var(--zx-dim); }
@media (min-width: 1100px) {
  .zx-head { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .zx-head__lead { justify-self: end; }
}

/* reveal (words + blocks). Content stays visible without JS. */
/* uses the separate `translate` property so it never overrides an element's own transform
   (the bento cards tilt with transform) */
.zx.is-js [data-zx-reveal]:not([data-zx-words]) { opacity: 0; translate: 0 28px; transition: opacity .8s var(--zx-ease), translate .9s var(--zx-ease), transform .5s var(--zx-ease), box-shadow .3s ease; }
.zx.is-js [data-zx-reveal].is-in:not([data-zx-words]) { opacity: 1; translate: none; }
.zx-w { display: inline-block; white-space: nowrap; }
.zx.is-js [data-zx-words] .zx-w {
  opacity: 0;
  transform: perspective(600px) translateY(.35em) rotateX(-55deg);
  transform-origin: 50% 100%;
  transition: opacity .7s var(--zx-ease), transform .9s var(--zx-ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.zx.is-js [data-zx-words].is-in .zx-w { opacity: 1; transform: none; }

/* ======================================================================== */
/* 01 · HERO — full-bleed WebGL poster (four abstract scenes from the trade) */
/* Scrolling carries the pinned poster through the scenes with full-frame    */
/* transitions. Without WebGL the radial gradient is the poster.             */
/* ======================================================================== */
.zx-hero { position: relative; background: var(--zx-fog); }
.zx-hero__clip {
  --p: 0;
  position: relative; isolation: isolate;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 12px;
  height: calc(100vh - var(--zx-header)); height: calc(100svh - var(--zx-header));
  min-height: 560px; max-height: 1100px;
  padding: 22px var(--zx-g) 26px;
  background:
    radial-gradient(55% 45% at 50% 46%, rgba(47, 61, 255, .55), transparent 70%),
    radial-gradient(30% 25% at 64% 60%, rgba(223, 255, 58, .10), transparent 70%),
    var(--zx-ink);
  overflow: hidden;
  clip-path: polygon(
    calc(var(--p) * 8%) 0,
    calc(100% - var(--p) * 4%) 0,
    calc(100% - var(--p) * 12%) calc(100% - var(--p) * 14%),
    calc(var(--p) * 2%) 100%
  );
}
.zx-hero[data-zx-p] .zx-hero__clip { --p: var(--zx-hp, 0); }
/* scroll mode: the hero is pinned while the page scroll walks through the four scenes
   (each step is a full-frame transition), then it clips away into the next section */
.zx-hero__pin { position: relative; }
.zx-hero.is-scrolly { height: calc(4 * (100vh - var(--zx-header))); height: calc(4 * (100svh - var(--zx-header))); min-height: 2240px; }
.zx-hero.is-scrolly .zx-hero__pin { position: sticky; top: var(--zx-header); }
/* the store header slides away while scrolling down; this strip keeps the space above the pinned poster dark */
.zx-hero.is-scrolly::before { content: ""; position: sticky; top: 0; z-index: 0; display: block; height: var(--zx-header); margin-bottom: calc(var(--zx-header) * -1); background: #000; }
/* scene rail: four buttons (scroll mode: jump the page to that scene; reduced motion: switch directly) */
.zx-hero__rail { position: absolute; z-index: 3; right: calc(var(--zx-g) * .5 - 10px); top: 50%; translate: 0 -50%; display: grid; gap: 2px; visibility: hidden; }
.zx-hero.is-gl .zx-hero__rail { visibility: visible; }
.zx-hero__rail button { display: grid; place-items: center; width: 24px; height: 38px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.zx-hero__rail i { position: relative; display: block; width: 3px; height: 30px; border-radius: 3px; overflow: hidden; background: rgba(227, 227, 236, .22); transition: background-color .3s ease, width .3s var(--zx-ease); }
.zx-hero__rail i::after { content: ""; position: absolute; inset: 0; background: var(--zx-volt); transform: scaleY(var(--f, 0)); transform-origin: 50% 0; }
.zx-hero__rail button:hover i, .zx-hero__rail button:focus-visible i { width: 5px; background: rgba(227, 227, 236, .5); }
.zx-hero__rail button:focus-visible { outline: 1px solid var(--zx-volt); outline-offset: -2px; }
.zx-hero:not(.is-scrolly) .zx-hero__rail button[aria-current="true"] i::after { transform: none; transition: transform .6s var(--zx-ease); }
.zx-hero:not(.is-scrolly) .zx-hero__rail i::after { transition: transform .4s ease; }
.zx-hero__cue { display: none; position: absolute; z-index: 3; right: calc(var(--zx-g) * .5 - 1px); top: calc(50% + 96px); margin: 0; color: var(--zx-fog); font-size: 10px; letter-spacing: .14em; writing-mode: vertical-rl; opacity: calc(var(--zx-cue, 1) * .75); white-space: nowrap; pointer-events: none; }
.zx-hero__cue span { display: inline-block; animation: zx-cue 1.6s ease-in-out infinite; }
@keyframes zx-cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (min-width: 900px) and (min-height: 620px) { .zx-hero.is-scrolly.is-gl .zx-hero__cue { display: block; } }
/* phones and tablets: the rail lies flat at the bottom right of the free middle row, beside the scene label */
@media (max-width: 899px) {
  .zx-hero__rail { position: relative; right: auto; top: auto; translate: none; grid-row: 2; grid-column: 1; align-self: end; justify-self: end; grid-auto-flow: column; gap: 0; margin: 0 -6px -8px 0; }
  .zx-hero__rail button { width: 34px; height: 30px; }
  .zx-hero__rail i { width: 26px; height: 3px; }
  .zx-hero__rail i::after { transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
  .zx-hero__rail button:hover i, .zx-hero__rail button:focus-visible i { width: 26px; height: 5px; }
}
.zx-hero__gl { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.zx-hero.is-gl .zx-hero__gl { opacity: 1; }
.zx-hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 7, .55) 0%, rgba(5, 5, 7, 0) 26%, rgba(5, 5, 7, 0) 58%, rgba(5, 5, 7, .78) 100%);
}
.zx-hero__title { margin: 0; display: contents; font: inherit; }
.zx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.zx-hero__l1, .zx-hero__l2 { position: relative; z-index: 2; display: grid; font-size: clamp(64px, 19vw, 264px); color: var(--zx-fog); pointer-events: none; text-shadow: 0 2px 40px rgba(5, 5, 7, .35); }
.zx-hero__l1 { grid-row: 1; }
.zx-hero__l2 { grid-row: 3; justify-self: end; text-align: right; }
/* one tagline per scene, stacked in the same cell: the active one's words rise in, the previous
   one's words tip up and out (JS sets .is-on / .is-in / .is-out as the poster changes scene) */
.zx-hero__v { grid-area: 1 / 1; white-space: nowrap; }
.zx-hero__l2 .zx-hero__v { justify-self: end; }
.zx.is-js .zx-hero__v:not(.is-on):not(.is-out) { visibility: hidden; }
.zx.is-js [data-zx-hv] .zx-w {
  opacity: 0; transform: perspective(600px) translateY(.35em) rotateX(-55deg); transform-origin: 50% 100%;
  transition: opacity .6s var(--zx-ease), transform .8s var(--zx-ease); transition-delay: calc(var(--d0, 0s) + var(--i, 0) * 70ms);
}
.zx.is-js [data-zx-hv].is-in .zx-w { opacity: 1; transform: none; }
.zx.is-js [data-zx-hv].is-out .zx-w { opacity: 0; transform: perspective(600px) translateY(-.3em) rotateX(55deg); transform-origin: 50% 0; transition-duration: .35s, .5s; transition-delay: calc(var(--i, 0) * 40ms); }

.zx-hero__scene { position: relative; z-index: 2; grid-row: 2; grid-column: 1; align-self: end; justify-self: start; margin: 0; color: var(--zx-fog); opacity: .8; font-size: 10.5px; }

.zx-hero:not(.is-gl) .zx-hero__scene { visibility: hidden; }

.zx-hero__meta { position: relative; z-index: 3; grid-row: 4; display: grid; gap: 12px; }
.zx-hero__sub { margin: 0; max-width: 36ch; color: rgba(227, 227, 236, .78); font-size: 15px; }

@media (min-width: 600px) and (max-width: 899px) {
  .zx-hero .zx-hero__l1, .zx-hero .zx-hero__l2 { font-size: 16vw; }
  .zx-hero__meta { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; }
  .zx-hero__meta .zx-actions { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .zx-hero__clip { gap: 8px; min-height: 520px; }
  .zx-hero__sub { display: none; }
}
@media (min-width: 900px) {
  .zx-hero__clip { display: block; min-height: 640px; padding: 0; }
  /* sized by width AND height so short laptop screens keep the middle of the poster free */
  .zx-hero__l1 { position: absolute; left: var(--zx-g); top: 3.5vh; font-size: clamp(88px, min(14.5vw, 25vh), 264px); }
  .zx-hero__l2 { position: absolute; right: var(--zx-g); bottom: 3vh; font-size: clamp(88px, min(14.5vw, 25vh), 264px); }
  .zx-hero__scene { position: absolute; right: var(--zx-g); top: calc(3.5vh + 10px); font-size: inherit; }
  .zx-hero__meta { position: absolute; left: var(--zx-g); bottom: 4.5vh; width: min(34vw, 460px); }
  .zx-hero__sub { font-size: 16px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .zx-hero .zx-hero__l1, .zx-hero .zx-hero__l2 { font-size: min(12.5vw, 25vh); }
}

/* opening: the page is scaled up a touch while the logo zooms in */
.zx.is-intro .zx-hero__pin { transform: scale(1.12); transform-origin: 50% 40%; }
.zx.is-intro.is-intro-zoom .zx-hero__pin { transform: none; transition: transform 1.5s cubic-bezier(.3, .7, .2, 1); }

/* ======================================================================== */
/* 02 · STATEMENT + EXPANDING FRAME                                          */
/* ======================================================================== */
.zx-intro { position: relative; background: var(--zx-fog); color: var(--zx-ink); padding: clamp(72px, 14vh, 160px) 0 0; text-align: center; }
.zx-intro__eyebrow { color: var(--zx-ink); opacity: .7; }
.zx-intro__title { margin: 22px auto 0; padding: 0 var(--zx-g); max-width: 18ch; font-size: clamp(42px, 6.6vw, 116px); text-wrap: balance; }
.zx-intro__title b { color: var(--zx-blue); }
/* the "surge": a rounded card tilted back in 3D, holding a live energy core.
   Scrolling stands it up, opens it to full screen and drives the current 0 → 1000 A. */
.zx-expand { --ix: 31%; --iy: 21%; --rad: 40px; position: relative; height: 270vh; margin-top: clamp(24px, 6vh, 64px); }
.zx-expand__sticky {
  position: sticky; top: var(--zx-header);
  height: calc(100vh - var(--zx-header)); height: calc(100svh - var(--zx-header));
  overflow: hidden; perspective: 1500px; perspective-origin: 50% 40%;
}
.zx-expand__frame, .zx-expand__edge {
  --p: 0;
  position: absolute; inset: 0;
  transform-origin: 50% 58%;
  transform:
    rotateX(calc((1 - var(--p)) * 26deg + var(--rx, 0deg)))
    rotateY(var(--ry, 0deg))
    rotateZ(calc((1 - var(--p)) * -5deg))
    scale(calc(.93 + .07 * var(--p)));
}
.zx-expand[data-zx-p] .zx-expand__frame, .zx-expand[data-zx-p] .zx-expand__edge { --p: var(--zx-ep, 0); }
.zx-expand__frame {
  display: grid; place-items: center;
  background: radial-gradient(38% 38% at 50% 50%, rgba(47, 61, 255, .55), transparent 70%), var(--zx-ink);
  clip-path: inset(calc((1 - var(--p)) * var(--iy)) calc((1 - var(--p)) * var(--ix)) round calc((1 - var(--p)) * var(--rad)));
}
.zx-expand__edge { pointer-events: none; }
.zx-expand__edge::before {
  content: ""; position: absolute;
  inset: calc((1 - var(--p)) * var(--iy)) calc((1 - var(--p)) * var(--ix));
  border-radius: calc((1 - var(--p)) * var(--rad));
  box-shadow: inset 0 0 0 1px rgba(223, 255, 58, .6), 0 50px 120px -30px rgba(47, 61, 255, .75);
  opacity: calc(1 - var(--p) * 1.3);
}
.zx-expand__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.zx-expand.is-gl .zx-expand__gl { opacity: 1; }
/* bottom of the fully opened frame melts into the dark section below (the range backdrop picks up the blue) */
.zx-expand__sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 8vh; pointer-events: none; background: linear-gradient(rgba(5, 5, 7, 0), rgba(5, 5, 7, .6) 50%, var(--zx-ink)); opacity: clamp(0, calc((var(--zx-ep, 0) - .6) * 2.5), 1); }
.zx-expand__hud {
  position: relative; z-index: 2; display: grid; justify-items: center; gap: 4px;
  text-align: center; color: var(--zx-fog); pointer-events: none;
  transform: scale(calc(.58 + .42 * var(--p)));
}
.zx-expand__hud p { margin: 0; }
.zx-expand__k { opacity: .78; }
.zx-expand__num { font-size: clamp(76px, 13vw, 230px); line-height: .92; text-shadow: 0 0 60px rgba(47, 61, 255, .7), 0 0 2px rgba(5, 5, 7, .6); }
.zx-expand__num [data-zx-amp] { display: inline-block; min-width: 3.9ch; text-align: right; }
.zx-expand__num small { margin-left: .12em; font-family: var(--zx-mono); font-size: .2em; font-weight: 700; color: var(--zx-volt); vertical-align: .9em; }
.zx-expand__model b { color: var(--zx-volt); font-weight: 700; }
.zx-expand.is-kick .zx-expand__num, .zx-expand.is-max .zx-expand__num { animation: zx-kick .5s var(--zx-ease); }
@keyframes zx-kick { 0% { transform: scale(1.14); color: var(--zx-volt); filter: blur(1px); } 100% { transform: none; filter: none; } }
/* top of the range: a flash and a short camera shake (translate composes with the tilt transform) */
.zx-expand__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(223, 255, 58, .5), rgba(47, 61, 255, .3) 38%, transparent 72%);
  mix-blend-mode: screen;
}
.zx-expand.is-max .zx-expand__frame::after { animation: zx-flash .9s ease-out; }
.zx-expand.is-max .zx-expand__frame { animation: zx-shake .55s linear; }
@keyframes zx-flash { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes zx-shake { 0%, 100% { translate: 0 0; } 14% { translate: -7px 3px; } 28% { translate: 6px -4px; } 44% { translate: -4px 2px; } 60% { translate: 3px -2px; } 78% { translate: -1px 1px; } }
.zx-expand__k, .zx-expand__model { text-shadow: 0 1px 10px rgba(5, 5, 7, .95), 0 0 2px rgba(5, 5, 7, .9); }
.zx-expand__notes {
  position: absolute; z-index: 3; inset: auto var(--zx-g) 9vh; margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  opacity: clamp(0, calc((var(--p) - .72) * 4), 1);
  transform: translateY(calc((1 - var(--p)) * 30px));
  color: var(--zx-fog);
}
.zx-expand__notes li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(227, 227, 236, .35); background: rgba(5, 5, 7, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.zx-expand__cap { position: absolute; z-index: 4; bottom: 3vh; left: 0; right: 0; margin: 0; text-align: center; color: var(--zx-ink); opacity: calc(1 - var(--zx-ep, 0) * 1.8); }
@media (max-width: 699px) {
  .zx-expand { --ix: 7%; --iy: 22%; --rad: 26px; height: 240vh; }
  .zx-expand__num { font-size: clamp(64px, 22vw, 120px); }
  .zx-expand__k, .zx-expand__model { font-size: 10px; }
  /* keep the counter clear of the feature pills on phones */
  .zx-expand__hud { translate: 0 calc(var(--p) * -11vh); }
  .zx-expand__notes { bottom: 7vh; gap: 6px; font-size: 10px; }
  .zx-expand__notes li { padding: 6px 11px; }
}

/* ======================================================================== */
/* 03 · BENTO                                                                */
/* ======================================================================== */
.zx-bento { padding: clamp(80px, 14vh, 160px) var(--zx-g); background: var(--zx-ink); }
/* backdrop: the surge's warp field carries on behind the whole range (pinned canvas, half
   resolution) and calms down as you scroll; it fades in at the top and out at the bottom so it
   joins the surge above and the comparison below. Without WebGL: a CSS haze. */
.zx-bento { position: relative; isolation: isolate; }
.zx-bfx { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 40vh at 50% 0, rgba(47, 61, 255, .2), transparent 72%);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0), #000 160px, #000 calc(100% - 260px), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(rgba(0, 0, 0, 0), #000 160px, #000 calc(100% - 260px), rgba(0, 0, 0, 0)); }
.zx-bfx__stick { position: sticky; top: 0; height: 100vh; height: 100svh; }
.zx-bfx__gl { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.zx-bfx.is-gl .zx-bfx__gl { opacity: 1; }
/* the cards let a little of the field through */
.zx-bento .zx-card:not(.zx-card--volt) { background: rgba(14, 14, 21, .86); }
.zx-bento__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.zx-card {
  /* --cp: 0 → 1 as the card scrolls in (set per card by JS; stays 1 without JS / reduced motion).
     The card stands up from lying back, rising from below, and the transform transition
     smooths the scroll scrub as well as the pointer tilt. */
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  --cp: 1; --ax: 18deg; --ay: 0deg;
  position: relative; display: grid; grid-template-rows: auto 1fr auto;
  min-height: 340px; padding: 24px;
  border-radius: 18px;
  background: var(--zx-ink-2);
  box-shadow: inset 0 0 0 1px var(--zx-line);
  overflow: hidden; isolation: isolate;
  transform-origin: 50% 100%;
  transform:
    perspective(1100px)
    translate3d(0, calc((1 - var(--cp)) * 110px), calc((1 - var(--cp)) * -140px))
    rotateX(calc(var(--rx) + (1 - var(--cp)) * var(--ax)))
    rotateY(calc(var(--ry) + (1 - var(--cp)) * var(--ay)));
  opacity: calc(.1 + .9 * var(--cp));
  transition: transform .5s var(--zx-ease), box-shadow .3s ease;
}
/* proximity glow: the border lights up wherever the pointer is near, across all cards */
.zx-card::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(300px circle at var(--gx, -999px) var(--gy, -999px), rgba(223, 255, 58, .95), rgba(47, 61, 255, .6) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.zx-bento__grid.is-glow .zx-card::before { opacity: 1; }
.zx-card:hover { box-shadow: inset 0 0 0 1px rgba(227, 227, 236, .34); }
/* the store theme recolours links on hover; the cards keep their own colours */
.zx .zx-card, .zx .zx-card:hover, .zx .zx-card:focus { color: var(--zx-fog); }
.zx .zx-card.zx-card--volt, .zx .zx-card.zx-card--volt:hover, .zx .zx-card.zx-card--volt:focus { color: var(--zx-ink); }
.zx-card:not(.zx-card--volt) .zx-card__desc, .zx-card:not(.zx-card--volt) .zx-card__title { text-shadow: 0 1px 12px rgba(5, 5, 7, .95), 0 0 2px rgba(5, 5, 7, .7); }
.zx-card__shine { position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 61, 255, .32), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.zx-card:hover .zx-card__shine { opacity: 1; }
.zx-card__body { position: relative; z-index: 2; display: grid; gap: 12px; max-width: 30ch; }
.zx-card__meta { color: var(--zx-volt); }
.zx-card__title { font-size: clamp(40px, 4.6vw, 76px); text-wrap: balance; }
/* headings never split a word (the theme sets break-word); JS steps the size down for long words instead */
.zx .zx-card__title, .zx .zx-head__title, .zx .zx-intro__title, .zx .zx-about__title, .zx .zx-maker__title, .zx .zx-contact__title, .zx .zx-why__words, .zx .zx-hero__v { word-break: normal; overflow-wrap: normal; }
.zx .zx-card__title { min-width: 0; }
.zx-card__desc { color: var(--zx-dim); font-size: 14px; }
.zx-card__img {
  position: absolute; z-index: 1; right: -6%; bottom: -8%;
  width: 72%; max-width: 560px;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .8s var(--zx-ease);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.zx-card:hover .zx-card__img { transform: translate3d(-3%, -3%, 0) scale(1.06); }
/* the controller card cycles M310 → M1000; the active model lights up in the meta line */
[data-zx-cycle-meta] span { opacity: .42; transition: opacity .35s ease, color .35s ease; }
[data-zx-cycle-meta] span.is-on { opacity: 1; color: var(--zx-volt); }
/* controller card: live readout for the model on screen — giant outlined model number behind
   the photo, four figures, a phase-current meter against the top model and the store price */
.zx-xl__grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(227, 227, 236, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(227, 227, 236, .05) 1px, transparent 1px);
  background-size: 34px 34px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 80% at 78% 62%, #000, transparent 72%); mask-image: radial-gradient(70% 80% at 78% 62%, #000, transparent 72%); }
.zx-xl__big { position: absolute; z-index: 0; right: 22px; top: 14px; pointer-events: none; font-size: clamp(84px, 9.5vw, 156px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(227, 227, 236, .16); transition: opacity .35s ease, translate .6s var(--zx-ease); }
.zx-xl__big.is-swap { opacity: 0; translate: 0 18px; }
.zx-xl { position: relative; z-index: 2; grid-row: 2; align-self: end; display: grid; gap: 14px; width: 100%; max-width: 420px; margin: 18px 0 16px; pointer-events: none; }
.zx-xl__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--zx-line); }
.zx-xl__stat { display: grid; gap: 2px; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--zx-line); }
.zx-xl__stat:nth-child(odd) { border-right: 1px solid var(--zx-line); }
.zx-xl__stat:nth-child(even) { padding-left: 14px; }
.zx-xl__stat > .zx-m { color: var(--zx-dim); font-size: 10px; }
.zx-xl__stat .zx-d { font-size: clamp(26px, 2.4vw, 38px); line-height: 1; white-space: nowrap; text-shadow: 0 1px 12px rgba(5, 5, 7, .9); }
.zx-xl__stat b { font-weight: 400; color: var(--zx-fog); transition: opacity .25s ease; }
.zx-xl__stat small { margin-left: 4px; font-size: .5em; color: var(--zx-volt); }
.zx-xl__stat b.is-swap { opacity: 0; }
.zx-xl__mk { color: var(--zx-dim); font-size: 10px; }
.zx-xl__meter { display: grid; gap: 8px; }
.zx-xl__bar { position: relative; height: 6px; border-radius: 3px; background: rgba(227, 227, 236, .1); }
.zx-xl__bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v, 1) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--zx-blue), var(--zx-volt)); box-shadow: 0 0 12px rgba(223, 255, 58, .45); transition: width .9s var(--zx-ease); }
.zx-xl__ticks span { position: absolute; top: -4px; width: 1px; height: 14px; background: rgba(227, 227, 236, .3); translate: -.5px 0; transition: background-color .3s ease; }
.zx-xl__ticks span::after { content: attr(data-v); position: absolute; top: 17px; left: 50%; translate: -50% 0; font-family: var(--zx-mono); font-size: 9px; letter-spacing: .04em; color: var(--zx-dim); white-space: nowrap; transition: color .3s ease; }
.zx-xl__ticks span.is-on { background: var(--zx-volt); }
.zx-xl__ticks span.is-on::after { color: var(--zx-volt); }
.zx-xl__price { margin-top: 12px; color: var(--zx-dim); font-size: 11px; }
.zx-xl__price b { margin-left: 6px; font-family: var(--zx-display); font-size: 22px; font-weight: 400; letter-spacing: .02em; color: var(--zx-fog); transition: opacity .25s ease; }
.zx-xl__price b.is-swap { opacity: 0; }
.zx-card--xl .zx-card__img { z-index: 1; }
/* "send a photo": a camera viewfinder that pulls focus as the card stands up */
.zx-card__vf {
  --c: rgba(5, 5, 7, .78); position: absolute; z-index: 1; pointer-events: none;
  inset: calc(14px + (1 - var(--cp)) * 40px);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 26px 2px, linear-gradient(var(--c), var(--c)) 0 0 / 2px 26px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 26px 2px, linear-gradient(var(--c), var(--c)) 100% 0 / 2px 26px,
    linear-gradient(var(--c), var(--c)) 0 100% / 26px 2px, linear-gradient(var(--c), var(--c)) 0 100% / 2px 26px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 26px 2px, linear-gradient(var(--c), var(--c)) 100% 100% / 2px 26px;
  background-repeat: no-repeat;
  transition: inset .6s var(--zx-ease);
}
.zx-card--volt:hover .zx-card__vf { inset: 8px; }
.zx-card__rec { position: absolute; top: 12px; right: 14px; display: flex; align-items: center; gap: 6px; font-size: 10px; color: rgba(5, 5, 7, .78); }
.zx-card__rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff2d2d; animation: zx-blink 1.2s steps(2, jump-none) infinite; }
@keyframes zx-blink { 50% { opacity: 0; } }
/* cards whose visual is a photo plus an animated overlay (cooling, battery):
   the wrapper takes the photo's place; the photo, its swap copy and the overlay share one box */
.zx .zx-card__vis { display: grid; filter: none; }
.zx-card__vis > img { grid-area: 1 / 1; width: 100%; height: auto; }
.zx-card__vis > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

/* cooling, seen from straight above: close on a fan spinning up → pull back to the twin-fan
   base → the M760 drops onto it → thermal view, the controller runs hot → it turns see-through,
   the fans speed up and cool spots grow out from each fan until the whole housing is cool →
   the controller lifts away and it starts again. JS steps data-phase, spins the fans and grows
   the cool spots (--r). Without JS / reduced motion: the assembled stack, still. */
.zx .zx-fan2 {
  position: relative; right: auto; bottom: auto; grid-row: 2; width: 100%; aspect-ratio: 16 / 10;
  margin: 14px 0 16px; overflow: hidden; border-radius: 14px; filter: none;
  background: radial-gradient(70% 90% at 50% 50%, #151826, var(--zx-ink) 80%);
  box-shadow: inset 0 0 0 1px var(--zx-line);
}
.zx-fan2__cam { position: absolute; inset: 0; transform-origin: 36.61% 52.86%; transition: transform 1.05s cubic-bezier(.65, 0, .25, 1); }
.zx-fan2[data-phase="fan"] .zx-fan2__cam, .zx-fan2[data-phase="lift"] .zx-fan2__cam { transform: translate(13.39%, -2.86%) scale(2.7); }
.zx-fan2[data-phase="lift"] .zx-fan2__cam { transition-delay: .3s; transition-duration: .75s; }
.zx-fan2__cam > img, .zx-fan2__ctrl, .zx-fan2__ctrl > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zx-fan2__fan { --spd: 0; position: absolute; border-radius: 50%; overflow: hidden; background: radial-gradient(closest-side, #10131d 0 86%, #090a10); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .6), inset 0 7px 16px rgba(0, 0, 0, .55); }
.zx-fan2__rot { position: absolute; inset: 1.5%; will-change: transform; }
.zx-fan2__rot img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zx-fan2__blade { opacity: calc(1 - var(--spd) * .55); }
.zx-fan2__blur { filter: blur(4px); opacity: calc(var(--spd) * .9); }
/* air pushed up toward you: rings and rays streaming out of each fan */
.zx-fan2__air { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .6s ease; }
.zx-fan2[data-phase="pull"] .zx-fan2__air, .zx-fan2[data-phase="drop"] .zx-fan2__air, .zx-fan2[data-phase="cool"] .zx-fan2__air { opacity: 1; }
.zx-fan2__rings circle { fill: none; stroke: rgba(120, 180, 255, .8); stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: zx-ring 1.8s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes zx-ring { 0% { transform: scale(.55); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
.zx-fan2__rays path { fill: none; stroke: rgba(190, 225, 255, .8); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 26 60; animation: zx-ray .7s linear infinite; animation-delay: var(--d, 0s); filter: drop-shadow(0 0 4px rgba(80, 150, 255, .9)); }
@keyframes zx-ray { to { stroke-dashoffset: -86; } }
/* the controller drops in (slight overshoot), casts a shadow, and later lifts away */
.zx-fan2__shadow { position: absolute; left: 17%; right: 17%; top: 18%; bottom: 13%; border-radius: 40px; background: rgba(0, 0, 0, .75); filter: blur(16px); opacity: 0; transform: scale(1.25); transition: opacity .4s ease, transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.zx-fan2__ctrl { transform-origin: 50% 50%; transition: transform .65s cubic-bezier(.3, 1.3, .5, 1), opacity .35s ease; }
.zx.is-js .zx-fan2[data-phase="fan"] .zx-fan2__ctrl, .zx.is-js .zx-fan2[data-phase="pull"] .zx-fan2__ctrl, .zx.is-js .zx-fan2[data-phase="lift"] .zx-fan2__ctrl { transform: scale(1.55); opacity: 0; }
.zx-fan2[data-phase="lift"] .zx-fan2__ctrl { transition: transform .55s cubic-bezier(.5, 0, .7, .4), opacity .4s ease .12s; }
.zx-fan2[data-phase="drop"] .zx-fan2__shadow, .zx-fan2[data-phase="hot"] .zx-fan2__shadow, .zx-fan2[data-phase="cool"] .zx-fan2__shadow { opacity: 1; transform: none; }
.zx-fan2__body { transition: opacity .4s ease; }
.zx-fan2[data-phase="cool"] .zx-fan2__body { opacity: .35; }
/* thermal: hot, then cool spots grow from each fan (--r set by JS) */
.zx-fan2__hot, .zx-fan2__cool { opacity: 0; transition: opacity .4s ease; }
.zx-fan2[data-phase="hot"] .zx-fan2__hot { opacity: 1; }
.zx-fan2[data-phase="cool"] .zx-fan2__hot, .zx-fan2[data-phase="cool"] .zx-fan2__cool { opacity: .84; }
/* during cooling the airflow rings show through the housing, right where the fans sit */
.zx-fan2__air--top { z-index: 1; }
.zx-fan2__air--top .zx-fan2__rays { display: none; }
.zx-fan2 .zx-fan2__air.zx-fan2__air--top { opacity: 0; }
.zx-fan2[data-phase="cool"] .zx-fan2__air.zx-fan2__air--top { opacity: .85; }
.zx-fan2__cool {
  --r: 0;
  -webkit-mask-image: radial-gradient(ellipse 30% 48% at 36.61% 52.86%, #000 calc(var(--r) * 100%), transparent calc(var(--r) * 100% + 12%)), radial-gradient(ellipse 30% 48% at 63.39% 52.86%, #000 calc(var(--r) * 100%), transparent calc(var(--r) * 100% + 12%));
  mask-image: radial-gradient(ellipse 30% 48% at 36.61% 52.86%, #000 calc(var(--r) * 100%), transparent calc(var(--r) * 100% + 12%)), radial-gradient(ellipse 30% 48% at 63.39% 52.86%, #000 calc(var(--r) * 100%), transparent calc(var(--r) * 100% + 12%));
}
/* HUD */
.zx-fan2__tag { position: absolute; z-index: 2; top: 9px; left: 11px; display: flex; align-items: center; gap: 6px; font-size: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .4s ease; }
.zx-fan2__tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: zx-blink 1.2s steps(2, jump-none) infinite; }
.zx-fan2__chip { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; font-size: 9.5px; color: var(--zx-volt); background: rgba(5, 5, 7, .72); box-shadow: inset 0 0 0 1px rgba(227, 227, 236, .2); opacity: 0; translate: 0 8px; transition: opacity .4s ease, translate .5s var(--zx-ease); }
.zx-fan2[data-phase="fan"] .zx-fan2__chip, .zx-fan2[data-phase="pull"] .zx-fan2__chip { opacity: 1; translate: none; }
.zx-fan2__scale { position: absolute; z-index: 2; top: 10%; bottom: 10%; right: 10px; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 5px; font-size: 9px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .4s ease; }
.zx-fan2[data-phase="hot"] .zx-fan2__scale, .zx-fan2[data-phase="cool"] .zx-fan2__scale,
.zx-fan2[data-phase="hot"] .zx-fan2__tag, .zx-fan2[data-phase="cool"] .zx-fan2__tag { opacity: 1; }
.zx-fan2__scale i { position: relative; width: 7px; border-radius: 4px; background: linear-gradient(#fff6ec, #e61e1e 12%, #ff8c00 26%, #f5e428 40%, #32d264 54%, #00c8dc 66%, #1478e6 80%, #12288c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.zx-fan2__mark { position: absolute; left: -9px; top: 12%; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid #fff; translate: 0 -50%; transition: top .8s ease; }
.zx-fan2[data-phase="cool"] .zx-fan2__mark { top: 80%; transition: top 2.1s cubic-bezier(.45, 0, .25, 1); }
/* water-cooling stage (after the fan cycle): the all-in-one pump slides in, coolant runs
   through its reservoir and out along two hoses toward the controller's water-cooled base */
.zx-fan2__cam { transition: transform 1.05s cubic-bezier(.65, 0, .25, 1), opacity .5s ease; }
.zx-fan2[data-phase="pump"] .zx-fan2__cam { transform: translate(13.39%, -2.86%) scale(2.7); opacity: 0; }
.zx-fan2__pump { position: absolute; inset: 0; z-index: 2; visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s linear .45s; }
.zx-fan2[data-phase="pump"] .zx-fan2__pump { visibility: visible; opacity: 1; transition: opacity .6s ease .2s, visibility 0s; }
.zx-fan2__pump::before { content: ""; position: absolute; left: 8%; right: 20%; bottom: 5%; height: 10%; border-radius: 50%; background: rgba(0, 0, 0, .7); filter: blur(14px); }
.zx-pump2__photo { position: absolute; left: 6.25%; top: 17.14%; width: 73.21%; height: 73.14%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); translate: 9% 0; scale: .96; transition: translate .9s cubic-bezier(.2, .8, .2, 1) .15s, scale .9s cubic-bezier(.2, .8, .2, 1) .15s; }
.zx-fan2[data-phase="pump"] .zx-pump2__photo { translate: none; scale: 1; }
.zx-pump2__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zx-pump2__water { fill: rgba(40, 150, 255, .2); mix-blend-mode: screen; animation: zx-p2-water 2.4s ease-in-out infinite alternate; }
@keyframes zx-p2-water { to { fill: rgba(60, 190, 255, .32); } }
.zx-pump2__bub { fill: rgba(200, 235, 255, .75); animation: zx-p2-bub 1.9s linear infinite; animation-delay: var(--d, 0s); }
@keyframes zx-p2-bub { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--x, 0), -112px); opacity: 0; } }
.zx-pump2__hose { fill: none; stroke: #14161d; stroke-width: 26; stroke-linecap: round; }
.zx-pump2__hose-hi { fill: none; stroke: rgba(227, 227, 236, .14); stroke-width: 22; stroke-linecap: round; stroke-dasharray: 0; transform: translateY(-5px); }
.zx-pump2__flow { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 18 26; filter: drop-shadow(0 0 5px currentColor); stroke-dashoffset: 0; }
.zx-pump2__flow--out { color: #34c8ff; stroke: #5fd6ff; animation: zx-p2-out .9s linear infinite; }
.zx-pump2__flow--in { color: #ff9a3c; stroke: #ffb066; animation: zx-p2-in .9s linear infinite; }
@keyframes zx-p2-out { to { stroke-dashoffset: -44; } }
@keyframes zx-p2-in { to { stroke-dashoffset: 44; } }
.zx-fan2:not([data-phase="pump"]) .zx-pump2__svg * { animation-play-state: paused; }
.zx-pump2__tag { position: absolute; top: 9px; left: 11px; display: flex; align-items: center; gap: 6px; font-size: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.zx-pump2__tag i { width: 7px; height: 7px; border-radius: 50%; background: #34c8ff; box-shadow: 0 0 8px #34c8ff; }
.zx-pump2__state { position: absolute; top: 8px; right: 10px; padding: 4px 8px; border-radius: 999px; font-size: 9px; color: var(--zx-fog); background: rgba(5, 5, 7, .6); box-shadow: inset 0 0 0 1px rgba(227, 227, 236, .28); }
.zx-pump2__chip { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; font-size: 9.5px; color: #8fe2ff; background: rgba(5, 5, 7, .72); box-shadow: inset 0 0 0 1px rgba(52, 200, 255, .35); translate: 0 8px; opacity: 0; transition: opacity .4s ease .5s, translate .5s var(--zx-ease) .5s; }
.zx-fan2[data-phase="pump"] .zx-pump2__chip { opacity: 1; translate: none; }

/* battery: the real pack in the studio light. It charges (port rings, status lights fill),
   then a scan line turns the shell to dark glass: cell blocks fill while current runs in from
   the charge port. Hover holds the X-ray. The cell blocks are a drawing, not the pack's layout. */
.zx-bat2 { --bt: 8s; }
.zx .zx-card__vis.zx-bat2 { display: block; overflow: visible; }
.zx .zx-card.zx-card--bat .zx-card__img.zx-bat2 { width: min(70%, 380px); right: -12%; bottom: -12%; }
.zx-bat2__rig { position: relative; display: block; }
.zx-bat2__photo { display: block; width: 100%; height: auto; filter: drop-shadow(0 36px 34px rgba(0, 0, 0, .62)); }
.zx-bat2__xray, .zx-bat2__ui { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.zx-bat2__xray { clip-path: inset(0 86% 0 0); }
.zx-bat2__xray svg { display: block; width: 100%; height: 100%; }
.zx-bat2__glass { fill: rgba(7, 11, 46, .88); }
.zx-bat2__mods rect { fill: none; stroke: rgba(150, 175, 255, .62); stroke-width: 2.5; }
.zx-bat2__fill rect { fill: var(--zx-volt); opacity: 0; }
.zx-bat2__bus path { fill: none; stroke: rgba(150, 175, 255, .3); stroke-width: 6; stroke-linejoin: round; }
.zx-bat2__flow path { fill: none; stroke: var(--zx-volt); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20 46; animation: zx-b2-flow .55s linear infinite; animation-delay: var(--d, 0s); }
.zx-bat2__fine path { fill: none; stroke: #bfe9ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 5 19; animation: zx-b2-fine .3s linear infinite; animation-delay: var(--d, 0s); }
.zx-bat2__flow { filter: drop-shadow(0 0 8px rgba(223, 255, 58, .9)); }
@keyframes zx-b2-flow { to { stroke-dashoffset: -66; } }
@keyframes zx-b2-fine { to { stroke-dashoffset: -24; } }
.zx-bat2__beam { position: absolute; top: 1.2%; bottom: 1.2%; left: 14%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--zx-volt); box-shadow: 0 0 16px 3px rgba(223, 255, 58, .75), 0 0 2px #fff; opacity: 0; pointer-events: none; }
.zx-bat2__beam::after { content: ""; position: absolute; right: 100%; top: 0; bottom: 0; width: 70px; background: linear-gradient(90deg, rgba(223, 255, 58, 0), rgba(223, 255, 58, .2)); }
.zx-bat2__led { fill: var(--zx-volt); opacity: 0; filter: drop-shadow(0 0 7px rgba(223, 255, 58, 1)); }
.zx-bat2__led--1 { opacity: .95; }
.zx-bat2__ui { overflow: visible; }
.zx-bat2__port { opacity: 0; }
.zx-bat2__wave { fill: none; stroke: var(--zx-volt); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
/* charger plug: slides onto the terminals, its pins light, current runs up the cable */
.zx-bat2__plug { transform: translateX(-340px); opacity: 0; }
.zx-bat2__cable { fill: none; stroke: #111318; stroke-width: 30; stroke-linecap: round; }
.zx-bat2__cable-hi { fill: none; stroke: rgba(227, 227, 236, .12); stroke-width: 22; stroke-linecap: round; transform: translateY(-5px); }
.zx-bat2__juice { fill: none; stroke: var(--zx-volt); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 16 34; opacity: 0; filter: drop-shadow(0 0 6px rgba(223, 255, 58, .9)); }
.zx-bat2__head { fill: #17191f; stroke: rgba(227, 227, 236, .35); stroke-width: 3; }
.zx-bat2__grip { fill: #0f1014; stroke: rgba(227, 227, 236, .18); stroke-width: 2; }
.zx-bat2__pin { fill: #2a2d36; stroke: rgba(227, 227, 236, .3); stroke-width: 2; }
/* level readout beside the LED window: state, percentage counting up, five segments */
@property --zx-pct { syntax: "<integer>"; inherits: false; initial-value: 20; }
.zx-bat2__hud { position: absolute; left: 13.5%; top: 10%; display: grid; gap: 4px; padding: 8px 11px 9px; border-radius: 10px; background: rgba(5, 5, 7, .78); box-shadow: inset 0 0 0 1px rgba(223, 255, 58, .28); opacity: 0; font-size: clamp(8px, .75vw, 10px); }
.zx-bat2__state { position: relative; display: grid; color: var(--zx-dim); font-size: 1em; letter-spacing: .12em; }
.zx-bat2__st { grid-area: 1 / 1; white-space: nowrap; }
.zx-bat2__st--full { opacity: 0; color: var(--zx-volt); }
.zx-bat2__pct { --zx-pct: 20; counter-reset: zxp var(--zx-pct); font-size: 2.6em; line-height: .95; color: var(--zx-fog); }
.zx-bat2__pct::after { content: counter(zxp) "%"; }
.zx-bat2__seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; width: 7.5em; }
.zx-bat2__seg i { height: 5px; border-radius: 2px; background: rgba(227, 227, 236, .14); }
.zx-bat2__seg i:first-child { background: var(--zx-volt); }
.zx-bat2__tag { position: absolute; right: 4%; top: 4%; display: flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(5, 5, 7, .7); color: var(--zx-volt); font-size: 9px; opacity: 0; }
.zx-bat2__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--zx-volt); box-shadow: 0 0 8px var(--zx-volt); animation: zx-blink 1s steps(2, jump-none) infinite; }
/* the loop runs only while the card is on screen */
.zx-bat2.is-run .zx-bat2__xray { animation: zx-b2-sweep var(--bt) cubic-bezier(.45, 0, .25, 1) infinite; }
.zx-bat2.is-run .zx-bat2__beam { animation: zx-b2-beam var(--bt) cubic-bezier(.45, 0, .25, 1) infinite; }
.zx-bat2.is-run .zx-bat2__tag { animation: zx-b2-tag var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__port { animation: zx-b2-port var(--bt) ease infinite; }
.zx-bat2.is-run .zx-bat2__wave { animation: zx-b2-wave 1.1s ease-out infinite; animation-delay: var(--d, 0s); }
.zx-bat2.is-run .zx-bat2__fill rect { animation: zx-b2-fill var(--bt) ease-in-out infinite; animation-delay: calc(var(--c, 0) * .22s); }
.zx-bat2.is-run .zx-bat2__led--2 { animation: zx-b2-l2 var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__led--3 { animation: zx-b2-l3 var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__led--4 { animation: zx-b2-l4 var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__led--5 { animation: zx-b2-l5 var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__plug { animation: zx-b2-plug var(--bt) cubic-bezier(.3, .8, .3, 1) infinite; }
.zx-bat2.is-run .zx-bat2__pin { animation: zx-b2-pin var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__head { animation: zx-b2-head var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__juice { animation: zx-b2-juice var(--bt) linear infinite, zx-b2-run .7s linear infinite; }
.zx-bat2.is-run .zx-bat2__hud { animation: zx-b2-hud var(--bt) ease infinite; }
.zx-bat2.is-run .zx-bat2__pct { animation: zx-b2-pct var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__st--on { animation: zx-b2-st-on var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__st--full { animation: zx-b2-st-full var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__seg i:nth-child(2) { animation: zx-b2-s2 var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__seg i:nth-child(3) { animation: zx-b2-s3 var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__seg i:nth-child(4) { animation: zx-b2-s4 var(--bt) linear infinite; }
.zx-bat2.is-run .zx-bat2__seg i:nth-child(5) { animation: zx-b2-s5 var(--bt) linear infinite; }
@keyframes zx-b2-sweep { 0%, 30% { clip-path: inset(0 86% 0 0); opacity: 1; } 50%, 82% { clip-path: inset(0 0 0 0); opacity: 1; } 92% { clip-path: inset(0 0 0 0); opacity: 0; } 92.1%, 100% { clip-path: inset(0 86% 0 0); opacity: 0; } }
@keyframes zx-b2-beam { 0%, 30% { left: 14%; opacity: 0; } 31%, 48% { opacity: 1; } 50% { left: 100%; opacity: 0; } 100% { left: 100%; opacity: 0; } }
@keyframes zx-b2-tag { 0%, 32% { opacity: 0; } 36%, 84% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes zx-b2-port { 0%, 6% { opacity: 0; } 9%, 86% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes zx-b2-plug { 0% { transform: translateX(-340px); opacity: 0; } 2% { opacity: 1; } 6.5% { transform: translateX(6px); } 7.5%, 88% { transform: none; opacity: 1; } 94% { transform: translateX(-340px); opacity: 1; } 95%, 100% { transform: translateX(-340px); opacity: 0; } }
@keyframes zx-b2-pin { 0%, 7% { fill: #2a2d36; } 8%, 88% { fill: var(--zx-volt); } 89%, 100% { fill: #2a2d36; } }
@keyframes zx-b2-head { 0%, 7% { stroke: rgba(227, 227, 236, .35); } 8%, 88% { stroke: var(--zx-volt); } 89%, 100% { stroke: rgba(227, 227, 236, .35); } }
@keyframes zx-b2-juice { 0%, 7.5% { opacity: 0; } 9%, 58% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes zx-b2-run { to { stroke-dashoffset: 50; } }
@keyframes zx-b2-hud { 0%, 6% { opacity: 0; translate: 0 6px; } 9%, 88% { opacity: 1; translate: none; } 92%, 100% { opacity: 0; translate: none; } }
@keyframes zx-b2-pct { 0%, 8% { --zx-pct: 20; } 58%, 100% { --zx-pct: 100; } }
@keyframes zx-b2-st-on { 0%, 57% { opacity: 1; } 59%, 100% { opacity: 0; } }
@keyframes zx-b2-st-full { 0%, 57% { opacity: 0; } 59%, 100% { opacity: 1; } }
@keyframes zx-b2-wave { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes zx-b2-fill { 0%, 50% { opacity: 0; } 58% { opacity: .26; } 66% { opacity: .08; } 74% { opacity: .2; } 84%, 100% { opacity: 0; } }
@keyframes zx-b2-l2 { 0%, 20.4% { opacity: 0; } 20.5%, 89.9% { opacity: .95; } 90%, 100% { opacity: 0; } }
@keyframes zx-b2-l3 { 0%, 32.9% { opacity: 0; } 33%, 89.9% { opacity: .95; } 90%, 100% { opacity: 0; } }
@keyframes zx-b2-l4 { 0%, 45.4% { opacity: 0; } 45.5%, 89.9% { opacity: .95; } 90%, 100% { opacity: 0; } }
@keyframes zx-b2-l5 { 0%, 57.9% { opacity: 0; } 58%, 89.9% { opacity: .95; } 90%, 100% { opacity: 0; } }
@keyframes zx-b2-s2 { 0%, 20.4% { background: rgba(227, 227, 236, .14); } 20.5%, 89.9% { background: var(--zx-volt); } 90%, 100% { background: rgba(227, 227, 236, .14); } }
@keyframes zx-b2-s3 { 0%, 32.9% { background: rgba(227, 227, 236, .14); } 33%, 89.9% { background: var(--zx-volt); } 90%, 100% { background: rgba(227, 227, 236, .14); } }
@keyframes zx-b2-s4 { 0%, 45.4% { background: rgba(227, 227, 236, .14); } 45.5%, 89.9% { background: var(--zx-volt); } 90%, 100% { background: rgba(227, 227, 236, .14); } }
@keyframes zx-b2-s5 { 0%, 57.9% { background: rgba(227, 227, 236, .14); } 58%, 89.9% { background: var(--zx-volt); } 90%, 100% { background: rgba(227, 227, 236, .14); } }
@media (hover: hover) and (pointer: fine) {
  .zx-card--bat:hover .zx-bat2__xray { animation: none; clip-path: inset(0 0 0 0); opacity: 1; }
  .zx-card--bat:hover .zx-bat2__fill rect { animation: zx-b2-hold 1.8s ease-in-out infinite; animation-delay: calc(var(--c, 0) * .18s); }
  .zx-card--bat:hover .zx-bat2__led, .zx-card--bat:hover .zx-bat2__port, .zx-card--bat:hover .zx-bat2__tag, .zx-card--bat:hover .zx-bat2__hud { animation: none; opacity: 1; translate: none; }
  .zx-card--bat:hover .zx-bat2__plug { animation: none; transform: none; opacity: 1; }
  .zx-card--bat:hover .zx-bat2__pin { animation: none; fill: var(--zx-volt); }
  .zx-card--bat:hover .zx-bat2__head { animation: none; stroke: var(--zx-volt); }
  .zx-card--bat:hover .zx-bat2__pct { animation: none; --zx-pct: 100; }
  .zx-card--bat:hover .zx-bat2__st--on { animation: none; opacity: 0; }
  .zx-card--bat:hover .zx-bat2__st--full { animation: none; opacity: 1; }
  .zx-card--bat:hover .zx-bat2__seg i { animation: none; background: var(--zx-volt); }
  .zx-card--bat:hover .zx-bat2__beam { animation: none; opacity: 0; }
}
@keyframes zx-b2-hold { 0%, 100% { opacity: .05; } 50% { opacity: .22; } }

/* harness: the camera pushes in on the controller's 6-, 16- and 8-pin sockets, then the
   harness plugs seat one after another and every pin lights in its wire colour:
   the adapter plugs straight into the stock connectors. It re-plugs for each brand,
   and on a mouse hovering pulls the plugs out. Without JS it shows the final state. */
.zx .zx-port {
  position: relative; right: auto; bottom: auto; grid-row: 2; width: 100%; aspect-ratio: 16 / 10;
  margin: 14px 0 16px; overflow: hidden; border-radius: 14px; filter: none;
  background: radial-gradient(70% 90% at 50% 40%, #191b2b, var(--zx-ink) 80%);
  box-shadow: inset 0 0 0 1px var(--zx-line);
}
.zx-port__zoom {
  position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 1; margin-top: -50%;
  transform-origin: 46.57% 30%;
  transform: scale(.92);
  transition: transform 1.15s cubic-bezier(.7, 0, .2, 1);
}
/* zoomed: the connector strip (centre 652, 420 of 1400) lands in the middle of the 16:10 box */
.zx-port.is-zoom .zx-port__zoom, .zx:not(.is-js) .zx-port__zoom { transform: translate(3.43%, 20%) scale(2.2); }
.zx-port__img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6)); }
.zx-port__fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zx-port__dim { fill: rgba(5, 5, 7, .62); opacity: 0; transition: opacity .8s ease .3s; }
.zx-port.is-zoom .zx-port__dim, .zx:not(.is-js) .zx-port__dim { opacity: 1; }
.zx-port__plug {
  transform-box: fill-box; transform-origin: center;
  transform: translate(0, -30px) scale(1.3); opacity: 0;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1.3) calc(var(--s, 0) * 170ms), opacity .3s ease calc(var(--s, 0) * 170ms);
}
.zx-port.is-locked .zx-port__plug, .zx:not(.is-js) .zx-port__plug { transform: none; opacity: 1; }
.zx-port.is-out .zx-port__plug { transform: translate(0, -18px) scale(1.14); opacity: .45; transition-delay: 0s; }
.zx-port__body { fill: rgba(233, 233, 240, .12); stroke: var(--zx-volt); stroke-width: 3.5; }
.zx-port__latch { fill: rgba(233, 233, 240, .5); stroke: var(--zx-volt); stroke-width: 2; }
.zx-port.is-locked .zx-port__body { animation: zx-portflash .7s ease-out calc(var(--s, 0) * 170ms + 300ms) backwards; filter: drop-shadow(0 0 10px rgba(223, 255, 58, .75)); }
@keyframes zx-portflash { 0% { stroke: #fff; stroke-width: 9; fill: rgba(223, 255, 58, .45); } 100% { stroke-width: 3.5; fill: rgba(233, 233, 240, .12); } }
.zx-port__pin { fill: rgba(140, 140, 155, .0); stroke: none; transition: fill .2s ease calc(var(--s, 0) * 170ms + var(--i, 0) * 28ms + 420ms); }
.zx-port.is-locked .zx-port__pin, .zx:not(.is-js) .zx-port__pin { fill: var(--c); filter: drop-shadow(0 0 6px var(--c)); }
.zx-port.is-locked .zx-port__pin { animation: zx-signal 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 60ms + 1.4s); }
.zx-port:not(.is-locked) .zx-port__pin { transition-delay: 0s; transition-duration: .12s; }
@keyframes zx-signal { 0%, 72%, 100% { opacity: 1; } 82% { opacity: .3; } }
.zx-port__label { font-family: var(--zx-mono); font-size: 30px; font-weight: 700; letter-spacing: .06em; text-anchor: middle; fill: var(--zx-volt); opacity: 0; transition: opacity .3s ease calc(var(--s, 0) * 170ms + 350ms); }
.zx-port.is-locked .zx-port__label, .zx:not(.is-js) .zx-port__label { opacity: 1; }
.zx-port:not(.is-locked) .zx-port__label { transition-delay: 0s; }
.zx-port__brand { font-family: var(--zx-mono); font-size: 34px; font-weight: 700; letter-spacing: .2em; text-anchor: middle; fill: rgba(227, 227, 236, .6); opacity: 0; transition: opacity .4s ease, fill .3s ease; }
.zx-port.is-zoom .zx-port__brand, .zx:not(.is-js) .zx-port__brand { opacity: 1; }
.zx-port.is-locked .zx-port__brand { fill: var(--zx-volt); }


/* motor: the rotor photo spins (JS sets the angle; speed rises on hover and with scroll speed),
   a blurred copy and streaks fade in with speed, and the U/V/W field leads it around the coils */
.zx-motor { --spd: 0; }
.zx-motor__spin { grid-area: 1 / 1; display: grid; }
.zx-motor__spin > img { grid-area: 1 / 1; width: 100%; height: auto; will-change: transform; }
.zx-motor__rotor { filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .6)); opacity: calc(1 - var(--spd) * .45); }
.zx-motor__ghost { filter: blur(3px); opacity: calc(var(--spd) * .85); }
.zx-motor::after {
  /* a fixed key light, so the reflections stay put while the rotor turns */
  content: ""; position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .16), transparent 42%), radial-gradient(circle at 50% 50%, transparent 62%, rgba(47, 61, 255, calc(.1 + var(--spd) * .35)) 72%, transparent 76%);
  mix-blend-mode: screen;
}
.zx-motor__streak {
  position: absolute; inset: 9%; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, transparent 0deg 7deg, rgba(227, 227, 236, .1) 7deg 8deg);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 30%, #000 64%, transparent 70%); mask: radial-gradient(circle, transparent 18%, #000 30%, #000 64%, transparent 70%);
  opacity: calc(var(--spd) * .9);
}
.zx-motor__coils path { fill: rgba(227, 227, 236, .12); stroke: rgba(227, 227, 236, .18); stroke-width: .2; }
.zx-motor__field { transform-box: view-box; transform-origin: 50px 50px; will-change: transform; }
.zx-motor__field path { fill: none; stroke-width: 2.6; stroke-linecap: round; opacity: calc(.55 + var(--spd) * .45); }
.zx-motor__u { stroke: #ffd400; filter: drop-shadow(0 0 1.6px #ffd400); }
.zx-motor__v { stroke: #18b04a; filter: drop-shadow(0 0 1.6px #18b04a); }
.zx-motor__w { stroke: #1e63ff; filter: drop-shadow(0 0 1.6px #1e63ff); }
.zx-motor__hub { fill: rgba(47, 61, 255, .9); opacity: calc(.15 + var(--spd) * .7); filter: drop-shadow(0 0 4px rgba(47, 61, 255, 1)); }


/* scan-wipe photo swap (shared by the controller card, comparison panel and vehicle panel):
   the old photo is cut away from the left while the new one is revealed behind a beam.
   All three use the same timing so the edges stay together. Negative insets keep the shadows. */
.zx-wipe-new { animation: zx-wipe-in .9s cubic-bezier(.7, 0, .3, 1) both; pointer-events: none; }
.zx-wipe-old { animation: zx-wipe-out .9s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes zx-wipe-in { from { clip-path: inset(-30% 112% -30% -12%); } to { clip-path: inset(-30% -12% -30% -12%); } }
@keyframes zx-wipe-out { from { clip-path: inset(-30% -12% -30% -12%); } to { clip-path: inset(-30% -12% -30% 112%); } }
.zx-beam { position: absolute; z-index: 3; pointer-events: none; opacity: 0; }
.zx-beam::before {
  content: ""; position: absolute; top: -8%; bottom: -8%; left: 0; width: 100%;
  background: linear-gradient(90deg, transparent calc(100% - 110px), rgba(223, 255, 58, .16) calc(100% - 24px), rgba(223, 255, 58, .55) calc(100% - 4px), #fff calc(100% - 2px), var(--zx-volt) 100%);
  transform: translateX(-112%);
}
.zx-beam.is-on { animation: zx-beam-fade .9s linear; }
.zx-beam.is-on::before { animation: zx-beam-x .9s cubic-bezier(.7, 0, .3, 1) both; }
@keyframes zx-beam-x { from { transform: translateX(-112%); } to { transform: translateX(12%); } }
@keyframes zx-beam-fade { 0% { opacity: 0; } 12%, 82% { opacity: 1; } 100% { opacity: 0; } }
.zx-card__cta { position: relative; z-index: 2; grid-row: 3; justify-self: start; padding: 10px 16px; border-radius: 999px; background: var(--zx-fog); color: var(--zx-ink); font-size: 11px; }
.zx .zx-card--volt { background: var(--zx-volt); color: var(--zx-ink); box-shadow: none; }
.zx-card--volt .zx-card__meta, .zx-card--volt .zx-card__desc { color: rgba(5, 5, 7, .72); }
.zx-card--volt .zx-d b { color: var(--zx-blue); }
.zx-card--volt .zx-card__cta { background: var(--zx-ink); color: var(--zx-volt); }
.zx-card--volt .zx-card__shine { display: none; }
@media (max-width: 699px) {
  /* controller card: text, readout, photo, button — stacked in flow */
  .zx-card--xl { grid-template-rows: auto auto auto auto; }
  .zx-card--xl .zx-xl { align-self: start; }
  .zx-card--xl .zx-card__img { position: relative; grid-row: 3; grid-column: 1; justify-self: center; right: auto; bottom: auto; width: 92%; max-width: 420px; margin: -6px 0 6px; }
  .zx-card--xl .zx-card__cta { grid-row: 4; }
  .zx-xl__big { font-size: 96px; top: auto; bottom: 92px; right: 12px; }
  /* battery: the whole pack below the text */
  .zx-card--bat { min-height: 480px; }
  .zx .zx-card.zx-card--bat .zx-card__img.zx-bat2 { width: 84%; right: 8%; bottom: 76px; }
}
@media (min-width: 700px) {
  .zx-bento__grid { grid-template-columns: repeat(2, 1fr); }
  .zx-card { --ax: 26deg; }
  .zx-card--xl, .zx-card--wide { grid-column: span 2; }
  .zx-card--xl .zx-card__img, .zx-card--wide .zx-card__img { width: min(50%, 400px); right: -2%; bottom: -12%; }
  .zx .zx-card--wide .zx-port, .zx .zx-card--wide .zx-fan2 { position: absolute; grid-row: auto; right: 3%; bottom: auto; top: 50%; width: 47%; margin: 0; translate: 0 -50%; }
  .zx-card--xl { min-height: 560px; }
  .zx-card--xl .zx-xl { max-width: 48%; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .zx-card--bat { min-height: 510px; }
  .zx .zx-card.zx-card--bat .zx-card__img.zx-bat2 { width: 82%; right: 9%; bottom: 80px; }
}
@media (min-width: 1100px) {
  .zx-bento__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(320px, auto); }
  .zx-card { min-height: 0; padding: 30px; }
  .zx-card__title { font-size: clamp(40px, 3.6vw, 60px); }
  .zx-card--xl { grid-column: span 2; grid-row: span 2; }
  .zx-card--xl .zx-card__title { font-size: clamp(56px, 5.2vw, 88px); }
  .zx-card--xl .zx-card__body { max-width: 50%; }
  .zx-card--xl .zx-card__img { width: min(64%, 440px); right: -2%; bottom: -5%; }
  .zx-card--wide { grid-column: span 2; }
  .zx-card--wide .zx-card__body { max-width: 50%; }
  .zx-card--wide .zx-card__img { width: 46%; right: -2%; bottom: -14%; }
  .zx .zx-card--volt .zx-card__body { max-width: 74%; }
  .zx-card:not(.zx-card--xl):not(.zx-card--wide) .zx-card__img { width: 56%; right: -8%; bottom: -6%; }
  .zx-bento__grid > .zx-card:nth-child(1) { --ay: 14deg; }
  .zx-bento__grid > .zx-card:nth-child(2) { --ay: -14deg; }
  .zx-bento__grid > .zx-card:nth-child(3) { --ay: -6deg; }
  .zx-bento__grid > .zx-card:nth-child(4) { --ay: -16deg; }
  .zx-bento__grid > .zx-card:nth-child(5) { --ay: 12deg; }
  .zx-bento__grid > .zx-card:nth-child(6) { --ay: -12deg; }
  .zx .zx-card--wide .zx-port, .zx .zx-card--wide .zx-fan2 { width: 48%; right: 3%; }
  .zx .zx-card.zx-card--motor .zx-card__img.zx-motor { width: 68%; right: -14%; bottom: -14%; }
  .zx-bento__grid > .zx-card--xl { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .zx-bento__grid > .zx-card--cool { grid-column: 3 / span 2; grid-row: 1; }
  .zx-bento__grid > .zx-card--bat { grid-column: 3 / span 2; grid-row: 2; }
  .zx-bento__grid > .zx-card--plug { grid-column: 1 / span 2; grid-row: 3; }
  .zx-bento__grid > .zx-card--motor { grid-column: 3; grid-row: 3; }
  .zx-bento__grid > .zx-card--volt { grid-column: 4; grid-row: 3; }
  .zx-card--bat .zx-card__body { max-width: 44%; }
  .zx .zx-card.zx-card--bat .zx-card__img.zx-bat2 { width: min(50%, 420px); right: 4.5%; bottom: 8%; }
  .zx .zx-card--volt .zx-card__body { max-width: none; }
  .zx-card--volt .zx-card__title { font-size: clamp(34px, 2.7vw, 46px); }
  .zx-card--xl .zx-xl { max-width: min(42%, 400px); }
  .zx-card--xl .zx-card__img { width: min(54%, 430px); right: 2%; bottom: 6%; }
  .zx-xl__big { top: 22px; right: 30px; }
}

/* ======================================================================== */
/* 04 · LINEUP                                                               */
/* ======================================================================== */
.zx-lineup { padding: clamp(80px, 14vh, 160px) var(--zx-g); background: var(--zx-fog); color: var(--zx-ink); }
.zx-lineup .zx-head__lead { color: var(--zx-dim-ink); }
.zx-lineup .zx-d b { color: var(--zx-blue); }
.zx-lineup__visual { display: none; }
.zx-lineup__list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--zx-line-ink); }
.zx-row { border-top: 1px solid var(--zx-line-ink); }
.zx-row__head {
  display: grid; grid-template-columns: 34px 1fr auto 22px; align-items: center; gap: 4px 12px;
  width: 100%; padding: 22px 0; text-align: left;
}
.zx-row__n { grid-row: 1 / span 2; align-self: start; padding-top: .5em; opacity: .55; }
.zx-row__model { font-size: clamp(44px, 6vw, 92px); line-height: .9; transition: color .25s ease, transform .5s var(--zx-ease); }
.zx-row__tag { grid-column: 2 / -1; opacity: .65; }
.zx-row__price { grid-column: 3; grid-row: 1; font-family: var(--zx-mono); font-size: 13px; font-weight: 700; white-space: nowrap; }
.zx-row__icon { grid-column: 4; grid-row: 1; position: relative; width: 22px; height: 22px; }
.zx-row__icon::before, .zx-row__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .4s var(--zx-ease); }
.zx-row__icon::after { transform: rotate(90deg); }
.zx-row.is-active .zx-row__icon::after { transform: rotate(0deg); }
.zx-row.is-active .zx-row__model { color: var(--zx-blue); transform: translateX(6px); }
.zx-row__head:hover .zx-row__model { transform: translateX(6px); }
/* open by default; JS collapses the rows (so specs stay readable without JS). Collapsed
   panels are also visibility:hidden so their links drop out of the tab order. */
.zx-row__panel { display: grid; grid-template-rows: 1fr; }
.zx.is-js .zx-row__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--zx-ease), visibility 0s linear .55s; }
.zx.is-js .zx-row.is-active .zx-row__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--zx-ease), visibility 0s; }
.zx-row__inner { min-height: 0; overflow: hidden; display: grid; gap: 18px; padding-left: 46px; }
.zx:not(.is-js) .zx-row__inner, .zx-row.is-active .zx-row__inner { padding-bottom: 28px; }
/* the cut-outs are square with empty bands above and below; 4:3 trims them, and the
   narrower width leaves room for the shadow inside the overflow-clipped panel */
.zx-row__img { width: min(86%, 380px); aspect-ratio: 4 / 3; object-fit: cover; margin: 0 auto; filter: drop-shadow(0 16px 16px rgba(5, 5, 7, .22)); }
.zx-row__side { width: min(72%, 320px); margin: -6px auto 0; text-align: center; }
.zx-row__side figcaption { margin-top: 2px; font-size: 10px; opacity: .6; }
.zx-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.zx-specs > div { padding: 12px 0; border-top: 1px solid var(--zx-line-ink); }
.zx-specs dt { opacity: .6; font-size: 10.5px; }
.zx-specs dd { margin: 4px 0 0; font-family: var(--zx-display); font-size: 30px; line-height: 1; }
.zx-specs dd small { font-family: var(--zx-mono); font-size: 12px; font-weight: 700; }
.zx-row .zx-btn { justify-self: start; }
/* phase-current meter: where this model sits against the strongest one */
.zx-meter { display: grid; gap: 8px; padding-top: 4px; }
.zx:not(.is-js) .zx-meter { display: none; }
.zx-meter__k { margin: 0; font-size: 10.5px; opacity: .6; }
.zx-meter__bar { position: relative; height: 10px; border-radius: 999px; background: rgba(5, 5, 7, .08); overflow: hidden; }
.zx-meter__bar i {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--zx-blue), #6f78ff 70%, var(--zx-volt));
  transform: scaleX(0); transition: transform 1.1s var(--zx-ease) .2s;
}
.zx-lineup.is-seen .zx-row.is-active .zx-meter__bar i { transform: scaleX(calc(var(--a, 1) / var(--amax, 1))); }
.zx-meter__ticks { position: relative; height: 16px; }
.zx-meter__ticks span { position: absolute; top: 0; translate: -50% 0; font-family: var(--zx-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; opacity: .4; white-space: nowrap; }
.zx-meter__ticks span:last-child { translate: -100% 0; }
.zx-meter__ticks span.is-own { opacity: 1; color: var(--zx-blue); }
.zx-lineup__foot { margin: 28px 0 0; max-width: 90ch; opacity: .7; text-transform: none; letter-spacing: .02em; font-weight: 500; }

@media (min-width: 1100px) {
  .zx-lineup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
  .zx-lineup__visual { display: block; position: sticky; top: calc(var(--zx-header) + 4vh); height: calc(100vh - var(--zx-header) - 8vh); height: calc(100svh - var(--zx-header) - 8vh); max-height: 760px; }
  .zx-lineup__panel {
    position: relative; height: 100%; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(160deg, var(--zx-blue) 0%, var(--zx-blue-2) 100%);
    clip-path: polygon(4% 0, 100% 3%, 96% 100%, 0 97%);
    border-radius: 6px;
  }
  .zx-lineup__num { position: absolute; left: 6%; top: 4%; font-size: clamp(120px, 15vw, 260px); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(227, 227, 236, .45); }
  .zx-lineup__panel::after {
    /* fine scanlines and a slow sheen across the blue */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px);
  }
  .zx-lineup__img { grid-area: 1 / 1; position: relative; width: 80%; margin-top: -12%; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); }
  .zx-lineup__side { position: absolute; z-index: 1; left: 5%; bottom: 3.5%; width: 52%; margin: 0; display: grid; }
  .zx-lineup__side img { grid-area: 1 / 1; width: 100%; }
  .zx-lineup__side figcaption { grid-row: 2; margin-top: 2px; font-size: 10px; color: rgba(227, 227, 236, .72); }
  .zx-lineup__hud { position: absolute; z-index: 2; top: 5%; right: 6%; max-width: 46%; text-align: right; font-size: 11px; color: var(--zx-volt); white-space: pre-line; }
  .zx-row__side { display: none; }
  .zx-row__img { display: none; }
  .zx-row__inner { padding-left: 46px; }
  .zx-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ======================================================================== */
/* 05 · FITMENT                                                              */
/* ======================================================================== */
.zx-fit { display: grid; gap: 40px; padding: clamp(80px, 14vh, 160px) var(--zx-g); background: var(--zx-ink); }
.zx-fit__copy { display: grid; gap: 22px; align-content: start; }
.zx-fit .zx-head__lead { justify-self: start; }
.zx-fit__brands { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.zx-fit__ind { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--zx-fog); pointer-events: none; transition: transform .55s var(--zx-ease), width .55s var(--zx-ease); }
.zx-fit__brands .zx-pill { position: relative; z-index: 1; }
.zx-fit__brands.has-ind .zx-pill[aria-pressed="true"] { background: transparent; }
.zx-pill { min-height: 44px; padding: 0 20px; border-radius: 999px; font-family: var(--zx-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(227, 227, 236, .4); transition: background-color .25s ease, color .25s ease; }
.zx-pill:hover { background: rgba(227, 227, 236, .08); }
.zx-pill[aria-pressed="true"] { background: var(--zx-fog); color: var(--zx-ink); box-shadow: none; }
.zx-fit__checks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--zx-line); }
.zx-fit__checks li { position: relative; display: flex; gap: 16px; align-items: baseline; padding: 14px 34px 14px 0; border-bottom: 1px solid var(--zx-line); font-size: 16px; }
/* the four checks tick in one by one */
.zx-fit__checks li::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: var(--zx-volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23050507' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .55s cubic-bezier(.3, 1.6, .5, 1) calc(var(--n, 0) * 160ms + 250ms), opacity .3s ease calc(var(--n, 0) * 160ms + 250ms);
}
.zx-fit__checks li:nth-child(2) { --n: 1; }
.zx-fit__checks li:nth-child(3) { --n: 2; }
.zx-fit__checks li:nth-child(4) { --n: 3; }
.zx.is-js .zx-fit__checks:not(.is-in) li::after { transform: scale(0) rotate(-90deg); opacity: 0; }
.zx-fit__checks .zx-m { color: var(--zx-volt); }
.zx-fit__note { margin: 0; color: var(--zx-dim); text-transform: none; letter-spacing: .02em; font-weight: 500; }
.zx-fit__panel {
  /* blueprint: a fine grid, a bolder major grid and registration marks over the blue */
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; padding: 6%;
  background:
    linear-gradient(rgba(227, 227, 236, .14) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(90deg, rgba(227, 227, 236, .14) 1px, transparent 1px) 0 0 / 12.5% 100%,
    linear-gradient(rgba(227, 227, 236, .06) 1px, transparent 1px) 0 0 / 100% 4%,
    linear-gradient(90deg, rgba(227, 227, 236, .06) 1px, transparent 1px) 0 0 / 2.5% 100%,
    linear-gradient(160deg, var(--zx-blue) 0%, var(--zx-blue-2) 100%);
  clip-path: polygon(0 4%, 96% 0, 100% 96%, 5% 100%);
  overflow: hidden;
}
.zx-fit__panel::before {
  --c: rgba(223, 255, 58, .85); content: ""; position: absolute; inset: 7% 6%; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 0 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 18px;
  background-repeat: no-repeat;
}
.zx-fit__label { position: absolute; z-index: 2; top: 7%; right: 7%; color: var(--zx-fog); }
.zx-fit__img { grid-area: 1 / 1; position: relative; width: 100%; filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(223, 255, 58, .25)); opacity: .94; }
/* first view: the drawing is revealed by the scan beam */
.zx.is-js .zx-fit__panel:not(.is-seen) .zx-fit__img { clip-path: inset(-30% 112% -30% -12%); }
/* crosshair with a live coordinate readout (mouse/trackpad only) */
.zx-fit__cross { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.zx-fit__cross::before, .zx-fit__cross::after { content: ""; position: absolute; background: rgba(223, 255, 58, .7); }
.zx-fit__cross::before { left: 0; right: 0; top: 0; height: 1px; translate: 0 var(--cy, 50%); }
.zx-fit__cross::after { top: 0; bottom: 0; left: 0; width: 1px; translate: var(--cx, 50%) 0; }
.zx-fit__read { position: absolute; left: 0; top: 0; padding: 4px 8px; border-radius: 4px; background: rgba(5, 5, 7, .7); color: var(--zx-volt); font-size: 10px; white-space: nowrap; translate: calc(var(--cx, 50%) + 12px) calc(var(--cy, 50%) + 12px); }
.zx-fit__panel.is-tracking .zx-fit__cross { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .zx-fit__panel:hover { cursor: crosshair; } }
@media (max-width: 1099px) {
  /* stacked: show the vehicle right under the brand pills so a tap visibly changes it */
  .zx-fit { gap: 22px; }
  .zx-fit__copy { display: contents; }
  .zx-fit__stage { order: 1; }
  .zx-fit__checks, .zx-fit .zx-actions, .zx-fit__note { order: 2; }
}
@media (min-width: 1100px) {
  .zx-fit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(48px, 6vw, 110px); }
}

/* ======================================================================== */
/* 06 · WHY                                                                  */
/* ======================================================================== */
.zx-why { padding: clamp(80px, 16vh, 180px) var(--zx-g) clamp(72px, 12vh, 140px); background: var(--zx-ink); text-align: center; border-top: 1px solid var(--zx-line); }
.zx-why__words { margin: 28px auto 0; display: grid; justify-items: center; font-size: clamp(54px, 10vw, 168px); }
.zx-why__words [data-zx-line] { display: block; opacity: var(--o, 1); transition: opacity .2s linear, translate .2s linear; }
/* lines slide in from alternating sides and settle as they reach the middle of the screen */
.zx.is-js .zx-why__words [data-zx-line] { translate: calc((1 - var(--o)) * var(--dir, 1) * 11vw) 0; }
.zx-why__words [data-zx-line]:nth-child(even) { --dir: -1; }
.zx.is-js .zx-why__words [data-zx-line] { --o: .14; }
.zx-facts { display: grid; gap: 0; margin: clamp(56px, 10vh, 120px) 0 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid var(--zx-line); }
.zx-facts li { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 0; border-bottom: 1px solid var(--zx-line); }
/* a volt rule draws across the top of each fact as it appears; the figure decodes (JS) */
.zx-facts li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--zx-volt); transform-origin: 0 50%; transition: transform 1.2s var(--zx-ease) .1s; }
.zx.is-js .zx-facts li:not(.is-in)::before { transform: scaleX(0); }
.zx-facts b { font-size: clamp(34px, 3.4vw, 54px); color: var(--zx-fog); }
.zx-facts span { color: var(--zx-dim); font-size: 14px; max-width: 34ch; }
@media (min-width: 900px) {
  .zx-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--zx-line); }
  .zx-facts li { padding: 26px 24px 26px 0; border-bottom: 0; }
  .zx-facts li + li { padding-left: 24px; border-left: 1px solid var(--zx-line); }
}

/* ======================================================================== */
/* 07 · CONTACT                                                              */
/* ======================================================================== */
.zx-contact { display: grid; gap: 48px; padding: clamp(80px, 14vh, 160px) var(--zx-g); background: var(--zx-volt); color: var(--zx-ink); }
.zx-contact .zx-eyebrow { color: var(--zx-ink); }
.zx-contact__copy { display: grid; gap: 22px; align-content: start; }
.zx-contact__title { margin: 0; font-size: clamp(56px, 10vw, 176px); text-wrap: balance; }
.zx-contact__title b { color: var(--zx-blue); }
.zx-contact__sub { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.3vw, 19px); }
.zx-contact__more { justify-self: start; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
/* kinetic band: runs on its own, speeds up and follows the direction you scroll */
.zx-marquee {
  grid-column: 1 / -1; position: relative; z-index: 2; overflow: hidden;
  margin: calc(-1 * clamp(80px, 14vh, 160px) - 30px) calc(-1 * var(--zx-g) - 6vw) 0;
  padding: clamp(12px, 1.6vw, 20px) 0;
  background: var(--zx-blue); color: var(--zx-fog);
  transform: rotate(-2deg);
  box-shadow: 0 24px 40px -24px rgba(5, 5, 7, .55);
}
.zx-marquee__track { display: flex; width: max-content; will-change: transform; }
.zx-marquee__item { display: flex; align-items: center; gap: .45em; padding-right: .45em; font-size: clamp(30px, 4.4vw, 72px); line-height: 1.05; white-space: nowrap; }
.zx[data-lang="vi"] .zx-marquee__item { line-height: 1.2; }
.zx-marquee__item i { flex: none; width: .3em; height: .3em; background: var(--zx-volt); transform: rotate(45deg); }
.zx-contact__qr {
  --rx: 0deg; --ry: 0deg;
  justify-self: center; width: min(58vw, 340px); margin: 0;
  padding: 14px 14px 16px; border-radius: 18px; color: var(--zx-fog);
  /* holographic sheen on the frame follows the tilt */
  background: linear-gradient(115deg, var(--zx-ink) 36%, rgba(47, 61, 255, .7) 46%, rgba(223, 255, 58, .5) 51%, var(--zx-ink) 62%) var(--mx, 50%) var(--my, 50%) / 280% 280%, var(--zx-ink);
  transform: perspective(900px) rotate(3deg) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--zx-ease), background-position .4s ease;
}
.zx-contact__qrimg { position: relative; display: block; overflow: hidden; border-radius: 10px; }
.zx-contact__qr img { border-radius: 10px; }
/* a scan line passes over the code three times when it comes into view */
.zx-contact__laser {
  position: absolute; left: 0; right: 0; top: -100%; height: 100%; pointer-events: none;
  background: linear-gradient(to bottom, transparent 72%, rgba(47, 61, 255, .14) 96%, rgba(47, 61, 255, .9) 99.4%, #fff 100%);
}
.zx-contact__qr.is-in .zx-contact__laser { animation: zx-laser 2.4s ease-in-out .5s 3; }
@keyframes zx-laser { 0% { transform: translateY(0); } 50% { transform: translateY(100%); } 100% { transform: translateY(0); } }
/* magnetic buttons (mouse/trackpad only; JS sets --tx/--ty) */
.zx-btn--mag { translate: var(--tx, 0px) var(--ty, 0px); transition: translate .45s var(--zx-ease), transform .35s var(--zx-ease), background-color .25s ease, color .25s ease, box-shadow .35s var(--zx-ease); }
.zx-contact__qr figcaption { margin-top: 12px; text-align: center; }
@media (min-width: 1100px) {
  .zx-contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; }
  .zx-contact__qr { justify-self: end; }
}

/* small phones */
@media (max-width: 899px) {
  .zx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .zx-facts li { padding: 18px 0; }
  .zx-facts b { font-size: clamp(26px, 7.4vw, 44px); }
  .zx-facts span { font-size: 13px; }
}
@media (max-width: 380px) {
  .zx-btn { padding: 0 14px; font-size: 11.5px; }
}

/* ======================================================================== */
/* 08 · ABOUT + MANUFACTURING PARTNER                                         */
/* Fog page: statement, factory frame that opens from a slit (blue duotone    */
/* clears to colour behind a scan line), then a dark partner dossier with a   */
/* factory → Microostep → your-vehicle chain and the three support promises.  */
/* ======================================================================== */
.zx-about { position: relative; padding: clamp(80px, 14vh, 160px) var(--zx-g); background: var(--zx-fog); color: var(--zx-ink); overflow: hidden; }
.zx-about .zx-d b { color: var(--zx-blue); }
.zx-about .zx-about__eyebrow { color: var(--zx-blue); }
.zx-about__top { display: grid; gap: clamp(28px, 4vw, 48px); }
.zx-about__head { display: grid; gap: 22px; }
.zx-about__title { margin: 0; max-width: 18ch; font-size: clamp(38px, 6vw, 108px); text-wrap: balance; }
.zx[data-lang="vi"] .zx-about__title { max-width: 22ch; font-size: clamp(34px, 5vw, 92px); line-height: 1.12; }
.zx-about__lead { margin: 0; max-width: 46ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; }
.zx-about__text { margin: 18px 0 0; max-width: 46ch; color: var(--zx-dim-ink); }
.zx-about__more { margin-top: 30px; }
.zx .zx-about__more:hover { box-shadow: 0 14px 30px -14px rgba(5, 5, 7, .6); }
.zx-about__factory { margin: 0; }
.zx-about__frame {
  --fx: 0px; --fy: 0px;
  position: relative; isolation: isolate; display: block;
  aspect-ratio: 763 / 368; border-radius: 22px; overflow: hidden;
  background: var(--zx-ink);
  clip-path: inset(0 0 0 0 round 22px);
  transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1) .1s;
}
.zx.is-js .zx-about__factory:not(.is-in) .zx-about__frame { clip-path: inset(48% 10% 48% 10% round 22px); }
.zx-about__img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(var(--fx), var(--fy), 0) scale(1.06);
  filter: grayscale(.15) contrast(1.04) saturate(.92);
  transition: transform .9s var(--zx-ease), filter 1.2s ease .5s;
}
.zx.is-js .zx-about__factory:not(.is-in) .zx-about__img { transform: scale(1.22); filter: grayscale(1) contrast(1.2); }
/* fine scanlines hide the photo's modest resolution on big screens */
.zx-about__frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(5, 5, 7, .1) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(5, 5, 7, 0) 55%, rgba(5, 5, 7, .45)); }
.zx-about__duo { position: absolute; inset: 0; z-index: 1; background: linear-gradient(125deg, #2f3dff, #1a22a8 70%); mix-blend-mode: multiply; opacity: .16; transition: opacity 1.3s ease .55s; }
.zx.is-js .zx-about__factory:not(.is-in) .zx-about__duo { opacity: .9; }
.zx-about__scan { position: absolute; left: 0; right: 0; top: -34%; z-index: 3; height: 34%; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(223, 255, 58, 0), rgba(223, 255, 58, .12) 70%, rgba(223, 255, 58, .7) 99%, #dfff3a); }
.zx-about__factory.is-in .zx-about__scan { animation: zx-about-scan 1.5s cubic-bezier(.5, 0, .3, 1) .75s both; }
@keyframes zx-about-scan { 0% { top: -34%; opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.zx-about__ticks i { position: absolute; z-index: 3; width: 22px; height: 22px; border: 2px solid var(--zx-volt); opacity: .9; }
.zx-about__ticks i:nth-child(1) { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.zx-about__ticks i:nth-child(2) { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.zx-about__ticks i:nth-child(3) { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.zx-about__ticks i:nth-child(4) { right: 14px; bottom: 14px; border-left: 0; border-top: 0; }
.zx-about__tag { position: absolute; left: 22px; bottom: 20px; z-index: 3; padding: 6px 10px; border-radius: 999px; background: rgba(5, 5, 7, .72); color: var(--zx-volt); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.zx-about__factory figcaption { margin-top: 14px; color: var(--zx-dim); }

/* dossier card */
.zx-maker {
  position: relative; isolation: isolate;
  display: grid; gap: clamp(28px, 4vw, 52px);
  margin-top: clamp(64px, 9vw, 130px);
  padding: clamp(26px, 4.4vw, 68px);
  border-radius: 28px; overflow: hidden;
  background: var(--zx-ink); color: var(--zx-fog);
}
.zx-maker::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(227, 227, 236, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(227, 227, 236, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: radial-gradient(90% 80% at 85% 10%, #000, transparent 75%); mask: radial-gradient(90% 80% at 85% 10%, #000, transparent 75%);
}
.zx-maker::after { content: ""; position: absolute; right: -12%; top: -30%; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 61, 255, .32), transparent); pointer-events: none; }
.zx-maker .zx-d b { color: var(--zx-volt); }
.zx-maker__k { margin: 0; color: var(--zx-volt); }
.zx-maker__title { margin: 14px 0 0; max-width: 17ch; font-size: clamp(30px, 3.4vw, 58px); }
.zx-maker__copy { margin: 20px 0 0; max-width: 58ch; color: var(--zx-dim); }
.zx-chain { position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
.zx-chain__node { position: relative; display: grid; gap: 6px; padding: 16px 0 16px 46px; }
.zx-chain__node > span { color: var(--zx-dim); }
.zx-chain__node > b { font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; line-height: 1.35; }
.zx-chain__node::before { content: ""; position: absolute; left: 7px; top: 21px; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--zx-volt); background: var(--zx-ink); box-shadow: 0 0 0 6px rgba(223, 255, 58, .07); }
.zx-chain__node--you::before { background: var(--zx-volt); box-shadow: 0 0 0 6px rgba(223, 255, 58, .14), 0 0 22px rgba(223, 255, 58, .55); }
.zx-chain__node:not(:last-child)::after {
  content: ""; position: absolute; left: 14px; top: 39px; bottom: -21px; width: 2px;
  background: linear-gradient(var(--zx-volt), var(--zx-volt)) no-repeat 0 0 / 100% 0%, rgba(227, 227, 236, .16);
}
.zx-maker.is-in .zx-chain__node:not(:last-child)::after { background-size: 100% 100%, auto; transition: background-size .8s var(--zx-ease) calc(.45s + var(--i, 0) * .5s); }
.zx.is-js .zx-maker:not(.is-in) .zx-chain__node { opacity: 0; translate: -14px 0; }
.zx-chain__node { transition: opacity .6s ease calc(.25s + var(--i, 0) * .5s), translate .8s var(--zx-ease) calc(.25s + var(--i, 0) * .5s); }
/* a pulse runs down each wire once the chain is lit */
.zx-chain__node:not(:last-child) > span::after { content: ""; position: absolute; left: 12px; top: 36px; width: 6px; height: 20px; border-radius: 3px; background: linear-gradient(rgba(223, 255, 58, 0), #dfff3a); box-shadow: 0 0 12px rgba(223, 255, 58, .8); opacity: 0; }
.zx-maker.is-in .zx-chain__node:not(:last-child) > span::after { animation: zx-chain-run 2.4s cubic-bezier(.5, 0, .5, 1) calc(1.6s + var(--i, 0) * .6s) infinite; }
@keyframes zx-chain-run { 0% { top: 32px; opacity: 0; } 12% { opacity: 1; } 70% { top: calc(100% + 2px); opacity: 1; } 78%, 100% { top: calc(100% + 2px); opacity: 0; } }
.zx-dossier { margin: 0; border-top: 1px solid var(--zx-line); }
.zx-dossier > div { position: relative; display: grid; gap: 4px; padding: 15px 0; border-bottom: 1px solid var(--zx-line); transition: opacity .6s ease calc(.2s + var(--i, 0) * 90ms), translate .8s var(--zx-ease) calc(.2s + var(--i, 0) * 90ms); }
.zx.is-js .zx-maker:not(.is-in) .zx-dossier > div { opacity: 0; translate: 16px 0; }
.zx-dossier > div::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--zx-volt); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.zx-maker.is-in .zx-dossier > div::after { animation: zx-sweep 1.1s var(--zx-ease) calc(.35s + var(--i, 0) * 90ms) both; }
@keyframes zx-sweep { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.zx-dossier dt { color: var(--zx-dim); }
.zx-dossier dd { margin: 0; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.45; }
.zx-dossier > div:nth-child(2) dd { font-family: var(--zx-display); font-size: clamp(30px, 2.6vw, 42px); line-height: 1; letter-spacing: .02em; color: var(--zx-volt); }
.zx-dossier__src { margin: 14px 0 0; color: var(--zx-dim); font-size: 11px; }
.zx-support { display: grid; margin: clamp(48px, 7vw, 96px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--zx-line-ink); }
.zx-support li { display: grid; align-content: start; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--zx-line-ink); }
.zx.is-js .zx-support li[data-zx-reveal] { transition-delay: calc(var(--i, 0) * 110ms); }
.zx-support li > span { color: var(--zx-blue); }
.zx-support h3 { margin: 0; font-family: var(--zx-display); font-weight: 400; font-size: clamp(24px, 2.1vw, 34px); line-height: 1.05; text-transform: uppercase; }
.zx[data-lang="vi"] .zx-support h3 { line-height: 1.2; }
.zx-support p { margin: 0; max-width: 40ch; color: var(--zx-dim-ink); font-size: 15px; }
@media (min-width: 700px) {
  .zx-dossier > div { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: baseline; }
}
@media (min-width: 900px) {
  .zx-support { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--zx-line-ink); }
  .zx-support li { padding: 28px 28px 30px 0; border-bottom: 0; }
  .zx-support li + li { padding-left: 28px; border-left: 1px solid var(--zx-line-ink); }
}
@media (min-width: 1000px) {
  .zx-about__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; column-gap: clamp(40px, 5vw, 96px); }
  .zx-about__copy { padding-bottom: 10px; }
}
@media (min-width: 1100px) {
  .zx-maker { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); column-gap: clamp(40px, 5vw, 96px); row-gap: clamp(40px, 4vw, 64px); }
  .zx-maker > .zx-about__factory { grid-column: 1; grid-row: 1; align-self: center; }
  .zx-maker__side { grid-column: 2; grid-row: 1; align-self: center; display: grid; gap: clamp(24px, 3vw, 40px); }
  .zx-maker__file { grid-column: 1 / -1; grid-row: 2; }
  .zx-dossier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 72px); border-top: 0; }
  .zx-dossier > div:nth-child(-n+2) { border-top: 1px solid var(--zx-line); }
}
@media (max-width: 699px) {
  .zx-about__frame { border-radius: 16px; }
  .zx-maker { border-radius: 20px; }
  .zx-about__ticks i { width: 16px; height: 16px; }
}

/* reduced motion: final states, no tilt, no float */
@media (prefers-reduced-motion: reduce) {
  .zx *, .zx *::before, .zx *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .zx-hero__clip { clip-path: none; }
  .zx-hero.is-scrolly { height: auto; min-height: 0; }
  .zx-hero.is-scrolly .zx-hero__pin { position: relative; top: 0; }
  .zx-expand { height: auto; }
  .zx-expand__sticky { position: relative; top: 0; height: 80vh; height: 80svh; }
  .zx-expand__frame { --p: 1 !important; }
  .zx-expand__edge { display: none; }
  .zx-expand__cap { color: var(--zx-fog); opacity: 1; }
  .zx.is-js .zx-why__words [data-zx-line] { --o: 1; }
  .zx-about__frame { clip-path: none !important; }
  .zx-about__img { transform: none !important; filter: none !important; }
  .zx-about__duo { opacity: .12 !important; }
  .zx-about__scan { display: none; }
  .zx-bat2__xray { clip-path: inset(0 0 0 52%) !important; opacity: 1 !important; }
  .zx-bat2__plug { transform: none !important; opacity: 1 !important; }
  .zx-bat2__pin { fill: var(--zx-volt); }
  .zx-bat2__head { stroke: var(--zx-volt); }
  .zx-bat2__hud { opacity: 1 !important; }
  .zx-bat2__pct { --zx-pct: 100; }
  .zx-bat2__st--on { opacity: 0; } .zx-bat2__st--full { opacity: 1; }
  .zx-bat2__seg i { background: var(--zx-volt); }
  .zx-bat2__led { opacity: .95; }
}

/* ======================================================================== */
/* OPENING VEIL — appended to <body> by the script, outside .zx              */
/* ======================================================================== */
.zx-veil { position: fixed; inset: 0; z-index: 2147483647; pointer-events: none; }
.zx-veil__ink { position: absolute; inset: 0; background: #050507; }
.zx-veil__logo {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: min(64vw, 560px); aspect-ratio: 1388 / 195;
  background: #e3e3ec;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s cubic-bezier(.65, 0, .35, 1), opacity .2s ease;
}
.zx-veil.is-on .zx-veil__logo { clip-path: inset(0 0 0 0); }
.zx-veil__bar { position: absolute; left: 50%; top: calc(50% + min(9vw, 76px)); width: 140px; height: 2px; translate: -50% 0; background: rgba(227, 227, 236, .18); overflow: hidden; transition: opacity .3s ease; }
.zx-veil__bar i { display: block; width: 100%; height: 100%; background: #dfff3a; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.3, .7, .2, 1); }
.zx-veil.is-on .zx-veil__bar i { transform: scaleX(.9); }
.zx-veil.is-fade { opacity: 0; transition: opacity .6s ease; }
