/* Responsibility: Home jobs section, job cards and application call-to-action band. */

.home-page .jobs-section {
  position: relative;
  max-width: 1180px;
  padding-top: 58px;
  padding-bottom: 88px;
}

.home-page .jobs-section::before {
  display: none;
}

.home-page .jobs-section .section-head {
  position: relative;
  z-index: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  margin-bottom: 8px;
  text-align: center;
}

.home-page .jobs-section .section-head > div {
  max-width: 760px;
}

.home-page .jobs-section .section-head > .jobs-heading-copy {
  max-width: 900px;
}

.jobs-heading-copy {
  position: relative;
  z-index: auto;
  width: min(100%, 900px);
  padding: 12px 30px 0;
}

.jobs-heading-copy::before,
.jobs-heading-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.jobs-heading-copy::before {
  display: none;
}

.jobs-heading-copy::after {
  display: none;
}

.home-page .jobs-section h2 {
  margin-top: 8px;
  color: #111;
  font-size: 64px;
  font-weight: 700;
}

.home-page .jobs-section .section-note {
  max-width: 700px;
  margin: 12px auto 0;
  color: #69665e;
  font-size: 17px;
  line-height: 1.75;
}

.jobs-head-aside {
  position: relative;
  width: min(100%, 440px);
  height: 270px;
  margin: 32px auto -86px;
  pointer-events: none;
}

.jobs-wave {
  position: relative;
  width: 100%;
  height: 270px;
  margin: 0 auto;
  overflow: visible;
  pointer-events: none;
}

.jobs-wave::before,
.jobs-wave::after {
  display: none;
}

.jobs-dither-canvas {
  position: absolute;
  z-index: 0;
  inset: 18px 0 auto;
  display: block;
  width: 100%;
  height: 230px;
  opacity: 0.9;
  pointer-events: none;
}

.qiu-job-image {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: block;
  width: 250px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 12px rgba(42, 34, 24, 0.12));
}

.qiu-job-hands {
  position: absolute;
  left: 50%;
  bottom: -55px;
  z-index: 4;
  display: block;
  width: 300px;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  filter: saturate(0.2) brightness(1.03) drop-shadow(0 4px 5px rgba(42, 34, 24, 0.08));
}

.home-page #jobs-root {
  position: relative;
  z-index: 3;
}

.home-page .direction {
  position: relative;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 22px;
  padding: 34px 30px 24px;
  overflow: hidden;
  border: 1px solid rgba(22, 20, 16, 0.07);
  border-radius: 28px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 196, 43, 0.1) 1px, transparent 1.2px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 239, 174, 0.58) 0%, rgba(255, 248, 218, 0.22) 48%, rgba(255, 255, 255, 0) 100%),
    #fff;
  box-shadow: 0 18px 44px rgba(50, 42, 28, 0.065);
}

.home-page .direction:nth-child(2) {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 127, 105, 0.09) 1px, transparent 1.2px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 218, 205, 0.58) 0%, rgba(255, 241, 235, 0.2) 48%, rgba(255, 255, 255, 0) 100%),
    #fff;
}

.home-page .direction:nth-child(3) {
  background:
    radial-gradient(circle at 1px 1px, rgba(77, 192, 227, 0.1) 1px, transparent 1.2px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(203, 239, 249, 0.62) 0%, rgba(235, 249, 253, 0.2) 48%, rgba(255, 255, 255, 0) 100%),
    #fff;
}

.home-page .direction:nth-child(4) {
  background:
    radial-gradient(circle at 1px 1px, rgba(151, 213, 53, 0.1) 1px, transparent 1.2px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(226, 244, 190, 0.62) 0%, rgba(245, 250, 232, 0.2) 48%, rgba(255, 255, 255, 0) 100%),
    #fff;
}

.home-page .direction:nth-child(5) {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 190, 49, 0.1) 1px, transparent 1.2px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 229, 187, 0.6) 0%, rgba(255, 246, 229, 0.2) 48%, rgba(255, 255, 255, 0) 100%),
    #fff;
}

.home-page .direction-title::before {
  display: none;
}

.home-page .direction-title h3 {
  font-size: 27px;
  font-weight: 700;
}

.home-page .direction-title p {
  color: #8a867d;
  font-weight: 500;
}

.home-page .job-grid {
  border-top: 0;
  gap: 10px;
}

