/*
 * Wolfer Precision visual system
 * Shared by every generated language page through i18n-build/build.py.
 * The layer intentionally leaves page content and component behavior intact.
 */

:root {
  --wf-ink: #0a2334;
  --wf-ink-2: #12384f;
  --wf-blue: #176fa8;
  --wf-blue-deep: #0e5689;
  --wf-blue-soft: #e9f3f8;
  --wf-surface: #f4f7f9;
  --wf-line: rgba(10, 35, 52, 0.13);
  --wf-line-strong: rgba(10, 35, 52, 0.2);
  --wf-accent: #82b94b;
  --wf-shadow-sm: 0 1px 2px rgba(7, 28, 43, 0.04), 0 8px 24px rgba(7, 28, 43, 0.055);
  --wf-shadow-md: 0 18px 50px rgba(7, 28, 43, 0.11), 0 3px 12px rgba(7, 28, 43, 0.06);
  --wf-shadow-blue: 0 16px 34px rgba(23, 111, 168, 0.24);
}

/* Mobile homepage typography: clean, industrial and highly legible. */
@media (max-width: 767px) {
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical :is(.display, .font-stat, h1, p, a, span, button, dt, dd) {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif !important;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-title-mobile"] {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
    -webkit-text-stroke: 0.004em currentColor;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-subtitle"] {
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .hero-fade-5 a {
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
  }
}

html[lang^="en"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-about-localized"] {
  display: none !important;
}

/* Homepage About Wolfer story: narrative first, with proof data reserved for desktop. */
body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-about-copy"] {
  max-width: 56rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-about-copy"] h2 {
  letter-spacing: -0.02em;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-about-copy"] p {
  text-wrap: pretty;
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] {
    padding-block: 2.5rem !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] > .container > .grid {
    gap: 1.35rem !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-about-copy"] {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(21, 101, 168, 0.16);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-about-copy"] h2 {
    color: #08263a;
    font-size: clamp(1.2rem, 5.4vw, 1.45rem);
    font-weight: 850 !important;
    line-height: 1.5;
    letter-spacing: -0.015em;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-about-copy"] p {
    margin-top: 0.9rem !important;
    color: #506b7d;
    font-size: 0.94rem !important;
    line-height: 1.95 !important;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] [data-wf-role="stat-grid"] {
    display: none !important;
  }
}

/* Interior-page navigation: a consistent browser-back affordance above each
   breadcrumb or first content block. */
body[data-wf-theme="precision"] [data-wf-role="page-back"] {
  border-bottom: 1px solid rgba(10, 35, 52, 0.08);
  background: #fff;
}

body[data-wf-theme="precision"] [data-wf-role="page-back"] > .container {
  padding-block: 0.7rem;
}

body[data-wf-theme="precision"] [data-wf-role="page-back-link"] {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border: 1px solid rgba(21, 101, 168, 0.18);
  border-radius: 999px;
  color: #0c5f93;
  background: rgba(238, 246, 251, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="page-back-link"] > span:first-child {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1565a8;
  font-size: 0.9rem;
  line-height: 1;
}

body[data-wf-theme="precision"] [data-wf-role="page-back-link"]:hover {
  border-color: rgba(21, 101, 168, 0.42);
  background: #fff;
  transform: translateX(-2px);
}

body[data-wf-theme="precision"] [data-wf-role="page-back-link"]:focus-visible {
  outline: 2px solid #1565a8;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  /* Homepage mobile masthead: keep the brand mark on the true viewport
     centre while the menu control remains anchored to the right. */
  body[data-wf-theme="precision"][data-wf-page="index"] #site-header > .container {
    position: relative;
    justify-content: flex-end;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #site-header > .container > a:first-child {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #mobile-menu-btn {
    position: relative;
    z-index: 3;
  }

  body[data-wf-theme="precision"] [data-wf-role="page-back"] > .container {
    padding-block: 0.55rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="page-back-link"] {
    min-height: 2.75rem;
    font-size: 0.78rem;
  }

  /* Collapse the crowded About-Wolfer statistics into one compact native
     disclosure. The title and story link remain visible at all times. */
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] {
    padding-block: 1.35rem !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] > .container > .grid {
    gap: 0.9rem !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3 {
    padding-right: 0 !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3::after {
    display: none;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3 > .flex {
    align-items: center;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3 > .flex > div {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3 a {
    margin-top: 0 !important;
    white-space: nowrap;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] details[data-wf-section="homepage-stats"] > summary {
    min-height: 4rem;
    padding: 0.75rem 0.9rem;
    border-color: rgba(21, 101, 168, 0.2);
    background: linear-gradient(135deg, rgba(240, 248, 252, 0.98), rgba(226, 240, 249, 0.82));
    box-shadow: 0 10px 24px rgba(7, 28, 43, 0.05);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] details[data-wf-section="homepage-stats"] > summary > span {
    min-width: 0;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] details[data-wf-section="homepage-stats"] > summary strong,
  body[data-wf-theme="precision"][data-wf-page="index"] details[data-wf-section="homepage-stats"] > summary small {
    display: block;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] details[data-wf-section="homepage-stats"] > summary strong {
    color: #08263a;
    font-size: 0.94rem;
    font-weight: 900;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] details[data-wf-section="homepage-stats"] > summary small {
    margin-top: 0.28rem;
    overflow: hidden;
    color: #567082;
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] details[data-wf-section="homepage-stats"] > [data-wf-role="home-mobile-details-body"] {
    margin-top: 0.75rem !important;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body[data-wf-theme="precision"] {
  color: var(--wf-ink);
  background: #fff;
  overflow-x: hidden;
  font-family: "Saira", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body[data-wf-theme="precision"] ::selection {
  color: #fff;
  background: var(--wf-blue);
}

body[data-wf-theme="precision"] :is(h1, h2, h3) {
  color: var(--wf-ink);
  text-wrap: balance;
}

body[data-wf-theme="precision"] p {
  text-wrap: pretty;
}

body[data-wf-theme="precision"] a,
body[data-wf-theme="precision"] button,
body[data-wf-theme="precision"] input,
body[data-wf-theme="precision"] select,
body[data-wf-theme="precision"] textarea {
  -webkit-tap-highlight-color: transparent;
}

body[data-wf-theme="precision"] :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(23, 111, 168, 0.28);
  outline-offset: 3px;
}

body[data-wf-theme="precision"] .display {
  letter-spacing: -0.012em;
}

body[data-wf-theme="precision"] .param {
  font-variant-numeric: tabular-nums;
}

/* Core palette and shape refinements */
body[data-wf-theme="precision"] .text-ink { color: var(--wf-ink); }
body[data-wf-theme="precision"] .text-ink-muted { color: #587080; }
body[data-wf-theme="precision"] .text-brand { color: var(--wf-blue); }
body[data-wf-theme="precision"] .bg-brand { background-color: var(--wf-blue); }
body[data-wf-theme="precision"] .bg-brand-soft { background-color: var(--wf-blue-soft); }
body[data-wf-theme="precision"] .bg-ink { background-color: var(--wf-ink); }
body[data-wf-theme="precision"] .bg-surface { background-color: var(--wf-surface); }
body[data-wf-theme="precision"] [class*="border-line"] { border-color: var(--wf-line); }
body[data-wf-theme="precision"] .rounded { border-radius: 0.65rem; }
body[data-wf-theme="precision"] .rounded-lg { border-radius: 1rem; }
body[data-wf-theme="precision"] .rounded-xl { border-radius: 1.25rem; }

body[data-wf-theme="precision"] .section-rule {
  padding-bottom: 0.85rem;
}

body[data-wf-theme="precision"] .section-rule::after {
  width: 3.25rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wf-blue), #51a0cf);
}

/* Utility bar + navigation */
body[data-wf-theme="precision"] [data-wf-role="watermark"] {
  display: none !important;
}

body[data-wf-theme="precision"] [data-wf-role="utility"] {
  color: rgba(255, 255, 255, 0.82);
  background: var(--wf-ink) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-wf-theme="precision"] [data-wf-role="utility"] > .container {
  height: 2.35rem;
}

body[data-wf-theme="precision"] [data-wf-role="utility"] button {
  transition: color 180ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="utility"] button:hover {
  color: #fff !important;
}

body[data-wf-theme="precision"] #site-header {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 35, 52, 0.1);
  box-shadow: 0 8px 28px rgba(7, 28, 43, 0.055);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

body[data-wf-theme="precision"] #site-header > .container {
  height: 4.75rem;
}

body[data-wf-theme="precision"] #site-header img {
  transition: transform 220ms ease, filter 220ms ease;
}

body[data-wf-theme="precision"] #site-header a:hover img {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

body[data-wf-theme="precision"] #site-header nav {
  gap: clamp(1.35rem, 2.4vw, 2.5rem);
}

body[data-wf-theme="precision"] #site-header nav :is(a, button) {
  letter-spacing: 0.015em;
}

body[data-wf-theme="precision"] #site-header .mega-underline {
  bottom: -1.65rem;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--wf-blue);
}

body[data-wf-theme="precision"] #site-header .mega-panel {
  background: rgba(255, 255, 255, 0.985);
  border-top-color: var(--wf-blue);
  box-shadow: 0 28px 60px rgba(7, 28, 43, 0.14);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

body[data-wf-theme="precision"] #site-header .mega-panel [class*="bg-surface"] {
  background: linear-gradient(145deg, #f8fbfc, #eef4f7);
}

/* Industry mega-menu: equipment-photo preview */
body[data-wf-theme="precision"] #site-header [data-wf-industry] {
  margin-left: -0.7rem;
  padding: 0.42rem 0.7rem;
  border-radius: 0.7rem;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body[data-wf-theme="precision"] #site-header [data-wf-industry]:is(:hover, :focus-visible),
body[data-wf-theme="precision"] #site-header [data-wf-industry][data-preview-active="true"] {
  background: rgba(23, 111, 168, 0.09);
  box-shadow: inset 3px 0 0 var(--wf-blue);
}

body[data-wf-theme="precision"] #site-header [data-wf-industry][data-preview-active="true"] > span:first-child {
  color: var(--wf-blue);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 20.5rem;
  padding: 1.75rem;
  background: #0a2334 !important;
  border-color: rgba(10, 35, 52, 0.3) !important;
  box-shadow: 0 20px 46px rgba(7, 28, 43, 0.16);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature-image"] {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.015);
  transition: opacity 240ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature-scrim"] {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 32, 0.93) 0%, rgba(4, 20, 32, 0.71) 46%, rgba(4, 20, 32, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 20, 32, 0.78) 0%, transparent 58%);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"] > :not([data-wf-role="industry-feature-image"]):not([data-wf-role="industry-feature-scrim"]) {
  position: relative;
  z-index: 2;
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"] > p:first-of-type {
  color: #9ed8f7 !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"] > h4 {
  max-width: 22ch;
  color: #fff !important;
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"] > p:nth-of-type(2) {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.79) !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"] > a {
  align-self: flex-start;
  padding: 0.55rem 0.8rem;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.7rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"] > a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.54);
  transform: translateY(-1px);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"]:hover [data-wf-role="industry-feature-image"] {
  transform: scale(1.045);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="industry-feature"].is-switching [data-wf-role="industry-feature-image"] {
  opacity: 0.4;
  transform: scale(1.065);
}

body[data-wf-theme="precision"] #site-header :is(.mobile-menu-panel, [class*="mobile-menu-panel"]) {
  box-shadow: -24px 0 60px rgba(7, 28, 43, 0.18);
}

