/* ============================================================
   Renew HR — Solution / Case Study page components
   Loaded only on pages using the Solution Page template, the
   single Case Study template, or the Customer Success listing
   template (see renewhr_enqueue_solution_styles() in functions.php).
   Site-wide tokens (--electric, --serif, .container, .btn, .section,
   .eyebrow, .anim, etc.) already live in home.css and are reused here.
   ============================================================ */

/* ---- CTA SECTION (title/eyebrow/desc — overrides home.css's oversized,
   homepage-specific .cta-title; .cta-section/.cta-inner/.cta-buttons are
   fine to share as-is, so not repeated here) ---- */
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}
.cta-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 auto 1.4rem;
  position: relative;
  z-index: 1;
  max-width: 18ch;
  text-align: center;
}
.cta-title .italic {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-desc {
  font-size: 1.1rem;
  color: var(--text-mute);
  line-height: 1.5;
  max-width: 55ch;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  padding: clamp(7rem, 14vh, 11rem) 0 clamp(4rem, 8vh, 6rem);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.page-hero-bg::before,
.page-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
}
.page-hero-bg::before {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--electric), transparent 70%);
  top: -10%; right: -10%;
  animation: orbFloat 18s ease-in-out infinite;
}
.page-hero-bg::after {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  bottom: -15%; left: -5%;
  animation: orbFloat 22s ease-in-out infinite reverse;
}
[data-theme="light"] .page-hero-bg::before,
[data-theme="light"] .page-hero-bg::after { opacity: 0.22; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.08); }
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.page-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.page-hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  opacity: 0.6;
  animation: particleDrift 14s ease-in-out infinite;
}
.page-hero-particles .particle:nth-child(1) { top: 25%; left: 12%; animation-delay: 0s; animation-duration: 16s; }
.page-hero-particles .particle:nth-child(2) { top: 40%; left: 65%; animation-delay: 2s; background: var(--violet); box-shadow: 0 0 12px var(--violet); animation-duration: 18s; }
.page-hero-particles .particle:nth-child(3) { top: 70%; left: 25%; animation-delay: 4s; background: var(--emerald); box-shadow: 0 0 12px var(--emerald); animation-duration: 14s; }
.page-hero-particles .particle:nth-child(4) { top: 55%; left: 80%; animation-delay: 6s; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); animation-duration: 20s; }
.page-hero-particles .particle:nth-child(5) { top: 15%; left: 55%; animation-delay: 8s; animation-duration: 17s; }
.page-hero-particles .particle:nth-child(6) { top: 85%; left: 50%; animation-delay: 1s; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation-duration: 19s; }
.page-hero .container { position: relative; z-index: 2; }

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1100px) {
  .hero-layout { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 1.6rem;
  padding: 0.45rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.breadcrumb a { color: var(--text-mute); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep { color: var(--text-dim); font-weight: 300; }
.breadcrumb-current { color: var(--text); font-weight: 600; }

.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.page-hero-title .italic {
  font-style: italic;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-mute);
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 2.2rem;
}
.page-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}
.page-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 700px) {
  .page-hero-meta { grid-template-columns: repeat(4, 1fr); }
}
.page-hero-meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.page-hero-meta-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 400;
  background: var(--gradient-electric);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-hero-meta-label {
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* Optional bespoke right-column visual (raw admin-authored HTML/wysiwyg) */
.hero-visual-simple {
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

/* ---- RICH INTRO ---- */
.intro-rich { padding: clamp(4rem, 8vw, 6.5rem) 0; background: transparent; }
.ir-wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1.4rem, 4vw, 2.4rem); }
.ir-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 880px) { .ir-grid { grid-template-columns: 1fr 1.5fr; gap: 4.5rem; align-items: start; } }
.ir-header { display: flex; flex-direction: column; gap: 1.6rem; }
@media (min-width: 880px) { .ir-header { position: sticky; top: 110px; } }
.ir-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin: 0; }
.ir-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--electric); }
.ir-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.028em; margin: 0; color: var(--text); }
.ir-title .ir-accent { color: var(--electric); }
.ir-rule { width: 56px; height: 1px; background: var(--text-mute); opacity: 0.45; margin: 0.6rem 0 0.4rem; }
.ir-tag { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; line-height: 1.45; color: var(--text-dim); margin: 0; padding-left: 1.2rem; position: relative; }
.ir-tag::before { content: "\201C "; position: absolute; left: -0.15rem; top: -0.4rem; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--electric); opacity: 0.7; }
.ir-body { display: flex; flex-direction: column; gap: 1.5rem; }
.ir-body > p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; color: var(--text-dim); margin: 0; font-weight: 400; }
.ir-body > p:first-of-type { font-size: 1.18rem; line-height: 1.65; }
.ir-body > p:first-of-type::first-letter { font-style: normal; font-size: 4.4rem; line-height: 0.85; float: left; margin: 0.32rem 0.65rem -0.25rem 0; color: var(--electric); letter-spacing: -0.04em; }
.ir-body em { font-style: italic; color: var(--text); font-weight: 400; }
.ir-body blockquote,
.ir-pull {
  margin: 1rem 0; padding: 1.6rem 1.8rem 1.6rem 2.2rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; color: var(--text);
  letter-spacing: -0.012em; position: relative;
}
.ir-body blockquote::before,
.ir-pull::before { content: "\201C "; position: absolute; left: 0.4rem; top: 0.8rem; font-family: var(--serif); font-size: 3.6rem; line-height: 0.7; color: var(--electric); opacity: 0.8; }
.ir-body blockquote em,
.ir-pull em { font-style: italic; color: var(--electric); font-weight: 400; }

