/* ═══════════════════════════════════════════════════════════════
   SIGMALIGN — Careers pages (scoped to .page-careers)
═══════════════════════════════════════════════════════════════ */
.page-careers .prose p { margin-bottom: var(--space-6); line-height: 1.8; }
.page-careers .prose p:last-child { margin-bottom: 0; }

.careers-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.careers-principle {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}
.careers-principle h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  line-height: 1.25;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.careers-principle p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 52ch;
}

.role-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  max-width: 880px;
}
.role-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.role-card-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.role-card-summary {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 60ch;
}
.careers-note {
  margin-top: var(--space-8);
  color: var(--color-text-muted);
  max-width: 64ch;
  line-height: 1.7;
}

.careers-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: start;
}
.careers-email {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.2;
  word-break: break-word;
}
.careers-fineprint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
}

/* Listing */
.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
}
.listing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
}
.listing-list li {
  position: relative;
  padding-left: var(--space-6);
  line-height: 1.7;
}
.listing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--color-accent);
}
.listing-list strong { color: var(--color-text); font-weight: 600; }
.listing-subhead {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.listing-pullquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.25;
  color: var(--color-accent);
  margin-top: var(--space-10);
}
.listing-mindset {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-accent-tint);
  border-radius: var(--radius-md);
  line-height: 1.7;
  max-width: 880px;
}
.back-link {
  display: inline-block;
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

@media (max-width: 760px) {
  .careers-principles { grid-template-columns: 1fr; }
  .careers-principle { padding: var(--space-6); }
  .role-card { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-6); }
  .careers-contact { grid-template-columns: 1fr; gap: var(--space-8); }
}
.page-careers .back-link { display: table; }
.listing-hero-heading { max-width: 22ch; }
.listing-pullquote { line-height: 1.3; }
.page-careers .prose .listing-pullquote { color: var(--color-accent); }

/* Keeps the seven-item menu on one line on tablet-width screens */
@media (min-width: 761px) and (max-width: 999px) { .nav { gap: var(--space-3); } .nav a { font-size: 0.8125rem; } .header-inner { gap: var(--space-4); } }
