:root {
  --navy-950: #061729;
  --navy-900: #09213b;
  --navy-800: #103252;
  --blue: #0b6ff3;
  --blue-dark: #0757c0;
  --blue-light: #e9f3ff;
  --gold: #ffc928;
  --gold-dark: #e0ad00;
  --ink: #122033;
  --text: #405268;
  --muted: #607287;
  --line: #d8e1ea;
  --paper: #ffffff;
  --wash: #f4f7fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--wash);
  color: var(--ink);
  font-family: Sora, Arial, sans-serif;
}

a {
  color: inherit;
}

p {
  font-size: 1rem;
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-top: 5px solid var(--gold);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 40px;
}

.brand img {
  display: block;
  width: 216px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a {
  color: #42536a;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a[aria-current="page"] {
  color: var(--blue);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--blue-dark);
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy-950);
  font-size: 1.55rem;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.menu-close,
.mobile-menu[open] .menu-open {
  display: none;
}

.mobile-menu[open] .menu-close {
  display: inline;
  font-size: 2rem;
  line-height: 1;
}

.mobile-links {
  position: absolute;
  top: 71px;
  right: 0;
  left: 0;
  display: grid;
  padding: 18px 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 30px rgb(6 23 41 / 14%);
}

.mobile-links a {
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: #34485f;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-links a:last-child {
  border-bottom: 0;
}

.hero {
  background: var(--navy-950);
  color: var(--paper);
}

.hero-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 54px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: #91a9c1;
  font-size: 0.8rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: #dce9f6;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--gold);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 76px;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 11px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 strong {
  color: #75b5ff;
  font-weight: 800;
}

.hero-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d6e4f1;
  font-size: 1.08rem;
  line-height: 1.75;
}

.jurisdiction-panel {
  border-top: 7px solid var(--blue);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 42px rgb(0 0 0 / 18%);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-950);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-heading i {
  color: var(--blue);
  font-size: 1.3rem;
}

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

.jurisdiction-list span {
  min-height: 84px;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
}

.jurisdiction-list span:nth-child(even) {
  border-right: 0;
}

.jurisdiction-list span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.jurisdiction-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-950);
  font-size: 0.95rem;
}

.career-directory {
  padding: 68px 0 72px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.section-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading h2,
.article-copy h2,
.next-step-copy h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.9rem, 3.7vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: right;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.career-card {
  display: grid;
  grid-template-columns: 58px 1fr 30px;
  gap: 18px;
  align-items: center;
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  background: var(--paper);
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(6 23 41 / 5%);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.career-card:hover,
.career-card:focus-visible {
  border-top-color: var(--blue);
  box-shadow: 0 18px 36px rgb(6 23 41 / 11%);
  outline: none;
  transform: translateY(-3px);
}

.career-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 1.5rem;
}

.career-copy {
  min-width: 0;
}

.career-copy small {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.career-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-950);
  font-size: 1.15rem;
}

.career-copy > span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.career-arrow {
  justify-self: end;
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 800;
}

.featured-career {
  border-left: 6px solid var(--blue);
}

.chaplain-career {
  border-left: 6px solid var(--gold);
}

.chaplain-career .career-icon {
  background: var(--navy-950);
  color: var(--gold);
}

.page-menu {
  position: sticky;
  top: 0;
  z-index: 10;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 8px 22px rgb(6 23 41 / 6%);
}

.page-menu-inner {
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: center;
  min-height: 68px;
}

.page-menu-label {
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-menu-links {
  display: flex;
  align-items: stretch;
  min-height: 68px;
  border-left: 1px solid var(--line);
}

.page-menu-links a {
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  color: #405268;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.page-menu-links a:hover,
.page-menu-links a:focus-visible {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.content-section {
  padding: 76px 0;
}

.white-section {
  background: var(--paper);
}

.narrow-heading {
  max-width: 790px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.path-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.path-number {
  position: absolute;
  top: 24px;
  right: 25px;
  color: #aebdcb;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.path-card > i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  background: var(--blue);
  color: var(--paper);
  font-size: 1.4rem;
}

.path-card h3 {
  margin: 0 0 16px;
  color: var(--navy-950);
  font-size: 1.12rem;
  line-height: 1.35;
}

.path-card p {
  margin: 0 0 15px;
  color: var(--text);
  font-size: 0.89rem;
  line-height: 1.75;
}

.path-card p:last-child {
  margin-bottom: 0;
}

.comparison-section {
  padding: 70px 0 76px;
  background: var(--navy-900);
  color: var(--paper);
}

.light-heading .section-kicker {
  color: var(--gold);
}

.light-heading h2 {
  color: var(--paper);
}

.light-heading > p {
  color: #bfd0e0;
}

.comparison-table {
  border-top: 1px solid #3a5671;
  border-left: 1px solid #3a5671;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.3fr 1.25fr;
  color: #d7e5f2;
  text-decoration: none;
}

.comparison-row > * {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 14px 18px;
  border-right: 1px solid #3a5671;
  border-bottom: 1px solid #3a5671;
  font-size: 0.8rem;
  line-height: 1.45;
}

.comparison-head > * {
  min-height: 48px;
  background: #123553;
  color: #9fb5c9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-row strong {
  color: var(--paper);
  font-size: 0.88rem;
}

a.comparison-row:hover,
a.comparison-row:focus-visible {
  background: #123b60;
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: start;
}

.article-copy h2 {
  margin-bottom: 24px;
}

.article-copy p {
  margin: 0 0 20px;
  color: var(--text);
  line-height: 1.85;
}

.article-copy p:last-child {
  margin-bottom: 0;
}

.work-panel {
  border-top: 6px solid var(--blue);
  background: var(--wash);
}

.work-panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}

.work-panel-heading i {
  color: var(--blue);
  font-size: 1.45rem;
}

.work-panel-heading h3 {
  margin: 0;
  font-size: 1.02rem;
}

.work-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-panel li {
  padding: 16px 23px;
  border-bottom: 1px solid var(--line);
}

.work-panel li:last-child {
  border-bottom: 0;
}

.work-panel strong,
.work-panel span {
  display: block;
}

.work-panel strong {
  margin-bottom: 5px;
  color: var(--navy-950);
  font-size: 0.85rem;
}

.work-panel span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.qualifications-section {
  padding: 76px 0 82px;
  background: #eaf2fb;
}

.qualifications-heading {
  padding-bottom: 26px;
  border-bottom: 2px solid #b9ccde;
}

.requirements-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: start;
}

.requirements-copy {
  padding-top: 6px;
}

.hiring-track {
  border-left: 5px solid var(--gold);
  background: var(--navy-950);
  color: var(--paper);
}

.track-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 77px;
  padding: 13px 22px;
  border-bottom: 1px solid #2e465e;
}

.track-item:last-child {
  border-bottom: 0;
}

.track-item span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.track-item p {
  margin: 0;
  color: #c3d3e2;
  font-size: 0.78rem;
  line-height: 1.5;
}

.next-step-section {
  padding: 54px 0;
  background: var(--paper);
}

.next-step-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid var(--gold-dark);
  border-left: 8px solid var(--gold);
  box-shadow: 0 14px 34px rgb(6 23 41 / 8%);
}

