/* Company story and founder page. Navigation and breadcrumbs use shared styles. */
.about-page {
  color: #424955;
}

.about-page a:focus-visible {
  outline: 2px solid var(--bs-primary) !important;
  outline-offset: 4px;
}

.about-page .hero-breadcrumbs a:focus-visible,
.about-page .service-jump-links a:focus-visible,
.about-dark a:focus-visible,
.about-hero a:focus-visible {
  outline-color: #fff !important;
}

.about-page .btn {
  max-width: 100%;
  white-space: normal;
}

.about-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.about-section .display-6 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.25;
  letter-spacing: -.035em;
  margin-bottom: 1.5rem;
}

.about-hero {
  background-image: linear-gradient(90deg, rgba(8, 11, 18, .58) 0%, rgba(8, 11, 18, .45) 50%, rgba(8, 11, 18, .18) 100%), url("../assets/images/about/why-choose-us-hero.webp");
  background-position: center;
}

.about-hero-content {
  max-width: 51rem;
}

.about-hero .lead {
  max-width: 43rem;
  margin-bottom: 1.75rem;
}

.about-hero-note {
  color: #fff;
  font-size: .875rem;
  line-height: 1.8;
  margin: 1.5rem 0 0;
}

.about-section-intro {
  max-width: 49rem;
  margin-bottom: 2.5rem;
}

.about-light {
  background: #f4f5f7;
}

.about-founder {
  max-width: 29rem;
  margin: 0 auto;
}

.about-founder img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .75rem;
}

.about-founder figcaption {
  margin-top: 1.25rem;
}

.about-founder-name,
.about-founder-role {
  display: block;
}

.about-founder-name {
  color: #171d28;
  font-size: 1.2rem;
  margin-bottom: .3rem;
}

.about-founder-role {
  font-size: .875rem;
  color: #424955;
}

.about-founder-social {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  gap: .25rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.about-founder-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: #171d28;
  text-decoration: none;
  transition: color .2s ease;
}

.about-founder-social a:hover,
.about-founder-social a:focus-visible {
  color: var(--bs-primary);
}

.about-founder-social i,
.about-founder-social svg {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
}

.about-principle {
  height: 100%;
  padding: 1.75rem;
  background: #fff;
  border-top: 3px solid var(--bs-primary);
}

.about-principle > i {
  display: block;
  color: var(--bs-primary);
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.about-principle p,
.about-service-note p,
.about-assurance p {
  margin-bottom: 0;
}

.about-service-note {
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--bs-primary);
}

.about-page p a,
.about-text-link {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.about-process {
  counter-reset: about-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-process li {
  counter-increment: about-step;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
}

.about-process li + li {
  border-top: 1px solid #d9dce1;
  padding-top: 1.75rem;
}

.about-process li::before {
  content: counter(about-step, decimal-leading-zero);
  flex: 0 0 2.5rem;
  color: var(--bs-primary);
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 700;
}

.about-process li:last-child,
.about-process p {
  margin-bottom: 0;
  padding-bottom: 0;
}

.about-ownership {
  margin-top: 2.5rem;
}

.about-assurance {
  display: flex;
  gap: 1.2rem;
  height: 100%;
  background: #f4f5f7;
  padding: 1.75rem;
  border-radius: .5rem;
}

.about-assurance > i {
  color: var(--bs-primary);
  font-size: 1.75rem;
}

.about-dark {
  background: #11151e;
  color: #d4d8e0;
}

.about-dark h2,
.about-dark .service-kicker {
  color: #fff;
}

.about-dark .service-kicker::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 3px;
  margin-right: .65rem;
  vertical-align: middle;
  background: var(--bs-primary);
}

.about-dark-link,
.about-dark-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .3em;
}

.about-dark-link:hover {
  text-decoration-color: var(--bs-primary);
}

.about-video {
  overflow: hidden;
  border-radius: .75rem;
  background: #080b12;
}

.about-video iframe {
  border: 0;
}

.about-chambers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-chambers a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  height: 100%;
  padding: 1.75rem 1rem;
  background: #11151e;
  color: #fff;
  border-radius: .5rem;
  text-align: center;
  font-size: .85rem;
  line-height: 1.5;
}

.about-chambers a:hover span {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.about-chambers img {
  width: 100%;
  height: 80px;
  max-width: 160px;
  object-fit: contain;
}

.about-reviews {
  width: 100%;
  min-width: 0;
}

.about-reviews iframe {
  max-width: 100%;
}

.about-cta {
  border-bottom: 1px solid #353b47;
}

.about-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.about-cta-actions .btn {
  margin: 0;
}

@media (min-width: 992px) {
  .about-cta-actions {
    align-items: flex-end;
  }
}

@media (max-width: 575.98px) {
  .about-hero {
    background-image: linear-gradient(rgba(8, 11, 18, .8), rgba(8, 11, 18, .9)), url("../assets/images/about/why-choose-us-hero.webp");
    background-position: 70% center;
  }

  .about-process li {
    gap: .75rem;
  }

  .about-assurance {
    padding: 1.5rem;
  }

  .about-chambers {
    gap: .75rem;
  }

  .about-chambers a {
    padding: 1.25rem .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-founder-social a {
    transition: none;
  }
}
