/* ==========================================================================
   Design round 3: the Solutions overview (CMS /new/solutions), ported from the design's
   solutions.css with the KIT.md port rules (#view-solutions -> #cp-site). Class prefix sh-.
   Loaded by NextSiteShell on every new-site page; every rule targets sh- markup, which only the
   "solutions-map" and "solution-*" hero figures and the card_grid "solution" layout emit, except
   the ruled rows, which take the overview's sizes only on a page with solution blocks
   (#cp-site:has(.sh-sol)).
   Port changes, each marked "port:" below: "Common questions" is the kit's ruled rows (ps-who) and
   takes the design's sh-faq values; the closing card's white ground comes from the planner
   (cp-closing--white); the eyebrow separator of the Enterprise system badge is drawn only while
   the text shares the badge's line.
   ========================================================================== */

/* page-only figure tones for the scans inside each figure (no kit token for a sequence):
   light by default, pastel inside a dark surface */
#cp-site { --sh-m1: #1D4ED8; --sh-m2: #6D28D9; --sh-m3: #A21CAF; --sh-m4: #0E7490; }
#cp-site :is(.cp-band--dark, .cp-on-dark, .cp-core, .cp-dark-surface, .cp-fig-dark) { --sh-m1: #93C5FD; --sh-m2: #C4B5FD; --sh-m3: #F0ABFC; --sh-m4: #67E8F9; }
#cp-site .sh-m1 { --m: var(--sh-m1); }
#cp-site .sh-m2 { --m: var(--sh-m2); }
#cp-site .sh-m3 { --m: var(--sh-m3); }
#cp-site .sh-m4 { --m: var(--sh-m4); }

/* --------------------------------------------------------------------------
   HERO + THE MAP
   -------------------------------------------------------------------------- */
#cp-site .sh-hero { --cp-pt: 32px; --cp-pb: 64px; overflow: clip; }
#cp-site .sh-hero__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--cp-col-gap); align-items: center;
}
#cp-site .sh-hero__copy { position: relative; z-index: 2; padding-block: 24px; }
#cp-site .sh-hero__title { margin-top: 20px; }
#cp-site .sh-hero__lead { margin-top: 28px; max-width: 28em; }
#cp-site .sh-hero__actions { margin-top: 40px; }
#cp-site .sh-hero__art { position: relative; min-width: 0; }

/* the field bleeds to the viewport's right edge on desktop (as Home and Performance & Execution) */
#cp-site .sh-map {
  --bleed: max(var(--cp-gutter), calc((100vw - var(--cp-container)) / 2 + var(--cp-gutter)));
  position: relative; margin: 0 0 0 -8px;
  width: min(calc(100% + var(--bleed) - 8px), 1000px);
}
#cp-site .sh-map__box { container-type: inline-size; position: relative; aspect-ratio: 840 / 600; }
#cp-site .sh-hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#cp-site .sh-hero__svg--h {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 90%, transparent 100%);
}
#cp-site .sh-hero__svg--v {
  display: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* the people: grey; inside a solution's ring they turn ink and gather toward its scans */
#cp-site .sh-h-dot { fill: #CFCFD6; }
#cp-site .sh-h-dot--m {
  fill: #3F3F46; transform: translate(var(--tx), var(--ty));
  transition: fill 500ms var(--cp-ease-out) var(--d), transform 1000ms var(--cp-ease-out) var(--d);
}
.cp-js #cp-site:not(.is-entered) .sh-h-dot--m { fill: #CFCFD6; transform: none; }

/* links from people to the scan that measures them */
#cp-site .sh-h-link {
  fill: none; stroke: color-mix(in srgb, var(--c) 34%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 600ms var(--cp-ease-out) var(--d);
}
.cp-js #cp-site:not(.is-entered) .sh-h-link { stroke-dashoffset: 1; }

/* one ring per solution */
#cp-site .sh-h-ring {
  fill: color-mix(in srgb, var(--c) 4%, transparent);
  stroke: color-mix(in srgb, var(--c) 42%, transparent); stroke-width: 1; stroke-dasharray: 2 4;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center;
  transition: opacity 600ms var(--cp-ease-out) var(--d), transform 900ms var(--cp-ease-out) var(--d);
}
.cp-js #cp-site:not(.is-entered) .sh-h-ring { opacity: 0; transform: scale(0.84); }

