:root {
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --ink: #1f2528;
  --muted: #657075;
  --line: #d8d2c5;
  --accent: #146c72;
  --accent-strong: #0b474b;
  --gold: #b97920;
  --green: #2f755d;
  --shadow: 0 24px 60px rgba(31, 37, 40, 0.12);
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 108, 114, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 108, 114, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 36px 36px;
  line-height: 1.6;
}

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;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 210, 197, 0.8);
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent-strong);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

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

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

.nav a:hover,
.nav a.active {
  color: var(--accent-strong);
  background: rgba(20, 108, 114, 0.1);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 44px;
  min-height: calc(100vh - 74px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--accent-strong);
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--accent-strong);
}

.button.secondary {
  color: var(--accent-strong);
  background: transparent;
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
}

.metric {
  padding: 18px;
  border: 1px solid rgba(216, 210, 197, 0.85);
  border-radius: 8px;
  background: var(--surface);
}

.metric span {
  color: var(--gold);
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.metric p,
.capability-grid p,
.project-card p,
.section-heading p,
.timeline span,
.contact p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.capability-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid article,
.project-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.chip {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(20, 108, 114, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.ops-list {
  display: grid;
  gap: 14px;
}

.ops-list article {
  padding: 22px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
}

.ops-list ul,
.tags {
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.ops-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.ops-list li + li {
  margin-top: 8px;
}

.ops-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "•";
}

.project-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.project-card.featured {
  color: #fff;
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.project-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.project-card.featured .chip {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 5px 9px;
  border: 1px solid rgba(101, 112, 117, 0.28);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.featured .tags li {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.25);
}

.workflow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  counter-increment: step;
}

.timeline li::before {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 800;
  content: "0" counter(step);
}

.timeline strong,
.timeline span {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-list a,
.contact-list span {
  padding: 10px 0;
  border-bottom: 1px solid rgba(216, 210, 197, 0.75);
  color: var(--accent-strong);
  font-weight: 700;
}

.contact-list > :last-child {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

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

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .capability-grid,
  .project-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section {
    width: min(100% - 28px, 1120px);
    padding: 52px 0;
  }

  h1 {
    font-size: 34px;
  }

  .capability-grid,
  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
