/* ==========================================================================
   AWX CLOUD — awxcloud.cn
   深空科技风 · 零依赖静态站点
   ========================================================================== */

:root {
  --bg: #05070c;
  --bg-soft: #070a12;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf6;
  --muted: #98a1b8;
  --muted-2: #6b748a;
  --cyan: #3ce8c8;
  --cyan-bright: #6ff5df;
  --violet: #8f7dff;
  --amber: #ffc97a;
  --danger: #ff8b7a;
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(20px, 5vw, 40px);
  --max: 1180px;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC",
    "Source Han Sans SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Avenir Next", "Futura",
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Consolas",
    "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }

::selection { background: rgba(60, 232, 200, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05070c; }
::-webkit-scrollbar-thumb {
  background: #1d2433;
  border-radius: 999px;
  border: 2px solid #05070c;
}
::-webkit-scrollbar-thumb:hover { background: #2c364b; }

.container {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #041016;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   全局装饰
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 300;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), #6fd6ff 45%, var(--violet));
  box-shadow: 0 0 14px rgba(60, 232, 200, 0.55);
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  filter: blur(14px);
  background: radial-gradient(circle, rgba(60, 232, 200, 0.13), rgba(143, 125, 255, 0.08) 42%, transparent 70%);
  transition: opacity 0.6s var(--ease);
  will-change: transform;
  mix-blend-mode: screen;
}
.cursor-glow.is-on { opacity: 1; }
.cursor-glow.is-hover {
  background: radial-gradient(circle, rgba(60, 232, 200, 0.2), rgba(143, 125, 255, 0.12) 45%, transparent 72%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
    background-color 0.28s var(--ease), box-shadow 0.28s var(--ease),
    color 0.28s var(--ease), opacity 0.2s ease;
}
.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(100deg, var(--cyan) 0%, #7ddefa 46%, var(--violet) 100%);
  color: #041016;
  box-shadow: 0 12px 38px -14px rgba(60, 232, 200, 0.65);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.5) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover {
  box-shadow: 0 16px 48px -12px rgba(60, 232, 200, 0.8);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(60, 232, 200, 0.5);
  background: rgba(60, 232, 200, 0.06);
  color: var(--cyan-bright);
}

.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 13.5px; }
.btn-xs { min-height: 34px; padding: 7px 13px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn:disabled::before { display: none; }

/* --------------------------------------------------------------------------
   页头
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 7, 12, 0.74);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text);
}
.brand-text span {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.42em;
  color: var(--muted-2);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.4vw, 46px);
}
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); }
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after,
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}
.lang-switch button {
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active {
  background: var(--panel-strong);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: top 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle.is-open span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:last-child { top: 20px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(700px, 100svh);
  padding-top: 118px;
  padding-bottom: 34px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(62% 52% at 80% 12%, rgba(143, 125, 255, 0.16), transparent 62%),
    radial-gradient(55% 48% at 8% 84%, rgba(60, 232, 200, 0.13), transparent 64%),
    radial-gradient(48% 42% at 46% 34%, rgba(30, 60, 120, 0.16), transparent 72%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
}
.blob-a {
  width: 44vw;
  height: 44vw;
  right: -9%;
  top: 0;
  background: radial-gradient(circle, rgba(143, 125, 255, 0.3), rgba(143, 125, 255, 0) 66%);
  animation: driftA 19s ease-in-out infinite alternate;
}
.blob-b {
  width: 38vw;
  height: 38vw;
  left: -8%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(60, 232, 200, 0.2), rgba(60, 232, 200, 0) 66%);
  animation: driftB 24s ease-in-out infinite alternate;
}
.grid-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -14%;
  height: 62%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 82%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 82%);
  opacity: 0.55;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.hero-copy { position: relative; min-width: 0; }
.hero-copy > * { animation: rise 0.95s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.13s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.23s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.33s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.43s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(60, 232, 200, 0.5);
  animation: pulseDot 2.4s ease-out infinite;
}

.hero h1 {
  margin: 20px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.hero h1 br { display: block; }
html[data-lang="en"] .hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.05rem);
  letter-spacing: -0.035em;
}

.grad {
  background: linear-gradient(100deg, #d9fbff 0%, #5cebd0 30%, #b9a8ff 72%, #eafcff 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero h1 .grad {
  background-size: 220% 100%;
  animation: gradShift 13s ease-in-out infinite alternate;
}

.lede {
  max-width: 35rem;
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 1.9;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: clamp(28px, 4vh, 38px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  margin-top: clamp(38px, 6vh, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; min-width: 0; }
.stats dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.stats dd {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* 轨道视觉 */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding-inline: 18px;
  animation: rise 1.1s var(--ease) 0.2s both;
}
.orbit {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  margin-block: 8px;
}
.orbit-halo {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 232, 200, 0.14), rgba(143, 125, 255, 0.08) 45%, transparent 68%);
  filter: blur(18px);
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}
.ring-a { inset: 2%; animation: spin 46s linear infinite; }
.ring-b {
  inset: 16%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.055);
  animation: spin 34s linear infinite reverse;
}
.ring-c {
  inset: 30%;
  border-color: rgba(60, 232, 200, 0.17);
  animation: spin 24s linear infinite;
}
.orbit-ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(60, 232, 200, 0.9);
}
.ring-b::after { background: var(--violet); box-shadow: 0 0 12px rgba(143, 125, 255, 0.9); }
.ring-c::after { width: 4px; height: 4px; }

