.industry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  background: #171f20;
  color: white;
}
.industry-hero-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 95px) 8%;
}
.industry-hero .breadcrumb { color: #c6cec8; }
.industry-hero h1 {
  max-width: 17ch;
  margin: 26px 0 18px;
  font: 600 clamp(40px, 4.8vw, 74px)/1.04 "Barlow Condensed", sans-serif;
  overflow-wrap: anywhere;
}
.industry-hero p {
  max-width: 54ch;
  color: #c6cec8;
  line-height: 1.7;
  margin-bottom: 26px;
}
.industry-hero figure {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}
.industry-hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.industry-hero figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  color: white;
  background: #171a1be8;
  font-size: .75rem;
}
.industry-hero figcaption a { text-decoration: underline; }
.application-intro { padding-block: clamp(30px, 4vw, 58px); }
.application-intro h1 { margin: 12px 0; }
.application-intro p { margin: 0; }
.industry-directory {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding-block: clamp(24px, 4vw, 60px);
}
.industry-card {
  grid-column: span 2;
  background: white;
  border: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.industry-card:nth-child(-n+2) { grid-column: span 3; }
.industry-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.industry-card > a:focus-visible { outline: 3px solid #b73816; outline-offset: 3px; }
.industry-card figure {
  margin: 0;
  overflow: hidden;
  background: #e8ebe6;
  aspect-ratio: 16 / 9;
}
.industry-card:nth-child(-n+2) figure { aspect-ratio: 2.3; }
.industry-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}
.industry-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(18px, 2.3vw, 30px);
}
.industry-card-body h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.industry-card-body p,
.industry-case p { line-height: 1.7; color: #505952; }
.industry-card-body p { margin: 8px 0 16px; max-width: 62ch; }
.industry-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.industry-topics li {
  background: #eef0eb;
  color: #39453d;
  padding: 4px 8px;
  font-size: .8rem;
}
.industry-card-action {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 13px;
  font-weight: 700;
}
.industry-card-action span { color: #b73816; }
.industry-card:is(:hover, :focus-within) { border-color: #b73816; }
.industry-card > a:is(:hover, :focus-visible) .industry-card-action { color: #b73816; }
.industry-card > a:hover img { transform: scale(1.035); }
.application-cta p { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .industry-card img { transition: none; }
  .industry-card > a:hover img { transform: none; }
}
@media (max-width: 900px) {
  .industry-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-card, .industry-card:nth-child(-n+2) { grid-column: auto; }
  .industry-card:nth-child(-n+2) figure { aspect-ratio: 16 / 9; }
}
@media (max-width: 580px) {
  .industry-directory { grid-template-columns: minmax(0, 1fr); }
}
.industry-controls h2,
.industry-resources h2 { margin-top: 0; }
.industry-controls table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  background: white;
  line-height: 1.6;
}
.industry-controls :is(th, td) {
  border: 1px solid var(--line);
  padding: 16px clamp(10px, 2.2vw, 28px);
  text-align: left;
  vertical-align: top;
}
.industry-controls thead th { background: #e8ebe6; }
.industry-controls tbody th { width: 32%; }
.industry-case { background: #e8ebe6; }
.industry-case p { max-width: 76ch; }
.industry-resources ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.industry-resources li a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
}
.industry-resources li a:hover { border-color: var(--ink); }
.industry-resources li a span { color: #b73816; }
.industry-resources small { color: #505952; }
@media (max-width: 760px) {
  .industry-hero { grid-template-columns: 1fr; }
  .industry-hero-copy { padding-inline: 6%; }
  .industry-hero figure { min-height: 0; aspect-ratio: 16 / 10; }
  .industry-controls :is(th, td) { font-size: .9rem; }
}
