:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9dee7;
  --paper: #f7f8fb;
  --white: #ffffff;
  --steel: #263241;
  --deep: #101820;
  --accent: #d45a2a;
  --accent-dark: #a93e18;
  --blue: #245b77;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 5px max(18px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.9);
  background: #0d438b;
  font-size: 12px;
  line-height: 1.2;
}

.top-bar div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.top-bar a:hover {
  color: #dbeafe;
}

.company-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: 52px;
  min-height: 82px;
  padding: 14px max(18px, calc((100vw - 1180px) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.company-logo {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

.brand-logo-img {
  display: block;
  width: 206px;
  height: auto;
}

.company-logo .brand-logo-copy,
.brand .brand-logo-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.company-logo strong,
.company-logo small {
  display: block;
}

.company-logo small {
  color: #596575;
  font-size: 12px;
  font-weight: 700;
}

.company-title-block {
  display: grid;
  gap: 5px;
  justify-self: start;
  color: #1f2937;
  text-align: center;
}

.company-title-block strong {
  font-size: 21px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.company-title-block span {
  color: #4f5b6a;
  font-size: 12px;
  font-weight: 760;
}

.company-title-block .company-category-en {
  color: #667384;
  font-size: 11px;
  font-weight: 690;
  line-height: 1.12;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 0 max(18px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

main#top {
  display: flex;
  flex-direction: column;
}

main#top > .hero {
  order: 1;
}

main#top > #products {
  order: 2;
}

main#top > .intro {
  order: 3;
}

main#top > #factory-strength {
  order: 4;
}

main#top > #workshop-process {
  order: 5;
}

main#top > #showcase {
  order: 6;
}

main#top > #shipment-proof {
  order: 7;
}

main#top > #capabilities {
  order: 8;
}

main#top > #applications {
  order: 9;
}

main#top > #about {
  order: 10;
}

main#top > .quote-band {
  order: 11;
}

main#top > #contact {
  order: 12;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.language-switch select {
  width: 132px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  color: var(--steel);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button {
  min-width: 44px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--white);
  background: var(--steel);
}

.brand {
  display: none;
  align-items: center;
  gap: 12px;
  min-width: 72px;
}

.brand .brand-logo-img {
  width: 72px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 42px;
  color: #0d438b;
  background: var(--white);
  border: 2px solid #0d438b;
  border-left: 6px solid #e31b2f;
  border-radius: 999px;
  font-weight: 950;
  font-size: 15px;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  grid-column: 1 / 2;
  justify-self: center;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: var(--steel);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -14px;
  left: -18px;
  height: 18px;
}

.product-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
}

.product-nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 250px;
  max-height: min(78vh, 680px);
  padding: 0;
  overflow: visible;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid #0d57a1;
  border-radius: 0;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-category-title {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-size: 14px;
  font-weight: 760;
}

.mega-category-title::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.5;
  transform: rotate(-45deg);
}

.mega-category-title:hover {
  color: #0d57a1;
  background: #f5f8fc;
}

.mega-category ul {
  margin: 9px 0 0;
  padding: 0;
}

.mega-category li {
  list-style: none;
}

.mega-category li a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.header-quote,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1;
}

.header-quote,
.button.primary {
  color: var(--white);
  background: var(--accent);
}

.site-header .header-quote {
  min-height: 30px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0d438b;
  font-size: 12px;
  font-weight: 900;
}

.header-quote:hover,
.button.primary:hover {
  background: var(--accent-dark);
}

.site-header .header-quote:hover {
  background: #082f67;
}

.header-search {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #263241;
}

.header-search::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.header-search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: translate(8px, 8px) rotate(45deg);
  transform-origin: center;
}

.header-search:hover {
  color: #0d438b;
}

.button.secondary {
  color: #0d438b;
  border: 1px solid rgba(13, 67, 139, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.button.secondary:hover {
  background: rgba(13, 67, 139, 0.08);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(560px, calc(100vh - 170px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #f6f8fb;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-zscnc-light-tooling.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.38) 66%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(0deg, rgba(244, 247, 250, 0.58), rgba(255, 255, 255, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 58px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: #4a5565;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.hero-stats div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(13, 67, 139, 0.16);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.hero-stats dt {
  font-size: 18px;
  font-weight: 850;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
}

.intro-text {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.section-heading {
  max-width: 760px;
}

.section-row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.section-row-heading h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 36px);
}

.product-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
  clip-path: inset(0 -100vmax);
}

.product-section .section-heading {
  display: grid;
  justify-items: center;
  max-width: none;
  margin: 0 auto 40px;
  text-align: center;
}

.product-section .eyebrow {
  display: none;
}

.product-section h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: #25272b;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.05;
  text-transform: uppercase;
}

.product-section h2::before,
.product-section h2::after {
  content: "";
  width: 48px;
  height: 1px;
  background: #c9cdd3;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 38px;
}

.home-product-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 304px;
  color: #1f2933;
  text-align: center;
}

