/* =========================================================
   木羽组官网 · V1「夜航」（正式站）
   暗色数据台：深空底 + 青绿/青色光 + 玻璃面板
   ========================================================= */

:root {
  --bg: #06080f;
  --bg-2: #0a0d18;
  --panel: rgba(255, 255, 255, 0.042);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #eef1f8;
  --muted: #8b94aa;
  --muted-2: #7a8499;
  --primary: #2dd4bf;
  --primary-2: #0d9488;
  --cyan: #3ddcff;
  --green: #3ddc9a;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; scrollbar-gutter: stable; color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(13, 148, 136, 0.18), transparent 60%),
    radial-gradient(700px 500px at 8% 24%, rgba(61, 220, 255, 0.06), transparent 65%),
    radial-gradient(800px 700px at 50% 110%, rgba(13, 148, 136, 0.08), transparent 60%);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(45, 212, 191, .35); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(45, 212, 191, .13), rgba(45, 212, 191, 0) 62%);
  opacity: 0;
  transition: opacity .4s ease;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- 按钮 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5eead4, #2dd4bf);
  color: #04110f;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 10px 34px rgba(13, 148, 136, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(13, 148, 136, .5), inset 0 1px 0 rgba(255, 255, 255, .25); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-ghost {
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  box-shadow: none;
  color: #dfe3f0;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; border-color: rgba(255, 255, 255, .18); }
.btn-ghost .wx { width: 18px; height: 18px; color: var(--green); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .idx {
  font-family: var(--mono);
  color: var(--primary);
  letter-spacing: .06em;
}
.eyebrow-sep { color: var(--muted-2); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(61, 220, 154, .12), 0 0 12px rgba(61, 220, 154, .8);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted-2); }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-head.is-scrolled {
  background: rgba(6, 8, 15, .72);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(1.4);
}
.head-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 76px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 36px; height: 36px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-mark.small { width: 28px; height: 28px; border-radius: 7px; }
.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .04em;
}
.brand-name small {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--muted-2);
  margin-top: 2px;
}
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.quiet-link { font-size: 13px; color: var(--muted); transition: color .25s ease; }
.quiet-link:hover { color: var(--text); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; place-items: center; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 3px auto; transition: transform .25s ease; }
.mobile-nav {
  display: none;
  background: rgba(6, 8, 15, .96);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 24px;
  backdrop-filter: blur(20px);
}
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: #c9cfdd; }
.mobile-nav a:last-child { border-bottom: 0; color: var(--primary); margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 76px;
  overflow: hidden;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  top: -8%;
  left: 0;
  right: 0;
  width: 100%;
  height: 116%;
  z-index: -3;
  opacity: .68;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2s var(--ease), transform 14s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.hero-bg.is-active { z-index: 1; opacity: 1; transform: scale(1.04); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 32%; filter: saturate(.9) contrast(1.04) brightness(.74); }

.hero-avatars { position: absolute; inset: 96px 0 96px; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-avatar {
  position: absolute;
  width: var(--s, 44px);
  height: var(--s, 44px);
  border-radius: 22%;
  overflow: visible;
  isolation: isolate;
  opacity: 0;
  transform: rotate(var(--r, 0deg));
  transition: opacity 1.2s ease;
  background: rgba(8, 11, 22, .35);
  border: 1px solid rgba(94, 234, 212, .18);
  box-shadow: 0 0 18px rgba(190, 242, 100, .16), 0 0 38px rgba(94, 234, 212, .08), 0 10px 30px rgba(0, 0, 0, .35);
}
.hero-avatar::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 26%;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(190, 242, 100, .34), rgba(94, 234, 212, .14) 45%, transparent 72%);
  filter: blur(8px);
  opacity: .32;
  animation: fireflyGlow var(--gd, 5s) ease-in-out infinite;
  animation-delay: var(--gdelay, 0s);
}
.hero-avatar.is-in { opacity: var(--o, .5); }
.hero-avatar.is-out { opacity: 0; }
.hero-avatar img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: saturate(.85) brightness(.9); }
@keyframes fireflyGlow {
  0%, 100% { opacity: .2; transform: scale(.96); }
  50% { opacity: .82; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-avatar { transition: none; }
  .hero-avatar::before { animation: none; opacity: .35; }
  .hero-bg { transition: none; transform: none; }
  .hero-bg.is-active { transform: none; }
}
@media (max-width: 1360px) { .hero-avatars { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-avatar { transition: none; } }
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 480px at 72% 36%, rgba(13, 148, 136, .22), transparent 65%),
    radial-gradient(480px 360px at 58% 64%, rgba(61, 220, 255, .09), transparent 70%),
    linear-gradient(90deg, rgba(6, 8, 15, .82) 0%, rgba(6, 8, 15, .7) 22%, rgba(6, 8, 15, .42) 46%, rgba(6, 8, 15, .16) 68%, transparent 88%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 60% 50%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 60% at 60% 50%, #000 10%, transparent 72%);
  opacity: .5;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 32px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100svh - 76px);
}
.hero-copy { padding-top: 10px; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.title-line { white-space: nowrap; }
.serif-accent {
  font-family: var(--serif);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -.01em;
  background: linear-gradient(100deg, #ffffff 5%, #99f6e4 48%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
  filter: drop-shadow(0 0 28px rgba(45, 212, 191, .25));
}
.hero-lede {
  margin-top: 26px;
  max-width: 510px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--muted);
}
.hero-lede strong { color: #dfe2f0; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 46px;
  max-width: 560px;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}
.hero-stats > div { padding-right: 12px; }
.hero-stats dt { font-size: 11px; letter-spacing: .08em; color: var(--muted-2); }
.hero-stats dd {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: #f4f6ff;
}
.hero-note { margin-top: 18px; font-size: 11.5px; letter-spacing: .04em; color: var(--muted-2); }

.bg-switch { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; color: var(--muted-2); }
.bg-label { letter-spacing: .14em; text-transform: uppercase; }
.bg-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.bg-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text); font-size: 10px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.bg-btn:hover { color: var(--primary); border-color: var(--primary); background: rgba(45, 212, 191, .08); }
.bg-btn svg { width: 12px; height: 12px; }
.bg-count { margin-left: auto; letter-spacing: .1em; }
.rail-faces img.is-loading { opacity: .35; filter: saturate(.4); }
.rail-faces img.is-error { background: rgba(255, 255, 255, .08); }

