:root {
  --ink: #17211c;
  --muted: #5f6b62;
  --paper: #f6f7f5;
  --paper-2: #ffffff;
  --linen: #e8ece6;
  --oak: #9a633b;
  --walnut: #513425;
  --forest: #315846;
  --sage: #8a9a7b;
  --clay: #b45d3b;
  --brass: #b98b3c;
  --steel: #3b4546;
  --line: rgba(31, 42, 36, 0.16);
  --shadow: 0 18px 48px rgba(23, 33, 28, 0.12);
  --radius: 8px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--clay);
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.1rem, 3.85vw, 3.55rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.site-shell {
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-grid;
  gap: 0.1rem;
  min-width: 148px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
}

.brand__tag {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.58rem 0.78rem;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a.is-active,
.site-nav a:hover {
  border-color: rgba(49, 88, 70, 0.22);
  background: rgba(255, 250, 242, 0.78);
  color: var(--forest);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 0.56rem 0.78rem;
}

.language-switch {
  position: relative;
  display: inline-block;
}

.language-switch__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.78);
  color: var(--steel);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.5rem 0.72rem;
}

.language-switch__trigger:hover,
.language-switch.is-open .language-switch__trigger {
  border-color: rgba(49, 88, 70, 0.32);
  background: #fffaf2;
  color: var(--forest);
}

.language-switch__icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.language-switch__chevron {
  color: var(--muted);
  font-size: 0.9rem;
  transform: translateY(-1px);
}

.language-switch__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 80;
  display: none;
  width: min(280px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(31, 42, 36, 0.15);
  padding: 0.35rem;
}

.language-switch.is-open .language-switch__menu {
  display: grid;
}

.language-switch__menu button {
  display: grid;
  gap: 0.18rem;
  width: 100%;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  font: inherit;
  padding: 0.78rem 0.85rem;
  text-align: left;
}

.language-switch__menu button:hover,
.language-switch__menu button.is-active {
  background: rgba(49, 88, 70, 0.09);
  color: var(--forest);
}

.language-switch__menu span {
  font-size: 0.92rem;
  font-weight: 800;
}

.language-switch__menu small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: #fffaf2;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  letter-spacing: 0;
  padding: 0.72rem 1.08rem;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  border-color: var(--clay);
  background: var(--clay);
  color: #fffaf2;
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  color: var(--forest);
}

.button--ghost:hover {
  color: #fffaf2;
}

.button--small {
  min-height: 38px;
  padding: 0.48rem 0.78rem;
  font-size: 0.88rem;
}

.nav-cta {
  min-height: 40px;
  border-radius: 6px;
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 620;
  line-height: 1.2;
  padding: 0.58rem 0.86rem;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: none;
}

body[data-language="zh"] h1 {
  font-size: clamp(2rem, 3.55vw, 3.35rem);
  font-weight: 620;
  line-height: 1.16;
}

body[data-language="zh"] h2 {
  font-size: clamp(1.65rem, 2.65vw, 2.55rem);
  font-weight: 620;
  line-height: 1.18;
}

body[data-language="zh"] h3,
body[data-language="zh"] h4 {
  font-weight: 640;
}

body[data-language="zh"] .button,
body[data-language="zh"] button.button,
body[data-language="zh"] .site-nav a,
body[data-language="zh"] .language-switch button {
  font-weight: 650;
}

body[data-language="zh"] .button {
  font-size: 0.94rem;
  padding: 0.68rem 1rem;
}

body[data-language="zh"] .nav-cta {
  font-size: 0.86rem;
  font-weight: 620;
  padding: 0.56rem 0.82rem;
}

