/* Research partnerships: hub and solution pages */
.cx-partners { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.cx-partners li { padding: 8px 14px; border: 1px solid var(--r-line); border-radius: 999px; background: #fff; font: 600 .82rem/1.2 var(--r-body); color: var(--r-ink); }
.cx-partners li b { color: var(--r-blue); font-weight: 700; }

.cx-programmes { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.cx-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius); overflow: hidden; box-shadow: var(--r-shadow); scroll-margin-top: 140px; transition: box-shadow .35s var(--r-ease), transform .35s var(--r-ease); }
.cx-card:hover { box-shadow: var(--r-shadow-hover); transform: translateY(-2px); }
.cx-card__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.cx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cx-num { font: 600 .8rem/1 var(--r-display); color: var(--r-blue); letter-spacing: .08em; margin-right: 4px; }
.cx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 650 10.5px/1.2 var(--r-body); letter-spacing: .1em; text-transform: uppercase; background: var(--r-mist); color: var(--r-ink); }
.cx-chip--stage { background: rgba(60, 194, 230, .14); color: #08597f; }
.cx-chip--stage::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--r-cyan); }
.cx-card h3 { margin: 0; font-family: var(--r-display); font-size: clamp(1.35rem, 2.1vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--r-ink); }
.cx-card__lede { margin: 0; font-size: clamp(.98rem, 1.1vw, 1.06rem); line-height: 1.7; color: var(--r-text); }
.cx-how { margin: 0; padding: 14px 16px; border-left: 3px solid var(--r-cyan); background: var(--r-paper); font-size: .92rem; line-height: 1.65; color: var(--r-muted); border-radius: 0 var(--r-radius-sm) var(--r-radius-sm) 0; }
.cx-how strong { color: var(--r-ink); }
.cx-uses { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.cx-uses li { font-size: .82rem; line-height: 1.3; padding: 6px 10px; border: 1px solid var(--r-line); border-radius: var(--r-radius-sm); color: var(--r-text); }
.cx-cta { margin-top: auto; padding-top: 8px; font: 600 .92rem/1.2 var(--r-body); color: var(--r-blue); text-decoration: none; align-self: flex-start; }
.cx-cta:hover { color: var(--r-ink); }
.cx-card__proof { background: var(--r-deep); color: #fff; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 4px; position: relative; isolation: isolate; }
.cx-card__proof::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, rgba(60, 194, 230, .22), transparent 60%); }
.cx-card__proof > p { margin: 0 0 10px; font: 650 10.5px/1.4 var(--r-body); letter-spacing: .16em; text-transform: uppercase; color: var(--r-cyan); }
.cx-stats { margin: 0; display: grid; gap: 0; }
.cx-stats > div { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.cx-stats > div:first-child { border-top: 0; padding-top: 4px; }
.cx-stats dt { font-family: var(--r-display); font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.cx-stats dt span { margin-left: 3px; font-size: .45em; font-weight: 600; letter-spacing: 0; color: var(--r-cyan); }
.cx-stats dd { margin: 8px 0 0; font-size: .86rem; line-height: 1.5; color: rgba(214, 228, 240, .8); }

.cx-spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cx-spotlight figure { margin: 0; border-radius: var(--r-radius); overflow: hidden; aspect-ratio: 4 / 3; }
.cx-spotlight figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-spotlight ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: cx; }
.cx-spotlight ol li { counter-increment: cx; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: .96rem; line-height: 1.6; color: var(--r-text); }
.cx-spotlight ol li::before { content: counter(cx, decimal-leading-zero); font: 600 .85rem/1.9 var(--r-display); color: var(--r-blue); }
.cx-spotlight ol strong { color: var(--r-ink); }

.cx-note { margin: clamp(24px, 3vw, 36px) 0 0; font-size: .82rem; line-height: 1.6; color: var(--r-muted); max-width: 900px; }

@media (max-width: 1000px) {
  .cx-card, .cx-spotlight { grid-template-columns: 1fr; }
  .cx-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cx-stats > div, .cx-stats > div:first-child { border-top: 1px solid rgba(255, 255, 255, .14); padding: 14px 0 0; }
}
@media (max-width: 640px) {
  .cx-stats { grid-template-columns: 1fr; gap: 0; }
  .cx-stats > div { padding: 14px 0; }
}

/* Solution detail pages */
.cx-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.cx-compare-wrap { overflow-x: auto; border: 1px solid var(--r-line); border-radius: var(--r-radius); background: #fff; }
.cx-compare { width: 100%; min-width: 520px; table-layout: fixed; border-collapse: collapse; font-size: .94rem; line-height: 1.55; }
.cx-compare th, .cx-compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--r-line); }
.cx-compare thead th { font: 650 11px/1.4 var(--r-body); letter-spacing: .12em; text-transform: uppercase; color: var(--r-muted); background: var(--r-paper); }
.cx-compare thead th:last-child { color: #fff; background: var(--r-ink); }
.cx-compare tbody th { font-family: var(--r-display); font-weight: 600; color: var(--r-ink); width: 22%; }
.cx-compare tbody td { color: var(--r-muted); }
.cx-compare tbody td:last-child { color: var(--r-ink); font-weight: 500; background: rgba(60, 194, 230, .07); }
.cx-compare tbody tr:last-child > * { border-bottom: 0; }
.cx-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--r-line); border: 1px solid var(--r-line); border-radius: var(--r-radius); overflow: hidden; }
.cx-related-grid a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: #fff; text-decoration: none; transition: background .3s ease; }
.cx-related-grid a:hover { background: #f7fbfe; }
.cx-related-grid small { font: 650 10.5px/1.4 var(--r-body); letter-spacing: .12em; text-transform: uppercase; color: var(--r-blue); }
.cx-related-grid strong { font-family: var(--r-display); font-size: 1.05rem; font-weight: 600; color: var(--r-ink); }
.cx-related-grid span { font-size: .88rem; line-height: 1.5; color: var(--r-muted); }
.cx-h-link { color: inherit; text-decoration: none; }
.cx-h-link:hover { color: var(--r-blue); }
@media (max-width: 1000px) { .cx-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cx-related-grid { grid-template-columns: 1fr; } }

/* ── Institute partnership system (v3) ──────────────────────────────
   Follows the site's solution-page grammar: hairline grids, left-aligned
   section heads, solid brand colours, rectangular logo plates.          */

/* Partner bar: the institutes, large and plain */
.px-partnerbar { background: #fff; border-top: 1px solid var(--r-line); border-bottom: 1px solid var(--r-line); }
.px-partnerbar__inner { display: grid; grid-template-columns: 180px repeat(3, minmax(0, 1fr)); align-items: stretch; }
.px-partnerbar__label { display: flex; align-items: center; padding: 28px 24px 28px 0; font: 650 11px/1.5 var(--r-body); letter-spacing: .16em; text-transform: uppercase; color: var(--r-muted); }
.px-org { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; padding: 26px 24px; border-left: 1px solid var(--r-line); text-decoration: none; color: inherit; }
.px-org img { width: 88px; height: 88px; object-fit: contain; }
.px-org strong { display: block; font: 600 1.12rem/1.2 var(--r-display); letter-spacing: -.01em; color: var(--r-ink); }
.px-org span { display: block; margin-top: 6px; font-size: .84rem; line-height: 1.45; color: var(--r-muted); }
.px-org--rispri img { width: 72px; height: 72px; margin: 8px; }

/* Shared section head (left-aligned, like sx-head) */
.px-section { padding: var(--r-section) 0; }
.px-section--tint { background: var(--r-mist); }
.px-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.px-head h2 { margin: 0; font-family: var(--r-display); font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; color: var(--r-ink); }
.px-head p { margin: 16px 0 0; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.7; color: var(--r-muted); }

/* Impact grid: hairline cells, solid numbers */
.px-impact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--r-line); border: 1px solid var(--r-line); border-radius: var(--r-radius); overflow: hidden; }
.px-impact > a, .px-impact > div { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 36px); background: #fff; text-decoration: none; color: inherit; transition: background .3s ease; }
.px-impact > a:hover { background: #f7fbfe; }
.px-impact b { font: 600 clamp(2.2rem, 3.6vw, 3.1rem)/1 var(--r-display); letter-spacing: -.035em; color: var(--r-ink); }
.px-impact p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--r-text); }
.px-impact small { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--r-line); font: 650 10.5px/1.4 var(--r-body); letter-spacing: .12em; text-transform: uppercase; color: var(--r-blue); }
.px-bar { height: 4px; background: var(--r-mist); }
.px-bar i { display: block; height: 100%; background: var(--r-blue); }

