/* ================================================================
   韩玉军的学法笔记 · 案头笔记视觉系统
   Design tokens: ink / seal / jade / amber / paper
   Theme: 中国法律文书传统 × 现代编辑设计
   ================================================================ */

:root {
  /* 色板 */
  --ink: #1B2D4F;
  --ink-deep: #12203A;
  --ink-light: #2E4A7A;
  --seal: #C14529;
  --seal-light: #D4684F;
  --seal-pale: #F9EDE9;
  --jade: #2A7B6B;
  --jade-light: #3D9B87;
  --jade-pale: #EAF5F2;
  --amber: #B8892E;
  --amber-light: #D4A94E;
  --amber-pale: #FBF5E8;
  --paper: #F8F6F1;
  --paper-dark: #EDE8DC;
  --white: #FFFFFF;
  --text: #2B3038;
  --text-soft: #5A6270;
  --text-muted: #8B919B;
  --border: #DDD8CC;
  --border-light: #E8E4DA;

  /* 分类色 */
  --cat-xingshi: #C14529;
  --cat-jiaotong: #2E6FA7;
  --cat-gongshang: #B8892E;
  --cat-hetong: #2A7B6B;
  --cat-jiashi: #8B5E83;
  --cat-fangchan: #4A6741;
  --cat-zhaiwu: #5B6E8C;
  --cat-sunhai: #A35C6A;

  /* 排版 */
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;

  /* 尺寸 */
  --maxw: 1100px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(27, 45, 79, .07);
  --shadow-hover: 0 8px 32px rgba(27, 45, 79, .12);

  /* 设计系统 tokens —— 依 web-design-layout/design-system.md */
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(27, 45, 79, .05);
  --shadow-md: 0 4px 14px rgba(27, 45, 79, .08);
  --shadow-lg: 0 14px 36px rgba(27, 45, 79, .13);
  --dur-fast: 150ms;
  --dur: 300ms;
  --dur-slow: 500ms;
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
}

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--seal); }
::selection { background: var(--seal-pale); color: var(--seal); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ Header ============ */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1.5px solid var(--seal);
  border-radius: 12px;
  opacity: .35;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 1.5px;
}
.brand-text small {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.site-nav { display: flex; gap: 6px; }
.site-nav a {
  color: var(--text-soft);
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--ink);
  background: var(--paper-dark);
}

