/* ══════════════════════════════════════
   BRAYMONT — CAREERS PAGE CSS
══════════════════════════════════════ */

/* Force visibility */
.page-careers .reveal,
.page-careers .reveal-left,
.page-careers .reveal-right,
.page-careers .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}

/* ── HERO ── */
.careers-hero {
  position: relative;
  padding: 10rem 5% 5rem;
  text-align: center;
  overflow: hidden;
}
.careers-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.careers-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.careers-hero-title span {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.careers-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
}

/* ── SECTION SHARED ── */
.careers-section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.4rem;
}
.careers-section-title span {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── WHY BRAYMONT ── */
.careers-why {
  padding: 6rem 5%;
  background: rgba(43,53,255,0.015);
}
.careers-why-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.careers-why-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.why-card {
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(43,53,255,0.1);
}
.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,53,255,0.08);
  border: 1px solid rgba(43,53,255,0.15);
  border-radius: 10px;
  color: var(--blue-primary);
}
.why-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0a0a;
}
.why-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── OPEN POSITIONS ── */
.careers-positions {
  padding: 6rem 5%;
}
.careers-positions-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.careers-positions-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5rem;
}
.careers-positions-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 0.8rem;
}

/* ── ROLE CARD ── */
.role-card {
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(43,53,255,0.1);
}

/* Role header */
.role-header {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.role-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(43,53,255,0.08);
  border: 1px solid rgba(43,53,255,0.2);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 0.8rem;
}
.role-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.role-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}
.role-meta-item svg {
  color: var(--blue-primary);
  flex-shrink: 0;
}

/* Role body */
.role-body {
  padding: 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.role-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 0.8rem;
}
.role-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Two-column layout for responsibilities/requirements */
.role-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.role-list li {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.7;
  padding-left: 1.4rem;
  position: relative;
}
.role-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--blue-primary);
  border-radius: 50%;
}
.role-list li strong {
  color: #0a0a0a;
}

/* Apply button */
.role-apply {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── CTA BAND ── */
.cta-band {
  position: relative;
  z-index: 1;
  padding: 7rem 5%;
  overflow: hidden;
  text-align: center;
}
.cta-band-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(43,53,255,0.07), transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.cta-band-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cta-band-title span {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-band-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .role-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .role-header {
    padding: 1.5rem 1.8rem;
  }
  .role-body {
    padding: 1.5rem 1.8rem 2rem;
  }
}
@media (max-width: 600px) {
  .careers-hero {
    padding: 8rem 5% 3rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .role-header {
    padding: 1.2rem 1.2rem;
    flex-direction: column;
  }
  .role-body {
    padding: 1.2rem 1.2rem 1.5rem;
  }
  .role-meta {
    gap: 0.6rem;
  }
  .role-title {
    font-size: 1.2rem;
  }
}