/* Hero 右侧 */
.hero-visual { position: relative; min-height: 600px; }
.orbit {
  position: absolute;
  left: 6%;
  top: 9%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(45, 212, 191, .14);
  border-radius: 50%;
  z-index: -1;
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(45, 212, 191, .09);
  border-radius: 50%;
  inset: 52px;
}
.orbit::after { inset: 112px; border-color: rgba(61, 220, 255, .09); }
.browser {
  position: absolute;
  top: 44px;
  right: 0;
  width: min(600px, 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #0c101c;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .6), 0 24px 80px rgba(13, 148, 136, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: rotate(-1.6deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .browser { transform: rotate(-.4deg) translateY(-4px); }
.browser-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dots i:first-child { background: #ff6b6b; opacity: .8; }
.dots i:nth-child(2) { background: #ffce5c; opacity: .8; }
.dots i:nth-child(3) { background: #48d597; opacity: .8; }
.url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 7px;
  background: rgba(0, 0, 0, .3);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
}
.url svg { width: 11px; height: 11px; flex: none; }
.browser-tag { font-size: 9.5px; color: var(--muted-2); letter-spacing: .05em; white-space: nowrap; }
.browser-body { height: 390px; overflow: hidden; background: #f0f2fa; }
.browser-body img { width: 100%; object-fit: cover; object-position: top center; }

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(16, 20, 34, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  animation: floaty 7s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.float-chip small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; letter-spacing: .03em; }
.chip-icon {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(45, 212, 191, .14);
  color: var(--primary);
  font-size: 14px;
}
.chip-version { top: 2px; right: -14px; animation-delay: -1.2s; }
.chip-change { bottom: 132px; left: -24px; animation-delay: -3.4s; }
.chip-change .chip-icon { background: rgba(61, 220, 255, .12); color: var(--cyan); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.avatar-rail {
  position: absolute;
  left: -8px;
  right: 12px;
  bottom: 18px;
  z-index: 4;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(12, 15, 26, .72);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.rail-label { font-size: 10px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 10px; }
.rail-faces { display: flex; align-items: center; gap: 7px; }
.rail-faces img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  object-fit: cover;
  transition: transform .25s var(--ease), border-color .25s ease;
}
.rail-faces img:hover { transform: translateY(-3px) scale(1.05); border-color: rgba(45, 212, 191, .6); }
.face-more {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border-top: 1px solid var(--line-soft);
  background: rgba(6, 8, 15, .55);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 13px 0;
  animation: ticker 46s linear infinite;
}
.ticker-track span { font-size: 11px; letter-spacing: .22em; color: var(--muted-2); white-space: nowrap; }
.ticker-track i { font-style: normal; font-size: 8px; color: var(--primary); opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 通用 Section ---------- */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 32px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(36px, 4.1vw, 54px);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 800;
}
.section-aside {
  max-width: 320px;
  padding-bottom: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted-2);
  text-align: right;
}
.br-m { display: none; }

/* ---------- 作品 ---------- */
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, .9fr);
  gap: 18px;
}
.work {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 540px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 55%),
    rgba(10, 13, 24, .6);
  transition: border-color .4s ease, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work:hover { border-color: rgba(255, 255, 255, .17); transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.work-copy { position: relative; z-index: 2; max-width: 360px; }
.work-meta { display: flex; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(45, 212, 191, .12);
  border: 1px solid rgba(45, 212, 191, .22);
  font-size: 10px;
  letter-spacing: .08em;
  color: #99f6e4;
}
.tag-dim { background: rgba(255, 255, 255, .035); border-color: var(--line); color: var(--muted); }
.tag-wx { background: rgba(61, 220, 154, .1); border-color: rgba(61, 220, 154, .22); color: #8aebc2; }
.work h3 {
  margin-top: 22px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
}
.work h3 .thin { font-weight: 300; color: var(--muted); }
.work p { margin-top: 16px; font-size: 13.5px; line-height: 1.9; color: var(--muted); max-width: 330px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.chips li {
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  color: #ccfbf1;
  border-bottom: 1px solid rgba(45, 212, 191, .38);
  padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease;
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover { color: #fff; border-color: var(--primary); }
.text-link:hover span { transform: translate(3px, -3px); }

.work-shot { position: relative; display: flex; flex: 1; min-height: 0; margin-top: 24px; padding-top: 0; }
.shot-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 108%;
  margin-left: -4%;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 0;
  background: #0e1220;
  box-shadow: 0 -10px 50px rgba(13, 148, 136, .16);
  transform: translateY(16px);
  transition: transform .55s var(--ease);
}
.work:hover .shot-frame { transform: translateY(6px); }
.shot-bar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.shot-bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.shot-bar span { margin-left: 8px; font-family: var(--mono); font-size: 9px; color: var(--muted-2); }
.shot-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 13, 24, 0), rgba(10, 13, 24, .94));
}
.shot-frame img { position: absolute; left: 0; right: 0; top: 28px; bottom: 0; width: 100%; height: calc(100% - 28px); object-fit: cover; object-position: top center; opacity: .94; }
.corner-note {
  position: absolute;
  right: 2px;
  bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted-2);
  writing-mode: vertical-rl;
}

.work-mini { background: linear-gradient(165deg, rgba(61, 220, 154, .06), rgba(255, 255, 255, .012) 58%); }
.phone-stage {
  position: relative;
  z-index: 3;
  width: 186px;
  margin: auto auto 0;
  padding-top: 22px;
  cursor: pointer;
}
.phone-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 250px;
  height: 90px;
  margin-left: -125px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 220, 154, .22), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.9;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(155deg, #26313d, #06080d 58%);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(45, 212, 191, .08) inset;
  transform: rotate(2.2deg);
  transition: transform .5s var(--ease), border-color .4s ease;
}
.phone-stage:hover .phone { transform: rotate(0) translateY(-6px); border-color: rgba(94, 234, 212, .38); }
.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 3;
  width: 70px;
  height: 18px;
  margin-left: -35px;
  border-radius: 0 0 12px 12px;
  background: #05070b;
}
.phone-screen {
  position: absolute;
  inset: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 36px 14px 14px;
  border-radius: 27px;
  background:
    radial-gradient(180px 130px at 50% 8%, rgba(45, 212, 191, .12), transparent 70%),
    #070b11;
}
.phone-kicker { font-family: var(--mono); font-size: 7px; letter-spacing: .14em; color: rgba(153, 246, 228, .55); }
.phone-brand { margin-top: 11px; font-size: 19px; line-height: 1.1; letter-spacing: -.04em; color: #f0fdfa; }
.phone-brand span { color: var(--primary); font-weight: 300; }
.phone-sub { margin-top: 7px; font-size: 9px; letter-spacing: .06em; color: var(--muted-2); }
.phone-qr {
  display: block;
  width: 132px;
  height: 132px;
  margin-top: 18px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset;
}
.phone-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.phone-scan { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 9px; color: #9fb0c8; }
.phone-scan i { width: 5px; height: 5px; border-radius: 50%; background: #3ddc9a; box-shadow: 0 0 0 3px rgba(61, 220, 154, .12); }
.phone-ver { margin-top: auto; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted-2); }
.phone-hint { display: block; margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; color: var(--muted-2); }
.qr-note { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; color: var(--muted-2); }
.mini-glow {
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: 340px;
  height: 240px;
  margin-left: -170px;
  background: radial-gradient(circle, rgba(61, 220, 154, .22), transparent 68%);
  filter: blur(10px);
  z-index: 1;
}

/* ---------- 数据 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bento-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: border-color .35s ease, transform .45s var(--ease), background .35s ease;
}
.bento-card:hover { border-color: rgba(45, 212, 191, .32); transform: translateY(-3px); background: linear-gradient(160deg, rgba(45, 212, 191, .07), rgba(255, 255, 255, .012)); }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.tall { min-height: 300px; }
.bento-top { display: flex; align-items: center; justify-content: space-between; }
.bento-arrow { font-size: 13px; color: var(--muted-2); transition: color .3s ease, transform .3s ease; }
.bento-card:hover .bento-arrow { color: var(--primary); transform: translate(2px, -2px); }
.big-number {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #f4f5ff;
}
.big-number small { margin-left: 6px; font-size: 15px; color: var(--muted-2); letter-spacing: 0; }
.bento-label { margin-top: 10px; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.bento-desc { margin-top: 10px; font-size: 12px; line-height: 1.85; color: var(--muted-2); }
.bento-h { margin-top: 30px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

.spark { width: 100%; height: 96px; margin-top: 22px; overflow: visible; }
.spark-axis { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--mono); font-size: 9px; color: var(--muted-2); }

.dot-field {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 104px;
  height: 104px;
  background-image: radial-gradient(rgba(45, 212, 191, .5) 1.3px, transparent 1.4px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(135deg, transparent 5%, #000 60%);
  mask-image: linear-gradient(135deg, transparent 5%, #000 60%);
  opacity: .55;
}
.equip-stack { position: absolute; right: 32px; bottom: 28px; width: 80px; height: 80px; }
.equip-stack i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(45, 212, 191, .28);
  border-radius: 14px;
  background: rgba(45, 212, 191, .06);
}
.equip-stack i:nth-child(1) { transform: rotate(-12deg) translate(-8px, 4px); }
.equip-stack i:nth-child(2) { transform: rotate(-5deg) translate(-3px, 0); }
.equip-stack i:nth-child(3) { transform: rotate(4deg); background: rgba(45, 212, 191, .1); }

.bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; margin-top: 22px; }
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, .85), rgba(13, 148, 136, .22));
  transform-origin: bottom;
  transition: filter .3s ease;
}
.bento-card:hover .bars i { filter: brightness(1.2); }
.bars-label { display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--mono); font-size: 9px; color: var(--muted-2); }

.fate-cards { position: absolute; right: 22px; bottom: 22px; width: 148px; height: 108px; }
.fate {
  position: absolute;
  width: 58px;
  height: 86px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 7px 0 0 8px;
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.f1 { left: 0; bottom: 0; background: linear-gradient(160deg, #3a3f52, #20232e); color: #aeb4c6; transform: rotate(-9deg); }
.f2 { left: 24px; bottom: 4px; background: linear-gradient(160deg, #1f5a47, #12352b); color: #7ee0bb; transform: rotate(-3deg); }
.f3 { left: 48px; bottom: 8px; background: linear-gradient(160deg, #6a5220, #3b2e12); color: #ffd479; transform: rotate(3deg); }
.f4 { left: 72px; bottom: 12px; background: linear-gradient(160deg, #6c1f2c, #3c1118); color: #ff8d9d; transform: rotate(9deg); }

.devices { position: absolute; right: 26px; bottom: 24px; width: 146px; height: 92px; }
.device-desktop {
  position: absolute; right: 0; bottom: 0;
  width: 120px; height: 76px;
  border: 1px solid rgba(45, 212, 191, .3);
  border-radius: 7px;
  background: rgba(45, 212, 191, .05);
}
.device-desktop::before { content: ""; position: absolute; inset: 7px 7px 16px; border-radius: 3px; background: rgba(45, 212, 191, .09); }
.device-desktop::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 26px; height: 3px; margin-left: -13px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.device-phone {
  position: absolute; left: 0; bottom: 0;
  width: 38px; height: 72px;
  border: 1px solid rgba(61, 220, 255, .35);
  border-radius: 8px;
  background: rgba(61, 220, 255, .06);
}
.device-phone::before { content: ""; position: absolute; inset: 6px 5px 12px; border-radius: 3px; background: rgba(61, 220, 255, .1); }

/* ---------- 方法 ---------- */
.method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  border-top: 1px solid var(--line);
}
.method-list li {
  display: flex;
  gap: 22px;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
}
.method-no { font-family: var(--mono); font-size: 11px; color: var(--primary); padding-top: 4px; }
.method-list h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.method-list p { margin-top: 8px; max-width: 420px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.source-note {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  padding: 18px 22px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
}
.source-icon { color: var(--primary); font-size: 14px; line-height: 1.6; }
.source-note p { font-size: 11.5px; line-height: 1.8; color: var(--muted-2); }

/* ---------- 关于 ---------- */
.about { padding-bottom: 130px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 80px;
  align-items: center;
}
.about h2 { margin-top: 16px; font-size: clamp(42px, 4.7vw, 60px); line-height: 1.14; letter-spacing: -.04em; font-weight: 800; }
.about-copy > p { margin-top: 22px; max-width: 480px; font-size: 14px; line-height: 2; color: var(--muted); }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.about-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(13, 148, 136, .16), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.about-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.status-dot { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #8aebc2; }
.status-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(61, 220, 154, .7); }
.facts { padding: 6px 0; }
.facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; }
.facts dd { font-family: var(--mono); font-size: 12.5px; color: #dfe3f0; letter-spacing: .01em; }
.facts dd a { border-bottom: 1px solid rgba(45, 212, 191, .4); }
.about-card blockquote {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  color: #cdd0e4;
}
.about-card-foot { display: flex; gap: 10px; margin-top: 20px; font-size: 10px; letter-spacing: .1em; color: var(--muted-2); }
.about-origin { display: flex; gap: 12px; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; line-height: 1.9; color: var(--muted); }
.about-origin span { flex: none; padding-top: 2px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--primary); }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(0, 0, 0, .22)); }
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 32px 44px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.foot-brand p { margin-top: 14px; font-size: 12px; color: var(--muted-2); }
.foot-links { display: flex; gap: 64px; }
.foot-links h4 { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.foot-links a { display: block; font-size: 12px; color: var(--muted); padding: 5px 0; transition: color .2s ease; }
.foot-links a:hover { color: var(--text); }
.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 10.5px;
  color: var(--muted-2);
}
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--text); }
.foot-disclaimer { margin-left: auto; }

