:root {
  color-scheme: light;
  --ink: #111111;
  --text: #3d3d3d;
  --muted: #777777;
  --paper: #f3f1ec;
  --surface: #ffffff;
  --charcoal: #090909;
  --stone: #d7d0c4;
  --gold: #b78b4a;
  --line: rgba(17, 17, 17, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.brand,
.footer-logo {
  width: 150px;
}

.brand img,
.footer-logo {
  object-fit: contain;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3.2vw, 42px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.header-cta {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

.hero-image {
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-layer {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.05) 58%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 94px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #d8b477;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold);
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1;
  font-weight: 920;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5.3vw, 68px);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: #fff;
  color: var(--charcoal);
  font-weight: 850;
}

.hero-actions a + a {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mission-section,
.about-section,
.puyue-section,
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

.mission-copy,
.about-copy,
.puyue-copy,
.service-section > div {
  display: grid;
  align-content: center;
  padding: clamp(44px, 7vw, 88px);
}

.mission-image img,
.about-media img,
.puyue-media img,
.service-section figure img {
  height: 100%;
  object-fit: cover;
}

.mission-image,
.about-media,
.puyue-media,
.service-section figure {
  min-height: 420px;
  margin: 0;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 136px) 0;
}

.section-title {
  max-width: 860px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.values-grid article {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
}

.values-grid span {
  color: var(--gold);
  font-weight: 900;
}

.values-grid p,
.advantage-list p {
  margin-bottom: 0;
}

.about-section {
  background: var(--surface);
}

.puyue-section,
.service-section,
.declaration-section,
.site-footer {
  background: var(--charcoal);
  color: #fff;
}

.puyue-copy p,
.service-section p,
.declaration-section span,
.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.puyue-subtitle {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.42;
  font-weight: 850;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
  border: 1px solid var(--line-light);
}

.project-metrics article {
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.project-metrics article:nth-child(even) {
  border-right: 0;
}

.project-metrics article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.project-metrics strong {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.project-metrics span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.advantage-list article {
  background: var(--surface);
}

.advantage-list img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.advantage-list div {
  padding: 24px;
}

.service-section {
  grid-template-columns: 0.92fr 1.08fr;
}

.declaration-section {
  padding: clamp(72px, 10vw, 128px) max(20px, calc((100vw - 1180px) / 2));
}

.declaration-section p {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 850;
}

.declaration-section h2 {
  max-width: 980px;
}

.declaration-section span {
  display: block;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.85;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  padding: 30px clamp(20px, 4vw, 58px);
  border-top: 1px solid var(--line-light);
}

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

  nav {
    display: none;
  }

  .mission-section,
  .about-section,
  .puyue-section,
  .service-section,
  .values-grid,
  .advantage-list {
    grid-template-columns: 1fr;
  }

  .mission-section,
  .about-section,
  .puyue-section,
  .service-section {
    min-height: 0;
  }

  .mission-image {
    order: -1;
  }

  .values-grid article {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
  }

  .brand,
  .footer-logo {
    width: 104px;
  }

  .header-cta {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero {
    min-height: 92svh;
    align-items: end;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-layer {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.54) 58%, rgba(0, 0, 0, 0.26)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08) 62%);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 118px 0 46px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  h1 {
    max-width: 9em;
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.08;
  }

  h2 {
    font-size: 29px;
    line-height: 1.14;
  }

  h3 {
    font-size: 21px;
  }

  p {
    font-size: 15px;
    line-height: 1.78;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions a {
    width: 100%;
    min-height: 48px;
  }

  .mission-copy,
  .about-copy,
  .puyue-copy,
  .service-section > div {
    padding: 44px 18px;
  }

  .mission-image,
  .about-media,
  .puyue-media,
  .service-section figure {
    min-height: 260px;
  }

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

  .section-title {
    margin-bottom: 28px;
  }

  .values-grid article {
    min-height: 150px;
    padding: 22px;
  }

  .project-metrics {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .project-metrics article {
    min-height: 86px;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .project-metrics article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .project-metrics article:last-child {
    border-bottom: 0;
  }

  .project-metrics strong {
    font-size: 27px;
  }

  .advantage-list {
    gap: 14px;
  }

  .advantage-list div {
    padding: 20px;
  }

  .declaration-section {
    padding: 58px 18px;
  }

  .declaration-section p,
  .declaration-section span {
    font-size: 15px;
  }

  .site-footer {
    display: grid;
    justify-items: start;
    padding: 26px 18px;
  }
}

@media (max-width: 380px) {
  .brand,
  .footer-logo {
    width: 96px;
  }

  .header-cta {
    padding: 7px 8px;
    font-size: 11px;
  }

  h1 {
    font-size: 31px;
  }
}

@media (max-width: 560px) {
  main .puyue-section .project-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}
