/* =========================================================================
   YYZ-1 — 精致化视觉（编辑式 / 个人作品集气质）
   克制配色 ·  Editorial 排版层级 · 柔和层次光影 · 品牌色点睛
   配色由 :root 变量驱动，后台可切换方案与自定义主色
   ========================================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌色（青靛，比通用蓝更克制、更有书卷气） */
  --brand: #4f46e5;
  --brand-2: #8b5cf6;
  --brand-ink: #4338ca;
  --brand-soft: #eef2ff;
  --brand-tint: #e0e7ff;
  --brand-ring: rgba(79, 70, 229, .16);

  /* 中性色（带一点暖灰，避免冷冰冰的纯灰） */
  --ink: #11131f;
  --ink-2: #3b3f52;
  --ink-3: #6b7280;
  --ink-4: #9aa1b1;
  --line: #eceaf3;
  --line-soft: #f5f4f9;
  --bg: #ffffff;
  --bg-soft: #f8f8fc;
  --bg-deep: #0f1120;

  /* 圆角 */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* 阴影（多层，营造真实光感，比之前更柔） */
  --sh-1: 0 1px 2px rgba(17, 19, 31, .04);
  --sh-2: 0 2px 8px rgba(17, 19, 31, .05), 0 12px 30px -14px rgba(17, 19, 31, .10);
  --sh-3: 0 4px 12px rgba(17, 19, 31, .06), 0 24px 56px -18px rgba(17, 19, 31, .18);
  --sh-nav: 0 1px 0 rgba(17, 19, 31, .04), 0 10px 30px -16px rgba(17, 19, 31, .14);

  /* 尺度 */
  --maxw: 1160px;
  --section: clamp(68px, 8.5vw, 116px);

  /* 字体 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--brand-tint); color: var(--ink); }
a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .55em;
  font-weight: 800;
  letter-spacing: -.025em;
}
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; line-height: 1.4;
  border: 1px solid transparent; cursor: pointer;
  transition: all .22s var(--ease); white-space: nowrap; font-family: inherit;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 1px 2px rgba(17,19,31,.08), 0 10px 24px -8px var(--brand-ring);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 14px 30px -8px var(--brand-ring); filter: saturate(1.05);
}
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); box-shadow: var(--sh-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header:hover { box-shadow: var(--sh-nav); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand img { height: 32px; width: auto; border-radius: var(--r-sm); }
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.site-nav a {
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  padding: 9px 15px; border-radius: var(--r-pill);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.site-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.site-search { display: flex; flex-shrink: 0; }
.site-search input {
  width: 180px; border: 1px solid var(--line); border-right: 0;
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  padding: 10px 16px; font-size: 14px; outline: none; background: #fff;
  transition: all .2s var(--ease); font-family: inherit;
}
.site-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.site-search input::placeholder { color: var(--ink-4); }
.site-search button {
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  padding: 10px 18px; cursor: pointer; font-size: 14px; font-weight: 600;
  transition: background .18s var(--ease); font-family: inherit;
}
.site-search button:hover { background: var(--brand-ink); }
.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); width: 40px; height: 36px; cursor: pointer;
  color: var(--ink); font-size: 18px; line-height: 1; flex-shrink: 0;
}

/* ---------- Hero（编辑式） ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 8vw, 104px);
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(820px 420px at 18% -8%, rgba(79,70,229,.14), transparent 60%),
    radial-gradient(760px 420px at 84% 4%, rgba(139,92,246,.12), transparent 60%),
    var(--bg);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 76% 60% at 50% 0%, #000 8%, transparent 70%);
  mask-image: radial-gradient(ellipse 76% 60% at 50% 0%, #000 8%, transparent 70%);
  opacity: .5;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  color: var(--brand-ink); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 26px;
  box-shadow: var(--sh-1);
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.hero-title {
  font-size: clamp(38px, 5.6vw, 68px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.08; margin: 0;
  background: linear-gradient(120deg, var(--ink) 18%, var(--ink-2) 52%, var(--brand) 116%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--ink-3);
  max-width: 640px; margin: 22px auto 0; line-height: 1.7; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ---------- Section / 模块 ---------- */