.home-product-card:hover {
  color: var(--accent-dark);
}

.home-product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  overflow: hidden;
  background: var(--white);
}

.home-product-image img {
  display: block;
  width: 100%;
  max-width: 238px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 180ms ease, filter 180ms ease;
}

.home-product-card:hover img {
  filter: drop-shadow(0 14px 18px rgba(15, 23, 42, 0.1));
  transform: scale(1.045);
}

.home-product-image::after,
.reference-product-image::after,
.catalog-image::after,
.detail-main-image-frame::after,
.detail-gallery-image::after,
.detail-spec-image::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 82px;
  height: 42px;
  background: url("assets/brand/zscnc-logo-watermark.svg?v=20260623-logo-centered2") left center / contain no-repeat;
  pointer-events: none;
}

.home-product-image::after,
.reference-product-image::after,
.catalog-image::after {
  width: 70px;
  height: 35px;
}

.home-product-card h3 {
  width: min(100%, 300px);
  min-height: 48px;
  margin: 0 auto;
  color: currentColor;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.45;
}

.home-real-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.home-real-proof article {
  display: grid;
  gap: 7px;
  align-content: start;
  overflow: hidden;
  min-height: 260px;
  padding-bottom: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.home-real-proof img,
.home-real-proof video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f7fa;
  border-bottom: 1px solid var(--line);
}

.home-real-proof h3 {
  margin: 8px 16px 0;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.25;
}

.home-real-proof p {
  margin: 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.home-products-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.button.primary.home-products-more {
  border-color: #eb1d36;
  background: #eb1d36;
  border-radius: 0;
  padding: 13px 28px;
  font-size: 15px;
}

.button.primary.home-products-more::before {
  content: "+";
  margin-right: 10px;
  font-size: 22px;
  font-weight: 420;
  line-height: 0;
}

.button.primary.home-products-more:hover {
  border-color: #c9152c;
  background: #c9152c;
}

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

.product-card {
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.product-card.featured {
  background: var(--steel);
  color: var(--white);
}

.product-card p {
  color: var(--muted);
}

.product-card.featured p,
.product-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.product-card.featured .product-icon {
  background: var(--accent);
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--steel);
}

.category-link,
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 850;
}

.product-card.featured .category-link {
  color: #ffb38f;
}

.category-link:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.factory-strength {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 38px;
  align-items: center;
  padding-top: 34px;
}

.factory-media-stack {
  display: grid;
  gap: 14px;
}

.factory-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.factory-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.04), rgba(16, 24, 32, 0.18));
}

.factory-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.factory-motion-reel {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--deep);
}

.factory-motion-main {
  aspect-ratio: 16 / 9;
}

.factory-motion-card {
  aspect-ratio: 16 / 10;
  background-image: url("assets/factory/zscnc-workshop-machines.png");
  background-position: center;
  background-size: cover;
}

.factory-motion-reel span,
.factory-motion-reel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-image: var(--factory-frame);
  background-position: center;
  background-size: cover;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  animation: factoryFrameLoop 12s infinite;
}

.factory-motion-reel span:nth-child(2),
.factory-motion-reel img:nth-child(2) {
  animation-delay: 4s;
}

.factory-motion-reel span:nth-child(3),
.factory-motion-reel img:nth-child(3) {
  animation-delay: 8s;
}

@keyframes factoryFrameLoop {
  0% {
    opacity: 1;
    transform: scale(1.035);
  }

  8%,
  30% {
    opacity: 1;
  }

  38%,
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

.factory-media-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
}

.factory-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.factory-proof-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.factory-proof-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.factory-proof-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--deep);
}

.factory-video-proof-grid figure {
  background: #f8fafc;
}

.factory-proof-grid figcaption {
  display: grid;
  gap: 2px;
  padding: 12px 14px 14px;
}