/* ---------- 小程序码弹窗 ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.qr-modal[hidden] { display: none; }
.qr-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 10, .72); backdrop-filter: blur(10px); animation: fadeIn .25s ease; }
.qr-dialog {
  position: relative;
  width: min(390px, 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  background: linear-gradient(165deg, #121728, #0a0d17);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .1);
  animation: dialogIn .35s var(--ease);
  overflow: hidden;
}
.qr-dialog-body { padding: 42px 34px 34px; text-align: center; }
.qr-image { width: 210px; margin: 0 auto; padding: 10px; border-radius: 18px; background: #f7f8fc; }
.qr-image img { width: 100%; border-radius: 10px; }
.qr-kicker { margin-top: 24px; font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: var(--primary); }
.qr-dialog h3 { margin-top: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.qr-desc { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.qr-version { margin-top: 18px; font-size: 10px; letter-spacing: .08em; color: var(--muted-2); }
.qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.qr-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.qr-close svg { width: 15px; height: 15px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- 滚动出现 ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .work-shot { flex: none; }
  .shot-frame { flex: none; }
  .shot-frame img { position: static; height: 265px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-bottom: 130px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 520px; max-width: 720px; width: 100%; }
  .browser { position: relative; top: 0; width: 100%; }
  .browser-body { height: 330px; }
  .chip-version { right: 6px; top: -16px; }
  .chip-change { left: 10px; bottom: 88px; }
  .avatar-rail { left: 0; right: 0; bottom: 0; }
  .orbit { left: 50%; margin-left: -280px; }
  .work-grid { grid-template-columns: 1fr; }
  .work { min-height: 500px; }
  .about-grid { gap: 44px; }
  .section { padding-top: 96px; padding-bottom: 96px; }
}

@media (max-width: 860px) {
  .head-inner { height: 68px; padding: 0 20px; gap: 16px; }
  .nav-links, .head-actions .quiet-link { display: none; }
  .head-actions { gap: 10px; }
  .nav-toggle { display: grid; margin-left: 6px; }
  .mobile-nav:not([hidden]) { display: block; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-aside { text-align: left; max-width: 520px; padding-bottom: 0; }
  .br-m { display: inline; }
  .hero { padding-top: 68px; }
  .hero-inner { min-height: auto; padding: 40px 20px 110px; }
  .hero-art { left: auto; width: 110%; right: -30%; opacity: .35; }
  .hero-title { font-size: clamp(42px, 8vw, 60px); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 0; max-width: 380px; }
  .hero-stats > div:nth-child(3), .hero-stats > div:nth-child(4) { padding-top: 8px; }
  .section { padding: 80px 20px; }
  .bento-card.span-3, .bento-card.span-4, .bento-card.span-5 { grid-column: span 6; }
  .bento-card.tall { grid-column: span 12; }
  .method-list { grid-template-columns: 1fr; column-gap: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { max-width: 560px; }
  .foot-inner { flex-direction: column; gap: 36px; padding: 44px 20px 34px; }
  .foot-links { gap: 40px; flex-wrap: wrap; }
  .foot-bottom { padding: 16px 20px 26px; }
  .foot-disclaimer { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 600px) {
  .head-inner { padding: 0 16px; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .head-actions .btn-sm { height: 36px; padding: 0 14px; font-size: 12px; }
  .hero-inner { padding: 30px 16px 100px; }
  .hero-title { font-size: 38px; line-height: 1.12; }
  .hero-lede { font-size: 14px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .hero-stats dd { font-size: 21px; }
  .hero-visual { min-height: 420px; }
  .browser { transform: none; border-radius: 14px; }
  .browser-body { height: 230px; }
  .chip-version { display: none; }
  .chip-change { left: 6px; bottom: 70px; padding: 8px 10px; }
  .chip-change b { font-size: 12px; }
  .avatar-rail { padding: 10px 12px; }
  .rail-faces { gap: 5px; }
  .rail-faces img, .face-more { width: 30px; height: 30px; border-radius: 7px; }
  .face-more { font-size: 8px; }
  .orbit { display: none; }
  .hero-ticker { display: none; }
  .section { padding: 64px 16px; }
  .section-head h2 { font-size: 32px; }
  .work { padding: 24px; min-height: 0; border-radius: 22px; }
  .work h3 { font-size: 30px; }
  .work-shot { margin-top: 24px; padding-top: 0; }
  .shot-frame { width: 100%; margin-left: 0; }
  .shot-frame img { height: 190px; }
  .corner-note { display: none; }
  .phone-stage { width: 172px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-3, .bento-card.span-4, .bento-card.span-5, .bento-card.tall { grid-column: auto; min-height: 0; }
  .big-number { margin-top: 20px; font-size: 40px; }
  .dot-field, .equip-stack, .fate-cards, .devices { position: relative; right: auto; bottom: auto; margin-top: 20px; }
  .bars { height: 70px; }
  .method-list li { padding: 22px 0; }
  .about h2 { font-size: 36px; }
  .about-actions { flex-direction: column; align-items: stretch; }
  .about-origin { flex-direction: column; gap: 6px; margin-top: 30px; }
  .about-card { padding: 22px; }
  .foot-links { gap: 32px; }
  .qr-dialog-body { padding: 34px 22px 26px; }
  .qr-image { width: 180px; }
}

/* 320px 级别的小屏：头像轨道 8 张 + 「+N」会顶到轨道右缘，缩小头像与间距 */
@media (max-width: 360px) {
  .avatar-rail { padding: 8px; }
  .rail-faces { gap: 4px; }
  .rail-faces img, .face-more { width: 26px; height: 26px; border-radius: 6px; }
  .face-more { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
