/* ============================================================
   STRATALIS GROUP, Homepage Styles
   ============================================================ */

/* ---- Section Layout Helpers ---- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-8);
  flex-wrap: wrap;
}
.section-header h2 { margin: 0; }

.section-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: var(--space-3);
}

/* ================================================================
   SERVICES STRIP
   ================================================================ */
.services-strip {
  background: var(--grey-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}
.strip-header .section-eyebrow { margin: 0; }

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.strip-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-6);
  background: var(--white);
  text-decoration: none;
  transition: background var(--trans-fast);
}
.strip-card:hover { background: rgba(212,69,29,0.03); }
.strip-card:hover .strip-arrow { color: var(--red); transform: translateX(3px); }

.strip-icon {
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strip-text {
  grid-column: 1 / -1;
  grid-row: 2;
}

.strip-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.strip-card p {
  font-size: var(--text-xs);
  color: var(--charcoal);
  max-width: 100%;
  line-height: 1.5;
}

.strip-arrow {
  grid-column: 3;
  grid-row: 1;
  font-size: var(--text-base);
  color: var(--grey-300);
  transition: color var(--trans-fast), transform var(--trans-fast);
}

@media (max-width: 960px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .strip-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   MISSION
   ================================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.mission-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}

.mission-body {
  font-size: var(--text-md);
  color: var(--charcoal);
  margin-bottom: var(--space-8);
}

.mission-quote {
  border-left: 3px solid var(--red);
  padding-left: var(--space-5);
  margin: var(--space-8) 0;
}
.mission-quote p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--charcoal-dark);
  margin: 0;
  max-width: 100%;
}
.mission-quote-attribution {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--charcoal);
}
.mission-quote-attribution strong { color: var(--charcoal-dark); }

/* Mission visual */
.mission-visual-inner {
  position: relative;
  padding: var(--space-8);
}

.mission-accent-bg {
  position: absolute;
  inset: 0;
  background: var(--grey-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.mission-pillars {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-bottom: var(--space-8);
}

.mission-pillar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--pillar-color, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.pillar-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--charcoal-dark);
}

.mission-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}

.mstat {}
.mstat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.mstat-label {
  font-size: var(--text-xs);
  color: var(--charcoal);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 800px) {
  .mission-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials {
  background: var(--charcoal-dark);
  overflow: hidden;
}

.testimonials-track-wrap {
  position: relative;
}

.testimonials-inner {
  position: relative;
  overflow: hidden;
}

.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.testi-nav {
  display: flex;
  gap: var(--space-3);
}

.testi-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast);
}
.testi-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: white;
}

.testi-track {
  display: grid;
  grid-template-columns: repeat(4, calc(50% - 12px));
  gap: var(--space-6);
  /* overflow on wrapper, not here, so translateX can reveal hidden cards */
  transition: transform var(--trans-slow) var(--ease-in-out);
  will-change: transform;
}

.testi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testi-quote {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 100%;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--red);
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
}

.testi-role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.testi-sector {
  display: inline-block;
  padding: 3px var(--space-3);
  background: rgba(212,69,29,0.2);
  color: rgba(255,120,80,0.9);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

.testi-dots {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-6);
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background var(--trans-fast), transform var(--trans-fast);
  padding: 0;
}
.testi-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .testi-track {
    grid-template-columns: repeat(4, calc(85% - 12px));
  }
}
@media (max-width: 600px) {
  .testi-track {
    grid-template-columns: repeat(4, 85vw);
  }
}

