:root {
  --ink: #0b0e0c;
  --ink-soft: #25312a;
  --green: #2f5c3b;
  --green-dark: #0f2b1c;
  --blue: #1479b8;
  --red: #ef3340;
  --yellow: #f5c400;
  --muted: #67716b;
  --line: #e1e5e0;
  --paper: #f5f6f3;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(24, 34, 28, 0.12);
  --max: 1512px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

p {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 56px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(225, 229, 224, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 620;
}

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

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

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

.site-nav .nav-action {
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.site-nav .nav-action::after {
  display: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-inner,
.hero-layout,
.capability-strip {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 58%, #f3f6f1 100%);
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(47, 92, 59, 0.08), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(47, 92, 59, 0.07) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: 76px;
  align-items: center;
  min-height: 690px;
  padding: 58px 0 54px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: 68px;
  font-weight: 780;
  line-height: 1.03;
}

h1 span {
  display: block;
  color: var(--green);
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  font-weight: 760;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 740;
  line-height: 1.22;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

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

.button::after,
.text-link::after {
  content: "→";
  margin-left: 10px;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-dark {
  color: var(--white);
  background: var(--green);
}

.button-light {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

.button-white {
  color: var(--green-dark);
  background: var(--white);
}

.hero-media {
  align-self: end;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--white);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(11, 14, 12, 0.82);
  font-size: 12px;
}

.hero-media strong {
  color: var(--white);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 48px;
  display: flex;
  gap: 14px;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
}

.dot-blue {
  background: var(--blue);
}

.dot-red {
  background: var(--red);
}

.dot-yellow {
  background: var(--yellow);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}

.capability-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 128px;
  padding: 30px 24px;
  background: var(--white);
}

.line-icon {
  width: 28px;
  height: 28px;
  color: var(--ink-soft);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-item h2 {
  margin-bottom: 4px;
  font-size: 15px;
}

.capability-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.factory-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.band-bg {
  position: absolute;
  inset: 0;
  background: url("../img/factory-exterior.webp") center / cover no-repeat;
  opacity: 0.08;
}

.factory-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: center;
}

.factory-copy p {
  max-width: 440px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-size: 14px;
  font-weight: 760;
  transition: transform 180ms ease;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(47, 92, 59, 0.16);
}

.stat-row div {
  min-height: 112px;
  padding: 24px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
}

.stat-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.stat-row span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section {
  padding: 74px 0;
  border-bottom: 1px solid var(--line);
}

.process-section,
.industry-section {
  background: var(--white);
}

.product-section,
.equipment-section {
  background: var(--paper);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.split-heading p {
  max-width: 640px;
  margin-bottom: 0;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.process-timeline::before {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 21px;
  height: 1px;
  content: "";
  background: var(--line);
}

.step {
  position: relative;
  padding-top: 52px;
}

.step span {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--green);
  border: 4px solid var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  box-shadow: 0 0 0 1px var(--line);
}

.step p {
  margin-bottom: 0;
  font-size: 13px;
}

.product-row,
.industry-row,
.equipment-grid {
  display: grid;
  gap: 22px;
}

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

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: top center;
}

.product-card h3,
.product-card p {
  padding: 0 18px;
}

.product-card h3 {
  margin-top: 16px;
}

.product-card p {
  margin-bottom: 20px;
  font-size: 13px;
}

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

.industry-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.industry-card img {
  width: 100%;
  height: 100%;
  min-height: 178px;
  object-fit: cover;
}

.industry-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, rgba(11, 14, 12, 0), rgba(11, 14, 12, 0.76));
}

.industry-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-weight: 760;
}

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

.equipment-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.equipment-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 52%;
}

.equipment-card span {
  color: var(--green);
  font-weight: 800;
}

.equipment-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.trust-section {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: center;
}

.trust-marks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.trust-marks span {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.trust-note {
  grid-column: 2;
  max-width: 860px;
  margin: 0;
  font-size: 13px;
}

.contact-section {
  padding: 64px 0;
  background: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(280px, 0.7fr) auto minmax(210px, 0.52fr);
  gap: 36px;
  align-items: center;
  min-height: 170px;
  padding: 38px 48px;
  color: var(--white);
  background: linear-gradient(90deg, var(--green-dark), #153820 58%, #eff1ec 100%);
  border-radius: 18px;
  overflow: hidden;
}

.contact-card h2,
.contact-card p,
.contact-card a,
.contact-card .eyebrow {
  color: inherit;
}

.contact-card h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.quick-info {
  display: grid;
  gap: 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 720;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 56px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 178px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--green);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .text-link {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 32px;
  }

  .site-nav {
    gap: 18px;
  }

  .section-inner,
  .hero-layout,
  .capability-strip {
    width: min(calc(100% - 64px), var(--max));
  }

  .hero-layout {
    grid-template-columns: 1fr 0.82fr;
    gap: 42px;
  }

  h1 {
    font-size: 58px;
  }

  .capability-strip,
  .stat-row,
  .trust-marks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-timeline,
  .product-row,
  .industry-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline::before {
    display: none;
  }

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

@media (max-width: 920px) {
  .site-header {
    min-height: 68px;
    padding: 0 20px;
  }

  .brand {
    width: 156px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    min-height: calc(100svh - 68px);
    padding: 26px 20px;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
    align-content: start;
    gap: 0;
  }

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

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

  .site-nav .nav-action {
    margin-top: 18px;
    padding: 16px;
    text-align: center;
  }

  .section-inner,
  .hero-layout,
  .capability-strip {
    width: min(calc(100% - 40px), var(--max));
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero {
    background: var(--white);
  }

  .hero-bg {
    inset: 0;
    opacity: 0.18;
  }

  .hero-bg::after {
    background: rgba(255, 255, 255, 0.84);
  }

  .hero-layout,
  .factory-grid,
  .split-heading,
  .trust-grid,
  .equipment-grid,
  .equipment-card {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding: 54px 0 34px;
  }

  .hero-media {
    max-width: 640px;
  }

  .hero-dots {
    position: static;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .capability-strip,
  .stat-row,
  .process-timeline,
  .product-row,
  .industry-row,
  .trust-marks {
    grid-template-columns: 1fr;
  }

  .trust-note {
    grid-column: auto;
  }

  .contact-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
    background: var(--green-dark);
  }

  .quick-info {
    color: var(--white);
  }
}

@media (max-width: 620px) {
  .hero-layout {
    padding-top: 38px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .capability-item {
    min-height: auto;
    padding: 24px 18px;
  }

  .factory-band,
  .section,
  .trust-section,
  .contact-section {
    padding: 50px 0;
  }

  .stat-row strong {
    font-size: 30px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 20px;
  }

  .footer-meta {
    text-align: left;
  }
}
