/* ==========================================================================
   custom.css — hand-authored overrides layered on top of the Webflow export.
   Kept in a separate file so a future Webflow re-export does not clobber it.
   ========================================================================== */

/* The hero headings were promoted from h3/h4 (index) and h2 (about) to h1/h2
   so each page has a single, correct document outline. Webflow sizes headings
   off the tag rather than the class, so pin the original sizes here to keep
   the rendered design identical. */
h1.heading {
  font-size: 24px;
  line-height: 30px;
}

h2.heading-5 {
  font-size: 18px;
  line-height: 24px;
}

h1.heading-11 {
  font-size: 32px;
  line-height: 36px;
}

/* Intrinsic width/height attributes are now set on the hero imagery so the
   browser can reserve space and avoid layout shift. Webflow's base img rule
   caps width at 100% without releasing height, so opt these back into auto. */
.shadow-two,
.testimonial-image-four {
  height: auto;
}

/* Social destinations that are not live yet (Twitter, LinkedIn, Facebook) are
   rendered as greyed-out, non-interactive spans rather than dead "#" links or
   links to a bare social-network homepage. Only WhatsApp is a real
   destination. Restyle these here if the profiles later go live. */
.footer-link.is-disabled,
.social-link.is-disabled {
  pointer-events: none;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.footer-link.is-disabled {
  color: #b8b8b8;
  opacity: 0.45;
  text-decoration: none;
}

.social-link.is-disabled {
  opacity: 0.35;
}

.social-link.is-disabled .social-icon {
  filter: grayscale(100%);
}

/* Recent project references on the homepage. */
.recent-projects {
  padding: 56px 16px 52px;
}

.recent-projects .centered-heading {
  margin-bottom: 10px;
}

.recent-projects .centered-subheading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.recent-projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.recent-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6dee8;
  border-radius: 4px;
  background: #fff;
}

.recent-project-media {
  display: flex;
  width: 100%;
  height: 180px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e4ebf3;
}

.recent-project-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.recent-project-card-body {
  min-width: 0;
  padding: 16px;
  overflow-wrap: anywhere;
}

.recent-project-eyebrow {
  margin: 0 0 8px;
  color: #0050bd;
  font-size: 12px;
  font-weight: bold;
  line-height: 16px;
  text-transform: uppercase;
}

.recent-project-card h3 {
  margin: 0 0 8px;
  color: #13233a;
  font-size: 18px;
  line-height: 24px;
}

.recent-project-card-body > p:not(.recent-project-eyebrow) {
  margin: 0 0 12px;
  color: #3d4753;
  font-size: 14px;
  line-height: 21px;
}

.recent-project-card-body > a {
  color: #0050bd;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  text-decoration: underline;
}

.recent-projects-cta {
  margin-top: 28px;
  text-align: center;
}

.recent-projects a:focus-visible {
  outline: 3px solid #f0a202;
  outline-offset: 3px;
}

@media screen and (min-width: 568px) {
  .recent-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 992px) {
  .recent-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
