/* Careers, job openings and job pages. Loads after styles/about/company/services/blog.css. */
.careers-hero { padding: 56px 0 56px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%); }
.careers-hero-inner { display: grid; grid-template-columns: 1fr 42%; gap: 56px; align-items: center; }
.careers-hero h1 { font-size: 64px; margin: 18px 0 16px; }
.careers-hero .lead { font-size: 18px; max-width: 560px; margin-bottom: 26px; }
.careers-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.careers-hero-art { margin: 0; }
.careers-hero-art img { width: 100%; height: 100%; min-height: 360px; max-height: 440px; object-fit: cover; border-radius: 14px 14px 96px 14px; display: block; }
.careers-hero-compact { padding: 44px 0 36px; }
.careers-hero-compact h1 { font-size: 52px; margin: 14px 0 12px; }
.careers-why { padding: 48px 0 44px; }
.careers-why-cols { margin-top: 10px; }
.careers-two { display: grid; grid-template-columns: 32% 1fr; gap: 48px; align-items: start; padding-top: 52px; padding-bottom: 52px; }
.careers-openings { padding: 0; }
.careers-openings > .container:only-child { padding-top: 40px; padding-bottom: 52px; }
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.job-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: inherit; transition: border-color .2s, box-shadow .2s; }
.job-list a:hover { border-color: var(--blue-soft); box-shadow: 0 12px 30px rgba(16,38,87,.08); }
.job-list a:hover h3 { color: var(--blue); }
.job-list h3 { font-size: 17px; margin-bottom: 4px; }
.job-meta { font-size: 13px; color: var(--muted); }
.job-list .round-link { flex: 0 0 38px; width: 38px; height: 38px; border-color: var(--blue-soft); }
.careers-fit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 52px; padding-bottom: 52px; }
.careers-fit h2 { font-size: 36px; margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.careers-apply { padding: 48px 0 56px; border-bottom: 0; }
.careers-steps { grid-template-columns: repeat(4, 1fr); padding: 0; }
.job-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.job-facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.job-facts li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.job-facts span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.job-facts strong { font-size: 14px; }
.job-layout { padding-top: 44px; }
.job .post-body h2 { font-size: 24px; margin: 30px 0 10px; }
.job .post-body p, .job .post-body ul, .job .post-body ol { font-size: 16px; }
.job-related { grid-template-columns: 1fr 1fr; }
@media (max-width: 1240px) { .careers-hero h1 { font-size: 50px; } .careers-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) {
  .careers-hero-inner, .careers-two, .careers-fit-inner { grid-template-columns: 1fr; gap: 28px; }
  .careers-hero-art img { min-height: 0; height: 300px; }
  .careers-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .careers-hero h1, .careers-hero-compact h1 { font-size: 38px; }
  .careers-steps { grid-template-columns: 1fr; }
  .job-related { grid-template-columns: 1fr; }
}

/* imported long-form landing pages */
.imported .post-body h2 { font-size: 26px; }
.imported .post-body h3 { font-size: 20px; }
.imported .post-body { overflow-wrap: anywhere; }
@media (max-width: 720px) { .imported .post-body h2 { font-size: 21px; } .imported .post-body h3 { font-size: 18px; } }

/* ---------- Job application form (job-*.html #apply) ---------- */
.apply-section { padding: 64px 0 72px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%); scroll-margin-top: 80px; }
.apply-inner { display: grid; grid-template-columns: 36% 1fr; gap: 56px; align-items: start; }
.apply-side { position: sticky; top: 96px; }
.apply-side h2 { font-size: 44px; letter-spacing: -.03em; line-height: 1.05; margin: 14px 0 16px; }
.apply-side .lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 24px; }
.apply-facts { margin-bottom: 28px; }
.apply-steps { list-style: none; counter-reset: step; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.apply-steps li { counter-increment: step; position: relative; padding-left: 44px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.apply-steps li strong { color: var(--ink); }
.apply-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.apply-alt { margin-top: 24px; font-size: 14px; color: var(--muted); }
.apply-alt a { color: var(--blue); }
.apply-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 36px 32px; box-shadow: 0 24px 60px rgba(16,38,87,.10); }
.apply-form { display: grid; gap: 22px; }
.apply-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.apply-form legend { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 12px; padding-top: 4px; }
.apply-form fieldset + fieldset legend { border-top: 1px solid var(--line); width: 100%; padding-top: 20px; }
.apply-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; align-content: start; }
.apply-form .opt { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.apply-form input, .apply-form textarea, .apply-form select { width: 100%; padding: 12px 14px; border: 1px solid #c9cedb; border-radius: 8px; background: #fff; font: inherit; color: inherit; }
.apply-form select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23303a57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.apply-form select:invalid { color: var(--muted); }
.apply-form textarea { resize: vertical; }
.apply-form input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.apply-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dropzone { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 22px 24px; border: 2px dashed #c0c6d6; border-radius: 12px; background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; font-weight: 400; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); background: var(--blue-tint); }
.dropzone.is-over { border-color: var(--blue); border-style: solid; background: var(--blue-tint); }
.dropzone.is-invalid { border-color: #c33; background: #fff5f5; }
.dropzone-icon { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dropzone-text { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.dropzone-text strong { color: var(--ink); }
.dropzone-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.dropzone-text small { font-size: 12.5px; color: var(--muted); }
.dropzone-file { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.dropzone-file[hidden] { display: none; }
.dropzone-file svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dropzone-name { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dropzone-size { color: var(--muted); flex: none; }
.dropzone-remove { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--muted); display: grid; place-items: center; flex: none; }
.dropzone-remove:hover { background: var(--paper-deep); color: var(--ink); }
.dropzone.has-file .dropzone-text, .dropzone.has-file .dropzone-icon { display: none; }
.apply-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.apply-submit .form-note { flex: 1; min-width: 200px; }
.apply-form .form-note.is-error { color: #b42318; }
.apply-form .form-note.is-ok { color: #1b7f4a; font-weight: 500; }
.apply-form .form-privacy { font-size: 12.5px; color: var(--muted); margin: 0; }
.apply-form .form-privacy a { color: var(--blue); }
.apply-form.is-sent fieldset, .apply-form.is-sent .apply-submit .btn, .apply-form.is-sent .form-privacy { display: none; }
.apply-form.is-sent .form-note { font-size: 17px; padding: 28px 0 8px; }
@media (max-width: 1240px) { .apply-inner { grid-template-columns: 40% 1fr; gap: 36px; } .apply-side h2 { font-size: 38px; } }
@media (max-width: 980px) {
  .apply-inner { grid-template-columns: 1fr; gap: 28px; }
  .apply-side { position: static; }
  .apply-card { padding: 28px; }
}
@media (max-width: 720px) {
  .apply-section { padding: 44px 0 56px; }
  .apply-side h2 { font-size: 32px; }
  .apply-card { padding: 20px 18px; border-radius: 14px; }
  .apply-form .form-row { grid-template-columns: 1fr; }
  .dropzone { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 20px 16px; }
}