.next-step-copy h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.next-step-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 0 19px;
  background: var(--blue);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.primary-action span {
  color: var(--gold);
  font-size: 1.2rem;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--blue-dark);
  outline: 3px solid rgb(11 111 243 / 18%);
}

.footer {
  padding: 38px 0 22px;
  background: #04111e;
  color: var(--paper);
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 30px;
}

.footer-main img {
  display: block;
  width: 200px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-left: auto;
}

.footer-nav a {
  color: #aebfd0;
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--paper);
}

.legal {
  padding-top: 18px;
  border-top: 1px solid #203448;
  color: #768da3;
  font-size: 0.75rem;
}

@media (max-width: 980px) {
  .hero-grid {
    gap: 42px;
  }

  .page-menu-inner {
    grid-template-columns: 130px 1fr;
  }

  .page-menu-links a {
    padding: 0 16px;
  }

  .path-card {
    padding: 25px;
  }

  .work-grid,
  .requirements-layout {
    gap: 42px;
  }
}

@media (max-width: 800px) {
  .hero-grid,
  .work-grid,
  .requirements-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 0;
  }

  .comparison-row {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row > * {
    min-height: 62px;
  }

  .comparison-row strong {
    grid-column: 1 / -1;
    min-height: 52px;
    background: #123553;
  }

  .comparison-row span::before {
    display: block;
    margin-bottom: 5px;
    color: #88a3ba;
    content: attr(data-label);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .comparison-row span:nth-child(4) {
    grid-column: 1 / -1;
  }

  .next-step-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .primary-action {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .shell,
  .hero-container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    height: 64px;
  }

  .brand img {
    width: 178px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-links {
    top: 59px;
  }

  .hero-container {
    padding: 28px 0 38px;
  }

  .breadcrumbs {
    margin-bottom: 24px;
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-copy > p {
    margin-top: 19px;
    font-size: 1rem;
    line-height: 1.65;
  }

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

  .jurisdiction-list span,
  .jurisdiction-list span:nth-child(even),
  .jurisdiction-list span:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .jurisdiction-list span:last-child {
    border-bottom: 0;
  }

  .career-directory,
  .content-section,
  .comparison-section,
  .qualifications-section {
    padding: 48px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 13px;
    text-align: left;
  }

  .career-card {
    grid-template-columns: 49px 1fr 22px;
    gap: 13px;
    min-height: 128px;
    padding: 18px 15px;
  }

  .career-icon {
    width: 49px;
    height: 49px;
    font-size: 1.3rem;
  }

  .career-copy strong {
    font-size: 1rem;
  }

  .page-menu {
    position: static;
  }

  .page-menu-inner {
    display: block;
    padding: 15px 0 0;
  }

  .page-menu-label {
    display: block;
    padding-bottom: 12px;
  }

  .page-menu-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .page-menu-links a {
    min-height: 50px;
    padding: 9px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.74rem;
  }

  .path-card {
    padding: 24px 21px;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row strong,
  .comparison-row span:nth-child(4) {
    grid-column: 1;
  }

  .comparison-row > * {
    min-height: 0;
    padding: 13px 16px;
  }

  .track-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 16px 19px;
  }

  .next-step-section {
    padding: 38px 0;
  }

  .next-step-grid {
    padding: 26px 20px;
  }

  .primary-action {
    width: 100%;
    white-space: normal;
  }

  .footer-main {
    display: block;
  }

  .footer-nav {
    margin: 24px 0 0;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
