/* Thrive 3.1.3 — original brand, responsive finishing. Developed by AUR. */
/* Neutral surfaces, not a new accent palette. */
.mars40-home{--m40-yellow:#f3f6f7;--m40-blue:#073653;--m40-deep:#082a40;--m40-sky:#d6edf3;--m40-green:#13836f}
.m40-leadership,.m40-products-title,.m40-sector-yellow{background:#f3f6f7;color:#142337}
.m40-leadership-copy>span,.m40-sector-yellow .m40-sector-copy>span,.m40-sector-yellow .m40-sector-copy>small{color:#0064a4}
.partner-monogram,.profile-monogram,.entity-monogram,.network-monogram{background:#e8f1f2!important;color:#123347!important;box-shadow:none!important}
.m40-logo-carousel>button{color:#073653}.m40-logo-carousel>button:is(:hover,:focus-visible){background:#073653;color:#fff}
.m40-logo-window{flex:1 1 0;min-width:0;width:auto!important;scroll-snap-type:x mandatory}
.m40-logo-track{width:max-content;min-width:100%;scroll-snap-type:none}
.m40-logo-track a{flex-shrink:0}
.fresh-footer a{overflow-wrap:anywhere}.fresh-footer-bottom{flex-wrap:wrap}
.fresh-footer .thrive-location-footer{margin-top:22px}
/* Keep all original text readable, including long headings. */
body.home .mars40-home .hero :is(h1,.thrive-slide-heading){display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;max-height:none!important;text-wrap:balance;overflow-wrap:normal}
@media(min-width:761px){body.home .mars40-home .hero :is(h1,.thrive-slide-heading){max-width:15ch;font-size:clamp(44px,5vw,76px);line-height:1.04}}
@media(max-width:1180px){.fresh-mobile-nav{max-width:100%;overscroll-behavior:contain}.fresh-mobile-nav a{min-height:48px}.fresh-header.is-hidden{transform:none!important}}
@media(max-width:900px){
 .m40-logo-track a{width:164px;flex-basis:164px;padding:7px 9px}
 .m40-logo-track img{max-width:min(146px,calc(146px / var(--brand-scale,1)))}
 .fresh-footer-grid>*{min-width:0}
}
@media(max-width:760px){
 /* Height is determined by the longest slide, so no clipping or control overlap. */
 body.home .mars40-home>.hero{height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden}
 body.home .mars40-home .hero-slides{position:relative!important;inset:auto!important;display:grid;grid-template-columns:minmax(0,1fr);height:auto!important}
 body.home .mars40-home .hero-slide{position:relative!important;inset:auto!important;grid-area:1/1;min-width:0;min-height:0!important;height:auto!important;align-items:stretch;background-position:62% center;transform:none!important}
 body.home .mars40-home .hero-slide::after{background:linear-gradient(90deg,rgba(4,30,47,.94),rgba(4,30,47,.73) 70%,rgba(4,30,47,.50))!important}
 body.home .mars40-home .hero-slide>.container{min-height:0!important;height:auto!important;display:flex;align-items:center;width:calc(100% - 40px)!important;padding:112px 0 94px!important}
 body.home .mars40-home .hero-content{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body.home .mars40-home .hero :is(h1,.thrive-slide-heading){font-size:clamp(32px,8.6vw,48px)!important;line-height:1.08!important;max-width:100%!important;margin:12px 0 16px!important;letter-spacing:-.035em}
 body.home .mars40-home .hero p{font-size:15px!important;line-height:1.62!important;margin:0 0 20px!important;max-width:100%}
 body.home .mars40-home .hero .eyebrow{font-size:10px;letter-spacing:.1em;line-height:1.55;color:#e4f2f4!important}
 body.home .mars40-home .hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0!important;width:100%}
 body.home .mars40-home .hero-actions .button{min-height:46px!important;padding:10px 15px!important;line-height:1.35;font-size:13px;white-space:normal;text-align:center;flex:1 1 135px;width:auto!important;max-width:100%}
 body.home .mars40-home .hero-controls{bottom:18px!important;width:calc(100% - 40px)!important;align-items:center}
 .m40-logo-carousel{height:84px!important}.m40-logo-carousel>button{width:34px;flex-basis:34px;font-size:26px}
 .m40-logo-window{width:calc(100% - 68px)!important;flex:1 1 0}
 .m40-logo-track a{width:calc((100vw - 68px)/2);flex:0 0 calc((100vw - 68px)/2);height:84px;padding:6px}
 .m40-logo-track img{max-width:min(var(--m40-brand-logo-mobile,128px),calc(((100vw - 68px)/2 - 12px) / var(--brand-scale,1)));max-height:calc(70px / var(--brand-scale,1))}
 .m40-shell{width:calc(100% - 40px)}
 .thrive-pathways-inner{gap:18px;padding-block:32px}.thrive-pathways-heading h2{font-size:29px;line-height:1.15}
 .thrive-pathways-links{gap:10px}.thrive-pathways-links a{min-height:88px;padding:14px 11px}.thrive-pathways-links strong{font-size:14px}
 .m40-network-art{min-height:330px}.m40-network-art>div{max-width:39%;height:90px;padding:10px}.m40-network-art>div:nth-child(3){height:108px;max-width:45%}
 .m40-network-copy,.m40-sector-copy,.m43-human-copy{padding:40px 20px 46px!important}
 .m40-leadership,.m40-commitment,.m40-products-title,.m40-highlights,.m40-careers{padding-block:48px!important}
 .m40-leadership>.m40-shell{gap:28px}.m40-leader-portraits{gap:10px}.m40-leader-portraits figure{height:auto;aspect-ratio:4/5}.m40-leader-portraits figure:nth-child(even){transform:none}
 .mars40-home :is(.m40-network,.m40-leadership,.m40-title-row,.m40-products-title,.m40-sector,.m40-heading-row,.m40-careers,.m43-human) h2{font-size:clamp(30px,8vw,42px);line-height:1.08;max-width:none;text-wrap:balance}
 .mars40-home :is(.m40-network-copy,.m40-leadership-copy,.m40-sector-copy,.m43-human-copy,.m40-careers-main,.m40-title-row) p{font-size:16px;line-height:1.65;margin-block:16px 22px}
 .m40-sector-image,.m40-sector-light .m40-sector-image,.m43-human-image{min-height:0!important;aspect-ratio:4/3;background-position:center}
 .m40-title-row,.m40-heading-row{margin-bottom:26px;gap:16px}.m40-news-grid{gap:28px}.m40-careers aside{margin-top:28px}
 .m40-commitment-cards article{min-height:0!important;min-width:86%;padding-bottom:8px}.m40-commitment-cards article>div{height:190px}.m40-commitment-cards h3{font-size:26px}.m40-commitment-cards a{margin-top:16px}
 /* Standard inner pages only: custom portfolio owns its content and banner. */
 #primary:not(.ts-portfolio) :is(.page-hero,.single-hero,.clear-page-hero,.profile-hero){padding:38px 0 34px!important;min-height:0!important}
 #primary:not(.ts-portfolio) :is(.page-hero,.single-hero,.clear-page-hero,.profile-intro) h1{font-size:clamp(30px,8.5vw,44px)!important;line-height:1.12!important;max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
 #primary:not(.ts-portfolio) :is(.page-hero,.single-hero,.clear-page-hero,.profile-intro) p{font-size:15px!important;line-height:1.65!important;overflow-wrap:anywhere}
 #primary:not(.ts-portfolio) :is(.profile-hero-grid,.partner-overview-grid,.diagnostics-priority-grid,.article-layout,.job-detail-layout){grid-template-columns:minmax(0,1fr)!important;gap:24px}
 #primary:not(.ts-portfolio) .profile-brand{width:min(100%,200px);max-width:100%;padding:14px;justify-self:start}
 #primary:not(.ts-portfolio) .profile-brand img{max-height:150px;width:auto;max-width:100%;margin:auto;object-fit:contain}
 #primary:not(.ts-portfolio) .profile-actions{display:flex;flex-wrap:wrap;gap:9px}
 #primary:not(.ts-portfolio) .profile-actions a{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
 #primary:not(.ts-portfolio) :is(.entry-content,.article-content,.ts-prose,.wp-block-image,.wp-block-video,.wp-block-embed){min-width:0;max-width:100%;overflow-wrap:anywhere}
 #primary:not(.ts-portfolio) :is(.entry-content,.article-content,.ts-prose) img{max-width:100%;height:auto}
 #primary:not(.ts-portfolio) :is(.entry-content,.article-content,.ts-prose) iframe{max-width:100%}
 .fresh-footer-cta{padding-block:34px!important}.fresh-footer-cta h2{font-size:clamp(26px,7vw,34px)!important;line-height:1.15}
 .fresh-footer{padding-top:34px!important}.fresh-footer-brand{grid-template-columns:1fr!important;gap:12px!important}.fresh-footer-brand p{font-size:14px;line-height:1.65}
 .fresh-footer-mobile-groups summary{min-height:48px;letter-spacing:.035em;font-size:13px}.fresh-footer-mobile-groups details>div>a{min-height:44px;display:flex;align-items:center}
 .fresh-footer .fresh-footer-bottom{display:block!important}.fresh-footer-bottom div{flex-wrap:wrap;gap:8px 16px;margin-top:8px!important}
 .thrive-location-top{padding-inline:20px}.thrive-location-footer{font-size:12px}
}
@media(max-width:360px){body.home .mars40-home .hero-slide>.container{width:calc(100% - 32px)!important}.m40-shell{width:calc(100% - 32px)}.thrive-pathways-links{grid-template-columns:1fr}.m40-network-art{min-height:300px}}
@media(prefers-reduced-motion:reduce){.m40-logo-window{scroll-behavior:auto}.mars40-home *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Consistent decorative progress and accessible focus accents. */
body.home .hero-dot.is-active::after{background:#38ad91!important}
body.home .hero-dot.is-active{border-color:#38ad91!important}
.fresh-header :focus-visible,.fresh-footer :focus-visible{outline:2px solid #39b49a!important;outline-offset:3px}
