/* Gateway Flow belongs exclusively to the careers hero. */
body[data-page="careers"] .hero {
  isolation: isolate;
  background: #000;
  border-bottom: 0 !important;
}

body[data-page="careers"] .hero-inner {
  border-left: 0 !important;
  border-right: 0 !important;
}

body[data-page="careers"] .hero > #ocean-canvas[data-gateway-flow] {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .68;
  background: transparent;
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, .065));
  mix-blend-mode: normal;
  pointer-events: none;
}

body[data-page="careers"] .hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background:
    linear-gradient(90deg, #000 0 10%, transparent 16%, transparent 84%, #000 90% 100%),
    linear-gradient(0deg, #000 0 8%, transparent 18%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .08) 34%, transparent 64%),
    linear-gradient(180deg, rgba(0, 0, 0, .26), transparent 22%, transparent 78%, rgba(0, 0, 0, .34));
  content: "" !important;
  pointer-events: none;
}

body[data-page="careers"] .hero::after {
  display: none !important;
  content: none !important;
}

body[data-page="careers"] .hero-inner {
  position: relative;
  z-index: 2;
}

body[data-page="careers"] .hero-copy {
  text-shadow: 0 3px 26px rgba(0, 0, 0, .88);
}

body[data-page="careers"] .hero-actions.gateway-card-grid {
  width: min(100%, 680px) !important;
  margin: 40px auto 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 14px !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

body[data-page="careers"] .gateway-card.button,
body[data-page="careers"] .gateway-card.button-primary {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 148px !important;
  height: auto !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 22px !important;
  color: #f7f7f5 !important;
  background: linear-gradient(145deg, rgba(30, 31, 37, .78), rgba(7, 8, 11, .76)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 28px 70px rgba(0, 0, 0, .34) !important;
  text-align: left !important;
  text-decoration: none !important;
  text-shadow: none !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.2) !important;
  backdrop-filter: blur(22px) saturate(1.2) !important;
  transform: none !important;
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1), border-color 260ms ease, background 260ms ease !important;
}

body[data-page="careers"] .gateway-card.button::before {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .13), transparent 42%),
    linear-gradient(130deg, rgba(255, 255, 255, .035), transparent 55%) !important;
  content: "" !important;
  opacity: .82;
  pointer-events: none;
}

body[data-page="careers"] .gateway-card.button::after {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  border-radius: inherit !important;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, .12) 48%, transparent 78%) !important;
  content: "" !important;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-38%);
  transition: opacity 280ms ease, transform 640ms cubic-bezier(.16, 1, .3, 1);
}

body[data-page="careers"] .gateway-card > span {
  position: relative;
  z-index: 1;
}

body[data-page="careers"] .gateway-card-kicker {
  color: rgba(247, 247, 245, .5);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body[data-page="careers"] .gateway-card-title {
  width: 100%;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

body[data-page="careers"] .gateway-card-title .material-symbols-rounded {
  font-size: 19px;
}

body[data-page="careers"] .gateway-card-copy {
  max-width: 28em;
  margin-top: 12px;
  color: rgba(247, 247, 245, .58);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.58;
}

body[data-page="careers"] .gateway-card.button:hover,
body[data-page="careers"] .gateway-card.button:focus-visible {
  border-color: rgba(255, 255, 255, .32) !important;
  background: linear-gradient(145deg, rgba(39, 40, 47, .86), rgba(10, 11, 15, .82)) !important;
  transform: translateY(-6px) !important;
}

body[data-page="careers"] .gateway-card.button:hover::after,
body[data-page="careers"] .gateway-card.button:focus-visible::after {
  opacity: 1;
  transform: translateX(38%);
}

body[data-page="careers"] .gateway-card.button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .92) !important;
  outline-offset: 4px !important;
}

body[data-page="careers"] .hero > .parlo-field-canvas {
  display: none !important;
}

/* Let the careers narrative flow without full-viewport section seams. */
body[data-page="careers"] .page-main > section {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

body[data-page="careers"] #culture::before,
body[data-page="careers"] #careers-faq::before {
  content: none !important;
  display: none !important;
}

body[data-page="careers"] #careers-faq .eyebrow::before {
  width: 4px;
  height: 4px;
  background: #fff;
  box-shadow: none;
}

body[data-page="careers"] .hero .hero-copy::before {
  display: none !important;
  content: none !important;
  margin: 0 !important;
}

@media (max-width: 760px) {
  body[data-page="careers"] .hero > #ocean-canvas[data-gateway-flow] {
    opacity: .56;
  }

  body[data-page="careers"] .hero-actions.gateway-card-grid {
    width: 100% !important;
    margin-top: 30px !important;
    gap: 10px !important;
  }

  body[data-page="careers"] .gateway-card.button,
  body[data-page="careers"] .gateway-card.button-primary {
    min-height: 138px !important;
    padding: 17px !important;
    border-radius: 18px !important;
  }

  body[data-page="careers"] .gateway-card-kicker {
    font-size: 9px;
    letter-spacing: .13em;
  }

  body[data-page="careers"] .gateway-card-title {
    margin-top: 14px;
    font-size: 15px;
  }

  body[data-page="careers"] .gateway-card-copy {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  body[data-page="careers"] .hero-actions.gateway-card-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-page="careers"] .gateway-card.button,
  body[data-page="careers"] .gateway-card.button-primary {
    min-height: 112px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="careers"] .hero > #ocean-canvas[data-gateway-flow] {
    opacity: .52;
  }

  body[data-page="careers"] .gateway-card.button:hover,
  body[data-page="careers"] .gateway-card.button:focus-visible {
    transform: none !important;
  }
}
