/* Reading layouts for phones and portrait tablets. Desktop art direction stays intact. */
@media(max-width:1024px){
 body .post-card{grid-template-columns:minmax(0,1fr) 24px;gap:14px 16px;padding:30px 0}
 body .post-card__pillar{grid-column:1/-1;grid-row:1;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;line-height:1.65}
 body .post-card__date{margin:0;font-size:13px}
 body .post-card__title{grid-column:1;grid-row:2;font-size:26px;line-height:1.45;letter-spacing:-.025em;font-weight:500}
 body .post-card__desc{grid-column:1/-1;grid-row:3;font-size:17px;line-height:1.8;max-width:42em}
 body .post-card::after{grid-column:2;grid-row:2;font-size:22px}
 body .prose{font-size:17px;line-height:1.85}
 body .prose p,body .prose li{letter-spacing:0}
 body .prose li{padding-left:2px}
 body .article-head__desc{font-size:17px;line-height:1.8}
 body .cat__item{font-size:14px;min-height:48px}
 body .cat__count{color:var(--muted)}
}
@media(max-width:600px){
 body .section-rail{display:none}
 body>header .brand img{width:160px;max-width:100%}
 body>header #toggle{position:fixed;top:14px;right:76px;bottom:auto;left:auto;width:44px;height:44px;min-height:44px;background:var(--bg,#0a0a0a);border:0}
 body .brand-story .lead{font-size:17px;line-height:1.85}
 body .post-card__title{font-size:23px;line-height:1.5;text-wrap:pretty}
 body .post-card__desc{font-size:16px;line-height:1.8}
 body .index-toolbar{padding:18px 0;gap:4px}
 body .cat__list{gap:0 18px}
 body .article-head__title{font-size:30px;line-height:1.45;letter-spacing:-.025em}
 body .prose h2{font-size:25px;line-height:1.5}
 body .prose h3{font-size:21px;line-height:1.55}
 body :is(.service-choices article>div p,.service-choices dd,.model-rows p,.detail-rows p,.expert-columns p,.evidence-heading p,.evidence-steps p,.workflow-stage p,.service-terms dd,.adoption-questions p){font-size:16px;line-height:1.85;letter-spacing:0}
 body .service-choices dt{font-size:14px;line-height:1.85}
 body .service-choices dl>div{grid-template-columns:72px minmax(0,1fr);gap:12px}
 body :is(.lead,.service-hero>p,.service-closing p){font-size:17px;line-height:1.85}
 body :is(.lead,.detail-rows p,.expert-columns p,.service-closing p) br{display:none}
 body .evidence-screen figcaption,body .evidence-foot p{font-size:14px;line-height:1.8}
 body :is(.button,.text-link){max-width:100%;min-width:0}
 body :is(input,select,textarea){font-size:16px}
}
/* Explicit homepage layout choice remains available on every screen size. */
body footer .view-switch{display:inline-flex;align-items:center;gap:.35em;width:auto;min-width:0;max-width:none;height:auto;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;white-space:nowrap;transition:color 250ms}
body footer .view-switch:hover{color:var(--gold)}
body footer .view-switch:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