.factory-proof-grid strong {
  color: var(--steel);
  font-size: 15px;
}

.factory-proof-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.factory-copy {
  display: grid;
  gap: 16px;
}

.factory-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
}

.factory-lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.factory-points {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.factory-points div {
  padding: 15px 18px;
  background: var(--white);
}

.factory-points h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.factory-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.factory-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.factory-stats div {
  padding: 13px 14px;
  background: #f9fafc;
}

.factory-stats dt {
  color: var(--steel);
  font-weight: 850;
}

.factory-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.workshop-process {
  display: grid;
  gap: 26px;
  padding-top: 56px;
  padding-bottom: 64px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.78), rgba(255, 255, 255, 0.96));
}

.workshop-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 30px;
  align-items: end;
  max-width: none;
  text-align: left;
}

.workshop-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
}

.workshop-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.workshop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.workshop-main,
.workshop-side article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.workshop-main {
  display: grid;
  grid-template-rows: auto auto;
}

.workshop-main video,
.workshop-motion-main {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--deep);
}

.workshop-motion-main {
  background-image: url("assets/factory/zscnc-automated-machining-frame-01.jpg");
  background-position: center;
  background-size: cover;
}

.workshop-main div {
  display: grid;
  gap: 7px;
  padding: 20px 22px 22px;
}

.workshop-main span,
.workshop-side span {
  color: var(--accent);
  font-weight: 900;
}

.workshop-main h3,
.workshop-side h3 {
  margin: 0;
  color: var(--steel);
  font-size: 19px;
  line-height: 1.2;
}

.workshop-main p,
.workshop-side p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.workshop-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.workshop-side article {
  display: grid;
  grid-template-columns: minmax(128px, 0.42fr) minmax(0, 0.58fr);
  grid-template-rows: auto 1fr;
  gap: 7px;
  align-content: start;
  min-height: 148px;
}

.workshop-side img,
.workshop-side video {
  grid-row: 1 / 3;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f5f7fa;
  border-right: 1px solid var(--line);
}

.workshop-side h3,
.workshop-side p {
  padding: 0 13px;
}

.workshop-side h3 {
  padding-top: 16px;
  font-size: 15px;
}

.workshop-side p {
  padding-bottom: 16px;
  font-size: 12px;
}

.shipment-proof {
  display: grid;
  gap: 26px;
  padding-top: 54px;
}

.shipment-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.shipment-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.08;
}

.shipment-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.shipment-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.shipment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.shipment-feature,
.shipment-video-card,
.shipment-proof-strip article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.shipment-feature {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.shipment-feature-media {
  position: relative;
  min-height: 520px;
  background: #f5f7fa;
}

.shipment-feature-media img,
.shipment-video-card video,
.shipment-proof-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shipment-feature-media img {
  aspect-ratio: 4 / 5;
}

.shipment-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.02), rgba(16, 24, 32, 0.2));
  pointer-events: none;
}

.shipment-feature-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.78);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
}

.shipment-feature-copy,
.shipment-video-card,
.shipment-proof-strip article {
  display: grid;
  gap: 5px;
}

.shipment-feature-copy {
  padding: 18px 20px 20px;
}

.shipment-feature-copy h3,
.shipment-video-card h3,
.shipment-proof-strip h3 {
  margin: 0;
  color: var(--steel);
  font-size: 17px;
}

.shipment-feature-copy p,
.shipment-video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.shipment-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shipment-video-card {
  align-content: start;
  padding-bottom: 14px;
}

.shipment-video-card video {
  aspect-ratio: 3 / 4;
  background: var(--deep);
}

.shipment-video-card h3,
.shipment-video-card p {
  padding: 0 12px;
}

.shipment-video-card h3 {
  padding-top: 12px;
  font-size: 14px;
}

.shipment-video-card p {
  font-size: 12px;
}

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

.shipment-proof-strip article {
  min-height: 160px;
  background: #f8fafc;
}

.shipment-proof-strip img {
  aspect-ratio: 16 / 10;
}

.shipment-proof-strip h3 {
  padding: 12px 14px 14px;
  font-size: 14px;
}

