/* Avora homepage — the discovery loader transformed into a living hero. */
.page-loader-home{max-width:none;padding:0;margin:0}
.discovery-hero{background:#0c0d21;color:#faf9f5;isolation:isolate;overflow:hidden;position:relative;min-height:calc(100svh - 84px);padding:28px clamp(22px,4vw,74px) 20px}
.discovery-hero:before{content:"";position:absolute;inset:-10% -10%;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 24% 29%,#5050aa38,transparent 39%),radial-gradient(ellipse at 64% 85%,#9eaa5030,transparent 45%)}
.home-noise{position:absolute;inset:0;z-index:-1;opacity:.12;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E")}
.discovery-topline,.home-hero-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;position:relative;font-size:10px;letter-spacing:.19em;font-weight:700;color:#bbbcd0}
.discovery-topline span:first-child{display:inline-flex;align-items:center;gap:12px}
.home-live-dot{width:8px;height:8px;border-radius:50%;background:#d7f58b;box-shadow:0 0 20px #d7f58b88}
.discovery-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(370px,.72fr);align-items:center;gap:clamp(26px,4vw,72px);max-width:1580px;margin:0 auto;padding:16px 0 30px}
.discovery-story{position:relative;min-width:0}
.hero-scene{position:relative;min-height:330px;height:clamp(320px,42vh,470px)}
.hero-scene .loader-scene{height:100%;min-height:0;width:100%;max-width:680px;margin:auto}
.hero-scene .loader-globe{width:clamp(160px,18vw,238px)}
.hero-scene .loader-globe span{font-size:clamp(100px,11vw,150px)}
.hero-scene .loader-globe i{font-size:29px}
.hero-scene .loader-orbit{width:min(94%,520px)}
.hero-scene .loader-coordinates{left:6%;bottom:4%;font-size:9px}
.discovery-copy{position:relative;z-index:1;margin-top:-25px;max-width:760px}
.discovery-kicker{display:inline-flex;align-items:center;gap:15px;color:#d7f58b;font-size:11px;font-weight:800;letter-spacing:.18em}
.discovery-copy h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(50px,5.7vw,96px);line-height:1.04;letter-spacing:-.078em;font-weight:600;margin:17px 0 20px}
.discovery-copy h1 em{font-style:normal;color:#d7f58b}
.discovery-copy p{font-size:clamp(15px,1.4vw,19px);color:#c6c7d9;line-height:1.6;max-width:500px}
.hero-bottom-note{display:flex;justify-content:space-between;max-width:700px;margin-top:35px;color:#9f9fb7;font-size:10px;font-weight:700;letter-spacing:.16em}
.home-search-panel{position:relative;background:linear-gradient(148deg,rgba(255,255,255,.10),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.17);backdrop-filter:blur(24px);border-radius:25px;padding:clamp(22px,2.5vw,36px);box-shadow:0 30px 90px #05061290;min-width:0}
.home-search-panel:before{content:"";position:absolute;top:0;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,#d7f58baa,transparent)}
.panel-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.home-panel-label{font-size:10px;color:#d7f58b;letter-spacing:.17em;font-weight:700}
.panel-headline h2{font-size:clamp(30px,2.8vw,44px);font-family:'Space Grotesk',sans-serif;letter-spacing:-.06em;line-height:1.08;margin:11px 0 4px}
.panel-headline h2 em{font-style:normal;color:#d7f58b}
.panel-spark{color:#d7f58b;font-size:35px}
.home-form-intro{color:#c4c5d9;font-size:13px;line-height:1.6;margin:10px 0 20px}
.home-search-panel .file-drop{padding:14px 18px;display:grid;grid-template-columns:40px 1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;margin-bottom:14px}
.home-search-panel .file-symbol{grid-row:1/3;font-size:27px}
.home-search-panel .file-drop strong{font-size:14px;white-space:normal;overflow-wrap:anywhere}
.home-search-panel .file-drop small{font-size:11px}
.home-search-panel .file-cta{grid-row:1/3;grid-column:3;font-size:10px;margin:0;border:1px solid #ffffff29;border-radius:999px;padding:9px 11px}
.home-search-panel .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.home-search-panel .field{margin:0}
.home-search-panel .field label{font-size:10px;letter-spacing:.08em}
.home-search-panel input,.home-search-panel select{margin-top:6px;padding:10px 12px;font-size:12px;border-radius:11px;min-width:0}
.home-search-panel select{padding-right:25px;background-position:calc(100% - 16px) 18px,calc(100% - 11px) 18px}
.home-search-panel .search-submit{margin-top:18px;border-radius:13px;min-height:48px}
.home-search-panel .fine-print{font-size:10px;margin:12px 0 0;color:#a7a7be}
.home-hero-footer{border-top:1px solid #ffffff1e;padding-top:17px}
.home-hero-footer a{color:#d7f58b;text-decoration:none}
.home-results-section{max-width:1300px;margin:0 auto;padding:85px 28px 35px;scroll-margin-top:105px}
.results-heading-row{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}
.results-heading-row h2{font-size:clamp(42px,6vw,76px);font-family:'Space Grotesk',sans-serif;letter-spacing:-.075em;line-height:1.02;margin:14px 0 0}
.results-heading-row h2 em{font-style:normal;color:#d7f58b}
.results-heading-row p{max-width:390px;color:#a9abc5;font-size:13px;line-height:1.7}
.home-results-section .results-area{max-width:none;width:100%;background:linear-gradient(180deg,#14182e,#101428);border:1px solid #ffffff19}
.home-results-section .job-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-results-section .empty-state{align-items:center;justify-items:center;text-align:center;min-height:340px}
.home-results-section .empty-state p{max-width:460px}
.home-results-section .empty-skeleton{width:min(100%,400px)}
.home-closer{max-width:1300px;margin:50px auto 70px;padding:clamp(28px,5vw,70px);background:#d7f58b;color:#101327;border-radius:26px;display:flex;justify-content:space-between;gap:20px;overflow:hidden;position:relative}
.home-closer h2{font-family:'Space Grotesk',sans-serif;font-size:clamp(40px,6vw,85px);line-height:.95;letter-spacing:-.085em;margin:20px 0}
.home-closer h2 em{font-style:normal;color:#535c3c}
.home-closer .overline{color:#43512b}
.home-closer p{color:#3b4730;max-width:430px;font-size:15px}
.home-closer .button{margin-top:12px;background:#151a35;color:#f7f8fb}
.home-closer-mark{font-family:'Space Grotesk',sans-serif;font-size:clamp(170px,30vw,450px);font-weight:700;letter-spacing:-.16em;line-height:.8;opacity:.14;align-self:flex-end;position:relative}
.home-closer-mark span{font-size:.24em;position:absolute;right:14%;top:6%}
@media(max-width:1080px){.discovery-layout{grid-template-columns:minmax(0,1fr) minmax(340px,.85fr);gap:22px}.hero-scene{height:340px}.discovery-copy h1{font-size:clamp(48px,5vw,66px)}.home-results-section .job-list{grid-template-columns:1fr}}
@media(max-width:800px){.discovery-layout{grid-template-columns:1fr}.discovery-story{display:grid;grid-template-columns:40% 60%;gap:10px;align-items:center}.hero-scene{min-height:250px;height:280px}.hero-scene .loader-globe{width:145px}.hero-scene .loader-globe span{font-size:90px}.hero-scene .loader-orbit{width:100%}.hero-scene .loader-coordinates{display:none}.discovery-copy{margin-top:0}.discovery-copy h1{font-size:clamp(45px,7vw,68px)}.hero-bottom-note{grid-column:1/-1;margin:0 0 20px}.home-search-panel{max-width:680px;width:100%;margin:auto}}
@media(max-width:580px){.discovery-hero{padding:22px 18px}.discovery-topline span:last-child{display:none}.discovery-layout{padding:18px 0}.discovery-story{display:flex;flex-direction:column;gap:0;align-items:stretch}.hero-scene{height:245px;min-height:245px}.hero-scene .loader-globe{width:140px}.hero-scene .loader-orbit{width:min(95%,360px)}.discovery-copy h1{font-size:clamp(43px,11vw,65px);margin:10px 0 14px}.discovery-copy{margin-top:-5px}.discovery-copy p{font-size:14px}.hero-bottom-note{margin:14px 0}.home-search-panel{padding:20px}.home-search-panel .form-grid{grid-template-columns:1fr}.home-search-panel .file-drop{grid-template-columns:28px 1fr;row-gap:3px}.home-search-panel .file-cta{grid-column:2;grid-row:3;justify-self:start;margin-top:5px}.home-hero-footer{font-size:9px}.home-results-section{padding:55px 18px 25px}.results-heading-row{display:block}.home-closer{margin:30px 18px 55px;flex-direction:column}.home-closer-mark{display:none}}
@media(prefers-reduced-motion:reduce){.hero-scene *, .hero-scene *:before,.hero-scene *:after{animation:none!important}}

/* One-viewport Avora landing. Results remain below the fold only after searching. */
body.avora-home{--avora-header-height:76px}
body.avora-home .site-header{min-height:var(--avora-header-height);height:var(--avora-header-height);padding-top:12px;padding-bottom:12px}
body.avora-home.landing-only{height:100dvh;overflow:hidden}
body.avora-home .discovery-hero{height:calc(100dvh - var(--avora-header-height));min-height:0;padding:clamp(10px,1.5vh,20px) clamp(18px,3vw,54px);display:flex;flex-direction:column}
body.avora-home .discovery-layout{flex:1;min-height:0;width:100%;padding:6px 0 8px;grid-template-columns:minmax(0,1fr) minmax(350px,.76fr);gap:clamp(16px,2.6vw,46px)}
body.avora-home .discovery-story{min-height:0;display:flex;flex-direction:column;justify-content:center}
body.avora-home .hero-scene{height:clamp(145px,29vh,310px);min-height:0;flex:none}
body.avora-home .hero-scene .loader-globe{width:clamp(112px,13vw,190px)}
body.avora-home .hero-scene .loader-globe span{font-size:clamp(73px,8vw,120px)}
body.avora-home .discovery-copy{margin-top:-12px}
body.avora-home .discovery-copy h1{font-size:clamp(42px,4.7vw,76px);line-height:1.03;margin:10px 0 9px}
body.avora-home .discovery-copy p{margin:0;font-size:clamp(12px,1vw,15px);line-height:1.45}
body.avora-home .hero-bottom-note{margin-top:14px}
body.avora-home .home-search-panel{max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#575b74 transparent;padding:clamp(16px,2vh,24px)}
body.avora-home .panel-headline h2{font-size:clamp(26px,2vw,34px);margin:5px 0 0}
body.avora-home .home-form-intro{margin:6px 0 10px;font-size:12px}
body.avora-home .home-search-panel .file-drop{padding:10px 12px;margin-bottom:10px}
body.avora-home .home-search-panel .file-symbol{font-size:24px}
body.avora-home .home-search-panel .form-grid{gap:7px 11px}
body.avora-home .home-search-panel input,body.avora-home .home-search-panel select{padding:8px 10px;margin-top:4px}
body.avora-home .home-search-panel select{padding-right:24px;background-position:calc(100% - 15px) 15px,calc(100% - 10px) 15px}
body.avora-home .home-search-panel .search-submit{margin-top:10px;min-height:40px}
body.avora-home .home-search-panel .fine-print{margin:7px 0 0}
body.avora-home .home-hero-footer{flex:none;padding-top:8px;min-height:22px}
body.avora-home .home-results-section{scroll-margin-top:calc(var(--avora-header-height) + 10px)}
@media(max-width:900px){
  body.avora-home{--avora-header-height:108px}
  body.avora-home .site-header{height:auto;min-height:var(--avora-header-height)}
  body.avora-home .discovery-layout{grid-template-columns:1fr;gap:10px;align-content:start}
  body.avora-home .discovery-story{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center}
  body.avora-home .hero-scene{height:140px;min-height:0}
  body.avora-home .hero-scene .loader-globe{width:88px}
  body.avora-home .hero-scene .loader-globe span{font-size:58px}
  body.avora-home .discovery-copy{margin:0}
  body.avora-home .discovery-copy h1{font-size:clamp(30px,5vw,52px)}
  body.avora-home .hero-bottom-note{display:none}
  body.avora-home .home-search-panel{width:100%;max-width:none;overflow:auto}
}
@media(max-width:620px){
  body.avora-home{--avora-header-height:119px}
  body.avora-home .discovery-topline{font-size:8px}
  body.avora-home .discovery-story{grid-template-columns:90px minmax(0,1fr);gap:8px}
  body.avora-home .hero-scene{height:100px}
  body.avora-home .hero-scene .loader-globe{width:65px}
  body.avora-home .hero-scene .loader-globe span{font-size:44px}
  body.avora-home .hero-scene .loader-orbit{width:105%}
  body.avora-home .discovery-kicker{font-size:8px}
  body.avora-home .discovery-copy h1{font-size:clamp(26px,6.7vw,39px);margin:4px 0}
  body.avora-home .discovery-copy p{font-size:11px}
  body.avora-home .home-search-panel .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.avora-home .home-search-panel .file-drop{grid-template-columns:30px 1fr auto;grid-template-rows:auto auto}
  body.avora-home .home-search-panel .file-cta{grid-column:3;grid-row:1/3;margin:0}
  body.avora-home .home-hero-footer{font-size:8px}
}
@media(max-height:570px){
  body.avora-home .discovery-story .hero-scene{display:none}
  body.avora-home .discovery-copy{margin:0}
  body.avora-home .discovery-copy h1{font-size:clamp(28px,4vw,50px)}
  body.avora-home .home-search-panel{overflow-y:auto}
}

/* Landing v2: viewport-safe responsive scaling. These rules supersede the legacy sizing above. */
body.avora-home{--avora-header-height:76px;--landing-gap:clamp(14px,2.4vw,42px)}
body.avora-home .site-header{height:auto!important;min-height:0!important;padding-block:12px;position:relative;flex:none}
body.avora-home.landing-only{height:100dvh;min-height:0;overflow:hidden}
body.avora-home.landing-only .page-loader-home{height:calc(100dvh - var(--avora-header-height));min-height:0}
body.avora-home .discovery-hero{height:calc(100dvh - var(--avora-header-height));min-height:0;max-height:none;display:flex;flex-direction:column;padding:clamp(12px,1.7vh,22px) clamp(16px,3.2vw,56px) clamp(10px,1.5vh,18px)}
body.avora-home .discovery-layout{width:100%;max-width:1480px;flex:1 1 auto;min-height:0;grid-template-columns:minmax(0,1.05fr) minmax(320px,.9fr);gap:var(--landing-gap);align-items:center;padding:10px 0}
body.avora-home .discovery-story{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:clamp(8px,1.7vh,18px)}
body.avora-home .hero-scene{width:100%;height:clamp(130px,31dvh,340px);min-height:0;max-height:36dvh;flex:0 1 auto;overflow:hidden}
body.avora-home .hero-scene .loader-scene{height:100%;min-height:0}
body.avora-home .hero-scene .loader-globe{width:clamp(100px,min(17vw,26dvh),220px)}
body.avora-home .hero-scene .loader-globe span{font-size:clamp(66px,min(11vw,17dvh),144px)}
body.avora-home .discovery-copy{margin:0;min-width:0;max-width:690px}
body.avora-home .discovery-copy h1{font-size:clamp(40px,min(5vw,8dvh),88px);line-height:1.02;letter-spacing:-.068em;overflow-wrap:normal;margin:10px 0 10px}
body.avora-home .discovery-copy p{font-size:clamp(12px,1.1vw,16px);line-height:1.55;max-width:430px;margin:0}
body.avora-home .discovery-kicker{font-size:10px;letter-spacing:.14em}
body.avora-home .hero-bottom-note{margin:0;width:100%;max-width:570px}
body.avora-home .home-search-panel{min-width:0;width:100%;max-width:590px;max-height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#62667f transparent;padding:clamp(15px,2vw,28px);border-radius:22px;transform-style:flat!important}
body.avora-home .home-search-panel:focus-within{scrollbar-color:#d7f58b transparent}
body.avora-home .home-search-panel .file-drop{margin-bottom:12px}
body.avora-home .home-search-panel input,body.avora-home .home-search-panel select{font-size:clamp(13px,1vw,15px);line-height:1.3;min-height:40px}
body.avora-home .home-search-panel .field label{font-size:11px}
body.avora-home .home-search-panel .search-submit{min-height:45px}
body.avora-home .home-hero-footer{flex:0 0 auto;min-height:0;margin-top:4px;white-space:normal}
body.avora-home .home-results-section{scroll-margin-top:18px}
body.avora-home :is(.discovery-story,.home-search-panel,.form-grid,.field){min-width:0}
/* Stacking becomes necessary before the form and art start competing for width. */
@media(max-width:1020px){
 body.avora-home .discovery-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:18px}
 body.avora-home .discovery-copy h1{font-size:clamp(37px,min(4.7vw,7dvh),66px)}
 body.avora-home .hero-scene{height:clamp(112px,24dvh,260px)}
 body.avora-home .hero-bottom-note{display:none}
}
@media(max-width:760px){
 body.avora-home .discovery-hero{padding:12px clamp(14px,3vw,24px)}
 body.avora-home .discovery-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:stretch;gap:12px;padding:10px 0 8px}
 body.avora-home .discovery-story{display:grid;grid-template-columns:clamp(90px,25vw,170px) minmax(0,1fr);gap:clamp(10px,3vw,24px);align-items:center;justify-content:stretch}
 body.avora-home .hero-scene{width:100%;height:clamp(100px,17dvh,190px);max-height:none}
 body.avora-home .hero-scene .loader-globe{width:clamp(62px,13vw,100px)}
 body.avora-home .hero-scene .loader-globe span{font-size:clamp(40px,9vw,65px)}
 body.avora-home .hero-scene .loader-coordinates{display:none}
 body.avora-home .discovery-copy h1{font-size:clamp(29px,6.4vw,56px);margin:5px 0;line-height:1}
 body.avora-home .discovery-copy p{font-size:clamp(11px,2.3vw,14px);line-height:1.45}
 body.avora-home .discovery-kicker{font-size:9px}
 body.avora-home .home-search-panel{height:100%;max-height:100%;max-width:none;margin:0;padding:clamp(14px,3vw,22px)}
 body.avora-home .home-search-panel .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.avora-home .home-hero-footer{font-size:8px;gap:12px}
}
@media(max-width:420px){
 body.avora-home .discovery-layout{gap:8px;padding:6px 0}
 body.avora-home .discovery-story{grid-template-columns:82px minmax(0,1fr);gap:8px}
 body.avora-home .hero-scene{height:90px}
 body.avora-home .hero-scene .loader-globe{width:56px}
 body.avora-home .hero-scene .loader-globe span{font-size:37px}
 body.avora-home .discovery-copy h1{font-size:clamp(26px,7vw,36px)}
 body.avora-home .discovery-copy p{font-size:11px}
 body.avora-home .home-search-panel .form-grid{grid-template-columns:1fr}
 body.avora-home .home-search-panel .file-drop{grid-template-columns:28px minmax(0,1fr);padding:10px}
 body.avora-home .home-search-panel .file-cta{grid-column:2;grid-row:3;justify-self:start}
 body.avora-home .home-hero-footer span:last-child{display:none}
}
/* Keep navigation, not just the search form, accessible when zoom or landscape reduces height. */
@media(max-height:620px){
 body.avora-home .discovery-topline,body.avora-home .home-hero-footer{display:none}
 body.avora-home .discovery-layout{padding:0;gap:10px}
 body.avora-home .hero-scene{height:clamp(75px,18dvh,135px);min-height:0}
 body.avora-home .discovery-copy h1{font-size:clamp(30px,min(4vw,8dvh),48px)}
 body.avora-home .discovery-story{gap:6px}
}
@media(max-height:420px){body.avora-home .hero-scene{display:none}body.avora-home .discovery-copy p{display:none}}
/* On very small displays or extreme zoom, allow a document fallback instead of trapping content. */
@media(max-width:320px){body.avora-home.landing-only{height:auto;min-height:100dvh;overflow:auto}body.avora-home.landing-only .page-loader-home,body.avora-home .discovery-hero{height:auto;min-height:calc(100dvh - var(--avora-header-height))}body.avora-home .home-search-panel{max-height:none;overflow:visible}}
@media(prefers-reduced-motion:reduce){body.avora-home .home-search-panel{scroll-behavior:auto}}
