/* LinkCo main site — industrial / engineering preview
   Palette: navy, paper, dark gray, restrained copper */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Variable.ttf") format("truetype");
  font-weight: 100 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Italic-Variable.ttf") format("truetype");
  font-weight: 100 700;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2545;
  --navy-deep: #07182c;
  --navy-mid: #16355a;
  --navy-soft: #1e4a73;
  --ink: #152033;
  --text: #2a3444;
  --muted: #5a6878;
  --muted-2: #7a8794;
  --line: #d5dce4;
  --line-strong: #b8c3cf;
  --paper: #ffffff;
  --paper-2: #f3f6f8;
  --paper-3: #e7eef3;
  --copper: #9c6f3e;
  --copper-deep: #7a542c;
  --copper-soft: #c4a574;
  --steel: #3e5f7a;
  --ok: #1f5a38;
  --ok-bg: #e8f4ec;
  --danger: #8b2e2e;
  --header-h: 68px;
  --util-h: 36px;
  --wrap: 1140px;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.05);
  --font: "IBM Plex Sans", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--navy);
  text-decoration-color: rgba(11, 37, 69, 0.28);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  font-size: 14px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Utility bar + header ---------- */

.util {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  height: var(--util-h);
  display: flex;
  align-items: center;
}

.util .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.util a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.util a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--copper-soft);
}

.util-left {
  color: rgba(255, 255, 255, 0.62);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.wordmark {
  font-weight: 650;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.wordmark small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
  line-height: 1;
}
.site-footer .wordmark small {
  color: rgba(255, 255, 255, 0.5);
}

.wordmark:hover {
  text-decoration: none;
  color: var(--navy);
}

.wordmark span {
  font-weight: 650;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  height: 100%;
}

.nav > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: var(--header-h);
  padding: 0 11px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav > a:hover,
.nav-item > button:hover,
.nav > a.is-active,
.nav-item.is-active > button {
  color: var(--navy);
}

.nav > a.is-active {
  box-shadow: inset 0 -2px 0 var(--navy);
}

.nav-item.is-active > button {
  box-shadow: inset 0 -2px 0 var(--navy);
}

.chev {
  width: 8px;
  height: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.1);
  padding: 8px 0;
  display: none;
  z-index: 90;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.4;
}

.dropdown a:hover,
.dropdown a:focus {
  background: var(--paper-2);
}

.dropdown a strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
}

.dropdown a span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--paper-2);
  text-decoration: none;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
}

.header-cta {
  flex: none;
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

/* ---------- Page frame ---------- */

main {
  flex: 1;
}

.page-hero {
  padding: 64px 0 48px;
  background:
    linear-gradient(to right, rgba(11, 37, 69, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgba(11, 37, 69, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
}

.page-hero .lede {
  margin: 0;
  max-width: 62ch;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumb .sep {
  opacity: 0.45;
}

/* ---------- Home hero ---------- */

.home-hero {
  position: relative;
  padding: 72px 0 64px;
  background:
    linear-gradient(to right, rgba(11, 37, 69, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(to bottom, rgba(11, 37, 69, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    #f7f9fb;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.home-hero h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(34px, 4.1vw, 50px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.home-hero .lede {
  margin: 0 0 28px;
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text);
  max-width: 46ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.drawing-frame {
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: 10px;
  position: relative;
}

.drawing-frame svg {
  width: 100%;
  height: auto;
}

/* ---------- Trust bar ---------- */

.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

.trust-item {
  flex: 1 1 180px;
  padding: 18px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0;
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 36px;
  max-width: 66ch;
}

.section-head h2,
.content h2,
.block h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p,
.intro {
  margin: 0;
  color: var(--text);
  font-size: 17.5px;
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 28px 26px;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.06);
  text-decoration: none;
  color: inherit;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
}

.card .more {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--navy);
}

.quiet-note {
  margin: 20px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* Positioning band */

.position {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}

.position .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.position h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.position p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
}

.position-stat {
  border-left: 2px solid var(--copper-soft);
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.55;
}

/* Process */

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

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 8px 16px 0 0;
  position: relative;
}

.process-step .num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 10px;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
}

.process-step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
}

.process-step .bar {
  height: 2px;
  background: var(--line-strong);
  margin-bottom: 18px;
  position: relative;
}

.process-step .bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--navy);
  border-radius: 50%;
}

/* Factory / CTA bands */

.band {
  padding: 72px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.band h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.band p {
  margin: 0 0 22px;
  max-width: 54ch;
}

.cta-final {
  background: var(--navy-deep);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-final h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
}

.cta-final p {
  margin: 0 auto 28px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17.5px;
}

.cta-final .cta-row {
  justify-content: center;
}

/* ---------- Content pages ---------- */

.content {
  padding: 64px 0 88px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.prose > p {
  margin: 0 0 16px;
  max-width: 68ch;
}

.prose > p:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 36px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 8px 0 28px;
}

.spec th,
.spec td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec th {
  background: var(--paper-2);
  color: var(--navy);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.spec td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 34%;
}

.spec caption,
.table-note {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  margin: -12px 0 28px;
  caption-side: bottom;
  padding-top: 8px;
}

.aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--paper-2);
}

.aside h2,
.aside h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.aside p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--text);
}

