:root {
  --ink: #111615;
  --ink-soft: #44504d;
  --paper: #f5f6f2;
  --white: #ffffff;
  --line: #d8ddda;
  --teal: #147d70;
  --teal-dark: #0c5e55;
  --coral: #e46f51;
  --content: 1180px;
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--coral);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 48px), var(--content));
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  display: block;
  width: 5px;
  background: currentColor;
  content: "";
}

.brand-mark::before {
  height: 12px;
  left: 7px;
  bottom: 7px;
}

.brand-mark::after {
  height: 18px;
  left: 13px;
  bottom: 7px;
}

.brand-mark span {
  height: 9px;
  left: 19px;
  bottom: 7px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

nav a,
.closing a,
.footer-meta a {
  position: relative;
}

nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

nav a::after,
.footer-meta a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease-out;
}

nav a:hover::after,
nav a:focus-visible::after,
.footer-meta a:hover::after,
.footer-meta a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(88dvh, 820px);
  align-items: flex-end;
  overflow: hidden;
  background: #27302e;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  background: rgba(10, 17, 16, 0.62);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 176px 0 88px;
}

.eyebrow,
.section-label,
.service-number {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.hero .eyebrow {
  color: #8be0d4;
}

h1 {
  max-width: 720px;
  margin: 12px 0 8px;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 84px;
  font-weight: 700;
  line-height: 1.05;
}

.hero-summary {
  max-width: 560px;
  margin: 0 0 36px;
  font-size: 24px;
  line-height: 1.6;
}

.primary-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: gap 180ms ease-out, border-color 180ms ease-out;
}

.primary-link:hover,
.primary-link:focus-visible {
  gap: 32px;
  border-color: #8be0d4;
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100% - var(--content)) / 2));
  bottom: 42px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 112px 0;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 9%;
  margin-top: 36px;
  align-items: start;
}

h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 48px;
  line-height: 1.28;
}

.intro-text {
  padding-top: 8px;
}

.intro-text p,
.approach-title-wrap > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.intro-text p + p {
  margin-top: 20px;
}

.services {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - var(--content)) / 2));
  padding-left: max(24px, calc((100% - var(--content)) / 2));
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading h2 {
  max-width: 620px;
  text-align: right;
}

.service-grid {
  display: grid;
  margin-top: 72px;
  border-top: 1px solid #3a4542;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
  min-height: 320px;
  padding: 32px 34px 24px 0;
  border-right: 1px solid #3a4542;
}

.service-item + .service-item {
  padding-left: 34px;
}

.service-item:last-child {
  border-right: 0;
}

.service-number {
  color: #77d3c6;
}

.service-item h3,
.steps h3 {
  margin: 58px 0 16px;
  font-size: 23px;
  line-height: 1.4;
}

.service-item p:last-child {
  max-width: 300px;
  margin: 0;
  color: #b9c3c0;
  font-size: 15px;
  line-height: 1.8;
}

.approach {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 10%;
}

.approach-title-wrap h2 {
  margin: 32px 0 24px;
}

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  display: grid;
  min-height: 120px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 64px 1fr;
  align-items: start;
}

.steps > li > span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.closing {
  display: flex;
  min-height: 380px;
  padding: 72px max(24px, calc((100% - var(--content)) / 2));
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  background: var(--teal);
  color: var(--white);
}

.closing p {
  margin: 0;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 45px;
  line-height: 1.42;
}

.closing a {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

footer {
  display: flex;
  min-height: 184px;
  padding: 52px max(24px, calc((100% - var(--content)) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
}

.brand-mark-dark {
  color: var(--ink);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-meta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 800px) {
  .site-header {
    width: min(calc(100% - 32px), var(--content));
    min-height: 72px;
  }

  .brand {
    font-size: 18px;
  }

  nav {
    gap: 16px;
  }

  nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 84dvh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 76px;
  }

  h1 {
    font-size: 62px;
  }

  .hero-summary {
    font-size: 20px;
  }

  .hero-note {
    display: none;
  }

  .section {
    width: calc(100% - 32px);
    padding: 80px 0;
  }

  .intro-copy,
  .approach {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h2 {
    font-size: 38px;
  }

  .services {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 28px;
    text-align: left;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item + .service-item {
    min-height: auto;
    padding: 26px 0 42px;
    border-right: 0;
    border-bottom: 1px solid #3a4542;
  }

  .service-item:last-child {
    border-bottom: 0;
  }

  .service-item h3 {
    margin-top: 30px;
  }

  .closing {
    min-height: 330px;
    padding: 56px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .closing p {
    font-size: 36px;
  }

  footer {
    min-height: 220px;
    padding: 40px 16px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 430px) {
  nav a:last-child {
    display: none;
  }

  .hero-content {
    padding-top: 148px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .closing p {
    font-size: 32px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
