:root {
  --navy-950: #01030f;
  --navy-900: #020616;
  --navy-800: #050a1b;
  --violet-deep: #140c3d;
  --lime: #b9c85a;
  --blue: #4ea8ff;
  --blue-soft: rgba(78, 168, 255, 0.85);
  --ink: #f7fbff;
  --ink-soft: #c5cee7;
  --ink-subtle: #8890aa;
  --line: rgba(255, 255, 255, 0.1);
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;


  --team-hero-left-push: clamp(56px, 6.4vw, 104px);
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--navy-950);
  color-scheme: dark;
}


body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}


a {
  color: inherit;
  text-decoration: none;
}


.team-main,
.team-main * {
  box-sizing: border-box;
}


.team-main {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: block;
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow: hidden;
}


.team-main :where(h1, h2, h3, p, span, small, strong, em, li, label) {
  cursor: default;
}


.team-main :where(a, button, [role="button"]) {
  cursor: pointer;
}


/* ==============================
  TEAM HERO
============================== */


.team-hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  min-height: clamp(540px, 68vh, 720px);
  margin-top: calc(var(--cb-header-offset, 0px) * -1);
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #100833 0%,
      #09051f 10%,
      #01030f 100%
    );
}


.team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.16;
}


.team-hero-shell {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100vw - 64px));
  min-height: clamp(540px, 68vh, 720px);
  margin: 0 auto;
  padding-top: calc(var(--cb-header-offset, 0px) + clamp(96px, 14vh, 148px));
  padding-right: 0;
  padding-bottom: clamp(86px, 10vh, 128px);
  padding-left: var(--team-hero-left-push);
  display: grid;
  align-items: center;
  justify-items: start;
  text-align: left;
}


.team-hero-copy {
  width: min(100%, 980px);
  display: grid;
  justify-items: start;
  align-content: center;
  text-align: left;
}


.team-title {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 112px);
  line-height: 0.94;
  font-weight: 550;
  letter-spacing: -0.078em;
  text-wrap: balance;
}


.team-subtitle {
  max-width: 720px;
  margin: clamp(26px, 3vw, 38px) 0 0;
  color: rgba(247, 251, 255, 0.88);
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.045em;
}


.team-hero-nav {
  margin-top: clamp(46px, 5vw, 68px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(20px, 2.8vw, 38px);
}


.team-hero-nav a {
  position: relative;
  color: rgba(197, 206, 231, 0.54);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-decoration: none;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}


.team-hero-nav a:hover,
.team-hero-nav a:focus-visible,
.team-hero-nav a.is-active {
  color: var(--blue);
  text-decoration: none;
  outline: none;
}


.team-hero-nav a.is-active::after {
  content: none;
  display: none;
}


.team-hero .team-title,
.team-hero .team-subtitle,
.team-hero .team-hero-nav {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}


.team-hero.is-ready .team-title,
.team-hero.is-ready .team-subtitle,
.team-hero.is-ready .team-hero-nav {
  animation: teamHeroIn 620ms ease both;
}


.team-hero.is-ready .team-subtitle {
  animation-delay: 90ms;
}


.team-hero.is-ready .team-hero-nav {
  animation-delay: 160ms;
}


@keyframes teamHeroIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }


  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* ==============================
  RESPONSIVE
============================== */


@media (max-width: 980px) {
  :root {
    --team-hero-left-push: clamp(28px, 5vw, 56px);
  }


  .team-hero-shell {
    width: min(100% - 56px, 920px);
  }


  .team-title {
    max-width: 760px;
    font-size: clamp(54px, 10vw, 86px);
    line-height: 0.96;
  }


  .team-hero-nav {
    max-width: 760px;
  }
}