/* ============ Hero ============ */
.hero {
  padding: 100px 0 80px;
  background:
    linear-gradient(135deg, rgba(31, 52, 86, .78) 0%, rgba(31, 52, 86, .56) 100%),
    url('/static/images/coast-cliff.jpg') center 30%/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 85% 20%, rgba(193, 69, 41, .12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-light, #e8c987);
  font-size: 13px;
  letter-spacing: 3px;
  margin: 0 0 20px;
  font-weight: 600;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--amber-light, #e8c987);
  display: inline-block;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.35;
  color: var(--white, #fff);
  margin: 0 0 24px;
  font-weight: 700;
  max-width: 700px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber-light, #e8c987);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(193, 69, 41, .35);
  z-index: -1;
}
.hero .lead {
  font-size: 17px;
  color: rgba(255, 255, 255, .88);
  max-width: 640px;
  margin: 0 0 36px;
  line-height: 1.9;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all .25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn.primary:hover {
  background: var(--ink-deep);
  color: var(--amber-light);
  box-shadow: var(--shadow-hover);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn.ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero 深色背景下的按钮 */
.hero .btn.primary {
  background: var(--seal, #C14529);
  border-color: var(--seal, #C14529);
  color: var(--white, #fff);
}
.hero .btn.primary:hover {
  background: #d4553a;
  border-color: #d4553a;
  color: var(--white, #fff);
}
.hero .btn.ghost {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.35);
}
.hero .btn.ghost:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.1);
  color: var(--white, #fff);
}

/* ============ 风物影集 Gallery ============ */

.gallery-section { margin: 56px 0; }
.gallery-wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.gallery-portrait {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.photo-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.photo-item:hover img {
  transform: scale(1.06);
}
.gallery-wide .photo-item { aspect-ratio: 16/10; }
.gallery-portrait .photo-item { aspect-ratio: 3/4; }
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(27, 45, 79, .78));
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity .35s;
}
.photo-item:hover .photo-caption { opacity: 1; }
.gallery-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-soft);
  letter-spacing: 2px;
}

/* ============ 关于页影集 ============ */

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 36px 0;
}
.about-gallery .photo-item { aspect-ratio: 1; }

/* ============ Trust Bar ============ */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin: -20px 0 72px;
  box-shadow: var(--shadow);
}
.trust-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border-light);
  position: relative;
}
.trust-item:last-child { border-right: none; }
.trust-item .trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item .trust-icon svg {
  width: 20px;
  height: 20px;
}
.trust-item:nth-child(1) .trust-icon { background: var(--seal-pale); color: var(--seal); }
.trust-item:nth-child(2) .trust-icon { background: var(--jade-pale); color: var(--jade); }
.trust-item:nth-child(3) .trust-icon { background: var(--amber-pale); color: var(--amber); }
.trust-item:nth-child(4) .trust-icon { background: var(--ink); color: var(--amber-light); }
.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}
.trust-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ Section ============ */
.section { margin: 0 0 72px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-title h2 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink-deep);
  margin: 0;
  letter-spacing: 1px;
}
.section-title .deco {
  width: 6px;
  height: 28px;
  background: var(--seal);
  border-radius: 3px;
}
.more {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.more:hover { color: var(--seal); }

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: all .25s;
  position: relative;
}
.card::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--ink);
}
.card[data-cat="刑事辩护"]::before { background: var(--cat-xingshi); }
.card[data-cat="交通事故"]::before { background: var(--cat-jiaotong); }
.card[data-cat="工伤认定"]::before { background: var(--cat-gongshang); }
.card[data-cat="买卖合同"]::before { background: var(--cat-hetong); }
.card[data-cat="婚姻家事"]::before { background: var(--cat-jiashi); }
.card[data-cat="房产拆迁"]::before { background: var(--cat-fangchan); }
.card[data-cat="债权债务"]::before { background: var(--cat-zhaiwu); }
.card[data-cat="人身损害"]::before { background: var(--cat-sunhai); }

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--border);
}
.card a {
  color: inherit;
  display: block;
  padding: 24px 24px 20px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card .cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .5px;
}
.card[data-cat="刑事辩护"] .cat { color: var(--cat-xingshi); background: var(--seal-pale); }
.card[data-cat="交通事故"] .cat { color: var(--cat-jiaotong); background: #EBF2F8; }
.card[data-cat="工伤认定"] .cat { color: var(--cat-gongshang); background: var(--amber-pale); }
.card[data-cat="买卖合同"] .cat { color: var(--cat-hetong); background: var(--jade-pale); }
.card[data-cat="婚姻家事"] .cat { color: var(--cat-jiashi); background: #F3EDF2; }
.card[data-cat="房产拆迁"] .cat { color: var(--cat-fangchan); background: #EDF2EB; }
.card[data-cat="债权债务"] .cat { color: var(--cat-zhaiwu); background: #EDF1F6; }
.card[data-cat="人身损害"] .cat { color: var(--cat-sunhai); background: #F7EDEF; }

.card time {
  font-size: 12px;
  color: var(--text-muted);
}
.card h3 {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-deep);
  margin: 0 0 12px;
  font-weight: 700;
}
.card p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 16px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.card-author {
  font-size: 12px;
  color: var(--text-muted);
}
.card-read {
  font-size: 12px;
  color: var(--seal);
  font-weight: 600;
}

/* ============ Area / Category Section ============ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* 八个专题：宽屏四列，中等屏三列，窄屏沿用后面的两列／单列规则 */
@media (max-width: 1100px) {
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}
.area-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--white);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.area-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 0 0 0 80px;
  opacity: .08;
  transition: all .3s;
}
.area-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.area-card:hover::after { width: 120px; height: 120px; opacity: .12; }
.area-card:nth-child(1)::after { background: var(--cat-xingshi); }
.area-card:nth-child(2)::after { background: var(--cat-jiaotong); }
.area-card:nth-child(3)::after { background: var(--cat-gongshang); }
.area-card:nth-child(4)::after { background: var(--cat-hetong); }
.area-card:nth-child(5)::after { background: var(--cat-jiashi); }
.area-card:nth-child(6)::after { background: var(--cat-fangchan); }
.area-card:nth-child(7)::after { background: var(--cat-zhaiwu); }
.area-card:nth-child(8)::after { background: var(--cat-sunhai); }

.area-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.area-card:nth-child(1) .area-icon { background: var(--seal-pale); color: var(--cat-xingshi); }
.area-card:nth-child(2) .area-icon { background: #EBF2F8; color: var(--cat-jiaotong); }
.area-card:nth-child(3) .area-icon { background: var(--amber-pale); color: var(--cat-gongshang); }
.area-card:nth-child(4) .area-icon { background: var(--jade-pale); color: var(--cat-hetong); }
.area-card:nth-child(5) .area-icon { background: #F3EDF2; color: var(--cat-jiashi); }
.area-card:nth-child(6) .area-icon { background: #EDF2EB; color: var(--cat-fangchan); }
.area-card:nth-child(7) .area-icon { background: #EDF1F6; color: var(--cat-zhaiwu); }
.area-card:nth-child(8) .area-icon { background: #F7EDEF; color: var(--cat-sunhai); }

.area-icon svg { width: 24px; height: 24px; }
.area-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-deep);
  margin: 0 0 8px;
  letter-spacing: .5px;
}
.area-card p {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.75;
}

/* ============ Page Head ============ */
.page-head {
  padding: 56px 0 36px;
  position: relative;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--ink-deep);
  margin: 0 0 12px;
  letter-spacing: 1px;
}
.page-head p {
  color: var(--text-soft);
  max-width: 720px;
  margin: 0;
  font-size: 16px;
}
.page-head::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--seal);
  margin-top: 20px;
  border-radius: 2px;
}

/* ============ Article ============ */
.article {
  padding: 40px 0 72px;
  background: var(--white);
  margin: 0 calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
.article-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--seal); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb span { color: var(--seal); font-weight: 500; }

.article-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 32px;
  margin-bottom: 40px;
  max-width: 760px;
}
.article-header .meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.article-header .cat {
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .5px;
}
.article-header[data-cat="刑事辩护"] .cat { color: var(--cat-xingshi); background: var(--seal-pale); }
.article-header[data-cat="交通事故"] .cat { color: var(--cat-jiaotong); background: #EBF2F8; }
.article-header[data-cat="工伤认定"] .cat { color: var(--cat-gongshang); background: var(--amber-pale); }
.article-header[data-cat="买卖合同"] .cat { color: var(--cat-hetong); background: var(--jade-pale); }
.article-header[data-cat="婚姻家事"] .cat { color: var(--cat-jiashi); background: #F3EDF2; }
.article-header[data-cat="房产拆迁"] .cat { color: var(--cat-fangchan); background: #EDF2EB; }
.article-header[data-cat="债权债务"] .cat { color: var(--cat-zhaiwu); background: #EDF1F6; }
.article-header[data-cat="人身损害"] .cat { color: var(--cat-sunhai); background: #F7EDEF; }
.article-header .author {
  color: var(--ink);
  font-weight: 600;
}
.article-header .meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}
.article-header h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.45;
  color: var(--ink-deep);
  margin: 0 0 20px;
  letter-spacing: .5px;
}
.article-header .summary {
  color: var(--text-soft);
  font-size: 16px;
  margin: 0;
  padding: 18px 22px;
  background: var(--paper);
  border-left: 4px solid var(--seal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.85;
}

.article-body {
  max-width: 760px;
  font-size: 16.5px;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-deep);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--seal);
  letter-spacing: .5px;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin: 32px 0 14px;
}
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol {
  padding-left: 1.5em;
  margin: 0 0 20px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body li::marker {
  color: var(--seal);
}
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
  position: relative;
}
.article-body blockquote::before {
  content: "❝";
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 24px;
  color: var(--amber);
  opacity: .4;
  line-height: 1;
}
.article-body blockquote p {
  margin: 0 0 8px;
  padding-left: 20px;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 40px 0;
}
.article-body strong {
  color: var(--ink-deep);
  font-weight: 700;
}
.article-body code {
  background: var(--paper-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
}

/* ============ FAQ ============ */
.faq {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 2px solid var(--ink);
  max-width: 760px;
}
.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.faq-header h2 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-deep);
  margin: 0;
  border-left: none;
  padding-left: 0;
}
.faq-header .faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--seal-pale);
  color: var(--seal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
}
.faq-item p {
  padding: 18px 22px 22px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

/* ============ Article Footer ============ */
.article-footer {
  max-width: 760px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tag {
  font-size: 12px;
  color: var(--text-soft);
  background: var(--paper-dark);
  padding: 5px 14px;
  border-radius: 20px;
}
.disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--paper);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0 0;
  border: 1px dashed var(--border);
}

/* ============ About ============ */
.about-card {
  max-width: 760px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
  background: var(--white);
  margin-bottom: 72px;
  box-shadow: var(--shadow);
}
.about-card h2 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink-deep);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--seal);
}
.about-card h2:first-child {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
  font-size: 28px;
}
.about-card .role {
  color: var(--seal);
  font-weight: 600;
  margin: 0 0 24px;
  font-size: 15px;
}
.about-card ul { padding-left: 1.4em; }
.about-card li { margin-bottom: 10px; }
.about-card li::marker { color: var(--seal); }

