p {
    color: rgb(92, 107, 121);
}
/* WordPress menu integration */
.site-header .desktop-nav-wrap {
  display: flex;
  height: 100%;
  align-items: center;
}

.site-header .desktop-nav,
.site-header .desktop-nav ul,
.site-header .mobile-panel,
.site-footer .footer-nav,
.site-footer .footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .desktop-nav > li {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
}

.site-header .desktop-nav > li > .nav-link {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}

.site-header .desktop-nav .nav-link:hover,
.site-header .desktop-nav .nav-link:focus-visible {
  color: var(--blue);
}

.site-header .desktop-nav .nav-caret {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.site-header .desktop-nav .sub-menu > li {
  margin: 0;
  padding: 0;
}

.site-header .desktop-nav .sub-menu .nav-link {
  width: 100%;
}

/* Keep the WordPress menu markup visually identical to the original index.html. */
.site-header .desktop-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 34px;
  color: #24394a;
  font-size: .88rem;
  font-weight: 650;
}

.site-header .desktop-nav > li.nav-dropdown > .dropdown-panel {
  position: absolute;
  z-index: 2;
  visibility: hidden;
  top: 72px;
  left: -24px;
  display: grid;
  width: 290px;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 22px 60px rgba(4, 27, 49, .16);
  opacity: 0;
  transform: translateY(8px);
  transition: visibility .2s ease, opacity .2s ease, transform .2s ease;
}

.site-header .desktop-nav > li.nav-dropdown > .dropdown-panel > li {
  display: block;
  margin: 0;
  padding: 0;
}

.site-header .desktop-nav > li.nav-dropdown > .dropdown-panel > li > .nav-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #edf2f5;
  color: var(--navy);
}

.site-header .desktop-nav > li.nav-dropdown > .dropdown-panel > li:last-child > .nav-link {
  border-bottom: 0;
}

.site-header .desktop-nav > li.nav-dropdown > .dropdown-panel > li > .nav-link:hover,
.site-header .desktop-nav > li.nav-dropdown > .dropdown-panel > li > .nav-link:focus-visible {
  background: var(--mist);
  color: var(--blue);
}

.site-header .desktop-nav > li.nav-dropdown:hover > .dropdown-panel,
.site-header .desktop-nav > li.nav-dropdown:focus-within > .dropdown-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-header .desktop-nav .menu-item-cta {
  display: flex;
  align-items: center;
}

.site-header .desktop-nav .menu-item-cta > .header-cta {
  height: auto;
  min-height: 42px;
  transition: background .2s ease, color .2s ease;
}

.site-header .desktop-nav .menu-item-cta > .header-cta:hover,
.site-header .desktop-nav .menu-item-cta > .header-cta:focus-visible {
  color: var(--white);
}

.site-header .desktop-nav .nav-arrow,
.site-footer .footer-nav .nav-arrow {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.site-footer .footer-column {
  min-width: 0;
}

.site-footer .footer-nav {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.site-footer .footer-nav li {
  margin: 0;
  padding: 0;
}

.site-footer .footer-nav a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
}

.site-footer .footer-nav .sub-menu {
  margin: 0 0 4px 14px;
  padding: 0;
}

.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .site-header .desktop-nav-wrap {
    display: none;
  }

  .site-header .mobile-panel {
    display: grid;
  }

  .site-header .mobile-panel > li,
  .site-header .mobile-panel .sub-menu > li {
    margin: 0;
    padding: 0;
  }

  .site-header .mobile-panel .nav-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #ecf1f4;
    color: var(--navy);
    font-weight: 650;
  }

  .site-header .mobile-panel .sub-menu {
    display: grid;
    margin: 0;
    padding: 0 0 4px 16px;
  }

  .site-header .mobile-panel .sub-menu .nav-link {
    font-size: .94rem;
  }

  .site-header .mobile-panel .nav-caret {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
  }

  .site-header .mobile-panel .menu-item-cta {
    margin-top: 14px;
  }

  .site-header .mobile-panel .menu-item-cta > .header-cta {
    display: inline-flex;
    width: auto;
    min-height: 42px;
    align-items: center;
    padding: 0 17px;
    border: 0;
    background: var(--navy);
    color: var(--white);
  }

  .site-header .mobile-panel .menu-item-cta > .header-cta:hover,
  .site-header .mobile-panel .menu-item-cta > .header-cta:focus-visible {
    background: var(--blue);
    color: var(--white);
  }
}

