@charset "utf-8";

/* ==========================================================================
   0. Design tokens
   ========================================================================== */
:root {
  --navy: #1f3a5f;
  --navy-deep: #16324f;
  --navy-tint: #eef2f7;
  --gold: #c8a45c;
  --gold-ink: #8a6a2f;
  --ink: #16202b;
  --text: #33404f;
  --muted: #5f6b7a;
  --line: #e3e7ed;
  --line-strong: #d3d9e1;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;

  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-hover: 0 14px 30px -20px rgba(22, 50, 79, .38);

  --maxw: 1100px;
  --gutter: 24px;
  --section-y: 96px;
  --header-h: 72px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ==========================================================================
   1. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: .02em;
  color: var(--ink);
}

p, ul, ol, dl, dd, dt, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a {
  color: var(--navy);
  text-decoration: none;
}

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background-color: var(--navy-deep);
  color: #fff;
  font-size: 14px;
  transition: top .2s var(--ease);
}

.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), box-shadow .2s var(--ease),
    transform .2s var(--ease);
}

.btn--primary {
  background-color: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

.btn--primary:hover {
  background-color: #0e2437;
  border-color: #0e2437;
  box-shadow: 0 10px 22px -16px rgba(14, 36, 55, .9);
}

.btn--ghost {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--navy-deep);
}

.btn--ghost:hover {
  background-color: var(--navy-tint);
  border-color: var(--navy);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* ==========================================================================
   3. Header / navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}

.site-header.is-scrolled { box-shadow: 0 2px 14px -10px rgba(22, 50, 79, .45); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--navy-deep);
}

.brand__mark {
  display: block;
  width: 3px;
  height: 26px;
  background-color: var(--gold);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .1em;
}

.brand__sub {
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--text);
  transition: color .2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease);
}

.nav__link:hover { color: var(--navy-deep); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link.is-active {
  color: var(--navy-deep);
  font-weight: 500;
}

.nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  background-color: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--navy-deep);
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background-color: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5.25px) rotate(-45deg);
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
  padding: calc(var(--header-h) + 88px) 0 var(--section-y);
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background-color: var(--gold);
}

.hero__name {
  margin-bottom: 12px;
  font-size: clamp(40px, 6.2vw, 64px);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.08;
  color: var(--navy-deep);
}

.hero__role {
  margin-bottom: 20px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--navy);
}

.hero__tagline {
  max-width: 30em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* 分隔只用间距，不使用装饰点：换行时不会出现行首悬挂符号 */
.hero__meta li { white-space: nowrap; }

.hero__meta a {
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.hero__meta a:hover {
  color: var(--navy-deep);
  border-bottom-color: var(--gold);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.hero__stat-label {
  margin-bottom: 6px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--muted);
}

.hero__stat-value {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
}

.hero__stat-unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

/* ==========================================================================
   5. Sections
   ========================================================================== */
.section {
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section--alt { background-color: var(--bg-alt); }

.section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section__index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

.section__title {
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy-deep);
}

.section__note {
  margin: -22px 0 32px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   6. About
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
}

.about__lead {
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: .03em;
  color: var(--navy-deep);
}

.about__body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.about__body p + p { margin-top: 16px; }

/* ==========================================================================
   7. Cards / skills
   ========================================================================== */
.card {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
    border-color .25s var(--ease);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.skill { padding: 26px 26px 28px; }

.skill__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy-deep);
}

.skill__title::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

.skill__text {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text);
}

/* ==========================================================================
   8. Timeline (experience)
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 192px;
}

/* 集团总览条：一句话交代集团背景、在职区间与当前状态 */
.exp-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 30px;
  padding: 14px 18px;
  background-color: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.exp-lead__org {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy-deep);
}

.exp-lead__meta {
  font-size: 14px;
  color: var(--muted);
}

.exp-lead__sep {
  color: var(--line-strong);
}

.exp-lead__tag {
  padding: 2px 9px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gold-ink);
  border: 1px solid rgba(200, 164, 92, .55);
  border-radius: 999px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 160px;
  top: 4px;
  bottom: 30px;
  width: 1px;
  background-color: #ccd3dd;
}

.timeline__item {
  position: relative;
  padding-bottom: 22px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 26px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background-color: var(--bg);
}

.timeline__item:first-child::before {
  border-color: var(--gold);
  background-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 92, .16);
}

.timeline__time {
  position: absolute;
  left: -192px;
  top: 18px;
  width: 140px;
  text-align: right;
  font-size: 13.5px;
  letter-spacing: .02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.timeline__period {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--navy);
}