/* ================================================================
   INDUSTRIES
   ================================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.industry-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  background: var(--charcoal-dark);
  position: relative;
  min-height: 320px;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.industry-img-wrap {
  position: absolute;
  inset: 0;
}

.industry-bg-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--charcoal-dark), var(--charcoal));
  background-image: var(--ind-bg);
  background-size: cover;
  background-position: center;
  transition: transform var(--trans-slow);
}
.industry-card:hover .industry-bg-img { transform: scale(1.05); }

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(30,30,30,0.95) 0%,
    rgba(30,30,30,0.6) 50%,
    rgba(30,30,30,0.2) 100%
  );
}

.industry-body {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
}

.industry-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--ind-color, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-body h3 {
  color: white;
  font-size: var(--text-md);
  font-family: var(--font-body);
  font-weight: 700;
}

.industry-body p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  max-width: 100%;
  line-height: 1.5;
}

.industry-link {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color var(--trans-fast);
}
.industry-card:hover .industry-link { color: white; }

@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industry-grid { grid-template-columns: 1fr; } }

/* ================================================================
   INSIGHTS GRID
   ================================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.insight-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.insight-img-wrap {
  height: 180px;
  background: var(--grey-50);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.insight-tag-wrap {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
}

.insight-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.insight-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.insight-body h3 {
  font-size: var(--text-md);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--charcoal-dark);
  line-height: 1.35;
}

.insight-body p {
  font-size: var(--text-sm);
  color: var(--charcoal);
  max-width: 100%;
  line-height: 1.5;
}

.insight-body .arrow-link {
  margin-top: auto;
}

@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .insights-grid { grid-template-columns: 1fr; } }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  background: var(--grey-50);
  border-top: 1px solid var(--color-border);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-wave svg { width: 100%; }

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  position: relative;
  flex-wrap: wrap;
}

.cta-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.cta-text p {
  color: var(--charcoal);
  font-size: var(--text-md);
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   NEW HERO, Dark charcoal stage, McKinsey architectural layout
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: #2a2d2d;   /* deep charcoal, brand color */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  /* Prevent layout jump when mobile browser chrome collapses on scroll */
  contain: layout style;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Left stays readable, right side lighter for card contrast */
  background:
    linear-gradient(105deg,
      rgba(42,45,45,0.82) 0%,
      rgba(42,45,45,0.60) 55%,
      rgba(42,45,45,0.30) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-16);
  align-items: center;
  padding-top: calc(var(--nav-height, 72px) + var(--space-12));
  padding-bottom: var(--space-16);
}

/* ---- Hero LEFT (headline) ---- */
.hero-left { max-width: 680px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-8);
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* McKinsey staggered/cascading headline */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  color: white;
  margin-bottom: var(--space-7);
  font-size: clamp(42px, 5.5vw, 72px);
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-line-in 0.8s var(--ease-out) forwards;
}
.hero-line-1 { animation-delay: 0.05s; }
.hero-line-2 { animation-delay: 0.18s; }  /* cascade indent */
.hero-line-3 { animation-delay: 0.32s; }

@keyframes hero-line-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-title em {
  font-style: italic;
  color: var(--red);
}

.hero-body {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.70);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: hero-line-in 0.8s 0.45s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: hero-line-in 0.8s 0.6s var(--ease-out) forwards;
}

/* Solid primary CTA */
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--red);
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s ease;
}
.hero-cta-primary:hover { background: var(--red-dark); color: white; }

/* Ghost / outline CTA */
.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.30);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-cta-ghost:hover { color: white; border-color: white; }

/* Hero stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
  opacity: 0;
  animation: hero-line-in 0.8s 0.75s var(--ease-out) forwards;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.hero-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ---- Hero RIGHT (featured card) ---- */
.hero-right {
  opacity: 0;
  animation: hero-right-in 1s 0.5s var(--ease-out) forwards;
}
@keyframes hero-right-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-featured-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-featured-card:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.hero-featured-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.hero-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.hero-featured-card:hover .hero-featured-img img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(0.9);
}

.hero-featured-body {
  padding: var(--space-6);
}
.hero-featured-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.hero-featured-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: var(--space-3);
}
.hero-featured-sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: var(--space-5);
}
.hero-featured-link {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-featured-link:hover { color: white; border-color: rgba(255,255,255,0.6); }

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height, 72px) + var(--space-16));
    gap: var(--space-10);
  }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(32px, 6vw, 56px); }
  .hero-line-2 { padding-left: 0; }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(28px, 8vw, 44px); }
  .hero-body  { font-size: var(--text-sm); }
  .hero-stats { gap: var(--space-5); }
  .hero-stat-num { font-size: var(--text-2xl); }
}

