/* ==========================================================================
   Industries — three premium cards, light (paper) background. Distinguished
   from the dark Trust/Why-Magnat card grids by being light and by using a
   large muted numeral instead of a check/icon mark.
   ========================================================================== */

.industries {
  background-color: var(--color-paper);
  color: var(--color-ink-on-paper);
  /* See founder.css — regular slate/brass fail contrast on paper. */
  --color-slate: var(--color-slate-on-paper);
  --color-brass: var(--color-brass-on-paper);
}

.industries-title {
  max-width: 30rem;
}

.industries-grid {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.industry-card {
  /* A hairline border on the same paper tone as the section behind it read
     as barely-there text with a faint outline — a white fill plus a
     resting shadow gives it real separation, not just a hover-only lift. */
  background-color: var(--color-white);
  padding: var(--space-6) var(--space-4);
  border: 1px solid var(--color-hairline-paper);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(20, 22, 26, 0.05);
  transition: border-color var(--duration-micro) var(--ease-response),
              transform var(--duration-micro) var(--ease-response),
              box-shadow var(--duration-micro) var(--ease-response);
}
.industry-card:hover {
  border-color: var(--color-brass);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover-light);
}

.industry-index {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-index);
  color: var(--color-brass);
}

.industry-title {
  margin-top: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-card-title);
  font-weight: 600;
  color: var(--color-ink-on-paper);
}

.industry-desc {
  margin-top: var(--space-2);
  color: var(--color-slate);
}

@media (max-width: 1023px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-card:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .industry-card:nth-child(3) {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-card:hover {
    transform: none;
  }
}
