/* round2.css. OP-532 round 2, 14 Nov 2026 (Craig's review of /draft3).
   Loaded last. Larger type, colour accents, sponsors, project photo mast,
   service mandate + fiduciary + price, contact grid, next-page band, footer. */

:root{
  --c-moss:#4f5a2f; --c-olive:#a9bf95;
  --moss-d:#3d4725;
  --bone-2:#3a2e24; --ash:#5a4e41;
  --t-body:clamp(17px,1.3vw,19px);
  --t-lead:clamp(19px,1.5vw,23px);
  --t-util:13px;
}
@media(min-width:901px){:root{--t-util:14px}}

/* ---------- accent colour: one variable, set per page / per section ---------- */
body{--acc:var(--c-moss)}
body[data-page="platform.html"] main{--acc:var(--c-moss)}
body[data-page="service.html"] main{--acc:var(--c-moss)}
body[data-page="project.html"] main{--acc:var(--c-moss)}
body[data-page="about.html"] main{--acc:var(--c-moss)}
body[data-page="contact.html"] main{--acc:var(--c-moss)}
.home-page #cognitive{--acc:var(--c-moss)}
.home-page #agrostasis{--acc:var(--c-moss)}
.home-page #vineyard{--acc:var(--c-moss)}
.home-page #service{--acc:var(--c-moss)}
.home-page #supported,.supported-by{--acc:var(--c-moss)}
.band-deep,.band-photo,figure.band-img,footer.experience-footer,.next-cta{--acc:var(--c-olive)}
.home-page #growing{--acc:var(--c-olive)}
.home-page #project{--acc:var(--c-olive)}
.home-page #contact{--acc:var(--c-olive)}

html body .mono:not(.hero *):not(.stage *):not(.stage-mobile *):not(header *):not(dialog *){
  color:var(--acc)!important;font-size:var(--t-util)!important;font-weight:600;letter-spacing:.09em}

/* headings that carry the section colour */
.home-page #cognitive h2,.home-page #vineyard h2,.home-page #service h2,
.inside-page .experience-mast:not(.band-photo) h1,
.sf-head h2{color:var(--acc)!important}
.home-page .gateway-word h2,.home-page .gateway-word span{color:var(--c-moss)!important}
.home-page .gateway-thesis{color:var(--c-moss)!important;font-weight:400}
.band-deep p,.band-photo p{color:rgba(241,236,223,.94)}

/* sub-headings: regular weight instead of light, so they stop looking faint */
.ag-l,.ag-panel h3,.project-terms dt,.delivery-statements article h2,.research-partners h3,
.atlas-layers summary,.atlas-layers summary>span,.work-heading h3,.team-member h2{font-weight:400!important}
.goal-list strong{font-weight:500!important}

/* ---------- body sizes that were pinned at 15-16px ---------- */
html body .project-terms dd,html body .goal-list p,html body .research-partners p,
html body .deliverable-list li,html body .work-heading p,html body .sense-list dt,html body .sense-list dd,
html body .mandate-list>div,html body .team-member p,html body .ag-grid span,
html body .atlas-layers details>div p,html body .contact-org{font-size:var(--t-body)!important;line-height:1.55}
html body .ag-grid strong{font-size:calc(var(--t-body) + 1px)}
html body .goal-list strong{font-size:clamp(20px,1.6vw,24px)}
html body .project-terms dt{font-size:clamp(24px,2.1vw,32px)}
html body .research-timeline strong{font-size:var(--t-body)!important;font-weight:500}
html body .project-section .research-partners p,html body .project-collab .research-partners p,
html body .partner-register .research-partners p{max-width:34ch}
html body .source-note,html body .project-block .source-note{font-size:var(--t-body)!important}
html body .section-note,html body .documentary-note{font-size:var(--t-util)!important}
.band-img figcaption span{font-size:13px}

