:root {
  color-scheme: dark;
  --ink: #edf8ff;
  --muted: #9fb5c8;
  --paper: #061018;
  --panel: rgba(8, 20, 31, 0.78);
  --panel-strong: rgba(9, 26, 38, 0.94);
  --line: rgba(151, 220, 255, 0.18);
  --teal: #57f5c2;
  --blue: #5cb6ff;
  --green: #9cffb2;
  --gold: #facc15;
  --rose: #fb7185;
  --violet: #a78bfa;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 14%, rgba(87, 245, 194, 0.2), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(92, 182, 255, 0.18), transparent 30%),
    radial-gradient(circle at 64% 88%, rgba(156, 255, 178, 0.1), transparent 30%),
    linear-gradient(180deg, #061018 0%, #081722 52%, #071019 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(87, 245, 194, 0.34);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 120;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #fff;
  color: #061018;
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--violet), var(--gold));
}
.wrap { width: min(1240px, 100%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(151, 220, 255, 0.15);
  background: rgba(6, 16, 24, 0.78);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  white-space: nowrap;
  color: #f7fbff;
  text-shadow: 0 0 18px rgba(87, 245, 194, 0.24);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: #061018;
  background: conic-gradient(from 180deg, var(--teal), var(--blue), var(--green), var(--gold), var(--teal));
  box-shadow: 0 10px 30px rgba(87, 245, 194, 0.24);
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 20, 31, 0.68);
  white-space: nowrap;
}
.nav-center a {
  padding: 8px 10px;
  border-radius: 999px;
  color: #c6d7e7;
  font-size: 14px;
  font-weight: 850;
}
.nav-center a:hover { color: var(--ink); background: rgba(151, 220, 255, 0.08); }
.lang-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 20, 31, 0.78);
}
.lang-toggle button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
}
.lang-toggle button.active {
  color: #061018;
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 72px));
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img {
  object-fit: cover;
  filter: saturate(1.02) contrast(1.06);
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 24, 0.98) 0%, rgba(6, 16, 24, 0.88) 46%, rgba(6, 16, 24, 0.46) 100%),
    linear-gradient(0deg, rgba(6, 16, 24, 0.88), rgba(6, 16, 24, 0.28) 48%),
    radial-gradient(circle at 20% 42%, rgba(6, 16, 24, 0.88), transparent 42%);
}
.particles, .grid-canvas, .beam-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.particles { z-index: 1; }
.grid-canvas {
  z-index: 2;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(87, 245, 194, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 182, 255, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.62) 54%, transparent 100%);
}
.grid-square {
  position: absolute;
  width: 47px;
  height: 47px;
  border: 1px solid rgba(87, 245, 194, 0.22);
  background: rgba(87, 245, 194, 0.15);
  animation: squareFlash 4.8s ease-in-out forwards;
}
.beam-layer { z-index: 2; overflow: hidden; }
.beam {
  position: absolute;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(87, 245, 194, 0.88), rgba(92, 182, 255, 0.9), rgba(250, 204, 21, 0.82), transparent);
  transform: rotate(-18deg);
  filter: drop-shadow(0 0 14px rgba(87, 245, 194, 0.34));
  animation: beamMove 8s linear infinite;
}
.beam:nth-child(1) { top: 18%; left: -40%; animation-delay: -1s; }
.beam:nth-child(2) { top: 48%; left: -46%; animation-delay: -3.8s; width: 48%; }
.beam:nth-child(3) { top: 74%; left: -38%; animation-delay: -6s; width: 28%; }
.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
  gap: 34px;
  align-items: start;
  width: min(1240px, 100%);
  min-height: min(720px, calc(100svh - 72px));
  margin: 0 auto;
  padding: 32px 24px 28px;
}
.hero-copy {
  position: relative;
  z-index: 8;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(87, 245, 194, 0.3);
  border-radius: 999px;
  background: rgba(8, 20, 31, 0.72);
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(87, 245, 194, 0.13);
}
h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 7.6vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}
.studio-cn {
  display: block;
  width: max-content;
  max-width: none;
  margin-bottom: 18px;
  padding: 0 2px;
  border: 0;
  background: linear-gradient(90deg, #f8fdff, var(--teal), var(--blue), var(--green), var(--gold), #f8fdff);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "STZhongsong", "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(38px, 4.7vw, 70px);
  line-height: 1.05;
  white-space: nowrap;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 18px rgba(87, 245, 194, 0.22));
  animation: textFlow 7s ease-in-out infinite;
}
.aurora-text {
  background: linear-gradient(90deg, #edf8ff, var(--teal), var(--blue), var(--green), var(--gold), #edf8ff);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textFlow 7s ease-in-out infinite;
}
.studio-word {
  display: inline-block;
  margin-top: 12px;
  color: #f7fbff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42),
    0 0 26px rgba(92, 182, 255, 0.48),
    0 0 44px rgba(87, 245, 194, 0.22);
}
.value-line {
  display: grid;
  gap: 22px;
  max-width: 780px;
  height: 217px;
  align-content: center;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(87, 245, 194, 0.24);
  border-radius: var(--radius);
  background: rgba(8, 20, 31, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.value-line span {
  color: #f7fbff;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 950;
  line-height: 1.16;
  text-transform: uppercase;
}
.value-detail {
  max-width: 720px;
  margin: 0;
  color: #d9e8f2;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 850;
  line-height: 1.58;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-actions.compact { margin-top: 24px; }
.console-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  overflow: hidden;
  border: 1px solid rgba(151, 220, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 20, 31, 0.76);
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}
.btn.primary {
  color: #061018;
  border-color: transparent;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: transform 520ms ease;
}
.btn:hover::after { transform: translateX(120%) skewX(-24deg); }
.hero-console {
  position: relative;
  z-index: 4;
  min-height: 462px;
  margin-top: 81px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(151, 220, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(8, 20, 31, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-console::before, .magic-card::before, .contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 18%, var(--teal), var(--green), var(--gold), transparent 78%);
  background-size: 220% 220%;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  animation: shineBorder 7s linear infinite;
}
.terminal {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 11, 15, 0.92);
  color: #fff8ed;
}
.terminal-head {
  display: flex;
  gap: 7px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff6b5a; }
.dot.yellow { background: #ffd166; }
.dot.green { background: #58d68d; }
.terminal pre {
  min-height: 221px;
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  color: #d7ffee;
  font: 13px/1.75 Consolas, "Courier New", monospace;
}
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.metric {
  padding: 14px;
  border: 1px solid rgba(151, 220, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 29, 44, 0.78);
}
.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(87, 245, 194, 0.32));
}
.metric span { color: var(--muted); font-size: 13px; font-weight: 780; }

.marquee {
  position: relative;
  z-index: 6;
  display: flex;
  gap: 0;
  width: 100%;
  overflow: hidden;
  margin-top: -82px;
  padding: 0 0 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  width: max-content;
  padding-right: 14px;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 29, 44, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  font-weight: 880;
}

.section {
  position: relative;
  padding: 92px 24px;
}
.section.alt { background: rgba(10, 29, 44, 0.52); }
.section-head {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-bottom: 34px;
}
.kicker {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}
.section-head p:not(.kicker), .studio-story p:not(.kicker), .contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--panel);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.24);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(16px);
}
.product-card.featured {
  grid-column: span 2;
  min-height: 430px;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, var(--teal)) 26%, transparent);
  filter: blur(22px);
  opacity: 0.8;
  transition: transform 300ms ease;
}
.product-card:hover::after { transform: translate(-18px, -18px) scale(1.08); }
.product-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.status-pill {
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 46%, transparent);
  border-radius: 999px;
  color: var(--accent, var(--teal));
  background: color-mix(in srgb, var(--accent, var(--teal)) 12%, transparent);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