.timeline__tag {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 9px;
  border: 1px solid rgba(200, 164, 92, .55);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold-ink);
}

.timeline__body { padding: 22px 26px 24px; }

.timeline__role {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--navy-deep);
}

.timeline__org {
  margin-top: 5px;
  font-size: 13.5px;
  letter-spacing: .07em;
  color: var(--muted);
}

.bullets {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 1px;
  background-color: rgba(31, 58, 95, .4);
}

/* ==========================================================================
   9. Metrics (achievements)
   ========================================================================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
}

.metric__label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
}

.metric__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 12px;
  color: var(--navy-deep);
}

.metric__num {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.metric__unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.metric__sub {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chart {
  margin-top: auto;
  padding-top: 20px;
}

.chart__bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: end;
  justify-items: center;
  height: 52px;
  border-bottom: 1px solid var(--line);
}

.chart__bar {
  display: block;
  width: 66%;
  max-width: 40px;
  height: var(--h, 40px);
  border-radius: 2px 2px 0 0;
  background-color: #dbe2ec;
}

.chart__bar:last-child { background-color: var(--gold); }

.chart__years {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .02em;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

[data-chart="scale"] .chart__bar:nth-child(1) { --h: 49px; }
[data-chart="scale"] .chart__bar:nth-child(2) { --h: 52px; }
[data-chart="scale"] .chart__bar:nth-child(3) { --h: 23px; }

[data-chart="margin"] .chart__bar:nth-child(1) { --h: 37px; }
[data-chart="margin"] .chart__bar:nth-child(2) { --h: 52px; }
[data-chart="margin"] .chart__bar:nth-child(3) { --h: 51px; }

[data-chart="unit"] .chart__bar:nth-child(1) { --h: 37px; }
[data-chart="unit"] .chart__bar:nth-child(2) { --h: 43px; }
[data-chart="unit"] .chart__bar:nth-child(3) { --h: 52px; }

[data-chart="price"] .chart__bar:nth-child(1) { --h: 38px; }
[data-chart="price"] .chart__bar:nth-child(2) { --h: 43px; }
[data-chart="price"] .chart__bar:nth-child(3) { --h: 52px; }

.metric-wide {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 18px;
  padding: 26px 26px 26px 28px;
}

.metric-wide__head .metric__value { margin-top: 10px; }

.rate {
  display: grid;
  gap: 14px;
}

.rate__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.rate__track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background-color: #e6eaf0;
  overflow: hidden;
}

.rate__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background-color: var(--navy);
}

.rate__row:last-child .rate__fill { background-color: var(--gold); }

[data-rate="three"] .rate__row:nth-child(1) .rate__fill { width: 59.3%; }
[data-rate="three"] .rate__row:nth-child(2) .rate__fill { width: 59.8%; }
[data-rate="three"] .rate__row:nth-child(3) .rate__fill { width: 60.2%; }

.metrics__foot {
  margin-top: 20px;
  padding: 1px 0 1px 12px;
  border-left: 2px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   10. Education
   ========================================================================== */
.edu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 26px 28px;
}

.edu__school {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--navy-deep);
}

