/* ==========================================================
   AI in Advisory Playbook — Action chapter
   - Carousel showcase (action.html)
   - Deep case-study cards (action-*.html sub-pages)
   ========================================================== */


/* ═══════════════════════════════════════════════════════
   SHOWCASE — Full-viewport carousel (action.html)
   ═══════════════════════════════════════════════════════ */

body.showcase-page {
  overflow: hidden;
  background: var(--navy);
}
body.showcase-page .footer { display: none; }

/* Dark nav while on showcase */
body.showcase-page .nav {
  background: rgba(15, 23, 41, 0.85);
  border-bottom-color: transparent;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
@media (prefers-reduced-transparency: reduce) {
  body.showcase-page .nav { backdrop-filter: none; background: #12213b; }
}
body.showcase-page .nav.scrolled {
  background: rgba(15, 23, 41, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.showcase-page .nav-brand,
body.showcase-page .nav-title { color: white; }
body.showcase-page .nav-links a { color: rgba(255, 255, 255, 0.55); }
body.showcase-page .nav-links a:hover,
body.showcase-page .nav-links a.active {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}
body.showcase-page .nav-mobile { color: white; }

/* Page wrapper */
.sc-page {
  position: relative;
  width: 100%;
  height: 100vh;
}

.sc-viewport {
  position: relative;
  width: 100%;
  height: calc(100vh - 58px);
  margin-top: 58px;
  overflow: hidden;
  background: var(--navy);
}

/* Animated grid bg */
.sc-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* Cursor glow */
.sc-cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 30, 40, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left .12s ease-out, top .12s ease-out, opacity .3s;
  opacity: 0;
}
.sc-cursor-glow.active { opacity: 1; }

/* Back button */
.sc-back {
  position: absolute;
  top: 20px;
  left: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: color .2s;
}
.sc-back:hover { color: white; }
.sc-back svg { width: 14px; height: 14px; }

/* Slide track */
.sc-track {
  display: flex;
  height: 100%;
  transition: transform .7s var(--ease-out);
  position: relative;
  z-index: 2;
}
.sc-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  position: relative;
}

.sc-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  color: white;
}
.sc-slide-left { max-width: 520px; }
.sc-slide-right { display: flex; justify-content: center; align-items: center; }

/* Slide typography */
.sc-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-eyebrow::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.sc-eyebrow .sc-eyebrow-badge {
  padding: 2px 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 4px;
  color: #f59e0b;
  font-size: 9px;
  letter-spacing: .06em;
}

.sc-slide h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.sc-slide h2 em {
  font-style: normal;
  color: var(--red);
}

.sc-slide-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Tools chips */
.sc-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sc-tool-chip {
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* Phase pills */
.sc-phases {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.sc-phase-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  transition: all .3s var(--ease-out);
}
.sc-phase-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(6px);
}
.sc-ph-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
}
.sc-ph-content h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 1px;
}
.sc-ph-content p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

/* Impact pills */
.sc-impacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.sc-impact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: all .3s var(--ease-out);
}
.sc-impact-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}
.sc-impact-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* CTA — links to deep case study page */
.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 11px 22px;
  background: var(--red);
  color: white;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  text-decoration: none;
}
.sc-cta:hover {
  background: var(--red-dark);
  transform: translateX(2px);
  box-shadow: var(--shadow-red);
}
.sc-cta svg { width: 14px; height: 14px; }

/* Credits */
.sc-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.sc-credit-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.sc-credit-name {
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

/* Right-side visual card */
.sc-visual-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(8px);
}
@media (prefers-reduced-transparency: reduce) {
  .sc-visual-card { backdrop-filter: none; background: #192032; }
}
.sc-visual-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  color: white;
}

.sc-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.sc-stat-box {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sc-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--red);
  line-height: 1;
}
.sc-stat-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  font-weight: 600;
}

