:root {
  font: 100%/1.65 Arial, Helvetica, sans-serif;
  --ink: #172b38;
  --soft: #f7f6f2;
  --line: #dfe5e6;
  --gold: #e6c48c;
  background: var(--soft);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; }
a { color: inherit; text-underline-offset: .19em; }
a:focus-visible { outline: 3px solid #3a8ba8; outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 4vw, 3.35rem); }
h3 { font-size: 1.3rem; }
p + p { margin-top: 13px; }
.wrap { width: min(1150px, calc(100% - 48px)); margin-inline: auto; }
.top { background: white; border-bottom: 1px solid var(--line); }
.top-inner, .foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; min-height: 74px; }
.top-inner { justify-content: space-between; font-weight: bold; }
.top-inner img { width: 152px; max-height: 60px; object-fit: contain; }
.foot { padding-block: 16px; }
.job-hero { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(125deg, #152734, #294c5c); color: white; }
.job-lead { padding: clamp(38px, 6vw, 85px) 32px clamp(38px, 6vw, 85px) max(24px, calc((100vw - 1150px) / 2)); min-width: 0; }
.job-lead h1 { margin-top: 12px; font-size: clamp(2.2rem, 4.8vw, 4.5rem); overflow-wrap: anywhere; }
.job-lead:has(.compact-title) { container-type: inline-size; }
.job-lead h1.compact-title { font-size: clamp(1rem, 9cqi, 3.7rem); overflow-wrap: normal; }
.job-lead h1 span { display: block; margin-top: 8px; font-size: .46em; letter-spacing: 0; }
.label { font-size: .77rem; letter-spacing: .14em; text-transform: uppercase; font-weight: bold; }
.job-lead .label, .company .label { color: var(--gold); }
.strapline { margin-top: 18px; max-width: 31ch; color: #e9f0f2; font-size: clamp(1.15rem, 2.2vw, 1.52rem); line-height: 1.35; }
.job-hero figure { position: relative; min-height: 300px; }
.job-hero figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.job-hero figure .team-crop { position: absolute; inset: 0; }
.job-hero figure .portrait-top { object-position: center top; }
figcaption { position: absolute; inset: auto 10px 10px auto; padding: 3px 8px; color: white; background: #172b38; border-radius: 3px; font-size: .75rem; }
.button { display: inline-flex; align-items: center; gap: 20px; margin-top: 22px; padding: 11px 17px; border-radius: 5px; background: linear-gradient(115deg, #f0d3a2, #dbb477); color: var(--ink); text-decoration: none; font-weight: bold; box-shadow: 0 9px 18px -12px #1a252eaa; }
.button:hover { background: #f8dfb6; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: white; margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px -17px #172b3860; }
.facts div { padding: 16px 20px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: #435b67; font-size: .83rem; }
.facts dd { font-weight: bold; }
.fact-note { display: block; color: #435b67; font-size: .83rem; font-weight: normal; white-space: nowrap; }
.employment-summary { margin-top: 12px; font-size: .95rem; font-weight: bold; }
.jump { display: flex; flex-wrap: wrap; gap: 9px 22px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: .93rem; font-weight: bold; }
.block { padding-block: clamp(38px, 6vw, 75px); }
.editorial { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; gap: clamp(22px, 5vw, 70px); }
.job-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.job-body > div, .development { background: white; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); border-radius: 6px; }
.job-body h2, .development h2 { font-size: 1.48rem; }
.job-body ul { margin-bottom: 0; padding-left: 20px; }
.job-body li + li { margin-top: 6px; }
.development { margin-top: 16px; }
.development h2 { margin-bottom: 14px; }
.company { padding-block: clamp(40px, 6vw, 75px); background: linear-gradient(140deg, #172b38, #254655); color: white; }
.employer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 65px); align-items: center; }
.employer img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.employer h2, .application h2 { margin-block: 8px 14px; }
.perks { margin-top: 42px; }
.perks h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.perks ul { padding: 0; margin: 15px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.perks li { background: #214457; padding: 19px; border-radius: 5px; }
.perks strong { display: block; color: #f4d4a0; margin-bottom: 5px; }
.equipment-benefit { margin-bottom: 9px; }
.work-hours { margin-block: 9px; font-variant-numeric: tabular-nums; }
.work-hours div { display: grid; grid-template-columns: 3.9rem 1fr; gap: 8px; }
.company-development { margin-top: 28px; max-width: 75ch; }
.company-development h3 { margin-bottom: 10px; }
.pending { background: #fff0a6; color: #34270c; border-left: 4px solid #b67e05; padding: 10px 13px; border-radius: 3px; margin-top: 10px; }
.pending:first-child { margin-top: 0; }
.pending strong { display: inline-block; margin-right: .45em; }
.application { background: #e5efef; }
.steps { display: grid; gap: 16px; }
.steps > div { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 10px 24px -19px #172b3870; }
.steps h3 { margin-bottom: 8px; }
@media (max-width: 760px) {
  .job-hero, .editorial, .job-body, .employer, .perks ul { grid-template-columns: 1fr; }
  .job-lead { padding: 32px 24px; }
  .job-lead h1 { font-size: clamp(1.85rem, 7.3vw, 3.5rem); }
  .job-hero figure { min-height: 0; aspect-ratio: 3 / 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
