/* ============================================================================
   杨森 · UI 设计师作品集
   基调：暖近黑底 / 单一琥珀强调 / 发丝分割线 / 大字号紧行高 / 颗粒质感
   ========================================================================== */

/* ------------------------------------------------------------- 本地字体 */
/* 三枚字体都在 assets/fonts/，由 .workbuddy/tools/subset-fonts.py 从本机已装字体
   裁子集 + 转 woff2 生成（字形库里只留 index.html 出现过的 539 个字符）：
     MiSans-Semibold    7641 KB → 61 KB
     MiSans-ExtraLight  7837 KB → 61 KB
     Passager             26 KB →  7 KB
   font-display:swap —— 字体没到之前先用 fallback 渲染，不阻塞首屏。
   ⚠️ Passager 是商业字体（用户本机已授权安装）。要换 / 补字重，重跑那个脚本即可。
   为什么拆成三个独立 family 名而不是一个 'MiSans' 配 font-weight：
   因为站内只加载 200 / 600 两档，若某处漏写 font-weight 会落到浏览器「最近邻合成」，
   结果不可预期；独立 family 名让「用哪档」在 CSS 里一眼可见，也不会被合成。 */
@font-face{
  font-family:'MiSans Light';
  src:url('../fonts/MiSans-Light.ttf') format('truetype');
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Passager';
  src:url('../fonts/Passager.woff2') format('woff2');
  font-weight:400 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'MiSans ExtraLight';
  src:url('../fonts/MiSans-ExtraLight.woff2') format('woff2');
  font-weight:200;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'MiSans Semibold';
  src:url('../fonts/MiSans-Semibold.woff2') format('woff2');
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'MiSans Demibold';
  src:url('../fonts/MiSans-Demibold.woff2') format('woff2');
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'MiSans Regular';
  src:url('../fonts/MiSans-Regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

/* 数字字体 JDZhengHT（2026-09-12 用户要求：全站数字统一用它，首页主标题除外）。
   三档同属一个家族，交给浏览器的字重匹配自动选：
     400 → Regular ｜ 500 / 600 / 700 → Bold ｜ ≤300 → Light
   （CSS 的字重匹配规则：目标 500 会向上找 700，目标 600 也找 700，故「中粗以上都落 Bold」。）
   ⚠️⚠️ 关键是 **unicode-range 只声明 0-9** —— 这才是「只换数字、不动其它字符」的实现方式：
      把它前置进任何字体链（见下方 --font-num），浏览器只在渲染 0-9 时用它，
      其余字符照旧落到链里后面的原字体（中文、拉丁、标点全不受影响）。
   ⚠️ 所以这三档**不要**去掉 unicode-range，否则全站拉丁字母也会被换掉。
   子集只留 0-9（各 ~1.3KB），由 .workbuddy/tools/subset-fonts.py 生成。 */
@font-face{
  font-family:'JDZhengHT';
  src:url('../fonts/JDZhengHT-Light.woff2') format('woff2');
  font-weight:300;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0030-0039;
}
@font-face{
  font-family:'JDZhengHT';
  src:url('../fonts/JDZhengHT-Regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0030-0039;
}
@font-face{
  font-family:'JDZhengHT';
  src:url('../fonts/JDZhengHT-Bold.woff2') format('woff2');
  font-weight:700;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0030-0039;
}

/* ---------------------------------------------------------------- Tokens */
/* ⚠️ 2026-09-15：**主题切换已彻底移除，全站只有夜间这一套**。
   `:root` 就是唯一的 token 源；原来那套「`html[data-theme="light"]` 覆盖成白天」的规则
   以及文件末尾的「主题·白天」整节都已删除，`<html>` 上也不再挂 `data-theme`。
   新增组件**只用 token、不要写死颜色**。 */
:root{
  /* 底色：纯中性黑，无暖调偏移 */
  --bg:          #131414;
  --bg-deep:     oklch(0.104 0 0);
  --surface:     oklch(0.186 0 0);
  --surface-2:   oklch(0.228 0 0);

  --line:        oklch(0.278 0 0);
  --line-soft:   oklch(0.212 0 0);

  --ink:         oklch(0.968 0 0);
  --ink-2:       oklch(0.735 0 0);
  --ink-3:       oklch(0.545 0 0);

  /* 强调色 —— ⚠️ 2026-09-17 用户要求「去除主题绿，都用黑白搭配」，
     原来是主色绿 #05FF00（更早是 #71FF45），现在整套改成**中性白／灰**：
     --accent      填充 / 描边 / 光晕 / 状态点 → 纯白
     --accent-ink  当「文字颜色」用（深底上的高亮文字）→ 纯白
     --accent-dim  悬停、次级强调 / 渐变收尾 → 浅灰 #C9C9C9
     --accent-soft 焦点环、状态点光晕 → 16% 白
     --on-accent   落在 --accent 填充之上的字色 → 纯黑（白底黑字，没动）
     ⇒ 「强调」现在靠**明暗对比**表达：白填充 + 黑字、或深底上的白字／白细线。
     变量名保留 accent 不改（62 处引用），以后想换颜色只动这五行。
     ⚠️ 全站 chroma = 0：别再往这四个值里掺任何色相（包括暖白 #FAFAFA 那种）。
     联系弹窗的白底使用独立的深色文字。 */
  --accent:      #ffffff;
  --accent-dim:  #C9C9C9;
  --accent-ink:  #ffffff;
  --accent-soft: rgb(255 255 255 / .16);
  --on-accent:   #000000;

  /* 数字槽位（2026-09-12 用户要求）：@font-face 只声明了 0-9 的 unicode-range，
     所以把它前置进任何字体链都**只影响数字**，其余字符自动落到链里后面的原字体。
     原有字体链前置 var(--font-num)；副文本单独使用完整的 MiSans Light 字体。 */
  --font-secondary:'MiSans Light', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-num:     'JDZhengHT';
  --font-display: var(--font-num), 'Space Grotesk', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-sans:    var(--font-num), 'Noto Sans SC', 'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono:    var(--font-num), 'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;
  /* DIN 系：商业授权的 DIN Pro / DIN 1451 没有在线 freefall —— Barlow Condensed 是
     Google Fonts 上最像的替代品（几何骨架接近、字怀紧、笔画两端无装饰），落 fallback 一档到系统 sans。
     只在首屏 .ht-en 使用 —— 它基本只承担「主标上方一行身份/年限/工具」的中英混排。
     ⚠️ 想要更纯的 DIN：把 font-family 里第一项换成你本地下载的 woff2 路径（如 './fonts/DINPro.woff2'）即可。 */
  --font-din:     var(--font-num), 'Barlow Condensed', 'DIN Pro', 'DIN 1451', 'DIN Next', 'Noto Sans SC', system-ui, sans-serif;

  /* 首屏专用（2026-09-12 引入，见文件顶部 @font-face）：
     --font-passager      巨型拉丁标「YANGSEN」+ 年份「2026」+ 顶行「2015-2026 Design」
     --font-misans-xlight 工具行「Figma·Photoshop·Illustrator·Sketch·Codex」
     --font-misans-semi   中文主标「杨森·UI设计师」
     --font-misans-demi   原顶行「中国·重庆」（第二轮引入；第三轮顶行合并后暂无元素使用，留着备用）
     --font-misans-reg    首屏按钮组「在职 · 求职中」/「查看作品」
     fallback 都用 --font-sans 同款中文链，保证字体没加载完时中英都不掉字。
     ⚠️ --font-passager **故意不前置 var(--font-num)** —— 它只服务首屏那三处
        （.ht-word「YANGSEN」/ .ht-year「2026」/ .tp-center「2015-2026 Design」，都属首页主标题区），
        正是用户要求「数字字体除首页主标题以外」的那个例外。
        哪天真要让首屏数字也走 JDZhengHT：给这条链前面补上 var(--font-num) 即可。 */
  --font-passager:      'Passager', 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --font-misans-xlight: var(--font-num), 'MiSans ExtraLight', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-misans-semi:   var(--font-num), 'MiSans Semibold', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-misans-demi:   var(--font-num), 'MiSans Demibold', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-misans-reg:    var(--font-num), 'MiSans Regular', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;

  /* 内容列宽度。
     2026-09-16 用户要求：整站内容列收窄到 1440，「首页模块除外」。
     用到 .shell 的有：.header-inner（导航）/ .hero-inner（首页）/ 4 个内容模块 / .contact-inner。
     分配 → 全站基准 1440；首页 hero 保持 1700；
             导航胶囊**只在首屏（未吸顶）保持 1700**，吸顶后落回 1440 与下方模块左右对齐。
     ⚠️ 两处覆盖（.hero / .site-header）都写在**祖先**上，靠 `--shell` 继承下去 ——
        写在 .hero-inner / .header-inner 上没用，那是 .shell 自己。
     ⚠️ 导航那档切换要配合 .header-inner 的 `width` 过渡，见 navigation 那一段；
        不加的话吸顶瞬间宽度会「啪」地跳一下（那一刻正好在首屏与经历的边界上，看得很清楚）。 */
  --shell: 1440px;
  --pad:   clamp(24px, 3.6vw, 72px);
  --r:     12px;
  --r-sm:  4px;
  --header-h: 84px;

  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* 「主题 · 白天」整节已于 2026-09-15 删除（主题切换移除）。
   想回退：备份在 .workbuddy/_backup/style.css.before-theme-strip，里面有完整原文件。 */

/* ---------------------------------------------------------------- Reset */
*,*::before,*::after{ box-sizing:border-box; }

html{
  /* 去掉了 scroll-behavior:smooth —— 锚点平滑滚动改由 GSAP ScrollToPlugin 接管。
     原生平滑滚动会让 ScrollTrigger 在 refresh 时读到过渡中的中间位置，导致
     触发点漂移；顺带也让「点导航」的缓动曲线和整站动效统一。
     scrollbar-gutter 常驻滚动条槽位：开场遮罩期间锁滚动时版面不会左右跳。 */
  scrollbar-gutter:stable;
  -webkit-text-size-adjust:100%;
}

/* ⚠️ 2026-09-17：滚轮「整屏切换」已按用户要求**整体删除** —— 网页恢复原生滚动，
   没有吸附、也没有「一屏一屏跳」。原来那条为 CSS 方案预留的
   `.section,.hero{ scroll-snap-align:start; }` 也一并删掉了（它本身无副作用，但留着会误导）。
   历史结论（别再走回头路）：CSS scroll-snap 两条都实测过都不行 ——
     · `proximity`：吸附阈值太宽，实测滚过一整屏（960px）后偏差 131px 也不吸附；
     · `mandatory`：激进到反效果，滚轮每格 120px 被立刻弹回，连滚 8 格仍停在原地。
   注意：锚点跳转（点导航）仍走 GSAP ScrollToPlugin 的 `gsap.scrollTo`，
   那是 main.js 第 5 节的 `a[href^="#"]` 处理器，与已删掉的滚轮接管无关。 */

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.6;
  font-weight:400;
  letter-spacing:.005em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3,h4,p,figure,dl,dd,ul{ margin:0; }
ul{ padding:0; list-style:none; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

::selection{ background:var(--accent); color:var(--on-accent); }

::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--bg-deep); }
::-webkit-scrollbar-thumb{
  background:var(--line);
  border:3px solid var(--bg-deep);
  border-radius:20px;
}
::-webkit-scrollbar-thumb:hover{ background:var(--accent-dim); }

/* ------------------------------------------------------------- Utilities */
.shell{
  width:min(calc(100% - var(--pad) * 2), var(--shell));
  margin-inline:auto;
}

/* `--shell` 的两处例外（2026-09-16）—— 见 :root 里 --shell 的注释。
   ⚠️ 必须挂在**祖先**上：.shell 靠继承拿 --shell，
      写到 .hero-inner / .header-inner 自己身上不会生效。
   ⚠️ 导航只在「未吸顶」保持 1700；`.site-header.is-stuck` 不加这条，自然落回 :root 的 1440。 */
.hero{ --shell: 1700px; }
.site-header:not(.is-stuck){ --shell: 1700px; }

.section{
  position:relative;
  padding-block:clamp(96px, 9vw, 176px);
  scroll-margin-top:var(--header-h);
}

/* Shared section heading: dot mark + English label + centered Chinese title. */
.module-heading{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  margin:0 0 clamp(40px, 4.2vw, 72px);
  padding:0;
  border:0;
  text-align:center;
  color:#fff;
}
.module-eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  font-family:var(--font-sans);
  font-size:16px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.01em;
}
.module-eyebrow svg{ flex:none; }
.module-title{
  max-width:100%;
  margin:0;
  font-size:clamp(30px, 2.85vw, 48px);
  font-weight:500;
  line-height:1.25;
  letter-spacing:-.025em;
  overflow-wrap:break-word;
}
@media (max-width:600px){
  .module-heading{ gap:14px; margin-bottom:32px; }
  .module-eyebrow{ font-size:14px; }
}

/* 按钮 ---------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:1.05em 1.75em;
  font-family:var(--font-sans);
  font-size:14px;
  font-weight:500;
  letter-spacing:.04em;
  border:1px solid transparent;
  border-radius:100px;            /* 全站按钮统一胶囊圆角，与 .theme-toggle / .tags 同 */
  cursor:pointer;
  transition:background .45s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease-out);
}
.btn svg{
  width:16px; height:16px;
  transition:transform .45s var(--ease-out);
}
/* 主按钮：参考图右侧那枚「查看回放 →」的发光渐变胶囊（原为纯白底）。
   ⚠️ 悬停**不能**换 background —— 两个 linear-gradient 之间浏览器不做插值，
   会硬切一下。所以渐变保持不变，只推 box-shadow 与 filter。 */
