:root {
  --cyan: #009fc2;
  --cyan-deep: #006e87;
  --cyan-pale: #e9f8fb;
  --navy: #153244;
  --ink: #10191d;
  --muted: #53636a;
  --line: #d7e1e5;
  --line-strong: #b9c9cf;
  --paper: #f4f7f8;
  --white: #ffffff;
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-space: clamp(64px, 7vw, 104px);
  --header-height: 88px;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

figure,
p,
h1,
h2,
h3,
h4,
ol,
ul,
dl,
dd {
  margin: 0;
}

ol,
ul {
  padding: 0;
}

address {
  font-style: normal;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

::selection {
  color: var(--white);
  background: var(--cyan-deep);
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.2vw, 4.9rem);
}

h2 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 4.3vw, 4.15rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
}

p {
  text-wrap: pretty;
}

.shell {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 10px 16px;
  translate: 0 -160%;
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  translate: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--cyan-deep);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--cyan-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button svg,
.text-link svg,
.header-enquiry svg,
.mobile-nav__contact svg {
  width: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.7;
}

.button--primary {
  color: var(--white);
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
}

.button--primary:hover {
  color: var(--navy);
  background: var(--cyan-pale);
  border-color: var(--cyan-deep);
}

.button--secondary {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.button--secondary:hover {
  color: var(--white);
  background: var(--navy);
}

.button--light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button--light:hover {
  color: var(--white);
  background: transparent;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--cyan-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link svg {
  transition: translate 180ms ease;
}

.text-link:hover svg {
  translate: 5px 0;
}

.section-heading {
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.section-heading--split > p,
.section-heading--split > a,
.page-intro > p {
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
}

.site-header__inner {
  display: grid;
  height: 100%;
  grid-template-columns: 168px 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
}

.brand,
.footer-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.brand img {
  width: 142px;
  max-height: 68px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  height: 100%;
  align-items: stretch;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 38px);
}

.desktop-nav > a,
.nav-products__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.desktop-nav > a::after,
.nav-products__trigger::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  scale: 0 1;
  background: var(--cyan);
  content: "";
  transform-origin: right;
  transition: scale 180ms ease;
}

.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current="page"]::after,
.nav-products__trigger:hover::after,
.nav-products__trigger[aria-expanded="true"]::after,
.nav-products__trigger[data-current="true"]::after {
  scale: 1;
  transform-origin: left;
}

