@charset "UTF-8";
/* ==========================================================================
   CORESIGN 熔核设计 · 官网样式
   设计语言：纯黑底 / 白色编辑排版 / 熔核橙强调色 / 等宽字体技术标注
   （参考 alche.studio 的网格、字号层级与交互逻辑，内容与品牌为 CORESIGN 自有）
   ========================================================================== */

/* ============================ 设计变量 ============================ */
:root {
  /* 颜色 */
  --bg: #000000;
  --bg-soft: #080808;
  --fg: #ffffff;
  --fg-2: #a9a9a9;
  --fg-3: #6e6e6e;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.26);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);

  /* 品牌色：熔核橙 */
  --accent: #ff4d00;
  --accent-2: #ff8a3d;
  --accent-soft: rgba(255, 77, 0, 0.14);

  /* 字体 */
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 节奏 */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --pad: clamp(20px, 5vw, 64px);
  --max: 1440px;
  --header-h: clamp(60px, 7vw, 76px);

  /* 滚动进度（由 JS 更新，用于视差） */
  --sy: 0;
  --progress: 0;
}

/* ============================ 基础重置 ============================ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 14px);
  /* clip 不会创建滚动容器，因此不会破坏 position: sticky */
  overflow-x: clip;
}

body {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* 灯箱 / 移动菜单打开时锁定滚动；载入中由全屏遮罩承担，避免脚本异常时页面卡住 */
body.is-locked { overflow: hidden; }

/* ============================ 浅色主题 ============================ */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #efeee9;
  --bg-soft: #e4e2db;
  --fg: #0c0c0c;
  --fg-2: #55534d;
  --fg-3: #8a8780;
  --line: rgba(0, 0, 0, 0.14);
  --line-2: rgba(0, 0, 0, 0.3);
  --surface: rgba(0, 0, 0, 0.035);
  --surface-2: rgba(0, 0, 0, 0.06);
  --accent: #e04000;
  --accent-2: #ff7a33;
  --accent-soft: rgba(224, 64, 0, 0.14);
}
:root { color-scheme: dark; }

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 18px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============================ 通用元素 ============================ */
/* 等宽小标注 */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* 标签芯片 */
.chip {
  display: inline-block;
  padding: 0.25em 0.85em 0.15em;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

/* 高亮扫过标记（来自 alche 的 marker 效果） */
.mark {
  position: relative;
  display: inline;
  background-image: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left bottom;
  transition: background-size 1s var(--ease-out) 0.25s;
  padding: 0 0.06em;
}
.is-in .mark,
.line.is-in .mark { background-size: 100% 100%; }

/* 滑动文字按钮（alche SlotButton） */
.slot { position: relative; display: inline-block; overflow: hidden; }
.slot__wrap { position: relative; display: block; transition: transform 0.42s var(--ease); }
.slot__text { display: block; transition: opacity 0.3s var(--ease); }
.slot__hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: block;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.slot:hover .slot__wrap,
.slot:focus-visible .slot__wrap { transform: translateY(-100%); }
.slot:hover .slot__text,
.slot:focus-visible .slot__text { opacity: 0; }
.slot:hover .slot__hover,
.slot:focus-visible .slot__hover { opacity: 1; }

/* 按钮 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
    background-color 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.btn .slot__wrap { display: block; }
.btn:hover { transform: translateY(-2px); }
.btn_primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn_primary .slot__hover { color: var(--accent); }
.btn_primary:hover { background: #f1f1f1; }
.btn_ghost { background: transparent; color: var(--fg); }
.btn_ghost:hover { border-color: var(--fg); background: var(--surface); }
.btn_sm { padding: 11px 22px; font-size: 13px; }

/* 区块与标题 */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 13vh, 170px) var(--pad) 0;
}

.section__head { margin-bottom: clamp(40px, 6vw, 80px); }

.section__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.label__num { color: var(--accent); }
.label__line {
  display: block;
  width: clamp(30px, 6vw, 70px);
  height: 1px;
  background: var(--line-2);
}

.section__title {
  font-size: clamp(2.1rem, 6.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section__sub { margin-top: 16px; }

/* ============================ 背景层 ============================ */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
}
.bg__orb_a {
  top: -18vh;
  left: -12vw;
  width: 62vw;
  height: 62vw;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.55), transparent 68%);
  animation: float 26s var(--ease) infinite alternate;
}
.bg__orb_b {
  right: -18vw;
  bottom: -22vh;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(120, 24, 255, 0.42), transparent 68%);
  animation: float 32s var(--ease) infinite alternate-reverse;
}
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3vw, 4vh, 0) scale(1.12); }
}

