:root {
  --navy: #023366;
  --navy-2: #062744;
  --gold: #c9a24d;
  --aqua: #5ee0e6;
  --ink: #172235;
  --muted: #5d697c;
  --line: #dbe2eb;
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(2, 51, 102, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  padding-top: 64px;
}

.zeal-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid rgba(2, 51, 102, 0.1);
}

.zeal-nav {
  width: min(1280px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.zeal-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.zeal-logo-link img {
  width: 128px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.zeal-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(2, 51, 102, 0.1);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(2, 51, 102, 0.08);
}

.zeal-nav-links a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.zeal-nav-links a {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.zeal-nav-links a.is-active {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 6px 14px rgba(2, 51, 102, 0.16);
}

.zeal-contact {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--aqua);
  font-size: 0.875rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.zeal-contact:hover {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-1px);
}

.zeal-site-footer {
  background: var(--white);
  padding: 42px 20px 48px;
}

.zeal-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid rgba(2, 51, 102, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.zeal-footer-brand {
  display: flex;
  align-items: center;
  gap: 28px;
}

.zeal-footer-brand img {
  width: 120px;
  height: auto;
  display: block;
}

.zeal-footer-brand p,
.zeal-footer-copy {
  margin: 0;
  color: var(--navy);
}

.zeal-footer-brand p {
  font-weight: 800;
  line-height: 1.35;
}

.zeal-footer-copy {
  font-weight: 500;
}

.job-board-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.job-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  padding: 92px 0 76px;
}

.job-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(2, 51, 102, 0.72);
  content: "";
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 44px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-header h2,
.map-header h2 {
  margin: 0;
  color: inherit;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.17rem;
  line-height: 1.7;
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.metric-value {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.hero-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hero-button {
  margin-top: 10px;
  color: var(--navy);
  background: var(--aqua);
}

.jobs-section {
  padding: 76px 0 92px;
}

.section-header {
  max-width: 800px;
  margin-bottom: 32px;
}

.section-header h2,
.map-header h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
}

.external-search-note {
  position: relative;
  margin: 0 0 24px;
  padding: 22px 24px 22px 28px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid #c8d6e5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(2, 51, 102, 0.06);
}

.external-search-note::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
  content: "";
}

.external-search-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.external-search-note p {
  max-width: 920px;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  margin: 28px 0 24px;
  padding: 22px;
  background: var(--white);
  border: 1px solid #c8d6e5;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(2, 51, 102, 0.08);
}

.filter-field {
  display: grid;
  flex: 1 1 220px;
  gap: 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-field select,
.state-select-button {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 16px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.state-filter-field {
  flex: 1 1 220px;
}

.state-multiselect {
  position: relative;
}

.state-multiselect::after {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.state-select-button {
  display: block;
  text-align: left;
  cursor: pointer;
}

.state-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 5;
  display: grid;
  width: min(360px, 88vw);
  max-height: 280px;
  gap: 2px;
  overflow: auto;
  padding: 10px;
  background: var(--white);
  border: 1px solid #c8d6e5;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(2, 51, 102, 0.14);
}

.state-options[hidden] {
  display: none;
}

.state-option {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
}

.state-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.state-option:has(input:checked)::after {
  color: var(--navy);
  content: "✓";
  font-size: 0.9rem;
  font-weight: 900;
}

.state-option:hover,
.state-option:has(input:checked) {
  color: var(--navy);
  background: var(--soft);
}

.state-option:has(input:disabled) {
  color: #9ca8b8;
  cursor: not-allowed;
}

.secondary-button {
  padding: 0 22px;
  color: var(--white);
  background: var(--navy);
}

.results-bar {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
}

.results-bar p {
  margin: 0;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.job-card {
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #c8d6e5;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(2, 51, 102, 0.08);
}

.job-opportunity-label {
  margin: 0 0 14px;
  color: #607287;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.job-card h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.15;
}

.job-district {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.job-location {
  margin: 0;
  color: #607287;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.job-card p {
  overflow-wrap: anywhere;
}

.map-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid #c8d6e5;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(2, 51, 102, 0.08);
}

.map-header {
  margin-bottom: 20px;
}

.map-header h2 {
  max-width: 440px;
  font-size: 1.85rem;
  line-height: 1.04;
}

.map-wrap {
  position: relative;
  min-height: 430px;
  background: #eaf4f7;
  border: 1px solid #d4deea;
  border-radius: 12px;
  overflow: hidden;
}

.us-map {
  display: block;
  width: 100%;
  height: auto;
  min-height: 430px;
}

.candidate-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 30px 0 0;
  padding: 26px 28px;
  background: var(--navy);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(2, 51, 102, 0.12);
}

.candidate-cta .eyebrow {
  margin-bottom: 10px;
}

.candidate-cta h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.15;
}

.candidate-cta p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.62;
}

.candidate-cta-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 22px;
  color: var(--navy);
  background: var(--aqua);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.candidate-cta-button:hover {
  background: var(--white);
}

.map-water {
  fill: #e8f3f7;
}

.map-land {
  fill: #d9e8f0;
  stroke: #aac3d5;
  stroke-width: 2;
}

.map-alaska,
.map-hawaii {
  fill: #e3edf4;
}

.map-boundary,
.map-coast,
.map-detail {
  fill: none;
  stroke: rgba(2, 51, 102, 0.14);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-boundary {
  stroke-width: 1.25;
}

.map-coast {
  stroke-width: 2;
}

.map-detail {
  stroke: rgba(2, 51, 102, 0.1);
  stroke-width: 0.9;
}

.map-lake {
  fill: #c8e9ef;
  stroke: rgba(2, 51, 102, 0.12);
  stroke-width: 1;
}

.map-water-label {
  fill: rgba(2, 51, 102, 0.36);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.map-state-labels text {
  fill: rgba(2, 51, 102, 0.42);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
  text-anchor: middle;
}

.map-pin {
  cursor: pointer;
}

.map-pin circle {
  fill: #043d73;
  stroke: #39d8df;
  stroke-width: 5;
  transition: transform 160ms ease, fill 160ms ease;
}

.map-pin:hover circle,
.map-pin:focus circle {
  fill: var(--gold);
}

.map-pin text {
  fill: var(--white);
  font-size: 14px;
  font-weight: 800;
  pointer-events: none;
  text-anchor: middle;
}

.map-popover {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 20px 45px rgba(2, 51, 102, 0.25);
}

.map-popover h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.map-popover p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid #c8d6e5;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(2, 51, 102, 0.08);
}

.empty-eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.empty-state h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.15;
}

.empty-state p {
  max-width: 720px;
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 900px) {
  body {
    padding-top: 112px;
  }

  .zeal-site-header {
    height: auto;
  }

  .zeal-nav {
    width: min(100% - 32px, 1200px);
    height: auto;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0;
  }

  .zeal-logo-link img {
    width: 108px;
    height: 42px;
  }

  .zeal-nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .zeal-nav-links::-webkit-scrollbar {
    display: none;
  }

  .zeal-nav-links a {
    padding: 9px 14px;
    font-size: 0.86rem;
  }

  .zeal-contact {
    min-height: 38px;
    padding: 9px 16px;
  }

  .zeal-footer-inner,
  .zeal-footer-brand {
    align-items: flex-start;
  }

  .zeal-footer-inner {
    flex-direction: column;
  }

  .hero-grid,
  .candidate-cta {
    grid-template-columns: 1fr;
  }

  .job-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-hero {
    padding: 72px 0 58px;
  }

  .hero-panel,
  .map-panel {
    position: static;
  }

  .candidate-cta-button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  body {
    padding-top: 110px;
  }

  .zeal-nav {
    width: min(100% - 24px, 1200px);
  }

  .zeal-footer-brand {
    gap: 18px;
  }

  .zeal-footer-brand img {
    width: 104px;
  }

  .shell {
    width: min(100% - 28px, 1180px);
  }

  .filters,
  .job-card,
  .map-panel,
  .candidate-cta,
  .hero-panel {
    padding: 20px;
  }

  .job-list {
    grid-template-columns: 1fr;
  }

  .secondary-button {
    width: 100%;
  }
}