/* Institute panels */
.px-partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius); overflow: hidden; }
.px-partner + .px-partner { margin-top: clamp(20px, 2.5vw, 28px); }
.px-partner__id { padding: clamp(28px, 3.4vw, 48px); border-right: 1px solid var(--r-line); background: var(--r-paper); }
.px-partner__logo { display: block; width: clamp(110px, 11vw, 140px); height: clamp(110px, 11vw, 140px); object-fit: contain; margin-bottom: 24px; }
.px-partner h3 { margin: 0; font-family: var(--r-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; color: var(--r-ink); }
.px-partner__tag { margin: 12px 0 0; font-size: .98rem; line-height: 1.65; color: var(--r-muted); }
.px-facts { margin: 24px 0 0; border-top: 1px solid var(--r-line); }
.px-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--r-line); font-size: .9rem; }
.px-facts dt { color: var(--r-muted); }
.px-facts dd { margin: 0; font-weight: 600; color: var(--r-ink); text-align: right; }
.px-sol-list { display: flex; flex-direction: column; }
.px-sol { display: grid; grid-template-columns: 96px minmax(0, 1fr) 140px; gap: 20px; align-items: center; padding: 20px clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--r-line); text-decoration: none; color: inherit; transition: background .3s ease; }
.px-sol:last-child { border-bottom: 0; }
.px-sol:hover { background: #f7fbfe; }
.px-sol img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-radius-sm); }
.px-sol strong { display: block; font: 600 1.05rem/1.3 var(--r-display); color: var(--r-ink); }
.px-sol span { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.5; color: var(--r-muted); }
.px-sol em { font-style: normal; text-align: right; font: 600 1.35rem/1.1 var(--r-display); letter-spacing: -.02em; color: var(--r-ink); }
.px-sol em small { display: block; margin-top: 4px; font: 500 .74rem/1.35 var(--r-body); color: var(--r-muted); }

