:root {
  --bg: #050609;
  --bg-2: #0a0c11;
  --surface: #0e1117;
  --surface-2: #12151d;
  --cyan: #1fe3e3;
  --cyan-dim: #0fa8a8;
  --orange: #ff4a1e;
  --orange-dim: #c7391a;
  --white: #edf1f4;
  --muted: #7c8894;
  --muted-2: #525c67;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.055);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --display: "Archivo Expanded", "Archivo", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --maxw: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  isolation: isolate;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--cyan);
  color: #00110f;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- system loader ---------- */
.wsx-loader {
  display: none;
}
.js.is-loading,
.js.is-loading body {
  overflow: hidden;
}
.js.is-loading .wsx-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #050609;
  color: var(--white);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.48s var(--ease),
    visibility 0.48s var(--ease);
}
.wsx-loader.is-leaving {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
.loader-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(
      70% 60% at 50% 45%,
      rgba(31, 227, 227, 0.075),
      transparent 72%
    ),
    linear-gradient(rgba(31, 227, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 227, 227, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    48px 48px,
    48px 48px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
}
.loader-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 20%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(31, 227, 227, 0.12),
    transparent
  );
  animation: loader-scan 2.2s linear infinite;
}
.loader-core {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(31, 227, 227, 0.22);
  background: rgba(5, 6, 9, 0.84);
  box-shadow: 0 0 70px rgba(31, 227, 227, 0.07);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}
.loader-core::before,
.loader-core::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.loader-core::before {
  left: 0;
  top: 0;
}
.loader-core::after {
  right: 0;
  bottom: 0;
}
.loader-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.loader-brand img {
  width: clamp(130px, 32vw, 180px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(31, 227, 227, 0.28));
  animation: loader-pulse 1.6s ease-in-out infinite;
}
.loader-command {
  margin-bottom: 14px;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.loader-command span {
  color: var(--cyan);
}
.loader-track {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}
.loader-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(31, 227, 227, 0.9);
  transition: width 0.1s linear;
}
.loader-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  font-family: var(--mono);
  letter-spacing: 0.14em;
}
.loader-meta span {
  font-size: 10px;
  color: var(--muted);
}
.loader-meta strong {
  font-size: 12px;
  color: var(--cyan);
}
@keyframes loader-scan {
  to {
    top: 110%;
  }
}
@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
@media (max-width: 560px) {
  .loader-core {
    padding: 26px;
  }
  .loader-brand {
    margin-bottom: 30px;
  }
  .loader-meta {
    align-items: flex-end;
  }
  .loader-meta span {
    max-width: 180px;
    line-height: 1.5;
  }
}

