:root {
  --ink: #172126;
  --muted: #5f6b6c;
  --paper: #f7f2ea;
  --surface: #fffaf3;
  --line: #ded5c9;
  --teal: #27676b;
  --teal-dark: #16484c;
  --coral: #c46a4a;
  --gold: #b48a43;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(23, 33, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(247, 242, 234, 0.86);
  border-bottom: 1px solid rgba(222, 213, 201, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(39, 103, 107, 0.1);
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 6vw 58px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  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: 22px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 7px;
  font-weight: 700;
  padding: 12px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(39, 103, 107, 0.24);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-height: 96px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--teal-dark);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.hero-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(222, 213, 201, 0.86);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 84px 6vw;
}

.intro-band {
  background: var(--ink);
  color: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 34px;
}

.intro-band .eyebrow {
  color: #d69a75;
}

.intro-band h2,
.intro-band p {
  color: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 1080px;
  margin-left: auto;
  color: rgba(255, 250, 243, 0.82);
  font-size: 19px;
}

.resume-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 46px;
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.16);
}

.resume-facts div {
  min-height: 128px;
  padding: 18px;
  background: rgba(255, 250, 243, 0.06);
}

.resume-facts span,
.resume-facts strong {
  display: block;
}

.resume-facts span {
  margin-bottom: 12px;
  color: rgba(255, 250, 243, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.resume-facts strong {
  color: var(--surface);
  font-size: 17px;
  line-height: 1.45;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project-card p {
  color: var(--muted);
}

.project-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  border: 1px solid rgba(39, 103, 107, 0.18);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
}

.split-section {
  background: #e8eee9;
}

.skill-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.skill-block {
  padding-top: 24px;
  border-top: 2px solid var(--teal);
}

.skill-block p {
  color: var(--muted);
}

.awards-section {
  background: var(--paper);
}

.award-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.award-list li {
  padding: 18px 0 18px 22px;
  border-left: 3px solid var(--coral);
  color: var(--muted);
  font-size: 18px;
  background: linear-gradient(90deg, rgba(196, 106, 74, 0.08), rgba(196, 106, 74, 0));
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 84px 6vw;
  background: var(--surface);
}

.contact-section h2 {
  max-width: 820px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
  padding: 10px 0;
}

.text-link:hover {
  color: var(--coral);
}

.site-footer {
  padding: 28px 6vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .hero-media {
    order: -1;
  }

  .section-heading,
  .about-grid,
  .resume-facts,
  .project-list,
  .skill-columns,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 6vw;
    left: 6vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    padding: 36px 6vw 46px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: auto;
  }

  .section,
  .contact-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .project-card {
    min-height: 300px;
  }
}
