/* Methodology Guide — Page-specific styles
   Extends style.css + workflow-guide.css with stat cards, thinker cards, layer diagram */

/* ── Stat Cards ── */
.stat-card {
  background: var(--white);
  border: 1px solid var(--dust-storm);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(32, 22, 58, 0.1);
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--haiti);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--plantation);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.stat-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--black-cow);
  margin-bottom: 0.5rem;
}

.stat-source {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dust-storm);
  letter-spacing: 0.02em;
}

/* ── Thinker Cards ── */
.thinker-card {
  background: var(--white);
  border: 1px solid var(--dust-storm);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.thinker-card:hover {
  box-shadow: 0 8px 30px rgba(32, 22, 58, 0.08);
}

.thinker-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(221, 207, 195, 0.4);
}

.thinker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.thinker-body {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--black-cow);
}

.thinker-body strong {
  color: var(--haiti);
}

/* ── Layer Stack Diagram ── */
.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.layer {
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
}

.layer-strategic {
  background: var(--haiti);
  color: var(--white);
  border-radius: 16px 16px 0 0;
}

.layer-strategic .layer-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.layer-strategic .layer-title {
  color: var(--white);
}

.layer-strategic .layer-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.layer-architectural {
  background: var(--plantation);
  color: var(--white);
}

.layer-architectural .layer-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.layer-architectural .layer-title {
  color: var(--white);
}

.layer-architectural .layer-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.layer-mechanical {
  background: var(--dust-storm);
  color: var(--haiti);
  border-radius: 0 0 16px 16px;
}

.layer-mechanical .layer-badge {
  background: rgba(32, 22, 58, 0.12);
  color: var(--haiti);
}

.layer-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.layer-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.layer-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .thinker-card {
    transition: none;
  }

  .stat-card:hover {
    transform: none;
  }
}

/* ── Mobile tweaks ── */
@media (max-width: 640px) {
  .stat-number {
    font-size: 2rem;
  }

  .layer {
    padding: 1.25rem 1.5rem;
  }

  .layer-title {
    font-size: 0.95rem;
  }

  .thinker-header {
    padding: 1rem 1.25rem;
  }

  .thinker-body {
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
  }
}
