/* Generated by tools/careers-site/build.php from public/careers/index.html — don't edit; edit index.html and re-run. */

/* Layout: sticky site bar, team banner with role search, team sidebar on the left, career ladder on the right. */
.cbt {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --soft: #eaf0f7;
  --ink: #0f2a4a;
  --text: #46546a;
  --line: #dfe7f1;
  --navy: #15416e;
  --navy-text: #15416e;
  --navy-deep: #0b2547;
  --accent: #f07f22;
  --accent-ink: #b45309;
  --on-accent: #1d1206;
  --on-navy: #ffffff;
  --on-navy-soft: #d5e1ee;
  --warn-bg: #fff4e8;
  --warn-ink: #8a4208;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}
.cbt * { box-sizing: border-box; }
.cbt [hidden] { display: none !important; }
.cbt { scroll-behavior: smooth; }
.cbt { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.55 var(--body); }
.cbt img { display: block; max-width: 100%; }
.cbt h1, .cbt h2, .cbt h3 { margin: 0; color: var(--ink); font-family: var(--display); font-stretch: 112%; line-height: 1.15; text-wrap: balance; }
.cbt h4, .cbt p { margin: 0; }
.cbt ul, .cbt ol { margin: 0; padding: 0; list-style: none; }
.cbt button, .cbt input, .cbt select { font: inherit; color: inherit; }
.cbt button { cursor: pointer; }
.cbt :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cbt .ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cbt .wrap {
  width: 100%; max-width: 1280px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.cbt .eyebrow { font: 700 .8125rem/1.3 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }

/* Site bar */
.cbt .bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--navy-deep); color: var(--on-navy); }
.cbt .bar .wrap { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.cbt .brand { display: flex; align-items: center; gap: 12px; min-width: 0; font: 800 1.125rem/1 var(--display); background: none; border: 0; color: inherit; padding: 6px 0; margin-right: auto; }
.cbt .brand-logo { height: 42px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.cbt .brand-label { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); line-height: 1.4; }
.cbt .bar-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--on-navy); font-weight: 600; padding: 9px 11px; line-height: 1.2; }
.cbt .bar-btn:hover { background: rgba(255, 255, 255, .12); }

/* Banner */
.cbt .hero { position: relative; background: var(--navy-deep); color: var(--on-navy); }
.cbt .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cbt .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 21, 39, .95) 0%, rgba(7, 21, 39, .82) 52%, rgba(7, 21, 39, .5) 100%); }
.cbt .hero .wrap { position: relative; z-index: 1; padding-block: 44px 28px; display: grid; gap: 26px; }
.cbt .hero .eyebrow { color: #ffb37a; display: flex; gap: 8px; align-items: center; }
.cbt .hero h1 { color: var(--on-navy); font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; margin-top: 10px; }
.cbt .hero-lead { font-size: 1.1875rem; max-width: 56ch; color: var(--on-navy-soft); margin-top: 10px; }

/* Role search */
.cbt .search { position: relative; max-width: 620px; }
.cbt .search-box { display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--ink); padding-inline: 14px 6px; border: 2px solid transparent; }
.cbt .search-box:focus-within { border-color: var(--accent); }
.cbt .search-box .ic { color: var(--accent-ink); }
.cbt .search-box input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; color: var(--ink); outline: 0; }
.cbt .search-box input::placeholder { color: var(--text); }
.cbt .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; background: none; color: var(--text); }
.cbt .icon-btn:hover { background: var(--soft); color: var(--ink); }
.cbt .results { position: absolute; left: 0; right: 0; top: 100%; z-index: 6; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(7, 21, 39, .28); max-height: 360px; overflow-y: auto; }
.cbt .result { display: grid; gap: 1px; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 14px; line-height: 1.3; color: var(--ink); }
.cbt .results li:first-child .result { border-top: 0; }
.cbt .result:hover, .cbt .result:focus-visible { background: var(--soft); }
.cbt .result b { font-weight: 700; }
.cbt .result span { color: var(--text); font-size: .9375rem; }
.cbt .no-result { padding: 12px 14px; color: var(--text); }

