/* The careers pages (src/site/careers): the hub with the pay explorer, the ladder and the comparison, and one
 * page per role. On top of seo.css, in the site's colours. Contrast is checked for WCAG AA on --bg and --panel. */
:root {
  --panel-2: #121b2f;
  --raised: #182440;
  --line-2: #2a3a5c;
  --amber-2: #ffcf7a;
  --teal: #3fc1b0;
  --blue: #6fa6ff;
  --red: #ff7a90;
  --green: #6fd08e;
  --orange: #ff9d6e;
  --slate: #93a3c4;
}
[hidden] { display: none !important; }
/* The careers pages share the site's frame (seo.css .s-main, 1400 px): the nav, the content and the footer line up. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cr h2 { font-size: clamp(22px, 2.3vw, 28px); margin: 0 0 10px; }
.cr h3 { font: 600 17px/1.3 'Chakra Petch', system-ui, sans-serif; margin: 18px 0 8px; }
.cr button, .cr select { font: inherit; color: inherit; }
.cr :focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.cr-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 10px 6px; display: inline-block; }
.cr-link:hover { color: var(--text); }

/* ------------------------------------------------------------------ hero */
.cr-hero { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; padding: 10px 0 0; isolation: isolate; }
.cr-hero::before { content: ''; position: absolute; inset: -80px 0 auto 30%; height: 520px; background: radial-gradient(50% 50% at 60% 45%, rgba(245, 165, 36, 0.16), transparent 70%), radial-gradient(40% 40% at 30% 70%, rgba(92, 156, 255, 0.12), transparent 70%); z-index: -1; pointer-events: none; }
.cr-hero h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.01em; margin: 10px 0 14px; }
.cr-hero .s-lead { font-size: 16px; max-width: 620px; }
.cr-hero-cta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 22px; }
.cr-hero-vis { position: relative; min-height: 300px; }
.cr-hero-vis img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.cr-climb { position: absolute; inset: 6% 4% 14% 6%; list-style: none; margin: 0; padding: 0; }
.cr-climb::before { content: ''; position: absolute; left: 9%; right: 9%; top: 12%; bottom: 12%; background: linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(245, 165, 36, 0.75) 50%, transparent calc(50% + 1px)); }
.cr-climb li { position: absolute; padding: 6px 12px; border-radius: 999px; background: rgba(14, 21, 37, 0.92); border: 1px solid var(--amber); color: var(--amber-2); font: 600 13px 'IBM Plex Mono', monospace; letter-spacing: 0.06em; box-shadow: 0 0 22px rgba(245, 165, 36, 0.35); }
.cr-climb li:nth-child(1) { left: 0; bottom: 0; }
.cr-climb li:nth-child(2) { left: 30%; bottom: 30%; }
.cr-climb li:nth-child(3) { left: 58%; bottom: 58%; }
.cr-climb li:nth-child(4) { right: 0; top: 0; background: var(--amber); color: var(--on-amber); }
@media (prefers-reduced-motion: no-preference) {
  .cr-hero-vis img { animation: cr-float 7s ease-in-out infinite; }
  .cr-climb li { animation: cr-pop 0.6s both cubic-bezier(0.2, 0.8, 0.2, 1.2); }
  .cr-climb li:nth-child(2) { animation-delay: 0.15s; }
  .cr-climb li:nth-child(3) { animation-delay: 0.3s; }
  .cr-climb li:nth-child(4) { animation-delay: 0.45s; }
}
@keyframes cr-float { 50% { transform: translateY(-10px); } }
@keyframes cr-pop { from { opacity: 0; transform: translateY(12px) scale(0.9); } }