/* the one model: brand gradient line, drawn once from left to right */
#cp-site .sh-h-line {
  fill: none; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1500ms cubic-bezier(0.45, 0, 0.55, 1) 200ms;
}
.cp-js #cp-site:not(.is-entered) .sh-h-line { stroke-dashoffset: 1; transition: none; }
#cp-site .sh-h-glow {
  fill: none; stroke: rgba(133, 44, 254, 0.10); stroke-width: 26; stroke-linecap: round; filter: blur(8px);
  transition: opacity 900ms var(--cp-ease-out) 700ms;
}
.cp-js #cp-site:not(.is-entered) .sh-h-glow { opacity: 0; transition: none; }

/* the scans: measuring points on the line */
#cp-site .sh-h-node {
  transform-box: fill-box; transform-origin: center;
  transition: opacity 300ms var(--cp-ease-out) var(--d), transform 600ms cubic-bezier(0.34, 1.4, 0.5, 1) var(--d);
}
.cp-js #cp-site:not(.is-entered) .sh-h-node { opacity: 0; transform: scale(0.3); }
#cp-site .sh-h-node__halo { fill: color-mix(in srgb, var(--c) 12%, transparent); stroke: color-mix(in srgb, var(--c) 40%, transparent); stroke-width: 1; }
#cp-site .sh-h-node__core { fill: #18181B; stroke: #fff; stroke-width: 2; }

/* chips: one per solution, linked to its page */
#cp-site .sh-chip {
  position: absolute; left: var(--hx); top: var(--hy); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  width: max-content; max-width: clamp(140px, 23cqw, 196px);
  padding: 9px 13px 10px 11px;
  background: #fff; border: 1px solid var(--cp-line); border-radius: 10px;
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.02), 0 10px 24px -14px rgba(2, 33, 105, 0.28);
  font-size: clamp(12px, 1.75cqw, 14px); font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; color: var(--cp-ink);
  text-decoration: none; text-wrap: balance;
  transform: translate(-50%, -100%);
  transition: opacity 450ms var(--cp-ease-out) var(--d), transform 650ms var(--cp-ease-out) var(--d),
              border-color var(--cp-dur) var(--cp-ease), box-shadow var(--cp-dur) var(--cp-ease);
}
#cp-site .sh-chip--below { transform: translate(-50%, 0); }
#cp-site .sh-chip::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent);
}
#cp-site .sh-chip::after {            /* arrow: it is a link */
  content: ""; flex: none; width: 12px; height: 12px; margin-left: 2px; background: var(--cp-muted);
  -webkit-mask: var(--cp-arrow) center / contain no-repeat; mask: var(--cp-arrow) center / contain no-repeat;
  transition: transform var(--cp-dur) var(--cp-ease), background-color var(--cp-dur) var(--cp-ease);
}
.cp-js #cp-site:not(.is-entered) .sh-chip { opacity: 0; transform: translate(-50%, calc(-100% + 6px)); }
.cp-js #cp-site:not(.is-entered) .sh-chip--below { transform: translate(-50%, -6px); }
#cp-site .sh-chip:hover {
  border-color: color-mix(in srgb, var(--c) 45%, var(--cp-line));
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.02), 0 14px 28px -14px rgba(2, 33, 105, 0.38);
  transition-delay: 0ms;
}
#cp-site .sh-chip:hover::after { transform: translateX(2px); background: var(--cp-ink); }
#cp-site .sh-chip:focus-visible { outline: 2px solid var(--cp-focus); outline-offset: 2px; }

@media (max-width: 1199px) {
  #cp-site .sh-hero { --cp-pt: 32px; --cp-pb: 64px; }
  #cp-site .sh-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  #cp-site .sh-hero__copy { padding-block: 0; max-width: 720px; }
  #cp-site .sh-map { width: 100%; max-width: 900px; margin: 0 auto; }
}
/* phones: the field stands upright, the line runs down, chips sit to the right of each ring */
@media (max-width: 767px) {
  #cp-site .sh-hero { --cp-pt: 24px; --cp-pb: 48px; }
  #cp-site .sh-hero__actions { margin-top: 32px; }
  #cp-site .sh-map { width: calc(100% + 2 * var(--cp-gutter)); max-width: none; margin-left: calc(-1 * var(--cp-gutter)); }
  #cp-site .sh-map__box { aspect-ratio: 600 / 760; }
  #cp-site .sh-hero__svg--h { display: none; }
  #cp-site .sh-hero__svg--v { display: block; }
  #cp-site .sh-chip, #cp-site .sh-chip--below {
    left: var(--vx); top: var(--vy);
    max-width: 44cqw; font-size: 13px; padding: 8px 11px 9px 10px;
    transform: translate(0, -50%);
  }
  .cp-js #cp-site:not(.is-entered) .sh-chip,
  .cp-js #cp-site:not(.is-entered) .sh-chip--below { transform: translate(-6px, -50%); }
}