/* Buttons and form controls */
body[data-wf-theme="precision"] :is(a, button).bg-brand {
  color: #fff;
  background: linear-gradient(135deg, #197ab7 0%, #125f94 100%);
  border-color: transparent;
}

body[data-wf-theme="precision"] :is(a, button).bg-brand:is([class*="h-10"], [class*="h-11"], [class*="h-12"]) {
  box-shadow: 0 8px 22px rgba(23, 111, 168, 0.2);
}

body[data-wf-theme="precision"] :is(a, button).bg-brand:hover {
  background: linear-gradient(135deg, #125f94 0%, #0d4e7a 100%);
  box-shadow: var(--wf-shadow-blue);
  transform: translateY(-1px);
}

body[data-wf-theme="precision"] :is(a, button)[class*="border-line"]:hover {
  border-color: rgba(23, 111, 168, 0.58);
}

body[data-wf-theme="precision"] :is(input, select, textarea) {
  border-color: var(--wf-line-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 1px rgba(7, 28, 43, 0.025);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body[data-wf-theme="precision"] :is(input, select, textarea):focus {
  border-color: var(--wf-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 111, 168, 0.1);
}

/* Section rhythm and shared cards */
body[data-wf-theme="precision"] section[class*="bg-surface"] {
  background:
    radial-gradient(circle at 88% 0%, rgba(79, 157, 205, 0.08), transparent 30rem),
    var(--wf-surface);
}

body[data-wf-theme="precision"] :is(a, article, figure, div)[class*="shadow-card"] {
  border-color: var(--wf-line);
  box-shadow: var(--wf-shadow-sm);
}

/*
 * The editorial and solution templates originally used a fluid tablet
 * container while the product templates used Tailwind's sm/md max widths.
 * The offline build has one shared Tailwind file, so preserve that intentional
 * difference here after the framework layer has loaded.
 */
@media (min-width: 640px) and (max-width: 1023.98px) {
  body[data-wf-theme="precision"]:is(
    [data-wf-page="faq"],
    [data-wf-page="knowledge"],
    [data-wf-page="news"],
    [data-wf-page="newsletter"],
    [data-wf-page="solution-bevel-localization"],
    [data-wf-page="solution-joint-drives"],
    [data-wf-page="solution-laser-gantry"],
    [data-wf-page="solution-machine-tools"],
    [data-wf-page="solution-packaging"],
    [data-wf-page="solution-surgical-robots"],
    [data-wf-page="solutions"],
    [data-wf-page="support"],
    [data-wf-page="videos"],
    [data-wf-page="whitepapers"]
  ) .container {
    max-width: none;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

body[data-wf-theme="precision"] a[class*="hover:shadow-hover"] {
  position: relative;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 220ms ease,
              box-shadow 220ms ease,
              background-color 220ms ease;
}

body[data-wf-theme="precision"] a[class*="hover:shadow-hover"]:hover {
  z-index: 3;
  border-color: rgba(23, 111, 168, 0.38);
  box-shadow: var(--wf-shadow-md);
  transform: translateY(-4px);
}

body[data-wf-theme="precision"] section > .container > header > p.display[class*="text-4xl"],
body[data-wf-theme="precision"] section > .container > div > p.display[class*="text-4xl"] {
  color: var(--wf-blue) !important;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* Inner-page title areas */
body[data-wf-theme="precision"] nav[aria-label="Breadcrumb"] {
  background: rgba(241, 246, 249, 0.92);
  border-color: var(--wf-line);
}

body[data-wf-theme="precision"] nav[aria-label="Breadcrumb"] ol {
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

body[data-wf-theme="precision"] nav[aria-label="Breadcrumb"] ol::-webkit-scrollbar {
  display: none;
}

body[data-wf-theme="precision"] > section:first-of-type:not(.hero-technical),
body[data-wf-theme="precision"] main > section:first-child {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(79, 157, 205, 0.17), transparent 23rem),
    linear-gradient(135deg, #f9fcfd 0%, #eff6f9 55%, #f8fbfc 100%);
}

body[data-wf-theme="precision"] > section:first-of-type:not(.hero-technical)::before,
body[data-wf-theme="precision"] main > section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(23, 111, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 111, 168, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 70%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 70%, transparent 100%);
}

body[data-wf-theme="precision"] > section:first-of-type:not(.hero-technical) > .container,
body[data-wf-theme="precision"] main > section:first-child > .container {
  position: relative;
  z-index: 1;
}

body[data-wf-theme="precision"] > section:first-of-type:not(.hero-technical) h1,
body[data-wf-theme="precision"] main > section:first-child h1 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* Searchable product specification pages */
body[data-wf-theme="precision"] [data-wf-role="product-spec-intro"] figure {
  border-color: rgba(10, 35, 52, 0.12);
  border-radius: 1.2rem;
  box-shadow: 0 18px 48px rgba(7, 28, 43, 0.09);
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] {
  position: relative;
  background:
    radial-gradient(circle at 88% 5%, rgba(68, 156, 207, 0.11), transparent 25rem),
    linear-gradient(180deg, #f4f8fa 0%, #eef4f7 100%) !important;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] > .container > header > p:first-child {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  background: rgba(23, 111, 168, 0.09);
  border-radius: 999px;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] h2 {
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] .shadow-card {
  border-color: rgba(10, 35, 52, 0.13) !important;
  border-radius: 1rem;
  box-shadow: 0 12px 34px rgba(7, 28, 43, 0.08);
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] :is(input, select) {
  min-height: 2.4rem;
  border-radius: 0.65rem;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] input[type="search"] {
  min-width: min(17rem, 100%);
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] button {
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] button:hover {
  transform: translateY(-1px);
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] [class*="overflow-auto"] {
  scrollbar-color: rgba(23, 111, 168, 0.42) transparent;
  scrollbar-width: thin;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] table {
  font-variant-numeric: tabular-nums;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--wf-ink) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] tbody tr {
  transition: background-color 120ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] tbody tr:hover {
  background: #e7f3f9 !important;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] tbody td {
  border-color: rgba(10, 35, 52, 0.11) !important;
}

body[data-wf-theme="precision"] [data-wf-role="spec-selector"] tbody td:first-child {
  color: var(--wf-ink);
  font-weight: 700;
}

@media (max-width: 639px) {
  body[data-wf-theme="precision"] [data-wf-role="spec-selector"] {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="spec-selector"] input[type="search"] {
    width: 100%;
  }
}

/* Industry detail pages */
body[data-wf-theme="precision"][data-wf-page^="industry-"] nav[aria-label="Breadcrumb"] {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(10, 35, 52, 0.04);
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero"] {
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 16%, rgba(62, 153, 207, 0.19), transparent 28rem),
    linear-gradient(135deg, #fafdfe 0%, #eff6f9 54%, #f7fafb 100%) !important;
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero"]::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(23, 111, 168, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 111, 168, 0.075) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, black 0%, rgba(0, 0, 0, 0.4) 56%, transparent 100%);
  mask-image: linear-gradient(90deg, black 0%, rgba(0, 0, 0, 0.4) 56%, transparent 100%);
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero"] > .container {
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: clamp(4.5rem, 7vw, 7rem);
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-copy"] > p:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  color: var(--wf-blue);
  background: rgba(23, 111, 168, 0.09);
  border: 1px solid rgba(23, 111, 168, 0.17);
  border-radius: 999px;
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero"] h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5.2vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-copy"] > p:nth-of-type(2) {
  max-width: 39rem;
  color: #173a50;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-copy"] > p:nth-of-type(3) {
  max-width: 42rem;
  color: #587080;
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-copy"] > .flex {
  margin-top: 2.2rem;
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-photo"] {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 40rem;
  min-height: 28rem;
  padding: 0;
  aspect-ratio: 5 / 4;
  color: #fff;
  background: #cddce4;
  border-color: rgba(10, 35, 52, 0.16);
  border-radius: 1.4rem;
  box-shadow: 0 28px 70px rgba(7, 28, 43, 0.2), 0 4px 14px rgba(7, 28, 43, 0.08);
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-photo"]::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(4, 20, 32, 0.5) 100%),
    linear-gradient(90deg, rgba(4, 20, 32, 0.11), transparent 48%);
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-image"] {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-photo"]:hover [data-wf-role="industry-hero-image"] {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.05);
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-photo"] > div:last-child {
  position: absolute;
  z-index: 2;
  left: 1.35rem;
  bottom: 1.35rem;
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  padding: 1rem;
  color: #fff;
  background: rgba(5, 31, 48, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 1rem;
  box-shadow: 0 14px 28px rgba(4, 20, 32, 0.22);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

body[data-wf-theme="precision"] [data-wf-role="industry-hero-photo"] > div:last-child svg {
  width: 100%;
  height: 100%;
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"] {
  position: relative;
  z-index: 3;
  overflow: visible;
  margin-top: -2.75rem;
  background: transparent !important;
  border: 0;
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"]::after {
  content: none;
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"] > .container {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 3.75rem;
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"] ul {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(84, 180, 230, 0.27), transparent 24rem),
    linear-gradient(110deg, #092a3e 0%, #0c4769 58%, #176f9f 100%);
  box-shadow: 0 22px 55px rgba(7, 28, 43, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"] li {
  min-width: 0;
  padding: 1.15rem 1.3rem;
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"] li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"] li > p:first-child {
  color: #86cdef !important;
}

body[data-wf-theme="precision"] [data-wf-role="industry-specs"] li > p:last-child {
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  font-weight: 600 !important;
}

body[data-wf-theme="precision"] [data-wf-role="industry-section"] {
  position: relative;
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: clamp(4.5rem, 7vw, 7rem);
}

body[data-wf-theme="precision"] [data-wf-role="industry-section"] > .container > header {
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

body[data-wf-theme="precision"] [data-wf-role="industry-section"] > .container > header > p:first-child {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.32rem 0.65rem;
  color: var(--wf-blue);
  background: var(--wf-blue-soft);
  border-radius: 999px;
}

body[data-wf-theme="precision"] [data-wf-role="industry-section"] h2 {
  max-width: 19ch;
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

body[data-wf-theme="precision"] [data-wf-role="industry-section"] :is(a, article, div).border.rounded-lg {
  border-color: rgba(10, 35, 52, 0.13);
  border-radius: 1rem;
  box-shadow: var(--wf-shadow-sm);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="industry-section"] a.border.rounded-lg:hover,
body[data-wf-theme="precision"] [data-wf-role="industry-section"] div.border.rounded-lg.transition-all:hover {
  border-color: rgba(23, 111, 168, 0.36);
  box-shadow: var(--wf-shadow-md);
  transform: translateY(-4px);
}

body[data-wf-theme="precision"] [data-wf-role="industry-section"] [class*="h-9"][class*="w-9"] {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.55rem;
  color: var(--wf-blue);
  background: var(--wf-blue-soft);
  border-radius: 0.8rem;
}

body[data-wf-theme="precision"] [data-wf-section="components"] > .container > .grid > div {
  min-height: 9.5rem;
  padding: 1.4rem;
  background: linear-gradient(145deg, #fff, #f8fbfc);
}

body[data-wf-theme="precision"] [data-wf-section="components"] > .container > .mt-12 {
  max-width: 62rem;
  padding: 1.6rem 1.8rem;
  background: #f5f9fb;
  border-left: 4px solid var(--wf-blue);
  border-radius: 0 1rem 1rem 0;
}

body[data-wf-theme="precision"] [data-wf-section="products"] > .container > .grid > a {
  min-height: 14.5rem;
  padding: 1.7rem;
}

body[data-wf-theme="precision"] [data-wf-section="requirements"] > .container > .grid > div {
  padding: 1.5rem;
  background: linear-gradient(145deg, #fff 0%, #f6fafc 100%);
}

body[data-wf-theme="precision"] [data-wf-section="customers"] > .container > .flex > div {
  padding: 0.85rem 1.05rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wf-line);
  border-radius: 0.8rem;
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-section="customers"] > .container > .flex {
  width: fit-content;
  max-width: 100%;
  padding: 1rem;
  background: rgba(232, 241, 246, 0.72);
  border: 1px solid rgba(10, 35, 52, 0.08);
  border-radius: 1.1rem;
}

body[data-wf-theme="precision"] [data-wf-section="cases"] article {
  min-height: 12rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(90, 188, 237, 0.21), transparent 13rem),
    linear-gradient(145deg, #0a2d43, #0d4f72);
  border-color: rgba(9, 49, 72, 0.25) !important;
  box-shadow: 0 18px 42px rgba(7, 28, 43, 0.14);
}

body[data-wf-theme="precision"] [data-wf-section="cases"] article > p:first-child {
  color: #8bd5f7;
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
}

body[data-wf-theme="precision"] [data-wf-section="cases"] article h3 {
  color: #fff;
}

body[data-wf-theme="precision"] [data-wf-section="cases"] article > p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

body[data-wf-theme="precision"] [data-wf-section="faq"] > .container > .grid > div {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wf-line);
  border-radius: 1rem;
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-section="faq"] > .container > .grid > div > p {
  margin-left: 2rem;
}

body[data-wf-theme="precision"] [data-wf-section="related"] > .container > .grid > a {
  overflow: hidden;
  min-height: 20rem;
  padding: 1.5rem;
}

body[data-wf-theme="precision"] [data-wf-section="related"] > .container > .grid > a::before {
  content: "";
  display: block;
  height: 9.5rem;
  margin: -1.5rem -1.5rem 1.35rem;
  background-color: #dbe7ed;
  background-position: center;
  background-size: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), filter 250ms ease;
}

body[data-wf-theme="precision"] [data-wf-section="related"] > .container > .grid > a:hover::before {
  filter: saturate(1.06);
  transform: scale(1.025);
}

body[data-wf-theme="precision"] [data-wf-section="related"] > .container > .grid > a > div:first-child {
  position: relative;
  z-index: 1;
  margin-top: -3.45rem;
  margin-bottom: 1rem;
  color: var(--wf-blue);
  background: #fff;
  border: 1px solid rgba(10, 35, 52, 0.1);
  box-shadow: 0 9px 22px rgba(7, 28, 43, 0.14);
}

body[data-wf-theme="precision"] [data-wf-section="related"] a[href*="industry-medical.html"]::before {
  background-image: url("img/industries/medical-equipment.jpg");
}

body[data-wf-theme="precision"] [data-wf-section="related"] a[href*="industry-laser.html"]::before {
  background-image: url("img/industries/laser-equipment.jpg");
  background-position: center 55%;
}

body[data-wf-theme="precision"] [data-wf-section="related"] a[href*="industry-machine-tools.html"]::before {
  background-image: url("img/capabilities/equipment/workshop-environment.jpg");
  background-position: center 54%;
}

body[data-wf-theme="precision"] [data-wf-section="related"] a[href*="industry-robotics.html"]::before {
  background-image: url("img/industries/robotics.jpg");
}

body[data-wf-theme="precision"] [data-wf-section="related"] a[href*="industry-automation.html"]::before {
  background-image: url("img/industries/industrial-automation.jpg");
  background-position: center 52%;
}

body[data-wf-theme="precision"] [data-wf-section="related"] a[href*="industry-semiconductor.html"]::before {
  background-image: url("img/industries/semiconductor-equipment.jpg");
}

body[data-wf-theme="precision"] [data-wf-role="industry-cta"] {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(110, 195, 237, 0.28), transparent 24rem),
    linear-gradient(115deg, #0a3651 0%, #126b9f 64%, #1885b8 100%) !important;
}

body[data-wf-theme="precision"] [data-wf-role="industry-cta"]::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: -8rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.035), 0 0 0 8rem rgba(255, 255, 255, 0.025);
}

body[data-wf-theme="precision"] [data-wf-role="industry-cta"] > .container {
  position: relative;
  z-index: 1;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

body[data-wf-theme="precision"] [data-wf-role="industry-cta"] h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1.08;
}

@media (min-width: 1024px) {
  body[data-wf-theme="precision"] [data-wf-role="industry-hero-copy"],
  body[data-wf-theme="precision"] [data-wf-role="industry-hero-media"] {
    grid-column: span 6 / span 6;
  }
}

@media (min-width: 768px) {
  body[data-wf-theme="precision"] [data-wf-section="cases"] > .container > .grid {
    max-width: 64rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"] [data-wf-role="industry-hero"] > .container {
    padding-top: 3.6rem;
    padding-bottom: 4rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-hero"] h1 {
    font-size: clamp(2.75rem, 15vw, 4.1rem);
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-hero-photo"] {
    min-height: 18rem;
    aspect-ratio: 4 / 3;
    border-radius: 1.1rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-hero-photo"] > div:last-child {
    left: 1rem;
    bottom: 1rem;
    width: 3.9rem;
    height: 3.9rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-specs"] li:nth-child(odd) {
    border-left: 0;
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-specs"] li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-specs"] {
    margin-top: -1.5rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-specs"] > .container {
    padding-bottom: 2.75rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="industry-section"] {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  body[data-wf-theme="precision"] [data-wf-section="related"] > .container > .grid > a {
    min-height: 0;
  }
}

@media (max-width: 479px) {
  body[data-wf-theme="precision"] [data-wf-role="industry-hero-copy"] > .flex > a,
  body[data-wf-theme="precision"] [data-wf-role="industry-cta"] .flex.flex-wrap > a {
    width: 100%;
    justify-content: center;
  }
}

/* Homepage hero */
body[data-wf-theme="precision"] .hero-technical {
  min-height: min(900px, calc(100vh - 7.1rem));
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0.3) 31rem, transparent 48rem),
    radial-gradient(circle at 50% 100%, rgba(51, 142, 194, 0.13), transparent 35rem),
    linear-gradient(180deg, #f9fcfd 0%, #edf5f8 58%, #e7f0f4 100%);
}

body[data-wf-theme="precision"] .hero-technical::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(23, 111, 168, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 111, 168, 0.075) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

body[data-wf-theme="precision"] .hero-technical > [aria-hidden="true"] {
  opacity: 0.72;
  filter: saturate(0.9) drop-shadow(0 20px 34px rgba(7, 28, 43, 0.08));
}

body[data-wf-theme="precision"] .hero-technical .hero-fade {
  animation-duration: 0.78s;
}

body[data-wf-theme="precision"] .hero-technical .hero-fade-1 { animation-delay: 0.05s; }
body[data-wf-theme="precision"] .hero-technical .hero-fade-2 { animation-delay: 0.14s; }
body[data-wf-theme="precision"] .hero-technical .hero-fade-3 { animation-delay: 0.24s; }
body[data-wf-theme="precision"] .hero-technical .hero-fade-4 { animation-delay: 0.34s; }
body[data-wf-theme="precision"] .hero-technical .hero-fade-5 { animation-delay: 0.44s; }

body[data-wf-theme="precision"] .hero-technical > .container {
  padding-top: clamp(5.5rem, 10vh, 8.5rem);
  padding-bottom: clamp(6rem, 11vh, 9rem);
}

body[data-wf-theme="precision"] .hero-technical .max-w-2xl {
  max-width: 56rem;
}

body[data-wf-theme="precision"] .hero-technical h1 {
  max-width: 13ch;
  color: var(--wf-ink) !important;
  font-size: clamp(3rem, 6vw, 5.45rem);
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-wf-theme="precision"] .hero-technical h1 span {
  color: var(--wf-blue) !important;
}

body[data-wf-theme="precision"] .hero-technical h1 + p {
  max-width: 44rem;
  color: #506979 !important;
}

body[data-wf-theme="precision"] .hero-technical .rfq-trigger {
  min-width: 12rem;
  justify-content: center;
  box-shadow: var(--wf-shadow-blue);
}

body[data-wf-theme="precision"] .hero-technical dl {
  overflow: hidden;
  border: 1px solid rgba(10, 35, 52, 0.11);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(7, 28, 43, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body[data-wf-theme="precision"] .hero-technical dl > div {
  border-color: rgba(10, 35, 52, 0.1);
}

body[data-wf-theme="precision"] .hero-technical + section {
  background: #fff;
  box-shadow: 0 -10px 35px rgba(7, 28, 43, 0.045);
}

body[data-wf-theme="precision"] .hero-technical + section + section {
  background: linear-gradient(180deg, #fff 0%, #f6f9fa 100%);
}

body[data-wf-theme="precision"] .hero-technical + section + section dl > div {
  padding: 1.35rem;
  border: 1px solid var(--wf-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--wf-shadow-sm);
}

/* Homepage feature areas */
body[data-wf-theme="precision"][data-wf-page="index"] section > .container > header h2[class*="mt-10"] {
  margin-top: 1.5rem;
}

body[data-wf-theme="precision"] #factory img {
  border-radius: 1.15rem;
}

body[data-wf-theme="precision"] #factory .lg\:col-span-6.relative > .absolute {
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #e8eef2, #f4f7f9) !important;
}

body[data-wf-theme="precision"] #factory img[src*="foshan-base"] {
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 55px rgba(7, 28, 43, 0.16) !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-collage"] {
  min-height: clamp(40rem, 76vw, 52rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-collage-backdrop"] {
  z-index: 0;
  inset: 3rem 2.5rem 1.5rem -4rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #e8eef2, #f4f7f9) !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-entrance-photo"],
body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-campus-photo"] {
  position: absolute;
  display: block;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.96);
}

body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-entrance-photo"] {
  z-index: 2;
  top: 0;
  left: 0;
  width: 80%;
  aspect-ratio: 1508 / 1043;
  box-shadow: 0 18px 42px rgba(7, 28, 43, 0.14);
}

body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-campus-photo"] {
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 82%;
  aspect-ratio: 1600 / 958;
  box-shadow: 0 24px 55px rgba(7, 28, 43, 0.16) !important;
}

body[data-wf-theme="precision"] #drawing-to-delivery {
  background:
    radial-gradient(circle at 90% 10%, rgba(79, 157, 205, 0.1), transparent 25rem),
    var(--wf-surface);
}

body[data-wf-theme="precision"] #drawing-to-delivery .flex-1.bg-white {
  border-color: rgba(23, 111, 168, 0.25) !important;
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] #what-we-customize {
  background: #fff;
}

body[data-wf-theme="precision"] #what-we-customize .grid > a {
  min-height: 17.5rem;
  overflow: hidden;
  padding: 1.65rem;
}

body[data-wf-theme="precision"] #what-we-customize .grid > a::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(23, 111, 168, 0.055);
  transition: transform 300ms ease, background 300ms ease;
}

body[data-wf-theme="precision"] #what-we-customize .grid > a:hover::after {
  transform: scale(1.15);
  background: rgba(23, 111, 168, 0.09);
}

body[data-wf-theme="precision"] #what-we-customize .grid > a > :is(img, svg) {
  box-sizing: content-box;
  width: 5rem;
  height: 5rem;
  padding: 0.8rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #f1f7fa, #e7f1f6);
  object-fit: contain;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-wf-theme="precision"] #what-we-customize .grid > a:hover > :is(img, svg) {
  transform: scale(1.08) rotate(-2deg);
}

