/* =========================================================
   Hemsjobs.org — Shared Stylesheet
   Design system: aviation navy + medical teal + urgency red
   ========================================================= */

:root {
  --navy-950: #060f1e;
  --navy-900: #0b1d33;
  --navy-800: #13294b;
  --navy-700: #1c3a63;
  --steel-600: #4a5568;
  --steel-400: #8492a6;
  --steel-200: #d7dde5;
  --off-white: #f7f8fa;
  --white: #ffffff;
  --teal-500: #2a9d8f;
  --teal-400: #3fb8a8;
  --red-500: #e63946;
  --red-600: #c8202c;
  --gold-400: #d4af37;

  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(11, 29, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 29, 51, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 29, 51, 0.18);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--steel-600); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Top progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-500), var(--red-500));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(11, 29, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand .rotor-icon {
  width: 46px;
  height: 14px;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--steel-200);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--teal-400);
  transition: width var(--dur-fast) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--red-500);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.btn-primary {
  background: var(--red-500);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-600); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(230,57,70,0.35); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--steel-200);
  color: var(--navy-900);
}
.btn-outline:hover { border-color: var(--navy-900); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-teal {
  background: var(--teal-500);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-400); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(42,157,143,0.35); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: radial-gradient(ellipse at top right, var(--navy-800), var(--navy-950) 70%);
  color: var(--white);
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-sky .cloud {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  filter: blur(2px);
  animation: drift linear infinite;
}

@keyframes drift {
  from { transform: translateX(-10%); }
  to { transform: translateX(110vw); }
}

.hero-rotor {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.12;
}

.hero-rotor .blade-group {
  animation: spin 18s linear infinite;
  transform-origin: 50% 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
  font-weight: 700;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp var(--dur-med) var(--ease-out) forwards;
  animation-delay: 0.05s;
}

.eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--red-500);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp var(--dur-med) var(--ease-out) forwards;
  animation-delay: 0.15s;
}

.hero h1 .accent { color: var(--teal-400); }

.hero p.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--teal-400);
  max-width: 560px;
  margin: 0 0 16px;
  opacity: 0;
  animation: fadeUp var(--dur-med) var(--ease-out) forwards;
  animation-delay: 0.2s;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--steel-200);
  max-width: 560px;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp var(--dur-med) var(--ease-out) forwards;
  animation-delay: 0.25s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp var(--dur-med) var(--ease-out) forwards;
  animation-delay: 0.35s;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp var(--dur-med) var(--ease-out) forwards;
  animation-delay: 0.45s;
}

.hero-stats .stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section basics ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy p { color: var(--steel-200); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-off { background: var(--off-white); }
.bg-white { background: var(--white); }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { }

/* ---------- US openings map ---------- */
.us-map-wrap {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.us-map {
  width: 100%;
  line-height: 0;
}

.us-map svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.map-loading {
  padding: 80px 0;
  text-align: center;
  color: var(--steel-400);
  font-size: 0.95rem;
}

.state-path {
  fill: var(--steel-200);
  stroke: var(--white);
  stroke-width: 1;
  transition: fill var(--dur-fast) var(--ease-out);
}
.state-path:hover { fill: var(--steel-400); }

.job-dot-halo {
  fill: var(--red-500);
  opacity: 0.35;
  animation: pulse 1.8s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
  pointer-events: none;
}

.job-dot {
  fill: var(--red-500);
  stroke: var(--white);
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill var(--dur-fast) var(--ease-out), r var(--dur-fast) var(--ease-out);
}
.job-dot:hover { fill: var(--red-600); }

.job-dot-count {
  fill: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  font-size: 9px;
}

.map-tooltip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  background: var(--navy-950);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  max-width: 240px;
  opacity: 0;
  transform: translate(-50%, -110%);
  transition: opacity var(--dur-fast) var(--ease-out);
}
.map-tooltip.show { opacity: 1; }
.map-tooltip .tt-title { font-weight: 700; margin-bottom: 2px; }
.map-tooltip .tt-meta { color: var(--steel-400); font-size: 0.76rem; }
.map-tooltip .tt-more { margin-top: 6px; font-size: 0.76rem; color: var(--teal-400); }

.map-footnote {
  margin: 14px 4px 0;
  font-size: 0.82rem;
  color: var(--steel-400);
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--steel-600);
  margin-top: 12px;
}
.map-legend .swatch {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red-500);
  display: inline-block;
}

/* ---------- Job board ---------- */
.board-toolbar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  margin-top: -64px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel-600);
}

.field input,
.field select {
  border: 1.5px solid var(--steel-200);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy-900);
  background: var(--off-white);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
}

