.industry-section {
  background: #f7f8fa;
  border-block: 1px solid #e0e5eb;
  color: #181b20;
}
.industry-section h2 { margin: 0 0 .5rem; }
.industry-lead {
  max-width: 48rem;
  color: #465261;
  line-height: 1.7;
  margin: 0 0 .35rem;
}
.industry-caption { margin: 0 0 1.25rem; color: #526070; font-size: .875rem; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
}
.industry-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid #dce1e7;
  border-top: 3px solid #ff6500;
  border-radius: .75rem;
  background: #fff;
}
.industry-card:nth-child(4) { grid-column: 2 / span 2; }
.industry-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e5e9ed;
}
.industry-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.industry-card h3 { margin: 0; }
.industry-card p {
  color: #465261;
  line-height: 1.65;
  margin: .5rem 0 .75rem;
  flex: 1;
}
.industry-card a {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.35;
  color: #a53c00;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.industry-card a:hover { color: #732900; }
.industry-card a:focus-visible { outline: 2px solid #a53c00; outline-offset: 3px; }


@media (max-width: 920px) {
  .industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .industry-card:nth-child(4) { grid-column: span 2; }
  .industry-card:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: minmax(0, 1fr); }
  .industry-card:nth-child(n) { grid-column: auto; }
}

.industry-open,
.industry-close {
  min-height: 44px;
  border: 1px solid #b6490a;
  border-radius: .4rem;
  padding: .4rem .75rem;
  background: #fff;
  color: #8b3400;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.industry-open {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  text-align: left;
}
.industry-open[hidden] { display: none; }
.industry-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.industry-open:focus-visible::after { box-shadow: inset 0 0 0 3px #a53c00; }
.industry-card:has(.industry-open:hover) { border-color: #b6490a; }
.industry-open:hover,
.industry-close:hover { background: #fff0e4; }
.industry-dialog {
  box-sizing: border-box;
  width: min(38rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #dce1e7;
  border-top: 4px solid #ff6500;
  border-radius: .75rem;
  background: #fff;
  color: #181b20;
  overflow: auto;
}
.industry-dialog::backdrop { background: rgb(15 19 25 / .65); }
.industry-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.industry-dialog h3 { margin-bottom: .35rem; }
.industry-dialog p,
.industry-dialog li { color: #465261; line-height: 1.65; }
.industry-dialog ul { padding-inline-start: 1.3rem; }
.industry-dialog li + li { margin-top: .35rem; }
.industry-detail-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.industry-detail-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a53c00;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
