:root {
  --ink: #143b36;
  --ink-soft: #35615a;
  --teal: #0d8175;
  --teal-dark: #07675d;
  --paper: #f7f6ef;
  --sky: #b7dfe0;
  --clay: #d85640;
  --line: #cdd8d0;
  --text: #24312d;
  --muted: #68756f;
  --shadow: 0 22px 46px rgb(23 57 51 / 16%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.site-header, .hero, .principles, .services, footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; flex: 0 1 216px; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: 14px; }
nav a, .service-link { text-decoration: none; }
nav a:hover, nav a:focus-visible, .service-link:hover, .service-link:focus-visible { color: var(--teal); }
.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding: 56px 0 68px;
}
.eyebrow, .service-kicker, .principle-index, .hero-preview figcaption {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before, .service-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 9px 3px 0;
  background: var(--clay);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-weight: 700;
  letter-spacing: 0;
}
h1 { margin: 20px 0 12px; font-size: 76px; line-height: 1.08; }
.hero-lede {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
}
.hero-detail { max-width: 470px; margin-bottom: 30px; color: var(--muted); font-size: 16px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
.button-primary { color: #fff; background: var(--teal); }
.button-primary:hover, .button-primary:focus-visible { background: var(--teal-dark); transform: translateY(-1px); }
.hero-preview { position: relative; margin: 0; padding: 23px 0 0 23px; }
.hero-preview::before {
  position: absolute;
  inset: 0 24px 24px 0;
  z-index: -1;
  content: "";
  border: 1px solid var(--sky);
  background: #e2f0ec;
}
.hero-preview figcaption {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 1;
  padding: 5px 9px;
  color: #fff;
  background: var(--clay);
}
.hero-preview img { display: block; width: 100%; border: 1px solid #9db6ae; box-shadow: var(--shadow); }
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principles article { min-height: 218px; padding: 34px 34px 30px 0; }
.principles article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.principle-index { color: var(--clay); }
.principles h2 { margin: 20px 0 8px; font-size: 25px; line-height: 1.3; }
.principles p:last-child, .service-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.services { padding: 112px 0 128px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin: 12px 0 0; font-size: 40px; line-height: 1.2; }
.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  padding: 34px 36px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: #fff;
}
.service-card h3 { margin: 12px 0 9px; font-size: 29px; line-height: 1.25; }
.service-card p:last-child { max-width: 650px; }
.service-link { display: inline-flex; gap: 9px; align-items: center; color: var(--teal); font-size: 15px; font-weight: 700; white-space: nowrap; }
.service-link span { font-size: 18px; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 94px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
footer p { margin: 0; }
footer a { color: var(--ink-soft); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
@media (max-width: 800px) {
  .site-header, .hero, .principles, .services, footer { width: min(100% - 32px, 640px); }
  .site-header { min-height: 72px; }
  .brand { flex-basis: 176px; }
  nav { gap: 14px; font-size: 13px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 40px; padding: 50px 0 62px; }
  h1 { font-size: 52px; }
  .hero-lede { font-size: 22px; }
  .hero-detail { font-size: 15px; }
  .hero-preview { padding: 17px 0 0 17px; }
  .hero-preview::before { inset: 0 17px 17px 0; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article + article { min-height: 0; padding: 26px 0; border-left: 0; }
  .principles article + article { border-top: 1px solid var(--line); }
  .services { padding: 72px 0 82px; }
  .section-heading h2 { font-size: 34px; }
  .service-card { grid-template-columns: 1fr; align-items: start; gap: 24px; padding: 27px 24px; }
  .service-card h3 { font-size: 25px; }
  footer { min-height: 112px; flex-direction: column; align-items: flex-start; justify-content: center; }
}
@media (max-width: 420px) {
  .site-header { gap: 18px; }
  .brand { flex-basis: 156px; }
  nav { gap: 11px; font-size: 12px; }
  h1 { font-size: 46px; }
}
