/* Shared WP-02 sizing. Content and destinations stay in their approved pages. */
:root{--page-gutter:clamp(1rem,2vw,2rem);--layout-gap:clamp(.875rem,1.5vw,1.75rem)}
body{font-size:1rem}
.container{width:min(77.5rem,calc(100% - 2 * var(--page-gutter)))}
main,aside,section,article,.header-inner,.brand-copy,.footer-left,.footer-right{min-width:0}
main,footer,#primary-nav{overflow-wrap:anywhere}
img,svg{max-width:100%}
.section{padding-block:clamp(1.75rem,3.5vw,3.5rem)}
.page-intro{padding-block:clamp(1.5rem,3vw,2.875rem)}
.page-intro h1{font-size:clamp(1.75rem,1.25rem + 1.5vw,2.5rem);line-height:1.2}
.section h2{font-size:clamp(1.4rem,1.15rem + .6vw,1.8rem)}
.section p{max-width:72ch}
.architecture-grid,.executive-grid,.vision-grid,.status-grid{gap:var(--layout-gap)}
.detail-grid,.about-grid{gap:clamp(1.25rem,3vw,3rem)}
.architecture-card,.executive-body,.statement,.vision-grid article,.status-grid article{padding:clamp(1rem,2vw,1.75rem)}
.executive-photo{min-height:0;padding:clamp(1.25rem,2vw,2rem)}
.executive-title{min-height:0}
.executive-bio,.architecture-card p,.vision-grid p,.status-grid p,.reader-note{font-size:.95rem}
.eyebrow,.intro-status,.leadership-return,.direction-note,.direction-grid p,.direction-grid .approval-label{font-size:.875rem;line-height:1.6}
.detail-illustration{height:auto;object-fit:contain}
.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.75rem}
.header-inner,.homepage .header-inner{gap:1rem;padding:1rem var(--page-gutter);flex-wrap:wrap}
.site-header .brand{flex:1 1 14rem;min-width:0;gap:.625rem}
.site-header .brand-mark{width:2.75rem;height:2.75rem;flex-shrink:0;font-size:1.125rem}
.site-header .brand-copy,.homepage .site-header .brand-copy{font-size:.9375rem;letter-spacing:.06em;line-height:1.4}
.site-header .brand-copy small,.homepage .site-header .brand-copy small{display:block;font-size:.6875rem;line-height:1.5;letter-spacing:.035em;white-space:normal}
.menu-toggle{flex:0 0 auto;font-size:.9375rem;min-width:5rem;min-height:max(44px,2.75rem);padding:.5rem .75rem}
.header-inner #primary-nav{width:min(24rem,calc(100% - 2 * var(--page-gutter)));right:var(--page-gutter);top:100%;max-height:calc(100vh - var(--header-height,8rem) - 1rem);max-height:calc(100dvh - var(--header-height,8rem) - max(1rem,env(safe-area-inset-bottom,0px)));overflow-y:auto;overscroll-behavior:contain}
.header-inner #primary-nav>a{font-size:.9375rem;white-space:normal;min-height:max(44px,2.75rem);padding:.625rem .75rem;display:flex;align-items:center}
.homepage-shell{width:100%;max-width:112.5rem;grid-template-columns:minmax(0,2.15fr) minmax(0,1fr)}
.hero{min-height:0;padding:clamp(1.5rem,2.5vw,2.625rem) var(--page-gutter)}
.hero h1{font-size:clamp(2rem,1.25rem + 2vw,3.35rem);line-height:1.08;margin-bottom:clamp(1.25rem,2vw,1.75rem)}
.hero-grid{grid-template-columns:minmax(0,1fr) minmax(9rem,.27fr);gap:var(--layout-gap)}
.hero-subtitle{font-size:clamp(1.125rem,.95rem + .55vw,1.5rem);line-height:1.4}
.hero-introduction{font-size:1rem;line-height:1.65}
.hero-principles strong{font-size:.875rem}
.hero-principles small{font-size:.8125rem;line-height:1.5}
.hero-principles a{min-height:max(44px,2.75rem)}
.actions{gap:.75rem}
.button{font-size:.8125rem;letter-spacing:.04em;min-height:max(44px,2.75rem);padding:.625rem 1rem;white-space:normal;text-align:center}
.what-we-do,.about-navigation{padding:clamp(1.25rem,2vw,1.75rem) var(--page-gutter)}
.what-we-do{gap:var(--layout-gap)}
.what-we-do .what-copy>p{font-size:1rem;line-height:1.65}
.what-we-do .services-status,.what-we-do .topic-instruction{font-size:.875rem}
.capability-row .topic-trigger{font-size:.875rem;min-height:max(44px,2.75rem);padding:.625rem;gap:.5rem}
.about-navigation .navigation-tiles a{font-size:.9375rem;min-height:max(44px,2.75rem)}
.approach-visual{padding:clamp(1rem,2vw,1.5rem)}
.approach-flow li>span:not(.flow-arrow){font-size:.9375rem}
.homepage .home-sidebar{gap:.75rem;padding:var(--page-gutter)}
.homepage .home-sidebar>section,.homepage main>.sidebar-products{padding:1rem}
.homepage .sidebar-product{grid-template-columns:3.25rem minmax(0,1fr);gap:.625rem;padding:.625rem;min-height:max(44px,2.75rem)}
.homepage .sidebar-product>img{width:3.25rem;height:auto;aspect-ratio:1;object-fit:contain}
.homepage .sidebar-product>div{min-width:0;padding-left:.625rem}
.homepage .sidebar-product h3{font-size:1.2rem;line-height:1.3}
.homepage .sidebar-product p,.homepage .home-sidebar p{font-size:.9375rem;line-height:1.55}
.sidebar-product .text-link,.sidebar-statement .text-link,.sidebar-architecture .text-link{font-size:.875rem;line-height:1.5}
.homepage .sidebar-statement a,.homepage .sidebar-architecture a{min-height:max(44px,2.75rem);display:inline-flex;align-items:center;margin-top:0;padding-block:.5rem}
.sidebar-product-list{gap:.625rem}
.topic-dialog{width:min(37.5rem,calc(100% - 2rem));max-height:calc(100vh - 2rem);max-height:calc(100dvh - max(1rem,env(safe-area-inset-top,0px)) - max(1rem,env(safe-area-inset-bottom,0px)));padding:clamp(1rem,2vw,1.5rem);overscroll-behavior:contain;scroll-padding-block:5rem 1rem}
.dialog-heading{position:sticky;top:0;z-index:1;background:white;flex-wrap:wrap;gap:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--line)}
.dialog-heading h2{flex:1 1 10ch;overflow-wrap:anywhere}
.dialog-heading form{flex:0 0 auto;margin-left:auto}
.dialog-close{min-height:max(44px,2.75rem);font-size:1rem}
.topic-dialog>p{font-size:1rem;line-height:1.65}
footer{padding-block:clamp(1rem,1.5vw,1.5rem)}
footer .footer-notices{grid-template-columns:minmax(14rem,.85fr) minmax(0,1.65fr);gap:clamp(1.5rem,3vw,3rem)}
footer .brand{max-width:100%;min-height:max(44px,2.75rem)}
footer .brand-copy{font-size:.9375rem;line-height:1.4}
footer .brand-copy small{font-size:.6875rem;max-width:none;line-height:1.5}
footer .footer-notices p,footer .footer-legal,footer .footer-notices .footer-location{font-size:.875rem;line-height:1.6}
.back-to-top{width:max(44px,3rem);height:max(44px,3rem);right:max(1rem,env(safe-area-inset-right,0px));bottom:calc(1rem + env(safe-area-inset-bottom,0px))}
@media(max-width:68.75rem){
 .homepage-shell{grid-template-columns:minmax(0,1fr)}
 .homepage .home-sidebar{border-left:0;border-top:1px solid var(--line)}
 .homepage main>.sidebar-products{margin:var(--page-gutter) var(--page-gutter) 0}
 .homepage .sidebar-products .sidebar-product-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:68.8125rem){.homepage .sidebar-products .sidebar-product-list{grid-template-columns:1fr}}
