/* ARM Electrix Phase 4: scoped staging presentation; original theme remains. */
.ae-overhaul .ae-copy{max-width:1200px;margin:auto;color:#0C4B94}
.ae-overhaul h1,.ae-overhaul h2,.ae-overhaul h3{color:#0C4B94;overflow-wrap:break-word}
.ae-overhaul h1{font-size:clamp(2rem,3.4vw,3.2rem);line-height:1.12;max-width:24ch;margin-bottom:1.5rem}
.ae-overhaul h2{font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.2;margin:2.25rem 0 1rem}
.ae-overhaul h3{font-size:1.35rem;line-height:1.3}
.ae-overhaul p,.ae-overhaul li{line-height:1.7;font-size:1.05rem}
.ae-overhaul .ae-copy>p{max-width:78ch}
.ae-overhaul a:not(.w-btn){text-underline-offset:.2em}
.ae-overhaul .ae-button{margin:.5rem .8rem .5rem 0;min-height:48px;display:inline-flex;align-items:center;text-decoration:none}
.ae-overhaul a:focus-visible,.ae-overhaul input:focus-visible,.ae-overhaul textarea:focus-visible{outline:3px solid #CA151B;outline-offset:4px}
.ae-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:1.75rem 0}
.ae-cards article{border-top:4px solid #CA151B;padding:1.5rem;background:#fff;box-shadow:0 2px 14px #0c4b9410;border-radius:0 0 12px 12px;min-width:0}
.ae-cards h3 a{color:#0C4B94;text-decoration:none}
.ae-text-link{display:inline-flex;align-items:center;min-height:44px;gap:.5rem;font-weight:600}
.ae-pale{background:#F1F4F9}
.ae-split,.ae-enquiry{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.ae-enquiry{align-items:start}
.ae-enquiry-row{background:#0C4B94}
.ae-enquiry-row .ae-copy,.ae-enquiry-row h2,.ae-enquiry-row a,.ae-enquiry-row label{color:#fff}
.ae-enquiry-row .ff-el-form-control{color:#222;background:#fff}
.ae-enquiry-row .ff-el-form-check-label a{color:#fff;text-decoration:underline}
.ae-related{border-top:1px solid #d9e2ee;margin-top:2.5rem;padding-top:.5rem}
.ae-related ul{display:flex;flex-wrap:wrap;gap:.5rem 2rem;padding-left:1.2rem}
.ae-related li a{display:inline-block;min-height:44px;padding:.4rem 0}
.ae-hero .l-section-h{padding-top:5rem!important;padding-bottom:5rem!important}
.ae-hero .w-text h1,.ae-hero h1{font-size:clamp(2rem,4.3vw,4rem)!important;max-width:22ch!important;line-height:1.08!important;color:#fff!important}
.ae-hero p{max-width:60ch!important;font-size:1.2rem!important}
.ae-hero .w-btn{background:#CA151B;color:#fff}
.ae-hero .wpb_text_column .w-btn{background:#fff;color:#0C4B94}
body.ae-phase4 .l-footer .l-section:first-child .l-section-h{padding-top:4rem!important}
body.ae-phase4 .l-titlebar{display:none}
@media(max-width:900px){.ae-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-split,.ae-enquiry{grid-template-columns:1fr;gap:2rem}.ae-hero .l-section-h{padding-top:3rem!important;padding-bottom:3rem!important}}
@media(max-width:600px){.ae-cards{grid-template-columns:1fr;gap:1rem}.ae-overhaul .ae-copy{max-width:100%;overflow-wrap:anywhere}.ae-overhaul .ae-button{width:100%;justify-content:center;margin:.5rem 0}.ae-hero .l-section-h{padding-top:2rem!important;padding-bottom:2.5rem!important}.ae-overhaul h2{margin-top:1.75rem}.ae-overhaul .l-section-h{padding-top:2.5rem;padding-bottom:2.5rem}.ae-related ul{display:block}.ae-enquiry-row{padding:0}.ae-overhaul input,.ae-overhaul textarea,.ae-overhaul select{font-size:16px!important}.ae-overhaul .ff-btn-submit{min-height:48px}.ae-overhaul .ae-cards article{padding:1.25rem}}
/* Static background avoids the legacy slider's blank initial frame. */
.ae-hero{background-image:linear-gradient(90deg,rgba(0,22,49,.8),rgba(0,22,49,.25)),url('/wp-content/uploads/2022/07/c117efdc-74ca-40f6-a6ef-7252f42b87f2.jpg')!important;background-size:cover!important;background-position:center!important}
.ae-hero .l-section-overlay,.ae-hero .l-section-img,.ae-hero .l-section-slider{display:none!important}
.ae-hero .wpb_text_column .w-btn,.ae-hero .wpb_text_column .w-btn-label{color:#0C4B94!important}
body.ae-phase4 .l-footer .l-section:first-child{padding-top:0!important}
body.ae-phase4 .l-footer .l-section:first-child .l-section-h{padding-top:3rem!important}
/* Hold the inherited rating graphic pending its current source verification. */
body.ae-phase4 .l-header .ush_image_2{display:none!important}
/* Keep the retained fixed header from covering the hero eyebrow. */
.ae-hero{padding-top:var(--header-height,170px)!important}
.ae-hero .l-section-h{padding-top:2rem!important;padding-bottom:2rem!important}
/* Phase 5: retain theme geometry and branding; strengthen project presentation. */
.ae-service-lead{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:3rem;align-items:center;margin:0 0 3rem}
.ae-service-lead h1{max-width:24ch}
.ae-project-photo{margin:0;min-width:0}
.ae-project-photo a{display:block;border-radius:10px;overflow:hidden}
.ae-project-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e9edf4}
.ae-project-photo figcaption{font-size:.9rem;line-height:1.5;margin:.65rem 0 0;color:#334b66}
.ae-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:1.75rem 0 2rem}
.ae-project-band{margin:3rem 0;padding:2rem;background:#f1f4f9;border-radius:10px}
.ae-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:2rem 0}
.ae-review{margin:0;background:#f1f4f9;padding:2rem;border-top:4px solid #CA151B;border-radius:0 0 10px 10px}
.ae-review blockquote{margin:0 0 1.5rem;padding:0;border:0;font-style:normal}
.ae-review blockquote p{font-size:1.35rem!important;font-weight:600}
.ae-review figcaption{font-size:.95rem;line-height:1.7}
.ae-kicker{font-size:.9rem!important;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#334b66}
.ae-next-step{margin:2.5rem 0 0;padding:1.5rem 2rem;background:#f1f4f9;border-left:4px solid #CA151B}
.ae-next-step h2{margin-top:0}
body.ae-phase4 main .w-post-elm.post_title{color:#0C4B94;line-height:1.15}
body.ae-phase4 .ae-overhaul a:not(.w-btn){color:#a30e16}
body.ae-phase4 .ae-cards h3 a{color:#0C4B94!important}
body.ae-phase4 .ae-enquiry-row a{color:#fff!important}
body.ae-phase4 .w-nav .current-menu-item>.w-nav-anchor{color:#a30e16}
body.ae-phase4 .w-socials a[href="#"]{display:none}
body.ae-phase4 a:focus-visible,body.ae-phase4 button:focus-visible{outline:3px solid #CA151B;outline-offset:4px}
@media(max-width:900px){.ae-service-lead{grid-template-columns:1fr;gap:1.5rem}.ae-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-service-lead .ae-project-photo{max-width:640px}.ae-project-band{padding:1.5rem}}
@media(max-width:600px){.ae-project-grid,.ae-review-grid{grid-template-columns:1fr}.ae-project-band{padding:1.25rem}.ae-next-step{padding:1.25rem}.ae-review{padding:1.5rem}.ae-service-lead{margin-bottom:2rem}.ae-project-photo figcaption{font-size:.875rem}}
/* Override the legacy pink accent and light gradient for readable navigation/CTAs. */
body.ae-phase4 .w-nav .current-menu-item>.w-nav-anchor{color:#a30e16!important}
body.ae-phase4 .ae-overhaul a:not(.w-btn){color:#a30e16!important}
body.ae-phase4 .ae-overhaul .ae-cards h3 a{color:#0C4B94!important}
body.ae-phase4 .ae-enquiry-row a:not(.w-btn){color:#fff!important}
body.ae-phase4 .ae-button{background:#CA151B!important;color:#fff!important}
body.ae-phase4 .ae-hero .ae-button{background:#fff!important;color:#0C4B94!important}
/* The theme resets outline-style; restore an explicit keyboard-focus indicator. */
body.ae-phase4 a:focus-visible,body.ae-phase4 button:focus-visible,body.ae-phase4 input:focus-visible,body.ae-phase4 textarea:focus-visible,body.ae-phase4 .w-nav-control:focus{outline:3px solid #CA151B!important;outline-offset:4px!important}
/* Final visual review: readable form labels and practical project columns. */
body.ae-phase4 main .fluentform label{color:#0C4B94!important}
body.ae-phase4 main .ae-enquiry-row .fluentform label{color:#fff!important}
body.ae-phase4 main .fluentform .ff-btn-submit{background:#CA151B!important;color:#fff!important;border-color:#CA151B!important}
body.ae-phase4 .ae-review blockquote::before,body.ae-phase4 .ae-review blockquote::after{display:none!important}
body.ae-phase4 .w-nav .current-menu-ancestor>.w-nav-anchor{color:#a30e16!important}
body.ae-phase4.single-us_portfolio main>.l-section:first-child>.l-section-h>.g-cols{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important}
body.ae-phase4.single-us_portfolio .post_content .l-section{padding:0!important}
body.ae-phase4.single-us_portfolio .post_content .l-section-h{padding:0!important;max-width:100%!important}
body.ae-phase4.single-us_portfolio .post_content .ae-project-photo{display:none}
@media(max-width:900px){body.ae-phase4.single-us_portfolio main>.l-section:first-child>.l-section-h>.g-cols{grid-template-columns:minmax(0,1fr)!important}}
body.ae-phase4 main .fluentform .ff_t_c{color:inherit!important}
/* Private release: keep the logo inside the 60px intermediate-width header row. */
@media (min-width:601px) and (max-width:1199px){
  body.ae-phase4 .l-header .ush_image_1,
  body.ae-phase4 .l-header .ush_image_1 img{width:auto!important;max-width:120px!important;max-height:60px!important}
  body.ae-phase4 .l-header .ush_image_1{margin-top:0!important}
  body.ae-phase4 .l-header .ush_image_1 img{height:auto!important}
}
