:root {
  --bg: #f7f4ef;
  --card: #ffffff;
  --text: #222831;
  --muted: #687083;
  --primary: #4f6f52;
  --primary-dark: #39523d;
  --accent: #d9a441;
  --line: rgba(34, 40, 49, 0.1);
  --shadow: 0 24px 70px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.18), transparent 34rem),
    linear-gradient(135deg, #fbfaf7 0%, var(--bg) 100%);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-title p {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

h1 span {
  color: var(--primary);
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(79, 111, 82, 0.24);
}

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

.btn.secondary {
  background: var(--card);
  color: var(--primary);
  border: 1px solid rgba(79, 111, 82, 0.18);
}

.hero-card,
.content-card,
.note-card,
.contact-box {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 36px;
}

.avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(79, 111, 82, 0.22);
}

.hero-card h2 {
  margin: 24px 0 6px;
  font-size: 28px;
}

.hero-card p,
.hero-card li {
  color: var(--muted);
}

.hero-card ul {
  padding: 20px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-card li + li {
  margin-top: 8px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.04em;
}

.content-card,
.contact-box {
  padding: 34px;
}

.content-card p:last-child,
.contact-box p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.note-card {
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.note-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 76px rgba(31, 41, 55, 0.16);
}

.note-card span {
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.note-card h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.note-card p,
.content-card p,
.timeline-item p,
.contact-box p,
.footer-note {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.58);
}

.timeline-item time {
  color: var(--primary);
  font-weight: 900;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.contact-box a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin-bottom: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links a {
    padding: 14px;
    border-radius: 16px;
  }

  .nav-links a:hover {
    background: rgba(79, 111, 82, 0.08);
  }

  .nav.open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

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

  .hero {
    gap: 24px;
    padding-top: 58px;
  }

  .section {
    padding: 64px 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .section,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .hero-card,
  .content-card,
  .note-card,
  .contact-box {
    border-radius: 24px;
    padding: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
