/* ============================================================
   Burst Analytics — Topic pages (Customer Experience, Employee Retention)
   Ported from designs/assets/burst-site.css.
   Per-page signature accent is set via the body class added in functions.php:
     .topic-cx  -> teal     .topic-epm -> gold
   ============================================================ */

/* ---------- per-page accent ---------- */
.topic-cx  { --acc: var(--teal-400); --acc-soft: var(--teal-50); --acc-ink: var(--teal-600); --accent-ink: var(--teal-600); }
.topic-epm { --acc: var(--gold-400); --acc-soft: var(--gold-50); --acc-ink: var(--gold-600); --accent-ink: var(--blue-600); }
.topic-cx  .t-hero .eyebrow { color: var(--teal-600); }
.topic-cx  .t-hero .eyebrow::before { background: var(--teal-400); }
.topic-epm .t-hero .eyebrow { color: var(--gold-600); }

/* ---------- topic hero ---------- */
.t-hero { padding: 80px 0 92px; position: relative; }
.t-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.t-hero h1 { font-size: clamp(2.6rem, 5vw, var(--text-6xl)); font-weight: 800; color: var(--ink); margin: 0 0 22px; letter-spacing: -0.025em; max-width: 15ch; }
.t-hero h1 .accent { color: var(--accent-ink, var(--blue-600)); }
.t-hero-sub { font-size: var(--text-xl); color: var(--text-muted); line-height: var(--leading-normal); max-width: 46ch; margin: 0 0 32px; }
.t-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.t-hero-media { position: relative; }
.t-hero-media .photo { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; clip-path: var(--clip-cut); box-shadow: var(--shadow-lg); }
.t-hero-badge {
  position: absolute; left: -22px; bottom: 30px; background: var(--white);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 16px 18px; display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.t-hero-badge .chip { width: 44px; height: 44px; border-radius: 10px; background: var(--acc-soft); display: grid; place-items: center; color: var(--acc-ink); flex: none; }
.t-hero-badge .chip .i { width: 22px; height: 22px; }
.t-hero-badge b { font-family: var(--font-display); color: var(--ink); display: block; font-size: var(--text-md); }
.t-hero-badge span { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.35; }

/* ---------- "why it matters" proof row ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.why-copy h2 { font-size: clamp(1.9rem, 3.4vw, var(--text-4xl)); font-weight: 800; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.02em; }
.why-copy p { font-size: var(--text-lg); color: var(--text-muted); line-height: var(--leading-relaxed); margin: 0 0 16px; }
.why-copy p:last-child { margin-bottom: 0; }
.why-copy p strong { color: var(--ink); font-weight: 600; }
.proof-stack { display: grid; gap: 16px; }
.proof {
  display: flex; gap: 20px; align-items: center; background: var(--white);
  border: 1px solid var(--border-subtle); border-left: 4px solid var(--acc, var(--blue-600));
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px 24px;
}
.proof .pf-num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); line-height: 1; color: var(--acc-ink, var(--blue-600)); letter-spacing: -0.02em; flex: none; min-width: 4.2ch; }
.proof .pf-text { font-size: var(--text-md); color: var(--text-body); line-height: 1.4; }
.proof .pf-text b { font-family: var(--font-display); color: var(--ink); display: block; margin-bottom: 3px; }
.proof .pf-text span { font-size: var(--text-2xs); color: var(--text-subtle); }

/* ---------- issue / challenge cards ---------- */
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.issue {
  background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 30px 28px 26px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.issue::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--orange-400); }
.issue .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-50); color: var(--orange-500); display: grid; place-items: center; margin-bottom: 18px; }
.issue .ic .i { width: 24px; height: 24px; }
.issue .big { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); color: var(--ink); line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px; }
.issue h3 { font-size: var(--text-lg); font-weight: 700; color: var(--ink); margin: 0 0 9px; line-height: 1.25; }
.issue p { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 16px; line-height: 1.5; }
.issue .src { margin-top: auto; font-size: var(--text-2xs); color: var(--text-subtle); padding-top: 12px; border-top: 1px solid var(--border-subtle); display: flex; gap: 7px; align-items: flex-start; line-height: 1.3; }
.issue .src .i { width: 13px; height: 13px; flex: none; margin-top: 1px; color: var(--orange-500); }

/* ---------- solution ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol {
  background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 32px 28px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.sol:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sol .sol-step { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--acc-ink, var(--blue-600)); margin-bottom: 14px; }
.sol .ico { width: 54px; height: 54px; border-radius: 13px; background: var(--acc-soft); color: var(--acc-ink); display: grid; place-items: center; margin-bottom: 20px; }
.sol .ico .i { width: 27px; height: 27px; }
.sol h3 { font-size: var(--text-xl); font-weight: 700; color: var(--ink); margin: 0 0 10px; line-height: 1.2; }
.sol p { font-size: var(--text-md); color: var(--text-muted); margin: 0; line-height: var(--leading-relaxed); }

/* ---------- CTA band ---------- */
.cta { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -6%; top: -40%; width: 540px; height: 540px; background: radial-gradient(circle, rgba(210,175,57,0.16), transparent 62%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(2rem, 3.6vw, var(--text-4xl)); font-weight: 800; color: #fff; margin: 0 0 16px; letter-spacing: -0.02em; max-width: 18ch; }
.cta p { font-size: var(--text-lg); color: rgba(255,255,255,0.82); margin: 0; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { justify-content: center; }
.cta-belief { margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.cta-belief li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-sm); color: rgba(255,255,255,0.82); }
.cta-belief .i { width: 17px; height: 17px; color: var(--gold-400); flex: none; margin-top: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .t-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .t-hero-media { max-width: 460px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .issue-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .t-hero { padding: 60px 0; }
  .proof .pf-num { font-size: var(--text-3xl); }
}
