/* Hallmark · component: credentials and footer · genre: modern-minimal · theme: existing Finexa */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 */

/* All four homepage labels use the same treatment on their light backgrounds. */
.home-page .meet-intro-heading .eyebrow,
.home-page .services-overview .eyebrow,
.home-page #client-feedback .eyebrow,
.home-page #how-we-work .eyebrow {
  color: #a84300;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-page #meet-intro-heading { scroll-margin-top: 130px; }

/* Four equal, readable credentials stay alongside the introduction video. */
.home-page .intro-credentials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(146px, 1fr));
  gap: 12px;
  padding-top: 0;
  padding-bottom: 28px;
}
.home-page .intro-credentials-grid > div,
.home-page .intro-credentials-grid > div:nth-child(n+3) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #dce4ec;
  border-radius: 4px;
  background: #f7f9fb;
  text-align: left;
}
.home-page .intro-credentials-grid > div::before,
.home-page .intro-credentials-grid > div:nth-child(n+3)::before,
.home-page .intro-credentials-grid > .proadvisor-award::before {
  top: -1px;
  right: auto;
  bottom: auto;
  left: 14px;
  transform: none;
}
.home-page .intro-credentials-grid strong,
.home-page .intro-credentials-grid .proadvisor-award strong {
  display: flex;
  min-height: 0;
  padding-top: 0;
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.05;
}
.home-page .intro-credentials-grid span { font-size: 12px; line-height: 1.35; }
.home-page .intro-credentials-grid .credential-ey { width: 48px; height: 48px; }
.home-page .intro-credentials-grid .credential-cpa {
  width: min(100%, 220px);
  height: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}
.home-page .intro-credentials-grid .proadvisor-award a { font-size: 12px; line-height: 1.3; }

/* Show the supplied portrait in its original proportions without cropping. */
.about-cpa-portrait > img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* CPA and community membership live together in the consistent site footer. */
.site-footer .footer-brand > .logo { max-width: min(330px, 100%); }
.site-footer .footer-cpa-credential { width: min(100%, 320px); max-width: 320px; }
.site-footer .footer-cpa-credential img { width: 320px; max-width: 100%; height: auto; }
.site-footer .footer-chamber-credential { width: min(100%, 320px); }
.site-footer .footer-chamber-credential img { display: block; width: 100%; height: auto; }
.site-footer .footer-col .footer-linkedin { margin: 4px 0 8px; }
.site-footer .footer-col .footer-linkedin a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 3px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.site-footer .footer-col .footer-linkedin a:hover,
.site-footer .footer-col .footer-linkedin a:active { background: #fff; color: #14294a; }
.site-footer .footer-col .footer-linkedin a:focus-visible {
  outline: 3px solid #ffbd86;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .home-page .intro-credentials-grid { grid-template-rows: repeat(2, minmax(124px, auto)); padding-bottom: 0; }
}
@media (max-width: 420px) {
  .home-page .intro-credentials-grid { gap: 10px; }
  .home-page .intro-credentials-grid > div,
  .home-page .intro-credentials-grid > div:nth-child(n+3) { padding: 12px; }
  .home-page .intro-credentials-grid > div::before,
  .home-page .intro-credentials-grid > div:nth-child(n+3)::before,
  .home-page .intro-credentials-grid > .proadvisor-award::before { left: 12px; }
}
