:root {
  --green: #0b713d;
  --green-dark: #07502d;
  --green-soft: #dceee3;
  --red: #df261f;
  --ink: #18221c;
  --muted: #5e6962;
  --paper: #f7f8f3;
  --white: #ffffff;
  --line: #d9ded8;
  --header-height: 76px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
}

body {
  background: var(--paper);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body,
a,
button {
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

:focus-visible {
  outline: 3px solid #f2c94c;
  outline-offset: 4px;
}

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

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(24, 34, 28, 0.1);
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
}

.brand img {
  width: 48px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand strong {
  font-size: 21px;
}

.brand small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  text-underline-offset: 5px;
}

.site-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.header-action {
  justify-self: end;
  min-width: 96px;
  padding: 9px 16px;
  border: 1px solid currentColor;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.header-action:hover {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 92svh);
  color: var(--white);
  isolation: isolate;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -3;
  background: url("assets/images/hero.webp") center 46% / cover no-repeat;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 20, 14, 0.86) 0%, rgba(8, 20, 14, 0.6) 42%, rgba(8, 20, 14, 0.14) 72%),
    linear-gradient(0deg, rgba(8, 20, 14, 0.4) 0%, transparent 35%);
}

.hero__content {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: calc(var(--header-height) + 44px) 0 132px;
}

.eyebrow,
.section-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5f5ea;
}

.eyebrow span {
  display: block;
  width: 24px;
  height: 3px;
  background: #f0443d;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(68px, 10vw, 140px);
  line-height: 0.92;
  font-weight: 900;
}

.hero__headline {
  max-width: 720px;
  margin-top: 28px;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.28;
  font-weight: 800;
}

.hero__description {
  max-width: 580px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--red);
  color: var(--white);
}

.button--primary:hover {
  background: #c51c16;
}

.button--quiet {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button--quiet:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero__rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 7vw, 100px);
  padding: 16px 24px;
  background: rgba(7, 80, 45, 0.92);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero__rail span {
  position: relative;
}

.hero__rail span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(100% + clamp(14px, 3.5vw, 50px));
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  content: "";
}

.section {
  padding: clamp(76px, 10vw, 132px) 24px;
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-kicker {
  color: var(--red);
}

.section-heading h2,
.process__heading h2,
.contact__content h2 {
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.18;
  font-weight: 850;
}

.belief {
  background: var(--white);
}

.belief__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}

.belief__copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.principles {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.principles div {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.principles div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.principles strong {
  color: var(--green);
  font-size: 14px;
}

.principles span {
  margin-top: 6px;
  font-weight: 800;
}

.services {
  background: #eef0eb;
}

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(44px, 8vw, 104px);
  align-items: end;
}

.section-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.services__photo {
  align-self: stretch;
}

.services__photo img {
  width: 100%;
  height: min(420px, 38vw);
  min-height: 300px;
  border-radius: 6px;
  object-fit: cover;
}

.services__photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.service-list {
  margin-top: clamp(58px, 8vw, 92px);
  border-top: 1px solid #bfc7c0;
}

.service-item {
  display: grid;
  min-height: 180px;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #bfc7c0;
}

.service-item__number {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.service-item h3 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
}

.service-item p {
  max-width: 660px;
  margin-top: 10px;
  color: var(--muted);
}

.service-item__tag {
  padding: 6px 11px;
  border: 1px solid #aeb8b0;
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.process {
  color: var(--white);
  background: var(--green-dark);
}

.process .section-kicker {
  color: #ff7d76;
}

.process__heading {
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 0.85fr;
  gap: 34px;
  align-items: end;
}

.process__heading h2 {
  margin-top: 0;
}

.process__heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 240px;
  padding: 32px clamp(18px, 3vw, 36px) 24px;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.process-list li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.process-list > li > span {
  color: #ff8c84;
  font-weight: 900;
}

.process-list h3 {
  font-size: 22px;
}

.process-list p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(56px, 10vw, 140px);
  align-items: center;
}

.contact__brand {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.contact__brand img {
  width: min(320px, 100%);
  height: auto;
}

.contact__lead {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.contact-list {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: grid;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 132px 1fr;
  gap: 18px;
}

.contact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-list dd {
  font-weight: 800;
}

.contact__tip {
  margin-top: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #102119;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .site-nav {
    display: none;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand img {
    width: 43px;
    height: 38px;
  }

  .header-action {
    min-width: 84px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 790px;
  }

  .hero__media {
    background-position: 80% center;
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(8, 20, 14, 0.84) 0%, rgba(8, 20, 14, 0.48) 58%, rgba(8, 20, 14, 0.25) 100%);
  }

  .hero__content {
    display: flex;
    width: calc(100% - 36px);
    min-height: 720px;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--header-height) + 24px) 0 126px;
  }

  .hero h1 {
    font-size: clamp(66px, 24vw, 96px);
  }

  .hero__headline {
    max-width: 13em;
    font-size: clamp(27px, 8vw, 38px);
  }

  .hero__description {
    font-size: 15px;
  }

  .hero__rail {
    min-height: 82px;
    justify-content: flex-start;
    gap: 18px;
    overflow: hidden;
    padding: 14px 18px;
    font-size: 12px;
  }

  .hero__rail span {
    flex: 0 0 auto;
  }

  .hero__rail span:not(:last-child)::after {
    left: calc(100% + 8px);
  }

  .belief__grid,
  .services__intro,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .belief__grid,
  .services__intro,
  .contact__grid {
    gap: 44px;
  }

  .services__photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .service-item {
    min-height: 0;
    padding: 30px 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .service-item__tag {
    justify-self: start;
    grid-column: 2;
  }

  .process__heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 0;
    padding: 28px 0;
  }

  .process-list li + li {
    border-left: 0;
  }

  .contact__brand {
    padding: 12px 24px 48px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero__actions .button {
    flex: 1 1 140px;
  }

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

  .principles div {
    min-height: 78px;
  }

  .principles div + div {
    padding-left: 0;
    border-left: 0;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