/* --------------------------------------------------------------------------
   THE FOUR SOLUTIONS: split text + figure, then its scans as ledger rows
   -------------------------------------------------------------------------- */
#cp-site .sh-sol { --cp-pt: 72px; --cp-pb: 72px; }
#cp-site .sh-sol__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cp-col-gap);
  align-items: center;
}
#cp-site .sh-sol__copy { grid-column: 1 / span 5; grid-row: 1; }
#cp-site .sh-sol__pic { grid-column: 7 / span 6; grid-row: 1; min-width: 0; }
#cp-site .sh-sol--flip .sh-sol__copy { grid-column: 8 / span 5; }
#cp-site .sh-sol--flip .sh-sol__pic { grid-column: 1 / span 6; }

/* where this solution sits among the four (same marker as the scan rows of Performance & Execution) */
#cp-site .sh-sol__mark { margin-bottom: var(--cp-space-6); width: max-content; font-size: 10px; line-height: 10px; }
#cp-site .sh-pos { display: flex; align-items: center; width: 76px; height: 10px; position: relative; }
#cp-site .sh-pos::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: var(--cp-gradient); opacity: 0.35;
  clip-path: polygon(0 0, 100% 30%, 100% 70%, 0 100%);
}
#cp-site .sh-pos i { position: relative; flex: 1; display: flex; justify-content: center; }
#cp-site .sh-pos i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cp-white); border: 1px solid #A1A1AA; }
#cp-site .sh-pos i.is-on::before { width: 9px; height: 9px; border: 0; background: var(--cp-indigo); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); }

#cp-site .sh-sol__title { text-wrap: balance; }
#cp-site .sh-sol__num { color: var(--cp-indigo-text); font-variant-numeric: tabular-nums; }
#cp-site .sh-sol__question {
  position: relative; margin-top: var(--cp-space-6); padding-left: var(--cp-space-6);
  color: var(--cp-ink-2); text-wrap: balance; font-size: clamp(22px, 2.2vw, 30px);
}
#cp-site .sh-sol__question em { font-style: italic; }
#cp-site .sh-sol__question::before {
  content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 2px; border-radius: 1px;
  background: var(--cp-gradient-v);
}
#cp-site .sh-sol__for {
  margin-top: var(--cp-space-6); max-width: 34em;
  font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--cp-muted);
}
#cp-site .cp-section--ground .sh-sol__for { color: var(--cp-muted-on-tint); }
#cp-site .sh-sol__for strong { font-weight: 500; color: var(--cp-ink); }
#cp-site .sh-sol__actions { margin-top: var(--cp-space-6); }

/* the scans: compact ledger rows (an overview, not the solution page) */
#cp-site .sh-scans { margin-top: var(--cp-space-7); }
#cp-site .sh-scans .cp-ledger__row {
  grid-template-columns: 32px minmax(0, 17em) minmax(0, 1fr) 32px;
  gap: var(--cp-space-5); padding: 17px var(--cp-space-4); margin-inline: calc(-1 * var(--cp-space-4));
  border-radius: var(--cp-r-sm);
}
#cp-site .sh-scans .cp-ledger__glyph,
#cp-site .sh-scans .cp-ledger__glyph svg { width: 28px; height: 28px; }
#cp-site .sh-scans .cp-ledger__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
#cp-site .sh-scans .cp-ledger__text {
  font-size: 17px; font-weight: 300; letter-spacing: 0; line-height: 1.55; color: var(--cp-muted);
}
#cp-site .cp-section--ground .sh-scans .cp-ledger__text { color: var(--cp-muted-on-tint); }
#cp-site .sh-scans a.cp-ledger__row:hover .cp-ledger__text { color: var(--cp-ink-2); }
#cp-site .sh-scans .cp-ledger__arrow { width: 32px; height: 32px; }
#cp-site .sh-scans .cp-ledger__arrow::after { width: 14px; height: 14px; }
@media (max-width: 899px) {
  #cp-site .sh-scans .cp-ledger__row {
    grid-template-columns: 28px minmax(0, 1fr) 32px;
    gap: 6px var(--cp-space-4); padding: 16px var(--cp-space-4);
  }
  #cp-site .sh-scans .cp-ledger__text { padding-left: calc(28px + var(--cp-space-4)); padding-right: 40px; font-size: 16px; }
}
@media (max-width: 767px) {
  #cp-site .sh-scans .cp-ledger__row { margin-inline: -12px; padding: 14px 12px; }
  #cp-site .sh-scans .cp-ledger__text { padding-right: 0; }
}
#cp-site .sh-uses { margin-top: var(--cp-space-6); max-width: none; }