body[data-wf-theme="precision"] #solutions {
  background: linear-gradient(180deg, #fff 0%, #f7fafb 100%);
}

body[data-wf-theme="precision"] #solutions > .container > .grid {
  gap: 1.25rem;
}

body[data-wf-theme="precision"] #solutions > .container > .grid > a {
  margin: 0 !important;
}

body[data-wf-theme="precision"] #customers .customer-cell {
  background: rgba(255, 255, 255, 0.62);
  transition: background 180ms ease, transform 180ms ease;
}

body[data-wf-theme="precision"] #customers .customer-cell:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-2px);
}

body[data-wf-theme="precision"] #testimonials figure {
  margin: 0 !important;
  z-index: auto !important;
  height: 100%;
  border-top: 3px solid rgba(23, 111, 168, 0.72);
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 157, 205, 0.08), transparent 15rem),
    #fff;
  box-shadow: var(--wf-shadow-sm) !important;
}

body[data-wf-theme="precision"] #testimonials {
  background: var(--wf-surface) !important;
}

body[data-wf-theme="precision"] #testimonials > .container > .grid {
  gap: 1.25rem;
}

body[data-wf-theme="precision"] #honors > .container > div,
body[data-wf-theme="precision"] #resources .grid > a {
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] #resources {
  background: #fff !important;
}

/* Data tables and technical content */
body[data-wf-theme="precision"] table {
  font-variant-numeric: tabular-nums;
}

body[data-wf-theme="precision"] table thead tr {
  background: linear-gradient(135deg, var(--wf-ink), var(--wf-ink-2)) !important;
}

body[data-wf-theme="precision"] table tbody tr {
  transition: background-color 140ms ease;
}

body[data-wf-theme="precision"] table tbody tr:nth-child(even) {
  background: #f5f8fa;
}

body[data-wf-theme="precision"] table tbody tr:hover {
  background: #eaf4f9 !important;
}

/* CTA, footer and overlays */
body[data-wf-theme="precision"] #rfq,
body[data-wf-theme="precision"] section.bg-ink.text-white {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(91, 172, 219, 0.28), transparent 28rem),
    linear-gradient(135deg, #0b2d42 0%, #0d4263 55%, #125c84 100%);
}

body[data-wf-theme="precision"] #rfq::before,
body[data-wf-theme="precision"] section.bg-ink.text-white::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(115deg, transparent 0 64%, rgba(255, 255, 255, 0.18) 64% 64.15%, transparent 64.15%);
}

body[data-wf-theme="precision"] #rfq > .container,
body[data-wf-theme="precision"] section.bg-ink.text-white > .container {
  position: relative;
  z-index: 1;
}

body[data-wf-theme="precision"] #rfq a,
body[data-wf-theme="precision"] section.bg-ink.text-white > .container a[class*="h-12"] {
  min-height: 3rem;
  height: auto;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  line-height: 1.25;
  text-align: center;
}

body[data-wf-theme="precision"] footer {
  position: relative;
  background:
    radial-gradient(circle at 18% 0%, rgba(30, 115, 169, 0.2), transparent 28rem),
    #071c2b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-wf-theme="precision"] footer > div:first-child {
  background: rgba(255, 255, 255, 0.018) !important;
}

body[data-wf-theme="precision"] footer h3 {
  letter-spacing: 0.09em;
}

body[data-wf-theme="precision"] footer .text-brand {
  color: #8ec7e8;
}

