/* AIM United · Careers (/careers/). Linked stylesheet, so aim-theme.js never re-maps it: colours come from the
   variables aim-theme.js sets on <html> (light = White + Yellow, dark = Navy + Yellow), with light-mode fallbacks.
   Brand colours only: navy #1a2449, yellow #f9b928, light yellow #fbd57e, sapphire #145dac, teal #0b8fa8,
   gold #bb8b1e, cream #fef1d4, white. */
@font-face { font-family: "Clash Display"; src: url("/fonts/ClashDisplay-Variable.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }

:root {
  --bg: var(--aim-bg, #ffffff); --s1: var(--aim-s1, #ffffff); --s2: var(--aim-s2, #f2f4f8);
  --fg: var(--aim-fg, #1a2449); --mute: var(--aim-mute, #76809b); --mute2: var(--aim-mute2, #48527a);
  --line: var(--aim-line, rgba(26, 36, 73, .14)); --line-s: var(--aim-line-s, rgba(26, 36, 73, .28));
  --acc: var(--aim-acc, #f9b928); --acc-ink: var(--aim-acc-ink, #1a2449); --acc-tx: var(--aim-acc-tx, #1c4076);
  --navy: #1a2449; --yellow: #f9b928; --lyellow: #fbd57e; --cream: #fef1d4; --sapphire: #145dac; --teal: #0b8fa8; --gold: #bb8b1e;
  /* the dark band (why AIM, final call to action): navy on light, ink-navy on dark */
  --band-bg: #1a2449; --band-fg: #f7f6f2; --band-mute: #b9bdcd; --band-line: rgba(247, 246, 242, .16);
  /* discipline tones: readable on the page background */
  --c-elec: #145dac; --c-qs: #bb8b1e;
  --hl: #fef1d4;               /* highlighted office card */
  --body: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --head: "Clash Display", "Raleway", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --hdrH: 72px;
  color-scheme: light;
}
html[data-aim-mode=dark] {
  --band-bg: #0d1225; --band-line: rgba(247, 246, 242, .14);
  --c-elec: #fbd57e; --c-qs: #f9b928;
  --hl: #222d57;
  color-scheme: dark;
}
html { background: var(--bg); scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { word-spacing: .07em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.label { font: 600 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- page header (the shared top bar from /nav/aim-nav.js replaces it once loaded) ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hrow { height: var(--hdrH); max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter); box-sizing: border-box; }
.brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.brand .lk-w { display: none; }
html[data-aim-mode=dark] .brand .lk-w { display: block; }
html[data-aim-mode=dark] .brand .lk-n { display: none; }
.hnav { display: flex; align-items: center; gap: 6px; }
.hnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font: 600 14px/1 var(--body); text-decoration: none; color: var(--fg); white-space: nowrap; }
.hnav a[aria-current=page] { box-shadow: inset 0 0 0 1px var(--line-s); }
.hnav a.talk { border: 1px solid var(--fg); background: var(--fg); color: var(--bg); margin-left: 4px; }
.hnav .aim-thm-btn { margin: 0 2px 0 6px !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; box-sizing: border-box; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid currentColor; white-space: nowrap; cursor: pointer; background: transparent; color: var(--fg); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn.solid { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.btn.solid:hover { background: var(--lyellow); border-color: var(--lyellow); }
.btn.ghost { border-color: var(--line-s); }
.btn.ghost:hover { border-color: var(--fg); }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.go { transform: translateX(3px); }
.btn:hover svg.out { transform: translate(2px, -2px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { /* faint drawing grid, like a sheet border */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 0%, transparent 75%);
}
.hero-in { position: relative; z-index: 2; padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(24px, 4.5vh, 52px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 clamp(18px, 4vh, 40px); list-style: none; font-size: 13px; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-s); }
.crumbs a { text-decoration: none; color: var(--mute2); }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.hero h1 { font: 600 clamp(36px, min(5.2vw, 8.4vh), 84px)/.98 var(--head); letter-spacing: -.02em; word-spacing: .08em; margin: 14px 0 clamp(16px, 3vh, 26px); max-width: 11.5ch; text-wrap: balance; }
.hero h1 { position: relative; isolation: isolate; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--acc); z-index: -1; transform-origin: left; animation: hl 1.1s .5s var(--ease) both; }
@keyframes hl { from { transform: scaleX(0); } }
.hero .dek { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--mute2); max-width: 46ch; margin: 0 0 clamp(20px, 3.4vh, 30px); }
.hero .row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: clamp(20px, 4vh, 36px) 0 0; padding: 0; font-size: 14px; color: var(--mute2); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta b { font-weight: 700; color: var(--fg); }
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.bim { position: relative; display: block; width: 100%; height: 300px; z-index: 1; pointer-events: none; }
.legend { position: absolute; z-index: 2; right: var(--gutter); bottom: 18px; display: none; gap: 16px; margin: 0; padding: 0; list-style: none; font: 600 10.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--k); }
.k-str { --k: var(--fg); opacity: .55; } .k-duct { --k: var(--yellow); } .k-tray { --k: var(--sapphire); } .k-pipe { --k: var(--teal); }
html[data-aim-mode=dark] .k-tray { --k: var(--lyellow); }
@media (min-width: 900px) {
  .hero { min-height: min(520px, calc(62svh - 52px)); display: flex; align-items: center; }
  .hero > .wrap { width: 100%; }
  .bim { position: absolute; top: 0; right: 0; width: 60%; height: 100%; }
  .legend { display: flex; }
}
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; }
  .hero .bim { order: 2; height: clamp(150px, 40vw, 230px); margin: -16px 0 8px; }
  .hero-in { padding-bottom: 0; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(52px, 7vw, 96px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-h { display: grid; gap: 12px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .sec-h { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; } }
.sec-h h2 { font: 600 clamp(32px, 4vw, 58px)/1.02 var(--head); letter-spacing: -.015em; margin: 10px 0 0; text-wrap: balance; max-width: 16ch; }
.sec-h p { margin: 0; color: var(--mute2); font-size: clamp(16px, 1.25vw, 18px); max-width: 52ch; }

/* ---------- why AIM (dark band) ---------- */
.why { background: var(--band-bg); color: var(--band-fg); }
.why .label { color: var(--yellow); }
.why .sec-h p { color: var(--band-mute); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--band-line); }
.stats li { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--band-line); }
@media (min-width: 640px) { .stats li { padding-right: 28px; } .stats li + li { padding-left: 24px; border-left: 1px solid var(--band-line); } }
@media (min-width: 640px) and (max-width: 1099px) { .stats li:nth-child(odd) { padding-left: 0; border-left: 0; } }
.stats b { display: block; font: 600 clamp(48px, 5.4vw, 80px)/1 var(--head); letter-spacing: -.02em; color: var(--band-fg); }
.stats b sup { font-size: .42em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--yellow); }
.stats span { display: block; margin-top: 14px; font-size: 15.5px; line-height: 1.55; color: var(--band-mute); max-width: 32ch; }
.stats span strong { color: var(--band-fg); font-weight: 600; }
.iso { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 0; list-style: none; }
.iso li { padding: 0 !important; border: 0 !important; }
.iso abbr { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--band-line); font: 600 12px/1 var(--body); letter-spacing: .04em; color: var(--band-fg); text-decoration: none; }
.clients { margin: 28px 0 0; font-size: 15px; color: var(--band-mute); }
.clients b { color: var(--band-fg); font-weight: 600; }

/* ---------- openings ---------- */
.flts { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.flt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.flt legend { float: left; margin-right: 6px; padding: 0; }
.flt button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-s); background: transparent; color: var(--fg); font: 600 14px/1 var(--body); cursor: pointer; white-space: nowrap; }
.flt button:hover { border-color: var(--fg); }
.flt button[aria-pressed=true] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.flt .n { font-weight: 500; opacity: .6; margin-left: 4px; }
.fcount { margin: 0 0 0 auto; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.job { --c: var(--c-elec); position: relative; border: 1px solid var(--line-s); border-radius: 20px; background: var(--s1); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); scroll-margin-top: 76px; }
.job[data-disc=qs], .job[data-tone="1"] { --c: var(--c-qs); }
.osub { margin: 12px 0 0; }
.flts[hidden] { display: none; }
.job:hover, .job.open { border-color: var(--fg); }
.job.open { box-shadow: 0 24px 60px -36px rgba(26, 36, 73, .45); }
.job[hidden] { display: none; }
.job-top { display: grid; gap: 18px 32px; padding: clamp(20px, 2.6vw, 32px); }
@media (min-width: 900px) { .job-top { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; } }
.job-no { font: 600 13px/1 var(--body); letter-spacing: .1em; color: var(--mute); }
.job-no::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--c); margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute2); }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }
.job h3 { font: 600 clamp(26px, 2.6vw, 38px)/1.08 var(--head); letter-spacing: -.01em; margin: 10px 0 14px; text-wrap: balance; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--mute2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; flex: none; color: var(--mute); }
.job-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.tgl[aria-expanded=true] .pm { transform: rotate(45deg); }
.tgl .pm { transition: transform .35s var(--ease); }
/* details: open without JavaScript; with it, they fold and open in place (in the page flow, no inner scroll) */
.job-more { display: grid; grid-template-rows: 1fr; }
.job-more > div { overflow: hidden; min-height: 0; }
.js .job-more { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease), visibility 0s linear .5s; }
.js .job.open .job-more { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--ease), visibility 0s; }
.tgl { display: none; }
.js .tgl { display: inline-flex; }
.jd { display: grid; gap: 28px 48px; padding: 4px clamp(20px, 2.6vw, 32px) clamp(22px, 2.6vw, 32px); border-top: 1px solid var(--line); margin: 0 clamp(20px, 2.6vw, 32px); padding-left: 0; padding-right: 0; padding-top: 26px; }
@media (min-width: 900px) { .jd { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr); padding-left: 96px; } }
.jd h4 { font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.jd p { margin: 0; font-size: 16.5px; line-height: 1.6; }
.jd ul { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; }
.jd li { position: relative; padding: 0 0 0 22px; }
.jd li + li { margin-top: 10px; }
.jd li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 1px; background: var(--c); transform: rotate(45deg); }
.jd-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 22px; border-top: 1px dashed var(--line-s); }
.jd-foot p { font-size: 14px; color: var(--mute); }
.empty { border: 1px dashed var(--line-s); border-radius: 20px; padding: 28px; }
.empty h3 { font: 600 24px/1.15 var(--head); margin: 0 0 8px; }
.empty p { margin: 0; color: var(--mute2); }
.empty a, .how a { color: var(--acc-tx); text-underline-offset: 3px; }
html[data-aim-mode=dark] .empty a, html[data-aim-mode=dark] .how a { color: var(--lyellow); }
.how { display: grid; gap: 0; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } .how li + li { border-left: 1px solid var(--line); padding-left: 28px; } }
.how li { counter-increment: s; padding: 24px 28px 4px 0; }
.how li::before { content: "0" counter(s); display: block; font: 600 13px/1 var(--body); letter-spacing: .1em; color: var(--mute); margin-bottom: 14px; }
.how h3 { font: 600 21px/1.2 var(--head); margin: 0 0 8px; }
.how p { margin: 0; font-size: 15.5px; color: var(--mute2); line-height: 1.55; }

