/* ==========================================================================
   Jenova Partners — Consultants directory & profile pages
   v20260812-c8
   Palette mirrors approved brand: slate-950 #07111a, slate-700 #1f3340,
   amber #d88900, warm-white #f7f4ee, stone #e6ddd0.
   ========================================================================== */

/* ---------- Toolbar (search + filters) ---------- */

.cs-section {
  padding: clamp(36px, 6vw, 64px) 0;
  background: var(--jp-warm-white, #f7f4ee);
  color: var(--jp-slate-700, #1f3340);
}

.cs-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 18px;
  background: #fffaf3;
  border: 1px solid var(--jp-stone, #e6ddd0);
}

.cs-search {
  position: relative;
}

.cs-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  color: rgb(31 51 64 / 0.45);
  pointer-events: none;
}

.cs-search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--jp-stone, #e6ddd0);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--jp-slate-700, #1f3340);
  border-radius: 0;
  appearance: none;
}

.cs-search input:focus-visible {
  outline: 2px solid var(--jp-amber, #d88900);
  outline-offset: 0;
}

.cs-filters {
  display: flex;
  gap: 14px;
}

.cs-select {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-select-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(31 51 64 / 0.6);
}

.cs-select select {
  min-width: 200px;
  padding: 12px 38px 12px 14px;
  border: 1px solid var(--jp-stone, #e6ddd0);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--jp-slate-700, #1f3340);
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f3340' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.cs-select select:focus-visible {
  outline: 2px solid var(--jp-amber, #d88900);
  outline-offset: 0;
}

.cs-heading {
  margin: 0 0 22px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--jp-slate-950, #07111a);
}

.cs-heading::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 10px;
  background: var(--jp-amber, #d88900);
}

/* ---------- Card grid ---------- */

.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.cs-card {
  display: flex;
  flex-direction: column;
  background: #fffaf3;
  border: 1px solid var(--jp-stone, #e6ddd0);
  transition: border-color 240ms ease, box-shadow 240ms ease, translate 240ms ease;
}

.cs-card[hidden],
.cs-card--team[hidden],
.cs-team[hidden],
.cs-empty[hidden] {
  display: none;
}

.cs-card:hover,
.cs-card:focus-within {
  border-color: rgb(216 137 0 / 0.55);
  box-shadow: 0 18px 44px rgb(7 17 26 / 0.1);
  translate: 0 -3px;
}

.cs-photo-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cs-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--jp-slate-700, #1f3340);
}

@supports not (aspect-ratio: 4 / 5) {
  .cs-photo::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 125%;
  }
}

.cs-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.cs-card:hover .cs-photo img,
.cs-card:focus-within .cs-photo img {
  transform: scale(1.045);
  filter: saturate(1);
}

/* Hover / focus reveal with contact details */
.cs-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(200deg, rgb(7 17 26 / 0.12) 0%, rgb(7 17 26 / 0.66) 58%, rgb(7 17 26 / 0.92) 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.cs-card:hover .cs-reveal,
.cs-card:focus-within .cs-reveal,
.cs-card.is-pinned .cs-reveal {
  opacity: 1;
  visibility: visible;
}

.cs-reveal-inner {
  width: 100%;
  transform: translateY(14px);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-card:hover .cs-reveal-inner,
.cs-card:focus-within .cs-reveal-inner,
.cs-card.is-pinned .cs-reveal-inner {
  transform: translateY(0);
}

.cs-reveal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.cs-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cs-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgb(247 244 238 / 0.3);
  background: rgb(247 244 238 / 0.08);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--jp-warm-white, #f7f4ee);
  text-decoration: none;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.cs-contact:hover {
  background: var(--jp-amber, #d88900);
  border-color: var(--jp-amber, #d88900);
  color: #07111a;
}

.cs-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #07111a;
  text-decoration: none;
  background: linear-gradient(160deg, #f4ba59 0%, #d88900 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 10px 26px rgb(4 10 16 / 0.4);
  transition: filter 220ms ease, translate 220ms ease, box-shadow 220ms ease;
}

.cs-view:hover {
  filter: brightness(1.07);
  translate: 0 -2px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 14px 30px rgb(4 10 16 / 0.5);
}

.cs-view svg {
  transition: translate 220ms ease;
}

.cs-card:hover .cs-view svg,
.cs-card:focus-within .cs-view svg {
  translate: 3px 0;
}

/* Placeholder tile for missing photos */
.cs-photo.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(70% 80% at 70% 20%, rgb(216 137 0 / 0.3) 0%, transparent 60%),
    linear-gradient(160deg, #0d2231 0%, #07111a 70%);
}

.cs-placeholder-initial {
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: clamp(4.2rem, 9vw, 6.4rem);
  font-weight: 600;
  line-height: 1;
  color: rgb(247 244 238 / 0.9);
  text-shadow: 0 2px 24px rgb(216 137 0 / 0.35);
}

/* Card caption */
.cs-card-caption {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--jp-stone, #e6ddd0);
}

html body.consultants-page .site-shell main#main.site-main .cs-card .cs-name {
  margin: 0 0 6px;
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--jp-slate-950, #07111a);
  text-wrap: balance;
}

html body.consultants-page .site-shell main#main.site-main .cs-card .cs-role {
  position: relative;
  margin: 0 0 10px;
  font-size: 0.92rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--jp-amber, #d88900);
}

html body.consultants-page .site-shell main#main.site-main .cs-card .cs-role::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: rgb(244 186 89 / 0.65);
}

.cs-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: rgb(31 51 64 / 0.7);
}

.cs-location svg {
  color: rgb(216 137 0 / 0.9);
}

/* Sector list with hairline separators */
.cs-sector-sep {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-sector-sep li {
  display: flex;
  align-items: center;
}

.cs-sector-sep li + li {
  border-left: 1px solid rgb(31 51 64 / 0.28);
}

.cs-sector-sep a,
.cs-sector-sep span {
  display: inline-block;
  padding: 2px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--jp-slate-700, #1f3340);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
}

.cs-sector-sep li:first-child a,
.cs-sector-sep li:first-child span {
  padding-left: 0;
}

.cs-sector-sep a:hover {
  color: var(--jp-amber, #d88900);
}

/* ---------- Empty state ---------- */

.cs-empty {
  margin: 42px 0 0;
  padding: 42px 24px;
  text-align: center;
  border: 1px dashed rgb(31 51 64 / 0.35);
  color: rgb(31 51 64 / 0.75);
}

/* ==========================================================================
   Profile page
   ========================================================================== */

.cp-hero {
  position: relative;
  isolation: isolate;
  background: #07111a;
  color: var(--jp-warm-white, #f7f4ee);
  overflow: hidden;
}

.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 58% at 78% 18%, rgb(216 137 0 / 0.14) 0%, transparent 58%),
    radial-gradient(46% 60% at 10% 82%, rgb(31 51 64 / 0.85) 0%, transparent 68%),
    linear-gradient(180deg, #07111a 0%, #0b1a26 60%, #10222f 100%);
}

.cp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.026) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.022) 0 1px, transparent 1px 88px);
  pointer-events: none;
}

