/* China-PlasticMolding.com overrides on CSMFG design system */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #fff;
  padding: 0.75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

body.cpm-home,
body.cpm-page { padding-top: 0; }

body.cpm-home main > section {
  padding-block: clamp(2.25rem, 4.5vw, 4rem) !important;
}
body.cpm-home main > section.hero-home {
  padding-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}
body.cpm-home main > section.trust-strip {
  padding-block: 0.75rem !important;
}
body.cpm-home .section-intro {
  margin-bottom: 1rem;
}
body.cpm-home .section-intro-compact {
  margin-bottom: 0.75rem;
}
body.cpm-home .section-intro h2 {
  margin-bottom: 0.35rem;
}
@media (min-width: 768px) {
  .heading-single-line { white-space: nowrap; }
}

.announcement-bar {
  position: relative;
  z-index: 70;
  background: var(--brand-ink);
  color: #dce3e6;
  font-size: 0.82rem;
}
.announcement-bar a {
  display: block;
  padding: 0.55rem 0;
  color: inherit;
}
.announcement-bar strong { color: #ff9d9d; }
.nav-wrap {
  position: sticky;
  top: 0;
}
body.cpm-home .hero.hero-home {
  padding-top: clamp(5.5rem, 8vw, 6.5rem) !important;
  padding-bottom: clamp(1.25rem, 2vw, 2rem) !important;
}

.hero-home-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
  padding-top: 0;
}
.hero-home-copy h1 { margin-bottom: 0.75rem; }
.hero-home-copy .lead { margin-bottom: 0.75rem; }
.hero-home-copy p { margin-bottom: 0.65rem; }
.hero-home-copy { min-width: 0; }
.hero .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}
.hero-home-copy h1 em { color: var(--brand); font-style: normal; }
.hero-home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.8rem;
}
.hero-home-metrics .stat {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}
.hero-home-metrics .stat b {
  display: block;
  font: 900 1.35rem/1 var(--font-display);
  color: var(--brand);
}
.hero-home-metrics .stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.45rem;
  min-height: 430px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-showcase-grid figure { margin: 0; position: relative; overflow: hidden; }
.hero-showcase-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}
.hero-showcase-grid figcaption {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.55rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.hero-generated-media {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #17191b;
  box-shadow: var(--shadow-soft);
}
.hero-generated-media picture,
.hero-generated-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-generated-media img {
  min-height: 380px;
  object-fit: cover;
  object-position: 56% center;
}
.hero-generated-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.8rem;
  background: rgba(20, 21, 23, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.hero-generated-media figcaption span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
}

.trust-strip {
  padding-block: 0.75rem !important;
  background: #fff;
  border-block: 1px solid var(--line);
}
.home-page main > section.trust-strip {
  padding-block: 0.75rem !important;
}
.trust-strip .grid-3,
.trust-strip .grid-4 { align-items: start; }
.trust-item b { display: block; font-size: 1rem; color: var(--ink); }
.trust-item span { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 0.2rem; }

.section-intro { max-width: 48rem; margin-bottom: 2rem; }
.process-section-intro { max-width: none; }
.process-section-intro p { max-width: none; }
.card-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 800;
  color: var(--brand);
}
.card-link:hover { color: var(--brand-deep); }
.shell .core ul { padding-left: 1.1rem; margin: 0.5rem 0 0; }
.shell .core li { margin-bottom: 0.35rem; color: var(--ink-2); font-size: 0.92rem; }
.buyer-paths .card-link {
  white-space: nowrap;
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
}

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.media-split .frame .media { min-height: 360px; }
.media-split .frame img { min-height: 360px; }
.media-split .frame-contain .media { min-height: 360px; }
.media-split .frame-contain img { min-height: 0; }
.frame picture { display: block; width: 100%; height: 100%; }
#molding .frame .media { aspect-ratio: 4 / 3; }
#molding .frame img { width: 100%; height: 100%; object-fit: cover; }