body[data-wf-theme="precision"] footer dl.mt-7 {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

body[data-wf-theme="precision"] footer a {
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 0.25em;
  transition: color 160ms ease;
}

body[data-wf-theme="precision"] footer a:hover {
  color: #8ec7e8;
}

body[data-wf-theme="precision"] footer + div {
  background: #04131d !important;
}

body[data-wf-theme="precision"] :is(.rfq-modal, .wf-rm__card) {
  border: 1px solid rgba(10, 35, 52, 0.14);
  border-radius: 1.4rem;
  box-shadow: 0 35px 90px rgba(3, 18, 28, 0.28);
}

body[data-wf-theme="precision"] .rfq-modal__eyebrow {
  color: #8ec7e8;
}

/* Responsive polish */
@media (max-width: 1023px) {
  html { scroll-padding-top: 4.75rem; }

  body[data-wf-theme="precision"] #site-header > .container {
    height: 4.25rem;
  }

  body[data-wf-theme="precision"] .hero-technical {
    min-height: auto;
  }

  body[data-wf-theme="precision"] .hero-technical > .container {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  body[data-wf-theme="precision"] .hero-technical > [aria-hidden="true"]:first-of-type {
    display: none !important;
  }

  body[data-wf-theme="precision"] .hero-technical > [aria-hidden="true"]:nth-of-type(2) {
    display: block !important;
    width: 42%;
    opacity: 0.84;
  }

  body[data-wf-theme="precision"] .hero-technical > .container > .max-w-2xl {
    max-width: 59%;
    margin-right: auto;
    margin-left: 0;
    text-align: left;
  }

  body[data-wf-theme="precision"] .hero-technical > .container > .max-w-2xl > :is(h1, p, dl) {
    margin-right: 0;
    margin-left: 0;
  }

  body[data-wf-theme="precision"] .hero-technical > .container > .max-w-2xl > .flex {
    justify-content: flex-start;
  }

  body[data-wf-theme="precision"] .hero-technical h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 4.7vw, 4.8rem);
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"] [data-wf-role="utility"] {
    display: none;
  }

  body[data-wf-theme="precision"] #site-header {
    top: 0;
  }

  body[data-wf-theme="precision"] .hero-technical h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  body[data-wf-theme="precision"] .hero-technical dl {
    max-width: 26rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"] .hero-technical dl > div {
    padding: 0.75rem 0.35rem;
    border-top: 0;
  }

  body[data-wf-theme="precision"] .hero-technical dl > div + div {
    border-left: 1px solid rgba(10, 35, 52, 0.1);
  }

  body[data-wf-theme="precision"] .hero-technical dl dt {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  body[data-wf-theme="precision"] .hero-technical dl dd {
    margin-top: 0.35rem;
    font-size: clamp(1.25rem, 7vw, 1.6rem);
    line-height: 1;
  }

  body[data-wf-theme="precision"] .hero-technical .absolute.bottom-8,
  body[data-wf-theme="precision"] .hero-technical .absolute.md\:bottom-10 {
    display: none;
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl > div {
    padding: 1rem;
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl > div:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.75rem);
    justify-self: center;
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl [class*="text-7xl"] {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl [class*="text-4xl"] {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  body[data-wf-theme="precision"] #factory .lg\:col-span-6.relative > .flex {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.75rem;
  }

  body[data-wf-theme="precision"] #factory .lg\:col-span-6.relative > .flex img {
    width: 100%;
    height: 12rem;
    margin-top: 0;
  }

  body[data-wf-theme="precision"] #factory img[src*="foshan-base"] {
    width: 100%;
    margin-top: 0.75rem;
    margin-left: 0;
    border-width: 4px;
  }

  body[data-wf-theme="precision"] :is(.rfq-modal, .wf-rm__card) {
    border-radius: 1.1rem;
  }
}

@media (max-width: 639px) {
  body[data-wf-theme="precision"] #what-we-customize .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-wf-theme="precision"] #what-we-customize .grid > a {
    min-height: 0;
  }

  body[data-wf-theme="precision"] .hero-technical > .container {
    padding-top: 4.75rem;
    padding-bottom: 5rem;
  }

  body[data-wf-theme="precision"] .hero-technical h1 + p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  body[data-wf-theme="precision"] .hero-technical + section + section dl {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl > div {
    grid-column: span 2;
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl > div:nth-child(4) {
    grid-column: 2 / span 2;
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl > div:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body[data-wf-theme="precision"] footer > .container > .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"] footer > .container > .grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  body[data-wf-theme="precision"] #what-we-customize .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"] #what-we-customize .grid > a:nth-last-child(2) {
    grid-column: 2;
  }
}

@media (min-width: 1280px) {
  body[data-wf-theme="precision"] .hero-technical + section + section dl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"] .hero-technical + section + section dl [class*="text-7xl"] {
    font-size: 3.45rem;
  }

  body[data-wf-theme="precision"] #what-we-customize .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"] #what-we-customize .grid > a {
    min-height: 18.5rem;
  }
}

/* Top-level custom manufacturing entry */
body[data-wf-theme="precision"] #site-header [data-wf-role="primary-nav"] {
  gap: clamp(0.9rem, 1.75vw, 2rem);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="primary-nav"] [data-wf-nav="custom"] {
  position: relative;
  white-space: nowrap;
}

body[data-wf-theme="precision"] #site-header [data-wf-role="primary-nav"] [data-wf-nav="custom"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1.65rem;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--wf-blue);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

body[data-wf-theme="precision"] #site-header [data-wf-role="primary-nav"] [data-wf-nav="custom"]:is(:hover, :focus-visible, [aria-current="page"]) {
  color: var(--wf-blue);
}

body[data-wf-theme="precision"] #site-header [data-wf-role="primary-nav"] [data-wf-nav="custom"]:is(:hover, :focus-visible, [aria-current="page"])::after {
  opacity: 1;
  transform: scaleX(1);
}

body[data-wf-theme="precision"] .mobile-menu-link[data-wf-nav="custom"][aria-current="page"] {
  color: var(--wf-blue);
  background: var(--wf-blue-soft);
  box-shadow: inset 3px 0 0 var(--wf-blue);
}

/* Solutions overview and verified application pages */
body[data-wf-theme="precision"] :is([data-wf-role="solution-hero"], [data-wf-role="solutions-hero"]) {
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 8%, rgba(72, 162, 211, 0.2), transparent 27rem),
    linear-gradient(135deg, #fafdfe 0%, #edf5f8 58%, #f8fbfc 100%) !important;
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero"], [data-wf-role="solutions-hero"]) > .container {
  padding-top: clamp(4.25rem, 6vw, 6.5rem);
  padding-bottom: clamp(4.25rem, 6vw, 6.5rem);
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-copy"], [data-wf-role="solutions-hero-copy"]) > p:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  margin-bottom: 1rem;
  padding: 0.34rem 0.72rem;
  color: var(--wf-blue);
  background: rgba(23, 111, 168, 0.09);
  border: 1px solid rgba(23, 111, 168, 0.16);
  border-radius: 999px;
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero"], [data-wf-role="solutions-hero"]) h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 4.7vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.042em;
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-copy"], [data-wf-role="solutions-hero-copy"]) > p:nth-of-type(2) {
  max-width: 43rem;
  color: #405f71;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(22rem, 32vw, 29rem);
  aspect-ratio: 5 / 4;
  margin: 0;
  background: #cadbe4;
  border: 1px solid rgba(10, 35, 52, 0.15);
  border-radius: 1.45rem;
  box-shadow: 0 28px 70px rgba(7, 28, 43, 0.2), 0 4px 14px rgba(7, 28, 43, 0.07);
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"])::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 42%, rgba(4, 20, 32, 0.68) 100%),
    linear-gradient(90deg, rgba(4, 20, 32, 0.12), transparent 55%);
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.015);
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1), filter 240ms ease;
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]):hover > img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.045);
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) figcaption {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  color: #fff;
  background: rgba(4, 27, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.9rem;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) figcaption span {
  color: #8bd4f6;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) figcaption strong {
  max-width: 18rem;
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: right;
}

body[data-wf-theme="precision"] [data-wf-solution="solution-bevel-localization"] [data-wf-role="solution-hero-media"] > img {
  object-fit: contain;
  padding: 1.2rem;
  background: #f8fafb;
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] {
  position: sticky;
  z-index: 22;
  top: 4.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--wf-line);
  box-shadow: 0 8px 24px rgba(7, 28, 43, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] > .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] > .container > span {
  flex: 0 0 auto;
  color: #6a8190;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] > .container > div {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.6rem 0;
  scrollbar-width: none;
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] > .container > div::-webkit-scrollbar {
  display: none;
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] a {
  flex: 0 0 auto;
  padding: 0.48rem 0.75rem;
  color: #496575;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: #f2f6f8;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] a:is(:hover, :focus-visible) {
  color: var(--wf-blue);
  background: var(--wf-blue-soft);
  border-color: rgba(23, 111, 168, 0.16);
}

body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] a[aria-current="page"] {
  color: #fff;
  background: var(--wf-blue);
  box-shadow: 0 8px 20px rgba(23, 111, 168, 0.2);
}

body[data-wf-theme="precision"] [data-wf-role="solution-discovery"] {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  width: min(100%, 90rem);
  margin: 0 auto;
  background: #fff;
  border-bottom: 1px solid var(--wf-line);
}

body[data-wf-theme="precision"] [data-wf-role="solution-discovery"] > section {
  border-bottom: 0;
}

body[data-wf-theme="precision"] [data-wf-role="solution-discovery"] > [data-wf-section="context"] {
  background:
    radial-gradient(circle at 0% 100%, rgba(85, 171, 217, 0.11), transparent 18rem),
    #fff !important;
  border-right: 1px solid var(--wf-line);
}

body[data-wf-theme="precision"] [data-wf-role="solution-discovery"] > [data-wf-section="challenges"] {
  background: var(--wf-surface) !important;
}

body[data-wf-theme="precision"] [data-wf-role="solution-discovery"] .container {
  width: 100%;
  max-width: none;
  padding: clamp(3.5rem, 5.5vw, 5.5rem) clamp(1.5rem, 4vw, 4.25rem);
}

body[data-wf-theme="precision"] [data-wf-role="solution-detail"] [data-wf-section] > .container > p:first-child,
body[data-wf-theme="precision"] [data-wf-role="solutions-overview"] [data-wf-section] > .container > p:first-child {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.32rem 0.65rem;
  color: var(--wf-blue);
  background: var(--wf-blue-soft);
  border-radius: 999px;
}