.sc-flow-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: all .3s;
}
.sc-flow-step:hover { background: rgba(255, 255, 255, 0.08); }
.sc-flow-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-flow-icon svg { width: 16px; height: 16px; }
.sc-flow-step h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin: 0;
}
.sc-flow-step p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.sc-flow-conn {
  width: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 26px;
}

.sc-metric-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 22px;
}
.sc-metric-block { text-align: center; flex: 1; }
.sc-metric-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
}
.sc-metric-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-top: 4px;
}

.sc-callout {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(230, 30, 40, 0.08);
  border: 1px solid rgba(230, 30, 40, 0.12);
  border-radius: 8px;
}
.sc-callout-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 6px;
  font-weight: 600;
}
.sc-callout-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Navigation controls */
.sc-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10;
}
.sc-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s var(--ease-out);
  backdrop-filter: blur(8px);
}
@media (prefers-reduced-transparency: reduce) {
  .sc-nav-btn { backdrop-filter: none; background: #1b2334; }
}
.sc-nav-btn:hover:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  color: white;
  box-shadow: var(--shadow-red);
  transform: scale(1.08);
}
.sc-nav-btn:disabled {
  opacity: .2;
  cursor: not-allowed;
}
.sc-nav-btn svg { width: 18px; height: 18px; }

.sc-dots { display: flex; gap: 8px; }
.sc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all .3s var(--ease-out);
}
.sc-dot.active {
  background: var(--red);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(230, 30, 40, 0.4);
}
.sc-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.35); }

.sc-slide-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: .05em;
}

.sc-kb-hint {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}
.sc-kb-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

/* Carousel responsive */
@media (max-width: 980px) {
  .sc-slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }
  .sc-slide-right { display: none; }
  .sc-back { left: 20px; }
  .sc-kb-hint { display: none; }
}
@media (max-width: 720px) {
  .sc-slide { padding: 24px 20px 80px; }
  .sc-slide h2 { font-size: 26px; }
  .sc-tools .sc-tool-chip { font-size: 10px; padding: 4px 10px; }
}


/* ==========================================================
   DEEP CASE-STUDY PAGES — action-bimveritas.html etc.
   ========================================================== */

.action-cases {
  display: grid;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.action-case {
  background: white;
  border: 1px solid var(--border);
  border-top: 4px solid var(--case-color, var(--red));
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
  scroll-margin-top: 80px;
}
.action-case:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.action-case-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--case-color, var(--red));
  margin-bottom: 12px;
}
.action-case-eyebrow .badge {
  padding: 2px 10px;
  background: var(--amber-light);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 4px;
  color: #92400e;
  font-size: 10px;
  font-weight: 600;
}

.action-case h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.action-case h3 em {
  color: var(--case-color, var(--red));
  font-style: normal;
  font-weight: 700;
}

.action-case-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.action-case-tools .tag {
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
}

.action-case-desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 24px;
}

.action-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 20px;
}

.action-case-block-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 12px;
}

.action-case-phases {
  list-style: none;
  display: grid;
  gap: 10px;
}
.action-case-phases li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.action-case-phases .num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--case-color, var(--red));
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.action-case-phases strong {
  color: var(--navy);
  font-weight: 600;
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.action-case-impact {
  list-style: none;
  display: grid;
  gap: 10px;
}
.action-case-impact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: 8px;
}
.action-case-impact strong {
  color: var(--navy);
  font-weight: 600;
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.action-case-impact .dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--case-color, var(--red));
  margin-top: 6px;
}

.action-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.action-case-metric {
  text-align: center;
  padding: 14px 8px;
  background: var(--bg-alt);
  border-radius: 10px;
}
.action-case-metric .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--case-color, var(--red));
  line-height: 1.1;
}
.action-case-metric .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-top: 4px;
}

.action-case-callout {
  margin: 16px 0 20px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-left: 3px solid var(--case-color, var(--red));
  border-radius: 6px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}