/* ================================================================
   BCG-STYLE EXPANDING CARD CAROUSEL
   ================================================================ */
.bcg-section {
  padding: var(--space-20) 0 0;
  background: white;
  overflow: hidden;
}

.bcg-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.bcg-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: var(--space-2);
}

.bcg-title {
  font-size: var(--text-3xl);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal-dark);
  margin: 0;
}

.bcg-all-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--charcoal-dark);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--charcoal-dark);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.bcg-all-link:hover { color: var(--red); border-color: var(--red); }

/* ---- Carousel track ---- */
.bcg-carousel-wrap {
  padding-bottom: var(--space-10);
}

.bcg-carousel {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 480px;
  padding: 0 calc((100vw - min(1280px, 92vw)) / 2);
  overflow: visible;
}

/* Each card has flex sizing, inactive = narrow, active = wide */
.bcg-card {
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  width: 100px;          /* flanking/inactive width */
  height: 340px;         /* flanking/inactive height */
  overflow: hidden;
  cursor: pointer;
  transition:
    width  0.55s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
}

.bcg-card:hover:not(.bcg-card-active) {
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

/* Active card, large */
.bcg-card.bcg-card-active {
  width: 580px;
  height: 480px;
  flex-shrink: 0;
}

/* Flanking image (visible when inactive) */
.bcg-flanking {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.bcg-card-active .bcg-flanking { opacity: 0; pointer-events: none; }

.bcg-flanking img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.75);
  transition: filter 0.4s ease;
}
.bcg-card:hover:not(.bcg-card-active) .bcg-flanking img {
  filter: grayscale(10%) brightness(0.85);
}

/* Active inner (image + frosted overlay) */
.bcg-active-inner {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s 0.15s ease;
  display: flex;
  flex-direction: column;
}
.bcg-card-active .bcg-active-inner { opacity: 1; }

.bcg-img-wrap {
  position: absolute;
  inset: 0;
}
.bcg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  transition: transform 0.6s ease;
}
.bcg-card-active:hover .bcg-img-wrap img { transform: scale(1.04); }

/* Frosted glass overlay at bottom */
.bcg-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8);
  background: linear-gradient(to top, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.60) 60%, transparent 100%);
  z-index: 2;
}

.bcg-overlay-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-3);
}

.bcg-overlay-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.bcg-overlay-excerpt {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: var(--space-5);
}

.bcg-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: white;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.bcg-overlay-cta:hover { background: var(--red); border-color: var(--red); }

/* Controls */
.bcg-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-6) 0 var(--space-8);
}

.bcg-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--charcoal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bcg-btn:hover { background: var(--red); color: white; border-color: var(--red); }

.bcg-progress {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.bcg-dot {
  width: 8px;
  height: 8px;
  border-radius: 0; /* McKinsey square dots */
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.bcg-dot.bcg-dot-active {
  background: var(--red);
  transform: scale(1.4);
}

@media (max-width: 1024px) {
  .bcg-section { overflow: hidden; }
  .bcg-carousel-wrap { overflow: hidden; max-width: 100vw; }
  .bcg-carousel {
    height: 360px;
    padding: 0 var(--space-4);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    max-width: 100%;
  }
  .bcg-carousel::-webkit-scrollbar { display: none; }
  .bcg-card { width: 72px; height: 260px; }
  .bcg-card.bcg-card-active { width: min(480px, 70vw); height: 360px; }
  .bcg-overlay-title { font-size: var(--text-xl); }
  .bcg-overlay-excerpt { display: none; }
}
@media (max-width: 600px) {
  .bcg-card.bcg-card-active { width: min(340px, 85vw); }
}

/* Journey CSS now in horizontal slider block below */

/* ================================================================
   CLIENT JOURNEY, Ribbon Wave Visualization
   ================================================================ */
.cj-section {
  background: #f5f4f0;
  padding: var(--space-16) 0 var(--space-6);
  overflow-x: hidden;  /* clips horizontal overflow from wide canvas */
  overflow-y: visible; /* allow story cards to escape downward */
  position: relative;
  z-index: 10;         /* float above sections below */
  max-width: 100vw;
  width: 100%;
}

/* Header row */
.cj-ribbon-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.cj-ribbon-left { max-width: 560px; }

.cj-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: var(--space-3);
}

.cj-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--charcoal-dark);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.cj-subtitle {
  font-size: var(--text-md);
  color: var(--charcoal);
  line-height: 1.65;
}

