/* Research page inherits Briolight About + shared site design. Only new content layouts below. */
.r-main{max-width:1440px;margin:auto;color:#071e69}.r-main img{display:block;max-width:100%}.r-main h3{letter-spacing:-.25px}.r-main a:focus-visible{outline:3px solid #198fd6;outline-offset:4px}
.r-hero{background:#edfaff}.r-hero .r-hero-image{overflow:hidden}.r-hero-copy{width:min(59%,735px)}.r-hero h1{max-width:710px}.r-hero .a-hero-lead{max-width:630px;line-height:1.37}.r-hero .button{display:inline-flex;align-items:center;gap:14px;text-align:center}.r-hero .r-hero-image>.r-media-slot{border:0;border-radius:0;position:absolute;inset:0;height:100%;width:100%;background:linear-gradient(120deg,#d4effa,#b9dbe8 46%,#c8e8ed)}
.r-hero .r-hero-image>.r-media-slot:after{content:"";position:absolute;inset:0;background:linear-gradient(130deg,transparent 30%,rgba(255,255,255,.28) 65%,transparent 100%)}
.r-hero .r-hero-image>.r-media-slot>*{position:relative;z-index:1}.r-hero .r-media-slot strong{max-width:270px}
.r-facts{margin-top:12px}
.r-section{padding-top:35px;padding-bottom:40px}.r-section .a-heading{margin-bottom:23px}.r-section .a-heading h2{max-width:900px}.r-section .a-heading>p:last-child{max-width:1050px;color:#3562aa;font-size:16px;line-height:1.5}.r-overline{font-size:11px!important;font-weight:800!important;letter-spacing:.1em;color:#0081bc!important;text-transform:uppercase;margin-bottom:10px!important}
.r-founder{display:grid;grid-template-columns:29% 1fr;gap:25px;align-items:center;background:#edfaff;border-radius:10px;padding:17px;margin-bottom:22px}.r-founder>img{width:100%;height:235px;object-fit:cover;border-radius:8px}.r-founder h3{font-size:23px;margin:0 0 10px}.r-founder p{font-size:15px;line-height:1.5}.r-founder a,.r-evidence a,.r-spokiy a,.r-extras a,.r-networks a{color:#096ead;font-weight:800;font-size:13px;text-underline-offset:4px}
.r-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.r-milestone{border:1px solid #d3e8f5;border-radius:9px;padding:18px;background:#fff}.r-milestone h3{font-size:16px;margin:0 0 9px;color:#073980}.r-milestone p{font-size:13px;color:#355a85;line-height:1.5;margin:0}
.r-human-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.r-human-card{background:#f6fbff;border:1px solid #dbeaf6;border-radius:9px;overflow:hidden}.r-human-card h3{font-size:18px;margin:17px 18px 8px}.r-human-card p{font-size:13px;line-height:1.55;color:#3562aa;margin:0 18px 20px}.r-human-card .r-media-slot{border:0;border-radius:0;height:235px}
.r-media-slot{min-height:180px;border:1px dashed #82b4d2;background:linear-gradient(135deg,#e6f6fe,#bcdde9);border-radius:9px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;padding:25px;color:#195a86}.r-media-slot .r-slot-symbol{font-size:35px;color:#4797c2;line-height:1}.r-media-slot strong{font-size:13px;font-weight:800;line-height:1.4}.r-media-slot>span:last-child{font-size:10px;letter-spacing:.08em;color:#5a8fad}
.r-stanford{background:#f5fbff;border-radius:10px}.r-stanford-layout{display:grid;grid-template-columns:minmax(0,1.36fr) minmax(0,.64fr);gap:clamp(18px,2vw,28px);align-items:start}.r-stanford-copy h2{font-size:clamp(25px,2.5vw,36px);line-height:1.2}.r-stanford-copy p{font-size:15px;line-height:1.6;color:#27538c}.r-stanford figure{margin:0}.r-stanford img{width:100%;height:310px;object-fit:cover;border-radius:9px}.r-stanford figcaption{font-size:11px;color:#527bab;margin-top:8px}.r-standout{display:block;font-size:18px;color:#084c9e;padding:12px 0}.r-international{font-size:13px;color:#3562aa;border-top:1px solid #d2e6f5;padding-top:17px;margin-top:15px;max-width:1000px}
.r-platform-layout{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:20px;align-items:stretch}.r-platform-layout figure{margin:0}.r-platform-layout figure img{width:100%;height:315px;object-fit:cover;border-radius:9px}.r-platform-layout figcaption{font-size:12px;margin-top:8px;color:#3562aa}.r-capabilities{display:grid;grid-template-columns:1fr 1fr;gap:12px}.r-capabilities article{background:#edfaff;padding:16px;border-radius:9px}.r-item-no{display:block;font-size:11px;color:#168bc6;font-weight:800;margin-bottom:8px}.r-capabilities h3{font-size:16px;margin:0 0 9px}.r-capabilities p{color:#3562aa;font-size:12px;line-height:1.5;margin:0}.r-concept{margin:15px 0 6px;font-size:13px;font-weight:700;color:#285987}.r-extras{display:flex;gap:20px;flex-wrap:wrap}
.r-network-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:20px}.r-networks{display:grid;gap:10px}.r-networks article{padding:18px 20px;border:1px solid #d7e9f5;border-left:3px solid #51b6e3;border-radius:7px}.r-network-label{font-size:10px;font-weight:800;color:#1689c7}.r-networks h3{font-size:19px;margin:5px 0 7px}.r-networks p{font-size:13px;line-height:1.5;color:#3562aa}.r-network-layout>.r-media-slot{min-height:370px}.r-partnerships{background:#f5fbff;border-radius:9px;padding:20px;margin-top:17px}.r-partnerships>strong{font-size:12px;letter-spacing:.08em;color:#1689c7}.r-partnerships>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:15px}.r-partnerships span{background:#fff;border:1px solid #d9eaf5;border-radius:6px;padding:11px;font-size:12px;color:#1d4980}
.r-study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.r-study-card{display:flex;flex-direction:column;background:#eff8fd;border:1px solid #d7e9f6;border-radius:9px;padding:20px}.r-study-card h3{font-size:18px;margin:7px 0 10px}.r-study-card p{font-size:13px;line-height:1.55;color:#3562aa}.r-study-proof{margin-top:auto;padding-top:14px;border-top:1px solid #c9deea;color:#2876a3;font-size:11px;font-weight:800;line-height:1.4;letter-spacing:.025em}.r-regulation{display:grid;grid-template-columns:1fr 180px;gap:20px;border:1px solid #d1e7f5;border-radius:9px;padding:20px;margin-top:20px;align-items:center}.r-regulation h3{font-size:19px;margin:0 0 8px}.r-regulation p{font-size:13px;color:#3562aa}.r-regulation-symbol{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;color:#0b5397}.r-regulation-symbol strong{font-size:17px}.r-regulation-symbol span{font-size:11px}
.r-regulation .r-legal-copy .b-regulatory{font-size:12px;background:#eaf6fc;margin:0;padding:14px;border-radius:8px;color:#071e69}.r-regulation .b-regulatory a{color:#116eb1}
.r-spokiy{display:grid;grid-template-columns:1fr 230px;align-items:center;gap:25px;background:#f5fbff;border-radius:9px}.r-spokiy h2{font-size:clamp(24px,2.2vw,30px)}.r-spokiy p:not(.r-overline){font-size:14px;color:#3562aa;line-height:1.6}.r-spokiy .r-media-slot{height:220px}
.r-questions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.r-question{background:#f4faff;padding:22px 24px;border:1px solid #d8e9f6;border-radius:9px}.r-question h3{font-size:1.25rem;margin:9px 0 10px;line-height:1.3}.r-question p{font-size:1rem;color:#3562aa;line-height:1.58;margin:0}.r-consortium{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;background:#e9f6fe;border-radius:9px;padding:24px;margin-top:20px}.r-consortium h3{font-size:22px;margin:0 0 9px}.r-consortium p{font-size:14px;line-height:1.55;color:#315a90}.r-consortium-steps{display:grid;grid-template-columns:1fr 1fr;gap:10px}.r-consortium-steps span{background:white;border-radius:7px;display:flex;align-items:center;justify-content:center;padding:14px;text-align:center;font-size:12px;font-weight:800}
.r-collaboration{margin:30px 0 0}.r-collaboration .b-contact-message{flex:1}.r-collaboration .b-contact-message>div{flex:1}.r-collaboration .r-overline{color:#b8e8fe!important}.r-collaboration h2{font-size:23px;color:#fff;line-height:1.2;margin:0 0 8px}.r-collaboration p:not(.r-overline){font-size:13px;color:#fff;line-height:1.45}.r-collaboration .button{white-space:normal}
@media(max-width:1199px){.r-hero-copy{width:61%}.r-founder>img{height:220px}.r-network-layout{grid-template-columns:1fr}.r-network-layout>.r-media-slot{min-height:230px}.r-stanford-layout{grid-template-columns:1fr 230px}}
@media(max-width:699px){.r-hero-copy{width:100%}.r-hero .r-hero-image>.r-media-slot{position:relative;inset:auto;min-height:210px;height:100%;width:100%}.r-hero .a-hero-image{aspect-ratio:1.65}.r-section{padding-top:25px;padding-bottom:28px}.r-founder,.r-journey-grid,.r-human-grid,.r-stanford-layout,.r-platform-layout,.r-study-grid,.r-questions,.r-consortium,.r-spokiy{grid-template-columns:1fr}.r-founder>img{height:210px}.r-platform-layout figure img{height:240px}.r-capabilities{grid-template-columns:1fr 1fr}.r-networks article{padding:15px}.r-partnerships>div{grid-template-columns:1fr 1fr}.r-regulation{grid-template-columns:1fr}.r-spokiy .r-media-slot{height:170px}.r-stanford img{height:230px}.r-collaboration .b-contact-message{align-items:flex-start}.r-collaboration h2{font-size:21px}}
@media(max-width:420px){.r-capabilities,.r-partnerships>div,.r-consortium-steps{grid-template-columns:1fr}.r-hero .a-hero-lead{line-height:1.4}}

.r-network-cross{background:#edfaff;color:#3562aa;font-size:13px;line-height:1.5;padding:13px 16px;border-radius:7px;margin-bottom:18px}
.r-world{padding:18px 21px;background:#edfaff;border-left:3px solid #51b6e3;margin-top:17px;border-radius:7px}
.r-world h3{font-size:17px;margin:0 0 8px}.r-world p{font-size:13px;line-height:1.55;color:#3562aa;margin:0}
.r-research-materials{padding:20px;border:1px solid #d6e8f5;border-radius:9px;margin-top:18px;background:#f5fbff}
.r-research-materials h3{font-size:18px;margin:0 0 7px}.r-research-materials p{font-size:13px;color:#3562aa;line-height:1.55}
.r-research-materials a{font-size:13px;color:#096ead;font-weight:800}
.r-document-links{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.r-document-slot{min-height:94px;display:flex;flex-direction:column;justify-content:center;gap:5px;background:#e6f4fb;color:#3562aa;border:1px dashed #91b9d2;border-radius:7px;text-align:center;padding:12px}
.r-document-slot>span{font-size:21px}.r-document-slot strong{font-size:11px;line-height:1.4}
@media(max-width:699px){.r-document-links{grid-template-columns:1fr}}

/* Research consortium value proposition – same light layout as the main Briolight site. */
.r-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin-top:7px}
.r-hero-actions .button{min-height:46px;font-size:13px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:normal;line-height:1.3}
.r-hero-actions .button.secondary{background:#fff;color:#071e69;border:1px solid #8db9d7}
.r-hero{min-height:420px}.r-hero-copy{padding-top:29px;padding-bottom:29px}.r-hero h1{font-size:clamp(32px,3.08vw,44px);line-height:1.09}.r-hero .a-hero-lead{font-size:15px;line-height:1.42;max-width:660px}
.r-partner-offer{border-bottom:1px solid #e0eff9}.r-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.r-value{padding:18px 17px;background:#f1faff;border:1px solid #d5e8f5;border-radius:9px}.r-value-icon{display:block;font-size:12px;font-weight:800;color:#238cbd;letter-spacing:.1em;margin-bottom:10px}
.r-value h3{font-size:16px;line-height:1.3;margin:0 0 8px}.r-value p{font-size:13px;line-height:1.56;color:#3562aa;margin:0}
.r-model-heading{font-size:21px;margin:23px 0 14px;font-weight:800;line-height:1.2}.r-models{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.r-model{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #c6e2f2;border-top:3px solid #1999d0;border-radius:9px;background:white;padding:20px;scroll-margin-top:90px}
.r-model-number{font-size:11px;letter-spacing:.085em;color:#1684b3;font-weight:800}.r-model h3{font-size:19px;margin:10px 0}.r-model p{font-size:13px;color:#3562aa;line-height:1.55;flex:1}
.r-model-link{display:inline-flex;gap:13px;align-items:center;font-size:13px;font-weight:800;color:#096db1;text-decoration:underline;text-underline-offset:4px;margin-top:8px}
.r-participant-note{font-size:11px;color:#6084a3;line-height:1.5;margin:13px 0 0}
@media(min-width:700px) and (max-width:1100px){.r-value-grid{grid-template-columns:1fr 1fr}.r-hero-actions .button{font-size:12px}.r-hero h1{font-size:34px}}
@media(max-width:699px){.r-value-grid,.r-models{grid-template-columns:1fr}.r-hero-actions{flex-direction:column;align-items:stretch}.r-hero-actions .button{width:100%;max-width:360px;min-height:47px;font-size:14px}.r-hero-copy{padding-top:26px;padding-bottom:27px}.r-model{scroll-margin-top:65px}.r-value{padding:16px}}

/* Hero: immediately communicate Briolight's research contribution. */
.r-hero .r-hero-value{font-size:clamp(15px,1.29vw,17px);line-height:1.43;max-width:675px;font-weight:500}
.r-hero .r-hero-value strong{font-weight:800;color:#071e69}
@media(max-width:699px){.r-hero .r-hero-value{font-size:15px;line-height:1.44}}

/* Research H1 and two partner paths, keeping established 420px About hero. */
.r-hero h1{font-size:clamp(30px,2.88vw,42px);line-height:1.09;max-width:730px}
.r-hero .r-hero-value{max-width:670px;font-size:clamp(14px,1.17vw,16px);line-height:1.41}
.r-hero-copy{padding-top:26px;padding-bottom:26px}
@media(max-width:699px){.r-hero h1{font-size:clamp(30px,7.9vw,40px)}.r-hero .r-hero-value{font-size:15px;line-height:1.43}}

/* Technology, software and NETWORK – three core R&D assets. */
.r-pillars{grid-template-columns:repeat(3,minmax(0,1fr))}
.r-pillar{border-top:3px solid #4db7e5;min-height:226px}
.r-pillar-label{display:block;color:#0a7fb4;font-weight:800;font-size:12px;letter-spacing:.105em;margin-bottom:13px}
.r-rd-bridge{border-top:1px solid #c8e2ef;border-bottom:1px solid #c8e2ef;padding:16px 3px;margin-top:15px}
.r-rd-bridge strong{font-size:15px;color:#071e69}
.r-rd-bridge p{margin:5px 0 0;color:#3562aa;font-size:13px;line-height:1.53;max-width:1030px}
.r-research-priority{margin:4px 0 21px;padding:23px 27px;background:#edfaff;border-left:4px solid #2ca3d3;border-radius:7px}
.r-research-priority h3{font-size:clamp(21px,2vw,28px);margin:0 0 12px;line-height:1.25}
.r-research-priority p{width:100%;max-width:none;font-size:1rem;line-height:1.65;color:#3562aa;margin:0}
@media(max-width:699px){.r-pillars{grid-template-columns:1fr}.r-pillar{min-height:0}.r-research-priority{padding:18px}}

/* Scientific research page media: existing site palette, genuine Briolight imagery. */
.r-hero .r-hero-image>img{width:100%;height:100%;object-fit:cover;object-position:55% 45%}
.r-page-nav{display:flex;gap:20px;flex-wrap:wrap;margin:0 5.5%;padding:12px 0;border-bottom:1px solid #dceaf4}
.r-page-nav a{font-size:12px;font-weight:800;color:#0a68a4;text-decoration:none}
.r-page-nav a:hover{text-decoration:underline}
.r-actual-photo{margin:0;height:235px;overflow:hidden}.r-actual-photo img{width:100%;height:100%;object-fit:cover}
.r-human-card:first-child .r-actual-photo img{object-position:center 30%}
.r-analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.r-analytics-card{margin:0;overflow:hidden;background:#f2faff;border:1px solid #d5e9f4;border-radius:9px}
.r-analytics-image{aspect-ratio:1.73;background:#11192d;overflow:hidden}
.r-analytics-image img{height:100%;width:100%;object-fit:contain}
.r-analytics-card figcaption{display:flex;flex-direction:column;gap:7px;padding:17px}
.r-analytics-card figcaption strong{font-size:17px;color:#073c75}
.r-analytics-card figcaption>span:last-child{font-size:13px;line-height:1.5;color:#456b8c}
.r-network-evidence{margin:0}.r-network-evidence img{height:330px;width:100%;object-fit:cover;border-radius:9px}
.r-network-evidence figcaption{margin-top:7px;font-size:10px;letter-spacing:.08em;color:#567e97}
.r-network-videos{border-top:1px solid #d5e8f5;margin-top:20px;padding-top:20px;display:grid;grid-template-columns:0.95fr 1.05fr;gap:20px;align-items:center}
.r-network-videos h3{font-size:20px;margin:0 0 10px}.r-network-videos p{font-size:13px;line-height:1.6;color:#416b91}
.r-video-cards{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.r-video-card{text-decoration:none;font-size:12px;color:#0b679a;font-weight:800;line-height:1.4}
.r-video-image{display:block;position:relative;aspect-ratio:1.65;overflow:hidden;background:#dbeef7;border-radius:9px}
.r-video-image img{height:100%;width:100%;object-fit:cover}
.r-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:45px;height:45px;background:#ffc72f;border-radius:50%;display:grid;place-items:center;font-size:19px;color:#093a66}
.r-video-title{display:block;margin-top:8px}
.r-book-reference{min-height:210px;background:#fff;border:1px solid #cfe6f2;border-radius:9px;padding:20px}
.r-book-reference strong{font-size:15px;line-height:1.42;display:block;margin-bottom:12px}
.r-book-reference p{font-size:12px!important;color:#4b7290!important;line-height:1.55!important;margin:0}
@media(max-width:950px){.r-network-videos{grid-template-columns:1fr}}
@media(max-width:699px){.r-page-nav{margin:0 16px;flex-wrap:nowrap;overflow-x:auto;gap:15px}.r-page-nav a{white-space:nowrap}.r-analytics-grid{grid-template-columns:1fr}.r-actual-photo{height:230px}.r-book-reference{min-height:0}}

/* Clinical research evidence: readable comparisons and original source summaries. */
.r-clinical-results{margin:17px 0;padding:23px;background:#eaf7fc;border:1px solid #cde6f4;border-radius:9px}
.r-clinical-title{display:flex;justify-content:space-between;gap:25px;align-items:start}
.r-clinical-title h3{font-size:20px;margin:0 0 9px}
.r-clinical-title p{font-size:12px;line-height:1.53;color:#4d6f8c;max-width:700px}
.r-clinical-key{display:flex;gap:12px;flex-wrap:wrap}
.r-clinical-key span{font-size:11px;display:inline-flex;align-items:center;gap:6px;font-weight:800;white-space:nowrap}
.r-clinical-key i{width:12px;height:12px;display:inline-block;border-radius:3px}
.r-key-intervention,.r-metric-pair:not(.control) .r-metric-fill{background:#1387c2}
.r-key-control,.r-metric-pair.control .r-metric-fill{background:#9dbaca}
.r-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin-top:14px}
.r-metric>strong{display:block;min-height:38px;font-size:13px;margin-bottom:10px}
.r-metric-pair{display:flex;gap:10px;align-items:center;margin:9px 0}
.r-metric-track{height:12px;flex:1;overflow:hidden;border-radius:40px;background:#d7e8f0}
.r-metric-fill{display:block;height:100%;border-radius:40px}
.r-metric-number{width:38px;flex:none;text-align:right;font-size:12px;font-weight:800}
.r-data-source{margin:14px 0 0;padding-top:12px;border-top:1px solid #c8dce8;color:#547693;font-size:11px}
.r-doc-card{background:#fff;border:1px solid #d0e5f2;border-radius:8px;padding:15px;min-height:146px;display:flex;flex-direction:column;gap:8px}
.r-doc-card strong{font-size:13px;line-height:1.4}
.r-doc-card p{font-size:11px;line-height:1.5;color:#547491;margin:0}
.r-materials-status{font-size:11px!important;color:#6587a0!important;margin:12px 0!important}
.r-evidence-request{display:inline-block;margin:5px 0 10px!important}
.r-article-heading{font-size:18px!important;border-top:1px solid #d6e6f0;padding-top:17px;margin:19px 0 12px!important}
.r-history-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.r-history-source{display:flex;flex-direction:column;gap:8px;padding:13px;border:1px solid #d4e7f4;background:#fff;border-radius:8px;min-height:126px;text-decoration:none!important}
.r-history-source>span:first-child{font-size:10px;color:#1386bb;font-weight:800}
.r-history-source strong{font-size:12px;line-height:1.52}
.r-history-source>span:last-child{text-align:right}
@media(max-width:920px){.r-clinical-title{flex-direction:column}.r-metric-grid{gap:12px}}
@media(max-width:699px){.r-clinical-results{padding:18px}.r-metric-grid,.r-history-sources{grid-template-columns:1fr}.r-metric{border-bottom:1px solid #cfdfed;padding-bottom:10px}.r-metric>strong{min-height:0}.r-doc-card{min-height:0}}

/* Narrow screens: prevent primary hero CTAs and comparison legends from clipping. */
@media(min-width:700px) and (max-width:900px){.r-hero-actions{max-width:530px}.r-hero-actions .button{font-size:12px;padding:11px 12px}}
@media(max-width:480px){.r-clinical-key{gap:9px}.r-hero-actions .button{width:100%;max-width:350px}}

/* Research capacity strip – work-package language for international consortia. */
.r-capacity{padding:30px clamp(16px,4.8vw,66px) 34px;background:#fff}
.r-capacity-heading{max-width:920px;margin-bottom:19px}
.r-capacity-heading h2{font-size:clamp(23px,2.4vw,32px);line-height:1.18;margin:0 0 10px}
.r-capacity-heading>p:last-child{font-size:16px;line-height:1.55;color:#3562aa;margin:0}
.r-capacity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.r-capacity-card{display:flex;flex-direction:column;min-width:0;min-height:173px;background:#f4faff;border:1px solid #d5e8f4;border-top:3px solid #48b4e4;border-radius:9px;padding:16px}
.r-capacity-num{color:#1687b9;font-size:12px;font-weight:800;letter-spacing:.12em}
.r-capacity-card h3{font-size:17px;line-height:1.3;margin:8px 0 9px;overflow-wrap:break-word}
.r-capacity-card p{font-size:15px;color:#355f8c;line-height:1.48;flex:1;margin:0 0 12px}
.r-capacity-link{color:#0b6eaa;text-decoration:underline;text-underline-offset:4px;font-size:13px;font-weight:800}
/* Tagged photographic requests let the author supply assets one slot at a time. */
.r-photo-request-gallery{display:grid;gap:15px;margin:19px 0 22px}
.r-photo-request-gallery-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.r-photo-request-gallery-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.r-photo-request{min-width:0;margin:0;background:#fbfdff;border:1px solid #d3e5f0;border-radius:9px;overflow:hidden}
.r-photo-request-stage{aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;min-height:155px;padding:18px;text-align:center;background:repeating-linear-gradient(-45deg,#eff8fc,#eff8fc 13px,#f6fbfe 13px,#f6fbfe 26px);border-bottom:1px dashed #b7d5e8;color:#285a86}
.r-photo-request-code{font-size:12px;letter-spacing:.13em;font-weight:800;color:#087db6;border:1px solid #a5cfe6;background:white;border-radius:5px;padding:5px 8px}
.r-photo-request-symbol{font-size:29px;color:#7eacc9;line-height:1}
.r-photo-request-stage strong{font-size:16px;line-height:1.36;max-width:270px}
.r-photo-request figcaption{font-size:14px;line-height:1.5;padding:12px 15px;color:#466f92;min-height:63px}
.r-international-photo{margin:15px 0 0;max-width:520px}
.r-international-photo .r-photo-request-stage{aspect-ratio:2.5}
.r-photo-request-book .r-photo-request-stage{aspect-ratio:4/5}
.r-photo-request-pubs{margin-top:21px}
/* Independent institutional proof, distinct from Briolight's own articles. */
.r-network-proof{margin-top:22px;padding:21px;border:1px solid #cee6f2;border-radius:9px;background:#f6fbff}
.r-network-proof h3,.r-evidence-public-sources h3{font-size:20px;margin:0 0 9px}
.r-network-proof>p{font-size:15px;line-height:1.55;color:#38668b;margin:0 0 17px}
.r-proof-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.r-proof-link{min-width:0;padding:16px;background:#fff;border:1px solid #d5e7f2;border-radius:8px;display:flex;flex-direction:column;gap:8px;text-decoration:none!important}
.r-proof-link span{font-size:12px;color:#1983b9;font-weight:800;letter-spacing:.07em}
.r-proof-link strong{font-size:16px;line-height:1.36;overflow-wrap:anywhere}
.r-proof-link small{font-size:14px;line-height:1.5;color:#527493}
.r-proof-link b{font-size:18px;color:#0d7fb1;align-self:flex-end;margin-top:auto}
.r-evidence-public-sources{margin-top:21px;padding-top:18px;border-top:1px solid #d3e5f0}
.r-spokiy-media{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:11px;align-items:stretch}
.r-spokiy .r-book-reference{min-height:0}
.r-spokiy-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:13px}
.r-spokiy-links a{font-size:14px!important}
.r-stanford,.r-stanford-layout,.r-platform-layout,.r-stanford-copy,.r-stanford figure,.r-platform-layout>*{min-width:0;max-width:100%;box-sizing:border-box}
.r-stanford{overflow:hidden}
.r-stanford-layout>*{min-width:0}
.r-stanford figure,.r-stanford img{width:100%;max-width:100%;min-width:0}
.r-stanford-copy{overflow-wrap:break-word}
.r-platform-layout .r-capabilities{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.r-platform-layout figure img{max-width:100%;object-fit:contain;background:#ecf7fc}
.r-spokiy{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
/* Readability: consistent body size instead of 11–13px on evidence-heavy sections. */
.r-main .r-milestone p,.r-main .r-human-card p,.r-main .r-capabilities p,.r-main .r-networks p,.r-main .r-study-card p,.r-main .r-research-materials p,.r-main .r-network-cross,.r-main .r-world p,.r-main .r-spokiy p:not(.r-overline){font-size:15px;line-height:1.57}
.r-main .r-document-links .r-doc-card p,.r-main .r-history-sources .r-history-source strong,.r-main .r-analytics-card figcaption>span:last-child{font-size:14px;line-height:1.55}
.r-main .r-overline,.r-main .r-network-label{font-size:12px!important}
.r-main .r-stanford-copy p,.r-main .r-international{font-size:16px;line-height:1.55}
.r-main .r-partnerships span{font-size:14px;line-height:1.45}
@media(max-width:1100px){.r-capacity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r-stanford-layout,.r-platform-layout{grid-template-columns:1fr}.r-stanford-layout figure{width:min(100%,520px)}.r-platform-layout figure{max-width:680px}.r-spokiy{grid-template-columns:1fr}}
@media(max-width:699px){.r-capacity{padding:25px 16px}.r-capacity-grid,.r-photo-request-gallery-3,.r-photo-request-gallery-2,.r-proof-links{grid-template-columns:1fr}.r-capacity-card{min-height:0}.r-capacity-heading>p:last-child{font-size:15px}.r-photo-request-stage{min-height:150px}.r-photo-request figcaption{min-height:0}.r-spokiy-media{grid-template-columns:1fr}.r-international-photo{max-width:100%}.r-network-proof{padding:16px}}

/* Research page visual revision v13 – colour and concise evidence. */
.r-main{--r-yellow:#ffc83d;--r-purple:#7a55c9;--r-green:#3fa779}
.r-main .r-hero-actions .button:first-child,.r-main .r-model:first-child .r-model-link,.r-main .r-final-actions .button:first-child{display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:12px 20px;background:var(--r-yellow);color:#071e69;border:1px solid #e0ad18;border-radius:40px;text-decoration:none;font-size:14px;font-weight:800;white-space:normal;line-height:1.3}
.r-main .r-hero-actions .button:nth-child(2),.r-main .r-model:nth-child(2) .r-model-link,.r-main .r-final-actions .button:nth-child(2){display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:12px 20px;background:#fff;color:#071e69;border:1px solid #9bb5d4;border-radius:40px;text-decoration:none;font-size:14px;font-weight:800;white-space:normal;line-height:1.3}
.r-main .r-hero-actions .button:first-child:hover,.r-main .r-model:first-child .r-model-link:hover{background:#ffe083}
.r-main .r-hero-actions .button:nth-child(2):hover,.r-main .r-model:nth-child(2) .r-model-link:hover{background:#eaf7ff}
.r-main .r-model-link{margin-top:auto;min-height:44px}
.r-main .r-models .r-model:first-child{border-top-color:var(--r-purple);background:#fcfaff}
.r-main .r-models .r-model:nth-child(2){border-top-color:var(--r-green);background:#f8fffb}
.r-main .r-capacity-card{border-top-width:4px;box-shadow:0 2px 10px rgba(20,70,120,.035)}
.r-main .r-pillar:nth-child(1){border-left:4px solid var(--r-purple);background:#f9f6ff}
.r-main .r-pillar:nth-child(2){border-left:4px solid var(--r-green);background:#f5fcf8}
.r-main .r-pillar:nth-child(3){border-left:4px solid #efb829;background:#fffdf5}
.r-main .r-rd-bridge{border-left:3px solid var(--r-green);background:#f6fcf8}
.r-main .r-stanford{background:linear-gradient(120deg,#f3f6ff,#fbf9ff 60%,#f6fbff)}
.r-main .r-world{border-left-color:var(--r-purple);background:#faf8ff}
.r-main .r-research-priority{border-left-color:var(--r-green);background:#f3faf7}
.r-main .r-clinical-results{border-top:3px solid var(--r-green);background:#f3fbf7}
.r-main .r-network-proof .r-proof-links,.r-main .r-evidence-public-sources .r-proof-links{display:flex;flex-direction:column;gap:6px}
.r-main .r-proof-link{position:relative;display:block;padding:9px 25px 10px 0;border:0;border-bottom:1px solid #dceaf2;background:transparent;border-radius:0;text-decoration:none!important;min-height:0}
.r-main .r-proof-link span{display:block;font-size:11px;color:#247fac;margin-bottom:4px}
.r-main .r-proof-link strong{display:inline;font-size:15px;color:#115e99;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b5d3e6}
.r-main .r-proof-link small{display:inline;font-size:13px;color:#527492;margin-left:8px}
.r-main .r-proof-link b{position:absolute;right:0;top:16px;font-size:18px;color:#127cab}
.r-main .r-history-sources{grid-template-columns:1fr}
.r-main .r-history-source{position:relative;display:block;padding:10px 22px 10px 0;min-height:0;border:0;border-bottom:1px solid #dceaf2;border-radius:0;background:transparent}
.r-main .r-history-source>span:first-child{display:block;font-size:11px;margin-bottom:4px}
.r-main .r-history-source strong{display:inline;font-size:15px;color:#11649b;text-decoration:underline;text-underline-offset:4px}
.r-main .r-history-source>span:last-child{position:absolute;right:0;top:17px}
.r-main .r-evidence-video{margin:0;border:1px solid #d5e8f3;background:#fff;border-radius:9px;overflow:hidden;min-width:0}
.r-main .r-evidence-video>a{display:block;text-decoration:none}
.r-main .r-evidence-video .r-video-image{aspect-ratio:16/10;border-radius:0}
.r-main .r-evidence-video .r-video-image img{width:100%;height:100%;object-fit:cover}
.r-main .r-evidence-video strong{display:block;padding:10px 14px 3px;font-size:15px;line-height:1.4}
.r-main .r-evidence-video figcaption{font-size:13px;color:#527492;padding:3px 14px 12px;line-height:1.4}
.r-main .r-photo-request-gallery-3:has(.r-evidence-video){grid-template-columns:repeat(2,minmax(0,1fr))}
.r-main .r-photo-request figcaption a{color:#126a9d;text-underline-offset:4px}
.r-main .r-international-photo{max-width:none}
.r-main .r-international-gallery-label{font-size:14px;font-weight:800;color:#376d9b;margin:4px 0 12px}
.r-main .r-international-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.r-main .r-international-gallery figure{margin:0;min-width:0}
.r-main .r-international-gallery img{width:100%;height:145px;object-fit:cover;border-radius:9px}
.r-main .r-international-gallery figcaption{font-size:13px;color:#527492;margin-top:7px;line-height:1.35}
.r-main .r-spokiy-cover{margin:0;min-width:0}
.r-main .r-spokiy-cover img{width:100%;height:232px;object-fit:contain;background:#fff;border-radius:7px}
.r-main .r-spokiy-cover figcaption{font-size:13px;color:#527492;line-height:1.4;margin-top:8px}
.r-main .r-final-actions{display:flex;flex-direction:column;gap:10px;min-width:205px}
.r-main .r-final-actions .button{width:100%}
@media(max-width:1000px){.r-main .r-international-gallery img{height:125px}}
@media(max-width:699px){.r-main .r-photo-request-gallery-3:has(.r-evidence-video){grid-template-columns:1fr}.r-main .r-international-gallery{gap:8px}.r-main .r-international-gallery img{height:90px}.r-main .r-international-gallery figcaption{font-size:11px}.r-main .r-final-actions{width:100%}.r-main .r-proof-link small{display:block;margin:4px 0 0}}
@media(max-width:420px){.r-main .r-international-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.r-main .r-international-gallery img{height:125px}}


.r-media-group {
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

.r-media-group > p {
  margin-block: .5rem 1.25rem;
}

.r-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.r-media-grid-sessions {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 13rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: .75rem;
}

.r-media-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce6f0;
  border-radius: 1rem;
  background: #fff;
  color: #14253c;
}

.r-media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111b2c;
}

.r-media-preview {
  position: relative;
  display: block;
}

.r-media-preview img {
  object-fit: cover;
}

.r-media-grid-sessions .r-media-card {
  scroll-snap-align: start;
}

.r-media-grid-sessions .r-media-preview {
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.r-media-grid-sessions .r-media-preview img {
  position: absolute;
  inset: 0 auto auto 50%;
  width: 237.04%;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  object-fit: fill;
}

.r-media-card figcaption {
  display: grid;
  gap: .35rem;
  padding: .8rem 1rem 1rem;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.r-media-card figcaption a {
  color: #164eb2;
}

.r-cims-anchor {
  scroll-margin-top: 7rem;
}

.r-main .r-stanford {
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.r-analytics-image.r-method-spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: auto;
  aspect-ratio: auto;
  padding: .65rem;
  background: #fff;
}

.r-method-spread::after {
  content: "";
  position: absolute;
  inset: .65rem auto;
  left: 50%;
  width: 1rem;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #14253c26, transparent);
  pointer-events: none;
}

.r-method-spread img,
.r-certificate img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.r-certificate {
  margin: 0;
}

.r-certificate figcaption {
  padding-top: .5rem;
}

@media (min-width: 700px) {
  .research-page .r-hero::after {
    background: linear-gradient(90deg, #edfaff 0 calc(56% + 50px), #edfaffd9 calc(60% + 50px), transparent calc(72% + 50px));
  }
}

.r-capacity-heading {
  max-width: none;
}

.r-page-nav {
  align-items: center;
  border-top: 1px solid #dceaf4;
}

.r-page-nav strong {
  flex: 0 0 auto;
  color: #173f74;
  font-size: .85rem;
}

.r-page-nav a {
  padding: .35rem .65rem;
  border-radius: .4rem;
  background: #edf7fc;
}

.r-main .r-value-grid.r-pillars > .r-pillar {
  min-height: 0;
}

.r-main .r-rd-bridge {
  padding-inline: 1rem;
}

.r-analytics-image.r-method-spread {
  aspect-ratio: 1.73;
  box-sizing: border-box;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-inline: 9%;
}

.r-method-spread a {
  min-height: 0;
}

.r-analytics-image.r-method-spread img {
  height: 100%;
  object-fit: contain;
}

.r-analytics-image:has(.r-portal-preview) {
  background: #f4f5f7;
}

.r-media-grid-sessions .r-media-card {
  display: flex;
  flex-direction: column;
}

.r-media-card figcaption:has(.r-media-modules) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.r-media-modules {
  display: block;
  margin-top: auto;
  padding-top: .45rem;
  text-align: center;
  font-weight: 800;
}

.r-certificate {
  overflow: hidden;
  border: 1px solid #cfe5f2;
  border-radius: .85rem;
  background: #edf7fc;
  padding: .85rem;
}

.r-certificate img {
  border-radius: .35rem;
}

.r-ai-next {
  margin-top: 1rem;
}

.r-book-spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
}

.r-book-spread::before {
  content: "";
  position: absolute;
  inset: 7% 2%;
  border: 1px solid #d3d9df;
  border-radius: .35rem;
  background: repeating-linear-gradient(90deg, #fff 0 2px, #e0e5eb 2px 3px);
  box-shadow: 0 .3rem .7rem #14253c24;
  pointer-events: none;
}

.r-analytics-image.r-method-spread {
  padding-inline: 4%;
}

.r-book-spread a {
  display: block;
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #fff;
}

.r-book-spread::after {
  content: "";
  position: absolute;
  inset: 4% auto;
  left: 50%;
  width: 1.4rem;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #14253c35, #fff9, transparent);
  pointer-events: none;
}

.r-report-preview {
  max-width: 48rem;
  margin: 2rem auto 0;
  text-align: center;
}

.r-report-preview .r-book-spread {
  padding: .75rem 4%;
}

.r-report-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.r-report-preview figcaption {
  margin-top: .65rem;
}

.r-overview-videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.r-overview-placeholder {
  display: grid;
  place-items: center;
  align-self: start;
  aspect-ratio: 16 / 9;
  padding: 1rem;
  border: 1px dashed #9bb5d4;
  border-radius: 1rem;
  background: #f2faff;
  color: #27538c;
  text-align: center;
}

.r-media-grid-sessions figcaption {
  text-align: center;
}

.r-media-grid-sessions .r-media-modules {
  font-weight: 400;
}

[data-photo-id="R02"] img {
  filter: brightness(1.22);
}

@media (max-width: 699px) {
  .r-overview-videos {
    grid-template-columns: 1fr;
  }
}

.r-platform-layout .r-capabilities {
  grid-auto-rows: 1fr;
}

#briolight-software h2 {
  max-width: none;
  font-size: clamp(1.45rem, 2.45vw, 2.4rem);
}

.r-analytics-image.r-methodology-preview {
  background: #f1f6fa;
}

#analytics .r-media-modules {
  text-align: left;
  font-weight: 400;
}

.r-report-card .r-book-spread {
  padding: .65rem;
}

.r-report-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.r-playlist-note {
  margin-top: .75rem;
  color: #27538c;
}

.r-capacity-card {
  color: inherit;
  text-decoration: none;
}

.r-main .r-capacity-card:focus-visible {
  outline: 2px solid #317eac;
  outline-offset: 2px;
  box-shadow: 0 3px 12px rgba(5, 37, 93, .09);
}

#clinical-test-sites,
#research-partners,
#research-data,
#real-sessions {
  scroll-margin-top: 7rem;
}

.r-main .r-capacity-card:hover {
  box-shadow: 0 3px 12px rgba(5, 37, 93, .09);
}

.r-hero .r-hero-value {
  margin-top: clamp(1rem, 1.5vw, 1.5rem);
}

.r-hero .r-hero-actions {
  margin-top: clamp(1.25rem, 1.8vw, 1.75rem);
}

.r-software-library {
  max-width: 45rem;
  margin: 0 0 1rem;
}

.r-software-library img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .55rem;
}

.r-software-library figcaption {
  margin-top: .4rem;
}

#analytics > .r-extras {
  margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
  .research-page .r-hero::after {
    background: linear-gradient(90deg, #edfaff 0 calc(43% + 50px), #edfaffd9 calc(47% + 50px), transparent calc(59% + 50px));
  }
}

.r-hero .a-hero-lead.r-hero-value {font-size:18px;font-weight:400;line-height:1.6;max-width:605px}
@media(max-width:1199px){.r-hero .a-hero-lead.r-hero-value{font-size:15px;max-width:490px}}
@media(max-width:699px){.r-hero .a-hero-lead.r-hero-value{font-size:15px;line-height:1.45;max-width:none}}

.r-pillars-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
#infrastructure .r-capacity-card {min-height:0;overflow:hidden}
.r-pillars-grid img {display:block;width:100%;aspect-ratio:16/10;object-fit:contain;background:#f1f6fa;border-radius:.4rem;margin-bottom:.8rem}
.r-pillars-grid img.r-pillar-cover {object-fit:cover;background:transparent}
#infrastructure .r-extras {margin-top:1.5rem}
@media(max-width:999px){.r-pillars-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.r-pillars-grid{grid-template-columns:1fr}}

.r-software-gallery {grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:899px){.r-software-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.r-software-gallery{grid-template-columns:1fr}}

#analytics .r-software-gallery {margin-top:1rem}
.r-equipment-reel {min-width:0}
.r-equipment-track {display:grid;grid-auto-flow:column;grid-auto-columns:100%;gap:.75rem;overflow-x:auto;scroll-snap-type:x mandatory}
.r-equipment-track > figure {scroll-snap-align:start}
.r-equipment-track:focus-visible {outline:2px solid #317eac;outline-offset:3px}
.r-equipment-reel > p {margin:.5rem 0 0;font-size:.9rem;color:#27538c}

.r-capacity {position:relative}
#analytics .r-media-card,
#real-sessions .r-media-card {background:#f2faff;border-color:#d5e9f4}
:is(#analytics,#real-sessions) .r-media-card figcaption {text-align:left;display:flex;flex-direction:column;gap:.35rem}
:is(#analytics,#real-sessions) .r-media-card figcaption > :is(strong,a) {font-size:1rem;font-weight:700;color:#073c75}
:is(#analytics,#real-sessions) .r-media-card .r-media-modules {text-align:left;font-size:.875rem;font-weight:400;padding-top:.25rem}

#analytics :is(.r-media-card,.r-analytics-card) {
  background:#faf8ff;
  border-color:#e2d9f1;
}
#analytics .r-software-gallery .r-media-card > img {
  aspect-ratio:16/9;
  object-fit:contain;
}

#analytics #briolight-software > p,
#real-sessions > .a-heading > p:not(.r-overline),
#analytics > .r-media-group > p {
  width: 100%;
  max-width: none;
  margin: .65rem 0 1rem;
  color: #344563;
  font-size: 1rem;
  line-height: 1.55;
}
#analytics #briolight-software {margin-bottom:1.5rem}
#analytics > .r-media-group {margin-top:1.5rem}
#analytics > .r-media-group > h3 {margin:0;font-size:1.2rem;line-height:1.3}

#analytics .r-analytics-image {background:#faf8ff}

#real-sessions > .a-heading {margin-bottom:1.5rem}
#real-sessions > .r-overview-videos {align-items:start}
#real-sessions > .r-overview-videos figcaption {padding-block:.65rem}

#analytics :is(.r-methodology-preview,#research-data .r-analytics-image) {aspect-ratio:1.73;padding:0;background:#f2f2f2}
#analytics :is(.r-methodology-preview img,.r-portal-preview) {display:block;width:100%;height:100%;object-fit:cover}

#analytics #research-data .r-analytics-image {
  box-sizing: border-box;
  padding: 2%;
}
#analytics #research-data .r-portal-preview {object-fit:contain}


#real-sessions > .r-media-group {
  margin-top: 1rem;
}

#real-sessions > .r-media-group > h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  line-height: 1.3;
}


#real-sessions > .r-extras {
  margin-top: 1.5rem;
}


#real-sessions .r-media-card {
  background: #eff5fc;
  border-color: #d7e4f2;
}


/* Early research funding invitation below the six consortium resources. */
.r-funding-callout{
  margin:0 clamp(16px,4.8vw,66px);
  padding:clamp(1rem,1.65vw,1.45rem);
  border:1px solid #b7cddd;
  border-radius:.75rem;
  background:linear-gradient(105deg,#ffeb9c 0%,#fff7d5 34%,#e9f6ff 69%,#c7e7fb 100%);
  box-shadow:0 3px 14px rgba(50,64,90,.045);
}
.r-funding-callout h2{
  margin:0;
  font-size:clamp(1.45rem,2.35vw,2.2rem);
  line-height:1.18;
}
.r-funding-intro>p:not(.r-overline){
  margin:.7rem 0 0;
  color:#344f6f;
  font-size:1rem;
  line-height:1.58;
}
.r-funding-paths{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
  margin-top:.85rem;
}
.r-funding-path{
  padding:.7rem .9rem;
  border:1px solid transparent;
  border-radius:.65rem;
}
.r-funding-purpose{
  border-color:#e3ca79;
  background:#fffae9;
}
.r-funding-partners{
  border-color:#b5d6eb;
  background:#f4faff;
}
.r-funding-path>span{
  display:block;
  margin-bottom:.45rem;
  color:#715414;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.09em;
}
.r-funding-partners>span{color:#215579}
.r-funding-path h3{
  margin:0 0 .4rem;
  color:#12366f;
  font-size:1rem;
  line-height:1.35;
}
.r-funding-path p{
  margin:0;
  color:#425c78;
  font-size:.88rem;
  line-height:1.5;
}
.r-funding-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:.85rem;
}
.r-funding-actions .button{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  padding:.72rem 1.1rem;
  border:1px solid #e0ad18;
  border-radius:2rem;
  background:#ffc83d;
  color:#071e69;
  font-size:.84rem;
  font-weight:800;
  line-height:1.3;
  text-decoration:none;
}
.r-funding-actions .button.secondary{
  border-color:#789fbb;
  background:#fff;
}
.r-funding-actions .button:hover{background:#ffe083}
.r-funding-actions .button.secondary:hover{background:#eaf6ff}
@media(max-width:760px){
  .r-funding-paths{grid-template-columns:1fr}
}
@media(max-width:699px){
  .r-funding-callout{margin:0 16px;padding:1.15rem}
  .r-funding-intro>p:not(.r-overline){font-size:.94rem}
  .r-funding-actions{flex-direction:column}
  .r-funding-actions .button{width:100%}
}

/* Sources shown at the end of each research section. */
.r-main .r-references {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e2e2;
  border-radius: .6rem;
  background: #f4f4f4;
}
.r-main .r-references h3 {
  margin: 0 0 .4rem;
  color: #20587d;
  font-size: .95rem;
}
.r-main .r-references .r-proof-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
}
.r-main .r-references .r-proof-link small {
  display: block;
  margin: .3rem 0 0;
}
.r-programmes,
.r-programmes article,
#implementation {
  scroll-margin-top: 7rem;
}
.r-programmes .r-model-link {
  margin-top: .7rem;
  min-height: 0;
}
@media (max-width: 699px) {
  .r-main .r-references .r-proof-links {
    grid-template-columns: 1fr;
  }
}

.r-funding-callout + #analytics {
  margin-top: 1.5rem;
  border-top: 1px solid #e0eff9;
}


/* Clinical evidence expansion: reports, state registration and visual proofs. */
.r-report-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
.r-report-evidence{margin:0;overflow:hidden;border:1px solid #d8e5ed;border-radius:.75rem;background:#f7f9fb}
.r-report-evidence .r-book-spread{gap:.75rem;padding:.75rem;background:#eef1f4}
.r-report-evidence .r-book-spread::before,.r-report-evidence .r-book-spread::after{display:none}
.r-report-evidence .r-book-spread a{background:#fff}
.r-report-evidence .r-book-spread img{display:block;width:100%;aspect-ratio:3/4;object-fit:contain}
.r-report-evidence figcaption{display:flex;flex-direction:column;gap:.25rem;padding:.8rem 1rem 1rem;color:#496680;font-size:.86rem;line-height:1.45}
.r-report-evidence figcaption strong{color:#11376c;font-size:1rem}
.r-registration-band{display:grid;grid-template-columns:minmax(0,56%) minmax(18rem,44%);gap:1.35rem;align-items:stretch;margin-top:1.5rem;padding:1rem;border:1px solid #bfd8e7;border-radius:.8rem;background:#f3f8fb}
.r-registration-shot{display:block;overflow:hidden;border-radius:.55rem;background:#fff}
.r-registration-shot img{display:block;width:100%;height:100%;min-height:22rem;object-fit:contain;object-position:center top}
.r-registration-copy{padding:.35rem 0 .35rem .35rem}
.r-registration-copy h3{margin:.35rem 0 .65rem;color:#0a2d68;font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.25}
.r-registration-copy>p:not(.r-overline){margin:.55rem 0;color:#405a74;line-height:1.55}
.r-registration-copy .r-registration-description{font-size:.92rem}
.r-registration-copy>a{display:inline-block;margin-top:.35rem;color:#126b9e;font-weight:800;text-underline-offset:4px}
.r-science-proof-heading{margin-top:1.6rem}
.r-science-proof-heading h3{margin:0;font-size:1.25rem;color:#102f67}
.r-science-proof-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin-top:.8rem}
.r-science-proof-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #d9e5ec;border-radius:.7rem;background:#f7fafc}
.r-science-proof-card>a{display:block;text-decoration:none}
.r-science-proof-media{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#edf2f5}
.r-science-proof-media.r-proof-contain{object-fit:contain;padding:.6rem;box-sizing:border-box}
.r-science-proof-media.r-proof-document{object-fit:cover;object-position:top}
.r-science-proof-card>div:last-child{display:flex;flex:1;flex-direction:column;padding:.75rem .85rem .9rem}
.r-science-proof-card .r-overline{font-size:.64rem;line-height:1.35}
.r-science-proof-card h3{margin:.35rem 0;color:#11376c;font-size:.98rem;line-height:1.3}
.r-science-proof-card p{margin:auto 0 0;color:#526c84;font-size:.82rem;line-height:1.45}
.r-proof-stat{display:flex;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#eef7fb,#dfeff7);color:#0c4176}
.r-proof-stat strong{font-size:3rem;line-height:1}
.r-proof-stat span{margin-top:.25rem;font-size:1rem;font-weight:800}
.r-proof-stat small{margin-top:.5rem;color:#52728d;font-weight:700;letter-spacing:.08em}
.r-evidence .r-research-materials{margin-top:1.6rem}
@media(max-width:999px){.r-science-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r-registration-band{grid-template-columns:minmax(0,54%) minmax(15rem,46%)}}
@media(max-width:699px){.r-report-evidence-grid,.r-registration-band,.r-science-proof-grid{grid-template-columns:1fr}.r-registration-shot img{height:auto;min-height:0}.r-registration-copy{padding:.25rem}.r-science-proof-media{aspect-ratio:16/10}}

.r-evidence>.a-heading>p:last-child{max-width:none}
.r-science-proof-card>div:last-child .r-overline{display:block;margin-bottom:.65rem}
.r-science-proof-card>div:last-child>p{margin:0;color:#526c84;font-size:.86rem;line-height:1.5}

.r-research-evidence{margin-top:1.6rem}
.r-research-evidence .r-evidence-intro{margin:.35rem 0 1rem;color:#60798f;font-size:.92rem;line-height:1.55}
.r-research-evidence .r-evidence-subheading{margin:1.05rem 0 .65rem;color:#153d69;font-size:.92rem}
.r-research-evidence .r-evidence-public-heading{padding-top:1rem;border-top:1px solid #ddd}
.r-research-evidence .r-document-links{grid-template-columns:repeat(5,minmax(0,1fr));margin:.65rem 0 .8rem}
.r-research-evidence .r-doc-card{border-color:#ddd;background:#fff}
.r-research-evidence .r-evidence-meta{display:flex;justify-content:space-between;align-items:end;gap:1rem}
.r-research-evidence .r-materials-status{margin:.25rem 0!important;color:#6b7d8a!important}
.r-research-evidence .r-evidence-request{margin:.25rem 0!important}
@media(max-width:1199px){.r-research-evidence .r-document-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){.r-research-evidence .r-document-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){.r-research-evidence .r-document-links{grid-template-columns:1fr}.r-research-evidence .r-evidence-meta{display:block}}

.r-research-evidence .r-evidence-catalog{margin-top:1rem}
.r-research-evidence .r-proof-static{cursor:default}
.r-research-evidence .r-proof-static small{margin-top:auto}
.r-research-evidence .r-evidence-meta{margin-top:.85rem;padding-top:.75rem;border-top:1px solid #ddd}
.r-research-evidence .r-evidence-meta .r-evidence-request{text-decoration:underline;text-underline-offset:4px}


/* Inline video playback and selected-document lightbox */
.r-inline-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background: #0b1535;
}
.r-inline-player.r-media-preview {
  display: block;
}
.r-inline-player-vertical {
  aspect-ratio: 9 / 16;
  max-height: 560px;
  margin-inline: auto;
}
.r-inline-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.r-video-image.is-playing {
  background: #0b1535;
}
.r-video-image.is-playing > .r-inline-player {
  border-radius: inherit;
}
.r-lightbox-trigger {
  cursor: zoom-in;
}
.r-lightbox {
  width: min(94vw, 1180px);
  height: min(92vh, 920px);
  max-width: none;
  max-height: none;
  padding: 52px 64px 28px;
  border: 0;
  border-radius: 18px;
  background: #f7f9fc;
  color: #12245c;
  box-shadow: 0 24px 80px rgba(9, 23, 55, .35);
}
.r-lightbox::backdrop {
  background: rgba(7, 16, 38, .82);
  backdrop-filter: blur(3px);
}
.r-lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}
.r-lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.r-lightbox figcaption {
  text-align: center;
  font-size: .95rem;
  color: #5d6f8c;
}
.r-lightbox-close,
.r-lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 36, 92, .88);
  color: #fff;
  cursor: pointer;
}
.r-lightbox-close {
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  font-size: 26px;
  line-height: 1;
}
.r-lightbox-nav {
  top: 50%;
  width: 44px;
  height: 56px;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 1;
}
.r-lightbox-prev { left: 10px; }
.r-lightbox-next { right: 10px; }
.r-lightbox-close:hover,
.r-lightbox-close:focus-visible,
.r-lightbox-nav:hover,
.r-lightbox-nav:focus-visible {
  background: #2868c7;
  outline: 3px solid rgba(73, 143, 233, .35);
}
@media (max-width: 680px) {
  .r-lightbox {
    width: 96vw;
    height: 88vh;
    padding: 50px 42px 22px;
    border-radius: 12px;
  }
  .r-lightbox-nav {
    width: 36px;
    height: 48px;
  }
  .r-inline-player-vertical {
    max-height: 70vh;
  }
}


/* Compact Briolight Network section */
.r-network .a-heading>p:last-child{max-width:none}
.r-network-core{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(22rem,.92fr);gap:1.15rem;align-items:stretch;margin-top:1.2rem}
.r-network-photo{position:relative;overflow:hidden;margin:0;border:1px solid #d7e3ea;border-radius:.85rem;background:#eaf2f7}
.r-network-photo img{display:block;width:100%;height:100%;min-height:25rem;object-fit:cover;object-position:center}
.r-network-photo figcaption{position:absolute;right:.75rem;bottom:.75rem;left:.75rem;padding:.55rem .7rem;border-radius:.5rem;background:rgba(7,28,71,.84);color:#fff;font-size:.78rem;font-weight:700;line-height:1.35}
.r-network-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.r-network-scope article{position:relative;padding:1rem;border:1px solid #d8e4eb;border-radius:.72rem;background:#f6fafc}
.r-network-scope article>span{display:block;margin-bottom:.5rem;color:#3d8db6;font-size:.68rem;font-weight:900;letter-spacing:.12em}
.r-network-scope h3{margin:0 0 .4rem;color:#102f67;font-size:1rem;line-height:1.28}
.r-network-scope p{margin:0;color:#536e86;font-size:.84rem;line-height:1.48}
.r-network-international{margin:1rem 0 0;padding:.85rem 1rem;border-left:4px solid #eabf28;background:#fbfaf1;color:#425f79;font-size:.9rem;line-height:1.55}
.r-network-international strong{color:#12386e}
.r-network-voices{margin-top:1.3rem}
.r-network-voices-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:.75rem}
.r-network-voices-heading h3{margin:0;color:#102f67;font-size:1.18rem}
.r-network-voices-heading p{max-width:34rem;margin:0;color:#60798f;font-size:.86rem;line-height:1.45}
.r-network-voices-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.r-network-voice{overflow:hidden;margin:0;border:1px solid #d9e5ec;border-radius:.72rem;background:#f8fafc}
.r-network-voice>a{display:block;color:#11376c;text-decoration:none}
.r-network-voice .r-video-image{display:block;aspect-ratio:16/8.3;overflow:hidden;background:#0b1535}
.r-network-voice .r-video-image>img{display:block;width:100%;height:100%;object-fit:cover}
.r-network-voice>a>strong{display:block;padding:.7rem .8rem .2rem;font-size:.96rem;line-height:1.35}
.r-network-voice figcaption{padding:0 .8rem .8rem;color:#5a7187;font-size:.76rem;line-height:1.45}
.r-network-proof{margin-top:1.3rem!important}
.r-network-proof>.r-proof-links{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:999px){
  .r-network-core{grid-template-columns:1fr}
  .r-network-photo img{min-height:0;aspect-ratio:16/9}
  .r-network-voices-heading{display:block}
  .r-network-voices-heading p{margin-top:.35rem}
}
@media(max-width:760px){
  .r-network-scope,.r-network-voices-grid{grid-template-columns:1fr}
  .r-network-photo img{aspect-ratio:4/3}
  .r-network-voice .r-video-image{aspect-ratio:16/9}
}


/* Briolight Network matrix refinement */
.r-network-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-top:1.15rem}
.r-network-type{display:flex;min-height:17rem;box-sizing:border-box;flex-direction:column;padding:1.1rem 1.15rem;border:1px solid #d8e4eb;border-radius:.78rem}
.r-network-type-science{border-top:4px solid #7c5cc4;background:#f7f4fc}
.r-network-type-universities{border-top:4px solid #dda919;background:#fffaeb}
.r-network-type-sites{border-top:4px solid #4d9b78;background:#f2faf6}
.r-network-type-community{border-top:4px solid #4395bd;background:#f2f8fc}
.r-network-type-number{color:#448aad;font-size:.7rem;font-weight:900;letter-spacing:.12em}
.r-network-type h3{margin:.55rem 0;color:#102f67;font-size:1.08rem;line-height:1.3}
.r-network-type p{margin:0;color:#45627c;font-size:.88rem;line-height:1.55}
.r-network-type small{display:block;margin-top:auto;padding-top:.85rem;border-top:1px solid rgba(62,103,135,.17);color:#5e778d;font-size:.74rem;font-weight:700;line-height:1.5}
.r-network-voices-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.r-network-voice .r-video-image{aspect-ratio:16/8}
.r-network-voice>a>strong{padding:.58rem .7rem .12rem;font-size:.88rem}
.r-network-voice figcaption{padding:0 .7rem .68rem;font-size:.7rem;line-height:1.4}
@media(max-width:999px){
 .r-network-voices-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:699px){
 .r-network-matrix,.r-network-voices-grid{grid-template-columns:1fr}
 .r-network-type{min-height:0}
}


/* Briolight Network density and international reach */
.r-network-matrix{gap:.75rem}
.r-network-type{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;padding:.9rem 1rem}
.r-network-type-number{display:none}
.r-network-type h3{margin:0 0 .45rem;font-size:1.08rem}
.r-network-type p{font-size:.94rem;line-height:1.5}
.r-network-type small{align-self:end;margin-top:.65rem;padding-top:.65rem;font-size:.77rem;line-height:1.45}
.r-network-global{margin-top:.8rem;padding:1rem 1.15rem;border:1px solid #e4c65d;border-left:5px solid #e5b41e;border-radius:.72rem;background:linear-gradient(100deg,#fff8dc 0%,#fffdf3 42%,#f2f8fc 100%)}
.r-network-global>.r-overline{display:block;margin:0 0 .35rem;color:#8b6710;font-size:.67rem}
.r-network-global h3{margin:0 0 .4rem;color:#102f67;font-size:1.08rem}
.r-network-global p{margin:0;color:#48637b;font-size:.91rem;line-height:1.52}
.r-network-global>div{display:flex;flex-wrap:wrap;gap:.42rem;margin-top:.65rem}
.r-network-global>div span{padding:.27rem .55rem;border:1px solid rgba(34,96,135,.2);border-radius:999px;background:rgba(255,255,255,.72);color:#315f7d;font-size:.69rem;font-weight:800}
.r-network-voices{margin-top:1rem}
.r-network-voices-heading{margin-bottom:.6rem}
.r-network-voices-grid{gap:.65rem}
.r-network-voice .r-video-image{aspect-ratio:16/7.4}
.r-network-voice>a>strong{padding:.5rem .65rem .08rem;font-size:.86rem}
.r-network-voice figcaption{padding:0 .65rem .58rem;font-size:.68rem;line-height:1.32}
@media(max-width:699px){
 .r-network-global{padding:.9rem}
 .r-network-type p{font-size:.91rem}
}


/* Network proof grid: compact 3 × 3 evidence matrix */
.r-network-global>div span{display:inline-flex;align-items:center;gap:.3rem}
.r-network-proof .r-proof-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:.72rem}
.r-network-proof .r-proof-link{height:100%;min-height:0}
@media(max-width:999px){
 .r-network-proof .r-proof-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:699px){
 .r-network-proof .r-proof-links{grid-template-columns:1fr}
}


/* Network flags and enforced desktop 3 × 3 proof grid */
.r-network-flag{display:block;width:18px;height:12px;flex:0 0 auto;border-radius:2px;box-shadow:0 0 0 1px rgba(18,49,91,.18);object-fit:cover}
.r-main .r-network-proof .r-proof-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.72rem}
@media(max-width:999px){
 .r-main .r-network-proof .r-proof-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:699px){
 .r-main .r-network-proof .r-proof-links{grid-template-columns:1fr}
}


/* Linked international programme badge */
.r-network-global>div .r-network-chip-link{display:inline-flex;align-items:center;gap:.3rem;padding:.27rem .55rem;border:1px solid rgba(34,96,135,.2);border-radius:999px;background:rgba(255,255,255,.72);color:#315f7d;font-size:.69rem;font-weight:800;text-decoration:none}
.r-network-global>div .r-network-chip-link:hover{border-color:#4395bd;background:#fff;color:#184f78}

/* Research programme matrix */
.r-section .r-programmes-heading,.r-section .r-programmes-heading h2,.r-section .r-programmes-heading>p:not(.r-overline){width:100%;max-width:none}
.r-program-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.45rem}
.r-program-card{display:flex;min-width:0;min-height:18rem;flex-direction:column;padding:1.4rem 1.5rem 1.45rem;border:1px solid #d5e3ec;border-radius:14px;background:#f1f7fb;box-shadow:0 7px 20px rgba(21,49,95,.045)}
.r-program-card:first-child{border-color:#d5e3ec;background:#f1f7fb}
.r-program-card:last-child{border-color:#eadba4;background:#fff9e8}
.r-program-card>.r-overline{font-size:.78rem}
.r-program-card h3{margin:.58rem 0 .72rem;color:#10275e;font-size:1.42rem;line-height:1.2}
.r-program-card p{margin:0 0 .72rem;color:#526d8c;font-size:1rem;line-height:1.6}
.r-program-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:auto;padding-top:.55rem}
.r-program-action{display:inline-flex;align-items:center;justify-content:center;gap:.36rem;min-height:2.4rem;padding:.48rem .78rem;border:1px solid #b9cfdd;border-radius:999px;background:#fff;color:#245f84;font:inherit;font-size:.76rem;font-weight:850;line-height:1.2;text-decoration:none;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.r-program-action:hover{border-color:#3e90b8;background:#f7fcfe;transform:translateY(-1px)}
.r-program-action-primary{border-color:#e0b52c;background:#f3c83b;color:#10275e}
.r-program-action-primary:hover{border-color:#d4a719;background:#f7d45b}
.r-concept-download[aria-disabled="true"]{cursor:default}
.r-concept-download[aria-disabled="true"]:hover{border-color:#b9cfdd;background:#fff;transform:none}
.r-download-icon{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.r-program-matrix{grid-template-columns:1fr}.r-program-card{min-height:0}}
@media(max-width:560px){.r-program-card{padding:1.12rem;border-radius:12px}.r-program-card h3{font-size:1.28rem}.r-program-card p{font-size:.96rem}.r-program-actions{display:grid;grid-template-columns:1fr}.r-program-action{width:100%}}


/* Open research topics and transition to consortium roles */
.r-future>.a-heading>p:last-child{max-width:none}
.r-consortium .r-model-link{display:inline-flex;margin-top:.35rem}


/* Single-column transition from research areas to consortium roles */
.r-consortium-transition{display:block}
.r-consortium-transition>div{max-width:none}
.r-consortium-transition p{max-width:none;margin-bottom:.65rem;font-size:1rem;line-height:1.58}
.r-consortium-transition .r-model-link{font-size:.95rem}


/* Research page section 07: clear delivery roles, without decorative top stripes */
.r-main .r-partner-offer{border-bottom:0;padding-bottom:24px}
.r-main .r-partner-offer .a-heading h2,.r-main .r-collaboration-ways .a-heading h2{max-width:none}
.r-main .r-partner-offer .a-heading>p:last-child,.r-main .r-collaboration-ways .a-heading>p:last-child{max-width:none;font-size:1.08rem;line-height:1.55}
.r-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.r-role-card{min-width:0;padding:1.45rem 1.4rem;background:#f9fbfd;border:1px solid #dae6ef;border-radius:13px}
.r-role-eyebrow,.r-way-eyebrow{display:block;color:#337da5;font-size:.74rem;font-weight:800;letter-spacing:.075em;line-height:1.45}
.r-role-card h3{margin:.95rem 0 .65rem;color:#10275e;font-size:1.23rem;line-height:1.25}
.r-role-card p{margin:0;color:#506889;font-size:.96rem;line-height:1.63}
.r-responsibility-note{margin-top:1.2rem;padding:1.05rem 0 .9rem;border-top:1px solid #dbe7ee;border-bottom:1px solid #dbe7ee;background:transparent}
.r-responsibility-note strong{display:block;color:#10275e;font-size:1.02rem;margin:0 0 .3rem}
.r-responsibility-note p{margin:0;max-width:none;color:#506889;font-size:.95rem;line-height:1.6}

/* Research page section 08: four collaboration paths, readable at every width */
.r-main .r-collaboration-ways{padding-top:28px;padding-bottom:24px}
.r-way-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.r-way-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:1.4rem 1.45rem 1.35rem;background:#fff;border:1px solid #dae6ef;border-radius:13px;scroll-margin-top:100px;transition:border-color .16s ease,box-shadow .16s ease}
.r-way-card:hover{border-color:#a7cbdc;box-shadow:0 8px 25px rgba(20,57,101,.055)}
.r-way-card h3{margin:.75rem 0 .65rem;color:#10275e;font-size:1.2rem;line-height:1.29}
.r-way-card p{margin:0 0 1rem;color:#506889;font-size:.94rem;line-height:1.6;flex:1}
.r-way-link{display:inline-flex;align-items:center;gap:.65rem;min-height:2.35rem;margin-top:auto;color:#086da6;text-decoration:underline;text-underline-offset:4px;font-size:.91rem;line-height:1.4;font-weight:800}
.r-way-link:hover{color:#064e80}
.r-way-link:focus-visible{outline:3px solid #3694c8;outline-offset:3px;border-radius:3px}
.r-contact-conclusion{margin-top:8px}
.r-contact-conclusion .r-final-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.65rem}
.r-contact-conclusion .r-contact-email{color:#fff;font-size:.86rem;line-height:1.4;text-decoration:underline;text-underline-offset:3px}
.r-contact-conclusion .r-contact-email:hover{color:#d5f3ff}
.r-contact-conclusion .r-final-actions .button{min-width:210px;text-align:center;justify-content:center}
@media(min-width:1500px){.r-way-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:999px){.r-role-grid{grid-template-columns:1fr}.r-role-card{padding:1.2rem 1.25rem}}
@media(max-width:699px){.r-way-grid{grid-template-columns:1fr}.r-way-card{padding:1.17rem 1.15rem;scroll-margin-top:70px}.r-way-card h3{font-size:1.15rem}.r-role-card p,.r-way-card p{font-size:.95rem}.r-main .r-collaboration-ways{padding-top:20px}.r-contact-conclusion .r-final-actions{width:100%}.r-contact-conclusion .r-final-actions .button{width:100%}}

/* Sections temporarily disabled, with their complete original markup preserved. */
.r-main #spokiy[hidden],.r-main #journey[hidden],.r-main #people[hidden],.r-main #stanford[hidden]{display:none!important}


/* Final research-page refinements: responsibility, prominent proposal CTAs, site navigation */
.r-main .r-responsibility-note{margin-top:1.15rem;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.r-main .r-responsibility-note>strong{display:block;margin:0 0 .82rem;font-size:1.05rem;font-weight:800;color:#10275e}
.r-responsibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:0;padding:1.3rem 1.45rem;background:#f3f7fb;border-radius:13px;box-shadow:0 0 0 1px #e2ebf3 inset}
.r-responsibility-grid>div{min-width:0;padding-right:1.4rem}
.r-responsibility-grid>div+div{padding:0 0 0 1.5rem;border-left:1px solid #cbdae7}
.r-responsibility-grid h3{margin:0 0 .35rem;color:#10275e;font-size:1rem;font-weight:800;line-height:1.3}
.r-main .r-responsibility-grid p{margin:0;color:#506889;font-size:.95rem;line-height:1.56}
.r-main .r-partner-offer{padding-bottom:17px}
.r-main .r-collaboration-ways{border-bottom:0;padding-bottom:20px}
.r-main .r-way-card .r-way-link{display:flex;align-items:center;justify-content:center;gap:.6rem;align-self:stretch;min-height:45px;width:100%;margin-top:auto;padding:10px 12px;color:#071e69;background:var(--r-yellow,#ffcf3e);border:1px solid #e0ad18;border-radius:30px;text-align:center;text-decoration:none;font-size:.87rem;font-weight:800;line-height:1.3;box-shadow:none;white-space:normal}
.r-main .r-way-card .r-way-link:hover{background:#ffe083;color:#071e69;border-color:#dbad23}
.r-main .r-way-card .r-way-link:focus-visible{outline:3px solid #3688bc;outline-offset:3px}
.r-main .r-way-card .r-way-link>span{white-space:nowrap}
.r-main .r-contact-conclusion{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:120px;margin:0;padding:19px 3.7%}
.r-main .r-contact-conclusion .b-contact-message{flex:1 1 50%;min-width:0}
.r-main .r-contact-conclusion .b-contact-message>div{flex:1;min-width:0}
.r-main .r-contact-conclusion .r-overline{margin:0 0 .38rem!important;font-size:.68rem!important;color:#b8e8fe!important;letter-spacing:.09em}
.r-main .r-contact-conclusion h2{margin:0 0 .35rem;color:#fff;font-size:clamp(18px,1.7vw,22px);line-height:1.23;letter-spacing:0}
.r-main .r-contact-conclusion p:not(.r-overline){margin:0;color:#e5edf6;font-size:.81rem;line-height:1.42}
.r-main .r-site-nav{display:flex;flex:0 1 570px;min-width:0;flex-direction:column;align-items:stretch;gap:9px}
.r-site-nav-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.r-main .r-site-nav-links a{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:40px;padding:8px 9px;border:1px solid #84abc5;border-radius:27px;background:transparent;color:#fff;text-decoration:none;font-weight:750;font-size:.82rem;text-align:center;line-height:1.3}
.r-main .r-site-nav-links a:hover{background:#224e74;border-color:#b8d4e7}
.r-main .r-footer-other{display:inline-flex;align-self:center;align-items:center;gap:.45rem;min-height:25px;color:#cdeaf8;font-size:.79rem;font-weight:700;text-align:center;text-decoration:underline;text-underline-offset:3px}
.r-main .r-footer-other:hover{color:#fff}
.r-main .r-contact-conclusion a:focus-visible{outline:3px solid #f5ca45;outline-offset:3px}
@media(max-width:1100px){
 .r-main .r-contact-conclusion{flex-direction:column;align-items:stretch;gap:16px}
 .r-main .r-contact-conclusion .b-contact-message{flex:none}
 .r-main .r-site-nav{flex:none;width:100%}
}
@media(max-width:699px){
 .r-responsibility-grid{grid-template-columns:1fr;gap:0}
 .r-main .r-responsibility-note{margin-top:1rem;padding:0}
 .r-responsibility-grid{padding:1.05rem 1.15rem}
 .r-responsibility-grid>div{padding:0}
 .r-responsibility-grid>div+div{padding:1rem 0 0;margin-top:1rem;border-left:0;border-top:1px solid #cbdae7}
 .r-main .r-collaboration-ways{padding-bottom:15px}
 .r-main .r-contact-conclusion{padding:20px;gap:13px}
 .r-site-nav-links{grid-template-columns:1fr;gap:8px}
 .r-main .r-site-nav-links a{min-height:42px}
 .r-main .r-footer-other{align-self:flex-start;text-align:left}
}


/* Research finale: restore the site-wide handshake and Ukrainian origin seal. */
.r-main .r-contact-conclusion{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(390px,510px) auto;
 align-items:center;
 column-gap:21px;
 min-height:112px;
 padding:17px 3.7%;
}
.r-main .r-contact-conclusion .b-contact-message{
 display:flex;
 align-items:center;
 gap:16px;
 flex:none;
 min-width:0;
}
.r-main .r-contact-conclusion .b-contact-message>.b-icon{width:54px;height:54px;flex:0 0 54px}
.r-main .r-contact-conclusion .b-contact-message>div{flex:1;min-width:0}
.r-main .r-contact-conclusion h2{font-size:clamp(17px,1.5vw,21px)}
.r-main .r-contact-conclusion .r-site-nav{flex:none;min-width:0;width:100%;max-width:510px;gap:7px;justify-self:center;align-self:center;align-items:center}
.r-main .r-contact-conclusion .r-site-nav-links{width:100%;grid-template-columns:repeat(2,minmax(0,180px));justify-content:center;gap:7px}
.r-main .r-contact-conclusion .r-footer-other{align-self:center;justify-content:center;text-align:center}
.r-main .r-contact-conclusion .r-site-nav-links a{min-height:40px;padding:7px 9px;font-size:.78rem}
.r-main .r-contact-conclusion .r-footer-other{font-size:.75rem;line-height:1.4}
.r-main .r-contact-conclusion .b-origin{
 display:flex;align-items:center;gap:14px;
 justify-self:end;
 margin:0;
 padding-left:18px;
 border-left:3px solid #ffce2b;
 white-space:nowrap;
}
.r-main .r-contact-conclusion .b-origin p{
 margin:0;
 color:#fff;
 font-size:12px;
 font-weight:700;
 letter-spacing:1.5px;
 line-height:1.28;
 white-space:nowrap;
}
.r-main .r-contact-conclusion .b-ukraine-flag{
 width:42px;height:29px;flex:0 0 42px;
}
@media(max-width:1199px){
 .r-main .r-contact-conclusion{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"message origin" "navigation navigation";
  row-gap:13px;
  column-gap:20px;
 }
 .r-main .r-contact-conclusion .b-contact-message{grid-area:message}
 .r-main .r-contact-conclusion .r-site-nav{grid-area:navigation;width:100%;max-width:440px;justify-self:center}
 .r-main .r-contact-conclusion .b-origin{grid-area:origin}
}
@media(max-width:699px){
 .r-main .r-contact-conclusion{
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"message" "navigation" "origin";
  padding:20px;gap:14px;
 }
 .r-main .r-contact-conclusion .b-contact-message>.b-icon{width:44px;height:44px;flex-basis:44px}
 .r-main .r-contact-conclusion .r-site-nav{max-width:none}
 .r-main .r-contact-conclusion .r-site-nav-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .r-main .r-contact-conclusion .b-origin{justify-self:center;margin-top:3px}
 .r-main .r-contact-conclusion .r-footer-other{align-self:center;text-align:center}
}
@media(max-width:380px){
 .r-main .r-contact-conclusion .r-site-nav-links{grid-template-columns:1fr}
}

/* Align in-page resource links below the sticky navigation. */
#network,#briolight-software,#implementation{scroll-margin-top:7rem}


/* Research areas -> project: offer a contact action without repeating section 07. */
.r-main .r-consortium-transition{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(220px,30%);
 align-items:center;
 column-gap:24px;
 row-gap:15px;
}
.r-main .r-consortium-transition>div{min-width:0}
.r-main .r-consortium-transition p{margin-bottom:0}
.r-main .r-consortium-transition .r-transition-contact{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:.75rem;
 justify-self:center;
 min-width:220px;
 min-height:47px;
 padding:12px 19px;
 background:var(--r-yellow,#ffcf3e);
 color:#071e69;
 border:1px solid #e0ad18;
 border-radius:30px;
 font-size:.9rem;
 font-weight:800;
 line-height:1.3;
 text-decoration:none;
 white-space:nowrap;
}
.r-main .r-consortium-transition .r-transition-contact:hover{background:#ffe083}
.r-main .r-consortium-transition .r-transition-contact:focus-visible{outline:3px solid #317eac;outline-offset:3px}
@media(max-width:699px){
 .r-main .r-consortium-transition{grid-template-columns:1fr}
 .r-main .r-consortium-transition .r-transition-contact{justify-self:stretch;width:100%;min-width:0;white-space:normal}
}


/* Clear section separation: the 3+3 resource cards and summary belong together.
   The funding invitation is a new section, marked by a single full-width rule. */
.r-main .r-capacity{padding-bottom:22px}
.r-main .r-capacity::after{
 content:"";
 display:block;
 height:1px;
 margin-top:38px;
 background:#e0eff9;
}
/* Research partner capacity: technology + network */
.r-main .r-capacity-heading{width:100%;max-width:none;margin-bottom:1.05rem}
.r-main .r-capacity-heading>p:last-child{width:100%;max-width:none}
.r-main .r-resource-group{margin-top:1.15rem}
.r-resource-group-heading{display:block;margin:0 0 .85rem;padding:.45rem 0 .35rem;border:0}
.r-resource-group-heading h3{margin:0;color:#102e64;font-size:clamp(1.12rem,1.6vw,1.35rem);font-weight:800;letter-spacing:.012em;line-height:1.52;overflow-wrap:break-word}
.r-resource-group-network .r-resource-group-heading{border-bottom:0}
.r-main .r-resource-group .r-capacity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.r-main .r-resource-group .r-capacity-card{min-height:181px;border-top-width:3px}
.r-main .r-resource-group .r-capacity-card h4{margin:8px 0 9px;color:#102e64;font-size:17px;line-height:1.3;overflow-wrap:break-word}
/* Briolight technology: one soft green family, with resource-specific top accents. */
.r-main .r-resource-group-technology .r-capacity-card{background:#f1f8f3;border-color:#d7e9dd;border-top-width:4px}
.r-main .r-resource-group-technology .r-capacity-card:nth-child(1){border-top-color:#8364bd}
.r-main .r-resource-group-technology .r-capacity-card:nth-child(2){border-top-color:#477db7}
.r-main .r-resource-group-technology .r-capacity-card:nth-child(3){border-top-color:#4e987d}
.r-main .r-resource-group-technology .r-capacity-num{color:#4b8f73}
/* Briolight Network: one soft blue family, with a consistent blue top accent. */
.r-main .r-resource-group-network .r-capacity-card{background:#f1f7fc;border-color:#d7e5f0;border-top:4px solid #4487b5}
.r-main .r-resource-group-network .r-capacity-num{color:#4487b5}
/* Keep the white gap between the final row of cards and the summary. */
.r-main .r-resource-group-network{padding-bottom:22px}
.r-main .r-resource-summary{margin:0;padding:.85rem 1rem;border-radius:8px;background:#edf6fb;color:#214c75;font-size:.92rem;font-weight:800;line-height:1.5;text-align:center}
#network-sites,#network-expertise,#research-in-ukraine{scroll-margin-top:7rem}

/* One-stop entry to Briolight and its independent research network */
.r-project-access{margin:1.35rem 0 .3rem;padding:1.45rem 1.55rem;border:1px solid #d1e4ee;border-radius:13px;background:#f5faff;color:#123464}
.r-project-access-intro>.r-overline{display:block;margin:0 0 .45rem}
.r-project-access-intro h3{margin:0 0 .55rem;font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.25;color:#112f67}
.r-project-access-intro p{margin:0;color:#446680;font-size:.96rem;line-height:1.56}
.r-project-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:1rem 0 0;padding:1rem 0;border-top:1px solid #dae7f0;border-bottom:1px solid #dae7f0}
.r-project-access-grid>div{min-width:0;padding:0 1.45rem 0 0}
.r-project-access-grid>div+div{padding:0 0 0 1.5rem;border-left:1px solid #c3d8e5}
.r-project-access-grid h4{margin:0 0 .4rem;font-size:1rem;line-height:1.35;color:#15366a}
.r-project-access-grid p{margin:0;font-size:.92rem;line-height:1.56;color:#526e86}
.r-project-access-models{margin:1rem 0 .55rem;color:#1c5c83;font-size:.91rem;font-weight:800;line-height:1.5}
.r-project-access-ethics{margin:.2rem 0 .95rem;font-size:.82rem;line-height:1.56;color:#5a758c}
.r-project-access-footer{display:flex;align-items:center;justify-content:space-between;gap:1.1rem}
.r-project-access-footer>span{max-width:595px;color:#496a82;font-size:.87rem;line-height:1.45}
.r-main .r-project-access-cta{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;flex:none;min-height:44px;padding:10px 18px;background:var(--r-yellow,#ffcf3e);border:1px solid #e0ad18;border-radius:30px;color:#071e69;text-decoration:none;text-align:center;font-size:.87rem;font-weight:800;line-height:1.35}
.r-main .r-project-access-cta:hover{background:#ffe083}
.r-main .r-project-access-cta:focus-visible{outline:3px solid #317eac;outline-offset:3px}
@media(max-width:1099px){
 .r-resource-group-heading{padding:.45rem 0 .8rem}
 .r-main .r-resource-group .r-capacity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .r-main .r-resource-group .r-capacity-card:last-child:nth-child(odd){grid-column:span 2;min-height:0}
}
@media(max-width:799px){
 .r-main .r-resource-group .r-capacity-grid{grid-template-columns:1fr}
 .r-main .r-resource-group .r-capacity-card:last-child:nth-child(odd){grid-column:auto}
 .r-main .r-resource-group .r-capacity-card{min-height:0}
 .r-project-access-grid{grid-template-columns:1fr}
 .r-project-access-grid>div{padding:0}
 .r-project-access-grid>div+div{padding:1rem 0 0;margin-top:1rem;border-left:0;border-top:1px solid #c3d8e5}
 .r-project-access-footer{align-items:stretch;flex-direction:column}
 .r-main .r-project-access-cta{width:100%;flex:auto}
}
@media(max-width:699px){
 .r-project-access{padding:1.15rem 1.1rem}
 .r-resource-group-heading h3{font-size:1.15rem}
 .r-resource-summary{font-size:.88rem}
 .r-main .r-resource-group-network{padding-bottom:20px}
 .r-main .r-capacity{padding-bottom:18px}
 .r-main .r-capacity::after{margin-top:30px}
}


/* Four coordinated Briolight resource colours, shared by navigation and evidence.
   Software purple | Equipment blue | Methodology and research data green | Portal and services teal.
   Yellow remains reserved for primary calls to action. */
#analytics > .a-heading#briolight-software{
  border-left:4px solid #8364bd;
  padding-left:1rem;
}
#real-sessions > .a-heading{
  border-left:4px solid #477db7;
  padding-left:1rem;
}
#infrastructure .r-pillars-grid > .r-capacity-card{
  border-top-width:4px;
}
#infrastructure .r-pillars-grid > .r-capacity-card:nth-child(1){
  border-color:#e3d8f1;
  border-top-color:#8364bd;
  background:#f6f2fc;
}
#infrastructure .r-pillars-grid > .r-capacity-card:nth-child(2){
  border-color:#d7e4f2;
  border-top-color:#477db7;
  background:#eff5fc;
}
#infrastructure .r-pillars-grid > .r-capacity-card:nth-child(3){
  border-color:#d5e8df;
  border-top-color:#4e987d;
  background:#f0f8f3;
}
#infrastructure .r-pillars-grid > .r-capacity-card:nth-child(4){
  border-color:#cde6e9;
  border-top-color:#278fa5;
  background:#edf8fa;
}
#analytics .r-analytics-grid > .r-analytics-card:first-child{
  border-color:#d5e8df;
  border-top:4px solid #4e987d;
  background:#f0f8f3;
}
#analytics .r-analytics-grid > .r-analytics-card#research-data{
  border-color:#cde6e9;
  border-top:4px solid #278fa5;
  background:#edf8fa;
}

/* Resource labels: consistently blue in both resource groups and all four pillars. */
.r-main .r-resource-group .r-capacity-num,
.r-main #infrastructure .r-capacity-num{color:#2b76b5}

/* Jump directly to the software heading rather than showing the previous funding CTA. */
.r-main #briolight-software{scroll-margin-top:12px}

/* Funding CTA: keep arrow vertically aligned with the text even when it wraps. */
.r-main .r-funding-actions .button{
  align-items:center;
  justify-content:center;
  gap:.65rem;
  text-align:center;
  white-space:normal;
}
.r-main .r-funding-actions .button .r-funding-button-label{
  display:block;
  flex:0 1 auto;
  min-width:0;
  font-size:inherit;
  line-height:1.35;
}
.r-main .r-funding-actions .button .r-funding-arrow{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  margin:0;
  transform:none;
}

/* One-stop project access design v87: readable, prominent partner CTA. */
.r-main .r-capacity{padding-bottom:30px}
.r-main .r-capacity::after{margin-top:30px}
.r-heading-label{display:inline-flex;align-items:center;gap:.65rem;max-width:100%;vertical-align:middle}
.r-heading-label>span{min-width:0}
.r-heading-icon{width:22px;height:22px;flex:none;color:#347bb6;stroke:currentColor}
.r-heading-icon-network{color:#2689a7}
.r-main .r-resource-group-heading .r-heading-icon{width:23px;height:23px}
.r-main .r-project-access{
  margin:1.8rem 0 .7rem;
  padding:2rem 2.2rem 1.85rem;
  background:#f5faff;
  border:1px solid #cbdfea;
  border-radius:15px;
  box-shadow:0 4px 18px rgba(15,65,120,.05)
}
.r-main .r-project-access-intro>.r-overline{margin-bottom:.7rem}
.r-main .r-project-access-intro h3{
  margin:0 0 .8rem;
  color:#102f67;
  font-size:clamp(1.5rem,2.2vw,1.9rem);
  line-height:1.27
}
.r-main .r-project-access-intro p{
  margin:0;
  max-width:none;
  font-size:1.04rem;
  line-height:1.65;
  color:#3d5f7a
}
.r-main .r-project-access-grid{
  margin:1.5rem 0 0;
  padding:1.4rem 0 1.5rem;
  border-top:1px solid #d0e1ed;
  border-bottom:1px solid #d0e1ed
}
.r-main .r-project-access-grid>div{padding-right:1.75rem}
.r-main .r-project-access-grid>div+div{padding:0 0 0 1.85rem}
.r-main .r-project-access-grid h4{
  margin:0 0 .65rem;
  color:#15366a;
  font-size:1.12rem;
  line-height:1.4
}
.r-main .r-project-access-grid p{
  margin:0;
  color:#3e607b;
  font-size:1rem;
  line-height:1.65
}
.r-main .r-project-access-models{
  margin:1.55rem 0 1rem;
  font-size:1rem;
  line-height:1.6;
  color:#145c85;
  font-weight:800
}
.r-main .r-project-access-ethics{
  margin:0 0 1.5rem;
  font-size:1rem;
  line-height:1.65;
  color:#4a6b83
}
.r-main .r-project-access-footer{
  gap:2rem;
  padding:1.3rem 0 0;
  border-top:1px solid #d0e1ed
}
.r-main .r-project-access-footer>span{
  max-width:650px;
  font-size:1rem;
  line-height:1.6;
  color:#325c7d
}
.r-main .r-project-access-cta{
  flex:0 0 auto;
  min-height:50px;
  margin-right:.6rem;
  padding:13px 22px;
  font-size:1rem;
  line-height:1.4
}
.r-main .r-responsibility-grid h3 .r-heading-icon{width:21px;height:21px}
@media(max-width:799px){
 .r-main .r-project-access{padding:1.6rem 1.45rem}
 .r-main .r-project-access-grid>div{padding:0}
 .r-main .r-project-access-grid>div+div{padding:1.2rem 0 0;margin-top:1.2rem;border-left:0;border-top:1px solid #cbdfea}
 .r-main .r-project-access-footer{gap:1rem;flex-direction:column;align-items:stretch}
 .r-main .r-project-access-cta{margin-right:0;width:100%;flex:auto}
}
@media(max-width:699px){
 .r-main .r-capacity{padding-bottom:26px}
 .r-main .r-capacity::after{margin-top:26px}
 .r-main .r-project-access{padding:1.45rem 1.25rem}
 .r-main .r-project-access-intro h3{font-size:1.5rem;line-height:1.3}
 .r-main .r-project-access-grid h4{font-size:1.06rem}
 .r-main .r-project-access-grid p{font-size:1rem}
 .r-main .r-project-access-footer>span{font-size:1rem}
 .r-main .r-project-access-cta{min-height:51px;white-space:normal;text-align:center}
 .r-heading-icon{width:21px;height:21px}
}


/* Conference certificate: fill the image frame with a very slight side crop
   (the source is about 1.41:1, the frame is 4:3); keep top corners rounded. */
.r-main .r-science-proof-card:first-child>a{
  overflow:hidden;
  border-radius:.67rem .67rem 0 0
}
.r-main .r-science-proof-card:first-child .r-science-proof-media.r-proof-contain{
  width:100%;
  padding:0;
  object-fit:cover;
  object-position:center center;
  border-radius:.67rem .67rem 0 0;
  background:#fff
}
@media(max-width:699px){
  .r-main .r-science-proof-card:first-child .r-science-proof-media.r-proof-contain{
    aspect-ratio:4/3
  }
}
/* Short programme intro below its H2 deserves the same air as other headings. */
.r-main .r-programmes-heading>h2{margin-bottom:1.05rem}
.r-main .r-programmes-heading>h2+p{margin-top:0}
/* The hypothesis overline is a span; display:block makes its spacing real. */
.r-main .r-research-priority>.r-overline{
  display:block;
  margin:0 0 1rem!important;
}
.r-main .r-research-priority h3{margin-top:0}
/* Widen programme buttons horizontally without changing their height or inter-button gap. */
.r-main .r-program-action{padding-left:1.18rem;padding-right:1.18rem}
.r-main .r-program-action-primary{padding-left:1.3rem;padding-right:1.3rem}
/* Move the key partnership CTA inward, centred inside its own right-hand column. */
@media(min-width:800px){
  .r-main .r-project-access-footer{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(16rem,35%);
    align-items:center;
    column-gap:2rem
  }
  .r-main .r-project-access-footer>span{max-width:none}
  .r-main .r-project-access-cta{justify-self:center;margin-right:0}
}


/* The sole yellow CTA downloads the language-specific partner profile. */
.r-main .r-project-access-footer>.r-project-access-cta{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:.7rem;
 width:100%;
 max-width:21rem;
 min-height:51px;
 box-sizing:border-box;
 margin:0;
 font-size:1rem;
 text-align:center;
 white-space:normal
}
.r-main .r-project-access-cta .r-download-icon{
 width:1.15rem;
 height:1.15rem;
 flex:none
}
@media(max-width:799px){
 .r-main .r-project-access-footer>.r-project-access-cta{max-width:none}
}


/* English Research donor appeal (EN only, 2026-11-13) */
html[lang="en"] .r-funding-appeal{
  margin-top:.8rem;
}
html[lang="en"] .r-funding-appeal h3{
  margin:0;
  color:#12366f;
  font-size:clamp(1.05rem,1.4vw,1.3rem);
  line-height:1.3;
}
html[lang="en"] .r-funding-appeal p{
  margin:.35rem 0 0;
  color:#344f6f;
  font-size:.92rem;
  line-height:1.45;
}
html[lang="en"] .r-funding-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:.8rem 1.4rem;
  margin-top:.75rem;
}
html[lang="en"] .r-funding-action-buttons{
  display:flex;
  flex:0 0 auto;
  flex-wrap:wrap;
  align-items:center;
  gap:.7rem;
}
html[lang="en"] .r-funding-donor-note{
  flex:1 1 auto;
  min-width:0;
  margin:0 0 0 auto;
  color:#425c78;
  font-size:.8rem;
  line-height:1.4;
  text-align:right;
}
html[lang="en"] .r-funding-donor-note a{
  color:#12366f;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}
html[lang="en"] .r-funding-donor-note a:hover,
html[lang="en"] .r-funding-donor-note a:focus-visible{
  text-decoration-thickness:2px;
}
html[lang="en"] .r-funding-donor-note a:focus-visible{
  outline:2px solid #12366f;
  outline-offset:3px;
}
@media(max-width:1100px){
  html[lang="en"] .r-funding-actions{
    flex-direction:column;
    align-items:stretch;
  }
  html[lang="en"] .r-funding-donor-note{
    margin-left:0;
    text-align:left;
  }
}
@media(max-width:699px){
  html[lang="en"] .r-funding-action-buttons{
    flex-direction:column;
    align-items:stretch;
    width:100%;
  }
  html[lang="en"] .r-funding-action-buttons .button{
    width:100%;
    box-sizing:border-box;
  }
  html[lang="en"] .r-funding-donor-note{text-align:center}
}

/* English Research: international collaboration entry */
html[lang="en"] .r-hero-collaboration{margin:0 0 1rem;color:#164a80;font-size:clamp(.92rem,1.3vw,1.1rem);font-weight:800;line-height:1.45}
html[lang="en"] .r-hero-collaboration span{white-space:nowrap}
html[lang="en"] .r-collab{padding:0 clamp(16px,4.8vw,66px) 34px;background:#fff}
html[lang="en"] .r-collab h2{font-size:clamp(22px,2.3vw,30px);line-height:1.2;margin:0 0 16px;color:#12366f}
html[lang="en"] .r-collab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html[lang="en"] .r-collab-card{padding:19px 18px;border:1px solid #d5e8f4;border-top:3px solid #48b4e4;background:#f4faff;border-radius:9px}
html[lang="en"] .r-collab-card h3{font-size:clamp(17px,1.5vw,20px);line-height:1.25;margin:0 0 9px;color:#12366f}
html[lang="en"] .r-collab-card p{font-size:15px;line-height:1.5;margin:0;color:#365b78}
@media(max-width:800px){html[lang="en"] .r-collab-grid{grid-template-columns:1fr}}
@media(max-width:699px){html[lang="en"] .r-hero-collaboration span{white-space:normal}html[lang="en"] .r-collab{padding-bottom:26px}}

/* English Research: compact hero and integrated collaboration formats */
html[lang="en"] .r-hero-copy{padding-top:20px;padding-bottom:20px}
html[lang="en"] .r-hero h1{margin-bottom:9px}
html[lang="en"] .r-hero-collaboration{font-size:clamp(.86rem,1.15vw,1rem);line-height:1.35;margin:0 0 9px}
html[lang="en"] .r-hero .r-hero-value{margin-top:0;margin-bottom:0;line-height:1.4}
html[lang="en"] .r-hero .r-hero-actions{margin-top:12px;gap:8px}
html[lang="en"] .r-hero .r-hero-actions .button{min-height:40px;padding:9px 17px}
html[lang="en"] .r-main .r-capacity{padding-bottom:15px}
html[lang="en"] .r-main .r-capacity::after{display:none}
html[lang="en"] .r-collab{padding-bottom:25px}
html[lang="en"] .r-collab h2{margin-bottom:13px}
html[lang="en"] .r-collab-card{border-color:#ddd5ee;border-top-width:3px}
html[lang="en"] .r-collab-card:nth-child(1){background:#f1ecfa;border-top-color:#8666bd}
html[lang="en"] .r-collab-card:nth-child(2){background:#ede9fa;border-top-color:#7660b9}
html[lang="en"] .r-collab-card:nth-child(3){background:#e8e7f8;border-top-color:#6257ac}
html[lang="en"] .r-collab-card h3{color:#33245d}
html[lang="en"] .r-collab-card p{color:#4c4363}
html[lang="en"] .r-collab::after{content:"";display:block;height:1px;margin-top:26px;background:#e0eff9}
@media(max-width:699px){html[lang="en"] .r-hero-copy{padding-top:18px;padding-bottom:19px}html[lang="en"] .r-hero .r-hero-actions{margin-top:10px}html[lang="en"] .r-collab::after{margin-top:20px}}

/* English Research: final collaboration layout refinements */
html[lang="en"] .r-hero h1{margin-bottom:14px}
html[lang="en"] .r-hero-collaboration{margin-bottom:14px;line-height:1.42}
html[lang="en"] .r-hero .r-hero-actions{margin-top:17px;gap:10px}
html[lang="en"] .r-collab{padding-top:19px}
html[lang="en"] .r-collab .r-overline{display:block;margin:0 0 7px;color:#2477b9}
html[lang="en"] .r-collab-card:nth-child(1),
html[lang="en"] .r-collab-card:nth-child(2),
html[lang="en"] .r-collab-card:nth-child(3){background:#f1ecfa;border-color:#ddd5ee;border-top-color:#8666bd}
@media(max-width:699px){html[lang="en"] .r-hero .r-hero-actions{margin-top:14px}html[lang="en"] .r-collab{padding-top:17px}}

/* English Research: lightweight path from collaboration to technology */
html[lang="en"] .r-collab-technology-link{display:flex;justify-content:flex-end;margin-top:14px}
html[lang="en"] .r-collab-technology-link a{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:750;color:#236da5;text-decoration:none;text-underline-offset:3px}
html[lang="en"] .r-collab-technology-link a:hover{text-decoration:underline}
html[lang="en"] .r-collab-technology-link a:focus-visible{outline:2px solid #236da5;outline-offset:4px;border-radius:3px}
@media(max-width:699px){html[lang="en"] .r-collab-technology-link{justify-content:flex-start;margin-top:13px}}

/* Research CTA: compact yellow rounded buttons matching paragraph typography */
html[lang="en"] .r-main .r-way-card .r-way-link,
html[lang="uk"] .r-main .r-way-card .r-way-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  box-sizing:border-box;
  width:min(100%,250px);
  min-height:52px;
  margin-top:auto;
  padding:8px 14px;
  gap:8px;
  background:var(--r-yellow,#ffcf3e);
  color:#10275e;
  border:1px solid #dfb131;
  border-radius:28px;
  box-shadow:none;
  font-size:15px;
  font-weight:700;
  line-height:1.24;
  text-align:center;
  text-decoration:none;
}
html[lang="en"] .r-main .r-way-card .r-way-link .r-way-button-label,
html[lang="uk"] .r-main .r-way-card .r-way-link .r-way-button-label{
  display:block;
  flex:1 1 auto;
  min-width:0;
  font-size:inherit;
  font-weight:inherit;
  line-height:1.24;
  white-space:normal;
}
html[lang="en"] .r-main .r-way-card .r-way-link .r-way-arrow,
html[lang="uk"] .r-main .r-way-card .r-way-link .r-way-arrow{
  flex:0 0 auto;
  font-size:15px;
  color:#10275e;
}
html[lang="en"] .r-main .r-way-card .r-way-link:hover,
html[lang="uk"] .r-main .r-way-card .r-way-link:hover{
  background:#ffe183;
  color:#10275e;
  border-color:#dbad23;
}
html[lang="en"] .r-main .r-way-card .r-way-link:focus-visible,
html[lang="uk"] .r-main .r-way-card .r-way-link:focus-visible{
  outline:2px solid #267aaa;
  outline-offset:3px;
}
@media(max-width:699px){
  html[lang="en"] .r-main .r-way-card .r-way-link,
  html[lang="uk"] .r-main .r-way-card .r-way-link{
    width:min(100%,250px);
    min-height:52px;
    padding:8px 14px;
    font-size:15px;
  }
}


/* UA Research: discreet programme links within partner descriptions */
html[lang="uk"] .r-way-card p a.r-way-program-link{color:#1f6496;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:650}
html[lang="uk"] .r-way-card p a.r-way-program-link:hover,
html[lang="uk"] .r-way-card p a.r-way-program-link:focus-visible{text-decoration:underline;color:#244e82}
html[lang="uk"] .r-way-card p a.r-way-program-link:focus-visible{outline:2px solid #3688bc;outline-offset:3px;border-radius:2px}

/* EN Research: readable links to the two donor-supported programmes */
html[lang="en"] .r-way-card p a.r-way-program-link{color:#1f6496;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:650}
html[lang="en"] .r-way-card p a.r-way-program-link:hover{color:#123e71}
html[lang="en"] .r-way-card p a.r-way-program-link:focus-visible{outline:2px solid #3688bc;outline-offset:3px;border-radius:2px}

/* v105: Research buttons use the same yellow/white hover palette as other pages. */
@media (hover:hover) and (pointer:fine){
.r-main .r-hero-actions .button:nth-child(2):hover,.r-main .r-model:nth-child(2) .r-model-link:hover,.r-main .r-final-actions .button:nth-child(2):hover,.r-main .r-funding-actions .button.secondary:hover,.r-main .r-program-action:not(.r-program-action-primary):hover{background:#f3f6fc;border-color:#7f9fc6}
.r-main .r-final-actions .button:first-child:hover,.r-main .r-funding-actions .button:not(.secondary):hover,.r-main .r-program-action-primary:hover,.r-main .r-way-card .r-way-link:hover{background:#ffe083;border-color:#dfb131;color:#061d68}
}

/* EN Human Recovery deep link: reveal the collaboration options on desktop,
   but lead directly to the humanitarian appeal on phones. */
html[lang="en"] #support-human-recovery{scroll-margin-top:80px}
@media(min-width:900px){
 html[lang="en"] #support-human-recovery{scroll-margin-top:330px}
}

/* Deep links show the full section heading and its background, not a cropped heading. */
html[lang="uk"] #support-digital-human-recovery{scroll-margin-top:90px}
html[lang="uk"] #research-programmes{scroll-margin-top:90px}
html[lang="uk"] #evidence{scroll-margin-top:90px}

/* Deep link from international partnerships: show the medical software heading, not the preceding funding banner. */
html[lang="en"] #technology.r-cims-anchor{scroll-margin-top:18px}
