.hero-viewport {
  overflow: hidden;
}

.hero-track {
  display: flex;
  transform: translateX(var(--hero-position, 0%));
  transition: transform 250ms cubic-bezier(.77, 0, .18, 1);
}

.hero-track .slide {
  flex: 0 0 100%;
  min-width: 0;
}

.hero-track .slide.active .slide-image {
  animation: none;
}

.hero-card .button {
  margin-top: 32px;
  padding-block: 11px;
  line-height: 1;
}

.hero-controls { display: contents; }
.slide-image-engineering { object-position: center 72%; }

@media (min-width: 601px) and (max-width: 991px) {
  .slide::before { background: linear-gradient(90deg, #05162df5, #05162dd9 48%, #05162d45); }
}

.hero .arrow {
  height: 48px;
  top: calc(50% - 24px);
}

@media (max-width: 992px) {
  .hero .arrow { opacity: 1; }
  .hero .arrow.prev { left: 4px; }
  .hero .arrow.next { right: 4px; }
}

@media (min-width: 993px) {
  .hero .arrow:not(:focus-visible) {
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
}

.page-title {
  width: min(1070px, calc(100% - 56px));
  padding-block: 40px 28px;
}

#industries-heading {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.2;
}

.highlights .wrap {
  width: min(1070px, calc(100% - 56px));
}

.home-teaser {
  text-align: center;
  text-decoration: none;
}

.home-teaser .text-link {
  margin-top: 0;
}

.home-teaser:hover .text-link {
  color: #004489;
}

.highlights .home-teaser > div {
  padding: 22px 18px 26px;
  gap: 14px;
  align-items: center;
}

.highlights .home-teaser p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.highlights .home-teaser h2 {
  display: grid;
  align-content: center;
  min-height: 2.5em;
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.25;
  text-wrap: balance;
}

.highlights .home-teaser .text-link { margin-top: auto; }

.products {
  width: min(1070px, 100%);
  padding-block: 48px 0;
  overflow: visible;
}

.products h2 {
  padding-inline: 14px;
  margin-bottom: 59px;
  text-wrap: balance;
}

.products .filters {
  align-items: flex-start;
  flex-wrap: nowrap;
  margin: 0 14px 77px;
}

.products .filter-types {
  gap: 3px;
}

.products .filter-types button {
  padding-block: 8px;
}

.products .filter-types .filter-toggle {
  color: #004489;
}

.products .filters select,
.product-category {
  width: 222px;
  max-width: 64%;
  height: 45px;
}

.product-category {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}

.product-category > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #5e6977;
  color: white;
  text-align: left;
  font-size: 16px;
  line-height: 1.2;
}

.product-category > button::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}

.product-category > button[aria-expanded="true"] {
  border-color: var(--mint);
}

.product-category > ul {
  position: absolute;
  inset: 100% 0 auto;
  margin: 0;
  padding: 0;
  border: 1px solid #d9dce0;
  border-radius: 4px;
  background: white;
  color: #233048;
  font-size: 14px;
  line-height: 20px;
  list-style: none;
}

.product-category > ul.opens-above {
  inset: auto 0 100%;
}

.product-category [role="option"] {
  padding: 8px 12px;
  cursor: pointer;
}

.product-category [role="option"]:hover,
.product-category [role="option"].active {
  background: #f0f2f4;
}

.product-carousel {
  padding-inline: 0;
}

.product-track {
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  padding: 10px 8px;
  scroll-padding-inline: 8px;
  min-height: 0;
}

.product-item {
  min-height: 612px;
  border: 0;
  padding: 38px 12px 16px;
  line-height: 32px;
  background: white;
  box-shadow: 0 2px 10px #cacaca;
}

.product-item:hover,
.product-item:focus-visible {
  box-shadow: 0 2px 10px #aaa, inset 0 -4px var(--mint);
}

.product-item img {
  width: calc(100% - 32px);
  padding: 16px;
  margin-bottom: 26px;
}

.product-item strong,
.product-item p,
.product-item small {
  font-size: 20px;
  line-height: 32px;
}

.product-item small {
  margin-top: 24px;
  padding-top: 0;
}

.product-item .product-label {
  left: auto;
  right: 0;
  top: 12px;
  min-width: 134px;
  padding: 4px 12px 4px 19px;
  background: #fd5959;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5% 75%, 0 50%, 5% 25%);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.product-item .product-label.topseller {
  background: #004489;
}

.product-carousel .arrow {
  z-index: 1;
  top: calc(50% - 24px);
  height: 48px;
}

.product-carousel .arrow.prev { left: -48px; }
.product-carousel .arrow.next { right: -48px; }

.banner {
  min-height: min(680px, calc(34vw + 136px));
  padding: 64px 0 96px;
}

.products + .banner {
  margin-top: 48px;
}

.banner .wrap {
  width: min(1070px, 100%);
  padding-inline: 14px;
}

.banner-card {
  width: min(100%, 507px);
  padding: 48px;
  background: rgba(255, 255, 255, .9);
}

.banner-card h2 {
  margin-bottom: 32px;
}

.support {
  width: min(1070px, 100%);
  padding-block: 48px;
}

.support .grid {
  width: min(843.6px, calc(100% - 28px));
  margin-top: 96px;
  transform: translateX(-14px);
}

.support-card {
  padding: 70px 24px 32px;
  min-height: 470px;
}

.support-card h3 {
  margin-bottom: 32px;
}

.support-card p {
  line-height: 20px;
  min-height: 60px;
}

.support-card .team {
  margin-block: 30px 44px;
}

.support-card .button {
  min-height: 40px;
  padding: 8px 28px;
}