.cj-ribbon-nav {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.cj-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--charcoal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.cj-nav-btn:hover { background: var(--red); color: white; border-color: var(--red); }

/* Ribbon stage, full bleed */
/* Scrolling ribbon stage, canvas + dots scroll together */
.cj-ribbon-stage {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;  /* allow story cards to float above/below */
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: relative;  /* needed for absolute-positioned inner */
}
.cj-ribbon-stage::-webkit-scrollbar { display: none; }
.cj-ribbon-stage:active { cursor: grabbing; }

/* Inner wrapper, width set by JS dynamically based on dot positions */
.cj-ribbon-inner {
  position: relative;
  width: 100vw;    /* fallback before JS runs; JS overrides to match last dot + margin */
  height: 560px;
  flex-shrink: 0;
}

#cj-ribbon-canvas {
  position: absolute;
  top: 0; left: 0;
  display: block;
  pointer-events: none; /* let mouse events pass through to dot nodes */
  /* width/height set by JS */
}

/* Dot nodes container, same dimensions as canvas, set by JS */
.cj-ribbon-dots {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Individual dot node */
.cj-dot-node {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  /* outline removed, see :focus-visible in base.css */outline: revert;
  z-index: 10;
}

/* Outer pulse ring */
.cj-dot-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  animation: dot-pulse 3s ease-in-out infinite;
}
.cj-dot-node:hover .cj-dot-ring,
.cj-dot-node:focus .cj-dot-ring,
.cj-dot-node.cj-dot-active .cj-dot-ring {
  inset: -16px;
  opacity: 0.5;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.15); opacity: 0.3; }
}

/* Core dot */
.cj-dot-inner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cj-dot-node:hover .cj-dot-inner,
.cj-dot-node.cj-dot-active .cj-dot-inner {
  transform: scale(1.4);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.cj-dot-num {
  font-size: 8px;
  font-weight: 800;
  color: white;
  letter-spacing: 0;
  line-height: 1;
}

/* Label that floats near the dot */
.cj-dot-label {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  background: rgba(247,246,243,0.9);
  padding: 3px 8px;
  transition: opacity 0.2s;
}
.cj-dot-node:hover .cj-dot-label,
.cj-dot-node.cj-dot-active .cj-dot-label { opacity: 0; }

/* Story card, emerges from the dot on hover */
.cj-story {
  position: fixed;         /* fixed so it escapes ALL parent clipping */
  width: 300px;
  max-height: 70vh;        /* never taller than 70% of viewport */
  overflow-y: auto;        /* scroll if content overflows */
  background: white;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: var(--space-6);
  pointer-events: none;
  opacity: 0;
  transform-origin: top center;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;           /* above everything */
}
.cj-story-below { /* unused, JS always positions above via fixed */ }
.cj-story-above { /* unused, JS always positions above via fixed */ }

.cj-story.cj-story-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Arrow pointer */
.cj-story-below::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.06));
}
.cj-story-above::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

.cj-story-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-2);
}

.cj-story-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--charcoal-dark);
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.cj-story-body {
  font-size: var(--text-xs);
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.cj-story-metric {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--charcoal-dark);
  border-left: 3px solid;
  padding-left: var(--space-3);
  margin-bottom: var(--space-4);
}

.cj-story-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: white;
  border: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cj-story-cta:hover { opacity: 0.85; }

/* Footer row */
.cj-ribbon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cj-dot-pips {
  display: flex;
  gap: var(--space-2);
}

.cj-dot-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.cj-dot-pip:hover { background: var(--red); transform: scale(1.3); }

.cj-all-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--charcoal-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--charcoal-dark);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.cj-all-link:hover { color: var(--red); border-color: var(--red); }

