.rugged-hero {
  background: #f7faff url("images/rugged-factory-background.png") center right / cover no-repeat;
}

.rugged-hero .hero-grid {
  grid-template-columns: .86fr 1.14fr;
}

.rugged-hero .hero-copy {
  padding-bottom: 72px;
}

.rugged-hero h1 {
  max-width: 560px;
}

.rugged-hero-products {
  position: absolute;
  inset: 0;
  transform: translateY(-20px);
}

.rugged-hero-products::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 4%;
  right: 3%;
  bottom: 8%;
  height: 16px;
  background: rgba(12, 30, 52, .18);
  filter: blur(18px);
  transform: skewX(-7deg);
}

.rugged-device {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(11, 29, 52, .2));
}

.rugged-device--compact {
  z-index: 2;
  left: 2%;
  bottom: 0;
  width: 29%;
}

.rugged-device--system {
  z-index: 3;
  left: 28%;
  bottom: 4%;
  width: 36%;
}

.rugged-device--board {
  z-index: 1;
  left: 62%;
  bottom: 10%;
  width: 31%;
}

.product-lines-section {
  padding: 82px 0 96px;
}

.product-lines-intro {
  max-width: 850px;
  margin: 15px 0 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.product-line-card {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.product-line-card:hover {
  border-color: #a9c7ec;
  box-shadow: 0 14px 35px rgba(22, 64, 112, .08);
  transform: translateY(-2px);
}

.product-line-link {
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.product-line-visual {
  height: 205px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #edf2f7;
  background:
    linear-gradient(135deg, rgba(247, 250, 254, .25), rgba(238, 245, 252, .72));
}

.product-line-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--product-image-canvas-height, 205px);
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 11px 12px rgba(15, 40, 72, .12));
}

.product-line-image--nvidia {
  --product-image-canvas-height: 230px;
}

.product-line-image--performance {
  --product-image-canvas-height: 218px;
}

.product-line-image--pcie {
  --product-image-canvas-height: 226px;
}

.product-line-image--compact {
  --product-image-canvas-height: 220px;
}

.product-line-image--mobile {
  --product-image-canvas-height: 214px;
}

.product-line-image--edgeboard {
  --product-image-canvas-height: 224px;
}

.product-line-copy {
  flex: 1;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-line-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 600;
}

.product-line-copy p {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-line-cta {
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.product-line-cta .arrow {
  margin-left: 8px;
}

@media (max-width: 1100px) {
  .rugged-hero .hero-grid {
    grid-template-columns: .92fr 1.08fr;
  }

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

@media (max-width: 760px) {
  .rugged-hero {
    background-position: 64% center;
  }

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

  .rugged-hero .hero-copy {
    padding-bottom: 18px;
  }

  .rugged-hero-products {
    transform: translateY(-10px);
  }

  .rugged-device--compact {
    left: 1%;
    width: 30%;
  }

  .rugged-device--system {
    left: 27%;
    width: 38%;
  }

  .rugged-device--board {
    left: 62%;
    width: 33%;
  }

  .product-lines-section {
    padding: 66px 0 76px;
  }

  .product-line-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-line-card,
  .product-line-link {
    min-height: 410px;
  }

  .product-line-visual {
    height: 180px;
  }

  .product-line-image {
    height: min(var(--product-image-canvas-height, 205px), 205px);
  }
}
