/* ============================================================
   好玩艺 HowFunArt — 全站样式
   设计基准：ctlg.tv
   · 颜色：--black #0B0B0B / --white #EFEFEF / --grey #B0B0B0
   · 版式：vw 流式（≤800px 换算移动端字号），12 栅格
   · 字体：GT America Mono（标签/小字）· Untitled Sans（英文）
     中文：Microsoft YaHei，标题 700 / 正文 400
   · 质感：全屏颗粒噪点、mix-blend-mode、clip-path 揭示
   ============================================================ */

@font-face {
  font-family: "Untitled Sans";
  src: url("/fonts/untitled-sans-bold.woff2") format("woff2");
  font-display: swap; font-weight: 700;
}
@font-face {
  font-family: "Untitled Sans";
  src: url("/fonts/untitled-sans-medium.woff2") format("woff2");
  font-display: swap; font-weight: 500;
}
@font-face {
  font-family: "GT America Mono";
  src: url("/fonts/gt-america-mono-regular.woff2") format("woff2");
  font-display: swap; font-weight: 400;
}

:root {
  --black: #0b0b0b;
  --white: #efefef;
  --grey: #b0b0b0;
  --grey-dim: #6f6f6f;
  --line: rgba(239, 239, 239, 0.16);

  --font-sans: "Untitled Sans", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: "GT America Mono", "Microsoft YaHei", monospace;
  --font-zh: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;

  --layout-margin: 4vw;
  --layout-width: calc(100vw - 2 * var(--layout-margin));
  --layout-columns: 12;
  --layout-gap: 1.98vw;
  --nav-h: 2.98vw;          /* ≈43px @1440 */
  --section: 9.92vw;
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --accent: #f2e14c;
  --book-tilt: 14deg;
  --book-persp: 1750px;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
}

@media (max-width: 800px) {
  :root { --nav-h: 30px; --section: 16vw; --layout-gap: 2.4vw; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: clamp(12px, 0.926vw, 16px);
}
@media (max-width: 800px) { body { font-size: 3.2vw; } }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; background: none; border: none; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
::selection { background: var(--white); color: var(--black); }

/* ---------- 通用排版 ---------- */
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
  font-size: clamp(10px, 0.7vw, 12px);
}
@media (max-width: 800px) { .mono { font-size: 2.6vw; } }

.zh-title { font-family: var(--font-zh); font-weight: 700; letter-spacing: 0.02em; }
.zh-body  { font-family: var(--font-zh); font-weight: 400; }

/* 链接下划线：从右侧擦入（参考站 footer/nav 的 background-size 技法） */
.u-line {
  background: linear-gradient(to right, currentColor, currentColor),
              linear-gradient(to right, transparent, transparent);
  background-size: 0 0.05em, 100% 0.05em;
  background-position: 100% 98%, 0 98%;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease;
}
.u-line:hover, .u-line:focus { background-size: 100% 0.05em, 0 0.05em; background-position: 0% 98%, 0 98%; }

/* ---------- 布局 ---------- */
.layout-grid {
  max-width: var(--layout-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(var(--layout-columns), minmax(0, 1fr));
  gap: var(--layout-gap);
}
.crop { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 颗粒噪点覆盖层（参考站同款，但降低强度避免"色块晃动"感） ---------- */
.noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  mix-blend-mode: screen; opacity: 0.18;
}
.noise::before {
  content: ""; position: absolute; inset: 0;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: grain 1.4s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.2%, 0.9%); }
  50% { transform: translate(0.9%, -1.2%); }
  75% { transform: translate(-0.6%, -0.6%); }
  100% { transform: translate(0, 0); }
}

