/* Inspirate careers: shared styles for index.html and every role page.
   This file is edited by hand. The HTML pages are generated by
   careers-src/build.py from careers-src/content.py. */

:root {
  --nav: #0d0d0f;
  --paper: #f7f7f5;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #3a3a37;
  --muted: #6a6a65;
  --line: #e3e2dc;
  --line-strong: #c9c7bf;
  --green: #55a882;        /* brand green (same as inspirateconsulting.com) */
  --green-hover: #478f6e;
  --green-strong: #3e9363; /* large green numbers on white */
  --green-ink: #2f7a4e;    /* green for small text on light backgrounds */
  --green-tint: #d6eddd;   /* marker highlight behind headline words */
  --green-wash: #eaf5ee;
  --green-edge: #d0e8d8;
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Facts still to fill in. Anything in [brackets] in content.py renders like this. */
.tbd {
  background: #ffefb3; color: #6b4f00;
  border-radius: 4px; padding: 0 .18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Nav (mirrors the main site) ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--nav); color: #fff; }
[id] { scroll-margin-top: 96px; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  text-decoration: none; color: #fff; line-height: 1;
}
.logo .br { color: var(--green); font-weight: 300; font-size: 1.3em; transform: translateY(-0.05em); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.pill) { text-decoration: none; font-size: 17px; font-weight: 500; color: #e6e6e2; transition: color .15s; }
.nav-links a:not(.pill):hover { color: #fff; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap;
  transition: background-color .15s, transform .15s;
}
.pill-green { background: var(--green); color: #fff; }
.pill-green:hover { background: var(--green-hover); }
.nav .pill { padding: 10px 26px; font-size: 18px; }
.pill-lg { padding: 16px 30px; font-size: 17px; }
.pill-xl { padding: 22px 56px; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
.pill-lg:hover, .pill-xl:hover { transform: translateY(-1px); }
.text-link {
  font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--green); padding-bottom: 2px;
}
.text-link:hover { color: var(--green-ink); }

/* ---------- Type ---------- */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); }
.mark {
  color: var(--green);
  background: linear-gradient(transparent 50%, var(--green-tint) 50%, var(--green-tint) 94%, transparent 94%);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.h2 {
  margin: 16px 0 0;
  font-size: clamp(32px, 4.8vw, 58px); font-weight: 900; line-height: 1.02;
  letter-spacing: -0.03em; text-transform: uppercase;
}

/* ---------- Index: hero ---------- */
.hero { padding: 104px 0 96px; text-align: center; }
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 8.2vw, 104px); font-weight: 900; line-height: .98;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.lead {
  max-width: 33em; margin: 32px auto 0;
  font-size: clamp(19px, 2.1vw, 24px); font-weight: 600; line-height: 1.5; color: var(--ink);
}
.hero .pill-xl { margin-top: 44px; }

.stats {
  list-style: none; max-width: 980px; margin: 80px auto 0; padding: 36px 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.stats li { padding: 4px 16px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line-strong); }
.stats strong { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
.stats li > span { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* ---------- Index: sections ---------- */
.section { padding: 112px 0; }
.section.white { background: var(--surface); }
.section-head { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.section-head .sub { max-width: 36em; margin: 22px auto 0; font-size: 18.5px; line-height: 1.6; color: var(--ink-2); }

.prose { max-width: 760px; margin: 0 auto; font-size: 18.5px; line-height: 1.75; color: var(--ink-2); }
.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.card h3 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; }
.card p { margin: 12px 0 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

.perk { text-align: center; }
.icon {
  width: 52px; height: 52px; margin: 0 auto 22px;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--green-wash); border: 1px solid var(--green-edge); color: var(--green-ink);
}
.icon svg { width: 24px; height: 24px; }

/* A single statement, set larger than a normal section heading. */
.principle .section-head { max-width: 1000px; margin-bottom: 0; }
.principle .kicker { max-width: 34em; margin: 18px auto 0; text-wrap: balance; font-size: clamp(18px, 2vw, 22px); font-weight: 500; line-height: 1.5; color: var(--ink-2); }
.principle .h2 { margin-top: 22px; font-size: clamp(40px, 7vw, 88px); line-height: 1.04; }
.u {
  padding-bottom: .02em;
  background: linear-gradient(currentColor, currentColor) left calc(100% - .02em) / 100% .09em no-repeat;
}
/* The two underlines draw in, one after the other, when the line scrolls into view. */
.motion .principle .u { background-size: 0 .09em; }
.motion .principle .is-in .u { background-size: 100% .09em; transition: background-size .6s cubic-bezier(.65, 0, .25, 1) .15s; }
.motion .principle .is-in .mark .u { transition-delay: .6s; }

/* ---------- Standard band ---------- */
.standard { background: var(--nav); color: #fff; padding: 112px 0; text-align: center; }
.standard .eyebrow { color: var(--green); }
.standard h2 {
  max-width: 17em; margin: 20px auto 0;
  font-size: clamp(32px, 5.2vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em;
}
.standard .mark { background: none; padding: 0; }

.punch { position: relative; display: inline-block; white-space: nowrap; background-repeat: no-repeat; background-size: 100% 100%; }
.punch .ch { display: inline-block; }
.punch .sp { white-space: pre; }
.glove { position: absolute; left: 50%; top: 100%; font-size: .95em; line-height: 1; opacity: 0; pointer-events: none; }
.motion .punch { color: var(--ink); background-size: 0 100%; }
.motion .punch.is-in { color: var(--green); background-size: 100% 100%; transition: color .3s .3s, background-size .5s cubic-bezier(.2, .8, .2, 1) .35s; }
.motion .punch.is-in .glove { animation: uppercut .85s cubic-bezier(.2, .9, .25, 1) both; }
.motion .punch.is-in .ch { animation: hop .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(.28s + var(--i) * 32ms); }
/* The emoji's fist faces left, so a quarter turn clockwise points it up. */
@keyframes uppercut {
  0%   { opacity: 0; transform: translate(-50%, 110%) rotate(78deg) scale(.8); }
  20%  { opacity: 1; }
  38%  { transform: translate(-50%, -60%) rotate(92deg) scale(1.08); }
  62%  { opacity: 1; transform: translate(-50%, -40%) rotate(84deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 70%) rotate(78deg) scale(.9); }
}
@keyframes hop {
  0%   { transform: none; }
  35%  { transform: translateY(-42%) rotate(-4deg) scale(1.06); }
  65%  { transform: translateY(6%) scale(.98); }
  100% { transform: none; }
}
.standard p.note { margin: 28px 0 0; font-size: 19px; font-weight: 500; color: #b9b9b3; }

/* ---------- Index: impact screenshots ---------- */
.impact { columns: 2 300px; column-gap: 28px; max-width: 1000px; margin: 0 auto; } /* two wide columns keep the text readable */
.shot {
  display: block; break-inside: avoid; margin: 0 0 28px;
  border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, .07), 0 22px 44px -26px rgba(20, 20, 20, .45);
  transform: rotate(var(--tilt, 0deg)); transition: transform .2s;
  cursor: zoom-in;
}
/* A slight, uneven tilt, like the screenshots on the homepage. */
.shot:nth-child(4n+1) { --tilt: -1.1deg; }
.shot:nth-child(4n+2) { --tilt: .8deg; }
.shot:nth-child(4n+3) { --tilt: -.4deg; }
.shot:nth-child(4n)   { --tilt: 1.2deg; }
.shot:hover, .shot:focus-visible { transform: rotate(0deg) scale(1.02); }
.shot img { display: block; width: 100%; height: auto; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 10, .85); }
.lightbox img { display: block; width: auto; height: auto; max-width: min(92vw, 760px); max-height: 90vh; border-radius: 14px; }
.lightbox-close {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font: 400 26px/1 Inter, system-ui, sans-serif;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

/* ---------- Index: role cards ---------- */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role-card {
  position: relative; display: flex; flex-direction: column; isolation: isolate; overflow: hidden;
  padding: 36px 36px 32px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .35s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
/* On hover: the card lifts, a green bar draws across the top, and a soft
   glow follows the pointer (site.js sets --mx / --my). */
.role-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(85, 171, 120, .16), transparent 65%);
  opacity: 0; transition: opacity .3s;
}
.role-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.role-card:hover, .role-card:focus-within { border-color: #b7dbc4; box-shadow: 0 26px 50px -30px rgba(18, 64, 38, .5); }
.motion .role-card:hover, .motion .role-card:focus-within { transform: translateY(-6px); }
.role-card:hover::before, .role-card:focus-within::before { opacity: 1; }
.role-card:hover::after, .role-card:focus-within::after { transform: scaleX(1); }
.role-card:target { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-wash); }
.team-tag {
  align-self: flex-start; padding: 5px 12px; border-radius: 6px;
  background: var(--green-wash); color: var(--green-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s, color .25s;
}
.role-card:hover .team-tag, .role-card:focus-within .team-tag { background: var(--green-ink); color: #fff; }
.role-card h3 { margin: 18px 0 0; font-size: 25px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.qual { font-weight: 600; color: var(--muted); }
.role-card p { flex: 1; margin: 14px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.meta li { display: inline-flex; align-items: center; gap: 7px; }
.meta svg { width: 16px; height: 16px; flex: none; }
.view-link {
  align-self: flex-start; margin-top: 22px; padding-bottom: 3px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: var(--green-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  transition: background-size .35s cubic-bezier(.2, .8, .2, 1);
}
.role-card:hover .view-link, .role-card:focus-within .view-link { background-size: 100% 2px; }
.view-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card is clickable */
.view-link svg { width: 18px; height: 18px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.role-card:hover .view-link svg, .role-card:focus-within .view-link svg { transform: translateX(6px); }

/* ---------- Open call ---------- */
.open-call { padding: 40px 0 120px; }
.open-card {
  padding: 80px 32px; text-align: center;
  background: var(--green-wash); border: 1px solid #cbe5d4; border-radius: 28px;
}
.open-card h2 {
  margin: 0; font-size: clamp(34px, 5vw, 60px); font-weight: 900; line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.open-card .mark { white-space: nowrap; }
.open-card p { max-width: 30em; margin: 24px auto 0; font-size: clamp(18px, 1.9vw, 21px); font-weight: 500; color: var(--ink-2); }
.open-card .pill-xl { margin-top: 36px; }

/* ---------- Role page: header ---------- */
.role-hero { padding: 48px 0 96px; }
.crumbs { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--green-ink); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.role-hero .eyebrow { margin-top: 56px; }
.role-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(42px, 7vw, 92px); font-weight: 900; line-height: .98;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.role-hero h1 .qual { display: block; margin-top: .35em; font-size: .4em; letter-spacing: -0.01em; }
.intro { max-width: 44em; margin: 30px 0 0; font-size: clamp(18px, 1.9vw, 21px); font-weight: 500; line-height: 1.6; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.tiles { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tiles li { padding: 28px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.tiles strong { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; color: var(--green-strong); }
.tiles li > span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; color: var(--muted); }

/* ---------- Role page: numbered sections ---------- */
.doc-section { padding: 88px 0; border-top: 1px solid var(--line-strong); }
.doc-section h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1.05;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.sec-intro { max-width: 44em; margin: 20px 0 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.doc-section .grid, .doc-section .panel { margin-top: 40px; }
.doc-section .callout { margin-top: 20px; }
.label { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.card .label + p { margin-top: 0; }

.panel { padding: 8px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.own-row { display: grid; grid-template-columns: 130px 1fr; gap: 8px 24px; padding: 28px 0; }
.own-row + .own-row { border-top: 1px solid var(--line); }
.kind {
  align-self: start; justify-self: start; margin-top: 2px; padding: 4px 10px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--green-wash); color: var(--green-ink); border: 1px solid var(--green-edge);
}
.kind.ongoing { background: #f1f0eb; color: #55554f; border-color: var(--line); }
.kind.seasonal { background: #fff4d6; color: #7a5800; border-color: #f1e2b3; }
.own-row h3 { margin: 0; font-size: 18.5px; font-weight: 800; letter-spacing: -0.01em; }
.own-row p { margin: 6px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }

.callout {
  padding: 24px 28px; border-radius: 14px;
  background: var(--green-wash); border: 1px solid #cbe5d4;
  font-size: 17px; line-height: 1.65; color: #24563a;
}
.callout p { margin: 0; }
.callout strong { color: #173f28; }

.pillar .num { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.pillar h3 { margin-top: 14px; font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }

.kpis { list-style: none; margin: 0; padding: 0; }
.kpis li { padding: 18px 0; border-top: 1px solid var(--line); }
.kpis li:first-child { padding-top: 0; border-top: 0; }
.kpis li:last-child { padding-bottom: 0; }
.kpis b { display: block; font-size: 17px; font-weight: 800; }
.kpis li > span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.checks li:first-child { padding-top: 0; border-top: 0; }
.checks li:last-child { padding-bottom: 0; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green-strong); }
.checks.no svg { color: #a3a39c; }

.steps { list-style: none; margin: 0; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 4px 20px; padding: 26px 0; }
.steps li + li { border-top: 1px solid var(--line); }
.steps .n {
  grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--green-wash); border: 1px solid var(--green-edge); color: var(--green-ink);
  font-size: 15px; font-weight: 800;
}
.steps h3 { margin: 6px 0 0; font-size: 18.5px; font-weight: 800; letter-spacing: -0.01em; }
.steps p { margin: 4px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }

/* ---------- Application form ---------- */
.apply-wrap { margin-top: 40px; padding: 44px 44px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.apply-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.apply-form[hidden], .apply-done[hidden] { display: none; }
.q { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.q.half { grid-column: auto; }
.q-label { padding: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; color: var(--ink); }
.q-note { font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.q-note.req { color: #b0442a; }
.loom-box { padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.loom-box p { margin: 0; }
.loom-lead { font-weight: 700; color: var(--ink); }
.loom-box ol { margin: 12px 0 14px; padding-left: 22px; }
.loom-box li { padding-left: 4px; }
.loom-box li + li { margin-top: 8px; }
.loom-box b { color: var(--ink); }
.loom-end { font-weight: 600; color: var(--ink); }
.form-preview { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: 10px; background: #fff4d6; border: 1px solid #f1e2b3; font-size: 15px; color: #6b4f00; }
.form-preview a { color: inherit; font-weight: 700; }
.q-hint { margin: -3px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.q input:not([type="radio"]):not([type="checkbox"]), .q select, .q textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.q input::placeholder, .q textarea::placeholder { color: #9a9a94; }
.q input:focus, .q select:focus, .q textarea:focus { outline: none; background: var(--surface); border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.q textarea { min-height: 132px; line-height: 1.55; resize: vertical; }
.q select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a65' 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 14px center; background-size: 18px;
}
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: background-color .15s, border-color .15s, color .15s;
}
.choice:hover span { border-color: var(--green); }
.choice input:checked + span { background: var(--green-wash); border-color: var(--green); color: var(--green-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
button.pill { border: 0; font-family: inherit; cursor: pointer; }
button.pill:disabled { opacity: .65; cursor: progress; transform: none; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; color: #a3341f; }
.form-status:empty { display: none; }
.form-alt { grid-column: 1 / -1; margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.form-alt a { color: var(--green-ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-done { padding: 28px 8px 20px; text-align: center; }
.apply-done h3 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; outline: none; }
.apply-done p { max-width: 30em; margin: 14px auto 0; font-size: 18px; color: var(--ink-2); }

.more-roles { padding: 8px 0 120px; }
.more-roles h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; }
.chips a {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .15s;
}
.chips a:hover { border-color: var(--green); }
.chips .all { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 48px; text-align: center; background: var(--nav); color: #a9a9a3; }
.footer .logo { font-size: 26px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin: 28px 0 0; padding: 0; }
.footer-links a { color: #d6d6d1; font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer small { display: block; margin-top: 28px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links li:not(:last-child) { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .grid-3.trio { grid-template-columns: repeat(3, 1fr); } /* three cards: never leave one on its own row */
  .trio .card { padding: 30px 24px; }
}
@media (max-width: 760px) {
  .role-grid, .grid-2, .grid-3.trio { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stats li:nth-child(3) { border-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .wrap { height: 64px; }
  .logo { font-size: 24px; }
  .nav .pill { padding: 8px 20px; font-size: 16px; }
  .hero { padding: 64px 0 72px; }
  .stats { margin-top: 56px; }
  .pill-xl { padding: 18px 36px; font-size: 17px; }
  .section, .standard { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 30px 24px; }
  .role-card { padding: 28px 24px 26px; }
  .role-card h3 { font-size: 22px; }
  .open-call { padding: 24px 0 80px; }
  .open-card { padding: 56px 20px; border-radius: 22px; }
  .role-hero { padding: 32px 0 72px; }
  .role-hero .eyebrow { margin-top: 40px; }
  .tiles li { padding: 22px 12px; }
  .doc-section { padding: 64px 0; }
  .panel { padding: 4px 22px; }
  .own-row { grid-template-columns: 1fr; padding: 22px 0; }
  .apply-wrap { padding: 26px 20px 24px; }
  .apply-form { grid-template-columns: 1fr; gap: 24px; }
  .q.half { grid-column: 1 / -1; }
  .more-roles { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