.btn-solid{
  background:linear-gradient(100deg, var(--accent) 0%, var(--accent-dim) 100%);
  color:var(--on-accent);
  box-shadow:0 14px 36px -16px var(--accent);
  transition:box-shadow .45s var(--ease), filter .35s var(--ease), transform .45s var(--ease-out);
}
.btn-solid:hover{
  color:var(--on-accent);
  filter:brightness(1.08);
  box-shadow:0 20px 48px -14px var(--accent);
}
.btn-solid:hover svg{ transform:translateX(5px); }

.btn-line{
  border-color:var(--line);
  color:var(--ink);
}
.btn-line:hover{
  border-color:var(--accent);
  color:var(--accent-ink);
}

.btn-ghost{
  border-color:var(--line);
  color:var(--ink-2);
  padding:.72em 1.25em;
  font-size:14px;
}
.btn-ghost:hover{
  border-color:var(--accent);
  color:var(--ink);
}

.status-dot{
  width:6px; height:6px;
  border-radius:50%;
  background:#00e5e5;
  box-shadow:0 0 0 3px rgb(0 229 229 / .16);
  animation:pulse 2.6s var(--ease) infinite;
}

/* 标签 ---------------------------------------------------------------- */
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tags li{
  font-family:var(--font-mono);
  font-size:14px;
  letter-spacing:.06em;
  color:var(--ink-2);
  padding:6px 13px;
  border:1px solid var(--line);
  border-radius:100px;
  transition:border-color .35s var(--ease), color .35s var(--ease);
}
a:hover > .tags li{
  border-color:var(--accent-dim);
  color:var(--ink);
}

/* ================================================== 00 开场遮罩（Opening）
   进度条 z-index:1000、导航 900、颗粒层 9998；遮罩取 9997 —— 压在页面与导航
   之上（开场时它们不该露出来），但留颗粒层在最顶上加质感。
   默认 display:none：没有 JS 时直接不出现，不能把人挡在门外。
   只要 <html> 有 .has-js（见 index.html <head> 的内联脚本），才点亮。 */
.intro{ display:none; }
/* 开场期间锁滚动。html 上有 scrollbar-gutter:stable，槽位常驻，
   所以这一锁一放不会让版面左右跳。 */
html.is-locked{ overflow:hidden; }
/* 弹窗（lightbox / 联系方式）专用的滚动锁。
   ⚠️ **故意不复用 html.is-locked**：animations.js 结尾有个 6s 兜底定时器会无条件
   `remove('is-locked')`（防"万一开场时间线没跑把人锁在遮罩后"），弹窗要是也挂这个类，
   恰好在那段时间开窗就会被它顺手解锁 —— 表现为「弹窗开着但页面还能滚」（实测踩过）。
   用独立类之后两边互不干扰；§9 的滚轮守卫会同时认这两个类。 */
html.is-modal{ overflow:hidden; }
.has-js:not(.skip-intro) .intro{
  display:grid;
  place-items:center;
  position:fixed;
  inset:0;
  z-index:9997;
  overflow:hidden;
  pointer-events:none;       /* 纯装饰，别拦点击（虽然下面本来就盖着整屏） */
}

/* 6 片卷帘：并排铺满，JS 依次向上抽走 */
.intro-blinds{
  position:absolute;
  inset:0;
  display:flex;
}
.intro-blinds i{
  flex:1 1 0;
  background:var(--bg-deep);
  will-change:transform;
}

.intro-inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.intro-name{
  font-family:var(--font-display);
  font-size:clamp(36px, 4.4vw, 70px);
  font-weight:700;
  letter-spacing:.08em;      /* 中文标题不加负字距 */
  color:var(--ink);
}
.intro-role{
  margin-top:12px;
  font-family:var(--font-sans);
  font-size:14px;
  letter-spacing:.04em;
  text-transform:none;
  color:var(--ink-3);
}
.intro-bar{
  position:relative;
  display:block;
  width:min(260px, 36vw);
  height:1px;
  margin-top:clamp(22px, 2.6vw, 44px);
  background:oklch(1 0 0 / .12);
  overflow:hidden;
}
.intro-bar i{
  position:absolute;
  inset:0 auto 0 0;
  width:100%;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left center;
}
.intro-num{
  margin-top:12px;
  font-family:var(--font-mono);
  font-size:14px;
  letter-spacing:.22em;
  font-variant-numeric:tabular-nums;
  color:var(--ink-3);
}
.intro-num b{ font-weight:400; color:var(--accent-ink); }
.intro-num em{ font-style:normal; }

/* ------------------------------------------------- 颗粒 / 进度 / 装饰层 */
.grain{
  position:fixed;
  inset:0;
  z-index:9998;
  pointer-events:none;
  opacity:.05;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress{
  position:fixed;
  inset:0 0 auto 0;
  height:2px;
  z-index:1000;
  pointer-events:none;
}
.progress span{
  display:block;
  height:100%;
  width:0;
  background:linear-gradient(90deg, #467aff 0%, #7364ff 52%, #b684ff 100%);
}

/* ============================================================ 顶部导航 */
/* 首屏：透明平铺，融进 Hero；滚过第一屏后：收成悬浮胶囊 + 磨砂玻璃 */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:900;
  padding-block:0;
  pointer-events:none;          /* 只让胶囊本身接收点击，两侧不挡内容 */
  transition:padding-block .62s var(--ease);
}

.header-inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  height:var(--header-h);
  /* —— 2026-09-16 用户要求：导航条**占满整个屏幕** ——
     本条自己拉满（width:100% + max-width:none，压掉 .shell 的限宽与居中），
     再用 padding-inline 把**内容**收回 --shell 那一列 ——
     于是「模糊铺满整屏」与「logo / 菜单 / 联系我 与页面内容列对齐」同时成立。
     ⚠️ 百分比 padding 按**包含块**（= .site-header = 视口宽）算，不是按自身宽度。
     ⚠️ 视口比 --shell 窄时 (100% − shell)/2 会算成负数 → 外面套 max(var(--pad), …) 兜住。
     ⚠️ 别再改回 .shell 的 width:min()：那样模糊只盖得住 1440 / 1700 那一段。 */
  width:100%;
  max-width:none;
  padding-inline:max(var(--pad), calc((100% - var(--shell)) / 2));
  border:1px solid transparent;      /* 保留 1px 边框盒：去掉描边又不产生布局位移 */
  border-radius:0;                   /* 通栏条不能有圆角：圆角会把模糊的四个角切出缺口 */
  background:oklch(0.170 0 0 / 0);
  -webkit-backdrop-filter:blur(0px) saturate(1);
  backdrop-filter:blur(0px) saturate(1);
  pointer-events:auto;
  transition:
    /* width 仍在过渡表里：吸顶时**内容列**会在 1700 ↔ 1440 之间收放（见 :root 的 --shell 注释） */
    width .62s var(--ease),
    height .62s var(--ease),
    border-radius .62s var(--ease),
    padding-inline .62s var(--ease),
    background .62s var(--ease),
    border-color .62s var(--ease),
    box-shadow .62s var(--ease),
    -webkit-backdrop-filter .62s var(--ease),
    backdrop-filter .62s var(--ease);
}

/* 吸顶不再把导航「浮」下来 16px（2026-09-16 随通栏改造）：通栏磨砂条必须贴着屏幕顶边，
   否则顶上会留一条没被模糊覆盖的缝，看着像 bug。原来这里是 `padding-block:16px`。 */
.site-header.is-stuck{ padding-block:0; }

.site-header.is-stuck .header-inner{
  height:64px;
  /* 圆角 / 内边距 / 玻璃规格都不在这里了：
     2026-09-16 通栏改造后，圆角恒为 0、水平内边距恒为「内容列留白」（都在 .header-inner 基础块里），
     玻璃也搬到了 .is-glassed。这里只剩「吸顶时收矮一点」这一件事。 */
}

/* Scrolled navigation uses a dark tint so light cards remain visible beneath the blur. */
.site-header.is-glassed .header-inner{
  background-color:rgb(5 6 10 / .72);
  -webkit-backdrop-filter:blur(15px);
  backdrop-filter:blur(15px);
}

/* 品牌 */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
}
.brand-mark{
  display:block;
  height:25.2px;                 /* 原 42px，用户要求缩到 60% */
  flex-shrink:0;
  transition:transform .5s var(--ease-out), filter .5s var(--ease);
}
.brand-mark img{
  height:100%;
  width:auto;
  display:block;
}
/* 导航固定使用白字版 Logo，与透明和磨砂背景保持一致。 */

.brand:hover .brand-mark{
  transform:translateY(-2px);
  filter:drop-shadow(0 0 14px rgb(255 255 255 / .45));
}

/* 导航 */
.nav{
  display:flex;
  gap:4px;
}
/* 文字规格 2026-09-16 按参考站 force-2512 的 .navbar-menu-item 对齐：
     字号 14px（两边本来就一致，没动）
     未选中 rgba(255,255,255,.6) / weight 400 ｜ 悬停与选中 rgb(255,255,255) / weight 600
   ⚠️ 选中项改成 600 **不会**引起位移：六条全是两字中文，CJK 字形的字宽恒为 1em，
      加粗不改 advance width（滚动高亮是 IntersectionObserver 驱动的，会切换，
      要是宽度会变就会在滚动时左右抖）。以后若加了拉丁字母的导航项，这条前提就不成立。 */
.nav-link{
  position:relative;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 18px;
  font-size:14px;
  font-weight:400;
  color:rgb(255 255 255 / .6);
  border-radius:var(--r-sm);
  transition:color .35s var(--ease), font-weight .35s var(--ease);
}
.nav-link::after{
  content:'';
  position:absolute;
  left:18px; right:18px; bottom:3px;
  height:1px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .5s var(--ease-out);
}
.nav-link:hover,
.nav-link.is-active{ color:#fff; font-weight:600; }
.nav-link:hover::after,
.nav-link.is-active::after{ transform:scaleX(1); }

/* 导航右侧：联系我（2026-09-15 起只剩这一枚，主题切换按钮已删） ---------------- */
/* 包一层是为了让 .header-inner 的 space-between 仍然只有三个子项，
   加按钮不会把中间那组导航挤歪。 */
.header-right{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
/* 2026-09-15 用户要求：吸顶时按钮距离右边 / 上下各 10px
   （未吸顶时仍是 12px，见上面的 .header-right —— 首屏没有胶囊右边界，这套 10px 网格不适用）。 */
.site-header.is-stuck .header-right{ gap:10px; }

/* 「联系我」按钮（2026-09-15 第 2 轮：按用户要求改成参考站 fora.so 导航右上角那枚按钮的样子）。
   参考站实测（1920×1269，computed）：
     background rgba(255,255,255,.10) ｜ backdrop-filter blur(5px) ｜ border-radius 768px
     无边框、无阴影、无渐变 ｜ 文字近白 rgb(255,243,240) ｜ transition .4s cubic-bezier(.44,0,.56,1)
   → 要点是**只有一层很淡的白 + 一点点模糊**。别再加内发光 / 镜面边 / 渐变叠层（那套「厚玻璃」
     就是 2026-09-15 第 1 轮被用户否掉的观感）。文字色取纯白而非参考站的暖白 —— 本站中性色 chroma 必须为 0。
   ⚠️ `.header-cta` 走的是 .btn 的 `padding:1.05em 1.75em`，自然高度 44.5px；这里直接钉死 height，
   横向 padding 保留（宽度各随内容）。`*{box-sizing:border-box}` 已全局生效，所以 height 含 padding 与边框。
   悬停仅微调按钮透明度，导航栏保持原来的透明或磨砂背景。 */
.header-cta{
  height:44px;
  font-size:14px;               /* 全站最小字号下限 */
  font-weight:500;
  background:rgb(255 255 255 / .10);
  border-color:transparent;     /* .btn-ghost 给的是发丝边，参考站这枚没有边 */
  color:#ffffff;
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
  transition:background-color .4s cubic-bezier(.44,0,.56,1),
             color .4s cubic-bezier(.44,0,.56,1),
             border-color .4s cubic-bezier(.44,0,.56,1);
}
.header-cta:hover{
  background:rgb(255 255 255 / .18);
  border-color:transparent;
  color:#ffffff;
}

/* ============================================================= 01 Hero */
.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  grid-template-rows:1fr auto;
  padding-top:var(--header-h);
  padding-bottom:44px;
  overflow:hidden;
  background:var(--bg);
  isolation:isolate;
}
/* 首屏背景：LiquidEther 流体场（three.js 模拟，assets/js/liquid-ether.js）。
   容器只负责给尺寸，canvas 由脚本 prepend 进来。
   pointer-events:none —— 它是纯背景，不能挡住首屏的按钮与链接；
   组件自身把鼠标监听挂在 window 上，所以照样能跟着光标扰动。
   （原「三张图交叉淡化」的轮播样式已随之移除，图片仍在 image/hero/。） */
.hero-fluid{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}
.hero-fluid canvas{
  display:block;
  width:100% !important;
  height:100% !important;
}
.hero-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
}
/* ---------- 首屏背景（2026-09-15 重构：椭圆渐变 + 三层山景 + 平台窗口）----------
   ⚠️ 结构（z-index 就是层级，别乱动）：
      .hero-grad(0) → 远山(1) → 中景(2) → .hero-window-par(4) → 前景灌木(5) → 文字/页脚/侧标(6)
   窗口特意夹在中景与前景之间 —— 所以下半截会被最前面的灌木挡住，这是参考站的原始观感。
   三层山景的滚动位移由 assets/js/hero-scene.js 驱动（远山 0.69 / 中景 0.83 / 前景不动）。 */