/* Enterprise system: the kit's badge is drawn for dark grounds; on light it takes the warn tone (as on Home) */
#cp-site .sh-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-bottom: var(--cp-space-6);
  font-size: var(--cp-fs-label); font-weight: 500; line-height: 1.4; color: var(--cp-ink-2);
}
#cp-site .sh-eyebrow .cp-badge--enterprise {
  color: var(--fig-warn);
  background: color-mix(in srgb, var(--fig-warn) 8%, transparent);
  border-color: color-mix(in srgb, var(--fig-warn) 30%, transparent);
}
#cp-site .sh-eyebrow .cp-badge--enterprise::before { background: var(--fig-warn); }
/* port: the "·" sits inside the text's span, drawn in the column gap to its left (the design's
   10px gap, the "·", 10px gap). When the text wraps to its own line, the separator falls left of the
   eyebrow's edge and the clip hides it, so no separator hangs at the end of the badge line. */
#cp-site .sh-eyebrow { column-gap: calc(20px + 0.3041em); clip-path: inset(-8px -8px -8px 0); }
#cp-site .sh-eyebrow__text { position: relative; }
#cp-site .sh-eyebrow__sep { position: absolute; right: 100%; top: 0; width: calc(20px + 0.3041em); text-align: center; color: var(--cp-muted); }

@media (max-width: 1023px) {
  #cp-site .sh-sol { --cp-pt: 80px; --cp-pb: 80px; }
}
@media (max-width: 899px) {
  #cp-site .sh-sol__grid { row-gap: var(--cp-space-7); }
  #cp-site .sh-sol__copy, #cp-site .sh-sol--flip .sh-sol__copy { grid-column: 1 / -1; grid-row: 1; }
  #cp-site .sh-sol__pic, #cp-site .sh-sol--flip .sh-sol__pic { grid-column: 1 / -1; grid-row: 2; max-width: 640px; }
  #cp-site .sh-scans { margin-top: var(--cp-space-6); }
}
@media (max-width: 767px) {
  #cp-site .sh-sol { --cp-pt: 56px; --cp-pb: 56px; }
  #cp-site .sh-sol__question { padding-left: var(--cp-space-5); }
  #cp-site .sh-sol__for { font-size: 16px; }
  #cp-site .sh-eyebrow__sep { display: none; }
  #cp-site .sh-eyebrow__text { flex-basis: 100%; }
}

/* --------------------------------------------------------------------------
   THE FIGURES (light instrument panels)
   -------------------------------------------------------------------------- */
#cp-site .sh-fig { margin: 0; }
#cp-site .sh-inst { padding: 20px 24px 18px; }
#cp-site .sh-inst__body { aspect-ratio: 560 / 270; }
#cp-site .sh-svg { display: block; width: 100%; height: 100%; overflow: visible; }
#cp-site .sh-legend {
  display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--fig-line);
  font-family: var(--cp-mono); font-size: 12px; line-height: 1.5; color: var(--fig-muted);
}
#cp-site .sh-legend > span { display: inline-flex; align-items: center; gap: 8px; }
#cp-site .sh-legend > span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--m); }
#cp-site .sh-legend--m1 { --m: var(--sh-m1); }
#cp-site .sh-legend--m2 { --m: var(--sh-m2); }
#cp-site .sh-legend--m3 { --m: var(--sh-m3); }
#cp-site .sh-legend--m4 { --m: var(--sh-m4); }
@media (max-width: 767px) {
  #cp-site .sh-inst { padding: 18px 14px 16px; }
  #cp-site .sh-legend { gap: 6px 14px; font-size: 11.5px; }
}

