:root {
  --paper: #F4F6F4;
  --ink: #1D2320;
  --quiet: #68706B;
  --line: #D7DDD8;
  --accent: #8F3A3D;
  --card: rgba(255,255,255,.62);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
  linear-gradient(rgba(29,35,32,.018) 1px, transparent 1px),
  var(--paper);
  background-size: 100% 34px;
  font-family:
  "Iowan Old Style",
  "Palatino Linotype",
  "Book Antiqua",
  Palatino,
  Georgia,
  serif;
  line-height: 1.55;
}
a { color: inherit; text-underline-offset: 3px; }
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 16px max(20px, calc((100vw - var(--max))/2));
  border-bottom: 1px solid var(--line);
  background: rgba(238,240,236,.99); backdrop-filter: blur(10px);
}
.brand { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; text-decoration: none; }
.brand span { color: var(--quiet); font-weight: 400; }
nav { display: flex; gap: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
nav a { text-decoration: none; }
main, footer { max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.hero { min-height: auto; padding: 56px 0 48px; position: relative; display: grid; grid-template-columns: 1fr; gap: 0; align-items: end; }
.hero-kicker, .section-number, .pub-meta, .stamp { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; font-size: 12px; color: var(--accent); }
.hero-kicker { grid-column: 1; align-self: end; }
h1 {
  grid-column: 1;
  font-size: clamp(45px, 6.4vw, 81px);
  line-height: 1.05;
  letter-spacing: -.023em;
  margin: 12px 0 20px;
  max-width: 1100px;
  font-weight: 398;
}

h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 398;
  color: var(--accent);
  letter-spacing: -.016em;
  margin-right: .09em;
}
.hero-copy { grid-column: 1; max-width: 700px; font-size: 20px; margin: 0; }
.hero-actions { grid-column: 1; display: flex; gap: 12px; margin-top: 10px; }
.button { display: inline-block; text-decoration: none; padding: 11px 16px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.button.ghost { background: transparent; color: var(--ink); }
.marginalia { grid-column: 2; grid-row: 1 / span 4; border-left: 1px solid var(--accent); padding: 16px 0 16px 18px; align-self: center; transform: rotate(-1deg); }
.marginalia span, .marginalia small { display: block; color: var(--quiet); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.marginalia strong { display: block; font-size: 20px; margin: 8px 0; }
.section { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 72px 0; border-top: 1px solid var(--line); }
.section-number { padding-top: 9px; }
h2 { font-size: clamp(34px, 4vw, 56px); margin: 0 0 12px; letter-spacing: -.025em; }
.lede { max-width: 760px; color: var(--quiet); font-size: 18px; }
.cabinet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.cabinet-card { min-height: 230px; padding: 24px; border: 1px solid var(--line); background: var(--card); box-shadow: 7px 7px 0 rgba(29,36,31,.05); }
.cabinet-card:nth-child(2) { transform: translateY(14px) rotate(.5deg); }
.cabinet-card:nth-child(3) { transform: rotate(-.6deg); }
.cabinet-card h3 { font-size: 25px; margin: 42px 0 10px; }
.timeline { margin-top: 30px; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.event time { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent); }
.event strong, .event span { display: block; }
.event strong { font-size: 19px; }
.event span { color: var(--quiet); }
.pub-list { margin-top: 28px; }
.publication { padding: 24px 0 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr auto; column-gap: 24px; align-items: start; }
.publication h3 { font-size: 24px; margin: 0 0 4px; }
.publication p { margin: 0; color: var(--quiet); }
.pub-actions { display: flex; gap: 14px; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.muted { opacity: .68; }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 24px; }
.link-grid a { display: flex; justify-content: space-between; padding: 18px; background: var(--paper); text-decoration: none; font-size: 19px; }
.link-grid a:hover { background: var(--ink); color: var(--paper); }
.small-note { color: var(--quiet); font-size: 14px; margin-top: 18px; }
footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 42px; display: flex; justify-content: space-between; color: var(--quiet); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.reader-shell { max-width: 1200px; margin: 0 auto; padding: 20px; }
.reader-bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.reader-bar h1 { font-family:
  "Iowan Old Style",
  "Palatino Linotype",
  "Book Antiqua",
  Palatino,
  Georgia,
  serif; font-size: 22px; margin: 0; letter-spacing: 0; line-height: 1.2; }
.pdf-frame { width: 100%; height: calc(100vh - 100px); border: 1px solid var(--line); background: white; }
@media (max-width: 780px) {
  .site-header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; }
  .marginalia { grid-column: 1; grid-row: auto; }
  .section { grid-template-columns: 1fr; gap: 8px; }
  .cabinet-grid { grid-template-columns: 1fr; }
  .cabinet-card:nth-child(n) { transform: none; }
  .publication { grid-template-columns: 1fr; row-gap: 8px; }
  .pub-actions { margin-top: 10px; }
  .link-grid { grid-template-columns: 1fr; }
  footer { gap: 20px; flex-direction: column; }
}
#publications,
#connect {
  grid-template-columns: 1fr;
}

#publications .section-number,
#connect .section-number {
  display: none;
}

#publications .section-body,
#connect .section-body {
  grid-column: 1;
  width: 100%;
}

/* ===== TYPOGRAPHIC SYSTEM ===== */

/* 1. 正文与研究内容：书籍感 serif */
body {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;
}

/* 2. 首页主标题：轻一些，不要像网页粗体 */
h1 {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;

  font-weight: 400;
  line-height: .99;
  letter-spacing: -.025em;
}

/* 红色部分稍微圆润一些 */
h1 em {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  color: var(--accent);
}

/* 博士研究介绍 */
.hero-copy {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;

  font-size: 20px;
  line-height: 1.52;
  font-weight: 400;
}


/* 3. 栏目标题：现代 humanist sans */
#publications h2,
#connect h2 {
  font-family:
    Optima,
    "Avenir Next",
    Candara,
    "Segoe UI",
    sans-serif;

  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.05;
}


/* 4. 文章标题：仍然是 serif，但比首页标题更安静 */
.publication h3 {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;

  font-size: 25px;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -.012em;
  margin: 0 0 7px;
}


/* 5. 期刊、出版信息：serif 小正文 */
.publication p {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;

  margin: 0;
  color: var(--quiet);
  font-size: 16px;
  line-height: 1.5;
}


/* 6. ARTICLE · 2025 等小标签：不用程序员 monospace */
.pub-meta,
.stamp,
.hero-kicker {
  font-family:
    Optima,
    "Avenir Next",
    Candara,
    "Segoe UI",
    sans-serif;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}


/* 7. Read online / PDF / DOI */
.pub-actions {
  font-family:
    Optima,
    "Avenir Next",
    Candara,
    "Segoe UI",
    sans-serif;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
}


/* 8. 顶部导航和姓名 */
.brand,
nav {
  font-family:
    Optima,
    "Avenir Next",
    Candara,
    "Segoe UI",
    sans-serif;
}

.brand {
  font-weight: 600;
  letter-spacing: .01em;
}

nav {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .015em;
}


/* 9. Elsewhere 内部链接 */
.link-grid a {
  font-family:
    Optima,
    "Avenir Next",
    Candara,
    "Segoe UI",
    sans-serif;

  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.005em;
}


/* 10. 最小的说明文字、页脚 */
.small-note,
footer {
  font-family:
    Optima,
    "Avenir Next",
    Candara,
    "Segoe UI",
    sans-serif;

  color: var(--quiet);
}

.small-note {
  font-size: 13px;
  line-height: 1.55;
}

footer {
  font-size: 11px;
  letter-spacing: .025em;
}