.cbt .path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.cbt .path li { background: rgba(7, 21, 39, .72); border-top: 3px solid #ffb37a; padding: 10px 14px; line-height: 1.3; min-width: 0; }
.cbt .path b { display: block; font: 800 1.1875rem/1.2 var(--display); color: #ffb37a; }
.cbt .path span { color: var(--on-navy); font-size: .9688rem; }

/* Team sidebar and main column */
.cbt .layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; padding-block: 36px 56px; align-items: start; }
.cbt .teams { background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); }
.cbt .teams-title { display: flex; align-items: center; gap: 8px; background: var(--navy); color: var(--on-navy); font: 700 1rem/1.3 var(--display); padding: 14px 16px; }
.cbt .team-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line);
  padding: 12px 16px; font-weight: 600; line-height: 1.25; color: var(--text);
}
.cbt .teams li:first-child .team-btn { border-top: 0; }
.cbt .team-btn .ic { color: var(--navy-text); }
.cbt .team-btn:hover { background: var(--soft); color: var(--ink); }
.cbt .team-btn[aria-current="true"] { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.cbt .team-btn[aria-current="true"] .ic { color: var(--on-accent); }
.cbt .main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.cbt .section-head { display: grid; gap: 4px; margin-bottom: 14px; }
.cbt .section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 800; }
.cbt section { scroll-margin-top: 80px; }

/* Track chooser */
.cbt .tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cbt .track { position: relative; display: block; padding: 0; width: 100%; text-align: left; background: var(--navy-deep); border: 3px solid transparent; overflow: hidden; color: var(--on-navy); min-height: 168px; }
.cbt .track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .2s ease, transform .4s ease; }
.cbt .track:hover img { opacity: .68; transform: scale(1.03); }
.cbt .track-text { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 3px; padding: 56px 18px 15px; background: linear-gradient(to top, rgba(7, 21, 39, .96) 48%, rgba(7, 21, 39, 0)); height: 100%; align-content: end; }
.cbt .track-name { display: flex; align-items: center; gap: 8px; font: 800 1.3125rem/1.2 var(--display); }
.cbt .track-name .ic { color: #ffb37a; }
.cbt .track-sub { line-height: 1.35; color: var(--on-navy-soft); }
.cbt .track-state { position: absolute; top: 10px; right: 10px; z-index: 1; display: none; align-items: center; gap: 4px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .875rem; line-height: 1; padding: 6px 9px; }
.cbt .track[aria-selected="true"] { border-color: var(--accent); }
.cbt .track[aria-selected="true"] img { opacity: .78; }
.cbt .track[aria-selected="true"] .track-state { display: inline-flex; }

/* Ladder: each rung starts a little higher than the one before */
.cbt .ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: end; }
.cbt .rung { background: var(--surface); border: 1px solid var(--line); border-bottom: 4px solid var(--line); padding: 12px 14px; text-align: left; display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.cbt .rung:nth-child(2) { padding-top: 24px; }
.cbt .rung:nth-child(3) { padding-top: 36px; }
.cbt .rung:nth-child(4) { padding-top: 48px; }
.cbt .rung:hover { background: var(--soft); }
.cbt .rung b { font: 800 1.5rem/1.1 var(--display); color: var(--navy-text); }
.cbt .rung-stage { font-weight: 700; color: var(--ink); font-size: .9688rem; }
.cbt .rung-exp { font-size: .9063rem; font-variant-numeric: tabular-nums; }
.cbt .rung[aria-selected="true"] { background: var(--navy); border-color: var(--navy); border-bottom-color: var(--accent); }
.cbt .rung[aria-selected="true"] b { color: #ffb37a; }
.cbt .rung[aria-selected="true"] .rung-stage, .cbt .rung[aria-selected="true"] .rung-exp { color: var(--on-navy); }

/* Job description */
.cbt .level { background: var(--surface); border: 1px solid var(--line); margin-top: 14px; scroll-margin-top: 80px; }
.cbt .role-tabs { border-top: 0; scroll-margin-top: 72px; }
.cbt .tab-hint { font: 400 .9375rem/1.3 var(--body); color: var(--text); margin-left: 4px; }
.cbt #rolePanel { scroll-margin-top: 80px; }
.cbt #rolePanel.role-in { animation: roleIn .22s ease-out; }
@keyframes roleIn { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cbt .level-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); border-top: 1px solid var(--line); }
.cbt .level-photo { width: 100%; height: 100%; min-height: 250px; object-fit: cover; background: var(--soft); }
.cbt .level-intro { padding: 24px; display: grid; gap: 10px; align-content: center; min-width: 0; }
.cbt .level-intro h3 { font-size: clamp(1.45rem, 2.6vw, 1.875rem); font-weight: 800; }
.cbt .level-pitch { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; color: var(--accent-ink); max-width: 56ch; }
.cbt .level-desc { font-size: 1.0938rem; color: var(--ink); max-width: 56ch; }
.cbt .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); background: var(--soft); }
.cbt .fact { display: flex; gap: 10px; padding: 14px 18px; min-width: 0; border-left: 1px solid var(--line); line-height: 1.3; }
.cbt .fact:first-child { border-left: 0; }
.cbt .fact .ic { color: var(--accent-ink); margin-top: 2px; }
.cbt .fact-label { font: 700 .75rem/1.3 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--text); margin-bottom: 2px; }
.cbt .fact-value { color: var(--ink); font-weight: 700; }
.cbt .block { padding: 22px 24px; border-top: 1px solid var(--line); min-width: 0; }
.cbt .block-title { display: flex; align-items: center; gap: 8px; font: 700 1.0625rem/1.3 var(--display); font-stretch: 112%; color: var(--ink); margin-bottom: 12px; }
.cbt .block-title .ic { color: var(--accent-ink); }
.cbt .titles { display: flex; flex-wrap: wrap; gap: 8px; }
.cbt .title-btn { background: var(--soft); border: 1px solid var(--line); border-bottom: 3px solid var(--line); padding: 8px 12px; line-height: 1.3; font-weight: 600; color: var(--ink); text-align: left; max-width: 100%; }
.cbt .title-btn:hover { border-color: var(--navy); }
.cbt .title-btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); border-bottom-color: var(--accent); color: var(--on-navy); }
.cbt .title-btn small { font-size: .8125rem; opacity: .85; margin-left: 4px; }
.cbt .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cbt .two .block + .block { border-left: 1px solid var(--line); }
.cbt .ticks { display: grid; gap: 8px; }
.cbt .ticks li { display: flex; gap: 8px; line-height: 1.4; }
.cbt .ticks .ic { color: var(--accent-ink); width: 1.05em; height: 1.05em; margin-top: .17em; }
.cbt .next-role { color: var(--ink); font-weight: 700; }
.cbt .level-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--soft); }
.cbt .action-group { display: flex; flex-wrap: wrap; gap: 8px; }
.cbt .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--navy); background: transparent; color: var(--ink); padding: 10px 15px; font-weight: 700; line-height: 1.25; text-align: left; }
.cbt .btn:hover:not(:disabled) { background: var(--navy); color: var(--on-navy); }
.cbt .btn:disabled { opacity: .45; cursor: not-allowed; }
.cbt .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cbt .btn-primary:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); filter: brightness(1.08); }