.module { padding: var(--section) 0; border-bottom: 1px solid var(--line-soft); position: relative; }
.module:last-of-type { border-bottom: 0; }
.module > .container > h2 {
  position: relative;
  font-size: clamp(25px, 3.3vw, 38px); font-weight: 800;
  text-align: center; margin: 0 0 14px; letter-spacing: -.028em;
}
/* 章节小标：标题上方一条品牌渐变短线，纯视觉点睛 */
.module > .container > h2::before {
  content: ""; display: block; width: 38px; height: 3px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  margin: 0 auto 18px;
}
/* 各大模块的背景节奏：白 → 浅 → 白，避免流水账 */
.module-stats, .module-faq, .module-timeline { background: var(--bg-soft); }
.module-partners { background: var(--bg); }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--brand-tint); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.card h3:last-child { margin-bottom: 0; }
.card p { color: var(--ink-3); margin: 0; font-size: 15px; line-height: 1.7; }

/* 服务 / 产品卡片：右上角序号（纯 CSS 计数器，编辑式小细节） */
.module-services .grid, .module-products .grid { counter-reset: cardno; }
.module-services .card, .module-products .card { counter-increment: cardno; }
.module-services .card::after, .module-products .card::after {
  content: "0" counter(cardno);
  position: absolute; top: 24px; right: 26px;
  font-size: 13px; font-weight: 800; color: var(--brand);
  opacity: .42; letter-spacing: .04em; font-variant-numeric: tabular-nums;
}

/* ---------- 关于我们 ---------- */
.about-content {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-size: 17px; line-height: 1.9; color: var(--ink-2);
}

/* ---------- 数据战绩 ---------- */
.stats-grid { gap: 0; }
.stats-grid .stat { padding: 22px 12px; text-align: center; position: relative; }
.stats-grid .stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: var(--line);
}
.stat-num {
  font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; color: var(--brand);
  letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--ink-3); font-size: 14px; margin-top: 8px; font-weight: 500; }

/* ---------- 文章卡片 ---------- */
.post-list { display: grid; gap: 22px; }
.post-list .post-card { grid-column: auto; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  box-shadow: var(--sh-1);
}
.post-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0; transition: opacity .3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--brand-tint); }
.post-card:hover::before { opacity: 1; }
.post-title { font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.02em; }
.post-title a { color: var(--ink); display: block; }
.post-title a:hover { color: var(--brand); }
.post-meta { font-size: 13px; color: var(--ink-4); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-meta time { font-variant-numeric: tabular-nums; }
.post-meta .post-cate a {
  color: var(--brand); background: var(--brand-soft);
  padding: 2px 11px; border-radius: var(--r-pill); font-weight: 500; font-size: 12px;
}
.post-meta .post-cate a:hover { background: var(--brand-tint); color: var(--brand-ink); }
.post-intro { color: var(--ink-3); font-size: 15px; margin: 0 0 14px; line-height: 1.7; }
.readmore { font-size: 14px; font-weight: 600; color: var(--brand); }
.more { text-align: center; margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px;
  background: #fff; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item:hover { border-color: var(--brand-tint); box-shadow: var(--sh-1); }
.faq-item[open] { border-color: var(--brand-tint); box-shadow: var(--sh-2); }
.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 16px;
  padding: 18px 22px; list-style: none; position: relative;
  display: flex; align-items: center; gap: 14px; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-left: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 18px;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::before { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-answer {
  padding: 0 22px 20px 22px; color: var(--ink-3); font-size: 15px; line-height: 1.85;
  border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 0;
}

/* ---------- 团队 ---------- */
.team-card { text-align: center; padding: 32px 22px; }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid #fff; box-shadow: var(--sh-2);
}
.team-card h3 { font-size: 17px; margin-bottom: 4px; }
.team-card p { font-size: 14px; color: var(--ink-4); }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.partner {
  display: flex; align-items: center; justify-content: center;
  min-height: 88px; padding: 18px; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; color: var(--ink-3); font-weight: 600;
  filter: grayscale(100%); opacity: .68;
  transition: all .28s var(--ease);
}
.partner:hover { filter: grayscale(0); opacity: 1; border-color: var(--brand-tint); box-shadow: var(--sh-2); transform: translateY(-3px); }

/* ---------- 发展历程 ---------- */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 780px; }
.timeline li {
  display: flex; gap: 24px; padding: 0 0 26px 30px; position: relative;
  border-left: 2px solid var(--line);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--brand-ring);
}
.tl-year {
  font-weight: 800; color: var(--brand); min-width: 72px; flex-shrink: 0;
  font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.tl-event { color: var(--ink-2); line-height: 1.7; }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.contact-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; text-align: center; box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.contact-item strong {
  display: block; margin-bottom: 8px; color: var(--ink-4);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.contact-item p { color: var(--ink); margin: 0; font-size: 16px; font-weight: 500; word-break: break-word; }
.contact-item .qr { width: 108px; margin: 0 auto; border-radius: var(--r-sm); }
.contact-empty { text-align: center; color: var(--ink-3); font-size: 16px; }

/* ---------- 行动召唤 ---------- */
.module-cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 60%, var(--brand-2) 120%);
  position: relative; overflow: hidden;
}
.module-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 280px at 10% 0%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(520px 280px at 92% 100%, rgba(255,255,255,.14), transparent 60%);
}
.cta-box { text-align: center; color: #fff; position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-size: clamp(25px, 3.3vw, 40px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.cta-box h2::before { background: rgba(255,255,255,.6); }
.cta-box p { color: rgba(255, 255, 255, .9); font-size: 17px; max-width: 620px; margin: 0 auto 28px; }
.cta-btn {
  display: inline-block; background: #fff; color: var(--brand-ink);
  padding: 15px 40px; border-radius: var(--r-pill); font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.28); transition: all .22s var(--ease);
}
.cta-btn:hover { color: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.34); }