/* ---- SFV (5/7-item feature list, shared by Solution + Case Study) ---- */
.sfv { padding: clamp(4.5rem, 9vw, 7rem) 0; background: transparent; }
.sfv-wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.4rem, 4vw, 2.4rem); }
.sfv-intro { max-width: 680px; margin: 0 auto clamp(3.5rem, 6vw, 5rem); text-align: center; }
.sfv-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 1.4rem; }
.sfv-eyebrow::before, .sfv-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
.sfv-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 1.6rem; color: var(--text); }
.sfv-title .sfv-accent { color: var(--electric); }
.sfv-lead { font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; color: var(--text-dim); max-width: 600px; margin: 0 auto; font-weight: 400; }
.sfv-list { display: flex; flex-direction: column; }
.sfv-phase { display: grid; grid-template-columns: 1fr; gap: 1.8rem; padding: clamp(2.6rem, 5vw, 3.8rem) 0; border-top: 1px solid var(--border); }
.sfv-phase:first-child { border-top: none; padding-top: 0; }
@media (min-width: 800px) { .sfv-phase { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; } }
.sfv-left { display: flex; flex-direction: column; gap: 1rem; }
.sfv-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.6rem, 6.2vw, 5rem); line-height: 1; color: var(--phase-c, #4F7FCF); letter-spacing: -0.045em; }
.sfv-name { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.sfv-name a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.sfv-name a:hover { border-bottom-color: var(--phase-c, var(--electric)); }
.sfv-rule { width: 48px; height: 1px; background: var(--phase-c, #4F7FCF); opacity: 0.55; margin: 0.5rem 0 0.3rem; }
.sfv-concept { font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; color: var(--text); margin: 0; font-weight: 400; letter-spacing: -0.005em; }
.sfv-right { display: flex; flex-direction: column; gap: 1.4rem; }
.sfv-pract-label { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--phase-c, #4F7FCF); }
.sfv-pract-label::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.7; }
.sfv-example { font-family: var(--serif); font-size: 1.08rem; line-height: 1.65; color: var(--text-dim); margin: 0; font-weight: 400; }
.sfv-example em { font-style: italic; color: var(--text); }
.sfv-outcome { padding-top: 1.2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.5rem; }
.sfv-outcome-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); }
.sfv-outcome-text { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.45; color: var(--text); margin: 0; }
.sfv-phase-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--phase-c, var(--electric)); text-decoration: none; margin-top: 0.5rem; transition: gap 0.25s; }
.sfv-phase-link:hover { gap: 0.7rem; }

/* ---- EDITORIAL CLOSER ---- */
.page-closing { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: transparent; position: relative; }
.page-closing::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: min(560px, calc(100vw - 4rem)); height: 1px; background: var(--border); }
.pc-wrap { max-width: 760px; margin: 0 auto; padding: 0 clamp(1.4rem, 4vw, 2.4rem); text-align: center; }
.pc-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 1.8rem; }
.pc-eyebrow::before, .pc-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
.pc-line { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.4; color: var(--text); margin: 0; letter-spacing: -0.018em; }
.pc-line em { font-style: italic; color: var(--electric); }

