:root {
  --ink: #17212b;
  --muted: #5d6b78;
  --line: #d9e1e8;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --steel: #23536f;
  --green: #2f6f59;
  --amber: #c97b25;
  --soft-blue: #e8f1f4;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(35, 83, 111, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(47, 111, 89, 0.09), transparent 36%),
    var(--paper);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(247, 245, 239, 0.88);
  border-bottom: 1px solid rgba(217, 225, 232, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 6px;
}

.nav a:hover {
  color: var(--steel);
  background: rgba(35, 83, 111, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 48px 6vw 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--steel);
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--steel);
}

.button.secondary {
  color: var(--steel);
  background: rgba(255, 255, 255, 0.54);
}

.profile-panel {
  width: min(100%, 440px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(217, 225, 232, 0.9);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.profile-info {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: var(--muted);
  font-size: 15px;
}

.profile-info span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-info span::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: 72px 6vw;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 28px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.fact-grid,
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.fact-card,
.skill-card {
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(217, 225, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(23, 33, 43, 0.06);
}

.fact-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.fact-card strong {
  display: block;
  font-size: 19px;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 36px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.split-section .section-heading {
  display: block;
  margin: 0;
}

.content-block {
  padding: 30px;
  border-left: 5px solid var(--green);
  background: rgba(232, 241, 244, 0.72);
}

.content-block p,
.direction-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.skill-card {
  position: relative;
  overflow: hidden;
}

.skill-card::after {
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 58px;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--steel), var(--green), var(--amber));
  opacity: 0.24;
}

.skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 6px;
  background: var(--green);
  font-weight: 800;
}

.skill-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.skill-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.experience-section {
  background: rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(217, 225, 232, 0.7);
  border-bottom: 1px solid rgba(217, 225, 232, 0.7);
}

.timeline {
  max-width: 1120px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 18px;
}

.timeline-marker {
  width: 15px;
  height: 15px;
  margin-top: 11px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.timeline-meta {
  margin-bottom: 6px;
  color: var(--steel);
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.timeline-item ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.interests-section {
  padding-bottom: 42px;
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.interest-list span {
  padding: 11px 15px;
  border: 1px solid rgba(35, 83, 111, 0.18);
  border-radius: 6px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.direction-section {
  padding-top: 42px;
  padding-bottom: 88px;
}

.direction-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23, 33, 43, 0.92), rgba(35, 83, 111, 0.92)),
    var(--steel);
  box-shadow: var(--shadow);
}

.direction-copy .section-kicker,
.direction-copy p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .profile-panel {
    justify-self: start;
  }

  .fact-grid,
  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }

  .nav a {
    padding: 7px 8px;
    font-size: 14px;
  }

  h1 {
    font-size: 39px;
  }

  .intro,
  .content-block p,
  .direction-copy p {
    font-size: 16px;
  }

  .section {
    padding: 54px 5vw;
  }

  .section-heading {
    display: block;
  }

  .fact-grid,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    width: 100%;
  }

  .direction-copy {
    padding: 28px;
  }
}