/* ---------- 预加载器（百分比计数） ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-content: center;
  background: var(--black);
  transition: opacity 0.5s ease 0.4s, visibility 0.5s ease 0.4s;
}
.preloader .pre-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6vw; }
.preloader .pre-mark { width: clamp(48px, 4.2vw, 72px); height: auto; opacity: 0.92; }
.preloader .pct {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.2vw, 20px);
  color: var(--white);
}
body.is-loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============================================================
   顶部导航（fixed · mix-blend-mode: difference）
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  max-width: var(--layout-width);
  margin-inline: auto;
  /* 三等分：左右两列等宽，中间导航永远落在视口正中 */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  mix-blend-mode: difference;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(10px, 0.7vw, 12px);
  letter-spacing: 0.02em;
  padding-top: 0.6vw;
}
.brand-big { justify-self: start; }
/* 顶部居中导航（桌面）：Work / Artist·IP / About / Contact */
.nav-links {
  justify-self: center;
  display: flex; align-items: center; justify-content: center;
  gap: 2.4vw; white-space: nowrap;
  padding-top: 0.1em;
  /* 主站导航比右侧元信息稍大一档，中文 10px 偏小 */
  font-size: clamp(11px, 0.78vw, 13px);
  letter-spacing: 0.03em;
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.15em;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.34s var(--ease-out-quart);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { text-decoration: none; }
@media (max-width: 800px) { .site-nav { grid-template-columns: 1fr auto; font-size: 2.9vw; padding-top: 1.4vw; } }
@media (max-width: 1040px) { .nav-links { gap: 1.8vw; } }
@media (max-width: 800px) { .nav-links { display: none; } }
/* 菜单打开时导航浮到菜单之上（汉堡按钮要能点回去） */
body.menu-open .site-nav { z-index: 600; }
/* 纯黑菜单上噪点会糊成一层灰雾，收掉 */
body.menu-open .noise { opacity: 0; }
.noise { transition: opacity 0.4s ease; }

.nav-right { display: flex; align-items: center; gap: 1.3vw; justify-self: end; }
.site-nav a { padding: 0.2em 0; }
.site-nav a.active { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
/* 站名：比导航文字更粗更重（sans bold + 极细描边加重视觉重量） */
.brand-big {
  font-family: var(--font-sans); font-weight: 700;
  letter-spacing: 0.035em;
  -webkit-text-stroke: 0.038em currentColor;
  paint-order: stroke fill;
}

/* 菜单按钮：桌面 / 手机都显示，右侧「MENU + 两道横线」 */
.menu-btn {
  display: flex; align-items: center; gap: 0.6em;
  padding: 0.2em 0; position: relative;
}
.mb-txt { font-family: var(--font-mono); letter-spacing: 0.16em; font-size: inherit; }
.mb-bars { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 18px; }
.mb-bars i { display: block; height: 1.5px; width: 100%; background: currentColor;
  transition: transform 0.38s var(--ease-out-quart); }
.menu-btn.open .mb-bars i:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.menu-btn.open .mb-bars i:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }
/* 鼠标点完不留在按钮上画方框；键盘 Tab 进来仍保留可见焦点 */
.site-nav button:focus { outline: none; }
.site-nav button:focus-visible { outline: 1px solid currentColor; outline-offset: 0.4em; }
@media (max-width: 800px) {
  .mb-txt { display: none; }
  .nav-right { gap: 4vw; }
}

/* 全屏菜单（桌面 / 手机共用）：自上而下揭开 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 550; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 5vw) var(--layout-margin) 5vw;
  opacity: 0; visibility: hidden; pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.72s var(--ease-out-expo), opacity 0.35s ease, visibility 0.72s;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0); }

.mm-inner {
  width: 100%; max-width: 1320px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; gap: 6vw;
}
.mm-nav { display: flex; flex-direction: column; gap: 0.12em; }
.mm-nav a {
  font-family: var(--font-zh); font-weight: 700;
  font-size: clamp(26px, 4.3vw, 66px); line-height: 1.2;
  letter-spacing: -0.01em; color: var(--grey);
  width: fit-content; transform: translateY(16px); opacity: 0;
  transition: color 0.3s ease, transform 0.55s var(--ease-out-quart), opacity 0.5s ease;
}
.mobile-menu.open .mm-nav a { transform: none; opacity: 1; }
.mobile-menu.open .mm-nav a:nth-child(1) { transition-delay: 0.18s; }
.mobile-menu.open .mm-nav a:nth-child(2) { transition-delay: 0.24s; }
.mobile-menu.open .mm-nav a:nth-child(3) { transition-delay: 0.30s; }
.mobile-menu.open .mm-nav a:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.open .mm-nav a:nth-child(5) { transition-delay: 0.42s; }
.mm-nav a:hover, .mm-nav a.active { color: var(--white); }

.mm-side { display: flex; flex-direction: column; align-items: flex-start; gap: 2.4vw; padding-bottom: 0.5vw; }
.mm-block { min-width: 7vw; }
.mm-cap {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: clamp(9px, 0.62vw, 11px); color: var(--grey-dim); margin-bottom: 1em;
}
.mm-social {
  display: flex; flex-direction: column; gap: 0.6em;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(11px, 0.82vw, 14px);
}
.mm-social a { color: var(--grey); width: fit-content; transition: color 0.25s ease; }
.mm-social a:hover { color: var(--white); }

@media (max-width: 800px) {
  .mm-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 13vw; }
  .mm-nav { gap: 0.4em; align-items: center; }
  .mm-nav a { font-size: 8.2vw; }
  .mm-side { align-items: center; gap: 7vw; }
  .mm-block { min-width: 0; }
  .mm-cap { display: none; }
  .mm-social { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.4em; font-size: 3vw; }
}

/* 语言按钮（共用） */
.lang-toggle {
  font-family: var(--font-mono); text-transform: uppercase;
  font-size: clamp(10px, 0.7vw, 12px); letter-spacing: 0.04em;
  color: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.3em 1em; transition: all 0.25s;
}
.lang-toggle:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ============================================================
   首页
   ============================================================ */
/* 参考站实测：容器左右仅 ~1vw（大字通栏），内容区 6vw */
.home { min-height: 100svh; display: flex; flex-direction: column; padding-inline: 1vw; }

/* 顶部：HOWFUNART 大字（文字形式，SVG textLength 拉满通栏） */
.home-head { padding-top: calc(var(--nav-h) + 0.2vw); }
.home-head h1 { margin: 6vw 0 1.2vw; }   /* 保持首页大字与导航之间的原始留白 */
.home-head .wm-svg { display: block; width: 100%; height: auto; overflow: visible; }
.home-head .wm-svg text {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 205px; letter-spacing: -0.012em;
  fill: var(--white); stroke: var(--white); stroke-width: 5.4; stroke-linejoin: miter;
  paint-order: stroke fill;
}

/* 中部：首页焦点图 —— 一本「书」
   · 梯形靠真透视：.hero-book 绕 X 轴后仰 → 画面内容真的上窄下宽（不是 clip-path 切角）
   · 翻页：半页窗口绕书脊做 3D 旋转，透视把叶片放大 → 冲出舞台（出格） */
.home-hero { margin-top: 6.4vw; margin-inline: 5vw; position: relative; }

.hero-stage {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 8.5 / 4;
  perspective: var(--book-persp, 1750px); perspective-origin: 50% 50%;
  -webkit-tap-highlight-color: transparent; user-select: none;
  transform-origin: 50% 50%;
  will-change: transform;
}
@media (max-width: 800px) { .hero-stage { aspect-ratio: 4 / 5; perspective: 1100px; } }
/* 开屏：舞台补满视口并盖住导航（transform 由 JS 写入） */
body.is-boot .hero-stage { z-index: 900; }
body.is-boot .hero-zones { display: none; }
/* 翻页那一下把舞台抬到导航/字标之上：叶片会真的「出格」压过 HOWFUNART 字标（对齐参考站） */
.hero-stage.is-flipping { z-index: 520; }
/* 翻页期间收掉底部提示与悬停标签，否则叶片扫过会切出半截字 */
.hero-stage.is-flipping .hz-hint,
.hero-stage.is-flipping .hz-tag { opacity: 0 !important; transition-duration: 0.12s; }

.hero-book {
  position: absolute; inset: 0;
  transform: rotateX(0deg); transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: transform 1.15s var(--ease-out-quart);
}
.home.is-book .hero-book { transform: rotateX(var(--book-tilt, 14deg)); }

/* 一张「页」= 整幅画面；翻页时用 clip-path 只留半边 */
.hero-slot { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.hero-slot.is-on { opacity: 1; visibility: visible; }
.hero-slot.show-left { clip-path: inset(0 50% 0 0); }
.hero-slot.show-right { clip-path: inset(0 0 0 50%); }

/* 书脊：左右两半在中线（50%）拼接，透视放大会留一条 1px 亮/暗缝。
   翻页那一下盖一条很窄的书脊暗影，既遮缝又更像真书 */
.hero-spine {
  position: absolute; top: 0; height: 100%; left: 50%;
  width: 10px; margin-left: -5px; pointer-events: none;
  opacity: 0; transition: opacity 0.2s ease;
  background: linear-gradient(to right,
    rgba(0,0,0,0) 0%, rgba(0,0,0,0.10) 30%,
    rgba(0,0,0,0.22) 50%, rgba(0,0,0,0.10) 70%, rgba(0,0,0,0) 100%);
}
.hero-stage.is-flipping .hero-spine { opacity: 1; }

.hero-page { position: absolute; inset: 0; overflow: hidden; background: #101010; }
.hero-page img, .hero-page video, .hero-page .crop { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 翻页叶片 ---------- */
.hero-leaf {
  position: absolute; top: 0; height: 100%; width: 50%;
  transform-style: preserve-3d; pointer-events: none; z-index: 6;
  will-change: transform; backface-visibility: visible;
}
.hero-leaf.leaf-fwd { left: 50%; transform-origin: 0% 50%; }
.hero-leaf.leaf-bwd { left: 0; transform-origin: 100% 50%; }
.hero-leaf .lf-face {
  position: absolute; inset: 0; overflow: hidden; background: #101010;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.hero-leaf .lf-back { transform: rotateY(180deg); }
/* 贴书脊处压暗，翻起来更像纸 */
.hero-leaf .lf-face::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right,
    rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.02) 26%, rgba(0,0,0,0) 78%, rgba(0,0,0,0.16) 100%);
}
.hero-leaf.leaf-bwd .lf-face::after {
  background: linear-gradient(to left,
    rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.02) 26%, rgba(0,0,0,0) 78%, rgba(0,0,0,0.16) 100%);
}
/* 叶片里的半页窗口：整页大小，用 left 偏移决定露哪半 */
.hero-leaf .half-pane { position: absolute; top: 0; left: 0; width: 200%; height: 100%; }
.hero-leaf .half-pane.pane-right { left: -100%; }
.hero-leaf .half-pane > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 抬起 → 停顿帧 → 落到另一侧。
   停顿帧：叶面正好立到 90°，左右两半在正中拼成一条干净的竖缝（＝参考图的停顿帧）；
   拉起与落下途中，叶片被舞台透视放大、并被推到字标之前 → 冲出焦点图边界（出格）。

   注意 42%–58% 的 opacity:0：整本书绕 X 轴后仰了 14°，叶片转到 90° 时法线并不正对
   视线，透视会把它投影成一条 ~130px 宽的「拉伸带」（就是接缝处那道竖条）。
   纸张立起来本来就该看不见，所以停顿时让叶片透明；此时 A 左半 + B 右半正好拼满整页。 */
@keyframes leaf-fwd {
  from { transform: translateZ(0.6px) rotateY(0deg); }
  to   { transform: translateZ(0.6px) rotateY(-180deg); }
}
@keyframes leaf-bwd {
  from { transform: translateZ(0.6px) rotateY(0deg); }
  to   { transform: translateZ(0.6px) rotateY(180deg); }
}
/* 连续翻页：起步略有重量 → 中段加速 → 落页前收力；中间不再停顿
   linear() 在 Chrome 113+ / Safari 17+ / Firefox 112+ 生效，老浏览器退回 cubic-bezier */
.hero-leaf.run-fwd { animation: leaf-fwd var(--flip-ms, 860ms) cubic-bezier(0.35, 0.05, 0.25, 1) both; }
.hero-leaf.run-bwd { animation: leaf-bwd var(--flip-ms, 860ms) cubic-bezier(0.35, 0.05, 0.25, 1) both; }
@supports (animation-timing-function: linear(0, 1)) {
  .hero-leaf.run-fwd,
  .hero-leaf.run-bwd {
    animation-timing-function: linear(0, 0.035 10%, 0.16 26%, 0.42 46%, 0.62 60%, 0.82 76%, 0.94 88%, 1);
  }
}

/* ---------- 左 / 中 / 右 三区：换鼠标 + 悬停提示 ---------- */
.hero-zones { position: absolute; inset: 0; z-index: 8; display: flex; }
.hero-zones .hz {
  position: relative; flex: 0 0 auto; min-width: 0; height: 100%;
  padding: 0; border: 0; background: none; color: var(--white);
  -webkit-tap-highlight-color: transparent;
}
.hz-prev  { width: 25%; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Ccircle cx='17' cy='17' r='14.6' fill='%23000' fill-opacity='.42' stroke='%23efefef' stroke-width='1.3'/%3E%3Cpath d='M19.4 10.6 L13 17 L19.4 23.4' fill='none' stroke='%23efefef' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 17 17, w-resize; }
.hz-enter { width: 50%; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Ccircle cx='17' cy='17' r='14.6' fill='%23000' fill-opacity='.42' stroke='%23efefef' stroke-width='1.3'/%3E%3Cpath d='M12.4 21.6 L21.6 12.4 M14.2 12.4 H21.6 V19.8' fill='none' stroke='%23efefef' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 17 17, pointer; }
.hz-next  { width: 25%; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Ccircle cx='17' cy='17' r='14.6' fill='%23000' fill-opacity='.42' stroke='%23efefef' stroke-width='1.3'/%3E%3Cpath d='M14.6 10.6 L21 17 L14.6 23.4' fill='none' stroke='%23efefef' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 17 17, e-resize; }

.hz-tag, .hz-hint {
  position: absolute; font-family: var(--font-mono); text-transform: uppercase;
  white-space: nowrap; pointer-events: none;
}
.hz-tag {
  font-size: clamp(10px, 0.72vw, 13px); letter-spacing: 0.14em;
  opacity: 0; transition: opacity 0.32s ease, transform 0.42s var(--ease-out-quart);
}
.hz-prev  .hz-tag { left: 1.5vw;  top: 50%; transform: translate(-10px, -50%); }
.hz-next  .hz-tag { right: 1.5vw; top: 50%; transform: translate(10px, -50%); }
.hz-enter .hz-tag { left: 50%; bottom: 3.6vw; transform: translate(-50%, 10px); }
.hz:hover .hz-tag { opacity: 1; }
.hz-prev:hover .hz-tag, .hz-next:hover .hz-tag { transform: translate(0, -50%); }
.hz-enter:hover .hz-tag { transform: translate(-50%, 0); }

.hz-hint {
  left: 50%; bottom: 1.05vw; transform: translateX(-50%);
  color: var(--grey); opacity: 0.4; letter-spacing: 0.2em;
  font-size: clamp(9px, 0.62vw, 11px); transition: opacity 0.3s;
}
.hz-enter:hover .hz-hint { opacity: 0; }
@media (max-width: 800px) {
  .hz-hint { display: none; }
  .hz-enter .hz-tag { bottom: 13vw; }
}

/* ---------- 三行标题：翻完逐行滑入；悬停变色 + 下横线 ---------- */
.hero-title {
  position: absolute; z-index: 7; left: 2.6vw; bottom: 2.2vw;
  font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  color: var(--white); font-size: clamp(20px, 2.5vw, 46px);
  line-height: 1.02; letter-spacing: -0.02em; pointer-events: none;
  transition: color 0.35s ease;
}
.hero-title::after {
  content: ""; display: block; height: 2px; margin-top: 0.3em;
  background: currentColor; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out-quart);
}
/* 图片头图（浅色 KV）：画面底部压一道很轻的暗雾，白字才读得出来。
   挂在 .hero-page 里，跟着页面一起被裁切；翻页时标题已经淡出，不与叶片打架 */