.aside .meta {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.cap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cap-item {
  border: 1px solid var(--line);
  padding: 24px;
  background: #fff;
}

.cap-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.cap-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
}

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

.fact {
  border-top: 2px solid var(--navy);
  padding-top: 14px;
}

.fact .n {
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fact .l {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.legal-name {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 8px;
}

.zh-name {
  font-family: "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", var(--font);
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}

/* FAQ */

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 36px 20px 0;
  font: inherit;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid var(--navy);
  border-bottom: 1.6px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}

.faq-item.is-open button::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item .ans {
  display: none;
  padding: 0 8px 20px 0;
  max-width: 72ch;
  color: var(--text);
}

.faq-item.is-open .ans {
  display: block;
}

/* Forms */

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.span-2 {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.field .hint {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
}

.req {
  color: var(--copper);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
  appearance: none;
  border-radius: 3px;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 0;
  border-color: var(--navy);
}

.drop {
  border: 1px dashed var(--line-strong);
  background: var(--paper-2);
  padding: 18px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
}

.drop:hover,
.drop.is-drag {
  border-color: var(--navy);
  background: #eef3f8;
}

.drop input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.drop strong {
  display: block;
  color: var(--navy);
  font-size: 14.5px;
  margin-bottom: 2px;
}

.drop span {
  font-size: 13px;
  color: var(--muted);
}

.file-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text);
}

.file-list li {
  padding: 2px 0;
  font-family: var(--mono);
  font-size: 12.5px;
}

.promise {
  margin: 8px 0 0;
  padding: 14px 16px;
  background: var(--paper-2);
  border-left: 3px solid var(--navy);
  font-size: 14.5px;
  color: var(--text);
}

.success {
  display: none;
  border: 1px solid var(--line);
  padding: 36px 32px;
  background: #fff;
}

.success.is-visible {
  display: block;
}

.success h2 {
  margin: 0 0 10px;
  color: var(--navy);
}

.success .ok-pill {
  display: inline-block;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  margin-bottom: 14px;
}

/* Factory */

.factory-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.factory-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 16px;
}

.factory-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.factory-panel p.hint-line {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.zone-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  padding: 10px 8px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
}

.zone-btn:hover,
.zone-btn.is-active {
  background: var(--paper-2);
}

.zone-btn small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 1px;
}

.factory-stage {
  position: relative;
  min-height: 560px;
  background: #e8eef2;
  border: 1px solid var(--line);
  overflow: hidden;
}

.factory-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.factory-fallback {
  display: none;
  padding: 16px;
  height: 100%;
}

.factory-fallback.is-visible,
.factory-stage.no-webgl .factory-fallback {
  display: block;
}

.factory-stage.no-webgl canvas {
  display: none;
}

.disclaimer {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid var(--copper);
  padding: 4px 0 4px 14px;
  margin: 0 0 24px;
  max-width: 82ch;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 96px;
  font-size: 14px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .wordmark {
  color: #fff;
  display: inline-block;
  margin-bottom: 10px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--mono);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--copper-soft);
}

.footer-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.46);
  max-width: 46ch;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-zh {
  font-family: "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  letter-spacing: 0.04em;
}

/* WhatsApp FAB + dialog */

.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px 0 12px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 24px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.28);
}

.wa-fab:hover {
  background: var(--navy-mid);
}

.wa-fab svg {
  width: 22px;
  height: 22px;
}