#capabilities .capability-card-media .media {
  aspect-ratio: 320 / 140;
  min-height: 0;
}
#capabilities .capability-card-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: var(--paper-2);
}
.capability-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.capability-example-card .core {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.combined-card-media {
  margin-bottom: 0.9rem;
  background: #fff;
}
.combined-card-media .media {
  aspect-ratio: 320 / 140;
  min-height: 0;
  background: #fff;
}
.combined-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.combined-card-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #fff;
}
.capability-example-card .eyebrow {
  align-self: flex-start;
  margin-bottom: 0.7rem;
  font-size: 0.62rem;
}
.capability-example-card h3 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-wrap: balance;
}
.capability-example-card p {
  font-size: 0.84rem;
  line-height: 1.55;
}
.capability-example-card .card-link {
  font-size: 0.75rem;
}

.process-list article {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.process-list article:first-child { border-top: 0; padding-top: 0; }
.process-list h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.process-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.process-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 38px -30px rgba(30, 30, 32, 0.28);
}
.process-card picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  flex-shrink: 0;
  padding: 0.45rem;
  background: #fff;
}
.process-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 120px;
  min-height: 0;
  object-fit: contain;
}
.process-card > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 1rem;
}
.process-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.process-card p {
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}
.process-card .card-link {
  padding-top: 0.65rem;
  font-size: 0.76rem;
}

.case-card .frame .media {
  aspect-ratio: 320 / 140;
  min-height: 0;
}
.case-card .frame img { object-fit: contain; object-position: center; background: var(--paper-2); }
.case-card .core { display: flex; flex-direction: column; height: 100%; }

.assembly-process-frame {
  margin: 0;
  padding: 0.75rem;
  background: #17191b;
}
.assembly-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
}
.assembly-process-cell {
  display: grid;
  grid-template-rows: 150px auto;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #232528;
}
.assembly-process-cell picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  padding: 0.35rem;
  background: #232528;
}
.assembly-process-cell img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 130px;
  object-fit: contain;
}
.assembly-process-cell figcaption {
  position: static;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 2.8rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: #17191b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quality-proof-list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}
.quality-proof-list li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 700;
}
.quality-proof-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
}
.quality-managed-image { margin-top: 1.25rem; }
.quality-managed-image .media {
  min-height: 0;
  aspect-ratio: 1200 / 727;
}
.quality-managed-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.quality-section-intro {
  max-width: 68rem;
  margin-bottom: 1.5rem;
}
.quality-company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}
.quality-company-layout .quality-managed-image {
  margin-top: 0;
}
.quality-control-copy,
.quality-partner-copy {
  padding-top: 0.35rem;
}
.quality-control-copy h3,
.quality-partner-copy h3 {
  text-wrap: balance;
}

.frame-contain .media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
}
.frame-contain img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 420px;
  object-fit: contain;
}