.stories {
  background: #f5f5f5;
  padding-block: 48px 80px;
  margin-bottom: 48px;
}

.stories .wrap {
  width: min(862px, calc(100% - 208px));
}

.stories h2 {
  margin-bottom: 32px;
}

.stories .home-teaser {
  background: transparent;
  align-self: start;
}

.stories .home-teaser > div {
  align-items: center;
  padding: 16px 56px 2px;
  gap: 8px;
}

.stories .home-teaser .text-link {
  margin-top: 8px;
}

@media (max-width: 1165px) {
  .product-carousel .arrow.prev { left: 0; }
  .product-carousel .arrow.next { right: 0; }
}

@media (min-width: 768px) {
  .highlights .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .support .grid,
  .stories .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 991px) {
  .page-title h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .support h2,
  .stories h2 {
    font-size: 30px;
    line-height: 1.266;
  }

  .product-carousel {
    width: min(758px, 100%);
    margin-inline: auto;
  }

  .product-track {
    grid-auto-columns: calc((100% - 28px) / 2);
  }

  .banner-card {
    width: calc(100% * 2 / 3 - 9px);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .highlights {
    padding-block: 48px;
  }

  .products .filters {
    margin-bottom: 65px;
  }

  .product-item {
    min-height: 580px;
    padding-bottom: 8px;
  }

  .product-item img {
    margin-bottom: 1px;
  }

  .support {
    min-height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .support h2 {
    margin-bottom: 0;
  }

  .support .grid {
    width: calc(100% * 5 / 6 - 48px);
  }
}

@media (max-width: 600px) {
  .hero { background: white; }
  .hero-track .slide { align-items: end; min-height: 0; }
  .hero-track .slide[hidden] { display: none; }
  .slide::before { background: linear-gradient(180deg, #05162d0a 0%, #05162d8c 28%, #05162de8 56%, #05162d 100%); }
  .slide-image { object-position: 50% 36%; }
  .slide-image-ethernet { object-position: 72% center; }
  .slide-image-engineering { object-position: 76% 65%; }
  .hero-frame { width: 100%; padding: clamp(144px, 39vw, 210px) 24px 24px; }

  .hero-card h2 {
    margin-bottom: 12px;
    font-size: clamp(25px, 6.5vw, 34px);
    line-height: 1.15;
  }

  .hero-card .button { width: 100%; min-height: 44px; margin-top: 18px; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 24px 12px;
  }
  .hero .arrow {
    position: static;
    width: 44px;
    height: 44px;
    transform: none;
    color: var(--ink);
  }
  .hero .arrow::before { width: 12px; height: 12px; }
  .hero .dots { position: static; gap: 0; }
  .hero .dots button {
    width: 44px;
    height: 44px;
    border: 14px solid transparent;
    background-clip: padding-box;
    background-color: #c4d2dc;
    box-shadow: none;
  }
  .hero .dots button[aria-current] { background-color: var(--mint); box-shadow: none; }
}

@media (max-width: 767px) {
  .highlights {
    padding-block: 28px;
  }

  .highlights .wrap {
    gap: 24px;
  }

  .highlights .home-teaser h2 {
    min-height: 0;
    font-size: 24px;
  }

  .products h2 {
    font-size: 44px;
    line-height: 1.204;
    margin-bottom: 48px;
  }

  .products .filters {
    margin-bottom: 82px;
    gap: 6px;
  }

  .products .filter-types {
    row-gap: 6px;
  }

  .products .filter-types button {
    min-height: 33px;
    padding: 7px 9px;
    font-size: 12.5px;
  }

  .products .filters select,
  .product-category {
    margin-top: 12px;
  }

  .product-track {
    grid-auto-columns: 100%;
    gap: 18px;
    padding-inline: 9px;
    scroll-padding-inline: 9px;
  }

  .product-item {
    min-height: 580px;
    padding-top: 25px;
  }

  .product-item img {
    margin-bottom: 14px;
  }

  .product-item strong,
  .product-item p,
  .product-item small {
    overflow-wrap: anywhere;
    line-height: 28px;
  }

  .product-item small {
    margin-top: 16px;
  }

  .product-carousel .arrow { width: 48px; }
  .product-carousel .arrow.prev { left: 4px; }
  .product-carousel .arrow.next { right: 4px; }

  .banner {
    background-size: auto max(100vw, 290px);
    background-position: top center;
    min-height: 0;
    padding: max(75vw, 218px) 0 0;
    margin-bottom: 40px;
  }

  .banner-card {
    width: 100%;
    min-height: 268.6px;
    padding: 16px;
    background: white;
  }

  .banner-card h2 {
    font-size: 32px;
  }

  .banner-card p {
    font-size: 16px;
    line-height: 24px;
  }

  .support {
    width: calc(100% - 56px);
  }

  .support h2 {
    max-width: 215px;
    margin-inline: auto;
  }

  .support .grid {
    width: min(408px, calc(100% - 52px));
    gap: 64px;
  }

  .support-card {
    min-height: 542px;
    padding-top: 70px;
  }

  .support-card h3,
  .stories .home-teaser h3 {
    font-size: 21px;
  }

  .support-card p {
    line-height: 28px;
  }

  .support-card .team {
    margin-block: 24px 20px;
  }

  .support-card .team a {
    font-size: 31.2px;
    line-height: 54px;
  }

  .stories .grid {
    gap: 28px;
  }

  .stories .wrap {
    width: calc(100% - 56px);
  }

  .stories h2 {
    margin-inline: -14px;
    margin-bottom: 46px;
  }

  .stories .home-teaser > div {
    padding: 12px 20px 2px;
  }

  .stories .home-teaser p {
    font-size: 17px;
    line-height: 27px;
  }
}
