@charset "UTF-8";
/* ============================================================================
   菲林小栈 FEYLING — 全站样式
   ----------------------------------------------------------------------------
   目录
   01  设计变量（改颜色、字体、间距，先改这里）
   02  重置与基础
   03  工具类
   04  布局：容器 / 12 栏栅格
   05  顶部导航 / 移动端全屏菜单
   06  首屏
   07  子页页头
   08  区块标题 / 列表范式
   09  卡片 / 板块入口 / 封面占位
   10  分类 Tab
   11  文章页正文
   12  友链页
   13  下载页
   14  关于页
   15  404
   16  页脚
   17  动效与页面转场
   18  响应式：768–1199
   19  响应式：<768
   20  prefers-reduced-motion
   ========================================================================== */

/* 01 设计变量
   ---------------------------------------------------------------------------- */
:root {
  /* 颜色 */
  --bg: #0A0A0B;            /* 页面背景 */
  --surface: #121214;       /* 次级面：hover、提示框、卡片底 */
  --surface-2: #17171A;     /* 再深一层的面 */
  --line: #26262A;          /* 主描边 / 分割线 */
  --line-soft: #1B1B1E;     /* 更弱的线 */
  --text: #E8E6E1;          /* 正文 */
  --muted: #8A8781;         /* 次要文字 */
  --dim: #7C7871;           /* 页脚小字 */
  --accent: #C9A227;        /* 暗房琥珀：只用于编号、箭头、hover 下划线 */

  /* 栅格 */
  --max: 1200px;
  --gutter: 40px;           /* 桌面左右留白 */

  /* 字体：不引外链字体，保证双击本地文件也能正常显示 */
  --font-en: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* 节奏 */
  --header-h: 76px;
  --section-y: 120px;
  --radius: 2px;

  /* 缓动 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 02 重置与基础
   ---------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-en), var(--font-cn);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

::selection { background: var(--accent); color: #0A0A0B; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* 页面淡入：只有 JS 可用时才隐藏，避免脚本失效导致白屏 */
.js body { opacity: 0; }
.js body.is-ready { opacity: 1; transition: opacity 0.6s ease; }
.js body.is-leaving { opacity: 0; transition: opacity 0.24s ease; }

/* 03 工具类
   ---------------------------------------------------------------------------- */
.container {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.block-title span {
  font-family: var(--font-cn);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.block-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* 从左展开的下划线，用于正文里的文本链接 */
.u-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  color: var(--text);
}

.u-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.u-link:hover::after { width: 100%; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.btn--solid:hover {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

/* 下载地址还没填时，按钮变灰，点了也不会跳 */
.btn[data-placeholder] { opacity: 0.5; }
.btn[data-placeholder]:hover {
  border-color: var(--line);
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 300;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.empty,
.noscript {
  padding: 40px 0;
  font-size: 13px;
  color: var(--muted);
}

/* 04 布局：12 栏栅格
   ---------------------------------------------------------------------------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

/* 05 顶部导航
   ---------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.brand:hover { opacity: 0.65; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 0;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.3s ease;
}

/* 英文旁边的小号中文：只做注释，不抢主标签 */
.nav a .zh {
  font-family: var(--font-cn);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav a:hover,
.nav a.is-active { color: var(--text); }
.nav a:hover .zh,
.nav a.is-active .zh { color: var(--text); }
.nav a:hover::after,
.nav a.is-active::after { width: 100%; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  color: var(--text);
}

/* 移动端全屏菜单 */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding-bottom: 36px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0s linear 0s;
}

.mobile-menu__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  background: var(--bg);
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  color: var(--text);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-top: auto;
  margin-bottom: auto;
  margin-inline: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
  transition-delay: 0s;
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.07s * var(--i) + 0.12s);
}

.mobile-menu__nav .en {
  font-family: var(--font-en);
  font-size: clamp(28px, 8.6vw, 44px);
  font-weight: 200;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.mobile-menu__nav .cn {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.mobile-menu__nav a.is-active { border-bottom-color: var(--accent); }
.mobile-menu__nav a.is-active .cn { color: var(--text); }

.mobile-menu__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

/* 06 首屏
   ---------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 20px 140px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateY(var(--shift, 0px));
  will-change: transform;
}

.hero__wordmark {
  font-family: var(--font-en);
  font-size: clamp(52px, 20vw, 250px);
  font-weight: 200;
  line-height: 0.88;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--text);
  animation: rise 1.2s var(--ease-out) both 0.05s;
}

.hero__cn {
  margin-top: 24px;
  font-family: var(--font-cn);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.72em;
  text-indent: 0.72em;
  color: var(--muted);
  animation: rise 1.2s var(--ease-out) both 0.2s;
}

.hero__tagline {
  margin-top: 44px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  animation: fade-in 1.4s ease both 0.45s;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
  animation: fade-in 1.2s ease both 0.7s;
}

.hero__scroll:hover { color: var(--text); }

.hero__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--line), transparent);
  transform-origin: top;
  animation: scroll-hint 2.8s var(--ease) infinite;
}

/* 滚动时压暗首屏 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: var(--dim, 0);
  pointer-events: none;
}

/* 07 子页页头
   ---------------------------------------------------------------------------- */
.page-head {
  padding: calc(var(--header-h) + 92px) 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-head__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-head__title {
  margin-top: 22px;
  font-family: var(--font-en);
  font-size: clamp(44px, 7.4vw, 108px);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.page-head__cn {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.page-head__lead {
  max-width: 400px;
  padding-bottom: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.page-body { padding-top: 48px; }

/* 08 区块标题与列表范式
   ---------------------------------------------------------------------------- */
.section { padding-top: var(--section-y); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-head__title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  line-height: 1;
}

.section-head__title .en {
  font-family: var(--font-en);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 200;
  letter-spacing: 0.14em;
}

.section-head__title .cn {
  font-family: var(--font-cn);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.section-head__link svg { transition: transform 0.3s var(--ease); }
.section-head__link:hover { color: var(--accent); }
.section-head__link:hover svg { transform: translateX(4px); }

.post-list { border-bottom: 1px solid var(--line); }

.post-row {
  display: grid;
  grid-template-columns: 54px 118px 84px minmax(0, 1fr) 128px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}

.post-row:last-child { border-bottom: 0; }
.post-row:hover { background: var(--surface); }

.post-row__num {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.post-row__date {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.post-row__cat {
  justify-self: start;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}

.post-row__title {
  min-width: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.post-row__cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.post-row__cta svg { transition: transform 0.35s var(--ease); }
.post-row:hover .post-row__cta { color: var(--accent); }
.post-row:hover .post-row__cta svg { transform: translateX(4px); }

/* 09 卡片 / 板块入口 / 封面占位
   ---------------------------------------------------------------------------- */
.cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: transform 0.8s var(--ease);
  will-change: transform;
}

.cover__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* 细颗粒，模拟胶片质感 */
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 3px);
  opacity: 0.7;
  pointer-events: none;
}

/* 一点侧光 */
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 30% 10%, rgba(255, 255, 255, 0.055), transparent 62%);
  pointer-events: none;
}

/* 封面占位色：以后换成真实图片，保留 .cover 的描边与 hover 即可 */
.cover--a { background: linear-gradient(135deg, #302a20 0%, #111113 55%, #222227 100%); }
.cover--b { background: radial-gradient(120% 90% at 22% 16%, #3a3328 0%, #101012 55%, #1c1c20 100%); }
.cover--c { background: linear-gradient(200deg, #141416 0%, #26231e 45%, #0e0e10 100%); }
.cover--d { background: conic-gradient(from 200deg at 60% 40%, #24211a, #101012, #2e2a21, #101012); }

.entry-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.entry-grid--three .entry-card { grid-column: span 4; }

@media (max-width: 1199px) {
  .entry-grid--three .entry-card { grid-column: span 6; }
}

@media (max-width: 767px) {
  .entry-grid--three .entry-card { grid-column: span 6; }
}

.entry-card {
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.entry-card__cover { aspect-ratio: 4 / 5; }
.entry-card:hover .cover { transform: scale(1.03); }

.entry-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

/* 有真实图片时，编号加一层暗底，避免在亮图上看不清 */
.entry-card--photo .entry-card__num {
  padding: 3px 7px;
  border-radius: 2px;
  background: rgba(10, 10, 11, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.entry-card__label {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.entry-card__en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.entry-card__cn {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.entry-card__go {
  flex: none;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.35s ease;
}

.entry-card:hover .entry-card__go {
  transform: translateX(4px);
  color: var(--accent);
}

/* 10 分类 Tab
   ---------------------------------------------------------------------------- */
.tabs-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 36px;
}

.tab {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.tab:hover { color: var(--text); border-color: #3A3A40; }

.tab.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--surface);
}

.tabs__count {
  padding-top: 36px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.tabs__count span { color: var(--accent); }

/* 11 文章页正文
   ---------------------------------------------------------------------------- */
.article {
  width: min(720px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 72px);
}

.article__back { margin-bottom: 44px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.back-link svg { transition: transform 0.3s var(--ease); }
.back-link:hover { color: var(--text); }
.back-link:hover svg { transform: translateX(-4px); }

.article__head {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.article__cat {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.article__title {
  margin-top: 24px;
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: 0.01em;
}

.article__lead {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.prose {
  padding-top: 48px;
  font-size: 15.5px;
  line-height: 2.05;
  color: #D5D2CC;
}

.prose > *:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.7em; }

.prose h2 {
  margin: 2.6em 0 1.1em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text);
}

.prose h2::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin-bottom: 20px;
  background: var(--accent);
}

.prose h3 {
  margin: 2.2em 0 0.9em;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}

.prose blockquote {
  margin: 2.4em 0;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--accent);
  font-size: 15px;
  color: var(--muted);
}

.prose ul,
.prose ol {
  margin: 0 0 1.7em;
  padding-left: 1.3em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--dim); }

.prose strong { font-weight: 500; color: var(--text); }
.prose em { font-style: italic; color: var(--text); }

.prose a {
  color: var(--text);
  border-bottom: 1px solid #4A4741;
  transition: border-color 0.3s ease;
}
.prose a:hover { border-color: var(--accent); }

.prose figure { margin: 2.6em 0; }

.prose figure .cover {
  aspect-ratio: 3 / 2;
  width: 100%;
}

.prose figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
}

.prose figcaption {
  margin-top: 12px;
  font-family: var(--font-en), var(--font-cn);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.prose code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: #D9D5CC;
}

.prose pre {
  margin: 0 0 1.7em;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: #C9C5BD;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
}

.prose hr {
  margin: 3em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 88px;
  border: 1px solid var(--line);
  background: var(--line);
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  background: var(--bg);
  transition: background-color 0.3s ease;
}

.article-nav a:hover { background: var(--surface); }

.article-nav__label {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-nav__title {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.article-nav a:last-child { text-align: right; align-items: flex-end; }

/* 11.5 我的作品
   ---------------------------------------------------------------------------- */
.works-list { border-top: 1px solid var(--line); }

.works-list > .empty {
  border-top: 0;
  padding: 40px 0;
}

.work-row {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}

.work-row:hover { background: var(--surface); }

.work-row__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-row__num { color: var(--accent); }

.work-row__type {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.work-row__date { margin-left: auto; color: var(--muted); }

.work-row__title {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

.work-row__title a { transition: color 0.3s ease; }
.work-row__title a:hover { color: var(--accent); }

.work-row__desc {
  max-width: 680px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.work-row__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.work-row__link svg { transition: transform 0.35s var(--ease); }
.work-row__link:hover { color: var(--accent); }
.work-row__link:hover svg { transform: translateX(4px); }

/* 12 友链页
   ---------------------------------------------------------------------------- */
.apply {
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.apply__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.apply__title {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.apply__cn {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.apply__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding-top: 28px;
}

.apply__steps {
  display: grid;
  gap: 16px;
  counter-reset: apply;
}

/* 用块级排版而不是 grid：li 里夹着 <strong> 时不会被拆成独立网格项 */
.apply__steps li {
  position: relative;
  padding-left: 44px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  counter-increment: apply;
}

.apply__steps li::before {
  content: counter(apply, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.apply__steps strong { font-weight: 400; color: var(--text); }

.apply__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.apply__side p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.apply__mail {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.apply__note {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--dim);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding-top: 32px;
}

/* 没有友链时，空状态占满整行，不要被 12 栏切成窄条 */
.link-grid > .empty {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
}

.link-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.link-card:hover {
  background: var(--surface);
  border-color: #34343A;
}

.link-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.link-card__num {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.link-card__cat {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}

.link-card__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.link-card__name svg {
  flex: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

.link-card:hover .link-card__name svg {
  transform: translate(2px, -2px);
  color: var(--accent);
}

.link-card__body { display: block; }

.link-card__desc {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

/* 13 下载页
   ---------------------------------------------------------------------------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.notice svg {
  flex: none;
  margin-top: 4px;
  color: var(--accent);
}

.notice strong { font-weight: 400; color: var(--text); }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding-top: 32px;
}

.dl-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.dl-card:hover {
  background: var(--surface);
  border-color: #34343A;
}

.dl-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dl-card__num {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.dl-card__format {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.dl-card__title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.dl-card__file {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--dim);
  word-break: break-all;
}

.dl-card__desc {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.dl-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.dl-card__foot .btn { align-self: center; }

.dl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* 14 关于页
   ---------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.about__portrait {
  grid-column: span 4;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}

.about__portrait .cover { aspect-ratio: 4 / 5; width: 100%; }

.about__portrait-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #1a1813, #0c0c0d 60%, #1d1b17);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.about__avatar {
  width: 62%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.about__portrait figcaption {
  margin-top: 12px;
  font-family: var(--font-en), var(--font-cn);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.about__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.about__content { grid-column: span 8; }

.about__bio p {
  max-width: 620px;
  margin-bottom: 1.5em;
  font-size: 15px;
  line-height: 2;
  color: #D5D2CC;
}

.about__bio p:last-child { margin-bottom: 0; }

.about__blocks {
  display: grid;
  gap: 56px;
  margin-top: 56px;
}

.spec {
  border-top: 1px solid var(--line);
}

.spec__row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.spec__key {
  padding-top: 4px;
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec__val { color: #D5D2CC; }
.spec__val span { color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  background: var(--bg);
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.contact__item:hover { background: var(--surface); }

.contact__label {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  word-break: break-all;
}

.contact__value svg { flex: none; color: var(--muted); }

.qr {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-top: 24px;
}

.qr__box {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 176px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.qr__box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr__meta { padding-top: 6px; }
.qr__meta p { font-size: 12px; line-height: 1.9; color: var(--muted); }
.qr__meta code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
}

/* 15 404
   ---------------------------------------------------------------------------- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 20px 64px;
  text-align: center;
}

.not-found .eyebrow { margin-bottom: 28px; }

.not-found__num {
  font-family: var(--font-en);
  font-size: clamp(120px, 30vw, 340px);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: var(--text);
}

.not-found__line {
  width: 1px;
  height: 56px;
  margin: 34px 0;
  background: var(--line);
}

.not-found__text {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.not-found__cn {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.not-found .btn {
  align-self: center;
  margin-top: 36px;
}

.not-found__legal {
  margin-top: 44px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.not-found__legal a { transition: color 0.3s ease; }
.not-found__legal a:hover { color: var(--text); }
.not-found__legal .sep { margin: 0 8px; color: #3A3A3E; }

/* 渐变封面上的小标注，方便占位图看起来是有意为之 */
.cover__label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* 16 页脚
   ---------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--section-y);
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-mark {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 200;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
  transition: opacity 0.4s ease;
}

.footer-mark:hover { opacity: 0.65; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 760px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}

.footer-col__label {
  margin-bottom: 12px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer-col li { line-height: 1.7; }

.footer-col a {
  display: inline-block;
  padding: 4px 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer-legal a { transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--text); }
.footer-legal .sep { margin: 0 10px; color: #3A3A3E; }

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--dim);
  transition: color 0.3s ease;
}

.footer-top:hover { color: var(--text); }

/* 17 动效与页面转场
   ---------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scroll-hint {
  0% { transform: scaleY(0); opacity: 0; }
  25% { opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* 进入视口时上浮显现；.js 不可用时内容默认可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 逐个错开，最多 6 个 */
.js .entry-grid .reveal:nth-child(2),
.js .link-grid .reveal:nth-child(2),
.js .dl-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .entry-grid .reveal:nth-child(3),
.js .link-grid .reveal:nth-child(3),
.js .dl-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .entry-grid .reveal:nth-child(4),
.js .link-grid .reveal:nth-child(4),
.js .dl-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.js .link-grid .reveal:nth-child(5),
.js .dl-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.js .link-grid .reveal:nth-child(6),
.js .dl-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

/* 18 响应式：768–1199
   ---------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  :root {
    --gutter: 32px;
    --section-y: 96px;
    --header-h: 68px;
  }

  .nav { gap: 24px; }

  .entry-card { grid-column: span 6; }

  .link-card { grid-column: span 6; }

  .post-row { grid-template-columns: 44px 104px 76px minmax(0, 1fr) 104px; gap: 18px; }

  .apply__grid { grid-template-columns: 1fr; gap: 32px; }

  .apply__side { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 1px solid var(--line); }

  .apply__steps li { padding-left: 36px; font-size: 12.5px; }

  .footer-cols { margin-top: 36px; }
}

/* 19 响应式：<768
   ---------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 72px;
    --header-h: 60px;
  }

  body { font-size: 14px; }

  .nav { display: none; }
  .nav-toggle { display: flex; }

  .brand { font-size: 11px; letter-spacing: 0.28em; }
  /* 首屏 */
  .hero {
    padding: calc(var(--header-h) + 20px) 20px 120px;
  }

  .hero__wordmark { font-size: clamp(52px, 23.5vw, 190px); }
  .hero__cn { margin-top: 18px; font-size: 11px; letter-spacing: 0.6em; text-indent: 0.6em; }
  .hero__tagline { margin-top: 32px; font-size: 9.5px; letter-spacing: 0.26em; }
  .hero__scroll { bottom: 24px; gap: 10px; font-size: 8.5px; }
  .hero__line { height: 36px; }

  /* 子页页头 */
  .page-head { padding: calc(var(--header-h) + 40px) 0 40px; }
  .page-head__top { gap: 24px; }
  .page-head__title { margin-top: 16px; font-size: clamp(38px, 12vw, 64px); letter-spacing: 0.08em; }
  .page-head__cn { margin-top: 12px; font-size: 11px; }
  .page-head__lead { font-size: 12.5px; max-width: none; padding-bottom: 0; }
  .page-body { padding-top: 32px; }

  /* 区块标题 */
  .section-head { align-items: flex-end; padding-bottom: 18px; gap: 16px; }
  .section-head__title { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head__title .en { font-size: 26px; letter-spacing: 0.12em; }
  .section-head__title .cn { font-size: 10.5px; }
  .section-head__link { font-size: 9px; gap: 8px; white-space: nowrap; padding-bottom: 2px; }

  /* 列表：两行式 */
  .post-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "num date cat"
      "title title title";
    gap: 8px 14px;
    padding: 20px 0;
  }

  .post-row__num { grid-area: num; padding-top: 1px; }
  .post-row__date { grid-area: date; justify-self: start; }
  .post-row__cat { grid-area: cat; justify-self: end; }
  .post-row__title {
    grid-area: title;
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.55;
  }
  .post-row__cta { display: none; }

  /* Tab */
  .tabs-bar { display: block; }
  .tabs { padding-top: 24px; gap: 6px; }
  .tab { padding: 7px 12px; font-size: 9.5px; }
  .tabs__count { display: none; }

  /* 板块入口：两列 */
  .entry-grid { gap: 16px; }
  .entry-card { grid-column: span 6; gap: 12px; }
  .entry-card__num { top: 10px; left: 10px; font-size: 9px; }
  .entry-card__en { font-size: 12px; letter-spacing: 0.14em; }
  .entry-card__cn { margin-top: 5px; font-size: 10px; }
  .entry-card__go svg { width: 12px; height: 12px; }

  /* 友链 */
  .link-grid { gap: 12px; padding-top: 24px; }
  .link-card { grid-column: span 12; gap: 18px; padding: 20px; }
  .apply { padding: 22px 20px; }
  .apply__grid { padding-top: 22px; }
  .apply__steps li { padding-left: 30px; font-size: 12.5px; }

  /* 下载 */
  .dl-grid { gap: 12px; padding-top: 24px; }
  .dl-card { grid-column: span 12; padding: 22px 20px; }
  .dl-card__foot { align-items: flex-end; }
  .dl-card__meta { flex-direction: column; gap: 2px; }

  /* 文章 */
  .article { padding-top: calc(var(--header-h) + 40px); }
  .article__back { margin-bottom: 28px; }
  .article__head { padding-bottom: 30px; }
  .article__title { margin-top: 18px; font-size: 27px; line-height: 1.45; }
  .article__lead { margin-top: 16px; font-size: 13px; }
  .prose { padding-top: 32px; font-size: 15px; line-height: 2; }
  .prose h2 { font-size: 18px; margin-top: 2.2em; }
  .article-nav { grid-template-columns: 1fr; margin-top: 64px; }
  .article-nav a:last-child { text-align: left; align-items: flex-start; }

  /* 我的作品 */
  .work-row { padding: 24px 0; }
  .work-row__top { font-size: 9px; gap: 10px; }
  .work-row__title { font-size: 20px; margin-top: 12px; }
  .work-row__desc { font-size: 13px; }

  /* 关于 */
  .about-grid { gap: 32px; }
  .about__portrait { grid-column: span 12; position: static; }
  .about__portrait .cover { aspect-ratio: 4 / 5; max-width: 360px; }
  .about__content { grid-column: span 12; }
  .about__bio p { font-size: 14px; line-height: 1.95; }
  .about__blocks { margin-top: 40px; gap: 44px; }
  .spec__row { grid-template-columns: 88px 1fr; gap: 16px; padding: 13px 0; font-size: 13px; }
  .contact { grid-template-columns: 1fr; }
  .qr { flex-direction: column; gap: 16px; }

  /* 页脚 */
  .site-footer { padding-top: 48px; }
  .footer-cols { gap: 20px; margin-top: 28px; padding-top: 28px; }
  .footer-col__label { font-size: 8.5px; letter-spacing: 0.2em; }
  .footer-col a { font-size: 10px; }
  .footer-bottom { margin-top: 32px; justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-legal .sep { margin: 0 6px; }

  /* 404 */
  .not-found__text { font-size: 14px; }
}

/* 矮屏 / 横屏手机：菜单内容紧凑一些，并可滚动 */
@media (max-height: 600px) {
  .mobile-menu__nav {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .mobile-menu__nav a { padding: 10px 0; }

  .mobile-menu__nav .en { font-size: clamp(24px, 7vw, 32px); }

  .mobile-menu__meta { padding-top: 14px; }
}

/* 20 减少动态
   ---------------------------------------------------------------------------- */@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .hero__inner { transform: none !important; }
  .hero::after { display: none; }
  .hero__line { transform: none; opacity: 1; }
  .card:hover .cover,
  .entry-card:hover .cover { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .footer-col a:hover { transform: none; }
  .post-row:hover .post-row__cta svg,
  .btn:hover svg,
  .section-head__link:hover svg { transform: none; }
}
