/* Video-matched careers experience. Scoped to the careers page. */
body:has(.career-video-hero) { background: #050912; }
.career-video-hero { position: relative; overflow: hidden; margin-top: 52px; margin-bottom: 76px; padding: clamp(34px,5.4vw,76px); display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr); gap: clamp(28px,5vw,68px); align-items: center; border: 1px solid rgba(170,151,236,.25); border-radius: 20px; background: radial-gradient(ellipse at 104% 0%,rgba(178,77,190,.26),transparent 47%), linear-gradient(128deg,#0a1223 0%,#0c1326 64%,#1c152f 100%); }
.career-video-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px rgba(255,255,255,.075),0 15px 45px rgba(0,0,0,.16); }
.career-video-hero .r-eyebrow { color: #c2a6ef; font-weight: 700; letter-spacing: .19em; }
.career-video-hero h1 { margin: 18px 0 16px; font-size: clamp(36px,4.9vw,68px); line-height: 1.015; letter-spacing: -.065em; font-weight: 750; color: #f8f9ff; }
.career-video-hero--distinct { grid-template-columns:minmax(0,1fr); }
.career-video-hero--distinct .career-video-intro { max-width:860px; }
.career-video-intro { position: relative; z-index: 1; }
.career-video-intro p { max-width: 520px; color: #c4c7d5; line-height: 1.6; font-size: 15px; }
.career-video-intro .r-button { margin-top: 25px; background: #fbfaff; color: #131025; border-color: #fff; font-weight: 750; box-shadow: 0 7px 24px rgba(0,0,0,.25); }
.career-video-intro small { display: block; margin-top: 13px; color: #8d8fa6; letter-spacing: .04em; }
.career-video-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.career-video-tags span { display: inline-flex; align-items: center; min-height: 38px; padding: 9px 13px; border: 1px solid #78708f79; border-radius: 8px; background: #05091240; color: #ece9f6; font-size: 12px; font-weight: 700; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.career-video-tags span:hover { transform: translateY(-3px); border-color: #d6a7ff; background: #803bb322; }
.career-video-principles { padding-top: 30px; padding-bottom: 100px; }
.career-video-principles > .r-eyebrow, .career-video-roles .r-eyebrow { display: block; margin-bottom: 12px; color: #ae9bc8; }
.career-video-principles h2, .career-video-roles h2 { margin: 0 0 24px; font-size: clamp(32px,3.5vw,51px); color: #f6f7fa; line-height: 1.05; letter-spacing: -.05em; }
.career-video-principle-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.career-video-principle-grid article { display: flex; align-items: flex-start; gap: 16px; padding: 19px 20px; border: 1px solid #535a7340; border-radius: 12px; background: #121b2b; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.career-video-principle-grid article:hover { transform: translateY(-3px); border-color: #c88afaa0; box-shadow: 0 8px 28px #bd69ea18; }
.career-video-principle-grid article > span { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; color: #f4d5ff; border-radius: 10px; background: #c56bb744; }
.career-video-principle-grid h3 { margin: 0 0 5px; color: #f6f5fa; font-size: 15px; letter-spacing: -.02em; }
.career-video-principle-grid p { margin: 0; color: #bec1ce; line-height: 1.55; font-size: 12px; }
.career-video-roles { padding-top: 38px; padding-bottom: 100px; }
.career-video-roles .r-section-intro { max-width: 610px; margin-bottom: 30px; }
.career-video-roles .r-section-intro p { color: #b3b8c6; }
.career-video-role-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.career-video-role-grid article { position: relative; min-height: 158px; padding: 24px 20px 20px; border: 1px solid #4b50654f; border-radius: 12px; background: linear-gradient(143deg,#0f1826,#0a111c); overflow: hidden; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.career-video-role-grid article::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; top: -105px; right: -90px; pointer-events: none; background: #cd64ff24; filter: blur(25px); opacity: 0; transition: opacity .2s ease; }
.career-video-role-grid article:hover { transform: translateY(-4px); border-color: #b57bdf9b; box-shadow: 0 10px 32px #b35ad718; }
.career-video-role-grid article:hover::after { opacity: 1; }
.career-video-role-grid article span { display: block; color: #ad93d4; font: 700 11px/1 system-ui,sans-serif; margin-bottom: 12px; }
.career-video-role-grid h3 { margin: 0 0 7px; color: #fff; font-size: 16px; letter-spacing: -.025em; }
.career-video-role-grid p { margin: 0; font-size: 12px; line-height: 1.5; color: #b3bbca; }
.career-extra-roles { margin-top: 22px; border: 1px solid #63527670; border-radius: 12px; padding: 16px; }
.career-extra-roles summary { cursor: pointer; color: #d7b9ee; font-weight: 650; }
.career-extra-roles .r-role-grid { margin-top: 22px; }
@media (max-width: 760px) { .career-video-hero { grid-template-columns: 1fr; margin-top: 20px; margin-bottom: 40px; padding: 32px 22px; } .career-video-principle-grid { grid-template-columns: 1fr; } .career-video-role-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .career-video-role-grid { grid-template-columns: 1fr; } .career-video-principles { padding-bottom: 50px; } .career-video-roles { padding-bottom: 50px; } }
@media (prefers-reduced-motion: reduce) { .career-video-tags span,.career-video-principle-grid article,.career-video-role-grid article { transition: none; } }

/* Careers v19: calm, premium composition with a pointer-following violet edge. */
body:has(.career-video-hero) { background: #090810; }
.career-video-hero {
  display: block; padding: clamp(38px,5.6vw,76px); margin-block: 34px 58px;
  background: radial-gradient(ellipse at 102% 3%,rgba(91,35,115,.38),transparent 52%),
    radial-gradient(ellipse at 0% 120%,rgba(65,27,116,.19),transparent 54%),#0d0a16;
  border: 1px solid #52405f94; border-radius: 23px;
}
.career-video-intro { max-width: 880px; }
.career-video-hero h1 { margin: 24px 0 18px; font-size: clamp(42px,5.9vw,76px); line-height: 1.04; letter-spacing: -.055em; }
.career-video-hero h1 em { font-style: normal; background: linear-gradient(110deg,#fff 5%,#d7b0fc 63%,#a97bdb 100%); color: transparent; -webkit-background-clip: text; background-clip: text; }
.career-video-intro p { max-width: 690px; font-size: clamp(15px,1.75vw,19px); line-height: 1.6; color: #c6bed2; }
.career-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 27px; }
.career-video-intro .r-button { margin-top: 0; font-size: 13px; padding: 14px 19px; border-radius: 10px; }
.career-text-link { display: inline-flex; align-items: center; gap: 12px; padding: 12px 0; color: #dfc4ff; border-bottom: 1px solid #73518e; font-size: 13px; font-weight: 700; }
.career-text-link:hover,.career-text-link:focus-visible { color: white; border-color: white; }
.career-hero-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: #b7a9c3; font-size: 12px; }
.career-hero-status i { width: 7px; height: 7px; border-radius: 50%; background: #c68bff; box-shadow: 0 0 14px #bc5bfc88; }
.career-video-tags { margin-top: 46px; max-width: 930px; gap: 11px; }
.career-video-tags span { position: relative; isolation: isolate; min-height: 47px; padding: 13px 17px; border-color: #604d707c; border-radius: 11px; background: #100c1c; font-size: 13px; color: #e3d9ee; }
.career-video-tags span:hover { background: #1b112b; border-color: #ad71d3; }
.career-preview-notice { display: flex; gap: 18px; align-items: center; margin-bottom: 62px; padding: 17px 22px; border-color: #53435c; background: #160e1b; }
.career-preview-notice strong { white-space: nowrap; color: #dbc4f1; font-size: 12px; letter-spacing: .08em; }
.career-preview-notice p { margin: 0; color: #bdb1c8; font-size: 13px; line-height: 1.5; }
.career-video-principles { padding-block: 25px 85px; }
.career-video-principles h2,.career-video-roles h2,.career-process h2 { font-size: clamp(35px,4vw,54px); line-height: 1.13; margin: 9px 0 35px; letter-spacing: -.055em; }
.career-heading-period { color: #c987f0; }
.career-video-principle-grid,.career-video-role-grid,.career-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.career-video-principle-grid article {
  position: relative; isolation: isolate; min-height: 146px;
  padding: 27px; gap: 19px; border: 1px solid #3a3045;
  border-radius: 20px; background: #0e0c16;
}
.career-video-principle-grid article>span { width: 46px; height: 46px; border: 1px solid #633e70; border-radius: 12px; background: #2c1631; font-size: 24px; color: #efbff7; }
.career-video-principle-grid h3,.career-video-role-grid h3,.career-process-grid h3 { color: #f5f1f8; font-size: clamp(18px,2vw,23px); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.career-video-principle-grid p,.career-video-role-grid p,.career-process-grid p { color: #b8afc3; font-size: clamp(14px,1.4vw,16px); line-height: 1.58; margin-top: 7px; }
.career-video-role-grid article { min-height: 169px; padding: 26px 29px; border: 1px solid #3a3045; border-radius: 20px; background: linear-gradient(145deg,#100d18,#0b0a11); }
.career-video-role-grid article span,.career-step { color: #ea78cb; font: 700 14px/1.1 ui-monospace,monospace; letter-spacing: .035em; }
.career-video-roles { padding-block: 45px 89px; }
.career-video-roles .r-section-intro { max-width: 760px; margin-bottom: 33px; }
.career-video-roles .r-section-intro p { font-size: 16px; }
.career-process { padding-block: 40px 95px; }
.career-process-grid article { position: relative; isolation: isolate; min-height: 188px; padding: 31px 28px; border: 1px solid #3b3046; border-radius: 20px; background: #0f0c17; }
.career-process-grid h3 { margin: 26px 0 9px; }
.career-process-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-top: 45px; }
.career-process-foot p { color: #b8adbf; font-size: 15px; }
.career-process-foot>div { display: flex; flex-wrap: wrap; gap: 11px; }
.career-process-foot a { display: inline-flex; min-height: 46px; align-items: center; border: 1px solid #51405e; border-radius: 11px; padding: 12px 20px; color: #ebdff5; font-weight: 700; font-size: 13px; }
.career-process-foot a:first-child { background: #f8f2ff; color: #1b1428; border-color: #f8f2ff; }
.career-process-foot a:hover,.career-process-foot a:focus-visible { border-color: #c38aee; box-shadow: 0 0 22px #a95aca33; }
.career-culture { border-top: 1px solid #2e2637; border-bottom: 1px solid #2e2637; background: #0e0b16; }
.career-culture .r-dual>div:last-child p:first-child { font-size: clamp(23px,2.4vw,29px); font-weight: 650; color: #eee3f6; letter-spacing: -.03em; }
.career-culture .r-dual>div:last-child p { max-width: 490px; font-size: 17px; }
.career-culture-values { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 27px; }
.career-culture-values span { display: inline-flex; border: 1px solid #574263; border-radius: 99px; color: #e5c1f8; padding: 9px 15px; font-size: 12px; font-weight: 700; }
.career-interest .r-section-intro { margin-bottom: 35px; }
.career-interest .r-section-intro p { font-size: 16px; }
.career-interest .r-apply-form { background: linear-gradient(150deg,#171124,#0d0b15); border-color: #5a426d; }
.career-interest input:focus-visible,.career-interest textarea:focus-visible,.career-interest select:focus-visible { outline: 2px solid #b47ad9; outline-offset: 2px; }
.career-conditional:not([hidden]) { display: flex; }
.career-conditional[hidden] { display: none !important; }

.career-glow-card { --glow-x: 50%; --glow-y: 50%; }
.career-glow-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: radial-gradient(265px circle at var(--glow-x) var(--glow-y),#e29aff,rgba(165,75,239,.66) 27%,transparent 73%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0;
  transition: opacity .24s ease;
}
.career-glow-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--glow-x) var(--glow-y),rgba(131,45,180,.13),transparent 70%);
  opacity: 0; transition: opacity .24s ease;
}
.career-glow-card:hover::before,.career-glow-card:hover::after { opacity: 1; }
.career-video-tags .career-glow-card { position: relative; }
@media (max-width: 760px) {
  .career-video-hero { margin-top: 16px; padding: 31px 23px; }
  .career-video-tags { margin-top: 30px; }
  .career-video-principle-grid,.career-video-role-grid,.career-process-grid { grid-template-columns: 1fr; }
  .career-preview-notice { align-items: start; flex-direction: column; gap: 5px; }
  .career-video-principles,.career-video-roles,.career-process { padding-block: 42px 67px; }
  .career-video-principle-grid article,.career-video-role-grid article,.career-process-grid article { padding: 25px 22px; min-height: unset; }
  .career-video-principles h2,.career-video-roles h2,.career-process h2 { margin-bottom: 23px; }
}
@media (max-width: 480px) {
  .career-video-hero h1 { font-size: clamp(36px,10vw,53px); }
  .career-video-tags span { padding: 11px 13px; min-height: 42px; font-size: 12px; }
  .career-process-foot>div { width: 100%; }
  .career-process-foot a { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .career-glow-card::before,.career-glow-card::after,.career-video-principle-grid article,.career-video-role-grid article,.career-process-grid article { transition: none; transform: none !important; }
}