.hero-slot.is-image .hero-page::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(4,6,10,0.74), rgba(4,6,10,0.30) 38%, rgba(4,6,10,0) 100%);
}
/* 浅色头图（画面下半部够亮）：暗雾起到反效果，直接不压，标题换深色 */
#heroStage.is-light .hero-slot.is-image .hero-page::after { display: none; }
#heroStage.is-light .hero-title,
#heroStage.is-light[data-zone="enter"] .hero-title { color: #0d0d0d; }
#heroStage.is-light .hz-hint { color: #16130c; opacity: 0.5; }
#heroStage.is-light .hz-tag { color: #0d0d0d; }
.hero-slot:nth-child(even) .hero-title { left: auto; right: 2.6vw; text-align: right; }
.hero-slot:nth-child(even) .hero-title::after { transform-origin: 100% 50%; }
/* 中间区悬停 → 标题变色 + 划出下横线（标题本身不抢指针，区里点一下即进入） */
.hero-stage[data-zone="enter"] .hero-title { color: var(--accent); }
.hero-stage[data-zone="enter"] .hero-title::after { transform: scaleX(1); }

.ht-line { display: block; overflow: hidden; }
.ht-line > span { display: inline-block; transform: translateY(118%);
  transition: transform 0.7s var(--ease-out-quart); }