.cp-hero-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  filter: blur(28px) saturate(0.7);
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cp-hero-inner {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.cp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(247 244 238 / 0.72);
  text-decoration: none;
  transition: color 220ms ease;
}

.cp-back svg {
  transition: translate 220ms ease;
}

.cp-back:hover {
  color: var(--jp-amber, #d88900);
}

.cp-back:hover svg {
  translate: -3px 0;
}

.cp-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cp-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--jp-slate-700, #1f3340);
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.45);
  border: 1px solid rgb(247 244 238 / 0.16);
}

.cp-portrait::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgb(216 137 0 / 0.5);
  pointer-events: none;
}

.cp-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cp-portrait.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(70% 80% at 70% 20%, rgb(216 137 0 / 0.32) 0%, transparent 60%),
    linear-gradient(160deg, #0d2231 0%, #07111a 70%);
}

.cp-info {
  padding-top: 8px;
  max-width: 620px;
}

html body .site-shell main#main.site-main .cp-hero .cp-name {
  margin: 0 0 6px;
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  font-weight: 520;
  line-height: 1.14 !important;
  letter-spacing: 0;
  color: var(--jp-warm-white, #f7f4ee);
  text-wrap: balance;
}

.cp-role {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jp-amber, #d88900);
}

.cp-location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: rgb(247 244 238 / 0.78);
}

