/* Industries — page layer. Tokens and shared blocks stay in site.css. */

body.page-industries .page-hero h1,
body.page-industries .theme-banner h2,
body.page-industries .final-cta h2 {
  text-wrap: balance;
}

body.page-industries .page-hero h1 {
  max-width: 18em;
}

body.page-industries .page-hero p,
body.page-industries .theme-banner p {
  text-wrap: pretty;
}

/* Sector Coverage head reveals with the shared 640ms fade. Rows stagger after it. */
body.page-industries .on-white > .section-head[data-reveal] { --d: 0ms; }

body.page-industries .on-white > .sector-block[data-reveal]:nth-child(2) { --d: 0ms; }
body.page-industries .on-white > .sector-block[data-reveal]:nth-child(3) { --d: 60ms; }
body.page-industries .on-white > .sector-block[data-reveal]:nth-child(4) { --d: 120ms; }
body.page-industries .on-white > .sector-block[data-reveal]:nth-child(5) { --d: 180ms; }

/*
  Stack label + copy so both use the full content width.
  Avoids narrow-column wraps that leave a clipped half line.
*/
body.page-industries .sector-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 100%;
  align-items: start;
  padding: 28px 20px;
  margin: 0;
  border-radius: 10px;
  transition:
    background-color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

body.page-industries .sector-label,
body.page-industries .sector-copy {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

body.page-industries .sector-label {
  align-items: center;
}

body.page-industries .sector-block h3 {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  line-height: 1.28;
  text-wrap: balance;
  overflow-wrap: break-word;
  overflow: visible;
  white-space: normal;
}

body.page-industries .sector-copy p {
  width: 100%;
  max-width: none;
  overflow: visible;
  overflow-wrap: break-word;
  text-wrap: balance;
}

body.page-industries .sector-copy p.relevance {
  text-wrap: unset;
}

body.page-industries .sector-block .icon {
  transition:
    transform 320ms var(--ease),
    border-color 320ms var(--ease),
    background-color 320ms var(--ease);
}

body.page-industries .sector-block:hover {
  background: var(--cream);
  box-shadow: inset 3px 0 0 var(--accent);
}

body.page-industries .sector-block:hover .icon {
  transform: translateY(-3px);
  border-color: rgba(122, 47, 59, 0.45);
  background: var(--white);
}

body.page-industries .sector-block:focus-within {
  background: var(--cream);
  box-shadow: inset 3px 0 0 var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  body.page-industries [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  body.page-industries .sector-block:hover .icon,
  body.page-industries .sector-block:focus-within .icon {
    transform: none;
  }
}