/* 网点 */
.bg__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

/* 颗粒 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================ 自定义光标 ============================ */
.cursor,
.cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9995;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
}
.cursor {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease),
    background-color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.3s var(--ease);
  will-change: transform;
}
.cursor__dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--accent);
  transition: opacity 0.3s var(--ease), transform 0.12s linear;
}
.cursor__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
body.has-cursor .cursor,
body.has-cursor .cursor__dot { opacity: 1; }
body.has-cursor.is-cursor-hidden .cursor,
body.has-cursor.is-cursor-hidden .cursor__dot { opacity: 0; }

.cursor.is-hover {
  width: 74px;
  height: 74px;
  margin: -37px 0 0 -37px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
}
.cursor.is-view {
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  background: var(--accent);
  border-color: var(--accent);
}
.cursor.is-view .cursor__label { opacity: 1; color: #000; }

/* ============================ 左侧章节指示器 ============================ */
.rail {
  position: fixed;
  top: 50%;
  left: clamp(10px, 1.6vw, 24px);
  z-index: 900;
  transform: translateY(-50%);
  mix-blend-mode: difference;
}
.rail__list { display: flex; flex-direction: column; gap: 18px; }
.rail__item a {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 2px;
}
.rail__line {
  display: block;
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.rail__label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.rail__item.is-active .rail__line { width: 30px; background: #fff; }
.rail__item a:hover .rail__label,
.rail__item.is-active .rail__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================ 顶部导航 ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  padding: 0 var(--pad);
  transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-101%); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  height: var(--header-h);
  margin: 0 auto;
}

.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo_svg {
  width: clamp(96px, 12vw, 132px);
  height: auto;
  fill: var(--fg);
  transition: fill 0.35s var(--ease), transform 0.55s var(--ease-out);
}
.header__logo:hover .header__logo_svg { fill: var(--accent); transform: translateY(-1px); }

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.header__nav .slot__text { color: var(--fg-2); transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
.header__nav .slot:hover .slot__text { color: var(--fg); }
.header__nav .slot__hover { color: var(--accent); }

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

/* 音效开关 */
.sound {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.sound:hover { border-color: var(--line-2); background: var(--surface); }
.sound__bars { display: flex; align-items: flex-end; gap: 2.5px; height: 13px; }
.sound__bars i {
  display: block;
  width: 2px;
  height: 30%;
  background: var(--fg-3);
  transition: height 0.25s var(--ease), background 0.3s var(--ease);
}
.sound[aria-pressed="true"] .sound__bars i { background: var(--accent); animation: bars 1.1s var(--ease) infinite; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: 0.16s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: 0.32s; }
@keyframes bars {
  0%, 100% { height: 26%; }
  50% { height: 100%; }
}

/* 汉堡 */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center;
}
.burger span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--fg);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================ 移动端菜单 ============================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 940;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 40px) var(--pad) 40px;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-io);
  pointer-events: none;
}
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.7rem, 8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.menu.is-open .menu__item {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s * var(--i) + 0.12s);
}
.menu__index { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; }

/* ============================ 载入动画 ============================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: transform 1s var(--ease-io);
  /* 兜底：即使脚本失效，也会自动退场 */
  animation: preloader-escape 0.6s var(--ease) 8s forwards;
}
@keyframes preloader-escape {
  to { opacity: 0; visibility: hidden; }
}
.preloader.is-done { transform: translateY(-101%); }
/* 退场后彻底移除，避免动画被节流时残留 */
.preloader[hidden] { display: none !important; }
.preloader.is-done .preloader__stage { opacity: 0; transform: translateY(-16px); }
.preloader.is-done .preloader__foot,
.preloader.is-done .preloader__bar,
.preloader.is-done .preloader__skip { opacity: 0; }

.preloader__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 8.333% 8.333%;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
}

.preloader__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}

.preloader__mark { width: clamp(120px, 22vw, 210px); color: var(--fg); }
.preloader__mark_svg { width: 100%; height: auto; overflow: visible; }
.preloader__mark_svg path {
  fill: none;
  stroke: var(--fg);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: var(--path-len, 1600);
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.preloader.is-drawing .preloader__mark_svg path { stroke-dashoffset: 0; }

.preloader__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(230px, 40vw, 380px);
  height: clamp(230px, 40vw, 380px);
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.3);
  animation: spin 22s linear infinite;
}
.preloader__ring svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