/* 1. Performance & Execution: the flow */
#cp-site .sh-pe-strand { fill: none; stroke: var(--fig-text); stroke-opacity: 0.5; stroke-width: 1.3; stroke-linecap: round; }
#cp-site .sh-pe-strand--through { stroke: var(--fig-accent); stroke-opacity: 1; stroke-width: 2; }
#cp-site .sh-pe-leak { fill: none; stroke: var(--fig-line-strong); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: none; }
#cp-site .sh-pe-lost { fill: var(--fig-line-strong); }
#cp-site .sh-pe-src { fill: var(--fig-text); stroke: var(--fig-bg); stroke-width: 1.5; }
#cp-site .sh-pe-ring { fill: color-mix(in srgb, var(--m) 8%, transparent); stroke: var(--m); stroke-width: 1.3; }
#cp-site .sh-pe-core { fill: var(--m); stroke: var(--fig-bg); stroke-width: 2; }
#cp-site .sh-pe-tick { stroke: var(--m); stroke-width: 1.2; }
#cp-site .sh-pe-res { fill: var(--fig-text); stroke: var(--fig-bg); stroke-width: 2; }
#cp-site .sh-pe-res__halo { fill: color-mix(in srgb, var(--fig-accent) 10%, transparent); stroke: color-mix(in srgb, var(--fig-accent) 45%, transparent); stroke-dasharray: 2 3; }

/* 2. Leadership & Organizational Health: the team */
#cp-site .sh-lo-tree { stroke: var(--fig-line); stroke-width: 1.4; }
#cp-site .sh-lo-node { fill: var(--fig-muted); stroke: var(--fig-bg); stroke-width: 1.5; }
#cp-site .sh-lo-node--mgr { fill: var(--fig-text); }
#cp-site .sh-lo-node--top { fill: var(--fig-text); stroke-width: 2; }
#cp-site .sh-lo-ring { fill: color-mix(in srgb, var(--m) 8%, transparent); stroke: var(--m); stroke-width: 1.3; stroke-dasharray: 3 3; }
#cp-site .sh-lo-eff { stroke: var(--m); stroke-width: 1.4; stroke-linecap: round; }
#cp-site .sh-lo-rise { fill: none; stroke: var(--m); stroke-width: 1.4; stroke-linecap: round; }
#cp-site .sh-lo-stall { fill: var(--fig-bg); stroke: var(--m); stroke-width: 1.4; stroke-dasharray: 2 2; }
#cp-site .sh-lo-run { fill: none; stroke: var(--fig-text); stroke-opacity: 0.55; stroke-width: 1.4; }
#cp-site .sh-lo-exp { fill: none; stroke: var(--m); stroke-width: 2; stroke-linecap: round; }

/* 3. Growth & Transformation */
#cp-site .sh-gt-stage { fill: none; stroke: var(--m); stroke-width: 1.3; stroke-dasharray: 3 4; opacity: var(--o); }
#cp-site .sh-gt-link { stroke: var(--fig-line-strong); stroke-width: 1.1; stroke-opacity: 0.7; }
#cp-site .sh-gt-node { fill: var(--fig-text); stroke: var(--fig-bg); stroke-width: 1.5; }
#cp-site .sh-gt-node--new { fill: var(--fig-bg); stroke: var(--fig-text); stroke-width: 1.3; }
#cp-site .sh-gt-node--b { fill: var(--fig-muted); }
#cp-site .sh-gt-seam { fill: color-mix(in srgb, var(--m) 8%, transparent); stroke: var(--m); stroke-width: 1.2; stroke-dasharray: 3 3; }
#cp-site .sh-gt-bridge { stroke: var(--m); stroke-width: 1.4; stroke-linecap: round; }

