.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

.jobs-page main {
  padding-top: 30px;
}

.jobs-hero {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - clamp(64px, 7vw, 160px)), var(--container));
  margin-inline: auto;
  overflow: hidden;
  border-radius: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(circle at 88% 14%, rgba(112, 205, 245, 0.22), transparent 24rem),
    linear-gradient(135deg, #031328 0%, #062445 58%, #07385f 100%);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.jobs-hero::before,
.jobs-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(112, 205, 245, 0.22);
  border-radius: 50%;
  content: "";
}

.jobs-hero::before {
  top: -190px;
  right: -80px;
  width: 430px;
  height: 430px;
}

.jobs-hero::after {
  right: 190px;
  bottom: -230px;
  width: 380px;
  height: 380px;
}

.jobs-hero__inner {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(44px, 7vw, 100px);
  padding: clamp(72px, 8vw, 112px) clamp(30px, 5vw, 72px);
}

.jobs-hero .eyebrow--light,
.jobs-help .eyebrow--light {
  color: var(--blue-300);
}

.jobs-hero .display {
  max-width: 860px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.jobs-hero__copy > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #c4d4e4;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.jobs-hero__counter {
  display: grid;
  min-height: 190px;
  align-content: end;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.jobs-hero__counter-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-500);
}

.jobs-hero__counter-icon svg {
  width: 24px;
  height: 24px;
}

.jobs-hero__counter strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.jobs-hero__counter small {
  margin-top: 8px;
  color: #aebfd0;
  font-size: 0.82rem;
}

.jobs-section {
  padding-block: clamp(68px, 8vw, 112px);
}

.jobs-section__heading {
  max-width: 880px;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.jobs-section__heading .title {
  margin-bottom: 20px;
}

.jobs-section__heading > p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.jobs-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 38px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.jobs-filter {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.jobs-filter label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.select-shell {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
}

.select-shell > svg:first-child {
  position: absolute;
  left: 16px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--blue-500);
  pointer-events: none;
}

.select-shell select {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 47px 0 46px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  appearance: none;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-shell select:focus-visible {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(14, 163, 232, 0.14);
}

.select-shell__chevron {
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.jobs-filters__clear {
  min-height: 54px;
  white-space: nowrap;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 32px);
}

.job-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 27px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), border-color 0.25s ease, box-shadow 0.35s ease;
}

.job-card:hover {
  border-color: rgba(14, 163, 232, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.job-card__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-950);
}

.job-card__link:focus-visible {
  outline-offset: -5px;
}

.job-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
}

.job-card:hover .job-card__image {
  transform: scale(1.012);
}

.job-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
  background:
    radial-gradient(circle at 88% 14%, rgba(14, 163, 232, 0.32), transparent 30%),
    linear-gradient(150deg, #031328, #0b3154);
  color: #fff;
}

.job-card__fallback-label {
  width: max-content;
  margin-bottom: 14%;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--blue-300);
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-card__fallback strong {
  max-width: 90%;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 3.3vw, 3rem);
  line-height: 1.05;
}

.job-card__fallback > span:nth-of-type(2) {
  margin-top: 8%;
  color: #bdd0e1;
  line-height: 1.55;
}

.job-card__fallback-action {
  margin-top: auto;
  padding-top: 9%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--blue-300);
  font-weight: 720;
}

.jobs-empty {
  display: grid;
  max-width: 760px;
  min-height: 370px;
  place-items: center;
  align-content: center;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.jobs-empty--primary {
  background:
    radial-gradient(circle at 50% -15%, rgba(14, 163, 232, 0.13), transparent 55%),
    var(--surface);
}

.jobs-empty__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 21px;
  background: var(--surface-soft);
  color: var(--blue-500);
}

.jobs-empty__icon svg {
  width: 30px;
  height: 30px;
}

.jobs-empty h3 {
  margin-bottom: 13px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.jobs-empty > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 25px;
  color: var(--muted);
}

.jobs-empty .eyebrow {
  margin-bottom: 14px;
}

.jobs-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(72px, 8vw, 112px);
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(circle at 84% 0%, rgba(112, 205, 245, 0.26), transparent 25rem),
    var(--navy-950);
  color: #fff;
}

.jobs-help h2 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.jobs-help p:last-child {
  max-width: 740px;
  margin-bottom: 0;
  color: #bdccdb;
}

.jobs-help .button {
  flex: 0 0 auto;
}

@media (max-width: 1080px) {
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .jobs-page main {
    padding-top: 22px;
  }

  .jobs-hero {
    width: min(calc(100% - 28px), var(--container));
  }

  .jobs-hero__inner {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 62px 24px 28px;
  }

  .jobs-hero .display {
    font-size: clamp(2.75rem, 12vw, 4.5rem);
  }

  .jobs-hero__counter {
    min-height: auto;
  }

  .jobs-hero__counter-icon {
    margin-bottom: 16px;
  }

  .jobs-filters {
    grid-template-columns: 1fr 1fr;
  }

  .jobs-filters__clear {
    grid-column: 1 / -1;
  }

  .jobs-help {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .jobs-section {
    padding-block: 58px 72px;
  }

  .jobs-filters,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .jobs-filters {
    padding: 14px;
    border-radius: 20px;
  }

  .jobs-filters__clear {
    grid-column: auto;
  }

  .jobs-empty {
    min-height: 340px;
    padding: 34px 20px;
    border-radius: 24px;
  }

  .jobs-help .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-card,
  .job-card__image {
    transition: none;
  }

  .job-card:hover,
  .job-card:hover .job-card__image {
    transform: none;
  }
}