.capabilities {
  width: 100%;
  padding: 88px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.capabilities .section-heading,
.capability-list {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-list div {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
}

.capability-list p,
.about-copy p,
.contact-card p,
.small {
  color: var(--muted);
}

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

.application-grid span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: var(--white);
  border-radius: 6px;
  font-weight: 760;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

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

.mini-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.mini-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
  padding: 14px;
  background: #f4f6f9;
  mix-blend-mode: multiply;
  border-bottom: 1px solid var(--line);
}

.mini-product-card > a {
  display: block;
  padding: 12px;
  background: #f4f6f9;
  border-bottom: 1px solid var(--line);
}

.mini-product-card .lz-placeholder {
  aspect-ratio: 4 / 3;
}

.mini-product-card p,
.mini-product-card h3,
.mini-product-card .text-link {
  margin-left: 16px;
  margin-right: 16px;
}

.mini-product-card p {
  margin-top: 16px;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.mini-product-card h3 {
  min-height: 84px;
  font-size: 16px;
  line-height: 1.34;
}

.mini-product-card .text-link {
  margin-bottom: 18px;
}

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

.showcase-grid article {
  overflow: hidden;
  min-height: 360px;
  padding: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.showcase-grid img,
.showcase-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f7fa;
  border-bottom: 1px solid var(--line);
}

.showcase-grid span {
  display: block;
  margin: 18px 20px 10px;
  color: var(--accent);
  font-weight: 900;
}

.showcase-grid h3 {
  margin: 0 20px 8px;
  font-size: 18px;
  line-height: 1.22;
}

.showcase-grid p {
  margin: 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.about-panel,
.contact-card {
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-panel dl {
  margin: 0;
}

.about-panel div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.about-panel dt {
  font-weight: 850;
}

.about-panel dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.quote-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 58px clamp(18px, 7vw, 96px);
  color: var(--white);
  background: var(--deep);
}

.quote-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cbd3df;
  border-radius: 6px;
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(212, 90, 42, 0.18);
  border-color: var(--accent);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(160px, 1fr));
  gap: 32px;
  padding: 46px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--deep);
}

.site-footer h3 {
  color: var(--white);
}

.footer-logo-img {
  display: block;
  width: 190px;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.catalog-page {
  background: var(--paper);
}

.catalog-hero {
  padding: 92px clamp(18px, 7vw, 96px) 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96), rgba(38, 50, 65, 0.86)),
    url("assets/hero-cnc-tooling.png") center / cover;
}

.catalog-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
}

.catalog-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.catalog-tools {
  display: none;
  padding: 34px 0 12px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-filters a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--steel);
  font-size: 14px;
  font-weight: 760;
}

.catalog-filters a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--muted);
  background: #eef2f7;
  font-size: 12px;
  font-weight: 850;
}

.catalog-filters a.active,
.catalog-filters a:hover {
  color: var(--white);
  background: var(--steel);
  border-color: var(--steel);
}

.catalog-filters a.active span,
.catalog-filters a:hover span {
  color: var(--steel);
  background: var(--white);
}

.catalog-list-section {
  padding-top: 36px;
}

.catalog-description {
  display: none;
  padding: 48px 0 8px;
}

.catalog-description p:not(.eyebrow) {
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.product-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.product-sidebar h2 {
  margin: 0;
  padding: 20px;
  color: var(--white);
  background: var(--steel);
  border-radius: 8px 8px 0 0;
  font-size: 22px;
}

.side-category-list {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: var(--white);
}

.side-category-group {
  position: relative;
}

.side-category-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-weight: 760;
}

.side-category-group:first-child .side-category-main {
  border-top: 0;
}

.side-category-group.active > .side-category-main,
.side-category-main:hover {
  color: #0d57a1;
  background: #f5f8fc;
  box-shadow: inset 3px 0 0 #0d57a1;
}

.side-category-main b {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.5;
  transform: rotate(-45deg);
}

.side-category-list strong {
  min-width: 28px;
  text-align: center;
  border-radius: 999px;
  color: var(--muted);
  background: #eef2f7;
  font-size: 12px;
}

.side-category-group.active > .side-category-main strong,
.side-category-main:hover strong {
  color: var(--accent);
  background: var(--white);
}

.side-category-list ul,
.side-subcategory-menu {
  position: static;
  z-index: 30;
  display: none;
  width: auto;
  max-height: 300px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  box-shadow: none;
}

.side-category-group:hover > .side-subcategory-menu,
.side-category-group:focus-within > .side-subcategory-menu,
.side-category-group.open > .side-subcategory-menu {
  display: block;
}

.side-category-group:hover > .side-category-main b,
.side-category-group:focus-within > .side-category-main b,
.side-category-group.open > .side-category-main b {
  transform: rotate(45deg);
}

