/* ==========================================================================
   VANTIX SYSTEMS — pages/home-products.css
   "Products we supply": heading, then a list of brand names on the left and
   one image on the right. The names ripple like a wave while the page scrolls.
   ========================================================================== */

.products {
  background: var(--white);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.products__head {
  padding-top: var(--section-y);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.products__title {
  max-width: 16ch;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.products__lead {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--slate);
  font-size: var(--step-0);
  line-height: 1.6;
}

/* ---------- Names and image ---------- */
.products__split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.pl {
  border-top: 1px solid var(--line);
}

.pl__row {
  border-bottom: 1px solid var(--line);
}

.pl__row a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.85rem, 1.6vw, 1.25rem) 0;
  transition: color 0.4s ease, padding 0.5s var(--ease);
}

.pl__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pl__name .ch {
  display: inline-block;
  will-change: transform;
}

.pl__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease);
}
.pl__go svg {
  width: 1rem;
  height: 1rem;
}

.pl__row a:hover,
.pl__row a:focus-visible {
  color: var(--blue);
  padding-left: 0.75rem;
}
.pl__row a:hover .pl__go,
.pl__row a:focus-visible .pl__go {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(45deg);
}

.products__figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 1.25rem;
  background: var(--navy);
}
.products__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.products__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-top: clamp(2rem, 4vw, 3rem);
}

.products__note {
  max-width: 34rem;
  color: var(--slate);
  font-size: var(--step--1);
  line-height: 1.5;
}

@media (max-width: 63.9375rem) {
  .products__split {
    grid-template-columns: 1fr;
  }
  .products__figure {
    aspect-ratio: 4 / 3;
  }
}