:root {
  color-scheme: light;
  --paper: #f7f5eb;
  --ink: #21372e;
  --muted: #4e5d51;
  --line: #d7d9c9;
  --green: #243e32;
  --lime: #e1edb7;
  --display: "Bricolage Grotesque", "Microsoft YaHei", "PingFang SC", sans-serif;
  --body: "Instrument Sans", "Microsoft YaHei", "PingFang SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid #767e36; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
section[id] { scroll-margin-top: 28px; }
.shell { width: min(1180px, calc(100% - clamp(36px, 9vw, 128px))); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 80px; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--green); color: var(--lime); font-weight: 800; font-size: 24px; line-height: 1; }
.brand-type { display: block; font: 800 21px/1.1 var(--display); white-space: nowrap; }
.brand-type span { display: block; margin-top: 5px; font: 700 9px/1 var(--body); letter-spacing: .20em; }
.navigation { display: flex; margin-left: auto; gap: clamp(14px, 3vw, 42px); align-items: center; font-size: 14px; font-weight: 650; }
.navigation a, .language { text-decoration: none; }
.navigation a:hover, .language:hover, .text-link:hover { text-decoration: underline; }
.language { padding: 6px 13px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; white-space: nowrap; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 78px); align-items: center; padding-block: clamp(54px, 8.5vw, 110px); }
.company-name { color: #3b543d; font-weight: 730; font-size: clamp(13px, 1.5vw, 17px); margin-bottom: 18px; }
h1, h2, h3 { font-family: var(--display); }
h1 { font-size: clamp(34px, 5.1vw, 69px); line-height: 1.13; letter-spacing: -.045em; font-weight: 800; }
html[lang="en"] h1 { font-size: clamp(36px, 5.1vw, 71px); }
.intro { max-width: 36ch; color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin-top: 22px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 31px; }
.button { display: inline-flex; gap: 13px; align-items: center; background: var(--green); color: white; border-radius: 7px; padding: 11px 17px; font-weight: 750; text-decoration: none; }
.button:hover { background: #345540; }
.text-link { font-weight: 680; text-decoration: none; padding-block: 8px; }
.hero-figure { border-radius: 12px; overflow: hidden; background: #e8ebe1; border: 1px solid #dfe3d8; }
.hero-image { background: #edf0e8; }
.hero-image img { object-fit: cover; aspect-ratio: 1.49; }
figcaption { padding: 13px clamp(13px, 2.1vw, 22px); display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 12px; align-items: baseline; color: #354b3d; font-size: 13px; font-weight: 700; }
figcaption span + span { font-weight: 500; }

.services { padding-block: clamp(39px, 6.5vw, 78px); background: #eeefe3; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; column-gap: 30px; row-gap: 8px; flex-wrap: wrap; }
h2 { font-size: clamp(29px, 3.9vw, 48px); font-weight: 790; line-height: 1.18; letter-spacing: -.033em; }
.section-heading p, .service-grid p, .about p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; border-top: 1px solid #c8cebd; }
.service-grid article { padding: 21px clamp(12px, 2vw, 24px) 6px; border-left: 1px solid #c8cebd; }
.service-grid article:first-child { border-left: 0; padding-left: 0; }
.service-grid h3 { font-size: clamp(16px, 1.8vw, 22px); line-height: 1.32; margin-bottom: 9px; }
.service-grid p { font-size: 14px; }

.about { display: grid; grid-template-columns: 1fr 2fr; align-items: baseline; gap: 30px; padding-block: clamp(39px, 6vw, 72px); }
.about p { max-width: 64ch; }
.contact { background: var(--green); color: #f7f8eb; padding-block: clamp(32px, 5.6vw, 63px); }
.contact-inner { display: flex; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; align-items: center; }
.contact p { color: #e1ebda; margin-top: 8px; }
.contact a { font-size: clamp(17px, 2.5vw, 28px); font-weight: 730; color: var(--lime); overflow-wrap: anywhere; }
.contact a span { margin-left: 6px; }
.footer { padding-block: 19px; color: var(--muted); font-size: 13px; }

@media (max-width: 850px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid article { padding-bottom: 19px; }
  .service-grid article:nth-child(odd) { border-left: 0; padding-left: 0; }
  .service-grid article:nth-child(n+3) { border-top: 1px solid #c8cebd; }
}
@media (max-width: 680px) {
  .header-inner { min-height: 65px; gap: 12px; justify-content: space-between; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; border-radius: 9px; }
  .brand { gap: 8px; }
  .brand-type { font-size: 18px; }
  .brand-type span { font-size: 8px; }
  .navigation { gap: 12px; font-size: 13px; }
  .navigation a[href="#about"] { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 46px; gap: 30px; }
  .about { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 360px) {
  .navigation { gap: 8px; }
  .language { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