/* ---- Inline Modal ---- */
.cj-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cj-modal.cj-modal-open { opacity: 1; pointer-events: auto; }

.cj-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,20,20,0.75);
  backdrop-filter: blur(4px);
}

.cj-modal-panel {
  position: relative; z-index: 1;
  background: white;
  max-width: 600px; width: 90%;
  max-height: 80vh; overflow-y: auto;
  padding: var(--space-12) var(--space-10);
  transform: translateY(24px);
  transition: transform 0.35s ease;
}
.cj-modal-open .cj-modal-panel { transform: translateY(0); }

.cj-modal-close {
  position: absolute; top: var(--space-5); right: var(--space-5);
  width: 36px; height: 36px;
  background: var(--grey-50); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal-dark); transition: background 0.2s, color 0.2s;
}
.cj-modal-close:hover { background: var(--red); color: white; }

.cjm-num {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 700;
  opacity: 0.08; line-height: 1; margin-bottom: var(--space-2);
}
.cjm-tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; margin-bottom: var(--space-4);
}
.cjm-title {
  font-family: var(--font-display); font-size: var(--text-3xl);
  font-weight: 700; color: var(--charcoal-dark);
  line-height: 1.2; margin-bottom: var(--space-6);
  padding-bottom: var(--space-6); border-bottom: 1px solid var(--color-border);
}
.cjm-detail p {
  font-size: var(--text-md); color: var(--charcoal);
  line-height: 1.7; margin-bottom: var(--space-4);
}
.cjm-metric {
  border-left: 3px solid; padding: var(--space-4) var(--space-5);
  font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: 700; color: var(--charcoal-dark);
  background: var(--grey-50); margin: var(--space-6) 0;
}
.cjm-link {
  display: inline-flex; align-items: center;
  padding: 12px 24px; color: white;
  font-size: var(--text-sm); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; transition: opacity 0.2s;
}
.cjm-link:hover { opacity: 0.85; color: white; }

@media (max-width: 900px) {
  #cj-ribbon-canvas { height: 380px; }
  .cj-story { width: 240px; }
}
@media (max-width: 600px) {
  #cj-ribbon-canvas { height: 300px; }
  .cj-story { width: 200px; font-size: 11px; }
  .cj-story-body { display: none; }
}


/* Individual dot node */
.cj-dot-node {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  /* outline removed, see :focus-visible in base.css */outline: revert;
  z-index: 10;
}

/* Outer pulse ring */
.cj-dot-ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px solid;
  opacity: 0.4;
  animation: dot-pulse 2.5s ease-in-out infinite;
  transition: inset 0.4s ease, opacity 0.4s ease;
}
.cj-dot-node:hover .cj-dot-ring,
.cj-dot-node.cj-dot-active .cj-dot-ring {
  inset: -22px;
  opacity: 0.7;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.35; }
  50%       { transform: scale(1.18); opacity: 0.15; }
}

/* Sphere ball */
.cj-dot-ball {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.20), 0 0 0 4px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}
.cj-dot-node:hover .cj-dot-ball,
.cj-dot-node.cj-dot-active .cj-dot-ball {
  transform: scale(1.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 0 0 6px rgba(0,0,0,0.08);
}

.cj-dot-num {
  font-size: 14px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* Label */
.cj-dot-label {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal-dark);
  white-space: nowrap;
  background: none;
  padding: 0;
  transition: opacity 0.2s;
}
.cj-dot-node:hover .cj-dot-label,
.cj-dot-node.cj-dot-active .cj-dot-label { opacity: 0; }
/* ── Label: two lines of white text above dot ─────────────── */
.cj-dot-label {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}
.cj-dot-label span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--charcoal-dark);
  white-space: nowrap;
  line-height: 1.3;
}
.cj-dot-node:hover .cj-dot-label,
.cj-dot-node.cj-dot-active .cj-dot-label { opacity: 0; transition: opacity 0.2s; }

/* ── Story num (large faded number at top of card) ─────────── */
.cj-story-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--charcoal-dark);
  opacity: 0.06;
  line-height: 1;
  margin-bottom: var(--space-1);
}

