:root {
  --careers-max: 1350px;
  --careers-gap: clamp(1rem, 2.2vw, 1.75rem);
  --careers-radius: 1rem;
  --careers-border: rgba(255, 255, 255, 0.1);
  --careers-surface: rgba(255, 255, 255, 0.03);
  --careers-surface-strong: rgba(255, 255, 255, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-white);
}

.careers-page {
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   SHELL — aligned to site tokens
══════════════════════════════════════════ */
.careers-shell {
  width: 100%;
  max-width: var(--site-max, 1350px);
  margin-inline: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.careers-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

/* ══════════════════════════════════════════
   SECTION TITLES — matches Teams / FAQ style
══════════════════════════════════════════ */
.careers-section-title {
  font-family: var(--font-main);
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 clamp(1.4rem, 3vw, 2.4rem);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  animation: faq-rise 0.65s 0.2s ease forwards;
}

.careers-section-title span {
  background: linear-gradient(
    115deg,
    var(--color-primary) 0%,
    rgba(255, 155, 60, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.careers-hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h, 4.5rem) + 2rem) 0 4rem;
}

.careers-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--s);
  z-index: -1;
}

.careers-hero-inner {
  display: grid;
  gap: 1.2rem;
}

.careers-hero-content {
  display: grid;
  gap: 1.2rem;
}

.careers-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.careers-hero-image {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.45));
  border-radius: 10px;
}

/* Eyebrow kicker — matches Teams/FAQ eyebrow */
.careers-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-main);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  animation: faq-rise 0.65s 0.1s ease forwards;
}
.careers-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.75);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

/* Hero H1 — large display heading */
.careers-hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
  max-width: 11ch;
  opacity: 0;
  transform: translateY(18px);
  animation: faq-rise 0.65s 0.2s ease forwards;
}

.careers-hero-copy {
  margin: 0;
  max-width: 58ch;
  color: var(--color-white-80);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(14px);
  animation: faq-rise 0.65s 0.32s ease forwards;
}

.careers-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(14px);
  animation: faq-rise 0.65s 0.44s ease forwards;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.careers-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 0.95rem 2.4rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}

.careers-btn:focus-visible,
.apply-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.careers-btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.careers-btn-primary:hover {
  background: transparent;
  color: var(--color-primary) !important;
}

.careers-btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white-25);
  font-weight: 400;
}
.careers-btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ══════════════════════════════════════════
   VALUE & BENEFIT CARDS
══════════════════════════════════════════ */
.value-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--careers-gap);
}

.value-card,
.benefit-card {
  background: var(--careers-surface-strong);
  border: 1px solid var(--careers-border);
  border-radius: var(--careers-radius);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-card:hover,
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 14px 30px rgba(255, 107, 0, 0.12);
}

.value-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.68rem;
  border: 1px solid rgba(255, 107, 0, 0.45);
  background: rgba(255, 107, 0, 0.14);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.94rem;
  transition: transform 0.3s ease;
}
.value-card:hover .value-icon {
  transform: translateY(-2px) scale(1.06);
}

.value-card h3,
.benefit-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.value-card p {
  margin: 0;
  color: var(--color-white-80);
  line-height: 1.7;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.benefit-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.68rem;
  border: 1px solid rgba(255, 107, 0, 0.45);
  background: rgba(255, 107, 0, 0.14);
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.3s ease;
}
.benefit-card:hover .benefit-icon {
  transform: rotate(-8deg) scale(1.08);
}

/* ══════════════════════════════════════════
   JOB CARDS
══════════════════════════════════════════ */
.jobs-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--careers-gap);
}

.job-card {
  display: grid;
  gap: 1.1rem;
  background: var(--careers-surface);
  border: 1px solid var(--s);
  border-radius: var(--careers-radius);
  padding: clamp(1.15rem, 2vw, 1.6rem);
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}
.job-card:hover {
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 16px 34px rgba(255, 107, 0, 0.12);
}

.job-card h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.job-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.34rem;
  color: var(--color-white-80);
  font-size: clamp(0.92rem, 1.8vw, 1rem);
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.4rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.3s,
    color 0.3s;
}
.apply-btn:hover {
  background: transparent;
  color: var(--color-primary) !important;
}

/* ══════════════════════════════════════════
   TALENT POOL CTA
══════════════════════════════════════════ */
.careers-talent-section {
  padding-top: clamp(2.4rem, 4vw, 4rem);
}

.talent-card {
  border: 1px solid rgba(255, 107, 0, 0.26);
  border-radius: 18px;
  background: var(--s);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.4),
    0 2px 14px rgba(255, 107, 0, 0.08);
  padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 3vw, 3rem);
  text-align: center;
}

.talent-card .careers-section-title {
  margin-bottom: 0.9rem;
}

.talent-card p {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--color-white-80);
  line-height: 1.75;
  font-weight: 300;
}

.talent-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ══════════════════════════════════════════
   KEYFRAME
══════════════════════════════════════════ */
@keyframes faq-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Tablet ≤ 900px
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .careers-hero {
    min-height: auto;
    padding: calc(var(--nav-h, 4.5rem) + 1.4rem) 0 2.8rem;
    text-align: center;
  }

  .careers-hero-content {
    align-items: center;
  }

  .careers-hero h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.6rem);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .careers-kicker {
    justify-content: center;
    margin-top: 2rem;
  }

  .careers-hero-copy {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .careers-hero-actions {
    justify-content: center;
  }

  .careers-hero-inner {
    gap: 1.6rem;
  }

  .careers-hero-image {
    width: min(100%, 360px);
  }

  .careers-section {
    padding: clamp(2.6rem, 7vw, 4.6rem) 0;
  }

  .careers-section-title {
    font-size: clamp(1.65rem, 4.5vw, 40.426px);
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Mobile ≤ 640px
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .careers-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 2.5rem;
  }

  .careers-hero h1 {
    font-size: clamp(1.9rem, 9vw, 61.828px);
  }

  .careers-section-title {
    font-size: clamp(1.45rem, 7.5vw, 40.426px);
  }

  .careers-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .careers-btn {
    width: 100%;
  }

  .talent-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .talent-actions .careers-btn {
    width: 100%;
  }

  .value-card,
  .benefit-card,
  .job-card {
    padding: 1rem;
  }

  .job-card {
    gap: 0.9rem;
  }

  .job-meta {
    gap: 0.3rem;
  }

  .apply-btn {
    width: 100%;
  }

  .talent-card {
    border-radius: 14px;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Very small ≤ 420px
══════════════════════════════════════════ */
@media (max-width: 420px) {
  .careers-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .careers-hero h1 {
    font-size: clamp(1.6rem, 10vw, 61.828px);
  }

  .careers-section-title {
    font-size: clamp(1.3rem, 9vw, 40.426px);
  }

  .careers-hero-copy {
    line-height: 1.6;
  }

  .careers-btn {
    letter-spacing: 0.1em;
    font-size: 0.72rem;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Tablet ≥ 640px
══════════════════════════════════════════ */
@media (min-width: 640px) {
  .value-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Desktop ≥ 960px
══════════════════════════════════════════ */
@media (min-width: 960px) {
  .careers-hero {
    padding-bottom: 5rem;
    text-align: left;
  }

  .careers-hero-content {
    align-items: flex-start;
  }

  .careers-kicker {
    justify-content: flex-start;
  }

  .careers-hero-actions {
    justify-content: flex-start;
  }

  .careers-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }

  .careers-hero-visual {
    justify-content: flex-end;
  }

  .value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