/* ============ Footer ============ */
.site-footer {
  background: #2A4066;
  color: #B0B8C4;
  padding: 48px 0 36px;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "法";
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 120px;
  opacity: .04;
  color: var(--amber);
  pointer-events: none;
}
.site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0 0 8px; font-size: 14px; }
.site-footer .footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.site-footer .disclaimer {
  background: transparent;
  padding: 0;
  color: #7A8494;
  font-size: 13px;
  max-width: 480px;
  border: none;
}
.site-footer .copyright {
  color: #5A6478;
  font-size: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
}
.site-footer .beian,
.site-footer .beian-gongan {
  margin: 4px 0;
}
.site-footer .beian a,
.site-footer .beian-gongan a {
  color: #7A8494;
  font-size: 13px;
}
.site-footer .beian a:hover,
.site-footer .beian-gongan a:hover {
  color: var(--amber-light);
}

/* ============ Decorative Divider ============ */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider .diamond {
  width: 8px;
  height: 8px;
  background: var(--seal);
  transform: rotate(45deg);
  opacity: .5;
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }
  .site-nav { gap: 4px; flex-wrap: wrap; justify-content: center; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }
  .hero { padding: 48px 0 40px; }
  .hero::before { display: none; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .article-body { font-size: 16px; }
  .about-card { padding: 28px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-template-columns: 1fr; }
  .gallery-portrait { grid-template-columns: repeat(2, 1fr); }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .container { padding: 0 18px; }
  .trust { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--border-light); }
  .trust-item:last-child { border-bottom: none; }
  .card-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero::before { display: none; }
  .section-title h2 { font-size: 22px; }
  .gallery-portrait { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-wide { gap: 10px; }
  .about-gallery { gap: 8px; }
}

