/* Brand system based on the navy, blue and cyan orbit logo. */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: calc(100% - 58px);
}

.brand-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Compact navigation keeps the vertical logo inside a predictable header. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border: 0;
  box-shadow: 0 8px 30px rgba(5, 40, 68, 0.08);
}

.header-inner {
  min-height: 94px;
}

.header-inner .brand-logo {
  width: 158px;
  max-height: 82px;
}

.main-navigation {
  gap: 26px;
}

.main-navigation > a:not(.button) {
  padding: 34px 0;
}

.main-navigation > a[aria-current]:before {
  top: auto;
  bottom: 18px;
  height: 2px;
  border-radius: 2px;
}

.button {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(8, 127, 199, 0.16);
}

/* Hero uses an inset editorial image and orbit-like rings instead of a flat overlay. */
.home-hero {
  min-height: 380px;
  margin: 18px 20px 0;
  border-radius: 30px;
  background: #052844;
  isolation: isolate;
}

.home-hero:before,
.home-hero:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(70, 194, 223, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.home-hero:before {
  width: 540px;
  height: 190px;
  left: -180px;
  bottom: 45px;
  transform: rotate(-12deg);
}

.home-hero:after {
  width: 380px;
  height: 130px;
  left: -90px;
  bottom: 88px;
  transform: rotate(-12deg);
}

.hero-image {
  inset: 38px 38px 38px auto;
  width: 52%;
  height: calc(100% - 76px);
  border-radius: 24px;
  opacity: 0.82;
  object-position: 57% center;
}

.hero-shade {
  background: linear-gradient(90deg, #052844 0%, #052844 43%, rgba(5, 40, 68, 0.8) 57%, rgba(5, 40, 68, 0.12) 100%);
}

.hero-content {
  padding: 92px 0 126px;
}

.hero-content h1 {
  max-width: 650px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(52px, 5.5vw, 78px);
  font-weight: 700;
  letter-spacing: -0.065em;
}

.hero-content h1 em {
  color: #46c2df;
}

.hero-content h1 em:after {
  display: none;
}

.hero-content .button {
  background: #159bd4;
  border-color: #159bd4;
  color: #fff;
}

.hero-content .button:hover {
  background: #35b6dc;
  border-color: #35b6dc;
}

.hero-description,
.hero-caption {
  color: #d9eaf3;
}

.hero-description {
  max-width: 520px;
}

.hero-caption {
  right: 54px;
}

@media (min-width: 761px) {
  .listing-search .job-search { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 18px; }
}

.search-overlap {
  margin-top: -42px;
}

.job-search {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(5, 40, 68, 0.14);
}

.job-search .button {
  border-radius: 12px;
}

/* Rounded cards and pale-blue surfaces continue the circular logo language. */
.opportunities {
  padding-top: 105px;
}

.job-card,
.company-card {
  border: 1px solid #e1edf3;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(5, 40, 68, 0.05);
}

.job-card {
  padding: 30px;
}

.job-card:hover,
.company-card:hover {
  border-color: #a9d7ec;
  box-shadow: 0 18px 45px rgba(5, 40, 68, 0.1);
  transform: translateY(-2px);
}

.company-card {
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.company-mark,
.job-action,
.pill,
.info-panel,
.apply-panel {
  border-radius: 14px;
}

.job-action {
  border-color: #cfe3ee;
}

.intro-photo > img,
.intro-photo:before {
  border-radius: 24px;
}

.photo-note {
  border-radius: 18px 0 18px 0;
  background: linear-gradient(135deg, #087fc7, #075d9a);
}

.process-section,
.section-tinted {
  background: #edf7fc;
}

.steps {
  gap: 24px;
}

.steps article {
  min-height: 275px;
  padding: 34px;
  border: 1px solid #d8e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(5, 40, 68, 0.04);
}

.step-number {
  top: 28px;
  right: 28px;
}

.faq-list details {
  margin-bottom: 12px;
  padding: 20px 24px;
  border: 1px solid #dceaf1;
  border-radius: 14px;
  background: #fff;
}

.cta-band {
  margin: 0 20px 20px;
  border-radius: 26px;
  background: linear-gradient(135deg, #087fc7, #05568d);
  overflow: hidden;
}

.page-banner {
  margin: 18px 20px 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #e5f4fb, #f8fcfe);
}

/* The full vertical logo gets a light surface in the dark footer. */
.site-footer {
  background: #041f36;
}

.brand-light {
  width: fit-content;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 19, 37, 0.18);
}

.brand-light .brand-logo {
  width: 250px;
}

.footer-main {
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 80px;
  align-items: start;
}

.organization-card,
.contact-card {
  padding: 32px;
  border: 1px solid #d8e8f0;
  border-radius: 18px;
  background: #f8fcfe;
}

.organization-card > i,
.contact-card > i {
  color: var(--red);
  font-size: 28px;
}

.organization-card h2,
.contact-card h2 {
  margin-top: 20px;
  font-size: 24px;
}

.organization-card .button {
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.eyebrow {
  font-size: 12px;
}

/* Informational pages. */
.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 26px;
}

.legal-copy p {
  line-height: 1.85;
}

.legal-notice {
  padding: 20px 24px;
  border-left: 3px solid var(--red);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
}

.footer-bottom {
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: #b9cfdd;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
}

.footer-legal a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 88px;
  }

  .header-inner .brand-logo {
    width: 145px;
    max-height: 76px;
  }

  .header-cta {
    display: none;
  }

  .hero-image {
    width: 50%;
  }

  .steps article {
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 82px;
  }

  .header-inner .brand-logo {
    width: 132px;
    max-height: 74px;
  }

  .home-hero {
    min-height: auto;
    margin: 0;
    border-radius: 0;
  }

  .home-hero:before,
  .home-hero:after {
    display: none;
  }

  .hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    opacity: 0.26;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(5, 40, 68, 0.98), rgba(5, 40, 68, 0.76));
  }

  .hero-content {
    padding: 62px 0 100px;
  }

.home-hero .job-search { position: relative; margin-top: 24px; color: #052844; background: white; }
.hero-content h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .search-overlap {
    margin-top: -24px;
  }

  .job-search {
    border-radius: 16px;
  }

  .job-card {
    border-radius: 16px;
  }

  .steps {
    gap: 16px;
  }

  .steps article {
    min-height: 0;
  }

  .cta-band,
  .page-banner {
    margin-right: 0;
    margin-left: 0;
    border-radius: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    gap: 12px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
