:root {
  --color-brand-primary: #17338f;
  --color-brand-active: #182888;
  --color-brand-secondary: #5362a5;
  --color-footer: #5b69a8;
  --color-canvas: #dcdeea;
  --color-accordion: #b6bcdc;
  --color-dropdown: #dddfea;
  --color-surface: #fff;
  --color-ink: #24263a;
  --color-muted: #626a82;
  --color-line: #9aa3cc;
  --color-focus: #f4a21b;
  --header-height: 72px;
  --content-width: min(90%, 1600px);
  --section-space: clamp(1.5rem, 2.4vw, 2.4rem);
}

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

html { color-scheme: light; scroll-behavior: smooth; }

html,
body { max-width: 100%; margin: 0; overflow-x: clip; }

body {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  color: var(--color-ink);
  background: var(--color-surface);
  flex-direction: column;
  font-family: "Songti SC", "Noto Serif SC", SimSun, serif;
  font-size: 16px;
  line-height: 1.55;
}

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

img { height: auto; }

a { color: inherit; text-underline-offset: 0.18em; }

button,
input,
select,
textarea { color: inherit; font: inherit; }

button,
[data-mobile-group-toggle] { min-width: 44px; min-height: 44px; }

button { cursor: pointer; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.skip-link {
  position: fixed;
  z-index: 300;
  inset: 0 auto auto 1rem;
  padding: 0.6rem 1rem;
  color: #fff;
  background: var(--color-brand-primary);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 50;
  min-height: var(--header-height);
  background: var(--color-surface);
  border-bottom: 1px solid rgb(23 51 143 / 12%);
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 3fr) minmax(96px, max-content);
  align-items: center;
  width: var(--content-width);
  height: var(--header-height);
  margin-inline: auto;
  gap: clamp(0.25rem, 0.8vw, 0.9rem);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
}

.official-logo {
  flex: 0 0 auto;
  width: clamp(168px, 13vw, 220px);
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}

.primary-navigation { align-self: stretch; }

.primary-navigation-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: clamp(0rem, 0.35vw, 0.4rem);
}

.nav-group { position: relative; display: flex; align-items: center; white-space: nowrap; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.25rem 0;
  color: #262733;
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.nav-group.is-active > .nav-link { color: var(--color-brand-primary); }

.nav-group.is-active > .nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  background: var(--color-brand-primary);
  content: "";
}

.nav-chevron {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: #3c3d48;
  background: transparent;
  border: 0;
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.nav-chevron-icon {
  width: 13px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-header:not([data-navigation-enhanced]) .nav-group:hover > .nav-chevron,
.site-header:not([data-navigation-enhanced]) .nav-group:focus-within > .nav-chevron,
.nav-group.is-menu-open > .nav-chevron { color: var(--color-brand-primary); }

.nav-group.is-menu-open > .nav-chevron .nav-chevron-icon { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  z-index: 60;
  top: calc(100% - 1px);
  left: 50%;
  width: max-content;
  min-width: 10rem;
  padding: 0.75rem 0.9rem 0.9rem;
  visibility: hidden;
  background: var(--color-dropdown);
  opacity: 0;
  transform: translate(-50%, -0.25rem);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.nav-dropdown ul { display: grid; margin: 0; padding: 0; list-style: none; gap: 0.08rem; }

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.25rem 0.85rem;
  text-align: center;
  text-decoration: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible { color: #fff; background: var(--color-brand-secondary); }

.site-header:not([data-navigation-enhanced]) .nav-group.is-active .nav-dropdown [data-default-child] > a {
  color: #fff;
  background: var(--color-brand-primary);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

.site-header[data-navigation-enhanced] .nav-dropdown a[aria-current="location"] {
  color: #fff;
  background: var(--color-brand-primary);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

.site-header:not([data-navigation-enhanced]) .nav-group:hover > .nav-dropdown,
.site-header:not([data-navigation-enhanced]) .nav-group:focus-within > .nav-dropdown,
.nav-group.is-menu-open > .nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--color-brand-primary);
}

.language-switch a,
.language-switch span { display: inline-grid; place-items: center; }

.language-switch a { min-width: 44px; min-height: 44px; padding: 0 0.35rem; font-size: 0.78rem; text-decoration: none; }
.language-switch span { min-width: auto; padding: 0; }
.language-switch a[aria-current="page"] { color: #fff; background: var(--color-brand-primary); }

.mobile-navigation-toggle,
.mobile-navigation { display: none; }

main { display: block; flex: 1 0 auto; }

.home-hero {
  position: relative;
  aspect-ratio: 16 / 6.5;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-canvas);
}

.hero-slides,
[data-hero-slide] {
  position: absolute;
  inset: 0;
}

[data-hero-slide] {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 950ms ease;
}

[data-hero-slide][aria-current="true"] {
  opacity: 1;
  pointer-events: auto;
}

[data-hero-slide] > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.012);
}

[data-hero-slide][aria-current="true"] > img {
  --hero-push-start: scale(1);
  animation: home-hero-slow-push 2000ms ease-out both;
}

[data-hero-slide][data-hero-outgoing] > img {
  animation: none;
  transform: var(--hero-outgoing-transform, scale(1.012));
}

@keyframes home-hero-slow-push {
  from { transform: var(--hero-push-start, scale(1)); }
  to { transform: scale(1.012); }
}

.home-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(18 39 112 / 5%), rgb(18 39 112 / 12%));
  content: "";
}