/* 椭圆渐变底：直接取自用户给的 bgjb.txt（Swift EllipticalGradient，中心在顶边中点，1920×1269.14）。
   三色 = rgb(27,34,40) → rgb(53,63,68) @42% → rgb(211,151,148)，与 fora.so 的 computed 值一致。 */
.hero-grad{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(200% 83% at 50% 0%,
    rgb(27 34 40) 0%,
    rgb(53 63 68) 42%,
    rgb(211 151 148) 100%);
}

/* 三层山景：都是「贴底 + 宽度撑满」，高度由图片自身宽高比决定（height:auto）。
   ⚠️ 中景的 bottom 是 1px（参考站原值），不是笔误 —— 改 0 会和远山边缘打架。 */
.hero-hills{
  position:absolute;
  left:0;
  right:0;
  pointer-events:none;
}
/* 只有真正会动的两层提层（前景灌木是静止的，给它 will-change 等于白占一张 GPU 贴图） */
.hero-hills-far,
.hero-hills-mid,
.hero-window-par{
  will-change:transform;
}
.hero-hills img{
  display:block;
  width:100%;
  height:auto;
}
.hero-hills-far{ bottom:0;   z-index:1; }   /* 2464×909 → 2464/909 = 2.71 的宽扁横幅 */
.hero-hills-mid{ bottom:1px; z-index:2; }   /* 2464×848 */

/* ---------- 远山的「减淡 + 上下羽化」（2026-09-16 用户要求）----------
   用户原话：「hills-far.png 这块降低透明度，并且他和最底层的背景色有个模糊的衔接」。
   ① `opacity` 减淡：远山原来是一整块粉调的实体，现在让最底层的 .hero-grad 渐变从它里面透出来；
   ② `mask` 上下各留一段过渡（按层高的百分比，随窗口等比缩放）：
      上缘 0%→18% 从半透明浮到实心 —— 山脊不再是切在天上的一条硬轮廓；
      下缘 46%→86% 化进下方的深色山体 —— 底边没有硬切。
      两处合起来就是「与背景有个模糊的衔接」。
   ⚠️ mask / opacity 挂在 **<img>** 上，不挂外层 .hero-hills-far：外层带 will-change:transform
      且由 JS 写 translate3d，把 mask 也压在同一元素上会多一层光栅化（.pc-card 的竖直缝就是这么来的）。
   ⚠️ 别把它做成「整片消失」：远山提供的是山脊后面那层粉调天光，
      实测减淡前它在下缘与背景色之间有一条 ~61 级（只留远山时）的硬边，这层羽化就是为了消掉它。 */
.hero-hills-far img{
  opacity:.72;
  -webkit-mask-image:linear-gradient(180deg,
    rgb(0 0 0 / .55) 0%,
    #000 18%,
    #000 46%,
    rgb(0 0 0 / 0) 86%);
          mask-image:linear-gradient(180deg,
    rgb(0 0 0 / .55) 0%,
    #000 18%,
    #000 46%,
    rgb(0 0 0 / 0) 86%);
}
/* 首屏底部「底色垫」`.hero-base-veil` 已随「前景灌木恢复不透明」一起删除（2026-09-16 下午）。
   它当初是为「灌木半透明 + 底部羽化」补的：那时首屏最底边靠灌木兜不住颜色，
   一滚动视差层就会把中景的绿色山体推到边界上，与经历之间跳变 46 级。
   现在灌木是实心且不参与视差 → 首屏底边**恒定**就是灌木那条深色带，天然稳定，不需要再垫一层。
   ⚠️ 想恢复「灌木半透明」那套，这两件事要一起做：加回本层 + 把 .about 改成收敛到 var(--bg)。 */

/* 前景灌木：**必须保持完全不透明**（2026-09-16 用户明确要求）。
   它的职责就是挡住 .hero-window 的下半截 —— 2026-09-16 上午那一版给它降了透明度、
   又把底部 32% 羽化掉，结果窗口下沿从淡出的草里露了出来，等于把「窗口藏在灌木后面」这层关系弄丢了。
   ⚠️ 别再加 opacity / mask：要「图与背景柔和过渡」的是**远山**（见下面的 .hero-hills-far img），不是它。
   ⚠️ 它不参与视差（没有 will-change），所以也没有合成层被切成 tile 的风险。 */
.hero-hills-fore{ bottom:0;  z-index:5; }   /* 2464×488，前景灌木线 —— 不参与视差（跟着页面走） */

/* ---------- 首屏底部 Scroll 提示（2026-09-16 用户要求）----------
   位置：首屏**最底部正中间**，距底 30px；素材 `image/hero/scroll-mouse.gif`
   （火山引擎首页那枚「鼠标 + Scroll」，112×228 / 35 帧 × 40ms = 1.4s 循环）。
   ⚠️ z-index 必须 ≥6：前景灌木是 5，写在它下面的话整枚图会被那条深色草带盖掉。
   ⚠️ GIF 自带循环，**不要再叠 CSS 动效**；进场淡化由 animations.js 的 hero.cue 负责
      （原来的 .scroll-cue 是「CSS 动画 + GSAP 淡入」两层，那枚元素已删除，别照抄）。
   ⚠️ 用「left/right:0 + flex 居中」而不是 left:50% + translateX(-50%)：不要给它留 transform，
      否则 GSAP 写 y 时会和居中位移互相覆盖。
   `--sc-w` 是唯一尺寸旋钮（图是竖构图，高度按自身比例 auto 撑开）。 */
.hero-scroll-cue{
  /* 2026-09-16 用户要求「缩小至原来的 60%」：44 → 26.4px（高按 228/112 比例 = 53.76px）。
     ⚠️ 这已经是「Scroll」那行字还能勉强认出来的下限附近 —— 再小就只能当纯图形看了。 */
  --sc-w:26.4px;
  position:absolute;
  left:0;
  right:0;
  bottom:30px;
  z-index:6;
  display:flex;
  justify-content:center;
  pointer-events:none;      /* 纯装饰，不能挡住首屏任何点击 */
}
.hero-scroll-cue img{
  display:block;
  width:var(--sc-w);
  height:auto;
}

/* 流体场与柔光/扫描线画布仍下线（新首屏用渐变 + 山景；启动脚本在 index.html 末尾注释里） */
.hero-fluid,
.hero-canvas{
  display:none;
}
/* .hero-grid 已下线（2026-09-12 起按用户要求去除背景的「网格」效果）。
   原来是一层「110px 间距」的 1px 白色细网格（oklch(1 0 0 / .028)），加 radial mask 让中心偏弱边缘偏强。
   保留 CSS 槽位（display:none）以备回退；想恢复请同步把 index.html 的 <div class="hero-grid"> 加回来。 */
.hero-grid{
  display:none;
}
/* ---------- 首屏平台窗口（960×680）----------
   几何全部由 --hw-w（窗口宽度）驱动，改一个数整体等比缩放：
     窗口 960×680 → 右侧面板 722×668（距右/上/下各 6px，于是左栏自然余下 232px）
   ⚠️ 这三个尺寸来自用户的要求，不要在别处再手写 px。 */
.hero-window-par{
  position:absolute;
  left:0;
  right:0;
  bottom:0;                            /* 窗口底边与首屏底边齐平 */
  z-index:4;                           /* 高于中景、低于前景灌木 */
  display:flex;
  justify-content:center;
  pointer-events:none;                 /* 容器放行，只有窗口本体接事件 */
  will-change:transform;
}
.hero-window{
  /* 480px 是「导航 + 文案块 + 净空」的实测预算（1920 基准下文案块底 395、窗口顶 480 → 净空 85）；
     视口高度 ≥ 1160 时窗口就是完整的 960 设计宽度。手机断点把这个数收到 420（文案块矮很多）。
     ⚠️ 调小它会让首屏文案（尤其 .hero-pill 按钮组）压到窗口上，改之前先跑 hero-scene-verify。 */
  --hw-budget:480px;
  --hw-gutter:64px;                     /* 窗口两侧至少留的边距（手机断点收到 40px） */
  --hw-w:min(960px, calc(100vw - var(--hw-gutter)), calc((100svh - var(--hw-budget)) * 960 / 680));
  /* 窗口高度 = 基准 680/960 + 增量 --hw-grow（2026-09-15 第 4 轮，用户要「屏幕再加高一点」）。
     ★ 增量在高度不够时**自动收缩到 0**（clamp 的中间值算的就是「还剩多少高度可用」）：
       所以矮视口上窗口形状与从前一模一样，只有视口够高时才真的变高，不会去挤上方文案。
     ★ 窗口是 bottom:0 定位 → 加高 = 窗口顶（连同里面的面板）**整体上移**，
       这正是「信息别被前景灌木遮住」需要的位移（灌木遮挡线固定，内容上移即脱离）。
     ⚠️ 面板仍是用户规格 722×668 且贴窗口顶：窗口多出来的高度落在面板下方，
        那一截本来就被前景灌木盖着，看不见。 */
  --hw-h0:calc(var(--hw-w) * 680 / 960);
  --hw-grow:clamp(0px, calc(100svh - var(--hw-budget) - var(--hw-h0)), 100px);
  position:relative;
  display:flex;
  width:var(--hw-w);
  height:calc(var(--hw-h0) + var(--hw-grow));
  padding:calc(var(--hw-w) * 6 / 960) calc(var(--hw-w) * 6 / 960) calc(var(--hw-w) * 6 / 960) 0;
  border-radius:calc(var(--hw-w) * 24 / 960) calc(var(--hw-w) * 24 / 960) 0 0;
  background:rgb(23 23 23 / .85);
  overflow:hidden;
  pointer-events:auto;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .08),
    0 -30px 80px rgb(0 0 0 / .28);
}

/* 左栏 232px：本站板块导航（参考站那儿是筛选栏 + 菜单项） */
.hw-rail{
  flex:none;
  width:calc(var(--hw-w) * 232 / 960);
  padding:calc(var(--hw-w) * 24 / 960) calc(var(--hw-w) * 15 / 960);
  display:flex;
  flex-direction:column;
  gap:calc(var(--hw-w) * 20 / 960);
}
/* ⚠️ 字号全部写成 max(14px, calc(...))：
   窗口尺寸由 --hw-w 驱动，在 1720 宽的视口上只取到 627/960 ≈ 0.65 倍，
   直接按比例写会让导航文字掉到 9px —— 违反「全站最小字号 14px」这条铁律。
   max() 的第一个参数是设计值（960 基准下的字号），第二个是 14px 下限，取大者。 */
