/* Swiss Soil · upgrade.css · 8 Nov 2026 (Fable 5.1, run 3). Loaded LAST on every page.
   Replaces the unlinked xhigh.css/xhigh.js of 2 Nov.
   1 tokens. Type is Archivo throughout (11 Nov: display serif and mono labels removed on Craig's instruction)
   2 scale: page / section / sub
   3 bands: deep soil, photo, tone (peat-2), image figure  → light/dark rhythm
   4 body-text floor 16 px, contrast, hit areas
   5 motion: one-way reveals (JS adds .up/.in), image settle, hover/focus
   6 page specifics   7 mobile */

/* ─── 1. tokens ─────────────────────────────────────────────────── */
:root{
  --deep:#1f1711;--lake:#15292b; --deep-2:#2b2019;
  --olive:#a9bf95; --olive-2:#7a9b6f; --terra:#c66543; --terra-2:#a3502f; --moss-t:#4f5a2f;
  --line-d:rgba(241,236,223,.16); --line-d2:rgba(241,236,223,.38);
  --bleed:max(var(--pad),calc((100% - var(--w)) / 2));
  --t-page:clamp(56px,7.4vw,128px);
  --t-section:clamp(40px,4.6vw,76px);
  --t-sub:clamp(26px,2.3vw,36px);
  --t-lead:clamp(19px,1.4vw,23px);
  --t-body:clamp(16px,1.05vw,18px);
  --s-section:clamp(72px,8vw,136px);
}

