/* =========================================================
   Careers — Refinements (premium / consistent)
   Based on your existing careers.css, just polished
   ========================================================= */

:root {
  --cr-container: var(--container, 1280px);
  --cr-ink: var(--fg, #0c1a2a);
  --cr-muted: var(--fg-soft, #1a2d44);
  --cr-line: rgba(12, 26, 42, 0.12);
  --cr-accent: #c62828;

  --cr-shadow: 0 18px 60px rgba(0, 0, 0, .10);
  --cr-shadow2: 0 26px 90px rgba(0, 0, 0, .14);
}

.cr-subtitle {
  margin: .65rem auto 0;
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* ===== Background polish (matches your newer pages) ===== */
.cr-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cr-bg-orbs span {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(198, 40, 40, .28), transparent 60%);
  filter: blur(18px);
  opacity: .45;
}

.cr-bg-orbs span:nth-child(1) {
  left: -160px;
  top: -180px;
}

.cr-bg-orbs span:nth-child(2) {
  right: -220px;
  top: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .14), transparent 60%);
}

.cr-bg-orbs span:nth-child(3) {
  left: 18%;
  bottom: -280px;
  width: 640px;
  height: 640px;
  opacity: .30;
}

/* ===== Main wrap ===== */
.careers-wrap {
  max-width: var(--cr-container);
  margin: 68px auto 96px;
  padding: 0 28px;
}

@media (max-width: 980px) {
  .careers-wrap {
    padding: 0 18px;
    margin: 54px auto 84px;
  }
}

.careers-head {
  text-align: center;
  padding: 22px 0 10px;
}

.careers-head .lede {
  margin: 0 auto;
  max-width: 920px;
  color: var(--cr-muted);
  opacity: .92;
  line-height: 1.75;
  font-size: clamp(15px, 1.5vw, 18px);
}

/* ===== CTAs (more “real website” button style) ===== */
.careers-ctas {
  margin-top: 18px;
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* pill buttons */
.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: rgba(12, 26, 42, .92);
  background: #fff;
  border: 1px solid rgba(12, 26, 42, .18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.cr-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 40, 40, .45);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .10);
  color: var(--cr-accent);
}

.cr-btn.ghost {
  background: transparent;
  box-shadow: none;
}

/* ===== Roles section ===== */
.careers-roles {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--cr-line);
}

.careers-roles__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.careers-roles__title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.careers-roles__title h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  color: rgba(12, 26, 42, .92);
}

.divider-short {
  width: 1px;
  height: 22px;
  background-color: rgba(12, 26, 42, 0.25);
  border-radius: 2px;
}

.careers-roles__title p {
  margin: 0;
  font-size: 1rem;
  color: rgba(12, 26, 42, .72);
}

/* ===== TBA placeholder refined ===== */
.careers-placeholder {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  margin-top: 18px;
}

.careers-placeholder.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cr-tba {
  display: inline-block;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(12, 26, 42, .10);
  background: rgba(255, 255, 255, .80);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.tba {
  margin: 0;
  font-size: 1.05rem;
  color: #6d7b90;
  font-style: italic;
}

/* ===== Reveal support (consistent with your site) ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}

[data-reveal].in-view,
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}