/* ── Scroll hint on ribbon footer ──────────────────────────── */
.cj-scroll-hint {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  opacity: 0.55;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.cj-scroll-hint svg { flex-shrink: 0; }

/* ── Client Journey pill selectors ─────────────────────────── */
.cj-selector {
  margin-bottom: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.cj-selector-label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  white-space: nowrap;
  margin-right: var(--space-1);
}
.cj-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.cj-pill {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  background: white;
  border: 1px solid #d0d0d0;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  white-space: nowrap;
}
.cj-pill:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}
.cj-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.cj-pill.active:hover {
  background: #bf3d19;
  border-color: #bf3d19;
  color: white;
  transform: none;
}
@media (max-width: 640px) {
  .cj-pills { gap: var(--space-2); }
  .cj-pill { font-size: 11px; padding: 7px 13px; }
}

/* ── Client Logos Strip ─────────────────────────────────────── */
.logos-strip {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fafaf8;
}
.logos-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--charcoal);
  opacity: 0.5;
  text-align: center;
  margin-bottom: var(--space-6);
}




/* ── Featured Insights Section ──────────────────────────────── */
.insights-section { padding-top: var(--space-20); padding-bottom: var(--space-20); }

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
  align-items: start;
}

/* Featured large card */
.insight-card-featured {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.insight-card-img {
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}
.insight-card-img img { transition: transform 0.5s ease; }
.insight-card-featured:hover .insight-card-img img { transform: scale(1.04); }
.insight-card-body { padding: var(--space-7); }
.insight-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.insight-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--charcoal-dark);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}
.insight-card-excerpt {
  font-size: var(--text-sm);
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}
.insight-card-meta {
  font-size: var(--text-xs);
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: var(--space-5);
}
.insight-link { font-size: var(--text-sm); }

/* Sidebar small cards */
.insights-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.insight-card-sm {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}
.insight-card-sm:last-child { border-bottom: none; }
.insight-card-sm-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-2);
}
.insight-card-sm-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--charcoal-dark);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}
.insight-card-sm-meta {
  font-size: var(--text-xs);
  color: var(--charcoal);
  opacity: 0.55;
  margin-bottom: var(--space-3);
}
.insight-sm-link {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}
.insight-sm-link:hover { color: var(--red); border-color: var(--red); }

/* Hero featured card styles */
.hero-featured-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.3s;
  cursor: pointer;
}
.hero-featured-card:hover {
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-4px);
}
.hero-featured-img {
  height: 220px;
  overflow: hidden;
}
.hero-featured-img img { transition: transform 0.5s; }
.hero-featured-card:hover .hero-featured-img img { transform: scale(1.04); }
.hero-featured-body { padding: var(--space-6); }
.hero-featured-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.hero-featured-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: var(--space-3);
}
.hero-featured-sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}
.hero-featured-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-featured-link:hover { color: white; border-color: rgba(255,255,255,0.6); }

@media (max-width:960px) {
  .insights-grid { grid-template-columns: 1fr; }
  
}

.logos-strip {
  padding: var(--space-8) 0 var(--space-10);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--white);
  overflow: hidden;
}
.logos-label-wrap {
  margin-bottom: var(--space-6);
}
.logos-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  opacity: 0.6;
}
/* ── Infinite marquee ── */
.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 160s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  opacity: 0.55;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0 var(--space-10);
  position: relative;
  transition: opacity 0.2s;
}
.marquee-item::after {
  content: '·';
  position: absolute;
  right: 0;
  transform: translateX(50%);
  opacity: 0.3;
}
.marquee-item:hover { opacity: 0.85; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .logos-marquee { overflow-x: auto; }
}








/* ── Who We Are, Foresight / Flexibility / Focus ───────────── */








/* ── Who We Are right side, clean accent rows ──────────────── */
.fff-pillars {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--space-4) 0;
}
.fff-pillar {
  display: flex;
  align-items: stretch;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.fff-pillar:first-child { border-top: 1px solid var(--color-border); }
.fff-accent {
  width: 3px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 2px;
}
.fff-accent--grey { background: var(--charcoal); }
.fff-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.fff-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--dark-charcoal);
  letter-spacing: -0.01em;
}
.fff-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--charcoal);
  line-height: 1.55;
}

