/* ═══ CAREERS PAGE ═══ */

/* ── Why section ── */
.careers-why {
  padding: 0 0 4rem;
}
.careers-why h2 {
  font-family: var(--display);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}
.why-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.why-card h4 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Positions section ── */
.careers-positions {
  padding: 0 0 4rem;
}
.careers-positions h2 {
  font-family: var(--display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.positions-subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.dept-block {
  margin-bottom: 2rem;
}
.dept-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dept-header i {
  font-size: 1.15rem;
  color: var(--accent);
}
.dept-header h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
}

.roles-list {
  display: flex;
  flex-direction: column;
}
.role-row {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}
.role-row:hover {
  background: var(--accent-light);
}
.role-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.role-title {
  font-weight: 600;
  font-size: 0.95rem;
}
.role-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}
.role-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.role-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.role-type {
  background: rgba(255, 107, 53, 0.08);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}
.role-arrow {
  margin-left: 1rem;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}
.role-row:hover .role-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ── Culture section ── */
.careers-culture {
  padding: 0 0 4rem;
}
.careers-culture h2 {
  font-family: var(--display);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.perk {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.perk h4 {
  font-family: var(--display);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.perk p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .culture-grid { grid-template-columns: 1fr 1fr; }
  .role-meta { flex-direction: column; align-items: flex-end; gap: 0.35rem; }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .role-row { flex-wrap: wrap; gap: 0.5rem; }
  .role-meta { flex-direction: row; width: 100%; }
  .role-arrow { display: none; }
}