.hero-slot.t-show .ht-line > span { transform: translateY(0); }
.hero-slot.t-show .ht-line:nth-child(2) > span { transition-delay: 0.08s; }
.hero-slot.t-show .ht-line:nth-child(3) > span { transition-delay: 0.16s; }

@media (max-width: 800px) {
  .hero-title { left: 50% !important; right: auto !important;
    text-align: center !important; bottom: 5.5vw; font-size: 5.8vw; }
}

/* ---------- 开屏编排：大字 / 导航 / 第二屏 随「落地」一起进场 ---------- */
.home-head, .home-meta, .site-nav { transition: opacity 0.75s ease; }
body.is-boot .site-nav, body.is-boot .home-head, body.is-boot .home-meta { opacity: 0; }

.home-head .line { display: block; overflow: hidden; }
.home-head .line > span { display: block; transform: translateY(110%); }
.home.is-landed .home-head .line > span { animation: lineUp 1s var(--ease-out-expo) both; }

/* 首页第二屏简介（参考站截图规格：加粗大写居中、近通栏、进场时逐行浮起） */
.home-meta {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  padding-block: 7vw 4.4vw; margin-top: auto;
}
.home-meta .intro-p {
  max-width: 80vw; text-align: center; margin-inline: auto;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 2.6vw; line-height: 1.25; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.home-meta .intro-p .zh { text-transform: none; letter-spacing: 0.02em; }
/* 逐行进场：只做位移 + 淡入，不用 overflow 遮罩 —— 换成任何字体、任何滚动位置都不会切字 */
.intro-p .il-mask { display: block; }
.intro-p .il-line { display: block; }
.intro-p.intro-anim .il-line {
  opacity: 0; transform: translateY(0.5em);
  transition: opacity 0.9s ease, transform 1.05s var(--ease-out-expo);
}
.intro-p.intro-anim.is-in .il-line { opacity: 1; transform: none; }
.intro-p.intro-anim.is-in .il-mask:nth-child(2) .il-line { transition-delay: 0.10s; }
.intro-p.intro-anim.is-in .il-mask:nth-child(3) .il-line { transition-delay: 0.18s; }
.intro-p .tok { visibility: hidden; }  /* 测量用临时 span */
@media (max-width: 800px) { .home-meta .intro-p { font-size: 5.2vw; max-width: 100%; } }
.home-meta .hint {
  position: absolute; left: 0; bottom: 4.6vw;
  color: var(--grey); white-space: nowrap;
}
.home-meta .hint .arr { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ============================================================
   通用页头（列表页 / 关于 / 联系）
   ============================================================ */
.page-body { padding-top: calc(var(--nav-h) + 2.2vw); min-height: 100svh;
  display: flex; flex-direction: column; padding-inline: var(--layout-margin); }
.page-head { margin-bottom: 3.2vw; }
/* 内页大标题：字高与首页 HOWFUNART 字标一致（JS 按字形墨迹高度精确对齐 + 超宽自动缩排） */
.page-head h1 {
  font-family: var(--font-sans); font-weight: 700;
  font-size: var(--title-fs, 16.2vw);
  line-height: 1; letter-spacing: -0.038em; text-transform: uppercase;
  white-space: nowrap;
  margin-top: 0;                    /* 由 JS 按字标字顶精确落位 */
  -webkit-text-stroke: 0.026em currentColor;
  paint-order: stroke fill;
}
@media (max-width: 800px) { .page-head h1 { letter-spacing: -0.03em; } }
.page-head .sub { margin-top: 0.5vw; color: var(--grey); }

/* ============================================================
   列表页（作品 / 艺术家）：编辑式错位网格
   ============================================================ */
.feat-grid { padding-bottom: var(--section); }
.feat-grid ul { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4.6vw var(--layout-gap); }
.project { position: relative; transition: all 0.5s var(--ease-out-quad); grid-row: var(--row, auto); }
.project a { display: block; position: relative; }
.project .media { position: relative; overflow: hidden; background: #101010; aspect-ratio: 16 / 9; }
.project .media .crop { transition: transform 0.7s var(--ease-out-expo); }
.project:hover .media .crop { transform: scale(1.035); }
.project:hover { filter: saturate(0.85); }

/* 错位布局（12 栅格）；行号由 JS 按组偏移（--row-base），支持超过 7 个案例时不重叠 */
.project--0 { grid-column: 1 / 8; }
.project--1 { grid-column: 8 / 13; margin-top: auto; }
.project--2 { grid-column: 3 / 11; }
.project--3 { grid-column: 1 / 8; }
.project--4 { grid-column: 8 / 13; margin-bottom: auto; }
.project--5 { grid-column: 3 / 11; }
.project--6 { grid-column: 1 / 13; }
@media (max-width: 800px) {
  /* 注意：不能用 grid-area: auto !important——简写带 !important 会连 column 分量一起钉死，压制后面的 grid-column */
  .feat-grid ul .project { grid-area: auto; grid-column: 1 / -1; grid-row: auto; margin: 0; }
  .project .media { aspect-ratio: 4 / 3; }
}

/* 卡片行外标题（区块标题式：左标题 + 右序号/副题） */
.row-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.55vw;
}
.row-head h3 {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(13px, 1.06vw, 18px); letter-spacing: -0.02em;
  text-transform: uppercase; opacity: 0.95;
  transition: opacity 0.3s;
}
.project:hover .row-head h3 { opacity: 0.6; }
.row-head .idx { color: var(--grey); }
@media (max-width: 800px) { .row-head h3 { font-size: 3.7vw; } .row-head { margin-bottom: 1.8vw; } }

/* 艺术家卡片：头像 + 悬停换主图 */
.li-media .hover-media { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease-out; }
.project:hover .li-media .hover-media { opacity: 1; }

/* Tag 过滤（mono 单选风格 [x]） */
.tag-filter { display: flex; flex-wrap: wrap; gap: 1.4vw 2vw; margin-bottom: 3.5vw; }
.tag-filter button { font-family: var(--font-mono); text-transform: uppercase;
  font-size: clamp(10px, 0.75vw, 13px); color: var(--grey); letter-spacing: 0.02em;
  transition: color 0.25s; }
.tag-filter button::before { content: "[ ]"; margin-right: 0.5em; }
.tag-filter button.on { color: var(--white); }
.tag-filter button.on::before { content: "[x]"; }
.tag-filter button:hover { color: var(--white); }
@media (max-width: 800px) { .tag-filter { gap: 3vw 5vw; margin-bottom: 7vw; } .tag-filter button { font-size: 3.2vw; } }

.loading-more { text-align: center; color: var(--grey); padding: 3vw 0 6vw; font-family: var(--font-mono); }
.empty-tip { text-align: center; color: var(--grey); padding: 18vh 20px; }

/* ============================================================
   详情页
   ============================================================ */
.d-hero { position: relative; }
.d-hero .d-media-box { width: 100%; aspect-ratio: 16 / 7; overflow: hidden; background: #101010; }
@media (max-width: 800px) { .d-hero .d-media-box { aspect-ratio: 4 / 5; } }

.d-title { display: flex; justify-content: space-between; align-items: baseline;
  padding-block: 1.2vw 0; }
.d-title .t1 { font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(20px, 2.65vw, 44px); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.05; }
.d-title .t2 { color: var(--grey); font-family: var(--font-mono); font-size: clamp(10px, 0.75vw, 13px); }
@media (max-width: 800px) { .d-title { flex-direction: column; gap: 1.5vw; padding-block: 3vw 0; }
  .d-title .t1 { font-size: 6.4vw; } }

/* 详情第二屏：介绍 */
.d-intro { padding-block: var(--section); }
.d-intro-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--layout-gap); }
.d-intro .intro-carousel { grid-column: 1 / span 6; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #101010; }
.d-intro .txt-blocks { grid-column: 8 / span 5; align-self: center; }
.d-intro-inner.solo .txt-blocks { grid-column: 3 / span 8; }
@media (max-width: 800px) {
  .d-intro .intro-carousel { display: none; }
  .d-intro .txt-blocks { grid-column: span 12; }
  .d-intro-inner.solo .txt-blocks { grid-column: span 12; }
}
.intro-carousel .ic-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; }
.intro-carousel .ic-slide.current { opacity: 1; }
.intro-carousel .ic-slide .crop { width: 100%; height: 100%; }
.intro-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.intro-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(239,239,239,0.35); cursor: pointer; transition: all 0.2s; }
.intro-dots i.on { background: var(--white); }

