:root {
  --ink: #17211f;
  --muted: #5e6b66;
  --paper: #fbfbf7;
  --soft: #eef3ef;
  --line: #d9e1dc;
  --green: #0f5c4d;
  --green-2: #147d69;
  --red: #b94135;
  --gold: #c5923d;
  --ice: #dcebf1;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(20, 38, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid rgba(15, 92, 77, 0.14);
  backdrop-filter: blur(18px);
}

.site-header > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-weight: 800;
  background: var(--green);
  border-radius: 50%;
}

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

.brand strong {
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: #33413d;
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--green);
  border-color: var(--green);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(44px, 1fr));
  gap: 3px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #42504b;
  font: inherit;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--green);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, 88vh);
  overflow: hidden;
  background: #10251f;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 26, 22, 0.9) 0%, rgba(10, 26, 22, 0.64) 38%, rgba(10, 26, 22, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 26, 22, 0.9) 0%, rgba(10, 26, 22, 0.05) 45%),
    url("assets/hero.jpg") center / cover;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  align-self: end;
  width: min(100%, 1180px);
  max-width: 100vw;
  padding: 118px clamp(18px, 5vw, 72px) 72px;
  color: var(--white);
}

.breadcrumb,
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero h1 span[lang="en"] {
  margin-top: 10px;
  color: #d6f0ea;
  font-size: clamp(32px, 5.8vw, 72px);
}

.lead {
  max-width: 780px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  overflow-wrap: anywhere;
}

.bilingual {
  display: grid;
  gap: 10px;
}

.bilingual p {
  margin: 0;
}

.en {
  color: var(--muted);
}

.hero .en {
  color: rgba(232, 246, 243, 0.88);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-action {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 34px rgba(185, 65, 53, 0.25);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  display: grid;
  align-content: start;
  min-height: 154px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--white);
}

.fact strong {
  color: var(--green);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.fact span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.split,
.image-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.reverse .section-copy {
  order: 2;
}

.reverse .feature-image {
  order: 1;
}

.section-copy,
.section-heading {
  max-width: 760px;
}

.section-heading {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 840px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 span {
  display: block;
}

h2 .en,
h3 .en {
  color: var(--green-2);
}

.body-copy {
  color: #33413d;
  font-size: clamp(16px, 1.6vw, 18px);
}

.feature-image,
.image-split > img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.band {
  background:
    linear-gradient(180deg, rgba(220, 235, 241, 0.45), rgba(238, 243, 239, 0.85)),
    var(--soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pillars article,
.timeline article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pillars article > span,
.timeline article > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin: 10px 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

h3 span {
  display: block;
}

.pillars p,
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.timeline article {
  min-height: 245px;
}

.image-split {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.82fr);
  background: #192521;
  color: var(--white);
}

.image-split > img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.image-split .en,
.image-split .body-copy {
  color: rgba(255, 255, 255, 0.78);
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.outcomes p {
  margin: 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe5e1;
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(15, 33, 29, 0.72);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.gallery figcaption span {
  min-width: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 72px) clamp(72px, 9vw, 110px);
  padding: clamp(36px, 6vw, 64px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 92, 77, 0.96), rgba(25, 37, 33, 0.96)),
    url("assets/og-image.jpg") center / cover;
  border-radius: 8px;
}

.contact .section-kicker,
.contact .en {
  color: #d7eee8;
}

.contact h2,
.contact p {
  margin-left: 0;
}

.contact p {
  max-width: 780px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

body[data-lang="zh"] .en,
body[data-lang="en"] .zh {
  display: none !important;
}

body[data-lang="zh"] .bilingual,
body[data-lang="en"] .bilingual {
  display: block;
}

body[data-lang="zh"] .gallery figcaption,
body[data-lang="en"] .gallery figcaption {
  justify-content: flex-start;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

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

  .split,
  .reverse,
  .image-split {
    grid-template-columns: 1fr;
  }

  .reverse .section-copy,
  .reverse .feature-image {
    order: initial;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100vw;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .language-switch {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 342px;
  }

  .site-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    max-width: 342px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: 100vw;
    max-width: 100vw;
    padding-right: 24px;
    padding-left: 24px;
    padding-top: 74px;
    padding-bottom: 46px;
  }

  .hero h1,
  .lead {
    max-width: 342px;
    word-break: break-word;
  }

  .hero-actions {
    max-width: 342px;
  }

  .breadcrumb {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .quick-facts,
  .pillars {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: auto;
  }

  .feature-image img,
  .image-split > img {
    min-height: 300px;
  }

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

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gallery figure:first-child {
    grid-row: span 1;
  }

  .gallery figcaption {
    flex-direction: column;
  }

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

  .site-footer {
    display: block;
  }
}

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