@media (max-width: 760px) {
  :root {
    --team-hero-left-push: 0px;
  }


  .team-hero {
    min-height: clamp(520px, 72vh, 680px);
  }


  .team-hero-shell {
    width: min(100% - 36px, 620px);
    min-height: clamp(520px, 72vh, 680px);
    padding-top: calc(var(--cb-header-offset, 0px) + 86px);
    padding-bottom: 86px;
  }


  .team-title {
    max-width: 100%;
    font-size: clamp(48px, 13vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.074em;
  }


  .team-subtitle {
    font-size: 19px;
    line-height: 1.32;
  }


  .team-hero-nav {
    margin-top: 42px;
    gap: 18px 24px;
  }


  .team-hero-nav a {
    font-size: 15px;
  }
}


@media (max-width: 460px) {
  .team-hero-nav {
    display: grid;
    justify-items: start;
    gap: 18px;
  }

}


@media (prefers-reduced-motion: reduce) {
  .team-hero .team-title,
  .team-hero .team-subtitle,
  .team-hero .team-hero-nav {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }


  .team-hero-nav a {
    transition: none !important;
  }
}


/* keep your full hero CSS exactly as-is above this */


/* ==============================
  CAREERS OPEN ROLES
============================== */


.careers-roles-section {
  width: 100%;
  background: var(--navy-950);
  color: var(--ink);
  padding: clamp(104px, 10vw, 156px) 0 clamp(140px, 12vw, 210px);
}


.careers-roles-shell {
  position: relative;
  width: min(1152px, calc(100vw - 96px));
  margin: 0 auto;
  padding-bottom: clamp(18px, 3vw, 32px);
}


.careers-roles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(42px, 5vw, 64px);
}


.careers-roles-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 3.5vw, 66px);
  line-height: 1;
  font-weight: 430;
  letter-spacing: -0.065em;
}


.careers-role-filters {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  flex-wrap: wrap;
}


.careers-filter {
  position: relative;
}


.careers-filter-button {
  min-width: 150px;
  min-height: 42px;
  padding: 0 15px 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 4px;
  background: rgba(247, 251, 255, 0.045);
  color: rgba(247, 251, 255, 0.84);
  font: inherit;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}


.careers-filter-chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: currentColor;
  transition: transform 160ms ease;
}


.careers-filter-button:hover,
.careers-filter-button:focus-visible,
.careers-filter.is-open .careers-filter-button {
  background: rgba(78, 168, 255, 0.08);
  color: var(--ink);
  outline: none;
}


.careers-filter.is-open .careers-filter-chevron {
  transform: rotate(180deg);
}


.careers-filter-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 14px);
  left: 0;
  right: auto;
  min-width: 210px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(247, 251, 255, 0.10);
  border-radius: 4px;
  background: #0c0d10;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}


.careers-filter-menu[hidden] {
  display: none;
}


.careers-filter-menu button {
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(247, 251, 255, 0.72);
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}


.careers-filter-menu button:hover,
.careers-filter-menu button:focus-visible {
  background: rgba(78, 168, 255, 0.08);
  color: var(--ink);
  outline: none;
}


.careers-filter-menu button.is-active {
  color: var(--blue);
}


.careers-role-group {
  width: 100%;
}


.careers-role-group + .careers-role-group {
  margin-top: clamp(36px, 4.5vw, 56px);
}


.careers-role-group.is-hidden {
  display: none;
}


.careers-role-category {
  margin: 0;
  padding-bottom: 18px;
  color: rgba(247, 251, 255, 0.54);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;
  border-bottom: 1px solid rgba(247, 251, 255, 0.12);
}


.careers-role-row {
  min-height: 104px;
  padding: 24px 0;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(112px, 140px)
    minmax(136px, 168px)
    minmax(72px, 92px);
  align-items: center;
  column-gap: clamp(22px, 4vw, 56px);
  row-gap: 10px;
  border-bottom: 1px solid rgba(247, 251, 255, 0.12);
}


.careers-role-row.is-hidden {
  display: none;
}


.careers-role-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.08;
  font-weight: 430;
  letter-spacing: -0.055em;
}


