/* =========================================================
   STRATUSstaff Careers — careers.css
   Focused recruitment landing page for /careers/
   ========================================================= */

:root {
  --navy-950: #071525;
  --navy-900: #0b1f3a;
  --navy-800: #132b4d;
  --navy-700: #1a3a66;
  --blue-500: #3d8fd1;
  --blue-400: #5ba3d9;
  --blue-300: #7eb8e8;
  --blue-200: #a8d4f5;
  --blue-100: #d4ebfa;
  --sky-soft: #e8f4fc;
  --white: #ffffff;
  --text: #e8f0f8;
  --text-muted: #a8c0d8;
  --text-dark: #0b1f3a;
  --text-body: #2a4058;
  --text-soft: #4a6280;
  --surface: #ffffff;
  --surface-alt: #f0f7fc;
  --surface-tint: #e4f0f9;
  --border: #c5d9ec;
  --border-soft: #dce9f4;
  --focus: #3d8fd1;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 28px rgba(11, 31, 58, 0.1);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --container: 1180px;
  --header-h: 4rem;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --leading: 1.6;
  --leading-tight: 1.2;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: var(--leading);
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-500);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

a:hover {
  color: var(--navy-700);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

h1, h2, h3 {
  line-height: var(--leading-tight);
  color: var(--text-dark);
  font-weight: 700;
  margin: 0 0 0.65em;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 0.85em;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 720px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}

.btn-primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1.05rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 21, 37, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91, 163, 217, 0.15);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(7, 21, 37, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--blue-200);
}

.brand-mark {
  display: flex;
  color: var(--blue-300);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  background: transparent;
  border: 1px solid rgba(168, 212, 245, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--white);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.6rem;
  color: var(--blue-100);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.nav-list a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem 1.15rem 1.25rem;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(91, 163, 217, 0.2);
    transform: translateY(-0.35rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    padding: 0.75rem 0.9rem;
    font-size: 1.02rem;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 42%, #163a66 78%, #1e4d7a 100%);
  color: var(--text);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 163, 217, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 163, 217, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 72% 38%, black 18%, transparent 72%);
}

.cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 184, 232, 0.16) 0%, transparent 70%);
}

.cloud-1 {
  width: 280px;
  height: 140px;
  top: 6%;
  right: 4%;
}

.cloud-2 {
  width: 200px;
  height: 100px;
  bottom: 12%;
  left: 6%;
  background: radial-gradient(circle, rgba(168, 212, 245, 0.1) 0%, transparent 70%);
}

.hero-grid-layout {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  color: var(--blue-200);
  background: rgba(61, 143, 209, 0.15);
  border: 1px solid rgba(126, 184, 232, 0.25);
  border-radius: 999px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  color: var(--blue-100);
  max-width: 40em;
  margin-bottom: 0.75rem;
}

.hero-secondary {
  color: var(--text-muted);
  max-width: 40em;
  margin-bottom: 1.35rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.role-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.role-chips li {
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-100);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(126, 184, 232, 0.28);
  border-radius: 999px;
}

.hero-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 38em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-diagram {
  width: min(100%, 360px);
  filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.3));
}

@media (max-width: 899px) {
  .hero-visual {
    display: none;
  }
}

/* --- Sections --- */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
}

.section-alt {
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface-tint) 100%);
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(126, 184, 232, 0.18), transparent),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(61, 143, 209, 0.1), transparent);
  pointer-events: none;
}

.section-alt > .container {
  position: relative;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}

.section-intro h2 {
  margin-bottom: 0.6em;
}