.edu__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.edu__dot {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

.edu__time {
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   11. Contact / footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.contact {
  padding-block: var(--section-y) 64px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.contact__lead {
  max-width: 46em;
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--navy-deep);
}

.contact__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact__note {
  font-size: 13px;
  color: var(--muted);
}

.contact__key {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .13em;
  color: var(--muted);
}

.contact__val {
  font-size: 15.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.contact__val a {
  padding-bottom: 1px;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--line-strong);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.contact__val a:hover {
  color: var(--navy-deep);
  border-bottom-color: var(--gold);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.footer__bottom {
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

/* 网页端不展示联系信息板块；PDF/打印仍保留 */
@media screen {
  .contact { display: none !important; }
  .birthday { display: none !important; }
}

.footer__print-contact { display: none; }

.footer__home-link {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}
.footer__home-link:hover { color: var(--navy-deep); border-bottom-color: var(--navy-deep); }

/* 手机号：屏幕端脱敏，打印/PDF 显示完整号码 */
.ph-full { display: none; }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted);
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 4px;
  color: var(--muted);
  transition: color .2s var(--ease);
}

.footer__top-link:hover { color: var(--navy-deep); }

/* ==========================================================================
   12. Motion (IntersectionObserver reveal) + hover polish
   ========================================================================== */
html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
}

html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .skill:hover,
  .metric:hover,
  .metric-wide:hover,
  .timeline__body:hover,
  .edu:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--line-strong);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.motion-ready .reveal,
  html.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   13. Responsive — tier 1: ≥1200px (desktop)
   ========================================================================== */
@media (min-width: 1200px) {
  .wrap { max-width: var(--maxw); }
  .hero__tagline { font-size: 18px; }
  .metric__sub { min-height: 2.2em; }
  .timeline__body { padding: 24px 30px 26px; }
}

/* ==========================================================================
   14. Responsive — tier 2: 768–1199px (tablet)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --gutter: 40px;
    --section-y: 80px;
  }

  .hero { padding-top: calc(var(--header-h) + 72px); }

  .nav { gap: 18px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 14.5px; letter-spacing: .02em; }
  .brand__sub { display: none; }

  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__lead { max-width: 40ch; }

  .timeline { padding-left: 172px; }
  .timeline::before { left: 144px; }
  .timeline__time { left: -172px; width: 120px; }
  .timeline__item::before { left: -32px; }

  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-wide { grid-template-columns: 1fr; gap: 24px; }

  .contact__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   15. Responsive — tier 3: ≤767px (mobile)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 56px;
    --header-h: 64px;
  }

  body { font-size: 15px; }

  /* --- mobile navigation --- */
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    background-color: #fff;
    border-bottom: 0;
    box-shadow: 0 16px 28px -26px rgba(22, 50, 79, .6);
    transition: max-height .32s var(--ease), opacity .24s var(--ease),
      transform .32s var(--ease), padding .32s var(--ease),
      visibility .32s var(--ease);
  }

  .nav.is-open {
    max-height: 74vh;
    padding: 8px 20px 20px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    transform: none;
    border-bottom: 1px solid var(--line);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav__link {
    width: 100%;
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
    letter-spacing: .04em;
  }

  .nav__link::after { display: none; }

  .nav__cta {
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
  }

  /* --- hero --- */
  .hero { padding: calc(var(--header-h) + 52px) 0 var(--section-y); }

  .hero__name { font-size: clamp(34px, 10.5vw, 42px); letter-spacing: .1em; }
  .hero__role { font-size: 16.5px; margin-bottom: 16px; }
  .hero__tagline { font-size: 15.5px; line-height: 1.8; }
  .hero__meta { margin-top: 22px; font-size: 13.5px; gap: 6px 20px; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 132px; }

  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
    padding-top: 22px;
  }
  .hero__stat-label { font-size: 11px; letter-spacing: .02em; }
  .hero__stat-value { font-size: 22px; }
  .hero__stat-unit { font-size: 11px; margin-left: 2px; }

  /* --- sections --- */
  .section__head {
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 12px;
  }
  .section__title { font-size: 22px; }
  .section__note { margin: -14px 0 24px; font-size: 13px; }

  /* --- about --- */
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about__lead {
    padding-left: 16px;
    border-left-width: 2px;
    font-size: 19px;
    line-height: 1.6;
  }
  .about__body p { font-size: 15px; line-height: 1.8; }
  .about__body p + p { margin-top: 12px; }

  /* --- skills --- */
  .skill-grid { grid-template-columns: 1fr; gap: 14px; }
  .skill { padding: 20px 20px 22px; }
  .skill__title { font-size: 15.5px; }
  .skill__text { font-size: 14.5px; }

  /* --- timeline --- */
  .exp-lead {
    gap: 2px 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
  }
  .exp-lead__org { font-size: 15.5px; }
  .exp-lead__meta { font-size: 13px; }
  .exp-lead__sep { display: none; }
  .exp-lead__tag { margin-top: 4px; font-size: 11.5px; }
  .timeline { padding-left: 22px; }
  .timeline::before { left: 5px; top: 6px; bottom: 10px; }
  .timeline__item { padding-bottom: 16px; }
  .timeline__item::before { left: -22px; top: 7px; width: 10px; height: 10px; }
  .timeline__time {
    position: static;
    width: auto;
    margin-bottom: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
  }
  .timeline__period { display: inline; font-size: 14px; }
  .timeline__tag { margin-top: 0; }
  .timeline__body { padding: 18px 18px 20px; }
  .timeline__role { font-size: 16px; line-height: 1.5; }
  .timeline__org { font-size: 13px; }
  .bullets { margin-top: 12px; gap: 6px; }
  .bullets li { font-size: 14.5px; line-height: 1.72; }

  /* --- metrics --- */
  .metrics { grid-template-columns: 1fr; gap: 14px; }
  .metric { padding: 20px 20px 18px; }
  .metric__num { font-size: 30px; }
  .metric__sub { min-height: 0; font-size: 13px; }
  .chart { padding-top: 16px; }
  .metric-wide {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 14px;
    padding: 20px;
  }
  .rate { gap: 12px; }
  .rate__row { grid-template-columns: 46px minmax(0, 1fr) 56px; gap: 10px; font-size: 12px; }
  .metrics__foot { margin-top: 16px; padding-left: 10px; font-size: 12.5px; }

  /* --- education --- */
  .edu { padding: 20px; }
  .edu__school { font-size: 16.5px; line-height: 1.5; }
  .edu__meta { font-size: 13px; }

  /* --- contact --- */
  .contact { padding-block: var(--section-y) 40px; }
  .contact__lead { margin-bottom: 28px; font-size: 16px; }
  .contact__list { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .contact__val { font-size: 15px; }
  .contact__actions { margin-top: 28px; }
  .contact__actions .btn { flex: 1 1 auto; min-width: 140px; }

  .footer__inner { justify-content: flex-start; }
}

