/* Larger industry photos share a gently staggered composition and baseline. */
.home-page .home-industries {
  padding: 90px 0 62px;
  background: #fff;
  color: var(--ink);
}
.home-page .home-industries > .wrap {
  width: min(1760px, calc(100% - 64px));
}
.industries-heading {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.industries-heading .eyebrow {
  justify-content: center;
}
.industries-heading h2 {
  margin: 24px 0 20px;
  font-size: clamp(36px, 4vw, 57px);
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.industries-heading h2 > span {
  display: inline-block;
  max-width: 100%;
}
.industries-heading > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto;
  color: #627584;
  font-size: 14px;
  line-height: 1.8;
}
.industry-photo-grid {
  --photo-base-height: clamp(380px, 22vw, 420px);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin-top: 52px;
}
.industry-photo-card {
  --photo-height: var(--photo-base-height);
  position: relative;
  display: block;
  padding-bottom: 0;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.industry-photo-card:nth-child(2),
.industry-photo-card:nth-child(6) {
  --photo-height: calc(var(--photo-base-height) + 12px);
}
.industry-photo-card:nth-child(3),
.industry-photo-card:nth-child(5) {
  --photo-height: calc(var(--photo-base-height) + 24px);
}
.industry-photo-card:nth-child(4) {
  --photo-height: calc(var(--photo-base-height) + 36px);
}
.industry-photo-context {
  position: absolute;
  left: 2px;
  bottom: 0;
  color: #536978;
  font-size: 10px;
  line-height: 1.5;
}
.industry-photo-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 44px;
  padding: 0 2px 12px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 600;
  line-height: 1.35;
}
.industry-photo-label > span {
  flex-shrink: 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  transition: transform 250ms;
}
.industry-photo-frame {
  position: relative;
  height: var(--photo-height);
  overflow: hidden;
  border-radius: 6px;
  background: #e4ebef;
}
.industry-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #11273812;
  border-radius: inherit;
  pointer-events: none;
}
.industry-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, center);
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.industry-photo-card--medical {
  --photo-position: 60% center;
}
.industry-photo-card--automotive {
  --photo-position: 53% center;
}
.industry-photo-card--construction {
  --photo-position: 50% center;
}
.industry-photo-card--appliances {
  --photo-position: 43% center;
}
.industry-photo-card--pneumatics,
.industry-photo-card--trucks {
  --photo-position: center;
}
.industry-photo-card--industrial {
  --photo-position: 55% center;
}
.industry-photo-card:hover,
.industry-photo-card:focus-visible {
  color: var(--blue);
}
.industry-photo-card:hover img,
.industry-photo-card:focus-visible img {
  transform: scale(1.045);
}
.industry-photo-card:hover .industry-photo-label > span,
.industry-photo-card:focus-visible .industry-photo-label > span {
  transform: translate(2px, -2px);
}
.industry-photo-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
  border-radius: 4px;
}
.js-motion .industry-photo-card.reveal {
  transition-delay: 0ms;
}
.js-motion .industry-photo-card.reveal:nth-child(2) {
  transition-delay: 65ms;
}
.js-motion .industry-photo-card.reveal:nth-child(3) {
  transition-delay: 130ms;
}
.js-motion .industry-photo-card.reveal:nth-child(4) {
  transition-delay: 195ms;
}
.js-motion .industry-photo-card.reveal:nth-child(5) {
  transition-delay: 260ms;
}
.js-motion .industry-photo-card.reveal:nth-child(6) {
  transition-delay: 325ms;
}
.js-motion .industry-photo-card.reveal:nth-child(7) {
  transition-delay: 390ms;
}
.industries-outro {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 35px;
  padding-top: 23px;
  border-top: 1px solid #dce5eb;
}
.industries-outro > p {
  margin: 0;
  font-size: 12px;
  color: #687c8b;
}
.industries-outro .text-link {
  margin: 0;
}
@media (max-width: 1500px) {
  .industry-photo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .industry-photo-card {
    grid-column: span 2;
  }
  .industry-photo-card:last-child {
    grid-column: 3 / span 2;
  }
  .industry-photo-card:nth-child(n) {
    --photo-height: 360px;
  }
  .industry-photo-label {
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  .industry-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .industry-photo-card {
    grid-column: auto;
  }
  .industry-photo-card:last-child {
    grid-column: 1 / -1;
  }
  .industry-photo-card:nth-child(n) {
    --photo-height: clamp(300px, 42vw, 380px);
  }
}
@media (max-width: 640px) {
  .home-page .home-industries {
    padding: 60px 0 44px;
  }
  .home-page .home-industries > .wrap {
    width: calc(100% - 32px);
  }
  .industries-heading h2 {
    font-size: clamp(30px, 5.6vw, 36px);
  }
  .industries-heading .eyebrow {
    font-size: 8px;
  }
  .industries-heading > p:not(.eyebrow) {
    font-size: 13px;
  }
  .industry-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
    margin-top: 32px;
  }
  .industry-photo-card:nth-child(n) {
    --photo-height: clamp(220px, 52vw, 310px);
  }
  .industry-photo-label {
    font-size: 13px;
  }
  .industries-outro {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }
}
.motion-paused .industry-photo-card.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.motion-paused .industry-photo-frame img,
.motion-paused .industry-photo-label > span {
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .industry-photo-card.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .industry-photo-frame img,
  .industry-photo-label > span {
    transform: none !important;
    transition: none;
  }
}
