/* =====================================================================
   case-bcs.css — page-scoped styles ONLY. base.css + theme-*.css
   are sourced from ../home_v5_themed/ and not edited.
   Same primitives as case-pioneer.css with one addition: the .case-cobrand
   "In partnership with Full Steam Consulting" line in the hero.
   ===================================================================== */

/* =====  CASE HERO  ===== */
.case-hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: var(--hero-pad-y) 0;
  position: relative;
  overflow: hidden;
}
.case-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative; z-index: 2;
}
.case-hero h1 {
  font-family: var(--font-display);
  font-size: var(--hero-h-size);
  line-height: var(--hero-h-line);
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--hero-text);
  margin-bottom: 22px;
}
.case-hero .case-summary {
  font-size: 19px;
  line-height: 1.55;
  color: var(--hero-sub-text);
  max-width: 580px;
  margin-bottom: 24px;
}

/* Full Steam co-brand line — BCS-specific, sits below summary, above (no) CTAs */
.case-cobrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--hero-meta-text);
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.10);
}
.case-cobrand-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-meta-text);
}
.case-cobrand-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--hero-text);
  text-decoration: none;
  letter-spacing: -0.005em;
}
.case-cobrand-link:hover { color: var(--accent); }

.case-hero-visual {
  aspect-ratio: 5/4;
  background: var(--hero-visual-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}
.case-hero-visual  img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Fact-chip strip — Industry · HQ · Apps · Posted */
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 32px;
}
.fact-chip {
  flex: 1;
  min-width: 180px;
  padding: 16px 24px 16px 0;
  border-right: 1px solid var(--line);
}
.fact-chip:last-child { border-right: none; padding-right: 0; }
.fact-chip:not(:first-child) { padding-left: 24px; }
.fact-chip-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hero-meta-text);
  font-weight: 500;
  margin-bottom: 6px;
}
.fact-chip-value {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  color: var(--hero-text);
  font-weight: 500;
}

/* =====  AT A GLANCE  ===== */
.at-a-glance {
  max-width: 760px;
  margin: 0 auto 56px;
  background: var(--surface-card);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 38px;
}
.at-a-glance-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}
.at-a-glance dl {
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 22px;
}
.at-a-glance dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  padding-top: 3px;
}
.at-a-glance dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-1);
  font-weight: 500;
}
.theme-lobby .at-a-glance {
  background: #f4f1ec;
  border-radius: 0;
  border-color: #8a7d62;
  box-shadow: none;
}
.theme-corporate .at-a-glance {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}

/* =====  ARTICLE BODY  ===== */
.case-body {
  background: var(--why-bg);
  padding: calc(var(--section-pad-y) * 0.7) 0 var(--section-pad-y);
}
.case-article {
  max-width: 760px;
  margin: 0 auto;
}
.case-article h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
  margin-top: 64px;
  margin-bottom: 22px;
}
.case-article h2:first-child { margin-top: 0; }
.case-article p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-1);
  margin-bottom: 18px;
}
.case-article p:last-child { margin-bottom: 0; }

/* Bold-label-colon bullets — Zenatta-formula Solution + Results bullets */
.case-article ul.solution-bullets,
.case-article ul.results-bullets {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
}
.case-article ul.solution-bullets li,
.case-article ul.results-bullets li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-1);
  padding: 18px 0 18px 26px;
  border-top: 1px solid var(--line);
  position: relative;
}
.case-article ul.solution-bullets li:first-child,
.case-article ul.results-bullets li:first-child { border-top: none; padding-top: 8px; }
.case-article ul.solution-bullets li::before,
.case-article ul.results-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 28px;
  width: 14px; height: 1px;
  background: var(--accent);
}
.case-article ul.solution-bullets li:first-child::before { top: 18px; }
.case-article ul li strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.005em;
}