/* ==========================================================================
   16. Print — one clean A4 page
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm;
  }

  :root {
    --section-y: 0mm;
    --gutter: 0px;
    --header-h: 0px;
  }

  html,
  body {
    background-color: #fff !important;
    color: #111;
    font-size: 9.6pt;
    line-height: 1.42;
    letter-spacing: 0;
  }

  .site-header,
  .nav-toggle,
  .skip-link,
  .hero__actions,
  .chart,
  .btn,
  .contact__actions,
  .footer__home-link,
  .footer__top-link {
    display: none !important;
  }

  /* 每页页脚：姓名 + 联系方式 */
  .footer__bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid #ccc;
    padding-top: 1.2mm;
    background-color: #fff;
  }
  .footer__inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4mm;
  }
  .footer__copy { font-size: 7.6pt; color: #333; }
  .ph-mask { display: none !important; }
  .ph-full { display: inline !important; }
  .footer__print-contact {
    display: block;
    font-size: 7.6pt;
    color: #333;
  }

  .wrap {
    max-width: none;
    margin: 0;
    padding-inline: 0;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }

  .section--alt,
  .site-footer {
    background-color: #fff !important;
  }

  /* ---- hero：压缩为简历抬头 ---- */
  .hero {
    padding: 0 0 1.6mm !important;
    background-color: #fff !important;
    border-bottom: 1px solid #bbb;
  }

  .eyebrow { margin-bottom: 0.8mm; font-size: 7.5pt; letter-spacing: .1em; }
  .eyebrow::before { width: 4mm; background-color: #999; }
  .hero__name {
    margin-bottom: 0.5mm;
    font-size: 16pt;
    line-height: 1.2;
    letter-spacing: .1em;
    color: #000;
  }
  .hero__role { margin-bottom: 1mm; font-size: 10.4pt; color: #000; }
  .hero__tagline { max-width: none; font-size: 9.4pt; line-height: 1.4; }
  .hero__meta {
    margin-top: 1.2mm;
    gap: 1mm 5mm;
    font-size: 9pt;
  }
  /* 三项统计与正文重复，打印时省略以换取更大字号 */
  .hero__stats { display: none !important; }

  /* ---- 区块整体收窄 ---- */
  .section,
  .contact { padding-block: 3.4mm !important; }

  .section__head {
    margin-bottom: 0.9mm;
    padding-bottom: 0.3mm;
    border-bottom: 1px solid #bbb;
  }
  /* 打印不显示章节编号，避免跨页后序号错乱 */
  .section__index { display: none !important; }
  .section__title { font-size: 11.4pt; letter-spacing: .06em; color: #000; }
  .section__note { margin: 0 0 1.8mm; font-size: 8.6pt; color: #444; }

  /* ---- 个人简介 ---- */
  .about { grid-template-columns: 1fr; gap: 1.4mm; }
  .about__lead { max-width: none; }
  .about__lead {
    padding-left: 2.6mm;
    border-left: 2px solid #999;
    font-size: 10.6pt;
    line-height: 1.45;
    color: #000;
  }
  .about__body p { font-size: 9.6pt; line-height: 1.5; }
  .about__body p + p { margin-top: 1.4mm; }

  .card {
    border-color: #ccc !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    box-shadow: none !important;
  }

  /* ---- 核心能力：转为紧凑条目 ---- */
  .skill-grid { display: block; }
  .skill {
    display: block;
    padding: 0 0 0.5mm !important;
    border: 0 !important;
  }
  .skill__title { display: inline; font-size: 9.6pt; color: #000; }
  .skill__title::before { display: none; }
  .skill__title::after { content: "："; }
  .skill__text {
    display: inline;
    margin: 0;
    font-size: 9.6pt;
    line-height: 1.5;
  }

  /* ---- 工作经历 ---- */
  .exp-lead {
    gap: 0 3mm;
    margin: 0 0 1.8mm;
    padding: 1mm 0 1mm 2.6mm;
    background-color: #fff !important;
    border: 0;
    border-left: 2px solid #b0b0b0;
    border-radius: 0;
  }
  .exp-lead__org { font-size: 11pt; font-weight: 700; color: #000; }
  .exp-lead__meta { font-size: 9.4pt; color: #444; }
  .exp-lead__tag {
    padding: 0 1.2mm;
    border-color: #b0b0b0;
    color: #333;
    font-size: 8.4pt;
  }

  .timeline { padding-left: 35mm; }
  .timeline::before { display: none; }
  .timeline__item {
    padding-bottom: 2.2mm;
    break-inside: avoid;
  }
  .timeline__item::before { display: none; }
  .timeline__time {
    position: absolute;
    left: -35mm;
    top: 1mm;
    width: 32mm;
    font-size: 8.6pt;
    white-space: nowrap;
  }
  .timeline__period { display: block; font-size: 9.4pt; color: #000; }
  .timeline__tag {
    margin-top: 0.2mm;
    padding: 0 1.2mm;
    border-color: #bbb;
    color: #444;
    font-size: 8.2pt;
  }
  .timeline__body {
    padding: 1mm 0 1mm 2.8mm !important;
    border: 0 !important;
    border-left: 1px solid #c4c4c4 !important;
  }
  .timeline__role { font-size: 10.4pt; color: #000; }
  .timeline__org { margin-top: 0.6mm; font-size: 8.8pt; }
  .bullets { margin-top: 1mm; gap: 0.5mm; }
  .bullets li {
    padding-left: 2.4mm;
    font-size: 9.6pt;
    line-height: 1.5;
  }
  .bullets li::before { top: .6em; background-color: #999; }

  /* ---- 代表业绩 ---- */
  .metrics { grid-template-columns: repeat(4, 1fr) !important; gap: 1.4mm; }
  .metric {
    padding: 1.4mm 2mm !important;
    break-inside: avoid;
  }
  .metric__label { font-size: 8.4pt; }
  .metric__value { margin-top: 0.4mm; }
  .metric__num { font-size: 12.6pt; color: #000; }
  .metric__unit { font-size: 8.2pt; }
  .metric__sub {
    min-height: 0;
    margin-top: 0.3mm;
    font-size: 8.6pt;
    line-height: 1.42;
  }

  .metric-wide {
    grid-template-columns: 1fr !important;
    gap: 0;
    margin-top: 1.2mm;
    padding: 1.4mm 2mm !important;
    break-inside: avoid;
  }
  .metric-wide .rate { display: none !important; }
  .metric-wide__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1mm 3mm;
  }
  .metric-wide__head .metric__value { margin-top: 0; }
  .metrics__foot {
    margin-top: 0.8mm;
    padding-left: 2mm;
    border-left: 1px solid #bbb;
    font-size: 8.6pt;
  }

  /* ---- 教育背景 ---- */
  .edu {
    padding: 1mm 2.2mm !important;
    break-inside: avoid;
  }
  .edu__school { font-size: 10.6pt; color: #000; }
  .edu__meta { margin-top: 0.4mm; font-size: 9.4pt; }
  .edu__time { font-size: 9.4pt; }

  /* ---- 联系方式 ---- */
  .contact__lead {
    max-width: none;
    margin-bottom: 1.2mm;
    font-size: 9.6pt;
    color: #000;
  }
  .contact__list {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2.6mm;
    padding-top: 1mm;
    border-top: 1px solid #ccc;
  }
  .contact__key { margin-bottom: 0.4mm; font-size: 8.4pt; color: #444; }
  .contact__val { font-size: 9.4pt; color: #000; }
  .contact__val a { border: 0 !important; }

  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* ---- 分页控制：第 1 页放简介与全部经历，第 2 页放能力、业绩与联系方式 ---- */
  main { display: flex; flex-direction: column; }
  #top { order: 1; }
  #about { order: 2; }
  #experience { order: 3; }
  #skills { order: 4; }
  #achievements { order: 5; }
  #education { order: 6; }
  .contact { order: 7; }
  #skills { break-before: page; }
  .section__head,
  .timeline__item,
  .skill,
  .metric,
  .metric-wide,
  .edu {
    break-inside: avoid;
  }
  h1, h2, h3 { break-after: avoid; }
}