.cp-location svg {
  color: var(--jp-amber, #d88900);
}

/* Sector separators inside hero */
.cp-sectors {
  margin: 0 0 18px;
}

.cp-sectors-label {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(247 244 238 / 0.5);
}

.cp-sector-sep {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-sector-sep li {
  display: flex;
  align-items: center;
}

.cp-sector-sep li:nth-child(even) {
  border-left: 1px solid rgb(247 244 238 / 0.3);
}

.cp-sector-sep a,
.cp-sector-sep span {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(247 244 238 / 0.9);
  text-decoration: none;
  white-space: normal;
  transition: color 200ms ease;
}

.cp-sector-sep li:first-child a,
.cp-sector-sep li:first-child span {
  padding-left: 0;
}

.cp-sector-sep li:nth-child(odd) a,
.cp-sector-sep li:nth-child(odd) span {
  padding-left: 0;
}

.cp-sector-sep a:hover {
  color: var(--jp-amber, #d88900);
}

.cp-intro {
  margin: 0 0 24px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgb(247 244 238 / 0.82);
}

.cp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cp-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: var(--jp-amber, #d88900);
  color: #07111a;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.cp-btn:hover {
  background: #e8a53a;
  box-shadow: 0 10px 30px rgb(216 137 0 / 0.3);
  color: #07111a;
}

.cp-btn-ghost {
  background: transparent;
  border: 1px solid rgb(247 244 238 / 0.32);
  color: var(--jp-warm-white, #f7f4ee);
}

.cp-btn-ghost:hover {
  background: rgb(247 244 238 / 0.12);
  border-color: rgb(247 244 238 / 0.5);
  box-shadow: none;
  color: var(--jp-warm-white, #f7f4ee);
}

/* ---------- Profile body ---------- */

.cp-section {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--jp-warm-white, #f7f4ee);
  color: var(--jp-slate-700, #1f3340);
}

.cp-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.cp-body-main {
  max-width: 720px;
}

.cp-body-title {
  margin: 0 0 8px;
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--jp-slate-950, #07111a);
}

.cp-body-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 12px;
  background: var(--jp-amber, #d88900);
}

.cp-para {
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgb(31 51 64 / 0.88);
}

.cp-credentials {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--jp-amber, #d88900);
  background: #fffaf3;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--jp-slate-700, #1f3340);
}

.cp-subtitle {
  margin: 30px 0 0;
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: 1.34rem;
  font-weight: 600;
  color: var(--jp-slate-950, #07111a);
  letter-spacing: 0;
}

.cp-highlights {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cp-highlights li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--jp-stone, #e6ddd0);
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgb(31 51 64 / 0.88);
}

.cp-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 14px;
  height: 1px;
  background: var(--jp-amber, #d88900);
}

.cp-body-aside {
  padding: 26px;
  background: #07111a;
  color: var(--jp-warm-white, #f7f4ee);
}

.cp-aside-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jp-amber, #d88900);
}

.cp-aside-block + .cp-aside-block {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgb(247 244 238 / 0.14);
}

.cp-aside-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-aside-links li + li {
  border-top: 1px solid rgb(247 244 238 / 0.1);
}

.cp-aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 2px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgb(247 244 238 / 0.88);
  text-decoration: none;
  transition: color 200ms ease;
}

.cp-aside-links a:hover {
  color: var(--jp-amber, #d88900);
}

.cp-aside-links svg {
  flex: 0 0 auto;
  opacity: 0.55;
  transition: translate 200ms ease, opacity 200ms ease;
}

.cp-aside-links a:hover svg {
  translate: 3px 0;
  opacity: 1;
}

/* ---------- Prev / next pager ---------- */

.cp-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(36px, 6vw, 56px);
  border-top: 1px solid var(--jp-stone, #e6ddd0);
  padding-top: 22px;
}

.cp-pager-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--jp-stone, #e6ddd0);
  background: #fffaf3;
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--jp-slate-950, #07111a);
  text-decoration: none;
  transition: border-color 220ms ease, color 220ms ease;
}

.cp-pager-link small {
  display: block;
  margin-bottom: 3px;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jp-amber, #d88900);
}

.cp-pager-link:hover {
  border-color: rgb(216 137 0 / 0.5);
}

.cp-pager-prev svg {
  flex: 0 0 auto;
}

.cp-pager-next {
  justify-content: flex-end;
  text-align: right;
}

.cp-pager-next svg {
  flex: 0 0 auto;
}

.cp-pager-prev:hover svg {
  translate: -3px 0;
  transition: translate 200ms ease;
}

.cp-pager-next:hover svg {
  translate: 3px 0;
  transition: translate 200ms ease;
}

/* ---------- Missing profile ---------- */

.cp-missing {
  min-height: 46vh;
  display: flex;
  align-items: center;
}

.cp-missing h1 {
  margin: 0 0 10px;
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--jp-slate-950, #07111a);
}

.cp-missing p {
  margin: 0 0 22px;
  max-width: 520px;
  line-height: 1.7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .cs-toolbar {
    grid-template-columns: 1fr;
  }

  .cs-filters {
    flex-wrap: wrap;
  }

  .cs-select select {
    min-width: 200px;
  }

  .cp-layout {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .cp-layout {
    grid-template-columns: 1fr;
  }

  .cp-portrait {
    max-width: 340px;
  }

  .cp-info {
    padding-top: 0;
  }

  .cp-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cp-hero-inner {
    width: min(100% - 36px, 1120px);
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .cs-toolbar {
    padding: 14px;
  }

  .cs-select {
    width: 100%;
  }

  .cs-select select {
    width: 100%;
    min-width: 0;
  }

  .cs-search input {
    padding-left: 40px;
  }

  .cs-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .cs-team-grid {
    max-width: none;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .cs-team {
    padding: 1.25rem;
  }

  .cs-card-caption {
    padding: 14px 14px 18px;
  }

  html body.consultants-page .site-shell main#main.site-main .cs-card .cs-name {
    font-size: 1.16rem !important;
  }

  html body.consultants-page .site-shell main#main.site-main .cs-card .cs-role {
    font-size: 0.74rem !important;
  }

  .cs-sector-sep li {
    flex: 1 1 auto;
  }

  .cs-sector-sep li + li {
    border-left: 0;
  }

  .cs-sector-sep li + li a,
  .cs-sector-sep li + li span {
    border-left: 1px solid rgb(31 51 64 / 0.28);
  }

  .cs-reveal {
    display: none;
  }

  .cp-sector-sep li {
    flex: 1 1 auto;
  }

  .cp-sector-sep li:nth-child(even) {
    border-left: 0;
  }

  .cp-sector-sep li:nth-child(even) a,
  .cp-sector-sep li:nth-child(even) span {
    border-left: 1px solid rgb(247 244 238 / 0.3);
  }

  .cp-pager {
    grid-template-columns: 1fr;
  }

  .cp-pager-next {
    justify-content: flex-start;
    text-align: left;
  }

  .cp-pager-next svg {
    order: -1;
  }
}

/* Tap-to-reveal on touch devices (large screens) */
@media (hover: none) {
  .cs-reveal {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-card,
  .cs-photo img,
  .cs-reveal,
  .cs-reveal-inner,
  .cs-view svg,
  .cp-back,
  .cp-pager-link,
  .cs-contact,
  .cp-btn,
  .cp-aside-links svg {
    transition: none;
    translate: none;
    transform: none;
  }
}
/* ---------- Ordering toggle ---------- */

.cs-order {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-order-btns {
  display: flex;
  border: 1px solid var(--jp-stone, #e6ddd0);
  background: #fff;
}

.cs-order-btns button {
  padding: 11px 16px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(31 51 64 / 0.65);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.cs-order-btns button + button {
  border-left: 1px solid var(--jp-stone, #e6ddd0);
}

.cs-order-btns button.is-active {
  background: var(--jp-slate-700, #1f3340);
  color: var(--jp-warm-white, #f7f4ee);
}

.cs-order-btns button:focus-visible {
  outline: 2px solid var(--jp-amber, #d88900);
  outline-offset: -2px;
}

/* ---------- Sector link hairline draw-in ---------- */

.cs-sector-sep a {
  position: relative;
}

.cs-sector-sep a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: var(--jp-amber, #d88900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-sector-sep li:first-child a::after {
  left: 0;
}

.cs-sector-sep a:hover::after,
.cs-sector-sep a:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- Focus rings on cards ---------- */

.cs-photo-link:focus-visible {
  outline: 2px solid var(--jp-amber, #d88900);
  outline-offset: -2px;
}

@media (max-width: 1024px) {
  .cs-order {
    min-width: 220px;
  }
}

/* ---------- Profile quote + facts ---------- */

.cp-quote {
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgb(247 244 238 / 0.16);
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.6;
  color: rgb(247 244 238 / 0.9);
}

.cp-quote::before {
  content: "\201C";
  color: var(--jp-amber, #d88900);
}

.cp-facts {
  margin: 20px 0 0;
  border-top: 1px solid rgb(247 244 238 / 0.16);
}

.cp-fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 0.86rem;
}

.cp-fact + .cp-fact {
  border-top: 1px solid rgb(247 244 238 / 0.12);
}

.cp-fact-label {
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgb(247 244 238 / 0.5);
  padding-top: 2px;
}

.cp-fact-value {
  text-align: right;
  color: rgb(247 244 238 / 0.92);
}

.cp-fact-avail {
  color: #8fce9a;
  font-weight: 600;
}

.cp-fact-avail::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #8fce9a;
  vertical-align: 1px;
  animation: cp-pulse 2.2s ease-in-out infinite;
}

@keyframes cp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cp-aside-line {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgb(247 244 238 / 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .cp-fact-avail::before {
    animation: none;
  }
}

/* ---------- Sector page: consultants reciprocity module ---------- */
html body .site-shell main#main.site-main .v2-sector-people {
  background: var(--jp-warm-white, #f7f4ee);
  padding: 5.5rem 0 6rem;
}
html body .site-shell main#main.site-main .v2-sector-people h2 {
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.16;
  color: var(--jp-slate-700, #1f3340);
  margin: 0.4rem 0 2.4rem;
  letter-spacing: -0.01em;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card:hover,
html body .site-shell main#main.site-main .v2-sector-people .sp-card:focus-visible {
  border-color: var(--jp-amber, #d88900);
  box-shadow: 0 8px 24px rgba(31, 51, 64, 0.1);
  transform: translateY(-2px);
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card:focus-visible {
  outline: 2px solid var(--jp-amber, #d88900);
  outline-offset: 2px;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-photo {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: #e7e2d8;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-photo-placeholder {
  display: grid;
  place-items: center;
  font-family: var(--font-display, "Noto Serif Display", Georgia, "Times New Roman", serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--jp-slate-700, #1f3340);
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--jp-slate-700, #1f3340);
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-loc {
  font-size: 0.8rem;
  color: var(--color-text-muted-dark);
  margin-top: 0.15rem;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-cta {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jp-amber, #d88900);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card-cta::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid currentColor;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transition: transform 0.2s ease;
}
html body .site-shell main#main.site-main .v2-sector-people .sp-card:hover .sp-card-cta::after {
  transform: translateX(3px);
}
@media (max-width: 720px) {
  html body .site-shell main#main.site-main .v2-sector-people {
    padding: 3.5rem 0 4rem;
  }
  html body .site-shell main#main.site-main .v2-sector-people .sp-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Consultants hero: identical look to the leadership page hero ---------- */
/* Mirrors the live leadership hero rules (dev-unified.css .page-hero-leadership block,
   "one team" 360px pad, and <=980 inner/h1 rules) scoped to .consultants-page. */
html body.consultants-page .site-shell main#main.site-main .page-hero-leadership {
  min-height: 100svh !important;
  min-height: 100dvh !important;
  display: flex !important;
  align-items: flex-end !important;
  background:
    linear-gradient(90deg, rgb(var(--jp-slate-950-rgb) / 0.38) 0%, rgb(var(--jp-slate-950-rgb) / 0.2) 44%, rgb(var(--jp-slate-950-rgb) / 0.05) 100%),
    linear-gradient(180deg, rgb(var(--jp-slate-950-rgb) / 0.05) 0%, rgb(var(--jp-slate-950-rgb) / 0.25) 100%),
    url("../img/stock/dev-about-people-meeting-2255145907.jpg") center -60px / cover no-repeat !important;
}
html body.consultants-page .site-shell main#main.site-main .page-hero-leadership::after {
  background:
    linear-gradient(90deg, rgb(var(--jp-slate-950-rgb) / 0.38) 0%, rgb(var(--jp-slate-950-rgb) / 0.2) 44%, rgb(var(--jp-slate-950-rgb) / 0.05) 100%),
    linear-gradient(180deg, rgb(var(--jp-slate-950-rgb) / 0.05) 0%, rgb(var(--jp-slate-950-rgb) / 0.25) 100%),
    url("../img/stock/dev-about-people-meeting-2255145907.jpg") center -60px / cover no-repeat !important;
}
html body.consultants-page .site-shell main#main.site-main .page-hero-leadership .page-hero-inner {
  box-sizing: border-box !important;
  width: min(calc(100% - 48px), 1560px) !important;
  max-width: 1560px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  padding-top: clamp(54px, 15vw, 60px) !important;
  padding-bottom: 360px !important;
}
html body.consultants-page .site-shell main#main.site-main .page-hero-leadership h1 {
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  font-size: clamp(2.75rem, 4.35vw, 4.9rem) !important;
  line-height: 1.02 !important;
  text-wrap: balance !important;
}

@media (max-width: 980px) {
  html body.consultants-page .site-shell main#main.site-main .page-hero-leadership .page-hero-inner {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-inline: auto !important;
  }
  html body.consultants-page .site-shell main#main.site-main .page-hero-leadership h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2rem, 8.2vw, 3rem) !important;
    line-height: 1.04 !important;
  }
}

html body.consultants-page .site-shell main#main.site-main .page-hero-leadership .eyebrow {
  margin: 0 0 clamp(16px, 2vw, 26px) !important;
  color: var(--jp-amber-light) !important;
  text-shadow: 0 6px 22px rgb(var(--jp-slate-950-rgb) / 0.42) !important;
}
html body.consultants-page .site-shell main#main.site-main .page-hero-leadership h1 {
  text-shadow: 0 6px 22px rgb(var(--jp-slate-950-rgb) / 0.42) !important;
}
html body.consultants-page .site-shell main#main.site-main .page-hero-leadership p:not(.eyebrow) {
  text-shadow: 0 4px 16px rgb(var(--jp-slate-950-rgb) / 0.36) !important;
}

/* ---------- "Our People" block (same presentation as the leadership tooltip page) ---------- */
html body.consultants-page .site-shell main#main.site-main .leadership-people-block {
  position: relative;
  padding: clamp(96px, 9vw, 140px) 0 clamp(96px, 9vw, 140px);
  background:
    radial-gradient(circle at 10% 15%, rgb(var(--jp-amber-rgb, 216 137 0) / 0.14), transparent 30rem),
    radial-gradient(circle at 92% 88%, rgb(var(--jp-slate-500-rgb, 100 116 139) / 0.1), transparent 28rem),
    radial-gradient(circle at 70% 5%, rgb(var(--jp-slate-700-rgb, 31 51 64) / 0.35), transparent 24rem),
    linear-gradient(160deg, rgb(var(--jp-slate-950-rgb, 7 17 26) / 0.97) 0%, rgb(var(--jp-slate-900-rgb, 15 23 34)) 52%, rgb(var(--jp-slate-950-rgb, 7 17 26)) 100%) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-aside {
  position: sticky;
  top: 132px;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-aside .eyebrow {
  margin-bottom: 18px;
  font-family: var(--jp-font-display, inherit);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgb(244 186 89);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-aside .eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: rgb(244 186 89);
  opacity: 0.95;
  box-shadow: 0 0 12px rgb(244 186 89 / 0.55);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-title {
  margin: 0 0 20px;
  font-family: var(--jp-font-display, inherit);
  font-size: clamp(2rem, 3.1vw, 3.3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: rgb(247 244 238);
  text-wrap: balance;
  text-shadow: 0 1px 24px rgb(7 17 26 / 0.35);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-tagline {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(0.98rem, 1.08vw, 1.08rem) !important;
  line-height: 1.6 !important;
  letter-spacing: 0.004em;
  color: rgb(178 190 202) !important;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-intro {
  margin: 0 0 clamp(28px, 3vw, 40px);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem) !important;
  font-weight: 520;
  line-height: 1.45 !important;
  letter-spacing: 0.001em;
  color: rgb(246 243 237) !important;
  max-width: 38ch;
  text-wrap: balance;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-body p {
  margin: 0 0 clamp(26px, 2.6vw, 36px);
  font-size: clamp(1.04rem, 1.15vw, 1.16rem) !important;
  line-height: 1.78 !important;
  letter-spacing: 0.005em;
  color: rgb(197 206 216) !important;
  max-width: 56ch;
  text-wrap: balance;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-callout {
  padding: clamp(22px, 2.4vw, 30px) clamp(24px, 2.8vw, 34px);
  border-left: 3px solid rgb(244 186 89);
  background: linear-gradient(90deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0.02));
  border-radius: 0 14px 14px 0;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), inset -1px 0 0 rgb(255 255 255 / 0.04);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-callout:last-child {
  margin-bottom: 0;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(32px, 3.5vw, 48px) 0 0;
  padding: clamp(26px, 2.8vw, 40px) clamp(20px, 2.4vw, 34px) clamp(22px, 2.2vw, 30px);
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 20px;
  background:
    radial-gradient(120% 180% at 12% 0%, rgb(244 186 89 / 0.08) 0%, transparent 42%),
    radial-gradient(120% 180% at 105% 110%, rgb(31 89 121 / 0.16) 0%, transparent 46%),
    linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.012));
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    0 18px 48px rgb(4 10 16 / 0.45);
  overflow: hidden;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(140px, 22vw, 260px);
  height: 2px;
  background: linear-gradient(90deg, rgb(244 186 89), rgb(244 186 89 / 0));
  opacity: 0.95;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat {
  position: relative;
  padding: 4px clamp(18px, 2vw, 28px) 6px;
  text-align: center;
  transition: background 320ms ease;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.14) 22%, rgb(244 186 89 / 0.28) 50%, rgb(255 255 255 / 0.14) 78%, transparent);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat:hover {
  background: radial-gradient(85% 90% at 50% 0%, rgb(244 186 89 / 0.09) 0%, transparent 72%);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: rgb(255 205 130);
  background:
    radial-gradient(120% 130% at 30% 16%, rgb(255 226 178 / 0.16) 0%, transparent 52%),
    radial-gradient(120% 160% at 80% 100%, rgb(244 186 89 / 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgb(244 186 89 / 0.12), rgb(244 186 89 / 0.05));
  border: 1px solid rgb(244 186 89 / 0.42);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.16),
    inset 0 -6px 14px rgb(244 186 89 / 0.1),
    0 8px 22px rgb(4 10 16 / 0.45),
    0 0 26px rgb(244 186 89 / 0.14);
  transition: color 280ms ease, border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
  filter: drop-shadow(0 1px 4px rgb(244 186 89 / 0.45));
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat:hover .people-stat-icon {
  color: rgb(255 224 168);
  border-color: rgb(244 186 89 / 0.75);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    inset 0 -6px 14px rgb(244 186 89 / 0.16),
    0 10px 26px rgb(4 10 16 / 0.5),
    0 0 34px rgb(244 186 89 / 0.35);
  transform: translateY(-3px);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat:hover dt {
  color: rgb(255 251 245);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat dd {
  margin: 0 0 8px;
  font-family: var(--jp-font-display, inherit);
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: rgb(255 251 245);
  background: linear-gradient(180deg, rgb(255 253 249), rgb(214 224 233));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat dd.people-stat-accent {
  background: linear-gradient(180deg, rgb(255 213 143), rgb(233 158 64));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 251 245 / 0.85);
}

html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat-note {
  margin: 8px auto 0;
  max-width: 220px;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgb(148 162 176) !important;
}

@media (max-width: 900px) {
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 4vw, 40px);
  }
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-aside {
    position: static;
  }
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat:not(:first-child)::before {
    display: none;
  }
}

@media (max-width: 480px) {
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat {
    padding: 10px 12px 14px;
  }
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat-icon svg {
    width: 20px;
    height: 20px;
  }
  html body.consultants-page .site-shell main#main.site-main .leadership-people-block .people-stat dd {
    font-size: 2.1rem;
  }
}

/* ===== Team block (below Partners) ===== */
.cs-team {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid rgb(var(--jp-slate-800-rgb, 23, 44, 60) / 0.18);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--jp-slate-900, #0e1d28), var(--jp-slate-950, #07111a));
  color: var(--jp-warm-white, #f7f4ee);
}

.cs-team-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.cs-team-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jp-amber, #d88900);
}

.cs-team-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgb(var(--jp-white-rgb, 255, 255, 255) / 0.85);
}

.cs-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  max-width: 520px;
}

.cs-card--team {
  display: block;
  overflow: hidden;
  background: rgb(var(--jp-white-rgb, 255, 255, 255) / 0.03);
  border: 1px solid rgb(var(--jp-white-rgb, 255, 255, 255) / 0.12);
  border-radius: 14px;
  transition: border-color 240ms ease, background 240ms ease, translate 240ms ease;
}

.cs-card--team:hover,
.cs-card--team:focus-within {
  border-color: rgb(var(--jp-amber-rgb, 216, 137, 0) / 0.6);
  background: rgb(var(--jp-white-rgb, 255, 255, 255) / 0.05);
  translate: 0 -3px;
}

.cs-team-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.cs-team-avatar,
.cs-team-avatar--photo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: rgb(var(--jp-amber-rgb, 216, 137, 0) / 0.1);
  color: var(--jp-amber, #d88900);
  font-weight: 700;
  font-size: 3.4rem;
}

.cs-team-avatar--photo {
  overflow: hidden;
  padding: 0;
  background: rgb(var(--jp-white-rgb, 255, 255, 255) / 0.08);
}

.cs-team-avatar--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cs-team-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px 4px;
  min-width: 0;
}

.cs-team-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--jp-warm-white, #f7f4ee);
  line-height: 1.2;
}

.cs-team-role {
  font-size: 0.82rem;
  color: rgb(var(--jp-white-rgb, 255, 255, 255) / 0.72);
}

.cs-team-loc {
  font-size: 0.8rem;
  color: rgb(var(--jp-amber-rgb, 216, 137, 0) / 0.9);
}

.cs-team-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 16px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgb(var(--jp-white-rgb, 255, 255, 255) / 0.75);
}

.cs-card--team:hover .cs-team-cta,
.cs-card--team:focus-within .cs-team-cta {
  color: var(--jp-amber, #d88900);
}

/* ===== Partners promo (temporary filler) ===== */
.cs-promo {
  grid-column-end: -1;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgb(var(--jp-amber-rgb, 216, 137, 0) / 0.4);
  background:
    radial-gradient(120% 120% at 100% 0%, rgb(var(--jp-amber-rgb, 216, 137, 0) / 0.22), transparent 55%),
    linear-gradient(160deg, var(--jp-slate-800, #142b3a), var(--jp-slate-950, #07111a));
  color: var(--jp-warm-white, #f7f4ee);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 100%;
}

.cs-promo-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: auto;
  max-width: 460px;
}

.cs-promo-eyebrow {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jp-amber, #d88900);
}

.cs-promo-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  color: var(--jp-warm-white, #f7f4ee);
}

.cs-promo-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgb(var(--jp-white-rgb, 255, 255, 255) / 0.8);
}

.cs-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0.6rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--jp-amber, #d88900);
  color: var(--jp-slate-950, #07111a);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 200ms ease, translate 200ms ease;
}

.cs-promo-cta:hover,
.cs-promo-cta:focus-visible {
  background: #f0a033;
  translate: 0 -2px;
}

/* ==========================================================================
   Super-responsive refinements (mobile / touch)
   ========================================================================== */

@media (max-width: 900px) {
  /* Center the portrait when it stacks above the info column */
  .cp-portrait {
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  /* Prevent iOS zoom on form controls */
  .cs-search input,
  .cs-select select {
    font-size: 16px;
  }

  .cs-section {
    padding: 28px 0 44px;
  }

  .cs-toolbar {
    gap: 10px;
  }

  .cs-heading {
    margin-bottom: 18px;
  }

  .cp-layout {
    gap: 26px;
  }

  .cp-back {
    margin-bottom: 24px;
  }

  .cp-sector-sep a,
  .cp-sector-sep span {
    padding: 4px 12px;
    font-size: 0.82rem;
  }

  .cp-body {
    gap: 26px;
  }

  .cs-team {
    padding: 1.25rem;
  }

  .cs-team-grid {
    gap: 12px;
  }

  .cs-team-avatar,
  .cs-team-avatar--photo {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .cs-toolbar {
    padding: 12px;
    gap: 8px;
  }

  .cs-search input {
    padding: 11px 12px 11px 38px;
  }

  .cs-select select {
    padding: 11px 34px 11px 12px;
  }

  .cs-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .cs-team-grid {
    max-width: none;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .cs-card-caption {
    padding: 12px 12px 16px;
  }

  .cp-hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .cp-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cp-btn {
    justify-content: center;
    padding: 12px 16px;
  }

  .cp-pager {
    margin-top: 30px;
    padding-top: 18px;
  }

  .cp-pager-link {
    padding: 12px 14px;
    font-size: 0.96rem;
  }

  .cp-body-aside {
    padding: 20px;
  }

  .cs-team-meta {
    padding: 12px 14px 4px;
  }

  .cs-team-name {
    font-size: 0.98rem;
  }

  .cs-team-cta {
    padding: 4px 14px 14px;
    font-size: 0.8rem;
  }

  .cs-team-avatar,
  .cs-team-avatar--photo {
    font-size: 2.1rem;
  }
}