.hero-copy { position: absolute; z-index: 2; inset: 0; color: #17338f; text-align: center; }

.hero-motto {
  position: absolute;
  top: 2.8%;
  right: 0;
  left: 0;
  margin: 0;
  font-size: clamp(0.8rem, 1.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.38em;
  text-shadow: -1px -1px #fff, 1px 1px #fff;
}

.hero-copy h1 {
  position: absolute;
  top: 43%;
  right: 0;
  left: 0;
  margin: 0;
  font-size: clamp(1.8rem, 4.1vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-shadow: -2px -2px #fff, 2px 2px #fff, 0 0 8px #fff;
  transform: translateY(-50%);
}

.hero-location {
  position: absolute;
  top: 58%;
  right: 0;
  left: 0;
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: -1px -1px #fff, 1px 1px #fff;
}

.hero-dots { position: absolute; z-index: 3; right: 0; bottom: 5%; left: 0; display: flex; justify-content: center; gap: 1.2rem; }
.hero-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; }
.hero-dots button::before { width: 12px; height: 12px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgb(23 51 143 / 20%); content: ""; }
.hero-dots button[aria-current="true"]::before { background: #777; }
.hero-dots button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -4px; }

.industry-section,
.about-section,
.services-section,
.certification-section,
.team-culture,
.people-rail,
.careers,
.contact-section {
  width: var(--content-width);
  margin-inline: auto;
  padding-block: var(--section-space);
}

.industry-section,
.about-section,
.services-section,
.certification-section { width: var(--content-width); }

.industry-section h2,
.about-section h2,
.services-section h2,
.certification-section h2,
.team-culture h1,
.people-rail h2,
.careers h2,
.contact-section h1,
.contact-section h2 {
  margin: 0 0 0.65rem;
  color: var(--color-brand-primary);
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: 0.12em;
  line-height: 1.25;
}

.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.4rem); }

.industry-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--color-brand-primary); }
.industry-card img,
.industry-card svg { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.industry-card h3 { margin: 0.4rem 0.6rem 0.1rem; color: var(--color-brand-primary); font-size: 1.05rem; }
.industry-card p { margin: 0 0.6rem 0.7rem; font-size: clamp(0.7rem, 0.78vw, 0.8rem); line-height: 1.35; text-align: justify; }
.industry-section { padding-bottom: 1rem; }

.about-section {
  display: block;
  padding-top: 0;
  padding-bottom: 0.75rem;
  padding-inline: 0;
}

.about-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  align-items: center;
  padding-inline: clamp(1rem, 2.5vw, 2.2rem);
  padding-block: 1rem;
  border: 1px solid var(--color-brand-primary);
  gap: clamp(1rem, 3vw, 3rem);
}