/* 图文块 */
.blk-h2 { font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(18px, 2vw, 32px); letter-spacing: -0.02em; line-height: 1.1;
  margin: 3.2vh 0 1.6vh; }
.blk-h2:first-child { margin-top: 0; }
.blk-h3 { font-family: var(--font-mono); text-transform: uppercase;
  font-size: clamp(11px, 0.85vw, 14px); color: var(--grey);
  margin: 2.4vh 0 1.2vh; }
.blk-p { font-size: clamp(13px, 1vw, 17px); line-height: 1.6; margin-bottom: 1.6vh; max-width: 62ch; }
.blk-list { margin: 1.2vh 0 2vh; }
.blk-list li { font-size: clamp(13px, 1vw, 17px); line-height: 1.8; padding-left: 1.4em; position: relative; }
.blk-list li::before { content: "—"; position: absolute; left: 0; color: var(--grey); }
.blk-img { margin: 2.4vh 0; }
.blk-img img, .blk-img video { width: 100%; max-height: 62vh; object-fit: cover; background: #101010; }
.blk-img figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: clamp(10px, 0.7vw, 12px); color: var(--grey); }
.blk-link { display: inline-block; margin: 1.6vh 0; font-family: var(--font-mono);
  font-size: clamp(11px, 0.85vw, 14px); text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 0.3em; }

/* 艺术家档案 */
.artist-info { padding-block: var(--section); }
.artist-info-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--layout-gap); }
.artist-info-head { grid-column: 1 / span 4; }
.artist-info-head .ai-name { font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(24px, 3.5vw, 56px); letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.artist-info-head .ai-label { margin-top: 1vw; color: var(--grey); }
.artist-info .info-table { grid-column: 6 / span 7; width: 100%; border-collapse: collapse; align-self: start; }
@media (max-width: 800px) {
  .artist-info-head { grid-column: span 12; margin-bottom: 5vw; }
  .artist-info .info-table { grid-column: span 12; }
}
.info-table th { text-align: left; font-family: var(--font-mono); text-transform: uppercase;
  font-weight: 400; font-size: clamp(10px, 0.7vw, 12px); color: var(--grey);
  padding: 1.4vw 1vw 1.4vw 0; border-bottom: 1px solid var(--line); white-space: nowrap; width: 1%; }
.info-table td { padding: 1.4vw 0; border-bottom: 1px solid var(--line);
  font-size: clamp(13px, 1vw, 17px); line-height: 1.5; }
@media (max-width: 800px) { .info-table th, .info-table td { padding: 3vw 2vw 3vw 0; } }
.info-tags { display: flex; flex-wrap: wrap; gap: 0.6vw; }
.info-tags span { font-family: var(--font-mono); font-size: clamp(10px, 0.7vw, 12px);
  border: 1px solid var(--line); padding: 0.3em 0.9em; }
@media (max-width: 800px) { .info-tags span { font-size: 2.8vw; } }
.info-social a { display: inline-flex; align-items: center; gap: 6px; margin-right: 1.6vw; color: var(--grey); transition: color 0.25s; }
.info-social a:hover { color: var(--white); }
.info-social svg { width: 1.1em; height: 1.1em; }

/* 图库 */
.d-gallery-wrap { padding-bottom: var(--section); }
.gallery-head { margin-bottom: 2vw; color: var(--grey); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--layout-gap); }
.gallery-grid .g-item { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #101010; cursor: pointer; }
.gallery-grid .g-item .crop { transition: transform 0.6s var(--ease-out-expo); }
.gallery-grid .g-item:hover .crop { transform: scale(1.04); }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* 手机横划图库 */
.h-swiper { display: none; }
@media (max-width: 800px) {
  .h-swiper { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; }
  .h-swiper .sw-item { flex-shrink: 0; width: 100%; scroll-snap-align: center; padding: 0 4vw; }
  .h-swiper .sw-item .crop { width: 100%; aspect-ratio: 4 / 3; }
}

/* ============================================================
   图文页（关于 / 联系）
   ============================================================ */
.text-page-inner { max-width: 62ch; }
.text-page-inner.wide { max-width: none; }

/* 联系表单 */
.msg-form { margin-top: 5vh; display: flex; flex-direction: column; gap: 2.2vw; max-width: 560px; }
.msg-form input, .msg-form textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--white); font-family: var(--font-sans);
  font-size: clamp(14px, 1.1vw, 18px); padding: 0.8em 0; outline: none;
  transition: border-color 0.25s; width: 100%; border-radius: 0;
}
.msg-form input::placeholder, .msg-form textarea::placeholder { color: var(--grey-dim); }
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--white); }
.msg-form textarea { min-height: 120px; resize: vertical; }
.msg-form button {
  align-self: flex-start; font-family: var(--font-mono); text-transform: uppercase;
  font-size: clamp(11px, 0.8vw, 13px); letter-spacing: 0.04em;
  border: 1px solid var(--white); padding: 0.9em 2.4em;
  transition: background 0.25s, color 0.25s;
}
.msg-form button:hover { background: var(--white); color: var(--black); }
.form-ok { color: var(--grey); font-family: var(--font-mono); font-size: clamp(10px, 0.75vw, 12px); display: none; }
@media (max-width: 800px) { .msg-form { gap: 6vw; } }