.preloader__text {
  margin-top: 34px;
  font-size: clamp(0.8rem, 2.4vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.32em;
  color: var(--fg-2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out);
}
.preloader.is-ready .preloader__text { opacity: 1; transform: none; }

.preloader__foot {
  position: absolute;
  right: var(--pad);
  bottom: clamp(48px, 8vh, 74px);
  left: var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  transition: opacity 0.4s var(--ease);
}
.preloader__brand { color: var(--fg-2); }
.preloader__brand_sep { margin: 0 6px; color: var(--accent); }
.preloader__counter { color: var(--fg); font-size: 13px; letter-spacing: 0.06em; }
.preloader__counter_max { color: var(--fg-3); font-size: 11px; }

.preloader__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  transition: opacity 0.4s var(--ease);
}
.preloader__bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 0.25s linear;
}

.preloader__skip {
  position: absolute;
  top: calc(var(--header-h) * 0.6);
  right: var(--pad);
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color 0.3s var(--ease), opacity 0.4s var(--ease);
}
.preloader__skip span { color: var(--accent); }
.preloader__skip:hover { color: var(--fg); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--pad) clamp(70px, 11vh, 110px);
}

.hero__deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__mark {
  position: absolute;
  top: 50%;
  right: clamp(-90px, -6vw, -20px);
  width: clamp(320px, 46vw, 720px);
  color: var(--fg);
  opacity: 0.05;
  transform: translateY(calc(-50% + var(--sy, 0) * -0.06px));
}
.hero__mark_svg { width: 100%; height: auto; fill: currentColor; }
.hero__rings {
  position: absolute;
  top: 46%;
  left: 50%;
  width: clamp(420px, 76vw, 1080px);
  height: clamp(420px, 76vw, 1080px);
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.1);
  animation: spin 90s linear infinite;
}
.hero__rings svg { width: 100%; height: 100%; }

.hero__inner { position: relative; max-width: 1000px; }

.hero__label {
  display: flex;
  align-items: center;
  margin-bottom: clamp(20px, 3vw, 34px);
  color: var(--fg-2);
}

