/* Homepage industry overview: photographic cards with accessible disclosures. */
.industry-overview {
  padding: 104px 0;
  background: var(--theme-background, #fff);
  color: var(--theme-heading, #111827);
}
.industry-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 24px 0 44px;
}
.industry-heading h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.15;
  max-width: 760px;
}
.industry-heading > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--theme-body, #4b5563);
  max-width: 300px;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.industry-card {
  padding: 0;
  border: 1px solid var(--theme-border, #e5e7eb);
  margin: 0;
  background: var(--theme-background, #fff);
  min-width: 0;
}
.industry-card summary {
  position: relative;
  display: block;
  list-style: none;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  isolation: isolate;
}
.industry-card summary::-webkit-details-marker {
  display: none;
}
.industry-card summary:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.58),
    rgba(0, 0, 0, 0.08) 65%,
    rgba(0, 0, 0, 0.12)
  );
  z-index: -1;
}
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  z-index: -2;
}
.industry-label {
  display: block;
  padding-right: 38px;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
}
.industry-toggle {
  position: absolute;
  right: 22px;
  top: 23px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #fff;
  transform-origin: center;
  transition: transform 0.2s ease;
}
.industry-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.industry-card[open] .industry-toggle {
  transform: rotate(45deg);
}
.industry-card summary:focus-visible {
  outline: 3px solid var(--theme-brand, #2563eb);
  outline-offset: 4px;
}
.industry-description {
  padding: 22px;
  border-top: 1px solid var(--theme-border, #e5e7eb);
}
.industry-description p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--theme-body, #4b5563);
}
.industry-description a {
  margin-top: 20px;
  font-size: 12px;
}
@media (max-width: 1100px) {
  .industry-grid {
    gap: 18px;
  }
  .industry-card summary {
    padding: 20px;
  }
  .industry-label {
    font-size: 18px;
    padding-right: 32px;
  }
  .industry-toggle {
    right: 16px;
    top: 19px;
    width: 27px;
    height: 27px;
  }
}
@media (max-width: 900px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .industry-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .industry-heading > p {
    max-width: 540px;
  }
  .industry-label {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .industry-overview {
    padding: 80px 0;
  }
  .industry-heading {
    margin-bottom: 32px;
  }
  .industry-grid {
    gap: 16px;
  }
  .industry-label {
    font-size: 21px;
  }
  .industry-card summary {
    padding: 18px 14px;
  }
  .industry-toggle {
    right: 13px;
    top: 17px;
    width: 25px;
    height: 25px;
  }
  .industry-description {
    padding: 18px 14px;
  }
}
@media (max-width: 420px) {
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .industry-label {
    font-size: 26px;
  }
  .industry-card summary {
    padding: 24px;
  }
  .industry-toggle {
    right: 22px;
    top: 23px;
    width: 30px;
    height: 30px;
  }
}
