/* Careers — 06 Hiring journey */

.cw-careers-journey {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-careers-journey__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cw-careers-journey__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-careers-journey__head-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cw-careers-journey__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-careers-journey__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.cw-careers-journey__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.cw-careers-journey__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.cw-careers-journey__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  overflow-x: auto;
}

.cw-careers-journey__step {
  border: 0;
  background: transparent;
  color: #141210;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 110px;
  font-family: inherit;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.cw-careers-journey__step.is-reached {
  opacity: 1;
}

.cw-careers-journey__step.is-current {
  opacity: 1;
}

.cw-careers-journey__step-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(20, 18, 16, 0.18);
  transition: background 0.3s ease;
}

.cw-careers-journey__step.is-reached .cw-careers-journey__step-bar {
  background: #141210;
}

.cw-careers-journey__step-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
}

.cw-careers-journey__step-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.cw-careers-journey__panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  align-items: stretch;
}

.cw-careers-journey__detail {
  background: #f3efe7;
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-careers-journey__detail-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #c23a14;
}

.cw-careers-journey__detail-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.cw-careers-journey__detail-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3a3530;
}

.cw-careers-journey__demo {
  background: #141210;
  color: #f3efe7;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cw-careers-journey__demo-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #8e877c;
}

.cw-careers-journey__demo-role {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.cw-careers-journey__log {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-careers-journey__log-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  transition: opacity 0.3s ease;
  opacity: 0.5;
}

.cw-careers-journey__log-row.is-reached {
  opacity: 1;
}

.cw-careers-journey__log-row.is-active {
  opacity: 1;
}

.cw-careers-journey__log-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #5a534a;
  box-sizing: border-box;
}

.cw-careers-journey__log-row.is-done .cw-careers-journey__log-dot {
  background: #d4f53c;
  border-color: transparent;
}

.cw-careers-journey__log-row.is-active .cw-careers-journey__log-dot {
  background: #ff5527;
  border-color: transparent;
}

.cw-careers-journey__log-status {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #8e877c;
}

.cw-careers-journey__log-row.is-done .cw-careers-journey__log-status {
  color: #d4f53c;
}

.cw-careers-journey__log-row.is-active .cw-careers-journey__log-status {
  color: #ff5527;
}

.cw-careers-journey__note {
  margin: 0;
  font-size: 12.5px;
  color: #3a3530;
}

@media (max-width: 720px) {
  .cw-careers-journey__steps {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-careers-journey__step,
  .cw-careers-journey__step-bar,
  .cw-careers-journey__log-row {
    transition: none;
  }
}