/* Hindsight Hero component */
.hindsight-hero {
  --hindsight-hero-fade: 1s;
  --hindsight-hero-position: center center;
}

/* Shared page hero component */
.hindsight-page-hero .hindsight-component-heading {
  color: white;
}

.hindsight-page-hero--services .hindsight-component-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.hindsight-page-hero--services .subhero-image img,
.hindsight-page-hero--contact .contact-hero-bg,
.hindsight-page-hero--approach .approach-hero-bg {
  object-position: var(--hindsight-page-hero-image-position, center center);
}

.hindsight-page-hero--approach .hindsight-page-hero-side {
  margin: 0 0 10px;
}

.hindsight-page-hero--approach .hindsight-page-hero-side > p,
.hindsight-page-hero--contact .hindsight-page-hero-copy {
  color: #c2d6e2;
  font-size: 1.12rem;
}

.hindsight-page-hero--contact .hindsight-page-hero-copy {
  max-width: 700px;
  margin: 0;
}

.hindsight-page-hero-button {
  margin-top: 4px;
}

/* Shared editable card grid */
.hindsight-card-grid .principle-card-heading {
  color: var(--navy);
}

.hindsight-card-grid .principle-card-icon-image {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 68px;
  object-fit: contain;
  object-position: left center;
}

.hindsight-card-grid .principle-card-number {
  display: block;
  min-height: 1.25rem;
  margin-bottom: 68px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.25;
}

.hindsight-card-grid {
  padding-top: var(--hindsight-card-grid-padding-top, 120px);
  padding-bottom: var(--hindsight-card-grid-padding-bottom, 120px);
  background: var(--hindsight-card-grid-background, var(--mist));
}

.hindsight-card-grid .principle-grid {
  grid-template-columns: repeat(var(--hindsight-card-grid-columns, 4), minmax(0, 1fr));
}

.hindsight-card-grid-count-1 { --hindsight-card-grid-columns: 1; }
.hindsight-card-grid-count-2 { --hindsight-card-grid-columns: 2; }
.hindsight-card-grid-count-3 { --hindsight-card-grid-columns: 3; }
.hindsight-card-grid-count-4 { --hindsight-card-grid-columns: 4; }

.hindsight-card-grid .principle-grid article.principle-card-no-marker {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
}

@media (max-width: 760px) {
  .hindsight-card-grid {
    padding-top: var(--hindsight-card-grid-padding-top, 82px);
    padding-bottom: var(--hindsight-card-grid-padding-bottom, 82px);
  }

  .hindsight-card-grid .principle-grid {
    grid-template-columns: 1fr;
  }

  .hindsight-card-grid .principle-grid article.principle-card-no-marker {
    min-height: 220px;
  }
}

@media (min-width: 761px) and (max-width: 1020px) {
  .hindsight-card-grid .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hindsight-card-grid-count-1 .principle-grid {
    grid-template-columns: 1fr;
  }
}

/* Reusable compact information card */
.hindsight-info-card .hindsight-info-card-icon-image {
  display: block;
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
}

.hindsight-info-card .hindsight-info-card-title {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: normal;
}

.hindsight-info-card .hindsight-info-card-subtitle {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.6;
}

