/* ═══════════════════════════════════════════════════════════════
   ABOUT — "Clients our people have delivered for"
   Loaded on the About page only (see functions.php). Uses the theme
   tokens from main.css :root and mirrors existing components:
   .gl-chip / .svc-out-card (card + hover lift), .gl-org-col h2
   (accent-rule group label), .svc-out-num (serif accent figures),
   .ind-compliance (navy closing panel).
═══════════════════════════════════════════════════════════════ */
.dx-section {
  background: var(--white);
  padding: 96px 0 100px;
  border-top: 1px solid rgba(10,34,64,0.07);
}
.dx-head { max-width: 760px; margin-bottom: 36px; }
.dx-head .section-sub { max-width: 72ch; }

/* Headline figures */
.dx-stats {
  list-style: none; margin: 0 0 56px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--paper); border: 1px solid #E4E9F0; border-radius: 12px;
}
.dx-stats li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 22px 28px;
}
.dx-stats li + li { border-left: 1px solid #DCE3EC; }
.dx-stats b {
  font-family: var(--serif); font-weight: 300; font-size: 34px;
  line-height: 1; color: var(--navy); letter-spacing: -0.02em;
}
.dx-stats span { font-size: 13px; color: var(--muted); font-weight: 400; }

/* Sector group */
.dx-group { margin-bottom: 44px; }
.dx-group:last-of-type { margin-bottom: 48px; }
.dx-group-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.dx-group-h {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px; margin: 0;
}
.dx-group-h::before { content: ''; width: 24px; height: 2px; background: var(--accent); flex-shrink: 0; }
.dx-count {
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted); background: var(--paper); border: 1px solid #E4E9F0;
  border-radius: 999px; padding: 2px 8px;
}
.dx-group-link {
  font-size: 12px; font-weight: 500; color: var(--blue); letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(26,95,168,0.25); transition: border-color 0.2s;
}
.dx-group-link:hover { border-color: var(--blue); }

/* Logo grid */
.dx-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.dx-logo {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid #E4E9F0; border-radius: 10px;
  padding: 14px 12px 12px; min-height: 132px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dx-logo:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(10,34,64,0.3); border-color: #CED8E4; }
.dx-logo img {
  display: block; width: 100%; max-width: 160px; height: auto; aspect-ratio: 2 / 1;
  object-fit: contain;
}
.dx-name {
  margin-top: 8px; width: 100%;
  font-size: 11px; line-height: 1.35; color: var(--muted); text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Closing statement + attribution note */
.dx-close {
  position: relative; margin: 8px 0 22px; padding: 30px 36px 30px 40px;
  background: var(--paper); border: 1px solid #E4E9F0; border-radius: 12px; overflow: hidden;
}
.dx-close::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.dx-close-label {
  display: block; margin-bottom: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent);
}
.dx-close-text {
  margin: 0; max-width: 64ch;
  font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.5; letter-spacing: -0.01em; color: var(--muted);
}
.dx-close-lead { color: var(--navy); font-weight: 400; }
.dx-note { font-size: 11.5px; line-height: 1.6; color: var(--muted); max-width: 90ch; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .dx-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .dx-section { padding: 64px 0 72px; }
  .dx-stats { grid-template-columns: 1fr; }
  .dx-stats li + li { border-left: none; border-top: 1px solid #DCE3EC; }
  .dx-stats li { padding: 16px 20px; }
  .dx-stats b { font-size: 28px; }
  .dx-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .dx-logo { min-height: 0; padding: 10px 6px 8px; border-radius: 8px; }
  .dx-name { font-size: 10px; margin-top: 6px; }
  .dx-group { margin-bottom: 36px; }
  .dx-close { padding: 24px 22px 24px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .dx-logo, .dx-logo:hover { transition: none; transform: none; }
}