.orbit-core {
  position: absolute;
  inset: 37%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 32% 28%, rgba(60, 232, 200, 0.16), rgba(8, 12, 20, 0.94) 68%);
  box-shadow: 0 0 70px -12px rgba(60, 232, 200, 0.45), inset 0 0 20px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.orbit-core svg { width: 42%; height: auto; }
.orbit-core span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--muted);
  text-indent: 0.34em;
}
.orbit-core::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(60, 232, 200, 0.14);
  animation: pulseRing 4.5s ease-out infinite;
}

.orbit-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 11, 18, 0.76);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
  animation: floatY 6.5s ease-in-out infinite;
}
.orbit-node i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(60, 232, 200, 0.8);
}
.node-a { top: 1%; left: 50%; translate: -50% 0; }
.node-b { top: 50%; right: -1%; translate: 0 -50%; animation-delay: -1.6s; }
.node-c { bottom: 1%; left: 50%; translate: -50% 0; animation-delay: -3.2s; }
.node-d { top: 50%; left: -1%; translate: 0 -50%; animation-delay: -4.8s; }
.node-b i, .node-d i { background: var(--violet); box-shadow: 0 0 8px rgba(143, 125, 255, 0.8); }

.orbit-caption {
  position: absolute;
  left: 50%;
  bottom: -7%;
  display: flex;
  align-items: center;
  gap: 10px;
  translate: -50% 0;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--muted-2);
  white-space: nowrap;
}
.orbit-caption b { width: 26px; height: 1px; background: var(--line-strong); }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(30px, 5vh, 60px);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color 0.25s ease;
}
.scroll-cue:hover { color: var(--cyan); }
.cue-line {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.cue-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -45%;
  width: 100%;
  height: 45%;
  background: var(--cyan);
  animation: cueDrop 2.6s ease-in-out infinite;
}
.hero-footnote {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   通用区块
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(76px, 10vw, 132px); }
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max), 100% - (var(--gutter) * 2));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  pointer-events: none;
}
.section-alt {
  background:
    radial-gradient(52% 42% at 88% 8%, rgba(143, 125, 255, 0.055), transparent 70%),
    radial-gradient(48% 40% at 6% 92%, rgba(60, 232, 200, 0.045), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 40%, rgba(255, 255, 255, 0.012));
}