/* ============================================================
   页脚（编辑式 · 大留白 · 上划线）
   ============================================================ */
.site-footer { margin-top: auto; border-top: 1px solid var(--line);
  padding: 3vw var(--layout-margin) 1.2vw; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--layout-gap); }
.footer-grid .f-brand { grid-column: 1 / span 5; }
.footer-grid .f-contact { grid-column: 7 / span 3; }
.footer-grid .f-social { grid-column: 10 / span 3; }
@media (max-width: 800px) {
  .footer-grid .f-brand { grid-column: span 12; margin-bottom: 6vw; }
  .footer-grid .f-contact { grid-column: span 6; }
  .footer-grid .f-social { grid-column: span 6; }
}
.f-caption { font-family: var(--font-mono); text-transform: uppercase;
  color: var(--grey); margin-bottom: 1vw; font-size: clamp(10px, 0.7vw, 12px); }
.f-brand .f-logo { display: block; width: min(380px, 68%); }
.f-brand .f-logo-img { display: block; width: 100%; height: auto; }
.f-body { display: flex; flex-direction: column; gap: 0.5em;
  font-size: clamp(12px, 0.9vw, 15px); line-height: 1.3; }
.f-body a, .f-body span { width: fit-content; }
.f-social a { text-transform: capitalize; }
.f-social a::after { content: " ↗"; font-size: 0.85em; color: var(--grey); }
.colophon { margin-top: 4vw; display: flex; justify-content: space-between;
  font-family: var(--font-mono); text-transform: uppercase;
  font-size: clamp(9px, 0.65vw, 11px); color: var(--grey); }
@media (max-width: 800px) {
  .site-footer { padding: 6vw 4vw 3vw; }
  .f-caption { margin-bottom: 3vw; }
  .colophon { margin-top: 10vw; font-size: 2.6vw; }
}

/* ============================================================
   灯箱
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(11,11,11,0.96);
  display: none; align-items: center; justify-content: center; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-body { width: 92vw; height: 80vh; display: flex; align-items: center; justify-content: center; }
.lb-body img, .lb-body video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-name { margin-top: 14px; font-family: var(--font-mono); color: var(--grey);
  max-width: 80vw; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lb-close, .lb-prev, .lb-next { position: absolute; z-index: 810; color: var(--white);
  font-family: var(--font-mono); font-size: 14px; padding: 10px; transition: opacity 0.25s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 0.55; }
.lb-close { top: 20px; right: 24px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 800px) { .lb-body { width: 94vw; height: 70vh; } }

/* ============================================================
   完整视频蒙版（详情页"观看完整视频"）
   ============================================================ */
.video-modal { position: fixed; inset: 0; z-index: 850; background: rgba(11,11,11,0.96);
  display: none; align-items: center; justify-content: center; flex-direction: column; cursor: pointer; }
.video-modal.open { display: flex; }
.vm-body { width: min(92vw, calc(80vh * 16 / 9)); display: flex; align-items: center; justify-content: center; cursor: default; }
.vm-body video { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.vm-close { position: absolute; top: 20px; right: 24px; z-index: 860; color: var(--white);
  background: none; border: 0; font-family: var(--font-mono); font-size: 14px; padding: 10px;
  cursor: pointer; transition: opacity 0.25s; }
.vm-close:hover { opacity: 0.55; }
.vm-hint { margin-top: 12px; color: var(--grey); font-size: 12px; letter-spacing: 0.08em; }
/* 详情页头图视频可点击 */
.d-media-box.vm-trigger { position: relative; cursor: pointer; }
.d-media-box.vm-trigger::after { content: ''; position: absolute; inset: 0; }
.d-title .vm-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; cursor: pointer; }


/* ============================================================
   头图呼吸：图片焦点极缓推近（首页 / 列表 / 详情，只有 <img> 参与）
   用独立的 scale 属性，不与 .crop 上的悬停 transform 抢同一个属性
   ============================================================ */
