/* Service pages: the few things the industry template does not already have.
   The look is the home v5 + the approved fintech page; this sheet only frames each page's cast and sets the
   block that carries the rest of the live lead (the live hero has two to five paragraphs). */

/* each page frames its own engineer (set inline as --hfx / --sfx by the generator) */
.sv-page .hero-video { object-position: var(--hfx, 72%) 30%; }
.sv-page .sol-media video { object-position: var(--sfx, 78%) 30%; }

/* the rest of the live lead: the first line as a claim, the rest of the paragraphs beside it */
.sv-intro { padding-block: clamp(64px, 8vw, 112px) clamp(48px, 5vw, 72px); }
.sv-intro-in {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--side);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start;
}
.sv-intro .sh-t { max-width: 24ch; font-size: clamp(24px, 2.5vw, 38px); }
.sv-intro-more { display: grid; gap: 1em; padding-top: .35em; max-width: 56ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--mute-l); }
.sv-intro-more p:last-child { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .sv-intro-in { grid-template-columns: 1fr; }
}

/* Key Facts: the figures under the columns */
.hx-legend { display: flex; gap: 18px; color: rgba(255,255,255,.7); font-size: 12px; }
.hx-legend em { font-style: normal; color: rgba(255,255,255,.42); }

/* View all Services: each open row shows the live line and its Explore More link; closed rows hide them from
   the keyboard too, so tabbing does not walk through 43 hidden links */
.sv-catalog .sol-more > div { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .6s; }
.sv-catalog .sol-i.is-on .sol-more > div { visibility: visible; transition: none; padding-bottom: 20px; }
.sv-catalog .sol-more > div > p:first-child { color: var(--mute-l); font-size: 15.5px; line-height: 1.55; max-width: 52ch; }
.sv-catalog .sol-more .sh-go { margin-top: 10px; font-size: 15px; }
.sv-catalog .sh-more { font-variant-numeric: tabular-nums; }

/* View all Services: the nine families as tabs over the list; phones swipe the row sideways */
.cat-tabs-wrap { max-width: var(--max); margin: 0 auto clamp(28px, 3.5vw, 44px); padding-inline: var(--side); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-l); border-radius: 999px;
  background: transparent; color: var(--mute-l); font: inherit; font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  cursor: pointer; transition: color .25s, background-color .25s, border-color .25s;
}
.cat-tab span { font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--mute-l); opacity: .75; transition: color .25s; }
.cat-tab:hover { color: var(--ink); border-color: var(--ink); }
.cat-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-tab[aria-selected="true"] span { color: #fff; opacity: .6; }
.cat-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sv-catalog .sol-i[hidden] { display: none; }
@media (max-width: 860px) {
  .cat-tabs-wrap { padding-inline: 0; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 4px var(--side); scrollbar-width: none; scroll-padding-inline: var(--side); }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { flex: none; padding: 9px 14px; font-size: 14.5px; }
}
.sv-catalog .sh-a { margin-bottom: clamp(20px, 2.4vw, 32px); }