/* Comparison table */
.cbt .table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); }
.cbt table { border-collapse: collapse; width: 100%; min-width: 720px; }
.cbt th, .cbt td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.4; }
.cbt thead th { background: var(--navy); color: var(--on-navy); font-family: var(--display); }
.cbt tbody th { color: var(--ink); width: 120px; }
.cbt tbody tr:last-child th, .cbt tbody tr:last-child td { border-bottom: 0; }

/* Apply */
.cbt .apply { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); background: var(--surface); border: 1px solid var(--line); }
.cbt .apply-side { position: relative; background: var(--navy-deep); color: var(--on-navy); padding: 24px; overflow: hidden; display: grid; align-content: end; min-height: 240px; }
.cbt .apply-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.cbt .apply-side > div { position: relative; display: grid; gap: 8px; }
.cbt .apply-side h2 { color: var(--on-navy); font-size: 1.75rem; font-weight: 800; }
.cbt .apply-side p { color: var(--on-navy-soft); }
.cbt form { padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.cbt .field { display: grid; gap: 4px; min-width: 0; align-content: start; }
.cbt .field.full { grid-column: 1 / -1; }
.cbt .field label { color: var(--ink); font-weight: 700; line-height: 1.3; }
.cbt .field input, .cbt .field select { width: 100%; min-width: 0; background: var(--bg); border: 1px solid var(--line); padding: 10px 12px; }
.cbt .field-hint { font-size: .9063rem; }
.cbt .form-note { grid-column: 1 / -1; background: var(--warn-bg); color: var(--warn-ink); padding: 10px 12px; line-height: 1.4; }
.cbt .form-foot { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; }
.cbt #formStatus { font-weight: 600; color: var(--ink); }
.cbt #formStatus.bad { color: var(--warn-ink); }

/* Footer */
.cbt footer { background: var(--navy-deep); color: var(--on-navy-soft); }
.cbt footer .wrap { padding-block: 32px; display: grid; gap: 18px; }
.cbt .foot-title { font: 700 1rem/1.3 var(--display); color: var(--on-navy); }
.cbt .foot-teams { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.cbt .foot-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 1px solid rgba(255, 255, 255, .24); color: var(--on-navy); padding: 7px 11px; line-height: 1.25; }
.cbt .foot-btn:hover { background: rgba(255, 255, 255, .12); }
.cbt .foot-note { font-size: .9375rem; max-width: 80ch; }

.cbt .to-top {
  position: fixed; z-index: 8; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--accent); color: var(--on-accent); border: 0; box-shadow: 0 6px 18px rgba(7, 21, 39, .3);
}

