/* Above-the-fold interior styles.
   The full sheet (acg-arch-interior.css) is applied on the second frame after
   window load, so it cannot join the style pass that produces the first paint.
   These rules paint the hero and anything else in the first screen that the full
   sheet would otherwise move. Declarations are copied from acg-arch-interior.css;
   that file remains the source for everything else. */
/* Interior pages on the architectural design system (2026-10-01, phase 2).
   Loaded only on pages with body.ax-interior, after acg-arch-chrome.css. It replaces the
   legacy dark theme (style.css, acg-chrome.css, acg2026.css, acg-flagship.css), so it styles
   the legacy component classes directly in the homepage language: paper ground, ink type,
   hairline rules, red used only for small marks and large headline accents.
   .github/site-checks/arch-interior-migrate.py adds the hooks: .ax-page wrapper, .ax-hero on the block
   holding the h1, and semantic classes (ax-box, ax-btn, ax-kicker, ax-num...) in place of
   inline decoration. */
@font-face{font-family:Inter;src:url('/fonts/inter-variable-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--ax-paper:#f4f5f5;--ax-ink:#0a1925;--ax-text:#4f5d68;--ax-soft:#5a6670;--ax-line:#c9d0d5;--ax-line-soft:#dde3e7;--ax-red-text:#b8232c;--ax-panel:#e9edef}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body.ax-interior{margin:0;background:var(--ax-paper);color:var(--ax-ink);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.ax-interior *,body.ax-interior *::before,body.ax-interior *::after{box-sizing:border-box}
body.ax-interior ::selection{background:var(--ax-red);color:#fff}
body.ax-interior :focus-visible{outline:3px solid var(--ax-red);outline-offset:4px}
.ax-page{--gut:max(6%,calc((100% - 1320px) / 2));padding-top:72px;background:var(--ax-paper);color:var(--ax-ink);overflow-x:clip}

/* ---------- Page frame: every top-level block gets the same gutter ---------- */
.ax-page.ax-page>:not(main):not(article):not(script),.ax-page.ax-page>:is(main,article):not(:has(>p)):not(:has(>h2)):not(:has(>table))>:not(article):not(main):not(script),.ax-page.ax-page>:is(main,article)>:is(main,article)>:not(script){padding-left:var(--gut);padding-right:var(--gut)}
.ax-page :where(.container,.wrap,.wpb-container,.page-main,.content-wrap,.inner){max-width:none;width:auto;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
.ax-page section{padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(56px,7vw,96px);background:none;color:inherit;position:relative}
.ax-page section section{padding-top:0;padding-bottom:0;margin-top:clamp(40px,4vw,64px)}
.ax-page section section:first-child{margin-top:0}
.ax-page>:is(section,div,header,aside,nav)+:is(section,div,aside,main,article),.ax-page>:is(main,article)>:is(section,div,aside,header)+:is(section,div,aside){border-top:1px solid var(--ax-line-soft)}
.ax-page>div:not(.ax-hero):has(>p,>h2,>h3){padding-top:clamp(48px,5vw,72px);padding-bottom:clamp(48px,5vw,72px)}
/* main/article that hold running text directly (guides): the wrapper carries the gutter. */
.ax-page.ax-page>:is(main,article):is(:has(>p),:has(>h2),:has(>table)){padding:clamp(48px,5vw,72px) var(--gut)}
.ax-page.ax-page>:is(main,article):is(:has(>p),:has(>h2),:has(>table))>*{padding-left:0;padding-right:0}
.ax-page.ax-page>:is(main,article):is(:has(>p),:has(>h2),:has(>table))>:is(p,ul,ol){max-width:780px}
.ax-page.ax-page>:is(main,article):is(:has(>p),:has(>h2),:has(>table))>h2{font-size:clamp(30px,3vw,46px)}
.ax-page>:is(main,article):is(:has(>p),:has(>h2),:has(>table))>section{padding-top:clamp(40px,4vw,56px);padding-bottom:0}

/* ---------- Type ---------- */
.ax-page :is(h1,h2,h3,h4,h5,h6){color:var(--ax-ink);font-family:inherit;text-transform:none;text-shadow:none;background:none;-webkit-text-fill-color:currentColor}
.ax-page h1{font-size:clamp(44px,6vw,100px);line-height:1.01;letter-spacing:-.06em;font-weight:450;margin:0;max-width:1240px;text-wrap:balance}
.ax-page h2{font-size:clamp(32px,3.7vw,58px);line-height:1.05;letter-spacing:-.05em;font-weight:450;margin:0 0 28px;max-width:1100px;text-wrap:balance}
.ax-page h3{font-size:clamp(21px,1.8vw,28px);line-height:1.2;letter-spacing:-.035em;font-weight:500;margin:44px 0 14px;max-width:900px}
.ax-page h4{font-size:19px;line-height:1.35;letter-spacing:-.02em;font-weight:550;margin:30px 0 10px}
.ax-page :is(h5,h6){font-size:13px;letter-spacing:.06em;text-transform:uppercase;font-weight:550;margin:24px 0 8px}
.ax-page :is(h2,h3,h4):first-child{margin-top:0}
.ax-page :is(p,ul,ol,table,figure,blockquote,details,.faq-item,div:not(.loc-label):not(.label):not(.eyebrow):not(.k-wrap):not(.wpb-section-eyebrow):not(.ax-kicker):not(.wpb-eyebrow):not(.k-label))+h2{margin-top:clamp(56px,5.5vw,88px)}
.ax-page p{margin:0 0 18px;font-size:17px;line-height:1.75;color:var(--ax-text);max-width:780px}
.ax-page :is(p,li,td,dd):last-child{margin-bottom:0}
.ax-page :is(strong,b){color:var(--ax-ink);font-weight:600}
.ax-page em{font-style:italic}
.ax-page :is(h1,h2) :is(em,.accent,.ax-red),.ax-page :is(h1,h2) span[style*="color"]{font-style:normal;color:var(--ax-red)}
.ax-page :is(h3,h4) :is(.accent,.ax-red){color:var(--ax-red-text)}
.ax-page :is(.accent,.ax-red):not(h1 *,h2 *,h3 *,h4 *){color:var(--ax-ink)}
.ax-page a{color:var(--ax-ink);text-decoration:none;transition:color .2s}
.ax-page :is(p,li,td,dd,figcaption,blockquote) a:not([class]){text-decoration:underline;text-decoration-color:#9aa6af;text-underline-offset:4px;text-decoration-thickness:1px}
.ax-page a:hover{color:var(--ax-red-text)}
.ax-page :is(ul,ol){margin:0 0 22px;padding-left:22px;color:var(--ax-text);max-width:820px}
.ax-page li{margin:0 0 10px;font-size:17px;line-height:1.7}
.ax-page li::marker{color:var(--ax-red-text)}
.ax-page :is(ul.ax-plain-list,ul[style*="list-style:none"],ul[style*="list-style: none"]){padding-left:0;list-style:none}
.ax-page ul.ax-plain-list>li{border-top:1px solid var(--ax-line-soft);padding:12px 0;margin:0}
.ax-page hr,.ax-page .divider{border:0;border-top:1px solid var(--ax-line);height:0;margin:48px 0;background:none}
.ax-page blockquote{margin:40px 0;padding:6px 0 6px 28px;border-left:2px solid var(--ax-red);max-width:900px;background:none}
.ax-page blockquote p{font-size:clamp(20px,1.9vw,26px);line-height:1.45;letter-spacing:-.025em;color:var(--ax-ink)}
.ax-page blockquote :is(cite,footer,div){display:block;margin-top:14px;font-size:13px;font-style:normal;color:var(--ax-soft)}
.ax-page small,.ax-page .ax-small{font-size:13px;line-height:1.6;color:var(--ax-soft)}
.ax-page code{font-size:.9em;background:var(--ax-panel);padding:1px 6px}
.ax-page .ax-lead,.ax-page .lead,.ax-page .p-sub,.ax-page .wpb-hero-sub,.ax-page .wpb-section-lede,.ax-page .tldr{font-size:clamp(18px,1.45vw,21px);line-height:1.6;letter-spacing:-.012em;color:var(--ax-text);max-width:820px}
.ax-page .ax-strong{font-weight:600;color:var(--ax-ink)}
.ax-page :is(.text-massive,.text-xl,.text-lg,.section-h,.wpb-section h2){color:var(--ax-ink)}

/* ---------- Editorial sections: heading left, prose right (desktop) ---------- */
@media(min-width:1100px){
.ax-page :is(section:not(.cta-section):not(.cta-band):not(.final-cta):not(.acg-rfq)>.container,section:not(.final-cta)>.wpb-container,section.ax-split):is(:has(>h2:first-child),:has(>:is(.loc-label,.label,.eyebrow,.wpb-section-eyebrow,.ax-kicker):first-child+h2)):not(:has(.card-grid,.grid,.grid-3,.grid-4,.cards,.projects-grid,.systems-grid,.submarket-grid,.process-grid,.proj-grid,.stat-row,.wpb-cred-strip,table,img,form,.card,.service-card,.acg-photo-gallery)){display:flow-root}
.ax-page :is(section:not(.cta-section):not(.cta-band):not(.final-cta):not(.acg-rfq)>.container,section:not(.final-cta)>.wpb-container,section.ax-split):is(:has(>h2:first-child),:has(>:is(.loc-label,.label,.eyebrow,.wpb-section-eyebrow,.ax-kicker):first-child+h2)):not(:has(.card-grid,.grid,.grid-3,.grid-4,.cards,.projects-grid,.systems-grid,.submarket-grid,.process-grid,.proj-grid,.stat-row,.wpb-cred-strip,table,img,form,.card,.service-card,.acg-photo-gallery))>:is(h2:first-of-type,.loc-label,.label,.eyebrow,.wpb-section-eyebrow,.ax-kicker:first-child){float:left;clear:left;width:36%;font-size:clamp(30px,2.9vw,46px)}
.ax-page :is(section:not(.cta-section):not(.cta-band):not(.final-cta):not(.acg-rfq)>.container,section:not(.final-cta)>.wpb-container,section.ax-split):is(:has(>h2:first-child),:has(>:is(.loc-label,.label,.eyebrow,.wpb-section-eyebrow,.ax-kicker):first-child+h2)):not(:has(.card-grid,.grid,.grid-3,.grid-4,.cards,.projects-grid,.systems-grid,.submarket-grid,.process-grid,.proj-grid,.stat-row,.wpb-cred-strip,table,img,form,.card,.service-card,.acg-photo-gallery))>:is(.loc-label,.label,.eyebrow,.wpb-section-eyebrow,.ax-kicker:first-child){font-size:12px}
.ax-page :is(section:not(.cta-section):not(.cta-band):not(.final-cta):not(.acg-rfq)>.container,section:not(.final-cta)>.wpb-container,section.ax-split):is(:has(>h2:first-child),:has(>:is(.loc-label,.label,.eyebrow,.wpb-section-eyebrow,.ax-kicker):first-child+h2)):not(:has(.card-grid,.grid,.grid-3,.grid-4,.cards,.projects-grid,.systems-grid,.submarket-grid,.process-grid,.proj-grid,.stat-row,.wpb-cred-strip,table,img,form,.card,.service-card,.acg-photo-gallery))>:not(h2:first-of-type):not(.loc-label):not(.label):not(.eyebrow):not(.wpb-section-eyebrow):not(.ax-kicker:first-child){margin-left:42%;max-width:none}
}

/* ---------- Kickers (eyebrows, labels) ---------- */
.ax-page.ax-page :is(.eyebrow,.loc-label,.label,.k-label,.wpb-eyebrow,.wpb-section-eyebrow,.ax-kicker,.section-label,.kicker,.overline){color:var(--ax-soft)}
.ax-page :is(.eyebrow,.loc-label,.label,.k-label,.wpb-eyebrow,.wpb-section-eyebrow,.ax-kicker,.section-label,.kicker,.overline){display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:12px;line-height:1.5;font-weight:500;letter-spacing:.07em;text-transform:uppercase;color:var(--ax-soft);margin:0 0 26px;background:none;border:0;padding:0;max-width:none}
.ax-page :is(.eyebrow,.loc-label,.label,.k-label,.wpb-eyebrow,.wpb-section-eyebrow,.section-label,.kicker,.overline)::before{content:"";width:6px;height:6px;background:var(--ax-red);flex-shrink:0}
.ax-page :is(.label,.eyebrow):has(.line)::before,.ax-page .wpb-eyebrow::before,.ax-page .k-wrap .k-label::before{content:none}
.ax-page :is(.label,.eyebrow) .line,.ax-page .wpb-eyebrow .dot{display:inline-block;width:6px;height:6px;background:var(--ax-red);flex-shrink:0;border-radius:0}
.ax-page .wpb-eyebrow .bar{display:inline-block;width:28px;height:1px;background:var(--ax-line)}
.ax-page .k-wrap{display:flex;align-items:center;gap:12px;margin:0 0 26px}
.ax-page .k-wrap>span:not(.k-label){display:none}
.ax-page .k-wrap::before{content:"";width:6px;height:6px;background:var(--ax-red);flex-shrink:0}
.ax-page .k-wrap .k-label{margin:0}
.ax-page :is(.ax-kicker,.card-num,.service-number,.project-cat,.tag,.acg-toc-kicker,.acg-qa-label,.quick-answer-label,.num,.k){font-size:11px;line-height:1.5;font-weight:500;letter-spacing:.07em;text-transform:uppercase;color:var(--ax-soft)}
.ax-page p.ax-kicker,.ax-page div.ax-kicker{margin:0 0 14px}

/* ---------- Buttons and text links ---------- */
.ax-page :is(.btn,.btn-primary,.btn-secondary,.btn-ghost,.btn-outline,.btn-red,.ax-btn,.ax-btn-primary,.arrow-link,.sec-link,.cta-link){display:inline-flex;align-items:center;justify-content:space-between;gap:28px;padding:14px 0;margin:0;font-size:14px;line-height:1.4;font-weight:550;letter-spacing:0;text-transform:none;color:var(--ax-ink);background:none;border:0;border-bottom:1px solid #9aa6af;border-radius:0;box-shadow:none;text-decoration:none;cursor:pointer;transition:border-color .2s,color .2s}
.ax-page :is(.btn-primary,.ax-btn-primary,.btn-red)::after,.ax-page .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-outline)::after{content:"";width:7px;height:7px;background:var(--ax-red);flex-shrink:0;transition:transform .3s}
.ax-page :is(.btn,.btn-primary,.ax-btn-primary,.btn-red):hover::after{transform:rotate(90deg) scale(1.4)}
.ax-page :is(.btn,.btn-primary,.btn-secondary,.btn-ghost,.ax-btn,.ax-btn-primary,.arrow-link,.sec-link):hover{color:var(--ax-ink);border-bottom-color:var(--ax-ink)}
.ax-page :is(.btn-secondary,.btn-ghost,.btn-outline,.ax-btn){color:var(--ax-text);font-weight:500}
.ax-page :is(.arrow-link,.sec-link,.go){color:var(--ax-ink)}
.ax-page :is(div,p):has(>:is(.btn,.btn-primary,.ax-btn,.ax-btn-primary)+:is(.btn,.btn-secondary,.btn-ghost,.ax-btn,.ax-btn-primary)){display:flex;flex-wrap:wrap;align-items:center;gap:12px 44px!important}
.ax-page :is(.btn,.btn-primary,.ax-btn-primary):has(svg)::after{content:none}
.ax-page :is(.btn,.btn-primary,.btn-secondary,.btn-ghost,.ax-btn) svg{width:15px;height:15px;flex-shrink:0}
.ax-page .wpb-hero-actions,.ax-page .final-cta-actions,.ax-page .hero-actions,.ax-page .cta-actions,.ax-page .btn-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 40px;margin-top:36px}

/* ---------- Hero / page heading ---------- */
.ax-page .ax-hero{position:relative;padding-top:clamp(60px,7.5vw,118px);padding-bottom:clamp(52px,6vw,88px);background:var(--ax-paper);color:var(--ax-ink);min-height:0;height:auto;display:block;overflow:visible;border-top:0}
.ax-page .ax-hero::before,.ax-page .ax-hero::after{content:none}
.ax-page .ax-hero :is(.container,.wrap,header,.wpb-hero-content,.hero-content,.hero-inner){position:static;max-width:none;padding:0;margin:0;background:none;text-align:left;transform:none}
.ax-page .ax-hero h1{margin:0 0 30px}
.ax-page .ax-hero h1+p,.ax-page .ax-hero h1~p:not(.ax-kicker):not(.ax-small){font-size:clamp(18px,1.55vw,22px);line-height:1.6;letter-spacing:-.015em;color:var(--ax-text);max-width:820px;margin:0 0 16px}
.ax-page .ax-hero h1~p:last-of-type{margin-bottom:0}
.ax-page .ax-hero :is(nav,.crumb,.breadcrumb,.breadcrumbs){display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:12px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:var(--ax-soft);margin:0 0 40px;padding:0;background:none}
.ax-page .ax-hero :is(nav,.crumb,.breadcrumb,.breadcrumbs) a{color:var(--ax-red-text);text-decoration:none}
.ax-page .ax-hero :is(nav,.crumb,.breadcrumb,.breadcrumbs) a:hover{text-decoration:underline;text-underline-offset:3px}
.ax-page .ax-hero :is(nav,.crumb,.breadcrumb) :is(span,li){color:var(--ax-soft)}
.ax-page .ax-hero :is(nav,.crumb,.breadcrumb) ol{display:flex;flex-wrap:wrap;gap:6px 12px;list-style:none;padding:0;margin:0}
.ax-page .ax-hero :is(nav,.crumb,.breadcrumb) li{margin:0;font-size:12px}
.ax-page .ax-hero :is(.btn,.btn-primary,.btn-secondary,.btn-ghost,.ax-btn,.ax-btn-primary){font-size:15px}
.ax-page .ax-hero>:is(div,.container)>div:has(>a)+div:has(>a){margin-top:0}
.ax-page .ax-hero :is(div,p):has(>:is(.btn,.btn-primary,.ax-btn,.ax-btn-primary,.btn-secondary)){margin-top:36px}
.ax-page .ax-hero .byline,.ax-page .ax-hero .acg-byline{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:30px;padding-top:20px;border-top:1px solid var(--ax-line);font-size:13px;line-height:1.6;color:var(--ax-soft);max-width:none}
.ax-page .acg-byline a,.ax-page .byline a{color:var(--ax-ink)}
.ax-page .ax-hero .p-hero-foot,.ax-page .ax-hero .hero-facts,.ax-page .ax-hero .page-facts{display:flex;flex-wrap:wrap;gap:14px 40px;margin-top:40px;padding-top:22px;border-top:1px solid var(--ax-line);font-size:13px;line-height:1.5;color:var(--ax-soft)}
.ax-page .p-hero-foot .m{display:flex;flex-direction:column;gap:3px}
.ax-page .p-hero-foot b{color:var(--ax-ink);font-weight:550;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.ax-page .ax-hero.ax-hero-l h1{font-size:clamp(36px,4.4vw,72px);line-height:1.04;letter-spacing:-.05em}
.ax-page .ax-hero.ax-hero-m h1{font-size:clamp(40px,5.2vw,86px)}
.ax-page .ax-hero.ax-hero-s h1{font-size:clamp(48px,7vw,118px);line-height:.98;letter-spacing:-.065em}

/* Hero with a photo (location template, project pages): copy left, photo right, like the homepage. */
.ax-page .wpb-hero.ax-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0 5%;align-items:stretch;padding-bottom:clamp(40px,4vw,60px)}
.ax-page .wpb-hero-content{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;padding:0!important}
.ax-page .wpb-hero-bg{grid-column:2;grid-row:1;position:relative!important;inset:auto!important;min-height:520px;max-height:760px;overflow:hidden;background:#d6dde2;z-index:auto;opacity:1}
.ax-page .wpb-hero-bg :is(picture,img){position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:1;filter:none;transform:none}
.ax-page .wpb-hero-overlay{display:none}
.ax-page .wpb-hero .wpb-cred-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 20px;margin-top:44px}
.ax-page .wpb-hero h1{font-size:clamp(44px,5.4vw,92px)}
.ax-page .wpb-hero h1 .accent{display:inline}
.ax-page .ax-page-photo{margin:0;padding:0!important;height:clamp(320px,52vw,760px);overflow:hidden;background:#d6dde2}
.ax-page .ax-page-photo img{display:block;width:100%;height:100%;object-fit:cover}

/* ---------- Stats and credential strips ---------- */
.ax-page :is(.stat-row,.stats-row,.trust-grid,.wpb-cred-strip,.kpi,.nums,.stats,.stat-grid,.cred-strip,.proof-stats){display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0 32px;border-top:1px solid var(--ax-line);margin:0;padding:0;background:none;border-bottom:0;max-width:none}
.ax-page :is(.stat-row,.stats-row,.trust-grid,.wpb-cred-strip,.kpi,.nums,.stats,.stat-grid,.cred-strip,.proof-stats)>*{padding:22px 0 0;margin:0;background:none;border:0;text-align:left;min-width:0}
.ax-page :is(.stat-num,.wpb-cred-num,.stat,.bignum,.stat-value,.kpi b,.ax-num-xl){display:block;font-size:clamp(28px,2.7vw,42px);line-height:1.1;letter-spacing:-.05em;font-weight:450;color:var(--ax-ink);margin:0 0 8px;background:none;-webkit-text-fill-color:currentColor}
.ax-page .ax-num{display:block;font-size:clamp(22px,2vw,30px);line-height:1.15;letter-spacing:-.04em;font-weight:450;color:var(--ax-ink)}
.ax-page :is(.stat-label,.wpb-cred-label,.stat-text,.trust-item .label,.kpi span,.stat-desc){display:block;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--ax-soft);margin:0}
.ax-page section.container:has(>.stat-row){padding-top:0;border-top:0}
.ax-page .ax-hero+section.container:has(>.stat-row){padding-bottom:clamp(48px,5vw,72px)}

/* ---------- Card grids ---------- */
.ax-page :is(.card-grid,.grid,.grid-2,.grid-3,.grid-4,.cards,.projects-grid,.systems-grid,.submarket-grid,.process-grid,.proj-grid,.service-grid,.services-grid,.pillars-grid,.feature-grid,.related-grid,.areas-grid,.benefits-grid,.posts-grid,.article-grid,.loc-grid,.sector-grid,.gnotes-grid):not(section){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:0 40px;margin:36px 0 0;padding:0;background:none;max-width:none;list-style:none}
.ax-page :is(.grid-2){grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr))}
.ax-page :is(.card,.service-card,.system-card,.project-card,.submarket,.process-step,.proj,.pillar,.feature,.feature-card,.benefit-card,.loc-card,.post-card,.related-card,.gnote,.ax-box){display:block;position:relative;border:0;border-top:1px solid var(--ax-line);border-radius:0;background:none;box-shadow:none;padding:26px 0 34px;margin:0;color:inherit;text-decoration:none;transform:none;max-width:none;overflow:visible}
.ax-page :is(.card,.service-card,.system-card,.project-card,.submarket,.process-step,.proj,.pillar,.feature,.feature-card,.gnote,.ax-box) :is(h3,h4,.system-card-name,.project-name,.submarket-name){font-size:clamp(20px,1.6vw,25px);line-height:1.2;letter-spacing:-.035em;font-weight:500;margin:12px 0 10px;color:var(--ax-ink)}
.ax-page :is(.card,.service-card,.system-card,.project-card,.submarket,.process-step,.proj,.pillar,.feature-card,.gnote,.ax-box) :is(h3,h4):first-child{margin-top:0}
.ax-page :is(.card,.service-card,.system-card,.project-card,.submarket,.process-step,.proj,.pillar,.feature-card,.gnote,.ax-box) p{font-size:15px;line-height:1.7;max-width:none}
.ax-page a:is(.card,.service-card,.system-card,.project-card,.proj){transition:border-color .25s}
.ax-page a:is(.card,.service-card,.system-card,.project-card,.proj):hover{border-top-color:var(--ax-ink)}
.ax-page a:is(.card,.service-card,.system-card,.project-card,.proj):hover :is(h3,h4,.project-name,.system-card-name){color:var(--ax-red-text)}
.ax-page a.card::after{content:"";position:absolute;top:-1px;left:0;width:0;height:1px;background:var(--ax-red);transition:width .35s}
.ax-page a.card:hover::after{width:56px}
.ax-page :is(.system-card-tagline,.submarket-meta,.project-meta,.project-cat){display:block;font-size:12px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:var(--ax-soft);margin:6px 0 12px}
.ax-page :is(.project-img,.proj-img,.card-img){display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;margin:0 0 18px;background:#d6dde2}

.ax-page :is(.acg-quick-answer,.quick-answer,.ax-callout,.callout,.note,.key-takeaway){display:block;margin:0 0 48px;padding:4px 0 4px 28px;border:0;border-left:2px solid var(--ax-red);border-radius:0;background:none;box-shadow:none;max-width:880px}
.ax-page :is(.acg-quick-answer,.quick-answer) p{font-size:clamp(17px,1.35vw,19px);line-height:1.65;color:var(--ax-ink)}

.ax-page img{max-width:100%;height:auto;border-radius:0}
.ax-page figure{margin:40px 0;max-width:none}
.ax-page figure img{display:block;width:100%}
.ax-page figcaption{font-size:13px;line-height:1.6;color:var(--ax-soft);padding-top:12px;text-align:left}

.ax-page :is(.blog-content,.article-body,.acg-flagship-article,.prose,.post-body,.entry-content){max-width:820px;margin:0;padding:0;background:none}
.ax-page :is(.blog-content,.article-body,.acg-flagship-article,.post-body) p{font-size:18px;line-height:1.8}
.ax-page :is(.blog-content,.article-body,.acg-flagship-article,.post-body) li{font-size:18px}
.ax-page :is(.blog-content,.article-body,.acg-flagship-article,.post-body) h2{font-size:clamp(28px,2.7vw,40px);line-height:1.12;letter-spacing:-.04em;margin:64px 0 20px}
.ax-page :is(.blog-content,.article-body,.acg-flagship-article,.post-body) h2:first-child{margin-top:0}
.ax-page :is(.blog-content,.article-body,.acg-flagship-article,.post-body) h3{font-size:clamp(20px,1.7vw,24px);margin:40px 0 12px}

.ax-page :is(.cursor-dot,.cursor-ring,.cursor-glow,.nav-toggle,.hd-mobile,.hd-burger,.acg-blog-cta-print-url,.gsc-print-head,.se-print-header,.bdgc-print-card){display:none}

.ax-page [style*="width"]{max-width:100%}
@media(max-width:900px){
.ax-page .wpb-hero.ax-hero{grid-template-columns:1fr;gap:0}
.ax-page .wpb-hero-bg{grid-column:1;grid-row:2;min-height:0;height:62vw;max-height:520px;margin-top:40px}
.ax-page .wpb-hero .wpb-cred-strip{grid-row:3}
.ax-page .feat-grid{grid-template-columns:1fr}
.ax-page .feat-media img{aspect-ratio:4/3}
}
@media(max-width:700px){
.ax-page [style*="grid-template-columns"]{grid-template-columns:1fr!important}
.ax-page [style*="display:flex"],.ax-page [style*="display: flex"]{flex-wrap:wrap}
.ax-page p,.ax-page li{font-size:16px}
.ax-page :is(.blog-content,.article-body,.acg-flagship-article,.post-body) :is(p,li){font-size:17px}
.ax-page .ax-hero h1~p:not(.ax-kicker):not(.ax-small){font-size:17px}
.ax-page .ax-hero :is(nav,.crumb,.breadcrumb){margin-bottom:28px;font-size:11px}
.ax-page :is(.stat-row,.stats-row,.trust-grid,.wpb-cred-strip,.kpi,.nums,.stats,.stat-grid){grid-template-columns:1fr 1fr}
.ax-page table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ax-page th{white-space:normal}
.ax-page :is(th,td){min-width:130px}
.ax-page .acg-toc ol{columns:1}
.ax-page :is(.author-box,.author-bio-box){flex-direction:column}
.ax-page summary::after{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.ax-page *{transition:none!important;animation:none!important}}

body.ax-interior .skip-link{position:fixed;top:-100px;left:16px;z-index:10000;background:#fff;color:var(--ax-ink);padding:12px 16px;font-size:14px;font-weight:550;text-decoration:none;outline:3px solid var(--ax-red)}
body.ax-interior :is(.skip,.skip-to-content){position:fixed;top:-100px;left:16px;z-index:10000;background:#fff;color:var(--ax-ink);padding:12px 16px;font-size:14px;text-decoration:none}
body.ax-interior .skip-link:focus{top:0;}
body.ax-interior :is(.skip,.skip-to-content):focus{top:0}

.ax-page .ax-hero h1 br{display:none}

/* ---------- Portfolio (pp-* mosaic) and photo heroes (.film) ---------- */
.ax-page .hero.ax-hero:has(>.film){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 5%;align-items:stretch}
.ax-page .hero.ax-hero>.hero-copy{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center}
.ax-page .hero.ax-hero>.film{grid-column:2;grid-row:1;position:relative;min-height:clamp(420px,40vw,640px);overflow:hidden;background:#d6dde2}
.ax-page .hero.ax-hero>.film :is(picture,img,video){position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.ax-page .hero.ax-hero>.proofbar{grid-column:1/-1;grid-row:2}

@media(max-width:900px){
.ax-page .hero.ax-hero:has(>.film){grid-template-columns:1fr}
.ax-page .hero.ax-hero>.film{grid-column:1;grid-row:2;min-height:0;height:62vw;max-height:520px;margin-top:40px}
.ax-page .hero.ax-hero>.proofbar{grid-row:3}
}
.ax-page [data-reveal],.ax-page [data-reveal-fade]{opacity:1!important;transform:none!important}
.ax-page :is(.ax-hero,.page-hero,.p-hero,.post-hero,.cap-hero) [data-reveal],
.ax-page :is(.ax-hero,.page-hero,.p-hero,.post-hero,.cap-hero) [data-reveal-fade],
.ax-page .blog-content[data-reveal],
.ax-page .blog-content[data-reveal-fade]{opacity:1!important;transform:none!important;transition:none!important}

/* Form controls. The blog index search sits in the first screen; without these
   rules it paints at the UA height and grows when the full sheet arrives. */
.ax-page :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){width:100%;max-width:640px;font:inherit;font-size:16px;color:var(--ax-ink);background:#fff;border:1px solid var(--ax-line);border-radius:0;padding:13px 14px}
.ax-page :is(input,select,textarea):focus{outline:2px solid var(--ax-ink);outline-offset:1px}
.ax-page label{display:block;font-size:13px;font-weight:500;color:var(--ax-ink);margin:0 0 6px}
.ax-page :is(input[name="_gotcha"],input[name="_honey"],input[name="company_url"]){position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}

/* Blog index rails are in the first mobile viewport. */
.ax-page :is(.blog-search,.gl-search,.ig-search input,.noa-search){max-width:520px}
.ax-page .blog-rails{padding-bottom:0}
.ax-page .blog-rail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:20px 6%;padding:36px 0;border-top:1px solid var(--ax-line)}
.ax-page .blog-rail:first-child{border-top:0;padding-top:0}
.ax-page .blog-rail-head{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ax-page .blog-rail-head h2{font-size:clamp(26px,2.4vw,38px);margin:0}
.ax-page .blog-rail-kicker{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--ax-soft)}
.ax-page .blog-rail-hub{font-size:13px;font-weight:550;border-bottom:1px solid #9aa6af;padding-bottom:3px}
.ax-page .blog-rail-list{list-style:none;padding:0;margin:0;max-width:none;border-top:1px solid var(--ax-line-soft)}
.ax-page .blog-rail-list li{margin:0}
.ax-page .blog-rail-card{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--ax-line-soft);color:var(--ax-ink)}
.ax-page .blog-rail-num{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ax-soft)}
.ax-page .blog-rail-card-flagship .blog-rail-num{color:var(--ax-red-text)}
.ax-page .blog-rail-card strong{font-size:17px;font-weight:500;letter-spacing:-.015em}
.ax-page .blog-rail-card time{font-size:12px;color:var(--ax-soft);white-space:nowrap}
.ax-page .blog-rail-card:hover strong{color:var(--ax-red-text)}
@media(max-width:900px){
.ax-page :is(.blog-rail,.gl-term){grid-template-columns:1fr}
.ax-page .blog-rail-card{grid-template-columns:1fr auto}
.ax-page .blog-rail-num{grid-column:1/-1}
}

/* The future-of-commercial-glazing hero image is in normal flow. Its width and
   height attributes reserve the box only while the request is pending; a failed
   response drops that ratio and the text below jumps up. The box ratio is the
   file's 1600x1066. Content is slightly taller (inline strut), so a loaded
   image is unchanged. */
.ax-page .post-hero-bg{aspect-ratio:1600/1066}
