/* USA Jobs 24 — Americana palette
   Navy (the canton) · Old Glory red · Brass gold (stars) · Cream (paper) */
:root {
  --ruby: #14305C;
  --ruby-deep: #0C2045;
  --ruby-ink: #081733;
  --ruby-tint: #E9EFF8;
  --gold: #C9A227;
  --gold-light: #F2D98A;
  --gold-pale: #FBF3DC;
  --gold-ink: #7A5E0E;
  --emerald: #B22234;
  --emerald-deep: #8E1A29;
  --emerald-tint: #FBEBED;
  --blue: #1D5AA6;
  --ivory: #FBF8F1;
  --ivory-2: #F2EEE4;
  --ink: #1A2233;
  --ink-soft: #5A6475;
  --line: #E2DDD0;
  --radius-m: 14px;
  --radius-l: 24px;
  --display: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --body: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='%23FFFFFF' fill-opacity='.05'%3E%3Cpath d='M16 6l2.4 7.3H26l-6.2 4.5 2.4 7.3-6.2-4.5-6.2 4.5 2.4-7.3L6 13.3h7.6z'/%3E%3Cpath d='M48 38l2.4 7.3H58l-6.2 4.5 2.4 7.3-6.2-4.5-6.2 4.5 2.4-7.3-6.2-4.5h7.6z'/%3E%3C/g%3E%3C/svg%3E");
  --starstrip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cpath d='M10 2.2l1.4 4.2h4.4l-3.6 2.6 1.4 4.2L10 10.6l-3.6 2.6 1.4-4.2-3.6-2.6h4.4z' fill='%23F2D98A'/%3E%3Cpath d='M23 7h14' stroke='%23B22234' stroke-width='3'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--ivory); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--ruby); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; color: var(--ruby-deep); letter-spacing: -.01em; }