.careers-role-row span {
  color: rgba(247, 251, 255, 0.82);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.025em;
}


.careers-role-row a {
  justify-self: end;
  color: var(--blue);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}


.careers-role-row a:hover,
.careers-role-row a:focus-visible {
  color: rgba(78, 168, 255, 0.72);
  outline: none;
}


.careers-empty {
  margin: 40px 0 0;
  color: rgba(247, 251, 255, 0.62);
  font-size: 17px;
  line-height: 1.5;
}


/* ==============================
  CAREERS FINAL CTA
============================== */


.team-final-cta {
  position: relative;
  width: 100%;
  min-height: clamp(680px, 90svh, 940px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  background:
    linear-gradient(
      to bottom,
      rgba(1, 3, 15, 1) 0%,
      rgba(1, 3, 15, 1) 46%,
      rgba(5, 13, 52, 0.96) 100%
    );
}


.team-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(1, 3, 15, 0.62) 0%,
      rgba(1, 3, 15, 0.18) 48%,
      rgba(247, 251, 255, 0.035) 100%
    );
  pointer-events: none;
}


.team-final-cta-inner {
  width: min(980px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(54px);
  transition:
    opacity 720ms ease,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1);
}


.team-final-cta-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(60px, 6.8vw, 112px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.08em;
  text-wrap: balance;
}


.team-final-cta-copy {
  max-width: 860px;
  margin: clamp(24px, 2.4vw, 34px) 0 0;
  color: rgba(247, 251, 255, 0.76);
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.42;
  font-weight: 430;
  letter-spacing: -0.035em;
}


.team-final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(34px, 3.4vw, 50px);
}


.team-final-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.018em;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}


.team-final-button:hover,
.team-final-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}


.team-final-button--primary {
  border: 1px solid rgba(185, 200, 90, 0.96);
  background: var(--lime);
  color: #050711;
}


.team-final-button--primary:hover,
.team-final-button--primary:focus-visible {
  background: #c7d765;
  border-color: #c7d765;
  color: #050711;
}


.team-final-cta.is-visible .team-final-cta-inner {
  opacity: 1;
  transform: translateY(0);
}


/* ==============================
  CAREERS RESPONSIVE
============================== */


@media (max-width: 980px) {
  .careers-roles-shell {
    width: min(100% - 56px, 920px);
  }


  .careers-roles-head {
    align-items: flex-start;
    flex-direction: column;
  }


  .careers-role-row {
    grid-template-columns:
      minmax(0, 1fr)
      120px
      140px
      72px;
    gap: 18px;
  }
}


@media (max-width: 760px) {
  .careers-roles-section {
    padding: 96px 0 140px;
  }


  .careers-roles-shell {
    width: min(100% - 36px, 620px);
  }


  .careers-role-filters {
    width: 100%;
    align-items: stretch;
  }


  .careers-filter {
    flex: 1;
  }


  .careers-filter-button {
    width: 100%;
    justify-content: space-between;
  }


  .careers-filter-menu {
    left: 0;
    right: auto;
    width: 100%;
  }


  .careers-role-row {
    min-height: 132px;
    padding: 24px 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }


  .careers-role-row h3 {
    font-size: clamp(24px, 7vw, 32px);
  }


  .careers-role-row a {
    justify-self: start;
    margin-top: 8px;
  }


  .team-final-cta {
    min-height: 760px;
  }


  .team-final-cta-inner {
    width: min(100% - 30px, 620px);
  }


  .team-final-cta-title {
    font-size: clamp(54px, 15vw, 82px);
    line-height: 0.98;
  }


  .team-final-cta-copy {
    font-size: 18px;
    line-height: 1.45;
  }


  .team-final-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }


  .team-final-button {
    width: 100%;
  }
}


@media (max-width: 460px) {
  .careers-role-filters {
    display: grid;
    grid-template-columns: 1fr;
  }
}
