/* Axemetric 40.8 - logo-led visual system. Loaded after the legacy layout bundle.
   Navy #141538, logo slate #737f85, white and cool neutral surfaces. */
:root{
 --font-display:"Aptos Display","Segoe UI",ui-sans-serif,system-ui,sans-serif;
 --font-body:"Aptos","Segoe UI",ui-sans-serif,system-ui,sans-serif;
 --font-utility:var(--font-body);
 --ax-bg:#f7f8fa;--ax-bg-alt:#eef0f4;--ax-bg-deep:#141538;
 --ax-surface:#f0f2f6;--ax-surface-raised:#fff;--ax-surface-soft:#e8ebf1;
 --ax-text:#191b32;--ax-text-muted:#596273;--ax-text-subtle:#657080;
 --ax-accent:#30345c;--ax-accent-hover:#141538;--ax-accent-soft:#e9ecf3;
 --ax-border:#dce0e8;--ax-border-strong:#a3aab7;--ax-warm:#737f85;
 --ax22-navy:#141538;--ax22-navy-2:#232647;--ax22-orange:#30345c;
 --ax22-orange-dark:#30345c;--ax22-orange-hover:#141538;--ax22-teal:#30345c;
 --ax22-teal-light:#d1d8e4;--ax22-brass:#737f85;--ax22-brass-dark:#596273;--ax22-brass-soft:#e9ecf3;
 --ax407-mint:#d1d8e4;--ax407-mint-strong:#737f85;--ax407-ink:#141538;--ax407-cream:#f7f8fa;
 --ax407-blue:#30345c;--ax-header-height:80px;--container:1240px;
 --ax407-shadow:0 22px 60px rgb(20 21 56 / .09);--ax407-shadow-soft:0 10px 30px rgb(20 21 56 / .05);
}
html[data-ax-theme="dark"]{
 --ax-bg:#101124;--ax-bg-alt:#16182f;--ax-bg-deep:#101124;--ax-surface:#1c1f38;
 --ax-surface-raised:#20233d;--ax-surface-soft:#282c47;--ax-text:#f3f5fa;
 --ax-text-muted:#bcc3d2;--ax-text-subtle:#acb6c8;--ax-accent:#d1d8e4;--ax-accent-hover:#fff;
 --ax-accent-soft:#292d4b;--ax-border:#373d57;--ax-border-strong:#717c96;
 --ax22-orange:#d1d8e4;--ax22-orange-dark:#d1d8e4;--ax22-orange-hover:#fff;--ax22-teal:#d1d8e4;
 --ax22-teal-light:#d1d8e4;--ax22-navy:#101124;--ax22-navy-2:#1c1f38;
}
html body{font-family:var(--font-body);font-size:16px;line-height:1.7}
html body .site-main :is(h1,h2,h3,h4){font-family:var(--font-display)!important;letter-spacing:-.035em!important;font-weight:650!important;text-wrap:balance}
html body .site-main h1{font-size:clamp(2.5rem,4.65vw,4.5rem)!important;line-height:1.09!important}
html body .site-main h2{font-size:clamp(1.9rem,3.1vw,3rem)!important;line-height:1.16!important}
html body .site-main h3{line-height:1.25!important}
html body .site-main :is(.ax407-hero__copy,.ax22-inner-hero__grid,.axg-inner-hero__grid,.ax22-portfolio-hero__copy) > p{font-size:1.0625rem!important;line-height:1.8!important}
html body :is(.ax-kicker,.ax22-kicker,.ax40-contact-eyebrow){font-size:.75rem!important;line-height:1.6;letter-spacing:.13em;font-weight:700}
html body :is(.ax-kicker,.ax22-kicker):before{width:24px;height:2px;flex-shrink:0}
html body :is(.ax22-section,.ax-section){padding-block:clamp(64px,6.5vw,100px)!important}
html body :is(.ax22-button,.ax-button,.button,.wp-element-button){border-radius:9px!important;font-size:.875rem!important;line-height:1.4;min-height:48px;letter-spacing:0!important;font-weight:650!important;box-shadow:none!important}
html body :is(.ax22-button,.ax-button):hover{transform:translateY(-2px);box-shadow:0 7px 18px rgb(20 21 56 / .12)!important}
html body :is(.ax22-button--orange,.ax22-button--teal,.ax-button--electric){color:#fff!important;background:#30345c!important;border-color:#30345c!important}
html body :is(.ax22-button--orange,.ax22-button--teal,.ax-button--electric):hover{background:#141538!important;border-color:#141538!important}
html body :is(a,button,input,textarea,select,[tabindex]):focus-visible{outline:3px solid #8797bd!important;outline-offset:4px}
/* A bright, legible masthead gives the logo room to breathe. */
html body .site-header{background:rgb(255 255 255 / .98)!important;color:#141538!important;border-bottom:1px solid #e4e7ee!important;box-shadow:none!important}
html body .site-header.is-scrolled{box-shadow:0 6px 25px rgb(20 21 56 / .06)!important}
html body .header__inner{min-height:80px!important;gap:24px}
html body .site-header .brand__mark{width:44px;height:44px;flex-basis:44px;border:0!important;border-radius:0!important;background:#fff}
html body .site-header .brand__mark img{object-fit:contain}
html body .site-header .brand__copy strong{font-size:.85rem;color:#141538!important;letter-spacing:.17em}
html body .site-header .brand__copy small{display:block;color:#737f85!important;font-size:.625rem;letter-spacing:.34em;margin-top:3px}
html body .site-header .nav a{color:#535b6d!important;font-size:.875rem!important;padding:9px 10px;font-weight:550}
html body .site-header .nav a:hover,html body .site-header .nav :is(.current-menu-item,.current_page_item)>a{color:#141538!important;background:#eef0f5!important}
html body .site-header :is(.ax-icon-button,.menu-toggle){color:#141538!important;background:transparent!important;border-color:#dce0e8!important}
html body .site-header .ax22-button--small{font-size:.8125rem!important;min-height:42px;padding:10px 14px}
/* Home: large editorial photograph paired with clear, restrained copy. */
html body .ax408-home .ax407-hero{min-height:0;background:#f7f8fa!important;color:#191b32;border-bottom:1px solid #e2e6ee}
html body .ax408-home .ax407-hero:before{content:"";position:absolute;inset:0;background:url('../images/brand-circuit.svg') right top / 700px auto no-repeat;opacity:.42;pointer-events:none}
html body .ax408-home .ax407-hero__glow{display:none}
html body .ax408-home .ax407-hero__grid{min-height:680px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;padding-block:72px 88px}
html body .ax408-home .ax407-hero__copy h1{max-width:620px;color:#141538!important;font-size:clamp(3rem,4.7vw,4.6rem)!important;line-height:1.06!important;letter-spacing:-.05em!important}
html body .ax408-home .ax407-hero__copy>p{color:#596273!important;margin-top:24px;max-width:570px}
html body .ax408-home .ax407-hero .ax22-kicker{color:#596273!important;letter-spacing:.12em}
html body .ax408-home .ax407-hero__actions{display:flex;gap:12px;flex-wrap:wrap}
html body .ax408-home .ax407-hero__actions .ax22-button--outline-light{color:#30345c!important;border:1px solid #c4cbd7!important;background:transparent!important}
html body .ax408-home .ax407-hero__actions .ax22-button--outline-light:hover{background:#fff!important}
html body .ax408-home .ax407-hero__microproof{gap:12px 20px}
html body .ax408-home .ax407-hero__microproof span{font-size:.8125rem;color:#596273}
html body .ax408-home .ax407-hero__microproof svg{color:#737f85}
.ax408-hero-visual{position:relative;margin:0 0 25px;min-width:0;isolation:isolate}
.ax408-hero-visual:before{content:"";position:absolute;inset:24px -18px -24px 24px;background:#e4e8ef;border-radius:16px;z-index:-1}
.ax408-hero-visual:after{content:"";position:absolute;inset:0 0 36px;border-radius:16px;background:linear-gradient(180deg,transparent 38%,rgb(12 14 35 / .8));pointer-events:none}
.ax408-hero-visual__photo{width:100%;height:470px;object-fit:cover;object-position:48% 50%;border-radius:16px}
.ax408-hero-visual__caption{position:absolute;z-index:1;left:30px;right:30px;bottom:124px;color:#fff}
.ax408-hero-visual__caption span{display:block;font-size:.8125rem;color:#e0e6ef;margin-bottom:8px}
.ax408-hero-visual__caption strong{display:block;max-width:340px;font-size:1.85rem;font-weight:600;line-height:1.2;letter-spacing:-.02em}
.ax408-presence-strip{position:relative;z-index:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:-36px 18px 0;padding:22px 8px;border:1px solid #e0e4ec;border-radius:12px;background:#fff;box-shadow:0 15px 35px rgb(20 21 56 / .12)}
.ax408-presence-strip span{display:flex;align-items:center;flex-direction:column;gap:10px;padding-inline:5px;border-right:1px solid #e5e8ef;text-align:center}
.ax408-presence-strip span:last-child{border:0}.ax408-presence-strip svg{width:23px;height:23px;color:#737f85}.ax408-presence-strip b{font-size:.75rem;font-weight:600;color:#30345c;line-height:1.4}
/* Make the rest of the homepage a series of distinct, quieter compositions. */
html body .ax407-proofbar{background:#141538;border-color:#30334c}
html body .ax407-proofbar span{color:#e0e4ef;font-size:.8125rem;border-color:#383b56;min-height:76px}
html body .ax407-proofbar b{color:#c9d2df;background:transparent;border:1px solid #515971;border-radius:50%;width:30px;height:30px;font-size:.75rem}
html body :is(.ax407-contrast,.ax407-presence,.ax407-demos,.ax407-founder,.ax407-faq){padding-block:clamp(64px,7vw,104px);background:var(--ax-bg)}
html body :is(.ax407-presence,.ax407-founder){background:var(--ax-surface-raised)}
html body .ax407-section-head{gap:44px;margin-bottom:42px}
html body .ax407-section-head--center{gap:18px}
html body .ax407-section-head h2{color:var(--ax-text)!important}
html body .ax407-section-head>p{color:var(--ax-text-muted);font-size:1rem}
html body .ax407-state{padding:22px;border-radius:14px;border-color:var(--ax-border);background:var(--ax-surface-raised);box-shadow:none}
html body .ax407-state__canvas{min-height:230px;border-radius:9px}
html body .ax407-state__top :is(span,b){font-size:.875rem;color:var(--ax-text)}
html body .ax407-state li{font-size:.875rem;color:var(--ax-text-muted)}
html body .ax407-broken-chip,html body .ax407-good-chip{font-size:.75rem}
html body .ax407-layer-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
html body .ax407-layer-card{grid-column:span 2;min-height:270px;padding:28px;border:1px solid var(--ax-border);border-radius:12px;background:var(--ax-bg);box-shadow:none}
html body .ax407-layer-card:nth-child(-n+2){grid-column:span 3;min-height:300px}
html body .ax407-layer-card:nth-child(1){background:#141538;color:#fff;border-color:#141538}
html body .ax407-layer-card:nth-child(1) :is(h3,strong,p,.ax407-layer-card__top span){color:#e6eaf2!important}
html body .ax407-layer-card:nth-child(1) .ax407-layer-card__top i{background:#303450;color:#dce3ef}
html body .ax407-layer-card h3{color:var(--ax-text);font-size:1.45rem!important}
html body .ax407-layer-card strong{font-size:1rem;color:var(--ax-text)}
html body .ax407-layer-card p{font-size:1rem;color:var(--ax-text-muted);max-width:450px}
html body .ax407-layer-card__top span{font-size:.8125rem;color:var(--ax-text-muted)}
html body .ax407-layer-card__top i{background:var(--ax-surface-soft);color:#737f85;border-radius:12px;width:48px;height:48px}
html body .ax407-layer-card__visual{opacity:.5;height:48px;margin-top:22px}
html body :is(.ax407-process,.ax407-data,.ax407-audit){padding-block:clamp(64px,7vw,104px);background:#141538;color:#fff}
html body :is(.ax407-process,.ax407-data,.ax407-audit) :is(h2,h3){color:#fff}
html body :is(.ax407-process__copy,.ax407-data__copy,.ax407-audit__copy)>p{font-size:1rem;color:#c1c8d7}
html body .ax407-process-board{border-color:#484c66;background:#1c2041;border-radius:14px}
html body .ax407-process-board__rail button{font-size:.8125rem;color:#d3d9e6}
html body .ax407-process-board__rail button span{font-size:.75rem}
html body .ax407-process-board__rail button.is-active{background:#d6dde8;color:#141538}
html body .ax407-process-panel :is(small,p){font-size:1rem;color:#c1c8d7}
html body .ax407-process-panel>div span{font-size:.8125rem;color:#dce3ef;background:#303450;border-color:#515971}
html body .ax407-demo-card{border-radius:12px;background:var(--ax-surface-raised);border-color:var(--ax-border);box-shadow:var(--ax407-shadow-soft)}
html body .ax407-demo-card__meta{padding:24px}
html body .ax407-demo-card__meta h3{color:var(--ax-text);font-size:1.25rem!important}
html body .ax407-demo-card__meta :is(span,b){font-size:.8125rem;color:var(--ax-text-muted)}
html body .ax407-data__stats article span{font-size:.9375rem;color:#c1c8d7}
html body .ax407-data__donut p{font-size:.875rem;color:#c1c8d7}
html body .ax407-founder__portrait{border-radius:16px;background:#edf0f5;border-color:#dce0e8}
html body .ax407-founder__portrait>div>svg{width:150px;height:150px}
html body .ax407-founder__portrait>div>strong{color:#141538}
html body .ax407-founder__portrait>div>span{color:#596273;font-size:.875rem}
html body .ax407-founder__copy h2{color:var(--ax-text)}
html body .ax407-founder__copy :is(p,strong){color:var(--ax-text-muted);font-size:1rem}
html body .ax407-founder__skill{border-color:#dce0e8;border-radius:10px;background:#fff}
html body .ax407-founder__skill :is(small,strong){font-size:.8125rem;color:#30345c}
html body .ax407-founder__timeline span{font-size:.8125rem;color:var(--ax-text-muted)}
html body .ax407-faq__graphic{display:none}
html body .faq-item{background:var(--ax-surface-raised)!important;border:1px solid var(--ax-border)!important;border-radius:10px!important;margin-bottom:12px}
html body .faq-item button{color:var(--ax-text)!important;padding:22px!important;font-size:1rem!important;line-height:1.5;gap:16px}
html body .faq-item p{color:var(--ax-text-muted)!important;font-size:1rem!important;line-height:1.8}
html body .ax407-audit__cta{border:1px solid #4a4e67;border-radius:14px;background:#202443;box-shadow:none}
html body .ax407-audit__cta-head h3{font-size:1.65rem!important;color:#fff!important}
html body .ax407-audit__cta-head p{font-size:1rem;color:#c1c8d7}
html body .ax407-audit__cta-head small,html body .ax407-audit__preview span,html body .ax407-audit__preview b{font-size:.8125rem;color:#d1d8e4}
html body .ax407-audit__copy li{font-size:.875rem;color:#d1d8e4}
html body .ax407-audit__cta .ax22-button{background:#edf0f5!important;color:#141538!important;border-color:#edf0f5!important}
/* Shared inner pages: measured headings, richer imagery, aligned surface styles. */
html body :is(.ax22-inner-hero,.ax22-portfolio-hero,.ax22-project-hero,.axg-inner-hero,.ax-page-hero,.axb-blog-hero,.axa-hero,.axr-hero,.axu-hero,.axc-hero,.axf-hero){background:#141538!important}
html body .ax-context-hero-media{filter:saturate(.4)!important;background-image:linear-gradient(90deg,#141538 0%,rgb(20 21 56 / .92) 30%,rgb(20 21 56 / .5) 100%),var(--ax-context-hero-image)!important;background-size:cover!important;background-position:center,var(--ax-context-hero-position,center)!important}
html body .ax22-background-grid{opacity:.22;background-image:url('../images/brand-circuit.svg')!important;background-size:680px 520px!important;background-position:right center}
html body :is(.ax22-inner-hero__grid,.axg-inner-hero__grid,.ax22-portfolio-hero__grid){padding-block:72px!important;gap:64px!important}
html body :is(.ax22-system-chain,.ax22-portfolio-standard,.ax22-founder-card,.axg-inner-hero__card,.ax22-audit-scope){border:1px solid #4a4e67!important;border-radius:14px!important;box-shadow:0 20px 60px rgb(0 0 0 / .12)!important}
html body .ax22-system-chain li{padding-block:18px}
html body .ax22-system-chain :is(small,em){font-size:.8125rem;line-height:1.6}
html body :is(.ax22-service-detail__intro,.ax22-story__headline,.ax22-delivery__copy) h2{font-size:clamp(1.85rem,2.65vw,2.7rem)!important}
html body .ax22-service-detail__scope{box-shadow:var(--ax407-shadow-soft)!important;border-radius:12px!important}
html body .ax22-service-detail__scope:before{display:none}
html body .ax22-service-detail__scope :is(.ax22-label,li){font-size:1rem!important}
html body .ax22-service-index{background:var(--ax-surface-raised)!important;border-color:var(--ax-border)!important}
html body .ax22-service-index a{font-size:.875rem;color:var(--ax-text)}
html body .axg-price-card{border-radius:14px!important;border-color:var(--ax-border)!important;box-shadow:var(--ax407-shadow-soft)!important}
html body .axg-price-card--featured{border:2px solid #737f85!important;box-shadow:0 20px 45px rgb(20 21 56 / .09)!important}
html body .axg-price-card h3{font-size:1.45rem!important}
html body .axg-price-card :is(p,li){font-size:1rem!important}
html body .axp-card,html body .axb-blog-card{border-radius:12px!important;border-color:var(--ax-border)!important;box-shadow:var(--ax407-shadow-soft)!important}
html body :is(.axp-card__body,.axb-blog-card__body){padding:24px!important}
html body :is(.axp-card__media,.axb-blog-card__media){aspect-ratio:16/10}
html body :is(.axp-card__media,.axb-blog-card__media) img{width:100%;height:100%;object-fit:cover}
html body :is(.axb-blog-card__body,.axp-card__body) h3{font-size:1.35rem!important}
html body :is(.axb-blog-card__body,.axp-card__body) p{font-size:1rem!important}
html body :is(.ax22-compact-cta,.axg-final){background:var(--ax-surface-soft)!important;border-color:var(--ax-border)!important}
html body .ax22-compact-cta :is(h2,p){color:var(--ax-text)!important}
html body .ax40-contact-card{border-radius:16px!important;border-color:var(--ax-border)!important;box-shadow:var(--ax407-shadow)!important}
html body :is(.ax40-contact-stage,.ax40-contact-orbit){background-color:var(--ax-bg)!important}
html body .ax40-contact-intro h1{color:var(--ax-text)!important}
html body .ax40-wizard :is(input,textarea,select){font-size:1rem!important;border-radius:8px!important}
html body .ax40-choice-grid label>span{font-size:.9375rem!important;line-height:1.5}
html body .footer{background:#101124!important;border-top:1px solid #363b55!important}
html body .footer :is(p,a){font-size:.9375rem}
html body .footer :is(h2,h3,.brand__copy strong){color:#f3f5fa!important}
html body .footer .brand__copy small{font-size:.75rem;color:#c1c8d7}
html body .footer :is(.footer__grid,.footer__top,.footer__bottom){border-color:#363b55!important}
/* Dark-mode surfaces follow the same brand without losing text contrast. */
html[data-ax-theme="dark"] body .ax408-home .ax407-hero{background:#101124!important}
html[data-ax-theme="dark"] body .ax408-home .ax407-hero__copy h1{color:#f3f5fa!important}
html[data-ax-theme="dark"] body .ax408-home .ax407-hero :is(.ax22-kicker,.ax407-hero__copy>p,.ax407-hero__microproof span){color:#bcc3d2!important}
html[data-ax-theme="dark"] body .ax408-home .ax407-hero__actions .ax22-button--outline-light{color:#d1d8e4!important;border-color:#58647f!important}
html[data-ax-theme="dark"] body .ax408-home .ax407-hero__actions .ax22-button--outline-light:hover{background:#20233d!important}
html[data-ax-theme="dark"] body :is(.ax22-button--orange,.ax-button--electric){background:#d1d8e4!important;color:#141538!important;border-color:#d1d8e4!important}
html[data-ax-theme="dark"] body .ax407-faq h2{color:#f3f5fa!important}
@media(min-width:901px) and (max-width:1180px){
 html body .header__inner{gap:12px}.site-header .brand__copy{display:none!important}
 html body .site-header .nav a{font-size:.8125rem!important;padding:9px 7px}
 html body .ax408-home .ax407-hero__grid{gap:40px}
}
@media(max-width:1024px){
 html body .ax408-home .ax407-hero__grid{gap:32px;min-height:0}
 html body .ax408-home .ax407-hero__copy h1{font-size:clamp(2.7rem,5vw,3.4rem)!important}
 .ax408-hero-visual__photo{height:460px}
 html body .ax407-layer-card{grid-column:span 3!important}
 html body .ax407-layer-card:last-child{grid-column:span 6!important;min-height:0}
 html body .ax407-process__grid,html body .ax407-audit__grid{grid-template-columns:1fr;gap:36px}
 html body :is(.ax22-inner-hero__grid,.axg-inner-hero__grid,.ax22-portfolio-hero__grid){gap:36px!important}
}
@media(max-width:900px){
 :root{--ax-header-height:72px}html body .header__inner{min-height:72px!important}
 html body .site-header .nav{background:#fff!important;color:#141538!important;top:72px!important;padding-top:24px!important}
 html body .site-header .nav a{font-size:1.125rem!important;color:#30345c!important;border-color:#e1e5ed!important;min-height:48px}
 html body .site-header .nav .nav__mobile-cta{color:#fff!important;background:#30345c!important;font-size:.9375rem!important}
 html body .nav__mobile-head :is(strong,small){color:#30345c!important}
 html body .ax408-home .ax407-hero__grid{grid-template-columns:1fr;gap:40px;padding-block:48px 56px}
 html body .ax408-home .ax407-hero__copy h1{font-size:clamp(2.8rem,7.3vw,4rem)!important;max-width:650px}
 html body .ax408-home .ax407-hero__copy{max-width:680px}
 .ax408-hero-visual{max-width:680px;width:100%;margin-bottom:24px}
 .ax408-hero-visual__photo{height:440px}
 html body .ax407-section-head{grid-template-columns:1fr;gap:20px}
 html body .ax407-proofbar .ax22-container{grid-template-columns:repeat(2,1fr)}
 html body .ax407-proofbar span{border-bottom:1px solid #383b56}
 html body .ax407-faq__grid{grid-template-columns:1fr;gap:30px}
 html body .ax407-founder__grid,html body .ax407-data__grid{grid-template-columns:1fr;gap:40px}
 html body :is(.ax22-inner-hero__grid,.axg-inner-hero__grid,.ax22-portfolio-hero__grid){grid-template-columns:1fr!important;padding-block:48px!important}
}
@media(max-width:600px){
 html body :is(.ax-container,.ax22-container,.container){width:calc(100% - 36px)}
 html body .site-header .brand__copy strong{font-size:.75rem;letter-spacing:.13em}
 html body .site-header .brand__mark{width:36px;height:36px;flex-basis:36px}
 html body .site-header .brand{gap:8px}
 html body .site-main h1{font-size:clamp(2.2rem,9vw,3rem)!important}
 html body .site-main h2{font-size:clamp(1.8rem,7.2vw,2.4rem)!important}
 html body .ax408-home .ax407-hero__copy h1{font-size:clamp(2.55rem,10.5vw,3.6rem)!important}
 html body .ax408-home .ax407-hero__actions{display:grid;grid-template-columns:1fr}
 html body .ax408-home .ax407-hero__actions a{width:100%}
 html body .ax408-home .ax407-hero__microproof{gap:9px 15px}
 .ax408-hero-visual__photo{height:360px}
 .ax408-hero-visual:before{inset:16px -8px -18px 16px}
 .ax408-hero-visual__caption{left:22px;bottom:114px;right:22px}
 .ax408-hero-visual__caption strong{font-size:1.6rem}
 .ax408-presence-strip{margin-inline:8px;padding:16px 3px}
 .ax408-presence-strip span{padding-inline:3px;gap:7px}.ax408-presence-strip b{font-size:.75rem;overflow-wrap:normal}
 .ax408-presence-strip svg{width:20px;height:20px}
 html body .ax407-proofbar .ax22-container{width:100%}
 html body .ax407-proofbar span{font-size:.75rem;gap:8px;min-height:66px;padding:12px 16px}
 html body .ax407-proofbar b{width:24px;height:24px;flex-shrink:0}
 html body .ax407-before-after{grid-template-columns:1fr;gap:18px}
 html body .ax407-transform{transform:rotate(90deg);height:36px}
 html body .ax407-state{padding:18px}.ax407-state ul{grid-template-columns:1fr!important}
 html body .ax407-layer-grid{grid-template-columns:1fr}
 html body .ax407-layer-card,html body .ax407-layer-card:nth-child(n){grid-column:auto!important;min-height:0;padding:26px}
 html body .ax407-process-board__rail button{padding-inline:6px;font-size:.75rem}
 html body .ax407-process-panel{padding:24px!important}
 html body .ax407-demo-grid{grid-template-columns:1fr}
 html body .ax407-founder__skill{padding:10px 12px}
 html body .ax407-audit__preview{grid-template-columns:repeat(2,1fr)}
 html body .ax407-audit__cta{padding:24px}
 html body .footer__grid{gap:30px!important}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 html body *,html body *:before,html body *:after{animation:none!important;transition:none!important}
}

/* Photographic layout previews when no portfolio records are available. */
.ax408-demo-preview{position:relative;height:270px;overflow:hidden;background:#141538}
.ax408-demo-preview>img{width:100%;height:100%;object-fit:cover;opacity:.45}
.ax408-demo-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgb(20 21 56 / .85),transparent)}
.ax408-demo-preview>div{position:absolute;z-index:1;inset:28px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;color:#fff}
.ax408-demo-preview small{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase}
.ax408-demo-preview strong{font-size:1.9rem;line-height:1.1;max-width:210px;letter-spacing:-.03em}
.ax408-demo-preview span{font-size:.75rem;padding:8px 12px;background:#fff;color:#141538;border-radius:5px}
.ax407-demo-card:nth-child(2) .ax408-demo-preview{background:#4c5f69}
.ax407-demo-card:nth-child(3) .ax408-demo-preview{background:#403b32}
/* Keep display-scale headings out of compact sidebars and long-form articles. */
html body .site-main :is(.ax22-founder-card,.ax22-audit-scope,.axg-inner-hero__card) h2{font-size:1.85rem!important;line-height:1.2!important}
html body .site-main :is(.ax-entry-content,.entry-content,.ax22-project-story__content) h2{font-size:clamp(1.6rem,2.5vw,2.1rem)!important;line-height:1.3!important}
html body .site-main :is(.ax-entry-content,.entry-content,.ax22-project-story__content) :is(p,li){font-size:1rem!important;line-height:1.85!important}
html body .ax22-label{font-size:.75rem!important}
/* Compact privacy controls and quick actions in the same visual language. */
html body .site-header .brand__mark,html body .site-header .brand__mark img{box-shadow:none!important;filter:none!important}
html body .site-header .menu-toggle__label{color:#141538!important}
html body .ax-cookie-banner{left:24px!important;right:auto!important;bottom:24px!important;transform:none!important;width:min(460px,calc(100% - 48px))!important;max-width:460px!important;display:grid;grid-template-columns:1fr!important;gap:14px!important;padding:22px!important;border:1px solid #dce0e8!important;border-radius:12px!important;color:#30345c!important;background:#fff!important;box-shadow:0 12px 45px rgb(20 21 56 / .16)!important}
html body .ax-cookie-banner[hidden]{display:none!important}
html body .ax-cookie-banner__copy strong{color:#141538!important;font-size:1rem!important}
html body .ax-cookie-banner__copy p{color:#596273!important;font-size:.875rem!important;line-height:1.65!important;margin-top:7px}
html body .ax-cookie-banner__copy a{color:#30345c!important}
html body .ax-cookie-banner__actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
html body .ax-cookie-button{border:1px solid #b8c1d0!important;border-radius:7px!important;background:#fff!important;color:#30345c!important;min-height:44px;font-size:.8125rem!important;padding:10px!important}
html body .ax-cookie-button:hover{background:#eef0f5!important}
html body .ax-floating-tools{display:flex!important;flex-direction:row!important;gap:8px!important;right:24px!important;bottom:24px!important}
html body .ax-floating-contact{color:#fff!important;background:#30345c!important;border-color:#535b7a!important}
html body.nav-open .ax-floating-tools,html body.ax-cookie-visible .ax-floating-tools{visibility:hidden!important;pointer-events:none!important}
@media(max-width:600px){
 html body .ax-cookie-banner{left:12px!important;bottom:12px!important;width:calc(100% - 24px)!important;padding:18px!important;gap:12px!important}
 html body .ax-floating-tools{right:16px!important;bottom:16px!important}
}
/* Legacy quick-action buttons positioned themselves independently on phones. */
html body .ax-floating-tools> :is(a,button){position:static!important;inset:auto!important;transform:none!important;margin:0!important;flex:0 0 auto}
html body .ax-floating-tools>[hidden]{display:none!important}
html body .footer *,html body .site-main .ax40-wizard,html body .site-main .ax40-wizard *{font-family:var(--font-body)!important}
html body .ax-floating-tools>.ax-back-to-top:not(.is-visible){display:none!important}

/* 40.8.1 - Portfolio becomes a vertical home-service demo library. */
.ax408-demo-index{background:var(--ax-bg)!important}
.ax408-demo-index__head{display:grid;grid-template-columns:minmax(0,.8fr) minmax(320px,.48fr);gap:64px;align-items:end;margin-bottom:34px;padding-bottom:30px;border-bottom:1px solid var(--ax-border)}
.ax408-demo-index__head h2{margin:0;max-width:700px;color:var(--ax-text)!important}
.ax408-demo-index__head>p{margin:0;color:var(--ax-text-muted);font-size:1rem;line-height:1.75}
.ax408-demo-list{display:grid;border-top:1px solid var(--ax-border)}
.ax408-demo-row{position:relative;display:grid;grid-template-columns:58px minmax(330px,.92fr) minmax(0,1fr);gap:34px;align-items:center;padding:42px 0;border-bottom:1px solid var(--ax-border)}
.ax408-demo-row__number{align-self:start;padding-top:12px;color:#8b93a2;font-size:.72rem;font-weight:700;letter-spacing:.14em;font-variant-numeric:tabular-nums}
.ax408-demo-row__visual{display:block;min-width:0;border:1px solid var(--ax-border);border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 14px 38px rgb(20 21 56 / .08);text-decoration:none;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.ax408-demo-row__visual:hover{transform:translateY(-4px);border-color:#bec5d1;box-shadow:0 20px 46px rgb(20 21 56 / .12)}
.ax408-browser-bar{height:34px;display:flex;align-items:center;gap:6px;padding:0 11px;background:#f0f2f6;border-bottom:1px solid #e0e4eb;color:#7d8696}
.ax408-browser-bar i{width:7px;height:7px;border-radius:50%;background:#aab1bd;flex:0 0 auto}
.ax408-browser-bar span{min-width:0;margin-left:5px;padding:3px 9px;border-radius:5px;background:#fff;color:#848c9a;font-size:.61rem;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ax408-demo-row__screen{position:relative;aspect-ratio:16/9;overflow:hidden;background:#e9ecf2}
.ax408-demo-row__screen img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .35s ease}
.ax408-demo-row__visual:hover .ax408-demo-row__screen img{transform:scale(1.018)}
.ax408-demo-row__placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;padding:10%;background:linear-gradient(135deg,#141538 0%,#25284d 62%,#737f85 160%);color:#fff}
.ax408-demo-row__placeholder span{font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#cdd4df}
.ax408-demo-row__placeholder strong{margin-top:10px;font-size:clamp(1.4rem,3vw,2.25rem);line-height:1.05;font-weight:600}
.ax408-demo-row__placeholder b{display:block;width:76%;height:7px;margin-top:18px;border-radius:99px;background:rgb(255 255 255 / .17)}
.ax408-demo-row__placeholder b:nth-last-child(2){width:61%;margin-top:8px}
.ax408-demo-row__placeholder b:last-child{width:40%;height:30px;margin-top:20px;background:#f3f5f8}
.ax408-demo-row__content{min-width:0;padding-right:18px}
.ax408-demo-row__eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:9px 12px;margin-bottom:14px}
.ax408-demo-row__eyebrow span{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid #cdd3dd;border-radius:999px;background:#fff;color:#30345c;font-size:.68rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
.ax408-demo-row__eyebrow small{color:#7a8391;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
html body .ax408-demo-row h3{margin:0;color:var(--ax-text)!important;font-size:clamp(1.6rem,2.4vw,2.3rem)!important;line-height:1.12!important}
.ax408-demo-row h3 a{color:inherit;text-decoration:none}
.ax408-demo-row h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.ax408-demo-row__content>p{max-width:650px;margin:16px 0 0;color:var(--ax-text-muted);font-size:.96rem;line-height:1.78}
.ax408-demo-row__services{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px 13px;align-items:baseline;margin-top:20px;padding-top:17px;border-top:1px solid var(--ax-border)}
.ax408-demo-row__services small{color:#7a8391;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ax408-demo-row__services span{color:#3e4658;font-size:.84rem;line-height:1.55}
.ax408-demo-row__actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-top:24px}
.ax408-demo-row__actions .ax22-button{min-height:44px!important;padding:11px 15px!important}
.ax408-demo-row__live{display:inline-flex;align-items:center;gap:7px;color:#30345c;font-size:.82rem;font-weight:700;text-decoration:none}
.ax408-demo-row__live:hover{text-decoration:underline;text-underline-offset:4px}
.ax408-demo-row__live span{font-size:1rem}
.ax408-demo-pagination{margin-top:42px}
.ax408-demo-pagination ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.ax408-demo-pagination a,.ax408-demo-pagination span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--ax-border);border-radius:8px;background:#fff;color:#30345c;text-decoration:none;font-size:.82rem;font-weight:700}
.ax408-demo-pagination .current{background:#141538;color:#fff;border-color:#141538}
html[data-ax-theme="dark"] body .ax408-demo-row__visual,html[data-ax-theme="dark"] body .ax408-demo-row__eyebrow span,html[data-ax-theme="dark"] body .ax408-demo-pagination a{background:var(--ax-surface-raised);border-color:var(--ax-border)}
html[data-ax-theme="dark"] body .ax408-browser-bar{background:#282c47;border-color:#373d57}
html[data-ax-theme="dark"] body .ax408-browser-bar span{background:#20233d;color:#bcc3d2}
html[data-ax-theme="dark"] body .ax408-demo-row__services span,html[data-ax-theme="dark"] body .ax408-demo-row__live,html[data-ax-theme="dark"] body .ax408-demo-row__eyebrow span{color:#d1d8e4}
@media(max-width:1024px){
 .ax408-demo-row{grid-template-columns:44px minmax(300px,.9fr) minmax(0,1fr);gap:24px}
 .ax408-demo-row__content{padding-right:0}
}
@media(max-width:800px){
 .ax408-demo-index__head{grid-template-columns:1fr;gap:18px;margin-bottom:24px}
 .ax408-demo-row{grid-template-columns:36px minmax(0,1fr);gap:18px 16px;padding:34px 0}
 .ax408-demo-row__number{grid-column:1;grid-row:1 / span 2}
 .ax408-demo-row__visual{grid-column:2;grid-row:1}
 .ax408-demo-row__content{grid-column:2;grid-row:2}
}
@media(max-width:560px){
 .ax408-demo-row{grid-template-columns:1fr;gap:16px;padding:28px 0}
 .ax408-demo-row__number{grid-column:1;grid-row:auto;padding-top:0}
 .ax408-demo-row__visual,.ax408-demo-row__content{grid-column:1;grid-row:auto}
 .ax408-demo-row__screen{aspect-ratio:4/3}
 .ax408-demo-row__services{grid-template-columns:1fr;gap:4px}
 .ax408-demo-row__actions{align-items:stretch;display:grid;grid-template-columns:1fr}
 .ax408-demo-row__actions .ax22-button{width:100%;justify-content:center}
 .ax408-demo-row__live{justify-content:center;min-height:42px}
}