.wa-dialog {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  width: min(420px, calc(100% - 32px));
  box-shadow: 0 16px 48px rgba(11, 37, 69, 0.18);
}

.wa-dialog::backdrop {
  background: rgba(7, 24, 44, 0.45);
}

.wa-dialog-body {
  padding: 24px 24px 20px;
}

.wa-dialog h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.wa-dialog p {
  margin: 0 0 12px;
  font-size: 15px;
}

.wa-dialog .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.wa-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
}

.wa-dialog {
  position: fixed;
}

/* Mobile nav */

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 44, 0.4);
  z-index: 85;
}

body.nav-open .nav-backdrop {
  display: block;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .content-grid,
  .band-split,
  .position .wrap,
  .factory-layout,
  .grid-3,
  .grid-6,
  .cap-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-step .bar {
    display: none;
  }

  .aside {
    position: static;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 72px 0 24px;
    overflow: auto;
    margin: 0;
    box-shadow: -8px 0 32px rgba(11, 37, 69, 0.12);
  }

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

  .nav > a,
  .nav-item > button {
    height: auto;
    padding: 14px 24px;
    justify-content: space-between;
    box-shadow: none !important;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }

  .nav-item {
    display: block;
    height: auto;
  }

  .dropdown {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px;
    min-width: 0;
    background: var(--paper-2);
  }

  .nav-item.is-open .dropdown {
    display: block;
  }

  .nav-mobile-cta {
    display: block;
    margin: 20px 24px 0;
    text-align: center;
  }

  .util-left {
    display: none;
  }

  .trust-item {
    flex: 1 1 46%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .facts,
  .form-row,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .page-hero,
  .section,
  .content {
    padding-top: 40px;
  }

  .section,
  .content {
    padding-bottom: 56px;
  }

  .wrap,
  .wrap-wide {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .factory-stage {
    min-height: 420px;
  }

  .wa-fab {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .home-hero h1 {
    font-size: 30px;
  }

  .wa-fab span.label {
    /* keep label — it's useful; wrap if needed */
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .card,
  .faq-item button::after {
    transition: none;
  }
}

.nav-mobile-cta {
  display: none;
}

.wa-dialog {
  position: relative;
}

.factory-stage {
  height: 64vh;
  min-height: 520px;
}

.factory-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 980px) {
  .nav-mobile-cta {
    display: flex;
    width: auto;
  }
  .factory-stage {
    height: 420px;
    min-height: 420px;
  }
}

/* --- visual QA fixes --- */
.nav > a.nav-mobile-cta {
  display: none;
}

.cta-final .btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.cta-final .btn-primary:hover {
  background: var(--paper-2);
  color: var(--navy);
  border-color: var(--paper-2);
}

.grid-2 > .cap-item,
.grid-6 > .cap-item,
.cap-list > .cap-item {
  height: 100%;
}

select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230B2545' stroke-width='1.4' d='M1.5 1.5 L6 6 L10.5 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.home-hero {
  padding: 56px 0 48px;
}
.home-hero h1 {
  font-size: clamp(32px, 3.7vw, 46px);
}

.br-desktop {
  display: block;
}

.aside .btn {
  width: 100%;
}

@media (max-width: 980px) {
  .nav > a.nav-mobile-cta {
    display: flex;
    width: calc(100% - 48px);
    margin: 20px 24px 0;
    height: 44px;
    box-shadow: none !important;
    border-bottom: 0 !important;
    justify-content: center;
  }
  .br-desktop {
    display: none;
  }
}
.hero-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.94fr);
  gap: 48px;
}
.home-hero h1 {
  font-size: clamp(30px, 3.5vw, 42px);
  letter-spacing: -0.03em;
}

/* ---------- Chinese preview typography ---------- */

html[lang="zh-Hans"] .kicker,
html[lang="zh-Hans"] .site-footer h3,
html[lang="zh-Hans"] .spec th,
html[lang="zh-Hans"] .success .ok-pill {
  letter-spacing: 0.06em;
  text-transform: none;
  font-family: var(--font);
}

html[lang="zh-Hans"] .zh-name {
  letter-spacing: 0.04em;
}

/* ---------- Photography ---------- */

.photo,
.hero-photo,
.page-hero-photo,
.card-media,
.cap-media,
.photo-band,
.photo-tile figure {
  margin: 0;
}

.photo img,
.hero-photo img,
.page-hero-photo img,
.card-media img,
.cap-media img,
.photo-band img,
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo figcaption,
.page-hero-photo figcaption,
.photo-tile figcaption,
.card-media figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Home hero: large photo split, photo leads */

.home-hero {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.18fr);
  min-height: 640px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  align-items: center;
  padding: 64px 48px 64px max(24px, calc((100vw - var(--wrap)) / 2));
  background: #fff;
}

