/* MAGNOCUS · geometry calibration (no palette, font-family or font-size changes). */
:root{--layout-edge:clamp(24px,5vw,72px);--layout-width:1256px}
/* One edge reference across navigation, hero, sections and footer. */
.site-header,.page-gutter{padding-inline:max(var(--layout-edge),calc((100% - var(--layout-width))/2))}
.site-header{min-width:0}
.brand{flex-shrink:0;align-self:center;gap:4px}
.brand-lockup{align-items:center;gap:12px}
.brand-symbol{flex-shrink:0}
/* Caption tracks the actual wordmark, rather than an arbitrary offset. */
.brand .brand-caption{margin-left:0;padding-left:47px;max-width:100%;white-space:nowrap}
.brand .brand-name{line-height:1.2}
/* Equal top-level section alignment with stable grid min-widths. */
.hero-copy,.detail-hero-main,.section-heading,.service-list,.approach-content,.overview-heading,.overview-copy,.criteria-panel,.process-heading>*{min-width:0}
.editorial-lenses>*,.editorial-summary>*,.detail-points>*,.process-grid>*{min-width:0}
/* Site footer identity uses the same 2-column symbol/wordmark axis as the header. */
.footer-identity{min-width:0;display:grid;grid-template-columns:27px minmax(0,1fr);column-gap:10px;row-gap:6px;align-items:center}
.footer-lockup{display:contents}
.footer-lockup .brand-symbol{grid-column:1;grid-row:1}
.footer-lockup .footer-brand{grid-column:2;grid-row:1;align-self:center}
.footer-identity>span:last-child{grid-column:2;grid-row:2;padding:0;min-width:0;overflow-wrap:normal;line-height:1.5;letter-spacing:.06em}
.site-footer{column-gap:clamp(22px,4vw,58px)}
/* Prevent optical drift caused by mixed content and narrow columns. */
.editorial-lenses,.editorial-summary,.detail-overview,.services-section,.approach-section,.process-grid{align-items:start}
@media(max-width:1050px) and (min-width:761px){
 .site-header{gap:20px}
 .desktop-nav{gap:clamp(10px,1.35vw,18px)}
}
@media(max-width:760px){
 :root{--layout-edge:clamp(24px,6vw,32px)}
 .site-header,.page-gutter{padding-inline:var(--layout-edge)}
 .site-header{gap:12px}
 .brand-lockup{gap:9px}
 .brand .brand-caption{padding-left:39px;white-space:nowrap}
 .site-footer{grid-template-columns:minmax(0,1fr) 44px;gap:19px 12px;align-items:start}
 .footer-identity{grid-template-columns:27px minmax(0,1fr);column-gap:10px;grid-column:1;grid-row:1}
 .footer-email{grid-column:1/-1;grid-row:2;justify-self:start;min-width:0;max-width:100%;overflow-wrap:anywhere}
 .language-button{grid-column:2;grid-row:1;justify-self:end;align-self:start;margin:0;width:44px;height:44px}
}
@media(max-width:360px){
 .brand .brand-caption{font-size:6px;letter-spacing:0}
 .brand .brand-name{letter-spacing:.055em}
}
