/* Academic composition: shared axes, readable measures and distinct surfaces. */
#science-home{--sc-gutter:48px;--sc-section-space:88px}
.sc-shell,body.science-active .ff-header-inner{width:min(1200px,calc(100% - 96px))}
.sc-hero-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--sc-gutter);align-items:center}
#science-home #sc-name{font-size:clamp(42px,4.35vw,64px);line-height:1.08;letter-spacing:-.045em}
#science-home .sc-hero-statement{font-size:clamp(24px,2.15vw,31px);line-height:1.25;max-width:22ch}
#science-home .sc-hero-intro{font-size:15px;line-height:1.75;max-width:54ch}
.sc-portrait{align-self:center;padding:0}
.sc-portrait-frame{max-height:500px;aspect-ratio:4/5}
.sc-portrait figcaption{padding-top:14px;font-size:12px}
.sc-hero-footer{margin-top:36px;font-size:10px}
#science-home #sc-motion{font-size:10px}
.sc-credentials .sc-shell{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-block:24px}
.sc-credentials span,.sc-credentials strong{max-width:none;font:400 12px/1.6 var(--sc-sans)}
.sc-credentials strong{border-left:1px solid var(--sc-line);padding-left:24px}
.sc-projects,.sc-agenda,.sc-publications{padding-block:var(--sc-section-space)}
.sc-section-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sc-gutter);align-items:end;margin-bottom:40px}
.sc-section-head>p,.sc-section-head>div+div{width:auto;max-width:52ch;font-size:15px;line-height:1.75}
#science-home .sc-section-head h2{font-size:clamp(32px,3.1vw,44px);font-weight:550;line-height:1.16;letter-spacing:-.035em}
#science-home .sc-kicker{font:500 11px/1.6 var(--sc-sans);letter-spacing:.12em}

