/* =========================================================
   煜码软件 YUMA · 品牌官网  —  全局 / 布局 / 场景
   ========================================================= */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #2f6bff; }

:root {
  --bg: #04060c;
  --bg-2: #080c18;
  --ink: #eef3ff;
  --muted: rgba(222, 232, 255, .66);
  --dim: rgba(222, 232, 255, .40);
  --line: rgba(160, 190, 255, .14);
  --cyan: #3ec5ff;
  --amber: #ffb547;
  --ok: #33e39a;
  --ng: #ff4d5e;
  --accent: #2f6bff;
  --nav-h: 76px;
  --f-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", sans-serif;
  --f-mono: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  transition: --accent 1.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}
body.is-loading { overflow: hidden; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.m-only { display: none !important; }

/* ---------- 氛围背景 ---------- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient i {
  position: absolute; border-radius: 50%;
  width: 80vmax; height: 80vmax;
  filter: blur(30px);
  transition: opacity 1.2s;
}
.ambient .a1 { left: -30vmax; top: -38vmax; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent) 0%, transparent 62%); opacity: .75; }
.ambient .a2 { right: -34vmax; bottom: -44vmax; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%); opacity: .7; }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 开场加载 ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .9s var(--ease), visibility .9s;
}
.pl-mark { width: 120px; height: 100px; overflow: visible; }
.pl-line { stroke-dasharray: 130; stroke-dashoffset: 130; animation: pl-draw 1s .15s cubic-bezier(.65, 0, .25, 1) forwards; }
.pl-line:nth-child(3) { animation-delay: .25s; }
.pl-line:nth-child(4) { animation-delay: .45s; }
.pl-star { transform-box: fill-box; transform-origin: center; transform: scale(0) rotate(-120deg); animation: pl-star .9s .9s cubic-bezier(.3, 1.7, .5, 1) forwards; filter: drop-shadow(0 0 14px rgba(255, 181, 71, .8)); }
.pl-count { position: absolute; bottom: 9vh; font: 500 12px var(--f-mono); letter-spacing: .3em; color: var(--dim); }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-star { to { transform: scale(1) rotate(0); } }
body.is-ready .preloader { opacity: 0; visibility: hidden; }
body.is-ready .preloader .pl-mark { transform: scale(1.6); filter: blur(6px); transition: transform .9s var(--ease), filter .9s; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 48px);
  background: linear-gradient(180deg, rgba(4, 6, 12, .78), rgba(4, 6, 12, 0));
  opacity: 0; transform: translateY(-12px);
  transition: opacity .8s .3s, transform .8s .3s var(--ease);
}
body.is-ready .nav { opacity: 1; transform: none; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 30px; filter: drop-shadow(0 0 10px rgba(62, 197, 255, .35)); }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: .1em; }
.brand-en { font: 500 10px var(--f-mono); letter-spacing: .32em; color: var(--dim); padding-left: 11px; border-left: 1px solid var(--line); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 20px; border-radius: 99px;
  font-size: 13px; letter-spacing: .06em;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .3s, border-color .3s;
}
.nav-cta i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); font-size: 12px; transition: transform .3s var(--ease); }
.nav-cta:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.nav-cta:hover i { transform: translateX(3px); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-sw {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 13px; border-radius: 99px;
  font: 600 12px var(--f-mono); letter-spacing: .06em;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .3s, border-color .3s;
}
.lang-sw:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.nav-chapter { display: none; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .06); display: none; }
.nav-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); background: linear-gradient(90deg, var(--accent), #fff); }

/* ---------- 左侧坐标轴 ---------- */
.axis {
  position: fixed; z-index: 50;
  left: clamp(26px, 2.8vw, 48px); top: 50%;
  height: min(60vh, 520px); width: 150px;
  transform: translateY(-50%);
  opacity: 0; pointer-events: none;
  transition: opacity .7s;
}
body.axis-on .axis { opacity: 1; pointer-events: auto; }
.axis-rail {
  position: absolute; left: 4px; top: 5px; bottom: 5px; width: 1px;
  background: rgba(255, 255, 255, .12);
}
.axis-rail::before {
  content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 5px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .14) 0 1px, transparent 1px 9px);
}
.axis-fill {
  position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  transform-origin: 50% 0; transform: scaleY(var(--fill, 0));
  background: linear-gradient(180deg, transparent, var(--accent) 30%, #fff);
  box-shadow: 0 0 10px var(--accent);
}
.axis-list { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
.axis-list button { display: flex; align-items: center; gap: 12px; height: 10px; padding: 0; text-align: left; }
.ax-dot {
  position: relative; flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid rgba(255, 255, 255, .35);
  transition: all .4s var(--ease);
}
.ax-num { font: 500 11px var(--f-mono); letter-spacing: .08em; color: var(--dim); transition: color .4s; width: 20px; }
.ax-lbl {
  font-size: 12px; letter-spacing: .1em; white-space: nowrap; color: var(--ink);
  opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s var(--ease);
}
.axis-list button:hover .ax-lbl { opacity: .75; transform: none; }
.axis-list button:hover .ax-dot { border-color: #fff; }
.axis-list li.is-on .ax-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 18px var(--accent); }
.axis-list li.is-on .ax-num { color: #fff; }
.axis-list li.is-on .ax-lbl { opacity: 1; transform: none; }
.axis-list li.is-past .ax-dot { border-color: rgba(255, 255, 255, .7); }
.ax-more .ax-dot { border-style: dashed; }
.ax-special .ax-dot { border-radius: 2px; transform: rotate(45deg) scale(.9); border-color: rgba(255, 181, 71, .7); }
.ax-special .ax-num { color: rgba(255, 181, 71, .75); }
body.at-contact .axis { opacity: 0; pointer-events: none; }

/* ---------- 场景引擎 ---------- */
main { position: relative; z-index: 2; }
.scene { position: relative; height: calc(var(--len, 3) * 100vh); }
.stage {
  --in: 0; --inr: 0; --out: 0; --p: 0;
  position: fixed; inset: 0; z-index: 2;
  visibility: hidden; pointer-events: none;
  overflow: hidden;
}
.scene.is-active .stage { visibility: visible; }
.scene.is-active [data-device],
.scene.is-active .stage a,
.scene.is-active .stage button,
.scene.is-active .vc,
.scene.is-active .mini-wrap { pointer-events: auto; }

[data-r] {
  --ti: 0; --to: 0;
  opacity: calc(var(--ti) - var(--to));
  transform: translate3d(0, calc((1 - var(--ti)) * 44px - var(--to) * 40px), 0);
  filter: blur(calc((1 - var(--ti)) * 8px + var(--to) * 10px));
}

.bignum {
  position: absolute; right: 3vw; bottom: -8vh;
  font: 800 clamp(220px, 30vw, 480px)/1 var(--f-display);
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .055);
  transform: translate3d(0, calc((.5 - var(--p)) * 34vh), 0);
  opacity: calc(var(--inr) - var(--out));
  pointer-events: none; user-select: none;
}
.is-flip .bignum { right: auto; left: 9vw; }

.stage-grid {
  position: absolute; left: 0; right: 0; bottom: 0; top: var(--nav-h);
  max-width: 1720px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 96px);
  padding: 0 clamp(40px, 6vw, 120px) 5vh clamp(150px, 12vw, 210px);
}
.is-flip .stage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.scene-dash .stage-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.demo-col { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; perspective: 1800px; }
.text-col { position: relative; z-index: 3; max-width: 520px; }
.is-flip .text-col { justify-self: end; }

.ch-label { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.ch-label b { color: var(--accent); font-weight: 700; font-size: 13px; }
.ch-label span { width: 34px; height: 1px; background: currentColor; opacity: .45; }
.ch-title {
  margin: 24px 0 24px;
  font-size: clamp(36px, 3.9vw, 66px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 30%, rgba(214, 226, 255, .72));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ch-desc { font-size: clamp(15px, 1.08vw, 17px); line-height: 1.9; color: var(--muted); }
.ch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ch-tags li {
  padding: 7px 14px; border-radius: 99px;
  font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
}
.ch-hint { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; color: var(--dim); }
.ico-mouse, .ico-tap { position: relative; flex: none; width: 16px; height: 24px; border: 1.5px solid currentColor; border-radius: 9px; }
.ico-mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s infinite; }
.ico-tap { width: 18px; height: 18px; border-radius: 50%; border-color: var(--accent); }
.ico-tap::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); animation: tap 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
@keyframes tap { 0%, 100% { transform: scale(.6); opacity: .6; } 50% { transform: scale(1); opacity: 1; } }

/* ---------- 00 · HERO ---------- */
.hero-orbit {
  position: absolute; left: 50%; top: 52%;
  width: min(118vmin, 1180px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(calc(1 + var(--out) * .5));
  opacity: calc(1 - var(--out) * 1.4);
  perspective: 1200px;
}
.rings { position: absolute; inset: 0; transform: rotateX(72deg); transform-style: preserve-3d; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(110, 170, 255, .13); }
.ring::before { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #9fe2ff; box-shadow: 0 0 14px 3px rgba(62, 197, 255, .8); }
.r1 { inset: 0; animation: spin 46s linear infinite; }
.r2 { inset: 13%; animation: spin 32s linear infinite reverse; border-color: rgba(110, 170, 255, .18); }
.r2::before { background: #ffd27a; box-shadow: 0 0 14px 3px rgba(255, 181, 71, .8); }
.r3 { inset: 27%; animation: spin 22s linear infinite; border-style: dashed; border-color: rgba(110, 170, 255, .14); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-copy {
  position: absolute; left: 50%; top: 50%;
  width: min(1100px, 92vw);
  text-align: center;
  transform: translate(-50%, -50%) translate3d(0, calc(var(--out) * -14vh), 0) scale(calc(1 - var(--out) * .08));
  opacity: calc(1 - var(--out) * 1.5);
  filter: blur(calc(var(--out) * 12px));
}
.hero-mark-wrap { display: inline-block; margin-bottom: 28px; opacity: 0; transform: translateY(16px) scale(.8); transition: all 1.2s .1s var(--ease); }
.hero-mark { width: 74px; height: 62px; filter: drop-shadow(0 0 22px rgba(62, 197, 255, .5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; font: 500 12px var(--f-mono); letter-spacing: .32em; color: var(--muted); opacity: 0; transition: opacity 1s .35s; }
.hero-eyebrow .sep { width: 28px; height: 1px; background: var(--line); }
.hero-title { margin: 26px 0 30px; font-size: clamp(54px, 8.6vw, 148px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.hero-title .ln { display: block; overflow: hidden; padding: .02em 0 .08em; }
.hero-title .ln > span { display: inline-block; transform: translateY(115%); transition: transform 1.3s var(--ease); }
.hero-title .ln:nth-child(2) > span { transition-delay: .12s; }
.hero-sub { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.9; color: var(--muted); opacity: 0; transform: translateY(14px); transition: all 1.1s .55s var(--ease); }
body.is-ready .hero-mark-wrap, body.is-ready .hero-sub { opacity: 1; transform: none; }
body.is-ready .hero-eyebrow { opacity: 1; }
body.is-ready .hero-title .ln > span { transform: none; }
.grad {
  background: linear-gradient(100deg, #8ae4ff 0%, #3ea2ff 30%, #ffc46b 62%, #8ae4ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.hero-index {
  position: absolute; left: 50%; bottom: 11vh;
  display: flex; gap: clamp(16px, 2.4vw, 40px);
  transform: translateX(-50%);
  font: 500 11.5px var(--f-mono); letter-spacing: .14em; color: var(--dim); white-space: nowrap;
  opacity: calc((1 - var(--out) * 2) * var(--ready, 0));
}
.hero-index .q { color: rgba(255, 181, 71, .7); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 3.6vh; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em; color: var(--dim);
  opacity: calc((1 - var(--out) * 3) * var(--ready, 0));
}
.scroll-cue i { position: relative; width: 1px; height: 38px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
body.is-ready .scene-hero .stage { --ready: 1; }
.hero-index, .scroll-cue { transition: opacity .2s; }

/* ---------- ··· 不止于此 ---------- */
.omt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.omt-s {
  font: 500 12px var(--f-mono); letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: var(--dim);
  opacity: calc(var(--inr) * 1.6 - .3 - var(--out) * 1.6);
}
.omt-b {
  --ls: calc(.6em - var(--in) * .54em);
  margin-top: 26px;
  font-size: clamp(46px, 7.2vw, 118px); font-weight: 600; line-height: 1.1;
  letter-spacing: var(--ls); text-indent: var(--ls);
  background: linear-gradient(180deg, #ffffff 20%, #7f8aa3);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: calc(var(--inr) - var(--out));
  filter: blur(calc((1 - var(--inr)) * 14px + var(--out) * 12px));
  transform: scale(calc(1 + var(--out) * .1));
}
.omt-line {
  display: block; margin-top: 42px; height: 1px;
  width: calc(var(--in) * 140px + var(--out) * 60vw);
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: calc(var(--in) - var(--out) * .8);
}

/* ---------- 联系 ---------- */
.contact {
  position: relative; z-index: 5;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: var(--bg);
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -30px 90px rgba(0, 0, 0, .7), 0 -1px 0 rgba(255, 255, 255, .08);
  overflow: hidden; text-align: center;
  padding: 120px 24px 140px;
}
.ct-glow { position: absolute; left: 50%; top: 58%; width: 120vmax; height: 70vmax; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(47, 107, 255, .28), transparent 70%); pointer-events: none; }
.contact-in { position: relative; max-width: 900px; }
.contact-mark { width: 82px; height: 68px; filter: drop-shadow(0 0 26px rgba(62, 197, 255, .55)); }
.contact-title { margin: 34px 0 26px; font-size: clamp(42px, 6.4vw, 104px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.contact-sub { font-size: clamp(15px, 1.2vw, 18px); color: var(--muted); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 46px; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 30px; border-radius: 99px; font-size: 15px; letter-spacing: .06em; transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.btn i { font-style: normal; transition: transform .3s var(--ease); }
.btn-primary { background: linear-gradient(100deg, #3ea2ff, #2f6bff); box-shadow: 0 10px 40px rgba(47, 107, 255, .45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(47, 107, 255, .6); }
.btn-primary:hover i { transform: translateX(4px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.contact-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(24px, 5vw, 72px); margin-top: 80px; }
.contact-meta li { display: flex; flex-direction: column; gap: 8px; }
.contact-meta small { font: 500 11px var(--f-mono); letter-spacing: .26em; color: var(--dim); }
.contact-meta span, .contact-meta a { font-size: 15px; color: var(--muted); transition: color .25s; }
.contact-meta a:hover { color: var(--ink); }
.foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 26px clamp(24px, 4vw, 56px); font-size: 12px; color: var(--dim); border-top: 1px solid rgba(255, 255, 255, .06); letter-spacing: .06em; }

/* ---------- 弹窗 / 全屏层 / 章节菜单 ---------- */
.modal, .sheet {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: rgba(2, 3, 8, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.modal.on, .sheet.on { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(340px, 86vw); padding: 36px 28px 28px; border-radius: 24px; text-align: center; background: linear-gradient(180deg, #111830, #0a0f1e); border: 1px solid var(--line); transform: translateY(16px) scale(.96); transition: transform .4s var(--ease); }
.modal.on .modal-card { transform: none; }
.modal-x { position: absolute; top: 10px; right: 14px; font-size: 24px; color: var(--dim); }
.qr-ph { width: 200px; height: 200px; margin: 0 auto 20px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #fff; color: #333; font-size: 13px; line-height: 1.6; }
.qr-ph svg { width: 56px; height: 46px; }
.modal-card p { color: var(--muted); font-size: 14px; }

.sheet { place-items: end center; }
.sheet-panel { width: 100%; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #0b1020; border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .45s var(--ease); }
.sheet.on .sheet-panel { transform: none; }
.sheet-title { font: 500 11px var(--f-mono); letter-spacing: .3em; color: var(--dim); margin-bottom: 10px; }
.sheet-list button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 15px 4px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); text-align: left; }
.sheet-list b { font: 600 12px var(--f-mono); color: var(--dim); width: 22px; }
.sheet-list button.is-on, .sheet-list button.is-on b { color: var(--accent); }
.sheet-list .is-special b { color: var(--amber); }

.expand-btn { display: none; }
.expand-layer {
  position: fixed; inset: 0; z-index: 140;
  display: none; align-items: center; justify-content: center;
  padding: calc(60px + env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom));
  background: rgba(2, 3, 8, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.expand-layer.on { display: flex; animation: fade-in .35s; }
.expand-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 14px; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; background: rgba(255, 255, 255, .1); }
.expand-layer [data-device] { transform: none !important; opacity: 1 !important; filter: none !important; width: 100% !important; height: 100% !important; max-width: 1200px; max-height: none !important; pointer-events: auto !important; }
.expand-layer [data-scroller] { overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
.expand-layer .expand-btn { display: none !important; }
@keyframes fade-in { from { opacity: 0; } }

/* =========================================================
   手机 / 平板
   ========================================================= */
@media (max-width: 1100px) and (min-width: 901px) {
  .stage-grid { padding-left: 110px; gap: 32px; }
  .axis .ax-lbl { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 58px; }
  .pc-only { display: none !important; }
  .m-only { display: flex !important; }
  .pc { display: none; }

  .nav { padding: 0 16px; background: linear-gradient(180deg, rgba(4, 6, 12, .92), rgba(4, 6, 12, .55)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .brand-mark { width: 30px; height: 25px; }
  .brand-name { font-size: 15px; }
  .brand-en { display: none; }
  .nav-chapter {
    display: flex; align-items: center; gap: 7px;
    padding: 7px 12px; border-radius: 99px;
    font-size: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  }
  .nc-idx { font: 600 11px var(--f-mono); color: var(--accent); }
  .nav-cta { padding: 7px 8px 7px 14px; font-size: 12px; gap: 6px; }
  .nav-cta i { width: 20px; height: 20px; }
  .nav-right { gap: 6px; }
  .lang-sw { height: 32px; padding: 0 10px; font-size: 11px; }
  .nav-progress { display: block; }
  .axis { display: none; }

  .scene { height: calc(var(--len, 2) * 100svh); }
  .stage-grid, .is-flip .stage-grid {
    top: 0;
    display: flex; flex-direction: column; justify-content: flex-start;
    gap: 16px;
    padding: calc(var(--nav-h) + 16px) 18px calc(18px + env(safe-area-inset-bottom));
  }
  .text-col { order: -1; flex: none; max-width: none; }
  .is-flip .text-col { justify-self: auto; }
  .demo-col { flex: 1; min-height: 0; width: 100%; }
  .ch-label { font-size: 10.5px; gap: 9px; }
  .ch-label span { width: 20px; }
  .ch-title { margin: 12px 0 10px; font-size: clamp(25px, 7.4vw, 34px); line-height: 1.22; }
  .ch-desc { font-size: 13.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ch-tags { display: none; }
  .ch-hint { margin-top: 10px; font-size: 12px; }
  .ch-hint .ico-mouse, .ch-hint .ico-tap { transform: scale(.85); }
  [data-r] { filter: none; }
  .bignum { font-size: 58vw; bottom: auto; top: 6vh; right: -4vw; }
  .is-flip .bignum { left: auto; right: -4vw; }

  .hero-orbit { width: 150vmin; top: 46%; }
  .hero-title { font-size: clamp(48px, 15vw, 76px); margin: 20px 0 22px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .22em; gap: 10px; }
  .hero-sub { font-size: 14.5px; padding: 0 8px; }
  .hero-mark { width: 60px; height: 50px; }
  .hero-index { flex-wrap: wrap; justify-content: center; width: 90vw; gap: 8px 16px; bottom: 13vh; font-size: 10.5px; }

  .omt-b { font-size: 13vw; }
  .contact { border-radius: 26px 26px 0 0; padding: 90px 20px 130px; }
  .contact-meta { flex-direction: column; gap: 22px; margin-top: 56px; }
  .foot { flex-direction: column; gap: 6px; align-items: center; }
  .btn { height: 50px; padding: 0 24px; font-size: 14px; }
  .expand-btn { display: grid; }
}
@media (max-width: 420px) {
  .nav-cta span { display: none; }
  .nav-cta { padding: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ring, .grad, .hero-mark { animation: none !important; }
}

/* ---------- 让访客一眼看懂「这是作品案例」 ---------- */
.hero-index { align-items: center; }
.hero-index .hi-lbl { color: var(--ink); opacity: .75; font-weight: 600; }
.hero-index .hi-lbl::after { content: "→"; margin-left: 10px; opacity: .5; }
.hero-index button { padding: 4px 2px; color: inherit; letter-spacing: inherit; transition: color .25s; }
.hero-index button:hover { color: var(--accent); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 24px; border-radius: 99px;
  font-size: 14px; font-weight: 600; letter-spacing: .1em; color: #fff;
  background: linear-gradient(100deg, #3ea2ff, #2f6bff);
  box-shadow: 0 10px 30px rgba(47, 107, 255, .35);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(47, 107, 255, .5); }
.hero-cta em { font-style: normal; display: inline-block; animation: cta-bob 1.6s ease-in-out infinite; }
@keyframes cta-bob { 50% { transform: translateY(3px); } }
.ch-cta { margin-top: 22px; font-size: 13px; line-height: 1.8; color: var(--dim); }
.ch-cta a { margin-left: 8px; font-weight: 600; white-space: nowrap; color: var(--accent-t, var(--accent)); }
.ch-cta a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .ch-cta { display: none; }
  .hero-cta { height: 42px; padding: 0 20px; font-size: 13px; }
  .hero-index .hi-lbl { flex-basis: 100%; text-align: center; }
  .hero-index .hi-lbl::after { content: ""; margin: 0; }
}
