/* Case study (project single) */
.cs-wrap { max-width: 820px; }
.cs-back { display: inline-block; font-size: 14px; font-weight: 700; color: var(--sage); text-decoration: none; margin-bottom: 28px; }
.cs-back:hover { color: var(--sage-dark); }

/* HERO */
.cs-hero { margin-bottom: 36px; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.cs-emoji { font-size: 18px; }
.cs-hero h1 { font-size: 42px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.cs-tagline { font-size: 20px; line-height: 1.55; color: var(--ink-mid); max-width: 680px; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.cs-meta-item { display: flex; flex-direction: column; gap: 4px; }
.cs-meta-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-light); }
.cs-meta-val { font-size: 16px; font-weight: 600; color: var(--ink); }

/* METRICS */
.cs-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0; }
.cs-metric { background: var(--cream-mid); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 18px; text-align: center; }
.cs-metric-num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--sage-dark); line-height: 1; }
.cs-metric-label { font-size: 12.5px; color: var(--ink-mid); margin-top: 8px; line-height: 1.35; }

/* DRAFT NOTE */
.cs-note { background: var(--amber-light); border: 1px solid #E8D4A8; border-radius: var(--radius-md); padding: 14px 18px; font-size: 14px; color: #7A4D1A; margin-bottom: 44px; }

/* SECTIONS */
.cs-section { margin-bottom: 44px; }
.cs-section h2 { font-size: 26px; letter-spacing: -.01em; margin-bottom: 16px; }
.cs-section > p { font-size: 17px; line-height: 1.75; color: var(--ink-mid); margin-bottom: 16px; }
.cs-section > p:last-child { margin-bottom: 0; }

/* PHASES */
.cs-phases { display: flex; flex-direction: column; gap: 4px; }
.cs-phase { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--border); }
.cs-phase:last-child { border-bottom: 1px solid var(--border); }
.cs-phase-num { font-size: 15px; font-weight: 800; color: var(--sage); flex-shrink: 0; width: 32px; padding-top: 2px; }
.cs-phase-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.cs-phase-body p { font-size: 16px; line-height: 1.65; color: var(--ink-mid); margin: 0; }

/* SOLUTION ROWS */
.cs-arch { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.cs-arch-row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; }
.cs-arch-tag { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--sage-dark); padding-top: 2px; }
.cs-arch-row p { font-size: 16px; line-height: 1.6; color: var(--ink-mid); margin: 0; }
.cs-diagram { height: 200px; border: 1.5px dashed var(--cream-dark); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--ink-light); font-size: 14px; font-weight: 500; background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 10px, var(--cream-mid) 10px, var(--cream-mid) 20px); }

/* OUTCOMES */
.cs-outcomes { list-style: none; margin: 0; padding: 0; }
.cs-outcomes li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.6; color: var(--ink-mid); margin-bottom: 14px; }
.cs-outcomes li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--sage); font-weight: 800; }

/* STACK */
.cs-stack { display: flex; flex-wrap: wrap; gap: 9px; }
.cs-stack span { font-size: 13.5px; font-weight: 600; color: var(--ink-mid); background: var(--cream-mid); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 15px; }

/* REFLECTION */
.cs-reflection p { font-style: italic; color: var(--ink-mid); }

/* NEXT */
.cs-next { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--border); }
.cs-next a { font-size: 15px; font-weight: 700; color: var(--sage); text-decoration: none; }
.cs-next a:hover { color: var(--sage-dark); }

@media (max-width: 768px) {
  .cs-hero h1 { font-size: 32px; }
  .cs-tagline { font-size: 17px; }
  .cs-metrics { grid-template-columns: 1fr 1fr; }
  .cs-meta { gap: 24px; }
  .cs-arch-row { grid-template-columns: 1fr; gap: 8px; }
}
