/* About Us v42 refinement — scoped to this page only.
   Keeps site tokens and existing content intact. */

/* Consistent section rhythm (including final careers/brochures cards). */
body.page-about main > section.section,
body.page-about main > section.section.about-next {
  padding-top: clamp(64px, 5.6vw, 82px);
  padding-bottom: clamp(64px, 5.6vw, 82px);
}

/* Firm profile: align the long-form copy to the main content grid, and
   give it a contained, comfortable reading surface as in the supplied reference. */
body.page-about .about-profile-more {
  width: 100%;
  max-width: none;
  margin: 34px 0 0;
  padding: 32px clamp(24px, 3.4vw, 44px);
  border: 1px solid #dce7ef;
  border-left: 3px solid var(--brand-green, #50b848);
  border-radius: 13px;
  background: #f8fbfd;
  box-shadow: 0 9px 28px rgba(20, 45, 82, .045);
  display: grid;
  gap: 16px;
}
body.page-about .about-profile-more p {
  max-width: none;
  margin: 0;
  font-size: .965rem;
  line-height: 1.78;
  color: #445b70;
}
body.page-about .about-profile-more .about-product-chips {
  margin: 0 0 2px;
  gap: 8px;
}
body.page-about .about-profile-more .about-product-chips span {
  padding: 6px 11px;
}

/* Industry links: tighter, equal-height cards with compact aligned CTAs. */
body.page-about .about-industry-header {
  margin-top: 56px;
  margin-bottom: 24px;
}
body.page-about .about-industries {
  align-items: stretch;
  gap: 12px;
}
body.page-about .about-industry-link {
  min-height: 159px;
  height: 100%;
  padding: 15px 17px 14px;
  gap: 5px;
  border-radius: 11px;
}
body.page-about .about-industry-link .about-industry-index {
  line-height: 1.25;
}
body.page-about .about-industry-link strong {
  margin-top: 4px;
  padding: 0;
  font-size: .91rem;
  line-height: 1.32;
}
body.page-about .about-industry-link small {
  margin-bottom: 2px;
  font-size: .72rem;
  line-height: 1.4;
}
body.page-about .about-industry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 26px;
  margin-top: auto;
  padding: 4px 9px;
  border: 1px solid #cfe3f2;
  border-radius: 6px;
  background: #eff7fd;
  color: #0066b3;
  font-size: .7rem;
  font-weight: 750;
  line-height: 1.2;
}
body.page-about .about-industry-cta svg {
  width: 13px;
  height: 13px;
}
body.page-about .about-industry-link:hover .about-industry-cta,
body.page-about .about-industry-link:focus-visible .about-industry-cta {
  gap: 6px;
  background: #e6f5ff;
  border-color: #93cee8;
}

@media (max-width: 700px) {
  body.page-about main > section.section,
  body.page-about main > section.section.about-next {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  body.page-about .about-profile-more {
    margin-top: 26px;
    padding: 24px 21px;
    gap: 14px;
  }
  body.page-about .about-profile-more p {font-size: .94rem;line-height: 1.76;}
  body.page-about .about-industry-header {margin-top: 42px;}
  body.page-about .about-industry-link {min-height: 145px;}
}
@media (max-width: 420px) {
  body.page-about .about-industry-link {min-height: 137px;}
}

/* v60: keep firm-profile statistics inside the content width on small phones. */
@media (max-width:360px) {
  body.page-about .about-story {grid-template-columns:minmax(0,1fr);}
  body.page-about .about-story > div {min-width:0;}
  body.page-about .about-numbers {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  body.page-about .about-numbers > div {padding:14px 10px;min-width:0;}
  body.page-about .about-numbers strong {font-size:2rem;}
  body.page-about .about-numbers span {overflow-wrap:anywhere;}
}