.hero__title {
  font-size: clamp(2.4rem, min(10.4vw, 12.5svh), 8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero__title_line { display: block; }

.hero__lead {
  max-width: 34em;
  margin-top: clamp(24px, 3.4vw, 40px);
  font-size: clamp(0.95rem, 1.9vw, 1.15rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--fg-2);
}
.hero__lead_strong { color: var(--fg); font-weight: 500; letter-spacing: 0.04em; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 46px);
}

.hero__foot {
  position: absolute;
  right: var(--pad);
  bottom: clamp(24px, 5vh, 46px);
  left: var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.hero__news {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.hero__news:hover { border-bottom-color: var(--accent); }
.hero__news_tag {
  padding: 3px 10px 1px;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
}
.hero__news_text { font-size: 13px; color: var(--fg-2); transition: color 0.3s var(--ease); }
.hero__news:hover .hero__news_text { color: var(--fg); }

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: clamp(30px, 6vh, 56px);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero__scroll span { color: var(--accent); }

/* ============================ 跑马灯 ============================ */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 30px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
}
.ticker__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker__group {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding-right: clamp(20px, 3vw, 44px);
  font-size: clamp(1rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ticker__group i { font-style: normal; font-size: 0.6em; color: var(--accent); }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ============================ 关于 ============================ */
.about__statement {
  font-size: clamp(1.6rem, 4.6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.about__statement .line { display: block; overflow: hidden; padding: 0.06em 0; }

.about__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(46px, 7vw, 90px);
  padding-top: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.about__col_label { color: var(--accent); }
.about__col_text {
  margin-top: 18px;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  font-weight: 300;
  line-height: 1.95;
  color: var(--fg-2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 26px);
  background: var(--bg);
  transition: background 0.45s var(--ease);
}
.stats__item:hover { background: var(--surface); }
.stats__num {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stats__num em { color: var(--accent); font-size: 0.6em; }
.stats__key { font-size: 10px; }

/* ============================ 团队 ============================ */
.roster { border-top: 1px solid var(--line); }
.founder { border-bottom: 1px solid var(--line); }
.founder__head { font-weight: inherit; }

.founder__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) 30px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  padding: clamp(20px, 2.6vw, 30px) 0;
  text-align: left;
  transition: padding-left 0.5s var(--ease-out), color 0.35s var(--ease);
}
.founder__row:hover { padding-left: clamp(8px, 1.4vw, 20px); }
.founder__index { color: var(--fg-3); transition: color 0.35s var(--ease); }
.founder__name {
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease);
}
.founder__role {
  justify-self: start;
  padding: 3px 10px 1px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-size: 10px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.founder__meta { justify-self: start; font-size: 10px; letter-spacing: 0.12em; }
.founder__icon { position: relative; justify-self: end; width: 14px; height: 14px; }
.founder__icon::before,
.founder__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--fg-2);
  transition: transform 0.45s var(--ease-out), background 0.35s var(--ease);
}
.founder__icon::after { transform: rotate(90deg); }

.founder:hover .founder__name,
.founder.is-open .founder__name { color: var(--accent); }
.founder:hover .founder__index,
.founder.is-open .founder__index { color: var(--fg); }
.founder.is-open .founder__role { color: var(--accent); border-color: rgba(255, 77, 0, 0.45); background: var(--accent-soft); }
.founder.is-open .founder__icon::before { transform: rotate(180deg); }
.founder.is-open .founder__icon::after { transform: rotate(180deg); background: var(--accent); }

.founder__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.62s var(--ease-out);
}
.founder.is-open .founder__detail { grid-template-rows: 1fr; }
.founder__detail_inner {
  overflow: hidden;
  padding-left: clamp(0px, 4vw, 74px);
}
.founder__quote {
  padding-bottom: clamp(18px, 2.4vw, 30px);
  font-size: clamp(1.05rem, 2.6vw, 1.7rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg);
}
.founder__bio {
  max-width: 46em;
  padding-bottom: clamp(24px, 3.4vw, 40px);
  padding-left: clamp(14px, 1.6vw, 22px);
  border-left: 1px solid var(--accent);
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  font-weight: 300;
  line-height: 2;
  color: var(--fg-2);
}

/* ============================ 作品 ============================ */
.works__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  gap: clamp(26px, 4vw, 70px);
  align-items: start;
}
.works__list { border-top: 1px solid var(--line); }
.work { border-bottom: 1px solid var(--line); }

.work__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  padding: clamp(22px, 3vw, 34px) 0;
  text-align: left;
  transition: padding-left 0.5s var(--ease-out);
}
.work__row:hover { padding-left: clamp(8px, 1.4vw, 20px); }
.work__index { color: var(--fg-3); transition: color 0.35s var(--ease); }
.work__body { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.work__title {
  font-size: clamp(1.15rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.work__sub { font-size: 10px; letter-spacing: 0.16em; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.work__icon {
  justify-self: end;
  font-size: 15px;
  color: var(--fg-3);
  transition: color 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.work__thumb { display: none; }

.work:hover .work__title { color: var(--accent); }
.work:hover .work__index { color: var(--fg); }
.work:hover .work__icon { color: var(--accent); transform: translate(3px, -3px); }
.work:hover .chip { color: var(--fg); border-color: var(--line-2); }
.works__list:hover .work:not(:hover) { opacity: 0.45; }
.works__list .work { transition: opacity 0.45s var(--ease); }

/* 右侧预览 */
.works__preview {
  position: sticky;
  top: calc(var(--header-h) + 6vh);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease-out);
  pointer-events: none;
}
.works__preview.is-active { opacity: 1; transform: none; }
.works__preview_frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.works__preview_img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.55s var(--ease), transform 1.2s var(--ease-out);
}
.works__preview_img.is-show { opacity: 1; transform: none; }
/* 图片未就绪时的骨架微光，避免出现空白方块 */
.works__preview_frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.05) 45%, transparent 65%);
  background-size: 220% 100%;
  animation: shimmer 1.8s linear infinite;
  transition: opacity 0.5s var(--ease);
}
.works__preview.is-loaded .works__preview_frame::before { opacity: 0; animation: none; }
@keyframes shimmer {
  from { background-position: 130% 0; }
  to { background-position: -130% 0; }
}
.works__preview_mask {
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: scaleY(0);
  transform-origin: bottom;
}
.works__preview.is-swap .works__preview_mask { animation: wipe 0.78s var(--ease-io); }
@keyframes wipe {
  0% { transform: scaleY(0); transform-origin: bottom; }
  44% { transform: scaleY(1); transform-origin: bottom; }
  45% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}
.works__preview_caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.works__preview_title { font-size: 14px; font-weight: 500; }

.works__note {
  margin-top: clamp(34px, 5vw, 60px);
  color: var(--fg-3);
}