.section-dark { background: var(--brand-ink); color: #d6d6d6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c3c3c3; }

.faq-grid details {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.faq-grid summary { cursor: pointer; font-weight: 800; color: var(--ink); }

.cpm-footer,
.site-footer.cpm-footer {
  background: var(--brand-ink);
  color: #c8d0d4;
  padding: 3.5rem 0 2rem;
  font-family: var(--font-body, "Open Sans", sans-serif);
  font-size: 16px;
  line-height: 1.5;
}
.cpm-footer-shell {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}
.cpm-footer h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}
.cpm-footer a {
  display: block;
  margin: 0.45rem 0;
  color: #c8d0d4;
  font-size: 14px;
  text-decoration: none;
}
.cpm-footer a:hover { color: #fff; }
.cpm-footer p {
  margin: 0.45rem 0;
  max-width: none;
  color: inherit;
  font-size: 14px;
}
.brand-footer {
  font: 900 18px/1.2 var(--font-display, "Lato", sans-serif);
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-trust { margin-top: 1rem; font-size: 13px; color: #9fb0b8; }
.footer-grid,
.cpm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-legal,
.cpm-footer-legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #8fa0a8;
}
.footer-legal a,
.cpm-footer-legal a { color: inherit; display: inline; }

body.cpm-legacy-menu-page .site-footer.cpm-footer {
  clear: both;
  display: block;
  width: 100%;
  float: none;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 3.5rem 0 2rem;
  background: var(--brand-ink, #1e1e20);
  color: #c8d0d4;
  border-top: 4px solid var(--brand, #c51b1f);
  text-align: left;
  text-shadow: none;
  box-sizing: border-box;
  font-family: var(--font-body, "Open Sans", sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}
body.cpm-legacy-menu-page .site-footer.cpm-footer .cpm-footer-shell {
  width: min(1180px, calc(100% - 3rem)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 0 !important;
  float: none !important;
}
body.cpm-legacy-menu-page .site-footer.cpm-footer .cpm-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) !important;
  gap: 2rem !important;
}
body.cpm-legacy-menu-page .site-footer.cpm-footer h4 {
  float: none !important;
  width: auto !important;
  text-align: left !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
body.cpm-legacy-menu-page .site-footer.cpm-footer a {
  float: none !important;
  width: auto !important;
  display: block !important;
  text-align: left !important;
  padding: 0 !important;
  font-size: 14px !important;
}
body.cpm-legacy-menu-page .site-footer.cpm-footer p,
body.cpm-legacy-menu-page .site-footer.cpm-footer .brand-footer,
body.cpm-legacy-menu-page .site-footer.cpm-footer .footer-trust {
  float: none !important;
  width: auto !important;
  text-align: left !important;
  text-indent: 0 !important;
}
body.cpm-legacy-menu-page .site-footer.cpm-footer p { font-size: 14px !important; }
body.cpm-legacy-menu-page .site-footer.cpm-footer .brand-footer { font-size: 18px !important; }
body.cpm-legacy-menu-page .site-footer.cpm-footer .footer-trust { font-size: 13px !important; }
body.cpm-legacy-menu-page .site-footer.cpm-footer .cpm-footer-legal,
body.cpm-legacy-menu-page .site-footer.cpm-footer .cpm-footer-legal a {
  font-size: 12px !important;
}
@media (max-width: 960px) {
  body.cpm-legacy-menu-page .site-footer.cpm-footer .cpm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.calc-page-wrap { padding-top: 2rem; padding-bottom: 4rem; }
.calc-page-wrap > .container > .shell > .core {
  padding: clamp(1rem, 2vw, 1.5rem);
}
.calc-unit-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.calc-unit-bar label {
  font-size: 0.82rem;
  font-weight: 800;
}
.calc-unit-bar select {
  padding: 0.5rem 2rem 0.5rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.55rem;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}
.calc-unit-bar span {
  color: var(--muted);
  font-size: 0.76rem;
}
.calc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}
.calc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.calc-dimensions-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-2);
}
.calc-field-with-help {
  display: grid;
  align-content: start;
  gap: 0.3rem;
}
.calc-field-error {
  margin: 0.15rem 0 0;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}
.calc-field-error[hidden] {
  display: none;
}
input[aria-invalid="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(197, 27, 31, 0.12);
}
.calc-help { font-size: 0.74rem; }
.calc-help summary {
  width: fit-content;
  cursor: pointer;
  color: var(--brand);
  font-weight: 800;
}
.calc-help > div {
  margin-top: 0.35rem;
  padding: 0.6rem 0.7rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 0.45rem 0.45rem 0;
  background: var(--paper-2);
  color: var(--ink-2);
  line-height: 1.5;
}
.calc-submit-row { grid-column: 1 / -1; }
.calc-reference-panel {
  display: grid;
  gap: 0.7rem;
}
.calc-reference-card {
  margin: 0;
  padding: 0.45rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-2);
}
.calc-reference-card picture {
  display: block;
  width: 100%;
  height: 120px;
}
.calc-reference-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper-2);
}
.calc-reference-card figcaption {
  padding: 0.45rem 0.35rem 0.1rem;
  color: var(--ink-2);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}
.calc-reference-card.calc-dimensions-reference picture { height: 145px; }
.calc-form-grid label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}
.calc-form-grid input,
.calc-form-grid select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.55rem;
  background: #fff;
}
.calc-result-panel {
  margin-top: 1.5rem;
  display: none;
}
.calc-result-panel.is-visible { display: block; }
.calc-result-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  box-shadow: var(--shadow-soft);
}
.calc-result-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.calc-result-price {
  margin: 0.35rem 0 0.65rem;
  font: 900 clamp(2rem, 4vw, 2.75rem)/1.05 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.calc-result-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.calc-result-breakdown,
.calc-result-footnote {
  margin-top: 1.25rem;
}
.calc-result-section h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}
.calc-result-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.calc-result-section {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.calc-result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.calc-result-table th,
.calc-result-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.calc-result-table th {
  width: 52%;
  color: var(--ink-2);
  font-weight: 700;
}
.calc-result-table td {
  color: var(--ink);
  font-weight: 600;
}
.calc-result-table tr:last-child th,
.calc-result-table tr:last-child td {
  border-bottom: 0;
}
.calc-result-emphasis th,
.calc-result-emphasis td {
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 800;
}
.calc-result-section-row th {
  padding-top: 0.85rem;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calc-cycle-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--paper-2);
  align-items: stretch;
}
.calc-cycle-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 4.25rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
}
.calc-cycle-item span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.calc-cycle-item strong {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}
.calc-result-emphasis td .calc-unit-price-breakdown {
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 500;
}
.calc-resin-date {
  color: #e67e22;
  font-weight: 700;
}
.calc-result-footnote p {
  max-width: none;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.calc-seo-content {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.calc-seo-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.calc-seo-content p {
  max-width: none;
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .hero-home-layout,
  .media-split,
  .footer-grid,
  .cpm-footer-grid { grid-template-columns: 1fr; }
  .hero-home-metrics { grid-template-columns: 1fr; }
  .calc-form-grid { grid-template-columns: 1fr; }
  .calc-workspace { grid-template-columns: 1fr; }
  .calc-result-breakdown { grid-template-columns: 1fr; }
  .calc-reference-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-company-layout { grid-template-columns: 1fr 1fr; }
  .quality-company-layout .quality-managed-image { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .eyebrow {
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
  }
  .hero-home { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
  .hero-showcase-grid { min-height: 320px; }
  .hero-generated-media,
  .hero-generated-media img { min-height: 390px; }
  .hero-generated-media figcaption { grid-template-columns: repeat(2, 1fr); }
  .process-gallery { grid-template-columns: 1fr; }
  .capability-example-grid,
  .quality-company-layout { grid-template-columns: 1fr; }
  .quality-company-layout .quality-managed-image { grid-column: auto; }
  .nav-quote { display: none; }
  .calc-reference-panel { grid-template-columns: 1fr; }
  .calc-dimensions-group { grid-template-columns: 1fr; }
  .calc-cycle-block { grid-template-columns: 1fr; }
}

/* Injection Mold Database */
.mold-db-wrap { padding-bottom: 0; }
.mold-db-hero {
  padding: clamp(2rem, 4vw, 3rem) 0 1.5rem;
  background: linear-gradient(180deg, var(--paper-2) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.mold-db-hero h1 { margin-bottom: 0.75rem; }
.mold-db-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.mold-db-stat {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  font-size: 0.78rem;
}
.mold-db-stat b {
  display: block;
  font: 900 1.1rem/1 var(--font-display);
  color: var(--brand);
}
.mold-db-stat span { color: var(--muted); }

.mold-db-gallery-section { padding: 2rem 0 4rem; }
.mold-db-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.mold-filter-btn {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mold-filter-btn small {
  margin-left: 0.35rem;
  color: var(--muted);
  font-weight: 600;
}
.mold-filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.mold-filter-btn.is-active small { color: rgba(255, 255, 255, 0.85); }

.mold-db-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.mold-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mold-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, 0.08));
}
.mold-card-media {
  aspect-ratio: 4 / 3;
  background: #f4f6f7;
  overflow: hidden;
}
.mold-card-media figure {
  margin: 0;
  height: 100%;
  position: relative;
}
.mold-card-media.has-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mold-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mold-card-media figcaption {
  position: absolute;
  left: 0.45rem;
  bottom: 0.4rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}
.mold-card-body { padding: 0.9rem 1rem 1.1rem; }
.mold-card-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.mold-card-body h2 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}
.mold-card-body p {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mold-db-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* Mold card: hint that pair cards expand */
.mold-card-media.has-pair { cursor: zoom-in; position: relative; }
.mold-card-media.has-pair::after {
  content: "Click to view full mold + part";
  position: absolute;
  inset: auto 0 0 0;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  padding: 1.1rem 0.4rem 0.4rem;
  opacity: 0;
  transition: opacity 0.18s;
  pointer-events: none;
}
.mold-card-media.has-pair:hover::after { opacity: 1; }

/* Lightbox */
.mold-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(12, 16, 18, 0.9);
  backdrop-filter: blur(3px);
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.mold-lightbox.is-open { opacity: 1; visibility: visible; }
.mold-lightbox-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  max-width: 1200px;
  width: 100%;
  align-items: center;
}
.mold-lightbox-inner figure {
  margin: 0;
  position: relative;
  background: #1a2124;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.mold-lightbox-inner img {
  width: 100%;
  height: auto;
  max-height: 74vh;
  object-fit: contain; /* full image, no crop */
  display: block;
}
.mold-lightbox-inner figcaption {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.25rem 0.55rem;
  border-radius: 0.3rem;
}
.mold-lightbox-title {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  text-align: center;
}
.mold-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 2;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
}
.mold-lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.mold-lb-lock { overflow: hidden; }

@media (max-width: 720px) {
  .mold-lightbox-inner { grid-template-columns: 1fr; }
  .mold-lightbox-inner img { max-height: 40vh; }
}

@media (max-width: 640px) {
  .mold-db-toolbar { gap: 0.4rem; }
  .mold-filter-btn { font-size: 0.76rem; padding: 0.4rem 0.75rem; }
  .mold-db-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .mold-card-body h2 { font-size: 0.82rem; }
}
@media (max-width: 420px) {
  .mold-db-grid { grid-template-columns: 1fr; }
}

/* About CSMFG */
.cpm-about main > section {
  padding-block: clamp(2.75rem, 5vw, 4.75rem);
}
.about-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 27, 31, 0.06), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-hero-grid h1 {
  max-width: 14ch;
  text-wrap: balance;
}
.about-hero-grid .lead,
.founder-grid .lead {
  max-width: 58ch;
}
.about-hero-grid .actions { margin-top: 1.5rem; }
.about-hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #17191b;
  box-shadow: var(--shadow-soft);
}
.about-hero-photo picture,
.about-hero-photo img {
  display: block;
  width: 100%;
}
.about-hero-photo img {
  min-height: 290px;
  object-fit: cover;
}
.about-structure { background: #fff; }
.about-structure .section-intro {
  max-width: none;
}
.about-structure .section-intro h1 {
  max-width: none;
  text-wrap: balance;
}
.about-structure .section-intro p { max-width: none; }
.about-facts {
  display: grid;
  grid-template-columns: 0.72fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.about-fact {
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  border-top: 3px solid var(--line-strong);
  background: var(--paper-2);
}
.about-fact span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.about-fact h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  text-wrap: balance;
}
.about-fact p { margin-bottom: 0; }
.about-fact-founded {
  border-top-color: var(--brand);
  background: var(--brand-ink);
  color: #fff;
}
.about-fact-founded strong {
  display: block;
  margin-bottom: 1rem;
  color: #fff;
  font: 900 clamp(3rem, 5vw, 4.5rem)/0.9 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.about-fact-founded p { color: #c7cdd0; }
.about-founder { background: var(--paper-2); }
.about-team-section {
  padding-block: 0 !important;
  background: #fff;
}
.about-team-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
}
.about-team-photo picture,
.about-team-photo img {
  display: block;
  width: 100%;
}
.about-team-photo img { height: auto; }
.founder-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1020px;
}
.founder-photo {
  margin: 0;
  position: relative;
}
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  z-index: 0;
  border: 1px solid var(--brand);
  border-radius: var(--radius-lg);
}
.founder-photo picture,
.founder-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
}
.about-operating .frame .media {
  min-height: 360px;
  aspect-ratio: 3 / 2;
}
.about-operating .frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.about-operating-copy { max-width: 880px; }
.about-checks {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.about-checks li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-top: 1px solid var(--line);
}
.about-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}
.about-customers { background: var(--paper-2); }
.about-customers .section-intro { max-width: 66rem; }
.customer-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.customer-logo-grid picture {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.customer-logo-grid img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .about-hero-grid,
  .founder-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-photo { max-width: 280px; }
  .customer-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .about-facts { grid-template-columns: 1fr; }
  .about-hero-photo img { min-height: 220px; }
  .buyer-paths .card-link { white-space: normal; }
  .customer-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Report follow-up: cost evidence, direct RFQ, mold protection and OEM path */
.hero-actions,
.cpm-protection .actions,
.cpm-industrial-oem .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.hero-file-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.hero-home-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 4.25vw, 3.6rem);
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 18px 48px -36px rgba(30, 30, 32, 0.35);
}
.table-scroll:focus-visible {
  outline: 3px solid rgba(197, 27, 31, 0.25);
  outline-offset: 3px;
}
.table-scroll .tbl { min-width: 780px; }
.table-scroll .tbl tr:last-child td { border-bottom: 0; }
.home-cost-evidence {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.cost-evidence-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.cost-evidence-heading > div { max-width: 54rem; }
.cost-evidence-heading p { margin-bottom: 0; }
.cost-evidence-table td:nth-child(2),
.cost-comparison-table td:nth-child(2) {
  color: var(--ink);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.evidence-hero,
.rfq-hero,
.protection-hero,
.oem-hero {
  padding-top: clamp(7rem, 11vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 27, 31, 0.07), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
}
.evidence-hero h1 { max-width: 16ch; }
.evidence-callout {
  display: grid;
  gap: 0.25rem;
  max-width: 62rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.72);
}
.evidence-callout span { color: var(--ink-2); }
.data-not-published {
  color: var(--muted) !important;
  font-size: 0.78rem;
}
.cost-case-list { padding-top: 0 !important; }
.cost-case {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 6rem;
}
.cost-case:first-child { border-top: 0; }
.cost-case-index {
  padding-top: 0.35rem;
  color: var(--brand);
  font: 900 1rem/1 var(--font-display);
  letter-spacing: 0.12em;
}
.cost-case-content,
.cost-case-media > * { min-width: 0; }
.cost-case-heading {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.cost-case-heading .eyebrow { margin-bottom: 0.8rem; }
.cost-case-price { text-align: right; }
.cost-case-price span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cost-case-price strong {
  color: var(--ink);
  font: 900 clamp(1.9rem, 4vw, 3rem)/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.cost-case-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.cost-case-media .frame { background: #fff; }
.cost-case-media .frame { width: 100%; max-width: 100%; }
.cost-case-media .media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background: #fff;
}
.cost-case-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.cost-case-media figcaption {
  padding: 0.65rem 0.55rem 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cost-case-facts {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 1rem;
  margin: 1rem 0 0;
}
.cost-case-facts div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.cost-case-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cost-case-facts dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-weight: 700;
}
.cost-case-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.download-unavailable {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.quote-data-section { background: var(--paper-2); }

.rfq-hero-grid,
.protection-hero-grid,
.oem-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.rfq-trust-list,
.protection-principles {
  display: grid;
  gap: 0;
  border-top: 3px solid var(--brand);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.rfq-trust-list > div {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.rfq-trust-list span { color: var(--ink-2); font-size: 0.85rem; }
.rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.rfq-layout > * { min-width: 0; }
.rfq-shell,
.rfq-sidebar { width: 100%; max-width: 100%; }
.rfq-shell .core { padding: clamp(1.25rem, 3vw, 2.25rem); }
.rfq-gate-step,
.rfq-next-step { scroll-margin-top: 6rem; }
.rfq-next-step {
  margin-top: 2rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line-strong);
}
.rfq-layout .rfq-gate-step{ padding:50px 0;}
.rfq-step-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font: 900 0.68rem/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rfq-form-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.rfq-form-heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}
.rfq-form-heading p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.rfq-gate-intro {
  max-width: 58ch;
  margin: 0 0 1.35rem;
  color: var(--ink-2);
}
.rfq-gate-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}
.rfq-gate-form-row .field { margin-bottom: 0; }
.rfq-gate-form-row .btn { min-height: 48px; }
.rfq-response-note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--brand);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.86rem;
}
.rfq-copy {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-2);
  color: var(--ink-2);
}
.rfq-inline-status {
  display: inline-block;
  margin: 0.75rem 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}