.action-case-callout-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--case-color, var(--red));
  font-weight: 700;
  margin-bottom: 4px;
}
.action-case-callout strong {
  color: var(--navy);
  font-weight: 600;
}

.action-case-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.action-case-credits-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  font-weight: 600;
  margin-right: 4px;
}
.action-case-credits .name {
  font-weight: 600;
  color: var(--navy);
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: 4px;
}

/* ==========================================================
   Sub-page (per-case) styles
   ========================================================== */

/* ─── Hero stats strip (right side of sub-hero) ─── */
.action-sub-stats {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.action-sub-stat {
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: 8px;
}
.action-sub-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.action-sub-stat-num .arrow {
  color: var(--muted);
  font-weight: 600;
  margin: 0 4px;
}
.action-sub-stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-top: 4px;
}

/* ─── "AI can / cannot" comparison ─── */
.action-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.action-vs-card {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-sm);
}
.action-vs-card.action-vs-can {
  border-top: 3px solid #16a34a;
  background: #f0fdf4;
}
.action-vs-card.action-vs-cannot {
  border-top: 3px solid #E61E28;
  background: var(--red-light);
}
.action-vs-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.action-vs-can .action-vs-hd svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
}
.action-vs-cannot .action-vs-hd svg {
  width: 18px;
  height: 18px;
  color: #E61E28;
}
.action-vs-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}
.action-vs-card li {
  position: relative;
  padding-left: 16px;
}
.action-vs-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.action-vs-can li::before { background: #16a34a; }
.action-vs-cannot li::before { background: #E61E28; }

/* ─── 4 AI capability cards ─── */
.action-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.action-cap-card {
  padding: 22px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.action-cap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.action-cap-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.action-cap-icon svg {
  width: 20px;
  height: 20px;
}
.action-cap-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.action-cap-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .2em;
  padding: 2px 8px;
  background: var(--amber-light);
  color: #92400e;
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 4px;
  font-weight: 600;
}
.action-cap-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}

/* ─── Vertical workflow with letter steps (A → B → C → D) ─── */
.action-flow {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin: 0 auto;
}
.action-flow-io {
  padding: 16px 20px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
}
.action-flow-io-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  padding: 4px 10px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  flex-shrink: 0;
}
.action-flow-io-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}
.action-flow-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 18px;
  color: var(--muted);
}
.action-flow-arrow svg {
  width: 16px;
  height: 16px;
}
.action-flow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.action-flow-letter {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.action-flow-step strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}
.action-flow-step > div {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}

/* ─── Workflow shift table ─── */
.action-shift-table {
  max-width: 880px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.action-shift-row {
  display: grid;
  grid-template-columns: 1.4fr 2fr 2fr;
  gap: 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}
.action-shift-row:last-child { border-bottom: none; }
.action-shift-row > div {
  padding: 14px 18px;
  color: var(--slate);
  line-height: 1.5;
}
.action-shift-row > div:nth-child(2) {
  background: var(--bg-alt);
  color: var(--navy-soft);
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}
.action-shift-row > div:nth-child(3) {
  background: #f0fdf4;
  color: var(--navy);
  font-weight: 500;
}
.action-shift-head > div {
  background: var(--navy) !important;
  color: white !important;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 700;
  padding: 12px 18px;
}
.action-shift-row strong {
  color: var(--navy);
  font-weight: 600;
}

/* ─── Reusable assets pills ─── */
.action-reuse-pill {
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
}
.action-reuse-pill strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ─── Trust grid (governance) ─── */
.action-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.action-trust-card {
  padding: 22px;
  background: var(--trust-bg, var(--bg-alt));
  border: 1px solid var(--border);
  border-left: 3px solid var(--trust-color, var(--red));
  border-radius: var(--radius-lg);
}
.action-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--trust-color, var(--red));
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.action-trust-icon svg { width: 18px; height: 18px; }
.action-trust-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}
.action-trust-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}
.action-trust-card strong {
  color: var(--navy);
  font-weight: 600;
}

