
/* ═══════════════════════════════════════════════════════════
   CWP Interactive — HR/C-level experiential sections
   ═══════════════════════════════════════════════════════════ */

/* ── Glass panel shell (shared with hero-session) ── */
.x-panel {
  background: #fff;
  border: 1px solid var(--light1);
  border-radius: var(--rl);
  box-shadow: var(--sh);
  overflow: hidden;
}
.x-panel-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rl);
  overflow: hidden;
}
.x-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--light1);
  background: var(--bg2);
}
.x-panel-dark .x-panel-head {
  background: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.x-panel-head span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.x-panel-dark .x-panel-head span { color: var(--accent-mid); }
.x-live-dot,
.x-preview-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  margin-right: 6px;
  animation: sessionPulse 2s ease infinite;
}

/* ── PILLAR SPOTLIGHT (Services · pillars) ── */
.pillar-card { cursor: pointer; transition: transform 0.3s var(--ease-cwp), box-shadow 0.3s; }
.pillar-card.is-focused {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(203, 65, 107, 0.12);
  outline: 2px solid rgba(203, 65, 107, 0.25);
  outline-offset: 2px;
}
.pillar-spotlight { margin-top: 1.5rem; }
.ps-body { padding: 1.25rem 1.5rem 1.5rem; }
.ps-time {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.ps-body h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.ps-sub { font-size: 14px; color: var(--muted); margin-bottom: 1rem; }
.ps-metrics {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.ps-metrics strong { color: var(--dark); font-weight: 700; }

/* ── PROGRAM BUILDER (Services · packages) ── */
.program-builder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 380px;
}
.program-builder-tabs {
  background: var(--dark-s);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pb-tab {
  text-align: left;
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-cwp);
  color: rgba(255, 255, 255, 0.45);
}
.pb-tab:hover { background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.7); }
.pb-tab.is-active {
  background: rgba(203, 65, 107, 0.15);
  border-color: rgba(203, 65, 107, 0.35);
  color: #fff;
}
.pb-tab-tag {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 4px;
}
.pb-tab.is-active .pb-tab-tag { color: var(--light2); }
.pb-tab-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  display: block;
}
.pb-tab-hint {
  font-size: 11px;
  opacity: 0.55;
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}
.program-builder-preview {
  padding: 1.5rem;
  background: var(--bg);
  position: relative;
}
.pb-preview { display: none; animation: panelIn 0.45s var(--ease-cwp); }
.pb-preview.is-active { display: block; }
.pb-preview-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(50, 14, 25, 0.4);
  margin-bottom: 1rem;
}
.pb-calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 1.25rem;
}
.pb-cal-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--light1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(50, 14, 25, 0.35);
}
.pb-cal-cell.has-event {
  background: rgba(203, 65, 107, 0.08);
  border-color: rgba(203, 65, 107, 0.25);
  color: var(--accent);
  font-weight: 600;
}
.pb-cal-cell.is-today {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.pb-event-list { display: flex; flex-direction: column; gap: 8px; }
.pb-event {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--light1);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s var(--ease-cwp);
}
.pb-preview.is-active .pb-event { opacity: 1; transform: translateY(0); }
.pb-preview.is-active .pb-event:nth-child(1) { transition-delay: 0.1s; }
.pb-preview.is-active .pb-event:nth-child(2) { transition-delay: 0.2s; }
.pb-preview.is-active .pb-event:nth-child(3) { transition-delay: 0.3s; }
.pb-event-time {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--accent);
}
.pb-event.nu .pb-event-time { color: var(--gold); }
.pb-event.me .pb-event-time { color: var(--sage); }
.pb-event-title { font-size: 13px; font-weight: 600; color: var(--dark-text); }
.pb-event-sub { font-size: 10px; color: rgba(50, 14, 25, 0.4); }
.pb-event-pill {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 100px;
  background: var(--bg2);
  color: var(--accent);
}
.pb-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light1);
}
.pb-kpi {
  text-align: center;
  padding: 0.75rem;
  background: var(--bg2);
  border-radius: var(--r);
}
.pb-kpi-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}
.pb-kpi-lbl { font-size: 9px; color: rgba(50, 14, 25, 0.4); margin-top: 4px; }

/* ── ENGAGEMENT PIPELINE (process) ── */
.engagement-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 2rem;
}
.engagement-pipeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--light1);
  z-index: 0;
}
.ep-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.ep-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--light1);
  transition: all 0.5s var(--ease-cwp);
}
.ep-step.is-active .ep-node {
  border-color: var(--accent);
  box-shadow: 0 0 0 8px rgba(203, 65, 107, 0.12);
  transform: scale(1.05);
}
.ep-step.is-done .ep-node {
  border-color: var(--sage);
  background: var(--sage-pale);
}
.ep-node-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.ep-step.is-done .ep-node-num { color: var(--sage); }
.ep-node-status {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(50, 14, 25, 0.35);
  margin-top: 2px;
}
.ep-step.is-active .ep-node-status { color: var(--accent); }
.ep-step.is-done .ep-node-status { color: var(--sage); }
.ep-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.ep-step p {
  font-size: 12px;
  color: rgba(50, 14, 25, 0.5);
  line-height: 1.55;
}
.ep-feed {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--dark-s);
  border-radius: var(--rl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ep-feed-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.75rem;
}
.ep-feed-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-style: italic;
  min-height: 1.4em;
  transition: opacity 0.3s;
}
.ep-feed-line.is-fading { opacity: 0; }
.ep-feed-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 0.5rem;
}