.rfq-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.rfq-message.is-success { background: #e7f6ef; color: #126442; }
.rfq-message.is-error { background: #fff0f0; color: #941c20; }
.rfq-required { color: var(--brand); }
.rfq-retry-btn {
  display: block;
  margin-top: 0.75rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 0.6rem;
  background: var(--brand-ink);
  color: #fff;
  cursor: pointer;
  font: 700 0.82rem/1 var(--font-body);
}
.rfq-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}
.field input[type="date"],
.field input[type="file"] {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  font: 15px var(--font-body);
}
.field input[type="date"]:focus,
.field input[type="file"]:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(197, 27, 31, 0.1);
}
.rfq-nda-choice {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper-2);
  cursor: pointer;
}
.rfq-nda-choice input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--brand);
}
.rfq-nda-choice span { display: grid; gap: 0.2rem; }
.rfq-nda-choice small { color: var(--ink-2); line-height: 1.5; }
.rfq-status {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.rfq-status.is-working { background: #f3f4f5; color: var(--ink-2); }
.rfq-status.is-success { background: #e7f6ef; color: #126442; }
.rfq-status.is-error { background: #fff0f0; color: #941c20; }
.rfq-sidebar { position: sticky; top: 6rem; }
.rfq-sidebar h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.rfq-checklist { margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: rfq; }
.rfq-checklist li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0 1rem 2.4rem;
  border-top: 1px solid var(--line);
  position: relative;
  counter-increment: rfq;
}
.rfq-checklist li::before {
  content: counter(rfq, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  color: var(--brand);
  font: 900 0.72rem/1 var(--font-display);
}
.rfq-checklist span { color: var(--ink-2); font-size: 0.86rem; }
.rfq-sidebar-note {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 3px solid var(--brand);
  background: #fff;
  font-size: 0.85rem;
}
.btn[disabled] { cursor: wait; opacity: 0.65; }

.protection-principles article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.protection-principles article > span { color: var(--brand); font: 900 0.72rem/1.5 var(--font-display); }
.protection-principles p { margin: 0.2rem 0 0; font-size: 0.82rem; }
.project-owner-grid,
.oem-governance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.project-owner-grid article,
.oem-governance-grid article {
  padding: 1.4rem;
  border-top: 3px solid var(--brand);
  background: #fff;
}
.project-owner-grid article > span,
.oem-governance-grid article > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.project-owner-grid p,
.oem-governance-grid p { margin-bottom: 0; }
.protection-flow-section,
.oem-controls-section { background: var(--paper-2); }
.protection-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
}
.protection-flow li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.protection-flow li:nth-child(odd) { border-right: 1px solid var(--line); }
.protection-flow li > span { color: var(--brand); font: 900 0.72rem/1.5 var(--font-display); }
.protection-flow h3 { font-size: 1.05rem; }
.protection-flow p { margin: 0; font-size: 0.85rem; }
.tooling-options-table td:nth-child(4) { font-variant-numeric: tabular-nums; }
.commercial-controls-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.commercial-control-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.commercial-control-list article { padding: 1.2rem; border-top: 1px solid var(--line-strong); }
.commercial-control-list h3 { font-size: 1rem; }
.commercial-control-list p { margin-bottom: 0; font-size: 0.84rem; }
.quality-documents-section { background: var(--paper-2); }
.document-grid { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.document-grid span {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.oem-hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); }
.oem-hero-media { margin: 0; }
.oem-hero-media .media { aspect-ratio: 16 / 10; }
.oem-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.oem-hero-media figcaption { padding: 0.7rem 0.55rem 0.35rem; color: var(--muted); font-size: 0.72rem; }
.oem-control-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.oem-control-matrix article { padding: 1.35rem; border-bottom: 1px solid var(--line); }
.oem-control-matrix article:nth-child(odd) { border-right: 1px solid var(--line); }
.oem-control-matrix h3 { font-size: 1.05rem; }
.oem-control-matrix ul { margin: 0; padding-left: 1.1rem; }
.oem-control-matrix li { margin: 0.35rem 0; color: var(--ink-2); font-size: 0.86rem; }
.oem-production-section { background: #fff; }

@media (max-width: 960px) {
  .cost-evidence-heading,
  .rfq-hero-grid,
  .protection-hero-grid,
  .oem-hero-grid,
  .rfq-layout,
  .commercial-controls-grid { grid-template-columns: 1fr; }
  .cost-evidence-heading { align-items: start; }
  .cost-evidence-heading .btn { justify-self: start; }
  .rfq-sidebar { position: static; }
  .project-owner-grid,
  .oem-governance-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-home-copy h1 { max-width: none; }
  .hero-actions .btn,
  .cpm-protection .actions .btn,
  .cpm-industrial-oem .actions .btn,
  .cost-case-downloads .btn { width: 100%; justify-content: space-between; white-space: normal; }
  .cost-case { grid-template-columns: 1fr; }
  .cost-case-index { padding-top: 0; }
  .cost-case-heading { align-items: start; flex-direction: column; }
  .cost-case-price { text-align: left; }
  .cost-case-media,
  .cost-case-facts,
  .rfq-field-grid,
  .rfq-gate-form-row,
  .protection-flow,
  .commercial-control-list,
  .oem-control-matrix { grid-template-columns: 1fr; }
  .protection-flow li:nth-child(odd),
  .oem-control-matrix article:nth-child(odd) { border-right: 0; }
  .rfq-form-heading { align-items: flex-start; flex-direction: column; }
  .rfq-gate-form-row .btn { width: 100%; justify-content: space-between; }
  .evidence-hero,
  .rfq-hero,
  .protection-hero,
  .oem-hero { padding-top: 6.25rem; }
}

/* Engineering case studies */
.case-study-hero {
  padding-top: clamp(7rem, 11vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
}
.case-study-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.case-study-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}
.case-study-hero .card-link { padding-top: 0; }
.case-confidentiality {
  max-width: 54ch;
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--brand);
  color: var(--ink-2);
  font-size: 0.84rem;
}
.case-study-hero-media,
.case-study-hero-media .media {
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
}
.case-study-hero-media .media { aspect-ratio: 16 / 10; }
.case-study-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.case-study-hero-media figcaption,
.case-study-problem figcaption,
.corrective-action-image figcaption,
.case-image-pair figcaption {
  padding: 0.65rem 0.55rem 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.case-data-strip { padding: 0; background: #fff; }
.case-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}
.case-data-grid > div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--line);
}
.case-data-grid > div:last-child { border-right: 0; }
.case-data-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-data-grid strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink);
  font-size: 0.9rem;
}
.case-study-problem,
.corrective-action-section,
.case-evidence-section { background: #fff; }
.case-study-problem .frame .media {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.case-study-problem .frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.case-requirement-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.case-requirement-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-2);
}
.case-requirement-list li::before {
  content: '';
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--brand);
}
.case-decision-section { background: var(--paper-2); }
.case-decision-grid { display: grid; gap: 1rem; }
.case-decision-grid > article {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #fff;
}
.case-decision-grid article > span,
.case-correction-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand);
  font: 900 0.7rem/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.case-image-pair.single { grid-template-columns: minmax(0, 560px); }