.about-kicker { margin: 0; color: var(--color-brand-primary); font-size: 0.78rem; letter-spacing: 0.13em; }
.about-copy h3 { margin: 0.2rem 0 0.55rem; color: var(--color-brand-primary); font-size: 1.3rem; }
.about-copy > p:last-of-type { margin: 0; font-size: 0.75rem; line-height: 1.45; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0.75rem 0 0; gap: 0.7rem; }
.kpi-grid div { min-width: 0; text-align: center; }
.kpi-grid dt { padding: 0.3rem 0.4rem; color: #fff; background: var(--color-brand-secondary); font-weight: 700; white-space: nowrap; }
.kpi-grid dd { margin: 0 0 0.3rem; color: var(--color-brand-primary); font-size: 0.85rem; font-weight: 700; order: -1; }

.about-media-preview { position: relative; margin: 0; overflow: hidden; background: var(--color-brand-secondary); }
.about-media-preview img { width: 100%; aspect-ratio: 4 / 2.55; object-fit: cover; opacity: 0.72; mix-blend-mode: screen; }
.about-factory-video { display: block; width: 100%; aspect-ratio: 4 / 2.55; object-fit: contain; background: #050716; }

.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.6rem, 1.25vw, 1.2rem); }
[data-service-card] { display: flex; min-height: 15.75rem; padding: 0.65rem 0.7rem; border: 1px solid var(--color-brand-primary); flex-direction: column; text-align: center; }
.service-symbol { display: block; width: 58px; height: 58px; margin: 0 auto 1rem; object-fit: contain; background: transparent; border-radius: 50%; }
[data-service-card] h3 { margin: 0 0 0.7rem; color: var(--color-brand-primary); font-size: 1rem; }
[data-service-card] p { margin: 0; font-size: 0.82rem; text-align: left; }
[data-service-card] strong { margin-top: auto; padding-top: 1rem; color: var(--color-brand-primary); }
.services-section { padding-block: 0.75rem; }

