@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #14213d;
  --ink-2: #3a4560;
  --ink-3: #5d6880;
  --paper: #edf1f7;
  --card: #ffffff;
  --rule: #d5dce8;
  --focus: #1f6feb;
  --cs: #c8363f;      /* Customer Support & Success, coral red */
  --tech: #2b5fb4;    /* Technology & IT, royal blue */
  --ops: #e9a100;     /* Operations & Coordination, marigold */
  --admin: #6a4c93;   /* Administration & Business Support, plum */
  --sales: #2a7d45;   /* Sales & Account Management, green */
  --mkt: #b0317a;     /* Marketing & Communications, magenta */
  --health: #0b7a80;  /* Healthcare & Mental Health, teal */
  --all: #14213d;
  --good: #0d7a55;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4e00;
  --radius: 6px;
  --head: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); z-index: 10; }
.skip:focus { top: 12px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Top ---------- */
.top { padding: 28px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.top-join { font-weight: 700; font-size: 0.95rem; color: var(--ink); text-underline-offset: 3px; }
.top-join[hidden] { display: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem/1 var(--head); letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
.hero { padding: 26px 0 10px; }
.hero > * { max-width: 760px; }
.hero h1 {
  font: 800 clamp(2.1rem, 6.4vw, 3.6rem)/1.02 var(--head);
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  font-stretch: 92%;
}
.hero p { margin: 0 0 22px; color: var(--ink-2); font-size: 1.125rem; max-width: 60ch; }

.search { display: flex; gap: 8px; }
.search input {
  flex: 1; min-width: 0;
  font: 400 1.125rem/1.2 var(--body);
  padding: 15px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
}
.search input::placeholder { color: var(--ink-3); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--body);
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
  cursor: pointer; text-decoration: none;
  min-height: 48px;
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: 9px 12px; min-height: 40px; font-size: 0.95rem; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost:hover { background: #fff; filter: none; }

.status { margin: 14px 0 0; font-size: 0.95rem; color: var(--ink-3); min-height: 1.5em; }
.status strong { color: var(--ink); }

/* ---------- Quick picks ---------- */
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.pill {
  font: 600 0.95rem/1 var(--body);
  padding: 10px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  min-height: 40px;
}
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill:hover { border-color: var(--ink-3); }

/* ---------- Category buttons ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.cats + .quick { margin-top: 10px; }
.cat-pill {
  --c: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 0.95rem/1 var(--body);
  padding: 9px 13px;
  min-height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--c);
  background: color-mix(in srgb, var(--c) 10%, #fff);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.cat-pill .n { font-weight: 600; font-size: 0.85rem; color: var(--ink-2); }
.cat-pill:hover { background: color-mix(in srgb, var(--c) 20%, #fff); }
.cat-pill[aria-pressed="true"] { background: var(--c); color: #fff; }
.cat-pill[aria-pressed="true"] .n { color: #fff; }
.cat-pill[data-cat="Customer Support & Success"] { --c: var(--cs); }
.cat-pill[data-cat="Technology & IT"] { --c: var(--tech); }
.cat-pill[data-cat="Operations & Coordination"] { --c: var(--ops); }
.cat-pill[data-cat="Administration & Business Support"] { --c: var(--admin); }
.cat-pill[data-cat="Sales & Account Management"] { --c: var(--sales); }
.cat-pill[data-cat="Marketing & Communications"] { --c: var(--mkt); }
.cat-pill[data-cat="Healthcare & Mental Health"] { --c: var(--health); }
/* Marigold is too light for white text, so the active Operations button keeps dark text. */
.cat-pill[data-cat="Operations & Coordination"][aria-pressed="true"],
.cat-pill[data-cat="Operations & Coordination"][aria-pressed="true"] .n { color: var(--ink); }
@media (max-width: 720px) {
  .cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 2px 16px; }
  .cats::-webkit-scrollbar { display: none; }
  .cats li { flex: 0 0 auto; }
}

/* ---------- Folder tabs (the one bold idea) ---------- */
.drawer { margin-top: 28px; }
.tabs {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 0 2px; margin: 0; list-style: none;
  position: relative; z-index: 1;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  --c: var(--all);
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  font: 700 0.98rem/1.15 var(--head);
  padding: 11px 16px 10px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  color: var(--ink);
  cursor: pointer;
  box-shadow: inset 0 4px 0 var(--c);
  max-width: 220px;
  text-align: left;
}
.tab .n { font: 600 0.82rem/1 var(--body); color: var(--ink-3); }
.tab[aria-selected="true"] { background: var(--card); padding-bottom: 14px; margin-bottom: -4px; }
.tab[aria-selected="true"] .n { color: var(--ink-2); }
.tab[data-cat="Customer Support & Success"] { --c: var(--cs); }
.tab[data-cat="Technology & IT"] { --c: var(--tech); }
.tab[data-cat="Operations & Coordination"] { --c: var(--ops); }
.tab[data-cat="Administration & Business Support"] { --c: var(--admin); }
.tab[data-cat="Sales & Account Management"] { --c: var(--sales); }
.tab[data-cat="Marketing & Communications"] { --c: var(--mkt); }
.tab[data-cat="Healthcare & Mental Health"] { --c: var(--health); }

.panel {
  background: var(--card);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 0 var(--rule);
}
.layout { display: grid; gap: 20px; }
@media (min-width: 980px) {
  .layout { grid-template-columns: 270px 1fr; gap: 28px; }
  .filters-toggle { display: none !important; }
  .filters { display: block !important; position: static !important; box-shadow: none !important; padding: 0 !important; max-height: none !important; }
  .filters .sheet-head { display: none; }
  .side-h { display: block !important; }
}
.side-h { display: none; font: 700 1.15rem/1.2 var(--head); margin: 0 0 12px; }
.filters:focus { outline: none; }
.text-in { width: 100%; font: 400 1rem/1.2 var(--body); padding: 11px 12px; border: 1.5px solid var(--rule); border-radius: var(--radius); }
.foot nav .foot-link { padding: 0; font-size: inherit; color: inherit; }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a:hover { text-decoration: underline; }

/* ---------- Filters ---------- */
.filters-toggle { width: 100%; }
.filters { display: none; }
.filters.open {
  display: block; position: fixed; inset: auto 0 0 0; z-index: 20;
  background: var(--card); padding: 18px 16px 24px; border-radius: 14px 14px 0 0;
  max-height: 86vh; overflow: auto; box-shadow: 0 -12px 40px rgba(20, 33, 61, 0.25);
}
.scrim { position: fixed; inset: 0; background: rgba(20, 33, 61, 0.4); z-index: 19; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sheet-head h2 { font: 700 1.2rem/1 var(--head); margin: 0; }
.field { margin: 0 0 16px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.field .hint { font-size: 0.85rem; color: var(--ink-3); margin: 4px 0 0; }
select {
  width: 100%;
  font: 400 1rem/1.2 var(--body);
  padding: 11px 12px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  min-height: 46px;
}
fieldset { border: 0; padding: 0; margin: 0 0 16px; }

/* ---------- Results ---------- */
.results-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.count { font: 700 1.15rem/1.2 var(--head); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 0.88rem/1 var(--body);
  padding: 7px 8px 7px 11px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; color: var(--ink);
}
.chip span[aria-hidden] { font-size: 1.05rem; line-height: 0.6; color: var(--ink-3); }
.linklike { background: none; border: 0; color: var(--ink); text-decoration: underline; font: inherit; font-size: 0.92rem; cursor: pointer; padding: 6px 2px; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

/* Index card */
.job {
  --c: var(--ink);
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 2px var(--radius) var(--radius) var(--radius);
  padding: 30px 16px 16px;
  background-image: linear-gradient(var(--c), var(--c));
  background-size: 100% 3px;
  background-repeat: no-repeat;
}
.job[data-cat="Customer Support & Success"] { --c: var(--cs); }
.job[data-cat="Technology & IT"] { --c: var(--tech); }
.job[data-cat="Operations & Coordination"] { --c: var(--ops); }
.job[data-cat="Administration & Business Support"] { --c: var(--admin); }
.job[data-cat="Sales & Account Management"] { --c: var(--sales); }
.job[data-cat="Marketing & Communications"] { --c: var(--mkt); }
.job[data-cat="Healthcare & Mental Health"] { --c: var(--health); }
.job.featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.job .featured-tag { position: absolute; top: 8px; right: 10px; font: 700 0.78rem/1 var(--body); background: var(--ops); color: var(--ink); padding: 4px 8px; border-radius: 999px; }
.job .tabmark {
  position: absolute; top: -1px; left: -1px;
  font: 700 0.78rem/1 var(--body);
  padding: 6px 10px 6px;
  background: var(--c); color: #fff;
  border-radius: 2px 0 8px 0;
}
.job[data-cat="Operations & Coordination"] .tabmark { color: var(--ink); }
.job h3 { font: 700 1.2rem/1.25 var(--head); letter-spacing: -0.01em; margin: 4px 0 2px; }
.job .employer { margin: 0 0 10px; color: var(--ink-2); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 0.97rem; }
.facts li { display: flex; gap: 6px; align-items: baseline; }
.facts .pay { font-weight: 700; }
.facts .nopay { color: var(--ink-3); }
.where { margin: 0 0 8px; font-size: 0.97rem; }
.where.limit { color: var(--ink); }
.note { font-size: 0.88rem; color: var(--ink-3); margin: 0 0 8px; }
.stale { font-size: 0.88rem; background: var(--warn-bg); color: var(--warn-ink); padding: 6px 9px; border-radius: 4px; margin: 0 0 10px; }
.license { font-size: 0.9rem; color: var(--ink); margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--health); }
.dates { font-size: 0.86rem; color: var(--ink-3); margin: 0 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions .btn { min-height: 44px; }

.more { display: flex; justify-content: center; margin: 18px 0 4px; }
.more[hidden] { display: none; }
.empty, .error, .loading { padding: 28px 8px; text-align: left; }
.empty h3, .error h3 { font: 700 1.2rem/1.2 var(--head); margin: 0 0 6px; }
.skeleton { height: 150px; border-radius: var(--radius); background: linear-gradient(90deg, #eef2f7, #f7f9fc, #eef2f7); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Digest ---------- */
.digest { margin: 30px 0 0; background: var(--ink); color: #fff; border-radius: 10px; padding: 22px 18px; }
.digest h2 { font: 800 1.45rem/1.1 var(--head); margin: 0 0 6px; letter-spacing: -0.02em; }
.digest p { margin: 0 0 14px; color: #d8deeb; }
.digest form { display: grid; gap: 10px; max-width: 560px; }
.digest .row { display: flex; gap: 8px; }
.digest input[type="email"] { flex: 1; min-width: 0; font: 400 1.05rem var(--body); padding: 13px 14px; border-radius: var(--radius); border: 2px solid #fff; }
.digest .btn { background: var(--ops); color: var(--ink); border-color: var(--ops); }
.digest .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: #d8deeb; }
.digest .agree input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.digest .msg { font-weight: 700; min-height: 1.4em; margin: 0; }
.trap { position: absolute; left: -9999px; }

/* ---------- Dialog ---------- */
dialog { border: 0; border-radius: 12px; padding: 0; width: min(520px, 100% - 24px); color: var(--ink); }
dialog::backdrop { background: rgba(20, 33, 61, 0.5); }
.dlg { padding: 20px; }
.dlg h2 { font: 700 1.25rem/1.2 var(--head); margin: 0 0 4px; }
.dlg p.sub { margin: 0 0 14px; color: var(--ink-2); font-size: 0.95rem; }
.dlg label.opt { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.dlg label.opt input { width: 20px; height: 20px; }
.dlg textarea { width: 100%; min-height: 90px; font: 400 1rem/1.4 var(--body); padding: 10px; border: 1.5px solid var(--rule); border-radius: var(--radius); }
.dlg .btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }

/* ---------- Footer & pages ---------- */
.foot { margin: 48px auto 0; padding: 28px 0 40px; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--ink-2); }
.foot { text-align: center; padding-bottom: 120px; } /* room so a Netlify banner on the page bottom never covers the footer text */
.foot p { margin: 0 0 8px; }
.foot .foot-about { max-width: 62ch; margin: 0 auto 18px; line-height: 1.55; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; max-width: 980px; margin: 0 auto; }
@media (max-width: 520px) { .foot nav { gap: 8px 14px; font-size: 0.9rem; padding: 0 4px; } }
.foot .foot-join { margin: 0 0 16px; font-weight: 600; }
.foot-join a[hidden] { display: none; }
.join-card { list-style: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 18px 18px 20px; }
.join-card h3 { font: 800 1.2rem/1.15 var(--head); margin: 0 0 4px; letter-spacing: -0.01em; }
.join-card p { margin: 0 0 12px; color: #d8deeb; }
.join-card .btn { background: var(--ops); color: var(--ink); border-color: var(--ops); text-decoration: none; display: inline-block; }
.foot .foot-credit { margin: 18px 0 0; font-weight: 600; color: var(--ink); }
.prose { max-width: 68ch; background: var(--card); padding: 22px 18px; border-radius: 10px; }
.prose h1 { font: 800 2rem/1.1 var(--head); letter-spacing: -0.02em; margin: 0 0 12px; }
.prose .updated { color: var(--ink-3); font-size: 0.95rem; margin: 0 0 18px; }
.legal p, .legal li { line-height: 1.6; }
.legal ul, .legal ol { padding-left: 1.3em; }
.prose h2 { font: 700 1.2rem/1.2 var(--head); margin: 24px 0 6px; }

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
  * { scroll-behavior: auto !important; }
}
@media (max-width: 520px) {
  .search { flex-direction: column; }
  .digest .row { flex-direction: column; }
  .panel { padding: 14px 12px; }
}

/* For employers form */
.prose .field input, .prose .field textarea { width: 100%; max-width: 520px; box-sizing: border-box; min-height: 44px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 8px 10px; }
.prose .field textarea { min-height: 110px; }

/* Save room for the status line and the button rows before the jobs load, so nothing below them
   jumps down when they fill in (PageSpeed layout shift check, 2026-10-17). Heights match what
   the rows take once filled: phones 3 status lines, 1 scrolling category row, 3 quick rows;
   wider screens 2 lines and 2 rows each. */
.status { min-height: 84px; }
.cats { min-height: 44px; }
.quick { min-height: 136px; }
.count { min-height: 22px; }
@media (min-width: 520px) {
  .status { min-height: 56px; }
  .quick { min-height: 88px; }
}
@media (min-width: 721px) {
  .cats { min-height: 88px; }
}

/* site-audit pass, 2026-10-18 (candidate). Delete this block to roll back. */
/* 1. Filter button, chip, dropdown and dialog text box edges were #d5dce8, 1.4:1 against white. WCAG 1.4.11 asks for 3:1 so people can see where a box is. The For employers fields were already darker and are left alone. */
:root { --edge: #7d879c; }
select, .text-in, .dlg textarea, .pill, .chip { border-color: var(--edge); }
/* 2. The Operations category button edge was marigold, 2.2:1. A darker marigold edge reaches 3.5:1 on the page background. Fill and text stay the same. */
.cat-pill[data-cat="Operations & Coordination"] { border-color: #a87700; }
/* 3. Filter buttons, small buttons and chips were 40px tall. 44px is the size a thumb can hit without missing. */
.pill, .cat-pill, .btn.small, .actions .btn, .chip { min-height: 44px; }
/* 4. Text buttons (Leave feedback, Report a problem, Clear all) were 35px tall. Same 44px reason. */
.linklike { min-height: 44px; display: inline-flex; align-items: center; }
/* 5. The site name and the top email link were 24 to 30px tall. Same 44px reason. */
.top-join, .brand { min-height: 44px; display: inline-flex; align-items: center; }
/* 6. Footer links were 20 to 22px tall and short ones like "Jobs" were narrow. Same 44px reason. The row gap goes to 0 because each link now carries its own height. */
.foot nav a, .foot nav .foot-link, .foot-join a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.foot nav { row-gap: 0; }
/* 7. Choices in the report and feedback dialogs were 42px tall. Same 44px reason. */
.dlg label.opt { min-height: 44px; }
/* 8. Rows saved before jobs load must match the taller buttons, or the page jumps (keeps the 2026-10-17 layout shift fix). */
.cats { min-height: 48px; }
.quick { min-height: 148px; }
@media (min-width: 520px) { .quick { min-height: 96px; } }
@media (min-width: 721px) { .cats { min-height: 96px; } }
/* 9. Card color stripe drawn with an inset shadow instead of a background gradient. Looks the same. Contrast checkers read the old gradient as the text background and reported false failures. */
.job { background-image: none; box-shadow: inset 0 3px 0 var(--c); }
.job.featured { box-shadow: inset 0 3px 0 var(--c), 0 0 0 1px var(--ink); }
/* 10. Phone filter sheet used vh, which ignores the browser bar on phones. dvh fits the real screen. Older browsers keep the 86vh rule above. */
.filters.open { max-height: 86dvh; }
/* 11. Hover looks that were missing on filter chips and text buttons. */
.chip:hover { border-color: var(--ink); }
.linklike:hover { text-decoration-thickness: 2px; }
/* 12. Even line breaks in the headline and intro, so no single word sits alone on the last line. */
.hero h1 { text-wrap: balance; }
.hero p, .prose p { text-wrap: pretty; }