body[data-wf-theme="precision"] [data-wf-section="context"] .max-w-3xl {
  max-width: 35rem;
  color: #36576a;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}

body[data-wf-theme="precision"] [data-wf-section="challenges"] h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

body[data-wf-theme="precision"] [data-wf-section="challenges"] .grid {
  counter-reset: solution-challenge;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0.75rem;
  margin-top: 2rem;
}

body[data-wf-theme="precision"] [data-wf-section="challenges"] .grid > div {
  counter-increment: solution-challenge;
  position: relative;
  min-height: 0;
  padding: 1rem 1.15rem 1rem 3.6rem;
  color: #4d6979;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 35, 52, 0.11);
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-section="challenges"] .grid > div::before {
  content: "0" counter(solution-challenge);
  position: absolute;
  top: 1rem;
  left: 1.05rem;
  color: var(--wf-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body[data-wf-theme="precision"] [data-wf-section="system"] {
  background:
    radial-gradient(circle at 88% 12%, rgba(86, 181, 228, 0.2), transparent 24rem),
    linear-gradient(135deg, #092a3e 0%, #0d4564 58%, #155f87 100%) !important;
}

body[data-wf-theme="precision"] [data-wf-section="system"] :is(h2, p:first-child) {
  color: #fff !important;
}

body[data-wf-theme="precision"] [data-wf-section="system"] > .container > div:first-child > p:first-child {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

body[data-wf-theme="precision"] [data-wf-section="system"] ul {
  counter-reset: solution-system;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

body[data-wf-theme="precision"] [data-wf-section="system"] li {
  counter-increment: solution-system;
  position: relative;
  display: block;
  min-height: 7rem;
  padding: 1.15rem 1.1rem 1.1rem 3.5rem;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.95rem;
}

body[data-wf-theme="precision"] [data-wf-section="system"] li::before {
  content: "0" counter(solution-system);
  position: absolute;
  top: 1.15rem;
  left: 1.05rem;
  color: #8bd4f6;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body[data-wf-theme="precision"] [data-wf-section="system"] li > span:first-child {
  display: none;
}

body[data-wf-theme="precision"] [data-wf-section="method"] .grid {
  counter-reset: solution-method;
}

body[data-wf-theme="precision"] [data-wf-section="method"] .grid > div {
  counter-increment: solution-method;
  position: relative;
  min-height: 11rem;
  overflow: hidden;
  padding: 4rem 1.35rem 1.35rem;
  background: linear-gradient(145deg, #f8fbfc, #eef5f8) !important;
  border-color: rgba(10, 35, 52, 0.11);
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-section="method"] .grid > div::before {
  content: "0" counter(solution-method);
  position: absolute;
  top: 1.2rem;
  left: 1.35rem;
  color: var(--wf-blue);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

body[data-wf-theme="precision"] [data-wf-section="method"] .grid > div::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wf-blue), #74bada);
}

body[data-wf-theme="precision"] [data-wf-section="evidence"] {
  background:
    radial-gradient(circle at 92% 0%, rgba(65, 154, 203, 0.1), transparent 22rem),
    var(--wf-surface) !important;
}

body[data-wf-theme="precision"] [data-wf-section="evidence"] li {
  min-height: 5.5rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(10, 35, 52, 0.11);
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-section="evidence"] li > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0;
  color: #fff;
  background: var(--wf-blue);
  border-radius: 50%;
}

body[data-wf-theme="precision"] [data-wf-section="results"] {
  background:
    radial-gradient(circle at 82% 5%, rgba(91, 183, 229, 0.25), transparent 26rem),
    linear-gradient(135deg, #09283a 0%, #0c3e5a 58%, #135f86 100%) !important;
  border-bottom: 0;
}

body[data-wf-theme="precision"] [data-wf-section="results"] :is(h2, p:first-child) {
  color: #fff !important;
}

body[data-wf-theme="precision"] [data-wf-section="results"] > .container > div:first-child > p:first-child {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

body[data-wf-theme="precision"] [data-wf-section="results"] ul {
  display: grid;
  gap: 0.75rem;
}

body[data-wf-theme="precision"] [data-wf-section="results"] li {
  min-height: 4.8rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.9rem;
}

body[data-wf-theme="precision"] [data-wf-section="results"] li > span:first-child {
  margin-top: 0.5rem;
  background: #86d3f5;
}

body[data-wf-theme="precision"] [data-wf-section="proof"] {
  background:
    radial-gradient(circle at 90% 10%, rgba(73, 163, 211, 0.1), transparent 25rem),
    #f5f8fa !important;
}

body[data-wf-theme="precision"] [data-wf-section="proof"] > .container > .grid {
  gap: 0.85rem;
}

body[data-wf-theme="precision"] [data-wf-section="proof"] > .container > .grid > div {
  position: relative;
  overflow: hidden;
  min-height: 8rem;
  padding: 1.35rem;
  background: #fff;
  border-color: rgba(10, 35, 52, 0.11);
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-section="proof"] > .container > .grid > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--wf-blue), #6bb5d9);
}

body[data-wf-theme="precision"] [data-wf-section="proof"] figure {
  max-width: none;
  margin-top: 0;
  border-left-width: 3px;
  border-color: var(--wf-blue);
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-role="solution-trust"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

body[data-wf-theme="precision"] [data-wf-role="solution-trust"] span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.52rem 0.85rem;
  color: #3f6173;
  font-size: 0.78rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: 999px;
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-section="cta"] li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-wf-theme="precision"] [data-wf-section="cta"] li:last-child {
  border-bottom: 0;
}

body[data-wf-theme="precision"] [data-wf-role="solutions-cost"] {
  background: linear-gradient(90deg, #e8f3f8, #f4f8fa) !important;
}

body[data-wf-theme="precision"] [data-wf-role="solutions-cost"] > .container {
  min-height: 5.5rem;
}

body[data-wf-theme="precision"] [data-wf-role="solutions-cost"] .param {
  flex: 0 0 auto;
}

body[data-wf-theme="precision"] [data-wf-role="solutions-cases"] {
  background:
    radial-gradient(circle at 92% 0%, rgba(73, 163, 211, 0.1), transparent 25rem),
    var(--wf-surface) !important;
}

body[data-wf-theme="precision"] [data-wf-role="solution-card"] {
  display: flex !important;
  flex-direction: column;
  min-height: 32rem;
  overflow: hidden;
  padding: 0 !important;
  background: #fff;
  border-color: rgba(10, 35, 52, 0.12);
  border-radius: 1.2rem;
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-role="solution-card-media"] {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  height: 12.5rem;
  background: #d4e0e7;
}

body[data-wf-theme="precision"] [data-wf-role="solution-card-media"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 28, 43, 0.34));
}

body[data-wf-theme="precision"] [data-wf-role="solution-card-media"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="solution-card"][data-wf-solution="solution-bevel-localization"] [data-wf-role="solution-card-media"] img {
  object-fit: contain;
  padding: 0.8rem;
  background: #f7fafb;
}

body[data-wf-theme="precision"] [data-wf-role="solution-card"]:hover [data-wf-role="solution-card-media"] img {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.06);
}

body[data-wf-theme="precision"] [data-wf-role="solution-card-body"] {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.4rem 1.45rem 1.5rem;
}

body[data-wf-theme="precision"] [data-wf-role="solution-card-body"] h3 {
  font-size: 1.28rem;
}

body[data-wf-theme="precision"] [data-wf-role="solution-card-body"] .param {
  margin-top: auto;
  background: #f1f6f8;
}

body[data-wf-theme="precision"] [data-wf-role="solutions-method"] .lg\:col-span-7 > div {
  min-height: 10rem;
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-role="solutions-proof"] > .container > .grid:first-of-type > div {
  position: relative;
  overflow: hidden;
  box-shadow: var(--wf-shadow-sm);
}

/* Homepage operational statistics */
body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] [data-wf-role="stat-grid"] {
  align-items: stretch;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] > [data-wf-stat] {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 13rem;
  overflow: hidden;
  padding: clamp(1rem, 1.5vw, 1.3rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] > [data-wf-stat] > p:first-of-type {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  min-width: 0;
  gap: 0.22rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] > [data-wf-stat] > p:first-of-type > span {
  flex: 0 0 auto;
  min-width: 0;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] [class*="text-7xl"] {
  font-size: clamp(2.55rem, 4vw, 3.3rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] [class*="text-4xl"] {
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-stat="customers"] [class*="text-7xl"] {
  font-size: clamp(2.45rem, 3.55vw, 3.05rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] > [data-wf-stat] > p:last-child {
  max-width: 100%;
  margin-top: 1rem;
  color: #597283;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1.55;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-stat="delivery"] > p:first-of-type > span:last-child,
body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-stat="customers"] > p:first-of-type > span:last-child {
  margin-left: 0.1rem;
}

/* The promoted custom-manufacturing landing page */
body[data-wf-theme="precision"] [data-wf-role="custom-hero"] {
  background:
    radial-gradient(circle at 82% 10%, rgba(74, 163, 211, 0.18), transparent 26rem),
    linear-gradient(135deg, #fafdfe, #eef5f8) !important;
}

body[data-wf-theme="precision"] [data-wf-role="custom-hero-photo"] {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(22rem, 32vw, 28rem);
  padding: 0;
  aspect-ratio: 5 / 4;
  background: #fff;
  border-radius: 1.4rem;
  box-shadow: 0 28px 70px rgba(7, 28, 43, 0.19);
}

body[data-wf-theme="precision"] [data-wf-role="custom-hero-photo"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

body[data-wf-theme="precision"] [data-wf-role="custom-hero-photo"]::after {
  content: none;
}

body[data-wf-theme="precision"] [data-wf-role="custom-hero-photo"] > span {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(4, 28, 43, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.85rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (min-width: 1024px) and (max-width: 1180px) {
  body[data-wf-theme="precision"] #site-header [data-wf-role="primary-nav"] {
    gap: 0.85rem;
    font-size: 0.84rem;
  }

  body[data-wf-theme="precision"] #site-header > .container > .hidden.lg\:flex.items-center.gap-3 button[aria-label="Search"] {
    display: none;
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero"], [data-wf-role="solutions-hero"]) > .container {
    gap: 2.5rem;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero"], [data-wf-role="solutions-hero"]) h1 {
    font-size: clamp(2.55rem, 4.2vw, 3.2rem);
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) {
    min-height: 20rem;
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) figcaption {
    right: 0.9rem;
    bottom: 0.9rem;
    left: 0.9rem;
    padding: 0.8rem 0.9rem;
  }
}

@media (max-width: 1023px) {
  body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] {
    top: 4.25rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="solution-discovery"] {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-wf-theme="precision"] [data-wf-role="solution-discovery"] > [data-wf-section="context"] {
    border-right: 0;
    border-bottom: 1px solid var(--wf-line);
  }

  body[data-wf-theme="precision"] [data-wf-section="system"] ul {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"], [data-wf-role="custom-hero-photo"]) {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero"], [data-wf-role="solutions-hero"]) h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.5rem);
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"], [data-wf-role="custom-hero-photo"]) {
    min-height: 20rem;
    aspect-ratio: 4 / 3;
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-wf-theme="precision"] :is([data-wf-role="solution-hero-media"], [data-wf-role="solutions-hero-media"]) figcaption strong {
    text-align: left;
  }

  body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] > .container > span {
    display: none;
  }

  body[data-wf-theme="precision"] [data-wf-role="solution-local-nav"] > .container > div {
    margin-right: -1.25rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="solution-card"] {
    min-height: 0;
  }

  body[data-wf-theme="precision"] [data-wf-role="solution-card-media"] {
    height: 11rem;
  }
}

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

  body[data-wf-theme="precision"] *,
  body[data-wf-theme="precision"] *::before,
  body[data-wf-theme="precision"] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Product engineering-diagram libraries */
body[data-wf-theme="precision"] [data-wf-role="product-diagram-section"] {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(65, 153, 207, 0.14), transparent 30rem),
    linear-gradient(rgba(23, 111, 168, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 111, 168, 0.035) 1px, transparent 1px),
    #f5f9fb;
  background-size: auto, 3.5rem 3.5rem, 3.5rem 3.5rem, auto;
}