/* ---- ENGAGEMENT JOURNEY (hub pages only) ---- */
.journey-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.journey-bg-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 30%, rgba(77,142,255,0.06), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(168,85,247,0.06), transparent 40%);
  pointer-events: none;
}
.journey-timeline { position: relative; display: grid; grid-template-columns: 1fr; gap: 2rem; z-index: 1; }
@media (min-width: 700px) { .journey-timeline { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; } }
@media (min-width: 1100px) { .journey-timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.journey-track {
  position: absolute; top: 30px; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--violet), var(--magenta), transparent);
  z-index: 0; display: none;
}
@media (min-width: 1100px) { .journey-track { display: block; } }
.journey-step { position: relative; z-index: 1; }
.journey-step-num {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 400; color: white;
  background: var(--gradient-electric); width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.4rem;
  box-shadow: 0 8px 24px rgba(77, 142, 255, 0.4); border: 3px solid var(--bg); position: relative; z-index: 2;
}
.journey-step:nth-child(2) .journey-step-num { background: linear-gradient(135deg, #4D8EFF, #A855F7); box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4); }
.journey-step:nth-child(3) .journey-step-num { background: linear-gradient(135deg, #A855F7, #EC4899); box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4); }
.journey-step:nth-child(4) .journey-step-num { background: linear-gradient(135deg, #EC4899, #FFB800); box-shadow: 0 8px 24px rgba(255, 184, 0, 0.4); }
.journey-step-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; height: 100%;
  display: flex; flex-direction: column; transition: all 0.4s ease;
}
.journey-step:hover .journey-step-card { border-color: rgba(77, 142, 255, 0.4); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }
[data-theme="light"] .journey-step-card { background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%); }
.journey-step-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--border-bright); display: flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 0.9rem; transition: all 0.3s;
}
.journey-step:hover .journey-step-icon { background: var(--gradient-electric); color: white; border-color: transparent; }
.journey-step-icon svg { width: 18px; height: 18px; }
.journey-step-time { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; display: block; }
.journey-step-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 0.65rem; }
.journey-step-desc { font-size: 0.85rem; color: var(--text-mute); line-height: 1.55; margin-bottom: 1.2rem; flex-grow: 1; }
.journey-step-deliverable { display: flex; align-items: center; justify-content: space-between; padding-top: 0.9rem; border-top: 1px dashed var(--border); gap: 0.7rem; }
.journey-deliv-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.journey-deliv-text { font-size: 0.8rem; font-weight: 700; color: var(--text); font-style: italic; font-family: var(--serif); }
.journey-summary { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
@media (min-width: 700px) { .journey-summary { grid-template-columns: repeat(3, 1fr); } }
.journey-summary-pill { text-align: center; padding: 1.2rem; }
.journey-summary-num {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 400; background: var(--gradient-aurora);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; line-height: 1; letter-spacing: -0.025em; margin-bottom: 0.5rem;
}
.journey-summary-num .italic { font-style: italic; }
.journey-summary-label { font-size: 0.78rem; color: var(--text-mute); letter-spacing: 0.04em; }

/* ---- FEATURED INTEGRATED ENGAGEMENT (hub pages only) ---- */
.feature-engagement {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--surface-soft, color-mix(in srgb, var(--text) 3%, transparent));
  position: relative;
}
.feature-engagement::before, .feature-engagement::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--border); opacity: 0.6; }
.feature-engagement::before { top: 0; }
.feature-engagement::after { bottom: 0; }
.fe-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.4rem, 4vw, 2.4rem); }
.fe-header { max-width: 720px; margin: 0 auto clamp(3rem, 5vw, 4.5rem); text-align: center; }
.fe-eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 1.4rem; }
.fe-eyebrow-mark { font-size: 1rem; color: var(--electric); letter-spacing: 0; }
.fe-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.022em; margin: 0 0 1.6rem; color: var(--text); }
.fe-title .fe-accent { color: var(--electric); }
.fe-lead { font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; color: var(--text-dim); max-width: 620px; margin: 0 auto; font-weight: 400; }
.fe-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 1080px; margin: 0 auto; }
@media (min-width: 760px) { .fe-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.fe-col { display: flex; flex-direction: column; gap: 0.9rem; }
.fe-col-label { display: flex; align-items: baseline; gap: 0.7rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin: 0; }
.fe-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--electric); line-height: 1; }
.fe-col-rule { width: 100%; height: 1px; background: var(--border); margin: 0; }
.fe-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.fe-list li { font-family: var(--serif); font-size: 1.02rem; line-height: 1.5; color: var(--text-dim); position: relative; padding-left: 1.1rem; }
.fe-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 5px; height: 1px; background: var(--electric); opacity: 0.6; }
.fe-list li strong { color: var(--text); font-weight: 600; }
.fe-footer { max-width: 760px; margin: clamp(3rem, 5vw, 4rem) auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.fe-footer-rule { width: 60px; height: 1px; background: var(--electric); opacity: 0.6; margin: 0; }
.fe-footer-line { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--text-dim); margin: 0; }
.fe-footer-line em { font-style: italic; color: var(--text); }
.fe-cta-btn {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.8rem; border-radius: 999px;
  background: var(--text); color: var(--bg); font-size: 0.96rem; font-weight: 600; text-decoration: none;
  transition: gap 0.25s, transform 0.25s;
}
.fe-cta-btn:hover { gap: 0.9rem; transform: translateY(-1px); }
.fe-cta-arrow { font-weight: 400; }