.product-card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 8px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.06;
}
.product-visual {
  position: relative;
  z-index: 1;
  height: 150px;
  margin: 18px 0 4px;
  overflow: hidden;
  border: 1px solid rgba(151, 220, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(6, 16, 24, 0.6);
}
.product-card.featured .product-visual { height: 190px; }
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(1.04) contrast(1.05);
  transition: transform 360ms ease, opacity 360ms ease;
}
.product-card:hover .product-visual img {
  transform: scale(1.045);
  opacity: 1;
}
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(6, 16, 24, 0.62));
}
.product-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}
.tag-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag {
  padding: 6px 9px;
  border: 1px solid rgba(151, 220, 255, 0.16);
  border-radius: 999px;
  color: #cfe2f2;
  background: rgba(10, 29, 44, 0.68);
  font-size: 12px;
  font-weight: 820;
}

.spotlight {
  background:
    radial-gradient(circle at 78% 40%, rgba(87, 245, 194, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(7, 16, 25, 0), rgba(10, 29, 44, 0.7));
}
.metriacell-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.8fr);
  gap: 34px;
  align-items: center;
}
.lab-panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(87, 245, 194, 0.22);
  border-radius: var(--radius);
  background: rgba(6, 16, 24, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.scan-window {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  min-height: 320px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(151, 220, 255, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle, rgba(87, 245, 194, 0.16) 0 18%, transparent 19% 100%) 0 0 / 92px 92px,
    linear-gradient(180deg, rgba(7, 11, 15, 0.86), rgba(10, 29, 44, 0.78));
}
.scan-window span {
  align-self: center;
  justify-self: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(87, 245, 194, 0.48);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(156, 255, 178, 0.92), rgba(87, 245, 194, 0.28) 38%, rgba(87, 245, 194, 0.08) 68%, transparent);
  box-shadow: 0 0 22px rgba(87, 245, 194, 0.22);
  animation: cellPulse 3s ease-in-out infinite;
}
.scan-window span:nth-child(2n) { width: 42px; height: 42px; animation-delay: -1.4s; }
.scan-window span:nth-child(3n) { width: 66px; height: 66px; animation-delay: -2.1s; }
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  box-shadow: 0 0 22px rgba(87, 245, 194, 0.76);
  animation: scan 3.2s ease-in-out infinite;
}
.lab-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.lab-stats div {
  padding: 14px;
  border: 1px solid rgba(151, 220, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(10, 29, 44, 0.72);
}
.lab-stats strong { display: block; font-size: 18px; }
.lab-stats span { color: var(--muted); font-size: 13px; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.capability-card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}
.capability-card span {
  color: var(--teal);
  font-weight: 950;
}
.capability-card h3 { margin: 52px 0 12px; font-size: 24px; line-height: 1.12; }
.capability-card p { margin: 0; color: var(--muted); }
.magic-card { --mx: 50%; --my: 50%; }
.magic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(87, 245, 194, 0.16), transparent 72%);
  pointer-events: none;
}
.magic-card:hover::after { opacity: 1; }

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 24px;
  align-items: start;
}
.studio-story, .timeline {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.24);
}
.studio-story h2 { margin: 0 0 14px; }
.timeline { display: grid; gap: 12px; }
.timeline div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(151, 220, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(10, 29, 44, 0.68);
}
.timeline strong {
  color: #061018;
  background: var(--teal);
  border-radius: var(--radius);
  padding: 8px 10px;
}
.timeline span { color: #d6e6f2; font-weight: 820; }

.contact { padding-bottom: 60px; }
.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 20, 31, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-panel h2 { margin: 0 0 12px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.site-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(6, 16, 24, 0.82);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}
.police { display: inline-flex; align-items: center; gap: 6px; }
.police img { width: 16px; height: 16px; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}
.drawer.open { pointer-events: auto; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 240ms ease;
}
.drawer.open .drawer-backdrop { background: rgba(0, 0, 0, 0.58); }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(680px, 100%);
  height: 100%;
  overflow: auto;
  transform: translateX(104%);
  transition: transform 280ms ease;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 8%, rgba(87, 245, 194, 0.14), transparent 28%),
    var(--panel-strong);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.36);
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  position: sticky;
  top: 16px;
  left: calc(100% - 58px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 16px 16px 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 20, 31, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.drawer-body { padding: 8px 28px 34px; }
.drawer-cover {
  position: relative;
  min-height: 260px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #071019;
}
.drawer-cover img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.58;
}
.drawer-cover-content {
  position: absolute;
  inset: auto 20px 20px;
}
.drawer-cover h2 { font-size: clamp(34px, 6vw, 64px); }
.drawer-body p { color: var(--muted); }
.drawer-tags, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.feature-list span {
  padding: 8px 10px;
  border: 1px solid rgba(151, 220, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 29, 44, 0.74);
}
.video-slot {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin-top: 22px;
  padding: 24px;
  border: 1px dashed rgba(151, 220, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(6, 16, 24, 0.54);
  text-align: center;
}
.video-slot strong { display: block; margin-bottom: 6px; color: var(--teal); }
.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}
.reveal.visible { transform: translateY(0); opacity: 1; }