body[data-wf-theme="precision"] [data-wf-role="product-diagram-gallery"][data-wf-gallery-mode="embedded"] {
  margin-top: clamp(3rem, 6vw, 5.25rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--wf-line);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] > div {
  max-width: 52rem;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] p {
  margin-bottom: 0.7rem;
  color: var(--wf-blue);
  font-family: "Saira", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] h2 {
  position: relative;
  margin: 0;
  padding-bottom: 1.05rem;
  font-family: "Saira", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.4rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wf-blue), #56a4d2);
  content: "";
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] h2 + span {
  display: block;
  max-width: 48rem;
  margin-top: 1.15rem;
  color: #587080;
  font-size: clamp(0.93rem, 1.4vw, 1.04rem);
  line-height: 1.8;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--wf-line-strong);
  border-radius: 0.8rem;
  color: var(--wf-ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--wf-shadow-sm);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] > a:hover {
  border-color: rgba(23, 111, 168, 0.62);
  color: var(--wf-blue);
  box-shadow: var(--wf-shadow-md);
  transform: translateY(-2px);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] {
  display: grid;
  grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1.4fr);
  overflow: hidden;
  margin: 0 0 clamp(2.75rem, 5vw, 4.5rem);
  border: 1px solid rgba(10, 35, 52, 0.15);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--wf-shadow-md);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] > figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.4rem);
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(135deg, #082b40, #0d5f8e);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] > figcaption > span {
  margin-bottom: 0.7rem;
  color: #83c7ef;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] > figcaption h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 750;
  line-height: 1.2;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] > figcaption p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.75;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] > a {
  position: relative;
  display: grid;
  min-height: 22rem;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(rgba(23, 111, 168, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 111, 168, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 2.25rem 2.25rem, 2.25rem 2.25rem, auto;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] img {
  display: block;
  width: 100%;
  height: min(23rem, 46vw);
  object-fit: contain;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] > a > strong {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid var(--wf-line);
  border-radius: 999px;
  color: var(--wf-blue);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wf-shadow-sm);
  font-size: 0.72rem;
  font-weight: 800;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-group"] + [data-wf-role="diagram-group"] {
  margin-top: clamp(2.5rem, 4vw, 3.75rem);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-group-header"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--wf-line);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-group-header"] h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 780;
  letter-spacing: -0.015em;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-group-header"] span {
  color: var(--wf-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-grid"] {
  display: grid;
  grid-template-columns: repeat(var(--diagram-columns), minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"] {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--wf-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 5px 18px rgba(7, 28, 43, 0.045);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"]:hover {
  border-color: rgba(23, 111, 168, 0.55);
  box-shadow: 0 16px 34px rgba(7, 28, 43, 0.11);
  transform: translateY(-4px);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"][data-wf-gallery-wide="true"] {
  grid-column: span 2;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"] > a {
  display: grid;
  height: clamp(12.75rem, 17vw, 16.5rem);
  place-items: center;
  padding: clamp(0.8rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid var(--wf-line);
  background:
    radial-gradient(circle at 50% 45%, rgba(23, 111, 168, 0.055), transparent 67%),
    #fff;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"]:hover img {
  transform: scale(1.035);
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"] figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 3.4rem;
  padding: 0.8rem 0.9rem;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"] figcaption strong {
  color: var(--wf-ink);
  font-size: 0.86rem;
  font-weight: 850;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-card"] figcaption span {
  color: var(--wf-blue);
  font-size: 0.67rem;
  font-weight: 780;
  white-space: nowrap;
}

body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-note"] {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--wf-blue);
  color: #587080;
  background: rgba(233, 243, 248, 0.72);
  font-size: 0.8rem;
  line-height: 1.7;
}

@media (max-width: 1199px) {
  body[data-wf-theme="precision"] [data-wf-role="diagram-grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"] [data-wf-role="diagram-gallery-header"] {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] > a {
    min-height: 18rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="diagram-featured"] img {
    height: min(19rem, 78vw);
  }

  body[data-wf-theme="precision"] [data-wf-role="diagram-grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"] [data-wf-role="diagram-card"] > a {
    height: clamp(12rem, 58vw, 15rem);
    padding: 0.72rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="diagram-card"] figcaption {
    align-items: flex-start;
    flex-direction: column;
    min-height: 4.15rem;
    padding: 0.72rem;
  }
}

@media (max-width: 420px) {
  body[data-wf-theme="precision"] [data-wf-role="diagram-card"] > a {
    height: 12rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="diagram-card"] figcaption span {
    font-size: 0.62rem;
  }
}

/* Sitewide editorial refinement · 2026-08
 * A shared reading rhythm for every public page: clearer hierarchy, shorter
 * line lengths, calmer spacing and more consistent cards across languages.
 */
body[data-wf-theme="precision"] {
  font-size: 16px;
}

body[data-wf-theme="precision"] :is(p, li, dd) {
  hanging-punctuation: first last;
}

body[data-wf-theme="precision"] :is(p, li)[class*="text-sm"] {
  font-size: 0.9375rem;
  line-height: 1.72;
}

body[data-wf-theme="precision"] :is(p, li)[class*="text-[16px]"] {
  line-height: 1.78;
}

body[data-wf-theme="precision"] :is(p, li)[class*="text-ink-muted"] {
  color: #506b7d;
}

body[data-wf-theme="precision"] :is(a, button)[class*="h-11"],
body[data-wf-theme="precision"] :is(a, button)[class*="h-12"] {
  min-height: 2.85rem;
  height: auto;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  line-height: 1.25;
}

body[data-wf-theme="precision"] nav[aria-label="Breadcrumb"] .container {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

body[data-wf-theme="precision"] nav[aria-label="Breadcrumb"] ol {
  min-height: 1.75rem;
  align-items: center;
  font-size: 0.8125rem;
}

body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type > .container,
body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child > .container {
  padding-top: clamp(4.25rem, 7vw, 6.5rem);
  padding-bottom: clamp(4.25rem, 7vw, 6.5rem);
}

body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type .grid.lg\:grid-cols-12,
body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child .grid.lg\:grid-cols-12 {
  column-gap: clamp(3rem, 7vw, 7rem);
  row-gap: 2.5rem;
}

body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type h1,
body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 4.8vw, 4.55rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type h1 + p,
body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child h1 + p {
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  line-height: 1.55;
}

body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type h1 + p + p,
body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child h1 + p + p {
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.82;
}

body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type .lg\:col-span-5 :is(img, figure, .aspect-square),
body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child .lg\:col-span-5 :is(img, figure, .aspect-square) {
  border-radius: 1.2rem;
}

body[data-wf-theme="precision"] section > .container > header.max-w-3xl {
  max-width: 56rem;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

body[data-wf-theme="precision"] section > .container > header.max-w-3xl > p:first-child[class*="uppercase"] {
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.17em;
}

body[data-wf-theme="precision"] section > .container > header.max-w-3xl h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

body[data-wf-theme="precision"] section > .container > header.max-w-3xl h2 + p {
  max-width: 48rem;
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

body[data-wf-theme="precision"] section > .container > .max-w-3xl.space-y-6 {
  max-width: 52rem;
}

body[data-wf-theme="precision"] section > .container > .max-w-3xl.space-y-6 > p {
  font-size: 1.02rem;
  line-height: 1.88;
}

body[data-wf-theme="precision"] .grid > :is(a, article, div)[class*="border-line"][class*="rounded"] {
  box-shadow: 0 10px 30px rgba(7, 28, 43, 0.055);
}

body[data-wf-theme="precision"] .grid > :is(a, article, div)[class*="border-line"][class*="rounded"] h3 {
  line-height: 1.3;
}

body[data-wf-theme="precision"] .grid > :is(a, article, div)[class*="border-line"][class*="rounded"] h3 + p {
  margin-top: 0.65rem;
}

body[data-wf-theme="precision"] section[class*="bg-surface"] + section[class*="bg-white"],
body[data-wf-theme="precision"] section[class*="bg-white"] + section[class*="bg-surface"] {
  border-top-color: rgba(10, 35, 52, 0.06);
}

body[data-wf-theme="precision"] table :is(th, td) {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  line-height: 1.42;
}

body[data-wf-theme="precision"] figcaption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #69808f;
}

body[data-wf-theme="precision"] footer p,
body[data-wf-theme="precision"] footer li,
body[data-wf-theme="precision"] footer dd {
  line-height: 1.65;
}

/* The factory collage reads from upper-left to lower-right without sacrificing
 * either photograph on narrow screens. */
body[data-wf-theme="precision"][data-wf-page="index"] #factory .lg\:col-span-6.relative > .flex img {
  height: auto;
  aspect-ratio: 1508 / 1043;
}

@media (max-width: 1023px) {
  body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type h1,
  body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child h1 {
    font-size: clamp(2.45rem, 7.8vw, 3.75rem);
  }

  body[data-wf-theme="precision"] section > .container > header.max-w-3xl h2 {
    font-size: clamp(1.9rem, 5.2vw, 2.8rem);
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type > .container,
  body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child > .container {
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
  }

  body[data-wf-theme="precision"]:not([data-wf-page="index"]) > section:first-of-type h1,
  body[data-wf-theme="precision"]:not([data-wf-page="index"]) main > section:first-child h1 {
    max-width: 12ch;
    font-size: clamp(2.25rem, 11.5vw, 3.25rem);
  }

  body[data-wf-theme="precision"] section > .container > header.max-w-3xl {
    margin-bottom: 2.25rem;
  }

  body[data-wf-theme="precision"] section > .container > header.max-w-3xl h2 {
    max-width: 16ch;
  }

  body[data-wf-theme="precision"] .grid > :is(a, article, div)[class*="border-line"][class*="rounded"] {
    border-radius: 0.95rem;
  }

  body[data-wf-theme="precision"] table :is(th, td) {
    min-width: 5.25rem;
    padding: 0.65rem 0.7rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #factory .lg\:col-span-6.relative > .flex {
    display: block;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #factory .lg\:col-span-6.relative > .flex img,
  body[data-wf-theme="precision"][data-wf-page="index"] #factory img[src*="foshan-base"] {
    width: 86%;
    height: auto;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #factory .lg\:col-span-6.relative > .flex img {
    margin-right: auto;
    margin-left: 0;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #factory img[src*="foshan-base"] {
    margin-top: -1.35rem !important;
    margin-right: 0;
    margin-left: auto;
  }
}

/* Real product photography: gear shafts and plate sprockets */
body[data-wf-theme="precision"] #what-we-customize [data-wf-role="gear-shaft-card-media"] {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 7.25rem;
  overflow: hidden;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(10, 35, 52, 0.11);
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 62% 44%, rgba(90, 169, 213, 0.13), transparent 55%),
    #f4f8fa;
  box-shadow: 0 9px 24px rgba(7, 28, 43, 0.075);
}

body[data-wf-theme="precision"] #what-we-customize [data-wf-role="gear-shaft-card-media"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: contrast(1.06) saturate(0.82);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

body[data-wf-theme="precision"] #what-we-customize .grid > a:hover [data-wf-role="gear-shaft-card-media"] img {
  filter: contrast(1.1) saturate(0.9);
  transform: scale(1.045);
}

body[data-wf-theme="precision"] [data-wf-role="gear-shaft-hero-media"] {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8f0f4;
  box-shadow: 0 24px 58px rgba(7, 28, 43, 0.16);
}

body[data-wf-theme="precision"] [data-wf-role="gear-shaft-hero-media"]::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(238, 247, 251, 0.42), rgba(255, 255, 255, 0.12) 52%, rgba(8, 52, 78, 0.14)),
    radial-gradient(circle at 67% 48%, rgba(255, 255, 255, 0.3), transparent 52%);
  content: "";
  pointer-events: none;
}

body[data-wf-theme="precision"] [data-wf-role="gear-shaft-hero-media"]::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #3d99d2);
  content: "";
}

body[data-wf-theme="precision"] [data-wf-role="gear-shaft-hero-media"] [data-wf-layer="workshop"] {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: brightness(1.18) contrast(0.92) saturate(0.72);
}

body[data-wf-theme="precision"] [data-wf-role="gear-shaft-hero-media"] [data-wf-layer="product"] {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  mix-blend-mode: multiply;
  filter: contrast(1.24) saturate(0.55);
}

body[data-wf-theme="precision"] [data-wf-role="sprocket-hero-media"],
body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-detail-media"] {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf3f6;
  box-shadow: 0 24px 58px rgba(7, 28, 43, 0.15);
}

body[data-wf-theme="precision"] [data-wf-role="sprocket-hero-media"]::after,
body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-detail-media"]::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(4, 39, 59, 0.19));
  content: "";
  pointer-events: none;
}

body[data-wf-theme="precision"] [data-wf-role="sprocket-hero-media"] img,
body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-detail-media"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: contrast(1.04) saturate(0.88);
}

body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-gallery-media"] {
  position: relative;
  background: #eef4f7;
}

body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-gallery-media"]::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  content: "";
  pointer-events: none;
}

body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-gallery-media"] img {
  object-position: center 54%;
  filter: contrast(1.05) saturate(0.9);
}

body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-diagram"] {
  background:
    linear-gradient(rgba(23, 111, 168, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 111, 168, 0.025) 1px, transparent 1px),
    #fff;
  background-size: 2.75rem 2.75rem, 2.75rem 2.75rem, auto;
  box-shadow: var(--wf-shadow-sm);
}

body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-diagram"] img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 34rem;
  object-fit: contain;
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"] #what-we-customize [data-wf-role="gear-shaft-card-media"] {
    height: 9rem;
  }

  body[data-wf-theme="precision"] [data-wf-role="gear-shaft-hero-media"],
  body[data-wf-theme="precision"] [data-wf-role="sprocket-hero-media"],
  body[data-wf-theme="precision"] [data-wf-role="plate-sprocket-detail-media"] {
    border-radius: 1rem;
  }
}

/* Homepage layout refinement · 2026-07
 * Editorial split headings, calmer spacing and multilingual-safe card grids.
 * All rules are scoped to the homepage so product/detail pages stay unchanged.
 */
