/* ===================================================================
   Section 10 — Case Study
   =================================================================== */

.s10-title {
  text-align: center;
  margin-bottom: 28px;
  font-size: clamp(16px, 2.25vw, 28px);
}

/* ---- Unified card wrapping switcher + panels ---- */
.s10-card {
  background: var(--color-surface);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 28px;
}

/* ---- Switcher ---- */
.s10-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 16, 20, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 24px;
  gap: 4px;
}

.s10-switcher__btn {
  padding: 10px 32px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.s10-switcher__btn--active {
  background: var(--color-cyan);
  color: #0C1014;
}

.s10-switcher__btn:not(.s10-switcher__btn--active):hover {
  color: var(--color-text);
}

/* ---- Panels ---- */
.s10-panel {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.s10-panel--hidden {
  display: none;
}

/* Two-column layout inside each panel */
.s10-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.s10-panel-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.s10-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s10-panel-chart img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* After panel: two charts stacked */
.s10-after-charts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s10-after-charts img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* Results list */
.s10-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s10-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text);
}

.s10-point .accent-sq {
  margin-top: 3px;
  flex-shrink: 0;
}

.s10-highlight {
  color: var(--color-text);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .s10-panel-grid {
    grid-template-columns: 1fr;
  }
}

#cases { padding-bottom: 63px; }
