/* Careers hero — from Corewave Careers Page (01 Hero) */

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

@keyframes cw-careers-hero-ping {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}

.cw-careers-hero {
  background:
    radial-gradient(760px 540px at 78% 45%, rgba(255, 85, 39, 0.16), transparent 70%),
    #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 40px) 56px;
  box-sizing: border-box;
}

.cw-careers-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

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

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

.cw-careers-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 10vw, 150px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: #f3efe7;
}

.cw-careers-hero__title-dot {
  color: #ff5527;
}

.cw-careers-hero__lead {
  margin: 0;
  max-width: 520px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f3efe7;
}

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

.cw-careers-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(243, 239, 231, 0.1);
  border-radius: 18px;
  overflow: hidden;
  max-width: 520px;
}

.cw-careers-hero__stat {
  background: #141210;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-careers-hero__stat-value {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.cw-careers-hero__stat-label {
  font-size: 12.5px;
  color: #a39c90;
}

.cw-careers-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-careers-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-careers-hero__btn--primary {
  background: #ff5527;
  color: #141210;
  font-weight: 700;
}

.cw-careers-hero__btn--primary:hover,
.cw-careers-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-careers-hero__btn--secondary {
  border-color: rgba(243, 239, 231, 0.25);
  color: #f3efe7;
}

.cw-careers-hero__btn--secondary:hover,
.cw-careers-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-careers-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  perspective: 1100px;
}

.cw-careers-hero__tracks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-careers-hero__track {
  border: 1px solid rgba(243, 239, 231, 0.22);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-careers-hero__track.is-active {
  border-color: #ff5527;
  background: #ff5527;
  color: #141210;
}

.cw-careers-hero__track:hover,
.cw-careers-hero__track:focus-visible {
  border-color: #d4f53c;
}

.cw-careers-hero__track.is-active:hover,
.cw-careers-hero__track.is-active:focus-visible {
  border-color: #ff5527;
}

.cw-careers-hero__card {
  position: relative;
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 26px;
  background: #1c1916;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: rotateY(var(--cw-careers-hero-ry, 0deg)) rotateX(var(--cw-careers-hero-rx, 0deg));
  transition: transform 0.25s ease-out;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.cw-careers-hero__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

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

.cw-careers-hero__card-badge {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  background: #ff5527;
  color: #141210;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 600;
}

.cw-careers-hero__chart {
  position: relative;
  height: 260px;
}

.cw-careers-hero__chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cw-careers-hero__chart-line--ghost {
  fill: none;
  stroke: rgba(255, 85, 39, 0.25);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cw-careers-hero__chart-line--active {
  fill: none;
  stroke: #ff5527;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cw-careers-hero__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
}

.cw-careers-hero__bar {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f3efe7;
  font-family: inherit;
}

.cw-careers-hero__bar-fill {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: var(--cw-careers-bar-h, 28%);
  border-radius: 10px 10px 4px 4px;
  background: rgba(243, 239, 231, 0.06);
  border: 1px solid rgba(243, 239, 231, 0.12);
  transition:
    height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}

.cw-careers-hero__bar.is-past .cw-careers-hero__bar-fill {
  background: rgba(255, 85, 39, 0.35);
  border-color: rgba(243, 239, 231, 0.12);
  color: #f3efe7;
}

.cw-careers-hero__bar.is-current .cw-careers-hero__bar-fill {
  background: #ff5527;
  border-color: #ff5527;
  color: #141210;
}

.cw-careers-hero__bar-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
}

.cw-careers-hero__dot,
.cw-careers-hero__dot-ping {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cw-careers-hero__dot-ping {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d4f53c;
  animation: cw-careers-hero-ping 1.6s infinite;
}

.cw-careers-hero__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d4f53c;
  border: 3px solid #141210;
  transition: left 0.6s ease, top 0.6s ease;
}

.cw-careers-hero__card-foot {
  border-top: 1px solid rgba(243, 239, 231, 0.1);
  padding-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.cw-careers-hero__level-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: block;
}

.cw-careers-hero__skills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.cw-careers-hero__skill {
  border: 1px solid rgba(212, 245, 60, 0.35);
  color: #d4f53c;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.cw-careers-hero__step {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #8e877c;
  text-align: right;
}

.cw-careers-hero__toast-wrap {
  position: absolute;
  right: -10px;
  top: -18px;
}

.cw-careers-hero__toast {
  display: inline-block;
  animation: cw-careers-hero-in 0.4s ease;
  background: #d4f53c;
  color: #141210;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.cw-careers-hero__note {
  margin: 0;
  font-size: 12px;
  color: #8e877c;
}

@media (prefers-reduced-motion: reduce) {
  .cw-careers-hero__card {
    transition: none;
  }

  .cw-careers-hero__dot-ping {
    animation: none;
    opacity: 0.4;
  }

  .cw-careers-hero__bar-fill,
  .cw-careers-hero__dot {
    transition: none;
  }
}

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

  .cw-careers-hero__toast-wrap {
    position: static;
    margin-top: 4px;
  }
}
