/* Manufacturing-grade homepage rebuild. This file intentionally avoids the old dark-tech hero classes. */
.page-home {
  --mfg-ink: #111820;
  --mfg-muted: #5a6570;
  --mfg-line: #d8dee4;
  --mfg-soft: #f3f5f7;
  --mfg-panel: #ffffff;
  --mfg-dark: #121a22;
  --mfg-accent: #0b7f73;
  color: var(--mfg-ink);
  background: #f6f7f8;
}

.page-home .site-header {
  border-bottom: 1px solid #dfe5ea;
  background: rgba(248, 250, 251, 0.96);
  box-shadow: none;
}

.page-home .brand-logo {
  width: 218px;
  height: 52px;
}

.page-home .nav-links {
  color: #1d2732;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.page-home .header-cta {
  border-radius: 2px;
  background: var(--mfg-ink);
  box-shadow: none;
}

.mfg-home {
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 32, 0.035) 1px, transparent 1px),
    #f6f7f8;
  background-size: 72px 72px;
}

.mfg-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.mfg-hero {
  background:
    linear-gradient(180deg, #f8fafb 0%, #eef2f5 100%);
  border-bottom: 1px solid var(--mfg-line);
}

.mfg-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.78fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  min-height: calc(100dvh - 72px);
  padding: clamp(42px, 6vw, 76px) 0;
}

.mfg-hero-copy {
  max-width: 820px;
}

.mfg-label {
  margin: 0 0 22px;
  color: #516170;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mfg-hero h1,
.mfg-home h2,
.mfg-home h3 {
  margin: 0;
  color: var(--mfg-ink);
  font-family: "Arial Nova Cond", "Helvetica Neue", Arial, sans-serif;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.mfg-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 0.96;
}

.mfg-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #384653;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}

.mfg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.mfg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--mfg-ink);
  border-radius: 2px;
  color: var(--mfg-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.mfg-button:hover {
  transform: translateY(-1px);
}

.mfg-button-primary {
  color: #fff;
  background: var(--mfg-accent);
  border-color: var(--mfg-accent);
}

.mfg-button-secondary {
  background: transparent;
}

.mfg-rfq-panel {
  border: 1px solid #cfd7de;
  background: #fff;
}

.mfg-panel-head {
  padding: 28px;
  border-bottom: 1px solid var(--mfg-line);
  background: #111820;
}

.mfg-panel-head span {
  display: block;
  margin-bottom: 18px;
  color: #aab7c2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mfg-panel-head strong {
  display: block;
  max-width: 360px;
  color: #fff;
  font-family: "Arial Nova Cond", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 2.8vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.mfg-rfq-list {
  margin: 0;
}

.mfg-rfq-list div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--mfg-line);
}

.mfg-rfq-list div:last-child {
  border-bottom: 0;
}

.mfg-rfq-list dt {
  color: #64717d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mfg-rfq-list dd {
  margin: 0;
  color: #18232d;
  font-weight: 750;
  line-height: 1.35;
}

.mfg-scope {
  border-bottom: 1px solid var(--mfg-line);
  background: #fff;
}

.mfg-scope-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 1px solid var(--mfg-line);
}

.mfg-scope-bar a {
  display: grid;
  gap: 18px;
  min-height: 128px;
  padding: 22px;
  border-right: 1px solid var(--mfg-line);
  color: var(--mfg-ink);
  font-weight: 800;
  text-decoration: none;
}

.mfg-scope-bar span {
  color: var(--mfg-accent);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.mfg-section {
  padding: clamp(72px, 8vw, 116px) 0;
  border-bottom: 1px solid var(--mfg-line);
}

.mfg-two-col,
.mfg-process-layout,
.mfg-final-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}

.mfg-section-copy h2,
.mfg-compact-head h2,
.mfg-product-head h2,
.mfg-process h2,
.mfg-final-cta h2 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.mfg-section-copy p,
.mfg-compact-head p,
.mfg-process p,
.mfg-final-cta p {
  max-width: 64ch;
  margin: 20px 0 0;
  color: var(--mfg-muted);
  font-size: 17px;
  line-height: 1.65;
}

