/* JimmyHoo — 简约大气主题
   设计基调：米白纸感 + 深靛蓝 + 淡金点缀；衬线标题 / 无衬线正文；大留白、细分隔线。
   全部使用系统字体栈，不依赖任何外网资源，可完全离线运行。 */

:root {
  --ink: #15181d;
  --ink-2: #3d4450;
  --muted: #8b9099;
  --line: #e7e3db;
  --line-soft: #f1eee8;
  --paper: #fbfaf7;
  --card: #ffffff;
  --brand: #1b3a5c;
  --brand-soft: #eef2f7;
  --accent: #b8935a;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1060px;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* ---------- 通用排版件 ---------- */

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 14px;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; margin: 0; line-height: 1.25; }

.display { font-size: clamp(38px, 6vw, 62px); }
.section-title { font-size: clamp(26px, 3.6vw, 36px); }

.lede { font-size: 17px; color: var(--ink-2); line-height: 1.9; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.muted { color: var(--muted); }

/* ---------- 顶部导航 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.head-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .02em;
  font-weight: 600;
  white-space: nowrap;
}
.brand-dot { color: var(--accent); }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); }
.nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.head-cta {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  transition: all .2s;
  white-space: nowrap;
}
.head-cta:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 预览模式提示条 ---------- */

.draft-bar {
  background: #fff8e8;
  border-bottom: 1px solid #f0e2c0;
  color: #8a6a20;
  font-size: 13px;
  padding: 9px 0;
  text-align: center;
}
.draft-bar b { font-weight: 600; }

/* ---------- Hero ---------- */

.hero { padding: 92px 0 76px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 64px;
  align-items: start;
}

.hero h1 { margin-bottom: 18px; }
.hero .cn-name { font-family: var(--sans); font-size: 17px; color: var(--muted); letter-spacing: .18em; margin-bottom: 26px; }
.hero .lede { max-width: 46ch; margin: 0 0 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid var(--brand);
  transition: all .2s;
  cursor: pointer;
  background: transparent;
  color: var(--brand);
}
.btn:hover { background: var(--brand); color: #fff; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #122a44; border-color: #122a44; }
.btn-ghost { border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { background: #fff; color: var(--brand); border-color: var(--brand); }

/* 名片 */
.name-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 40px -32px rgba(21, 24, 29, .35);
}
.avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  overflow: hidden;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .monogram { font-family: var(--serif); font-size: 62px; color: var(--brand); opacity: .55; }

.meta-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.meta-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); }
.meta-list li:last-child { border-bottom: 0; }
.meta-list .k { color: var(--muted); white-space: nowrap; }
.meta-list .v { text-align: right; color: var(--ink); }

/* ---------- 数据条 ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: 38px; line-height: 1; margin-bottom: 8px; }
.stat .lbl { font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }

/* ---------- 区块 ---------- */

.section { padding: 78px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

/* ---------- 时间轴 ---------- */

.tl-year { display: grid; grid-template-columns: 132px 1fr; gap: 40px; padding-bottom: 8px; }
.tl-year + .tl-year { margin-top: 12px; }
.tl-year-label { font-family: var(--serif); font-size: 30px; color: var(--brand); position: sticky; top: 96px; align-self: start; }
.tl-year-label small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-top: 4px; }

.tl-items { border-left: 1px solid var(--line); padding-left: 34px; }

.tl-item { position: relative; padding: 0 0 34px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--brand);
}
.tl-item.is-accent::before { background: var(--accent); border-color: var(--accent); }

.tl-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tl-date { font-size: 12.5px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-item h3 { font-size: 20px; margin-bottom: 8px; }
.tl-item p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tl-cover { margin-top: 14px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.tl-cover img { width: 100%; max-height: 340px; object-fit: cover; }

/* ---------- Chip / Tag ---------- */

.chip {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .08em;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid #dde5ef;
  white-space: nowrap;
}
.chip-accent { background: #f8f0e2; color: #8a6a20; border-color: #efe2c8; }
.chip-plain { background: #fff; color: var(--muted); border-color: var(--line); }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tags .chip { background: #fff; }

/* ---------- 荣誉 ---------- */

.honor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.honor-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.honor-card:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -30px rgba(21, 24, 29, .5); border-color: #d9d3c8; }
.honor-card .h-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.honor-card .h-year { font-family: var(--serif); font-size: 22px; color: var(--brand); }
.honor-card h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.honor-card .h-note { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.honor-card .h-issuer { margin: 0; font-size: 13px; color: var(--muted); }

.year-block { margin-bottom: 56px; }
.year-block:last-child { margin-bottom: 0; }
.year-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.year-head h2 { font-size: 32px; color: var(--brand); }
.year-head .count { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }

/* ---------- 筛选器 ---------- */

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter {
  font-size: 13.5px;
  padding: 7px 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .18s;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 关于页 ---------- */

.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.about-body p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.about-body p:last-child { margin-bottom: 0; }

.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 600; margin: 0 0 14px; }

.interest-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.interest-list .chip { font-size: 13px; padding: 6px 15px; }

/* ---------- 空状态 ---------- */

.empty {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
}
.empty p { margin: 0 0 18px; }

/* ---------- 页脚 ---------- */

.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 42px 0 52px; }
.foot-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a:hover { color: var(--brand); }

/* ---------- 响应式 ---------- */

@media (max-width: 900px) {
  .hero { padding: 60px 0 52px; }
  .hero-grid, .about-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .tl-year { grid-template-columns: 1fr; gap: 14px; }
  .tl-year-label { position: static; font-size: 24px; }
  .tl-items { padding-left: 24px; }
  .tl-item::before { left: -30px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .head-inner { height: 60px; gap: 16px; }
  .nav { gap: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav a { font-size: 13.5px; }
  .head-cta { display: none; }
  .section { padding: 54px 0; }
  .honor-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-head, .draft-bar, .hero-actions, .filters, .site-foot { display: none; }
  body { background: #fff; }
}