.sec-head { position: relative; max-width: 780px; margin-bottom: clamp(38px, 5vw, 62px); }
.sec-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.sec-no { font-size: 11.5px; letter-spacing: 0.08em; color: var(--cyan); }
.sec-kicker {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sec-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 3.05rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.sec-desc {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

/* 滚动揭示 */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 65ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-fallback .reveal { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   服务卡片
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card,
.tile,
.case {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 60%);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  will-change: transform;
}
.card.is-tilting,
.tile.is-tilting,
.case.is-tilting { transition: transform 0.09s linear, border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card:hover,
.tile:hover,
.case:hover {
  --lift: -4px;
  border-color: rgba(60, 232, 200, 0.32);
  box-shadow: 0 30px 70px -40px rgba(60, 232, 200, 0.42);
}

.card::before,
.tile::before,
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(60, 232, 200, 0.12), transparent 66%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.card:hover::before,
.tile:hover::before,
.case:hover::before { opacity: 1; }

.card {
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 232, 200, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card:hover::after { opacity: 1; }
.card-no {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  color: var(--cyan);
  filter: drop-shadow(0 0 16px rgba(60, 232, 200, 0.35));
  transition: transform 0.4s var(--ease), color 0.4s ease;
}
.card:hover .card-icon { transform: translateY(-3px) scale(1.04); color: var(--cyan-bright); }
.card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.tags li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   优势 Bento
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  padding: clamp(24px, 2.8vw, 34px);
  overflow: hidden;
}
.tile-a { grid-column: span 7; }
.tile-b { grid-column: span 5; }
.tile-c, .tile-d, .tile-e { grid-column: span 4; }
.tile-f { grid-column: span 12; }
.tile > * { position: relative; z-index: 1; }
.tile-no {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.12em;
}
.tile h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 600;
}
.tile p {
  max-width: 48ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.chain span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}
.chain i { font-style: normal; font-size: 11px; color: var(--muted-2); }

.file-chips, .mono-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.file-chips span, .mono-row span {
  padding: 5px 10px;
  border: 1px solid rgba(60, 232, 200, 0.16);
  border-radius: 6px;
  background: rgba(60, 232, 200, 0.04);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(111, 245, 223, 0.8);
}
.mono-row span { border-color: var(--line); background: rgba(255, 255, 255, 0.02); color: var(--muted); }

.tile-metric { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.tile-metric strong {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.6vw, 3.3rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tile-metric strong span { font-size: 0.45em; margin-left: 2px; }
.tile-metric em {
  font-style: normal;
  max-width: 22ch;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tile-f-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.tile-f-head > div:first-child { max-width: 62ch; }
.principles-mini { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.principles-mini span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   流程
   -------------------------------------------------------------------------- */
.process-wrap { position: relative; }
.process-line {
  position: absolute;
  top: 6px;
  left: 7px;
  right: 7px;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}
.process-line span {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(60, 232, 200, 0.55);
  transition: width 0.15s linear;
}
.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.process li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 38px;
  min-width: 0;
}
.process li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.process li.is-visible::before {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(60, 232, 200, 0.08), 0 0 18px rgba(60, 232, 200, 0.65);
}
.step-no {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}
.process h3 { margin-bottom: 7px; font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em; }
.process p { font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.dur {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: rgba(60, 232, 200, 0.72);
}

/* --------------------------------------------------------------------------
   案例
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.case { display: flex; flex-direction: column; overflow: hidden; }
.case-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #070b13;
}
.art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 78%);
  opacity: 0.6;
}
.art-orb {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  right: -12%;
  top: -18%;
  border-radius: 50%;
  filter: blur(26px);
  transition: transform 0.8s var(--ease);
}
.art-agent .art-orb {
  background:
    radial-gradient(circle at 40% 40%, rgba(60, 232, 200, 0.65), rgba(60, 232, 200, 0) 62%),
    radial-gradient(circle at 62% 70%, rgba(143, 125, 255, 0.55), transparent 62%);
}
.art-mini .art-orb {
  background:
    radial-gradient(circle at 40% 40%, rgba(255, 201, 122, 0.4), transparent 60%),
    radial-gradient(circle at 62% 62%, rgba(60, 232, 200, 0.42), transparent 66%);
}
.art-screen .art-orb {
  background:
    radial-gradient(circle at 40% 40%, rgba(143, 125, 255, 0.6), transparent 62%),
    radial-gradient(circle at 56% 66%, rgba(70, 150, 255, 0.42), transparent 66%);
}
.case:hover .art-orb { transform: scale(1.1) translate(-2%, 3%); }
.art-ring {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  right: -4%;
  top: 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.art-ring.r1 { border-style: dashed; animation: spin 34s linear infinite; }
.art-ring.r2 {
  width: 38%;
  right: 11%;
  top: 24%;
  border-color: rgba(60, 232, 200, 0.18);
  animation: spin 24s linear infinite reverse;
}
.art-ui {
  position: absolute;
  right: 6%;
  bottom: 9%;
  width: 68%;
  height: auto;
  opacity: 0.9;
  transition: transform 0.8s var(--ease), opacity 0.5s ease;
}
.case:hover .art-ui { transform: translateY(-3px) scale(1.015); opacity: 1; }
.art-index {
  position: absolute;
  left: 18px;
  bottom: 10px;
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.07);
}
.case-body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; padding: 22px; }
.case-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(60, 232, 200, 0.3);
  border-radius: 6px;
  background: rgba(60, 232, 200, 0.06);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.case h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.case p { margin-bottom: 20px; font-size: 13px; line-height: 1.8; color: var(--muted); }

.work-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted-2);
}
.work-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   技术栈
   -------------------------------------------------------------------------- */
.section-stack { padding-block: clamp(58px, 7.5vw, 96px); }
.stack-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.stack-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 24em;
}
.stack-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 6px;
}

.marquee {
  margin-top: clamp(30px, 4vw, 46px);
  padding-block: 16px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 34s) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.stack-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-left: 26px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(233, 237, 246, 0.62);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.stack-item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.45;
  flex: none;
}
.stack-item:hover { color: var(--cyan-bright); }

/* --------------------------------------------------------------------------
   关于
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 66px);
  align-items: start;
}
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
  margin-top: 34px;
}
.principle { padding-left: 16px; border-left: 1px solid var(--line-strong); }
.principle h3 { margin-bottom: 6px; font-size: 13.5px; font-weight: 600; }
.principle p { font-size: 12.5px; line-height: 1.75; color: var(--muted); }

.contact-card {
  position: sticky;
  top: 104px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014));
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 232, 200, 0.55), transparent);
}
.contact-card-title {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-value { font-size: 14px; color: var(--text); word-break: break-word; }
.contact-value.mail {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: 0.01em;
  color: var(--cyan-bright);
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.contact-value.mail:hover { border-bottom-color: rgba(60, 232, 200, 0.5); }
.card-cta { width: 100%; margin-top: 22px; }

/* --------------------------------------------------------------------------
   留言板
   -------------------------------------------------------------------------- */
#contact { overflow: hidden; }
#contact::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 125, 255, 0.1), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.mail-link {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--cyan-bright);
  border-bottom: 1px solid rgba(60, 232, 200, 0.28);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.mail-link:hover { color: #fff; border-bottom-color: var(--cyan); }

.contact-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-facts > div { display: flex; flex-direction: column; gap: 5px; }
.contact-facts span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-facts strong { font-size: 12.5px; font-weight: 500; color: var(--text); }

.form-card {
  position: relative;
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014));
  box-shadow: 0 40px 100px -60px rgba(0, 0, 0, 1);
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 232, 200, 0.5), rgba(143, 125, 255, 0.4), transparent);
}
.form-card::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 232, 200, 0.08), transparent 70%);
  pointer-events: none;
}
.form-card form { position: relative; z-index: 1; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.req { color: var(--cyan); }
.opt { margin-left: 4px; font-size: 9.5px; color: var(--muted-2); }

input,
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}
::placeholder { color: var(--muted-2); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(60, 232, 200, 0.6);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(60, 232, 200, 0.1);
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2398a1b8' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}
select option { background: #0b0f18; color: var(--text); }
textarea { min-height: 128px; resize: vertical; }

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: rgba(255, 139, 122, 0.62); }
.field.is-invalid input:focus,
.field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(255, 139, 122, 0.1); }
.field-error { display: none; font-size: 11.5px; line-height: 1.5; color: var(--danger); }
.field.is-invalid .field-error { display: block; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.backend-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(255, 201, 122, 0.78);
}
.backend-note svg { width: 13px; height: 13px; flex: none; margin-top: 2px; }

