/* Careers — 02 Why Corewave */

.cw-careers-why {
  background: #f3efe7;
  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-why__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.cw-careers-why__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

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

.cw-careers-why__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-why__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #c23a14;
}

.cw-careers-why__lead {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 500px;
  color: #141210;
}

.cw-careers-why__detail {
  border: 1px solid #141210;
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  min-height: 120px;
}

.cw-careers-why__detail-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #c23a14;
}

.cw-careers-why__detail-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3a3530;
}

.cw-careers-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cw-careers-why__card {
  margin: 0;
  border: 1px solid #cfc7ba;
  background: transparent;
  color: #141210;
  border-radius: 26px;
  padding: 26px 22px;
  min-height: 210px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  font-family: inherit;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  transform: translateY(0);
}

.cw-careers-why__card--offset {
  margin-top: 40px;
}

.cw-careers-why__card.is-active {
  background: #141210;
  color: #f3efe7;
  border-color: #141210;
  transform: translateY(-6px);
}

.cw-careers-why__card:hover,
.cw-careers-why__card:focus-visible {
  border-color: #141210;
}

.cw-careers-why__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-careers-why__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #c23a14;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #c23a14;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.cw-careers-why__card.is-active .cw-careers-why__card-icon {
  border-color: #ff5527;
  color: #ff5527;
}

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

.cw-careers-why__card-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
}

@media (max-width: 720px) {
  .cw-careers-why__grid {
    grid-template-columns: 1fr;
  }

  .cw-careers-why__card--offset {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-careers-why__card {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }

  .cw-careers-why__card.is-active {
    transform: none;
  }
}