/* ================================================================
   MOBILE SPACING OPTIMISATION, reduce excess vertical padding
   ================================================================ */
@media (max-width: 768px) {

  /* Hero, let it breathe but not fill 100vh with empty space */
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-height, 72px) + var(--space-8));
    padding-bottom: var(--space-8);
  }
  .hero-right { display: none; } /* hide the feature card on mobile, it adds huge height */

  /* BCG carousel */
  .bcg-section { padding: var(--space-10) 0 0; }
  .bcg-carousel { height: 280px; }

  /* Who We Are */
  .mission { padding: var(--space-10) 0; }
  .mission-grid { gap: var(--space-8); }
  .mission-visual { display: none; } /* hide the right visual on mobile */

  /* Nine Practices */
  .svb-section { padding: var(--space-10) 0; }
  .svb-grid { grid-template-columns: 1fr; }
  .svb-col-dark { padding: var(--space-8); min-height: auto; }
  .svb-col-light { padding: var(--space-8) var(--space-6); }

  /* Client Journey */
  .cj-section { padding: var(--space-6) 0 var(--space-4); overflow-x: visible; }
  .cj-ribbon-header { padding-top: var(--space-2); padding-bottom: var(--space-2); }

  /* What Clients Say / CTA band */
  .cta-band { padding: var(--space-10) 0; }

  /* Insights */
  .insights-section { padding-top: var(--space-10); padding-bottom: var(--space-10); }
}

/* ================================================================
   MOBILE JOURNEY RIBBON IMPROVEMENTS
   ================================================================ */
@media (max-width: 768px) {

  /* Pills: horizontal scrollable row instead of wrapping stack */
  .cj-selector {
    margin-bottom: var(--space-4);
  }
  .cj-pills {
    flex-wrap: wrap;        /* stack vertically, all pills visible */
    overflow: visible;
    gap: var(--space-2);
    width: 100%;
  }
  .cj-pill {
    flex: 1 1 45%;          /* two per row max, or wrap to single */
    text-align: center;
  }
  .cj-pill {
    font-size: 9px;
    padding: 6px 10px;
    flex-shrink: 0;
  }
  .cj-selector-label { display: none; } /* hide "Explore a client journey:" label */

  /* Dots, smaller on mobile */
  .cj-dot-ball {
    width: 36px !important;
    height: 36px !important;
  }
  .cj-dot-ball svg {
    width: 16px !important;
    height: 16px !important;
  }
  .cj-dot-label {
    font-size: 7px !important;
    max-width: 72px !important;
  }
  .cj-dot-ring {
    inset: -8px !important;
  }

  /* Ribbon stage, slightly taller so ribbon wave is visible */

  /* Scroll cue, faded right edge gradient + half-circle arrow */
  .cj-ribbon-stage {
    position: relative;
  }
  .cj-ribbon-stage::after {
    content: '›';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 52px;
    background: rgba(212,69,29,0.85);
    color: white;
    font-size: 22px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px 0 0 26px;
    pointer-events: none;
    z-index: 20;
    line-height: 1;
    padding-right: 2px;
    box-shadow: -2px 0 12px rgba(0,0,0,0.15);
  }
}

@media (max-width: 768px) {
  /* Tighten ribbon header gap */
  .cj-ribbon-header { margin-bottom: var(--space-2) !important; padding-bottom: 0 !important; }
  /* Hide prev/next nav, swipe is enough */
  .cj-ribbon-nav { display: none !important; }
}

@media (max-width: 768px) {
  .cj-subtitle { margin-bottom: var(--space-3) !important; font-size: var(--text-sm) !important; }
  .cj-title { font-size: var(--text-3xl) !important; margin-bottom: var(--space-3) !important; }
}

@media (max-width: 768px) {
  /* Prevent journey section from being taller than needed */
  .cj-ribbon-stage { height: 200px !important; overflow-x: auto; overflow-y: visible; }
}