.form-note {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted-2);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.7;
}
.form-status h4 { margin-bottom: 6px; font-size: 13.5px; font-weight: 600; }
.form-status p { margin-bottom: 4px; }
.form-status.is-warning {
  display: block;
  border-color: rgba(255, 201, 122, 0.34);
  background: rgba(255, 201, 122, 0.065);
  color: #f3dcb4;
}
.form-status.is-success {
  display: block;
  border-color: rgba(60, 232, 200, 0.34);
  background: rgba(60, 232, 200, 0.065);
  color: #c8f7ee;
}
.form-status.is-error {
  display: block;
  border-color: rgba(255, 139, 122, 0.34);
  background: rgba(255, 139, 122, 0.065);
  color: #ffd5ce;
}
.status-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.status-actions .btn { min-height: 36px; }
.form-status.is-warning .btn-primary {
  background: linear-gradient(100deg, #ffd393, var(--amber));
  color: #1a1206;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-block: 56px 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 60%);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 40px;
}
.footer-tagline { margin-top: 18px; font-size: 13px; color: var(--muted-2); }
.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--muted); transition: color 0.22s ease; }
.footer-col a:hover { color: var(--cyan-bright); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer-meta { display: flex; flex-wrap: wrap; gap: 18px; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(8, 11, 18, 0.8);
  backdrop-filter: blur(10px);
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, color 0.25s ease, border-color 0.25s ease;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--cyan); border-color: rgba(60, 232, 200, 0.45); }