/* ---------- home: Sense / Model / Act / Adapt ---------- */
#ag-tab-sense,#ag-panel-sense{--tab:var(--c-moss)}
#ag-tab-model,#ag-panel-model{--tab:var(--c-moss)}
#ag-tab-act,#ag-panel-act{--tab:var(--c-moss)}
#ag-tab-adapt,#ag-panel-adapt{--tab:var(--c-moss)}
html body .ag-tablist button{color:var(--tab)!important;border-top-width:4px}
html body .ag-tablist button .ag-l{color:var(--tab)!important}
html body .ag-tablist button .ag-n{color:var(--tab)!important;font-weight:600;font-size:var(--t-util)}
html body .ag-tablist button[aria-selected=true]{border-top-color:var(--tab)!important}
html body .ag-tablist button[aria-selected=true] .ag-l{font-weight:600!important}
html body .ag-panel h3{color:var(--tab)!important}
html body .ag-grid strong{color:var(--tab)}
html body .ag-grid li{border-top-color:var(--line-2)}
html body .ag-body .ag-status,html body .ag-grid em{color:var(--tab)!important;font-weight:600;font-size:var(--t-util)}
@media(max-width:600px){
  html body .ag-tablist button{border:1px solid var(--tab)!important}
  html body .ag-tablist button[aria-selected=true]{background:var(--tab)!important;border-color:var(--tab)!important}
  html body .ag-tablist button[aria-selected=true] .ag-l,html body .ag-tablist button[aria-selected=true] .ag-n{color:#fff!important}
}

/* ---------- supporters: larger logos ---------- */
html body .sb-logo{height:176px;padding:0 52px}
html body .sb-logo img{height:88px;max-width:360px}
html body .sb-logo.inno img:first-child{height:68px}
html body .sb-list{gap:24px;padding-right:24px}
@media(max-width:600px){
  html body .sb-logo{height:120px;padding:0 30px}
  html body .sb-logo img{height:60px;max-width:240px}
  html body .sb-logo.inno img:first-child{height:46px}
  html body .sb-list{gap:14px;padding-right:14px}
}

/* ---------- image credit: short mark, far right ---------- */
html body .band-credit,html body .band-img figcaption span.credit{text-transform:none;letter-spacing:.02em;font-size:12px;font-weight:500;color:rgba(241,236,223,.82);opacity:1}
html body .band-img figcaption span.credit{align-self:flex-end;margin-top:-8px}
@media(max-width:700px){html body .band-credit{align-self:flex-end;justify-self:end;text-align:right;margin-top:18px}}

/* ---------- project page: name in white over the satellite image ---------- */
body[data-page="project.html"] .experience-mast.band-photo{
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;
  min-height:min(88svh,900px);background:var(--deep)}
body[data-page="project.html"] .experience-mast.band-photo>.band-bg{filter:none;object-position:50% 50%}
body[data-page="project.html"] .experience-mast.band-photo::before{
  background:linear-gradient(0deg,rgba(16,12,8,.86) 0%,rgba(16,12,8,.58) 30%,rgba(16,12,8,.16) 62%,rgba(16,12,8,.34) 100%)}
body[data-page="project.html"] .experience-mast.band-photo h1{color:#fff!important;max-width:none!important;text-shadow:0 2px 28px rgba(0,0,0,.5)}
body[data-page="project.html"] .experience-mast.band-photo{--acc:#fff}
body[data-page="project.html"] .experience-mast.band-photo .mono{text-shadow:0 1px 12px rgba(0,0,0,.6)}
@media(max-width:900px){body[data-page="project.html"] .experience-mast.band-photo{min-height:min(74svh,640px)}}
.project-terms>div:nth-child(1){--acc:var(--c-moss)}
.project-terms>div:nth-child(2){--acc:var(--c-moss)}
.project-terms>div:nth-child(3){--acc:var(--c-moss)}
html body .project-terms>div{border-top:3px solid var(--acc)}
html body .project-terms dt{color:var(--acc)}
html body .project-terms dd{color:var(--bone)}
html body #project .research-timeline span{color:var(--c-moss)!important}
html body .goal-list li::before{color:var(--c-moss)!important;font-size:var(--t-util);font-weight:600}
body[data-page="project.html"] .research-partners article:nth-child(1) h3{color:var(--c-moss)!important}
body[data-page="project.html"] .research-partners article:nth-child(2) h3{color:var(--c-moss)!important}
body[data-page="project.html"] .research-partners article:nth-child(3) h3{color:var(--c-moss)!important}

/* ---------- AGROSTASIS page ---------- */
@media(min-width:1000px){
  body[data-page="platform.html"] .experience-mast{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;align-content:end;align-items:end;row-gap:0}
  body[data-page="platform.html"] .experience-mast>.mono{grid-column:1/-1!important;grid-row:1}
  body[data-page="platform.html"] .experience-mast>h1{grid-column:1!important;grid-row:2}
  body[data-page="platform.html"] .experience-mast>p{grid-column:2!important;grid-row:2;align-self:start;margin-top:0!important;padding-top:.5em}
  body[data-page="platform.html"] .experience-mast>.experience-link{grid-column:1!important;grid-row:3;justify-self:start;margin-top:36px!important}
}
body[data-page="platform.html"] .experience-mast>p{color:var(--bone)}
html body .band-img figcaption b{max-width:17em}
.atlas-layers details:nth-of-type(1){--tab:var(--c-moss)}
.atlas-layers details:nth-of-type(2){--tab:var(--c-moss)}
.atlas-layers details{--tab:var(--c-moss)}
.atlas-layers details:nth-of-type(4){--tab:var(--c-moss)}
.atlas-layers details:nth-of-type(5){--tab:var(--c-moss)}
html body .atlas-layers summary>span{color:var(--tab)}
html body .atlas-layers details>div p{color:var(--bone)!important}
html body .atlas-layers .status{color:var(--tab)!important;border-color:var(--tab)!important;font-size:13px!important;font-weight:600;padding:5px 12px}
html body .sense-list dt{font-weight:600;color:var(--bone)}
html body .sense-list dd{color:var(--bone-2)}
html body .atlas-layers summary i{color:var(--tab)}

/* ---------- service page ---------- */
html body .responsibility-scene.band{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html body .responsibility-scene>div:first-child p{font-size:var(--t-body)!important;line-height:1.55!important;max-width:34em!important;margin:0;color:var(--bone)}
html body .responsibility-scene>div:first-child p+p{margin-top:16px}
html body .responsibility-scene>div:first-child p.rs-close{font-weight:600;color:var(--c-moss)}
@media(max-width:900px){html body .responsibility-scene.band{grid-template-columns:minmax(0,1fr)!important}}
html body .mandate-controls button{font-size:14px}
html body .mandate-list>div>b{font-size:13px!important}
html body .mandate-list[data-mode="after"]{background:transparent!important;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:clamp(16px,2vw,28px)}
html body .mandate-list[data-mode="after"]>div{grid-column:1;grid-template-columns:minmax(0,1fr)!important;padding:18px 0!important}
html body .mandate-list[data-mode="after"]>div>span::before{color:var(--c-moss);font-weight:600}
html body .mandate-list[data-mode="after"]::after{content:"Swiss Soil";grid-column:2;grid-row:1/span 6;display:flex;align-items:center;justify-content:center;
  margin:0;align-self:stretch;border-radius:0;background:var(--moss-d);color:var(--peat);text-align:center;
  font-size:clamp(28px,3vw,46px);font-weight:300;font-variation-settings:"wdth" 74;letter-spacing:-.03em;line-height:1;white-space:nowrap}
@media(max-width:600px){
  html body .mandate-list[data-mode="after"]{grid-template-columns:minmax(0,1fr)}
  html body .mandate-list[data-mode="after"]::after{grid-column:1;grid-row:auto;margin:16px 0 18px;padding:22px 0}
}
html body .mandate-result{font-size:var(--t-lead)!important;font-weight:500;line-height:1.35;color:var(--bone)!important;max-width:none!important;padding-top:20px;border-top:2px solid var(--bone)}
html body .mandate-list[data-mode="after"]~.mandate-result{color:var(--c-moss)!important;border-top-color:var(--c-moss)}

html body .service-fiduciary{grid-template-columns:minmax(0,1fr)!important;row-gap:clamp(28px,3vw,44px)!important}
.sf-head h2{font-weight:300;font-variation-settings:"wdth" 72;font-size:var(--t-section);line-height:.98;letter-spacing:-.03em;margin-top:14px}
html body .service-fiduciary .sf-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px clamp(32px,5vw,96px);border-top:3px solid var(--acc);padding-top:clamp(22px,2.4vw,32px)}
html body .service-fiduciary .sf-body p{font-size:var(--t-lead)!important;line-height:1.45;color:var(--bone)!important;max-width:none!important;padding-top:0!important;margin:0!important}
@media(max-width:900px){html body .service-fiduciary .sf-body{grid-template-columns:minmax(0,1fr)}}

html body .service-price.band-deep>div>span:not(.mono){font-size:var(--t-sub);font-weight:400;color:var(--peat)}
html body .service-price.band-deep>p{color:rgba(241,236,223,.94)}
html body .service-price.band-deep .source-note{font-size:var(--t-lead)!important;line-height:1.45;font-weight:500;color:var(--c-olive)!important;max-width:50ch;border-top:1px solid var(--line-d2);padding-top:18px;margin-top:8px}
@media(min-width:1000px){html body .service-price.band-deep>div{grid-row:1/span 3}}

.delivery-statements article:nth-child(1){--acc:var(--c-moss)}
.delivery-statements article:nth-child(2){--acc:var(--c-moss)}
.delivery-statements article:nth-child(3){--acc:var(--c-moss)}
html body .delivery-statements article{border-top:3px solid var(--acc)}
html body .delivery-statements article>span{color:var(--acc);font-size:var(--t-util);font-weight:600}
html body .delivery-statements article p{color:var(--bone);line-height:1.55}

/* ---------- contact page ---------- */
body[data-page="contact.html"] .contact-oversize{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(36px,4vw,64px) clamp(32px,5vw,96px);align-items:start}
.contact-item{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;border-top:3px solid var(--acc);padding-top:20px}
.contact-item.contact-email{grid-column:1/-1;--acc:var(--c-moss)}
.contact-item:nth-child(2){--acc:var(--c-moss)}
.contact-item:nth-child(3){--acc:var(--c-moss)}
html body .contact-oversize .contact-email .experience-link{color:var(--c-moss)!important}
.contact-item .contact-value{font-size:var(--t-sub);font-weight:300;font-variation-settings:"wdth" 82;letter-spacing:-.02em;line-height:1.25;color:var(--bone);font-style:normal}
html body .contact-oversize a.contact-value[href^="tel"]{font-size:var(--t-sub)}
html body .contact-oversize a.contact-value:hover{color:var(--acc)}
@media(max-width:700px){body[data-page="contact.html"] .contact-oversize{grid-template-columns:minmax(0,1fr)}}

/* ---------- next-page band (replaces the pale block above the footer) ---------- */
.next-cta{background:var(--moss-d);color:var(--peat);margin:0!important;padding:0!important;max-width:none!important;border:0!important}
.next-cta a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:32px;row-gap:12px;
  padding:clamp(56px,7vw,112px) var(--bleed);color:var(--peat);text-decoration:none}
.next-cta .mono{grid-column:1/-1}
.next-cta .next-title{grid-column:1;font-size:var(--t-section);font-weight:300;font-variation-settings:"wdth" 74;letter-spacing:-.03em;line-height:1;color:var(--peat);transition:color .2s}
.next-cta .next-sub{grid-column:1;font-size:var(--t-lead);line-height:1.35;color:rgba(241,236,223,.94)}
.next-cta .next-arrow{grid-column:2;grid-row:2/span 2;align-self:center;font-size:clamp(48px,6vw,96px);font-weight:300;line-height:.8;color:var(--c-olive);transition:transform .3s cubic-bezier(.22,.68,.24,1)}
.next-cta a:hover .next-title{color:var(--c-olive)}
.next-cta a:hover .next-arrow{transform:translateX(12px)}
.next-cta a:focus-visible{outline:3px solid var(--c-olive);outline-offset:-8px}
@media(prefers-reduced-motion:reduce){.next-cta .next-arrow{transition:none}}

/* ---------- footer ---------- */
footer.experience-footer{padding-top:clamp(64px,7vw,104px)!important}
footer.experience-footer .footer-main{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr)!important;
  gap:40px clamp(32px,5vw,88px)!important;align-items:start!important;padding-bottom:clamp(40px,5vw,72px)}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:20px;min-width:0}