body[data-wf-theme="precision"][data-wf-page="index"] {
  --wf-home-section-y: clamp(4.75rem, 7.5vw, 7.25rem);
  --wf-home-gutter: clamp(1.15rem, 3vw, 2rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] > section:not(#solutions):not(#customers):not(#testimonials) > .container,
body[data-wf-theme="precision"][data-wf-page="index"] > footer > .container {
  width: min(100% - (var(--wf-home-gutter) * 2), 82rem);
  margin-inline: auto;
}

/* First viewport: a decisive text/image split with a quieter data panel. */
body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical {
  min-height: clamp(47rem, calc(100vh - 7rem), 53rem);
  background:
    radial-gradient(circle at 74% 38%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.18) 28rem, transparent 45rem),
    radial-gradient(circle at 18% 100%, rgba(69, 155, 202, 0.12), transparent 32rem),
    linear-gradient(140deg, #fbfdfe 0%, #eff6f9 54%, #e3eef3 100%);
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical::after {
  opacity: 0.28;
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, black 0%, rgba(0, 0, 0, 0.72) 48%, transparent 88%);
  mask-image: linear-gradient(90deg, black 0%, rgba(0, 0, 0, 0.72) 48%, transparent 88%);
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical > .container {
  padding-top: clamp(5.5rem, 9vh, 7.25rem);
  padding-bottom: clamp(5.5rem, 9vh, 7.25rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 {
  max-width: 11.5ch;
  font-size: clamp(3.25rem, 4.75vw, 4.9rem);
  line-height: 0.96 !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 + p {
  max-width: 39rem;
  font-size: clamp(1.03rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--wf-blue-deep) !important;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > p:first-child::before {
  width: 2.5rem;
  height: 2px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--wf-accent), var(--wf-blue));
  content: "";
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .rfq-trigger,
body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .rfq-trigger + a {
  min-height: 3.25rem;
  padding-inline: 1.55rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl {
  max-width: 44rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(7, 28, 43, 0.07);
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div {
  min-width: 0;
  padding: 1.1rem 1.25rem;
  text-align: left;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl dt {
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl dd {
  font-size: clamp(1.18rem, 1.7vw, 1.65rem);
  line-height: 1.15;
  text-wrap: balance;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-title-mobile"],
body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-subtitle"] {
  display: none;
}

/* Customer strip: keep the label, marks and proof link aligned as one band. */
body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical + section > .container > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, auto) minmax(0, 1fr) minmax(8.5rem, auto);
  align-items: center;
  gap: 1.5rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical + section > .container > div > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(4.5rem, 1fr));
  gap: 0.75rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical + section > .container > div > div > span {
  min-width: 0;
  padding-inline: 0.35rem !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical + section img {
  max-width: 100% !important;
}

/* About statistics: convert the small left label into a clear section rail. */
body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] {
  padding-block: var(--wf-home-section-y) !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] > .container > .grid {
  gap: clamp(2rem, 5vw, 4.75rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3 {
  position: relative;
  padding-right: 1.75rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--wf-blue), transparent);
  content: "";
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] > [data-wf-stat] {
  min-height: 11.5rem;
  padding: clamp(1.15rem, 1.7vw, 1.55rem);
  border-radius: 1.1rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="stat-grid"] > [data-wf-stat]:hover {
  border-color: rgba(23, 111, 168, 0.28);
  box-shadow: 0 18px 38px rgba(7, 28, 43, 0.08);
  transform: translateY(-3px);
}

/* Shared editorial rhythm for the long homepage. */
body[data-wf-theme="precision"][data-wf-page="index"] #factory > .container {
  padding-block: var(--wf-home-section-y) !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] :is(
  #drawing-to-delivery,
  #what-we-customize,
  #honors,
  #resources
) {
  padding-block: var(--wf-home-section-y) !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] :is(
  #what-we-customize,
  #honors,
  #resources
) > .container > header {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto;
  column-gap: clamp(3rem, 7vw, 7.5rem);
  row-gap: 0.8rem;
  align-items: start;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem) !important;
}

body[data-wf-theme="precision"][data-wf-page="index"] :is(
  #what-we-customize,
  #honors,
  #resources
) > .container > header > p:first-child {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: clamp(2.45rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

body[data-wf-theme="precision"][data-wf-page="index"] :is(
  #what-we-customize,
  #honors,
  #resources
) > .container > header > p:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-wf-theme="precision"][data-wf-page="index"] :is(
  #what-we-customize,
  #honors,
  #resources
) > .container > header > h2 {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  padding-left: 1.5rem;
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.14;
}

body[data-wf-theme="precision"][data-wf-page="index"] :is(
  #what-we-customize,
  #honors,
  #resources
) > .container > header > h2::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--wf-blue), #63acd4);
  content: "";
}

body[data-wf-theme="precision"][data-wf-page="index"] :is(
  #what-we-customize,
  #honors,
  #resources
) > .container > header > p:last-child {
  grid-column: 2;
  grid-row: 2;
  max-width: 48rem;
  margin: 0;
  padding-left: 1.5rem;
  font-size: clamp(0.96rem, 1.25vw, 1.06rem);
  line-height: 1.8;
}

/* Process and card systems: more breathing room, fewer narrow columns. */
body[data-wf-theme="precision"][data-wf-page="index"] #drawing-to-delivery .flex-1.bg-white {
  min-width: 0;
  border-radius: 0.9rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] #drawing-to-delivery .relative.mt-16 {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid {
  gap: clamp(1rem, 1.6vw, 1.35rem);
}

body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a {
  min-height: 19rem;
  padding: clamp(1.25rem, 1.65vw, 1.65rem);
  border-radius: 1.15rem;
  box-shadow: 0 8px 22px rgba(7, 28, 43, 0.045);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a:hover {
  box-shadow: 0 22px 46px rgba(7, 28, 43, 0.11);
  transform: translateY(-4px);
}

body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a > :is(img, svg) {
  width: 4.35rem;
  height: 4.35rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a h3 {
  font-size: 1.08rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a > p {
  line-height: 1.65;
}

body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a > ul {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] #resources .grid > a {
  border-radius: 1.15rem;
}

body[data-wf-theme="precision"][data-wf-page="index"] #resources .grid > a {
  position: relative;
  min-height: 10.5rem;
  overflow: hidden;
  padding-top: 3.25rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body[data-wf-theme="precision"][data-wf-page="index"] #resources .grid > a::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--wf-blue), #78bddf);
  content: "";
}

body[data-wf-theme="precision"][data-wf-page="index"] #resources .grid > a:hover {
  transform: translateY(-3px);
}

/* Desktop and tablet grids favour readable copy over maximum card density. */
@media (min-width: 1180px) {
  body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a:nth-last-child(2) {
    grid-column: 2;
  }
}

@media (min-width: 1024px) {
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical > [aria-hidden="true"]:nth-of-type(2) {
    right: -1.5%;
    width: 43%;
    opacity: 0.88;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 24%);
    mask-image: linear-gradient(90deg, transparent 0%, black 24%);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical > .container > .max-w-2xl {
    max-width: 56%;
  }
}

@media (min-width: 768px) and (max-width: 1179px) {
  body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a:nth-last-child(2) {
    grid-column: auto;
  }
}

@media (max-width: 1023px) {
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical {
    min-height: auto;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical + section > .container > div {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical + section > .container > div > div {
    width: 100%;
    grid-template-columns: repeat(3, minmax(5rem, 1fr));
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3 {
    padding-right: 0;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="homepage-stats"] .lg\:col-span-3::after {
    top: auto;
    right: 0;
    bottom: -1.2rem;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--wf-blue), transparent);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] :is(
    #what-we-customize,
    #honors,
    #resources
  ) > .container > header {
    grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
    column-gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"][data-wf-page="index"] {
    --wf-home-section-y: clamp(3.75rem, 14vw, 5rem);
    --wf-home-gutter: 1rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical > .container {
    padding-top: 4.25rem;
    padding-bottom: 4.5rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 {
    max-width: 10.5ch;
    font-size: clamp(2.55rem, 12.8vw, 3.8rem);
    line-height: 0.98 !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > p:first-child {
    font-size: 0.72rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > .flex {
    align-items: stretch;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .rfq-trigger,
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .rfq-trigger + a {
    width: 100%;
    justify-content: center;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > .flex + .hero-fade.flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div {
    padding: 0.9rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(10, 35, 52, 0.1);
    border-left: 0;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl dt {
    font-size: 0.64rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl dd {
    font-size: 1.12rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical + section > .container > div > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-wf-theme="precision"][data-wf-page="index"] :is(
    #what-we-customize,
    #honors,
    #resources
  ) > .container > header {
    display: block;
    margin-bottom: 2.5rem !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] :is(
    #what-we-customize,
    #honors,
    #resources
  ) > .container > header > p:first-child {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] :is(
    #what-we-customize,
    #honors,
    #resources
  ) > .container > header > p:nth-child(2) {
    margin-top: 0.75rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] :is(
    #what-we-customize,
    #honors,
    #resources
  ) > .container > header > h2 {
    margin-top: 1.75rem !important;
    padding-top: 0.9rem;
    padding-left: 0;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] :is(
    #what-we-customize,
    #honors,
    #resources
  ) > .container > header > h2::before {
    inset: 0 auto auto 0;
    width: 3rem;
    height: 3px;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] :is(
    #what-we-customize,
    #honors,
    #resources
  ) > .container > header > p:last-child {
    margin-top: 0.9rem;
    padding-left: 0;
    line-height: 1.7;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #what-we-customize .grid > a {
    min-height: 0;
    padding: 1.25rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #resources .grid > a {
    min-height: 9rem;
  }
}

@media (max-width: 420px) {
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div:last-child {
    grid-column: auto;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div + div {
    border-top: 1px solid rgba(10, 35, 52, 0.1);
    border-left: 0;
  }
}

/* English product templates already contain a localized product name in the
   first text node. Hide the legacy bilingual suffix to prevent repeated H1s. */
html[lang^="en"] h1 > .text-ink-muted[style*="font-weight:500"] {
  display: none;
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-collage"] {
    min-height: clamp(24rem, 102vw, 46rem);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-collage-backdrop"] {
    inset: 2.25rem 0.75rem 0.75rem -1rem;
    border-radius: 1.15rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-entrance-photo"] {
    width: 88%;
    border-width: 4px;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-campus-photo"] {
    right: 0;
    bottom: 0;
    width: 88%;
    margin: 0 !important;
    border-width: 4px;
  }
}

@media (min-width: 1024px) {
  body[data-wf-theme="precision"][data-wf-page="index"] #factory [data-wf-role="factory-collage"] {
    min-height: clamp(30rem, 31vw, 37rem);
  }
}

body[data-wf-theme="precision"] [data-wf-role="story-hero-logo"] {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(22rem, 32vw, 28rem);
  padding: 0;
  aspect-ratio: 5 / 4;
  background: #fff;
  border-radius: 1.4rem;
  box-shadow: 0 28px 70px rgba(7, 28, 43, 0.19);
}

body[data-wf-theme="precision"] [data-wf-role="story-hero-logo"] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1023px) {
  body[data-wf-theme="precision"] [data-wf-role="story-hero-logo"] {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"] [data-wf-role="story-hero-logo"] {
    min-height: 20rem;
    aspect-ratio: 4 / 3;
  }
}

body[data-wf-theme="precision"][data-wf-page="leadership"] [data-wf-role="leadership-hero-portrait"] {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 16 / 9;
  background: #eaf2f6;
  border-radius: 1.4rem;
  box-shadow: 0 28px 70px rgba(7, 28, 43, 0.19);
}

body[data-wf-theme="precision"][data-wf-page="leadership"] [data-wf-role="leadership-hero-portrait"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-wf-theme="precision"][data-wf-page="mission"] [data-wf-role="mission-hero-portrait"] {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 4 / 5;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 24px 58px rgba(7, 28, 43, 0.17);
}

body[data-wf-theme="precision"][data-wf-page="mission"] [data-wf-role="mission-hero-portrait"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-wf-theme="precision"][data-wf-page="locations"] [data-wf-role="locations-hero-factory"] {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 5 / 3;
  background: #fff;
  border-radius: 1.4rem;
  box-shadow: 0 28px 70px rgba(7, 28, 43, 0.19);
}

body[data-wf-theme="precision"][data-wf-page="locations"] [data-wf-role="locations-hero-factory"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-wf-theme="precision"][data-wf-page="heritage"] [data-wf-role="heritage-hero-logo"] {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
  max-width: 26.25rem;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 1.4rem;
  box-shadow: 0 28px 70px rgba(7, 28, 43, 0.16);
}

body[data-wf-theme="precision"][data-wf-page="heritage"] [data-wf-role="heritage-hero-logo"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-role="contact-hero-title"] {
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-role="contact-qr-grid"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}

body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-role="contact-qr-grid"] figure {
  min-width: 0;
}

body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-role="contact-qr-grid"] img {
  display: block;
  width: 100%;
  max-width: 9rem;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(10, 35, 52, 0.12);
  border-radius: 0.8rem;
}

body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-role="contact-qr-grid"] figcaption {
  margin-top: 0.65rem;
  color: #60798b;
  font-size: 0.75rem;
  line-height: 1.4;
}

html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-contact-locale="non-zh"],
html:not([lang^="zh"]) body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-contact-locale="zh"] {
  display: none;
}

@media (max-width: 420px) {
  body[data-wf-theme="precision"][data-wf-page="contact"] [data-wf-role="contact-qr-grid"] {
    gap: 0.75rem;
  }
}

/* Homepage product showcase: full-opacity product cutouts with no fade mask. */
@media (min-width: 1024px) {
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical > [data-wf-role="hero-product-showcase"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.35rem, 0.75vw, 0.8rem);
    top: 1.75rem;
    right: 0.75%;
    bottom: 1.75rem;
    width: 43%;
    padding: 0.25rem;
    opacity: 1 !important;
    filter: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-column"] {
    display: grid;
    grid-template-rows: repeat(5, minmax(0, 1fr));
    gap: clamp(0.25rem, 0.6vw, 0.65rem);
    min-height: 0;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-column"]:first-child {
    padding-top: 2.25rem;
    padding-bottom: 0.25rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-column"]:last-child {
    padding-top: 0.25rem;
    padding-bottom: 2.25rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-tile"] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: transparent;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-tile"] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1 !important;
    filter: none !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-tile"][data-wf-product-fit="zoom"] img {
    transform: scale(1.34);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-tile"][data-wf-product-fit="wide"] img {
    transform: scale(1.08);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-product-tile"][data-wf-product-fit="compact"] img {
    transform: scale(0.82);
  }
}

/* Homepage mobile first viewport: compact hierarchy, a free-form constellation
   of product cutouts around the headline, and a compact proof bar. */
@media (max-width: 1023px) {
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > :is(p, h1) {
    position: relative;
    z-index: 3;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] {
    position: relative;
    display: block;
    isolation: isolate;
    width: min(100%, 34rem);
    height: clamp(13rem, 31vw, 16rem);
    margin: 0.35rem auto 0;
    z-index: 2;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(1) {
    z-index: 4;
    left: -1%;
    top: 2%;
    width: 27%;
    height: 58%;
    transform: rotate(-8deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(2) {
    z-index: 3;
    top: -4%;
    left: 28%;
    width: 36%;
    height: 40%;
    transform: rotate(3deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(3) {
    z-index: 5;
    right: -1%;
    top: 1%;
    width: 28%;
    height: 63%;
    transform: rotate(7deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(4) {
    z-index: 2;
    left: 4%;
    bottom: 1%;
    width: 20%;
    height: 43%;
    transform: rotate(-10deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(5) {
    z-index: 4;
    left: 27%;
    bottom: -2%;
    width: 23%;
    height: 50%;
    transform: rotate(-4deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(6) {
    z-index: 3;
    right: 25%;
    bottom: 2%;
    width: 20%;
    height: 44%;
    transform: rotate(8deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(7) {
    z-index: 2;
    right: 2%;
    bottom: -1%;
    width: 22%;
    height: 46%;
    transform: rotate(5deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    filter: none;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-logo"] {
    position: absolute;
    z-index: 4;
    top: 43%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    max-width: 14rem;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 0;
    transform: translate3d(-50%, -50%, 0);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-logo"] img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    filter: none;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] [data-wf-product-fit="zoom"] img {
    transform: scale(1.2);
    mix-blend-mode: multiply;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex,
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex + .hero-fade.flex,
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl {
    position: relative;
    z-index: 4;
  }
}

@media (max-width: 767px) {
  body[data-wf-theme="precision"][data-wf-page="index"] #site-header > .container {
    height: 4rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #site-header img {
    height: 2rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] #mobile-menu-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical > .container {
    padding-top: 2.35rem;
    padding-bottom: 3rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-eyebrow"],
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-title-desktop"],
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-support-copy"],
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-location-copy"],
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-trust"],
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-metrics"] {
    display: none !important;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-title-mobile"] {
    display: block;
    color: #061d2d !important;
    white-space: nowrap;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-subtitle"] {
    position: relative;
    z-index: 3;
    display: block;
    margin: 0.9rem auto 0;
    color: #0c5f93;
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.012em;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > p:first-child {
    color: #0c5f93;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 {
    width: 100%;
    max-width: none;
    margin-top: 0;
    color: #061d2d;
    font-size: clamp(2.7rem, 13vw, 3.45rem);
    font-weight: 900 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em !important;
    -webkit-text-stroke: 0.012em currentColor;
    text-wrap: balance;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 span {
    color: #0d70ad;
    white-space: nowrap;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 + p {
    margin-top: 1.2rem;
    color: #263d4c;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 + p + p {
    margin-top: 0.4rem;
    color: #526a7b;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] {
    height: 13.5rem;
    margin-top: 1rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(1) {
    left: -0.4rem;
    top: -2.1rem;
    width: 21%;
    height: 5.5rem;
    transform: rotate(-11deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(2) {
    top: -1.8rem;
    left: auto;
    right: -0.55rem;
    width: 24%;
    height: 3.7rem;
    transform: rotate(6deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(3) {
    top: 0.1rem;
    right: -0.35rem;
    width: 25%;
    height: 6.6rem;
    transform: rotate(8deg);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(4) {
    left: 1%;
    top: 0.25rem;
    bottom: auto;
    width: 18%;
    height: 4.9rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(5) {
    left: 19%;
    bottom: -0.15rem;
    width: 22%;
    height: 6.1rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(6) {
    right: 29%;
    bottom: 0.35rem;
    width: 18%;
    height: 5.1rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] figure:nth-child(7) {
    right: 2%;
    bottom: -0.2rem;
    width: 20%;
    height: 5.5rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 0.65rem;
    margin-top: 1.35rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex > a {
    width: auto !important;
    min-width: 0;
    min-height: 2.9rem;
    height: 2.9rem;
    padding-inline: 0.75rem;
    border-radius: 0.85rem;
    color: #0a578a;
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex > .rfq-trigger {
    color: #fff;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex + .hero-fade.flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 0.9rem;
    color: #263f50;
    font-size: 0.72rem;
    font-weight: 750;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex + .hero-fade.flex > span {
    min-width: 0;
    padding: 0.52rem 0.6rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(10, 35, 52, 0.08);
    border-radius: 0.7rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex + .hero-fade.flex > span:last-child {
    grid-column: 1 / -1;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.1rem;
    border-radius: 0.85rem;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div,
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div:last-child {
    grid-column: auto;
    padding: 0.75rem 0.45rem;
    text-align: center;
    border-top: 0;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div + div,
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl > div:last-child {
    border-left: 1px solid rgba(10, 35, 52, 0.1);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl dt {
    color: #425d70;
    font-size: 0.61rem;
    font-weight: 750;
    line-height: 1.25;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical dl dd {
    margin-top: 0.35rem;
    color: #061d2d;
    font-size: 0.98rem;
    font-weight: 900;
    white-space: nowrap;
  }

  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .absolute.bottom-8,
  body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .absolute.md\:bottom-10 {
    display: none !important;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical :is(.display, .font-stat, h1, p, a, span, dt, dd) {
    font-family: "STKaiti", "华文楷体", "KaiTi", "楷体", serif !important;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > p:first-child,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .max-w-2xl > p:first-child span,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 + p,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 + p span,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 + p + p,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical h1 + p + p span,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-subtitle"] {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Noto Sans CJK SC", sans-serif !important;
    font-weight: 900 !important;
    -webkit-text-stroke: 0.015em currentColor;
    text-shadow: 0 0 0.01px currentColor;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-title-mobile"] {
    font-family: "DIN 2014", "DIN Next", "FF DIN", "DIN", "Saira", system-ui, sans-serif !important;
  }
}

@media (max-width: 360px) {
  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-products"] + .flex > a {
    width: 100% !important;
  }
}
/* Homepage WeChat official account — keep the QR prominent but compact. */
[data-wf-role="wechat-official-card"] {
  width: min(100%, 320px);
  padding: 16px !important;
}

[data-wf-role="wechat-official-qr"] {
  display: block;
  width: 250px !important;
  height: 250px !important;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 767px) {
  [data-wf-role="wechat-official-section"] [data-wf-role="wechat-official-card"] {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  [data-wf-role="wechat-official-qr"] {
    width: 220px !important;
    height: 220px !important;
  }
}

/* Homepage mobile progressive disclosure: keep the sales path visible, turn
   repeated card walls into touch-friendly snap rails, and fold long diagrams. */
@media (min-width: 768px) {
  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"] > summary {
    display: none;
  }

  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"]:not([open]) > [data-wf-role="home-mobile-details-body"] {
    display: block !important;
  }
}

@media (max-width: 767px) {
  /* The same customer logos appear again in the dedicated customer section. */
  body[data-wf-page="index"] .hero-technical + section {
    display: none;
  }

  body[data-wf-page="index"] :is(
    #drawing-to-delivery,
    #what-we-customize,
    #solutions,
    #customers,
    #testimonials,
    #honors,
    #resources
  ) {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  body[data-wf-page="index"] :is(
    #what-we-customize,
    #solutions,
    #customers,
    #testimonials,
    #honors,
    #resources
  ) > .container > header,
  body[data-wf-page="index"] #customers > .container > details > [data-wf-role="home-mobile-details-body"] > header {
    margin-bottom: 1.5rem !important;
  }

  body[data-wf-page="index"] :is(
    #what-we-customize,
    #solutions,
    #customers,
    #testimonials,
    #resources
  ) > .container > header::after,
  body[data-wf-page="index"] #customers > .container > details > [data-wf-role="home-mobile-details-body"] > header::after {
    content: "左右滑动查看更多  →";
    display: block;
    margin-top: 1rem;
    color: #1565a8;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  html[lang^="en"] body[data-wf-page="index"] :is(
    #what-we-customize,
    #solutions,
    #customers,
    #testimonials,
    #resources
  ) > .container > header::after,
  html[lang^="en"] body[data-wf-page="index"] #customers > .container > details > [data-wf-role="home-mobile-details-body"] > header::after {
    content: "Swipe for more  →";
  }

  /* Shared one-row card rail. A little of the next card remains visible. */
  body[data-wf-page="index"] :is(
    #what-we-customize,
    #solutions,
    #testimonials,
    #resources
  ) > .container > .grid {
    --wf-home-slide: min(82vw, 20rem);
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: var(--wf-home-slide);
    align-items: stretch;
    gap: 0.85rem !important;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.2rem 0.1rem 0.85rem;
    scroll-padding-inline: 0.1rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-wf-page="index"] :is(
    #what-we-customize,
    #solutions,
    #testimonials,
    #resources
  ) > .container > .grid::-webkit-scrollbar {
    display: none;
  }

  body[data-wf-page="index"] :is(
    #what-we-customize,
    #solutions,
    #testimonials,
    #resources
  ) > .container > .grid > * {
    min-width: 0;
    margin: 0 !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  body[data-wf-page="index"] #solutions > .container > .grid,
  body[data-wf-page="index"] #testimonials > .container > .grid {
    --wf-home-slide: min(86vw, 21rem);
  }

  body[data-wf-page="index"] #resources > .container > .grid {
    --wf-home-slide: min(76vw, 18.5rem);
  }

  /* Operational proof becomes one compact swipe row instead of three rows. */
  body[data-wf-page="index"] [data-wf-role="homepage-stats"] {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  body[data-wf-page="index"] [data-wf-role="stat-grid"] {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: min(68vw, 17rem);
    gap: 0.75rem !important;
    overflow-x: auto;
    padding: 0.1rem 0.1rem 0.75rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-wf-page="index"] [data-wf-role="stat-grid"]::-webkit-scrollbar {
    display: none;
  }

  body[data-wf-page="index"] [data-wf-role="stat-grid"] > div {
    min-height: 9rem;
    padding: 1rem;
    border: 1px solid rgba(10, 35, 52, 0.1);
    border-radius: 0.8rem;
    background: #fff;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Customer wall uses two compact rows and scrolls sideways. */
  body[data-wf-page="index"] #customers [data-wf-role="home-mobile-details-body"] > .grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(2, 4.75rem);
    grid-auto-flow: column;
    grid-auto-columns: 43vw;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.1rem 0.1rem 0.75rem;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-wf-page="index"] #customers [data-wf-role="home-mobile-details-body"] > .grid::-webkit-scrollbar {
    display: none;
  }

  body[data-wf-page="index"] #customers .customer-cell {
    height: auto !important;
    padding: 0.7rem !important;
    border: 1px solid rgba(10, 35, 52, 0.1) !important;
    border-radius: 0.7rem;
    background: #fff;
    scroll-snap-align: start;
  }

  /* Customer proof is compact by default and expands only on demand. */
  body[data-wf-page="index"] #customers {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  body[data-wf-page="index"] #customers details[data-wf-section="homepage-customers"] > summary {
    min-height: 4.25rem;
    padding: 0.8rem 0.95rem;
    border-color: rgba(21, 101, 168, 0.2);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(7, 28, 43, 0.05);
  }

  body[data-wf-page="index"] #customers details[data-wf-section="homepage-customers"] > summary > span {
    min-width: 0;
  }

  body[data-wf-page="index"] #customers details[data-wf-section="homepage-customers"] > summary :is(strong, small) {
    display: block;
  }

  body[data-wf-page="index"] #customers details[data-wf-section="homepage-customers"] > summary strong {
    color: #08263a;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
  }

  body[data-wf-page="index"] #customers details[data-wf-section="homepage-customers"] > summary small {
    margin-top: 0.28rem;
    overflow: hidden;
    color: #567082;
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Native details keeps the long five-step flow and timeline available. */
  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"] > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.2rem;
    padding: 0.8rem 1rem;
    color: #0c5f93;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
    border: 1px solid rgba(21, 101, 168, 0.22);
    border-radius: 0.8rem;
    background: rgba(230, 240, 249, 0.6);
  }

  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"] > summary::-webkit-details-marker {
    display: none;
  }

  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"] > summary svg {
    width: 1rem;
    height: 1rem;
    transition: transform 180ms ease;
  }

  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"][open] > summary svg {
    transform: rotate(90deg);
  }

  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"] > summary:focus-visible {
    outline: 2px solid #1565a8;
    outline-offset: 3px;
  }

  body[data-wf-page="index"] details[data-wf-role="home-mobile-details"] > [data-wf-role="home-mobile-details-body"] {
    margin-top: 1rem !important;
  }

  /* The opened timeline remains compact rather than returning to nine rows. */
  body[data-wf-page="index"] #honors ol {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: min(74vw, 18rem);
    gap: 0.75rem !important;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.75rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-wf-page="index"] #honors ol::-webkit-scrollbar {
    display: none;
  }

  body[data-wf-page="index"] #honors ol > li {
    min-height: 8rem;
    padding: 1rem;
    border: 1px solid rgba(10, 35, 52, 0.09);
    border-radius: 0.7rem;
    background: #fff;
    scroll-snap-align: start;
  }
}

/* Mobile homepage typography: clean, industrial and highly legible. */
@media (max-width: 767px) {
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical,
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical :is(.display, .font-stat, h1, p, a, span, button, dt, dd) {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif !important;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-title-mobile"] {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
    -webkit-text-stroke: 0.004em currentColor;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-subtitle"] {
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] .hero-technical .hero-fade-5 a {
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
  }
}

/* Homepage mobile hero title pair: use the supplied Miaoshan artwork in brand blue. */
@media (max-width: 767px) {
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-title-mobile"] {
    width: 100%;
    max-width: 22rem;
    aspect-ratio: 1692 / 318;
    margin-inline: auto;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    background-color: #0c5f93;
    -webkit-mask: url("img/hero/mobile-title-expert-miaoshan.png") left center / 113.4% auto no-repeat;
    mask: url("img/hero/mobile-title-expert-miaoshan.png") left center / 113.4% auto no-repeat;
    filter: none;
  }

  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-mobile-subtitle"] {
    width: 72%;
    max-width: 17rem;
    aspect-ratio: 1253 / 167;
    margin: 0.55rem auto 0;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    background-color: #0c5f93;
    -webkit-mask: url("img/hero/mobile-subtitle-2006-miaoshan.png") left center / 108.7% auto no-repeat;
    mask: url("img/hero/mobile-subtitle-2006-miaoshan.png") left center / 108.7% auto no-repeat;
  }
}

/* Keep the longer Chinese quality promise together inside the desktop metric card. */
@media (min-width: 768px) {
  html[lang^="zh"] body[data-wf-theme="precision"][data-wf-page="index"] [data-wf-role="hero-metrics"] > div:last-child dd {
    font-size: clamp(1.05rem, 1.2vw, 1.12rem) !important;
    letter-spacing: -0.025em !important;
    white-space: nowrap;
  }
}
