:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #132c24;
  --muted: #455850;
  --line: #d6ded5;
  --accent: #20513f;
  --tint: #e7ede5;
  --deep: #173c2f;
  --on-deep: #dce9df;
  --on-deep-line: #779486;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.7; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }

.shell {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 12px auto auto 12px;
  padding: 8px 16px;
  color: white;
  background: var(--accent);
  transform: translateY(-140%);
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner { min-height: 80px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: 12px 34px; }
nav a, .footer-inner a { text-decoration: none; }
nav a { font-size: 15px; color: var(--muted); }
nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 520fr) minmax(0, 616fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: 56px;
}

.hero-label { font-size: 15px; font-weight: 700; color: var(--deep); }
h1 {
  margin-block: 16px 20px;
  font-size: clamp(36px, 4.8vw, 63px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.045em;
}

.hero-description { max-width: 410px; color: var(--muted); font-size: 18px; }
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 616 / 470;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tint);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 46px;
  margin-top: 28px;
  padding-inline: 19px;
  border-radius: 4px;
  background: var(--deep);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.button:hover { background: var(--accent); }
.button:focus-visible { outline-color: var(--accent); }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 300fr) minmax(0, 836fr);
  gap: 24px 64px;
  padding-block: 56px;
}

.about { border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.3vw, 38px); line-height: 1.25; letter-spacing: -.035em; }
.about .lead { font-size: clamp(18px, 2vw, 23px); font-weight: 700; }
.about p + p { margin-top: 14px; color: var(--muted); }

.project-start { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.project-start h2 { font-size: clamp(26px, 3vw, 32px); }
.content-band { padding-block: 56px; }
.tinted { background: var(--tint); }
.dark { background: var(--deep); color: white; }

.section-grid {
  display: grid;
  gap: 24px 30px;
  margin-top: 24px;
}

.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style-position: inside;
  padding: 0;
  margin-bottom: 0;
}

.service-card {
  padding: 24px;
  border-radius: 6px;
  background: #f5f7f1;
}

h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.4; }
.section-grid p, .section-intro, .editorial-list p { color: var(--muted); }
.content-band .section-intro { margin-top: 16px; }
.dark .section-intro, .dark .section-grid p { color: var(--on-deep); }

.editorial-list { display: grid; gap: 18px; }
.section-intro + .editorial-list { margin-top: 18px; }
.editorial-list article, .ruled-grid article, .process-grid li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.process-grid li { border-color: var(--on-deep-line); }
.process-grid li::marker { font-weight: 700; }
.process-grid h3 { display: inline; }
.process-grid p { margin-top: 8px; }
.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-style: normal;
  overflow-wrap: anywhere;
}

.contact-details strong { font-size: 19px; }
.contact-details p { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 60px; color: var(--muted); font-size: 14px; }

@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; padding-block: 38px 44px; }
  .hero-image { aspect-ratio: 3 / 2; }
  .split-section { grid-template-columns: 1fr; padding-block: 42px 48px; }
  .project-start, .content-band { padding-block: 42px 48px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 14px; }
  nav { gap: 10px 18px; }
  .section-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { gap: 12px; }
  .footer-inner a { white-space: nowrap; }
}