.home-page .job-card {
  min-height: 100px;
  padding: 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(48, 40, 28, 0.045);
  transition: color 0.2s ease, background 0.25s ease, padding 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .job-card:hover {
  border-color: #e8bf35;
  background: #fff;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(73, 54, 28, 0.09), 0 0 0 3px rgba(255, 211, 62, 0.12);
}

.home-page .direction:nth-child(2) .job-card:hover {
  border-color: #ef9a86;
  box-shadow: 0 14px 30px rgba(85, 53, 43, 0.09), 0 0 0 3px rgba(255, 147, 122, 0.13);
}

.home-page .direction:nth-child(3) .job-card:hover {
  border-color: #72c8df;
  box-shadow: 0 14px 30px rgba(39, 75, 86, 0.08), 0 0 0 3px rgba(83, 197, 229, 0.13);
}

.home-page .direction:nth-child(4) .job-card:hover {
  border-color: #a9d75d;
  box-shadow: 0 14px 30px rgba(57, 79, 33, 0.08), 0 0 0 3px rgba(165, 218, 73, 0.13);
}

.home-page .direction:nth-child(5) .job-card:hover {
  border-color: #eab85d;
  box-shadow: 0 14px 30px rgba(83, 65, 32, 0.08), 0 0 0 3px rgba(242, 187, 81, 0.13);
}

.home-page .job-card h4 {
  font-size: 25px;
  font-weight: 500;
}

.home-page .job-meta {
  font-weight: 400;
}

.home-page .salary {
  font-weight: 700;
  background: none;
  color: #24211c;
  -webkit-text-fill-color: currentColor;
}

.home-page .hot-text {
  display: inline-flex;
  align-items: center;
  padding: 0 1px 2px;
  border-bottom: 3px solid #f2c83b;
  border-radius: 0;
  background: none;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.home-page .job-card:hover .job-meta,
.home-page .job-card:hover .salary,
.home-page .job-card:hover .hot-text {
  color: #111;
}

.home-page .arrow {
  min-width: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
  transition: transform 0.24s ease;
}

.home-page .arrow::after {
  content: "↗";
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ffd63e;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.2s ease, transform 0.24s var(--ease-apple);
}

.home-page .direction:nth-child(2) .arrow::after {
  background: #ff9c87;
}

.home-page .direction:nth-child(3) .arrow::after {
  background: #6bcce5;
}

.home-page .direction:nth-child(4) .arrow::after {
  background: #b6df68;
}

.home-page .direction:nth-child(5) .arrow::after {
  background: #f2c36c;
}

.home-page .direction:nth-child(2) .hot-text {
  border-bottom-color: #ef9a86;
}

.home-page .direction:nth-child(3) .hot-text {
  border-bottom-color: #72c8df;
}

.home-page .direction:nth-child(4) .hot-text {
  border-bottom-color: #a9d75d;
}

.home-page .direction:nth-child(5) .hot-text {
  border-bottom-color: #eab85d;
}

.home-page .job-card:hover .arrow {
  transform: translateX(4px);
}

.home-page .job-card:hover .arrow::after,
.home-page .job-card:focus-visible .arrow::after {
  opacity: 1;
  transform: scale(1);
}

.home-page .apply-band {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  min-height: 330px;
  background-color: #07111e;
}

.home-page .apply-band::before,
.home-page .apply-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-page .apply-band::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)),
    linear-gradient(
      90deg,
      rgba(5, 9, 16, 0.98) 0%,
      rgba(5, 9, 16, 0.93) 30%,
      rgba(5, 9, 16, 0.62) 48%,
      rgba(5, 9, 16, 0.12) 70%,
      rgba(5, 9, 16, 0.02) 100%
    );
}

.home-page .apply-band::after {
  z-index: 0;
  inset: 0;
  background: url("../../apply-space-bg-v2.jpg?v=20260716-optimized-01") right center / auto 100% no-repeat;
  transform: scale(1.025) translateX(0.4%);
  transition: transform 1.4s var(--ease-apple), filter 1.2s var(--ease-apple);
  filter: saturate(0.92) brightness(0.9);
}

.home-page .apply-band.is-revealed::after {
  transform: scale(1) translateX(0);
  filter: saturate(1) brightness(1);
}

.home-page .apply-band-inner {
  position: relative;
  z-index: 1;
  min-height: 330px;
  padding-top: 66px;
  padding-bottom: 58px;
  grid-template-columns: minmax(0, 720px) minmax(180px, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: start;
  gap: 0 28px;
}

.home-page .apply-band-inner > div {
  grid-column: 1;
  grid-row: 1;
}

.home-page .apply-band .eyebrow {
  color: var(--lime);
}

.home-page .apply-band .eyebrow::before {
  background: var(--coral);
}

.home-page .apply-band h2 {
  margin-top: 14px;
  max-width: 760px;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.home-page .apply-band p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.home-page .apply-band .btn.light {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin-top: 26px;
  border-radius: 14px;
}

.home-page .btn.light {
  min-width: 164px;
  background: #fff;
  border-color: #fff;
  color: #111;
}

.home-page .footer {
  background: #111;
  color: #fff;
}

.home-page .footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-page .footer img {
  width: 130px;
  height: auto;
  filter: invert(1) grayscale(1) brightness(3);
}