/* An ivory research showcase separates the tools from the personal introduction. */
#science-home .sc-projects{background:var(--brand-background);color:var(--brand-primary);--sc-paper:var(--brand-primary);--sc-muted:#476454;--sc-line:#c8dbcf;--text-primary:var(--brand-primary);--color-active-bg:#e4f0e8;--color-accent:#236b49}
#science-home .sc-projects :is(h2,h3,h4){color:var(--brand-primary)}
#science-home .sc-projects .sc-section-head>p{color:var(--sc-muted)}
.sc-project-tabs{margin-bottom:40px}
#science-home .sc-project-tabs button{font-size:14px!important;padding:18px 20px;color:#476454;min-height:72px}
#science-home .sc-project-tabs button:first-child{padding-left:20px}
#science-home .sc-project-tabs button[aria-selected=true],#science-home .sc-project-tabs button:focus{color:var(--brand-primary)!important;background:#e4f0e8!important}
#science-home .sc-project-tabs button[aria-selected=true]:after{background:var(--brand-primary)}
.sc-project-tabs button>span{font:500 10px/1.4 var(--sc-sans);margin-bottom:6px}
#sc-project-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px var(--sc-gutter);align-items:start}
.sc-product-copy{padding-top:16px}
#science-home .sc-product-copy h3{font-size:clamp(42px,4vw,58px);font-weight:500;margin-bottom:16px}
#science-home .sc-product-copy h4{font-size:clamp(24px,2vw,29px);max-width:27ch;font-weight:500}
.sc-product-copy>p{font-size:15px;line-height:1.75;max-width:52ch}
.sc-product-tags{color:#476454;font:12px/1.6 var(--sc-sans);gap:8px 16px}
.sc-product-tags>span:before{color:#236b49}
.sc-product-copy .sc-project-note{color:#526a5c;font-size:12px;max-width:52ch}
#science-home .sc-button{font-size:14px;min-height:48px}
#science-home .sc-projects .sc-product-visual{--sc-paper:var(--brand-background);--sc-muted:#bdd2c6;--sc-line:#ffffff23;--text-primary:var(--brand-background);color:var(--brand-background);background:var(--brand-primary);box-shadow:none;border:0;padding:16px}
.sc-window-bar{font:10px/1.6 var(--sc-sans);align-items:center;min-height:40px;padding:0 0 14px;gap:12px}
.sc-window-bar>span:first-child{min-width:0;max-width:78%}
.sc-film-caption,.agros-transcript,#science-home .sc-video-orcid{font-size:12px;line-height:1.65}
.agros-evidence{font-size:13px;padding-top:24px;color:#476454}
#agros-science-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
#agros-science-metrics p{margin:10px 0;min-width:0}
#agros-science-metrics strong{color:var(--brand-primary);font-size:clamp(28px,3vw,40px);font-weight:500;line-height:1.3}
#agros-science-metrics p>span{font-size:13px;margin-top:8px}
.agros-evidence>p{font-size:12px;max-width:90ch}
.sc-purpose{gap:28px;margin-top:0;padding-top:28px}
#science-home .sc-purpose .sc-kicker{color:#236b49}
#science-home .sc-purpose p{font-size:14px;line-height:1.75}
#science-home .sc-purpose h4{font-size:19px;line-height:1.35;min-height:2.7em}
#science-home .agros-project-more .agros-welcome-actions{margin:0;gap:16px;align-items:stretch}
#science-home .agros-project-more .agros-welcome-actions>*{margin:0;padding:14px 20px;min-height:48px;display:inline-flex;align-items:center;font-size:14px}
#science-home .agros-project-more .agros-education-link{color:var(--brand-primary);border:1px solid #a9c6b5}
#science-home .agros-partners{margin-top:32px;padding-bottom:0}
#science-home .agros-partner-grid{gap:28px}
#science-home .agros-partner{font-size:12px;line-height:1.7}
#science-home .agros-partner strong{font-size:13px}
#science-home .sc-all-systems{color:var(--brand-primary)!important;font-size:14px;margin-top:32px}

/* Activity and publications share the same editorial grid. */
#science-home .sc-agenda{background:#edf4ef;border-block:1px solid #d5e3da}
.sc-agenda-toolbar{margin-bottom:20px}
.sc-agenda-tabs button{font-size:14px!important}
.sc-agenda-note{font:12px/1.65 var(--sc-sans)}
.sc-event-card{background:var(--brand-background);flex-basis:calc((100% - 48px)/3);padding:26px;min-height:340px}
.sc-event-card>p{font-size:14px;line-height:1.75}
#science-home .sc-publications{background:var(--brand-background)}
.sc-publications .sc-shell{border:0;padding-top:0}
.sc-publications .sc-section-head>.sc-text-link{justify-self:end;font-size:14px}
.sc-paper{grid-template-columns:90px minmax(0,1fr) 32px;padding-block:28px}
.sc-paper p,.sc-doi,.sc-paper-year{font-size:12px}
#science-home .sc-paper h3{font-size:23px;line-height:1.35}
.sc-contact-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sc-gutter);align-items:end}
.sc-contact-row>div{max-width:52ch}
.sc-contact-row p{font-size:15px;line-height:1.75}
.sc-social{font-size:12px}

@media(max-width:1100px){
 #science-home{--sc-gutter:32px;--sc-section-space:64px}
 .sc-shell,body.science-active .ff-header-inner{width:calc(100% - 64px)}
 .sc-hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
 #science-home #sc-name{font-size:clamp(36px,4.4vw,48px)}
 #science-home .sc-hero-intro{font-size:14px!important}
 .sc-hero .sc-kicker{font-size:10px!important}
 .sc-credentials .sc-shell{gap:16px}.sc-credentials strong{padding-left:16px}.sc-credentials strong:last-child{display:block}
 .sc-event-card{flex-basis:calc((100% - 24px)/2.15)}
 .sc-window-bar{font-size:9px}
}
@media(max-width:850px){
 #science-home{--sc-gutter:24px}
 .sc-section-head{align-items:start}
 .sc-section-head>p,.sc-section-head>div+div{font-size:14px}
 #sc-project-panel{grid-template-columns:1fr 1fr;gap:32px 24px}
 .sc-product-copy>p{font-size:14px}
 .sc-purpose{grid-template-columns:1fr;gap:24px}
 #science-home .sc-purpose h4{min-height:0;margin-bottom:8px}
 .sc-purpose article{display:grid;grid-template-columns:1fr 2fr;gap:0 24px}
 .sc-purpose article>.sc-kicker{grid-column:1;grid-row:1}
 .sc-purpose article>h4{grid-column:1;grid-row:2}
 .sc-purpose article>p:last-child{grid-column:2;grid-row:1/3}
 #agros-science-metrics strong{font-size:28px}
}
@media(max-width:700px){
 #science-home{--sc-gutter:24px;--sc-section-space:48px}
 .sc-shell,body.science-active .ff-header-inner{width:calc(100% - 40px)}
 .sc-hero-grid{grid-template-columns:minmax(0,1fr) 125px;gap:20px 18px}
 #science-home .sc-hero-intro{font-size:13px!important;line-height:1.65}
 .sc-hero-links{gap:12px 24px}.sc-hero-links a{font-size:11px}
 .sc-portrait-frame{aspect-ratio:4/5;max-height:none}
 .sc-hero-footer{font-size:9px;margin-top:24px;align-items:center}
 #science-home #sc-motion{font-size:9px}
 .sc-credentials .sc-shell{grid-template-columns:1fr 1fr;gap:16px;padding-block:20px}
 .sc-credentials .sc-shell>span{grid-column:1/-1;font-size:11px}
 .sc-credentials strong{padding:0;border:0;font-size:12px}
 .sc-credentials strong:last-child{grid-column:1/-1}
 .sc-section-head{grid-template-columns:1fr;gap:18px;margin-bottom:28px}
 #science-home .sc-section-head h2{font-size:32px}
 .sc-section-head>p,.sc-section-head>div+div{margin:0;font-size:14px}
 #science-home .sc-kicker{font-size:10px}
 .sc-project-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin-bottom:28px;gap:0}
 #science-home .sc-project-tabs button{min-width:0;min-height:76px;padding:14px!important;font-size:13px!important;border-bottom:1px solid var(--sc-line)}
 .sc-project-tabs button:nth-child(2){border-right:0}.sc-project-tabs button>span{font-size:10px}
 #sc-project-panel{grid-template-columns:1fr;gap:28px}
 .sc-product-copy{padding:0}
 #science-home .sc-product-copy h3{font-size:46px}
 #science-home .sc-product-copy h4{font-size:25px}
 .sc-product-copy>p{font-size:15px}
 #science-home .sc-projects .sc-product-visual{padding:12px}
 .sc-window-bar{font-size:9px;gap:8px}
 .sc-film-caption{font-size:11px}
 #agros-science-metrics{grid-template-columns:1fr 1fr;gap:16px}
 #agros-science-metrics p:first-child{grid-column:1/-1}
 #agros-science-metrics strong{font-size:32px}
 #agros-science-metrics p>span{font-size:12px}
 .sc-purpose article{display:block}
 #science-home .sc-purpose h4{font-size:19px}
 #science-home .agros-project-more .agros-welcome-actions{display:grid;grid-template-columns:1fr;gap:12px}
 #science-home .agros-project-more .agros-welcome-actions>*{justify-content:space-between;width:100%}
 #science-home .agros-partner-grid{grid-template-columns:1fr;gap:22px}
 #science-home .agros-partner{display:grid;grid-template-columns:110px minmax(0,1fr);gap:4px 18px;align-items:center}
 #science-home .agros-partner>a:first-child{grid-row:span 2;margin:0;width:110px;height:56px}
 #science-home .agros-partner img{max-width:100px;max-height:44px}
 #science-home .agros-partner strong,#science-home .agros-partner>span{grid-column:2}
 .sc-event-card{flex-basis:87%;min-height:330px}
 .sc-agenda-tabs{gap:20px}.sc-agenda-tabs button{font-size:13px!important}
 .sc-publications .sc-section-head>.sc-text-link{justify-self:start;margin:0}
 .sc-paper{grid-template-columns:40px minmax(0,1fr) 20px;gap:14px;padding-block:24px}
 #science-home .sc-paper h3{font-size:19px}
 .sc-paper p,.sc-doi,.sc-paper-year{font-size:11px}
 .sc-contact-row{grid-template-columns:1fr;gap:24px}
 .sc-contact-row>div{margin:0}
}
@media(max-width:360px){
 .sc-shell,body.science-active .ff-header-inner{width:calc(100% - 32px)}
 .sc-hero-grid{grid-template-columns:minmax(0,1fr) 105px;gap:18px 14px}
 .sc-hero-links{gap:12px}.sc-hero-links a{font-size:10px}
 #science-home .sc-project-tabs button{font-size:12px!important;padding:12px!important}
 .sc-window-bar{font-size:8px}
 .sc-hero-footer>span{max-width:155px}
}
.sc-mobile-dock{display:none}
.sc-context-details{grid-column:1/-1}
.sc-context-details>summary{display:none}
@media(max-width:700px){
 #science-home{padding-bottom:calc(72px + env(safe-area-inset-bottom));--sc-section-space:40px}
 body.science-active .ff-header-inner{width:calc(100% - 28px);gap:10px!important}
 body.science-active .ff-header-tools{gap:6px!important}
 body.science-active .ff-mobile-toggle,body.science-active .ff-language{min-width:44px;min-height:44px}
 body.science-active .ff-agros-mobile{display:none!important}
 .sc-mobile-dock{position:fixed;z-index:50;bottom:0;left:0;right:0;display:grid;grid-template-columns:.65fr 1fr .85fr 1.2fr;gap:4px;padding:8px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#f5fff8f5;backdrop-filter:blur(14px);border-top:1px solid #b8d4c3;box-shadow:0 -6px 24px #062c1e0a}
 #science-home .sc-mobile-dock a{display:flex;justify-content:center;align-items:center;min-height:48px;color:#164a32;text-decoration:none;font-size:12px;font-weight:500;border-radius:8px;white-space:nowrap}
 #science-home .sc-mobile-dock .sc-dock-agros{background:var(--brand-primary);color:#ddf8e8}
 #science-home :is(#sc-name,#agros-home,#sc-agenda){scroll-margin-top:86px}
 #science-home .sc-hero>.sc-shell{padding-top:24px}
 #science-home .sc-hero-grid{gap:16px 18px;grid-template-columns:minmax(0,1fr) 112px}
 #science-home .sc-hero-copy>#sc-name{font-size:clamp(29px,7.8vw,44px)!important;line-height:1.12!important}
 #science-home .sc-hero-copy>.sc-hero-statement{font-size:clamp(21px,5.3vw,28px)!important;line-height:1.25}
 #science-home .sc-hero-intro{font-size:15px!important;line-height:1.65!important}
 #science-home .sc-featured{grid-row:5;padding:16px 18px!important;margin:0}
 #science-home .sc-hero-links{grid-row:6;gap:8px 22px}
 #science-home .sc-hero-links a{min-height:44px;font-size:12px}
 #science-home .sc-hero-footer{margin-top:8px;padding-block:8px}
 #science-home #sc-motion{min-height:44px;font-size:10px}
 .sc-credentials .sc-shell{padding-block:16px;gap:10px}
 #science-home .sc-project-tabs{display:flex;gap:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-snap-type:x proximity;margin:0 -4px 24px;padding-bottom:4px}
 #science-home .sc-project-tabs button{flex:0 0 auto;min-width:130px;min-height:64px;padding:10px 14px!important;font-size:14px!important;scroll-snap-align:center}
 #science-home .sc-project-tabs button>span{margin-bottom:3px;font-size:10px}
 #science-home .sc-product-copy .sc-button{width:100%;justify-content:space-between;min-height:52px}
 #science-home .sc-section-head>p,#science-home .sc-product-copy>p{font-size:16px;line-height:1.7}
 #science-home .sc-context-details{border-block:1px solid #c8dbcf}
 #science-home .sc-context-details>summary{display:list-item;min-height:52px;padding:15px 4px;cursor:pointer;font-size:14px;color:#255e47}
 #science-home .sc-context-details .sc-purpose{padding:8px 0 20px}
 #science-home .sc-agenda-toolbar{gap:12px}
 #science-home .sc-agenda-tabs{order:0;gap:18px}
 #science-home .sc-agenda-tabs button{min-height:48px;font-size:14px!important}
 #science-home .sc-carousel-controls{order:1;margin:0 0 0 auto;gap:12px}
 #science-home .sc-carousel-controls button{width:44px;height:44px}
 #science-home .sc-event-track{gap:24px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:14px}
 #science-home .sc-event-card{flex-basis:90%;scroll-snap-align:start;min-height:0;padding:22px}
 #science-home .sc-event-card>p{font-size:15px;line-height:1.7}
 #science-home .sc-event-bottom a{min-height:44px;display:flex;align-items:center}
 #science-home .sc-social a{min-height:44px;font-size:13px}
 #science-home .sc-doi{font-size:11px}
 #science-home .sc-enter{animation-duration:.45s;animation-delay:.08s}
 @keyframes sc-enter{from{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
}