/* ─── Future enhancements grid ─── */
.action-future-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.action-future-card {
  padding: 22px 20px;
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--fut-color, var(--red));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.action-future-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--fut-color, var(--red));
  margin-bottom: 10px;
}
.action-future-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.action-future-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}


@media (max-width: 980px) {
  .action-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .action-future-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .action-case { padding: 24px 20px; }
  .action-case h3 { font-size: 20px; }
  .action-case-grid { grid-template-columns: 1fr; gap: 20px; }
  .action-case-metrics { grid-template-columns: 1fr; }
  .action-vs-grid { grid-template-columns: 1fr; }
  .action-cap-grid { grid-template-columns: 1fr; }
  .action-trust-grid { grid-template-columns: 1fr; }
  .action-future-grid { grid-template-columns: 1fr; }
  .action-shift-row { grid-template-columns: 1fr; }
  .action-shift-row > div { border-left: none !important; border-right: none !important; }
  .action-sub-stat-num { font-size: 17px; }
}


/* ==========================================================
   Case-study v2 — 12-section template enhancements
   - At-a-glance summary box  (.action-glance)
   - Evidence-status labels   (.action-ev)
   - Role-impact list         (.action-roles)
   - Value-facets grid        (.action-value-grid)
   - Tech-bit framing         (.action-tech-frame, .action-tech-confirm)
   - Offer-components list    (.action-offer-list)
   - Lifecycle / 2-col tables (.action-shift-row.is-2col)
   ========================================================== */

.action-glance {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.55;
}
.action-glance > div {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.action-glance > div:nth-last-child(-n+2) { border-bottom: none; }
.action-glance .ag-k {
  background: #f8fafc;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.action-glance .ag-v { color: var(--navy); }
.action-glance .ag-v strong { color: var(--navy); }
@media (max-width: 720px) {
  .action-glance { grid-template-columns: 1fr; }
  .action-glance .ag-k {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 10px 18px 6px;
  }
  .action-glance .ag-v { padding-top: 8px; }
}

.action-ev {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  vertical-align: middle;
  margin-left: 8px;
  line-height: 1.2;
}
.action-ev.is-proven    { color: #16a34a; background: #f0fdf4; border-color: #bbf7d0; }
.action-ev.is-targeted  { color: #d97706; background: #fffbeb; border-color: #fde68a; }
.action-ev.is-pilot     { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.action-ev.is-tbc       { color: #64748b; background: #f1f5f9; border-color: #cbd5e1; }

.action-roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.action-roles .role-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
}
.action-roles .role-card .role-who {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 6px;
}
.action-roles .role-card p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 720px) { .action-roles { grid-template-columns: 1fr; } }

.action-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.action-value-grid .vf {
  border: 1px solid var(--line);
  border-left: 3px solid var(--vf-color, #0d9488);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff;
}
.action-value-grid .vf h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.action-value-grid .vf p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 980px) { .action-value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .action-value-grid { grid-template-columns: 1fr; } }

.action-tech-frame {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px 28px;
  background: #fafbfd;
  max-width: 1000px;
  margin: 0 auto;
}
.action-tech-frame .tech-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 14px;
}
.action-tech-frame .tech-lead::before {
  content: "";
  display: inline-block;
  width: 18px; height: 1px;
  background: #94a3b8;
}
.action-tech-frame .tech-principle {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 18px;
  font-style: italic;
}
.action-tech-confirm {
  margin-top: 20px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 10px;
  padding: 16px 18px;
}
.action-tech-confirm .tc-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 8px;
}
.action-tech-confirm ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  color: var(--navy);
  line-height: 1.6;
}
.action-tech-confirm ul li {
  padding: 4px 0 4px 18px;
  position: relative;
}
.action-tech-confirm ul li::before {
  content: "?";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: 700;
  font-family: var(--font-mono);
}

.action-offer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  max-width: 920px;
  margin: 18px auto 0;
  list-style: none;
  padding: 0;
}
.action-offer-list li {
  font-size: 14px;
  color: var(--navy);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.action-offer-list li:last-child,
.action-offer-list li:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.action-offer-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #0d9488;
  font-weight: 700;
}
@media (max-width: 720px) { .action-offer-list { grid-template-columns: 1fr; } }