/* 4. Workforce Readiness & Decisions */
#cp-site .sh-wr-role { fill: var(--fig-bg); stroke: var(--fig-line-strong); stroke-width: 1; }
#cp-site .sh-wr-role--crit { stroke: var(--m); stroke-width: 1.6; fill: color-mix(in srgb, var(--m) 6%, var(--fig-bg)); }
#cp-site .sh-wr-bar { stroke: var(--fig-line-strong); stroke-width: 3; stroke-linecap: round; }
#cp-site .sh-wr-bar--s { stroke: var(--fig-line); }
#cp-site .sh-wr-diamond { fill: var(--m); stroke: var(--fig-bg); stroke-width: 1.5; }
#cp-site .sh-wr-tie { stroke: var(--fig-line-strong); stroke-width: 1; }
#cp-site .sh-wr-succ { fill: var(--m); stroke: var(--fig-bg); stroke-width: 1.5; }
#cp-site .sh-wr-succ--open { fill: var(--fig-bg); stroke: var(--m); stroke-width: 1.3; }
#cp-site .sh-wr-gap { fill: none; stroke: var(--fig-risk); stroke-width: 1.4; stroke-dasharray: 2 2.5; }
#cp-site .sh-wr-sep { stroke: var(--fig-line); stroke-width: 1; }
#cp-site .sh-wr-lane { fill: var(--fig-panel); stroke: var(--fig-line); stroke-width: 1; }
#cp-site .sh-wr-range { fill: color-mix(in srgb, var(--m) 16%, transparent); stroke: color-mix(in srgb, var(--m) 50%, transparent); stroke-width: 1; }
#cp-site .sh-wr-pos { fill: var(--m); stroke: var(--fig-bg); stroke-width: 1.5; }
#cp-site .sh-wr-ref { stroke: var(--fig-line-strong); stroke-width: 1; stroke-dasharray: 3 3; }

/* scroll-in (figures only): lines draw, marks pop, ranges grow. Final states are the defaults. */
#cp-site .sh-pop { transform-box: fill-box; transform-origin: center; }
.cp-js #cp-site .sh-inst[data-inview] .sh-draw {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset var(--dur, 600ms) var(--cp-ease-out) var(--d, 0ms);
}
.cp-js #cp-site .sh-inst[data-inview] .sh-pop {
  opacity: 0; transform: scale(0.4);
  transition: opacity 300ms var(--cp-ease-out) var(--d, 0ms), transform 550ms cubic-bezier(0.34, 1.4, 0.5, 1) var(--d, 0ms);
}
.cp-js #cp-site .sh-inst[data-inview] .sh-draw-x {
  transform-box: fill-box; transform-origin: left center; transform: scaleX(0);
  transition: transform 800ms var(--cp-ease-out) var(--d, 0ms);
}
.cp-js #cp-site .sh-inst[data-inview].is-inview .sh-draw { stroke-dashoffset: 0; }
.cp-js #cp-site .sh-inst[data-inview].is-inview .sh-pop { opacity: 1; transform: none; }
.cp-js #cp-site .sh-inst[data-inview].is-inview .sh-draw-x { transform: none; }
/* the stage outlines keep their own opacity when shown */
.cp-js #cp-site .sh-inst[data-inview].is-inview .sh-gt-stage { opacity: var(--o); }

/* --------------------------------------------------------------------------
   COMMON QUESTIONS (port: the kit's ruled rows ps-who, here the faq block's layout "rows", with the design's sh-faq values)
   -------------------------------------------------------------------------- */