.nav-products {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.nav-products__trigger {
  gap: 9px;
}

.nav-products__trigger i {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate 180ms ease, translate 180ms ease;
}

.nav-products__trigger[aria-expanded="true"] i {
  rotate: 225deg;
  translate: 0 2px;
}

.products-mega {
  position: fixed;
  z-index: 98;
  top: var(--header-height);
  right: 0;
  left: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  visibility: hidden;
  opacity: 0;
  background: var(--white);
  translate: 0 -10px;
  transition: visibility 0s linear 180ms, opacity 180ms ease, translate 180ms ease;
  pointer-events: none;
}

.nav-products.is-open .products-mega {
  visibility: visible;
  opacity: 1;
  translate: 0;
  transition-delay: 0s;
  pointer-events: auto;
}

.products-mega__inner {
  display: block;
  padding-block: 18px;
}

.products-mega__intro {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 32px 10px 0;
  border-right: 1px solid var(--line);
}

.products-mega__intro > span,
.products-mega__category small {
  color: var(--cyan-deep);
  font-size: .66rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.products-mega__intro > strong {
  max-width: 14ch;
  margin-top: 12px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.08;
}

.products-mega__intro a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.products-mega__intro svg,
.products-mega__category svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.products-mega__category {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(100px, 150px) 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 10px 24px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
}

.products-mega__category:last-child {
  border-right: 0;
  padding-right: 0;
}

.products-mega__category img {
  width: 100%;
  height: 134px;
  border: 1px solid var(--line);
  object-fit: contain;
  background: var(--paper);
  transform: translate(var(--product-x, 0), var(--product-y, 0));
}

.products-mega__category > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.products-mega__category strong {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.15;
}

.products-mega__category em {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--cyan-deep);
  font-size: .67rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.products-mega__category:hover strong,
.products-mega__category:focus-visible strong {
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: .2em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switch a {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  padding-inline: 7px;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.language-switch span {
  color: var(--line-strong);
}

.language-switch a[aria-current="page"] {
  color: var(--white);
  background: var(--navy);
}

.language-switch a:not([aria-current="page"]):hover,
.language-switch a:not([aria-current="page"]):focus-visible {
  color: var(--cyan-deep);
}

.lang-zh {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", var(--sans);
}

.lang-zh h1,
.lang-zh h2,
.lang-zh h3,
.lang-zh .footer-intro h2,
.lang-zh .products-mega__intro strong,
.lang-zh .products-mega__category strong {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", var(--display);
  letter-spacing: -.035em;
}

.header-enquiry {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 16px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--cyan-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-enquiry:hover {
  background: var(--navy);
}

.header-enquiry svg {
  width: 17px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.menu-icon--close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon--close {
  display: block;
}

.mobile-nav {
  display: none;
}

.mobile-products__categories[hidden] {
  display: none;
}

/* Breadcrumb */
.breadcrumb {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--line-strong);
  content: "/";
}

.breadcrumb a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--navy);
}

/* Metrics */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.metric {
  display: grid;
  min-height: 112px;
  align-content: center;
  gap: 4px;
  padding: 24px clamp(18px, 3vw, 36px);
  border-left: 1px solid var(--line);
}

.metric:last-child {
  border-right: 1px solid var(--line);
}

.metric strong {
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.metric span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Product cards */
.product-grid {
  display: grid;
  gap: 32px 20px;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 2px solid var(--navy);
}

.product-card__image {
  display: grid;
  aspect-ratio: 1;
  min-height: 0;
  place-items: center;
  padding: clamp(10px, 1.5vw, 22px);
  overflow: hidden;
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: translate(var(--product-x, 0), var(--product-y, 0));
  transition: scale 260ms ease;
}

.product-frame { background: var(--product-background, var(--white)); }
.product-frame--hf { --product-x: 0%; --product-y: 0%; --product-background: #f4f5f9; }
.product-frame--hfl { --product-x: 0%; --product-y: 0%; --product-background: #f5f4f9; }
.product-frame--k { --product-x: 0%; --product-y: 0%; --product-background: #f3f4f8; }
.product-frame--hk { --product-x: 0%; --product-y: 0%; --product-background: #f4f4f6; }
.product-frame--axk { --product-x: 0%; --product-y: 0%; --product-background: #eeedf2; }
.product-frame--k811 { --product-x: 0%; --product-y: 0%; --product-background: #edeef2; }
.product-frame--k812 { --product-x: 0%; --product-y: 0%; --product-background: #eeeff3; }
.product-frame--axs { --product-x: 0%; --product-y: 0%; --product-background: #eaebef; }

.product-category-frame--bearing { --product-x: 0%; --product-y: 0%; }
.product-category-frame--medical { --product-x: 0%; --product-y: 0%; }

.product-card__image:hover img {
  scale: 1;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 2px 0;
}

.product-card__series {
  margin-bottom: 10px;
  color: var(--cyan-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.product-card h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.45rem);
  line-height: 1.23;
}

.product-card h3 a {
  text-decoration: none;
}

.product-card__body > p:not(.product-card__series) {
  display: -webkit-box;
  margin-top: 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

/* Article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  min-width: 0;
  border-top: 1px solid var(--navy);
}

.article-card__image {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: scale 300ms ease;
}

a.article-card__image:hover img {
  scale: 1;
}

.article-card__body {
  padding-top: 24px;
}

.article-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.article-card :is(h2, h3) a {
  text-decoration: none;
}

.article-card__body > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.article-card .text-link {
  margin-top: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--navy);
}

.site-footer__top {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr);
  gap: clamp(64px, 10vw, 148px);
  padding-block: clamp(72px, 8vw, 120px);
  color: var(--white);
}

.site-footer__top::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  translate: -50% 0;
  background: var(--navy);
  content: "";
}

.footer-intro .eyebrow {
  color: #8bd9e9;
}

.footer-intro .eyebrow span {
  color: #8bd9e9;
}

.footer-intro h2 {
  color: var(--white);
}

.footer-intro > p {
  max-width: 54ch;
  margin-top: 28px;
  color: #c8d7dc;
}

.footer-intro .button {
  margin-top: 36px;
}

.footer-contact {
  display: grid;
  align-content: start;
  border-top: 1px solid rgb(255 255 255 / 28%);
}

.footer-contact > div {
  display: grid;
  gap: 7px;
  padding-block: 20px;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
}

.footer-label {
  color: #8bd9e9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-contact a,
.footer-contact address {
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.55;
}

.site-footer__bottom {
  display: grid;
  min-height: 112px;
  grid-template-columns: 154px 1fr auto;
  align-items: center;
  gap: 36px;
  background: var(--white);
}

.footer-brand img {
  width: 126px;
  max-height: 66px;
  object-fit: contain;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.site-footer__bottom nav a,
.site-footer__bottom > p {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__bottom > p {
  text-align: right;
}

/* Forms and data */
label > span,
.form-heading > span {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  transition: border-color 150ms ease;
}

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

input:hover,
select:hover,
textarea:hover {
  border-color: var(--navy);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan-deep);
  outline: 3px solid rgb(0 159 194 / 22%);
  outline-offset: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--white);
  background: var(--navy);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: var(--paper);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

/* Reveal enhancement */
.js [data-reveal] {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 520ms ease, translate 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  translate: 0;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    translate: 0;
  }
}
