/* Human Movement Careers — matches the approved HumanMove mockup. Fonts are self-hosted (OFL). */
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin-wght.woff2') format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-wght.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root { --green: #183f35; --lime: #d5e8a4; --cream: #f6f7f2; --ink: #20332c; --muted: #6c7770; --line: #e2e7df; --leaf: #688751; --sage: #84a75a; --err: #a23b2a; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 20; background: #fff; padding: 10px 14px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

/* header */
.site-header { height: 90px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 max(5%, calc(50vw - 640px)); gap: 30px; background: #fff; position: relative; }
.brand { font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.5px; display: flex; gap: 10px; align-items: center; }
.brand-name { color: var(--green); font-size: 18px; line-height: 1.15; max-width: 240px; }
.brand-name small { display: block; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: #74895e; margin-top: 6px; }
.mark { width: 32px; height: 32px; flex-shrink: 0; }
.mark circle { fill: var(--green); }
.mark path { stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.site-header nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 600; }
.site-header nav a[aria-current] { color: var(--leaf); }
.menu { display: none; border: 0; background: transparent; font-size: 23px; }

/* buttons */
.btn { border: 0; border-radius: 7px; background: var(--green); color: #fff; padding: 14px 22px; font-weight: 600; display: inline-block; font-size: 14px; line-height: 1.2; text-align: center; }
.btn:hover { background: #0f2f27; }
.btn.light { background: var(--lime); color: var(--green); }
.btn.outline, .outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn.sm { padding: 7px 11px; font-size: 12px; }
.btn.big { padding: 16px 26px; font-size: 15px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-arrow { margin-left: 12px; }

.wrap { max-width: 1280px; padding: 0 30px; margin: auto; }

/* hero */
.hero { background: var(--cream); padding: 62px 0 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1.1fr; gap: 45px; align-items: center; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #658054; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--sage); border-radius: 100%; }
h1, h2, h3 { font-family: Manrope, sans-serif; letter-spacing: -1.7px; line-height: 1.13; }
h1 { font-size: 61px; font-weight: 600; margin: 22px 0; }
h1 em { font-style: normal; color: var(--leaf); }
p { line-height: 1.7; color: var(--muted); }
.hero p { font-size: 16px; max-width: 490px; }
/* Photo collage slot: brand-colour tiles until licensed photos are supplied. */
.hero-visual { height: 375px; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.tile { border-radius: 8px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: #e9eadf; color: var(--green); }
.tile span { font-size: 30px; color: var(--leaf); }
.tile b { font-family: Manrope, sans-serif; font-size: 14px; letter-spacing: -.3px; }
.tile.t1 { border-radius: 70px 8px 8px 8px; background: var(--green); color: #fff; }
.tile.t1 span { color: var(--lime); }
.tile.t2 { background: #dfe8cf; }
.tile.t3 { background: #eef0e6; }
.tile.t4 { grid-column: span 2; background: #2a4a3f; color: #fff; }
.tile.t4 span { color: var(--lime); }
.tile.t5 { background: var(--lime); }
.search { display: flex; background: #fff; padding: 8px; border: 1px solid #dce2d7; border-radius: 9px; box-shadow: 0 5px 15px rgba(21,59,48,.02); margin-top: 35px; max-width: 900px; position: relative; z-index: 1; }
.search label { flex: 1; padding: 9px 15px; display: flex; gap: 10px; align-items: center; color: var(--muted); }
.search label + label { border-left: 1px solid var(--line); }
.search input { width: 100%; border: 0; outline: none; background: transparent; font-size: 14px; }
.popular { font-size: 12px; color: var(--muted); margin: 15px 0 35px; display: flex; gap: 16px; flex-wrap: wrap; }
.popular a { text-decoration: underline; text-underline-offset: 3px; }
.countrybar { border-top: 1px solid var(--line); padding: 21px 0; display: flex; gap: 25px; font-size: 11px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.countrybar b { font-size: 10px; letter-spacing: 1px; font-weight: 600; color: #859080; margin-right: 10px; }
.countrybar a:hover { color: var(--green); }

/* sections */
.section { padding: 54px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 25px; gap: 20px; }
h2 { font-size: 29px; font-weight: 600; margin: 8px 0; }
.section-head p { font-size: 13px; margin: 8px 0 0; }
.textlink { font-size: 13px; font-weight: 600; white-space: nowrap; }
.textlink:hover, .content a:hover, .back a:hover { color: var(--leaf); }
.sub-h { font-size: 20px; letter-spacing: -.6px; margin: 36px 0 14px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); border-radius: 6px; padding: 9px 15px; background: #fff; color: #65716b; font-size: 12px; display: inline-block; }
.chip:hover { border-color: #91a78a; }
.chip.active { background: var(--green); color: #fff; border-color: var(--green); }

/* job cards */
.jobs { display: grid; gap: 12px; }
.job { border: 1px solid var(--line); border-radius: 9px; padding: 23px; display: flex; align-items: center; gap: 20px; transition: .2s; background: #fff; }
.job:hover { border-color: #91a78a; box-shadow: 0 5px 20px rgba(24,63,53,.03); transform: translateY(-1px); }
.logo { width: 53px; height: 53px; flex-shrink: 0; display: grid; place-content: center; border-radius: 9px; font-size: 18px; letter-spacing: -1px; font-weight: 700; background: #eef2e9; color: #50694c; }
.job-main { flex: 1; min-width: 0; }
.company { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.job h3 { font: 600 17px Manrope, sans-serif; letter-spacing: -.4px; margin: 0 0 8px; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted); align-items: center; }
.job-pay { text-align: right; font-size: 13px; font-weight: 600; }
.badge { font-size: 10px; color: #537348; background: #edf3e5; border-radius: 4px; padding: 4px 7px; display: inline-block; font-weight: 500; }
.badge.muted { color: #8b938d; background: #f5f6f3; }
.badges .badge { margin-right: 6px; font-size: 11px; }
.job-pay .badge { margin-bottom: 7px; }
.date { font-size: 10px; color: #8b938d; font-weight: 400; margin-top: 8px; }
.arrow { margin-left: 8px; color: #8b978b; }
.tag { background: #f5f6f3; padding: 3px 7px; border-radius: 3px; font-size: 10px; }
.licence { font-size: 10px; border: 1px dashed #cfd8c9; padding: 2px 6px; border-radius: 3px; }
.note { font-size: 11px; color: #7e897f; }
.note.right { text-align: right; margin-top: 14px; }
.elite-tag { color: #8a6d2b; font-weight: 600; }
.job-elite { border-color: #e5dcc5; }
.empty { padding: 40px; background: var(--cream); border-radius: 8px; }
.empty p { margin: 0 0 10px; }

/* role grid */
.roles-section { background: #f8f9f5; border-block: 1px solid var(--line); }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 23px; display: flex; gap: 14px; align-items: center; }
.role-card:hover { border-color: #91a78a; }
.role-icon { font-size: 22px; color: #73865e; width: 28px; flex-shrink: 0; }
.role-card h3 { font-size: 13px; letter-spacing: -.2px; margin: 0 0 6px; }
.role-card small { font-size: 11px; color: var(--muted); line-height: 1.5; display: block; }

/* elite band */
.elite { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: #fff; border-radius: 12px; overflow: hidden; }
.elite-copy { padding: 45px; }
.elite h2 { font-size: 34px; margin: 20px 0; color: #fff; }
.elite p { color: #b8ccc2; font-size: 14px; }
.elite .eyebrow { color: #d9e9b4; }
.elite-art { min-height: 300px; background:
  radial-gradient(circle at 70% 35%, rgba(213,232,164,.35) 0 18%, transparent 19%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
  linear-gradient(160deg, #24584a, #0f2f27); }

.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid var(--line); border-radius: 12px; padding: 34px 40px; background: var(--cream); }
.post-cta h2 { font-size: 26px; }
.post-cta p { margin: 0; font-size: 13px; }

/* newsletter */
.newsletter { display: flex; justify-content: space-between; align-items: start; gap: 40px; padding-top: 10px; padding-bottom: 45px; }
.newsletter h2 { font-size: 26px; }
.newsletter p { font-size: 13px; }
.signup-form { display: flex; flex-direction: column; width: 520px; min-width: 0; flex-shrink: 0; }
.signup-form .field { margin-bottom: 14px; }
.signup-roles { border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin: 0 0 14px; min-width: 0; }
.signup-roles legend { font-size: 12px; font-weight: 600; padding: 0 5px; }
.signup-roles legend small { font-weight: 400; color: var(--muted); }
.signup-role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.signup-role-options label { font-size: 11px; display: flex; align-items: start; gap: 5px; line-height: 1.5; }
.signup-role-options input, .signup-consent input, .check input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--green); }
.signup-consent { margin-bottom: 14px; }
.signup-form .note { font-size: 10px; margin-bottom: 0; }
.cf-turnstile { margin-bottom: 14px; min-height: 65px; }

/* footer */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 40px 0 20px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; }
.foot-tag { font-size: 12px; }
.foot-small, .foot-social { font-size: 11px; }
.foot-social a { margin-right: 14px; text-decoration: underline; }
.foot-links { display: flex; gap: 65px; font-size: 12px; }
.foot-links div { display: flex; flex-direction: column; gap: 12px; }
.foot-links b { font-size: 11px; margin-bottom: 5px; }
.foot-links a:hover { color: var(--leaf); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; display: flex; justify-content: space-between; font-size: 10px; color: #7f8981; }

/* inner pages */
.page-top { background: var(--cream); padding: 42px 0; }
.page-top h1 { font-size: 43px; }
.page-top .lead { max-width: 720px; margin: 0; }
.top-search .search { margin-top: 25px; }
.listing-layout { display: grid; grid-template-columns: 230px 1fr; gap: 30px; padding-top: 30px; padding-bottom: 55px; }
.listing-layout > div { min-width: 0; }
aside.filters { border: 1px solid var(--line); border-radius: 8px; padding: 20px; height: fit-content; }
.aside-h { font-size: 16px; letter-spacing: -.4px; margin: 0 0 18px; }
label.field { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; gap: 8px; margin-bottom: 18px; }
label.field small { font-weight: 400; color: var(--muted); }
.field select, .field input, .field textarea { border: 1px solid #dbe1d8; border-radius: 5px; padding: 11px; background: #fff; width: 100%; font-weight: 400; font-size: 14px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.filters .check { margin-bottom: 16px; }
.filters .back { display: block; margin-top: 12px; text-align: center; }
.content { max-width: 800px; margin: auto; padding: 40px 25px 65px; }
.content.wide { max-width: 900px; }
.content h1 { font-size: 40px; margin-top: 10px; }
.content h2 { font-size: 23px; margin-top: 30px; }
.content h3 { letter-spacing: -.3px; font-size: 16px; margin-bottom: 4px; }
.content li, .description li { line-height: 1.8; color: var(--muted); font-size: 14px; }
.content a:not(.btn):not(.chip) { text-decoration: underline; text-underline-offset: 3px; }
.description { color: var(--muted); }
.description p { font-size: 15px; }
.description strong { color: var(--ink); }
.detail-box { background: var(--cream); border: 1px solid var(--line); border-radius: 9px; padding: 24px; margin: 25px 0; display: flex; gap: 25px; flex-wrap: wrap; }
.detail-box span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.detail-box b { font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid.three { grid-template-columns: 1fr 1fr 140px; }
.form-grid.tight { gap: 0 12px; }
.notice { background: #eff3e7; border-left: 3px solid #8ca66d; padding: 15px 20px; font-size: 12px; line-height: 1.7; margin: 20px 0; color: var(--ink); }
.notice.error { background: #fbefec; border-color: var(--err); }
.notice.safety { background: #f7f2e6; border-color: #b99a4f; }
.err { color: var(--err); font-weight: 500; font-size: 12px; }
.hint { font-size: 12px; margin-top: -6px; }
.nudge { font-size: 13px; color: #537348; background: #edf3e5; padding: 10px 14px; border-radius: 6px; }
.check { font-size: 12px; display: flex; gap: 8px; align-items: start; line-height: 1.6; }
.back { font-size: 12px; color: var(--muted); }
.report { font-size: 12px; }
.source { font-size: 12px; word-break: break-word; }
.big-email { font-size: 22px; font-family: Manrope, sans-serif; font-weight: 600; }
.textlink-row { margin-top: 20px; }
.tools { margin-top: 30px; font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.tools a { text-decoration: underline; text-underline-offset: 3px; }
.pager { display: flex; gap: 18px; align-items: center; justify-content: center; margin: 24px 0; font-size: 13px; }
.pager a { font-weight: 600; }

/* post form */
.post-form h2 { font-size: 20px; letter-spacing: -.6px; margin: 34px 0 14px; }
.post-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin: 0 0 18px; min-width: 0; }
.post-form legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.ontario { background: #fbfaf4; }
.ontario .q { font-size: 13px; font-weight: 600; margin: 12px 0; }
.radios { display: inline-flex; gap: 18px; margin-left: 12px; font-weight: 400; }
.radios label { display: inline-flex; gap: 6px; align-items: center; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.spec-group { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.spec-group b { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: #658054; }
.spec-group label { display: flex; gap: 6px; align-items: start; }
.elite-fields { background: #fbf8f0; }

/* salary */
.salary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.salary-card { border: 1px solid var(--line); border-radius: 8px; padding: 25px; display: flex; flex-direction: column; gap: 6px; }
a.salary-card:hover { border-color: #91a78a; }
.salary-card h3 { margin: 0; font-size: 17px; letter-spacing: -.4px; }
.salary-card strong { font-size: 30px; font-family: Manrope, sans-serif; letter-spacing: -1px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 500; color: var(--muted); }
.table tr.hl td, .table tr.hl th { font-weight: 700; color: var(--ink); background: var(--cream); }

/* elite scope: same system, warmer accents */
.is-elite .page-top { background: linear-gradient(180deg, #f4f1e8, var(--cream)); }
.is-elite .page-top .eyebrow { color: #8a6d2b; }
.is-elite .page-top .eyebrow::before { background: #b99a4f; }
.elite-badge { background: #f3ead2; color: #7a5f22; }

/* admin */
.admin-wrap { padding: 30px; max-width: 1400px; }
.admin-wrap h1 { font-size: 30px; }
.admin-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 14px; align-items: center; }
.admin-table { font-size: 12px; }
.admin-table td { padding: 12px 8px; }
.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.inline-actions select { font-size: 11px; padding: 5px; border: 1px solid var(--line); border-radius: 5px; }
.inline { display: inline; }
.flag { display: inline-block; font-size: 10px; background: #fbefec; color: var(--err); padding: 2px 6px; border-radius: 3px; margin-top: 4px; }
.admin-add { align-items: end; background: var(--cream); padding: 16px; border-radius: 8px; margin: 10px 0 20px; grid-template-columns: repeat(3, 1fr); }
.admin-fields { background: #f2f4fb; }

@media (max-width: 1000px) {
  .site-header { padding: 0 25px; }
  .site-header nav { gap: 14px; font-size: 12px; }
  .site-header nav .btn { padding: 12px; }
  .brand-name { font-size: 15px; max-width: 185px; }
  .hero-grid { gap: 25px; }
  .hero-visual { height: 320px; }
  h1 { font-size: 49px; }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .newsletter { gap: 20px; }
  .signup-form { width: 440px; }
}
@media (max-width: 720px) {
  .site-header { height: 75px; padding: 0 20px; }
  .brand-name { font-size: 17px; max-width: 240px; }
  .site-header nav { display: none; position: absolute; top: 75px; left: 0; right: 0; background: #fff; padding: 25px; z-index: 5; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
  .site-header nav.open { display: flex; }
  .site-header nav .btn { padding: 14px 22px; }
  .menu { display: block; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 35px; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual { height: auto; aspect-ratio: 1.5 / 1; }
  .tile { padding: 10px; }
  .tile span { font-size: 20px; }
  .tile b { font-size: 11px; }
  .tile.t1 { border-radius: 35px 7px 7px 7px; }
  h1 { font-size: 43px; letter-spacing: -1.8px; }
  .hero p { font-size: 14px; }
  .search { margin-top: 22px; flex-direction: column; padding: 8px; }
  .search label + label { border-left: 0; border-top: 1px solid var(--line); }
  .search label { padding: 14px 10px; }
  .popular { gap: 10px; margin-bottom: 25px; }
  .countrybar { gap: 13px; line-height: 1.6; }
  .countrybar b { width: 100%; }
  .section { padding: 36px 0; }
  .section-head { align-items: start; flex-wrap: wrap; }
  h2 { font-size: 25px; }
  .job { padding: 16px; gap: 12px; align-items: start; flex-wrap: wrap; }
  .logo { width: 42px; height: 42px; font-size: 15px; }
  .job h3 { font-size: 15px; }
  .job-main { min-width: 200px; }
  .job-pay { margin-left: 54px; text-align: left; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
  .job-pay .badge { margin-bottom: 0; }
  .date { margin-top: 0; }
  .arrow { display: none; }
  .meta { gap: 8px; font-size: 10px; }
  .role-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .role-card { padding: 16px 12px; gap: 7px; }
  .role-card h3 { font-size: 11px; }
  .role-icon { font-size: 19px; width: 20px; }
  .role-card small { font-size: 10px; }
  .elite { grid-template-columns: 1fr; }
  .elite-copy { padding: 28px; }
  .elite h2 { font-size: 29px; }
  .elite-art { min-height: 120px; }
  .post-cta { flex-direction: column; align-items: start; padding: 24px; }
  .newsletter { display: block; padding-bottom: 35px; }
  .signup-form { width: 100%; margin-top: 20px; }
  .foot-top { flex-direction: column; gap: 20px; }
  .foot-links { gap: 28px; flex-wrap: wrap; }
  .foot-bottom { gap: 20px; line-height: 1.6; flex-wrap: wrap; }
  .listing-layout { grid-template-columns: 1fr; gap: 20px; }
  aside.filters form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  aside.filters .aside-h, aside.filters .check, aside.filters .btn, aside.filters .back { grid-column: 1 / -1; }
  .form-grid, .form-grid.three, .salary-grid, .admin-add { grid-template-columns: 1fr; }
  .page-top h1 { font-size: 35px; }
  .content { padding: 28px 16px 50px; }
  .content h1 { font-size: 32px; }
  .detail-box { gap: 20px; }
  .radios { display: flex; margin: 8px 0 0; }
  .table { font-size: 13px; }
  .admin-table { display: block; overflow-x: auto; }
}