/* ---- ENGAGEMENT STRIP (Case Study 4-stat facts) ---- */
.engagement-strip { padding: 0 3rem 4rem; }
.es-wrap {
  max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.esfact { padding: 1.5rem 1.75rem; border-right: 1px solid var(--border); }
.esfact:last-child { border-right: none; }
.esfact-num { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--text); margin-bottom: 0.35rem; line-height: 1.2; }
.esfact-num em { font-style: italic; color: var(--text-mute); font-size: 0.92em; }
.esfact-lbl { display: block; font-size: 0.72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 768px) {
  .engagement-strip { padding: 0 1.5rem 3rem; }
  .es-wrap { grid-template-columns: 1fr 1fr; }
  .esfact:nth-child(2n) { border-right: none; }
  .esfact:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ---- CASE STUDY GRID (Customer Success listing page) ---- */
.case-grid-section { padding: 4rem 3rem 6rem; }
.case-grid-section-inner { max-width: 1280px; margin: 0 auto; }
.case-grid-eyebrow { text-align: center; font-size: 0.78rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 1rem; }
.case-grid-title { text-align: center; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--text); line-height: 1.1; margin-bottom: 1.25rem; font-weight: 400; }
.case-grid-title em { font-style: italic; }
.case-grid-lead { text-align: center; font-size: 1.05rem; color: var(--text-dim); max-width: 720px; margin: 0 auto 4rem; line-height: 1.6; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 768px) {
  .case-grid-section { padding: 3rem 1.5rem 4rem; }
  .case-grid { grid-template-columns: 1fr; gap: 1rem; }
}
.case-grid-card {
  position: relative; display: flex; flex-direction: column; padding: 2.25rem 2.25rem 2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  transition: all 0.32s cubic-bezier(.2,.7,.2,1); text-decoration: none; overflow: hidden;
}
.case-grid-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-accent, #4F7FCF); }
.case-grid-card:hover { transform: translateY(-4px); border-color: var(--card-accent, #4F7FCF); box-shadow: 0 14px 40px -16px var(--card-accent, rgba(79,127,207,0.6)); }
.cgc-meta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; font-weight: 600; }
.cgc-meta::before { content: ''; width: 6px; height: 6px; background: var(--card-accent, #4F7FCF); border-radius: 50%; }
.cgc-company { font-family: var(--serif); font-size: clamp(1.85rem, 2.4vw, 2.2rem); color: var(--text); margin-bottom: 0.85rem; line-height: 1.15; font-weight: 400; }
.cgc-company em { font-style: italic; }
.cgc-headline { font-size: 1rem; color: var(--text-dim); line-height: 1.55; margin-bottom: 1.5rem; flex: 1; }
.cgc-stats { display: flex; gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); margin-bottom: 1.25rem; }
.cgc-stat-num { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--card-accent, #4F7FCF); line-height: 1.2; }
.cgc-stat-lbl { font-size: 0.7rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.cgc-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--card-accent, #4F7FCF); text-decoration: none; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; }
.cgc-link span { transition: transform 0.25s; }
.case-grid-card:hover .cgc-link span { transform: translateX(4px); }

/* ---- FEATURE DIAGRAM (optional image + caption module) ---- */
.feature-diagram { padding: clamp(3rem, 6vw, 5rem) 0; }
.fd-wrap { max-width: 900px; margin: 0 auto; padding: 0 clamp(1.4rem, 4vw, 2.4rem); text-align: center; }
.fd-header { max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.fd-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 1.2rem; }
.fd-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1rem; color: var(--text); }
.fd-title .fd-accent { color: var(--electric); }
.fd-tag { font-size: 1.02rem; color: var(--text-mute); line-height: 1.55; }
.fd-figure { margin: 0; }
.fd-figure img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); }
.fd-caption { margin-top: 1.2rem; text-align: left; padding-top: 1rem; border-top: 1px solid var(--border); }
.fd-caption-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.5rem; }
.fd-caption-text { font-family: var(--serif); font-size: 0.98rem; line-height: 1.55; color: var(--text-mute); margin: 0; }
.fd-caption-text em { font-style: italic; color: var(--text); }