.text-link {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(49, 88, 70, 0.3);
  text-underline-offset: 0.22rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: auto;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero--compact {
  min-height: auto;
  padding: clamp(3rem, 7vw, 5.4rem) 0;
}

.hero__content {
  position: relative;
  min-width: 0;
}

.hero__content .lead,
.lead {
  max-width: 68ch;
  color: var(--steel);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero__media {
  position: relative;
  min-width: 0;
}

.hero__media--proof {
  align-self: center;
}

.hero__media img,
.image-frame img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(31, 42, 36, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__media--file img {
  aspect-ratio: 4 / 3;
  background: #eef2ed;
  object-fit: contain;
}

.production-visual {
  border: 1px solid rgba(31, 42, 36, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 56px rgba(23, 33, 28, 0.13);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.production-visual__top,
.production-visual__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.production-visual__top {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
}

.production-visual__top h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.production-visual__top > span,
.production-visual__footer span,
.production-visual__label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.production-visual__label {
  margin: 0 0 0.25rem;
  color: var(--clay);
}

.drawing-sheet {
  overflow: hidden;
  margin: 1rem 0;
  border: 1px solid rgba(49, 88, 70, 0.2);
  border-radius: 6px;
  background: #fbfcfa;
}

.drawing-sheet svg {
  display: block;
  width: 100%;
  height: auto;
}

.drawing-sheet__text,
.drawing-sheet__note {
  fill: var(--forest);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.drawing-sheet__note {
  fill: var(--steel);
  font-size: 15px;
}

.production-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.production-checks div {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(246, 247, 245, 0.9);
  padding: 0.78rem;
}

.production-checks span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
}

.production-checks strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.production-checks p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.production-visual__footer {
  margin-top: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.production-visual__footer strong {
  color: var(--forest);
  font-size: 0.9rem;
  text-align: right;
}

.hero__badge {
  position: absolute;
  right: -1rem;
  bottom: 1.2rem;
  width: min(260px, 78%);
  border: 1px solid rgba(255, 250, 242, 0.64);
  border-radius: var(--radius);
  background: rgba(31, 42, 36, 0.9);
  color: #fffaf2;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero__badge strong {
  display: block;
  color: #fffaf2;
  font-size: 1.8rem;
  line-height: 1;
}

.hero__badge span {
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.86rem;
}

.eyebrow {
  margin-bottom: 0.78rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section--tight {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.section--dark {
  background: var(--ink);
  color: rgba(255, 250, 242, 0.82);
}

.section--dark h2,
.section--dark h3 {
  color: #fffaf2;
}

.section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

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

.section--dark .section__header p {
  color: rgba(255, 250, 242, 0.72);
}

.quote-file-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.quote-file-layout > div:first-child p:not(.eyebrow) {
  max-width: 46ch;
  color: var(--muted);
}

.quote-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(23, 33, 28, 0.08);
}

.quote-table div {
  min-height: 136px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.1rem;
}

.quote-table div:nth-child(2n) {
  border-right: 0;
}

.quote-table div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.quote-table span,
.file-flow span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quote-table strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.28;
}

.quote-table p,
.file-flow p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.file-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 16px 40px rgba(23, 33, 28, 0.07);
}

.file-flow article {
  position: relative;
  min-height: 218px;
  border-right: 1px solid var(--line);
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.file-flow article:last-child {
  border-right: 0;
}

.file-flow article:not(:last-child)::after {
  position: absolute;
  right: -8px;
  top: 32px;
  z-index: 1;
  width: 16px;
  height: 16px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fffdf8;
  content: "";
  transform: rotate(45deg);
}

.file-flow span {
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(49, 88, 70, 0.1);
  color: var(--forest);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.capability-card,
.metric-card,
.panel,
.process-step,
.research-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.section--dark .capability-card,
.section--dark .metric-card,
.section--dark .panel,
.section--dark .process-step {
  border-color: rgba(255, 250, 242, 0.18);
  background: rgba(255, 250, 242, 0.06);
}

.metric-card strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section--dark .metric-card strong {
  color: #ead0a4;
}

.section--dark .metric-card span {
  color: rgba(255, 250, 242, 0.68);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.cad-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.cad-board {
  overflow: hidden;
  border: 1px solid rgba(49, 88, 70, 0.24);
  border-radius: var(--radius);
  background: #fbfcfa;
  box-shadow: var(--shadow);
}

.cad-mini-card,
.cad-proof-card,
.cad-viewer-panel {
  overflow: hidden;
  border: 1px solid rgba(49, 88, 70, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.86);
  box-shadow: var(--shadow);
}

.cad-proof-card {
  align-self: center;
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.cad-mini-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.cad-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(49, 88, 70, 0.08);
  color: var(--steel);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.65rem 0.85rem;
}

.cad-board svg {
  display: block;
  width: 100%;
  height: auto;
}

.cad-text,
.cad-note {
  fill: var(--forest);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.cad-note {
  fill: var(--steel);
  font-size: 15px;
}

.cad-viewer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  align-items: start;
}

.cad-viewer-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-bottom: 1px solid var(--line);
}

.cad-viewer-toolbar h2 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.cad-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

.cad-status {
  margin: 0;
  padding: 0.8rem clamp(1rem, 2vw, 1.35rem);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.cad-canvas-wrap {
  position: relative;
  min-height: 520px;
  background: #fbfcfa;
}

.cad-canvas {
  position: absolute;
  inset: 0;
  min-height: 520px;
}

.cad-fallback {
  display: block;
  width: 100%;
  min-height: 520px;
}

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

.check-list {
  display: grid;
  gap: 0.72rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brass);
  content: "";
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.process-step {
  min-height: 190px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: #fffaf2;
  font-weight: 900;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.7);
  color: var(--steel);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.55rem 0.85rem;
}

.filter-button.is-active,
.filter-button:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: #fffaf2;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.product-card,
.case-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 14px 40px rgba(46, 31, 20, 0.08);
}

.product-card[hidden] {
  display: none;
}

.product-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--linen);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.case-card__hero {
  width: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover img,
.case-card:hover .case-card__hero {
  transform: scale(1.025);
}

.product-card__body,
.case-card__body {
  padding: 1.2rem;
}

.case-card__hero {
  aspect-ratio: 16 / 9;
  background: var(--linen);
}

.products-grid[data-cases-grid] {
  grid-template-columns: 1fr;
}

.products-grid[data-cases-grid] .case-card {
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1fr);
  align-items: start;
}

.products-grid[data-cases-grid] .case-card__hero {
  width: calc(100% - 2.4rem);
  height: auto;
  min-height: 0;
  margin: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.2rem;
}

.case-gallery figure {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--linen);
  object-fit: cover;
}

.case-gallery figcaption {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.case-evidence {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding-top: 1rem;
}

.case-evidence h4 {
  margin-bottom: 0.7rem;
}

.spec-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--steel);
  font-size: 0.9rem;
}

.spec-list--large div {
  grid-template-columns: 128px 1fr;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
}

.detail-hero__media,
.detail-hero__content {
  min-width: 0;
}

.detail-hero__media img {
  width: 100%;
  height: auto;
  max-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--linen);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.detail-hero__media img[src$=".svg"],
.product-card__image img[src$=".svg"],
.case-gallery img[src$=".svg"],
.case-card__hero[src$=".svg"] {
  background: #eef2ed;
  object-fit: contain;
}

.detail-hero__media img[src$=".svg"] {
  padding: 0;
}

.product-card__image img[src$=".svg"],
.case-gallery img[src$=".svg"],
.case-card__hero[src$=".svg"] {
  padding: 0.75rem;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.5);
}

.case-note {
  border-left: 3px solid var(--brass);
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 0.75rem;
}

.rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.rfq-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.86);
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--steel);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(31, 42, 36, 0.22);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.75rem;
}

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

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

