:root {
  --ink: #101820;
  --muted: #5d6972;
  --line: #dce4e8;
  --paper: #ffffff;
  --soft: #f3f7f8;
  --aqua: #00a8bd;
  --green: #1f7d62;
  --gold: #d69d2d;
  --panel: #162229;
  --shadow: 0 24px 70px rgba(13, 33, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 232, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  width: 230px;
  height: 70px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: #34424a;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.16);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 7vw, 96px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  background: #eef5f6;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18vh;
  background: linear-gradient(0deg, rgba(238, 245, 246, 0.92), rgba(238, 245, 246, 0));
  pointer-events: none;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 249, 250, 0.96) 0%, rgba(244, 249, 250, 0.86) 35%, rgba(244, 249, 250, 0.32) 65%, rgba(244, 249, 250, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 28px;
  color: #34424a;
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 610px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 6px;
  background: rgba(16, 24, 32, 0.12);
  box-shadow: var(--shadow);
}

.hero-stats div {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-stats dt {
  margin-bottom: 4px;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.15;
}

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

.value-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.value-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 900;
}

.value-grid p,
.split p,
.contact-copy p {
  color: var(--muted);
}

.product-band {
  background: var(--soft);
}

.product-table {
  overflow: hidden;
  border: 1px solid #cfdde1;
  border-radius: 8px;
  background: #fff;
}

.table-row {
  display: grid;
  grid-template-columns: 1.25fr 0.6fr 1.35fr;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row span {
  padding: 20px;
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.table-row span:first-child {
  border-left: 0;
}

.table-head {
  color: #fff;
  background: var(--panel);
}

.table-head span {
  border-color: rgba(255, 255, 255, 0.14);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.custom-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-list li,
.app-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #f7fafb;
  font-weight: 800;
}

.blueprint-card {
  overflow: hidden;
  border: 1px solid #bfd6df;
  border-radius: 8px;
  background: #f5fbfc;
}

.custom-visual-card {
  overflow: hidden;
  border: 1px solid #bfd6df;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.custom-visual-card img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  background: #f5fbfc;
}

.blueprint-panel {
  position: relative;
  min-height: 320px;
  padding: 42px;
  background:
    linear-gradient(rgba(0, 168, 189, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 189, 0.13) 1px, transparent 1px),
    #eef8fa;
  background-size: 24px 24px;
}

.blueprint-panel::before {
  content: "";
  position: absolute;
  inset: 64px 74px 54px 76px;
  border: 2px solid #1f7d62;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
}

.cell-grid {
  position: absolute;
  inset: 88px 106px 86px 108px;
  background:
    repeating-linear-gradient(90deg, rgba(16, 24, 32, 0.78) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(0deg, rgba(16, 24, 32, 0.36) 0 2px, transparent 2px 34px);
}

.dim {
  position: absolute;
  color: #1f7d62;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dim.top {
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
}

.dim.side {
  top: 50%;
  left: 18px;
  transform: translateY(-50%) rotate(-90deg);
}

.junction {
  position: absolute;
  right: 94px;
  bottom: 72px;
  width: 42px;
  height: 28px;
  border-radius: 4px;
  background: #101820;
}

.cable {
  position: absolute;
  right: 58px;
  bottom: 82px;
  width: 46px;
  height: 3px;
  background: #101820;
}

.blueprint-copy {
  padding: 24px 28px 28px;
  background: #fff;
}

.blueprint-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.applications {
  background: #fff;
}

.application-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 18px;
}

.application-feature img,
.factory-lead img,
.factory-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-feature img {
  min-height: 340px;
  border-radius: 8px;
}

.application-feature div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #162229, #1f7d62);
}

.application-feature p,
.factory-lead p,
.factory-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.app-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.app-grid article h3 {
  padding-top: 14px;
  border-top: 4px solid var(--gold);
}

.app-grid article p {
  margin-bottom: 0;
  color: var(--muted);
}

.factory {
  background: var(--soft);
}

.cases {
  background: #fff;
}

.cases .section-heading p {
  max-width: 760px;
  color: var(--muted);
}

.case-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 46px);
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #162229, #1f7d62);
}

.case-copy > span {
  margin-bottom: 16px;
  color: #7ce7df;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.case-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
}

.case-points div {
  min-height: 92px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.case-points dt {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 900;
}

.case-points dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.case-images,
.case-grid {
  display: grid;
  gap: 16px;
}

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

.case-images img,
.case-grid img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafb;
}

.case-images img {
  height: 560px;
}

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

.case-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.case-grid img {
  height: 390px;
  margin-bottom: 18px;
}

.case-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.factory-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}

.factory-lead img {
  min-height: 380px;
  border-radius: 8px;
}

.factory-lead div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid #cfdde1;
  border-radius: 8px;
  background: #fff;
}

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

.factory-grid article {
  overflow: hidden;
  border: 1px solid #cfdde1;
  border-radius: 8px;
  background: #fff;
}

.factory-grid img {
  height: 210px;
}

.factory-grid span {
  display: block;
  margin: 18px 18px 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.factory-grid h3,
.factory-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.factory-grid p {
  margin-bottom: 22px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(32px, 5vw, 56px);
  padding: clamp(36px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(31, 125, 98, 0.86)),
    var(--panel);
  border-radius: 8px;
}

.contact .eyebrow {
  color: #7ce7df;
}

.contact h2 {
  max-width: 720px;
}

.contact-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.contact-panel p {
  margin-bottom: 8px;
  color: var(--muted);
}

.contact-panel a {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-weight: 900;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(244, 249, 250, 0.98) 0%, rgba(244, 249, 250, 0.9) 58%, rgba(244, 249, 250, 0.42) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.1));
  }

  .value-grid,
  .app-grid,
  .application-feature,
  .case-feature,
  .case-images,
  .case-grid,
  .factory-lead,
  .factory-grid,
  .contact,
  .split {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row span {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    width: 176px;
    height: 58px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  h1 {
    font-size: 39px;
  }

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

  .hero-stats div {
    min-height: 74px;
  }

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

  .case-images img,
  .case-grid img {
    height: auto;
    max-height: none;
  }

  .case-points {
    grid-template-columns: 1fr;
  }

  .blueprint-panel {
    min-height: 250px;
    padding: 28px;
  }

  .blueprint-panel::before {
    inset: 56px 42px 44px 48px;
  }

  .cell-grid {
    inset: 78px 66px 72px 72px;
  }

  .contact {
    margin-inline: 0;
    border-radius: 0;
  }
}