/* ---------- ambient background motion ---------- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
  background: #050609;
}
.ambient-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(31, 227, 227, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 227, 227, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  animation: ambient-grid 28s linear infinite;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}
.ambient-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  will-change: transform;
  opacity: 0.18;
}
.orb-cyan {
  width: min(48vw, 720px);
  aspect-ratio: 1;
  right: -14vw;
  top: -18vh;
  background: rgba(31, 227, 227, 0.62);
  animation: ambient-cyan 22s ease-in-out infinite alternate;
}
.orb-orange {
  width: min(38vw, 560px);
  aspect-ratio: 1;
  left: -12vw;
  bottom: -20vh;
  background: rgba(255, 74, 30, 0.48);
  opacity: 0.12;
  animation: ambient-orange 27s ease-in-out infinite alternate;
}
.orb-blue {
  width: min(32vw, 480px);
  aspect-ratio: 1;
  left: 38vw;
  top: 38vh;
  background: rgba(15, 168, 168, 0.32);
  opacity: 0.08;
  animation: ambient-blue 19s ease-in-out infinite alternate;
}
.hero,
body > section,
footer {
  position: relative;
  z-index: 1;
}
@keyframes ambient-grid {
  to {
    transform: translate3d(84px, 84px, 0);
  }
}
@keyframes ambient-cyan {
  0% {
    transform: translate3d(0, 0, 0) scale(0.92);
  }
  45% {
    transform: translate3d(-24vw, 26vh, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-7vw, 63vh, 0) scale(0.98);
  }
}
@keyframes ambient-orange {
  0% {
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  55% {
    transform: translate3d(34vw, -42vh, 0) scale(1.16);
  }
  100% {
    transform: translate3d(72vw, -18vh, 0) scale(1);
  }
}
@keyframes ambient-blue {
  0% {
    transform: translate3d(-16vw, 4vh, 0) scale(0.86);
  }
  50% {
    transform: translate3d(24vw, -24vh, 0) scale(1.08);
  }
  100% {
    transform: translate3d(6vw, 38vh, 0) scale(0.94);
  }
}
@media (max-width: 700px) {
  .ambient-orb {
    filter: blur(65px);
    opacity: 0.11;
  }
  .ambient-bg::after {
    opacity: 0.1;
    background-size: 64px 64px;
  }
  .orb-orange,
  .orb-blue {
    opacity: 0.07;
  }
}

/* ---------- shared type ---------- */
.marker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--muted);
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-transform: uppercase;
}
.marker b {
  color: var(--cyan);
  font-weight: 700;
}
.marker.o b {
  color: var(--orange);
}
.display {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.cy {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(31, 227, 227, 0.45);
}
.or {
  color: var(--orange);
  text-shadow: 0 0 24px rgba(255, 74, 30, 0.4);
}
.sub {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.02rem;
  margin-top: 22px;
}
.sysline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

/* ---------- nav ---------- */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  transition:
    background 0.4s,
    border-color 0.4s,
    padding 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(5, 6, 9, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 11px 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  height: 26px;
  width: auto;
}
.brand .wm {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #fff;
}
.brand .ver {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  border: 1px solid rgba(31, 227, 227, 0.4);
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.12em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-right .status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2.4s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #00110f;
  background: var(--cyan);
  padding: 9px 16px;
  border-radius: 3px;
  font-weight: 700;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(31, 227, 227, 0.55);
}
.mtoggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.mtoggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 3px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.btn-cyan {
  background: var(--cyan);
  color: #00110f;
  border-color: var(--cyan);
  box-shadow: 0 0 0 rgba(31, 227, 227, 0);
}
.btn-cyan:hover {
  box-shadow: 0 0 30px rgba(31, 227, 227, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn .arw {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arw {
  transform: translateX(4px);
}

/* ---------- sections ---------- */
section {
  position: relative;
  padding: 110px 0;
}
.sec-head {
  margin-bottom: 64px;
}
.sec-head .display {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-top: 20px;
}
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 34px;
  text-transform: uppercase;
}
.rule.o {
  color: var(--orange);
}
.rule .ln {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.rule .idx {
  color: var(--muted-2);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- HERO ---------- */
.hero {
  padding: 150px 0 90px;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      120% 80% at 80% 10%,
      rgba(31, 227, 227, 0.08),
      transparent 55%
    ),
    linear-gradient(180deg, #05060a, #050609);
}
.circuit-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.86;
  mix-blend-mode: screen;
}
.hero-inner {
  width: 100%;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.hero h1 .ln1 {
  color: var(--white);
}
.hero p.lead {
  color: var(--muted);
  max-width: 620px;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  margin: 30px 0 0;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 74px;
}
.hcard {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(14, 17, 23, 0.6);
  padding: 22px 20px;
  transition:
    border-color 0.35s,
    background 0.35s,
    transform 0.35s var(--ease);
}
.hcard:hover {
  border-color: rgba(31, 227, 227, 0.5);
  background: rgba(31, 227, 227, 0.05);
  transform: translateY(-4px);
}
.hcard .n {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
}
.hcard .ic {
  color: var(--cyan);
  margin-bottom: 26px;
}
.hcard .t {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.hero .reveal {
  animation: none;
}
.fade {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.8s var(--ease) forwards;
}
.d1 {
  animation-delay: 0.05s;
}
.d2 {
  animation-delay: 0.18s;
}
.d3 {
  animation-delay: 0.32s;
}
.d4 {
  animation-delay: 0.46s;
}
.d5 {
  animation-delay: 0.6s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- CAPABILITY ---------- */
.caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cap {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 40px 38px;
  overflow: hidden;
  transition: border-color 0.4s;
}
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 0, var(--gl), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.cap.sw {
  --ac: var(--cyan);
  --gl: rgba(31, 227, 227, 0.12);
}
.cap.hw {
  --ac: var(--orange);
  --gl: rgba(255, 74, 30, 0.1);
}
.cap:hover {
  border-color: var(--ac);
}
.cap .node {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted-2);
}
.cap .chead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}
.cap .chead .cico {
  color: var(--ac);
}
.cap .chead h3 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--ac);
}
.cap .tags {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
}
.cap .desc {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 30px;
  max-width: 44ch;
}
.cap ul {
  list-style: none;
  border-top: 1px solid var(--line-2);
}
.cap li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  transition:
    padding-left 0.3s var(--ease),
    color 0.3s;
}
.cap li:hover {
  padding-left: 8px;
  color: var(--ac);
}
.cap li .mk {
  color: var(--ac);
}
.cap li .li-n {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 11px;
}

/* ---------- SERVICES ---------- */
.grp {
  margin-top: 16px;
}
.grp + .grp {
  margin-top: 56px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.svc {
  --ac: var(--cyan);
  position: relative;
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s;
  min-height: 190px;
}
.svc:nth-child(3n) {
  border-right: 0;
}
.svc.ai {
  --ac: var(--orange);
}
.svc:hover {
  background: rgba(255, 255, 255, 0.02);
}
.svc .svc-ic {
  color: var(--ac);
}
.svc .arw2 {
  position: absolute;
  top: 32px;
  right: 30px;
  color: var(--muted-2);
  font-family: var(--mono);
  transition:
    transform 0.3s var(--ease),
    color 0.3s;
}
.svc:hover .arw2 {
  color: var(--ac);
  transform: translate(3px, -3px);
}
.svc h3 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 22px 0 10px;
  color: var(--white);
}
.svc p {
  color: var(--muted);
  font-size: 0.9rem;
}
.svc::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: var(--ac);
  transition: width 0.45s var(--ease);
}
.svc:hover::after {
  width: 100%;
}

/* ---------- WORK MODELS ---------- */
.models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.model {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 34px 30px;
  transition:
    border-color 0.4s,
    transform 0.4s var(--ease);
}
.model::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 46px;
  background: var(--ac);
}
.model.c1 {
  --ac: var(--cyan);
}
.model.c2 {
  --ac: var(--orange);
}
.model.c3 {
  --ac: var(--cyan);
}
.model:hover {
  border-color: var(--ac);
  transform: translateY(-5px);
}
.model .key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ac);
  text-transform: uppercase;
}
.model h3 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 14px 0 12px;
  color: var(--white);
}
.model p {
  color: var(--muted);
  font-size: 0.95rem;
}
.models-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* ---------- SHOWCASE ---------- */
.show-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.show-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 40px 30px;
  margin: 0 -40px;
  scroll-snap-type: x mandatory;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.show-scroll.drag {
  cursor: grabbing;
  scroll-snap-type: none;
}
.show-scroll::-webkit-scrollbar {
  height: 4px;
}
.show-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
}
.pcard {
  --ac: var(--cyan);
  flex: 0 0 380px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.4s;
}
.pcard.o {
  --ac: var(--orange);
}
.pcard:hover {
  border-color: var(--ac);
}
.pcard .scene {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #07090d;
}
.pcard .scene svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pcard .rec {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.pcard .rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: blink 1.6s infinite;
  font-style: normal;
}
.pcard .plat {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ac);
}
.pcard .pbody {
  padding: 22px 24px 26px;
}
.pcard .cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ac);
  text-transform: uppercase;
}
.pcard .ptitle {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 10px 0 20px;
  color: var(--white);
}
.pcard .meta {
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
  display: grid;
  gap: 8px;
}
.pcard .row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
}
.pcard .row .k {
  color: var(--muted-2);
  letter-spacing: 0.12em;
}
.pcard .row .v {
  color: var(--white);
}
.show-foot {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-top: 20px;
}

