/* Services pages (Capabilities, Industries), 2026-11-06.
   The pages use the site's standard blocks (the product photo hero, cells, the home product story);
   this file only adds the few pieces those blocks don't have.
   Markup: _src/gen_services.py. */

/* ---------- palette: the logo blue, as the shade scale the product hero uses (--pc-*) ---------- */
body[data-page="services"] { --pc-50: #eef8fc; --pc-100: #d6eef8; --pc-300: #8fd0ec; --pc-500: #1778a1; --pc-700: #0f5a7a; --pc-900: #0a3b51; }
[data-theme="dark"] body[data-page="services"] { --pc-50: color-mix(in srgb, #29AAE1 14%, #12181c); --pc-100: color-mix(in srgb, #29AAE1 28%, #12181c); --pc-500: #29AAE1; --pc-700: #8fd0ec; }

/* ---------- client logos under the Capabilities hero ---------- */
.clients-row { display: grid; gap: 18px; padding: clamp(36px, 4vw, 56px) var(--gutter); }
.clients-row ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 36px; --logo-k: 55px; } /* +25% (2026-11-06) */
.client-logo { height: calc(var(--logo-k) * var(--f, .5)); width: auto; opacity: .82; }
[data-theme="light"] .client-logo { filter: brightness(0); opacity: .68; } /* the logo files are white */
@media (min-width: 900px) { .clients-row ul { --logo-k: 67.5px; gap: 24px 48px; } }
/* label beside the logos only where all seven fit on one line; below that the label sits above and the logos centre */
@media (min-width: 1400px) {
  .clients-row { grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(32px, 4vw, 72px); }
  .clients-row ul { justify-content: space-between; gap: 24px 36px; }
}

/* ---------- Capabilities ---------- */
body[data-page="services"] .cells .tag { color: var(--brand-ink); }
.cap-ask .link { margin-top: 10px; }

/* ---------- Industries: the home product story with photos ---------- */
.ind-story { padding-top: clamp(64px, 8vw, 128px); }
.ind-story .holder { overflow: hidden; }
.ind-story .holder picture, .ind-photo { display: block; width: 100%; height: 100%; }
.ind-photo { object-fit: cover; object-position: var(--pos, 50% 50%); }
[data-theme="dark"] .ind-photo { filter: brightness(.88); }
.ind-story .holder::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 16, 22, 0) 55%, rgba(8, 16, 22, .6) 100%); }
.ind-logos { position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 26px); display: flex; align-items: center; gap: 26px; --logo-k: 58px; }
.ind-logo { height: calc(var(--logo-k) * var(--f, .5)); width: auto; }
.ind-credit { position: absolute; z-index: 1; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .4); color: rgba(255, 255, 255, .85);
  font: 400 10px/1.3 var(--mono); letter-spacing: .04em; }
.ind-credit a { text-decoration: underline; text-underline-offset: 2px; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.ind-chips a { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2);
  font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: border-color .3s, color .3s; }
.ind-chips a:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
@media (max-width: 1023px) {
  .ind-logos { --logo-k: 40px; gap: 18px; }
  .ind-credit { display: none; }
}