/* ─── 1b. brand type ─────────────────────────────────────────────── */
main h1:not(#_),main h2:not(#_),main h3:not(#_),.disp,.hero h1,
.chapter-link .experience-link,.contact-oversize .experience-link,
.hm-total strong,.stage-mobile strong,.ph-facts strong,.mandate-owner>span,
.team-member h2,.research-partners h3,.inference-text p.large,.research-timeline span,
.band-img figcaption b,.goal-list strong{
  text-wrap:balance}
.band-credit,.band-img figcaption span{font-weight:500}
.hero h1,#top.hero h1{letter-spacing:-.035em}

/* ─── 2. scale ───────────────────────────────────────────────────── */
main h2:not(#_):not(#__):not(.hero h2){line-height:1.02}
main .team-member h2:not(#_):not(#__):not(.hero h2){font-size:clamp(22px,2vw,30px);line-height:1.1}
.inside-page .experience-mast{padding-top:clamp(140px,18svh,230px);padding-bottom:clamp(56px,7vw,96px);min-height:min(72svh,700px);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start}
.inside-page .experience-mast h1{font-size:var(--t-page);max-width:13ch;line-height:.96;margin-top:18px}
.inside-page .experience-mast p{font-size:clamp(18px,1.5vw,23px);max-width:46ch;line-height:1.42;margin-top:26px}
.inside-page .experience-mast>.experience-link{margin-top:28px}
.inside-page .experience-mast .mast-sub{font-weight:300;font-size:var(--t-sub);letter-spacing:-.01em;margin-top:18px}
body[data-page="service.html"] .experience-mast h1{font-size:clamp(60px,10vw,172px);line-height:.94;letter-spacing:-.03em}
body[data-page="contact.html"] .experience-mast h1{font-size:clamp(56px,8.4vw,150px)}
.intro-side h2,#cognitive .intro-side h2{font-size:var(--t-section)!important}
.gateway-word h2{font-size:clamp(44px,5.4vw,80px)!important;letter-spacing:-.035em!important;line-height:.9}
.home-contact h2{font-size:var(--t-section)}
.ph-facts strong{font-size:clamp(26px,2.4vw,38px)!important;line-height:1}

/* ─── 3. bands ───────────────────────────────────────────────────── */
main>.band,main>figure.band{max-width:none;margin:0;padding-left:var(--bleed);padding-right:var(--bleed);border-top:0!important}
main>section.band{padding-top:var(--s-section);padding-bottom:var(--s-section)}
.band-deep,.band-photo{background:var(--deep);color:var(--peat)}
.band-tone{background:var(--peat-2)}
.band-peat{background:var(--peat)}
.band+.band-tone,.band-tone+.band-tone{box-shadow:inset 0 1px 0 var(--line)}
/* small moss text on peat-2 would be 4.37:1; use the deeper moss for labels inside tone bands */
.band-tone .mono:not(#_),.band-tone .ag-n:not(#_),.band-tone .ag-status:not(#_),.band-tone .ag-grid em:not(#_),.band-tone .atlas-layers .status:not(#_),
.band-tone .mandate-result:not(#_),.band-tone .mandate-owner:not(#_),.band-tone .goal-list li::before,.band-tone .landing:not(#_){color:var(--moss-t)}
.band-tone .atlas-layers .status{border-color:var(--moss-t)}
.band-deep h1:not(#_),.band-deep h2:not(#_),.band-deep h3:not(#_),.band-photo h1:not(#_),.band-photo h2:not(#_),.band-photo h3:not(#_){color:var(--peat)}
.band-deep .mono:not(#_),.band-photo .mono:not(#_){color:var(--olive)}
.band-deep h1,.band-deep h2,.band-deep h3,.band-deep strong,.band-deep .lead,.band-deep a,.band-deep .experience-link,.band-deep .home-page-link,.band-deep .home-contact-email,
.band-photo h1,.band-photo h2,.band-photo h3,.band-photo strong,.band-photo a,.band-photo .experience-link,.band-photo .home-page-link{color:var(--peat)}
.band-deep p,.band-photo p{color:rgba(241,236,223,.86)}
.band-deep .mono,.band-photo .mono,.band-deep .ag-n,.band-deep .section-note,.band-deep .mast-sub,.band-photo .mast-sub{color:var(--olive)}
.band-deep .landing,.band-photo .landing{color:var(--olive)!important;border-color:var(--line-d)}
.band-deep .experience-link,.band-photo .experience-link,.band-deep .home-page-link,.band-photo .home-page-link,.band-deep .home-contact-email,.band-deep a[href^="tel"],.band-photo a[href^="tel"]{border-color:var(--line-d2)}
.band-deep .experience-link:hover,.band-photo .experience-link:hover,.band-deep .home-page-link:hover,.band-photo .home-page-link:hover,.band-deep .home-contact-email:hover,.band-deep a[href^="tel"]:hover{color:var(--olive);border-color:var(--olive)}
.band-deep .ph-facts,.band-photo .ph-facts,.band-deep .source-note,.band-deep .editorial-columns,.band-deep .chapter-header{border-color:var(--line-d)}
.service-price.band-deep>div>span,.band-deep .source-note,.service-price.band-deep .source-note{color:rgba(241,236,223,.78)}
.service-price.band-deep .source-note{border-top-color:var(--line-d)}
/* photo band: image behind, scrim for legibility */
.band-photo{position:relative;isolation:isolate;overflow:hidden}
.band-photo>.band-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;z-index:-2;margin:0;max-width:none;filter:saturate(.85)}
.band-photo::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(31,23,17,.94) 0%,rgba(31,23,17,.82) 42%,rgba(31,23,17,.42) 100%),linear-gradient(0deg,rgba(31,23,17,.62),rgba(31,23,17,0) 55%)}
.band-credit{position:absolute;right:var(--bleed);bottom:16px;z-index:1;font-size:11px;text-transform:uppercase;color:rgba(241,236,223,.7);letter-spacing:.08em}
/* full-bleed image figure with caption */
main>figure.band-img{position:relative;padding:0;background:var(--deep);overflow:hidden;display:block}
.band-img>img{width:100%;height:clamp(320px,52vw,680px);object-fit:cover;object-position:50% 50%;display:block;max-width:none;filter:saturate(.9)}
.band-img figcaption{position:absolute;left:0;right:0;bottom:0;padding:28px var(--bleed) 22px;color:var(--peat);font-size:11px;text-transform:uppercase;background:linear-gradient(0deg,rgba(31,23,17,.86),rgba(31,23,17,0));display:flex;flex-direction:column;gap:12px}
.band-img figcaption b{display:block;font-size:clamp(26px,3.2vw,50px);line-height:1.02;text-transform:none;letter-spacing:-.025em;max-width:11.5em;font-weight:300;font-variation-settings:"wdth" 74}
.band-img figcaption span{opacity:.86;letter-spacing:.08em}
/* footer: deep soil closes every page */
footer.experience-footer{background:var(--deep);color:var(--peat);padding:clamp(56px,7vw,96px) var(--bleed) 28px;border-top:1px solid var(--line-d)}
footer.experience-footer .footer-main,footer.experience-footer .footer-base{max-width:var(--w);margin-left:auto;margin-right:auto}
footer.experience-footer p{color:rgba(241,236,223,.84);font-size:16px}
footer.experience-footer .footer-base{color:rgba(241,236,223,.76);border-top-color:var(--line-d);padding-left:0;padding-right:0}
footer.experience-footer .wm,footer.experience-footer svg{color:var(--peat);opacity:1}
footer.experience-footer a:hover,footer.experience-footer .footer-base a:hover{color:var(--peat)}
footer.experience-footer nav a{opacity:.86}
footer.experience-footer nav a:hover,footer.experience-footer nav a[aria-current]{opacity:1}

/* ─── 4. floors: body ≥16 px, contrast, hit areas ────────────────── */
.team-member p,.research-partners p,.partner-register .research-partners p,.project-collab .research-partners p,.project-section .research-partners p,
.goal-list p,.deliverable-list li,.work-heading p,.atlas-layers details>div p,.responsibility-scene>div:first-child p,
.service-price p,.delivery-statements article p,.mandate-owner>p,.mandate-result,.hectare-mobile li,.stage-mobile li,
.instrument-copy p,.inference-text p,.footer-main p,.ag-grid span,.sense-list dd,.mandate-list>div{font-size:16px}
.source-note,.service-price .source-note,.project-block .source-note{font-size:16px!important;line-height:1.5;max-width:60ch}
.band-tone .landing:not(#_){color:var(--moss-t)!important}
.work-heading p{color:var(--bone-2)}
/* mobile tabs are solid moss: white number (5.75:1); desktop tabs sit on the tone panel: deep moss number (5.63:1) */
@media(max-width:600px){.ag-tablist button[aria-selected=true] .ag-n{color:#fff}}
.atlas-layers .status{font-size:11.5px}
.project-cols p{max-width:58ch}
.hd nav a,.experience-footer nav a,.footer-base a,.home-page-link,.experience-link,.replay{min-height:44px;display:inline-flex;align-items:center}
.chapter-link .experience-link,.contact-oversize .experience-link{align-items:baseline}
.team-member.has-photo>img{outline:1px solid rgba(0,0,0,.08);outline-offset:-1px}

/* ─── 5. motion, hover, focus ────────────────────────────────────── */
/* overnight rev.: shorter travel and duration so slow reading never waits on blank space; stagger is per entering
   batch (upgrade.js), max 5 x 50 ms; .up-now = arrived from above / fast scroll / safety net: final state, no motion */
.upgrade .up{opacity:0;transform:translateY(14px);transition:opacity .5s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--ui,0) * 50ms)}
.upgrade .up.in{opacity:1;transform:none}
.upgrade .band-img>img,.upgrade .band-photo>.band-bg{transform:scale(1.04);transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.upgrade .band-img.in>img,.upgrade .band-photo.in>.band-bg{transform:scale(1)}
.upgrade .up-now,.upgrade .up-now>img,.upgrade .up-now>.band-bg{transition:none!important}
/* stage.js .at-rest: the cost stage / hectare reached from above shows its final frame immediately */
.stage.at-rest *,.stage.at-rest *::before,.stage.at-rest *::after,.hectare.at-rest *{animation-duration:0s!important;animation-delay:0s!important;transition-duration:0s!important}
.ag-grid li,.goal-list li,.deliverable-list li,.delivery-statements article,.research-partners article,.team-member{transition:border-color .25s,background-color .2s}
.ag-grid li:hover,.goal-list li:hover,.delivery-statements article:hover{border-top-color:var(--moss)}
.deliverable-list li:hover{border-bottom-color:var(--moss)}
.research-partners article{padding-top:20px;border-top:2px solid var(--line)}
.research-partners article:hover{border-top-color:var(--moss)}
.band-tone .research-partners article{border-top-color:var(--line-2)}
.home-page-link,.experience-link{transition:color .2s,border-color .2s}
.home-page-link span:last-child,.experience-link span:last-child{display:inline-block;transition:transform .25s cubic-bezier(.22,.68,.24,1)}
.home-page-link:hover span:last-child,.experience-link:hover span:last-child{transform:translate(4px,-3px)}
.sb-logo{transition:transform .3s cubic-bezier(.22,.68,.24,1),box-shadow .3s}
@media(hover:hover) and (pointer:fine){.sb-logo:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(46,36,26,.14)}}
.ag-tablist button{transition:color .2s,border-color .2s,background-color .2s}
/* header over the home hero: app.js switches .on when hero.bottom <= header height. The header used to shrink 88→72
   (80→64 on phones) when .on was added, so the threshold moved under the user's thumb and the bar flickered at the
   hero edge. The box now keeps the condensed height in both states; the transparent state sits 8 px lower via
   transform, so it looks exactly as before but cannot change the measured height. */
.home-page .hd .hd-in{transition:padding .35s,transform .35s cubic-bezier(.22,1,.36,1)}
/* mobile menu (modal <dialog>): the page behind must not scroll; long menus scroll inside, without chaining */
html:has(body.menu-open){overflow:hidden;scrollbar-gutter:stable}
#mobile-menu{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#mobile-menu nav a{min-height:44px;display:flex;align-items:center}
@media(max-height:520px){#mobile-menu nav{margin-top:20px;gap:0}.drawer-note{margin-top:20px}}
.band-deep :focus-visible,.band-photo :focus-visible,footer.experience-footer :focus-visible{outline-color:var(--olive)}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
  .service-stage .stage .stage-mobile>.sm-before{opacity:0;visibility:hidden}
  .service-stage .stage .stage-mobile>.sm-after{opacity:1;visibility:visible}
}
@media(prefers-reduced-motion:reduce){
  .upgrade .up{opacity:1;transform:none;transition:none}
  .upgrade .band-img>img,.upgrade .band-photo>.band-bg{transform:none;transition:none}
  .sb-logo:hover{transform:none}
}

/* ─── 6. page specifics ──────────────────────────────────────────── */
/* home (draft 2 order): hero dark · manifesto deep · AGROSTASIS peat (tabs on a tone panel) · bill peat · suppliers tone · fee peat · pilot photo · supporters peat · contact deep */
.band>.wrap{padding-left:0;padding-right:0;max-width:none}
#cognitive.band{padding-top:var(--s-section)!important;padding-bottom:var(--s-section)!important}
#cognitive.band-deep{background:var(--lake)}
#cognitive.band-deep .intro-copy p{color:rgba(241,236,223,.9)}
#cognitive.band-deep .intro-side h2{color:var(--peat)}
.platform-gateway .ag-tabs{grid-column:1/-1;margin-top:clamp(36px,5vw,72px);padding:clamp(18px,2.6vw,36px) clamp(18px,2.6vw,36px) clamp(26px,3vw,44px);background:var(--peat-2);border-radius:8px}
.platform-gateway .ag-tabs .ag-tablist{border-top-color:transparent}
.platform-gateway .ag-tabs .mono,.platform-gateway .ag-tabs .ag-n,.platform-gateway .ag-tabs .ag-status,.platform-gateway .ag-tabs .ag-grid em{color:var(--moss-t)}
.platform-gateway .gateway-links{border-top:0!important}
#project.band-photo .ph-facts strong{color:var(--peat)}
#project.band-photo .ph-facts .mono{color:var(--olive)}
#project.band-photo .ph-copy .home-page-link{border-color:var(--line-d2)}
#project.band-photo>.band-bg{object-position:50% 40%}
.home-contact.band-deep .home-contact-email{border-bottom-color:var(--line-d2)}
.supported-by{padding-top:clamp(56px,6vw,96px);padding-bottom:clamp(56px,6vw,96px)}
#cognitive{padding-top:var(--s-section)}
/* platform */
.inside-page .intelligence-atlas{padding-top:var(--s-section);padding-bottom:var(--s-section)}
.atlas-layers summary{font-size:clamp(22px,2vw,30px)}
.sense-lead{font-size:var(--t-body);max-width:52ch;margin-bottom:14px}
.sense-list{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.sense-list>div{padding:12px 0;border-top:1px solid var(--line)}
/* five sensing groups in two columns: the fifth spans the row, so no half-empty row */
.sense-list>div:last-child:nth-child(odd){grid-column:1/-1}
.sense-list dt{font-weight:500;color:var(--bone);font-size:16px}
.sense-list dd{margin:4px 0 0;color:var(--bone-2)}
.inference-editorial.band .inference-text p.large{font-size:clamp(24px,2.3vw,36px);line-height:1.2;max-width:24ch}
.inference-editorial.band-deep .inference-text p.large{color:var(--peat)}
.intelligence-atlas.band-tone .atlas-layers,.intelligence-atlas.band-tone .atlas-layers details,.intelligence-atlas.band-tone .sense-list>div{border-color:var(--line-2)}
.band-deep .research-partners article{border-top-color:var(--line-d)}
.band-deep .research-partners article:hover{border-top-color:var(--olive)}
.delivery-statements article h2{font-size:clamp(26px,2.6vw,38px)}
.research-timeline span{font-size:clamp(40px,4.2vw,64px)!important;line-height:.95;letter-spacing:-.02em}
.contact-org{margin-top:18px;font-size:16px;color:var(--bone-2)}
.contact-oversize .mono{margin-bottom:6px}
/* service: the fee is the page's climax */
.service-price.band-deep{grid-template-columns:minmax(0,1fr);gap:18px}
.service-price.band-deep>div h2{font-size:clamp(72px,13vw,220px);line-height:.86;letter-spacing:-.04em;margin:14px 0 10px;color:var(--peat)}
.service-price.band-deep>div .mono{color:var(--olive)}
.service-price.band-deep>p{padding-top:0;max-width:50ch;font-size:var(--t-lead)}
.responsibility-scene.band-tone .mandate-controls{background:var(--peat)}
.responsibility-scene.band-tone .mandate-list[data-mode="after"]{background:rgba(95,107,58,.07)}
/* project: pilot image band under the mast, instrument on tone, biology deep */
.project-collab{padding-top:var(--s-section)}
.instrument-scene.band{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.instrument-scene.band .instrument-image{background:transparent}
.instrument-scene.band .instrument-image img{aspect-ratio:4/3;object-position:50% 42%;mix-blend-mode:normal;filter:saturate(.9) contrast(1.04);border-radius:4px;box-shadow:0 28px 60px -28px rgba(31,23,17,.5)}
.biology-chapter.band-deep h2.disp{color:var(--peat);font-size:var(--t-section)}
.biology-chapter.band-deep .lead{color:var(--peat)}
/* about: faces */
.team-member.has-photo{grid-template-columns:96px minmax(0,1fr) minmax(0,1.5fr);align-items:center;gap:clamp(20px,3vw,48px)}
.team-member.has-photo>img{width:96px;height:96px;border-radius:50%;object-fit:cover;filter:saturate(.9);box-shadow:0 12px 30px -14px rgba(31,23,17,.6)}
.team-member.has-photo>div{grid-column:2}
.team-member.has-photo>p{grid-column:3}
.partner-register.band-tone h2{font-size:var(--t-section)}
/* contact: the land is the mast; the address is the next beat */
body[data-page="contact.html"] .experience-mast.band-photo{min-height:min(78svh,760px)}
body[data-page="contact.html"] .experience-mast.band-photo>.band-bg{object-position:50% 45%}
.contact-oversize{padding-top:clamp(72px,9vw,128px)}

/* ─── 7. mobile ──────────────────────────────────────────────────── */
@media(max-width:1100px){
  .instrument-scene.band{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:900px){
  .sense-list{grid-template-columns:minmax(0,1fr)}
  .team-member.has-photo{grid-template-columns:72px minmax(0,1fr);gap:12px 16px}
  .team-member.has-photo>img{width:72px;height:72px}
  .team-member.has-photo>div{grid-column:2}
  .team-member.has-photo>p{grid-column:1/-1}
  .band-img figcaption b{max-width:none}
  .inside-page .experience-mast{min-height:0;padding-top:clamp(120px,20svh,170px)}
}
@media(max-width:700px){
  /* phone cost ledger: "Today" and "Area Under Management" share one grid cell, so the s1 swap no longer changes the
     stage height (was a 19 px layout shift that moved the next section mid-read) */
  .service-stage .stage-mobile{display:grid!important}
  .service-stage .stage-mobile>.sm-before,.service-stage .stage-mobile>.sm-after{grid-area:1/1;display:block!important;transition:opacity .4s,visibility .4s}
  .service-stage .stage-mobile>.sm-after,.service-stage .stage.s1 .stage-mobile>.sm-before{opacity:0;visibility:hidden}
  .service-stage .stage.s1 .stage-mobile>.sm-after{opacity:1;visibility:visible}
  .band-credit{position:static;display:block;order:99;grid-column:1;margin-top:22px}
  .band-img figcaption{padding-bottom:18px}
}
@media(max-width:600px){
  :root{--t-page:clamp(44px,12vw,54px);--t-section:clamp(34px,9.6vw,42px);--t-sub:clamp(23px,6vw,26px);--s-section:clamp(56px,14vw,72px)}
  body[data-page="service.html"] .experience-mast h1{font-size:clamp(48px,13vw,60px)}
  body[data-page="contact.html"] .experience-mast h1{font-size:clamp(44px,12vw,54px)}
  .service-price.band-deep>div h2{font-size:clamp(60px,18vw,76px)}
  .band-img figcaption b{font-size:clamp(22px,7vw,28px)}
  .band-img>img{height:clamp(260px,70vw,360px)}
  .gateway-word h2{font-size:clamp(36px,10.5vw,46px)!important}
}

/* ─── 8. OP-373 refine 10 Nov 2026 (REVIEW-20261110.md items 1-11, 22, 23) ─────────────── */
/* 1 one left edge: bands put their text on the same line as the header logo and every section (pad inside --w) */
:root{--bleed:calc(max(0px,(100% - var(--w)) / 2) + var(--pad));--t-util:13px}
section.vineyard-problem{max-width:var(--w)!important}
.team-register .team-section.wrap{padding-left:0;padding-right:0}
/* 9 small labels: 11-12 px raised to 12-13 px */
.mono,.team-member .mono{font-size:13px}
.band-credit,.band-img figcaption{font-size:12px}
.atlas-layers .status{font-size:12.5px}
.ph-facts .mono{font-size:13px!important}
/* 2 real buttons: every call to action is a filled pill; dark grounds invert */
.hero .hero-in>a:not(#_):not(#__),main .home-page-link:not(#_):not(#__),main .experience-mast>.experience-link:not(#_):not(#__),main .chapter-link .experience-link:not(#_):not(#__){
  display:inline-flex;align-items:center;gap:.6em;width:fit-content;min-height:50px;margin-top:0;padding:13px 26px;
  border:1px solid var(--bone);border-radius:999px;background:var(--bone);color:var(--peat);
  font-family:var(--f);font-size:16px;font-weight:500;font-variation-settings:"wdth" 100;letter-spacing:0;line-height:1.2;
  text-transform:none;white-space:normal;transition:background-color .2s,border-color .2s,color .2s}
.hero .hero-in>a:not(#_):not(#__),.band-deep .home-page-link:not(#_):not(#__),.band-photo .home-page-link:not(#_):not(#__),.band-deep .experience-link:not(#_):not(#__),.band-photo .experience-mast>.experience-link:not(#_):not(#__){
  background:var(--peat);border-color:var(--peat);color:var(--deep)}
.hero .hero-in>a:not(#_):not(#__):hover,main .home-page-link:not(#_):not(#__):hover,main .experience-mast>.experience-link:not(#_):not(#__):hover,main .chapter-link .experience-link:not(#_):not(#__):hover{
  background:var(--moss);border-color:var(--moss);color:#fff}
.hero .hero-in>a span[aria-hidden],main .home-page-link span[aria-hidden],main .experience-mast>.experience-link span[aria-hidden],main .chapter-link .experience-link span[aria-hidden]{
  font-size:1em!important;opacity:.8!important;transform:none!important}
/* second link of a pair is the outline variant */
main .gateway-links .home-page-link+.home-page-link:not(#_):not(#__){background:transparent;color:var(--bone)}
main .gateway-links .home-page-link+.home-page-link:not(#_):not(#__):hover{background:var(--bone);color:var(--peat);border-color:var(--bone)}
.platform-gateway .gateway-links{display:flex!important;flex-wrap:wrap;gap:12px!important}
.ph-copy .home-page-link,.sc-body .home-page-link{margin-top:24px!important}
/* 22 closing band: label and button on one line */
.chapter-link{flex-direction:row!important;align-items:center!important;justify-content:space-between;flex-wrap:wrap;gap:18px 32px!important;padding-top:clamp(56px,6vw,96px)!important;padding-bottom:clamp(56px,6vw,96px)!important}
.chapter-link .mono{font-size:var(--t-sub)!important;text-transform:none;letter-spacing:-.02em;font-weight:300;font-variation-settings:"wdth" 82;line-height:1.1;color:var(--bone)!important}
/* 4 inside-page masts: headline across the width, text in the right half under it */
@media(min-width:1000px){
  .inside-page .experience-mast:not(.band-photo){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(40px,5vw,96px);align-content:end}
  .inside-page .experience-mast:not(.band-photo)>*{grid-column:1/-1}
  .inside-page .experience-mast:not(.band-photo)>p,.inside-page .experience-mast:not(.band-photo)>.experience-link{grid-column:2;max-width:none}
  .inside-page .experience-mast:not(.band-photo) h1{max-width:none}
  .inside-page .experience-mast:not(.band-photo)>p+p{margin-top:14px}
  /* 4 service price band: figure left, terms right */
  .service-price.band-deep{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;column-gap:clamp(40px,5vw,96px)!important;align-items:end}
  .service-price.band-deep>div{grid-row:1/span 2}
  .service-price.band-deep>div h2{font-size:clamp(64px,7.4vw,128px)!important;white-space:nowrap}
  .service-price.band-deep>p{grid-column:2}
  /* 4 + 5 project biology band: heading left, text right, spaced */
  .biology-chapter.band{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(40px,5vw,96px);align-items:start}
  .biology-chapter .editorial-columns>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px clamp(24px,3vw,40px)}
  .biology-chapter .editorial-columns>div>p:first-child{grid-column:1/-1}
  /* 7 active inference: label on top, heading left, text right, no zigzag */
  .inference-editorial.band{grid-template-columns:minmax(0,5fr) minmax(0,7fr)!important;row-gap:18px!important}
  .inference-editorial.band>.mono{grid-column:1/-1}
  .inference-editorial.band>h2{grid-column:1;margin-top:0}
  .inference-editorial.band>.inference-text{grid-column:2;padding-top:0}
}
.biology-chapter .chapter-header h2{margin-top:14px}
.biology-chapter .editorial-columns>.lead{margin:20px 0 24px}
.biology-chapter .editorial-columns p+p{margin-top:16px}
@media(min-width:1000px){.biology-chapter .editorial-columns>.lead{margin-top:0}.biology-chapter .editorial-columns p+p{margin-top:0}}
.inference-editorial .inference-text p:not(.large){font-size:var(--t-lead);line-height:1.5;max-width:52ch}
.inference-editorial .inference-text>div>p+p{margin-top:14px}
/* 6 collaboration / partners: one rule per column, no full-width rule 29 px above */
.project-collab .research-partners,.partner-register .research-partners{border-top:0!important;padding-top:0!important;margin-top:28px!important}
/* 10 service delivery columns: headings share one row height so the three texts start level */
.delivery-statements article{display:grid!important;grid-row:span 3;grid-template-rows:subgrid;row-gap:12px!important;align-content:start}
main .delivery-statements article h2:not(#_):not(#__):not(#__){font-size:clamp(26px,2.3vw,34px);line-height:1.08;align-self:start}
/* 16 + 21 project: three terms explained */
.project-terms{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px clamp(24px,3vw,48px);margin:clamp(28px,3vw,48px) 0 0}
.project-terms>div{border-top:2px solid var(--line);padding-top:18px}
.project-terms dt{font-size:clamp(22px,1.9vw,28px);line-height:1.1;font-weight:300;font-variation-settings:"wdth" 82;letter-spacing:-.02em;color:var(--bone)}
.project-terms dd{margin:10px 0 0;font-size:16px;line-height:1.55;color:var(--bone-2)}
/* 22 about: the team list has a heading */
.team-intro{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:18px clamp(40px,5vw,96px);align-items:end;margin-bottom:clamp(28px,3.5vw,52px)}
.team-intro h2{font-size:var(--t-section);line-height:1;margin:0}
.team-intro p{font-size:var(--t-lead);line-height:1.45;color:var(--bone-2);max-width:46ch}
@media(max-width:900px){
  .project-terms,.team-intro{grid-template-columns:minmax(0,1fr)}
  .chapter-link{flex-direction:column!important;align-items:flex-start!important}
}

/* ─── 9. OP-373 visual QA 10 Nov 2026 (measured with squeezeprobe.py / defectprobe.py) ─────────────── */
/* home service block: one column on narrow screens, so the closing line is no longer squeezed into 136 px */
@media(max-width:900px){.service-stage-wide{grid-template-columns:minmax(0,1fr)!important}}
/* home cost block: same 5/7 columns as the sections under it, so the right column starts on one line down the page */
@media(min-width:1101px){section.vineyard-problem{grid-template-columns:minmax(0,5fr) minmax(0,7fr)!important}}
/* home pilot facts: each value on one line */
@media(min-width:901px){
  .ph-facts{grid-template-columns:auto auto minmax(0,1fr)!important;column-gap:clamp(20px,2.4vw,36px)!important}
  .ph-facts strong{font-size:clamp(22px,1.9vw,28px)!important;white-space:nowrap}
}
/* platform architecture heading: three phrases on three lines */
@media(min-width:1000px){.intelligence-atlas h2{font-size:clamp(38px,3.5vw,52px)!important;line-height:1.06!important}}
/* small text floor: nothing under 12 px */
.footer-base,.footer-base a,.footer-base span{font-size:12px}
.mandate-list>div>b{font-size:12px!important}
.delivery-statements article>span{font-size:13px}
/* home pilot heading on narrow screens: plain wrapping at full width, so the band keeps one height from load to scroll
   (balanced wrapping inside a 14ch cap sometimes stayed on 4 lines until the band scrolled into view, then jumped 37 px) */
@media(max-width:900px){#project .ph-head h2{max-width:none!important;text-wrap:wrap!important}}
/* heading width caps in em instead of ch: ch follows the font's zero glyph and sometimes resolved against the
   fallback font until the heading scrolled into view (project page heading: 729 px then 875 px, a 65 px jump).
   em values are the measured widths with the web font loaded, so the settled layout is unchanged. */
.project-head h2{max-width:13.2em}
.inference-editorial h2{max-width:10.8em}
.ag-panel h3{max-width:11.6em}
@media(min-width:901px){#project .ph-head h2{max-width:7em}}
@media(max-width:999px){.inside-page .experience-mast h1{max-width:8em}}
@media(min-width:1000px){.inside-page .experience-mast.band-photo h1{max-width:7.4em}}
/* ─── 10. OP-373 / OP-502 visual QA 11 Nov 2026 (measured with visionprobe.py) ─────────────── */
/* contact page, phone: the address broke mid-word as "contact@sw / isssoil.com" at 37 px. One line now. */
@media(max-width:600px){
  .contact-oversize .experience-link{font-size:clamp(20px,6.6vw,30px)!important}
  .contact-oversize .experience-link>span:first-child{white-space:nowrap}
}
/* service page, desktop: "Under management" wrapped to two lines in the toggle while "Separate suppliers" stayed on one */
@media(min-width:901px){.mandate-controls button{white-space:nowrap!important;flex:0 0 auto!important}}
/* supporter logos with reduced motion: the wrapped rows are centred, so the short second row no longer leaves the right side empty */
@media (prefers-reduced-motion:reduce){.sb-list{justify-content:center}}
/* service diagram (home and service page): 40 px less empty space between the text and the drawing.
   Measured gap text -> drawing after the animation: 169 px at 390 and 184 px at 1440; closest point during the animation stays clear */
.service-stage-wide .stage{margin-top:0!important}
/* home pilot heading on phones: "Vaud." sat alone on the last line. Fixed width cap in em (no balancing), so it wraps "in Vaud." */
@media(max-width:900px){#project .ph-head h2{max-width:9em!important}}
/* inner-page sub line: no single identifier alone on the last line ("135.358 / IP-EE") */
.experience-mast .mast-sub{text-wrap:balance}
/* home cost diagram, desktop: figures and small captions rendered at 10 px at 1440 (svg scales down). Now 11 px (12 px makes the three stacked add-on rows touch); no text overlaps measured through the animation */
@media(min-width:1101px){.hectare .lv,.hectare .lv .u,.hectare .lv.sub,.hectare .glbl,.hectare .btxt2,.hectare .btxtn2{font-size:16.5px!important}}
/* home cost diagram, desktop: "SET BY CANTON" ran 8 px past the right edge of the drawing. Tighter tracking keeps it inside */
@media(min-width:1101px){.hectare .lv.sub{letter-spacing:.01em!important}}

/* ===== draft-2 (11 Nov 2026) ===== */
/* home header: the two 8 Nov rules that made it 16 px shorter are removed (upgrade.css, was lines 142-143), so it follows the live rules again */
/* inner-page titles: line spacing back to the live .96 (at .92 the "g" of "Cognitive" came within 2 px of the line below) */
.inside-page .experience-mast h1{line-height:.96}
/* ─── 11. type pass 11 Nov 2026 (Archivo only; measured with typeinv.py and linesprobe.py in EN/FR/DE/IT at 390, 768, 1440) ─── */
/* German headings: the capital umlaut on a second line ran into the descenders above it at 1.02 ("Agenten mit Zielen / und Überzeugungen.") */
html:lang(de) main h2:not(#_):not(#__):not(.hero h2){line-height:1.1}
/* short display paragraphs: no single word alone on the last line (FR "… plutôt que le / contrôler") */
.gateway-caption .gateway-thesis{text-wrap:balance}
.inside-page .experience-mast p:not(.mast-sub){text-wrap:pretty}
/* service list, capitals at 12 px: tracking .02em was tighter than every other capitals label (.08 to .1em) */
.mandate-list>div b{letter-spacing:.08em!important}
/* home pilot heading on narrow screens: the 7.9em cap was measured in the serif; in Archivo it left "Vaud." alone on line 3 */
@media(max-width:900px){#project .ph-head h2{max-width:8.5em!important}}

/* ===== draft-2 order (11 Nov 2026): hero, modern agriculture, AGROSTASIS, why vineyards need it, business model ===== */
/* AGROSTASIS (cream) is now followed by the cost section, which was also cream, so the two ran together.
   The "why vineyards need it" block (bill + suppliers) sits on the tone band as one unit */
#vineyard{background:var(--peat-2);border-top:0}
/* the section box is capped at the content width, so the tint is extended to both screen edges without moving anything inside it */
#vineyard{box-shadow:0 0 0 100vmax var(--peat-2);clip-path:inset(0 -100vmax)}
/* #vineyard and #growing are one tinted block: share one section gap between them instead of two */
#vineyard:not(#_){padding-bottom:calc(var(--s-section) * .5)}
#growing:not(#_){padding-top:calc(var(--s-section) * .5)}
#vineyard .mono:not(#_){color:var(--moss-t)}
#vineyard .landing:not(#_){color:var(--moss-t)!important}
/* terracotta text on the tone band: #a3502f gave 4.26:1, #8f4528 gives 5.2:1. Shapes keep the original colour */
#vineyard .hectare .ll.n,#vineyard .hectare .lay.n1 .lv,#vineyard .hectare .lay.n2 .lv,#vineyard .hectare .lay.n3 .lv,#vineyard .hectare .btxtn,#vineyard .hectare .btxtn2{fill:#8f4528}
#vineyard .hm-add li b,#vineyard .hm-more strong{color:#8f4528}

/* OP-528: the hero play/pause control is 36px on phones, as on the live site. The 8px that the tap-target pass added
   made it the one visible difference left in the hero. The tap area stays 44px through ::after. */
@media(max-width:760px){.motion-control{width:36px;height:36px}.motion-control::after{content:"";position:absolute;inset:-5px;border-radius:50%}}

/* ===== pilot photographs (12 Nov 2026): Craig's own photos of the pilot vineyard, 29 June 2026 ===== */
/* photo figures: the caption gradient is deep enough for the caption line on any frame */
.band-img figcaption{padding-top:clamp(64px,9vw,120px);background:linear-gradient(0deg,rgba(31,23,17,.92) 0,rgba(31,23,17,.74) 46%,rgba(31,23,17,0))}
/* photographs keep their own colour; the aerial bands stay slightly muted */
.band-photo>.band-bg[src*="/pilot/"],.band-img>img[src*="/pilot/"]{filter:none}
/* project page: one photograph of the pilot vineyard as a full-width band, same pattern as the aerial bands */
main>figure.pilot-band>img{object-position:50% 38%}
/* home pilot section: the label above the heading no longer leaves the year alone on a line */
#project.band-photo .ph-head .mono{display:block;text-wrap:balance}

/* ===== 13 Nov 2026 agents: colour rule + two small fixes (a1 audit) ===== */
/* Rule: a dark surface that touches water imagery takes --lake; one that touches soil or vine imagery, or stands alone, keeps --deep. */
body[data-page="contact.html"] .experience-mast.band-photo{background:var(--lake)}
body[data-page="contact.html"] .experience-mast.band-photo::before{background:linear-gradient(90deg,rgba(21,41,43,.94) 0%,rgba(21,41,43,.82) 42%,rgba(21,41,43,.42) 100%),linear-gradient(0deg,rgba(21,41,43,.62),rgba(21,41,43,0) 55%)}
body[data-page="about.html"] main>figure.band-img{background:var(--lake)}
body[data-page="about.html"] .band-img figcaption{background:linear-gradient(0deg,rgba(21,41,43,.92) 0,rgba(21,41,43,.74) 46%,rgba(21,41,43,0))}
/* keyboard focus ring over the film: moss was 2.0-2.6:1 on the water */
.hd:not(.on) :focus-visible,.hero :focus-visible,.motion-control:focus-visible{outline-color:var(--peat)}
/* phone pause/play button: 36 px raised to 44 px */
@media(max-width:760px){.motion-control{width:44px;height:44px;top:calc(100svh - 68px)}}


/* ===== draft 3 (14 Nov 2026): a2 fixes-d3.css ===== */
/* Swiss Soil draft 3 · a2 design fixes · 14 Nov 2026
   Append AFTER upgrade.css (last stylesheet on every page). Each rule names its finding id in REPORT.md.
   Tested by injection (page.add_style_tag) on all six pages at 390x844 and 1440x900:
   no horizontal overflow, no new text overlap, no console errors (raw/fixtest-final.json, raw/fixtest-final.txt;
   run together with treatments/T-A-paper.css). Not run at 768 or 1920.
   The #cognitive colour choice is NOT in this file. Pick one of treatments/T-A-paper.css, T-B-film-continues.css, T-C-sage.css and append it after this file. */

/* D4 (a1 F2) header is 64 px on phone and 80 px on desktop, at the top and when scrolled, on every page.
   Today: home 88 then 72 (desktop) and 80 then 64 (phone); inside pages 72 on desktop. */
@media(min-width:761px){.hd .hd-in,.hd.on .hd-in,.home-page .hd .hd-in,.home-page .hd.on .hd-in{padding-top:18px;padding-bottom:18px}}
@media(max-width:760px){.hd .hd-in,.hd.on .hd-in,.home-page .hd .hd-in,.home-page .hd.on .hd-in{padding-top:10px;padding-bottom:10px}}

/* D3 contact: the email (the page's only call to action) starts at y 880 of a 900 px screen at 1440
   and at y 978 of 1080 at 1920. A shorter masthead brings email and phone into the first screen. */
@media(min-width:761px){
  body[data-page="contact.html"] .experience-mast{min-height:0;padding-top:clamp(112px,14svh,170px);padding-bottom:clamp(40px,4.5vw,64px)}
  body[data-page="contact.html"] .contact-oversize{padding-top:clamp(40px,4.5vw,64px)}
}

/* D5 line length. These paragraphs run 77 to 137 characters per line (target 45 to 75; measured with
   canvas text metrics, raw/cpl-offenders.txt). 550 px of 16 px Archivo holds about 82 characters, so the
   cap is 30em (about 70 characters at any font size). Only uncapped or over-long paragraphs are listed,
   so no paragraph gets wider than today. */
#cognitive .intro-copy p,
#agrostasis .gateway-caption p,#vineyard .vp-copy p,#growing .growing-copy p,
#service .sc-body p,#project .ph-copy p,#contact .home-contact-copy p,
body[data-page="service.html"] #cost .sc-body p,
.service-fiduciary p,.responsibility-switch .mandate-result,
body[data-page="project.html"] #project .project-intro p,body[data-page="project.html"] #project .up>p,
body[data-page="project.html"] #project .project-implications p,.project-cols p,#biology p{max-width:min(100%,30em)}
.service-stage>.stage-fee.landing{max-width:30em!important} /* overrides experience-system.css:294 max-width:none!important */

/* D6 one body scale. Inside-page body copy is fixed at 16 px at every width, also at 1920, while the
   --t-body token is 16 to 18 px. Use the token on the paragraphs that are 16 px today only.
   Note: the token is above 16 px only at viewports wider than 1524 px, so this changes nothing at 1440 or below. */
.intelligence-atlas p,.responsibility-scene p,.service-fiduciary p:not(.lead),.delivery-statements p,
body[data-page="project.html"] #project .project-intro p,body[data-page="project.html"] #project .up>p,
.project-cols p,#biology p:not(.lead),.team-member p,.partner-register p{font-size:var(--t-body)}

/* D8 footer text is 12 px (nav, copyright, email, credit). Raise to 14 px; still smaller than body. */
footer.experience-footer nav a,footer.experience-footer .footer-base,footer.experience-footer .footer-base a,footer.experience-footer .footer-base span{font-size:14px}

/* D14 spacing outliers against --s-section (115 px at 1440, 56 px at 390). */
#agrostasis.platform-gateway{padding-top:var(--s-section)!important}
.inside-page .team-register{padding-top:var(--s-section);padding-bottom:var(--s-section)}

/* D17 decorative arrow after the contact email measures 2.66:1 on peat (graphic needs 3:1). */
.contact-oversize .experience-link span[aria-hidden]{opacity:1;color:var(--moss-t)}

/* D18 skip link is 137 x 42 when focused (under 44). Measured after fix: 145 x 44. */
.skip-link:focus,.skip-link:focus-visible{min-height:44px;display:inline-flex;align-items:center;padding:0 16px}

/* ===== draft 3: #cognitive treatment T-A paper (replaces the dark band after the hero) ===== */
/* T-A  light paper tone. #cognitive moves to peat-2 (#e7e0cf), text goes bone.
   The film ends on a clean edge; the first light surface arrives at 1 screen instead of 1.5.
   peat-2 is one step darker than the peat of #agrostasis below (ratio 1.12). #agrostasis has
   border-top 0 (measured), so a 1 px --line keyline marks the seam. */
#cognitive.band.band-deep{background:var(--peat-2);color:var(--bone);border-bottom:1px solid var(--line)}
#cognitive.band.band-deep .intro-side h2{color:var(--bone)}
#cognitive.band.band-deep .intro-copy p{color:var(--bone-2,#4a3d31)}
#cognitive.band.band-deep .intro-copy p:first-child{color:var(--bone)}
/* short keyline under the heading, moss, so the section has one accent and is not a plain text block */
#cognitive.band.band-deep .intro-side h2::after{content:"";display:block;width:56px;height:2px;margin-top:clamp(20px,2vw,28px);background:var(--moss)}
/* keep the measure readable: the lead was 77 characters per line at 1440 */
#cognitive.band.band-deep .intro-copy{max-width:60ch}

/* ===== draft 3: D2 rhythm, #growing is the one dark beat ===== */
/* D2 rhythm (optional, tested by injection on index at 390 and 1440 together with T-A).
   #growing ("None of them is accountable for the harvest.") becomes the one dark band in the middle
   of the light run. It touches no water imagery, so it takes --deep (a1 rule). */
#growing.band.band-tone{background:var(--deep);color:var(--peat)}
#growing.band-tone h2{color:var(--peat)!important}
#growing.band-tone p{color:rgba(241,236,223,.86)}
#growing.band-tone .mono,#growing.band-tone .landing{color:var(--olive)!important;border-color:var(--line-d)!important}

/* advisory board line (C030) */
.team-register .advisory-board{grid-column:1/-1;max-width:60ch;margin-top:clamp(24px,3vw,40px)}