.side-category-list li {
  list-style: none;
}

.side-category-list li a {
  display: flex;
  min-height: 34px;
  align-items: center;
  padding: 0 16px 0 28px;
  color: var(--steel);
  font-size: 13px;
}

.side-category-list li a:hover {
  color: #0d57a1;
  background: #f5f8fc;
}

.side-category-list li.active a {
  color: #0d57a1;
  background: #f5f8fc;
  font-weight: 800;
}

.sidebar-quote {
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
  background: var(--steel);
}

.sidebar-quote p {
  color: rgba(255, 255, 255, 0.75);
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-list.reference-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 32px;
  align-items: start;
}

.reference-product-card {
  min-width: 0;
  text-align: center;
}

.reference-product-image {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.reference-product-image .product-media-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  background: #fff;
}

.reference-product-card .lz-placeholder {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(246, 248, 251, 0.96)),
    repeating-linear-gradient(45deg, rgba(38, 50, 65, 0.035) 0, rgba(38, 50, 65, 0.035) 8px, transparent 8px, transparent 18px);
}

.reference-product-card .lz-placeholder div {
  width: 58px;
  height: 58px;
  border-radius: 5px;
  font-size: 22px;
}

.reference-product-card .lz-placeholder span {
  display: none;
}

.reference-product-card h2 {
  max-width: 220px;
  margin: 0 auto;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.reference-product-card h2 a:hover {
  color: var(--accent);
}

.catalog-pagination {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
}

.page-number {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  color: #777;
  background: #f0f0f0;
  font-size: 14px;
  font-weight: 700;
}

.page-arrow {
  font-size: 18px;
}

.page-ellipsis {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 36px;
  color: #9a9a9a;
  font-size: 18px;
  font-weight: 700;
}

.page-number.current {
  color: #fff;
  background: #e60012;
}

.page-number.disabled {
  color: #bbb;
}

.catalog-card {
  min-height: 330px;
  overflow: hidden;
  padding: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.catalog-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 16px;
  background: #f4f6f9;
  border-bottom: 1px solid var(--line);
}

.catalog-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 180ms ease;
}

.catalog-image .product-media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 180ms ease;
}

.lz-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--steel);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(238, 242, 247, 0.95)),
    repeating-linear-gradient(45deg, rgba(38, 50, 65, 0.05) 0, rgba(38, 50, 65, 0.05) 8px, transparent 8px, transparent 18px);
  border: 1px dashed #cbd3df;
  border-radius: 8px;
}

.lz-placeholder div {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--white);
  background: var(--steel);
  border-radius: 10px;
  font-size: 28px;
  font-weight: 900;
}

.lz-placeholder span {
  max-width: 80%;
  color: var(--muted);
  text-align: center;
  font-weight: 850;
}

.catalog-card:hover .catalog-image img {
  transform: scale(1.035);
}

.catalog-card h2 {
  padding: 0 24px;
  margin-bottom: 12px;
  font-size: 24px;
}

.catalog-card p {
  padding: 0 24px;
  color: var(--muted);
}

.catalog-card ul {
  margin: 18px 0 0;
  padding: 0 24px 0 42px;
}

