Green Philosophy
“Every hire is a long-term investment — in talent, in community, and in the world we leave behind. ”
Read our Green Philosophy Thank you. We've received your application. Our team reviews every submission carefully. You'll hear from us within 5–7 business days.
Explore more about KHANGUUD → (function(){function ready(fn){if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',fn);}else{fn();}}function getPositions(){var seen={},list=[];document.querySelectorAll('[data-position]').forEach(function(el){var p=el.getAttribute('data-position');if(p&&!seen[p]){seen[p]=1;list.push(p);}});if(list.length===0){list=['Senior Sustainability Project Manager','Mining Operations Engineer','Corporate Finance Analyst'];}list.push('General Application');return list;}function populateSelect(){var sel=document.getElementById('position');if(!sel)return;sel.innerHTML='';var ph=document.createElement('option');ph.value='';ph.textContent='Select a position…';ph.disabled=true;ph.selected=true;sel.appendChild(ph);getPositions().forEach(function(p){var o=document.createElement('option');o.value=p;o.textContent=p;sel.appendChild(o);});}function applyFor(pos){var sel=document.getElementById('position');if(!sel)return;if(sel.options.length<=1)populateSelect();sel.value=pos;if(sel.value!==pos){var o=document.createElement('option');o.value=pos;o.textContent=pos;sel.appendChild(o);sel.value=pos;}}function scrollToForm(){var el=document.getElementById('application');if(!el)return;var top=el.getBoundingClientRect().top+window.pageYOffset-80;window.scrollTo({top:top,behavior:'smooth'});}function setupCvUpload(){var input=document.getElementById('cv');var label=document.querySelector('.career-apply__upload');if(!input||!label)return;var textEl=label.querySelector('.career-apply__upload-text');var hintEl=label.querySelector('.career-apply__upload-hint');var originalText=textEl?textEl.textContent:'Click to upload or drag and drop';var originalHint=hintEl?hintEl.textContent:'PDF, DOC, DOCX (max 10MB)';if(!document.getElementById('cv-upload-styles')){var st=document.createElement('style');st.id='cv-upload-styles';st.textContent='.career-apply__upload{cursor:pointer!important;transition:all .2s ease;}.career-apply__upload.is-success{border-color:#05C92F!important;background:rgba(5,201,47,0.05)!important;}.career-apply__upload.is-success .career-apply__upload-text{color:#05C92F!important;font-weight:500;}.career-apply__upload.is-error{border-color:#d33!important;background:rgba(221,51,51,0.05)!important;}.career-apply__upload.is-error .career-apply__upload-text{color:#d33!important;font-weight:500;}.career-apply__upload.is-dragover{border-color:#05C92F!important;background:rgba(5,201,47,0.08)!important;}';document.head.appendChild(st);}label.setAttribute('for','cv');label.addEventListener('click',function(e){e.preventDefault();input.click();});['dragover','dragenter'].forEach(function(n){label.addEventListener(n,function(e){e.preventDefault();e.stopPropagation();label.classList.add('is-dragover');});});['dragleave','drop'].forEach(function(n){label.addEventListener(n,function(e){e.preventDefault();e.stopPropagation();label.classList.remove('is-dragover');});});label.addEventListener('drop',function(e){var files=e.dataTransfer&&e.dataTransfer.files;if(files&&files.length){try{input.files=files;}catch(err){}var ev=new Event('change',{bubbles:true});input.dispatchEvent(ev);}});function reset(){label.classList.remove('is-error','is-success');if(textEl)textEl.textContent=originalText;if(hintEl)hintEl.textContent=originalHint;}function showError(msg,detail){label.classList.remove('is-success');label.classList.add('is-error');if(textEl)textEl.textContent=msg;if(hintEl)hintEl.textContent=detail;}function showSuccess(file){label.classList.remove('is-error');label.classList.add('is-success');if(textEl)textEl.textContent=file.name;var size=file.size>1048576?(file.size/1048576).toFixed(2)+' MB':(file.size/1024).toFixed(0)+' KB';if(hintEl)hintEl.textContent='Selected ('+size+') — click to change';}input.addEventListener('change',function(){var file=input.files&&input.files[0];if(!file){reset();return;}var ext=(file.name.split('.').pop()||'').toLowerCase();var allowed=['pdf','doc','docx'];var maxSize=10485760;if(allowed.indexOf(ext)===-1){input.value='';showError('Unsupported file type','Please upload a PDF, DOC, or DOCX file');return;}if(file.size>maxSize){input.value='';showError('File too large','Maximum file size is 10MB');return;}showSuccess(file);});}function fixFormEncoding(){var form=document.querySelector('.career-apply__form form');if(!form)return;form.setAttribute('enctype','multipart/form-data');form.setAttribute('method','POST');}ready(function(){populateSelect();setupCvUpload();fixFormEncoding();document.querySelectorAll('.career-position').forEach(function(card){card.addEventListener('click',function(e){e.preventDefault();var pos=card.getAttribute('data-position')||'General Application';applyFor(pos);scrollToForm();setTimeout(function(){var f=document.getElementById('fullName');if(f)f.focus();},650);});});var anchors=document.getElementsByTagName('a');for(var i=0;i<anchors.length;i++){if(anchors[i].getAttribute('href')==='#application'){anchors[i].addEventListener('click',function(e){e.preventDefault();scrollToForm();});}}});})();