#cp-site:has(.sh-sol) .ps-who__rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--cp-line); }
#cp-site:has(.sh-sol) .ps-who__row {
  position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--cp-col-gap); align-items: baseline;
  padding: 28px 0 30px; border-top: 1px solid var(--cp-line);
}
#cp-site:has(.sh-sol) .ps-who__row::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--cp-ink); }
#cp-site:has(.sh-sol) .ps-who__title {
  font-size: clamp(22px, 2.1vw, 28px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2;
  color: var(--cp-ink); text-wrap: balance; max-width: 17em;
}
#cp-site:has(.sh-sol) .ps-who__text { font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--cp-muted); max-width: 52ch; }
#cp-site:has(.sh-sol) .ps-who { --cp-pt: 88px; --cp-pb: 96px; }
/* port: the closing card's white ground is cp-closing--white (planner: the section before is white). */
@media (max-width: 1023px) { #cp-site:has(.sh-sol) .ps-who { --cp-pb: 88px; } }
@media (max-width: 767px) {
  #cp-site:has(.sh-sol) .ps-who { --cp-pb: 64px; }
  #cp-site:has(.sh-sol) .ps-who__row { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding: 24px 0 26px; }
  #cp-site:has(.sh-sol) .ps-who__text { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   Reduced motion: the kit cuts durations and adds is-inview at once; the hero shows its end state
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cp-js #cp-site:not(.is-entered) .sh-h-dot--m { fill: #3F3F46; transform: translate(var(--tx), var(--ty)); }
  .cp-js #cp-site:not(.is-entered) .sh-h-link,
  .cp-js #cp-site:not(.is-entered) .sh-h-line { stroke-dashoffset: 0; }
  .cp-js #cp-site:not(.is-entered) .sh-h-ring,
  .cp-js #cp-site:not(.is-entered) .sh-h-node,
  .cp-js #cp-site:not(.is-entered) .sh-h-glow { opacity: 1; transform: none; }
  .cp-js #cp-site:not(.is-entered) .sh-chip { opacity: 1; transform: translate(-50%, -100%); }
  .cp-js #cp-site:not(.is-entered) .sh-chip--below { transform: translate(-50%, 0); }
  .cp-js #cp-site .sh-inst[data-inview] .sh-draw { stroke-dashoffset: 0; }
  .cp-js #cp-site .sh-inst[data-inview] .sh-pop { opacity: 1; transform: none; }
  .cp-js #cp-site .sh-inst[data-inview] .sh-draw-x { transform: none; }
  .cp-js #cp-site .sh-inst[data-inview] .sh-gt-stage { opacity: var(--o); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .cp-js #cp-site:not(.is-entered) .sh-chip,
  .cp-js #cp-site:not(.is-entered) .sh-chip--below { transform: translate(0, -50%); }
}

/* ==========================================================================
   Solution-page heroes (round 3): Leadership & Organizational Health, Growth & Transformation,
   Workforce Readiness & Decisions. The solution's overview drawing (sh-lo / sh-gt / sh-wr, styled
   above), larger, on a dot field, in the place of the Performance & Execution flow (pe-hero grid,
   same bleed), with one white chip per scan. Load: the drawing fades in, lines draw, marks pop,
   then the leaders and chips. No JS / reduced motion: final state.
   ========================================================================== */
#cp-site .sh-shero {
  --bleed: max(var(--cp-gutter), calc((100vw - var(--cp-container)) / 2 + var(--cp-gutter)));
  position: relative; width: min(calc(100% + var(--bleed) - 8px), 1000px); margin: 0 0 0 -8px;
}
#cp-site .sh-shero__box { container-type: inline-size; position: relative; aspect-ratio: 840 / 600; }
#cp-site .sh-shero__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#cp-site .sh-shero__svg--v { display: none; }
#cp-site .sh-sh-leader { stroke: var(--m); stroke-width: 1.4; stroke-linecap: round; }

#cp-site .sh-tag {
  position: absolute; left: var(--hx); top: var(--hy); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  width: max-content; max-width: clamp(140px, 24cqw, 210px);
  padding: 9px 13px 10px 11px;
  background: #fff; border: 1px solid var(--cp-line); border-radius: 10px;
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.02), 0 10px 24px -14px rgba(2, 33, 105, 0.28);
  font-size: clamp(12px, 1.75cqw, 14px); font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; color: var(--cp-ink);
  text-decoration: none; text-wrap: balance;
  transform: translate(-50%, -100%);
  transition: opacity 450ms var(--cp-ease-out) var(--d), transform 650ms var(--cp-ease-out) var(--d),
              border-color var(--cp-dur) var(--cp-ease), box-shadow var(--cp-dur) var(--cp-ease);
}
#cp-site .sh-tag--below { transform: translate(-50%, 0); }
#cp-site .sh-tag--left { transform: translate(-100%, -50%); }
#cp-site .sh-tag--right { transform: translate(0, -50%); }
#cp-site .sh-tag::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent);
}
#cp-site a.sh-tag:hover {
  border-color: color-mix(in srgb, var(--c) 45%, var(--cp-line));
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.02), 0 14px 28px -14px rgba(2, 33, 105, 0.38);
  transition-delay: 0ms;
}
#cp-site .sh-tag:focus-visible { outline: 2px solid var(--cp-focus); outline-offset: 2px; }