/* ---------- CONTACT / CONSOLE ---------- */
.console {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  max-width: 960px;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.console-bar .lights {
  display: flex;
  gap: 7px;
}
.console-bar .lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}
.console-bar .lights i:nth-child(1) {
  background: var(--orange);
}
.console-bar .lights i:nth-child(2) {
  background: #5c6570;
}
.console-bar .lights i:nth-child(3) {
  background: var(--cyan);
}
.console-bar .path {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.console-body {
  padding: 34px 36px 38px;
}
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--mono);
  font-size: 14px;
  padding: 15px 16px;
  border-radius: 3px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(31, 227, 227, 0.12);
}
.field.full {
  grid-column: 1/-1;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.typebox {
  grid-column: 1/-1;
}
.toggles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.toggle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 3px;
}
.toggle:hover {
  color: var(--white);
  border-color: var(--muted);
}
.toggle.on {
  background: var(--cyan);
  color: #00110f;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(31, 227, 227, 0.4);
}
.console-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.contacts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 13px;
}
.contacts a {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}
.contacts a:hover {
  color: var(--cyan);
}
.contacts a .cico {
  color: var(--cyan);
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: var(--bg-2);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.foot .l {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot .l img {
  height: 26px;
}
.foot .l .wm {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
}
.foot .l .ver {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
}
.foot .r {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-align: right;
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .wrap {
    padding: 0 24px;
  }
  nav {
    padding: 14px 24px;
  }
  .nav-right .status {
    display: none;
  }
  .caps {
    grid-template-columns: 1fr;
  }
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .svc:nth-child(2n) {
    border-right: 0;
  }
  .models {
    grid-template-columns: 1fr;
  }
  .hero-cards {
    grid-template-columns: 1fr 1fr;
  }
  .frow {
    grid-template-columns: 1fr;
  }
  section {
    padding: 70px 0;
  }
  .hero {
    padding: 120px 0 70px;
    min-height: auto;
  }
  .circuit-canvas {
    opacity: 0.72;
  }
}
@media (max-width: 560px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc,
  .svc:nth-child(2n) {
    border-right: 0;
  }
  .hero-cards {
    grid-template-columns: 1fr;
  }
  .pcard {
    flex-basis: 300px;
  }
  .hero-top .sysline {
    display: none;
  }
  .btn {
    flex: 1;
    justify-content: center;
  }
  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.04;
  }
  .sec-head .display,
  .show-head .display {
    font-size: 1.7rem;
  }
  .hero p.lead,
  .sub {
    font-size: 0.95rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .fade {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- added: hero card subline ---------- */
.hcard .d {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
/* ---------- added: value map ---------- */
.segs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border: 1px solid var(--line);
  border-bottom: 0;
}
.seg {
  position: relative;
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s;
}
.seg:hover {
  background: rgba(255, 255, 255, 0.02);
}
.seg .seg-k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.16em;
}
.seg h3 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin: 16px 0 10px;
}
.seg p {
  color: var(--muted);
  font-size: 0.9rem;
}
.seg::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: var(--cyan);
  transition: width 0.45s var(--ease);
}
.seg:hover::after {
  width: 100%;
}
/* ---------- added: engineering cases ---------- */
.pcard .case-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
    120% 100% at 50% 0,
    rgba(31, 227, 227, 0.12),
    #07090d 72%
  );
}
.pcard.o .case-scene {
  background: radial-gradient(
    120% 100% at 50% 0,
    rgba(255, 74, 30, 0.12),
    #0a0806 72%
  );
}
.pcard .case-logo {
  max-width: 66%;
  max-height: 52%;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.55));
}
.pcard .case-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 12px 0 18px;
  min-height: 66px;
}

