/* ============================================================
   FIELDMOUSE — Case Study Pages Stylesheet
   Extends: css/styles.css + css/solutions.css
   Loaded by: case-studies/index.html and case-studies/*.html
   ============================================================ */


/* ── HERO OVERRIDE
   Bring hero sub-text weight up to 400 (body-copy minimum)
   ──────────────────────────────────────────────────────────── */

.sol-hero-sub {
  font-weight: 400;
  color: rgba(255,255,255,0.65);
}


/* ── CASE STUDY META STRIP
   Dark band directly below the hero — shows case context
   ──────────────────────────────────────────────────────────── */

.cs-meta {
  background: var(--charcoal-dk);
  padding: 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cs-meta-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 20px 36px 20px 0;
  margin-right: 36px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.cs-meta-item:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.cs-meta-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.cs-meta-value {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}


/* ── NARRATIVE PROSE SECTIONS ────────────────────────────────── */

.cs-prose {
  background: var(--white);
  padding: 96px 40px;
}

.cs-prose.alt {
  background: var(--light);
}

.cs-prose-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.cs-prose-body {
  max-width: 760px;
  margin-top: 40px;
}

.cs-prose-body p {
  font-size: 16px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 22px;
}

.cs-prose-body p:last-child {
  margin-bottom: 0;
}

.cs-prose-body strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* Challenge bullets — reuses pain-list but single column */
.cs-prose .pain-list {
  margin-top: 40px;
  max-width: 760px;
}

.cs-prose .pain-list li {
  font-size: 15px;
  font-weight: 400;
}


/* ── SOLUTION LIST (blue check marks) ───────────────────────── */

.sol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 44px;
  max-width: 820px;
}

.sol-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.75;
}

.sol-list-icon {
  flex-shrink: 0;
  margin-top: 3px;
  width: 22px;
  height: 22px;
  background: rgba(123,189,212,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-list li strong {
  color: var(--charcoal);
  font-weight: 600;
}


/* ── OUTCOME SECTION ─────────────────────────────────────────── */

.cs-outcomes {
  background: var(--charcoal);
  padding: 96px 40px;
}

.cs-outcomes .label {
  color: var(--blue);
}

.cs-outcomes .section-title {
  color: white;
}

.outcome-list {
  list-style: none;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: 860px;
}

.outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.outcome-marker {
  flex-shrink: 0;
  margin-top: 2px;
  width: 28px;
  height: 28px;
  background: rgba(123,189,212,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outcome-content strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
  line-height: 1.35;
}

.outcome-content p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin: 0;
}

.outcome-content .hi {
  color: var(--blue);
  font-weight: 700;
}


/* ── HUB PAGE — CASE STUDY CARDS ────────────────────────────── */

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.cs-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}

.cs-card:hover {
  box-shadow: 0 8px 32px rgba(44,100,120,0.10);
  transform: translateY(-3px);
  border-color: var(--blue);
}

.cs-card-header {
  background: var(--charcoal);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
}

.cs-card-header::after {
  content: '';
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(123,189,212,0.06);
}

.cs-card-industry {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.cs-card-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.cs-card-body {
  padding: 24px 28px 20px;
  background: var(--white);
}

.cs-card-summary {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 20px;
}

.cs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.cs-card-location {
  font-size: 11px;
  font-weight: 500;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 5px;
}

.cs-card-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cs-card-link svg {
  transition: transform 0.2s;
}

.cs-card:hover .cs-card-link svg {
  transform: translateX(4px);
}


/* ── RESPONSIVE ──────────────────────────────────────────────── */

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

@media (max-width: 860px) {
  .cs-meta { padding: 0 24px; }

  .cs-meta-item {
    padding: 16px 24px 16px 0;
    margin-right: 24px;
    min-width: 42%;
  }

  .cs-prose { padding: 68px 24px; }
  .cs-outcomes { padding: 68px 24px; }
}

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

  .cs-meta-item {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    min-width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .cs-meta-item:last-child {
    border-bottom: none;
  }
}