/* --------------------------------------------------------------------------
   动画
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(60, 232, 200, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(60, 232, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 232, 200, 0); }
}
@keyframes pulseRing {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-5%, 6%, 0) scale(1.08); }
}
@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6%, -5%, 0) scale(1.1); }
}
@keyframes gradShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes cueDrop {
  0% { top: -45%; opacity: 0; }
  25% { opacity: 1; }
  70%, 100% { top: 105%; opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-a, .tile-b { grid-column: span 6; }
  .tile-c, .tile-d, .tile-e { grid-column: span 6; }
  .tile-e { grid-column: span 12; }
  .tile-f-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case p { font-size: 12.5px; }
}

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 132px; padding-bottom: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .hero-copy { max-width: 660px; }
  .hero-visual { order: 2; }
  .orbit { width: min(370px, 82vw); }
  .hero-foot { margin-top: 44px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }

  .process-line {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process-line span {
    width: 100%;
    height: calc(var(--p, 0) * 100%);
    background: linear-gradient(180deg, var(--cyan), var(--violet));
    transition: height 0.15s linear;
  }
  .process { grid-template-columns: 1fr; gap: 30px; }
  .process li { padding-top: 0; padding-left: 34px; }
  .process li::before { top: 2px; }
  .process p { max-width: 46ch; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }
  .nav { height: 68px; }
  .nav-toggle { display: block; }
  .nav-panel {
    position: fixed;
    inset: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 34px;
    padding: 104px var(--gutter) 40px;
    background: rgba(5, 7, 12, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
      visibility 0.35s;
    overflow-y: auto;
  }
  .nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.01em;
  }
  .nav-links a::after { display: none; }
  .nav-links a.is-active { color: var(--cyan); }
  .nav-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav-actions .btn { width: 100%; }
  .lang-switch button { padding: 7px 16px; }

  .work-grid { grid-template-columns: 1fr; }
  .case-art { aspect-ratio: 16 / 8.5; }
  .art-index { font-size: 3.4rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.1rem, 9.2vw, 2.9rem); }
  .eyebrow { font-size: 9px; letter-spacing: 0.15em; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .hero-footnote { display: none; }
  .hero { padding-top: 118px; }
  .orbit { width: min(350px, 82vw); }
  .orbit-node { padding: 7px 10px; font-size: 8.5px; letter-spacing: 0.1em; }
  .node-b, .node-d { display: none; }
  .orbit-caption { font-size: 7.5px; letter-spacing: 0.22em; }

  .services-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e, .tile-f { grid-column: span 1; }
  .tile-metric em { max-width: none; }

  .principles { grid-template-columns: 1fr; }
  .contact-facts { grid-template-columns: 1fr; gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .mail-link { font-size: 1.1rem; word-break: break-all; }

  .stack-head { gap: 12px; }
  .stack-title { font-size: 1.4rem; }
  .stack-note { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .to-top { right: 16px; bottom: 16px; }
  .section { padding-block: 68px; }
  .sec-head h2 { font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
}

@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .btn { padding-inline: 20px; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
  .noise { display: none; }
}

@media (max-width: 640px) {
  .noise { display: none; }
}

/* --------------------------------------------------------------------------
   降低动效
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-copy > *, .hero-visual { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .hero-canvas { opacity: 0.5; }
  .cursor-glow { display: none; }
}
