/* Inland Care Jobs — one stylesheet, no framework.
   Palette: midnight ink, royal blue (brand, and the Washington side of maps),
   amber (the Idaho side), teal (new), violet (bonuses), gold (featured). */

/* Fonts are served from this site (no third-party requests). SIL Open Font License: fonts/LICENSE.txt */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/bricolage-grotesque.woff2) format("woff2-variations"), url(fonts/bricolage-grotesque.woff2) format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/plus-jakarta-sans.woff2) format("woff2-variations"), url(fonts/plus-jakarta-sans.woff2) format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(fonts/plus-jakarta-sans-italic.woff2) format("woff2-variations"), url(fonts/plus-jakarta-sans-italic.woff2) format("woff2");
}

@property --rz { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --grow { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --paper: #f5f7fb;
  --surface: #ffffff;
  --sunk: #eef2f8;
  --ink: #0b1324;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e3e8f0;
  --line-strong: #cbd5e1;
  --brand: #3155f5;
  --brand-2: #7c4dff;
  --brand-hover: #2442d8;
  --brand-ink: #ffffff;
  --brand-tint: #eaf0ff;
  --grad: linear-gradient(120deg, #3155f5 0%, #5b4dff 55%, #7c4dff 100%);
  --grad-text: linear-gradient(100deg, #2442d8 0%, #5b3df0 60%, #7c3aed 100%);
  --teal: #0b8a7b;
  --teal-tint: #e0f5f1;
  --gold: #a16207;
  --gold-tint: #fdf3dc;
  --violet: #6d28d9;
  --violet-tint: #f1eafe;
  --warn: #9a3412;
  --warn-tint: #fdeee4;
  --area-spokane: #3155f5;
  --area-cda: #f59e0b;
  /* Older names, kept so templates and pages written before the redesign still work. */
  --pine: var(--brand);
  --pine-hover: var(--brand-hover);
  --pine-ink: var(--brand-ink);
  --pine-tint: var(--brand-tint);
  --lake: var(--area-cda);
  --focus: #3155f5;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 16px -6px rgba(15, 23, 42, 0.10);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, 0.04), 0 18px 40px -12px rgba(30, 41, 99, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.84rem;
  --step-0: 0.97rem;
  --step-1: 1.08rem;
  --step-2: 1.4rem;
  --step-3: 1.85rem;
  --step-4: 2.6rem;
  --wrap: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #070b16;
    --surface: #0e1526;
    --sunk: #131c32;
    --ink: #e8ecf6;
    --ink-2: #bcc5d9;
    --muted: #8b97b1;
    --line: #1d2842;
    --line-strong: #2c3a5c;
    --brand: #7f9bff;
    --brand-hover: #a3b7ff;
    --brand-ink: #070b16;
    --brand-tint: #16214a;
    --grad-text: linear-gradient(100deg, #9db4ff 0%, #b8a6ff 60%, #c4b5fd 100%);
    --teal: #4fd1c0;
    --teal-tint: #0f2e2c;
    --gold: #f6c453;
    --gold-tint: #33270c;
    --violet: #c4b5fd;
    --violet-tint: #241a44;
    --warn: #fdba8c;
    --warn-tint: #3a1d10;
    --area-spokane: #7f9bff;
    --area-cda: #fbbf24;
    --focus: #9db4ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 20px -8px rgba(0, 0, 0, 0.6);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.5), 0 22px 44px -14px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #070b16;
  --surface: #0e1526;
  --sunk: #131c32;
  --ink: #e8ecf6;
  --ink-2: #bcc5d9;
  --muted: #8b97b1;
  --line: #1d2842;
  --line-strong: #2c3a5c;
  --brand: #7f9bff;
  --brand-hover: #a3b7ff;
  --brand-ink: #070b16;
  --brand-tint: #16214a;
  --grad-text: linear-gradient(100deg, #9db4ff 0%, #b8a6ff 60%, #c4b5fd 100%);
  --teal: #4fd1c0;
  --teal-tint: #0f2e2c;
  --gold: #f6c453;
  --gold-tint: #33270c;
  --violet: #c4b5fd;
  --violet-tint: #241a44;
  --warn: #fdba8c;
  --warn-tint: #3a1d10;
  --area-spokane: #7f9bff;
  --area-cda: #fbbf24;
  --focus: #9db4ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 20px -8px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.5), 0 22px 44px -14px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
main { overflow-x: clip; }
[hidden] { display: none !important; }
a { color: var(--brand); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, var(--step-4)); font-weight: 700; }
h2 { font-size: var(--step-2); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* Preview banner */
.preview-banner {
  background: var(--warn-tint); color: var(--warn); border-bottom: 1px solid var(--line);
  font-size: var(--step--1); padding-block: 8px; text-align: center; font-weight: 700;
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 6px 12px rgba(49, 85, 245, 0.35)); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.03em; }
.brand-name span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px 4px; flex-wrap: wrap; align-items: center; font-size: 0.92rem; font-weight: 600; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 7px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }
.nav-cta { padding: 9px 16px; font-size: 0.92rem; }
@media (min-width: 641px) { .nav { order: 2; } .nav-cta { order: 3; margin-left: -6px; } }
@media (max-width: 640px) {
  /* Phones: logo and "Post a job" on the first row, the page links on a second row. */
  .site-header .wrap { gap: 6px 12px; min-height: 0; padding-block: 10px 6px; }
  .brand { order: 1; }
  .nav-cta { order: 2; padding: 8px 14px; font-size: 0.85rem; }
  .nav {
    order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 0; font-size: 0.86rem;
    margin-inline: -8px; scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 6px 9px; }
}
@media (max-width: 360px) { .brand-name { font-size: 1.08rem; } .nav a { padding: 6px 7px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff !important; border: 0;
  border-radius: 999px; padding: 11px 20px; font-weight: 700; text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.97rem; line-height: 1.2; letter-spacing: -0.005em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(49, 85, 245, 0.55);
}
.btn:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 28px -6px rgba(49, 85, 245, 0.65); }
.btn-ghost { background: var(--surface); color: var(--ink) !important; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface); border-color: var(--brand); color: var(--brand) !important; filter: none; box-shadow: var(--shadow); }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 18px; border-radius: 28px;
  padding: clamp(22px, 4vw, 52px);
  color: #e7ecf7;
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(124, 77, 255, 0.42), transparent 62%),
    radial-gradient(760px 420px at -8% 112%, rgba(20, 184, 166, 0.30), transparent 60%),
    radial-gradient(620px 380px at 58% 72%, rgba(49, 85, 245, 0.34), transparent 70%),
    linear-gradient(160deg, #0a1024 0%, #0f1836 52%, #0a1127 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -40px rgba(10, 16, 36, 0.65);
  display: grid; gap: 28px;
}
.hero::before {
  /* fine dot grid for texture */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: 24px; }
}
.hero-copy { display: grid; gap: 18px; align-content: start; position: relative; z-index: 2; }
.hero-eyebrow { color: rgba(231, 236, 247, 0.72); display: block; line-height: 1.7; }
.pulse { display: inline-block; vertical-align: 1px; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.55rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.grad {
  background: linear-gradient(100deg, #9db4ff 0%, #c4b5fd 45%, #5eead4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 1.08rem; color: rgba(231, 236, 247, 0.78); max-width: 52ch; }
.hero-search {
  display: flex; gap: 8px; padding: 6px; border-radius: 999px; max-width: 560px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-search input[type="search"] {
  flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 14px; font-size: 1rem;
}
.hero-search input[type="search"]::placeholder { color: rgba(231, 236, 247, 0.55); }
.hero-search input[type="search"]:focus { outline: none; }
.hero-search:focus-within { border-color: rgba(157, 180, 255, 0.7); box-shadow: 0 0 0 4px rgba(49, 85, 245, 0.25); }
.hero-search .btn { flex: none; padding: 11px 20px; }
.hero-field { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }
.hero-field input[type="search"] { width: 100%; padding-right: 40px; }
@media (max-width: 520px) {
  .hero-search { flex-direction: column; border-radius: 22px; padding: 8px; }
  .hero-search input[type="search"] { padding-block: 12px; }
  .hero-search .btn { width: 100%; justify-content: center; padding-block: 12px; }
}
/* A small round × inside search boxes, shown once there's something to clear */
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 17px; line-height: 1; font-family: var(--font-body);
  background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink-2);
}
.search-clear:hover { background: color-mix(in srgb, var(--ink) 18%, transparent); color: var(--ink); }
.search-clear[hidden] { display: none; }
.hero-field .search-clear { background: rgba(255, 255, 255, 0.14); color: #fff; }
.hero-field .search-clear:hover { background: rgba(255, 255, 255, 0.24); }
.field-search { position: relative; }
.field-search input { padding-right: 40px; }
.clear-filters {
  border: 0; background: none; padding: 0; margin-left: 8px; cursor: pointer; font: inherit; font-weight: 700;
  color: var(--brand); text-decoration: underline; text-underline-offset: 2px;
}
.clear-filters[hidden] { display: none; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0 0; max-width: 600px; }
@media (max-width: 560px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-stats div {
  padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero-stats dt { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(231, 236, 247, 0.6); white-space: nowrap; }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }

/* The 3D map: the region drawn to scale on a tilted plane, north at the back, with one
   tower per town. Nothing is rotated sideways, so towns on the same latitude line up. */
.hero-visual { position: relative; z-index: 1; display: grid; gap: 6px; justify-items: center; }
.scene {
  --rx: 58deg; --rx-p: 0deg; --rz-p: 0deg; --k: 1;
  position: relative; width: min(100%, 560px); perspective: 1500px; perspective-origin: 50% 30%;
  padding: 36px 0 0;
}
@media (max-width: 959px) { .scene { --k: 0.8; width: min(100%, 460px); padding-top: 26px; } }
@media (max-width: 420px) { .scene { --k: 0.66; } }
.plane {
  position: relative; width: 92%; margin: -20% auto -12%; border-radius: 22px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx) + var(--rx-p))) rotateZ(calc(var(--rz) + var(--rz-p)));
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 12.5% 10%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 12.5% 10%,
    linear-gradient(160deg, rgba(49, 85, 245, 0.40), rgba(124, 77, 255, 0.22) 55%, rgba(20, 184, 166, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 50px 70px -30px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(124, 77, 255, 0.15);
}
.plane-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plane-art .river { fill: none; stroke: #7dd3fc; stroke-width: 0.55; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.plane-art .river-columbia, .plane-art .river-snake { stroke-width: 0.8; }
.plane-art .lake { fill: rgba(125, 211, 252, 0.34); stroke: rgba(125, 211, 252, 0.7); stroke-width: 0.3; stroke-linejoin: round; }
.plane-art .border { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 0.35; stroke-dasharray: 1.6 1.2; }
.state-label {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.42);
}
.hub { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; transform-style: preserve-3d; }
.hub i {
  position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12), 0 0 10px rgba(157, 180, 255, 0.8);
}
.hub em {
  position: absolute; left: 0; top: 0; transform-origin: 0 0; font-style: normal; white-space: nowrap;
  transform: translateZ(6px) rotateZ(calc(-1 * (var(--rz) + var(--rz-p)))) rotateX(calc(-1 * (var(--rx) + var(--rx-p)))) translate(-50%, -125%);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(231, 236, 247, 0.6);
}
.tower {
  --tw: calc(var(--w) * var(--k));
  --gh: calc(var(--h) * var(--k) * var(--grow));
  position: absolute; left: var(--x); top: var(--y);
  width: var(--tw); height: var(--tw); margin: calc(var(--tw) / -2) 0 0 calc(var(--tw) / -2);
  transform-style: preserve-3d;
  --c-top-1: #c7d4ff; --c-top-2: #7b95ff; --c-s: #4b6cf7; --c-w: #2c48c7; --c-glow: rgba(99, 132, 255, 0.55);
}
.tower-cda { --c-top-1: #ffe7b3; --c-top-2: #ffbf47; --c-s: #f29b0c; --c-w: #c27405; --c-glow: rgba(255, 184, 64, 0.55); }
.tower .face { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* Slightly see-through, like glass, so a small town's tower still shows behind a big one. */
.tower .south, .tower .north, .tower .east, .tower .west { opacity: 0.78; }
.tower .top {
  inset: 0; transform: translateZ(var(--gh));
  background: linear-gradient(135deg, var(--c-top-1), var(--c-top-2));
  box-shadow: 0 0 12px var(--c-glow);
}
.tower .south {
  left: 0; top: calc(var(--tw) - var(--gh)); width: var(--tw); height: var(--gh);
  transform-origin: bottom; transform: rotateX(-90deg);
  background: linear-gradient(to top, color-mix(in srgb, var(--c-s) 70%, #0a1024), var(--c-s));
}
.tower .north {
  left: 0; top: 0; width: var(--tw); height: var(--gh);
  transform-origin: top; transform: rotateX(90deg);
  background: var(--c-s);
}
.tower .east {
  top: 0; left: calc(var(--tw) - var(--gh)); width: var(--gh); height: var(--tw);
  transform-origin: right; transform: rotateY(90deg);
  background: var(--c-w);
}
.tower .west {
  top: 0; left: 0; width: var(--gh); height: var(--tw);
  transform-origin: left; transform: rotateY(-90deg);
  background: linear-gradient(to left, var(--c-w), color-mix(in srgb, var(--c-w) 60%, #0a1024));
}
.tower .shadow {
  position: absolute; left: 25%; top: 25%; width: calc(var(--tw) * 1.5); height: calc(var(--tw) * 1.5);
  background: radial-gradient(closest-side, rgba(3, 6, 20, 0.55), transparent);
  transform: translateZ(0.2px); filter: blur(2px);
}
.tower .stem {
  /* a thin line from the tower's roof up to its floating label */
  position: absolute; left: calc(50% - 0.5px); top: calc(50% - (var(--tz) * var(--k) - var(--h) * var(--k)) * var(--grow)); width: 1px;
  height: calc((var(--tz) * var(--k) - var(--h) * var(--k)) * var(--grow)); transform-origin: bottom;
  transform: translateZ(var(--gh)) rotateX(-90deg);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.15));
}
.tower .tag {
  position: absolute; left: 50%; top: 50%; transform-origin: 0 0;
  transform: translateZ(calc(var(--tz) * var(--k) * var(--grow))) rotateZ(calc(-1 * (var(--rz) + var(--rz-p)))) rotateX(calc(-1 * (var(--rx) + var(--rx-p)))) translate(var(--tag-x, -50%), var(--tag-y, -100%));
  white-space: nowrap; font-size: 0.64rem; font-weight: 600; color: #fff; line-height: 1.2;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(10, 16, 36, 0.78); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.tower .tag b { font-family: var(--font-display); font-size: 0.72rem; margin-right: 4px; }
.tower.is-minor { --tag-x: calc(var(--tw) / 2 + 4px); --tag-y: -50%; }
.tower.no-stem .stem { display: none; }
.tower.is-minor .tag { font-size: 0.6rem; padding: 1px 6px; background: rgba(10, 16, 36, 0.66); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.tower.is-minor .tag b { font-size: 0.66rem; margin-right: 3px; }
.hub.is-covered em, .state-label.is-covered { opacity: 0; }
.tower.is-major .tag { font-size: 0.72rem; padding: 4px 9px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tower.is-major .tag b { font-size: 0.84rem; }
@media (max-width: 420px) {
  .tower .tag { font-size: 0.58rem; padding: 2px 6px; }
  .tower .tag b { font-size: 0.64rem; margin-right: 3px; }
  .tower.is-major .tag { font-size: 0.64rem; padding: 3px 7px; }
  .tower.is-major .tag b { font-size: 0.74rem; }
  .hub em { font-size: 0.54rem; }
}
/* With the page script on, labels are drawn flat over the map instead (sharp, always on
   top, placed so none covers another); they fade in once the towers have risen. */
.js .tower .tag, .js .tower .stem { display: none; }
.map-labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; }
.scene.is-placed .map-labels { opacity: 1; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-lines line { stroke: rgba(255, 255, 255, 0.78); stroke-width: 1; }
.map-lines circle { fill: #fff; }
.map-label {
  position: absolute; left: 0; top: 0; white-space: nowrap; display: inline-flex; align-items: center;
  font-size: 0.64rem; font-weight: 600; line-height: 1.2; color: #fff;
  padding: 2px 7px 2px 6px; border-radius: 999px;
  background: rgba(10, 16, 36, 0.74); border: 1px solid rgba(255, 255, 255, 0.14);
}
.map-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; background: #7b95ff; flex: none; }
.map-label.is-cda::before { background: #ffbf47; }
a.map-label { pointer-events: auto; text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease; }
a.map-label:hover { background: rgba(49, 85, 245, 0.85); border-color: rgba(255, 255, 255, 0.4); }
.map-label b { font-family: var(--font-display); font-size: 0.7rem; margin-right: 4px; }
.map-label.is-major {
  font-size: 0.74rem; padding: 4px 11px 4px 9px; background: rgba(10, 16, 36, 0.82);
  border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.map-label.is-major b { font-size: 0.86rem; }
@media (max-width: 420px) {
  .map-label { font-size: 0.58rem; padding: 1px 6px 1px 5px; }
  .map-label b { font-size: 0.62rem; }
  .map-label.is-major { font-size: 0.66rem; padding: 3px 8px 3px 7px; }
  .map-label.is-major b { font-size: 0.74rem; }
}
.scene-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 0.8rem; color: rgba(231, 236, 247, 0.65); }
.scene-legend .dot { margin-right: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .tower { animation: rise 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--d, 0ms); }
  .pulse { animation: ping 2.4s ease-out infinite; }
  .map-labels { transition-delay: 1.1s; }
}
@keyframes rise { from { --grow: 0.02; } to { --grow: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }

/* Role chips under the hero */
.browse { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px 22px; }
.browse a {
  display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.browse a:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); color: var(--brand); box-shadow: var(--shadow); transform: translateY(-1px); }
.browse a span { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
@media (max-width: 719px) {
  .browse { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .browse::-webkit-scrollbar { display: none; }
  .browse a { flex: none; }
}

/* Old intro block (kept for pages that still use it) */
.intro { padding-block: 28px 20px; display: grid; gap: 12px; }
.intro p.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; }
.statline { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 0.93rem; }
.statline strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Board layout */
.board { display: grid; gap: 20px; padding-bottom: 56px; }
@media (min-width: 960px) {
  .board { grid-template-columns: 288px minmax(0, 1fr); gap: 32px; align-items: start; }
  /* app.js keeps the sidebar in view while the list scrolls ("Sidebar" there). Without the
     script it simply scrolls with the page, so every card can always be reached. */
}
.board-side { display: grid; gap: 16px; }
@media (max-width: 959px) {
  /* Phones: filters, then the jobs, then the pay cards. */
  .board-side { display: contents; }
  .board-side > .filters { order: 0; }
  .board > section { order: 1; }
  .board-side > .card { order: 2; }
}

/* Filters */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.filters summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; font-family: var(--font-display); font-size: 1.3rem; color: var(--muted); }
.filters[open] summary::after { content: "–"; }
.filters .fields { display: grid; gap: 14px; margin-top: 12px; }
@media (min-width: 960px) {
  .filters summary { display: none; }
  .filters .fields { margin-top: 0; }
}
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0.01em; }
input[type="search"], input[type="email"], select {
  width: 100%; font: inherit; font-size: 0.93rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 9px 11px;
}
input[type="search"]:focus, input[type="email"]:focus, select:focus { border-color: var(--brand); outline: 3px solid var(--brand-tint); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 7px 4px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border-radius: 9px; line-height: 1.2; color: var(--ink-2); }
.seg input:checked + label { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: -3px; }
.checks { display: grid; gap: 8px; }
.checks label { display: flex; gap: 8px; align-items: center; font-size: 0.92rem; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--brand); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reset { background: none; border: 0; color: var(--brand); font: inherit; font-size: var(--step--1); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; justify-self: start; }

/* Results */
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 14px; }
.results-head h2 { font-size: var(--step-2); }
.count { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.sort select { width: auto; padding: 7px 10px; background: var(--surface); }

.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.job {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px));
}
.job::after {
  /* light sheen that follows the pointer (set by app.js) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(49, 85, 245, 0.07), transparent 45%);
  transition: opacity 0.2s ease;
}
.job:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow-lift); --lift: -2px; }
.job:hover::after { opacity: 1; }
.job.is-featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(120deg, #f59e0b, #fbbf24 40%, #7c4dff) border-box;
  box-shadow: var(--shadow), 0 10px 30px -14px rgba(245, 158, 11, 0.55);
}
.job-link {
  display: grid; gap: 4px 18px; padding: 16px 18px; color: inherit; text-decoration: none;
  grid-template-columns: 1fr auto;
  grid-template-areas: "pay when" "title title" "meta meta" "chips chips";
}
@media (min-width: 720px) {
  .job-link {
    grid-template-columns: 188px minmax(0, 1fr) auto;
    grid-template-areas: "pay title when" "pay meta when" "pay chips when";
    padding: 18px 20px; align-items: start;
  }
  .job-pay { border-right: 1px solid var(--line); padding-right: 14px; align-self: stretch; }
}
.job-pay { grid-area: pay; font-family: var(--font-display); line-height: 1.1; }
.job-pay strong {
  display: block; white-space: nowrap; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.job-pay strong.is-long { font-size: 1.06rem; letter-spacing: -0.025em; }
.job-pay .unit { display: block; margin-top: 3px; font-family: var(--font-body); font-size: 0.76rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.job-pay .unit-alt { margin-top: 1px; font-weight: 500; }
.job-pay .nopay { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.job-title { grid-area: title; font-family: var(--font-body); font-size: 1.04rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.3; }
.job-link:hover .job-title { color: var(--brand); }
.job-meta { grid-area: meta; color: var(--ink-2); font-size: 0.9rem; }
.job-when { grid-area: when; font-size: 0.8rem; font-weight: 600; color: var(--muted); white-space: nowrap; text-align: right; }
.job-link .chips { grid-area: chips; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; line-height: 1; padding: 6px 9px; border-radius: 999px;
  background: var(--sunk); color: var(--ink-2); font-weight: 600; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.chip-new { background: var(--teal-tint); color: var(--teal); border-color: transparent; }
.chip-new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-featured { background: linear-gradient(120deg, #f59e0b, #fbbf24); color: #3b2300; border-color: transparent; }
.chip-bonus { background: var(--violet-tint); color: var(--violet); border-color: transparent; }
.chip-train { background: var(--brand-tint); color: var(--brand); border-color: transparent; }
.chip-direct { background: var(--grad); color: #fff; border-color: transparent; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.dot-spokane { background: var(--area-spokane); }
.dot-cda { background: var(--area-cda); }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); }

/* Side cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.card p { line-height: 1.55; }
.card h2, .card h3 { font-size: 1rem; }
.snap { width: 100%; border-collapse: collapse; font-size: 0.86rem; line-height: 1.35; }
.snap th, .snap td { text-align: left; padding: 8px 0 8px 12px; border-bottom: 1px solid var(--line); }
.snap th:first-child, .snap td:first-child { padding-left: 0; }
.snap td.num, .snap th.num { white-space: nowrap; width: 1%; }
.snap th { font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.snap td.num, .snap th.num { text-align: right; font-variant-numeric: tabular-nums; }
.snap td.num { font-weight: 700; }
.snap tr:last-child td { border-bottom: 0; }
.cta-card {
  position: relative; overflow: hidden; color: #e7ecf7; border: 0;
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(124, 77, 255, 0.55), transparent 70%),
    radial-gradient(240px 160px at 0% 100%, rgba(20, 184, 166, 0.35), transparent 70%),
    linear-gradient(160deg, #0a1024, #121c40);
  box-shadow: 0 20px 40px -20px rgba(10, 16, 36, 0.7);
}
.cta-card h2 { color: #fff; }
.cta-card a { color: #fff; font-weight: 700; }
.cta-card p { color: rgba(231, 236, 247, 0.8); }
.fed-card { border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); background: linear-gradient(160deg, var(--brand-tint), var(--surface) 70%); }
.fed-card a { font-weight: 700; }

/* Page header (inner pages) */
.page-head { position: relative; padding-block: 40px 22px; display: grid; gap: 12px; isolation: isolate; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 0 -40px -10px; border-radius: 0 0 40px 40px;
  background:
    radial-gradient(520px 220px at 12% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(420px 200px at 90% 10%, color-mix(in srgb, var(--brand-2) 14%, transparent), transparent 70%);
}
.page-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }
.crumbs { font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--ink-2); font-size: 0.9rem; font-weight: 600; background: var(--surface); box-shadow: var(--shadow-sm); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Job page */
.job-page {
  display: grid; gap: 24px; padding-block: 12px 64px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "facts" "body" "cta";
}
@media (min-width: 960px) {
  .job-page {
    grid-template-columns: minmax(0, 1fr) 340px; column-gap: 44px;
    grid-template-areas: "head facts" "body facts" "body cta";
    grid-template-rows: auto auto 1fr;
  }
}
.jp-head { grid-area: head; display: grid; gap: 12px; align-content: start; }
.jp-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.jp-head .employer { font-size: var(--step-1); color: var(--ink-2); }
.jp-head .apply-row { margin-top: 8px; }
.jp-facts { grid-area: facts; align-self: start; }
.jp-body { grid-area: body; }
.jp-cta { grid-area: cta; align-self: start; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lift); }
.facts .pay-block {
  padding: 20px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 4px;
  background: linear-gradient(160deg, var(--brand-tint), var(--surface) 75%);
}
.facts .pay-big {
  font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.facts .pay-big.is-long { font-size: clamp(1.3rem, 5.6vw, 1.75rem); white-space: nowrap; }
.facts dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.facts dt, .facts dd { padding: 11px 22px; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--muted); font-size: 0.88rem; padding-right: 8px; }
.facts dd { font-weight: 600; font-size: 0.93rem; }
.facts dl > :nth-last-child(-n+2) { border-bottom: 0; }
.apply-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notice { border-radius: var(--radius); padding: 14px 16px; background: var(--sunk); color: var(--ink-2); font-size: 0.93rem; display: grid; gap: 6px; }
.notice-closed { background: var(--warn-tint); color: var(--warn); font-weight: 700; }
.prose { display: grid; gap: 12px; max-width: 70ch; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.section { display: grid; gap: 14px; }

/* Job details (job page) */
.detail-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.detail-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow);
}
.detail-card h3 { display: flex; align-items: center; gap: 10px; font-size: 0.98rem; }
.ic { width: 28px; height: 28px; border-radius: 9px; flex: none; display: inline-grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.ic::before { content: ""; width: 14px; height: 14px; background: #fff; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic-req { background: var(--grad); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.ic-sched { background: linear-gradient(120deg, #0ea5a4, #14b8a6); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4 3.3 3.3-1.4 1.4L11 13V6h2z'/%3E%3C/svg%3E"); }
.ic-ben { background: linear-gradient(120deg, #f59e0b, #fbbf24); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.2 3.1 4 7 4c2 0 3.6 1.1 5 2.8C13.4 5.1 15 4 17 4c3.9 0 6.1 4.2 4.6 7.7C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.92rem; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 20px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: 0.7; }

/* Pay range bar (job page) */
.rangebar { position: relative; height: 56px; margin-top: 4px; }
.rangebar .track { position: absolute; left: 0; right: 0; top: 26px; height: 6px; border-radius: 3px; background: var(--sunk); }
.rangebar .span { position: absolute; top: 24px; height: 10px; border-radius: 5px; background: var(--grad); min-width: 10px; box-shadow: 0 4px 12px -2px rgba(49, 85, 245, 0.45); }
.rangebar .median { position: absolute; top: 18px; width: 2px; height: 22px; margin-left: -1px; background: var(--ink); }
.rangebar .median-label { position: absolute; top: 0; transform: translateX(-50%); font-size: 0.74rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rangebar .scale { position: absolute; top: 40px; font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Pay comparison page */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 0.88rem; margin: 0 0 12px; color: var(--ink-2); }
.paybars { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; box-shadow: var(--shadow); }
.pb-row { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 8px 18px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.pb-row:last-child { border-bottom: 0; }
.pb-name { font-size: 0.92rem; font-weight: 700; line-height: 1.3; }
.pb-name small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.pb-bars { display: grid; gap: 6px; }
.pb-bar { display: grid; grid-template-columns: 22px minmax(0, 1fr) 64px; align-items: center; gap: 8px; }
.pb-tag { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; color: var(--muted); }
.pb-track { height: 10px; border-radius: 6px; background: var(--sunk); overflow: hidden; }
.pb-fill { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 6px; }
.pb-spokane .pb-fill { background: var(--area-spokane); }
.pb-cda .pb-fill { background: var(--area-cda); }
.pb-val { font-size: 0.86rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pb-val.is-none { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
@media (max-width: 600px) {
  .paybars { padding: 4px 16px; }
  .pb-row { grid-template-columns: 1fr; }
}
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data th, table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; background: var(--sunk); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td small { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 500; margin-top: 2px; white-space: nowrap; }
@media (max-width: 600px) {
  /* Phones: each table row becomes a small card, with the column name above each figure. */
  table.data-pay, table.data-pay tbody { display: block; }
  table.data-pay thead { display: none; }
  table.data-pay tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.data-pay.cols-2 tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table.data-pay tr:last-child { border-bottom: 0; }
  table.data-pay td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  table.data-pay td:first-child { grid-column: 1 / -1; font-weight: 700; }
  table.data-pay td small { white-space: normal; }
  table.data-pay td.num { text-align: left; }
  table.data-pay td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 1px;
    font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  }
}

/* Pricing */
.value-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value-grid .card { align-content: start; }
.value-grid h3 { font-size: 1.02rem; letter-spacing: -0.01em; }
.value-grid code { font-size: 0.82em; word-break: break-all; }
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow);
}
.plan.is-main {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-lift), 0 20px 50px -24px rgba(91, 77, 255, 0.55);
}
.plan .price { font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 0.9rem; font-weight: 600; letter-spacing: 0; color: var(--muted); font-family: var(--font-body); }
.plan ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink-2); font-size: 0.93rem; }
.steps { counter-reset: step; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff;
  background: var(--grad); box-shadow: 0 8px 18px -6px rgba(49, 85, 245, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.steps li .muted { font-size: 0.9rem; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--ink-2); }

/* Employers */
.emp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.emp-list li a {
  display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; text-decoration: none; color: var(--ink); height: 100%; box-shadow: var(--shadow);
}
.emp-list li a:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.emp-list .emp-name { font-weight: 700; }

/* Forms (alerts) */
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.signup input { flex: 1 1 240px; }
.form-note { font-size: var(--step--1); color: var(--muted); }
.form-status { font-weight: 700; color: var(--brand); }

/* Footer */
.site-footer {
  position: relative; overflow: hidden; margin-top: 40px; padding-block: 48px 36px; font-size: 0.9rem; color: rgba(231, 236, 247, 0.72);
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(124, 77, 255, 0.28), transparent 70%),
    radial-gradient(500px 240px at 0% 100%, rgba(20, 184, 166, 0.18), transparent 70%),
    linear-gradient(180deg, #0a1024, #070b18);
}
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot-grid h2 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(231, 236, 247, 0.5); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: rgba(231, 236, 247, 0.82); text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(231, 236, 247, 0.55); font-size: 0.82rem; display: grid; gap: 4px; max-width: 90ch; }

.stack { display: grid; gap: 32px; padding-bottom: 64px; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 64ch; }

@media (prefers-reduced-motion: no-preference) {
  .job, .btn, .browse a, .emp-list li a, .nav a, .plan, .steps li {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.15s ease, filter 0.2s ease;
  }
  .plan:hover, .steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
}

/* Town links under the role links on the home page, and small lists in sidebar cards */
.browse-towns { padding-top: 0; margin-top: -10px; }
.browse-label { align-self: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.92rem; }
.plain-list .muted { font-size: 0.82rem; }
.more-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Plain facts and common questions (read by people, search engines and AI assistants alike) */
.facts-summary { max-width: 72ch; margin-top: 10px; padding: 12px 16px; border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--brand-tint) 70%, transparent); color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }
.qa { max-width: 860px; }
.qa-item { padding-block: 14px; border-bottom: 1px solid var(--line); }
.qa-item:last-child { border-bottom: 0; }
.qa-item h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.005em; margin: 0 0 6px; }
.qa-item p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.glance { max-width: 860px; padding-bottom: 40px; }
.glance p { color: var(--ink-2); line-height: 1.65; max-width: 72ch; }
.findings ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.55; color: var(--ink-2); max-width: 80ch; }
