/* MEPMate homepage v2 (2026-11-18) - Instahyre-style light redesign.
   Every rule is scoped to body.m2 so it cannot leak into other pages. */
body.m2{
  --m-ink:#1E2340;--m-text:#4A5263;--m-muted:#8A94A6;--m-line:#E6EAF0;
  --m-blue:#1D5EEA;--m-blue-d:#1B3A6B;--m-blue-50:#EEF4FF;
  --m-teal:#02BFA0;--m-teal-d:#007A66;--m-teal-50:#E6FAF6;
  --m-sky:#F5F8FC;--m-cream:#FFF6E2;--m-cream-d:#FCE9BE;--m-sun:#FFC93C;
  --m-peach:#FDEBDD;--m-brown:#5C330A;--m-orange:#C2611F;
  --m-shadow:0 1px 2px rgba(30,35,64,.04),0 8px 24px rgba(30,35,64,.06);
  --m-shadow-lg:0 2px 4px rgba(30,35,64,.04),0 18px 40px rgba(30,35,64,.10);
  font-family:"Outfit",system-ui,sans-serif;background:#fff;color:var(--m-text);
}
body.m2 .m2-main{font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
body.m2 .m2-main *{box-sizing:border-box}
body.m2 .m2-main :where(h1,h2,h3,h4,h5,p,ul){margin:0;padding:0}
body.m2 .m2-main :where(a){text-decoration:none;color:inherit}
body.m2 .m2-wrap{max-width:1160px;margin:0 auto;padding:0 20px}
body.m2 .m2-sec{padding:84px 0}

/* header tweaks (shared header.php) */
body.m2 #navbar:not(.mh){font-family:"Outfit",system-ui,sans-serif;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.6) blur(10px);border-bottom:1px solid var(--m-line)}
body.m2 #navbar.mh~.m2-main .m2-hero{margin-top:-84px;padding-top:156px}
@media (max-width:760px){body.m2 #navbar.mh~.m2-main .m2-hero{margin-top:-80px;padding-top:120px}}

/* buttons */
body.m2 .m2-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border-radius:8px;font-weight:600;font-size:14.5px;border:1px solid transparent;cursor:pointer;transition:.18s ease;white-space:nowrap;font-family:inherit;line-height:1}
body.m2 .m2-btn-primary{background:var(--m-blue);color:#fff}
body.m2 .m2-btn-primary:hover{background:#174ed0;transform:translateY(-1px)}
body.m2 .m2-btn-teal{background:var(--m-teal);color:#fff}
body.m2 .m2-btn-teal:hover{background:#00a98d;transform:translateY(-1px)}
body.m2 .m2-btn-outline{background:#fff;border-color:var(--m-line);color:var(--m-ink)}
body.m2 .m2-btn-outline:hover{border-color:#cdd5e1;background:#fafbfd}
body.m2 .m2-btn-pill{border-radius:999px;height:48px;padding:0 26px;font-size:15.5px}

/* hero */
body.m2 .m2-hero{position:relative;background:var(--m-sky);padding:72px 0 64px;overflow:hidden}
body.m2 .m2-blob{position:absolute;border-radius:50%;z-index:0;pointer-events:none}
body.m2 .m2-hero-inner{position:relative;z-index:2;text-align:center;max-width:760px;margin:0 auto}
body.m2 .m2-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:#fff;border:1px solid var(--m-line);font-size:13.5px;font-weight:500;color:var(--m-text)}
body.m2 .m2-dot{width:7px;height:7px;border-radius:50%;background:var(--m-teal);box-shadow:0 0 0 4px rgba(2,191,160,.18)}
body.m2 .m2-hero h1{font-size:clamp(34px,5.6vw,56px);line-height:1.1;letter-spacing:-1.2px;color:var(--m-ink);font-weight:700;margin:22px 0 16px}
body.m2 .m2-hero h1 .m2-seo{display:block;font-size:clamp(15px,1.6vw,17px);letter-spacing:0;font-weight:500;color:var(--m-muted);margin-top:14px}
body.m2 .m2-scribble{position:relative;display:inline-block;white-space:nowrap}
body.m2 .m2-scribble svg{position:absolute;left:-2%;bottom:-.18em;width:104%;height:.38em;overflow:visible}
body.m2 .m2-sub{font-size:18px;color:var(--m-text);max-width:560px;margin:0 auto}

body.m2 .m2-search{margin:34px auto 0;max-width:780px;background:#fff;border:1px solid var(--m-line);border-radius:16px;box-shadow:var(--m-shadow-lg);display:flex;align-items:center;padding:8px;gap:4px;text-align:left}
body.m2 .m2-field{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0 14px;height:48px;color:var(--m-muted);margin:0}
body.m2 .m2-field+.m2-field{border-left:1px solid var(--m-line)}
body.m2 .m2-field input,body.m2 .m2-field select{border:0;outline:0;background:none;width:100%;min-width:0;color:var(--m-ink);font:inherit;font-size:15px;padding:0;height:100%;box-shadow:none}
body.m2 .m2-field input::placeholder{color:var(--m-muted)}
body.m2 .m2-field select{cursor:pointer;-webkit-appearance:none;appearance:none}
body.m2 .m2-field.m2-fdisc{flex:.8}
body.m2 .m2-search .m2-btn{height:48px;border-radius:10px;padding:0 22px}

body.m2 .m2-alt{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:10px 14px;flex-wrap:wrap;font-size:14.5px}
body.m2 .m2-link{display:inline-flex;align-items:center;gap:6px;color:var(--m-blue);font-weight:600;border-bottom:1px solid transparent}
body.m2 .m2-link:hover{border-color:currentColor}
body.m2 .m2-or{color:var(--m-muted);font-weight:500}
body.m2 .m2-trust{display:flex;justify-content:center;gap:10px 22px;flex-wrap:wrap;margin-top:26px;font-size:13.5px;font-weight:500;color:var(--m-text)}
body.m2 .m2-trust span{display:inline-flex;align-items:center;gap:6px}
body.m2 .m2-trust i{color:var(--m-teal)}

body.m2 .m2-float{position:absolute;z-index:1;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--m-line);border-radius:14px;padding:10px 14px 10px 10px;box-shadow:var(--m-shadow);font-size:13.5px;animation:m2bob 6s ease-in-out infinite;text-align:left}
body.m2 .m2-float .m2-ci{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:16px}
body.m2 .m2-float strong{display:block;color:var(--m-ink);font-weight:600;font-size:14px;line-height:1.2}
body.m2 .m2-float small{color:var(--m-muted);font-size:12px}
body.m2 .m2-f1{left:4%;top:90px}body.m2 .m2-f2{left:7%;top:300px;animation-delay:-2s}
body.m2 .m2-f3{right:4%;top:110px;animation-delay:-4s}body.m2 .m2-f4{right:6%;top:320px;animation-delay:-1s}
@keyframes m2bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

body.m2 .m2-employers{position:relative;z-index:2;margin:52px auto 0;max-width:680px;background:#fff;border-radius:20px;box-shadow:var(--m-shadow);padding:22px 22px 20px;text-align:center}
body.m2 .m2-employers h2{font-size:15px;font-weight:600;color:var(--m-ink);margin-bottom:14px}
body.m2 .m2-emp-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
body.m2 .m2-emp{height:48px;min-width:64px;padding:0 12px;display:grid;place-items:center;border:1px solid var(--m-line);border-radius:10px;background:#fcfdfe;font-weight:700;font-size:14px;color:var(--m-blue-d)}
body.m2 .m2-emp img{max-height:30px;max-width:96px;width:auto;height:auto;object-fit:contain;display:block}

/* colour logo ticker (hero card) */
body.m2 .m2-trustbox{max-width:900px;padding:22px 0 18px;overflow:hidden}
body.m2 .m2-trustbox h2{padding:0 20px}
body.m2 .m2-ticker{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
body.m2 .m2-ticker-track{display:flex;align-items:center;width:max-content;animation:m2scroll 40s linear infinite}
body.m2 .m2-ticker:hover .m2-ticker-track{animation-play-state:paused}
body.m2 .m2-ticker-item{flex:none;display:grid;place-items:center;height:56px;padding:0 26px}
body.m2 .m2-ticker-item img{height:34px;width:auto;max-width:none;filter:none!important;opacity:1;display:block}
@media (max-width:760px){body.m2 .m2-ticker-item{padding:0 18px;height:48px}body.m2 .m2-ticker-item img{height:28px}body.m2 .m2-ticker-track{animation-duration:30s}}
@media (prefers-reduced-motion:reduce){body.m2 .m2-ticker{overflow-x:auto}body.m2 .m2-ticker-track{animation:none}}

/* stats */
body.m2 .m2-stat-row{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--m-line);border-radius:20px;box-shadow:var(--m-shadow);transform:translateY(-34px);position:relative;z-index:3}
body.m2 .m2-stat{padding:24px 18px;text-align:center}
body.m2 .m2-stat+.m2-stat{border-left:1px solid var(--m-line)}
body.m2 .m2-stat .m2-n{font-size:32px;font-weight:700;color:var(--m-ink);letter-spacing:-.8px;line-height:1.1}
body.m2 .m2-stat .m2-n span{color:var(--m-teal)}
body.m2 .m2-stat .m2-l{font-size:14px;font-weight:500;color:var(--m-text);margin-top:4px}

/* section heads */
body.m2 .m2-head{text-align:center;max-width:640px;margin:0 auto 44px}
body.m2 .m2-tpill{position:relative;display:inline-block;padding:10px 22px;border-radius:999px;background:var(--m-peach);font-size:clamp(22px,3.2vw,30px);font-weight:700;color:var(--m-ink);letter-spacing:-.5px;line-height:1.25}
body.m2 .m2-tpill em{font-style:normal;color:var(--m-orange)}
body.m2 .m2-tpill .m2-spark{position:absolute;right:-16px;top:-14px;width:26px;height:26px}
body.m2 .m2-tpill.blue{background:var(--m-blue-50)}body.m2 .m2-tpill.blue em{color:var(--m-blue)}
body.m2 .m2-tpill.teal{background:var(--m-teal-50)}body.m2 .m2-tpill.teal em{color:var(--m-teal-d)}
body.m2 .m2-head p{margin-top:14px;font-size:16.5px}
body.m2 .m2-eyebrow{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--m-brown);margin-bottom:12px}
body.m2 .m2-eyebrow b{color:#8B5CF6}

/* jobs */
body.m2 .m2-jobs{padding-top:40px}
body.m2 .m2-job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.m2 .m2-job{background:#fff;border:1px solid var(--m-line);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:14px;transition:.2s ease;min-width:0}
body.m2 .m2-job:hover{box-shadow:var(--m-shadow-lg);transform:translateY(-3px);border-color:#dbe2ec}
body.m2 .m2-job-top{display:flex;gap:12px;align-items:flex-start}
body.m2 .m2-ava{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-weight:700;font-size:15px;flex:none;overflow:hidden;border:1px solid var(--m-line)}
body.m2 .m2-ava img{width:100%;height:100%;object-fit:contain;background:#fff;display:block}
body.m2 .m2-job-tt{min-width:0;flex:1}
body.m2 .m2-job h3{font-size:16.5px;font-weight:600;color:var(--m-ink);line-height:1.3}
body.m2 .m2-job h3 a:hover{color:var(--m-blue)}
body.m2 .m2-co{font-size:14px;color:var(--m-text);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.m2 .m2-tags{display:flex;flex-wrap:wrap;gap:6px}
body.m2 .m2-tag{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:7px;font-size:12.5px;font-weight:500;background:var(--m-cream);color:var(--m-brown);max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.m2 .m2-tag i{font-size:11px}
body.m2 .m2-tag.v{background:var(--m-teal-50);color:var(--m-teal-d)}
body.m2 .m2-tag.b{background:var(--m-blue-50);color:var(--m-blue)}
body.m2 .m2-tag.loc{background:var(--m-sky);color:var(--m-text)}
body.m2 .m2-skills{font-size:13px;color:var(--m-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.m2 .m2-skills b{color:var(--m-text);font-weight:600}
body.m2 .m2-job-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px dashed var(--m-line);font-size:13px;color:var(--m-muted)}
body.m2 .m2-job-foot .m2-acts{display:flex;gap:8px}
body.m2 .m2-job-foot .m2-btn{height:36px;padding:0 14px;font-size:13.5px}
body.m2 .m2-center{text-align:center;margin-top:36px}

/* path */
body.m2 .m2-path{position:relative;max-width:900px;margin:0 auto;border-radius:28px;background:var(--m-sky);padding:56px 40px 48px;overflow:hidden;scroll-margin-top:90px}
body.m2 .m2-path .m2-blob{background:#DCEBF7}
body.m2 .m2-path h2{position:relative;z-index:2;text-align:center;font-size:clamp(24px,3.4vw,34px);color:var(--m-ink);font-weight:700;letter-spacing:-.6px;line-height:1.25}
body.m2 .m2-path h2 span{color:var(--m-teal-d)}
body.m2 .m2-path-sub{position:relative;z-index:2;text-align:center;margin-top:10px;font-size:16px}
body.m2 .m2-steps{position:relative;z-index:2;margin-top:44px;display:grid;grid-template-columns:repeat(3,1fr);gap:56px 28px}
body.m2 .m2-track{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible;pointer-events:none}
body.m2 .m2-s4{grid-area:2/3}body.m2 .m2-s5{grid-area:2/2}body.m2 .m2-s6{grid-area:2/1}
body.m2 .m2-step{display:flex;flex-direction:column;align-items:center;text-align:center}
body.m2 .m2-step-ic{position:relative;width:96px;height:96px;border-radius:50%;background:#fff;box-shadow:var(--m-shadow);display:grid;place-items:center;font-size:34px}
body.m2 .m2-step-n{position:absolute;right:-4px;bottom:2px;width:28px;height:28px;border-radius:50%;color:#fff;font-size:12.5px;font-weight:700;display:grid;place-items:center;border:3px solid var(--m-sky)}
body.m2 .m2-step h3{margin-top:14px;font-size:16.5px;color:var(--m-ink);font-weight:600}
body.m2 .m2-step p{font-size:14px;margin-top:4px;max-width:220px}

/* two sides */
body.m2 .m2-sides{display:grid;grid-template-columns:1fr 1fr;gap:22px}
body.m2 .m2-side{position:relative;border-radius:24px;padding:36px 32px 32px;overflow:hidden;border:1px solid var(--m-line)}
body.m2 .m2-side.co{background:linear-gradient(160deg,#EEF4FF 0%,#fff 70%)}
body.m2 .m2-side.ca{background:linear-gradient(160deg,#E6FAF6 0%,#fff 70%)}
body.m2 .m2-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font-size:13px;font-weight:600;background:#fff;border:1px solid var(--m-line);color:var(--m-ink)}
body.m2 .m2-side h3{margin-top:16px;font-size:24px;line-height:1.25;color:var(--m-ink);font-weight:700;letter-spacing:-.4px}
body.m2 .m2-side>p{margin-top:10px;font-size:15.5px}
body.m2 .m2-checks{list-style:none;margin:22px 0 26px;display:grid;gap:12px}
body.m2 .m2-checks li{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--m-ink)}
body.m2 .m2-num{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12.5px;font-weight:700;color:#fff}
body.m2 .m2-side.co .m2-num{background:var(--m-blue)}body.m2 .m2-side.ca .m2-num{background:var(--m-teal)}
body.m2 .m2-checks small{display:block;color:var(--m-muted);font-size:13px}
body.m2 .m2-fine{margin-top:12px;font-size:13px;color:var(--m-muted)}

/* disciplines */
body.m2 .m2-disc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.m2 .m2-disc{display:flex;gap:16px;align-items:center;padding:20px;border:1px solid var(--m-line);border-radius:16px;background:#fff;transition:.2s ease}
body.m2 .m2-disc:hover{box-shadow:var(--m-shadow-lg);transform:translateY(-3px)}
body.m2 .m2-di{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;flex:none;font-size:22px}
body.m2 .m2-disc h3{font-size:17px;color:var(--m-ink);font-weight:600}
body.m2 .m2-disc p{font-size:13.5px;color:var(--m-muted)}
body.m2 .m2-go{margin-left:auto;color:var(--m-muted);font-size:13px}
body.m2 .m2-disc:hover .m2-go{color:var(--m-blue)}
body.m2 .m2-more{margin-top:28px;text-align:center}
body.m2 .m2-more h3{font-size:14px;font-weight:600;color:var(--m-ink);margin-bottom:12px}
body.m2 .m2-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
body.m2 .m2-chip{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--m-line);background:#fff;font-weight:500;font-size:14px;color:var(--m-ink);transition:.15s}
body.m2 .m2-chip i{color:var(--m-muted);font-size:13px}
body.m2 .m2-chip:hover{border-color:var(--m-blue);color:var(--m-blue)}

/* verified (cream) */
body.m2 .m2-verified{position:relative;background:var(--m-cream);overflow:hidden}
body.m2 .m2-verified .m2-blob{background:var(--m-cream-d)}
body.m2 .m2-verified .m2-wrap{position:relative;z-index:2}
body.m2 .m2-verified h2{font-size:clamp(26px,3.6vw,36px);color:var(--m-ink);font-weight:700;letter-spacing:-.6px;line-height:1.2}
body.m2 .m2-verified h2 em{font-style:normal;color:var(--m-brown)}
body.m2 .m2-v-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:900px;margin:0 auto}
body.m2 .m2-v-card{background:#FFF0CC;border-radius:16px;padding:22px 22px 20px;text-align:center}
body.m2 .m2-v-card h3{display:flex;align-items:center;justify-content:center;gap:8px;font-size:17px;font-weight:600;color:var(--m-ink)}
body.m2 .m2-v-card h3 i{color:var(--m-brown)}
body.m2 .m2-v-card p{font-size:14.5px;margin-top:6px}
body.m2 .m2-avatar{position:absolute;z-index:1;border-radius:50%;display:grid;place-items:center}
body.m2 .m2-marquee{margin-top:44px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
body.m2 .m2-track-m{display:flex;gap:14px;width:max-content;animation:m2scroll 36s linear infinite;padding:6px 0}
body.m2 .m2-marquee:hover .m2-track-m{animation-play-state:paused}
body.m2 .m2-logo-tile{height:64px;min-width:150px;padding:0 22px;display:grid;place-items:center;background:#fff;border-radius:12px;box-shadow:var(--m-shadow);font-weight:700;font-size:16px;color:var(--m-blue-d)}
body.m2 .m2-logo-tile img{max-height:36px;max-width:120px;width:auto;height:auto;object-fit:contain;display:block}
@keyframes m2scroll{to{transform:translateX(-50%)}}

/* cta */
body.m2 .m2-cta{max-width:640px;margin:0 auto;text-align:center;border-radius:28px;padding:44px 32px 46px;background:linear-gradient(135deg,#FDE8DC 0%,#EFE3F7 50%,#DDEBFB 100%)}
body.m2 .m2-cta .m2-pill{background:#FFF3D1;border:0;color:var(--m-brown);font-weight:600}
body.m2 .m2-cta h2{margin-top:16px;font-size:clamp(24px,3.4vw,32px);color:var(--m-ink);font-weight:700;letter-spacing:-.5px;line-height:1.25}
body.m2 .m2-cta h2 b{color:var(--m-blue)}
body.m2 .m2-cta p{margin:12px auto 26px;max-width:440px;font-size:16px}
body.m2 .m2-cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* reveal */
body.m2 .m2-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
body.m2 .m2-reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){body.m2 .m2-reveal{opacity:1;transform:none}body.m2 .m2-float,body.m2 .m2-track-m{animation:none}}

/* footer restyle (shared footer.php) - light, homepage only */
body.m2 .footer{background:var(--m-sky);color:var(--m-text);font-family:"Outfit",system-ui,sans-serif;border-top:1px solid var(--m-line)}
body.m2 .footer::before{display:none}
body.m2 .footer-brand-col img{content:url(/assets/logo/mepmate-hire-logo.png?v=4);height:34px!important}
body.m2 .footer-brand-col p{color:var(--m-text)}
body.m2 .footer-badge{background:var(--m-teal-50);border-color:transparent;color:var(--m-teal-d)}
body.m2 .footer-links-col h4{color:var(--m-ink);text-transform:none;letter-spacing:0;font-size:15px}
body.m2 .footer-links-col h4::after{background:var(--m-teal)}
body.m2 .footer-links-col a{color:var(--m-text)}
body.m2 .footer-links-col a:hover{color:var(--m-blue)}
body.m2 .footer-newsletter{background:#fff;border-color:var(--m-line)}
body.m2 .footer-newsletter h5{color:var(--m-ink)}
body.m2 .footer-newsletter p{color:var(--m-text)}
body.m2 .footer-newsletter-input{background:#fff;border-color:var(--m-line);color:var(--m-ink)}
body.m2 .footer-newsletter-input:focus{border-color:var(--m-blue);background:#fff}
body.m2 .footer-newsletter a[href^="mailto"]{color:var(--m-text)!important}
body.m2 .footer-bottom{background:#EEF2F7;border-top-color:var(--m-line)}
body.m2 .footer-bottom p,body.m2 .footer-bottom-links a{color:var(--m-text)}
body.m2 .footer-bottom-links a:hover{color:var(--m-blue)}

/* responsive */
@media (max-width:1180px){body.m2 .m2-float{display:none}}
@media (max-width:980px){
  body.m2 .m2-job-grid,body.m2 .m2-disc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  body.m2 .m2-sec{padding:64px 0}
  body.m2 .m2-hero{padding:40px 0 56px}
  body.m2 .m2-search{flex-direction:column;align-items:stretch;padding:10px;gap:0}
  body.m2 .m2-field{height:50px;flex:none}
  body.m2 .m2-field.m2-fdisc{flex:none}
  body.m2 .m2-field+.m2-field{border-left:0;border-top:1px solid var(--m-line)}
  body.m2 .m2-search .m2-btn{margin-top:8px}
  body.m2 .m2-stat-row{grid-template-columns:1fr 1fr}
  body.m2 .m2-stat:nth-child(3){border-left:0}
  body.m2 .m2-stat:nth-child(n+3){border-top:1px solid var(--m-line)}
  body.m2 .m2-job-grid,body.m2 .m2-disc-grid,body.m2 .m2-sides,body.m2 .m2-v-grid{grid-template-columns:minmax(0,1fr)}
  body.m2 .m2-steps{grid-template-columns:1fr 1fr;gap:36px 16px}
  body.m2 .m2-track{display:none}
  body.m2 .m2-s4,body.m2 .m2-s5,body.m2 .m2-s6{grid-area:auto}
  body.m2 .m2-path{padding:44px 20px 40px;border-radius:22px}
  body.m2 .m2-side{padding:28px 22px 24px}
  body.m2 .m2-avatar{display:none}
}
@media (max-width:480px){
  body.m2 .m2-steps{grid-template-columns:1fr}
  body.m2 .m2-stat .m2-n{font-size:26px}
  body.m2 .m2-job-foot{flex-wrap:wrap}
  body.m2 .m2-job-foot .m2-acts{flex:1 1 100%}
  body.m2 .m2-job-foot .m2-btn{flex:1}
}

/* hero title: let it wrap naturally on phones (2026-11-19) */
body.m2 .m2-hero h1 br.b-m{display:none}
@media (max-width:600px){body.m2 .m2-hero h1 br.b-m{display:inline}body.m2 .m2-hero h1 br.b-d{display:none}}

/* rotating discipline word in the hero title (2026-11-19) */
body.m2 .m2-rot{vertical-align:bottom}
body.m2 .m2-rot-in{display:inline-block;position:relative;vertical-align:bottom;white-space:nowrap}
body.m2 .m2-rot-in.js{overflow:hidden;height:1.22em;transition:width .5s cubic-bezier(.65,0,.35,1)}
body.m2 .m2-rot-w{display:inline-block;white-space:nowrap}
body.m2 .m2-rot-in.js .m2-rot-w{position:absolute;left:0;top:0;line-height:1.22em;transform:translateY(105%);opacity:0;transition:transform .55s cubic-bezier(.65,0,.35,1),opacity .4s}
body.m2 .m2-rot-in.js .m2-rot-w.on{transform:none;opacity:1}
body.m2 .m2-rot-in.js .m2-rot-w.out{transform:translateY(-105%);opacity:0}

/* two-line title on desktop: line 2 never wraps, font sized so the longest word fits (2026-11-19) */
@media (min-width:601px){body.m2 .m2-hero h1{font-size:clamp(30px,4.6vw,56px);margin-left:calc(50% - min(50vw - 24px, 520px));margin-right:calc(50% - min(50vw - 24px, 520px))}body.m2 .m2-hero h1 .m2-l2{white-space:nowrap}}

/* verified candidates around the hero (2026-11-19) */
body.m2 .m2-people{display:none}
@media (min-width:1340px){
body.m2 .m2-people{display:block;position:absolute;inset:0;max-width:1480px;margin:0 auto;pointer-events:none;z-index:1}
body.m2 .m2-pp{position:absolute;animation:m2float 7s ease-in-out infinite}
body.m2 .m2-pp-img{position:absolute;left:0;top:0;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 14px 34px rgba(17,24,39,.16);background:#e8eef9}
body.m2 .m2-pp-card{position:absolute;display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;background:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(17,24,39,.12);white-space:nowrap}
body.m2 .m2-pp-ico,body.m2 .m2-pp-tile{display:grid;place-items:center;background:var(--c);color:#fff;border-radius:8px}
body.m2 .m2-pp-ico{width:40px;height:40px;font-size:18px}
body.m2 .m2-pp-tile{position:absolute;width:58px;height:58px;font-size:24px;border:5px solid #fff;box-shadow:0 10px 26px rgba(17,24,39,.14)}
body.m2 .m2-pp-txt{display:flex;flex-direction:column;line-height:1.25}
body.m2 .m2-pp-txt b{font-size:14.5px;font-weight:600;color:#1E2340}
body.m2 .m2-pp-txt small{font-size:11.5px;color:#6B7280}
body.m2 .m2-pp-tick{position:absolute;top:-9px;right:-9px;width:22px;height:22px;border-radius:50%;background:#10B981;color:#fff;display:grid;place-items:center;font-size:11px;border:2px solid #fff}
body.m2 .m2-pp-arrow{position:absolute;width:86px;height:66px}
/* left side */
body.m2 .m2-pp-a{left:70px;top:140px}
body.m2 .m2-pp-a .m2-pp-img{width:96px;height:96px}
body.m2 .m2-pp-a .m2-pp-card{left:76px;top:-26px}
body.m2 .m2-pp-b{left:46px;top:330px;animation-delay:-2s}
body.m2 .m2-pp-b .m2-pp-img{width:60px;height:60px}
body.m2 .m2-pp-b .m2-pp-tile{left:40px;top:42px}
body.m2 .m2-pp-c{left:120px;top:440px;animation-delay:-4s}
body.m2 .m2-pp-c .m2-pp-img{width:168px;height:168px}
body.m2 .m2-pp-c .m2-pp-card{left:56px;top:140px}
body.m2 .m2-pp-c .m2-pp-arrow{left:150px;top:-48px}
/* right side */
body.m2 .m2-pp-d{right:84px;top:122px;animation-delay:-1s}
body.m2 .m2-pp-d .m2-pp-img{width:112px;height:112px;left:auto;right:0}
body.m2 .m2-pp-d .m2-pp-card{right:-40px;top:86px}
body.m2 .m2-pp-e{right:170px;top:336px;animation-delay:-3s}
body.m2 .m2-pp-e .m2-pp-img{width:86px;height:86px;left:auto;right:0}
body.m2 .m2-pp-e .m2-pp-tile{right:60px;top:46px}
body.m2 .m2-pp-f{right:60px;top:450px;animation-delay:-5s}
body.m2 .m2-pp-f .m2-pp-img{width:168px;height:168px;left:auto;right:0}
body.m2 .m2-pp-f .m2-pp-card{right:110px;top:136px}
body.m2 .m2-hero-inner{z-index:2}
}
@keyframes m2float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media (prefers-reduced-motion:reduce){body.m2 .m2-pp{animation:none}}@media (min-width:1340px){body.m2 .m2-pp .m2-pp-img{max-width:none;height:auto;aspect-ratio:1}body.m2 .m2-hero:has(.m2-people) .m2-float{display:none}}
@media (min-width:1340px){body.m2 .m2-pp-c{left:96px}body.m2 .m2-pp-c .m2-pp-card{left:36px}body.m2 .m2-pp-f .m2-pp-card{right:90px}body.m2 .m2-pp .m2-pp-arrow{max-width:none;width:86px;height:66px}}
@media (min-width:1340px){body.m2 .m2-pp-c .m2-pp-arrow{top:-62px}}

/* candidate strip for screens below 1340px (2026-11-19) */
body.m2 .m2-pstrip{margin:26px auto 0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
body.m2 .m2-pstrip-track{display:flex;width:max-content;animation:m2ps 34s linear infinite}
body.m2 .m2-pstrip:hover .m2-pstrip-track{animation-play-state:paused}
body.m2 .m2-ps{display:inline-flex;align-items:center;gap:10px;margin:4px 12px 10px 0;padding:6px 18px 6px 6px;background:#fff;border:1px solid var(--m-line);border-radius:999px;box-shadow:0 6px 18px rgba(17,24,39,.07);white-space:nowrap;text-align:left}
body.m2 .m2-ps img{width:44px;height:44px;max-width:none;border-radius:50%;object-fit:cover;flex:0 0 44px}
body.m2 .m2-ps-t{display:flex;flex-direction:column;line-height:1.25}
body.m2 .m2-ps-t b{font-size:14px;font-weight:600;color:var(--m-ink)}
body.m2 .m2-ps-t b i{color:#10B981;font-size:12px;margin-left:2px}
body.m2 .m2-ps-t small{font-size:12px;color:var(--m-muted)}
body.m2 .m2-ps-t small i{font-size:11px;margin-right:2px}
@keyframes m2ps{to{transform:translateX(-50%)}}
@media (min-width:1340px){body.m2 .m2-pstrip{display:none}}
@media (prefers-reduced-motion:reduce){body.m2 .m2-pstrip{overflow-x:auto}body.m2 .m2-pstrip-track{animation:none}}
/* logo ticker moved into Verified Hiring (2026-11-19) */
body.m2 .m2-verified .m2-employers.m2-trustbox{margin:44px auto 28px}
body.m2 .m2-verified .m2-employers.m2-trustbox h2{font-size:15px;line-height:1.4;font-weight:600;letter-spacing:0;color:var(--m-ink);margin:0 0 14px}
body.m2 .m2-verified .m2-employers.m2-trustbox{background:transparent;box-shadow:none;border:0;border-radius:0;max-width:1100px;padding:6px 0 0}
@media (max-width:1399px){body.m2 .m2-verified .m2-avatar[style*="bottom:"]{display:none}}
/* bigger logos, never pause on hover (2026-11-19) */
body.m2 .m2-ticker:hover .m2-ticker-track{animation-play-state:running}
body.m2 .m2-verified .m2-ticker-item{height:72px;padding:0 32px}
body.m2 .m2-verified .m2-ticker-item img{height:46px}
@media (max-width:760px){body.m2 .m2-verified .m2-ticker-item{height:58px;padding:0 22px}body.m2 .m2-verified .m2-ticker-item img{height:36px}}
/* logos grey until hovered, then full colour (2026-11-19) */
body.m2 .m2-verified .m2-ticker-item img{filter:grayscale(1)!important;opacity:.55;transition:filter .3s,opacity .3s}
body.m2 .m2-verified .m2-ticker-item:hover img{filter:none!important;opacity:1}

/* How it works / The MEPMate Hire Process (2026-11-19) */
body.m2 .m2-hiw-head{text-align:center;max-width:720px;margin:0 auto 38px}
body.m2 .m2-hiw-tag{display:inline-block;padding:7px 16px;border-radius:999px;background:#EAF1FF;color:#1D5EEA;font-size:12px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase}
body.m2 .m2-hiw-head h2{font-size:clamp(28px,3.8vw,44px);font-weight:700;color:var(--m-ink);letter-spacing:-.9px;line-height:1.15;margin:16px 0 12px}
body.m2 .m2-hiw-head h2 em{font-style:normal;color:#1D5EEA}
body.m2 .m2-hiw-head p{color:var(--m-muted);font-size:16.5px;line-height:1.6;margin:0}
body.m2 .m2-hiw-flow{display:grid;grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;gap:8px;align-items:stretch}
body.m2 .m2-hiw-step{background:#fff;border:1px solid var(--m-line);border-radius:18px;padding:26px 16px 22px;text-align:center;box-shadow:0 10px 30px rgba(17,24,39,.06);transition:transform .25s,box-shadow .25s}
body.m2 .m2-hiw-step:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(29,94,234,.14)}
body.m2 .m2-hiw-node{position:relative;width:84px;height:84px;margin:0 auto 18px;border-radius:50%;background:linear-gradient(140deg,var(--c),var(--c2));display:grid;place-items:center;color:#fff;font-size:30px;box-shadow:0 12px 26px rgba(29,94,234,.28)}
body.m2 .m2-hiw-num{position:absolute;top:-4px;right:-8px;width:30px;height:30px;border-radius:50%;background:#fff;border:2px solid #1D5EEA;color:#1D5EEA;font-size:13px;font-weight:700;display:grid;place-items:center}
body.m2 .m2-hiw-step h3{font-size:18px;font-weight:700;color:var(--m-ink);margin:0 0 8px}
body.m2 .m2-hiw-step p{font-size:14px;line-height:1.6;color:var(--m-muted);margin:0}
body.m2 .m2-hiw-arrow{display:grid;place-items:center;color:#9AA6B8;font-size:18px}
body.m2 .m2-hiw-note{display:flex;align-items:flex-start;gap:14px;max-width:920px;margin:30px auto 0;padding:16px 20px;background:#FFF8E6;border:1px solid #F5DFA3;border-radius:14px;text-align:left}
body.m2 .m2-hiw-badge{flex:none;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:#FFC93C;color:#5B4100;font-size:12.5px;font-weight:700;white-space:nowrap}
body.m2 .m2-hiw-note p{margin:0;font-size:14.5px;line-height:1.6;color:#5B4A1E}
@media (max-width:1100px){body.m2 .m2-hiw-flow{grid-template-columns:repeat(3,1fr);gap:16px}body.m2 .m2-hiw-arrow{display:none}}
@media (max-width:760px){body.m2 .m2-hiw-flow{grid-template-columns:1fr 1fr;gap:12px}body.m2 .m2-hiw-node{width:68px;height:68px;font-size:24px}body.m2 .m2-hiw-note{flex-direction:column;gap:10px}}
@media (max-width:480px){body.m2 .m2-hiw-flow{grid-template-columns:1fr}}body.m2 .m2-hiw .m2-wrap{max-width:1260px}

/* Candidate stories, 50+ countries and SEO text moved from /jobs (2026-11-19) */
body.m2 .m2-rv-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px)/3);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 4px 18px;scrollbar-width:thin}
body.m2 .m2-rv{scroll-snap-align:start;margin:0;display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid var(--m-line);border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(17,24,39,.06)}
body.m2 .m2-rv-stars{color:#F5B301;font-size:14px;letter-spacing:2px}
body.m2 .m2-rv blockquote{margin:0;flex:1;font-size:15px;line-height:1.65;color:var(--m-ink)}
body.m2 .m2-rv figcaption{display:flex;align-items:center;gap:12px}
body.m2 .m2-rv-av{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:17px;flex:none}
body.m2 .m2-rv-who{display:flex;flex-direction:column;line-height:1.3}
body.m2 .m2-rv-who b{font-size:15px;color:var(--m-ink)}
body.m2 .m2-rv-who small{font-size:12.5px;color:var(--m-muted)}
body.m2 .m2-rv-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--m-line);font-size:12.5px;color:var(--m-muted)}
body.m2 .m2-rv-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#EAF1FF;color:#1D5EEA;font-weight:600}
@media (max-width:1024px){body.m2 .m2-rv-row{grid-auto-columns:calc((100% - 20px)/2)}}
@media (max-width:640px){body.m2 .m2-rv-row{grid-auto-columns:86%}}
body.m2 .m2-flags{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px}
body.m2 .m2-flag{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:1px solid var(--m-line);border-radius:14px;box-shadow:0 6px 18px rgba(17,24,39,.05);transition:transform .2s,box-shadow .2s}
body.m2 .m2-flag:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(17,24,39,.1)}
body.m2 .m2-flag img{width:42px;height:28px;max-width:none;object-fit:cover;border-radius:5px;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
body.m2 .m2-flag span{font-size:14.5px;font-weight:600;color:var(--m-ink)}
body.m2 .m2-flags-foot{text-align:center;color:var(--m-muted);margin:22px 0 0;font-size:14.5px}
@media (max-width:480px){body.m2 .m2-flags{grid-template-columns:1fr 1fr;gap:10px}}
body.m2 .m2-seo-box{max-width:900px;margin:0 auto;color:var(--m-muted);font-size:15px;line-height:1.8}
body.m2 .m2-seo-box h2{font-size:22px;font-weight:700;color:var(--m-ink);margin:0 0 12px}
body.m2 .m2-seo-box h3{font-size:17px;font-weight:600;color:var(--m-ink);margin:24px 0 8px}
body.m2 .m2-seo-box p{margin:0 0 12px}
body.m2 .m2-seo-box a{color:#1D5EEA;font-weight:600}
body.m2 .m2-seotext{border-top:1px solid var(--m-line)}
/* content edges line up with the header pill (1180px wide; navbar side padding 12px) (2026-11-19) */
body.m2 .m2-wrap,body.m2 .m2-hiw .m2-wrap{max-width:1220px;padding:0 20px}
@media (max-width:1204px){body.m2 .m2-wrap,body.m2 .m2-hiw .m2-wrap{padding:0 12px}}

/* breathing room between hero content and the stats box (2026-11-19) */
body.m2 .m2-hero{padding-bottom:100px}
@media (min-width:1340px){body.m2 .m2-hero{padding-bottom:120px}}
@media (max-width:760px){body.m2 .m2-hero{padding-bottom:84px}}

/* How it works: staggered entrance on scroll (2026-11-19). Uses the separate translate/scale properties so the hover lift (transform) still works */
@keyframes m2hiwIn{from{opacity:0;translate:0 34px;scale:.96}to{opacity:1;translate:0 0;scale:1}}
@keyframes m2hiwPop{0%{scale:.4;opacity:0}70%{scale:1.12;opacity:1}100%{scale:1;opacity:1}}
@keyframes m2hiwArrow{from{opacity:0;translate:-12px 0}to{opacity:1;translate:0 0}}
body.m2 .m2-hiw-flow.anim .m2-hiw-step,body.m2 .m2-hiw-flow.anim .m2-hiw-arrow,body.m2 .m2-hiw-flow.anim .m2-hiw-node,body.m2 .m2-hiw-flow.anim .m2-hiw-num{opacity:0}
body.m2 .m2-hiw-flow.go .m2-hiw-step{animation:m2hiwIn .7s cubic-bezier(.2,.8,.2,1) both}
body.m2 .m2-hiw-flow.go .m2-hiw-node{animation:m2hiwPop .6s cubic-bezier(.3,1.4,.5,1) both}
body.m2 .m2-hiw-flow.go .m2-hiw-num{animation:m2hiwPop .45s cubic-bezier(.3,1.6,.5,1) both}
body.m2 .m2-hiw-flow.go .m2-hiw-arrow{animation:m2hiwArrow .45s ease-out both}
body.m2 .m2-hiw-flow.go > :nth-child(1){animation-delay:0s}
body.m2 .m2-hiw-flow.go > :nth-child(2){animation-delay:.22s}
body.m2 .m2-hiw-flow.go > :nth-child(3){animation-delay:.3s}
body.m2 .m2-hiw-flow.go > :nth-child(4){animation-delay:.52s}
body.m2 .m2-hiw-flow.go > :nth-child(5){animation-delay:.6s}
body.m2 .m2-hiw-flow.go > :nth-child(6){animation-delay:.82s}
body.m2 .m2-hiw-flow.go > :nth-child(7){animation-delay:.9s}
body.m2 .m2-hiw-flow.go > :nth-child(8){animation-delay:1.12s}
body.m2 .m2-hiw-flow.go > :nth-child(9){animation-delay:1.2s}
body.m2 .m2-hiw-flow.go > :nth-child(1) .m2-hiw-node{animation-delay:.18s}body.m2 .m2-hiw-flow.go > :nth-child(1) .m2-hiw-num{animation-delay:.45s}
body.m2 .m2-hiw-flow.go > :nth-child(3) .m2-hiw-node{animation-delay:.48s}body.m2 .m2-hiw-flow.go > :nth-child(3) .m2-hiw-num{animation-delay:.75s}
body.m2 .m2-hiw-flow.go > :nth-child(5) .m2-hiw-node{animation-delay:.78s}body.m2 .m2-hiw-flow.go > :nth-child(5) .m2-hiw-num{animation-delay:1.05s}
body.m2 .m2-hiw-flow.go > :nth-child(7) .m2-hiw-node{animation-delay:1.08s}body.m2 .m2-hiw-flow.go > :nth-child(7) .m2-hiw-num{animation-delay:1.35s}
body.m2 .m2-hiw-flow.go > :nth-child(9) .m2-hiw-node{animation-delay:1.38s}body.m2 .m2-hiw-flow.go > :nth-child(9) .m2-hiw-num{animation-delay:1.65s}
/* Candidate stories: staggered entrance on scroll (2026-11-19) */
@keyframes m2rvIn{from{opacity:0;translate:0 40px;scale:.95}to{opacity:1;translate:0 0;scale:1}}
@keyframes m2rvStar{0%{opacity:0;scale:.2}70%{opacity:1;scale:1.3}100%{opacity:1;scale:1}}
body.m2 .m2-rv-row.anim .m2-rv,body.m2 .m2-rv-row.anim .m2-rv-stars i{opacity:0}
body.m2 .m2-rv-row.go .m2-rv{animation:m2rvIn .75s cubic-bezier(.2,.8,.2,1) both}
body.m2 .m2-rv-row.go .m2-rv-stars i{display:inline-block;animation:m2rvStar .4s cubic-bezier(.3,1.6,.5,1) both}
body.m2 .m2-rv-row.go .m2-rv:nth-child(2){animation-delay:.18s}
body.m2 .m2-rv-row.go .m2-rv:nth-child(3){animation-delay:.36s}
body.m2 .m2-rv-row.go .m2-rv:nth-child(4){animation-delay:.54s}
body.m2 .m2-rv-row.go .m2-rv:nth-child(5){animation-delay:.72s}
body.m2 .m2-rv-row.go .m2-rv-stars i:nth-child(1){animation-delay:calc(var(--d,0s) + .35s)}
body.m2 .m2-rv-row.go .m2-rv-stars i:nth-child(2){animation-delay:calc(var(--d,0s) + .43s)}
body.m2 .m2-rv-row.go .m2-rv-stars i:nth-child(3){animation-delay:calc(var(--d,0s) + .51s)}
body.m2 .m2-rv-row.go .m2-rv-stars i:nth-child(4){animation-delay:calc(var(--d,0s) + .59s)}
body.m2 .m2-rv-row.go .m2-rv-stars i:nth-child(5){animation-delay:calc(var(--d,0s) + .67s)}
body.m2 .m2-rv:nth-child(2){--d:.18s}body.m2 .m2-rv:nth-child(3){--d:.36s}body.m2 .m2-rv:nth-child(4){--d:.54s}body.m2 .m2-rv:nth-child(5){--d:.72s}
/* waving flags (2026-11-19): each flag is cut into 14 vertical strips that ripple with a delay, plus light/shade like cloth */
body.m2 .m2-wave{display:flex;flex:none;width:42px;height:28px;filter:drop-shadow(0 1px 2px rgba(17,24,39,.18))}
body.m2 .m2-wave i{display:block;width:3px;height:100%;background-image:var(--f);background-size:42px 28px;background-repeat:no-repeat;background-position:calc(var(--i) * -3px) 0;animation:m2wave 1.9s ease-in-out infinite;animation-delay:calc(var(--i) * -.11s)}
body.m2 .m2-wave i:first-child{border-radius:3px 0 0 3px}
body.m2 .m2-wave i:last-child{border-radius:0 3px 3px 0}
@keyframes m2wave{0%,100%{transform:translateY(-1.6px);filter:brightness(1.1)}50%{transform:translateY(1.6px);filter:brightness(.86)}}
@media (prefers-reduced-motion:reduce){body.m2 .m2-wave i{animation:none}}
/* Candidate stories: continuous loop (2026-11-19). The list is rendered twice and the track slides by half its width */
body.m2 .m2-rv-row{display:block;overflow:hidden;padding:6px 0 18px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
body.m2 .m2-rv-track{display:flex;align-items:stretch;width:max-content;animation:m2rvScroll 55s linear infinite}
body.m2 .m2-rv-track .m2-rv{flex:none;width:400px;margin-right:24px}
body.m2 .m2-rv-row:hover .m2-rv-track,body.m2 .m2-rv-row:focus-within .m2-rv-track{animation-play-state:paused}
@keyframes m2rvScroll{to{transform:translateX(-50%)}}
@media (max-width:640px){body.m2 .m2-rv-track .m2-rv{width:290px;margin-right:16px}body.m2 .m2-rv-track{animation-duration:42s}}
@media (prefers-reduced-motion:reduce){body.m2 .m2-rv-row{overflow-x:auto}body.m2 .m2-rv-track{animation:none}}

/* 2026-11-20: company logos + live-added jobs */
body.m2 .m2-ava.has-logo{border:1px solid var(--m-line);padding:4px;overflow:hidden}
body.m2 .m2-ava.has-logo img{width:100%;height:100%;object-fit:contain;border-radius:8px}
body.m2 .m2-job{position:relative}
body.m2 .m2-new-badge{position:absolute;top:-9px;right:16px;background:#E07A3A;color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;padding:3px 10px;border-radius:999px;box-shadow:0 6px 14px rgba(224,122,58,.3)}
body.m2 .m2-job-new{animation:m2NewJob 1.6s ease;border-color:#F4B98F}
@keyframes m2NewJob{0%{opacity:0;transform:translateY(14px)}35%{opacity:1;transform:none;box-shadow:0 0 0 6px rgba(224,122,58,.18)}100%{box-shadow:0 0 0 0 rgba(224,122,58,0)}}
@media (prefers-reduced-motion:reduce){body.m2 .m2-job-new{animation:none}}

/* 2026-11-20: compact hero so "Recent job openings" peeks above the fold on desktop (user request) */
@media (min-width:1024px){
  body.m2 #navbar.mh~.m2-main .m2-hero{padding-top:118px}
  body.m2 .m2-hero{padding-bottom:64px}
  body.m2 .m2-hero h1{font-size:clamp(30px,3.6vw,48px);margin:14px 0 12px}
  body.m2 .m2-sub{font-size:17px;max-width:620px}
  body.m2 .m2-search{margin-top:22px}
  body.m2 .m2-alt{margin-top:14px}
  body.m2 .m2-trust{margin-top:14px}
  body.m2 .m2-stat-row{transform:translateY(-30px)}
  body.m2 .m2-stat{padding:16px 18px}
  body.m2 .m2-stat .m2-n{font-size:28px}
  body.m2 .m2-jobs{padding-top:6px}
  body.m2 .m2-jobs .m2-head{margin-bottom:22px}
  body.m2 .m2-jobs .m2-head p{margin-top:8px;font-size:15.5px}
}
/* side photos (>=1340px) moved up to fit the shorter hero */
@media (min-width:1340px){
  body.m2 .m2-hero{padding-bottom:70px}
  body.m2 .m2-pp-a{top:108px}
  body.m2 .m2-pp-b{top:262px}
  body.m2 .m2-pp-c{top:340px}
  body.m2 .m2-pp-c .m2-pp-img{width:140px;height:140px}
  body.m2 .m2-pp-c .m2-pp-card{top:112px}
  body.m2 .m2-pp-c .m2-pp-arrow{top:-40px;left:130px}
  body.m2 .m2-pp-d{top:96px}
  body.m2 .m2-pp-e{top:262px}
  body.m2 .m2-pp-f{top:340px}
  body.m2 .m2-pp-f .m2-pp-img{width:140px;height:140px}
  body.m2 .m2-pp-f .m2-pp-card{top:110px;right:96px}
}

/* 2026-11-20: hero side photos + name cards ~20% smaller (user request); scaled from the outer corner, float animation untouched */
@media (min-width:1340px){
  body.m2 .m2-pp{scale:.8}
  body.m2 .m2-pp-a,body.m2 .m2-pp-b,body.m2 .m2-pp-c{transform-origin:0 0}
  body.m2 .m2-pp-d,body.m2 .m2-pp-e,body.m2 .m2-pp-f{transform-origin:100% 0}
  body.m2 .m2-pp-a{top:128px;left:92px}
  body.m2 .m2-pp-b{top:270px;left:70px}
  body.m2 .m2-pp-c{top:352px;left:112px}
  body.m2 .m2-pp-d{top:112px;right:104px}
  body.m2 .m2-pp-e{top:270px;right:184px}
  body.m2 .m2-pp-f{top:352px;right:80px}
}

/* pinned (Featured) job on the homepage, 2026-11-20 */
body.m2 .m2-feat-badge{background:var(--m-blue,#1D5EEA)!important;box-shadow:0 6px 14px rgba(29,94,234,.3)!important}
body.m2 .m2-feat-badge i{font-size:9px;margin-right:3px}