/* 窗口左上角的「交通灯」（2026-09-16 用户要求：把原来那行 INDEX 小标换成 Mac OS 窗口左上角那三个圆点）。
   尺寸与配色都按用户给的参考图实测：直径 14px、相邻圆点中心距 24px（= gap 10px）；
   色值 红 #FA5F57 / 黄 #FDBC2F / 绿 #36C840（参考图直接采样得到的值，比 macOS 官方色略暖一点）。
   ⚠️ 和左栏其它元素一样按 --hw-w 等比缩放，但**给 9px 下限**：手机上 --hw-w 只有 350，
      纯按比例算下来直径只剩 5px，三个点会糊成一坨。
   ⚠️ 这里是 <i> 画的圆，不是文字，所以不受「全站最小字号 14px」约束（那条只管 DOM 文本）。
   ⚠️ 别改回文字写法 —— 用户明确要求删掉 INDEX。 */
.hw-rail-title{
  display:flex;
  align-items:center;
  gap:max(6px, calc(var(--hw-w) * 10 / 960));
}
.hw-rail-title i{
  width:max(9px, calc(var(--hw-w) * 14 / 960));
  height:max(9px, calc(var(--hw-w) * 14 / 960));
  border-radius:50%;
}
.hw-rail-title i:nth-child(1){ background:#FA5F57; }   /* 关 */
.hw-rail-title i:nth-child(2){ background:#FDBC2F; }   /* 最小化 */
.hw-rail-title i:nth-child(3){ background:#36C840; }   /* 最大化 */
.hw-nav{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:calc(var(--hw-w) * 3 / 960);
}
.hw-nav a{
  display:flex;
  align-items:center;
  gap:calc(var(--hw-w) * 10 / 960);
  padding:calc(var(--hw-w) * 7 / 960) calc(var(--hw-w) * 9 / 960);
  border-radius:calc(var(--hw-w) * 7 / 960);
  font-family:var(--font-misans-reg);
  font-size:max(14px, calc(var(--hw-w) * 15 / 960));
  letter-spacing:.02em;
  color:rgb(255 255 255 / .62);     /* 玻璃回滚（2026-09-15 第 2 轮）后底又变回深色，退回 .62 */
  transition:color .35s var(--ease), background-color .35s var(--ease);
}
.hw-nav svg{
  flex:none;
  width:max(14px, calc(var(--hw-w) * 15 / 960));
  height:max(14px, calc(var(--hw-w) * 15 / 960));
  fill:none;
  stroke:currentColor;
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hw-nav a:hover{
  color:#fff;
  background:rgb(255 255 255 / .07);
}

/* 右侧面板 722×668：光效画布 + 模拟页面 */
.hw-panel{
  position:relative;
  flex:none;
  width:calc(var(--hw-w) * 722 / 960);
  height:calc(var(--hw-w) * 668 / 960);
  border-radius:calc(var(--hw-w) * 18 / 960);
  overflow:hidden;
  background:#0B0D16;                  /* 画布首帧之前的兜底底色 */
  container:hero-intro / inline-size;
}
/* Iridescence fills the existing panel below its content. */
.hw-glow{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  width:100%;
  height:100%;
}
/* Uniform 10% black mask: above the canvas, below all introduction content. */
.hw-panel::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  background:rgb(0 0 0 / .1);
  pointer-events:none;
}
/* Compact vertical introduction, centered like the reference; no button. */
.hw-mock{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding-top:max(16px, calc(17% - (100px - var(--hw-grow)) * .64));
  color:#FFFFFF;
  text-align:center;
  text-shadow:none;
  -webkit-text-stroke:0;
  pointer-events:none;
}
.hw-mock > *{ flex:none; }
.hwm-avatar{
  display:block;
  width:54px;
  height:54px;
  overflow:hidden;
  border:1px solid rgb(255 255 255 / .7);
  border-radius:50%;
  box-shadow:none;
}
.hwm-avatar img{ display:block; width:100%; height:100%; object-fit:cover; }
.hwm-name{
  margin:14px 0 0;
  font-family:var(--font-misans-semi);
  font-size:26px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.01em;
  color:#FFFFFF;
}
.hwm-meta{ margin:8px 0 0; font-size:14px; line-height:1.5; }
.hwm-bio{ margin:28px 0 0; width:86%; max-width:540px; font-size:14px; line-height:1.75; }
.hw-mock :is(.hwm-meta,.hwm-bio){
  font-family:'MiSans Light', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-weight:300;
  font-synthesis:none;
  color:#FFFFFF;
  opacity:1;
}
@container hero-intro (max-width:420px){
  .hwm-avatar{ width:42px; height:42px; }
  .hwm-name{ margin-top:12px; font-size:22px; }
  .hwm-meta{ margin-top:6px; }
  .hwm-bio{ margin-top:22px; }
}
@container hero-intro (max-width:320px){
  .hw-mock{ padding-top:12px; }
  .hwm-avatar{ width:32px; height:32px; }
  .hwm-name{ margin-top:10px; font-size:20px; }
  .hwm-bio{ margin-top:16px; line-height:1.7; }
}

/* 首屏中央那层巨型描边拼音（.hero-ghost / YANG SEN）已按用户要求删除，
   样式与出场动效一并清掉。别再加回来 —— 首屏现在靠渐变 + 山景撑画面。 */

.hero-inner{
  position:relative;
  z-index:6;
  align-self:start;                       /* 2026-09-15：文案移到上中部（参考站），不再垂直居中 */
  padding-top:clamp(10px, 3vh, 40px);     /* 与顶部导航之间的呼吸位（原来首屏居中，不需要这一条） */
  text-align:center;          /* 首屏文字整体居中（参考火山引擎首屏） */
}

/* ① 首屏文案网格（2026-09-12 二次改版，按参考图 1:1）
     两栏、列宽由内容撑开、整块居中：
       顶行 .tp-center「2015-2026 Design」横跨两栏、相对页面中轴居中（2026-09-12 第三次微调）
       主行两格：左 .ht-word「YANGSEN」｜ 右 .ht-stack（2026+工具行 / 中文主标） */
.hero-head{
  /* ★ 2026-09-15 用户要求「标题模块整体缩小至 80%」，第 2 轮又要求「再缩小至现在的 80%」。
     → .8 × .8 = .64（相对最初版）。用一个缩放旋钮 --hts 乘掉这一块里所有字号与间距（改一个数整块等比缩）；
     字号外面套了 max(14px, …) —— 缩到窄屏时 clamp 的下限会掉到 11px，那违反「全站最小字号 14px」。 */
  --hts:.64;
  display:grid;
  grid-template-columns:max-content max-content;
  column-gap:calc(clamp(12px, 1.5vw, 30px) * var(--hts));
  /* 2026-09-15：顶行到主标的间距 73 → 48，把省下的高度让给下方的平台窗口。
     ⚠️ 只动「间距」，字号一个都没改（用户要求「只把现有排版搬上去」）。 */
  row-gap:calc(clamp(18px, 2.6vw, 48px) * var(--hts));
  justify-content:center;                /* 整块水平居中 */
  align-items:end;                       /* 第 2 行：拉丁标与中文行底边对齐 */
  text-align:left;
}
.hero-title{ display:contents; }         /* h1 不生成盒子，两个子元素直接入网格 */
.ht-word{ grid-column:1; grid-row:2; }
.ht-stack{ grid-column:2; grid-row:2; }

/* 顶行元信息（2026-09-12 第三次微调：原 .tp-a「中国·重庆」+ .tp-b「2015 - 2026」两段
   合并为一整行 .tp-center「2015-2026 Design」，横跨两栏、相对**页面中轴**居中。
   字号 30pt = 40px @1920；字体沿用原年份那段的 Passager（整行都是拉丁 + 数字）。
   ⚠️ 它跨两栏 (`grid-column:1 / -1`) + `justify-self:center`：
   因为 .hero-head 整块本身在 shell 里居中（网格中轴 = shell 中轴 = 页面中轴，实测都是 955），
   所以在网格里居中就等于在页面上居中。 */
.hero-topline{
  grid-row:1;
  align-self:baseline;
  /* 1920 × 2.09vw = 40px = 30pt；× --hts（.8）后 32px。max() 是 14px 下限保护 */
  font-size:max(14px, calc(clamp(14px, 2.09vw, 40px) * var(--hts)));
  white-space:nowrap;
}
.tp-center{
  grid-column:1 / -1;
  justify-self:center;
  text-align:center;
  font-family:var(--font-passager);
  font-weight:400;
  letter-spacing:.03em;
  color:var(--ink-2);
}
/* .dotsep 已随两段式顶行一起下线（保留槽位，将来想加分隔点还能用） */
.hero-topline .dotsep{
  width:3px; height:3px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px var(--accent-soft);
}

/* ② 左栏：巨型拉丁标「YANGSEN」（2026-09-12 第三次微调：去掉中间的空格）。
   Passager 的大写字母本身上下留白偏大，
   line-height 收到 .78 让墨迹框收紧，这样 align-items:end 对齐的才是「看起来的底边」。
   letter-spacing .07em 是照参考图配的：Passager 默认字距偏紧，放开后整词约占视口 48%。 */
.ht-word{
  position:relative;
  font-family:var(--font-passager);
  /* 1920 × 8.34vw = 160px = 120pt；× --hts（.8）后 128px */
  font-size:max(14px, calc(clamp(44px, 8.34vw, 160px) * var(--hts)));
  font-weight:400;
  line-height:.78;
  letter-spacing:.07em;
  color:var(--ink);
  white-space:nowrap;
}
/* TechText overlays the measured DOM wordmark without changing its grid footprint. */
.ht-word > .mask-i{ position:relative; }
.ht-word .tech-text-source{ display:block; }
.ht-word .tech-text{
  position:absolute;
  inset:-40px -32px;
  display:block;
  touch-action:pan-y;
  user-select:none;
  -webkit-user-select:none;
}
.ht-word .tech-text-canvas{
  display:block;
  width:100%;
  height:100%;
}
.ht-word.is-tech-ready{ overflow:visible; }
.ht-word.is-tech-ready .tech-text-source{ visibility:hidden; }
/* 右：两行堆叠（上=年份+工具，下=中文主标），行间距按参考图的紧凑度取 */
.ht-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:calc(clamp(4px, .55vw, 11px) * var(--hts));
  padding-bottom:.06em;                /* 微调：让中文行的墨迹底与左侧大写字母底齐平 */
}
/* 上行：年份（Passager）+ 工具行（MiSans ExtraLight），按基线对齐 */
.ht-sub{
  display:flex;
  align-items:baseline;
  gap:calc(clamp(8px, .9vw, 18px) * var(--hts));
}
.ht-year{
  font-family:var(--font-passager);
  font-size:max(14px, calc(clamp(15px, 2.09vw, 40px) * var(--hts)));
  font-weight:400;
  line-height:1;
  letter-spacing:.01em;
  color:var(--ink);
}
.ht-en{
  font-family:var(--font-misans-xlight);
  /* ⚠️ 原来是 clamp(11px, 1.15vw, 22px) —— 上限 22 × .8 = 17.6px 没问题，
     但下限 11px 本身就已经低于「全站最小 14px」，再乘 .8 会掉到 8.8px。
     所以这里把下限抬到 14px（用户 2026-09-15 要求整块缩 80%，但 14px 这条铁律不让）。 */
  font-size:max(14px, calc(clamp(14px, 1.15vw, 22px) * var(--hts)));
  font-weight:200;
  line-height:1.4;
  letter-spacing:.01em;
  color:var(--ink-2);
}
/* 下行：中文主标 MiSans Semibold。
   参考图里「杨森·」是墨色、「UI设计师」是主色 —— 拆色见 index.html 的 <em class="ht-role">。 */
.ht-cn{
  font-family:var(--font-misans-semi);
  font-size:max(14px, calc(clamp(28px, 4.17vw, 80px) * var(--hts)));
  font-weight:600;
  line-height:1;
  letter-spacing:-.01em;
  color:var(--ink);
}
.ht-cn .ht-role{
  font-style:normal;                   /* <em> 默认斜体，这里要正体 */
  color:var(--accent-ink);
}

.hero-actions{
  /* 2026-09-15：主标到胶囊的距离 110 → 66，为了把高度让给下方的平台窗口。
     2026-09-16 用户要求「将『在职·求职中』按钮往上挪一点 20px 左右」→ 66 → 46（三个值一起减 20）。
     ⚠️ 依旧**不随 --s 缩**（用户要「布局不变」）。 */
  margin-top:clamp(6px, 2.36vw, 46px);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;                 /* 与上方 .hero-head 同以 shell 中轴居中 */
  gap:14px;
  /* 首屏按钮组的缩放系数（2026-09-12 第四轮：用户要求「整体缩小到 60%，布局不变」）。
     --s:1   → 用户原始稿：外胶囊 499×85 / 内按钮 172×65（距外沿 10）/ 光圈 31 / 文案 24 / 箭头 20
     --s:.6  → 当前：299.4×51 / 103.2×39（距外沿 6）/ 18.6 / 14.4 / 12
     ⚠️ 边框与内边距也一起缩，这样「内按钮距外沿」缩放后仍是精确的 10×s（.6×10 = 6 实测吻合）。
     ⚠️ 只缩按钮本体；外边距、与标题的距离等**布局参数一律不动**。 */
  --s:.6;
}
/* ---- 首屏按钮组（2026-09-12 第三轮按用户给的尺寸重做，第四轮整体缩到 60%）----
   外胶囊内含：左侧「光圈 + 在职 · 求职中」，右侧 172×65（×--s）的实心按钮。
   ⚠️ ≤640px 断点里另有**单独一档绝对值尺寸**（不复用 --s）：窄屏本来就为放得下调小过，
      而且全站最小字号 14px 的约定不允许把文案再缩到 9.6px。 */
.hero-pill{
  position:relative;
  display:flex;
  align-items:center;
  gap:calc(14px * var(--s));
  width:calc(499px * var(--s));
  height:calc(85px * var(--s));
  /* 上下右 9×s + 边框 1×s = 内按钮距外沿 10×s（9+65+9+1+1=85 的原稿比例，缩放后依然自洽） */
  padding:calc(9px * var(--s)) calc(9px * var(--s)) calc(9px * var(--s)) calc(30px * var(--s));
  border:calc(1px * var(--s)) solid rgb(255 255 255 / .16);
  border-radius:100px;
  background:rgb(255 255 255 / .07);     /* 首屏两主题都是深色视频底，故用固定白透明度（不走主题 token） */
  cursor:default;                        /* 它不是按钮，不进 Tab 序 */
}
.hero-status{
  display:inline-flex;
  align-items:center;
  gap:calc(14px * var(--s));
  font-family:var(--font-misans-reg);
  font-size:calc(24px * var(--s));
  font-weight:400;
  letter-spacing:.02em;
  line-height:1;
  color:var(--ink);
  white-space:nowrap;
}
/* 光圈：径向渐变 SVG（中心透明 → 边缘 #00e5e5 /.4），保留闪烁节奏。
   keyframes 首尾都是 opacity:1 —— 这样 reduce-motion 把动画掐掉时停在可见态，不会熄掉。 */
.status-glow{
  flex:none;
  width:calc(31px * var(--s)); height:calc(31px * var(--s));
  animation:statusGlow 1.9s ease-in-out infinite;
}
@keyframes statusGlow{
  0%, 100%{ opacity:1;   transform:scale(1); }
  50%     { opacity:.3;  transform:scale(.88); }
}
/* 首屏查看作品：白底黑字。 */
.hero-cta{
  background:var(--accent);
  box-shadow:none;
  flex:none;
  margin-left:auto;                      /* 推到外胶囊右内侧（padding-right 已留出 9×s） */
  width:calc(172px * var(--s));
  height:calc(65px * var(--s));
  padding:0;
  justify-content:center;
  gap:calc(9px * var(--s));
  font-family:var(--font-misans-reg);
  font-size:calc(24px * var(--s));
  font-weight:400;
  letter-spacing:.02em;
}
.hero-cta:hover{ box-shadow:none; }
.hero-cta svg{ width:calc(20px * var(--s)); height:calc(20px * var(--s)); }
.hero-cta:hover svg{ transform:translateX(calc(7px * var(--s))); }   /* 压过通用 .btn-solid:hover svg 的 5px */

/* 首屏页脚 `.hero-foot`（.hero-meta「方向 / 邮箱」+ .scroll-cue「SCROLL」）已于 2026-09-16
   按用户要求整块删除，HTML 与开场时间线里的 meta / cue 目标一并清掉。
   这里不再留空规则 —— 想恢复的话，元素结构与动画时序都能从当日之前的 git 记录里取。 */

/* ========================================================= 02 个人经历 */
/* 首屏以下共用深色底和蓝紫光晕。黑色渐变接住首屏山景。 */
.page-content{
  --entry-fade-height:clamp(140px, 15vw, 280px);
  --glow-spread:clamp(430px, 58vw, 1040px);
  background-color:#050615;
  background-image:
    linear-gradient(180deg, #000, rgb(0 0 0 / .72) 32%, transparent),
    radial-gradient(ellipse 65% 390px at 100% 40%,
      transparent 70%, rgb(88 97 250 / .04) 75%, rgb(151 130 255 / .14) 81%, transparent 91%),
    radial-gradient(ellipse 80% var(--glow-spread) at 16% 3%,
      rgb(73 64 198 / .50), rgb(44 52 150 / .18) 55%, transparent),
    radial-gradient(ellipse 65% var(--glow-spread) at 103% 26%,
      rgb(100 53 182 / .40), rgb(67 39 128 / .13) 58%, transparent),
    radial-gradient(ellipse 72% var(--glow-spread) at 92% 46%,
      rgb(41 76 215 / .38), rgb(26 48 137 / .16) 56%, transparent),
    radial-gradient(ellipse 65% var(--glow-spread) at 1% 67%,
      rgb(84 49 171 / .30), rgb(54 36 111 / .12) 55%, transparent),
    radial-gradient(ellipse 80% var(--glow-spread) at 60% 99%,
      rgb(66 49 177 / .31), rgb(35 32 107 / .14) 52%, transparent),
    linear-gradient(180deg, #070b20, #050615 39%, #080d24 66%, #050615);
  background-size:100% var(--entry-fade-height), auto, auto, auto, auto, auto, auto, auto;
  background-repeat:no-repeat;
}
/* About: retain the 1000/420 card proportions and existing blue backgrounds. */
.about{ padding-bottom:clamp(48px,4.5vw,88px); }
.about-grid{
  --agw:min(calc(100vw - var(--pad) * 2), 1440px);
  --about-heading-inset:calc(var(--agw) * 32 / 1440);
  --ag-min:14px;
  --ag-line:#4C4A76;
  display:flex;
  align-items:stretch;
  gap:calc(var(--agw) * 20 / 1440);
}
.about-bio{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  min-height:calc(var(--agw) * 420 / 1440);
  overflow:hidden;
  border:0;
  border-radius:calc(var(--agw) * 20 / 1440);
  background:rgb(10 9 42 / .26);
  -webkit-backdrop-filter:blur(18px) saturate(1.15);
  backdrop-filter:blur(18px) saturate(1.15);
  color:#ffffff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:calc(var(--about-heading-inset) + 1px) calc(var(--agw) * 48 / 1440);
  gap:calc(var(--agw) * 20 / 1440);
  container-type:inline-size;
}
.about-bio-bg{
  opacity:.58;
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
}
.about-bio-headline,.about-bio-domains,.about-bio-footer{
  position:relative;
  z-index:1;
  min-width:0;
}
.about-bio-headline{
  font-family:'MiSans Semibold', 'MiSans Light', var(--font-sans);
  font-size:calc(var(--agw) * 44 / 1440);
  font-weight:600;
  line-height:1.16;
  letter-spacing:-.02em;
  color:#fff;
}
.about-bio-headline span{ display:block; white-space:nowrap; }
.about-bio-domains{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.about-bio-domain{ display:flex; flex-direction:column; gap:calc(var(--agw) * 8 / 1440); min-width:0; }
.about-bio-domain + .about-bio-domain{
  border-left:1px solid rgb(255 255 255 / .2);
  padding-left:calc(var(--agw) * 32 / 1440);
}
.about-bio-domain-en{
  font-family:var(--font-misans-semi);
  font-size:max(24px, calc(var(--agw) * 40 / 1440));
  font-weight:600;
  line-height:1;
  color:#fff;
}
.about-bio-domain-cn{
  font-family:var(--font-secondary);
  font-size:14px;
  font-weight:300;
  line-height:1.45;
  color:#fff;
}
.about-bio-footer{
  display:flex;
  align-items:center;
  border-top:1px solid transparent;
  font-family:var(--font-secondary);
  font-size:min(max(14px, calc(var(--agw) * 16 / 1440)), 2.15cqi);
  font-weight:300;
  white-space:nowrap;
  color:#fff;
}
.about-info{
  position:relative;
  flex:none;
  width:calc(var(--agw) * 420 / 1440);
  min-height:calc(var(--agw) * 420 / 1440);
  overflow:hidden;
  border:1px solid transparent;
  border-radius:calc(var(--agw) * 20 / 1440);
  background:rgb(10 9 42 / .26);
  -webkit-backdrop-filter:blur(18px) saturate(1.15);
  backdrop-filter:blur(18px) saturate(1.15);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:max(12px, calc(var(--agw) * 20 / 1440));
  padding:var(--about-heading-inset) calc(var(--agw) * 36 / 1440);
  color:#fff;
}
.about-info::before{
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 90% 72% at 100% 100%, rgb(150 82 175 / .65), transparent),
    linear-gradient(180deg, #06031f, #070327 50%, #130331 75%, #26073e);
  opacity:.58;
}
.about-info-head,.about-info-list{ position:relative; z-index:1; }
.about-info-head{ display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.about-info-name{
  margin-top:0;
  font-family:var(--font-misans-semi);
  font-size:max(26px, calc(var(--agw) * 40 / 1440));
  font-weight:600;
  line-height:1.1;
  color:#fff;
}
.about-info-meta{
  margin-top:calc(var(--agw) * 6 / 1440);
  font-size:14px;
  line-height:1.45;
  color:#fff;
}
.about-info-list{ width:100%; min-width:0; font-family:var(--font-secondary); font-size:14px; font-weight:300; }
/* Match the bottom line boxes of the two side-by-side cards. */
.about-bio-footer,.about-info-row{
  min-height:calc(max(28px, calc(var(--agw) * 44 / 1440)) * 4 / 3);
  padding-block:calc(var(--agw) * 8 / 1440 * 4 / 3);
  line-height:calc(14px * 1.45 * 4 / 3);
}
.about-info-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#fff;
}
.about-info-row + .about-info-row{ border-top:1px solid rgb(255 255 255 / .18); }
.about-info-row dt{ flex:none; }
.about-info-row dd{ min-width:0; margin:0; text-align:right; overflow-wrap:anywhere; }


/* 数据 */
/* Four connected cards, adapted from the FORCE highlights section. */
.portfolio-highlights{
  margin-top:clamp(64px, 6.6vw, 112px);
}
.ph-grid,
.strength-grid{
  position:relative;
  display:grid;
  overflow:hidden;
  border:1px solid rgb(226 232 255 / .24);
  border-radius:18px;
  background:
    linear-gradient(125deg,
      rgb(255 255 255 / .11) 0%,
      rgb(255 255 255 / .025) 34%,
      rgb(151 164 255 / .07) 68%,
      rgb(255 255 255 / .02) 100%),
    rgb(4 6 18 / .24);
  -webkit-backdrop-filter:blur(16px) saturate(120%);
  backdrop-filter:blur(16px) saturate(120%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .18),
    inset 0 -1px 0 rgb(157 174 255 / .10),
    0 20px 64px rgb(0 0 0 / .18);
}
.ph-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
.ph-card{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-width:0;
  min-height:clamp(320px, 24.4vw, 410px);
  padding:clamp(24px, 2.4vw, 40px);
  border-right:1px solid rgb(226 232 255 / .16);
  isolation:isolate;
  background:transparent;
  transition:background-color .45s ease;
}
.ph-card:last-child{ border-right:0; }
.ph-card:hover{ background-color:rgb(224 231 255 / .045); }
.ph-flow{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
}
.ph-card h3,
.ph-card p{
  position:relative;
  z-index:1;
  margin:0;
}
.ph-card h3{
  min-height:3em;
  color:#f5f5f5;
  font-size:clamp(22px, 1.9vw, 32px);
  font-weight:500;
  line-height:1.5;
  letter-spacing:-.025em;
}
.ph-card p{
  margin-top:110px;
  color:#b9bac2;
  font-size:clamp(14px, 1.08vw, 18px);
  font-weight:400;
  line-height:1.6;
  overflow-wrap:break-word;
}
@media (max-width:1100px){
  .ph-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .ph-card{ min-height:320px; padding:30px; }
  .ph-card:nth-child(2){ border-right:0; }
  .ph-card:nth-child(-n + 2){ border-bottom:1px solid rgb(226 232 255 / .16); }
  .ph-card h3{ font-size:26px; }
  .ph-card p{ font-size:15px; }
}
@media (max-width:600px){
  .ph-grid{ grid-template-columns:minmax(0, 1fr); }
  .ph-card{ min-height:270px; padding:28px; border-right:0; }
  .ph-card:not(:last-child){ border-bottom:1px solid rgb(226 232 255 / .16); }
  .ph-card p{ margin-top:72px; }
}
@media (prefers-reduced-motion:reduce){
  .ph-card{ transition:none; }
}

/* Work experience: translucent agenda cards with a blue/violet featured state. */
.timeline{
  --exw:min(calc(100vw - var(--pad) * 2), 1440px);
  --ex-min:14px;
  padding-top:calc(var(--exw) * 105 / 1440);
}
.exp{ padding-bottom:calc(var(--exw) * 33.6 / 1440); }
.exp-body{
  display:flex;
  align-items:flex-start;
  column-gap:calc(var(--exw) * 66 / 1440);
  margin-top:calc(var(--exw) * 56 / 1440);
}
.exp-rail{
  position:sticky;
  top:calc(var(--header-h) + 26px);
  flex:1 1 auto;
  min-width:0;
}
.exp-rail-art{ display:block; }
.exp-rail-cap{
  display:block;
  font-size:14px;
  letter-spacing:.04em;
  color:rgb(233 240 255 / .86);
}
.exp-rail-fig{
  display:block;
  margin-top:24px;
  font-family:var(--font-sans);
  font-size:clamp(44px, 4.45vw, 68px);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.04em;
  white-space:nowrap;
  color:#fff;
}
.exp-rail-groups{ margin-top:44px; }
.exp-group-head{
  padding:0 16px;
  font-size:15px;
  font-weight:400;
  line-height:1.6;
  color:rgb(224 233 255 / .8);
}
.exp-group-list{
  display:flex;
  flex-direction:column;
  row-gap:10px;
  margin-top:24px;
}
.exp-group-list li{ list-style:none; }
.exp-nav{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  min-height:48px;
  padding:12px 30px 12px 16px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  font-family:inherit;
  text-align:left;
  cursor:pointer;
  transition:background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.exp-nav::before{
  content:'';
  position:absolute;
  left:-1px;
  top:50%;
  width:2px;
  height:20px;
  transform:translateY(-50%);
  background:rgb(187 208 255 / .4);
  transition:background-color .3s var(--ease);
}
.exp-nav::after{
  content:'';
  position:absolute;
  right:16px;
  top:50%;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:7px solid #fff;
  transform:translateY(-50%);
  opacity:0;
  transition:opacity .3s var(--ease);
}
.exp-nav-time,.exp-nav-org{
  font-size:14px;
  font-weight:400;
  line-height:1.5;
  color:rgb(231 238 255 / .85);
  transition:color .3s var(--ease);
}
.exp-nav-time{ flex:none; font-variant-numeric:tabular-nums; }
.exp-nav-org{ min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.exp-nav:hover{ background-color:rgb(182 201 255 / .07); }
.exp-nav.is-active{
  background:linear-gradient(180deg, rgb(209 222 255 / .15), rgb(112 139 255 / .03) 58%, rgb(143 159 255 / .12)), rgb(23 46 142 / .25);
  box-shadow:inset 0 1px 12px rgb(185 200 255 / .19), 0 5px 18px rgb(4 13 73 / .12);
  border-color:rgb(184 203 255 / .1);
}
.exp-nav.is-active::before{ background:rgb(225 235 255 / .7); }
.exp-nav.is-active::after{ opacity:1; }
.exp-nav.is-active .exp-nav-time,.exp-nav.is-active .exp-nav-org{ color:#fff; }
.exp-nav:focus-visible,.exp-cta:focus-visible{ outline:2px solid #c8d5ff; outline-offset:4px; }
.exp-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:164px;
  min-height:56px;
  margin-top:50px;
  padding:14px 24px;
  border-radius:100px;
  background:
    radial-gradient(ellipse at 100% 110%, #a78aff 0%, transparent 54%),
    linear-gradient(120deg, #071a78 15%, #163df4 78%, #7355ff);
  box-shadow:inset 0 2px 5px rgb(166 194 255 / .18);
  font-size:16px;
  font-weight:500;
  color:#fff;
  transition:box-shadow .3s var(--ease);
}
.exp-cta::after{ content:'→'; font-size:24px; line-height:1; transition:transform .3s var(--ease); }
.exp-cta:hover{ box-shadow:inset 0 2px 7px rgb(166 194 255 / .32); }
.exp-cta:hover::after{ transform:translateX(3px); }
.exp-stage{ flex:0 0 calc(var(--exw) * 990 / 1440); min-width:0; }
.exp-block-rows{ display:flex; flex-direction:column; gap:20px; margin-top:0; }
.exp-card{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:clamp(136px, 11.25vw, 162px) minmax(0, 1fr) 52px 122px;
  grid-template-rows:auto;
  align-items:center;
  column-gap:20px;
  min-height:132px;
  padding:26px 32px;
  border:1px solid rgb(179 199 255 / .07);
  border-radius:16px;
  background:linear-gradient(110deg, rgb(126 158 255 / .13), rgb(190 191 255 / .08));
  transition:min-height .45s var(--ease-out), border-color .4s var(--ease);
}
.exp-card::after{
  content:'';
  position:absolute;
  inset:-1px;
  z-index:-1;
  border-radius:inherit;
  background:radial-gradient(ellipse at 102% 8%, rgb(235 235 255 / .68), transparent 37%),
    linear-gradient(115deg, #5b2cee 0%, #1934df 46%, #6552f4 76%, #c3b9fb 100%);
  opacity:0;
  transition:opacity .45s var(--ease);
  pointer-events:none;
}
.exp-card-main,.exp-card-who{ display:contents; }
.exp-card-time{
  grid-column:1;
  grid-row:1;
  font-size:15px;
  font-weight:400;
  line-height:1.5;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  color:#f4f7ff;
  transition:font-size .45s var(--ease-out);
}
.exp-card-text{ grid-column:2; grid-row:1; min-width:0; }
.exp-card-org{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  font-size:20px;
  font-weight:500;
  line-height:1.5;
  color:#fff;
  transition:font-size .45s var(--ease-out);
}
.exp-card-points{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  max-height:0;
  margin-top:0;
  font-size:15px;
  line-height:1.7;
  color:rgb(241 244 255 / .94);
  opacity:0;
  transition:max-height .45s var(--ease-out), margin-top .45s var(--ease-out), opacity .3s var(--ease);
}
.exp-card-profession{
  grid-column:3;
  grid-row:1;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  justify-self:end;
  gap:4px;
  width:52px;
  height:52px;
  min-width:0;
  container-type:inline-size;
  color:rgb(255 255 255 / .8);
  font-family:'Space Grotesk', Arial, sans-serif;
  text-align:right;
  text-shadow:none;
  -webkit-text-stroke:0;
  user-select:none;
  pointer-events:none;
}
.exp-card-profession-main,
.exp-card-profession-sub{
  display:block;
  flex:none;
  width:max-content;
  white-space:nowrap;
  font-synthesis:none;
}
.exp-card-profession-main{
  font-size:32px;
  font-weight:700;
  line-height:.82;
  letter-spacing:-.04em;
}
.exp-card-profession-sub{
  font-size:8px;
  font-weight:400;
  line-height:1;
  letter-spacing:.7px;
}
.exp-card-profession--mixed .exp-card-profession-main{
  font-size:7px;
  letter-spacing:0;
}
.exp-card-who-text{ grid-column:4; grid-row:1; min-width:0; }
.exp-card-role{ font-size:16px; font-weight:500; line-height:1.5; color:#fff; }
.exp-card-desc{ margin-top:4px; font-size:14px; line-height:1.5; color:rgb(215 226 255 / .78); }
@media (min-width:981px){
  .exp-card.is-active{
    min-height:254px;
    grid-template-rows:1fr auto 1fr;
    border-color:rgb(204 210 255 / .25);
  }
  .exp-card.is-active::after{ opacity:1; }
  .exp-card.is-active .exp-card-time{
    grid-row:1 / 4;
    align-self:start;
    padding-top:8px;
    font-size:18px;
  }
  .exp-card.is-active .exp-card-text{ grid-row:1 / 3; align-self:center; }
  .exp-card.is-active .exp-card-org{ font-size:25px; -webkit-line-clamp:unset; }
  .exp-card.is-active .exp-card-points{ max-height:240px; margin-top:12px; opacity:1; -webkit-line-clamp:unset; }
  .exp-card.is-active .exp-card-who-text{ grid-column:2; grid-row:3; align-self:start; padding-top:14px; }
  .exp-card.is-active .exp-card-profession{
    grid-column:3 / 5;
    grid-row:1 / 4;
    width:100%;
    height:112px;
    gap:8px;
  }
  .exp-card.is-active .exp-card-profession-main{
    font-size:88px;
    font-size:clamp(64px, 50cqi, 96px);
  }
  .exp-card.is-active .exp-card-profession-sub{
    font-size:20px;
    font-size:clamp(14px, 11cqi, 22px);
    letter-spacing:clamp(2px, 1.3cqi, 3px);
  }
  .exp-card.is-active .exp-card-profession--mixed .exp-card-profession-main{
    font-size:24px;
    font-size:clamp(18px, 14cqi, 28px);
    letter-spacing:0;
  }
}
/* Pointer, click and keyboard all share one persistent active card. */
.exp-card-toggle{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  border-radius:inherit;
  background:none;
  cursor:pointer;
}
.exp-card-toggle:focus-visible{ outline:2px solid #d9dfff; outline-offset:4px; }
.exp-card-motion-ghost{ position:absolute; z-index:1; pointer-events:none; }
.has-exp-motion .exp-card{ transition:border-color .3s var(--ease); }
.has-exp-motion :is(.exp-card-time,.exp-card-org,.exp-card-points,.exp-card-profession,.exp-card-profession-main,.exp-card-profession-sub){ transition:none; }
@media (min-width:981px) and (max-width:1200px){
  .exp-body{ column-gap:32px; }
  .exp-stage{ flex-basis:calc(100% - 316px); }
  .exp-card{ grid-template-columns:134px minmax(0, 1fr) 42px 98px; column-gap:12px; padding:24px; }
  .exp-card-time{ font-size:14px; }
  .exp-card-org{ font-size:17px; }
  .exp-card-profession{ width:42px; height:42px; }
  .exp-card-profession-main{ font-size:26px; }
  .exp-card-profession-sub{ font-size:6px; letter-spacing:.6px; }
  .exp-card-profession--mixed .exp-card-profession-main{ font-size:6px; }
  .exp-card-role{ font-size:14px; }
}
@media (max-width:980px){
  .timeline{ padding-top:56px; }
  .exp{ padding-bottom:0; }
  .exp-body{ flex-direction:column; gap:30px; margin-top:32px; }
  .exp-rail{ position:static; width:100%; }
  .exp-rail-fig{ font-size:46px; margin-top:14px; }
  .exp-rail-groups{ margin-top:24px; }
  .exp-group-head{ padding-left:0; }
  .exp-group-list{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px 12px; margin-top:16px; }
  .exp-nav{ min-height:52px; }
  .exp-nav-time,.exp-nav-org{ font-size:14px; }
  .exp-cta{ margin-top:24px; min-height:48px; font-size:14px; }
  .exp-stage{ flex:none; width:100%; }
  .exp-block-rows{ gap:14px; }
  .exp-card{ grid-template-columns:minmax(0,1fr) 48px; gap:14px; min-height:0; padding:24px; }
  .exp-card-time{ grid-column:1; grid-row:1; font-size:14px; }
  .exp-card-text{ grid-column:1 / 3; grid-row:2; }
  .exp-card-org{ font-size:20px; -webkit-line-clamp:unset; }
  .exp-card-points{ max-height:none; margin-top:10px; opacity:1; display:block; overflow:visible; }
  .exp-card-profession{ grid-column:2; grid-row:1; width:44px; height:44px; gap:3px; }
  .exp-card-profession-main{ font-size:28px; }
  .exp-card-profession-sub{ font-size:7px; letter-spacing:.5px; }
  .exp-card-profession--mixed .exp-card-profession-main{ font-size:6px; }
  .exp-card-who-text{ grid-column:1 / 3; grid-row:3; }
  .exp-card-role{ font-size:15px; }
  .exp-card-desc{ display:inline; margin-left:8px; }
  .exp-card-who-text .exp-card-role{ display:inline; }
  .exp-card.is-active::after{ opacity:1; }
  .exp-card::after{ background:linear-gradient(115deg, #4b26ce 0%, #1a33c5 60%, #7760df 100%); }
}
@media (max-width:600px){
  .exp-group-list{ grid-template-columns:minmax(0,1fr); gap:6px; }
  .exp-nav{ min-height:48px; }
  .exp-card{ padding:20px; }
  .exp-card-org{ font-size:18px; }
  .exp-card-points{ font-size:14px; }
}
@media (prefers-reduced-motion:reduce){
  .exp-nav,.exp-nav::after,.exp-cta,.exp-cta::after,.exp-card,.exp-card::after,
  .exp-card-time,.exp-card-org,.exp-card-points,.exp-card-profession{ transition:none; }
}


/* ===================== 作品查看：横向大卡片与作品标签 ===================== */
.showcase{
  --arc-inset:clamp(22px,3.9vw,62px);
  --arc-peak:12px;
  /* Halve the space above the arc while keeping its distance from the heading. */
  --arc-lift:calc((var(--arc-inset) + var(--arc-peak)) / 2);
  padding-top:calc(clamp(132px,15vw,226px) - var(--arc-lift));
  padding-bottom:clamp(52px,4.6vw,88px);
  overflow-x:clip;
}
.showcase::before{
  --arc-radius:clamp(300px,43vw,680px);
  content:'';
  position:absolute;
  inset:calc(var(--arc-inset) - var(--arc-lift)) 0 auto;
  height:clamp(82px,11vw,165px);
  background:radial-gradient(
    ellipse min(66vw,1040px) var(--arc-radius) at 50% calc(var(--arc-radius) + var(--arc-peak)),
    rgb(12 27 100 / .24) 82%,
    rgb(24 47 153 / .43) 91%,
    rgb(72 59 193 / .64) 96.5%,
    rgb(128 83 239 / .88) 98.7%,
    rgb(211 175 255 / .95) 99.7%,
    rgb(170 126 255 / .24) 100.1%,
    transparent 100.7%
  );
  mask-image:radial-gradient(ellipse 58% 100% at 50% 0%, #000 28%, rgb(0 0 0 / .52) 65%, transparent 100%);
  pointer-events:none;
}
.showcase > .shell{ width:100%; }
.pc-tabs{
  position:relative; width:min(calc(100% - var(--pad) * 2), var(--shell));
  display:flex; align-items:center; justify-content:safe center; gap:clamp(20px,2.2vw,40px);
  overflow-x:auto; scrollbar-width:none; margin:0 auto 36px; padding:0 2px 8px;
}
.pc-tabs::-webkit-scrollbar{ display:none; }
.pc-tab{
  flex:none; position:relative; border:0; border-bottom:2px solid transparent;
  padding:0 0 12px; background:none; color:#85868e;
  font-family:var(--font-secondary); font-size:16px; font-weight:300; line-height:1.5;
  cursor:pointer; white-space:nowrap; transition:color .25s ease,border-color .25s ease;
}
.pc-tab:hover,.pc-tab[aria-selected="true"]{ color:#fff; }
.pc-tab[aria-selected="true"]{ border-bottom-color:#fff; font-family:'MiSans Semibold',var(--font-secondary); font-weight:600; }
.pc-viewport{
  --pc-inset:max(var(--pad), calc((100% - var(--shell)) / 2));
  --pc-card-width:min(1122px, 100cqi - clamp(104px,18vw,240px));
  --pc-unit:calc(var(--pc-card-width) / 1122);
  --pc-gap:clamp(16px,1vw,20px);
  --pc-index:0;
  position:relative; container-type:inline-size; overflow:hidden; touch-action:pan-y pinch-zoom;
}
.pc-peek{
  position:absolute; inset-block:0; z-index:2;
  padding:0; border:0; background:transparent; cursor:pointer;
}
.pc-peek--previous{ left:0; width:max(0px, calc(var(--pc-inset) - var(--pc-gap))); }
.pc-peek--next{ right:0; width:max(0px, calc(100% - var(--pc-inset) - var(--pc-card-width) - var(--pc-gap))); }
.pc-peek[hidden]{ display:none; }
.pc-track{
  --pc-step:calc(var(--pc-card-width) + var(--pc-gap));
  --pc-slide-time:.42s;
  --pc-slide-ease:cubic-bezier(.5,0,.8,.55);
  display:flex; gap:var(--pc-gap);
  transform:translateX(calc(var(--pc-inset) - var(--pc-index) * var(--pc-step)));
  transition:transform var(--pc-slide-time) var(--pc-slide-ease);
}
.pc-track.is-looping{ transition:none; animation:pc-loop-forward var(--pc-slide-time) var(--pc-slide-ease); }
@keyframes pc-loop-forward{
  from{ transform:translateX(calc(var(--pc-inset) + var(--pc-step))); }
  to{ transform:translateX(var(--pc-inset)); }
}
.pc-card{
  position:relative; flex:0 0 var(--pc-card-width); min-width:0;
  display:grid; grid-template-columns:minmax(0,3fr) minmax(0,5fr);
  gap:calc(82 * var(--pc-unit)); padding:calc(40 * var(--pc-unit));
  min-height:calc(453 * var(--pc-unit)); border:0; border-radius:20px;
  background:linear-gradient(180deg,var(--pc-tint,#cbe3ff),var(--pc-wash,#edfdff)); color:#0b0d11;
}
.pc-card.pc-loop-card{
  position:absolute; inset-block:0;
  right:calc(100% + var(--pc-gap) + var(--pc-loop-offset) * var(--pc-step));
  width:var(--pc-card-width);
  animation:pc-loop-fade var(--pc-slide-time) ease-in both;
}
@keyframes pc-loop-fade{
  0%, 40%{ opacity:1; }
  100%{ opacity:0; }
}
.pc-copy{ display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
/* Size and align the visible artwork inside the original PNG canvases. */
.pc-logo{ position:relative; display:block; flex:none; width:min(100%,120px); height:32px; overflow:hidden; }
.pc-logo img{
  position:absolute; top:0; left:0;
  width:var(--logo-width,100%); max-width:none; height:auto;
  translate:var(--logo-offset,0 0); filter:brightness(0);
}
.pc-logo--fit img{
  width:100%; height:100%; object-fit:contain; object-position:left center;
  translate:none; filter:none;
}
.pc-logo--shubang img{
  /* Align the artwork inside this logo's oversized transparent canvas. */
  top:50%; left:-9.2%; width:118.4%; height:auto; translate:0 -45.44%;
}
.pc-logo--color img{ filter:none; }
.pc-logo--white-ink img{ filter:url(#project-logo-dark-ink); }
.pc-name{ margin:calc(49 * var(--pc-unit)) 0 0; font-family:var(--font-misans-reg); font-size:clamp(18.67px,2vw,29.33px); font-weight:400; line-height:1.35; overflow-wrap:anywhere; }
.pc-desc{
  display:grid; row-gap:8px; width:100%; margin:calc(31 * var(--pc-unit)) 0 20px; padding:0;
  list-style:none; color:#3b4657; font-family:var(--font-misans-reg);
  font-size:clamp(14px,1.2vw,16px); line-height:1.55;
}
.pc-desc li{ display:grid; grid-template-columns:10px minmax(0,1fr); align-items:baseline; gap:11px; }
.pc-desc li::before{
  content:""; width:9px; height:5px; border:solid currentColor; border-width:0 0 1px 1px;
  transform:translateY(-.18em) rotate(-45deg);
}
.pc-cta{
  display:inline-flex; align-items:center; justify-content:center; gap:16px;
  width:min(100%,max(112px,calc(161 * var(--pc-unit)))); min-height:max(44px,calc(55 * var(--pc-unit)));
  margin-top:auto; padding:8px 14px; border-radius:10px;
  background:#0b0d0d; color:#fff; font-family:var(--font-secondary); font-size:18px; font-weight:300;
}
.pc-arrow{ width:20px; height:20px; transition:transform .25s ease; }
.pc-cta:hover .pc-arrow{ transform:translateX(4px); }
.pc-preview{ position:relative; align-self:center; width:100%; aspect-ratio:600 / 373; min-width:0; min-height:0; border:0; padding:0; border-radius:12px; overflow:hidden; cursor:pointer; }
.pc-bg{ position:absolute; inset:0; display:block; background-size:cover; background-repeat:no-repeat; background-position:center; transition:transform .5s cubic-bezier(.22,1,.36,1); }
.pc-preview:hover .pc-bg{ transform:scale(1.025); }
.pc-tab:focus-visible,.pc-preview:focus-visible,.pc-cta:focus-visible{ outline:2px solid #00e5e5; outline-offset:4px; }
.pc-card:focus{ outline:none; }
.pc-status{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:760px){
  .pc-tabs{ justify-content:flex-start; gap:24px; margin-bottom:28px; }
  .pc-viewport{ --pc-card-width:calc(100% - 52px); --pc-gap:12px; }
  .pc-card{ grid-template-columns:minmax(0,1fr); grid-template-rows:1fr auto; gap:20px; min-height:0; padding:clamp(16px,5vw,24px); }
  .pc-name{ margin:16px 0 0; font-size:17.33px; }
  .pc-desc{ margin:10px 0 16px; }
  .pc-cta{ width:min(100%,116px); min-height:44px; padding:8px 14px; gap:8px; font-size:14px; }
}
@media(prefers-reduced-motion:reduce){
  .pc-track,.pc-tab,.pc-bg,.pc-arrow{ transition:none; }
  .pc-preview:hover .pc-bg{ transform:none; }
}

/* ========================================================= 04 个人优势 */
.strength{ padding-block-end:clamp(36px, 4vw, 72px); }
.strength-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1px;
}
.cell{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:clamp(30px, 3vw, 54px);
  isolation:isolate;
  box-shadow:1px 0 0 rgb(226 232 255 / .16), 0 1px 0 rgb(226 232 255 / .16);
  transition:background-color .45s ease;
}
.cell::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(circle, rgb(217 225 255 / .56) 0.65px, transparent 1px) 0 0 / 4px 4px;
  mask-image:radial-gradient(ellipse at 0% 4%, #000, transparent 58%),
    radial-gradient(ellipse at 100% 92%, #000, transparent 54%);
  opacity:.35;
  transition:opacity .45s ease;
}
.cell:nth-child(even)::before{
  mask-image:radial-gradient(ellipse at 100% 5%, #000, transparent 58%),
    radial-gradient(ellipse at 0% 94%, #000, transparent 54%);
}
.cell h3{
  margin:0 0 15px;
  color:#f5f5f5;
  font-size:clamp(19px, 1.55vw, 24px);
  font-weight:600;
  letter-spacing:-.012em;
}
.cell p{
  margin:0 0 26px;
  font-size:14px;
  line-height:1.92;
  color:#b9bac8;
}
.cell .tags{ margin-top:auto; }
.cell .tags li{
  color:#bec5db;
  border-color:rgb(226 232 255 / .22);
  background-color:rgb(10 13 30 / .28);
}
@media (hover:hover){
  .cell:hover{ background-color:rgb(224 231 255 / .065); }
  .cell:hover::before{ opacity:.62; }
  .cell:hover .tags li{
    color:#f0f2ff;
    border-color:rgb(226 232 255 / .42);
  }
}
@media (prefers-reduced-motion:reduce){
  .cell,.cell::before,.cell .tags li{ transition:none; }
}

/* ======================================================= 05 联系方式 */
.contact{
  padding-block:0;
  overflow:hidden;
  background:#0f1014;
}
.contact-glitch{
  position:relative;
  display:inline-block;
  max-width:100%;
}
.contact-glitch > span{ display:block; }
.contact-glitch .contact-glitch-slice{
  position:absolute;
  inset:0;
  visibility:hidden;
  pointer-events:none;
}
.contact-glitch.is-glitching .contact-glitch-slice{ visibility:visible; }
.contact-glitch-slice::before{ content:attr(data-text); }
.contact-inner{
  position:relative;
  z-index:2;
  padding-block:clamp(28px, 3vw, 56px) clamp(24px, 3vw, 40px);
}
.contact-identity{
  display:inline-block;
  max-width:100%;
  margin:0;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
  font-family:var(--font-display);
  font-size:clamp(22px, 2.5vw, 46px);
  font-weight:500;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
  color:var(--ink);
}
.contact-cols{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:32px;
  margin-top:clamp(56px, 5.6vw, 96px);
  padding-top:36px;
  border-top:1px solid var(--line);
}
.contact-cols span{
  display:block;
  margin-bottom:13px;
  font-family:var(--font-mono);
  font-size:14px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--ink-3);
}
.contact-cols p{
  font-size:15.5px;
  color:var(--ink);
  overflow-wrap:anywhere;
}

.site-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  margin-top:clamp(64px, 6.4vw, 120px);
  padding-top:28px;
  border-top:1px solid var(--line-soft);
  font-family:var(--font-mono);
  font-size:14px;
  letter-spacing:.12em;
  color:var(--ink-3);
}
.to-top{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--ink-2);
  transition:color .35s var(--ease);
}
.to-top span{ transition:transform .45s var(--ease-out); }
.to-top:hover{ color:var(--accent-ink); }
.to-top:hover span{ transform:translateY(-5px); }

/* ============================================================== 动效
   动效由 assets/js/animations.js（GSAP + ScrollTrigger）全权接管。
   这里的 CSS 只管三件事：
   1. 只有「有 JS」时才把 [data-reveal] 藏起来 —— 无 JS 时内容照常可读；
   2. 提供遮罩行 / 视差层这两个 GSAP 依赖的结构类；
   3. 兜底：window.gsap 缺失时 main.js 会给所有 [data-reveal] 加 .is-in。
   ========================================================================= */
[data-reveal]{ opacity:1; }
.has-js [data-reveal]{ opacity:0; }
[data-reveal].is-in{ opacity:1; }

/* 遮罩行：GSAP 把标题内容包进 .mask-i，父级 overflow:hidden 裁掉越过边界的部分。
   padding-bottom 与 margin-bottom 一正一负：给西文下伸部（g / y）和行高 1.0 的
   中文留出余量，又不改变实际占位高度。 */
.has-mask{
  display:block;
  overflow:hidden;
  /* 上下各留一行余量（正 padding + 等量负 margin，净占位不变）：
     2026-09-12 实测 Passager 字面墨迹比 .78 行框高出 14px（160px 字号），
     只留 padding-bottom 会把 YANG SEN 顶部裁掉 —— 顶部 .12em 正好兜住。 */
  padding-top:.12em;
  margin-top:-.12em;
  padding-bottom:.16em;
  margin-bottom:-.16em;
}
.has-mask > .mask-i{
  display:block;
  /* 刻意不写 will-change:transform —— 全站有 40 多行标题，
     常驻提升会白占几十个合成层。由 GSAP 在动画前后临时挂/撤。 */
}

@keyframes pulse{
  0%,100%{ opacity:1; }
  50%{ opacity:.32; }
}
/* @keyframes marquee 随跑马灯一起删除（2026-09-17） */

/* ========================================================== 响应式兜底 */

@media (max-width:1300px){
  :root{ --header-h:76px; }
  /* 关于模块已改成 Figma 的「1440 两栏」（.about-bio + .about-info），
     内部所有尺寸都由 --agw 等比缩放 → ≤1300 不需要单独处理；折行在 ≤980 那一档。
     （原来这里的 .about-card--wide / .portrait 两条已随改版删除。） */
  .strength-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  /* 工作经历（Figma「Section (火山引擎-你的AI云)」）：
     内部所有尺寸都由 --exw 等比缩放 → ≤1300 不需要单独处理；折行在 ≤980 那一档。
     （原来这里的 .exp-rail / .exp-body / .exp-card 三条 clamp 已随改版删除。） */
}
@media (max-width:980px){
  .nav{ display:none; }



  /* Keep the existing stacked cards on small screens; content stays above the image. */
  .about-grid{ flex-direction:column; align-items:stretch; gap:16px; }
  .about-bio{ min-height:0; border-radius:18px; padding:28px 24px; gap:28px; }
  .about-bio-headline{ font-size:clamp(20px,5vw,38px); font-size:min(38px,8.6cqi); }
  .about-bio-domains{ width:100%; }
  .about-bio-domain{ gap:8px; }
  .about-bio-domain + .about-bio-domain{ padding-left:12px; }
  .about-bio-domain-en{ font-size:clamp(20px,8cqi,40px); }
  .about-bio-footer{ display:block; min-height:0; padding:0; border:0; font-size:14px; line-height:2; white-space:normal; }
  .about-info{ width:auto; min-height:0; border-radius:18px; padding:28px 24px; gap:28px; }
  .about-info-name{ margin-top:0; font-size:36px; }
  .about-info-meta{ margin-top:8px; }
  .about-info-row{ min-height:calc(44px * 4 / 3); padding-block:calc(10px * 4 / 3); }
  .strength-grid{ grid-template-columns:1fr; }
  .contact-cols{ grid-template-columns:repeat(2, 1fr); gap:28px 24px; }

}

/* 手机：首屏两栏放不下 → 拆成单栏、全部居中堆叠 */
@media (max-width:640px){
  .hero-head{
    grid-template-columns:1fr;
    justify-items:center;
    row-gap:clamp(12px, 2.4vw, 20px);
  }
  /* 顶行现在只有一项（.tp-center，跨整行居中），下面两行顺次下移 */
  .tp-center{ grid-row:1; }
  .ht-word{ grid-column:1; grid-row:2; }
  .ht-stack{ grid-column:1; grid-row:3; align-items:center; padding-bottom:0; }
  .ht-cn{ white-space:nowrap; }
  /* 首屏按钮组：上方是用户给的绝对尺寸（499×85 / 172×65），窄屏放不下 → 等比缩一档 */
  .hero-pill{
    width:100%;
    max-width:499px;
    height:64px;
    padding:8px 8px 8px 20px;
    gap:10px;
  }
  .hero-status{ font-size:16px; gap:10px; }
  .status-glow{ width:22px; height:22px; }
  .hero-cta{ width:132px; height:48px; font-size:16px; gap:6px; }
  .hero-cta svg{ width:15px; height:15px; }
  .hero-cta:hover svg{ transform:translateX(5px); }
  /* 首屏平台窗口（2026-09-15）：手机上文案块矮很多（单列 ~300px），
     480px 的高度预算过于保守 → 收到 330px（2026-09-15 第 4 轮从 420 再收到 330）。
     为什么要再收：--hw-grow 在「宽度被高度约束」时恒等于 0，而 390×667 这类矮手机上
     348.7 恰好是被高度算出来的 → 窗口一点没加高，内容反而溢出可见区（实测被遮 62px）。
     收到 330 后矮手机也能拿到完整加高（350×337），390×844 则完全不受影响（本来就取 350 宽）。
     ⚠️ 只覆盖 --hw-budget / --hw-gutter（宽度与高度增量都从它俩派生），别再写一遍 --hw-w。
     左栏保持 232/960 的比例不再收窄 —— 字号有 14px 下限，再窄就放不下了。 */
  .hero-window{
    --hw-budget:330px;
    --hw-gutter:40px;
  }
  .hw-rail{ padding:calc(var(--hw-w) * 18 / 960) calc(var(--hw-w) * 11 / 960); gap:calc(var(--hw-w) * 14 / 960); }
  /* ⚠️ 手机上模拟页要单独钉到面板顶部（下限 10px）。
     原因：面板高 = --hw-w×668/960，手机上只有 243px，而内容因为 14px 字号下限有 236px 高 ——
     padding 稍微一大就把简介顶出面板底（被 overflow:hidden 裁掉）。
     这里不再走主规则那个 max(10px, 17% − …) 算式。 */
}

/* 尊重系统的减少动效偏好：不播开场遮罩，所有内容直接到位 */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .intro{ display:none !important; }
  [data-reveal],
  .has-js [data-reveal]{ opacity:1 !important; }
}

/* ============================================================================
   主题 · 白天 —— 已于 2026-09-15 整体删除
   ---------------------------------------------------------------------------
   这一节原来集中放「夜间规则里散落字面量的白天对应值」，统一带 `html[data-theme="light"]` 前缀。
   用户要求移除主题切换、只保留夜间，所以整节连同 `<head>` 的 data-theme 就位脚本、
   main.js 的主题节、导航上的切换按钮一起删掉了。
   ⚠️ 回退备份：`.workbuddy/_backup/style.css.before-theme-strip`（完整原文件）。
   ========================================================================== */

/* ⚠️ 2026-09-15 改动：原来这里有一条把首屏页脚改回深色文字的例外
   （理由是「页脚落在压暗纱淡出的白带上」）。新首屏取消了压暗纱，
   页脚现在压在**近黑的灌木**上 → 必须保持浅色，那条例外已删除、别再按旧记录加回来。
   （2026-09-16：页脚 `.hero-foot` 本身也已被用户要求整块删掉，这条历史仅供参考。）
   同理删掉了 .hero-veil 的白天覆写：新首屏没有压暗纱，明暗由 .hero-grad 自己控制。 */

/* 作品卡片统一使用浅色背景，品牌标识以深色展示以保证对比度。 */

/* 白天那节删掉后这里只剩一句说明 —— 2026-09-12 起 prism / contact-glow 已下线 */

/* 弹窗遮罩 */
.lightbox{
  --lb-scrim:rgb(8 9 9 / .84);
  --lb-line:rgb(255 255 255 / .14);
  position:fixed;
  inset:0;
  z-index:1000;                    /* 高于 .site-header(900)，低于开场遮罩 intro(9997) */
  display:grid;
  place-items:center;
  opacity:0;
  transition:opacity .38s var(--ease);
}
.lightbox[hidden]{ display:none; }
.lightbox.is-open{ opacity:1; }
.lb-backdrop{
  position:absolute;
  inset:0;
  background:var(--lb-scrim);
  -webkit-backdrop-filter:blur(10px) saturate(1.2);
  backdrop-filter:blur(10px) saturate(1.2);
  cursor:zoom-out;
}
.lb-close{
  position:absolute;
  top:clamp(18px, 2.4vw, 34px);
  right:clamp(18px, 2.4vw, 34px);
  width:46px; height:46px;
  display:grid;
  place-items:center;
  border:1px solid var(--lb-line);
  border-radius:100px;             /* 与全站按钮统一的胶囊圆角 */
  background:rgb(255 255 255 / .06);
  color:var(--ink);
  cursor:pointer;
  transition:background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.lb-close svg{ width:20px; height:20px; }
.lb-close:hover{ background:var(--accent); border-color:var(--accent); color:var(--on-accent); }

/* ---------- 联系方式弹窗（点顶部「取得联系」打开，2026-09-12 用户要求）----------
   外层复用上面 .lightbox / .lb-backdrop / .lb-close 那套（遮罩、淡入、关闭按钮、Esc），
   这里只定义中间的卡片。
    ⚠️ 卡片**一直是白底**：微信二维码必须有足够对比度才扫得出来，深色卡上放黑码不可靠；
       所以它按「名片」处理 —— 卡内文字色写死深色，**不跟主题 token**（全站虽是夜间，
       但这张卡是刻意反白的，别顺手改成深色）。 */
.contact-modal .cm-panel{
  position:relative;
  width:min(92vw, 400px);
  padding:clamp(20px, 2.2vw, 30px);
  border:1px solid rgb(19 20 20 / .08);
  border-radius:20px;
  background:#ffffff;
  box-shadow:0 40px 90px -40px rgb(0 0 0 / .55);
  text-align:center;
  opacity:0;
  transform:translateY(10px) scale(.985);
  transition:transform .5s var(--ease-out), opacity .4s var(--ease);
}
.contact-modal.is-open .cm-panel{ opacity:1; transform:none; }
.cm-qr{
  width:clamp(180px, 22vw, 260px);   /* 二维码是主角：占卡片约 2/3 宽 */
  margin:0 auto;
  background:#ffffff;                /* 静默区：源图已按二维码尺寸留 8% 白边，这里再补一层白底更保险 */
  border-radius:12px;
}
.cm-qr img{ display:block; width:100%; height:auto; }
.cm-cap{
  margin:14px 0 0;
  font-size:14px;                    /* 全站最小字号 */
  letter-spacing:.04em;
  color:#6E6E6E;
  display:flex;                      /* 图标 + 文字一行居中（用 flex 而不是 inline 对齐，避免基线抖动） */
  align-items:center;
  justify-content:center;
  gap:6px;
}
/* 微信图标：16px 见方。⛔ 2026-09-17 去绿：SVG 里的官方绿 #24DB5A 已改成 #101211
   （与卡片正文同色）—— 白卡上黑图标比绿图标更贴合黑白搭配，也更清楚。 */
.cm-cap-ico{ flex:none; display:block; width:16px; height:16px; }
.cm-list{
  margin:20px 0 0;
  padding-top:18px;
  border-top:1px solid rgb(19 20 20 / .1);
  display:grid;
  gap:10px;
}
.cm-list > div{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
}
.cm-list dt{ flex:none; font-size:14px; color:#6E6E6E; }
.cm-list dd{ margin:0; font-size:18px; font-weight:500; letter-spacing:.01em; color:#101211; }


/* Secondary copy uses MiSans Light at its native weight.
   Keep headings, large display numerals, navigation and action buttons unchanged. */
:is(
  p:not(.hwm-name),
  .intro-role,
  .ht-en,
  .ht-role,
  .hero-status-text,
  .hero-scroll-cue,
  .about-info-row dt,
  .about-info-row dd,
  .exp-rail-cap,
  .exp-group-head,
  .exp-nav-time,
  .exp-nav-org,
  .exp-card-time,
  .tags li,
  .contact-cols span,
  .site-foot,
  .cm-list dt,
  .cm-list dd
){
  font-family:var(--font-secondary);
  font-weight:300;
  font-synthesis:none;
}