/* ---------- added: scene images ---------- */
.pcard .scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.6s var(--ease);
}
.pcard:hover .scene-img {
  transform: scale(1.04);
}
.pcard .scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.1), rgba(5, 6, 9, 0.55));
}
/* ---------- added: language toggle ---------- */
.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  font-family: var(--mono);
}
.lang button {
  background: transparent;
  color: var(--muted);
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 7px 11px;
  transition: all 0.25s;
}
.lang button:hover {
  color: var(--white);
}
.lang button.on {
  background: var(--cyan);
  color: #00110f;
}
.lang button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
/* ---------- added: motion reel ---------- */
#reel .reel-frame {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  max-width: 1000px;
}
#reel .reel-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
#reel .reel-bar .lights {
  display: flex;
  gap: 7px;
}
#reel .reel-bar .lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}
#reel .reel-bar .lights i:nth-child(1) {
  background: var(--orange);
}
#reel .reel-bar .lights i:nth-child(2) {
  background: #5c6570;
}
#reel .reel-bar .lights i:nth-child(3) {
  background: var(--cyan);
}
#reel .reel-bar .path {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
#reel video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
@media (max-width: 560px) {
  .nav-right {
    gap: 12px;
  }
  .nav-cta {
    display: none;
  }
}

/* ===== WSX MICROINTERACTIONS v1 ===== */
html {
  scroll-behavior: smooth;
}
.wsx-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 99999;
  background: linear-gradient(90deg, var(--cyan), #fff);
  box-shadow: 0 0 12px rgba(31, 227, 227, 0.65);
  pointer-events: none;
  transform-origin: left center;
}
.btn,
.toggle,
.pcard,
.hcard,
.svc {
  will-change: transform;
}
.btn {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.22),
    transparent 34%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.btn:hover::after {
  opacity: 1;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.985);
}
.toggle {
  transition:
    transform 0.18s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.toggle:hover {
  transform: translateY(-2px);
}
.toggle.on {
  box-shadow:
    0 0 0 1px rgba(31, 227, 227, 0.18),
    0 0 22px rgba(31, 227, 227, 0.1);
}
.pcard,
.hcard,
.svc {
  transition:
    transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  transform-style: preserve-3d;
}
.pcard:hover,
.hcard:hover,
.svc:hover {
  border-color: rgba(31, 227, 227, 0.38);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(31, 227, 227, 0.05);
}
.field input,
.field textarea {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  box-shadow:
    0 0 0 3px rgba(31, 227, 227, 0.08),
    0 0 26px rgba(31, 227, 227, 0.06);
  transform: translateY(-1px);
}
.field.is-valid input,
.field.is-valid textarea {
  border-color: rgba(92, 255, 170, 0.48);
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: rgba(255, 95, 95, 0.62);
  box-shadow: 0 0 0 3px rgba(255, 95, 95, 0.07);
}
.console {
  position: relative;
  overflow: hidden;
}
.console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(31, 227, 227, 0.035) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
}
.console.in::after {
  animation: wsxScan 1.2s 0.25s ease-out 1;
}
@keyframes wsxScan {
  to {
    transform: translateX(120%);
  }
}
.submit-status {
  min-height: 20px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(5px);
  transition: 0.2s ease;
}
.submit-status.show {
  opacity: 1;
  transform: none;
}
.submit-status.ok {
  color: #72f2b0;
}
.submit-status.err {
  color: #ff7c7c;
}
#submitBtn.loading {
  pointer-events: none;
  opacity: 0.74;
}
#submitBtn.loading .arw {
  display: inline-block;
  animation: wsxPulse 0.75s ease-in-out infinite alternate;
}
@keyframes wsxPulse {
  to {
    transform: translateX(5px);
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .toggle,
  .pcard,
  .hcard,
  .svc,
  .field input,
  .field textarea {
    transition: none !important;
  }
  .console::after {
    display: none;
  }
  .wsx-progress {
    display: none;
  }
}

/* ===== WSX FORM FIX v2 ===== */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill,
.field textarea:-webkit-autofill:hover,
.field textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  caret-color: var(--white);
  transition: background-color 9999s ease-out 0s;
}
.field input:autofill,
.field textarea:autofill {
  color: var(--white) !important;
  background: var(--bg-2) !important;
}