/* ================================================================
   v2 · 耐看度精修层
   依据 web-design-layout / design-system.md：
   字号层级、4px 间距、圆角阴影、300ms ease-out 动效、
   中文行高 1.8+、焦点可见、明暗分区节奏、reduced-motion 兜底
   ================================================================ */

/* ---------- 全局细节 ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 0 0 var(--radius-sm) 0;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 12px; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealUp 620ms var(--ease-out) both; }
.hero-copy.reveal { animation-delay: 60ms; }
.person-card.reveal { animation-delay: 190ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 章节英文小标 */
.section-title .en {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 首屏：人物主角化 ---------- */
.page-home .site-footer { margin-top: 0; }
.page-home .section { margin-bottom: 64px; }
.page-home .divider { margin: 0 0 64px; }

.hero-home { padding: 86px 0 78px; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, .82fr);
  gap: 54px;
  align-items: center;
}
.hero-copy h1 { max-width: 660px; }
.hero-copy .lead {
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .9);
}

.person-card {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(9, 20, 38, .2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.portrait {
  height: 186px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, .1);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.88) brightness(.94);
  transition: transform var(--dur-slow) var(--ease-out);
}
.person-card:hover .portrait img { transform: scale(1.05); }
.portrait-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(20, 34, 58, .62);
  color: var(--white);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
}
.person-card h2 {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--white);
  margin: 18px 0 4px;
  letter-spacing: 1px;
}
.person-role {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 18px;
}
.person-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.person-stats div {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.person-stats div:last-child { border-right: 0; }
.person-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.35;
  color: var(--amber-light);
}
.person-stats span { font-size: 11px; color: rgba(255, 255, 255, .74); }

/* ---------- 从这里开始读 ---------- */
.start-here {
  background: var(--white);
  padding: 62px 0 66px;
  border-bottom: 1px solid var(--border-light);
}
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.q-card {
  display: block;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.q-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(193, 69, 41, .35);
}
.q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--seal-pale);
  color: var(--seal);
  font-family: var(--serif);
  font-size: 14px;
  margin-bottom: 14px;
}
.q-card h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;   /* 中文标题均衡断行，避免「么？」「限？」单字孤行 */
}
.q-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-soft);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.q-go { font-size: 13px; font-weight: 600; color: var(--seal); }
.q-arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-out);
}
.q-card:hover .q-arrow { transform: translateX(4px); }

/* ---------- 数字信任条（浅底，避免新增深色块） ---------- */
.trust-numbers {
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 30px;
  padding-bottom: 30px;
}
.trust-grid div {
  text-align: center;
  border-right: 1px solid var(--border);
}
.trust-grid div:last-child { border-right: 0; }
.trust-grid b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.35;
  color: var(--seal);
}
.trust-grid span { font-size: 12.5px; color: var(--text-muted); }

