/* ==========================================================================
   case-study.html — partners, phases, feedback, hero overrides
   ========================================================================== */

/* Hero override */
.story-hero-bg img {
  object-position: center 30%;
}

/* ── Partners Section ── */
.partners-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  background: var(--paper);
}

.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.partner-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(125, 138, 150, 0.35);
  box-shadow: 0 8px 20px rgba(34, 49, 61, 0.06);
  text-align: center;
}

.partner-role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.partner-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.partner-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 28ch;
  margin: 0 auto;
}

/* ── Phases Section ── */
.phases-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  background: var(--paper-strong);
}

.phases-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.phases-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.phases-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--sage));
  border-radius: 1px;
}

.phase-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  position: relative;
}

.phase-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
}

.phase-content {
  flex: 1;
  padding-top: 0.3rem;
}

.phase-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.phase-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* ── Feedback Loop ── */
.feedback-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  background: var(--sage);
}

.feedback-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.feedback-data h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 1.2rem;
  color: #fff;
}

.feedback-data h2 strong {
  font-weight: 700;
  color: var(--ink);
}

.feedback-data p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 0.8rem;
  color: var(--ink-soft);
}

.feedback-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: grid;
  gap: 0.6rem;
}

.feedback-list li {
  padding-left: 1.8rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.feedback-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
  font-size: 1.1rem;
}

.feedback-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.feedback-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feedback-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(125, 180, 133, 0.15);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .split-section,
  .feedback-section {
    grid-template-columns: 1fr;
  }

  .split-section.reverse,
  .feedback-section.reverse {
    direction: ltr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .phases-timeline::before {
    left: 22px;
  }

  .phase-number {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
}
