/* Careers share the Hark rhythm: broad type, generous margins, quiet rules. */
.page-careers .site-main { padding: 0 0 100px; }
.page-careers .site-main > .container { width: 100%; max-width: none; padding: 0; }
.jobs-page { --jobs-line: rgba(24,24,24,.18); color: var(--hark-ink); }
.jobs-page * { box-sizing: border-box; }
.jobs-page :where(h1,h2,h3,p,ul) { margin: 0; }
.jobs-page :where(h1,h2,h3) { font-weight: 400; text-transform: none; letter-spacing: -.04em; }
.jobs-page :where(a,button,input,select,textarea,summary):focus-visible { outline: 2px solid #347699; outline-offset: 5px; }
.jobs-hero,.jobs-section,.jobs-application { margin-inline: auto; width: min(1280px,calc(100% - 96px)); }
.jobs-hero { padding: 140px 0 90px; }
.jobs-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.jobs-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hark-blue); flex: 0 0 7px; }
.jobs-hero h1 { font-size: clamp(44px,6.8vw,96px) !important; line-height: 1.01; margin-top: 42px; }
.jobs-hero__bottom { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 40px; }
.jobs-hero__bottom p { font-size: 21px; line-height: 1.45; }
.jobs-text-link { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 12px 0; border-bottom: 1px solid var(--jobs-line); text-decoration: none; font-size: 17px; }
.jobs-section { padding: 48px 0 64px; border-top: 1px solid var(--jobs-line); scroll-margin-top: 110px; }
.jobs-section__head { display: grid; grid-template-columns: 1fr 2fr; column-gap: 42px; margin-bottom: 36px; }
.jobs-section__head h2 { font-size: clamp(28px,3.1vw,44px) !important; line-height: 1.12; }
.jobs-section__head > p:last-child { grid-column: 2; max-width: 48ch; margin-top: 16px; color: #62696d; font-size: 17px; line-height: 1.5; }
.jobs-role { border-top: 1px solid var(--jobs-line); scroll-margin-top: 100px; }
.jobs-role:last-of-type { border-bottom: 1px solid var(--jobs-line); }
.jobs-role summary { display: grid; grid-template-columns: 160px 1fr 44px; gap: 24px; align-items: center; padding: 28px 0; cursor: pointer; list-style: none; }
.jobs-role summary::-webkit-details-marker { display: none; }
.jobs-role summary h2 { font-size: clamp(24px,2.5vw,34px) !important; line-height: 1.15; }
.jobs-role__status { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #62696d; }
.jobs-role__status i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #929b9f; flex: 0 0 5px; }
.jobs-role[data-role-status="active"] .jobs-role__status { color: var(--hark-blue); }
.jobs-role[data-role-status="active"] .jobs-role__status i { background: currentColor; }
.jobs-role__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); border-radius: var(--hark-radius,5px); background: rgba(180,204,219,.35); backdrop-filter: blur(16px); font-size: 28px; line-height: 1; font-weight: 300; transition: background 180ms,transform 180ms; }
.jobs-role__toggle > span { display: block; transition: transform 180ms; }
.jobs-role[open] .jobs-role__toggle > span { transform: rotate(45deg); }
.jobs-role summary:hover .jobs-role__toggle { background: #d2e2ec; }
.jobs-role__body { padding: 0 0 36px 184px; }
.jobs-role__intro { max-width: 56ch; font-size: 22px; line-height: 1.4; }
.jobs-role__columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-top: 32px; }
.jobs-role__column h3 { font-size: 17px !important; letter-spacing: 0; margin-bottom: 14px; }
.jobs-role__column ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.jobs-role__column li { color: #60666a; font-size: 16px; line-height: 1.5; }
.jobs-role__apply { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; padding: 16px 0 6px; border-bottom: 1px solid currentColor; margin-top: 24px; color: var(--hark-blue); text-decoration: none; font-size: 17px; }
.jobs-role__note { max-width: 64ch; color: #71787b; font-size: 14px; line-height: 1.45; margin-top: 24px !important; }
.jobs-source { font-size: 12px; line-height: 1.5; color: #747b7f; margin-top: 20px !important; }
.jobs-source a { color: inherit; text-underline-offset: 3px; }
.jobs-application { display: grid; grid-template-columns: 1fr 1.35fr; column-gap: 80px; margin-top: 64px; padding: 64px; border-radius: var(--hark-radius,5px); background: #e4ebef; scroll-margin-top: 100px; }
.jobs-application__intro h2 { font-size: clamp(34px,3.8vw,54px) !important; line-height: 1.06; margin-top: 32px; }
.jobs-application__intro > p:not(.jobs-eyebrow) { max-width: 29ch; font-size: 18px; line-height: 1.5; margin-top: 26px; }
.jobs-application__intro .jobs-application__note { font-size: 14px !important; color: #667278; }
.jobs-application form { display: grid; gap: 24px; }
.jobs-application form > label,.jobs-fields > label { display: block; font-size: 14px; line-height: 1.4; }
.jobs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jobs-application input:not([type="checkbox"]):not([type="file"]),.jobs-application select,.jobs-application textarea { display: block; width: 100%; max-width: 100%; margin: 8px 0 0; padding: 10px 0; border: 0; border-bottom: 1px solid #8f9fa9; border-radius: 0; background: transparent; color: var(--hark-ink); font: inherit; font-size: 17px; line-height: 1.4; box-shadow: none; }
.jobs-application textarea { resize: vertical; min-height: 92px; }
.jobs-application select { padding-right: 24px; }
.jobs-application select option { background: #f3f3f3; }
.jobs-optional { display: inline; color: #747c81; font-size: 12px; }
.jobs-upload { position: relative; }
.jobs-upload__button { display: inline-flex; gap: 16px; padding: 12px 18px; align-items: center; border: 1px solid #a4b4be; border-radius: var(--hark-radius,5px); background: rgba(255,255,255,.3); font-size: 16px; cursor: pointer; }
.jobs-upload__button > span { font-size: 24px; line-height: 1; }
.jobs-upload:focus-within .jobs-upload__button { outline: 2px solid #347699; outline-offset: 4px; }
.jobs-file-input,.jobs-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.jobs-upload > p { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #606d75; }
.jobs-upload ul { list-style: none; padding: 0; }
.jobs-upload li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #becbd2; font-size: 13px; overflow-wrap: anywhere; }
.jobs-upload li button { flex-shrink: 0; border: 0; padding: 8px; font: inherit; text-decoration: underline; background: transparent; color: #364b58; cursor: pointer; }
.careers-file__info { display: grid; gap: 4px; min-width: 0; }
.careers-file__size { color: #65737c; font-size: 12px; }
.jobs-application form > .jobs-consent { display: flex; align-items: start; gap: 10px; font-size: 12px; line-height: 1.5; color: #606d75; }
.jobs-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--hark-blue); }
.page-careers .jobs-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.jobs-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border: 0; padding: 20px 24px; background: var(--hark-blue); color: #fff; border-radius: var(--hark-radius,5px); font: inherit; font-size: 18px; cursor: pointer; }
.jobs-submit:hover { background: #296483; }
.jobs-submit:disabled { opacity: .6; cursor: wait; }
.jobs-error { display: block; font-size: 13px !important; color: #922d36 !important; margin-top: 6px; }
.jobs-error:empty,.jobs-status:empty { display: none; }
.jobs-status { font-size: 15px; line-height: 1.5; }
.jobs-success > span { display: block; color: var(--hark-blue); font-size: 42px; margin-bottom: 32px; }
.jobs-success h3 { font-size: 36px !important; margin-bottom: 20px; }
.jobs-success p { font-size: 20px; line-height: 1.4; }
.jobs-page [hidden] { display: none !important; }
@media (max-width:1050px) {
  .jobs-hero,.jobs-section,.jobs-application { width: calc(100% - 48px); }
  .jobs-role summary { grid-template-columns: 110px 1fr 44px; gap: 20px; }
  .jobs-role__body { padding-left: 130px; }
  .jobs-role__columns { grid-template-columns: 1fr 1fr; gap: 28px; }
  .jobs-application { padding: 40px; gap: 40px; grid-template-columns: .85fr 1.4fr; }
  .jobs-fields { grid-template-columns: 1fr; }
}
@media (max-width:760px) {
  .jobs-hero,.jobs-section,.jobs-application { width: calc(100% - 32px); }
  .jobs-hero { padding: 112px 0 60px; }
  .jobs-hero h1 { font-size: clamp(40px,9vw,60px) !important; margin-top: 30px; }
  .jobs-hero__bottom { display: grid; gap: 28px; margin-top: 28px; }
  .jobs-hero__bottom p { font-size: 18px; }
  .jobs-text-link { justify-self: start; }
  .jobs-section { padding: 32px 0 44px; }
  .jobs-section__head { display: block; }
  .jobs-section__head h2 { margin-top: 24px; }
  .jobs-role summary { grid-template-columns: 1fr 36px; gap: 16px; padding: 24px 0; }
  .jobs-role__status { grid-column: 1; }
  .jobs-role summary h2 { grid-row: 2; grid-column: 1; font-size: 26px !important; }
  .jobs-role__toggle { grid-column: 2; grid-row: 1 / 3; width: 36px; height: 36px; }
  .jobs-role__body { padding: 0 0 28px; }
  .jobs-role__intro { font-size: 19px; }
  .jobs-role__columns { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .jobs-role__column ul { gap: 8px; }
  .jobs-application { padding: 28px 20px; grid-template-columns: 1fr; margin-top: 24px; gap: 36px; }
  .jobs-application__intro > p:not(.jobs-eyebrow) { max-width: none; }
  .jobs-application__intro h2 { font-size: 40px !important; }
  .jobs-role__apply { max-width: 100%; gap: 16px; }
}
@media (prefers-reduced-motion:reduce) { .jobs-page * { transition: none !important; scroll-behavior: auto !important; } }