h1 { font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
h2 { font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.45rem); }
h3 { font-weight: 700; font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #2F5DA8; 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; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold-light); color: var(--ruby-deep); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

/* ---------- Header: navy with bunting ---------- */
.site-head { position: relative; z-index: 20; background: var(--ruby) var(--stars); color: #fff; border-bottom: 4px solid var(--emerald); box-shadow: 0 3px 0 #FBF8F1 inset, 0 -1px 0 var(--gold) inset; }
.site-head::before { content: ""; position: absolute; inset: 0 0 auto; height: 46px; background: url("/assets/img/bunting.svg?v=1") repeat-x 0 -2px / 1920px 46px; pointer-events: none; }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; padding-top: 2.9rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #FBF8F1; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: 1; }
.brand:hover { color: #FFFFFF; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: .74rem; letter-spacing: .01em; color: var(--gold-light); margin-top: .2rem; }
.nav { margin-left: auto; display: flex; gap: .25rem; align-items: center; }
.nav a { color: #E9EEF6; text-decoration: none; padding: .45rem .8rem; border-radius: 999px; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: rgba(240,214,138,.18); color: var(--gold-light); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(240,214,138,.5); color: #fff; border-radius: 10px; padding: .45rem .7rem; font: inherit; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; gap: .4rem; align-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ruby-deep); padding: .75rem 1.25rem 1.25rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; }
}

/* ---------- Hero: the US map, with a highway along the bottom ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: max(clamp(700px, calc(100vh - 110px), 920px), calc(328px + min(31.1vw, 541px))); background: radial-gradient(1000px 640px at 68% 58%, #E3EBF6 0%, var(--ivory) 64%); color: var(--ink); }
.hero-map { position: absolute; inset: 216px 0 2.6rem 0; z-index: 0; }
.hero-map .usmap { position: absolute; top: 50%; right: max(.5rem, calc(50% - 760px)); width: min(54vw, 940px); height: auto; aspect-ratio: 1060 / 610; max-width: none; transform: translateY(-50%); }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(251,248,241,.97) 0%, rgba(251,248,241,.9) 30%, rgba(251,248,241,.4) 40%, rgba(251,248,241,0) 47%); }
.hero-inner { position: relative; z-index: 2; padding-block: 2.4rem 4rem; pointer-events: none; }
.hero-copy { max-width: 32rem; pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-size: .88rem; font-weight: 500; }
.eyebrow svg { width: 16px; height: 16px; color: var(--emerald); }
.hero h1 { color: var(--ruby-deep); max-width: 13ch; font-size: clamp(2.3rem, 4.1vw, 3.7rem); }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 31rem; }
.hero-lede strong { color: var(--emerald); font-weight: 700; }
.search { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr auto; background: #fff; border: 1px solid #CDD6E4; border-radius: 16px; padding: .4rem; box-shadow: 0 18px 44px -22px rgba(12,32,69,.5); max-width: 40rem; }
.search label { display: flex; flex-direction: column; padding: .35rem .9rem; border-right: 1px solid var(--line); min-width: 0; }
.search label:nth-of-type(2) { border-right: 0; }
.search label span { font-size: .76rem; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.search input { border: 0; font: inherit; font-size: 1.02rem; color: var(--ink); padding: .1rem 0 .2rem; background: transparent; outline: none; min-width: 0; }
.search input::placeholder { color: #98A1AE; }
.search button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.02rem; background: var(--emerald); color: #fff; border-radius: 12px; padding: .8rem 1.45rem; text-decoration: none; transition: background .15s, transform .15s; }
.search button:hover, .btn:hover { background: var(--emerald-deep); color: #fff; }
.btn svg, .search button svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { background: transparent; color: var(--ruby); box-shadow: inset 0 0 0 2px var(--ruby); }
.btn-ghost:hover { background: var(--ruby); color: #fff; }
.btn-li { background: #0A66C2; color: #fff; }
.btn-li:hover { background: #084E96; color: #fff; }
.popular { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; align-items: center; font-size: .93rem; color: var(--ink-soft); }
.popular a { color: var(--ruby); text-decoration: none; padding: .25rem .75rem; border-radius: 999px; border: 1px solid rgba(20,48,92,.25); background: rgba(255,255,255,.75); }
.popular a:hover { background: var(--ruby); border-color: var(--ruby); color: #fff; }
.hero-foot { margin-top: 1.4rem; font-size: .92rem; color: var(--ink-soft); display: flex; gap: .45rem 1.2rem; flex-wrap: wrap; }
.hero-foot span { display: inline-flex; gap: .4rem; align-items: center; }
.hero-foot svg { width: 18px; height: 18px; color: var(--emerald); }

/* map: cream-to-navy shading, crisp white borders, red number badges */
.usmap { width: 100%; height: auto; overflow: visible; }
.usmap .st { stroke: #FFFFFF; stroke-width: 1.1; stroke-linejoin: round; transition: fill .35s ease; }
.usmap a:focus-visible .st, .usmap a:hover .st { fill: var(--gold-light) !important; }
.usmap .st.lead { fill: #E9C45A !important; stroke: var(--ruby-deep); stroke-width: 2; }
.usmap .leader { stroke: var(--ruby-deep); stroke-opacity: .5; stroke-width: 1; }
.usmap .callout circle { fill: var(--ruby-deep); }
.usmap .badge rect { fill: var(--emerald); stroke: #FFFFFF; stroke-width: 1.4; }
.usmap .badge text { fill: #FFFFFF; font-family: var(--body); font-weight: 700; font-size: 15.5px; text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
.usmap .badge { transform-box: fill-box; transform-origin: center; transition: transform .25s ease; }
.usmap .badge.lead { transform: scale(1.35); }
.usmap .badge.lead rect { fill: var(--gold-light); stroke: var(--ruby-deep); stroke-width: 1.6; }
.usmap .badge.lead text { fill: var(--ruby-deep); }
.usmap .ring { fill: none; stroke: var(--emerald); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.usmap .ring.go { animation: ring .5s ease-out; }
@keyframes ring { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(1.9); } }
.map-caption { position: absolute; z-index: 2; right: max(1.25rem, calc(50% - 600px)); bottom: 1rem; max-width: 16rem; text-align: right; font-size: .93rem; color: var(--ink-soft); margin: 0; }
.map-caption b { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--ruby-deep); line-height: 1.15; }
.map-caption .lead-name { color: var(--emerald); }
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-map, .hero-scrim { inset: auto 0 3.6rem 0; height: calc(57.5vw + 10px); }
  .hero-map .usmap { top: auto; bottom: 0; right: 0; left: 0; width: 100%; transform: none; }
  .hero-scrim { display: none; }
  .hero-inner { padding-block: 1.5rem calc(57.5vw + 182px + 4.6rem); }
  .hero-copy { max-width: none; }
  .map-caption { bottom: .7rem; left: 1.25rem; right: auto; max-width: none; text-align: left; }
  .map-caption b { display: inline; font-size: 1.15rem; }
  .map-caption .lead-text { display: block; }
  .search { grid-template-columns: 1fr; }
  .search label { border-right: 0; border-bottom: 1px solid var(--line); }
  .search label:nth-of-type(2) { border-bottom: 0; }
}

/* star-and-stripe divider */
.star-strip { height: 14px; background: var(--starstrip) repeat-x center; background-color: var(--ruby-ink); }

/* ---------- Sections ---------- */
.section { padding-block: 4.5rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .35rem 0 0; color: var(--ink-soft); max-width: 40rem; }
.more { font-weight: 700; color: var(--emerald); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--ruby); text-decoration: underline; }
.tint-mor { background: var(--emerald-tint); }
.tint-rani { background: var(--ruby-tint); }
.tint-mist { background: var(--ivory-2); }

/* categories as a two-column menu */
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); column-gap: 2.5rem; }
.menu li { border-bottom: 1px dashed #D6D0C2; }
.menu a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: .9rem; padding: .85rem .2rem; text-decoration: none; color: var(--ink); }
.menu a:hover { color: var(--ruby); }
.menu a:hover .ico { background: var(--ruby); color: #fff; }
.menu .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ruby-tint); color: var(--ruby); box-shadow: inset 0 0 0 1px rgba(20,48,92,.18); transition: background .15s, color .15s; }
.menu .ico svg { width: 22px; height: 22px; }
.menu .name { font-weight: 700; font-size: 1.08rem; }
.menu .count { font-family: var(--display); font-weight: 700; color: var(--emerald); font-variant-numeric: tabular-nums; }

/* job cards */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.jobs.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.job { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; transition: border-color .15s, box-shadow .15s; }
.job:hover { border-color: #AFC0D8; box-shadow: 0 10px 28px -16px rgba(12,32,69,.4); }
.job h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 700; margin: 0 0 .15rem; line-height: 1.3; }
.job h3 a { color: var(--ruby-deep); text-decoration: none; }
.job h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job h3 a:hover { color: var(--emerald); }
.job .co { font-weight: 500; color: var(--ink); margin: 0 0 .45rem; }
.facts { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--ink-soft); font-size: .93rem; margin: 0; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: .3rem; }
.facts li.pay { color: #1E6B45; font-weight: 600; }
.page-head .facts li.pay { color: var(--gold-light); }
.facts svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .55rem; border-radius: 6px; background: var(--emerald-tint); color: var(--emerald); }
.tag.new { background: var(--gold-pale); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(201,162,39,.5); }
.tag.fresh { background: var(--ruby-tint); color: var(--ruby); }
.tag { background: var(--emerald-tint); color: var(--emerald); }
.mono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #FFFFFF; letter-spacing: .01em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }

/* cities: the state code sits behind the name like a license plate */
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: .8rem; }
.city { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: end; min-height: 138px; padding: 1rem 1.1rem; border-radius: var(--radius-m); color: #FFFFFF; text-decoration: none; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: transform .15s; }
.city .plate { position: absolute; right: .8rem; top: .7rem; z-index: -1; font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1; letter-spacing: .06em; padding: .15rem .45rem .2rem; border: 2px solid rgba(255,255,255,.35); border-radius: 8px; color: rgba(255,255,255,.4); }
.city b { font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }
.city span { font-size: .93rem; opacity: .9; }
.city:hover { color: #FFFFFF; transform: translateY(-2px); }
.c0 { background: var(--ruby); } .c1 { background: var(--emerald); } .c2 { background: #2F5DA8; } .c3 { background: var(--ruby-deep); } .c4 { background: #7A1F2B; } .c5 { background: #1F4E5F; }

/* companies */
.companies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem 1.4rem; }
.companies a { display: grid; grid-template-columns: 40px 1fr auto; gap: .7rem; align-items: center; padding: .55rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.companies a:hover b { color: var(--ruby); }
.companies .mono { width: 40px; height: 40px; border-radius: 11px; font-size: .9rem; }
.companies b { font-weight: 700; }
.companies small { display: block; color: var(--ink-soft); font-size: .82rem; line-height: 1.2; }
.companies .n { font-family: var(--display); font-weight: 700; color: var(--emerald); }

/* steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.35rem; background: var(--ruby); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--emerald); }
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* safety band */
.safety { background: var(--ruby) var(--stars); color: #E4EAF3; border-radius: var(--radius-l); padding: 2.4rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; box-shadow: inset 0 0 0 2px rgba(242,217,138,.45); }
.safety h2 { color: #FFFFFF; }
.safety ul { margin: 0; padding-left: 1.1rem; }
.safety li { margin-bottom: .45rem; }
.safety a { color: var(--gold-light); }
.safety .btn { color: #fff; }
@media (max-width: 760px) { .safety { grid-template-columns: 1fr; padding: 1.6rem; } }

/* state table (accessible map alternative) */
.state-list { columns: 3 220px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.state-list li { break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dotted #C9CFDA; }
.state-list a { color: var(--ink); text-decoration: none; }
.state-list a:hover { color: var(--ruby); }
.state-list span { color: var(--emerald); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--ruby-deep) var(--stars); background-image: var(--stars), linear-gradient(160deg, var(--ruby) 0%, var(--ruby-deep) 100%); color: #DCE4F0; border-bottom: 4px solid var(--emerald); padding-block: .5rem 2.6rem; }
.page-head h1 { color: #FFFFFF; font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 26ch; }
.page-head p { max-width: 46rem; font-size: 1.1rem; }
.page-head .native-title { font-family: var(--display); font-size: 1.3rem; font-style: italic; color: var(--gold-light); margin: -.2rem 0 .6rem; }
.page-head .btn { background: var(--emerald); color: #fff; }
.page-head .btn:hover { background: #C8293D; color: #fff; }
.page-head .btn-li { background: #0A66C2; }
.page-head .btn-li:hover { background: #0C74DB; }
.crumbs { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .9rem; color: #DCE4F0; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; color: #9FB3CF; }
.crumbs a { color: #EEF2F8; }
.crumbs a:hover { color: var(--gold-light); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.chips a { color: #FFFFFF; text-decoration: none; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); font-size: .93rem; }
.chips a:hover { border-color: var(--gold-light); color: var(--gold-light); }

.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.2rem; padding-block: 2.5rem 4rem; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.3rem 1.4rem; margin-bottom: 1.2rem; }
.aside-box h2 { font-size: 1.2rem; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li { display: flex; justify-content: space-between; gap: .6rem; padding: .3rem 0; font-size: .97rem; }
.aside-box li a { color: var(--ink); text-decoration: none; }
.aside-box li a:hover { color: var(--ruby); }
.aside-box li span { color: var(--ink-soft); }
@media (max-width: 960px) { .list-layout { grid-template-columns: 1fr; } }

/* ---------- Job detail ---------- */
.job-head { display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; align-items: start; }
.job-head .mono { width: 72px; height: 72px; border-radius: 18px; font-size: 1.5rem; }
.job-head h1 { margin-bottom: .25rem; }
.job-head .co { font-size: 1.15rem; color: #FFFFFF; }
.job-head .co a { color: var(--gold-light); }
.job-head .facts { color: #DCE4F0; margin-top: .6rem; font-size: 1rem; }
@media (max-width: 600px) {
  .job-head { grid-template-columns: 1fr; gap: .8rem; }
  .job-head .mono { width: 52px; height: 52px; border-radius: 14px; font-size: 1.15rem; }
  .crumbs li:last-child { display: none; }
}
.apply-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.apply-row .btn-ghost { color: #FFFFFF; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); background: transparent; }
.apply-row .btn-ghost:hover { background: #FFFFFF; color: var(--ruby-deep); }
.desc { max-width: 72ch; }
.desc h3, .desc h4 { font-family: var(--display); margin-top: 1.6em; }
.desc ul, .desc ol { padding-left: 1.3rem; }
.desc li { margin-bottom: .35rem; }
.desc table { border-collapse: collapse; }
.desc td, .desc th { border: 1px solid var(--line); padding: .3rem .5rem; }
.note { background: var(--gold-pale); border-left: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; font-size: .97rem; }
.dl dt { color: var(--ink-soft); }
.dl dd { margin: 0; font-weight: 500; }
.verified { display: flex; gap: .6rem; align-items: start; color: var(--emerald); font-weight: 500; font-size: .95rem; }
.verified svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.sticky-apply { display: none; }
@media (max-width: 960px) {
  .sticky-apply { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(251,248,241,.97); border-top: 2px solid var(--emerald); gap: .6rem; }
  .sticky-apply .btn { flex: 1; }
  .sticky-apply .btn-li { flex: 0 0 64px; }
  body.has-sticky { padding-bottom: 76px; }
}

/* ---------- Search app ---------- */
.search-bar { background-image: var(--stars), linear-gradient(160deg, var(--ruby) 0%, var(--ruby-deep) 100%); padding-block: .5rem 1.6rem; border-bottom: 4px solid var(--emerald); }
.search-bar .search { max-width: none; margin-top: .4rem; }
.search-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; padding-block: 2rem 4rem; }
.filters fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }
.filters legend { font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--ruby-deep); margin-bottom: .4rem; }
.filters label { display: flex; align-items: center; gap: .55rem; padding: .2rem 0; cursor: pointer; font-size: .97rem; }
.filters label small { margin-left: auto; color: var(--ink-soft); }
.filters input[type="checkbox"], .filters input[type="radio"] { accent-color: var(--emerald); width: 17px; height: 17px; }
.filters select { width: 100%; font: inherit; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.results-head h1 { font-size: 1.5rem; margin: 0; }
.results-head select { font: inherit; padding: .4rem .6rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius-l); }
.empty svg { width: 90px; height: 90px; margin: 0 auto 1rem; }
.load-more { margin: 1.6rem auto 0; display: flex; }
@media (max-width: 900px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- Prose pages ---------- */
.prose { max-width: 72ch; padding-block: 2.5rem 4rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.7rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ruby-ink) var(--stars); color: #C9D4E5; padding-block: 3.5rem 0; font-size: .96rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 2rem; }
.site-foot h2 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: .8rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .35rem; }
.site-foot a { color: #E4EAF3; text-decoration: none; }
.site-foot a:hover { color: var(--gold-light); text-decoration: underline; }
.site-foot .brand { color: #FFFFFF; font-size: 1.45rem; }
.site-foot .fine { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(242,217,138,.2); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; color: #A9B7CC; padding-bottom: 2rem; }
.stripes { height: 12px; background: repeating-linear-gradient(180deg, var(--emerald) 0 2px, #FBF8F1 2px 4px); }
@media (max-width: 900px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Highway scene along the bottom of the hero ---------- */
.road-scene { position: absolute; top: .4rem; right: max(.5rem, calc(50% - 760px)); width: min(54vw, 940px); z-index: 2; height: 212px; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.sc-far, .sc-mid, .sc-road { position: absolute; left: 0; right: 0; background-repeat: repeat-x; }
.sc-far { bottom: 34px; height: 96px; background-size: 640px 96px; background-position: 0 100%; animation: sc-far 30s linear infinite; }
.sc-mid { bottom: 32px; height: 44px; background-size: 480px 44px; background-position: 0 100%; animation: sc-mid 3.2s linear infinite; }
.sc-road { bottom: 0; height: 34px; background-size: 48px 34px; background-position: 0 0; animation: sc-road .32s linear infinite; }
@keyframes sc-far { to { background-position: -640px 100%; } }
@keyframes sc-mid { to { background-position: -480px 100%; } }
@keyframes sc-road { to { background-position: -48px 0; } }
.truck-run { position: absolute; bottom: 8px; left: 52%; width: 340px; margin-left: -170px; animation: truck-surge 6s ease-in-out infinite; }
@keyframes truck-surge { 0%, 100% { transform: translateX(-26px); } 50% { transform: translateX(26px); } }
.truck { width: 100%; height: auto; overflow: visible; }
.truck .rig { transform-box: view-box; transform-origin: 170px 140px; animation: rig-bounce .5s ease-in-out infinite; }
@keyframes rig-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-1.6px) rotate(-.25deg); } 50% { transform: translateY(.4px); } 75% { transform: translateY(-.9px) rotate(.2deg); } }
.truck .spin { transform-box: fill-box; transform-origin: center; animation: spin .45s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.truck .crate { animation: crate .5s ease-in-out infinite; }
@keyframes crate { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-1.4px); } 60% { transform: translateY(.3px); } }
.truck .head { transform-box: view-box; animation: nod .5s ease-in-out infinite; }
@keyframes nod { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.truck .arm { transform-box: view-box; animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-24deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-22deg); } 80% { transform: rotate(4deg); } }
.truck .mouth { transform-box: fill-box; transform-origin: center; animation: shout-mouth 3.6s ease-in-out infinite; }
@keyframes shout-mouth { 0%, 40%, 100% { transform: scale(1); } 6%, 30% { transform: scale(1.6, 2); } }
.truck .shout { transform-box: view-box; animation: shout 3.6s ease-in-out infinite; }
@keyframes shout { 0%, 52%, 100% { transform: scale(0); opacity: 0; } 6% { transform: scale(1.12); opacity: 1; } 10%, 40% { transform: scale(1); opacity: 1; } 48% { transform: scale(.6); opacity: 0; } }
.truck .flag { transform-box: fill-box; transform-origin: 0 50%; animation: flag .24s ease-in-out infinite alternate; }
@keyframes flag { from { transform: skewY(-8deg) scaleX(.86); } to { transform: skewY(6deg) scaleX(1); } }
.truck .beam { opacity: .5; animation: beam 1.8s ease-in-out infinite alternate; }
@keyframes beam { from { opacity: .25; } to { opacity: .8; } }
.truck .puff { transform-box: fill-box; transform-origin: center; }
.truck .dust .puff { fill: #C9C2B3; animation: dust .9s ease-out infinite; }
.truck .dust .p2 { animation-delay: -.3s; } .truck .dust .p3 { animation-delay: -.6s; }
@keyframes dust { from { transform: translate(0, 0) scale(.4); opacity: .7; } to { transform: translate(-40px, -10px) scale(1.8); opacity: 0; } }
.truck .smoke .puff { fill: #9AA2AE; animation: smoke 1.5s ease-out infinite; }
.truck .smoke .s2 { animation-delay: -.5s; } .truck .smoke .s3 { animation-delay: -1s; }
@keyframes smoke { from { transform: translate(0, 0) scale(.5); opacity: .55; } to { transform: translate(-46px, -26px) scale(2.6); opacity: 0; } }
.truck .speed line { stroke: #9AA2AE; stroke-width: 2; stroke-linecap: round; animation: speed .5s linear infinite; }
.truck .speed line:nth-child(2) { animation-delay: -.17s; } .truck .speed line:nth-child(3) { animation-delay: -.34s; }
@keyframes speed { from { transform: translateX(0); opacity: .75; } to { transform: translateX(-22px); opacity: 0; } }
@media (max-width: 960px) {
  .truck-run { width: 280px; margin-left: -140px; left: 55%; bottom: 8px; }
  .road-scene { top: auto; bottom: calc(57.5vw + 3.6rem + 14px); left: 0; right: 0; width: auto; height: 178px; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Header slogan, state ribbon and footer state codes ---------- */
.brand .wm b { color: var(--gold-light); font-weight: 700; }
.brand .wm i { font-style: normal; display: inline-block; margin-left: .18rem; padding: .08rem .32rem .12rem; border-radius: 6px; background: var(--emerald); color: #fff; font-size: .78em; vertical-align: .14em; box-shadow: 0 0 0 1.5px rgba(255,255,255,.75); }
.brand small.tagline { font-family: var(--body); font-weight: 600; font-size: .78rem; letter-spacing: .02em; line-height: 1.25; min-height: 1.25em; white-space: nowrap; color: #C9D4E5; transition: opacity .3s ease, transform .3s ease; }
.tagline.out { opacity: 0; transform: translateY(-4px); }
@media (max-width: 520px) { .brand small.tagline { white-space: normal; max-width: 15.5rem; font-size: .74rem; } }
.state-ribbon { position: relative; overflow: hidden; background: var(--ruby-deep) var(--stars); border-block: 3px solid var(--emerald); box-shadow: inset 0 3px 0 #FBF8F1, inset 0 -3px 0 #FBF8F1; padding: .7rem 0; }
.sr-track { display: flex; width: max-content; animation: sr 140s linear infinite; }
.state-ribbon:hover .sr-track, .state-ribbon:focus-within .sr-track { animation-play-state: paused; }
.sr-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.sr-track li { position: relative; padding: 0 1.4rem; white-space: nowrap; }
.sr-track li::after { content: "★"; position: absolute; right: -.35rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: .7rem; }
.sr-track a { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.sr-track b { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; color: #FFFFFF; letter-spacing: .04em; }
.sr-track span { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: #B9C7DC; }
.sr-track a:hover b { color: var(--gold-light); }
@keyframes sr { to { transform: translateX(-50%); } }
.foot-states { margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.foot-states a { font-family: var(--display); font-weight: 700; font-size: .92rem; letter-spacing: .04em; padding: .18rem .42rem; border: 1px solid rgba(242,217,138,.3); border-radius: 6px; color: #DCE4F0; }
.foot-states a:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; text-decoration: none; }
.site-foot .fine a { color: var(--gold-light); }

/* ---------- Job card summary ---------- */
.job .sum { margin: -.1rem 0 .55rem; color: var(--ink-soft); font-size: .97rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- About, contact and disclaimer ---------- */
.prose .lead { font-size: 1.22rem; color: var(--ink); }
.prose .updated { margin-top: 2.5rem; font-size: .9rem; color: var(--ink-soft); }
.prose details.sources { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1.1rem; }
.prose details.sources summary { cursor: pointer; font-weight: 700; color: var(--ruby); }
.prose h2 { color: var(--ruby-deep); }
.prose details.sources ul { margin: .8rem 0 0; font-size: .95rem; }
.contact-form { position: relative; display: grid; gap: 1.05rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; margin: 1rem 0 1.5rem; box-shadow: 0 1px 0 rgba(20,48,92,.15); }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--ruby-deep); }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.02rem; padding: .7rem .85rem; border: 1px solid #D6D0C2; border-radius: 11px; background: var(--ivory); color: var(--ink); }
.field textarea { resize: vertical; min-height: 9.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); background: #fff; }
.field.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.form-status { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; margin: .8rem 0 0; }
.form-status.ok { background: #E8F3EC; color: #1E6B45; border: 1px solid #BFDCCB; }
.form-status.bad { background: var(--emerald-tint); color: var(--emerald-deep); border: 1px solid #EBC0C6; }
.disclaimer-box { background: var(--gold-pale); border: 1px solid #E9D59B; border-left: 5px solid var(--gold); border-radius: 12px; padding: 1rem 1.25rem; }
.disclaimer-box p:last-child { margin-bottom: 0; }

/* ---------- Living logo: the badge swings in, the ring of 13 stars turns, the gold star glows, and a glint
   runs across the name. Pointing at it spins the ring faster. ---------- */
.site-head .brand .lg { overflow: visible; }
html:not(.seen) .site-head .brand .lg { animation: badge-in .8s cubic-bezier(.3,1.45,.5,1) both; }
.site-head .lg .lg-ring, .site-head .lg .lg-star { transform-box: view-box; transform-origin: 20px 20px; }
.site-head .lg-ring { animation: spin 40s linear infinite; }
.site-head .lg-star { animation: star-glow 1.8s ease-in-out infinite alternate; }
.site-head .brand:hover .lg-ring { animation-duration: 4s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes badge-in { from { transform: scale(.2) rotate(-200deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes star-glow { from { transform: scale(.92); fill: #F2D98A; } to { transform: scale(1.08); fill: #FFE9A6; } }
.site-head .wm { display: inline-block; color: #FBF8F1; background: linear-gradient(105deg, #FBF8F1 0 40%, #FFE08A 46%, #FFFFFF 50%, #FFE08A 54%, #FBF8F1 60% 100%) 100% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: glint 6.5s ease-in-out 1s infinite; }
.site-head .wm > :not(i) { -webkit-text-fill-color: currentColor; }
@keyframes glint { 0% { background-position: 100% 0; } 26%, 100% { background-position: 0 0; } }

/* ---------- Smooth page-to-page transitions ----------
   Browsers that support cross-page view transitions fade the old page out and slide the new one up while the
   header stays put; pages are prerendered when you hover a link. Other browsers get a soft fade-in. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-head { view-transition-name: site-head; }
  ::view-transition-old(root) { animation: vt-out .2s ease-in both; }
  ::view-transition-new(root) { animation: vt-in .42s cubic-bezier(.2,.75,.25,1) both; }
  ::view-transition-old(site-head), ::view-transition-new(site-head) { animation-duration: .25s; }
  .no-vt main { animation: vt-in .45s cubic-bezier(.2,.75,.25,1) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* the bunting is drawn into the page (by common.js) so it can react to the pointer */
.bunting { position: absolute; top: -2px; left: 0; right: 0; height: 64px; display: flex; overflow: hidden; pointer-events: none; }
.bunting svg { flex: none; width: 1920px; max-width: none; height: 46px; overflow: visible; }
.site-head.bunting-live::before { background: none; }

/* ---------- Career guides ---------- */
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.guide-cards a { display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: 1.25rem 1.3rem 1.3rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ruby); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.guide-cards a:hover { transform: translateY(-2px); border-top-color: var(--emerald); box-shadow: 0 10px 24px rgba(12,32,69,.1); }
.guide-cards b { font-family: var(--display); font-size: 1.22rem; line-height: 1.25; color: var(--ruby-deep); }
.guide-cards span { color: var(--ink-soft); font-size: .98rem; }
.page-head .byline { color: #DCE4F0; font-size: .95rem; margin: .2rem 0 0; }
.guide-layout .prose { padding-top: 0; max-width: none; }
.guide-layout .prose .jobs { margin-top: 1rem; }

/* ---------- Hiring snapshot and job "at a glance" ---------- */
.snap-strip { list-style: none; margin: 1.1rem 0 .4rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; max-width: 46rem; }
.snap-strip li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: .55rem .8rem; }
.snap-strip b { display: block; font-family: var(--display); font-size: 1.45rem; line-height: 1.1; color: var(--gold-light); }
.snap-strip span { font-size: .85rem; color: #DCE4F0; }
@media (max-width: 600px) { .snap-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.snapshot { margin-top: 2.6rem; padding: 1.5rem 1.6rem 1.2rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--emerald); border-radius: var(--radius-m); }
.snapshot h2 { margin-top: 0; }
.snapshot > p { max-width: 75ch; }
.snap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.2rem 1.6rem; margin-top: 1.1rem; }
.bars h3 { font-family: var(--body); font-size: 1rem; margin: 0 0 .5rem; color: var(--ruby-deep); }
.bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.bars li { display: grid; grid-template-columns: minmax(0, 8.5rem) 1fr 2.6rem; align-items: center; gap: .5rem; font-size: .92rem; }
.bars .bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .bl a { color: var(--ink); text-decoration: none; }
.bars .bl a:hover { color: var(--ruby); text-decoration: underline; }
.bars .bt { height: .55rem; background: var(--ruby-tint); border-radius: 99px; overflow: hidden; }
.bars .bt i { display: block; height: 100%; background: linear-gradient(90deg, #2F5DA8, var(--ruby)); border-radius: inherit; }
.bars .bn { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.snap-note { margin: 1rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.glance { margin: 0 0 2rem; padding: 1.2rem 1.4rem; background: var(--ruby-tint); border: 1px solid #CFDAEA; border-left: 5px solid var(--ruby); border-radius: 12px; }
.glance h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.glance p { margin: 0; }
.glance .skill-chips { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.glance .skill-chips a { font-size: .88rem; padding: .25rem .65rem; border-radius: 99px; background: #fff; border: 1px solid #C3D0E3; color: var(--ruby-deep); text-decoration: none; }
.glance .skill-chips a:hover { border-color: var(--emerald); }
