:root {
  color-scheme: light;
  --green: #0f7b55;
  --green-dark: #075237;
  --ink: #15251e;
  --muted: #5f6e65;
  --paper: #fbfcfa;
  --line: #dce4df;
  --sand: #f1efe9;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

a:focus-visible {
  outline: 3px solid #f2c46e;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  transform: translateY(-180%);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
nav { display: flex; align-items: center; }

.brand {
  gap: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  background: var(--green);
  font-size: 13px;
  letter-spacing: 0;
}

nav { gap: 24px; }

nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover { color: #fff; }

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100svh - 48px));
  overflow: hidden;
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; object-position: center; }

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 20, 15, 0.9) 0%, rgba(8, 20, 15, 0.67) 42%, rgba(8, 20, 15, 0.2) 78%, rgba(8, 20, 15, 0.1) 100%);
}

.hero-content { padding: 132px 0 120px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero .eyebrow { color: #9ee8c8; }

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

h1,
h2,
h3 { line-height: 1.2; overflow-wrap: anywhere; }

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.hero-next {
  position: absolute;
  bottom: 26px;
  left: max(24px, calc((100% - var(--max-width)) / 2));
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero-next-arrow { font-size: 22px; }

.section { padding: 96px 0; }

.section-heading { max-width: 720px; }

.section-heading h2,
.statement h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.capability-item {
  min-width: 0;
  padding: 28px 30px 4px 0;
  border-right: 1px solid var(--line);
}

.capability-item + .capability-item { padding-left: 30px; }
.capability-item:last-child { border-right: 0; }

.capability-number {
  margin-bottom: 32px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.capability-item h3 { margin-bottom: 12px; font-size: 22px; }
.capability-item p:last-child { color: var(--muted); }

.services { background: var(--sand); }

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cdd5d0;
}

.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid #cdd5d0;
  font-size: 19px;
  font-weight: 700;
}

.statement { background: var(--green-dark); color: #fff; }

.statement-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.statement .eyebrow { color: #9ee8c8; }
.statement h2 { margin-bottom: 0; }
.statement-layout > p { margin: 0; font-size: clamp(19px, 2.1vw, 28px); line-height: 1.55; }

.site-footer { background: #10231a; color: rgba(255, 255, 255, 0.72); }

.footer-layout {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-layout p { margin: 0; }
.footer-layout p:first-child { color: #fff; font-weight: 800; }
.footer-layout a { color: #b3efcf; text-underline-offset: 3px; }

@media (max-width: 768px) {
  .shell { width: min(calc(100% - 32px), var(--max-width)); }
  .nav-wrap { min-height: auto; padding: 16px 0; align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; }
  nav a { font-size: 13px; }
  .hero { min-height: min(720px, calc(100svh - 44px)); }
  .hero-content { padding: 152px 0 128px; }
  .hero-shade { background: linear-gradient(90deg, rgba(8, 20, 15, 0.87), rgba(8, 20, 15, 0.43)); }
  .section { padding: 72px 0; }
  .capability-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .capability-item,
  .capability-item + .capability-item { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-item:last-child { border-bottom: 0; }
  .capability-number { margin-bottom: 18px; }
  .services-layout,
  .statement-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-layout { min-height: auto; padding: 28px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 900px) {
  .nav-wrap { gap: 10px; align-items: stretch; flex-direction: column; }
  nav { width: 100%; justify-content: flex-start; gap: 8px 20px; }
  .hero-content { padding-top: 174px; }
}

@media (max-width: 430px) {
  .brand { font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  nav { justify-content: space-between; gap: 8px; }
  nav a { font-size: 12px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 21px; }
  .hero-copy { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