/* ── BRIEF SIMULATOR (industries) ── */
.brief-simulator {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.bs-tabs { display: flex; flex-direction: column; gap: 8px; }
.bs-tab {
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s var(--ease-cwp);
}
.bs-tab:hover { border-color: rgba(218, 120, 150, 0.25); color: rgba(255, 255, 255, 0.7); }
.bs-tab.is-active {
  background: rgba(203, 65, 107, 0.12);
  border-color: rgba(203, 65, 107, 0.35);
  color: #fff;
}
.bs-tab-ind {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-mid);
  display: block;
  margin-bottom: 4px;
}
.bs-tab-name {
  font-family: var(--font-display);
  font-size: 1rem;
  display: block;
}
.bs-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rl);
  overflow: hidden;
  min-height: 320px;
}
.bs-preview-pane { display: none; animation: panelIn 0.4s var(--ease-cwp); }
.bs-preview-pane.is-active { display: block; }
.bs-preview-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.bs-preview-body { padding: 1.25rem 1.5rem; }
.bs-preview-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.bs-preview-sub {
  font-size: 11px;
  color: var(--accent-mid);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.bs-preview-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.bs-program-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bs-prog-chip {
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bs-prog-chip.is-on {
  background: rgba(203, 65, 107, 0.2);
  border-color: rgba(203, 65, 107, 0.4);
  color: var(--light2);
}

/* ── EXECUTIVE BRIEFING (FAQ) ── */
.exec-briefing {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.roi-mini-dash {
  background: var(--dark-s);
  border-radius: var(--rl);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.roi-mini-dash .ey { color: var(--accent-mid); }
.roi-mini-dash .ey::before { background: var(--accent-mid); }
.roi-mini-dash h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.roi-mini-dash h3 em { font-style: italic; color: var(--light2); }
.roi-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.roi-m {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.roi-m-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--light2);
  line-height: 1;
}
.roi-m-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.roi-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  font-style: italic;
  font-family: var(--font-display);
}
.eb-thread { display: flex; flex-direction: column; gap: 12px; }
.eb-msg {
  border-radius: var(--rl);
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--light1);
  background: #fff;
  transition: box-shadow 0.25s;
}
.eb-msg:hover { box-shadow: var(--sh); }
.eb-msg summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.eb-msg summary::-webkit-details-marker { display: none; }
.eb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  flex-shrink: 0;
}
.eb-avatar.cfo { color: var(--gold); background: var(--gold-pale); }
.eb-avatar.hr { color: var(--accent); background: var(--bg2); }
.eb-msg-head { flex: 1; }
.eb-msg-role {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-mid);
}
.eb-msg-q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-text);
  margin-top: 2px;
  padding-right: 1.5rem;
  position: relative;
}
.eb-msg summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.1rem;
}
.eb-msg[open] summary::after { content: "−"; }
.eb-msg-a {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg2);
  font-size: 14px;
  color: rgba(50, 14, 25, 0.6);
  line-height: 1.75;
  padding-left: 48px;
}
.eb-msg-a .cwp-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

/* ── PARTNERS: Live pipeline deck ── */
.pipeline-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light1);
  border-radius: var(--rl);
  overflow: hidden;
  margin: 2rem 0;
}
.pd-card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: background 0.4s;
}
.pd-card.is-active { background: var(--bg2); }
.pd-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-cwp);
}
.pd-card.is-active::after { transform: scaleX(1); }
.pd-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--light1);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.pd-card.is-active .pd-num { color: var(--accent-mid); }
.pd-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.pd-card p {
  font-size: 12px;
  color: rgba(50, 14, 25, 0.5);
  line-height: 1.6;
}
.pd-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(50, 14, 25, 0.35);
}
.pd-card.is-active .pd-status { color: var(--accent); }

/* Jenny curator — verified badges */
.cred-box .ico { display: none; }
.cred-box {
  position: relative;
  padding-left: 2.5rem;
}
.cred-box::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(92, 140, 106, 0.2);
  color: var(--sage);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Live roster bar — partners experts */
.live-roster {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--dark-s);
  border-radius: var(--rl);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.live-roster-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.live-roster-count {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--light2);
  line-height: 1;
}
.live-roster-count span {
  font-size: 11px;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.35);
  display: block;
  margin-top: 2px;
}
.live-roster-avatars {
  display: flex;
}
.lr-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--dark-s);
  margin-left: -10px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-mid);
  overflow: hidden;
}
.lr-av:first-child { margin-left: 0; }
.lr-av img { width: 100%; height: 100%; object-fit: cover; }
.live-roster-right {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.live-roster-right strong { color: var(--accent-mid); }

/* Expert card deploy tag */
.expert-card:not(.expert-card--pending)::after {
  content: attr(data-deploy);
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.15);
  color: #166534;
  z-index: 2;
}
.expert-card { position: relative; }
.expert-card--pending::after { display: none; }

/* Contact — discovery slot feel */
.contact-s .discovery-slots {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.discovery-slot {
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
}
.discovery-slot.is-open {
  border-color: rgba(74, 222, 128, 0.4);
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
}
.discovery-slot.is-busy {
  opacity: 0.4;
  text-decoration: line-through;
}
.slot-demo-tag {
  font-size: 10px;
  opacity: 0.65;
  font-weight: 500;
  margin-left: 4px;
}

/* Hide old static blocks when interactive versions exist */
.has-program-builder .corp-svcs { display: none; }
.has-engagement-pipeline .process-timeline { display: none; }
.has-brief-simulator .seg-cards { display: none; }
.has-exec-briefing .qa-grid { display: none; }
.has-pipeline-deck .network-flow { display: none; }

@media (max-width: 1024px) {
  .program-builder,
  .brief-simulator,
  .exec-briefing { grid-template-columns: 1fr; }
  .engagement-pipeline { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .engagement-pipeline::before { display: none; }
  .roi-mini-dash { position: static; }
  .pipeline-deck { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .engagement-pipeline { grid-template-columns: 1fr; }
}