.certification-section { display: grid; overflow: hidden; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 0.75rem; }
.certification-section h2 { grid-column: 1; grid-row: 1; align-self: center; }
.certification-rail { display: flex; align-items: center; min-width: 0; overflow-x: auto; scroll-snap-type: none; gap: 1.8rem; scrollbar-color: var(--color-brand-secondary) #c8cce0; scrollbar-width: thin; }
.certification-section .certification-rail { grid-column: 1 / -1; }
.certification-rail figure { flex: 0 0 clamp(130px, 12vw, 180px); margin: 0; text-align: center; scroll-snap-align: start; }
.certification-rail img {
  width: 100%;
  height: 210px;
  object-fit: contain;
}
.certification-rail figcaption { color: var(--color-brand-primary); font-size: 0.85rem; font-weight: 700; }
.certification-section { padding-bottom: 1rem; }

.prototype-channel { min-height: clamp(24rem, 28vw, 28rem); background: var(--color-canvas); border-top: 1px solid rgb(23 51 143 / 15%); }
.channel-gallery { display: grid; width: var(--content-width); margin-inline: auto; padding: 1.6rem 0 3rem; overflow: hidden; background: var(--color-canvas); grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 0.75rem; }
.channel-gallery:not([data-channel-gallery="products"]) { padding-top: 3rem; }
.category-tabs { display: flex; margin: 0 auto 3.6rem; overflow-x: auto; justify-content: center; gap: 0.65rem; scrollbar-width: none; -ms-overflow-style: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs button { min-width: clamp(8rem, 12vw, 11rem); min-height: 44px; padding: 0.25rem 0.8rem; color: var(--color-brand-primary); background: transparent; border: 1px solid var(--color-brand-primary); white-space: nowrap; }
.category-tabs a { display: inline-flex; min-width: clamp(8rem, 12vw, 11rem); min-height: 44px; padding: 0.25rem 0.8rem; align-items: center; justify-content: center; color: var(--color-brand-primary); background: transparent; border: 1px solid var(--color-brand-primary); white-space: nowrap; text-decoration: none; }
.team-category-tabs { width: var(--content-width); }
.category-tabs button[aria-selected="true"],
.channel-gallery:not([data-gallery-enhanced]) .category-tabs button:first-child,
.category-tabs a[aria-current="location"] { color: #fff; background: var(--color-brand-secondary); }
.channel-gallery > .category-tabs,
.channel-gallery > .runtime-category-tabs { min-width: 0; grid-column: 1; grid-row: 1; }
.gallery-panels { min-width: 0; grid-column: 1 / -1; }
.gallery-panel { min-width: 0; }
.channel-gallery[data-gallery-enhanced] .gallery-panel[hidden] { display: none; }
.gallery-viewport { position: relative; min-width: 0; }
.gallery-rail { display: flex; min-width: 0; padding: 0.4rem 0 1rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; gap: clamp(0.8rem, 1.4vw, 1.2rem); scrollbar-color: var(--color-brand-secondary) #c8cce0; scrollbar-width: thin; }
.gallery-rail::-webkit-scrollbar,
.people-rail-track::-webkit-scrollbar,
.certification-rail::-webkit-scrollbar { width: 10px; height: 10px; }
.gallery-rail::-webkit-scrollbar-track,
.people-rail-track::-webkit-scrollbar-track,
.certification-rail::-webkit-scrollbar-track { background: #c8cce0; }
.gallery-rail::-webkit-scrollbar-thumb,
.people-rail-track::-webkit-scrollbar-thumb,
.certification-rail::-webkit-scrollbar-thumb { background: #5362a5; border: 2px solid #c8cce0; border-radius: 999px; }
.gallery-card { flex: 0 0 clamp(280px, 30vw, 440px); margin: 0; text-align: center; scroll-snap-align: start; }
[data-channel-gallery="equipment"] .gallery-card { flex-basis: clamp(300px, 34vw, 520px); }
[data-channel-gallery="inspection"] .gallery-card { flex-basis: clamp(260px, 24vw, 360px); }
.gallery-card img { width: 100%; height: clamp(230px, 19vw, 320px); object-fit: contain; background: transparent; }
[data-channel-gallery="factory"] .gallery-card img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card figcaption { padding: 0.65rem 0.4rem 0; color: #30303b; font-size: 0.98rem; letter-spacing: 0.03em; }

.prototype-team { background: var(--color-canvas); }
.team-culture,
.people-rail,
.careers { width: var(--content-width); padding-inline: 0; }
.team-culture { background: var(--color-canvas); border-bottom: 2rem solid #fff; }
.culture-mosaic { max-width: 1103px; margin: 0 auto; }
.culture-mosaic img,
.culture-mosaic svg { width: 100%; max-height: 34rem; object-fit: contain; }
.culture-values-grid {
  display: grid;
  width: min(100%, 1000px);
  aspect-ratio: 1000 / 267;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.culture-tile { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.culture-tile-media img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.culture-tile-solid { display: grid; color: #fff; background: var(--color-brand-active); place-items: center; }
.culture-tile-solid strong { font-size: clamp(1.25rem, 2.2vw, 2.15rem); font-weight: 500; letter-spacing: 0.08em; text-align: center; }
.culture-tile-vision > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.culture-tile-vision .culture-greentech-logo { position: absolute; z-index: 1; top: 0.45rem; left: 0.55rem; width: min(26%, 95px); height: auto; }
.culture-tile-vision > div { position: absolute; z-index: 1; inset: 0; display: grid; align-content: center; padding: 1rem; text-align: center; }
.culture-tile-vision strong { color: #111; font-size: clamp(1rem, 1.7vw, 1.65rem); }
.culture-tile-vision span { margin-top: 0.3rem; color: #111; font-size: clamp(0.65rem, 1vw, 1rem); font-weight: 700; line-height: 1.35; }
.people-rail { display: grid; width: var(--content-width); border-bottom: 2rem solid #fff; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 0.75rem; }
.people-rail h2 { grid-column: 1; grid-row: 1; align-self: center; }
.people-gallery-viewport { position: relative; min-width: 0; }
.people-rail .people-gallery-viewport { grid-column: 1 / -1; }
.people-rail-track { position: relative; z-index: 1; display: flex; min-width: 0; overflow-x: auto; grid-column: 1 / -1; scrollbar-color: var(--color-brand-secondary) #c8cce0; scrollbar-width: thin; scroll-snap-type: x mandatory; gap: 1rem; }
.people-rail-track figure { max-width: 480px; flex: 0 0 clamp(320px, 31%, 480px); margin: 0; scroll-snap-align: start; text-align: center; }
.people-rail-track img,
.people-rail-track svg { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
img[data-media-fit="contain"] {
  object-fit: contain;
  object-position: var(--media-position, 50% 50%);
}
img[data-media-fit="cover"] {
  object-fit: cover;
  object-position: var(--media-position, 50% 50%);
}
img[data-hero-image="1"] { object-position: 50% 92%; }
img[data-hero-image="2"] { object-position: 50% 50%; }
img[data-hero-image="3"] { object-position: 50% 50%; }
img[data-hero-image="4"] { object-position: 50% 48%; }
.people-rail-track figcaption { color: var(--color-brand-primary); }
.careers { padding-bottom: calc(var(--section-space) + 3rem); }
.careers details { margin: 0.35rem 0; overflow: hidden; background: #bcbed7; border-radius: 0.75rem; }
.careers summary { display: flex; align-items: center; min-height: 46px; padding: 0.4rem 1.2rem; color: var(--color-brand-primary); background: #babeda; font-weight: 700; list-style: none; cursor: pointer; }
.careers summary::after { margin-left: auto; content: "⌄"; font-size: 1.45rem; }
.careers details[open] summary::after { content: "⌃"; }
.careers details > div { padding: 0.55rem 1.25rem 0.8rem; background: #bcbed7; }
.cnc-role-detail ol { margin: 0.25rem 0 0.65rem; padding-left: 1.4rem; }
.cnc-role-detail p { margin: 0.35rem 0 0.6rem; }
.cnc-role-detail { font-size: 0.84rem; line-height: 1.4; }

.prototype-contact { background: #fff; }
.contact-section { width: 100%; min-width: 0; padding-inline: min(4vw, 3.5rem); background: var(--color-canvas); border-bottom: 2rem solid #fff; }
.prototype-contact .contact-section { padding-block: 1.5rem; padding-inline: 2.3vw; }
.contact-section h1 small,
.contact-section h2 small { font-size: 0.75em; font-weight: 400; letter-spacing: 0.04em; }
.contact-visit-layout,
.engineering-rfq { display: grid; grid-template-columns: 1.35fr .75fr; gap: clamp(1.5rem, 4vw, 4rem); }
.contact-service-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.contact-preparation { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(15rem, .95fr); gap: clamp(1rem, 2.5vw, 2rem); }
.preparation-list { margin: 0; padding-left: 1.25rem; }
.contact-handoff { padding: clamp(1rem, 2.5vw, 1.75rem); border: 1px solid rgb(23 51 143 / 20%); }
.preparation-copy,
.contact-handoff { min-width: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-action { display: inline-flex; min-height: 44px; padding: 0.5rem 1rem; align-items: center; justify-content: center; border: 1px solid var(--color-brand-primary); text-decoration: none; }
.contact-action.primary { color: #fff; background: var(--color-brand-primary); }
.contact-action.secondary { color: var(--color-brand-primary); background: transparent; }
.contact-disclosure { margin: 0 0 1rem; overflow-wrap: anywhere; }
.contact-details,
.contact-fallback { max-width: 70ch; overflow-wrap: anywhere; }
.contact-section form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem 1.4rem; }
.contact-section label { display: grid; min-width: 0; gap: 0.25rem; }
.contact-section label:has(textarea),
.contact-section label[for$="notes"],
.contact-section label[for$="message"] { grid-column: 1 / -1; }
.contact-section input,
.contact-section textarea { width: 100%; min-width: 0; padding: 0.45rem 0.55rem; background: transparent; border: 1px solid var(--color-brand-primary); }
.contact-section input { min-height: 44px; height: auto; padding-block: 0.15rem; }
.contact-section textarea { min-height: 100px; resize: vertical; }
.contact-section button[type="submit"] { width: fit-content; min-height: 44px; padding: 0.4rem 1.2rem; color: #fff; background: var(--color-brand-primary); border: 0; }
.form-result { grid-column: 1 / -1; margin: 0; }
.contact-map { align-self: stretch; }
.contact-map a,
.contact-card a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-map-image { display: block; width: 100%; max-width: 410px; height: auto; aspect-ratio: 2 / 1; margin-inline: auto; object-fit: cover; background: #eef0f5; border: 1px solid rgb(23 51 143 / 20%); }
.file-upload-control { position: relative; display: grid; min-height: 108px; border: 1px solid var(--color-brand-primary); place-items: center; }
.file-upload-control input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.file-upload-control > span { max-width: 85%; color: var(--color-brand-primary); font-size: 0.82rem; overflow-wrap: anywhere; text-align: center; }
.contact-section input[type="datetime-local"] { appearance: none; }
.contact-section input[type="datetime-local"]::-webkit-calendar-picker-indicator { opacity: 0; }
.contact-section input[type="datetime-local"]:not(:focus):invalid { color: transparent; }
.map-grid { position: relative; min-height: 190px; overflow: hidden; background: #eef0f5; border: 1px solid rgb(23 51 143 / 20%); }
.map-grid::before,
.map-grid::after,
.map-grid i { position: absolute; inset: 50% -5%; height: 3px; background: #d2b986; content: ""; transform: rotate(-10deg); }
.map-grid::after { transform: rotate(16deg); }
.map-grid i:nth-child(1) { top: 25%; transform: rotate(7deg); }
.map-grid i:nth-child(2) { top: 70%; transform: rotate(-18deg); }
.map-grid i:nth-child(3) { inset: -5% 28%; width: 3px; height: auto; transform: rotate(4deg); }
.map-grid i:nth-child(4) { inset: -5% 67%; width: 3px; height: auto; transform: rotate(-9deg); }
.map-grid span { position: absolute; top: 50%; left: 55%; color: var(--color-brand-primary); font-weight: 800; transform: translate(-50%, -50%); }
.engineering-rfq { padding-inline: min(4vw, 3.5rem); }
.engineering-rfq > div,
.engineering-rfq > aside { min-width: 0; }
.engineering-follow-up ol { margin: 0; padding: 0; list-style: none; }
.engineering-follow-up li { display: grid; padding: 0.55rem 0; border-top: 1px solid rgb(23 51 143 / 30%); gap: 0.15rem; }
.engineering-follow-up li strong { color: var(--color-brand-primary); font-size: 1.1rem; }
.service-contact { position: relative; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1.5rem; gap: 2rem; }
.contact-card { display: grid; padding: 0 1rem; font-style: normal; gap: 0.25rem; }
.service-icons { display: block; width: 13.5rem; max-width: 100%; margin-top: 0.5rem; }
.service-contact > form { margin-right: 17rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-tip { position: absolute; right: min(4vw, 3.5rem); bottom: 4rem; width: 14rem; color: var(--color-brand-primary); }

.site-footer { color: rgb(255 255 255 / 80%); background: var(--color-footer); flex-shrink: 0; }
.footer-shell { display: grid; width: var(--content-width); margin-inline: auto; padding: clamp(0.75rem, 1.1vw, 1rem) 0; grid-template-columns: minmax(290px, 1.4fr) minmax(0, 4fr); gap: clamp(0.5rem, 1vw, 1rem); }
.footer-contact { min-width: 0; padding-right: clamp(0.5rem, 1vw, 1rem); border-right: 1px solid rgb(255 255 255 / 28%); }
.footer-brand { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; padding: 0; box-sizing: border-box; color: #fff; background: transparent; border-radius: 0; font-weight: 700; text-decoration: none; gap: 0.4rem; }
.footer-brand img { width: clamp(240px, 20vw, 270px); max-width: 100%; height: auto; background: transparent; object-fit: contain; }
.footer-contact p { margin: 0.4rem 0 0; font-size: 0.86rem; line-height: 1.55; }
.footer-contact a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.25rem clamp(0.5rem, 0.8vw, 0.75rem); }
.footer-grid section { display: grid; min-width: 0; align-content: start; gap: 0.125rem; }
.footer-grid h2 { margin: 0; color: #fff; font-size: 1rem; line-height: 1.3; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { font-size: 0.8rem; line-height: 1.3; }
.footer-grid a { display: inline-flex; align-items: center; width: 100%; max-width: 100%; min-width: 44px; min-height: 44px; box-sizing: border-box; line-height: 1.3; overflow-wrap: anywhere; white-space: normal; text-decoration: none; }

@media (min-width: 1181px) {
  .footer-shell { grid-template-columns: minmax(320px, 1.4fr) minmax(0, 4fr); }
  .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 1025px) {
  .service-contact {
    display: grid;
    grid-template-columns: 1.35fr .75fr;
    column-gap: clamp(1.5rem, 4vw, 4rem);
  }

  .service-contact > h2 {
    grid-column: 1 / -1;
  }

  .service-contact .general-enquiry {
    grid-column: 1;
  }

  .footer-brand img { width: 300px; }
  .site-header[data-navigation-enhanced] .nav-group:hover > .nav-dropdown,
  .site-header[data-navigation-enhanced] .nav-group:focus-within > .nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (min-width: 1025px) and (max-width: 1680px) {
  .header-shell { width: min(calc(100% - 1rem), 1600px); grid-template-columns: minmax(196px, 0.8fr) minmax(0, 4fr) minmax(96px, max-content); gap: 0; }
  .brand-link { width: 100%; }
  .official-logo { width: clamp(196px, 12vw, 220px); }
  .primary-navigation { min-width: 0; }
  .primary-navigation-list { gap: 0; }
  .primary-navigation-list >
  .nav-group[data-primary-nav-group="products"] {
    margin-left: 1.5625rem;
  }
  .nav-link { font-size: clamp(0.875rem, 0.9vw, 0.94rem); letter-spacing: 0; }
  .nav-chevron { display: inline-grid; }
}

@media (min-width: 1681px) {
  .primary-navigation-list >
  .nav-group[data-primary-nav-group="products"] {
    margin-left: 1.1625rem;
  }
}

@media (max-width: 1180px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .header-shell { grid-template-columns: minmax(0, 1fr) auto; }
  .primary-navigation,
  .header-shell > .language-switch { display: none; }
  .mobile-navigation-toggle { display: none; width: 48px; max-width: 48px; min-width: 48px; height: 44px; max-height: 44px; padding: 0; overflow: hidden; color: transparent; background: var(--color-brand-primary); border: 0; }
  .site-header[data-navigation-enhanced] .mobile-navigation-toggle { position: relative; display: inline-flex; }
  .site-header[data-navigation-enhanced] .mobile-navigation-toggle::before,
  .site-header[data-navigation-enhanced] .mobile-navigation-toggle::after { position: absolute; right: 11px; left: 11px; height: 2px; background: #fff; content: ""; }
  .site-header[data-navigation-enhanced] .mobile-navigation-toggle::before { top: 15px; box-shadow: 0 8px 0 #fff; }
  .site-header[data-navigation-enhanced] .mobile-navigation-toggle::after { bottom: 15px; }
  .mobile-navigation { display: block; max-height: 0; overflow: hidden; background: #fff; }
  .site-header.is-drawer-open .mobile-navigation { max-height: calc(100vh - var(--header-height)); overflow-y: auto; border-top: 1px solid var(--color-line); }
  .mobile-navigation > ul { display: grid; width: min(92%, 720px); margin: 0 auto; padding: 1rem 0; list-style: none; }
  .mobile-navigation [data-mobile-nav-group] { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .mobile-navigation a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
  .mobile-navigation [data-mobile-nav-group] > ul { display: grid; grid-column: 1 / -1; margin: 0; padding: 0 0 0.5rem 1rem; list-style: none; }
  .site-header[data-navigation-enhanced] .mobile-navigation [data-mobile-nav-group] > ul { display: none; }
  .site-header[data-navigation-enhanced] .mobile-navigation [data-mobile-nav-group].is-mobile-open > ul { display: grid; }
  .mobile-navigation > .language-switch { width: fit-content; margin: 0 auto 1rem; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-frame { grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.8fr); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-service-card]:last-child { grid-column: 1 / -1; }
  .category-tabs { justify-content: flex-start; }
  .channel-gallery { padding-inline: 1rem; }
  .service-contact > form { margin-right: 0; }
  .contact-tip { position: static; width: auto; margin-top: 1.5rem; }
  .footer-shell { padding: 0.75rem 0; grid-template-columns: 1fr; gap: 0.75rem; }
  .footer-contact { padding-right: 0; border-right: 0; }
  img[data-hero-image="1"] { object-position: 50% 50%; }
  img[data-hero-image="2"] { object-position: 52% 50%; }
  img[data-hero-image="3"] { object-position: 50% 50%; }
  img[data-hero-image="4"] { object-position: 50% 48%; }
}

@media (min-width: 901px) {
  .category-tabs { overflow-x: visible; flex-wrap: wrap; justify-content: center; }
  .category-tabs button,
  .category-tabs a { min-width: clamp(6.75rem, 10vw, 9.5rem); }
}

@media (min-width: 621px) and (max-width: 900px) {
  .footer-shell { padding: 0.75rem 0; grid-template-columns: 1fr; gap: 0.75rem; }
  .footer-contact { padding-right: 0; border-right: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .footer-shell { padding: 0.5rem 0; grid-template-columns: 1fr; gap: 0.5rem; }
  .footer-contact { padding-right: 0; border-right: 0; }
  .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 0.5rem; }
}

@media (max-width: 620px) {
  :root { --header-height: 68px; }
  .home-hero { min-height: 19rem; aspect-ratio: auto; }
  img[data-hero-image="1"] { object-position: 50% 50%; }
  img[data-hero-image="2"] { object-position: 55% 50%; }
  img[data-hero-image="3"] { object-position: 50% 50%; }
  img[data-hero-image="4"] { object-position: 50% 48%; }
  .hero-motto { top: 7%; padding-inline: 1rem; font-size: 0.65rem; letter-spacing: 0.12em; }
  .hero-copy h1 { top: 44%; padding-inline: 1rem; font-size: 1.8rem; }
  .hero-location { top: 62%; }
  .industry-grid,
  .service-grid,
  .kpi-grid,
  .contact-cards,
  .contact-section form,
  .service-contact > form { grid-template-columns: 1fr; }
  [data-service-card]:last-child { grid-column: auto; }
  .kpi-grid dt { white-space: normal; }
  .category-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 0.75rem;
    overflow-x: auto;
    scroll-padding-inline: 0.75rem;
    scroll-snap-type: x proximity;
  }
  .category-tabs > button,
  .category-tabs > a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .channel-gallery .category-tabs > button {
    min-width: clamp(9rem, 42vw, 9.5rem);
  }
  .team-category-tabs {
    gap: 0.25rem;
  }
  [data-channel-gallery="inspection"] .gallery-card { flex-basis: clamp(260px, 88%, 360px); }
  .gallery-card img { height: 260px; }
  .culture-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); aspect-ratio: auto; }
  .culture-tile { width: 100%; min-height: 118px; max-height: 180px; aspect-ratio: 1.6 / 1; }
  .culture-tile-media img { object-fit: contain; background: var(--color-canvas); }
  .culture-tile-vision > div { padding: 0.55rem; }
  .culture-tile-vision strong { font-size: 0.9rem; }
  .culture-tile-vision span { font-size: 0.58rem; line-height: 1.25; }
  .people-rail-track figure { width: 88%; max-width: none; flex-basis: 88%; }
  .contact-section,
  .prototype-contact .contact-section { min-width: 0; padding-inline: 1rem; }
  .contact-preparation { grid-template-columns: 1fr; }
  .preparation-copy,
  .contact-handoff { min-width: 0; }
  .contact-details,
  .contact-fallback { max-width: 70ch; overflow-wrap: anywhere; }
  .contact-section input { min-height: 44px; height: auto; }
  .contact-section label:has(textarea),
  .contact-section label[for$="notes"],
  .contact-section label[for$="message"] { grid-column: auto; }
  .footer-shell { padding: 0.5rem 0; gap: 0.25rem; }
  .footer-contact p { margin-top: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 0.25rem; }
  .footer-grid section { gap: 0; }
  .footer-grid h2 { font-size: 0.9rem; }
  .footer-grid li { font-size: 0.76rem; }
  .footer-grid a { min-height: 44px; }
}

@media (max-width: 820px) {
  .about-frame,
  .contact-visit-layout,
  .engineering-rfq { grid-template-columns: 1fr; }
  .contact-preparation { grid-template-columns: 1fr; }
  .preparation-copy,
  .contact-handoff { min-width: 0; }
  .contact-details,
  .contact-fallback { max-width: 70ch; overflow-wrap: anywhere; }
}

@media (max-width: 390px) {
  .home-hero { min-height: 18rem; }
  .industry-grid,
  .service-grid { grid-template-columns: 1fr; }
  .channel-gallery { padding-inline: 0.75rem; }
  .contact-visit-layout,
  .engineering-rfq,
  .contact-service-layout { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .nav-chevron-icon { transition-duration: 0ms !important; }
  [data-hero-slide] > img,
  [data-hero-slide][aria-current="true"] > img,
  [data-hero-slide][data-hero-outgoing] > img { animation: none !important; transform: none !important; }
}

/* home-only desktop typography polish */
@media (min-width: 1025px) {
  body[data-channel="home"] .primary-navigation {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  }

  body[data-channel="home"] .nav-link {
    font-size: clamp(0.875rem, 0.94vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  body[data-channel="home"] .nav-chevron {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    place-items: center start;
    padding-left: 0.4rem;
  }

  body[data-channel="home"] .hero-copy {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  }

  body[data-channel="home"] .hero-motto {
    top: 4.5%;
    font-size: clamp(0.78rem, 1.25vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 3px rgb(255 255 255 / 72%);
  }

  body[data-channel="home"][data-language="zh"] .hero-motto {
    word-spacing: -0.25em;
  }

  body[data-channel="home"] .hero-copy h1 {
    top: 45%;
    font-size: clamp(2rem, 3.7vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgb(255 255 255 / 85%);
  }

  body[data-channel="home"] .hero-location {
    top: 60%;
    font-size: clamp(0.9rem, 1.35vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgb(255 255 255 / 72%);
  }

  body[data-channel="home"] .hero-dots {
    bottom: 4.5%;
    gap: 0.55rem;
  }

  body[data-channel="home"] .hero-dots button::before {
    width: 8px;
    height: 8px;
  }
}