.hero-copy-inner {
  width: 100%;
  max-width: 34rem;
}

.hero-copy-inner .lede {
  max-width: none;
}

.hero-photo {
  position: relative;
  min-height: 640px;
  background: #1a2330;
  overflow: hidden;
}

.hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(7, 24, 44, 0.5);
  padding: 4px 9px;
  border-radius: 2px;
}

/* Page heroes with a lead photo */

.page-hero--photo {
  padding: 36px 0 0;
  background: var(--paper-2);
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: end;
}

.page-hero-split .lede {
  margin-bottom: 36px;
}

.page-hero-photo {
  position: relative;
  min-height: 320px;
  max-height: 420px;
  overflow: hidden;
  background: #1a2330;
  border: 1px solid var(--line);
}

.page-hero-photo img {
  max-height: 420px;
}

.page-hero-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  background: rgba(7, 24, 44, 0.5);
  padding: 3px 8px;
}

/* Industry / content cards with photos */

.card.card-photo {
  padding: 0;
  overflow: hidden;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}

.card-media figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  background: rgba(7, 24, 44, 0.5);
  padding: 3px 8px;
}

.card-body {
  padding: 22px 24px 24px;
}

.card-body h3 {
  margin-top: 0;
}

/* Capability photo tiles */

.photo-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-tile {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.photo-tile figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a2330;
}

.photo-tile .tile-body {
  padding: 18px 20px 20px;
}

.photo-tile h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
}

.photo-tile p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}

/* Mid-page photographic band */

.photo-band {
  position: relative;
  background: #151b22;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.photo-band img {
  width: 100%;
  height: min(42vw, 420px);
  min-height: 260px;
  object-fit: cover;
  object-position: center 45%;
}

.photo-band figcaption {
  position: absolute;
  left: max(24px, calc((100vw - var(--wrap)) / 2));
  bottom: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  background: rgba(7, 24, 44, 0.5);
  padding: 4px 9px;
}

/* In-article lead stills */

.prose .lead-photo {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #1a2330;
}

.prose .lead-photo img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.prose .lead-photo figcaption {
  margin: 0;
  padding: 8px 12px;
  background: var(--paper-2);
  font-size: 12.5px;
  color: var(--muted);
}

/* Footer preview notes: discreet, not a banner */

.preview-notes {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.38);
  max-width: 72ch;
}

/* Quality inspection still beside the table */

.quality-visual {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #1a2330;
}

.quality-visual img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}

.quality-visual figcaption {
  margin: 0;
  padding: 8px 12px;
  background: var(--paper-2);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-split,
  .page-hero-split,
  .photo-tiles {
    grid-template-columns: 1fr;
  }

  .hero-split {
    min-height: 0;
  }

  .hero-copy {
    padding: 40px 16px 36px;
    order: 1;
  }

  .hero-copy-inner {
    max-width: none;
    width: min(var(--wrap), calc(100% - 0px));
    margin-inline: auto;
  }

  .hero-photo {
    min-height: 280px;
    aspect-ratio: 16 / 10;
    order: 0;
  }

  .page-hero--photo {
    padding: 28px 0 0;
  }

  .page-hero-split .lede {
    margin-bottom: 0;
  }

  .page-hero-photo {
    min-height: 220px;
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .page-hero-photo img {
    max-height: none;
  }

  .photo-band img {
    height: 220px;
    min-height: 220px;
  }
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rfq-error { margin: 0 0 20px; padding: 14px 16px; border: 1px solid #c0392b; background: #fdecea; color: #7a1c14; font-size: 14.5px; }
.rfq-preview-note { margin: 0 0 16px; }
.turnstile-slot { margin: 8px 0 18px; padding: 12px 14px; border: 1px dashed var(--line); background: #f7f8fa; }
.file-list li.is-bad { color: #7a1c14; }