.footer-brand>a{line-height:0;min-height:44px;display:inline-flex;align-items:center}
footer.experience-footer .footer-brand .wm{width:210px;height:auto}
footer.experience-footer .footer-tag{margin:0;font-size:clamp(24px,2.4vw,38px)!important;line-height:1.14;font-weight:300;font-variation-settings:"wdth" 82;
  letter-spacing:-.02em;color:var(--peat)!important;max-width:13em;text-wrap:balance}
.footer-tag span{font-weight:400}
.footer-tag .w1{color:var(--c-olive)}
.footer-tag .w2{color:var(--c-olive)}
.footer-tag .w3{color:var(--c-olive)}
footer.experience-footer nav,footer.experience-footer .footer-contact{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  align-items:flex-start!important;justify-content:flex-start!important;gap:0!important;font-style:normal;min-width:0}
footer.experience-footer .mono{display:block;margin-bottom:8px}
footer.experience-footer nav a,footer.experience-footer .footer-contact a{font-size:17px!important;font-weight:400;letter-spacing:0;opacity:1!important;color:var(--peat)}
footer.experience-footer nav a:hover,footer.experience-footer .footer-contact a:hover,footer.experience-footer nav a[aria-current]{color:var(--c-olive)}
footer.experience-footer .footer-addr{font-size:17px;line-height:1.5;color:rgba(241,236,223,.9);margin-top:10px}
footer.experience-footer .footer-base{display:flex!important;justify-content:space-between;align-items:center;gap:8px 24px!important;flex-wrap:wrap}
@media(max-width:1000px){
  footer.experience-footer .footer-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:560px){footer.experience-footer .footer-main{grid-template-columns:minmax(0,1fr)!important}}