.catalog-category {
  padding: 0 24px;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-card .text-link {
  margin-left: 24px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.detail-visual {
  position: sticky;
  top: 96px;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 8px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-visual .lz-placeholder {
  min-height: 300px;
}

.detail-main-image {
  width: 100%;
  max-height: 340px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-main-image-frame {
  position: relative;
  display: grid;
  place-items: center;
}

.detail-visual p {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.detail-main section,
.draft-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.draft-note {
  margin: 0;
  color: var(--muted);
}

.detail-main h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.model-tags span {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--steel);
  background: #eef2f7;
  font-weight: 760;
}

.detail-main table {
  width: 100%;
  border-collapse: collapse;
}

.detail-gallery-section,
.detail-spec-images-section,
.imported-detail-section {
  overflow: hidden;
}

.detail-gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.detail-gallery-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.detail-gallery-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.imported-detail-text {
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.imported-detail-text p {
  margin: 0;
}

.detail-spec-images {
  display: grid;
  gap: 16px;
}

.detail-spec-image {
  position: relative;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.detail-spec-image img {
  width: 100%;
  min-width: 860px;
  display: block;
}

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

.detail-main th {
  width: 190px;
  color: var(--steel);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.floating-contact-rail {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 90;
  display: grid;
  background: #e9252e;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.floating-contact-rail a {
  display: grid;
  width: 58px;
  height: 42px;
  place-items: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 850;
}

.floating-contact-rail a:hover {
  background: #c91622;
}

.product-detail-mode .catalog-hero {
  min-height: 255px;
  display: grid;
  align-content: center;
  padding: 70px clamp(18px, 7vw, 96px) 52px;
  background:
    linear-gradient(90deg, rgba(4, 24, 50, 0.9), rgba(4, 64, 128, 0.72)),
    url("assets/hero-cnc-tooling.png") center / cover;
}

.product-detail-mode .catalog-hero h1 {
  max-width: 460px;
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 56px);
}

.product-detail-mode .catalog-hero p:not(.eyebrow) {
  max-width: 980px;
  font-size: 13px;
}

.product-detail-mode .catalog-description,
.product-detail-mode .catalog-tools,
.product-detail-mode .product-contact-modules {
  display: none;
}

.product-detail-mode .catalog-list-section {
  padding-top: 56px;
}

.product-detail-mode .catalog-main {
  min-width: 0;
}

.product-detail-mode .detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.product-detail-mode .detail-overview {
  display: grid;
  grid-template-columns: minmax(320px, 47%) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.product-detail-mode .detail-visual {
  position: static;
  min-height: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-detail-mode .detail-main-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.product-detail-mode .detail-main-image-frame {
  height: 420px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.detail-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.detail-thumb.active {
  border-color: #dc1f2c;
  box-shadow: inset 0 0 0 1px #dc1f2c;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-summary {
  padding-top: 2px;
}

.detail-summary h1 {
  max-width: 620px;
  margin: 0 0 22px;
  color: #1f2937;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.16;
}

.detail-summary-text {
  max-width: 690px;
  margin: 0;
  color: #313947;
  font-size: 14px;
  line-height: 1.72;
  white-space: pre-line;
}

.detail-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-red-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  color: #fff;
  background: #e9252e;
  border: 1px solid #e9252e;
  font-size: 14px;
  font-weight: 850;
}

.detail-red-button:hover {
  background: #c91622;
  border-color: #c91622;
}

.product-detail-mode .detail-main {
  display: grid;
  gap: 24px;
}

.product-detail-mode .detail-main section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.button.outline {
  color: var(--steel);
  border: 1px solid var(--line);
  background: var(--white);
}

.button.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-contact-modules {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  padding-top: 30px;
}

.inquiry-module,
.chat-module {
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.inquiry-module {
  color: var(--white);
  background: var(--steel);
}

.inquiry-module p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.chat-module p:not(.eyebrow) {
  color: var(--muted);
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 28px;
  }

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

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

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

  .mini-product-grid,
  .showcase-grid,
  .home-real-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .factory-strength {
    grid-template-columns: 1fr;
  }

  .workshop-heading,
  .workshop-layout {
    grid-template-columns: 1fr;
  }

  .workshop-main video {
    min-height: 360px;
  }

  .shipment-heading,
  .shipment-layout {
    grid-template-columns: 1fr;
  }

  .shipment-heading .eyebrow {
    margin-bottom: 0;
  }

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

  .shipment-feature-media {
    min-height: 420px;
  }
}

@media (max-width: 840px) {
  .top-bar {
    display: none;
  }

  .company-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 16px 18px;
  }

  .company-logo,
  .company-title-block {
    justify-self: start;
    text-align: left;
  }

  .company-title-block strong {
    font-size: 18px;
  }

  .company-title-block span {
    font-size: 12px;
  }

  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 18px;
  }

  .brand {
    display: inline-flex;
  }

  .nav,
  .header-quote,
  .header-search {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.menu-open .nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    width: 100%;
    padding-top: 8px;
  }

  .site-header.menu-open .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.menu-open .nav-dropdown {
    border-top: 1px solid var(--line);
  }

  .site-header.menu-open .nav-dropdown > .nav-link {
    display: flex;
    padding: 14px 0;
    border-top: 0;
  }

  .site-header.menu-open .mega-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: none;
    padding: 0 0 14px 16px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header.menu-open .mega-category {
    padding: 6px 0;
  }

  .language-switch {
    justify-self: end;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    margin: 0 auto;
    padding: 86px 0 68px;
  }

  .hero-stats,
  .intro,
  .about,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .product-section h2::before,
  .product-section h2::after {
    width: 34px;
  }

  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .home-product-card {
    min-height: 246px;
  }

  .home-product-image {
    min-height: 170px;
  }

  .home-product-image img {
    max-width: 180px;
  }

  .factory-stats {
    grid-template-columns: 1fr;
  }

  .factory-proof-grid {
    grid-template-columns: 1fr;
  }

  .application-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-mode .detail-overview {
    grid-template-columns: 1fr;
  }

  .product-detail-mode .detail-main-image-frame {
    height: 310px;
  }

  .floating-contact-rail {
    display: none;
  }

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .product-detail-mode .catalog-main {
    order: -1;
  }

  .product-contact-modules {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }

  .detail-visual {
    position: static;
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .language-switch button {
    min-width: 38px;
    padding: 0 8px;
  }

  h1 {
    font-size: 42px;
  }

  .product-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .product-section h2 {
    gap: 12px;
    font-size: 28px;
  }

  .product-section h2::before,
  .product-section h2::after {
    width: 24px;
  }

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

  .home-real-proof {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-real-proof article {
    min-height: 0;
  }

  .home-real-proof h3 {
    font-size: 14px;
  }

  .home-real-proof p {
    font-size: 12px;
  }

  .home-product-card {
    min-height: 0;
  }

  .hero-stats,
  .product-grid,
  .capability-list,
  .application-grid,
  .inquiry-form,
  .catalog-list {
    grid-template-columns: 1fr;
  }

  .catalog-list.reference-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .factory-strength {
    gap: 24px;
    padding-top: 28px;
  }

  .factory-media-stack {
    gap: 10px;
  }

  .factory-media-label {
    right: 10px;
    left: 10px;
    bottom: 10px;
    padding: 6px 8px;
    font-size: 10px;
    text-align: center;
  }

  .factory-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .factory-proof-grid figcaption {
    min-height: 44px;
    padding: 9px 10px;
  }

  .factory-proof-grid strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .factory-proof-grid span {
    display: none;
  }

  .factory-copy {
    gap: 12px;
  }

  .factory-copy h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .factory-lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .factory-points div {
    padding: 10px 12px;
  }

  .factory-points h3 {
    margin-bottom: 3px;
    font-size: 14px;
  }

  .factory-points p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

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

  .factory-stats div {
    padding: 9px 6px;
  }

  .factory-stats dt,
  .factory-stats dd {
    font-size: 11px;
    line-height: 1.25;
  }

  .workshop-process {
    gap: 18px;
    padding-top: 42px;
  }

  .workshop-heading {
    gap: 12px;
  }

  .workshop-heading h2 {
    font-size: 30px;
  }

  .workshop-heading p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.5;
  }

  .workshop-layout {
    gap: 12px;
  }

  .workshop-main video {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .workshop-main div {
    padding: 14px;
  }

  .workshop-main h3 {
    font-size: 16px;
  }

  .workshop-main p {
    font-size: 12px;
  }

  .workshop-side {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .workshop-side article {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .workshop-side img,
  .workshop-side video {
    grid-row: auto;
    height: auto;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workshop-side h3 {
    font-size: 13px;
  }

  .workshop-side p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shipment-proof {
    gap: 18px;
    padding-top: 42px;
  }

  .shipment-heading {
    gap: 12px;
    padding-bottom: 14px;
  }

  .shipment-heading h2 {
    font-size: 30px;
  }

  .shipment-lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .shipment-layout {
    gap: 12px;
  }

  .shipment-feature-media {
    min-height: 0;
  }

  .shipment-feature-media img {
    aspect-ratio: 4 / 5;
  }

  .shipment-feature-copy {
    padding: 14px;
  }

  .shipment-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shipment-video-card {
    padding-bottom: 10px;
  }

  .shipment-video-card h3 {
    padding: 9px 10px 0;
    font-size: 12px;
    line-height: 1.25;
  }

  .shipment-video-card p {
    display: none;
  }

  .shipment-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shipment-proof-strip h3 {
    padding: 9px 10px 10px;
    font-size: 12px;
  }

  .product-card {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-hero {
    padding-top: 72px;
  }

  .detail-main th,
  .detail-main td {
    display: block;
    width: 100%;
  }

  .detail-main th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .detail-main td {
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  .mini-product-grid,
  .showcase-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}
