/* Button and tile hover states, site-wide (Zack, November 23, 2026: "the buttons on this site need better. more
   distinct hover effects"). Loaded after style.css. Green buttons turn navy, lift and push their arrow; the white pill
   fills navy; tiles lift with a green edge. Keyboard focus gets the same look plus a visible ring. */

body .who-we a, body .btn-main, body .location-cta ul li a, body .kbx-btn,
body .contact-gravity-form .gform_wrapper .gform_footer .gform_button,
body .kbx-cta a, body .capabilitie, body .kbx-tile, body .job-titles ul li a {
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease,
                background-position .18s ease, border-color .18s ease;
}

/* The contact form's send button: style.css styles input.button, but Gravity Forms now prints a <button>, so it showed
   as a plain browser button. Same look as the site's other green buttons. No top margin: the footer is pinned
   to the bottom of the form, and a taller footer covered the "I'm looking to hire" option (caught November 23, 2026). */
body .contact-gravity-form .gform_wrapper .gform_footer .gform_button {
    margin: 0; width: 100%; border: none; border-radius: 2px; background-color: #1e7f50; padding: 15px 0;
    font-family: "Barlow-Light"; font-size: 20px; color: #fff; text-transform: uppercase; cursor: pointer;
}

/* Darker green fills so white text passes contrast (4.99 to 1; #29a569 was 3.14). Zack, November 23, 2026, decisions
   doc answer 1. The lighter green stays as the accent (borders, icons, hover text). */
body .who-we a, body .btn-main, body .send-message, body .location-container .submit-location, body .location-cta ul li a,
body .kbx-btn, body .contact-gravity-form .gform_wrapper .gform_footer input.button, body .mini-study.testimonial {
    background-color: #1e7f50;
}
body .kbx-btn, body .who-we a, body .btn-main { box-shadow: 3px 3px 9px 0 rgba(30, 127, 80, .45); }

/* Green buttons */
body .who-we a:hover, body .btn-main:hover, body .location-cta ul li a:hover, body .kbx-btn:hover,
body .contact-gravity-form .gform_wrapper .gform_footer .gform_button:hover,
body .who-we a:focus-visible, body .btn-main:focus-visible, body .location-cta ul li a:focus-visible, body .kbx-btn:focus-visible,
body .contact-gravity-form .gform_wrapper .gform_footer .gform_button:focus-visible {
    background-color: #1f4375;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -6px rgba(31, 67, 117, .55);
    text-decoration: none;
}
body .who-we a:hover, body .btn-main:hover, body .location-cta ul li a:hover, body .kbx-btn:hover,
body .who-we a:focus-visible, body .btn-main:focus-visible, body .location-cta ul li a:focus-visible, body .kbx-btn:focus-visible {
    background-position: 26px center;
}
body .who-we a:active, body .btn-main:active, body .location-cta ul li a:active, body .kbx-btn:active,
body .contact-gravity-form .gform_wrapper .gform_footer .gform_button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px -4px rgba(31, 67, 117, .55);
}

/* The white pill on the gradient band */
body .kbx-cta a:hover, body .kbx-cta a:focus-visible {
    background-color: #0f2747;
    color: #fff;
    transform: translateY(-2px);
    /* White edge so the pill stays visible where the band is nearly navy (phones) */
    box-shadow: 0 0 0 2px #fff, 0 10px 22px -6px rgba(0, 0, 0, .35);
}
body .kbx-cta a:focus-visible { outline-color: #fff; }

/* Tiles: home capabilities, practice tiles, linked typical roles */
body .capabilitie:hover, body .capabilitie:focus-within, body .kbx-tile:hover, body .kbx-tile:focus-visible {
    transform: translateY(-4px);
    border-color: #29a569;
    box-shadow: inset 0 -4px 0 #29a569, 0 12px 24px -10px rgba(66, 70, 77, .35);
}
body .capabilitie:hover a, body .capabilitie:hover h4, body .kbx-tile:hover span { color: #29a569; }
body .kbx-tile-hub:hover, body .kbx-tile-hub:focus-visible { background: #29a569; border-color: #29a569; box-shadow: 0 12px 24px -10px rgba(41, 165, 105, .6); }
body .kbx-tile-hub:hover span { color: #fff; }
body .job-titles ul li a:hover { transform: translateX(4px); }

/* Visible focus ring for keyboard users */
body .who-we a:focus-visible, body .btn-main:focus-visible, body .location-cta ul li a:focus-visible, body .kbx-btn:focus-visible,
body .kbx-cta a:focus-visible, body .kbx-tile:focus-visible,
body .contact-gravity-form .gform_wrapper .gform_footer .gform_button:focus-visible {
    outline: 3px solid #29a569;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    body .who-we a, body .btn-main, body .location-cta ul li a, body .kbx-btn, body .kbx-cta a, body .capabilitie, body .kbx-tile, body .job-titles ul li a,
    body .contact-gravity-form .gform_wrapper .gform_footer .gform_button { transition: none; }
    body .who-we a:hover, body .btn-main:hover, body .location-cta ul li a:hover, body .kbx-btn:hover, body .kbx-cta a:hover,
    body .capabilitie:hover, body .kbx-tile:hover, body .job-titles ul li a:hover,
    body .contact-gravity-form .gform_wrapper .gform_footer .gform_button:hover,
    body .who-we a:focus-visible, body .btn-main:focus-visible, body .location-cta ul li a:focus-visible, body .kbx-btn:focus-visible,
    body .kbx-cta a:focus-visible, body .capabilitie:focus-within, body .kbx-tile:focus-visible,
    body .contact-gravity-form .gform_wrapper .gform_footer .gform_button:focus-visible { transform: none; }
}

/* Keyboard users can open the header dropdowns (they opened on hover only) */
body .menu ul li.menu-item-has-children:focus-within > .sub-menu { display: block; visibility: visible; opacity: 1; }
body .capabilitie a:focus-visible, body .contact-gravity-form input:focus-visible, body .contact-gravity-form textarea:focus-visible {
    outline: 3px solid #29a569; outline-offset: 3px;
}
/* Footer city names stay on one line */
body .footer-location ul li { white-space: nowrap; }
body .footer-location ul li:last-child { border-right: 0; border: 0; }

/* Job lists: alphabetical, read top to bottom then left to right (Zack, November 24, 2026).
   Columns replace the row-by-row flex wrap; 3 columns from 992px, 2 from 768px, 1 below, as before. */
.job-titles ul { display: block; column-count: 3; column-gap: 20px; }
.job-titles ul li { display: block; break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 10px; }
@media (max-width: 991px) { .job-titles ul { column-count: 2; } }
@media (max-width: 767px) { .job-titles ul { column-count: 1; } }
