/* BrainDance site-wide additions. Loaded after the page builder's own CSS on every page.
   Edit this file for site-wide look changes; see EDITING.md. Sections are marked with their reason. */

/* Buttons: pistachio hover. Tracy, 10/31: "use it for all of the links". The home page and the header already had it;
   this makes every blue pill button (the jkit buttons) hover the same way, with black text and arrow. */
.jeg-elementor-kit.jkit-button .jkit-button-wrapper:not(.hover-gradient):hover{background-color:#DCE4B9!important}
.jeg-elementor-kit.jkit-button .jkit-button-wrapper:hover{color:#000!important}
.jeg-elementor-kit.jkit-button .jkit-button-wrapper:hover svg{fill:#000!important}
.jeg-elementor-kit.jkit-button .jkit-button-wrapper:hover i{color:#000!important}
/* Same look for keyboard focus (focus-visible), so the state is not hover-only. */
.jeg-elementor-kit.jkit-button .jkit-button-wrapper:focus-visible{background-color:#DCE4B9!important;color:#000!important}
.jeg-elementor-kit.jkit-button .jkit-button-wrapper:focus-visible svg{fill:#000!important}
.jeg-elementor-kit.jkit-button .jkit-button-wrapper:focus-visible i{color:#000!important}

/* The nine "Request a Quote" buttons inside the pop-ups on /labs/ are blue pills too (they hovered light blue with white text, about 1.8:1). */
[data-elementor-type="popup"] .elementor-button:hover,[data-elementor-type="popup"] .elementor-button:focus-visible{background-color:#DCE4B9!important;color:#000!important}
[data-elementor-type="popup"] .elementor-button:hover svg,[data-elementor-type="popup"] .elementor-button:focus-visible svg{fill:#000!important}

/* The contact form's Send Message button: pistachio on hover and keyboard focus like every other button (not while it is sending). */
.elementor-form .elementor-button[type="submit"]:not([disabled]):hover,.elementor-form .elementor-button[type="submit"]:not([disabled]):focus-visible{background-color:#DCE4B9!important;color:#000!important}

/* The contact form's fields: a visible keyboard focus ring (the site kit swaps the outline for a 1 px shadow that is almost invisible). */
.elementor-form input:focus-visible,.elementor-form select:focus-visible,.elementor-form textarea:focus-visible{outline:2px solid #1762AE!important;outline-offset:2px}

/* Terms and Privacy: links inside the text turned white on hover (the site kit's a:hover color), which vanishes on the white page. */
body.page-id-2618 .elementor-widget-text-editor a:hover,body.page-id-2611 .elementor-widget-text-editor a:hover{color:#0d3b73}

/* People who ask for less motion: no 3D flip animation on the team cards (the cards still flip, instantly). */
@media (prefers-reduced-motion:reduce){
.ekit-wid-con .ekit-flip-box-inner,.ekit-wid-con .ekit-flip-box-front,.ekit-wid-con .ekit-flip-box-back{transition:none!important}
}

/* Join page: the blue form panel is now the whole page, so it needs room under the fixed header. */
.elementor-844 .elementor-element.elementor-element-ad258c3{--padding-top:140px;--padding-bottom:100px}

/* HEADER-4 start: the header with four menu items (generated by tools/builder/t13_header.py; do not edit by hand) */
/* 1025 to 1439 px: logo and menu button, the same look as a tablet. */
@media (min-width:1025px) and (max-width:1439.98px){
.elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main{display:none}.elementor-100 .elementor-element.elementor-element-77918164{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--flex-wrap:wrap;--padding-top:20px;--padding-bottom:20px;--padding-left:40px;--padding-right:40px;}.elementor-100 .elementor-element.elementor-element-2915f642 img{width:85%;}.elementor-100 .elementor-element.elementor-element-685ef3dc{--align-items:flex-end;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-100 .elementor-element.elementor-element-7952058{--nav-menu-icon-size:25px;}.elementor-100 .elementor-element.elementor-element-53857db{--nav-menu-icon-size:25px;}.elementor-100 .elementor-element.elementor-element-7d0aeaf4 .jeg-elementor-kit.jkit-button .jkit-button-wrapper{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-100 .elementor-element.elementor-element-7495d395{--width:30%;}.elementor-100 .elementor-element.elementor-element-685ef3dc{--width:70%;}.elementor-100 .elementor-element.elementor-element-764b50f7{--width:100%;}
.elementor-nav-menu--dropdown-tablet .elementor-menu-toggle{display:flex}
.elementor-nav-menu--dropdown-tablet nav.elementor-nav-menu--dropdown.elementor-nav-menu__container{display:block;overflow-y:auto}
.elementor-100 .elementor-element.elementor-element-7952058{display:none!important}
.elementor-100 .elementor-element.elementor-element-53857db{display:block!important}
.elementor-100 .elementor-element.elementor-element-7d0aeaf4{display:none!important}
}
/* 1440 to 1799 px: the bar stays, tighter, so four items and the Join button fit on one line. */
@media (min-width:1440px) and (max-width:1799.98px){
.elementor-100 .elementor-element.elementor-element-7952058 .elementor-nav-menu .elementor-item{font-size:14px}
.elementor-100 .elementor-element.elementor-element-7952058 .elementor-nav-menu--main .elementor-nav-menu a{padding-left:8px;padding-right:8px}
}
/* HEADER-4 end */

/* PAPERS start: white-paper cards on /collective-intelligence/ (generated by tools/builder/t13_papers.py). Same look as the AI Lab tiles on /labs/. */
.bd-papers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:50px;width:100%}
.bd-papers .bd-paper{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #EFF6FF;border-radius:25px;transition:transform .3s ease,box-shadow .3s ease}
.bd-papers .bd-paper:hover{transform:translateY(-10px);box-shadow:0 6px 12px -6px rgba(23,98,174,.58)}
.bd-papers .bd-paper-media{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:25px 25px 0 0;background:#EFF6FF}
.bd-papers .bd-paper-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--bd-pos,center);border-radius:0}
.bd-papers .bd-paper-media--pending{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1762AE,#0d3b73);color:#fff;font:500 18px/1.2 "Lora",serif;text-align:center;padding:16px}
.bd-papers .bd-paper-body{display:flex;flex-direction:column;flex:1;padding:24px 30px 30px}
.bd-papers .bd-paper h3.bd-paper-title{font:500 19px/24px "Lora",serif;color:#2D2A3D;margin:0 0 6px;padding:0}
.bd-papers .bd-paper p.bd-paper-date{font:500 13px/1.2 "Lato",sans-serif;color:#64748B;margin:0 0 14px}
.bd-papers .bd-paper p.bd-paper-text{font:400 14px/20px "Lato",sans-serif;color:#334155;margin:0 0 20px}
.bd-papers .bd-paper a.bd-paper-more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;font:500 14px/1 "Lato",sans-serif;color:#334155;text-decoration:none}
.bd-papers .bd-paper a.bd-paper-more svg{width:14px;height:14px;fill:currentColor}
.bd-papers .bd-paper a.bd-paper-more::after{content:"";position:absolute;inset:0;border-radius:25px}
.bd-papers .bd-paper:hover a.bd-paper-more,.bd-papers .bd-paper a.bd-paper-more:focus-visible{color:#1762AE}
.bd-papers .bd-paper a.bd-paper-more:focus-visible{outline:none}
.bd-papers .bd-paper a.bd-paper-more:focus-visible::after{outline:3px solid #1762AE;outline-offset:3px}
@media (max-width:1024px){.bd-papers{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.bd-papers .bd-paper h3.bd-paper-title{font-size:17px;line-height:22px}.bd-papers .bd-paper p.bd-paper-text{font-size:15px}}
@media (max-width:767px){.bd-papers{grid-template-columns:1fr}.bd-papers .bd-paper h3.bd-paper-title{font-size:16px;line-height:22px}.bd-papers .bd-paper p.bd-paper-text{font-size:14px;line-height:22px}}
@media (prefers-reduced-motion:reduce){.bd-papers .bd-paper{transition:none}.bd-papers .bd-paper:hover{transform:none}}
/* PAPERS end */
/* Mission Realization: the six service icons are round pictures, as on the Value Creation page (Tracy, Nov 4). */
.elementor-widget.bd-icon-photo{background:none!important;padding:0!important;border-radius:0!important}
.bd-icon-photo .bd-icon-img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:50%}
/* SCHEDULE-LINK start: the "Schedule Discovery With Us" line under the email address in the footer's Let's Connect box (generated by tools/builder/t14_schedule_link.py; do not edit by hand) */
/* The list puts 15 px between its lines; the box puts 20 px between the phone number and the email address (10 px on phones). This line matches the box. Keep the leading "footer.": it is what beats the page builder's own rule for these lines. */
footer.elementor-125 .elementor-widget-icon-list .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item.bd-schedule-item:not(:first-child){margin-block-start:12.5px}
@media (max-width:767px){footer.elementor-125 .elementor-widget-icon-list .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item.bd-schedule-item:not(:first-child){margin-block-start:2.5px}}
/* SCHEDULE-LINK end */
/* HOME-ICONS-NUMBERS start: home page, owners' list of 11/17. (1) Data Intelligence and Growth Acceleration: the picture's own background is white, so its circle vanished on the white box; a light-blue disc (the same blue as the Technology and AI circle) sits behind the picture and the picture blends into it. (2) "Why Leaders Choose": the numbers stick out past the card edge like on /collective-intelligence/ (the page builder's custom CSS clipped them with overflow:hidden). Remove this block to undo both. */
.elementor-2 .elementor-element-4ef6c4aa,.elementor-2 .elementor-element-33019c51{background:#E5F8FF;border-radius:50%;isolation:isolate;overflow:hidden}
.elementor-2 .elementor-element-4ef6c4aa img,.elementor-2 .elementor-element-33019c51 img{mix-blend-mode:multiply;border-radius:50%}
.elementor-2 .elementor-element.elementor-element-1f6a974,.elementor-2 .elementor-element.elementor-element-4a98ecc,.elementor-2 .elementor-element.elementor-element-6cabb779,.elementor-2 .elementor-element.elementor-element-36ab3f22{overflow:visible!important}
/* The numbers that stick out of the right-hand card must not add a sideways scroll (4 px at 1366 px wide). */
.elementor-2{overflow-x:clip}
/* HOME-ICONS-NUMBERS end */
/* VALUE-GRID-2X2 start: the "What we hear" tiles on five Value Creation pages are four tiles in a three-column grid (three plus one left over); on desktop they are now two by two, as on tablets. Owners' request of 11/17. To go back to three across (for example when two more tiles are added), delete this block. */
@media (min-width:1025px){.elementor-1907 .elementor-element.elementor-element-9c25946{--e-con-grid-template-columns:repeat(2,1fr)}.elementor-1795 .elementor-element.elementor-element-6246ce9{--e-con-grid-template-columns:repeat(2,1fr)}.elementor-1797 .elementor-element.elementor-element-5087976{--e-con-grid-template-columns:repeat(2,1fr)}.elementor-1798 .elementor-element.elementor-element-65b11a9{--e-con-grid-template-columns:repeat(2,1fr)}.elementor-1804 .elementor-element.elementor-element-01de187{--e-con-grid-template-columns:repeat(2,1fr)}}
/* VALUE-GRID-2X2 end */
/* INSIGHTS-TILES start: /collective-intelligence/, "Why Executives Leverage Applied Insights" (owners' list of 11/17). Tile 1 had a blue-grey page-builder background; it is white like the other three. Tile 3 now lifts on hover like the others: its entrance animation holds the "transform" property, so the lift uses the separate "translate" property. */
.elementor-2645 .elementor-element.elementor-element-2b05d817:not(.elementor-motion-effects-element-type-background),.elementor-2645 .elementor-element.elementor-element-2b05d817>.elementor-motion-effects-container>.elementor-motion-effects-layer{background-color:#fff}
.elementor-2645 .elementor-element.elementor-element-4a773d7b{transition:translate .3s ease,box-shadow .3s ease}
.elementor-2645 .elementor-element.elementor-element-4a773d7b:hover{translate:0 -20px}
/* INSIGHTS-TILES end */
/* TEAM-HEADING start: /our-team/ (owners' list of 11/17): more room between the menu bar and "Our Team" (the section's top padding was 100 px), and the subheading under "Engagement Leadership". */
.elementor-844 .elementor-element.elementor-element-63bf6ea4{--padding-top:150px}
@media (max-width:767px){.elementor-844 .elementor-element.elementor-element-63bf6ea4{--padding-top:120px}}
.elementor-844 .bd-subhead{margin:14px auto 0;max-width:720px;text-align:center;font-size:clamp(16px,1.5vw,20px);line-height:1.5;color:#334155;text-wrap:balance}
/* TEAM-HEADING end */
/* TEAM-LINKEDIN start: a LinkedIn link under each bio on /our-team/ (owners' request of 11/17; links received 11/19). Remove this block and the six <p class="bd-linkedin"> lines in /our-team/ to undo. */
.bd-linkedin{margin:16px 0 0;font-size:16px;line-height:1.4}
.bd-linkedin a{display:inline-flex;align-items:center;gap:8px;color:#0a66c2;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bd-linkedin a:hover,.bd-linkedin a:focus-visible{color:#0d3b73}
.bd-linkedin svg{flex:none;width:20px;height:20px;fill:currentColor}
/* TEAM-LINKEDIN end */
/* FOOTER-CONNECT-GAP start: the "Let's Connect" box in the footer (all 21 pages): less white space between the heading and the sentence under it (Isaac, 11/18). The widget gap stays 20 px; this pulls the sentence up. Remove this block to undo. */
.elementor-125 .elementor-element.elementor-element-25c5e533{margin-top:-16px}
@media (max-width:1024px){.elementor-125 .elementor-element.elementor-element-25c5e533{margin-top:-12px}}
/* FOOTER-CONNECT-GAP end */
/* HERO-LINES start: owners' list of 11/17: each of these hero headings is two lines (the page builder puts a line break after the first sentence) but the heading box was narrower than its longer line, so the second sentence wrapped (three or four lines). On desktop the box is now the full column and the type size is the smaller of 55 px and what makes the longer line fit (each number is the longer line's width in Lora, at its size-adjusted weight 500, divided by 55 px; the first page's 56 px leaves room for a classic scrollbar). Tablets and phones wrap as before. Applies to /process-design-reengineering/, /growth-acceleration/, /value-creation-and-exit-maximization/ and /strategy-design-roadmap-development/. */
@media (min-width:1025px){
.elementor-1907 .elementor-element.elementor-element-179128b8{width:100%;max-width:100%}
.elementor-1907 .elementor-element.elementor-element-179128b8 .elementor-heading-title{font-size:min(55px,calc((100vw - 56px) / 22.69));line-height:1.2}
.elementor-1797 .elementor-element.elementor-element-95a2c17{width:100%;max-width:100%}
.elementor-1797 .elementor-element.elementor-element-95a2c17 .elementor-heading-title{font-size:min(55px,calc((100vw - 160px) / 16.8));line-height:1.2}
.elementor-1798 .elementor-element.elementor-element-713bfff{width:100%;max-width:100%}
.elementor-1798 .elementor-element.elementor-element-713bfff .elementor-heading-title{font-size:min(55px,calc((100vw - 160px) / 20.24));line-height:1.2}
.elementor-1473 .elementor-element.elementor-element-6fd3b40{width:100%;max-width:100%}
.elementor-1473 .elementor-element.elementor-element-6fd3b40 .elementor-heading-title{font-size:min(55px,calc((100vw - 310px) / 18.58));line-height:1.2}
}
/* HERO-LINES end */
/* CARD-TEXT start: home page carousel (owners' list of 11/17: words bleeding off the card). The open panel was a fixed 510 px tall and the longest card texts did not fit it. The text is a little smaller on laptop widths, the open panel (and the card around it) is as tall as the longest text needs in the widths where 510 px was not enough, and on tablets and phones the open panel grows to fit its text. Measured with the longest of the 28 cards. */
@media (min-width:1280px) and (max-width:1439px){.maincard .carddescription{font-size:15px;line-height:1.5}}
@media (min-width:1025px) and (max-width:1279px){.maincard .carddescription{font-size:14px;line-height:1.5}}
@media (min-width:1440px){body .elementor-2230 .elementor-element.elementor-element-7333fcf{--min-height:570px}.maincard:hover .animationcard{height:530px!important}body .swiper-slide-next .animationcard{height:530px}}
@media (min-width:1025px) and (max-width:1199px){body .elementor-2230 .elementor-element.elementor-element-7333fcf{--min-height:615px}.maincard:hover .animationcard{height:575px!important}body .swiper-slide-next .animationcard{height:575px}}
@media (max-width:1024px){.maincard:hover .animationcard,.swiper-slide-active .animationcard{height:auto!important;min-height:450px}}
/* CARD-TEXT end */
/* TEAM-ROWS start: /our-team/ on desktop (from 1025 px, photo beside bio): every person's section is the same height (the height of the tallest, which is Dave Bernard's long bio) and 40 px apart, so the photo cards are evenly spaced and no bio crowds the next person (owner's request of 12/1). Tablets and phones (stacked) are unchanged. Remove this block to undo. */
@media (min-width:1025px){body .elementor-844 .elementor-element.elementor-element-1efc79c{grid-auto-rows:1fr;--row-gap:40px;row-gap:40px}}
/* TEAM-ROWS end */
