:root {
  --ink: #18211f;
  --text: #31403c;
  --muted: #687873;
  --paper: #f5f1e8;
  --panel: #ffffff;
  --line: #d9dfd8;
  --green: #2f6f4e;
  --deep: #12342b;
  --teal: #2c7772;
  --clay: #a65f45;
  --gold: #c39336;
  --blue: #345c7d;
  --shadow: 0 24px 70px rgba(24, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--paper);
}

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

img,
video {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 223, 216, 0.9);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--deep);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.24;
}

.brand small {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 20px;
  color: var(--text);
  font-size: 14px;
}

.site-nav a {
  padding: 10px 0;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.page {
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.hero-page {
  display: grid;
  gap: clamp(28px, 4vw, 42px);
  align-content: center;
  background:
    linear-gradient(115deg, rgba(18, 52, 43, 0.08), transparent 42%),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 100%);
}

.page-copy {
  max-width: 1120px;
}

.split-page,
.single-image-page,
.loop-page,
.sample-page,
.services-page {
  background: #fff;
}

.single-image-page,
.services-page {
  display: grid;
  gap: 34px;
  align-content: center;
}

.single-image-page {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  column-gap: clamp(28px, 5vw, 64px);
}

.single-image-page .section-heading {
  max-width: 620px;
  margin-bottom: 0;
}

.loop-page {
  display: grid;
  gap: 34px;
  align-content: center;
  background: #f8f4ea;
}

.contact-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #1f4f42);
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.32;
}

p {
  color: var(--muted);
  line-height: 1.76;
}

.hero-page p:not(.english):not(.hero-en),
.section-heading p:not(.english):not(.heading-en) {
  max-width: 920px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.82;
}

.english,
.heading-en,
.hero-en {
  color: #5d6d68;
  font-family: Arial, Helvetica, sans-serif;
}

.english {
  max-width: 920px;
  margin-top: -2px;
  font-size: 15px;
  line-height: 1.72;
}

.hero-en {
  max-width: 740px;
  margin: -6px 0 22px;
  color: var(--clay);
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 800;
  line-height: 1.3;
}

.heading-en {
  max-width: 820px;
  margin: -4px 0 20px;
  color: var(--clay);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.4;
  text-wrap: balance;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

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

.button.primary.light {
  color: var(--deep);
  background: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
}

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

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.capability-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(47, 111, 78, 0.2);
  border-radius: 8px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.section-heading {
  max-width: 960px;
  margin-bottom: 34px;
}

.section-heading h2 + .heading-en,
.leader-copy h2 + p {
  margin-top: 2px;
}

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

.gallery-row figure,
.factory-showcase figure,
.single-media,
.sample-grid figure,
.panorama-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-row img {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 430px);
  object-fit: cover;
}

.first-gallery figure:nth-child(3) img {
  object-position: center;
}

.factory-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.72fr) minmax(230px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1480px;
}

.factory-main {
  display: grid;
  justify-self: start;
  width: 100%;
  padding: 0;
}

.factory-main img,
.factory-extra img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.factory-side {
  display: grid;
  gap: 16px;
  grid-template-rows: 1fr 1fr;
  align-self: stretch;
}

.factory-side img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.factory-extra {
  display: grid;
}

.factory-extra img {
  object-position: center;
}

.leader-block {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.leader-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 78, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.leader-photo img {
  display: block;
  width: 100%;
  height: clamp(390px, 44vw, 620px);
  object-fit: cover;
  object-position: center;
}

.leader-copy {
  max-width: 780px;
}

.leader-copy h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

.leader-copy p:not(.english) {
  color: var(--text);
  font-size: 17px;
  line-height: 1.86;
  margin-bottom: 14px;
}

.loop-heading {
  max-width: 1280px;
  margin-top: clamp(34px, 5vw, 56px);
}

.loop-heading h2 {
  white-space: nowrap;
  font-size: clamp(28px, 3.1vw, 42px);
}

.single-media {
  max-width: 820px;
  justify-self: center;
}

.single-media img {
  display: block;
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
  object-position: center;
}

.closed-loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.closed-loop span {
  display: grid;
  min-height: 128px;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(47, 111, 78, 0.18);
  border-radius: 8px;
  color: var(--deep);
  text-align: center;
  font-weight: 900;
  line-height: 1.48;
  background: rgba(255, 255, 255, 0.8);
}

.closed-loop span:nth-child(2) {
  color: #fff;
  background: var(--blue);
}

.closed-loop span:nth-child(3) {
  color: #fff;
  background: var(--green);
}

.closed-loop span:nth-child(4) {
  color: #fff;
  background: var(--clay);
}

.closed-loop span:nth-child(5) {
  background: var(--gold);
}

.closed-loop small {
  margin-top: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0.78;
}

.sample-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.sample-feature video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 8px;
  background: #000;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.panorama-grid {
  display: grid;
  gap: 18px;
}

.panorama-grid img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.sample-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f8f3;
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  margin-bottom: 12px;
}

.service-card .english {
  margin-top: 0;
}

.service-card.dark {
  color: #fff;
  border-color: transparent;
  background: var(--blue);
}

.service-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card.dark span,
.service-card.dark h3,
.service-card.dark p {
  color: #fff;
}

.contact-page p,
.contact-page .english,
.contact-page .heading-en,
.contact-page .section-label {
  color: rgba(255, 255, 255, 0.78);
}

.contact-page h2 {
  max-width: 960px;
}

.contact-details {
  max-width: 980px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-details h3 {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

.contact-details p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.contact-details strong {
  color: #fff;
}

.contact-details a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .site-nav {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .hero-page,
  .single-image-page,
  .factory-showcase,
  .leader-block,
  .sample-feature {
    grid-template-columns: 1fr;
  }

  .closed-loop,
  .service-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .page {
    padding-inline: 16px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  h2 {
    font-size: 29px;
  }

  .gallery-row,
  .closed-loop,
  .service-grid.three,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .gallery-row img {
    height: 300px;
  }

  .factory-main {
    padding: 0;
  }

  .factory-main img {
    max-height: none;
  }

  .leader-photo img {
    height: 360px;
  }

  .loop-heading h2 {
    white-space: normal;
  }

  .single-media img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .sample-feature video {
    min-height: 260px;
  }

  .panorama-grid img {
    height: 170px;
  }

  .sample-grid img {
    aspect-ratio: 4 / 3;
  }

  .hero-actions,
  .contact-page,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