@media (max-width: 960px) {
  .cbt .brand-label { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cbt .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 20px 40px; }
  .cbt .teams { position: static; }
  .cbt #teamList { display: flex; overflow-x: auto; }
  .cbt #teamList li { flex: 0 0 auto; }
  .cbt .team-btn, .cbt .teams li:first-child .team-btn { border-top: 0; border-right: 1px solid var(--line); white-space: nowrap; }
  .cbt .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbt .fact:nth-child(odd) { border-left: 0; }
  .cbt .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .cbt .bar-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cbt .bar-btn { padding: 10px; }
  .cbt .bar .wrap { gap: 4px; }
  .cbt .brand-logo { height: 36px; }
  .cbt .hero .wrap { padding-block: 30px 18px; gap: 20px; }
  .cbt .hero::after { background: rgba(7, 21, 39, .84); }
  .cbt .path, .cbt .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbt .rung:nth-child(n) { padding-top: 12px; }
  .cbt .ladder { align-items: stretch; }
  .cbt .tracks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cbt .track { min-height: 132px; }
  .cbt .track-name { font-size: 1.125rem; }
  .cbt .track-sub { font-size: .9375rem; }
  .cbt .track-text { padding: 46px 12px 12px; }
  .cbt .level-top, .cbt .two, .cbt .apply { grid-template-columns: minmax(0, 1fr); }
  .cbt .level-photo { min-height: 0; height: 180px; }
  .cbt .two .block + .block { border-left: 0; }
  .cbt .block, .cbt .level-intro { padding: 18px; }
  .cbt .role-tabs .block-title { flex-wrap: wrap; }
  .cbt .tab-hint { flex-basis: 100%; margin-left: 0; }
  .cbt .fact { padding: 12px 14px; }
  .cbt .level-actions { padding: 14px 18px; }
  .cbt .level-actions .btn-primary { width: 100%; }
  .cbt form { grid-template-columns: minmax(0, 1fr); padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cbt { scroll-behavior: auto; }
  .cbt #rolePanel.role-in { animation: none; }
  .cbt .track img { transition: none; }
  .cbt .track:hover img { transform: none; }
}

/* site integration (tools/careers-site/build.php): the site header is fixed on scroll, so the page's own bar
   scrolls away with the page and the team list sticks below the site menu */
.cbt { background: var(--bg); color: var(--text); font: 400 1.0625rem/1.55 var(--body); }
.cbt .bar { position: relative; top: 0; }
.cbt .teams { top: 90px; }
.cbt .brand-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; padding-left: 0; border-left: 0; }   /* the bar shows the label only: no logo (the site header has it) */
.cbt h1, .cbt h2, .cbt h3, .cbt h4 { text-transform: none; letter-spacing: normal; }
.cbt ul li::before, .cbt ol li::before { content: none; }
.cbt ul, .cbt ol { margin: 0; padding: 0; list-style: none; }
.cbt li { padding: 0; }
.cbt label { margin: 0; }
@media (max-width: 991px) { .cbt .teams { top: auto; } }
