/* Shared reading scale and layout rules, sized in CSS pixels rather than device inches. */
body.home{--max:84rem;--reading-size:clamp(1.125rem,.94rem + .45vw,1.375rem);--section-size:clamp(1.9rem,1.25rem + 1.8vw,3rem);font-size:var(--reading-size)}
.home .wrap{padding-inline:clamp(1.5rem,5vw,5rem)}
.home header{padding-block:clamp(1.25rem,2vw,2rem)}
.home .logo img{height:clamp(2rem,2.7vw,2.75rem)}
.home .header-row{gap:1.5rem}
.home .header-controls{gap:clamp(1rem,2vw,2rem)}
.home nav{gap:clamp(1rem,1.6vw,1.75rem)}
.home nav a{font-size:clamp(1rem,.8rem + .3vw,1.125rem);min-height:44px;display:flex;align-items:center}
.home .hero{padding-block:clamp(3rem,5.5vw,6rem) 3rem}
.home .hero-heading h1{font-size:clamp(2.5rem,1.4rem + 4.5vw,7rem);line-height:1.1;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:break-word}
.home .hero-heading .kicker{font-size:clamp(1.0625rem,.9rem + .6vw,1.5rem);margin-top:1.25rem;line-height:1.5}
.home .stage{margin:clamp(1.5rem,3vw,3rem) 0 0;container-type:inline-size}
.home canvas{height:auto;aspect-ratio:900 / 400}
.home .text-section{grid-template-columns:minmax(10rem,1fr) minmax(0,2.5fr);gap:clamp(2rem,4vw,4rem);padding-block:clamp(3.5rem,6vw,6.5rem)}
.home .section-label{gap:1rem;min-width:0}
.home .section-label>span{font-size:1rem}
.home .section-label .section-name,.home .section-label h2{font-size:clamp(1rem,.85rem + .3vw,1.1875rem);line-height:1.5}
.home .section-copy{max-width:44rem;min-width:0}
.home .section-copy p,.content-page .section-copy ul li{font-size:var(--reading-size);line-height:1.7;letter-spacing:-.012em;overflow-wrap:break-word}
.home .section-copy .statement{font-size:var(--section-size);line-height:1.22;letter-spacing:-.035em;margin-bottom:1.75rem;text-wrap:balance}
.home .section-copy p+p{margin-top:1.25rem}
.home .text-link,.home .button,.home button[type=submit]{font-size:clamp(1rem,.88rem + .3vw,1.1875rem);min-height:48px}
.home footer{font-size:1rem;line-height:1.6;gap:1rem;padding-block:2rem 3rem}
.home footer a{overflow-wrap:anywhere}
.home .slack-label{font-size:.875rem;line-height:1.4}
.home .slack-value{font-size:clamp(1.25rem,1rem + .5vw,1.625rem);line-height:1.2}
.home .wire-left{left:max(.25rem,calc((100% - 90rem)/2))}
.home .wire-right{right:max(.25rem,calc((100% - 90rem)/2))}
.home .wire-rail{width:clamp(.75rem,3vw,3rem)}
.content-page .page-intro{padding-block:clamp(3rem,5.5vw,6rem) clamp(3rem,5vw,5rem);max-width:65rem}
.content-page h1{font-size:clamp(2.5rem,1.25rem + 3.5vw,5.5rem);max-width:60rem;line-height:1.12;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:break-word}
.content-page .lede{font-size:var(--reading-size);max-width:42rem;line-height:1.7}
.content-page .section-copy ul strong{font-size:clamp(1.25rem,1rem + .45vw,1.5rem);line-height:1.4}
.content-page .actions{max-width:calc((100% - clamp(2rem,4vw,4rem))*2.5/3.5);margin-bottom:5rem}
.content-page .field label,.home .pilot-dialog .field label{font-size:1rem}
.content-page .field input,.content-page .field textarea,.home .pilot-dialog input,.home .pilot-dialog textarea{font-size:1.0625rem;line-height:1.5;min-width:0}
.home .pilot-dialog{font-size:1.125rem}
.home .pilot-dialog h2{font-size:1.75rem;line-height:1.3}
.home .pilot-dialog .confidentiality-note{font-size:1rem}
@container(max-width:639px){.home canvas{aspect-ratio:600 / 460}}
@media(max-width:64rem){
 .home .menu-toggle{display:flex;align-items:center;gap:.75rem;min-width:44px;min-height:44px;padding:0;background:transparent;border:0;color:var(--ink);font:inherit;font-size:1rem;position:relative;z-index:30;cursor:pointer}
 .home .menu-toggle span{font-size:1.5rem}
 .home .theme-toggle{order:0}
 .home .logo{position:relative;z-index:30}
 .home nav{position:fixed;inset:0;z-index:20;background:var(--bg);display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:7rem clamp(1.5rem,5vw,3rem) 2rem;visibility:hidden;opacity:0;overflow-y:auto}
 .home nav a{font-size:clamp(1.5rem,1rem + 2vw,2rem);padding:1.25rem 0;line-height:1.3;border-top:1px solid var(--rule);flex-shrink:0;transform:none;opacity:1}
 .home.menu-open nav{visibility:visible;opacity:1}
 .home.menu-open{overflow:hidden}
}
@media(max-width:60rem){
 .home .text-section{grid-template-columns:minmax(0,1fr);gap:1.75rem}
 .home .section-copy{max-width:44rem}
 .content-page .actions{max-width:none;margin-bottom:4rem}
}
@media(max-width:30rem){
 .home .wrap{padding-inline:1.25rem}
 .home .header-row,.home .header-controls{gap:.75rem}
 .home .logo img{height:1.75rem}
 .home .hero{padding-top:2.75rem}
 .home .text-section{padding-block:3rem}
 .home .section-label{gap:.875rem}
 .home footer{align-items:flex-start;flex-direction:column}
 .home .pilot-dialog{padding:2rem 1.25rem}
}

/* Action rows use the same grid tracks as the section above them. */
.home.content-page{--action-columns:minmax(10rem,1fr) minmax(0,2.5fr)}
.home.solutions-page{--action-columns:minmax(14rem,1fr) minmax(0,2fr)}
.home.content-page .actions{display:grid;grid-template-columns:var(--action-columns);column-gap:clamp(2rem,4vw,4rem);width:100%;max-width:none;margin:0 0 4rem}
.home.content-page .action-buttons{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:1rem;max-width:44rem;min-width:0}
.home.content-page .action-buttons .button{flex:0 1 auto;width:auto;min-width:0;min-height:48px}
@media(max-width:60rem){
 .home.content-page .actions{grid-template-columns:minmax(0,1fr)}
 .home.content-page .action-buttons{grid-column:1}
}
@media(max-width:30rem){
 .home.content-page .action-buttons{flex-direction:column;align-items:stretch;width:100%}
 .home.content-page .action-buttons .button{width:100%}
}

.home .home-section-actions{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-top:2rem}
.home .home-section-actions .text-link{margin:0;gap:clamp(.5rem,2vw,2rem);white-space:nowrap}
@media(max-width:22rem){.home .home-section-actions .text-link{font-size:.875rem;gap:.375rem}}

.home .section-label>span{flex-shrink:0}
.home .section-label h2{min-width:0;overflow-wrap:break-word}
.home :is(main,footer)[inert]{pointer-events:none}
html[data-theme=light] body.home{--accent-strong:#7b4329}