@media(max-width:60rem){.architecture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:56rem){footer .footer-notices{grid-template-columns:1fr;gap:.875rem}footer .footer-right{text-align:left}}
@media(max-width:52rem){.about-grid,.detail-grid,.executive-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:48rem){
 .hero-grid,.what-we-do{grid-template-columns:minmax(0,1fr)}
 .hero-principles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .875rem}
 .hero-principles a{min-height:4rem}
 .hero-principles a>span{flex-shrink:0}
 .vision-grid,.status-grid{grid-template-columns:minmax(0,1fr)}
 .navigation-tiles{grid-template-columns:minmax(0,1fr)}
 .approach-flow li{padding-block:.25rem}
}
@media(max-width:40rem){
 .homepage .sidebar-products .sidebar-product-list,.architecture-grid{grid-template-columns:minmax(0,1fr)}
 footer .footer-right{padding-right:calc(3.5rem + env(safe-area-inset-right,0px))}
 footer{padding-bottom:2rem}
}
@media(pointer:coarse){.menu-toggle,.topic-trigger,.navigation-tiles a,.dialog-close,#primary-nav>a{min-height:max(48px,3rem)}}
/* PO review: align the existing notices with the left column's bottom edge. */
@media(min-width:56.001rem){footer .footer-right{align-self:end;text-align:right}}
#corporate-approach{scroll-margin-top:1rem}
#corporate-approach.approach-target{outline:2px solid var(--gold);outline-offset:4px}
#approach-visual-heading:focus{outline:2px solid #8c661c;outline-offset:4px}
.approach-visual .approach-instruction{font-size:.875rem;margin-bottom:.5rem}
.approach-flow .approach-trigger{display:flex;flex-direction:column;align-items:center;width:100%;padding:.6rem .75rem;min-height:44px;background:#fff;border:1px solid #b89340;border-radius:.35rem;color:var(--ink);text-align:center;white-space:normal}
.approach-flow .approach-trigger[hidden]{display:none}
.approach-flow .approach-trigger strong{font:1.15rem var(--serif)}
.approach-flow .approach-trigger span{font-size:.875rem}
.approach-flow .approach-trigger small{font-size:.875rem;text-decoration:underline;color:#634706}
.approach-flow .approach-trigger:hover{background:#fff3d6;box-shadow:0 2px 8px #102b461a}
.approach-flow .topic-fallback{text-align:left;max-width:100%;font-size:.9375rem}
.approach-flow .topic-fallback summary{cursor:pointer;min-height:44px}
.patent-copy{max-width:75ch}
.patent-copy h2{margin-top:2rem}
.patent-copy h3{margin-top:1.5rem}
.patent-headline{font:clamp(1.3rem,3vw,1.8rem)/1.35 var(--serif)}
.approach-flow .approach-trigger strong{color:var(--ink)}
.approach-visual .approach-instruction{color:#edf1f4}
#approach-visual-heading:focus{outline-color:#f4cd6b}
.approach-flow .approach-trigger:focus-visible{background:#fff3d6;color:var(--ink);outline:3px solid #f4cd6b;outline-offset:3px}
.approach-flow .approach-trigger:hover span,.approach-flow .approach-trigger:focus-visible span{color:#634706}
.approach-flow .topic-fallback p{color:#edf1f4;font-size:1rem}
.approach-flow:has(.topic-fallback:not([hidden])){display:flex;flex-direction:column;flex:0}