.section-intro p {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.section-footnote {
  margin: var(--space-md) 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  text-align: center;
}

/* --- Role cards --- */
.role-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .role-grid-five {
    grid-template-columns: repeat(6, 1fr);
  }

  .role-grid-five .role-card {
    grid-column: span 2;
  }

  .role-grid-five .role-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .role-grid-five .role-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.role-card {
  padding: 1.2rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.role-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  color: var(--blue-500);
  background: linear-gradient(145deg, var(--sky-soft), var(--blue-100));
  border-radius: 10px;
}

.role-card h3 {
  color: var(--navy-900);
  font-size: 1.02rem;
}

.role-card p {
  color: var(--text-soft);
  font-size: 0.93rem;
  margin: 0;
}

/* --- PODS / How we work --- */
.pod-columns {
  display: grid;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .pod-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .pod-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pod-pillar {
  padding: 1.25rem 1.15rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.pod-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.7rem;
  background: var(--navy-900);
  color: var(--blue-200);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
}

.pod-pillar h3 {
  color: var(--navy-900);
}

.pod-pillar p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

.pod-note {
  max-width: 44rem;
  margin: 0 0 var(--space-lg);
  color: var(--text-soft);
  font-size: 1rem;
}

.pod-diagram-wrap {
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 1.15rem;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pod-diagram-wrap-compact {
  padding: 1rem 1.15rem;
}

.pod-diagram {
  width: min(100%, 420px);
}

/* --- Checklist / fit section --- */
.section-intro-tight {
  margin-bottom: 1.15rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 600px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.75rem;
    align-items: stretch;
  }
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.35;
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233d8fd1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.5 3.5L13 4'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.fit-note {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 40rem;
}

/* --- Expect list --- */
.expect-list {
  list-style: none;
  counter-reset: expect;
  display: grid;
  gap: 0.65rem;
  margin-bottom: var(--space-md);
}

.expect-list li {
  counter-increment: expect;
  position: relative;
  padding: 0.95rem 1rem 0.95rem 3.25rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  color: var(--text-body);
}

.expect-list li::before {
  content: counter(expect);
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50%;
}

/* --- Apply --- */
.apply-section {
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-700) 100%);
  color: var(--text);
  overflow: hidden;
  position: relative;
}

.apply-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 55% 45% at 80% 18%, rgba(61, 143, 209, 0.22), transparent),
    radial-gradient(ellipse 40% 35% at 12% 88%, rgba(126, 184, 232, 0.1), transparent);
  pointer-events: none;
}

.apply-section > .container {
  position: relative;
}

.apply-intro h2 {
  color: var(--white);
}

.apply-intro p {
  color: var(--blue-100) !important;
}

.apply-panel {
  padding: clamp(1.35rem, 3.5vw, 2.15rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(126, 184, 232, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.wufoo-embed {
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
}

.wufoo-embed iframe {
  max-width: 100%;
}

.wufoo-fallback {
  margin: 0;
  padding: 1.25rem;
  color: var(--text-body);
  text-align: center;
}

.wufoo-fallback a {
  color: var(--navy-900);
  font-weight: 650;
}

.process-line {
  text-align: center;
  color: var(--blue-100);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.compensation-note {
  padding: 0.9rem 1.05rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  color: var(--blue-100);
  font-size: 0.93rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(126, 184, 232, 0.15);
}

.privacy-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  text-align: center;
}

/* --- FAQ --- */
.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  color: var(--navy-900);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}

.faq-trigger:hover {
  background: var(--surface-alt);
}

.faq-trigger:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue-500);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-panel {
  padding: 0 1.15rem 1.05rem;
}

.faq-panel p {
  color: var(--text-soft);
  margin: 0;
  font-size: 0.96rem;
}

.js-enabled .faq-panel[hidden] {
  display: none;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-950);
  color: var(--text-muted);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid rgba(91, 163, 217, 0.15);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-logo {
  margin: 0 0 0.4rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tagline {
  margin: 0;
  max-width: 28em;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.footer-links p {
  margin: 0 0 0.45rem;
}

.footer-links a {
  color: var(--blue-200);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 0.65rem !important;
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0.85rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(91, 163, 217, 0.12);
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .apply-section,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .hero h1,
  .apply-intro h2 {
    color: #000 !important;
  }
}