.case-image-pair figure { min-width: 0; margin: 0; }
.case-image-pair img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.case-evidence-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.case-evidence-table-wrap .tbl { min-width: 620px; }
.case-evidence-table-wrap .tbl tr:last-child td { border-bottom: 0; }
.corrective-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.corrective-action-image {
  max-width: 520px;
  margin: 1.5rem 0 0;
  background: #fff;
}
.corrective-action-image .media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.corrective-action-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.case-correction-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding-left: 1.25rem;
}
.case-published-result {
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-left: 3px solid var(--brand);
  background: var(--paper-2);
}

@media (max-width: 960px) {
  .case-study-hero-grid,
  .corrective-action-grid { grid-template-columns: 1fr; }
  .case-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-data-grid > div:nth-child(2) { border-right: 0; }
  .case-data-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .case-study-hero { padding-top: 6.25rem; }
  .case-study-hero .actions,
  .case-study-hero .actions .btn { width: 100%; }
  .case-study-hero .actions .btn { justify-content: space-between; }
  .case-data-grid,
  .case-image-pair { grid-template-columns: 1fr; }
  .case-data-grid > div,
  .case-data-grid > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .case-data-grid > div:last-child { border-bottom: 0; }
  .case-image-pair img { height: auto; max-height: 300px; }
}
