:root {
  color-scheme: dark;
  --background: #100f17;
  --surface: #1b1924;
  --line: rgba(222, 209, 238, .16);
  --text: #f7f5fa;
  --muted: #aaa5b4;
  --violet: #aa7def;
  --display: "Eurostile Extended", Eurostile, "Bank Gothic", "Avenir Next", sans-serif;
  --body: "Avenir Next", "Trebuchet MS", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(ellipse 52% 42% at 78% 17%, rgba(116, 79, 173, .19), transparent 76%),
    linear-gradient(145deg, #111018, #0c0c12 76%);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid #c3a4fb; outline-offset: 4px; }
.site-header {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(24px, 5vw, 88px);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 18, .68);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .15em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand b { font-weight: 400; color: #beb7ca; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 42px); }
.site-header nav a { padding: 9px 0; color: #d3cedb; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: #c6a4ff; }
.site-header nav a[aria-current] { border-bottom: 1px solid #a879f4; }
main { position: relative; overflow: hidden; }
main::before { content: ""; position: absolute; inset: 0 auto auto 50%; width: 1px; height: 100%; background: linear-gradient(transparent, var(--line) 20%, transparent); pointer-events: none; }
.shell { width: min(100%, 1600px); margin-inline: auto; padding-inline: clamp(28px, 7vw, 110px); }
.careers-hero { padding-top: clamp(62px, 7vw, 105px); padding-bottom: clamp(70px, 7vw, 108px); border-bottom: 1px solid var(--line); }
.careers-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr); align-items: end; gap: clamp(40px, 7vw, 120px); }
.careers-hero h1 { max-width: 950px; }
.hero-note { max-width: 540px; margin: 20px 0 0; color: #bdb6c9; font-size: 13px; line-height: 1.65; }
.hero-jump { display: inline-flex; align-items: center; gap: 25px; margin-top: 28px; padding: 0 0 10px; border: 0; border-bottom: 1px solid #9b75d5; background: none; color: #e9ddfa; font: 800 11px var(--display); letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.hero-jump:hover { color: #fff; border-color: #fff; }
.hero-jump span { font: 21px var(--body); line-height: 1; }
.opportunities { padding-top: clamp(65px, 7vw, 100px); padding-bottom: clamp(75px, 8vw, 115px); scroll-margin-top: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 58px); letter-spacing: -.05em; }
.section-heading > p { max-width: 380px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.role-grid { border-top: 1px solid var(--line); }
.role-card { display: grid; grid-template-columns: 115px minmax(180px, .85fr) minmax(250px, 1.2fr) 155px; align-items: center; gap: 24px; min-height: 150px; padding: 26px; border-bottom: 1px solid var(--line); background: rgba(37, 31, 50, .14); transition: background .2s ease, box-shadow .2s ease; }
.role-card:hover, .role-card.is-selected { background: rgba(81, 55, 116, .18); box-shadow: inset 3px 0 #a27be4; }
.role-number { color: #c4a2fa; font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.6; }
.role-card h3 { margin: 0; font-family: var(--display); font-size: clamp(18px, 1.65vw, 25px); line-height: 1.18; letter-spacing: -.035em; text-transform: uppercase; }
.role-card p { max-width: 490px; margin: 0; color: #d2cbdc; font-size: 14px; line-height: 1.6; }
.role-select { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: #e8d9ff; font: 800 10px var(--display); letter-spacing: .04em; text-align: left; text-transform: uppercase; cursor: pointer; }
.role-select:hover { color: #fff; }
.role-select span { font: 24px var(--body); }
.careers-layout { width: min(100%, 1600px); margin: 0 auto; padding: clamp(72px, 7vw, 108px) clamp(28px, 7vw, 110px) 110px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.eyebrow { margin: 0 0 28px; color: #b995f2; font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 29px; height: 1px; margin: 0 14px 3px 0; background: currentColor; }
h1, h2 { font-family: var(--display); text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(44px, 5.4vw, 82px); font-weight: 800; line-height: 1.07; letter-spacing: -.055em; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(245, 241, 249, .72); }
.lead { max-width: 600px; margin: 32px 0 0; color: #d0cbd7; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.58; }
.application-form { position: relative; width: min(100%, 700px); margin-inline: auto; padding: clamp(25px, 3.4vw, 47px); border: 1px solid rgba(205, 183, 236, .23); border-radius: 14px; background: linear-gradient(150deg, rgba(40, 36, 54, .94), rgba(24, 22, 32, .97) 60%); box-shadow: 0 34px 95px rgba(0, 0, 0, .2); }
.application-form::before { content: ""; position: absolute; top: -1px; left: 36px; width: 78px; height: 2px; background: linear-gradient(90deg, #b895f6, transparent); }
.form-heading .eyebrow { margin-bottom: 15px; }
.form-heading h2 { margin: 0; font-size: clamp(23px, 2.5vw, 36px); letter-spacing: -.04em; }
.form-heading > p:last-child { margin: 12px 0 30px; color: var(--muted); font-size: 14px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 9px; color: #e6e1ec; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.field label span { color: #c59efa; }
.field input:not([type=file]), .field select { width: 100%; height: 47px; padding: 0 13px; border: 1px solid rgba(223, 213, 239, .22); border-radius: 5px; background: #17151e; color: #fff; font: 15px var(--body); }
.field input:not([type=file]):focus, .field select:focus { border-color: #b995f2; outline: none; box-shadow: 0 0 0 3px rgba(169, 120, 239, .16); }
.field small { display: block; margin-top: 7px; color: #aba4b6; font-size: 11px; }
.money-input { display: flex; align-items: center; border: 1px solid rgba(223, 213, 239, .22); border-radius: 5px; background: rgba(9, 9, 15, .38); }
.money-input:focus-within { border-color: #b995f2; box-shadow: 0 0 0 3px rgba(169, 120, 239, .16); }
.money-input span { padding: 0 12px; color: #c8becf; font-size: 14px; white-space: nowrap; }
.money-input input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.upload-zone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 142px; padding: 18px; border: 1px dashed rgba(190, 159, 237, .52); border-radius: 6px; background: rgba(130, 93, 184, .07); text-align: center; transition: border-color .2s ease, background .2s ease; }
.upload-zone:hover, .upload-zone.is-dragging, .upload-zone:focus-within { border-color: #c49ffb; background: rgba(130, 93, 184, .14); }
.upload-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-symbol { display: block; margin-bottom: 8px; color: #b995f2; font-size: 28px; font-weight: 300; line-height: 1; }
.upload-zone strong { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; }
.upload-zone small { color: #aaa3b4; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 23px; color: #c9c2d1; font-size: 12px; line-height: 1.5; }
.consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #9a6fea; }
.consent a { color: #dbc2ff; text-underline-offset: 3px; }
.form-end { margin-top: 27px; }
.submit-button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 54px; padding: 13px 19px; border: 1px solid #a47af0; border-radius: 3px; background: linear-gradient(110deg, #6435b4, #9d70e7); color: #fff; font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.submit-button:hover:not(:disabled) { background: linear-gradient(110deg, #7545c5, #af82f8); }
.submit-button:disabled { opacity: .55; cursor: not-allowed; }
.form-status { min-height: 20px; margin: 12px 0 0; color: #c5b5e1; font-size: 12px; line-height: 1.5; }
.form-status[data-state=error] { color: #ffb8bd; }
.form-status[data-state=success] { color: #c8e8d1; }
.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 40px clamp(28px, 7vw, 110px); border-top: 1px solid var(--line); background: #0b0b11; color: #a7a0b1; }
.site-footer > div img { width: 25px; height: 25px; margin-right: 8px; vertical-align: middle; object-fit: contain; }
.site-footer > div span { color: #f2eef7; font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.site-footer p { margin: 8px 0 0; font-size: 12px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { font-size: 12px; text-decoration: none; }
.site-footer a:hover { color: #d7baff; }
.site-footer small { font-size: 11px; white-space: nowrap; }
@media (max-width: 1000px) {
  main::before { display: none; }
  .careers-hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .careers-hero-grid .lead { margin-top: 20px; }
  .role-card { grid-template-columns: 95px minmax(170px, .8fr) minmax(0, 1fr); gap: 12px 22px; }
  .role-number { grid-column: 1; grid-row: 1 / span 2; }
  .role-card h3 { grid-column: 2; grid-row: 1 / span 2; }
  .role-card p { grid-column: 3; grid-row: 1; }
  .role-select { grid-column: 3; grid-row: 2; max-width: 155px; }
}
@media (max-width: 600px) {
  .site-header { gap: 8px; padding: 14px 18px; }
  .brand { gap: 5px; font-size: 9px; }
  .brand img { width: 23px; height: 23px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 9px; letter-spacing: 0; }
  .site-header nav a:nth-child(-n+2) { display: none; }
  .shell { padding-inline: 20px; }
  .careers-hero { padding-top: 52px; padding-bottom: 58px; }
  .opportunities { padding-top: 58px; padding-bottom: 72px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .role-card { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 23px 4px; }
  .role-number, .role-card h3, .role-card p, .role-select { grid-column: 1; grid-row: auto; }
  .role-card h3 { font-size: 20px; }
  .role-card p { font-size: 14px; }
  .role-select { max-width: none; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; }
  .careers-layout { padding: 70px 20px 76px; }
  h1 { font-size: clamp(39px, 10vw, 55px); }
  .lead { margin-top: 23px; font-size: 16px; }
  .application-form { padding: 27px 20px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .site-footer { flex-wrap: wrap; align-items: flex-start; padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