@keyframes kbFocus { from { scale: 1.001; } to { scale: 1.07; } }
.hero-page > img.crop,
.project .media img.crop,
.d-media-box > img.crop {
  transform-origin: var(--kb-origin, 50% 50%);
  animation: kbFocus var(--kb-dur, 26s) linear forwards;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.hero-page > img.crop { --kb-dur: 18s; }
.project .media img.crop { --kb-dur: 22s; }
.d-media-box > img.crop { --kb-dur: 30s; }

/* ============================================================
   入场动效
   ============================================================ */
@keyframes lineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
.reveal .line { overflow: hidden; display: block; }
.reveal .line > span { display: block; animation: lineUp 0.9s var(--ease-out-expo) both; }
.reveal .line:nth-child(2) > span { animation-delay: 0.08s; }
.reveal .line:nth-child(3) > span { animation-delay: 0.16s; }
.reveal .line:nth-child(4) > span { animation-delay: 0.24s; }

@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.project, .g-item { animation: riseIn 0.6s var(--ease-out-quart); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  /* 头图呼吸在减弱动效下直接停住，不要跳到最后那一帧（图会一直放大 7%） */
  .hero-page > img.crop,
  .project .media img.crop,
  .d-media-box > img.crop { animation: none !important; scale: none !important; }
}

/* ============================================================
   多语言：顶栏语言下拉 + 菜单内语言列表
   （下拉挂在 body 上，避开 .site-nav 的 mix-blend-mode:difference）
   ============================================================ */
.lang-switch { position: relative; }
.lang-menu {
  position: fixed; z-index: 640; display: none; flex-direction: column;
  min-width: 156px; padding: 6px;
  background: #0d0d0d; border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.lang-menu.open { display: flex; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 10px; color: var(--grey); text-align: left;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-menu button i { font-style: normal; font-size: 9px; letter-spacing: 0.08em; opacity: 0.45; }
.lang-menu button:hover { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.lang-menu button.on { color: var(--white); }
.lang-menu button.on i { color: var(--accent, #f2e14c); opacity: 1; }

.mm-langs { display: flex; flex-direction: column; gap: 0.9vw; }
.mm-langs button {
  font-family: var(--font-mono); font-size: clamp(11px, 0.75vw, 13px); letter-spacing: 0.06em;
  color: var(--grey); text-align: left; transition: color 0.25s ease;
}
.mm-langs button:hover, .mm-langs button.on { color: var(--white); }
.mm-langs button.on { text-decoration: underline; text-underline-offset: 0.4em; }
@media (max-width: 800px) {
  .mm-langs { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4vw; font-size: 3.2vw; }
  .mm-langs button { font-size: 3.2vw; }
}

/* ============================================================
   服务端预渲染正文：JS 未执行时（爬虫 / 关 JS）也能读到完整内容
   JS 启动后 #app 会被 SPA 整体替换，这些样式随之失效
   ============================================================ */
.seo-nav, .seo-footer { font-family: var(--font-mono); font-size: 12px; color: var(--grey); padding: 2vw 6vw; }
.seo-nav a, .seo-footer a { color: var(--grey); text-decoration: underline; text-underline-offset: 0.3em; }
#app > section, #app > article { padding: 3vw 6vw; max-width: 1100px; margin-inline: auto; }
/* 只作用于预渲染正文（#app 的直接子级 section/article），不要泄漏到 SPA 页面里
   —— 之前用 #app h1/#app a 会盖掉 SPA 自己的排版（h1 margin 6vw、链接下划线等） */
#app > section h1, #app > article h1 { font-size: clamp(22px, 3vw, 42px); font-weight: 700; margin: 6vw 0 1.2vw; }
#app > section h2, #app > article h2 { font-size: clamp(17px, 1.5vw, 22px); margin: 2em 0 0.6em; }
#app > section h3, #app > article h3 { font-size: clamp(14px, 1.1vw, 17px); margin: 1.6em 0 0.5em; color: var(--white); }
#app > section p, #app > section li, #app > article p, #app > article li { color: var(--grey); line-height: 1.75; font-size: 15px; }
#app > section a, #app > article a { color: var(--white); text-decoration: underline; text-underline-offset: 0.3em; }
#app > section img, #app > article img { display: block; width: 100%; height: auto; margin: 1.2vw 0; }
.seo-list { list-style: none; padding: 0; display: grid; gap: 1.4vw; }
.seo-list img { max-width: 420px; }

/* ============================================================
   关于页（ABOUT）
   开篇展览轮播 → 机构介绍 → 理念 → 三地办公室 + 点阵地图 → 客户
   ============================================================ */
.about-page .page-head { margin-bottom: 2.2vw; }

/* --- 开篇轮播 --- */
.ab-hero { margin-bottom: 7vw; }
.ab-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #101010; overflow: hidden; }
.ab-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.15s var(--ease-out-quart); }
.ab-slide.on { opacity: 1; }
.ab-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.055); transition: transform 8s linear; }
.ab-slide.on img { transform: scale(1); }
.ab-dots { position: absolute; right: 1.4vw; bottom: 1.4vw; display: flex; gap: 0.3vw; }
.ab-dot {
  font-family: var(--font-mono); font-size: clamp(9px, 0.66vw, 12px); letter-spacing: 0.06em;
  color: rgba(239, 239, 239, 0.6); padding: 0.35em 0.55em; border: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s; backdrop-filter: blur(2px);
}
.ab-dot:hover { color: var(--white); }
.ab-dot.on { color: var(--white); border-color: rgba(239, 239, 239, 0.55); }
.ab-cap {
  margin-top: 1.1vw; font-family: var(--font-mono); font-size: clamp(11px, 0.82vw, 14px);
  line-height: 1.8; color: var(--grey); letter-spacing: 0.02em; max-width: 74ch;
}

/* --- 介绍 --- */
.ab-intro {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 0 3vw;
  padding-top: 1.3vw; border-top: 1px solid var(--line); margin-bottom: 8vw;
}
.ab-eye {
  font-family: var(--font-mono); text-transform: uppercase; font-size: clamp(10px, 0.7vw, 12px);
  letter-spacing: 0.08em; color: var(--grey); padding-top: 0.5vw;
}
.ab-lead {
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(19px, 1.78vw, 33px);
  line-height: 1.36; letter-spacing: -0.012em; margin-bottom: 1.7vw; text-wrap: pretty;
}
.ab-p {
  font-size: clamp(13px, 0.98vw, 17px); line-height: 1.95; color: rgba(239, 239, 239, 0.72);
  margin-bottom: 1.1vw; max-width: 62ch;
}
.ab-serv {
  display: flex; flex-wrap: wrap; gap: 0.7vw 2.6vw; margin-top: 1.8vw;
  padding-top: 1.1vw; border-top: 1px solid var(--line);
}
.ab-serv li { display: flex; align-items: baseline; gap: 0.7em; font-family: var(--font-mono);
  font-size: clamp(10px, 0.72vw, 12px); text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
.ab-serv i { color: var(--accent); font-style: normal; }

/* --- 分节头 --- */
.ab-sec { margin-bottom: 8.5vw; }
.ab-sec-head {
  display: flex; align-items: baseline; gap: 1.6vw; flex-wrap: wrap;
  padding-top: 1.2vw; border-top: 1px solid var(--line); margin-bottom: 3vw;
}
.ab-no { font-family: var(--font-mono); font-size: clamp(10px, 0.7vw, 12px); color: var(--accent); letter-spacing: 0.08em; }
.ab-sec-head h2 {
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(21px, 2.1vw, 38px);
  line-height: 1; letter-spacing: -0.02em;
}
.ab-kicker {
  margin-left: auto; font-family: var(--font-mono); font-size: clamp(10px, 0.68vw, 12px);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey);
}

/* --- 理念 --- */
.ab-philo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--layout-gap); }
.ab-card { border-top: 1px solid var(--line); padding-top: 1.2vw; }
.ab-card .ab-no { display: block; margin-bottom: 2.8vw; }
.ab-card h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(17px, 1.5vw, 26px);
  line-height: 1.2; margin-bottom: 1vw; letter-spacing: -0.01em;
}
.ab-card h3 em {
  display: block; font-family: var(--font-mono); font-style: normal; font-weight: 400;
  font-size: clamp(9px, 0.62vw, 11px); text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--grey); margin-top: 0.9em;
}
.ab-card p { font-size: clamp(12.5px, 0.92vw, 16px); line-height: 1.9; color: rgba(239, 239, 239, 0.7); }