@keyframes textFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes shineBorder { to { background-position: 220% 0; } }
@keyframes beamMove { to { transform: translateX(420%) rotate(-18deg); } }
@keyframes squareFlash {
  0% { opacity: 0; transform: scale(0.8); }
  24% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.2); }
}
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes cellPulse { 50% { transform: scale(1.1); filter: brightness(1.25); } }
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: 0.25; } 50% { transform: translateY(320px); opacity: 1; } }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; padding: 12px 18px; }
  .nav-center { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }
  .hero-inner, .metriacell-layout, .studio-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 56px; }
  .hero-console { margin-top: 0; }
  .product-grid, .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card.featured { grid-column: span 2; }
  .contact-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(48px, 18vw, 82px); }
  .studio-cn { font-size: clamp(21px, 6vw, 34px); }
  .section { padding: 70px 18px; }
  .nav { padding: 10px 14px; }
  .brand span:last-child { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 18px 96px; }
  .hero-console { min-height: auto; padding: 16px; }
  .console-actions { grid-template-columns: 1fr; }
  .mini-metrics, .lab-stats { grid-template-columns: 1fr; }
  .product-grid, .capability-grid { grid-template-columns: 1fr; }
  .product-card.featured { grid-column: auto; }
  .drawer-panel {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(88svh, 760px);
    transform: translateY(104%);
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .drawer.open .drawer-panel { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
