:root {
  --ink: #171a18;
  --muted: #626964;
  --line: #d9ded9;
  --paper: #fff;
  --soft: #f3f5f1;
  --green: #218547;
  --green-dark: #12602f;
  --cyan: #16879a;
  --orange: #e56531;
  --shell: min(1280px, calc(100% - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  margin: 0;
  clip: auto;
  color: #fff;
  background: var(--green);
}

.site-header {
  position: relative;
  z-index: 30;
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 30, 23, 0.1);
}

.utility {
  color: #d6ded8;
  background: #171a18;
  font-size: 12px;
}

.utility-inner,
.header-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-inner {
  min-height: 34px;
}

.utility-links {
  display: flex;
  gap: 24px;
}

.utility a:hover {
  color: #fff;
}

.header-main {
  min-height: 84px;
  gap: 30px;
}

.brand {
  flex: 0 0 270px;
}

.brand img {
  width: 270px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
}

.primary-nav a {
  position: relative;
  display: flex;
  min-width: 76px;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding-inline: 13px;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.project-hero {
  position: relative;
  display: flex;
  min-height: min(700px, 72vh);
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #18201b;
}

.project-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 13, 10, 0.9) 0%, rgba(8, 13, 10, 0.5) 48%, rgba(8, 13, 10, 0.08) 78%),
    linear-gradient(0deg, rgba(8, 13, 10, 0.68) 0%, transparent 45%);
  content: "";
}

.project-hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 820px;
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #a8e2b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-hero h1 {
  min-width: 0;
  max-width: 760px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.12;
}

.project-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #e4ebe6;
  font-size: clamp(17px, 1.7vw, 22px);
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.project-facts span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(8, 13, 10, 0.34);
  font-size: 13px;
}

.breadcrumb {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--green);
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  gap: 96px;
  padding-block: 86px;
}

.project-intro h2,
.capability-section h2,
.project-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
}

.project-intro-copy > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.project-intro > div,
.service-showcase > *,
.service-showcase-copy {
  min-width: 0;
}

.project-intro h2,
.service-showcase-copy h2,
.capability-heading h2,
.project-cta h2 {
  overflow-wrap: anywhere;
}

.project-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-scope span {
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  font-size: 14px;
}

.project-image-band {
  padding-block: 70px;
  background: #171a18;
}

.project-image-band img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  color: #aab3ac;
  font-size: 13px;
}

.image-caption strong {
  color: #fff;
}

.capability-section {
  padding-block: 86px;
  background: var(--soft);
}

.capability-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(520px, 1.2fr);
  gap: 80px;
  align-items: end;
}

.capability-heading > p {
  margin: 0;
  color: var(--muted);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-list article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.capability-list b {
  color: var(--green);
  font-size: 13px;
}

.capability-list h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.capability-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-cta {
  padding-block: 62px;
  color: #fff;
  background: var(--green);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.project-cta p {
  margin: 10px 0 0;
  color: #ddf0e2;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.button-light {
  color: var(--green-dark);
  background: #fff;
}

.button-light:hover {
  background: #ecf7ef;
}

.site-footer {
  padding-top: 56px;
  color: #c9cfca;
  background: #171a18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1.35fr;
  gap: 48px;
  padding-bottom: 46px;
}

.footer-brand::before {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 22px;
  background: #3eb96b;
  content: "";
}

.footer-brand img {
  width: 272px;
  height: auto;
}

.footer-brand strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 15px;
}

.footer-brand p,
.footer-contact p {
  margin: 5px 0 0;
  font-size: 14px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
}

.footer-grid > div:not(.footer-brand) > a {
  display: block;
  padding-block: 3px;
  font-size: 14px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 62px;
  gap: 24px;
  border-top: 1px solid #303532;
  color: #8f9891;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.back-top {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-hero {
  min-height: min(720px, 75vh);
}

.service-hero img {
  object-position: center 45%;
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 70px;
  align-items: center;
  padding-block: 84px;
}

.service-showcase img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-showcase-copy p {
  color: var(--muted);
}

.service-showcase-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
}

@media (max-width: 1000px) {
  :root {
    --shell: calc(100% - 34px);
  }

  .utility {
    display: none;
  }

  .header-main {
    min-height: 68px;
  }

  .brand,
  .brand img {
    width: 235px;
    flex-basis: 235px;
  }

  .brand img {
    height: 50px;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 44px;
    place-items: center;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.99);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    min-height: 54px;
    justify-content: flex-start;
    padding-inline: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .primary-nav a::after {
    display: none;
  }

  .project-intro,
  .capability-heading,
  .service-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .brand,
  .brand img {
    width: 205px;
    flex-basis: 205px;
  }

  .header-main {
    gap: 12px;
  }

  .project-hero {
    min-height: 610px;
  }

  .project-hero::after {
    background: linear-gradient(0deg, rgba(8, 13, 10, 0.93) 0%, rgba(8, 13, 10, 0.46) 72%, rgba(8, 13, 10, 0.18) 100%);
  }

  .project-hero-content {
    padding-block: 58px;
  }

  .project-hero h1 {
    font-size: 34px;
    line-height: 1.18;
  }

  .project-lead {
    font-size: 16px;
  }

  .project-facts {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-facts span {
    min-width: 0;
    text-align: center;
  }

  .project-intro h2,
  .capability-section h2,
  .project-cta h2,
  .service-showcase-copy h2 {
    font-size: 28px;
    line-height: 1.28;
  }

  .project-intro,
  .capability-section,
  .service-showcase {
    padding-block: 54px;
  }

  .project-scope,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .project-image-band {
    padding-block: 34px;
  }

  .image-caption,
  .cta-layout,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-layout {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    justify-content: center;
    padding-block: 18px;
  }
}
