/* Research explorer. Uses the shared Drift shell, fonts, colours and page gutters. */
.research-page .rx-main{--rx-line:#d5d7cf;--rx-muted:#595c54;--rx-lime:#c2ff41}
.research-page .rx-hero{padding-top:clamp(38px,5vw,72px);padding-bottom:clamp(32px,4vw,56px)}
.research-page .rx-label{font-size:13px;color:var(--rx-muted);margin-bottom:30px}
.research-page .rx-hero-grid{display:grid;grid-template-columns:1.35fr 1fr;align-items:end;gap:10%}
.research-page .rx-hero h1{font-size:clamp(39px,5.5vw,80px);line-height:1.02;letter-spacing:-.04em;max-width:15ch;text-wrap:balance;margin:0}
.research-page .rx-hero-grid>p{font-size:clamp(17px,1.5vw,21px);line-height:1.55;max-width:38ch;color:var(--rx-muted);padding-bottom:4px}
.research-page .rx-lab{padding-block:0 54px}
.research-page .rx-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--rx-line);border-bottom:1px solid var(--rx-line)}
.research-page .rx-tabs button{font:inherit;font-size:clamp(17px,1.7vw,25px);font-weight:500;letter-spacing:-.025em;display:flex;gap:13px;align-items:center;padding:25px 16px 25px 0;background:transparent;color:var(--rx-muted);border:0;cursor:pointer;text-align:left;transition:color .2s ease}
.research-page .rx-tabs button[aria-selected=true],.research-page .rx-tabs button:hover{color:var(--ink)}
.research-page .rx-tab-dot{width:7px;height:7px;flex:0 0 7px;border:1px solid #d5d7cf;border-radius:50%;transition:background .2s ease,border-color .2s ease}
.research-page .rx-tabs button[aria-selected=true] .rx-tab-dot{background:var(--rx-lime);border-color:var(--rx-lime)}
.research-page .rx-tab-arrow{margin-left:auto;font-size:22px;opacity:0;transform:translate(-4px,4px);transition:opacity .2s ease,transform .2s ease}
.research-page .rx-tabs button[aria-selected=true] .rx-tab-arrow{opacity:1;transform:translate(0,0);color:var(--accent-ink)}
.research-page .rx-stage{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:7%;align-items:center;padding-block:38px 25px}
.research-page .rx-canvas{min-width:0;position:relative;margin:0}
.research-page .rx-canvas figcaption{display:flex;align-items:center;gap:9px;color:var(--rx-muted);font-size:12px}
.research-page .rx-status-dot{display:inline-block;flex:0 0 5px;width:5px;height:5px;background:#eeefe9;border-radius:50%;margin-right:5px}
.research-page .rx-network{display:block;width:100%;height:auto;overflow:visible}
.research-page .rx-network-mobile{display:none;width:100%;height:auto;margin-top:14px}
.research-page .rx-rails path{fill:none;stroke:#73796b;stroke-width:1.2}
.research-page .rx-rails .rx-return{stroke-dasharray:3 6;stroke:#73796b}
.research-page .rx-flow-lines path{fill:none;stroke:var(--accent-ink);stroke-width:1.5;stroke-dasharray:7 210;opacity:0}
.research-page .rx-node rect{fill:#fafaf7;stroke:#73796b;stroke-width:1;transition:stroke .25s ease,fill .25s ease}
.research-page .rx-node text{fill:#595c54;font:500 12px Inter,Arial,sans-serif}
.research-page .rx-symbol{fill:none;stroke:#73796b;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.research-page .rx-model-frame{fill:#fafaf7;stroke:#3f5b0c;stroke-width:1;transition:fill .25s ease}
.research-page .rx-model-cross{fill:none;stroke:var(--accent-ink);stroke-width:1}
.research-page .rx-model-kicker{fill:#3f5b0c;font:500 8px Inter,Arial,sans-serif;letter-spacing:.5px}
.research-page .rx-model-name{fill:#111210;font:500 27px Inter,Arial,sans-serif;letter-spacing:-.8px}
.research-page .rx-return-label{fill:#595c54;font:500 11px Inter,Arial,sans-serif}
.research-page [data-topic=people] [data-node="1"] rect,.research-page [data-topic=quality] [data-node="3"] rect,.research-page [data-topic=data] [data-node="0"] rect,.research-page [data-topic=agents] [data-node="2"] rect{fill:#eeefe9;stroke:#3f5b0c}
.research-page .rx-node.is-tracing rect{stroke:var(--accent-ink);fill:#eeefe9}
.research-page .rx-model.is-tracing .rx-model-frame{fill:#eeefe9}
.research-page .rx-flow-lines path.is-tracing{opacity:1;animation:rx-flow 1s linear 2}
@keyframes rx-flow{from{stroke-dashoffset:220}to{stroke-dashoffset:0}}
.research-page [data-topic=people] [data-flow="1"]:not(.is-tracing),.research-page [data-topic=quality] [data-flow="3"]:not(.is-tracing),.research-page [data-topic=data] [data-flow="0"]:not(.is-tracing),.research-page [data-topic=agents] [data-flow="2"]:not(.is-tracing){animation:rx-select-flow 1.3s ease-out 1}
@keyframes rx-select-flow{0%{stroke-dashoffset:220;opacity:0}20%{opacity:1}80%{opacity:1}100%{stroke-dashoffset:0;opacity:0}}
.research-page .rx-cycle{display:flex;gap:14px;align-items:center;margin-top:-5px}
.research-page .rx-cycle ol{list-style:none;display:flex;gap:20px;flex:1;justify-content:space-between;padding:0;margin:0}
.research-page .rx-cycle li{font-size:11px;line-height:1.4;color:#595c54;display:flex;gap:6px;align-items:center;transition:color .2s ease}
.research-page .rx-cycle-mark{width:4px;height:4px;border-radius:50%;background:#eeefe9;flex-shrink:0}
.research-page .rx-cycle li.is-tracing{color:var(--accent-ink)}
.research-page .rx-cycle li.is-tracing .rx-cycle-mark{background:var(--rx-lime)}
.research-page .rx-cycle-status{color:#595c54;font-size:11px;line-height:1.5;min-height:17px;margin-top:11px}
.research-page .rx-panels{min-width:0;align-self:center}
.research-page .rx-panel[hidden]{display:none}
.research-page .rx-panel{animation:rx-panel-in .25s ease-out}
@keyframes rx-panel-in{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.research-page .rx-panel h2{font-size:clamp(28px,3vw,43px);line-height:1.07;letter-spacing:-.035em;text-wrap:balance;max-width:19ch;margin:0 0 22px}
.research-page .rx-question{font-size:16px;line-height:1.65;color:var(--rx-muted);max-width:43ch}
.research-page .rx-facts{margin-top:30px;display:grid;gap:20px}
.research-page .rx-facts>div{display:grid;grid-template-columns:74px 1fr;gap:14px;border-top:1px solid var(--rx-line);padding-top:13px}
.research-page .rx-facts dt{font-size:11px;color:#595c54;line-height:1.7}
.research-page .rx-facts dd{margin:0;font-size:13px;line-height:1.7}
.research-page .rx-facts ul{list-style:none;padding:0;margin:0}
.research-page .rx-method-button{font:inherit;display:flex;gap:25px;align-items:center;background:transparent;color:var(--ink);border:0;border-bottom:1px solid #d5d7cf;padding:0 0 9px;margin-top:30px;font-size:14px;cursor:pointer}
.research-page .rx-method-button span{color:var(--accent-ink);font-size:20px}
.research-page .rx-lab-footer{display:flex;justify-content:space-between;gap:24px;align-items:center;border-top:1px solid var(--rx-line);margin-top:28px;padding-top:20px}
.research-page .rx-lab-footer p{font-size:12px;line-height:1.5;color:var(--rx-muted);display:flex;align-items:center}
.research-page .rx-lab-footer button{font:inherit;font-size:12px;background:none;border:0;color:var(--ink);cursor:pointer;display:flex;gap:14px;align-items:center;padding:8px 0}
.research-page .rx-lab-footer button span{color:var(--accent-ink);font-size:18px}
.research-page .rx-end{border-top:1px solid var(--rx-line);display:flex;justify-content:space-between;align-items:center;gap:40px;padding-block:44px}
.research-page .rx-end>p{font-size:clamp(20px,2.1vw,30px);line-height:1.3;letter-spacing:-.025em;max-width:30ch}
.research-page .rx-end>div{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.research-page .rx-collaborate{font-size:16px;color:var(--accent-ink);display:flex;gap:24px;align-items:center;border-bottom:1px solid #d5d7cf;padding-bottom:10px}
.research-page .rx-end .text-link{font-size:13px}
.research-page .rx-end .contact-card{display:block;position:relative;inset:auto;width:300px;max-width:100%;box-shadow:none;z-index:auto}
.research-page .rx-contact-slot.has-shared-contact>.rx-collaborate{display:none}
.research-page .rx-main button:focus-visible,.research-page .rx-main a:focus-visible,.research-page .rx-main summary:focus-visible{outline:2px solid var(--rx-lime);outline-offset:5px}
.research-page .rx-panel:focus-visible{outline:1px solid #d5d7cf;outline-offset:12px}
.research-page .rx-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(720px,100%);max-width:100%;height:100%;max-height:100%;padding:0;background:#fafaf7;color:var(--ink);border:0;border-left:1px solid #d5d7cf;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
.research-page .rx-dialog::backdrop{background:rgb(0 0 0 / .7)}
.research-page .rx-dialog[open]{animation:rx-dialog-in .25s ease-out}
@keyframes rx-dialog-in{from{transform:translateX(30px);opacity:.4}to{transform:translateX(0);opacity:1}}
.research-page .rx-dialog-bar{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 32px;background:#fafaf7;border-bottom:1px solid var(--rx-line);z-index:1;font-size:12px;color:#595c54}
.research-page .rx-dialog-bar button{font:inherit;display:flex;align-items:center;gap:20px;cursor:pointer;background:none;border:0;padding:4px;color:var(--ink)}
.research-page .rx-dialog-bar button span{font-size:27px;color:var(--accent-ink);line-height:1}
.research-page .rx-dialog-content{padding:42px 42px 60px}
.research-page .rx-dialog-topic{font-size:13px;color:var(--accent-ink);margin-bottom:18px}
.research-page .rx-dialog-content h2{font-size:clamp(30px,3vw,44px);line-height:1.1;letter-spacing:-.035em;margin:0 0 36px;text-wrap:balance}
.research-page .rx-dialog-content h3{font-size:17px;margin:30px 0 12px;line-height:1.4}
.research-page .rx-dialog-content p{font-size:15px;line-height:1.7;color:#595c54}
.research-page .rx-general-methods{margin-top:35px;border-top:1px solid var(--rx-line)}
.research-page .rx-general-methods>p+p{margin-top:20px}
.research-page .rx-dialog details{margin-top:32px;border-top:1px solid var(--rx-line)}
.research-page .rx-dialog summary{display:flex;justify-content:space-between;gap:15px;font-size:15px;padding:20px 0;cursor:pointer;list-style:none}
.research-page .rx-dialog summary::-webkit-details-marker{display:none}
.research-page .rx-dialog summary span{font-size:20px;color:var(--accent-ink)}
.research-page .rx-dialog details[open]>summary span{transform:rotate(45deg)}
.research-page .rx-dialog ul{list-style:none;padding:0;margin:25px 0}
.research-page .rx-dialog li{border-top:1px solid var(--rx-line);padding:20px 0}
.research-page .rx-dialog li a{font-size:15px;line-height:1.5;display:block;margin-bottom:10px;color:var(--ink)}
.research-page .rx-dialog li a span{color:var(--accent-ink)}
.research-page .rx-dialog li p{font-size:13px}
.research-page .rx-dialog .rx-dialog-note{font-size:12px;margin-top:30px;color:#595c54}
.research-page .rx-nojs details{padding:20px 0}
.research-page .rx-nojs p{margin-top:14px;line-height:1.6}
@media(max-width:1000px){
 .research-page .rx-stage{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:5%}
 .research-page .rx-tabs button{font-size:18px}
 .research-page .rx-node text{font-size:11px}
 .research-page .rx-cycle ol{gap:10px}
 .research-page .rx-end{align-items:flex-start}
 .research-page .rx-end>div{gap:20px}
}
@media(max-width:760px){
 .research-page .rx-hero-grid{grid-template-columns:1fr;gap:24px}
 .research-page .rx-hero h1{font-size:clamp(40px,9vw,62px);max-width:17ch}
 .research-page .rx-hero-grid>p{font-size:17px;max-width:38ch}
 .research-page .rx-label{margin-bottom:24px}
 .research-page .rx-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .research-page .rx-tabs button{padding:18px 10px 18px 0;font-size:17px;gap:10px}
 .research-page .rx-tabs button:nth-child(-n+2){border-bottom:1px solid var(--rx-line)}
 .research-page .rx-tabs button:nth-child(even){padding-left:14px}
 .research-page .rx-stage{grid-template-columns:1fr;padding-top:26px;gap:30px}
 .research-page .rx-canvas figcaption{font-size:11px}
 .research-page .rx-network{max-height:330px}
 .research-page .rx-network{display:none}
 .research-page .rx-network-mobile{display:block}
 .research-page .rx-network-mobile .rx-node text{font-size:12px}
 .research-page .rx-cycle li{font-size:10px;gap:5px}
 .research-page .rx-cycle ol{gap:9px}
 .research-page .rx-cycle-status{font-size:10px}
 .research-page .rx-panel h2{font-size:32px;max-width:23ch;margin-bottom:18px}
 .research-page .rx-question{font-size:16px;max-width:none}
 .research-page .rx-facts{margin-top:24px;gap:16px}
 .research-page .rx-facts>div{grid-template-columns:70px 1fr;gap:12px}
 .research-page .rx-method-button{margin-top:24px}
 .research-page .rx-lab{padding-bottom:30px}
 .research-page .rx-lab-footer{gap:12px;margin-top:10px;align-items:flex-start}
 .research-page .rx-lab-footer p{font-size:10px;max-width:20ch}
 .research-page .rx-lab-footer button{font-size:11px;gap:8px;padding-top:0;white-space:nowrap}
 .research-page .rx-end{flex-direction:column;gap:25px;padding-block:34px}
 .research-page .rx-end>p{font-size:23px;max-width:28ch}
 .research-page .rx-end>div{gap:28px}
 .research-page .rx-end .contact-card{width:280px}
 .research-page .rx-dialog-bar{padding:20px 22px}
 .research-page .rx-dialog-content{padding:30px 24px 50px}
}
@media(max-width:350px){.research-page .rx-tabs button{font-size:15px}.research-page .rx-tabs .rx-tab-arrow{display:none}.research-page .rx-cycle ol{gap:6px}.research-page .rx-cycle{gap:8px}.research-page .rx-cycle-mark{display:none}.research-page .rx-hero h1{font-size:38px}.research-page .rx-lab-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){
 .research-page .rx-main *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .research-page .rx-flow-lines path.is-tracing{stroke-dasharray:none;opacity:.8}
}
