/* Industries index — 03b How we build */

@keyframes cw-industries-index-process-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-industries-index-process {
  background: #cfc4f6;
  color: #141210;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 40px);
  font-family: 'Inter', system-ui, sans-serif;
  box-sizing: border-box;
  width: 100%;
}

.cw-industries-index-process__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cw-industries-index-process__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.cw-industries-index-process__title {
  margin: 0;
  max-width: 720px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.cw-industries-index-process__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #e0431c;
}

.cw-industries-index-process__showcase {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.cw-industries-index-process__showcase-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #2e2a4a;
}

.cw-industries-index-process__showcase-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-industries-index-process__showcase-btn {
  border: 1.5px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.cw-industries-index-process__showcase-btn.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-industries-index-process__showcase-btn:focus-visible {
  outline: 2px solid #e0431c;
  outline-offset: 2px;
}

.cw-industries-index-process__steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 10px;
}

.cw-industries-index-process__step {
  background: #f3efe7;
  color: #141210;
  border: 1.5px solid #141210;
  border-radius: 22px;
  padding: 22px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s, color 0.3s;
  cursor: default;
}

.cw-industries-index-process__step.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-industries-index-process__step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-industries-index-process__step-no {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #141210;
  transition: color 0.3s;
}

.cw-industries-index-process__step.is-active .cw-industries-index-process__step-no {
  color: #d4f53c;
}

.cw-industries-index-process__step-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.cw-industries-index-process__step-name {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cw-industries-index-process__step-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

.cw-industries-index-process__step-foot {
  margin-top: auto;
  border-top: 1px solid #d8d0c2;
  padding-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  transition: border-color 0.3s;
}

.cw-industries-index-process__step.is-active .cw-industries-index-process__step-foot {
  border-top-color: rgba(243, 239, 231, 0.2);
}

.cw-industries-index-process__step-for {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.7;
  display: block;
  margin-bottom: 3px;
}

.cw-industries-index-process__step-example {
  margin: 0;
  animation: cw-industries-index-process-in 0.3s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .cw-industries-index-process__step-example {
    animation: none;
  }
}
