/* R17 content architecture. The approved photography, typography, colours,
   native emoji renderer and scientific chart scales are retained. */
.direction-substance .cover-deck{max-width:450px}
.direction-substance .mission-copy{max-width:520px}
.direction-substance .chroma-mission h2{max-width:540px}
.direction-substance .mission-receipts{padding-top:10px}
.direction-substance .research-programmes .crop-opening{min-height:480px}
.direction-substance .research-programmes .crop-opening figure{min-height:480px}
.direction-substance .research-programmes .crop-opening img{max-height:580px}
.direction-substance .crop-opening .cover-link{max-width:235px;margin-top:25px;color:inherit}
.programme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:90px;padding-block:35px 70px}
.programme{border-top:1px solid var(--line);padding-block:32px 26px;display:flex;flex-direction:column;align-items:start}
.programme-number{font-size:11px;color:var(--muted);margin:0 0 20px}
.programme h3{font-size:29px;line-height:1.2;letter-spacing:-.025em;font-weight:400;margin-bottom:22px}
.programme>p:not(.programme-number){max-width:510px;font-size:14px;line-height:1.8}
.programme .programme-stage{font-size:11px!important;color:var(--muted);border-left:1px solid var(--line);padding-left:13px;margin-top:15px;padding-top:0}
.direction-substance .scale-scope{font-size:12px;line-height:1.8;color:var(--muted);max-width:920px;margin-top:24px}
.direction-substance .century-section .section-heading strong{font-weight:500;color:var(--ink)}
.model-foundations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;border-top:1px solid var(--line);padding-top:28px;margin-top:45px}
.model-foundations h3{font-size:23px;font-weight:400;line-height:1.3;letter-spacing:-.02em;margin-block:16px}
.model-foundations article>p:not(.result-type){font-size:13px;line-height:1.8;color:var(--muted)}
.foundation-scope{font-size:11px;line-height:1.8;color:var(--muted);max-width:960px;margin-block:20px 28px;border-left:1px solid var(--line);padding-left:15px}
.research-roles{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-top:1px solid var(--line);padding-top:24px;margin-bottom:32px}
.research-roles p{font-size:13px;line-height:1.8;color:var(--muted)}
.research-roles strong{color:var(--ink);font-weight:500}
.direction-substance .system-panel{min-height:365px}
.direction-substance .technology-chapter{padding-bottom:65px}
.results-chapter{padding-block:70px 55px;border-top:1px solid var(--line)}
.direction-substance .results-chapter>.engineering-result{display:grid;grid-template-columns:.78fr 1.22fr;gap:75px;border:0;padding-block:25px 45px}
.result-studies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-block:15px 45px}
.result-studies article{border-top:1px solid var(--line);padding-top:22px;display:flex;flex-direction:column;align-items:start}
.result-studies h3{font-weight:400;line-height:1.3;letter-spacing:-.02em;font-size:23px;margin:14px 0 18px}
.result-studies article>p:not(.result-type){font-size:13px;line-height:1.8}
.result-studies details{font-size:12px;color:var(--muted);margin-top:auto;width:100%;padding-top:15px}
.result-studies summary{list-style:none;border-bottom:1px solid var(--line);padding-block:12px;cursor:pointer;display:flex;justify-content:space-between;gap:15px;color:var(--ink)}
.result-studies summary::after{content:'+'}
.result-studies details[open] summary::after{content:'−'}
.result-studies summary::-webkit-details-marker{display:none}
.result-studies details p{margin-block:16px 0;line-height:1.8}
.colour-comparison{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.colour-comparison h3{font-size:26px;line-height:1.3;font-weight:400;margin-bottom:20px}
.colour-comparison p{font-size:13px;color:var(--muted);line-height:1.8;max-width:500px}
.benchmark-outcomes>div{border-bottom:1px solid var(--line);padding-block:16px;display:flex;gap:20px;justify-content:space-between;font-size:12px}
.benchmark-outcomes dd{margin:0;text-align:right}
.direction-substance .compute-chapter{margin-top:0}
.direction-substance .notebook-chapter{padding-block:20px 50px}
.direction-substance .team-section{padding-block:70px}
.direction-substance .partner-access .cover-link{width:100%;max-width:300px}
.direction-substance .industry-story .industry-qualification{font-size:11px;line-height:1.8;border-top:1px solid #536057;padding-top:20px;margin-top:8px}
/* The existing root scroll-padding already clears the sticky chapter rail. */
.direction-substance :is(#main-content,#mission,#research,#technology,#results,#next-steps,#team,#contact,#compute,#wheat-result,#research-atlas,#research-scale-heading,#prediction-in-practice,#whole-journey){scroll-margin-top:0}
.direction-substance :is(a,button,summary,select,[tabindex]):focus-visible{outline:2px solid currentColor;outline-offset:5px}
.direction-substance .skip-link{z-index:1000}
@media(max-width:1100px){
 .programme-grid{column-gap:45px}
 .result-studies{gap:25px}
 .direction-substance .results-chapter>.engineering-result{gap:40px}
 .result-studies h3{font-size:21px}
 .model-foundations{gap:25px}
 .model-foundations h3{font-size:21px}
 .colour-comparison{gap:40px}
}
@media(max-width:700px){
 .direction-substance .research-programmes .crop-opening{min-height:0}
 .direction-substance .research-programmes .crop-opening figure{min-height:0;height:310px}
 .direction-substance .research-programmes .crop-opening img{height:310px;max-height:none}
 .programme-grid{grid-template-columns:1fr;padding-block:12px 35px}
 .programme{padding-block:28px 22px}
 .programme-number{margin-bottom:16px}
 .programme h3{font-size:27px;margin-bottom:18px}
 .programme .programme-stage{margin-top:10px}
 .direction-substance .system-panel{min-height:0}
 .model-foundations{grid-template-columns:1fr;gap:20px;margin-top:30px;padding-top:24px}
 .model-foundations h3{font-size:25px}
 .model-foundations article+article{border-top:1px solid var(--line);padding-top:24px}
 .research-roles{grid-template-columns:1fr;gap:4px;margin-bottom:22px}
 .direction-substance .technology-chapter{padding-bottom:35px}
 .results-chapter{padding-block:40px 35px}
 .direction-substance .results-chapter>.engineering-result{grid-template-columns:1fr;gap:28px;padding-block:0 25px}
 .result-studies{grid-template-columns:1fr;gap:25px;margin-bottom:25px}
 .result-studies h3{font-size:25px}
 .result-studies details{padding-top:3px}
 .result-studies article>p:not(.result-type){font-size:14px}
 .colour-comparison{grid-template-columns:1fr;gap:20px}
 .benchmark-outcomes>div{padding-block:13px;font-size:11px}
 .direction-substance .notebook-chapter{padding-block:5px 30px}
 .direction-substance .team-section{padding-block:40px}
}
