/* ==========================================================================
   文脉 · 根站样式（首页 / 变更日志共用）
   中性灰底、墨色块、一点朱砂；标题与书名用宋体，正文用系统黑体。
   颜色与字体统一收在 :root；本文件用纯 CSS 写法，编译结果与 site.css 一致。
   ========================================================================== */
@font-face {
  font-family: "SiYuan Songti";
  src: url("/common/fonts/siyuansongti.otf") format("opentype");
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SiYuan Songti";
  src: url("/common/fonts/siyuansongti_bold.otf") format("opentype");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #ffffff;
  --paper-2: #FFFCF6;
  --ink: #1B1713;
  --white: #FFFFFF;
  --ink-deep: #15110E;
  --text: #453D34;
  --text-2: #756A5C;
  --line: #e5e4e2;
  --line-2: #e5e4e2;
  --accent: #A8342B;
  --accent-strong: #C04437;
  --accent-on-dark: #E0715E;
  --accent-alt: #B08A4F;
  --on-dark: #F5EDE0;
  --serif: "SiYuan Songti", "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 72px;
  --book-xyj: #D9635A;
  --book-xyj-ink: #A8443B;
  --book-hlm: #DC5E78;
  --book-hlm-ink: #AF4860;
  --book-sg: #7FA8C9;
  --book-sg-ink: #4C7597;
  --book-jg: #5FBFAB;
  --book-jg-ink: #337565;
  --book-shz: #9583CD;
  --book-shz-ink: #66569A;
  --book-jhy: #C89A4E;
  --book-jhy-ink: #8E6428;
  --book-fs: #71AFB3;
  --book-fs-ink: #1E7A80;
  --book-sj: #7FA8C9;
  --book-sj-ink: #3A6288;
  --book-rlws: #B08A62;
  --book-rlws-ink: #8A5F3C;
  --book-dzlz: #6E9B8C;
  --book-dzlz-ink: #46695F;
  --book-yswy: #A98BC0;
  --book-yswy-ink: #7A5A8C;
  --book-zz: #6E93A8;
  --book-zz-ink: #33566B;
  --book-sxwy: #C79A5E;
  --book-sxwy-ink: #A8703A;
  --book-st: #C08552;
  --book-st-ink: #8C5A2B;
  --book-sy: #7FA3BC;
  --book-sy-ink: #3D5A6C;
  --book-dyj: #5FAFC4;
  --book-dyj-ink: #2D7A96;
  --book-ssxy: #8FA57B;
  --book-ssxy-ink: #5F7347;
  --book-sst: #7FA0AE;
  --book-sst-ink: #3E5560;
  --book-xsyy: #C06A6E;
  --book-xsyy-ink: #96383C;
  --book-lxz: #B08864;
  --book-lxz-ink: #7A4B2A;
  --book-shenqu: #9A5A6A;
  --book-shenqu-ink: #6B2F3F;
  --book-rjx: #6E86A8;
  --book-rjx-ink: #3F577A;
  --book-cfyg: #6E4B5E;
  --book-cfyg-ink: #4F3444;
  --book-tpyulan: #2F5A66;
  --book-tpyulan-ink: #1F414A;
  --book-swjz: #3F6078;
  --book-swjz-ink: #2C4A5E;
  --book-guangyun: #6A5570;
  --book-guangyun-ink: #4E3B54;
  --book-akl: #7E93A6;
  --book-akl-ink: #40566A;
  --book-shj: #5FAE8C;
  --book-shj-ink: #2E6B5E;
  --book-mll: #6F9E92;
  --book-mll-ink: #3E6E68;
  --book-djmh: #C0705C;
  --book-djmh-ink: #8E3A32;
  --book-wljs: #4E8C8A;
  --book-wljs-ink: #2F6563;
  --book-dszx: #B4564A;
  --book-dszx-ink: #8A2E26;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: clip;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
::selection {
  background: rgba(168, 52, 43, 0.16);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
/* ---------------- 顶栏 ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: white;
  border-bottom: 1px solid rgba(27, 23, 19, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}
header nav .brand-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  transition: color 240ms ease;
}
header nav .brand-name:hover {
  color: var(--accent);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: var(--accent);
  color: #F8EFE1;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
header nav .nav-right {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 2px;
  margin-left: auto;
}
header nav .nav-right a {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color 240ms ease;
}
header nav .nav-right a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}
header nav .nav-right a:hover {
  color: var(--accent);
}
header nav .nav-right a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
/* 顶栏分类下拉：分类标签（button）+ 箭头，与作品站顶栏一致 ——
   栏目撑满栏高，悬浮 / 键盘聚焦 / 点开（.open）时贴栏底展开书名 */
header nav .nav-right .nav-group {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
header nav .nav-right .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 240ms ease;
}
header nav .nav-right .nav-label:hover,
header nav .nav-right .nav-group:hover .nav-label,
header nav .nav-right .nav-group:focus-within .nav-label {
  color: var(--accent);
}
/* 分类标签是链接，但不走书名链接的下划线 */
header nav .nav-right .nav-label::after {
  display: none;
}
header nav .nav-right .caret {
  flex: none;
  transition: transform 240ms ease;
}
header nav .nav-right .nav-group:hover .caret,
header nav .nav-right .nav-group:focus-within .caret {
  transform: rotate(180deg);
}
header nav .nav-right .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  min-width: 132px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(27, 23, 19, 0.1);
  border-radius: 3px;
  box-shadow: 0 8px 16px rgba(27, 23, 19, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
/* 悬浮展开只在支持悬浮的设备上生效：触屏点标签直接走跳转，不先弹下拉 */
@media (hover: hover) {
  header nav .nav-right .nav-group:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}
header nav .nav-right .nav-group:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
header nav .nav-right .submenu a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
header nav .nav-right .submenu a::after {
  display: none;
}
/* 最右一栏的面板往左展，右边框与栏右缘对齐，免贴住视口右缘 */
header nav .nav-right .nav-group:last-child .submenu {
  left: auto;
  right: 0;
}
/* ---------------- 首屏 ---------------- */
/* 左文案、右结构树海报：白纸底，图照海报原样摆放，不重排 */
.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vh, 92px) 0 clamp(40px, 6vh, 68px);
  background: #FFFFFF;
  border-bottom: 1px solid rgba(27, 23, 19, 0.06);
  overflow: hidden;
}
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(24px, 3.4vw, 56px);
}
.hero-copy {
  width: 100%;
  max-width: 500px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--text-2);
}
.eyebrow-seal {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 1px;
  background: var(--accent);
  color: #F8EFE1;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(168, 52, 43, 0.22);
}
.eyebrow-line {
  flex: 0 1 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(27, 23, 19, 0.28), transparent);
}
.home-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.015em;
  color: var(--ink);
}
.title-line {
  display: block;
}
.title-line:nth-child(2) {
  padding-left: 0.09em;
}
.title-accent {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--accent-strong);
}
.title-brush {
  position: absolute;
  left: -3%;
  bottom: -0.17em;
  width: 106%;
  max-width: none;
  height: 0.2em;
  overflow: visible;
  color: var(--accent);
}
.title-brush path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: brush-draw 1.05s 0.85s cubic-bezier(0.3, 0.6, 0.2, 1) forwards;
}
.title-brush .brush-thin {
  stroke-width: 1.2;
  opacity: 0.55;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation-delay: 1.05s;
}
.home-hero .lead-text {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
}
.lead-text span {
  display: block;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.btn-solid,
.btn-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease, transform 240ms ease;
}
.btn-solid {
  overflow: hidden;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #FBF3E6;
  box-shadow: 0 16px 32px -18px rgba(168, 52, 43, 0.9);
}
.btn-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.22) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 620ms ease;
  pointer-events: none;
}
.btn-solid svg {
  transition: transform 240ms ease;
}
.btn-solid:hover {
  background: #B93F33;
  border-color: #B93F33;
  color: #fff;
  transform: translateY(-1px);
}
.btn-solid:hover::after {
  transform: translateX(120%);
}
.btn-solid:hover svg {
  transform: translateX(3px);
}
.btn-line {
  border: 1px solid rgba(27, 23, 19, 0.22);
  color: var(--text);
  background: transparent;
}
.btn-line:hover {
  border-color: rgba(27, 23, 19, 0.45);
  color: var(--ink);
  background: rgba(27, 23, 19, 0.03);
}
.btn-line svg {
  transition: transform 240ms ease;
}
.btn-line:hover svg {
  transform: translateY(2px);
}
.home-hero :focus-visible {
  outline-color: var(--accent-strong);
}
/* 计数栏：压在按钮之下，与文案左缘对齐 */
.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: clamp(20px, 3vw, 40px);
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(27, 23, 19, 0.12);
}
.hero-stats > div {
  min-width: 0;
}
.hero-stats > div + div {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid rgba(27, 23, 19, 0.12);
}
.hero-stats dt {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-stats dd {
  margin: 5px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: var(--text-2);
}
/* ---------------- 首屏结构树海报 ---------------- */
.hero-art {
  width: 100%;
  max-width: 820px;
  margin: 0;
  justify-self: end;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-rise 0.9s 0.2s cubic-bezier(0.22, 0.68, 0.2, 1) both;
}
.hero-art-cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 0;
  padding-top: 9px;
  border-top: 1px solid rgba(27, 23, 19, 0.1);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-2);
}
/* ---------------- 首屏入场 ---------------- */
.eyebrow,
.home-hero h1 .title-line,
.lead-text,
.home-actions,
.hero-stats {
  animation: hero-rise 0.9s cubic-bezier(0.22, 0.68, 0.2, 1) both;
}
.eyebrow {
  animation-delay: 0.05s;
}
.title-line:nth-child(1) {
  animation-delay: 0.12s;
}
.title-line:nth-child(2) {
  animation-delay: 0.2s;
}
.title-line:nth-child(3) {
  animation-delay: 0.28s;
}
.lead-text {
  animation-delay: 0.4s;
}
.home-actions {
  animation-delay: 0.5s;
}
.hero-stats {
  animation-delay: 0.6s;
}
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes brush-draw {
  to {
    stroke-dashoffset: 0;
  }
}
/* ---------------- 栏目标题 ---------------- */
.works {
  padding-top: clamp(64px, 8vh, 104px);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.principles {
  padding-top: clamp(64px, 9vh, 110px);
}
.sec-head {
  margin: 0 0 16px;
}
.sec-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--accent);
}
.sec-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}
.sec-kicker--muted {
  color: var(--text-2);
}
.sec-kicker--muted::before {
  background: var(--text-2);
}
.sec-row {
  margin-top: 14px;
}
.sec-row h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.sec-desc {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-2);
}
/* ---------------- 书目：卡片网格 ---------------- */
.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.work-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "main" "desc" "stats";
  align-items: center;
  align-content: start;
  gap: 14px 10px;
  padding: 20px 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: white;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 300ms ease, box-shadow 320ms ease;
}
.work-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--c);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.work-row:hover::after {
  opacity: 0.035;
}
.work-row:hover {
  transform: translateY(-6px);
  border-color: var(--c);
  box-shadow: 0 16px 30px -22px rgba(27, 23, 19, 0.45);
}
.work-row:focus-visible {
  transform: translateY(-6px);
  border-color: var(--c);
  box-shadow: 0 16px 30px -22px rgba(27, 23, 19, 0.45);
}
.work-row > * {
  position: relative;
  z-index: 1;
}
.work-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.work-site {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--c);
}
.work-book {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 300ms ease;
}
.work-row:hover .work-book {
  color: var(--c);
}
.work-edition {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.work-desc {
  grid-area: desc;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
  line-height: 2;
  color: var(--text);
}
.work-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.work-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.work-stat b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.work-stat i {
  font-style: normal;
  font-size: 11px;
  color: var(--text-2);
}
.work-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  transition: transform 300ms ease;
}
.work-row:hover .work-arrow {
  transform: translateX(4px);
}
/* ---------------- 整理中的书目：虚线卡 ---------------- */
.work-row.is-soon {
  --c: var(--text-2);
  border-style: dashed;
  background: transparent;
}
.work-row.is-soon::after {
  display: none;
}
.work-row.is-soon:hover,
.work-row.is-soon:hover .work-book {
  border-color: var(--line-2);
  color: var(--ink);
}
.work-row.is-soon .work-stats {
  border-top-style: dashed;
}
.work-row.is-soon:hover {
  transform: none;
  box-shadow: none;
}
/* ---------------- 读法四条 ---------------- */
.note-fig {
  max-width: 320px;
  margin: 0 0 18px;
  color: var(--text-2);
}
.note-fig svg {
  display: block;
  width: 100%;
  height: auto;
}
.note-fig .line-ink {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}
.note-fig .line-accent {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.note-fig .line-accent-thin {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.note-fig .fill-ink {
  fill: currentColor;
}
.note-fig .fill-accent {
  fill: var(--accent);
}
.note-fig .fill-paper {
  fill: var(--paper-2);
}
.note-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  list-style: none;
}
.note-list li {
  padding: 22px 26px 4px 0;
}
.note-list li + li {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.note-no {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.note-list strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.note-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-2);
}
/* ---------------- 页脚 ---------------- */
.normal-footer {
  position: relative;
  margin-top: clamp(80px, 10vh, 128px);
  padding: 64px 0 28px;
  background: var(--ink-deep);
  color: rgba(245, 237, 224, 0.58);
  font-size: 13px;
  overflow: hidden;
  isolation: isolate;
}
.normal-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(245, 237, 224, 0.04) 0, rgba(245, 237, 224, 0.04) 1px, transparent 1px, transparent 96px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
  pointer-events: none;
}
.normal-footer a {
  color: rgba(245, 237, 224, 0.72);
  transition: color 200ms ease;
}
.normal-footer a:hover {
  color: var(--accent-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.85fr 1.15fr 0.8fr 0.75fr 0.9fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 237, 224, 0.12);
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--on-dark);
}
.footer-brand-desc {
  max-width: 360px;
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(245, 237, 224, 0.6);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col-title {
  margin-bottom: 8px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--accent-alt);
}
.footer-col-muted {
  color: rgba(245, 237, 224, 0.48);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 22px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(245, 237, 224, 0.45);
}
/* ---------------- 内页页头（商务合作 / 变更日志） ---------------- */
.page-head {
  padding-top: clamp(56px, 7vh, 88px);
}
/* ---------------- 商务合作：联系方式 ---------------- */
.coop-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  padding: 26px 30px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
}
.coop-contact p {
  font-size: 13px;
  color: var(--text-2);
}
.coop-contact a {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  transition: color 200ms ease;
}
.coop-contact a:hover {
  color: var(--accent-strong);
}
/* ---------------- 文本页：白卡 + Markdown 渲染体 ---------------- */
.md-card {
  max-width: 860px;
  margin: clamp(48px, 6vh, 84px) auto 0;
  padding: clamp(32px, 4.5vw, 56px) clamp(26px, 4vw, 56px);
  background: var(--white);
  border: 1px solid var(--line-2);
}
.md-body h1 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.md-body h2 {
  margin-top: 34px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.md-body p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.md-body ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.md-body li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.md-body li + li {
  margin-top: 6px;
}
.md-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.md-body strong {
  font-weight: 600;
  color: var(--ink);
}
.md-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 200ms ease;
}
.md-body a:hover {
  border-color: var(--accent);
}
/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .home-hero {
    padding: 56px 0 32px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .hero-copy {
    width: auto;
    max-width: 700px;
  }
  .hero-art {
    display: none;
  }
}
@media (max-width: 900px) {
  .note-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .note-list li {
    padding: 22px 24px 12px 0;
  }
  .note-list li + li {
    padding-left: 0;
    border-left: 0;
  }
  .note-list li:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
  .note-list li:nth-child(n + 3) {
    margin-top: 22px;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 760px) {
  .home-hero h1 {
    font-size: clamp(34px, 8.6vw, 46px);
  }
  .home-hero .lead-text {
    font-size: 14px;
  }
  .sec-row {
    display: block;
  }
  .sec-desc {
    max-width: none;
    margin-top: 12px;
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 620px) {
  .home-hero {
    padding: 48px 0 36px;
  }
  .note-list {
    grid-template-columns: 1fr;
  }
  .note-list li,
  .note-list li:nth-child(even),
  .note-list li:nth-child(n + 3) {
    padding: 20px 0;
    margin: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .note-list li:first-child {
    border-top: 0;
  }
  .note-no {
    margin-bottom: 16px;
  }
  .hero-stats > div {
    padding-right: 14px;
  }
  .hero-stats > div + div {
    padding-left: 14px;
  }
  .hero-stats dt {
    font-size: 23px;
  }
  .hero-stats dd {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }
  .home-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-solid,
  .btn-line {
    width: 100%;
  }
}
@media (max-width: 700px) {
  :root {
    --nav-h: 60px;
  }
  header nav {
    gap: 10px;
  }
  header nav .brand-name {
    gap: 8px;
    font-size: 16px;
    letter-spacing: 0.08em;
  }
  .brand-mark {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  header nav .nav-right {
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  header nav .nav-right::-webkit-scrollbar {
    display: none;
  }
  header nav .nav-right a {
    padding: 8px 7px;
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  header nav .nav-right a::after {
    left: 7px;
    right: 7px;
    bottom: 4px;
  }
  header nav .nav-right .nav-label {
    padding: 8px 7px;
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  /* 窄屏下拉改成顶栏下方整幅贴片：脱离横向滚动的 .nav-right，免被裁切 */
  header nav .nav-right .submenu {
    position: fixed;
    top: calc(var(--nav-h) + 4px);
    left: 12px;
    right: 12px;
    max-height: calc(100vh - var(--nav-h) - 20px);
    overflow-y: auto;
  }
  /* 窄屏整幅贴片左右通吃，最右一栏不往左收 */
  header nav .nav-right .nav-group:last-child .submenu {
    left: 12px;
    right: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .title-brush path {
    stroke-dashoffset: 0;
  }
}
/*# sourceMappingURL=site.css.map */