:root {
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --muted: #6a7789;
  --fog: #e8eef4;
  --mist: #f4f7fa;
  --stone: #2c3a4a;
  --pine: #3d6b5a;
  --pine-deep: #2a4f42;
  --ridge: #8fa3b5;
  --line: rgba(26, 35, 50, 0.1);
  --white: #ffffff;
  --max: 1120px;
  --display: "Songti SC", "STSong", "SimSun", "PingFang SC", "Microsoft YaHei", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.75;
  min-height: 100vh;
}

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

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(24px); }
}

@keyframes lift {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ridge-shift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Header */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 28px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.28em;
  color: var(--white);
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

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

/* Hero — mountain silhouette full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 88px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(26, 35, 50, 0.25) 0%, rgba(26, 35, 50, 0.55) 55%, rgba(26, 35, 50, 0.82) 100%),
    linear-gradient(135deg, #5a7a8c 0%, #3d5a6e 40%, #2a3f4f 100%);
  color: var(--white);
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 30% 18%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 78% 12%, rgba(143, 163, 181, 0.25), transparent 50%);
  pointer-events: none;
}

.hero-ridges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
}

.hero-ridges span {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 100%;
}

.hero-ridges .r1 {
  background: linear-gradient(180deg, transparent 0%, rgba(45, 70, 85, 0.55) 40%, #2d4655 100%);
  clip-path: polygon(0 72%, 12% 48%, 22% 58%, 34% 32%, 48% 52%, 58% 28%, 72% 46%, 84% 22%, 100% 40%, 100% 100%, 0 100%);
  animation: ridge-shift 16s ease-in-out infinite;
}

.hero-ridges .r2 {
  background: linear-gradient(180deg, transparent 10%, rgba(36, 58, 70, 0.7) 50%, #243a46 100%);
  clip-path: polygon(0 80%, 18% 55%, 30% 68%, 44% 42%, 56% 60%, 70% 38%, 82% 55%, 100% 35%, 100% 100%, 0 100%);
  animation: ridge-shift 20s ease-in-out infinite reverse;
}

.hero-ridges .r3 {
  height: 70%;
  background: linear-gradient(180deg, transparent 0%, #1a2332 70%);
  clip-path: polygon(0 65%, 15% 45%, 28% 58%, 40% 35%, 55% 50%, 68% 30%, 80% 48%, 92% 28%, 100% 42%, 100% 100%, 0 100%);
}

.hero-mist {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18%;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(232, 238, 244, 0.2), transparent);
  filter: blur(18px);
  animation: drift 18s ease-in-out infinite;
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: lift 1s ease both;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 88px);
  letter-spacing: 0.22em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-lead {
  max-width: 30em;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 34px;
}

.hero-cta {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Sections */
section { padding: 92px 0; }

.section-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--pine);
}

.section-head {
  max-width: 520px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Intro */
.intro {
  background: var(--white);
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.intro-aside {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(165deg, #4a6a7a 0%, #2c4554 55%, #1f3340 100%);
  overflow: hidden;
}

.intro-aside::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: #1a2332;
  clip-path: polygon(0 55%, 20% 30%, 38% 48%, 55% 18%, 72% 40%, 88% 22%, 100% 36%, 100% 100%, 0 100%);
  opacity: 0.85;
}

.intro-aside::after {
  content: "望山";
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.88);
}

.intro-copy p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 18px;
}

.intro-copy p:last-child { margin-bottom: 0; }

.intro-copy strong {
  color: var(--ink);
  font-weight: 500;
}

/* Capabilities */
.capabilities {
  background: var(--fog);
}

.cap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cap-item {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}

.cap-item:nth-child(odd) {
  padding-right: 40px;
  border-right: 1px solid var(--line);
}

.cap-item:nth-child(even) {
  padding-left: 40px;
}

.cap-item h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.cap-item p {
  color: var(--muted);
  font-size: 14px;
}

/* Path */
.path {
  background: var(--white);
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: path;
}

.path-step {
  position: relative;
  padding-top: 48px;
}

.path-step::before {
  counter-increment: path;
  content: "0" counter(path);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--pine);
}

.path-step h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}

.path-step p {
  color: var(--muted);
  font-size: 14px;
}

/* Beliefs */
.beliefs {
  background: var(--stone);
  color: var(--white);
}

.beliefs .section-kicker { color: var(--ridge); }

.beliefs .section-head h2 { color: var(--white); }

.beliefs .section-head p { color: rgba(255, 255, 255, 0.65); }

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

.belief-item h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.belief-item p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* Contact */
.contact {
  background: var(--mist);
  padding-bottom: 80px;
}

.contact-block {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: end;
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
}

.contact-block h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.contact-block > div > p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 32em;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-meta span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-meta strong {
  font-size: 16px;
  font-weight: 500;
}

/* Footer */
footer {
  padding: 28px 0 40px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

footer a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

footer a:hover { color: #b8c9d4; }

@media (max-width: 860px) {
  .nav { display: none; }

  .hero {
    min-height: auto;
    padding: 140px 0 72px;
    align-items: center;
  }

  .intro-layout,
  .cap-list,
  .path-steps,
  .belief-grid,
  .contact-block {
    grid-template-columns: 1fr;
  }

  .intro-aside {
    min-height: 220px;
  }

  .cap-item:nth-child(odd),
  .cap-item:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }

  .path-step { padding-top: 40px; }

  section { padding: 72px 0; }
}