.mfg-capability-table {
  border-top: 1px solid var(--mfg-ink);
}

.mfg-capability-table article {
  display: grid;
  grid-template-columns: 130px minmax(180px, 0.62fr) minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--mfg-line);
}

.mfg-capability-table span,
.mfg-process-list span {
  color: var(--mfg-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mfg-capability-table strong,
.mfg-process-list strong {
  color: var(--mfg-ink);
  font-size: 19px;
  line-height: 1.25;
}

.mfg-capability-table p,
.mfg-process-list p {
  margin: 0;
  color: var(--mfg-muted);
  line-height: 1.55;
}

.mfg-applications,
.mfg-featured {
  background: var(--mfg-soft);
}

.mfg-compact-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.mfg-application-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-flow: dense;
  gap: 16px;
}

.mfg-application-card {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--mfg-dark);
}

.mfg-application-card:first-child {
  grid-row: span 2;
  min-height: 736px;
}

.mfg-application-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  opacity: 0.78;
  transition: transform 0.35s ease;
}

.mfg-application-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 32, 0.08), rgba(17, 24, 32, 0.82));
}

.mfg-application-card:hover img {
  transform: scale(1.035);
}

.mfg-application-card span,
.mfg-application-card strong {
  position: relative;
  z-index: 1;
  align-self: end;
  margin: 0 24px;
}

.mfg-application-card span {
  margin-top: auto;
  color: #d6e1e8;
  font-size: 12px;
  font-weight: 800;
}

.mfg-application-card strong {
  margin-bottom: 24px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.02;
}

.mfg-product-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.mfg-text-link {
  color: var(--mfg-ink);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mfg-home .product-ecosystem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--mfg-line);
  background: var(--mfg-line);
}

.mfg-home .ecosystem-card,
.mfg-home .product-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mfg-home .ecosystem-media,
.mfg-home .product-media {
  border-radius: 0;
  background: #eef2f4;
}

.mfg-home .ecosystem-body,
.mfg-home .product-card {
  background: #fff;
}

.mfg-home .grid-4 {
  gap: 1px;
  border: 1px solid var(--mfg-line);
  background: var(--mfg-line);
}

.mfg-process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mfg-ink);
}

.mfg-process-list li {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.48fr) minmax(0, 1fr);
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--mfg-line);
}

.mfg-architecture {
  background: #fff;
}

.mfg-diagram-grid .diagram-card {
  border-radius: 0;
  box-shadow: none;
}

.mfg-final-cta {
  padding: clamp(70px, 8vw, 110px) 0;
  color: #fff;
  background: var(--mfg-dark);
}

.mfg-final-layout {
  align-items: center;
}

.mfg-final-cta h2,
.mfg-final-cta p {
  color: #fff;
}

.mfg-final-cta p {
  color: #c7d0d8;
}

.mfg-final-cta .mfg-button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1180px) {
  .mfg-hero-layout,
  .mfg-two-col,
  .mfg-process-layout,
  .mfg-final-layout {
    grid-template-columns: 1fr;
  }

  .mfg-scope-bar,
  .mfg-home .product-ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mfg-application-card:first-child {
    min-height: 420px;
    grid-row: auto;
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .mfg-shell {
    width: min(100% - 24px, 1280px);
  }

  .page-home .brand-logo {
    width: min(210px, 56vw);
  }

  .mfg-hero-layout {
    min-height: auto;
    padding: 46px 0 54px;
  }

  .mfg-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .mfg-actions,
  .mfg-actions .mfg-button {
    width: 100%;
  }

  .mfg-rfq-list div,
  .mfg-capability-table article,
  .mfg-process-list li {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .mfg-scope-bar,
  .mfg-home .product-ecosystem-grid,
  .mfg-application-grid,
  .mfg-home .grid-4 {
    grid-template-columns: 1fr;
  }

  .mfg-application-card,
  .mfg-application-card:first-child {
    min-height: 320px;
    grid-column: auto;
  }

  .mfg-product-head {
    display: grid;
    align-items: start;
  }
}
