:root {
  --ink: #171b18;
  --muted: #616a63;
  --paper: #f6f7f3;
  --white: #ffffff;
  --green: #1f6748;
  --green-dark: #174b37;
  --blue: #315c78;
  --line: #d9ded9;
  --warm: #d7953d;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--white); border-radius: 4px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { color: var(--ink); background: rgba(255,255,255,.96); box-shadow: 0 1px 16px rgba(17,30,21,.08); border-bottom-color: transparent; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 4px; font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--warm); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; color: inherit; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 760px; height: 92vh; max-height: 900px; color: var(--white); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-shade { position: absolute; inset: 0; background: rgba(10,17,13,.62); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding-top: max(180px, 24vh); }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--warm); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.hero h1 { max-width: 720px; margin: 0 0 22px; font-size: 72px; line-height: 1.08; letter-spacing: 0; }
.hero-copy { max-width: 700px; margin: 0; color: rgba(255,255,255,.9); font-size: 20px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-width: 132px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--green-dark); }
.button-ghost { border-color: rgba(255,255,255,.58); background: rgba(0,0,0,.08); }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.hero-rail { position: absolute; z-index: 2; right: max(28px, calc((100vw - 1180px) / 2)); bottom: 36px; left: max(28px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.3); }
.hero-rail span { padding: 18px 0 0; color: rgba(255,255,255,.82); font-size: 14px; }

.section { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 112px 0; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.section-heading { max-width: 650px; }
.section-heading h2, .about h2, .contact-inner h2 { margin: 0; font-size: 42px; line-height: 1.25; letter-spacing: 0; }
.section-lead { margin: 0; color: var(--muted); font-size: 18px; }

.services { padding-top: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 54px; }
.service-item { min-height: 360px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.service-no { color: var(--green); font-size: 14px; font-weight: 700; }
.service-item h3 { margin: 50px 0 14px; font-size: 24px; }
.service-item p { margin: 0 0 18px; color: var(--muted); }
.service-item ul { margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 14px; }
.service-item li { position: relative; padding-left: 15px; }
.service-item li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--warm); }

.process-band { background: #151a17; color: var(--white); }
.process-inner { padding-top: 104px; padding-bottom: 104px; }
.section-heading-light { margin-bottom: 62px; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.process-list li { min-height: 260px; padding: 24px 28px 20px 0; border-right: 1px solid rgba(255,255,255,.15); }
.process-list li + li { padding-left: 28px; }
.process-list li:last-child { border-right: 0; }
.process-list > li > span { color: var(--warm); font-size: 13px; font-weight: 700; }
.process-list h3 { margin: 58px 0 10px; font-size: 20px; }
.process-list p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
.about-copy > p:last-child { max-width: 660px; margin: 26px 0 0; color: var(--muted); font-size: 18px; }
.principles { border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principles strong { color: var(--green); }
.principles span { color: var(--muted); }

.contact-band { background: var(--paper); border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-copy p { margin: 0; color: var(--muted); font-size: 18px; }
.contact-copy .contact-note { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; }

.site-footer { padding: 56px max(28px, calc((100vw - 1180px) / 2)) 24px; background: var(--white); }
.footer-main { display: grid; grid-template-columns: 220px 1fr auto; gap: 30px; align-items: center; }
.brand-footer { font-size: 16px; }
.footer-main p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; font-size: 13px; }
.footer-main nav a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.legal-page { background: var(--paper); }
.legal-header { position: static; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
.legal-shell { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 110px; }
.legal-shell h1 { margin: 0 0 12px; font-size: 42px; line-height: 1.25; }
.legal-date { margin: 0 0 56px; color: var(--muted); }
.legal-content { padding: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.legal-content h2 { margin: 38px 0 12px; font-size: 22px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #414943; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-back { display: inline-block; margin-bottom: 28px; color: var(--green); font-weight: 600; }

@media (max-width: 900px) {
  :root { --header-height: 64px; }
  .site-header { padding: 0 20px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 64px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; color: var(--ink); background: var(--white); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 2px; }
  .site-nav a::after { display: none; }
  .hero { min-height: 680px; height: 88vh; max-height: 760px; }
  .hero-content { width: calc(100% - 40px); padding-top: 165px; }
  .hero h1 { font-size: 52px; }
  .hero-copy { font-size: 18px; }
  .hero-rail { right: 20px; bottom: 22px; left: 20px; grid-template-columns: repeat(2, 1fr); }
  .hero-rail span { padding-top: 12px; }
  .section { width: calc(100% - 40px); padding: 80px 0; }
  .section-intro, .about, .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(3), .process-list li:nth-child(4) { border-top: 1px solid rgba(255,255,255,.15); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .hero { min-height: 650px; }
  .hero-image { object-position: 62% center; }
  .hero-content { padding-top: 142px; }
  .hero h1 { font-size: 44px; }
  .hero-copy { font-size: 17px; }
  .hero-actions { margin-top: 28px; }
  .button { flex: 1 1 130px; }
  .hero-rail { font-size: 13px; }
  .section-heading h2, .about h2, .contact-inner h2, .legal-shell h1 { font-size: 32px; }
  .section { padding: 68px 0; }
  .section-intro { padding-bottom: 84px; }
  .services { padding-top: 0; }
  .service-grid { margin-top: 38px; }
  .service-item { min-height: 0; padding: 28px 24px 30px; }
  .service-item h3 { margin-top: 32px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li { min-height: 0; padding: 24px 0 30px; border-right: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .process-list h3 { margin-top: 28px; }
  .principles div { grid-template-columns: 1fr; gap: 4px; }
  .footer-main nav { flex-direction: column; gap: 10px; }
  .footer-bottom { flex-direction: column; }
  .legal-shell { padding-top: 44px; }
  .legal-content { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