/* load animation (start states only with JavaScript, before #cp-site.is-entered) */
.cp-js #cp-site .sh-sh-art { transition: opacity 500ms var(--cp-ease-out) 100ms; }
.cp-js #cp-site:not(.is-entered) .sh-sh-art { opacity: 0; transition: none; }
.cp-js #cp-site .sh-shero .sh-draw {
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--dur, 600ms) var(--cp-ease-out) calc(var(--d, 0ms) + 200ms);
}
.cp-js #cp-site:not(.is-entered) .sh-shero .sh-draw { stroke-dashoffset: 1; transition: none; }
.cp-js #cp-site .sh-shero .sh-pop {
  transition: opacity 300ms var(--cp-ease-out) calc(var(--d, 0ms) + 200ms),
              transform 550ms cubic-bezier(0.34, 1.4, 0.5, 1) calc(var(--d, 0ms) + 200ms);
}
.cp-js #cp-site:not(.is-entered) .sh-shero .sh-pop { opacity: 0; transform: scale(0.4); transition: none; }
.cp-js #cp-site .sh-shero .sh-draw-x { transform-box: fill-box; transform-origin: left center; transition: transform 800ms var(--cp-ease-out) calc(var(--d, 0ms) + 200ms); }
.cp-js #cp-site:not(.is-entered) .sh-shero .sh-draw-x { transform: scaleX(0); transition: none; }
.cp-js #cp-site:not(.is-entered) .sh-shero .sh-gt-stage { opacity: 0; }
.cp-js #cp-site:not(.is-entered) .sh-tag { opacity: 0; transform: translate(-50%, calc(-100% + 6px)); transition: none; }
.cp-js #cp-site:not(.is-entered) .sh-tag--below { transform: translate(-50%, -6px); }
.cp-js #cp-site:not(.is-entered) .sh-tag--left { transform: translate(calc(-100% + 6px), -50%); }
.cp-js #cp-site:not(.is-entered) .sh-tag--right { transform: translate(-6px, -50%); }

@media (max-width: 1199px) {
  #cp-site .sh-shero { width: 100%; max-width: 900px; margin: 0 auto; }
}
/* phones: the drawing across the full width, chips above and below it */
@media (max-width: 767px) {
  #cp-site .sh-shero { width: calc(100% + 2 * var(--cp-gutter)); max-width: none; margin-left: calc(-1 * var(--cp-gutter)); }
  #cp-site .sh-shero__box { aspect-ratio: 600 / 560; }
  #cp-site .sh-shero__svg--h { display: none; }
  #cp-site .sh-shero__svg--v { display: block; }
  #cp-site .sh-tag { left: var(--vx); top: var(--vy); max-width: 36cqw; font-size: 13px; padding: 8px 11px 9px 10px; }
  /* a chip that sits beside its mark on desktop moves above or below it on phones */
  #cp-site .sh-tag--v-above { transform: translate(-50%, -100%); }
  #cp-site .sh-tag--v-below { transform: translate(-50%, 0); }
  .cp-js #cp-site:not(.is-entered) .sh-tag--v-above { transform: translate(-50%, calc(-100% + 6px)); }
  .cp-js #cp-site:not(.is-entered) .sh-tag--v-below { transform: translate(-50%, -6px); }
}

@media (prefers-reduced-motion: reduce) {
  .cp-js #cp-site:not(.is-entered) .sh-sh-art { opacity: 1; }
  .cp-js #cp-site:not(.is-entered) .sh-shero .sh-draw { stroke-dashoffset: 0; }
  .cp-js #cp-site:not(.is-entered) .sh-shero .sh-pop { opacity: 1; transform: none; }
  .cp-js #cp-site:not(.is-entered) .sh-shero .sh-draw-x { transform: none; }
  .cp-js #cp-site:not(.is-entered) .sh-shero .sh-gt-stage { opacity: var(--o); }
  .cp-js #cp-site:not(.is-entered) .sh-tag { opacity: 1; transform: translate(-50%, -100%); }
  .cp-js #cp-site:not(.is-entered) .sh-tag--below { transform: translate(-50%, 0); }
  .cp-js #cp-site:not(.is-entered) .sh-tag--left { transform: translate(-100%, -50%); }
  .cp-js #cp-site:not(.is-entered) .sh-tag--right { transform: translate(0, -50%); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .cp-js #cp-site:not(.is-entered) .sh-tag--v-above { transform: translate(-50%, -100%); }
  .cp-js #cp-site:not(.is-entered) .sh-tag--v-below { transform: translate(-50%, 0); }
}