.form-status {
  border: 1px solid rgba(49, 88, 70, 0.24);
  border-radius: var(--radius);
  background: rgba(49, 88, 70, 0.1);
  color: var(--forest);
  font-weight: 800;
  padding: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #1c241f;
  color: rgba(255, 250, 242, 0.76);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(130px, 0.45fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3,
.site-footer h4 {
  color: #fffaf2;
}

.site-footer a:hover {
  color: #ead0a4;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 250, 242, 0.16);
  padding-top: 1.2rem;
  font-size: 0.86rem;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

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

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: start;
    padding-bottom: 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .detail-hero,
  .cad-grid,
  .split-band,
  .two-column,
  .rfq-layout,
  .quote-file-layout {
    grid-template-columns: 1fr;
  }

  .section__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .grid--4,
  .process-grid,
  .cad-viewer-layout,
  .file-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .file-flow article:nth-child(2n) {
    border-right: 0;
  }

  .file-flow article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .file-flow article::after {
    display: none;
  }

  .products-grid[data-cases-grid] .case-card {
    grid-template-columns: 1fr;
  }

  .products-grid[data-cases-grid] .case-card__hero {
    min-height: 0;
  }

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

@media (max-width: 720px) {
  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.55rem;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .language-switch {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .language-switch__trigger {
    min-width: 42px;
    padding: 0.5rem;
  }

  .language-switch__trigger [data-current-language] {
    display: none;
  }

  .site-nav {
    grid-row: 2;
  }

  h1,
  h2,
  h3,
  .eyebrow {
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
    white-space: normal;
  }

  .grid--3,
  .grid--4,
  .products-grid,
  .form-grid,
  .process-grid,
  .cad-viewer-layout,
  .quote-table,
  .file-flow {
    grid-template-columns: 1fr;
  }

  .quote-table div,
  .quote-table div:nth-child(2n),
  .quote-table div:nth-last-child(-n + 2),
  .file-flow article,
  .file-flow article:nth-child(2n),
  .file-flow article:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quote-table div:last-child,
  .file-flow article:last-child {
    border-bottom: 0;
  }

  .cad-viewer-toolbar {
    display: grid;
  }

  .cad-viewer-actions {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
  }

  .hero__badge {
    position: static;
    width: 100%;
    margin-top: 0.8rem;
  }

  .spec-list div,
  .spec-list--large div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

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

  .footer-bottom {
    display: grid;
  }
}