.cr-stats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cr-stats li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cr-stats li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--amber); }
.cr-stats b { font: 700 clamp(24px, 2.4vw, 30px)/1 'Chakra Petch', system-ui, sans-serif; color: var(--amber-2); }
.cr-stats span { color: var(--muted); font-size: 14px; }
.cr-stat-src { margin-top: auto; color: var(--dim); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ sections */
.cr-sec { margin-top: 64px; scroll-margin-top: 16px; }
.cr-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
.cr-sec-head h2 { margin: 0; }
.cr-sec-head p { margin: 0; max-width: 560px; }

/* ------------------------------------------------------------------ explorer controls */
.cx-controls { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; margin-bottom: 12px; background: rgba(14, 21, 37, 0.94); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; }
.cx-seg { display: inline-flex; padding: 3px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; }
.cx-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.cx-seg button[aria-pressed='true'] { background: var(--amber); color: var(--on-amber); }
.cx-seg button:not([aria-pressed='true']):hover { color: var(--text); }
.cx-field { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.cx-field select { min-height: 40px; padding: 0 30px 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3b2cc' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--text); appearance: none; cursor: pointer; }


/* ------------------------------------------------------------------ the chart */
.cx-country h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 20px; margin: 26px 0 6px; }
.cx-country h3 .s-dim { font: 13px 'IBM Plex Mono', monospace; }
.cx-chart { --label: 220px; --num: 110px; background: linear-gradient(180deg, var(--panel), rgba(14, 21, 37, 0.6)); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px 14px; }
.cx-rows { list-style: none; margin: 0; padding: 0; max-width: none; }
.cx-row { display: grid; grid-template-columns: var(--label) 1fr var(--num); gap: 0 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.cx-row:hover { background: linear-gradient(90deg, transparent, rgba(245, 165, 36, 0.04), transparent); }
.cx-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cx-who a { color: var(--text); font-weight: 600; text-decoration: none; padding: 2px 0; }
.cx-who a:hover { color: var(--amber-2); text-decoration: underline; }
.cx-meta { color: var(--dim); font-size: 12.5px; }
.cx-track { position: relative; height: 12px; border-radius: 3px; background: rgba(120, 150, 210, 0.08); overflow: hidden; }
.cx-bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--amber); }
.cx-bar-range { background: rgba(245, 165, 36, 0.5); }
.cx-num { position: relative; display: flex; justify-content: flex-end; }
.cx-val { min-height: 44px; padding: 4px 10px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--text); font: 600 16px/1.2 'Chakra Petch', system-ui, sans-serif; text-align: right; cursor: help; }
.cx-val small { display: block; color: var(--dim); font: 12px 'IBM Plex Sans', system-ui, sans-serif; }
.cx-none .cx-val { color: var(--muted); font: 500 13.5px/1.3 'IBM Plex Sans', system-ui, sans-serif; }
.cx-val:hover, .cx-val:focus-visible { border-color: var(--line-2); background: var(--panel-2); }
.cx-tip { display: none; position: absolute; right: 0; top: 100%; z-index: 20; width: min(400px, calc(100vw - 40px)); padding: 12px 14px; background: #0a1120; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55); color: var(--muted); font-size: 13.5px; line-height: 1.5; text-align: left; }
.cx-num:hover .cx-tip, .cx-val:focus + .cx-tip, .cx-row:has(.cx-track:hover) .cx-tip { display: block; }
.cx-num.cx-tip-off .cx-tip { display: none !important; }
.cx-tip-f { display: block; }
.cx-tip-f + .cx-tip-f { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.cx-tip-f b { display: block; color: var(--amber-2); font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.cx-note { margin: 12px 0 0; color: var(--dim); font-size: 13.5px; }

/* ------------------------------------------------------------------ the ladder */
.ld-wrap { overflow-x: auto; padding: 14px; background: radial-gradient(80% 120% at 50% 0%, rgba(92, 156, 255, 0.08), transparent 60%), var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.ld { display: block; width: 100%; min-width: 880px; height: auto; }
.ld-h { fill: #8090ae; font: 600 12px 'IBM Plex Mono', monospace; letter-spacing: 0.12em; }
.ld-e { fill: none; stroke: #5d6f94; stroke-opacity: 0.5; stroke-width: 1.6; transition: stroke 0.2s, stroke-opacity 0.2s; }
.ld-n rect { fill: var(--panel-2); stroke-width: 1.4; transition: fill 0.2s; }
.ld-n text { fill: #e8edf7; font: 600 14px 'IBM Plex Sans', system-ui, sans-serif; pointer-events: none; }
.ld-n:hover rect, .ld-n:focus-visible rect { fill: var(--raised); stroke-width: 2.4; }
.ld-n:focus { outline: none; }
.ld-n:focus-visible rect { stroke: #fff; }
.t-soc rect { stroke: #f5a524; }
.t-resp rect { stroke: #ff7a90; }
.t-eng rect { stroke: #6fa6ff; }
.t-intel rect { stroke: #3fc1b0; }
.t-gov rect { stroke: #6fd08e; }
.t-off rect { stroke: #ff9d6e; }
.t-lead rect { stroke: #ffcf7a; }
.ld-here rect { fill: rgba(245, 165, 36, 0.2); stroke-width: 2.6; }
.ld-details { margin-top: 10px; }
.ld-details summary, .cr-faq summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.ld-list { margin: 8px 0 0; padding-left: 20px; }
.ld-list > li { margin: 10px 0; }
.ld-list ul { margin: 4px 0; padding-left: 18px; }
.ld-to { color: var(--dim); font-size: 14px; }
.ld-phone { display: none; }

/* ------------------------------------------------------------------ compare */
.cmp-controls { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; }
.cmp-out { max-width: none; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.cmp-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp-t th, .cmp-t td { overflow-wrap: anywhere; text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cmp-t thead th { font: 600 17px 'Chakra Petch', system-ui, sans-serif; width: 40%; }
.cmp-t thead a { color: var(--amber-2); text-decoration: none; }
.cmp-t tbody th { color: var(--dim); font-weight: 500; width: 18%; white-space: nowrap; }
/* Row labels break between words only: "experie-nce" split mid-word on a phone (site check 2026-11-08). */
.cmp-t tbody th { overflow-wrap: normal; hyphens: auto; }
@media (max-width: 560px) { .cmp-t tbody th { white-space: normal; width: 27%; padding: 12px 6px 12px 10px; font-size: 12.5px; } .cmp-t td { padding: 12px 10px; } }
.cmp-t ul { margin: 0; padding-left: 18px; }
.cmp-t tr:last-child th, .cmp-t tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------ training, faq, sources, cta */
.cr-train-t td, .cr-train-t th { vertical-align: top; }
.cr-faq { border-top: 1px solid var(--line); }
.cr-faq:last-of-type { border-bottom: 1px solid var(--line); }
.cr-faq summary { font-weight: 600; padding: 10px 0; gap: 10px; }
.cr-faq summary::marker { color: var(--amber); }
.cr-faq p { margin: 0 0 14px; color: var(--muted); max-width: 820px; }
.cr-src td { font-size: 14px; vertical-align: top; }
/* On a phone the sources keep four readable columns and scroll inside their own box (nieuw-13), never cut off. */
@media (max-width: 720px) { .cr-src { min-width: 640px; } .cr-train-t { min-width: 560px; } }
.cr-src tr:target td { background: rgba(245, 165, 36, 0.08); }
.cr-method { padding-left: 20px; color: var(--muted); max-width: 900px; }
.cr-method li { margin: 8px 0; }
.cr-method b { color: var(--text); }
.cr-cta { margin-top: 70px; padding: 34px 30px; border-radius: 20px; text-align: center; border: 1px solid var(--line-2); background: radial-gradient(60% 120% at 50% 0%, rgba(245, 165, 36, 0.18), transparent 70%), var(--panel); }
.cr-cta p { color: var(--muted); max-width: 640px; margin: 8px auto 0; }
.cr-cta p:last-child { margin-top: 18px; display: flex; gap: 6px 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ------------------------------------------------------------------ a role page */
.cr-role { max-width: 980px; }
.cr-aka { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cr-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); font-size: 13.5px; color: var(--muted); }
.cr-day { list-style: none; padding: 0; margin: 10px 0; position: relative; }
.cr-day::before { content: ''; position: absolute; left: 52px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--amber), rgba(245, 165, 36, 0.1)); }
.cr-day li { display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding: 8px 0; position: relative; }
.cr-day li::before { content: ''; position: absolute; left: 48px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--amber); }
.cr-day time { font: 600 13px 'IBM Plex Mono', monospace; color: var(--amber-2); padding-top: 3px; }
.cr-pay-c { margin-top: 14px; }
.cr-pay-c h3 { display: flex; gap: 8px; align-items: baseline; }
.cr-pay-c .cx-chart { --label: 0px; padding-top: 4px; }
.cr-pay-c .cx-who { display: none; }
.cr-pay-c .cx-row { grid-template-columns: 1fr var(--num); }
.cr-pay-c .cx-row { border-top: 0; }
.cr-figs { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.cr-figs li { padding: 8px 0; border-top: 1px solid var(--line); }
.cr-scope { display: inline-block; padding: 1px 8px; margin-right: 4px; border-radius: 6px; font: 600 11px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(245, 165, 36, 0.14); color: var(--amber-2); }
.cr-s-occupation { background: rgba(147, 163, 196, 0.16); color: #c3cee3; }
.cr-s-vacancy { background: rgba(63, 193, 176, 0.16); color: #8fe3d6; }
.cr-two, .cr-train { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 30px; }
.cr-certs li { margin: 6px 0; }
.cr-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin: 14px 0; padding: 4px 18px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.cr-flow-here span { display: inline-block; padding: 10px 16px; border-radius: 12px; background: var(--amber); color: var(--on-amber); font: 700 15px 'Chakra Petch', system-ui, sans-serif; position: relative; }
.cr-flow-here span::before, .cr-flow-here span::after { content: '\2192'; position: absolute; top: 50%; transform: translateY(-50%); color: var(--amber); font-size: 20px; }
.cr-flow-here span::before { left: -22px; }
.cr-flow-here span::after { right: -22px; }
.ld-small { margin-top: 12px; }
.cr-others { columns: 3 220px; padding-left: 18px; }
.cr-others li { margin: 4px 0; break-inside: avoid; }

/* ------------------------------------------------------------------ phones and tablets */
@media (max-width: 900px) {
  .cr-hero { grid-template-columns: 1fr; }
  .cr-hero-vis { max-width: 520px; min-height: 0; }
  .cr-stats { grid-template-columns: repeat(2, 1fr); }
  .cx-chart { --label: 170px; --num: 100px; }
}
@media (max-width: 720px) {
  .cr-stats { grid-template-columns: 1fr; }
  .cx-controls { position: static; }
  .cx-chart { padding: 8px 12px 12px; }
  .cx-row { grid-template-columns: 1fr auto; grid-template-areas: 'who num' 'track track'; gap: 4px 10px; }
  .cx-who { grid-area: who; }
  .cx-num { grid-area: num; }
  .cx-track { grid-area: track; }
  .cr-pay-c .cx-row { grid-template-areas: 'num' 'track'; grid-template-columns: 1fr; }
  .cx-tip { width: min(340px, calc(100vw - 48px)); }
  .ld-wrap, .ld-details { display: none; }
  .ld-phone { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px; }
  .cr-flow { grid-template-columns: 1fr; text-align: left; }
  .cr-flow-here span::before, .cr-flow-here span::after { display: none; }
  .cmp-t thead th { font-size: 15px; }
  .cmp-t th, .cmp-t td { padding: 10px 8px; font-size: 13.5px; }
  .cmp-t tbody th { white-space: normal; }
  .cr-day::before { left: 46px; }
  .cr-day li::before { left: 42px; }
  .cr-day li { grid-template-columns: 40px 1fr; gap: 22px; }
}
.cx-none .cx-track { background: none; }