/* ---------- 文章页 / 单页 ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-4); padding: 26px 0 0; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }
.post { padding: 22px 0 clamp(48px, 6vw, 72px); max-width: 780px; margin: 0 auto; }
.post .post-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.032em; line-height: 1.2; margin-bottom: 16px; }
.post .post-meta { font-size: 13px; color: var(--ink-4); margin-bottom: 26px; }
.post .post-meta time { color: var(--ink-4); }
.post .post-meta .author { color: var(--ink-3); }
.post-summary {
  background: var(--brand-soft); border-left: 3px solid var(--brand);
  padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0;
  color: var(--ink-2); margin: 0 0 30px; font-size: 16px; line-height: 1.85;
}
.post-body { font-size: 16.5px; line-height: 1.9; color: var(--ink-2); }
.post-body > *:first-child { margin-top: 0; }
.post-body h2 { font-size: 24px; margin: 1.6em 0 .7em; padding-top: .4em; }
.post-body h3 { font-size: 20px; margin: 1.4em 0 .6em; }
.post-body p { margin: 0 0 1.2em; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body img { border-radius: var(--r); margin: 26px 0; box-shadow: var(--sh-2); }
.post-body blockquote {
  margin: 26px 0; padding: 16px 22px; border-left: 3px solid var(--brand);
  background: var(--bg-soft); border-radius: 0 var(--r) var(--r) 0; color: var(--ink-3);
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body ul, .post-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.post-body li { margin-bottom: .5em; }
.post-body code {
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  padding: 2px 7px; border-radius: 6px; font-size: .9em; color: var(--ink);
}
.post-body pre {
  background: var(--bg-deep); color: #e2e8f0; padding: 20px; border-radius: var(--r);
  overflow-x: auto; margin: 26px 0; font-size: 14px; line-height: 1.7;
}
.post-body pre code { background: none; border: 0; color: inherit; padding: 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.post-body th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }

/* ---------- 列表页 / 搜索 ---------- */
.list-title, .search-title { padding: clamp(40px, 5vw, 64px) 0 8px; margin: 0; font-size: clamp(24px, 3.2vw, 34px); }
.list .post-list, .search .post-list { margin-top: 26px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.notfound h1 { font-size: clamp(48px, 9vw, 88px); color: var(--brand); letter-spacing: -.05em; margin-bottom: 8px; }
.notfound p { color: var(--ink-3); font-size: 17px; margin-bottom: 26px; }

/* ---------- 评论 ---------- */
.comments { padding: 10px 0 clamp(56px, 7vw, 88px); max-width: 780px; margin: 0 auto; }
.comments-title { font-size: 21px; margin-bottom: 6px; padding-top: 30px; border-top: 1px solid var(--line); }
.comment { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.comment:last-of-type { border-bottom: 0; }
.c-meta { font-size: 13px; color: var(--ink-4); display: flex; align-items: center; gap: 8px; }
.c-meta strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.c-content { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.comment-form {
  margin-top: 34px; display: grid; gap: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 26px; border-radius: var(--r-lg);
}
.comment-form input, .comment-form textarea {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 15px; font-size: 15px; font-family: inherit;
  background: #fff; outline: none; transition: all .18s var(--ease);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; border-radius: var(--r-pill);
  padding: 13px 30px; cursor: pointer; font-size: 15px; font-weight: 600; justify-self: start;
  transition: all .2s var(--ease); font-family: inherit;
}
.comment-form button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px var(--brand-ring); }

/* ---------- 分页 ---------- */
.pagebar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 34px 0 0; }
.pagebar a, .pagebar span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff;
  transition: all .18s var(--ease);
}
.pagebar a:hover { border-color: var(--brand); color: var(--brand); }
.pagebar .now { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-deep); color: rgba(255,255,255,.62); padding: clamp(56px, 7vw, 84px) 0 30px; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 360px) auto; gap: 44px; justify-content: start; }
.footer-inner > * { min-width: 0; }
.foot-brand { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.foot-about { color: rgba(255,255,255,.55); font-size: 14.5px; margin-top: 12px; line-height: 1.75; max-width: 380px; }
.foot-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.foot-col a { display: block; color: rgba(255,255,255,.58); margin-bottom: 9px; font-size: 14.5px; }
.foot-col a:hover { color: #fff; }
.foot-col p { color: rgba(255,255,255,.58); font-size: 14.5px; margin: 0 0 9px; overflow-wrap: anywhere; }
.foot-copy {
  text-align: center; color: rgba(255,255,255,.42); font-size: 13.5px;
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
}
.foot-copy a, .foot-copy a:visited { color: inherit; text-decoration: none; }
.foot-copy a:hover { color: #fff; }
.foot-beian { display: inline; font-size: 13px; margin-left: 5px; }
.foot-beian a { margin: 0; }
.foot-sitemap { display: inline; margin-left: 5px; }

/* ---------- 入场微动画（纯 CSS，无 JS 依赖） ---------- */
@keyframes yyz-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-eyebrow, .hero-title, .hero-sub, .hero-actions { animation: yyz-rise .7s var(--ease) backwards; }
.hero-eyebrow { animation-delay: .02s; }
.hero-title { animation-delay: .08s; }
.hero-sub { animation-delay: .14s; }
.hero-actions { animation-delay: .2s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-search input { width: 140px; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:nth-child(odd)::before { display: none; }
}
@media (max-width: 768px) {
  .header-inner { gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .site-search { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3); max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 14px; border-radius: var(--r-sm); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid .stat + .stat::before { display: none; }
  .stats-grid { gap: 18px; }
  .card, .post-card, .contact-item { padding: 22px; }
  .hero { padding: 64px 20px 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; padding: 0 12px; }
  .hero-actions .btn { width: 100%; }
  .cta-btn { width: 100%; padding: 14px 20px; }
  .timeline li { gap: 16px; padding-left: 24px; }
  .tl-year { min-width: 58px; font-size: 16px; }
  .comment-form { padding: 20px; }
}

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

/* 联系方式长地址自动折行（2026-10-12） */
.contact-item p { overflow-wrap: anywhere; }
