/* Orion Quant — /careers page. Builds on styles.css tokens. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.careers-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 90% at 78% 30%, #1C2550 0%, #0D1330 45%, #070B1A 82%);
}
.careers-hero .wrap { position: relative; padding-top: 64px; padding-bottom: 84px; }
.crumb { color: var(--haze); display: flex; gap: 10px; margin: 0 0 22px; }
.crumb a { color: var(--gold); }
.crumb a:hover { color: var(--star); }
.careers-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.careers-hero h1 em { font-style: italic; color: var(--rigel); }
.careers-hero .lead { max-width: 680px; margin-bottom: 48px; }
.careers-points {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1000px;
}
.careers-points li { display: flex; gap: 16px; border-top: 1px solid var(--rigel); padding-top: 18px; }
.careers-points .mono { color: var(--rigel); padding-top: 4px; }
.careers-points b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin-bottom: 4px; }
.careers-points p { margin: 0; color: var(--haze); font-size: 14.5px; }

.apply-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.apply-aside { position: sticky; top: 104px; }
.apply-aside h3 { font-family: var(--font-serif); font-weight: 500; font-size: 28px; margin: 0 0 16px; }
.tick { list-style: none; margin: 0 0 24px; padding: 0; }
.tick li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.tick li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(201,165,92,.6); }
.apply-aside .small { font-size: 12.5px; color: var(--haze); border-left: 2px solid var(--betel); padding-left: 14px; margin: 0; line-height: 1.6; }

.apply-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.apply-form .field { margin-bottom: 22px; min-width: 0; }
.apply-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.apply-form legend, .apply-form .flabel {
  display: block; margin-bottom: 10px; padding: 0;
  color: var(--haze); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-mono);
}
.req { color: var(--betel); }
.opt { color: #5C6594; text-transform: none; letter-spacing: 0.02em; font-family: var(--font-sans); font-size: 12px; margin-left: 6px; }
.apply-form input[type="text"], .apply-form input[type="email"], .apply-form input[type="url"], .apply-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #3A4688;
  padding: 10px 0 8px;
  font: inherit;
  font-size: 16px;
  color: var(--star);
  border-radius: 0;
}
.apply-form textarea {
  border: 1px solid #3A4688; border-radius: 2px; padding: 10px 12px; resize: vertical; min-height: 84px; line-height: 1.5;
  background: rgba(7, 11, 26, 0.35);
}
.apply-form input::placeholder, .apply-form textarea::placeholder { color: #5C6594; }
.apply-form input:hover, .apply-form textarea:hover { border-color: var(--rigel); }
.apply-form input:focus-visible, .apply-form textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.apply-form .invalid input, .apply-form .invalid textarea, .apply-form .invalid .drop { border-color: var(--red); }
.err { margin: 6px 0 0; font-size: 12.5px; color: #FF9A9E; min-height: 0; }
.err:empty { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-block; padding: 9px 16px; border: 1px solid #3A4688; border-radius: 999px;
  font-size: 13.5px; color: var(--muted); transition: border-color .15s, background .15s, color .15s;
}
.pill:hover span { border-color: var(--rigel); }
.pill input:checked + span { border-color: var(--gold); background: rgba(201,165,92,.14); color: var(--star); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.drop {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center;
  padding: 18px 18px; border: 1px dashed #47518A; border-radius: 3px; cursor: pointer;
  background: rgba(7, 11, 26, 0.35); transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over { border-color: var(--rigel); background: rgba(143,184,255,.06); }
.drop:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-ic { grid-row: 1 / span 2; color: var(--rigel); width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.drop-txt { font-size: 14px; color: var(--muted); }
.drop-txt b { color: var(--star); font-weight: 500; border-bottom: 1px solid var(--gold); }
.drop-name { font-family: var(--font-mono); font-size: 12px; color: var(--haze); letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-name:empty::before { content: "No file selected"; }
.drop.has-file .drop-name { color: var(--teal); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-form .chk { margin: 6px 0 4px; }
.apply-form .chk + .err { margin-bottom: 10px; }
.apply-form .btn { margin-top: 18px; }
.form-error { margin: 14px 0 0; padding: 12px 14px; border: 1px solid #6B2A35; background: #2A1420; color: #FFB4B7; border-radius: 3px; font-size: 14px; }
.form-error[hidden] { display: none; }

@media (max-width: 1100px) and (min-width: 801px) {
  .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .apply-aside { position: static; }
}
@media (max-width: 800px) {
  .careers-hero .wrap { padding-top: 36px; padding-bottom: 56px; }
  .careers-points { grid-template-columns: 1fr; gap: 20px; }
  .apply-grid { grid-template-columns: 1fr; gap: 32px; }
  .apply-aside { position: static; }
  .apply-form .frow { grid-template-columns: 1fr; }
  .pill span { padding: 8px 14px; }
}
.apply-form .chk.invalid > span { color: #FFB4B7; }
/* Reset the base .field label styling for custom controls. */
.apply-form .field label.drop { display: grid; margin-bottom: 0; }
.apply-form .field label.pill { display: inline-block; margin-bottom: 0; }
.apply-form .field label.drop, .apply-form .field label.pill {
  text-transform: none; letter-spacing: normal; font-family: var(--font-sans); font-size: 14px; color: var(--muted);
}
.apply-form .chk a, .privacy a { color: var(--star); border-bottom: 1px solid var(--gold); }
.privacy { margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 3px; background: rgba(7, 11, 26, 0.35); }
.privacy summary { cursor: pointer; padding: 12px 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--haze); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after { content: "+"; color: var(--gold); font-size: 16px; letter-spacing: 0; }
.privacy[open] summary::after { content: "–"; }
.privacy summary:hover { color: var(--star); }
.privacy-body { padding: 0 14px 12px; }
.privacy-body p { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.privacy-body p:last-child { margin-bottom: 0; }
.privacy-body b { color: var(--star); font-weight: 500; }