.action-shift-row.is-2col {
  grid-template-columns: 1fr 1.4fr;
}


/* ==========================================================
   Case-study library (action.html landing page)
   - Data-driven card grid grouped by status
   - Status legend, optional service-line filter chips
   - Each card: 3 labelled facts + metric strip + CTA
   ========================================================== */

.case-library-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 36px;
}

.case-status-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}
.case-status-legend .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}

.case-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  line-height: 1.2;
}
.case-status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.case-status-pill.is-live  { color: #16a34a; background: #f0fdf4; border-color: #bbf7d0; }
.case-status-pill.is-pilot { color: #E61E28; background: #fef2f2; border-color: #fecaca; }
.case-status-pill.is-beta  { color: #d97706; background: #fffbeb; border-color: #fde68a; }

.case-group {
  margin-bottom: 48px;
}
.case-group:last-child { margin-bottom: 0; }
.case-group.is-empty { display: none; }

.case-group-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.case-group-hd h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.005em;
}
.case-group-hd .count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.case-group-hd .case-status-pill {
  margin-left: auto;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 940px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-color, #3b82f6);
  border-radius: 12px;
  background: #fff;
  padding: 22px 24px 20px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.case-card:hover {
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}
.case-card.is-hidden { display: none; }

.case-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.case-card-hd .case-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.case-card-tagline {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0 0 18px;
}

.case-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.case-fact {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--navy);
}
.case-fact-lbl {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--card-color, #3b82f6);
  margin-right: 8px;
  vertical-align: baseline;
}

.case-card-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.case-card-meta .metric {
  flex: 1 1 100%;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--card-color, #3b82f6);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.case-card-meta .sl {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.case-card-meta .tools {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-left: auto;
}
.case-card-meta .tools span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--slate);
}

.case-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--card-color, #3b82f6);
  text-decoration: none;
  align-self: flex-start;
}
.case-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s;
}
.case-card-cta:hover svg { transform: translateX(3px); }

.case-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  align-self: flex-start;
  background: #f8fafc;
}

@media (max-width: 720px) {
  .case-card { padding: 18px 20px 16px; }
  .case-card-title { font-size: 19px; }
  .case-fact-lbl { display: block; margin-bottom: 2px; }
  .case-library-toolbar { flex-direction: column; align-items: flex-start; }
  .case-card-meta .tools { margin-left: 0; }
}


/* ──────────────────────────────────────────────────────────
   Case-study library — carousel mode (single-card view)
   - Dropdown picker to jump to any case (scales cleanly)
   - Active card with sectioned facts (Problem / Solution / Read if)
   - Prev / Next / counter / keyboard nav
   ────────────────────────────────────────────────────────── */

.case-picker-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
}
.case-picker-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.case-picker {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 40px 11px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}
.case-picker:hover  { border-color: var(--navy); background-color: #fff; }
.case-picker:focus  { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08); }
.case-picker option { color: var(--navy); font-weight: 500; padding: 4px; }
.case-picker optgroup { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; }

@media (max-width: 720px) {
  .case-picker-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .case-picker { width: 100%; }
}

.case-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin: 0 0 28px;
}