/* ---------- round 2 follow-ups ---------- */
html body .delivery-statements article p{font-size:var(--t-body)!important}
html body .project-block .source-note{color:var(--bone-2)!important}
#growing.band p{color:rgba(241,236,223,.94)}
html body #project .mono,html body .research-partners .mono,html body .work-heading .mono,html body .ph-facts .mono,html body .scene-caption{font-size:var(--t-util)!important}
html body .ph-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:clamp(18px,2vw,32px)!important}
html body .ph-facts strong{white-space:normal!important;font-size:clamp(20px,1.7vw,26px)!important;line-height:1.12!important}
html body .ph-facts .mono{white-space:normal!important}
@media(max-width:600px){html body .ph-facts{grid-template-columns:minmax(0,1fr)!important}}
footer.experience-footer nav a,footer.experience-footer .footer-contact a{min-height:44px;display:inline-flex!important;align-items:center}
footer.experience-footer .footer-base a{min-height:44px;display:inline-flex;align-items:center;color:rgba(241,236,223,.82);font-size:13px}
.footer-brand{gap:14px}
.footer-brand>a{min-height:44px;margin-top:-10px}
footer.experience-footer .footer-addr{margin-top:6px}
html body .contact-oversize a.contact-value{color:var(--bone)}

/* ---------- round 3: one accent. Green on light sections, sage on dark. ---------- */
html body .ag-tablist button:not([aria-selected=true]) .ag-l,html body .ag-tablist button:not([aria-selected=true]) .ag-n{color:var(--bone-2)!important}
@media(max-width:600px){html body .ag-tablist button:not([aria-selected=true]){border-color:var(--bone-2)!important}}