.hindsight-hero-slideshow {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hindsight-hero-slide {
  visibility: hidden;
  object-position: var(--hindsight-hero-position);
  opacity: 0;
  transition: opacity var(--hindsight-hero-fade) ease-in-out, visibility 0s linear var(--hindsight-hero-fade);
}

.hindsight-hero-slide.is-active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.hindsight-hero .hero-proof.hindsight-hero-proof-count-1 {
  width: min(235px, calc(100% - 24px));
  grid-template-columns: 1fr;
}

.hindsight-hero .hero-proof.hindsight-hero-proof-count-2 {
  width: min(470px, calc(100% - 24px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hindsight-hero .hero-proof.hindsight-hero-proof-count-3 {
  width: min(700px, 52vw);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .hindsight-hero .hero-proof.hindsight-hero-proof-count-1,
  .hindsight-hero .hero-proof.hindsight-hero-proof-count-2,
  .hindsight-hero .hero-proof.hindsight-hero-proof-count-3 {
    right: 0;
    left: 0;
    width: 100%;
  }
}

/* WPBakery component typography */
.hindsight-hero .hindsight-component-heading {
  max-width: 830px;
  margin-bottom: 30px;
  color: white;
}

.hindsight-services .hindsight-component-heading {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--navy);
}

.hindsight-services .service-card-heading {
  max-width: 290px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.62rem;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.hindsight-process .hindsight-component-heading {
  margin-bottom: 0;
  color: var(--ink);
}

.hindsight-process .process-step-heading {
  margin-top: 76px;
  margin-bottom: 17px;
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.hindsight-consultation-band .hindsight-component-heading {
  max-width: 700px;
  margin: 0;
  color: white;
}

.feature-list .feature-list-copy {
  display: grid;
  margin: 0;
}

.feature-list .feature-list-title {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.3;
}

.feature-list .feature-list-copy > span {
  color: var(--muted);
  font-size: .93rem;
}

.feature-list > div.feature-list-item-title-only {
  align-items: center;
  min-height: 80px;
}

.feature-list.feature-list-all-title-only {
  gap: 0;
}

.feature-list > div.feature-list-item-title-only > svg {
  margin-top: 0;
}

.feature-list > div.feature-list-item-title-only .feature-list-copy {
  align-self: center;
}

/* Hindsight Image Frame component */
.hindsight-image-frame {
  min-height: var(--hindsight-image-frame-height, 700px);
}

.hindsight-image-frame .image-frame-image {
  object-fit: cover;
}

.hindsight-image-frame .image-label {
  z-index: 2;
}

@media (max-width: 760px) {
  .hindsight-image-frame {
    min-height: min(var(--hindsight-image-frame-height, 700px), 470px);
  }
}

@media (max-width: 760px) {
  .feature-list > div.feature-list-item-title-only {
    min-height: 70px;
  }
}

/* WPBakery column-gap compatibility */
.vc_row.wpb_column-gap {
  margin-left: calc((30px + var(--wpb-column-gap)) * -1 / 2);
  margin-right: calc((30px + var(--wpb-column-gap)) * -1 / 2);
}

.vc_row.wpb_column-gap > .vc_column_container {
  padding: calc(var(--wpb-column-gap) / 2);
}

/* Larger hierarchy for WPBakery Custom Heading elements. */
h3.vc_custom_heading,
h3.vc_do_custom_heading,
h4.vc_custom_heading,
h4.vc_do_custom_heading {
  margin-top: 0;
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 680;
}

h3.vc_custom_heading,
h3.vc_do_custom_heading { font-size: clamp(2rem, 3vw, 3.25rem); }

h4.vc_custom_heading,
h4.vc_do_custom_heading { font-size: clamp(1.6rem, 2.3vw, 2.4rem); }

.centered > p:last-child{
  max-width: 713px;
}
/* WordPress fallback and error templates */
.hindsight-fallback-page {
  background: #fff;
}

.hindsight-fallback-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 105px;
  background: var(--navy);
  color: var(--white);
}

.hindsight-fallback-hero::before {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 90px 90px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hindsight-fallback-hero .container {
  position: relative;
  z-index: 1;
}

.hindsight-fallback-hero h1 {
  max-width: 950px;
  margin: 0;
  color: var(--white);
}

.hindsight-error-hero {
  display: flex;
  min-height: min(620px, calc(100svh - 84px));
  align-items: center;
}

.hindsight-fallback-lead {
  max-width: 680px;
  margin: 28px 0 34px;
  color: #c8dae6;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.62;
}

.hindsight-fallback-list,
.hindsight-fallback-content {
  background: #fff;
}

.hindsight-fallback-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hindsight-fallback-post {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hindsight-fallback-post time {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hindsight-fallback-post h2 {
  margin: 28px 0 16px;
  color: var(--navy);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.hindsight-fallback-post h2 a {
  transition: color .2s ease;
}

.hindsight-fallback-post h2 a:hover,
.hindsight-fallback-post h2 a:focus-visible {
  color: var(--blue);
}

.hindsight-fallback-post > p {
  margin: 0 0 28px;
  color: var(--muted);
}

.hindsight-fallback-post .text-link {
  margin-top: auto;
}

.hindsight-fallback-list .pagination {
  margin-top: 50px;
}

.hindsight-fallback-empty {
  margin: 0;
  color: var(--muted);
}

.hindsight-fallback-content > .container > :last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .hindsight-fallback-hero {
    padding: 86px 0;
  }

  .hindsight-error-hero {
    min-height: calc(100svh - 72px);
  }

  .hindsight-fallback-posts {
    grid-template-columns: 1fr;
  }

  .hindsight-fallback-post {
    min-height: 260px;
    padding: 28px 22px;
  }
}