.case-button {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px 14px;
  text-align: center;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  line-height: 1.3;
  transition: all 0.18s ease;
}
.case-button:hover {
  background: #f8fafc;
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.1);
}
.case-button.is-active {
  background: var(--btn-color, var(--navy));
  border-color: var(--btn-color, var(--navy));
  color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-color, #0f172a) 18%, transparent);
}
.case-button.is-active .num { color: rgba(255, 255, 255, 0.78); }
.case-button.is-hidden { display: none; }
.case-button .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.case-button .marker {
  position: absolute;
  top: -7px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.2;
}
.case-button .marker.is-beta  { background: #d97706; }
.case-button .marker.is-pilot { background: #E61E28; }

.case-active-wrap {
  position: relative;
}

.case-active {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-color, #3b82f6);
  border-radius: 16px;
  padding: 32px 36px 28px;
  animation: caseFadeIn 0.25s ease;
}
@keyframes caseFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.case-active-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.case-active-hd .case-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-active-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.case-active-tagline {
  font-size: 15.5px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 760px;
}

.case-active-tagstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.case-active-tagstrip .sl {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.case-active-tagstrip .tool {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--slate);
  border: 1px solid #e2e8f0;
}
.case-active-tagstrip .spacer { flex: 1; min-width: 12px; }

.case-active-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.case-section {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--sec-bg);
  border: 1px solid var(--sec-border);
}
.case-section.is-problem  { --sec-bg: #fef2f2; --sec-border: #fecaca; --sec-icon: #E61E28; }
.case-section.is-solution { --sec-bg: #eff6ff; --sec-border: #bfdbfe; --sec-icon: #3b82f6; }
.case-section.is-readif   { --sec-bg: #f0fdf4; --sec-border: #bbf7d0; --sec-icon: #16a34a; }

.case-section-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  color: var(--sec-icon);
}
.case-section-icon svg { width: 18px; height: 18px; }
.case-section-body { flex: 1; min-width: 0; }
.case-section-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sec-icon);
  margin-bottom: 6px;
}
.case-section-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--navy);
  margin: 0;
}

.case-active-contributors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--card-color, #3b82f6) 6%, #fff);
  border: 1px dashed color-mix(in srgb, var(--card-color, #3b82f6) 30%, var(--line));
  border-radius: 10px;
}
.case-active-contributors-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--card-color, #3b82f6);
}
.case-active-contributors-names {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.case-active-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.case-active-metric {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--card-color, #3b82f6);
  letter-spacing: 0.02em;
}
.case-active-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--card-color, #3b82f6);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
}
.case-active-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(15, 23, 42, 0.25);
}
.case-active-cta svg { width: 14px; height: 14px; }
.case-active-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #f8fafc;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.case-empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
}

.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.case-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s;
}
.case-nav-btn:not(:disabled):hover {
  background: #fff;
  border-color: var(--navy);
}
.case-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.case-nav-btn svg { width: 14px; height: 14px; }
.case-nav-mid {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.case-nav-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.case-nav-counter strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.case-nav-kb {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.case-nav-kb kbd {
  padding: 1px 5px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 10px;
}

@media (max-width: 720px) {
  .case-active { padding: 22px 20px 18px; }
  .case-section { flex-direction: column; gap: 8px; padding: 14px 16px; }
  .case-section-icon { flex: 0 0 auto; width: 32px; height: 32px; }
  .case-active-foot { flex-direction: column; align-items: stretch; }
  .case-active-cta { justify-content: center; }
  .case-nav-kb { display: none; }
  .case-buttons { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .sc-cursor-glow,
  .sc-back,
  .sc-track,
  .sc-phase-pill,
  .sc-cta,
  .sc-flow-step,
  .sc-dot,
  .case-picker,
  .case-nav-btn { transition: none !important; }
  .sc-impact-pill,
  .sc-impact-pill:hover,
  .sc-nav-btn,
  .sc-nav-btn:hover:not(:disabled),
  .action-case,
  .action-case:hover,
  .action-cap-card,
  .action-cap-card:hover,
  .case-card,
  .case-card:hover,
  .case-card-cta svg,
  .case-card-cta:hover svg,
  .case-button,
  .case-button:hover,
  .case-active-cta,
  .case-active-cta:hover { transition: none !important; transform: none !important; }
  .case-active { animation: none; }
}