/* ============================ 方向 / 服务 ============================ */
.service__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}
.service__left { position: sticky; top: calc(var(--header-h) + 8vh); }
.service__title {
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.service__lead {
  margin-top: 20px;
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--fg-2);
}
.service__en { margin-top: 22px; font-size: 10px; line-height: 1.8; color: var(--fg-3); }

.service__list { border-top: 1px solid var(--line); }
.service__item {
  position: relative;
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-out);
}
.service__item:hover { padding-left: clamp(8px, 1.4vw, 20px); }
.service__num { color: var(--accent); }
.service__name {
  margin-top: 14px;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease);
}
.service__item:hover .service__name { color: var(--accent); }
.service__item .service__en { margin-top: 6px; }
.service__desc {
  max-width: 40em;
  margin-top: 16px;
  font-size: clamp(0.86rem, 1.6vw, 0.96rem);
  font-weight: 300;
  line-height: 1.95;
  color: var(--fg-2);
}

/* ============================ 联系 ============================ */
.contact__title {
  font-size: clamp(1.9rem, 6.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.contact__title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.contact__lead {
  max-width: 34em;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(0.9rem, 1.7vw, 1.02rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--fg-2);
}

.contact__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 60px);
  background: var(--line);
  border: 1px solid var(--line);
}
.social {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px) clamp(18px, 2.4vw, 28px);
  background: var(--bg);
  overflow: hidden;
  transition: background 0.45s var(--ease);
}
.social::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.social:hover { background: var(--surface); }
.social:hover::after { transform: scaleX(1); }
.social__icon { flex-shrink: 0; width: 34px; color: var(--fg); transition: color 0.35s var(--ease); }
.social__icon svg { width: 100%; height: auto; fill: currentColor; }
.social:hover .social__icon { color: var(--accent); }
.social__body { display: flex; flex-direction: column; gap: 2px; }
.social__name { font-size: 15px; font-weight: 500; }
.social__handle { font-size: 10px; }
.social__arrow {
  margin-left: auto;
  font-size: 15px;
  color: var(--fg-3);
  transition: color 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.social:hover .social__arrow { color: var(--accent); transform: translate(3px, -3px); }

/* ============================ 页脚 ============================ */
.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: clamp(80px, 12vh, 150px) auto 0;
  padding: 0 var(--pad) 30px;
  border-top: 1px solid var(--line);
}
.footer__marquee {
  padding: clamp(30px, 5vw, 60px) 0 clamp(20px, 3vw, 34px);
  overflow: hidden;
}
.footer__mark { width: 100%; }
.footer__mark_svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 3;
  transition: stroke 0.6s var(--ease);
}
.footer__mark:hover .footer__mark_svg { stroke: var(--accent); fill: rgba(255, 77, 0, 0.06); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(30px, 4vw, 50px) 0;
  border-top: 1px solid var(--line);
}
.footer__col_label { margin-bottom: 18px; color: var(--fg-3); }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__links .slot__text { color: var(--fg-2); transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
.footer__links .slot:hover .slot__text { color: var(--fg); }
.footer__clock {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.footer__addr { margin-top: 12px; font-size: 10px; line-height: 1.9; color: var(--fg-3); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__copy { font-size: 10px; letter-spacing: 0.12em; color: var(--fg-3); }
.footer__top { font-size: 10px; color: var(--fg-2); transition: color 0.3s var(--ease); }
.footer__top:hover { color: var(--accent); }

/* ============================ 灯箱 ============================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 50px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.lightbox__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  transform: scale(0.97);
  transition: transform 0.55s var(--ease-out);
}
.lightbox.is-open .lightbox__inner { transform: none; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
}
.lightbox__close {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.3s var(--ease);
}
.lightbox__close:hover { color: var(--accent); }
.lightbox__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.lightbox__figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}
.lightbox__caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px clamp(14px, 2vw, 22px);
  border-top: 1px solid var(--line);
}
.lightbox__title { font-size: 15px; font-weight: 500; }
.lightbox__nav { display: flex; justify-content: center; gap: 10px; padding-top: 18px; }
.lightbox__arrow {
  width: 52px;
  height: 44px;
  border: 1px solid var(--line-2);
  font-size: 15px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__arrow:hover { background: var(--accent); border-color: var(--accent); color: #000; }

/* ============================ 音效提示 ============================ */
.sound-hint {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 34px);
  z-index: 9600;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateX(-50%) translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out);
}
.sound-hint[hidden] { display: none; }
.sound-hint.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.sound-hint__text { font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.04em; color: var(--fg-2); }
.sound-hint__actions { display: flex; gap: 8px; }
.sound-hint__btn {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.sound-hint__btn:hover { color: var(--fg); border-color: var(--fg); }
.sound-hint__btn_primary:hover { color: #000; border-color: var(--accent); background: var(--accent); }

/* ============================ 滚动进场动画 ============================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 1s var(--ease-out);
  transition-delay: calc(0.09s * var(--d, 0));
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(34px); }
[data-reveal="line"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="line"] > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(0.09s * var(--d, 0));
}
[data-reveal="line"].is-in > span { transform: none; }

/* 逐字动画（hero 标题） */
.char { display: inline-block; overflow: hidden; vertical-align: top; }
.char__in {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(0.05s * var(--ci, 0) + 0.15s);
}
.is-in .char__in { transform: none; }
.char_space { width: 0.28em; }

/* ============================ 响应式 ============================ */
@media (max-width: 1100px) {
  .works__layout { grid-template-columns: minmax(0, 1fr); }
  .works__preview { display: none; }
  .work__row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .work__tags { display: none; }
  .work__thumb {
    display: block;
    grid-column: 1 / -1;
    margin-top: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
  }
  .work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
  .work:hover .work__thumb img { transform: scale(1.04); }
  .work__row { grid-template-areas: "index body icon" "thumb thumb thumb"; }
  .work__index { grid-area: index; align-self: start; }
  .work__body { grid-area: body; }
  .work__icon { grid-area: icon; align-self: start; }
  .work__thumb { grid-area: thumb; }
}

@media (max-width: 980px) {
  .rail { display: none; }
  .header__nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .header__right { margin-left: auto; }

  .service__layout { grid-template-columns: minmax(0, 1fr); }
  .service__left { position: static; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { line-height: 1.65; }

  .section { padding-top: clamp(70px, 11vh, 110px); }
  .about__cols { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .founder__row {
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    grid-template-areas:
      "index name icon"
      ". role ."
      ". meta .";
    row-gap: 8px;
  }
  .founder__index { grid-area: index; align-self: start; padding-top: 6px; }
  .founder__name { grid-area: name; }
  .founder__role { grid-area: role; justify-self: start; }
  .founder__meta { grid-area: meta; justify-self: start; }
  .founder__icon { grid-area: icon; align-self: start; margin-top: 8px; }
  .founder__detail_inner { padding-left: 32px; }
  .founder__bio { padding-left: 14px; }

  .hero__mark { right: 50%; transform: translate(50%, calc(-50% + var(--sy, 0) * -0.04px)); opacity: 0.06; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero__scroll { display: none; }

  .contact__links { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .sound-hint {
    left: clamp(16px, 4vw, 30px);
    right: clamp(16px, 4vw, 30px);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(0) translateY(14px);
  }
  .sound-hint.is-show { transform: translateX(0) translateY(0); }
  .lightbox__figure img { max-height: 60vh; }
}

/* 桌面端为左侧章节指示器留出安全区 */
@media (min-width: 981px) {
  .hero,
  .section,
  .footer { padding-left: calc(var(--pad) + 52px); }
}

@media (max-width: 420px) {
  .hero__title { letter-spacing: -0.02em; }
  .ticker__group { font-size: 1rem; }
  .stats__item { padding: 18px 12px; }
}

/* 桌面端隐藏移动端图片、显示预览 */
@media (min-width: 1101px) {
  .work__thumb { 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;
  }
  .hero__mark,
  .hero__rings,
  .bg__orb { animation: none !important; }
  [data-reveal],
  [data-reveal="line"] > span,
  .char__in { opacity: 1 !important; transform: none !important; }
  .preloader { display: none !important; }
}

/* ============================ 打印 ============================ */
@media print {
  .preloader, .grain, .bg, .rail, .header, .cursor, .cursor__dot, .sound-hint { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================ 无脚本兜底 ============================ */
:root:not(.js) [data-reveal],
:root:not(.js) [data-reveal="line"] > span,
:root:not(.js) .char__in { opacity: 1; transform: none; }
:root:not(.js) .founder__detail { grid-template-rows: 1fr; }
:root:not(.js) .cursor,
:root:not(.js) .cursor__dot { display: none; }
:root:not(.js) .feature__frame { width: 84vw; height: 62vh; transform: none; }
:root:not(.js) .feature__overlay { opacity: 1; transform: none; }
:root:not(.js) .works__pin { height: auto; }

/* ============================ WebGL 舞台 ============================ */
.gl {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
:root:not(.js) .gl,
body:not(.has-gl) .gl { display: none; }

/* 站内所有内容都位于画布之上（注意不要覆盖 fixed 定位） */
main { position: relative; z-index: 1; }
.footer { z-index: 5; }

/* 3D 接管后隐藏冗余的 CSS 装饰，避免重复堆叠 */
body.has-gl .bg,
body.has-gl .hero__deco { display: none; }

/* 主题 / 语言切换 */
.lang {
  display: flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.lang__btn {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang__btn:hover { color: var(--fg); }
.lang__btn.is-active { background: var(--fg); color: var(--bg); }

.theme {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.theme:hover { border-color: var(--line-2); background: var(--surface); }
.theme__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.theme__icon svg { width: 16px; height: 16px; }
.theme__icon_moon { opacity: 0; transform: rotate(-40deg) scale(0.6); }
:root[data-theme="light"] .theme__icon_sun { opacity: 0; transform: rotate(40deg) scale(0.6); }
:root[data-theme="light"] .theme__icon_moon { opacity: 1; transform: none; }

/* 浅色主题下的细节修正 */
:root[data-theme="light"] .grain { opacity: 0.035; mix-blend-mode: multiply; }
:root[data-theme="light"] .header.is-stuck { background: rgba(239, 238, 233, 0.72); }
:root[data-theme="light"] .ticker { background: rgba(239, 238, 233, 0.5); }
:root[data-theme="light"] .menu { background: rgba(239, 238, 233, 0.94); }
:root[data-theme="light"] .sound-hint { background: rgba(239, 238, 233, 0.9); }
:root[data-theme="light"] .lightbox__backdrop { background: rgba(239, 238, 233, 0.9); }
:root[data-theme="light"] .lightbox__arrow:hover { color: var(--bg); }
:root[data-theme="light"] .lightbox__close:hover { color: var(--accent); }
:root[data-theme="light"] .preloader__brand_sep { color: var(--accent); }
:root[data-theme="light"] .rail__item.is-active .rail__line { background: #000; }
:root[data-theme="light"] .rail__label { color: #000; }
:root[data-theme="light"] .stats__item { background: var(--bg); }
:root[data-theme="light"] .social { background: var(--bg); }
:root[data-theme="light"] .works__preview_frame { background: var(--bg-soft); }
:root[data-theme="light"] .lightbox__figure { background: var(--bg-soft); }

/* ============================ 3D 对齐舞台 ============================ */
.hero__stage {
  position: relative;
  width: 100%;
  height: clamp(190px, 30svh, 380px);
  margin-bottom: clamp(0px, 1vh, 16px);
  pointer-events: none;
}
.hero__stage_hint {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 10px;
  color: var(--fg-3);
  opacity: 0.75;
}
body:not(.has-gl) .hero__stage { display: none; }
body.has-gl .hero__stage_hint { display: block; }

/* ============================ 作品：固定滚动 + 环形轮播 ============================ */
.works__pin { position: relative; z-index: 2; }

.works__sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  height: 100vh;
  padding: calc(var(--header-h) + 10px) var(--pad) clamp(22px, 5vh, 46px);
}

.works__stage {
  position: relative;
  grid-area: 1 / 2;
  height: 100%;
}
.works__layout { grid-area: 1 / 1; width: 100%; }

.works__hud {
  grid-area: 1 / 2;
  align-self: end;
  justify-self: start;
  max-width: 30em;
  pointer-events: none;
}
.works__hud_index { display: block; color: var(--accent); }
.works__hud_title {
  margin: 8px 0 6px;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}
.works__hud_tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.works__hud_actions {
  grid-area: 1 / 2;
  align-self: start;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.works__ctrl {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 15px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.works__ctrl:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.works__open { white-space: nowrap; }

.works__snaps {
  margin-top: -50vh;
  pointer-events: none;
}
.works__snaps i { display: block; height: 100vh; scroll-snap-align: start; }

/* WebGL 生效时：轮播代替悬停预览 */
body.has-gl .works__preview { display: none; }
body.has-gl .works__layout { grid-template-columns: minmax(0, 1fr); }
body.has-gl .work__thumb { display: none; }
body.has-gl .work__row { grid-template-columns: 40px minmax(0, 1fr); }
body.has-gl .work__icon { display: none; }
body.has-gl .work__tags { display: none; }
body.has-gl .work.is-active .work__title { color: var(--accent); }
body.has-gl .work.is-active .work__index { color: var(--fg); }
body.has-gl .work.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
body.has-gl .work { position: relative; }

/* 无 WebGL：恢复为原来的静态列表 + 悬停预览 */
body:not(.has-gl) .works__pin { position: static; }
body:not(.has-gl) .works__sticky {
  position: static;
  display: block;
  height: auto;
  padding: 0;
}
body:not(.has-gl) .works__stage,
body:not(.has-gl) .works__hud,
body:not(.has-gl) .works__hud_actions,
body:not(.has-gl) .works__snaps { display: none; }

/* ============================ 全屏扩展转场 ============================ */
.feature {
  position: relative;
  z-index: 3;
  padding: clamp(60px, 9vh, 120px) 0 0;
}
.feature__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.feature__frame {
  position: relative;
  width: calc(44vw + var(--fp, 0) * 56vw);
  height: calc(38vh + var(--fp, 0) * 62vh);
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(22px - var(--fp, 0) * 22px);
  transform: perspective(1500px) rotateX(calc((1 - var(--fp, 0)) * 5deg))
    rotateY(calc((1 - var(--fp, 0)) * -6deg));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}
.feature__frame img { width: 100%; height: 100%; object-fit: cover; }
.feature__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 42%, transparent 70%);
  opacity: var(--fo, 0);
  transition: opacity 0.25s linear;
}
.feature__badge {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  padding: 4px 10px 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  color: #fff;
  backdrop-filter: blur(6px);
}
.feature__overlay {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(24px, 6vh, 70px);
  z-index: 2;
  max-width: 34em;
  color: #fff;
  opacity: var(--fo, 0);
  transform: translateY(calc((1 - var(--fo, 0)) * 18px));
  transition: opacity 0.25s linear, transform 0.35s var(--ease-out);
}
.feature__title {
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.feature__text {
  max-width: 30em;
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.feature__overlay .btn_primary { background: #fff; color: #111; border-color: #fff; }
.feature__overlay .btn_primary .slot__hover { color: var(--accent); }
.feature__overlay .btn_ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.feature__overlay .btn_ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.feature__overlay .btn_ghost .slot__hover { color: #fff; }

/* ============================ 联系（叠层转场） ============================ */
.contact {
  position: sticky;
  top: 0;
  z-index: 4;
}
.contact__sheet {
  min-height: 100vh;
  padding: clamp(70px, 12vh, 140px) var(--pad) clamp(50px, 8vh, 110px);
  background: var(--bg);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.45);
}
:root[data-theme="light"] .contact__sheet { box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.08); }
.contact__sheet_inner { max-width: var(--max); margin: 0 auto; }
:root .section.contact { max-width: none; padding: 0; margin: 0; }

/* 页脚作为最后一张“纸”盖住联系页 */
.footer {
  z-index: 5;
  background: var(--bg);
  border-radius: 26px 26px 0 0;
}

/* ============================ 滚动吸附 ============================ */
@media (min-width: 981px) {
  html { scroll-snap-type: y proximity; }
  .works__snaps i,
  .feature__stage { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}

/* ============================ 3D 相关响应式 ============================ */
@media (max-width: 980px) {
  .works__sticky {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 48svh auto;
    align-content: center;
    gap: 16px;
    height: 100svh;
    padding-top: calc(var(--header-h) + 6px);
  }
  .works__stage { grid-area: 1 / 1; height: 100%; }
  .works__layout { grid-area: 2 / 1; }
  .works__hud {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: stretch;
    max-width: none;
    padding-top: 40%;
  }
  .works__hud_title { font-size: 1.35rem; }
  .works__hud_sub { font-size: 10px; }
  .works__hud_actions {
    grid-area: 1 / 1;
    align-self: start;
    justify-self: end;
  }
  .works__ctrl { width: 40px; height: 40px; }
  .works__open { display: none; }
  .works__snaps { margin-top: -50svh; }
  .works__snaps i { height: 100svh; }

  .feature { padding-top: 40px; }
  .feature__frame {
    width: calc(86vw + var(--fp, 0) * 14vw);
    height: calc(34vh + var(--fp, 0) * 54vh);
    transform: none;
  }
  .contact__sheet { border-radius: 18px 18px 0 0; }
  .footer { border-radius: 18px 18px 0 0; }
}

@media (max-width: 760px) {
  .works__hud_tags { display: none; }
  .hero__stage { height: clamp(230px, 38vh, 380px); }
}