.board-results-count {
  margin: 32px 0 20px;
  font-size: 0.9rem;
  color: var(--steel-600);
  font-weight: 600;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--steel-200);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-400);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.company-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
}

.badge-vfr { background: var(--teal-500); }
.badge-ifr { background: var(--navy-700); }

.job-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--steel-600);
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-salary {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.job-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.perk-tag {
  font-size: 0.72rem;
  background: var(--off-white);
  border: 1px solid var(--steel-200);
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--steel-600);
}

.job-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--steel-600);
}

/* ---------- Company cards / grid ---------- */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.company-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: left;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--red-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.company-card:hover::before { transform: scaleX(1); }

.company-mark {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.company-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.company-card .company-loc { font-size: 0.85rem; color: var(--steel-400); margin-bottom: 12px; }
.company-card .company-open { font-size: 0.82rem; font-weight: 700; color: var(--teal-500); }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal-400);
}
.stat-strip .stat-label { font-size: 0.85rem; color: var(--steel-200); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--steel-200);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid var(--steel-200);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full { grid-column: 1 / -1; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.form-field .req { color: var(--red-500); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--steel-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--off-white);
  transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(42,157,143,0.12);
}
.form-field .hint { font-size: 0.78rem; color: var(--steel-400); }
.form-field .error-msg { font-size: 0.78rem; color: var(--red-500); display: none; }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: var(--red-500); }
.form-field.invalid .error-msg { display: block; }

.file-drop {
  border: 2px dashed var(--steel-200);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  color: var(--steel-400);
  transition: border-color var(--dur-fast), background var(--dur-fast);
  cursor: pointer;
}
.file-drop.drag-over, .file-drop:hover { border-color: var(--teal-500); background: rgba(42,157,143,0.05); }

.success-panel {
  display: none;
  text-align: center;
  padding: 50px 20px;
}
.success-panel.show { display: block; animation: fadeUp 0.6s var(--ease-out); }
.success-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--teal-500);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

/* ---------- Forum ---------- */
.forum-list { display: flex; flex-direction: column; gap: 16px; }
.thread-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}
.thread-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.thread-votes {
  display: flex; flex-direction: column; align-items: center;
  color: var(--steel-400); font-size: 0.8rem; min-width: 46px;
}
.thread-votes .count { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy-900); }
.thread-tag {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--off-white); border: 1px solid var(--steel-200);
  padding: 3px 8px; border-radius: 999px; color: var(--steel-600); margin-right: 8px;
}
.thread-meta { font-size: 0.82rem; color: var(--steel-400); margin-top: 6px; }

.forum-disclaimer {
  background: rgba(230,57,70,0.06);
  border: 1px solid rgba(230,57,70,0.25);
  color: var(--navy-900);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter h3 { color: var(--white); margin-bottom: 6px; }
.newsletter p { color: var(--steel-200); margin-bottom: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 13px 16px;
  border-radius: 999px;
  border: none;
  min-width: 260px;
  font-family: var(--font-body);
}
.newsletter-form input:focus { outline: 2px solid var(--teal-400); }
.newsletter-note { font-size: 0.78rem; color: var(--steel-400); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-400);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 0.88rem; transition: color var(--dur-fast); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

/* ---------- Company profile page ---------- */
.company-hero {
  padding: 70px 0 50px;
  background: var(--navy-900);
  color: var(--white);
}
.company-hero-top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.company-hero .company-mark { width: 64px; height: 64px; font-size: 1.4rem; }
.source-note {
  font-size: 0.8rem;
  color: var(--steel-400);
  border-left: 3px solid var(--teal-500);
  padding-left: 12px;
  margin-top: 20px;
}
.company-picker {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px;
}
.company-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--steel-200);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--dur-fast) var(--ease-out);
}
.company-pill:hover, .company-pill.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.info-block {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 20px;
}
.info-block h3 { font-size: 1.05rem; margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px; right: 26px;
  background: var(--navy-900);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  z-index: 1100;
  max-width: 320px;
  font-size: 0.9rem;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; left: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease-out);
  cursor: pointer;
  border: none;
  z-index: 900;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-500); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .board-toolbar { grid-template-columns: 1fr 1fr; }
  .board-toolbar .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 30px;
    gap: 18px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-med) var(--ease-out);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .hero { padding: 110px 0 80px; }
  .hero-stats { gap: 26px; }
  .board-toolbar { grid-template-columns: 1fr; margin-top: -40px; padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .newsletter { flex-direction: column; align-items: flex-start; padding: 30px; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .company-hero-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .job-grid { grid-template-columns: 1fr; }
  .thread-card { flex-direction: column; }
}
