/* Legacy overrides, moved out of the WordPress Customizer "Additional CSS"
   box on 2026-11-16 so every rule lives in git. Loaded at wp_head priority
   102, the slot the Customizer CSS used to print in, so the cascade is
   unchanged. Rules are verbatim except a commented-out block and a duplicate
   .h4 rule, both of which had no effect. The navy .h2, cyan h2.eyebrow and
   #57924f form button were fixed in the color phase of the cleanup
   (docs/design-refresh-2026-11/CLEANUP-PLAN.md), not here. */

/* Marketing Headline Styles */

@media (min-width: 1200px) {
    .h1 {
        font-size: 4em;
    }
    .block-inner-banner__content .h1 {
        font-size: 4em;
    }
}

h2.eyebrow {
	color: var(--colorSky);
}

.block-about-what-we-do__left .h2 {
    margin-bottom: 24px;
}

.h2 {
	color: var(--colorBlue);
}

.h4 {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.2em;
}

.block-specializations__copy .h4 {
    margin-bottom: 15px;
}

.h5 {
	font-size: 1.25em;
  font-weight: bold;
  line-height: 1.2em;
}

.block-casestudy__listing__copy .h5 {
    font-size: 1em;
    font-weight: 600;
    line-height: 1.4em;
    margin: 0;
}
.block-casestudy__listing__copy .h5 a {
    color: var(--textColorSecondary);
    text-decoration: none;
}

.block-img-with-icons__text strong.h4 {
    color: var(--colorDrakGreen);
}

.p {
	font-size: 18px;
  line-height: 1.8em;
	margin-top: 0;
  margin-bottom: 0;
}

.block-get-started__copy h2.p {
	margin-bottom: 0;
}

/* Hero Gradient Overlay */
.block-inner-banner::before {
	background: linear-gradient(180deg, #F7F8FB 0%, rgba(247, 248, 251, 0) 79.65%);
}

/* Layout Adjustments */
.block-specializations__cta {
 		position: relative;
    width: auto;
    text-align: center;
}

.block-footer__copyright a {
    color: var(--textColorPrimary);
	text-decoration: none;
}
.block-footer__copyright a:hover {
    color: var(--textColorPrimary);
	text-decoration: underline;
}
.block-filter .-secondary {
	min-width: 280px;
}

section.block-case-study.headline-only {
    padding-bottom: 0px;
}

@media (max-width: 991px) {
.block-get-started__inner::after {
	z-index: 0;}
}

@media (max-width: 991px) {
.block-get-started__copy {
	z-index: 1;}
}

a {
color: var(--textColorPrimary);
	text-decoration: none;}

.block-casestudy-detail__copy p a {
    color: var(--colorGreen);
    text-decoration: underline;
}


/* Blog/Case Study filter dropdown */
.block-filter.--show-secondary .-secondary {
	z-index: 100;
}

/* HubSpot contact form, styled to match the previous Gravity Forms appearance */
.block-get-started__form .hs-form {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

/* HubSpot renders each field row as a fieldset. Bootstrap's reboot currently
   zeroes these out, but do not rely on that staying loaded. */
.block-get-started__form .hs-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: none;
}

.block-get-started__form .hs-form .form-columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.block-get-started__form .hs-form .hs-form-field { display: block; }

.block-get-started__form .hs-form label {
  display: block;
  font-size: 0.88em;
  font-weight: 400;
  margin-bottom: 6px;
}

.block-get-started__form .hs-form .hs-form-required { color: inherit; }

.block-get-started__form .hs-form .hs-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  height: 48px;
  padding-left: 16px;
  outline: none;
  box-shadow: none;
  background-color: var(--colorWhite, #ffffff);
  color: var(--textColorPrimary, #424242);
  font-family: inherit;
  font-size: 1em;
}

.block-get-started__form .hs-form .hs-input:focus {
  border-color: var(--colorGreen, #4c7e01);
}

.block-get-started__form .hs-form select.hs-input {
  appearance: none;
  -webkit-appearance: none;
  line-height: 45px;
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H8L4 4L0 0Z' fill='%239E9E9E'/%3E%3C/svg%3E%0A");
}

.block-get-started__form .hs-form textarea.hs-input {
  height: 80px;
  min-height: 0;
  padding: 12px 16px;
  line-height: 1.5;
  resize: vertical;
}

.block-get-started__form .hs-form .hs-button {
  padding: 12px 32px;
  border: 0;
  border-radius: 50px;
  font-size: 1em;
  font-weight: 700;
  font-family: inherit;
  color: var(--brandDarkGreen, #003830);
  background-color: var(--brandGreen, #81be41);
  cursor: pointer;
}

.block-get-started__form .hs-form .hs-button:hover {
  color: var(--colorWhite, #ffffff);
  background-color: var(--colorDrakGreen, #2c665d);
}

.block-get-started__form .hs-error-msgs {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.block-get-started__form .hs-error-msgs label {
  color: #c0392b;
  font-size: 0.8em;
  margin: 0;
}

.block-get-started__form .submitted-message {
  color: var(--colorGreen, #4c7e01);
  font-weight: 700;
}

@media (max-width: 767px) {
  .block-get-started__form .hs-form .form-columns-2 { grid-template-columns: 1fr; }
}

/* 2026-11-16 cleanup: the cyan square pinned above image-text headings is a
   decorative mark above a heading (vetoed). */
.block-image-text__copy::before {
	content: none;
	display: none;
}

/* 2026-11-16 cleanup: the 640px decorative glow behind the About/Careers
   solutions image overhangs the page by 280px, which widened phones to a
   650px layout (sideways scroll). Clip it at the section edge. */
.block-solutions {
	overflow-x: clip;
}