/* ---------- the work ---------- */
.proj { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .proj { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .proj { grid-template-columns: repeat(3, minmax(0, 1fr)); } .proj .big { grid-column: span 2; grid-row: span 2; } }
.pc { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.pc .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--s2); }
.pc .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pc:hover .ph img { transform: scale(1.04); }
@media (min-width: 1100px) { .proj .big .ph { aspect-ratio: auto; flex: 1 1 auto; min-height: 420px; } .proj .big { height: 100%; } }
.pc .where { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--mute); }
.pc h3 { font: 600 22px/1.15 var(--head); margin: 0; text-wrap: balance; }
.proj .big h3 { font-size: clamp(24px, 2.4vw, 34px); }
.pc p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--mute2); max-width: 60ch; }
.pc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.pc .tags li { font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-s); color: var(--mute2); }

/* ---------- how we work (software, standards, deliverables) + services ---------- */
.kit { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .kit { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kit > div + div { border-left: 1px solid var(--line); padding-left: 28px; } }
.kit > div { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); }
.kit h3 { font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; }
.kit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kit li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--s2); font: 600 14px/1.2 var(--body); }
.kit p { margin: 16px 0 0; font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.svcs { margin-top: clamp(36px, 5vw, 56px); }
.svcs ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); column-gap: 28px; }
.svcs li { border-top: 1px solid var(--line); }
.svcs a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; min-height: 52px; padding: 8px 0; text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--fg); }
.svcs a span { font: 600 12px/1 var(--body); letter-spacing: .06em; color: var(--mute); }
.svcs a svg { width: 14px; height: 14px; color: var(--mute); transition: transform .3s var(--ease), color .3s; }
.svcs a:hover svg { transform: translateX(3px); color: var(--fg); }
.svcs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- offices ---------- */
.offices { display: grid; gap: 16px; }
@media (min-width: 900px) { .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.office { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line-s); border-radius: 20px; background: var(--s1); }
.office.hl { background: var(--hl); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.office .coord { display: flex; justify-content: space-between; gap: 12px; font: 600 12px/1 var(--body); letter-spacing: .1em; color: var(--mute); }
.office .coord .pin { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.office .coord .pin::before { content: ""; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--acc); }
.office h3 { font: 600 clamp(28px, 3vw, 42px)/1.05 var(--head); letter-spacing: -.01em; margin: 6px 0 0; }
.office address { font-style: normal; color: var(--mute2); font-size: 16px; line-height: 1.55; }
.office ul { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.office ul a { display: inline-flex; align-items: center; min-height: 40px; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.office ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.office ul svg { width: 16px; height: 16px; color: var(--mute); flex: none; }
.office ul li.t { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15.5px; color: var(--mute2); }
.eg { display: grid; gap: 16px 28px; align-items: center; margin: 16px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 20px; }
@media (min-width: 700px) { .eg { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
.eg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--s2); }
.eg p { margin: 6px 0 0; font-size: 16px; color: var(--mute2); max-width: 60ch; }
.eg h3 { font: 600 22px/1.2 var(--head); margin: 8px 0 0; }

/* ---------- final call to action ---------- */
.cta { background: var(--band-bg); color: var(--band-fg); }
.cta .wrap { display: grid; gap: 28px 64px; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; } }
.cta .label { color: var(--yellow); }
.cta h2 { font: 600 clamp(34px, 4.4vw, 64px)/1.02 var(--head); letter-spacing: -.015em; margin: 12px 0 16px; max-width: 14ch; text-wrap: balance; }
.cta p { color: var(--band-mute); font-size: 17px; margin: 0; max-width: 50ch; }
.cta p a { color: var(--band-fg); text-underline-offset: 3px; }
.cta .row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn.ghost { color: var(--band-fg); border-color: rgba(247, 246, 242, .4); }
.cta .btn.ghost:hover { border-color: var(--band-fg); }
.social { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--band-line); color: var(--band-fg); text-decoration: none; font: 600 14px/1 var(--body); transition: border-color .3s var(--ease), background .3s var(--ease); }
.social a:hover { border-color: var(--band-fg); background: rgba(247, 246, 242, .06); }
.social svg { width: 18px; height: 18px; flex: none; }

/* ---------- footer ---------- */
.foot .wrap { padding-top: 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 14px 48px; color: var(--mute); font-size: 14px; }
.foot address { font-style: normal; max-width: 46ch; }
.foot .links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot .links a { text-decoration: none; color: var(--mute2); min-height: 36px; display: inline-flex; align-items: center; }
.foot .links a:hover, .foot .links a[aria-current=page] { color: var(--fg); text-decoration: underline; }

/* ---------- motion on scroll (only when JavaScript runs) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  :root { --hdrH: 60px; }
  body { font-size: 16px; }
  .brand img { height: 25px; }
  .hnav { gap: 0; }
  .hnav a { padding: 0 8px; font-size: 13.5px; }
  .hnav a.talk { padding: 0 13px; margin-left: 2px; }
  .hnav .aim-thm-btn { width: 38px !important; height: 38px !important; margin: 0 2px !important; }
  .flts { gap: 12px; }
  .flt legend { float: none; width: 100%; margin: 0 0 2px; }
  .fcount { margin: 0; width: 100%; }
  .job-acts .btn { flex: 1 1 auto; }
  .jd-foot .btn { width: 100%; }
}
@media (max-width: 420px) {
  .hnav a.svc { display: none; }
  .hero .row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* every role is open (client): details always shown */
.js .job-more, .job-more { grid-template-rows: 1fr !important; visibility: visible !important; transition: none !important; }
/* shorter hero (client): two-line headline, no fact row, roles start right after */
.hero h1 { font-size: clamp(34px, min(4.4vw, 7.2vh), 68px); max-width: 17ch; margin-bottom: clamp(12px, 2vh, 18px); }
.hero .dek { margin-bottom: clamp(16px, 2.4vh, 22px); }
.hero-meta { display: none; }
@media (min-width: 900px) { .hero { min-height: min(440px, calc(54svh - 52px)); } .hero-in { padding-top: clamp(18px, 3vh, 36px); padding-bottom: clamp(20px, 3.4vh, 40px); } }
.hero + .sec { padding-top: clamp(36px, 4.4vw, 60px); }
/* the roles come first: a compact heading so the first role shows on the first screen */
#openings .sec-hd h2, #openings h2#open-h { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; }
#openings .sec-hd, #openings > .wrap > div:first-child { margin-bottom: clamp(14px, 2vh, 22px); }
#openings .sec-h { margin-bottom: clamp(14px, 2vh, 22px) !important; align-items: end; }
#openings .sec-h p { margin: 0; }
#openings .flts { margin-bottom: clamp(14px, 2vh, 20px) !important; padding-block: 10px !important; }

/* recruitment e-mail under every role, and the per-country list for open applications */
.jd-foot .jd-mail { flex-basis: 100%; font-size: 15px; color: var(--mute2); }
.jd-mail a, .cvlist a { color: var(--acc-tx); text-underline-offset: 3px; font-weight: 600; word-break: break-all; }
html[data-aim-mode=dark] .jd-mail a { color: var(--lyellow); }
.cvlist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; max-width: 560px; border-top: 1px solid var(--band-line); }
.cvlist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--band-line); }
.cvlist li span { color: var(--band-mute); }
.cta .cvlist a { color: var(--yellow); }

/* the simplified HR card: description, then the bullet lists side by side, then apply + recruitment e-mail */
.jd.jd-hr { grid-template-columns: minmax(0, 1fr) !important; gap: 26px; }
.jd-desc { max-width: 78ch; }
.jd-desc p { margin: 0; font-size: 16.5px; line-height: 1.65; }
.jd-desc p + p { margin-top: 12px; }
.jd-lists { display: grid; gap: 24px 44px; }
@media (min-width: 900px) { .jd-lists { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.jd-lists h4 { margin-top: 0; }
.jd.jd-hr .jd-foot { grid-column: auto; }
