/* Study Pages: "Corporate Change Comes in Bundles"
   Shared chart styles — ADDITIONS ONLY over css/case-study.css.
   Load order on study pages: professional.css -> case-study.css -> study-bundles.css
   Palette: slate #64748b / #1e293b, indigo #4f46e5, red #ef4444, green #22c55e
   Fonts: Inter (body/labels), Plus Jakarta Sans (display/numbers) */

/* --- Bars (window comparison chart, SVG) --- */
.bar {
    fill: #64748b;
}

.bar-needle {
    fill: #ef4444;
}

.baseline-line {
    stroke: #4f46e5;
    stroke-width: 2;
    stroke-dasharray: 6 4;
    fill: none;
}

.baseline-tick {
    stroke: #4f46e5;
    stroke-width: 2;
    stroke-dasharray: 4 3;
    fill: none;
}

.bar-value-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    fill: #1e293b;
    text-anchor: middle;
}

.bar-axis-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    fill: #64748b;
    text-anchor: middle;
}

/* --- 17-year strip chart (SVG) --- */
.year-dot {
    fill: #4f46e5;
    stroke: #ffffff;
    stroke-width: 1.5;
}

.year-dot.year-dot-muted {
    fill: #cbd5e1;
}

.year-dot-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    fill: #64748b;
    text-anchor: middle;
}

/* --- Unfolding BORME-entry card (SVG group #bundle-card / #bundle-acts) --- */
.bundle-card {
    fill: #ffffff;
    stroke: #94a3b8;
    stroke-width: 1.5;
    filter: drop-shadow(0 4px 12px rgba(30, 41, 59, 0.10));
}

.bundle-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    fill: #1e293b;
}

.bundle-act rect,
rect.bundle-act {
    fill: #f8fafc;
    stroke: #e2e8f0;
    stroke-width: 1;
}

.bundle-act text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    fill: #1e293b;
}

.bundle-act .bundle-act-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    fill: #4f46e5;
    letter-spacing: 0.04em;
}

.bundle-act.bundle-act-highlight rect,
.bundle-act-highlight rect.bundle-act {
    fill: #fef2f2;
    stroke: #ef4444;
}

/* --- Big-number typographic callout (HTML) --- */
.stat-callout {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: #1e293b;
    margin: 8px 0 16px;
}

.stat-callout.indigo {
    color: #4f46e5;
}

.stat-callout.red {
    color: #ef4444;
}

.stat-callout.green {
    color: #22c55e;
}

.stat-callout-caption {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* --- Language switch pill (absolute top-right within .case-study-hero) --- */
.lang-switch {
    position: absolute;
    top: 100px;
    right: 24px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}

.lang-switch a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch a:hover {
    color: #ffffff;
}

.lang-switch a.active {
    color: #ffffff;
    background: rgba(79, 70, 229, 0.4);
}

/* --- Mobile (same 768px breakpoint as case-study.css; panes stack there.
       These additions must keep working in the stacked layout.) --- */
@media (max-width: 768px) {
    .lang-switch {
        top: 84px;
        right: 16px;
    }

    .stat-callout {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .year-dot-label,
    .bar-axis-label {
        font-size: 10px;
    }
}
