:root {
  --ink: #f2ead9;
  --ink-strong: #fff8e9;
  --muted: #b8ad96;
  --deep: #0d1713;
  --deep-2: #13241e;
  --deep-3: #1c2f27;
  --stone: #d9c8a7;
  --moss: #8fa56c;
  --copper: #c7784f;
  --gold: #d2a85c;
  --line: rgba(242, 234, 217, 0.16);
  --line-strong: rgba(242, 234, 217, 0.26);
  --panel: rgba(24, 43, 35, 0.74);
  --panel-solid: #182b23;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(180deg, #0d1713 0%, #15231d 42%, #201b16 100%);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(210, 168, 92, 0.08), transparent 28%),
    linear-gradient(0deg, rgba(143, 165, 108, 0.08), transparent 36%);
  content: "";
  pointer-events: none;
}

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

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

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

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--stone);
  color: var(--deep);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--ink-strong);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid var(--line);
  background: rgba(13, 23, 19, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(210, 168, 92, 0.72);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: rgba(255, 248, 233, 0.82);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  color: var(--ink-strong);
}

.hero::after {
  position: absolute;
  inset: auto clamp(18px, 5vw, 70px) 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 200, 167, 0.72), transparent);
  content: "";
}

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

.hero-media {
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.92) contrast(1.05) brightness(0.82);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 13, 0.94) 0%, rgba(8, 16, 13, 0.72) 45%, rgba(8, 16, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 23, 19, 0.84) 0%, rgba(13, 23, 19, 0.16) 64%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 142px 0 68px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--ink-strong);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink-strong);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink-strong);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(242, 234, 217, 0.84);
  font-size: 18px;
}

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

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

.button.primary {
  background: var(--gold);
  color: #15150f;
}

.button.secondary,
.button.ghost {
  border-color: rgba(217, 200, 167, 0.48);
  color: var(--ink-strong);
}

.button.secondary:hover,
.button.ghost:hover,
.button.secondary:focus-visible,
.button.ghost:focus-visible {
  border-color: var(--gold);
  background: rgba(210, 168, 92, 0.1);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 1px;
  width: min(790px, 100%);
  margin: 48px 0 0;
  overflow: hidden;
  border: 1px solid rgba(217, 200, 167, 0.24);
  border-radius: var(--radius);
  background: rgba(13, 23, 19, 0.44);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  padding: 20px;
  background: rgba(242, 234, 217, 0.035);
}

.hero-metrics dt {
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(242, 234, 217, 0.72);
  font-size: 13px;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

section:not(.hero) {
  padding: 96px 0;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(217, 200, 167, 0.045), rgba(13, 23, 19, 0.08)),
    rgba(15, 28, 23, 0.78);
}

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.factory-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 17px;
}

.intro-copy p {
  padding-left: 22px;
  border-left: 1px solid rgba(210, 168, 92, 0.36);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 720px;
}

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

.service-card,
.case-grid article,
.advantage-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
}

.service-card::before,
.case-grid article::before,
.advantage-grid article::before,
.contact-panel::before {
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 248, 233, 0.12);
  content: "";
  pointer-events: none;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.03);
}

.service-card div,
.case-grid article,
.advantage-grid article {
  padding: 22px;
}

.service-card span,
.advantage-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p,
.case-grid p,
.advantage-grid p,
.factory p,
.contact p {
  color: var(--muted);
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
}

.process-list li {
  min-height: 168px;
  padding: 26px;
  background: rgba(19, 36, 30, 0.92);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 12px;
  color: var(--ink-strong);
  font-size: 20px;
}

.process-list span {
  color: var(--muted);
}

.case-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: 24px;
}

.case-feature img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.case-feature > div {
  padding: clamp(22px, 4vw, 42px);
  border-left: 1px solid rgba(210, 168, 92, 0.38);
  background: linear-gradient(90deg, rgba(210, 168, 92, 0.08), transparent);
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--moss);
  content: "✓";
  font-weight: 900;
}

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

.case-grid article {
  padding: 0;
}

.case-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.case-grid h3,
.case-grid p {
  padding: 0 22px;
}

.case-grid h3 {
  margin-top: 20px;
}

.case-grid p {
  margin-bottom: 22px;
}

.advantages {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.advantage-grid article {
  min-height: 226px;
}

.factory-grid {
  align-items: center;
}

.strength-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.strength-list span {
  padding: 8px 12px;
  border: 1px solid rgba(210, 168, 92, 0.32);
  border-radius: 999px;
  background: rgba(210, 168, 92, 0.08);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.factory-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.factory-images img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

.factory-images img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 8;
}

.factory-images img:not(:first-child) {
  aspect-ratio: 1 / 1;
}

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

.contact-grid {
  align-items: center;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px 18px;
  margin: 0;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(210, 168, 92, 0.1), transparent 42%),
    var(--panel-solid);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-panel span {
  color: var(--muted);
}

.contact-panel strong {
  min-width: 0;
  color: var(--ink-strong);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #0b120f;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
}

.site-footer p,
.site-footer span {
  display: block;
  margin: 4px 0 0;
  color: rgba(242, 234, 217, 0.62);
}

.site-footer strong {
  display: block;
  color: var(--ink-strong);
}

@media (max-width: 980px) {
  .service-grid,
  .case-grid,
  .advantage-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .factory-grid,
  .contact-grid,
  .case-feature {
    grid-template-columns: 1fr;
  }

  .case-feature {
    gap: 26px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 10px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

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

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 23, 19, 0.96);
    color: var(--ink);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 88svh;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(8, 16, 13, 0.92) 0%, rgba(8, 16, 13, 0.62) 62%, rgba(8, 16, 13, 0.22) 100%);
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding: 112px 0 40px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 34px;
  }

  section:not(.hero) {
    padding: 68px 0;
  }

  .service-grid,
  .case-grid,
  .advantage-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list {
    gap: 1px;
  }

  .process-list li {
    min-height: auto;
  }

  .case-feature > div {
    padding: 20px 0 0;
    border-left: 0;
    background: transparent;
  }

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

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

@media (max-width: 420px) {
  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-metrics dt {
    font-size: 22px;
  }
}