/* =====  PULL QUOTE  ===== */
.pull-quote {
  margin: 80px 0 60px;
  padding: 48px 56px 44px;
  background: var(--surface-card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: var(--shadow-card);
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 4px; left: 24px;
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--accent);
  opacity: 0.20;
  line-height: 1;
}
.pull-quote-text {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--text-1);
  font-style: italic;
  margin-bottom: 32px;
}
.pull-quote-attr {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pull-quote-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.pull-quote-meta {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
}
.pull-quote-meta strong {
  display: block;
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 16px;
  letter-spacing: var(--display-tracking);
  margin-bottom: 2px;
}

/* =====  APPS USED STRIP  ===== */
.apps-used {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.apps-used-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.apps-used-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.apps-used-list .app-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px 10px 14px;
  background: var(--surface-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-button);
  color: var(--text-1);
  letter-spacing: 0.01em;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.apps-used-list .app-pill:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.apps-used-list .app-pill i,
.apps-used-list .app-pill svg.lucide {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  flex-shrink: 0;
}
.apps-used-list .app-pill--future {
  opacity: 0.62;
  font-style: italic;
}
.apps-used-list .app-pill--future i,
.apps-used-list .app-pill--future svg.lucide {
  stroke: var(--text-3);
}

/* Fix invisible Book Consult button on .case-cta — see comment in case-pioneer.css */
.theme-lobby .case-cta .btn-primary {
  background: #b3a586;
  color: #1a1e26;
  border-color: #b3a586;
  box-shadow: 0 6px 16px rgba(26,30,38,0.16);
}
.theme-lobby .case-cta .btn-primary:hover {
  background: #1a1e26;
  color: #f4f1ec;
  border-color: #1a1e26;
}
.theme-corporate .case-cta .btn-primary {
  background: #226DB4;
  color: #ffffff;
  border-color: #226DB4;
  box-shadow: 0 6px 16px rgba(34,109,180,0.20);
}
.theme-corporate .case-cta .btn-primary:hover {
  background: #1a5a96;
  border-color: #1a5a96;
}

/* =====  INLINE CASE CTA  ===== */
.case-cta {
  margin-top: 64px;
  padding: 44px 48px;
  background: var(--surface-card);
  border: var(--border-width) solid var(--card-border);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.case-cta-text h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: var(--display-tracking);
  font-weight: var(--display-weight);
  color: var(--text-1);
}
.case-cta-text h3 em { color: var(--accent); }
/* Suppress base.css .case-cta::after orphan arrow — see case-pioneer.css. */
.case-cta::after { content: none; }

/* =====  THEME-LOBBY OVERRIDES  ===== */
.theme-lobby .case-hero {
  background:
    linear-gradient(180deg, rgba(26,30,38,0.0) 0%, rgba(26,30,38,0.75) 100%),
    linear-gradient(135deg, #1a1e26 0%, #2c303a 50%, #4a4f5a 100%);
}
.theme-lobby .case-hero::before {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  background-image:
    linear-gradient(rgba(244,241,236,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,236,0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.55;
  pointer-events: none;
}
.theme-lobby .case-hero h1 { font-weight: 300; }
.theme-lobby .case-hero h1 em { font-weight: 500; }
.theme-lobby .case-hero-visual {
  border-radius: 0;
  border-color: rgba(244,241,236,0.18);
}
.theme-lobby .case-cobrand {
  background: rgba(244,241,236,0.06);
  border-color: rgba(244,241,236,0.30);
  border-radius: 0;
}
.theme-lobby .case-cobrand-label { color: rgba(244,241,236,0.65); }
.theme-lobby .case-cobrand-link { color: #b3a586; font-weight: 500; }
.theme-lobby .case-cobrand-link:hover { color: #f4f1ec; }
.theme-lobby .fact-chips {
  border-top-color: rgba(244,241,236,0.18);
  border-bottom-color: rgba(244,241,236,0.18);
}
.theme-lobby .fact-chip { border-right-color: rgba(244,241,236,0.18); }
.theme-lobby .fact-chip-label { color: rgba(244,241,236,0.55); }
.theme-lobby .fact-chip-value { color: rgba(244,241,236,0.92); }
.theme-lobby .case-article h2 { font-weight: 400; }
.theme-lobby .pull-quote {
  background: #f4f1ec;
  border-radius: 0;
  border-left-width: 3px;
  box-shadow: none;
}
.theme-lobby .pull-quote-text { font-weight: 400; }
.theme-lobby .pull-quote-photo {
  border-radius: 0;
  background: #ebe6dd;
  border-color: #8a7d62;
}
.theme-lobby .app-pill {
  border-radius: 0;
  background: transparent;
  border-color: #8a7d62;
  color: #1a1e26;
}
.theme-lobby .case-cta {
  background: #f4f1ec;
  border-color: #8a7d62;
  border-radius: 0;
}
.theme-lobby .case-cta-text h3 { font-weight: 400; }

/* =====  THEME-CORPORATE OVERRIDES  ===== */
.theme-corporate .case-hero { background: #ffffff; }
.theme-corporate .case-hero h1 em { color: #226DB4; font-style: normal; }
.theme-corporate .case-cobrand {
  background: #e8f1fa;
  border-color: #226DB4;
  border-radius: 999px;
}
.theme-corporate .case-cobrand-label { color: #226DB4; }
.theme-corporate .case-cobrand-link { color: #1e293b; }
.theme-corporate .case-cobrand-link:hover { color: #226DB4; }
.theme-corporate .case-article h2 em { color: #226DB4; font-style: normal; }
.theme-corporate .case-article ul.solution-bullets li::before,
.theme-corporate .case-article ul.results-bullets li::before { background: #226DB4; }
.theme-corporate .pull-quote {
  background: #f8fafc;
  border-left-color: #226DB4;
}
.theme-corporate .pull-quote-photo { background: #e8f1fa; color: #226DB4; }
.theme-corporate .app-pill {
  background: #ffffff;
  border-color: #e2e8f0;
}
.theme-corporate .case-cta {
  background: #f8fafc;
  border-color: #e2e8f0;
}