/* ---------- 卡片与专题：hover 精度 ---------- */
.card {
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(193, 69, 41, .28);
}
.area-card { display: block; color: inherit; }
.area-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(193, 69, 41, .28); }
.area-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.area-arrow { color: var(--seal); transition: transform var(--dur-fast) var(--ease-out); }
.area-card:hover .area-arrow { transform: translateX(4px); }

/* 收敛角落装饰：从大扇形改为含蓄的淡色小弧，避免抢走文字注意力 */
.area-card::after { width: 56px; height: 56px; opacity: .05; }
.area-card:hover::after { width: 88px; height: 88px; opacity: .09; }
.card h3, .area-card h3, .article-header h1, .section-title h2 { text-wrap: balance; }

/* ---------- 影集与关于区：明暗节奏 ---------- */
.page-home .gallery-section {
  background: var(--white);
  padding: 56px 0 8px;
  margin: 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.about-strip {
  background: #F2F6F3;
  padding: 64px 0 68px;
  border-bottom: 1px solid var(--border-light);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 48px;
  align-items: start;
}
.about-intro p {
  line-height: 1.95;
  color: var(--text-soft);
  margin: 0 0 1.35em;
}
.about-intro .about-disclaim {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
  border-left: 3px solid var(--seal);
  padding-left: 14px;
  margin: 22px 0 0;
}
.promise {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.promise h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 18px;
}
.promise ul { list-style: none; padding: 0; margin: 0; }
.promise li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}
.promise li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--seal);
  opacity: .75;
}
.promise-more {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--seal);
}
.promise-note {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-muted);
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.about-grid-page {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
.about-gallery-wrap { margin-top: 0; }

/* ---------- 页脚：提亮文字，改进层次 ---------- */
.site-footer .footer-inner { align-items: center; }
.site-footer .footer-about p:not(.footer-brand) { color: #C3CEDE; font-size: 13px; margin-bottom: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a {
  color: #C3CEDE;
  font-size: 13px;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { color: var(--amber-light); }
.site-footer .disclaimer {
  color: #C3CEDE;
  max-width: none;
  margin: 26px 0 0;
  line-height: 1.85;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .copyright { margin: 0; padding: 0; border: 0; width: auto; color: #AEBBD0; }
.site-footer .beian, .site-footer .beian-gongan { margin: 0; }
.site-footer .beian a, .site-footer .beian-gongan a { color: #D6DEE9; }

/* ---------- 文章正文：中文阅读节奏 ---------- */
.article-body { line-height: 1.95; color: #333B47; }
.article-body p { margin: 0 0 1.5em; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink-deep);
  margin: 2.2em 0 .9em;
  padding-left: 16px;
  border-left: 4px solid var(--seal);
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin: 1.9em 0 .7em;
}
.article-body ul, .article-body ol { margin: 0 0 1.6em; padding-left: 1.6em; }
.article-body li { margin-bottom: .55em; }
.article-body li::marker { color: var(--seal); }
.article-body strong { color: var(--ink-deep); font-weight: 700; }
.article-body blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  background: var(--paper);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
}
.article-body hr { border: 0; border-top: 1px solid var(--border-light); margin: 2.4em 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--paper); color: var(--ink); }

/* ---------- 响应式补充 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .person-card { max-width: 420px; }
  .start-grid { grid-template-columns: 1fr; }
  .about-grid, .about-grid-page { grid-template-columns: 1fr; gap: 28px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .trust-grid div:nth-child(2) { border-right: 0; }
}
@media (max-width: 580px) {
  .hero-home { padding: 52px 0 44px; }
  .start-here { padding: 44px 0 48px; }
  .q-card { padding: 22px 20px; }
  .trust-grid b { font-size: 23px; }
  .about-strip { padding: 44px 0 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 16px; }
  .section-title .en { display: none; }
  .person-card { max-width: none; }
}

/* ============ 2026-11-07 · 站内导航卡与方向索引 ============ */
.promise .quick-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.promise .quick-links a:hover,
.promise .quick-links a:focus-visible { color: var(--seal); border-color: var(--seal); }
.promise .topic-list li { color: var(--text-soft); letter-spacing: .3px; }
.promise .topic-list li::before { background: var(--jade); }

/* ============ 文章内表格：全边框、窄屏可横向滚动 ============ */
.article-body .table-wrap { overflow-x: auto; margin: 20px 0 26px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  line-height: 1.75;
  vertical-align: top;
}
.article-body th { background: var(--paper); color: var(--ink); font-weight: 600; }
@media (max-width: 580px) {
  .article-body table { min-width: 460px; }
}