/* --- 办公室 + 地图 --- */
.ab-map { position: relative; width: 100%; }
.ab-map-img { display: block; width: 100%; height: auto; }
.ab-pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.ab-pin i {
  display: block; width: 0.5vw; height: 0.5vw; min-width: 5px; min-height: 5px; border-radius: 50%;
  background: var(--accent); animation: abPulse 3s var(--ease-out-quart) infinite;
}
@keyframes abPulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 225, 76, 0.45); }
  70% { box-shadow: 0 0 0 0.85vw rgba(242, 225, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 225, 76, 0); }
}
.ab-pin b {
  position: absolute; left: 50%; top: 175%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-mono); font-size: clamp(9px, 0.64vw, 11px); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white);
}
.ab-note { margin-top: 1.4vw; font-family: var(--font-mono); font-size: clamp(10px, 0.72vw, 12.5px);
  line-height: 1.8; color: var(--grey); letter-spacing: 0.02em; }
.ab-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--layout-gap); margin-top: 3vw; }
.ab-office { border-top: 1px solid var(--line); padding-top: 1.1vw; display: flex; flex-direction: column; gap: 0.5vw; }
.ab-of-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1vw; }
.ab-of-top b { font-family: var(--font-sans); font-weight: 700; font-size: clamp(15px, 1.15vw, 20px); letter-spacing: -0.01em; }
.ab-of-top span { font-family: var(--font-mono); font-size: clamp(8.5px, 0.58vw, 10.5px); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--grey); text-align: right; }
.ab-addr { font-size: clamp(12px, 0.88vw, 15px); line-height: 1.75; color: rgba(239, 239, 239, 0.72); }
.ab-mail { font-family: var(--font-mono); font-size: clamp(11px, 0.76vw, 13px); width: fit-content; }
.ab-tz { font-family: var(--font-mono); font-size: clamp(8.5px, 0.58vw, 10.5px); letter-spacing: 0.1em; color: var(--grey-dim); }

/* --- 客户 --- */
.ab-client-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.ab-client {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55vw;
  min-height: 8.6vw; padding: 1.8vw 1vw;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.35s;
}
.ab-client b {
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(14px, 1.12vw, 20px);
  letter-spacing: -0.01em; color: rgba(239, 239, 239, 0.88); transition: color 0.35s;
}
.ab-client span {
  font-family: var(--font-mono); font-size: clamp(8px, 0.54vw, 10px); min-height: 1em;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-dim); text-align: center;
}
.ab-client:hover { background: rgba(239, 239, 239, 0.03); }
.ab-client:hover b { color: var(--accent); }

.ab-client img { max-width: 68%; max-height: 2.6vw; object-fit: contain; filter: grayscale(1) contrast(0.85) brightness(1.7); opacity: 0.8; transition: opacity 0.35s, filter 0.35s; }
.ab-client:hover img { opacity: 1; filter: none; }
.ab-client--more b { color: var(--grey-dim); }
.ab-client--more span { color: rgba(111, 111, 111, 0.7); }

/* --- 结尾 CTA --- */
.ab-cta {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 2vw;
  padding-top: 1.5vw; border-top: 1px solid var(--line);
  font-family: var(--font-mono); text-transform: uppercase; font-size: clamp(11px, 0.8vw, 14px); letter-spacing: 0.08em;
}
.ab-cta i { font-style: normal; transition: transform 0.45s var(--ease-out-expo); }
.ab-cta:hover i { transform: translateX(0.7vw); }

/* --- 页脚 ICP --- */
.colophon .f-icp { color: var(--grey); text-decoration: none; border-bottom: 1px solid rgba(239, 239, 239, 0.25); }
.colophon .f-icp:hover { color: var(--white); border-color: var(--white); }

@media (max-width: 800px) {
  .about-page .page-head { margin-bottom: 5vw; }
  .ab-hero { margin-bottom: 12vw; }
  .ab-stage { aspect-ratio: 4 / 3; }
  .ab-dots { right: 3vw; bottom: 3vw; gap: 1.5vw; }
  .ab-dot { font-size: 3vw; padding: 0.4em 0.6em; }
  .ab-cap { margin-top: 3.4vw; font-size: 3.35vw; line-height: 1.75; }
  .ab-intro { grid-template-columns: 1fr; gap: 3vw; margin-bottom: 13vw; padding-top: 4vw; }
  .ab-eye { font-size: 3vw; }
  .ab-lead { font-size: 6vw; line-height: 1.35; margin-bottom: 5vw; }
  .ab-p { font-size: 3.75vw; line-height: 1.95; margin-bottom: 3.6vw; }
  .ab-serv { flex-direction: column; gap: 2.4vw; margin-top: 5vw; padding-top: 4vw; }
  .ab-serv li { font-size: 3.1vw; }
  .ab-sec { margin-bottom: 15vw; }
  .ab-sec-head { gap: 3vw; padding-top: 4vw; margin-bottom: 7vw; }
  .ab-sec-head h2 { font-size: 6.6vw; }
  .ab-kicker { margin-left: 0; flex-basis: 100%; font-size: 2.9vw; }
  .ab-philo { grid-template-columns: 1fr; gap: 7vw; }
  .ab-card { padding-top: 4vw; }
  .ab-card .ab-no { margin-bottom: 4vw; }
  .ab-card h3 { font-size: 4.6vw; }
  .ab-card p { font-size: 3.6vw; line-height: 1.9; }
  .ab-pin i { width: 8px; height: 8px; }
  .ab-pin b { font-size: 2.5vw; letter-spacing: 0.06em; }
  .ab-note { margin-top: 4vw; font-size: 3.05vw; }
  .ab-offices { grid-template-columns: 1fr; gap: 7vw; margin-top: 8vw; }
  .ab-office { padding-top: 3.6vw; gap: 2vw; }
  .ab-of-top b { font-size: 4.6vw; }
  .ab-addr { font-size: 3.5vw; }
  .ab-mail { font-size: 3.4vw; }
  .ab-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-client { min-height: 23vw; gap: 1.6vw; padding: 4vw 2vw; }
  .ab-client b { font-size: 4.2vw; }
  .ab-client img { max-height: 7vw; max-width: 66%; }
  .ab-client span { font-size: 2.4vw; }
  .ab-cta { font-size: 3.2vw; padding-top: 4vw; margin-bottom: 6vw; }
}
