/* ==========================================================================
   Macaw Bytes - Careers (corporate dark mood)
   ========================================================================== */

.cr-hero {
  position: relative;
  min-height: min(68svh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background:
    linear-gradient(165deg, #0a1218 0%, #0b0d10 45%, #0c1410 100%);
}

.cr-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 14% 22%, rgba(74, 168, 224, 0.28), transparent 62%),
    radial-gradient(ellipse 48% 45% at 88% 16%, rgba(46, 174, 78, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 95%, rgba(240, 180, 41, 0.12), transparent 55%);
}

.cr-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cr-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  margin: 0.65rem auto 1.15rem;
  max-width: 14ch;
}

.cr-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--home-muted);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.cr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cr-roles {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 46rem;
}

.cr-role {
  padding: 1.35rem 1.35rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
}

.cr-role__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--home-blue);
  margin-bottom: 0.55rem;
}

.cr-role h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--home-ink);
  margin: 0 0 0.5rem;
}

.cr-role p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.cr-note {
  margin: 1.75rem 0 0;
  max-width: 46rem;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cr-note a {
  color: var(--home-green) !important;
}

@media (max-width: 640px) {
  .cr-hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .cr-hero h1 {
    max-width: none;
  }

  .cr-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
