:root {
  --ink: #101820;
  --navy: #0b1f36;
  --steel: #4e6073;
  --line: #d9e0e7;
  --paper: #f5f7fa;
  --white: #ffffff;
  --accent: #2f6f9f;
  --accent-dark: #214f74;
  --shadow: 0 18px 50px rgba(11, 31, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.zh {
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 224, 231, 0.85);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 1px;
  min-width: 230px;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.brand span {
  font-size: 12px;
  color: var(--steel);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
  color: #263747;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transition: width 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  height: 38px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--steel);
  height: 36px;
  padding: 0 10px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button.active {
  color: var(--white);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 18, 30, 0.9), rgba(8, 18, 30, 0.4) 52%, rgba(8, 18, 30, 0.16)),
    linear-gradient(0deg, rgba(8, 18, 30, 0.74), rgba(8, 18, 30, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 110px 0 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #9ec4df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  color: var(--navy);
}

.hero h1 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: #dfe8f0;
  font-size: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: var(--accent);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.07);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.metric {
  padding: 24px 24px 6px 0;
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 9px;
  color: #cfdae4;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-head p,
.lead {
  color: var(--steel);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.product-card,
.case-card,
.solution-card,
.capability,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(11, 31, 54, 0.04);
}

.product-card {
  overflow: hidden;
}

.product-card-link {
  display: block;
  height: 100%;
}

.media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dbe3ea;
}

.media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card .media img {
  object-fit: contain;
  padding: 14px;
  background: var(--white);
}

.case-card:hover .media img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 22px;
}

.card-body p,
.card-body li {
  color: var(--steel);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid #cdd8e1;
  color: #2d4356;
  font-size: 12px;
  font-weight: 750;
}

.page-hero {
  padding: 82px 0 64px;
  color: var(--white);
  background: linear-gradient(110deg, #071522, #153656);
}

.page-hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p {
  max-width: 720px;
  color: #d6e1eb;
  font-size: 18px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-detail + .product-detail {
  margin-top: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.gallery-grid button,
.project-gallery button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-grid img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
}

.gallery-toggle {
  display: none;
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

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

.spec-grid div {
  padding: 16px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
}

.spec-grid strong {
  display: block;
  color: var(--navy);
}

.spec-grid span {
  color: var(--steel);
  font-size: 14px;
}

.solution-card,
.capability,
.contact-panel {
  padding: 28px;
}

.home-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.home-showcase-media {
  min-height: 430px;
  background: #d9e1e8;
}

.home-showcase-media img {
  height: 100%;
  object-fit: cover;
}

.home-showcase-content {
  padding: clamp(34px, 5vw, 58px);
  align-self: center;
}

.home-showcase-content h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.home-showcase-content p {
  color: var(--steel);
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.process-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.process-list strong {
  color: var(--accent);
  font-size: 20px;
}

.process-list span {
  color: var(--navy);
  font-weight: 750;
}

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

.solution-card h3,
.capability h3 {
  font-size: 23px;
}

.solution-card p,
.capability p {
  color: var(--steel);
}

.case-card {
  overflow: hidden;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.case-meta span {
  display: block;
  padding: 10px;
  background: var(--paper);
  color: var(--steel);
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  color: var(--navy);
}

.contact-list span,
.contact-list a {
  color: var(--steel);
}

.form-grid {
  display: grid;
  gap: 14px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfd9e2;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  padding: 44px 0;
  color: #c4d2de;
  background: #081522;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 0.5fr));
  gap: 28px;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
}

.site-footer a,
.site-footer span {
  display: block;
  color: #c4d2de;
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(4, 10, 18, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 28px;
  cursor: pointer;
}

.mobile-contact-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: rgba(8, 21, 34, 0.92);
  box-shadow: 0 18px 50px rgba(8, 21, 34, 0.32);
  backdrop-filter: blur(14px);
}

.mobile-contact-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 850;
}

.mobile-contact-bar a:first-child {
  background: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
  }

  .section-head,
  .grid.three,
  .grid.four,
  .grid.two,
  .product-detail,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics,
  .spec-grid,
  .solution-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

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

  .brand span {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 58px 0 30px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 38px;
  }

  .hero p {
    max-width: 340px;
    font-size: 16px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .button-row {
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    min-height: 42px;
    padding: 0 16px;
  }

  .metrics {
    margin-top: 40px;
  }

  .metric {
    padding: 18px 10px 0 0;
  }

  .metric strong {
    font-size: 30px;
  }

  .metric span {
    font-size: 11px;
  }

  .product-card-link {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 132px;
  }

  .product-card .media {
    aspect-ratio: auto;
    height: 100%;
  }

  .product-card .media img {
    padding: 8px;
  }

  .product-card .card-body {
    padding: 16px;
  }

  .product-card .card-body h3 {
    font-size: 18px;
  }

  .product-card .card-body p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .product-card .tag-list {
    display: none;
  }

  .home-showcase-media {
    min-height: 240px;
  }

  .home-showcase-content {
    padding: 24px;
  }

  .process-list {
    margin-top: 18px;
  }

  .process-list div {
    grid-template-columns: 42px 1fr;
    padding: 12px 0;
  }

  .product-detail {
    padding: 16px;
  }

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

  .gallery-grid .mobile-extra {
    display: none;
  }

  .product-detail.gallery-expanded .gallery-grid .mobile-extra {
    display: block;
  }

  .gallery-toggle {
    display: block;
  }

  .site-footer {
    padding-bottom: 88px;
  }

  .mobile-contact-bar {
    display: grid;
  }

  .metrics,
  .case-meta,
  .spec-grid,
  .solution-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

/* Supplied artwork contains its own text and must remain fully visible. */
.hero-client-artwork {display:block;min-height:0;overflow:visible;}
.hero-artwork {position:relative;}
.hero-client-artwork .hero-artwork > img {position:relative;inset:auto;width:100%;height:auto;opacity:1;object-fit:contain;aspect-ratio:1920/1008;}
.artwork-contact {position:absolute;left:6.4%;top:33.2%;width:14%;height:6.5%;min-height:32px;}
.artwork-contact:focus-visible {outline:2px solid white;outline-offset:3px;}
.hero-client-artwork::after {display:none;}
.hero-client-artwork .hero-content {padding:44px 0 36px;}
.hero-client-artwork h1 {font-size:44px;max-width:100%;}
.hero-client-artwork .eyebrow {margin-top:0;}
.hero-client-artwork .metrics {margin-top:32px;}
.brand {max-width:340px;}
.brand strong,.card-body,.product-detail h2 {overflow-wrap:anywhere;letter-spacing:0;}
.product-detail .media img,.gallery-grid img,.case-card .media img {object-fit:contain;}
.product-detail .media,.case-card .media {background:#f5f7fa;}
.catalog-anchor {display:block;scroll-margin-top:100px;}
.product-detail {scroll-margin-top:100px;}
.factory-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.factory-gallery .media {aspect-ratio:8/5;padding:0;border:1px solid var(--line);cursor:zoom-in;}
.factory-gallery img {object-fit:contain;}
.lightbox-active {overflow:hidden;}
.lightbox {z-index:200;}
[aria-disabled="true"] {pointer-events:none;opacity:.5;}
.cms-content img {max-width:100%;height:auto;}
.cms-content .media img {height:100%;object-fit:contain;}
.cms-content:empty {display:none;}
.catalog-status {color:var(--steel);}
.footer-legal {margin-top:28px;padding-top:20px;border-top:1px solid #ffffff26;text-align:center;font-size:13px;}
.footer-legal a {display:inline-block;max-width:100%;padding:10px 0;overflow-wrap:anywhere;color:inherit;}
.footer-legal a:hover {text-decoration:underline;}
.footer-legal a:focus-visible {outline:2px solid currentColor;outline-offset:4px;}
@media(max-width:920px){.brand {max-width:290px;}.nav {gap:12px;}.factory-gallery {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:580px){.brand {max-width:calc(100% - 140px);}.brand strong {font-size:12px;line-height:1.4;}.nav-actions {flex-shrink:0;gap:8px;}.hero-client-artwork {min-height:0;}.hero-client-artwork .hero-content {padding:28px 0;}.hero-client-artwork h1 {font-size:30px;}.hero-client-artwork .metrics {grid-template-columns:repeat(2,minmax(0,1fr));}.factory-gallery {grid-template-columns:1fr;}.nav-links {top:100%;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;}.reveal{opacity:1;transform:none;}}