/* Solution cards */
.px-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.px-card { display: flex; flex-direction: column; border-radius: var(--r-radius); overflow: hidden; background: #fff; border: 1px solid var(--r-line); text-decoration: none; color: inherit; transition: box-shadow .35s var(--r-ease), border-color .35s ease; }
.px-card:hover { box-shadow: var(--r-shadow-hover); border-color: transparent; }
.px-card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.px-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--r-ease); }
.px-card:hover .px-card__img img { transform: scale(1.04); }
.px-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 22px; border-bottom: 1px solid var(--r-line); font: 600 .78rem/1.2 var(--r-body); color: var(--r-ink); }
.px-card__meta span { display: inline-flex; align-items: center; gap: 8px; }
.px-card__meta img { width: 24px; height: 24px; object-fit: contain; }
.px-card__meta i { font-style: normal; font-weight: 650; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--r-muted); }
.px-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.px-card__q { font-size: .84rem; font-weight: 600; color: var(--r-blue); }
.px-card h3 { margin: 0; font-family: var(--r-display); font-size: 1.2rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--r-ink); }
.px-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--r-muted); }
.px-card__stat { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--r-line); }
.px-card__stat b { font: 600 1.5rem/1 var(--r-display); letter-spacing: -.02em; color: var(--r-ink); }
.px-card__stat span { font-size: .82rem; color: var(--r-muted); }

/* Detail pages: institute plate in the hero */
.px-dev { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: center; margin: 0 0 26px; padding: 16px 22px 16px 16px; background: #fff; border: 1px solid var(--r-line); border-left: 3px solid var(--r-blue); border-radius: var(--r-radius-sm); max-width: 520px; }
.px-dev img { width: 76px; height: 76px; object-fit: contain; }
.px-dev small { display: block; font: 650 10px/1.3 var(--r-body); letter-spacing: .16em; text-transform: uppercase; color: var(--r-muted); }
.px-dev strong { display: block; margin-top: 4px; font: 600 1.15rem/1.2 var(--r-display); color: var(--r-ink); }
.px-dev span { display: block; margin-top: 4px; font-size: .82rem; color: var(--r-muted); }
.px-fig-badge { position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border-bottom-right-radius: var(--r-radius-sm); font: 600 .86rem/1.2 var(--r-display); color: var(--r-ink); }
.px-fig-badge img { width: 44px; height: 44px; object-fit: contain; }
.px-impact--plain > div { gap: 10px; }

@media (max-width: 1000px) {
  .px-partnerbar__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .px-partnerbar__label { grid-column: 1 / -1; padding: 20px 0 0; }
  .px-org:first-of-type { border-left: 0; padding-left: 0; }
  .px-org { grid-template-columns: 1fr; gap: 12px; }
  .px-impact, .px-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-partner { grid-template-columns: 1fr; }
  .px-partner__id { border-right: 0; border-bottom: 1px solid var(--r-line); }
}
@media (max-width: 640px) {
  .px-partnerbar__inner { grid-template-columns: 1fr; }
  .px-org, .px-org:first-of-type { grid-template-columns: 72px minmax(0, 1fr); border-left: 0; border-top: 1px solid var(--r-line); padding: 18px 0; }
  .px-org img { width: 72px; height: 72px; }
  .px-impact, .px-grid { grid-template-columns: 1fr; }
  .px-sol { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .px-sol img { width: 72px; height: 56px; }
  .px-sol em { grid-column: 2; text-align: left; }
}