/* ---------- round 5, 15 Nov: owner corrections ---------- */
.hero h1 .hk{margin-right:.06em}
html body.home-page #cognitive .intro-side h2{color:var(--bone)!important}
html body .platform-gateway .gateway-links{margin-top:14px!important}
/* AGROSTASIS page header: paragraph and demo link sit together, bottom-aligned with the heading */
body[data-page="platform.html"] .experience-mast .mast-side{display:flex;flex-direction:column;align-items:flex-start}
body[data-page="platform.html"] .experience-mast .mast-side>p{color:var(--bone)}
body[data-page="platform.html"] .experience-mast .mast-side>.experience-link{margin-top:32px!important}
@media(min-width:1000px){
  body[data-page="platform.html"] .experience-mast>.mast-side{grid-column:2!important;grid-row:2;align-self:end;max-width:none}
  body[data-page="platform.html"] .experience-mast .mast-side>p{margin-top:0!important;max-width:none}
}
/* next-page band: same dark ground as the footer and the other dark bands */
html body .next-cta{background:var(--deep);border-top:1px solid var(--line-d)!important;border-bottom:1px solid var(--line-d)!important}
/* two partners */
@media(min-width:901px){html body .research-partners.rp-two{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html body .research-partners.rp-two p{max-width:44ch}
