/* About us page */

.page--about-us {
  background: #f8fafc;
}

.page--about-us main {
  padding-top: 0;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 1.5rem) 0 4.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 58%, var(--blue-500));
}

.about-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(90deg, rgb(255 255 255 / 0.08) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
}

.about-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: rgb(255 255 255 / 0.75);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.about-breadcrumb a:hover {
  color: var(--white);
}

.about-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 920px) {
  .about-hero__grid {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }
}

.about-kicker,
.about-section-label {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgb(251 191 36 / 0.35);
  border-radius: 999px;
  background: rgb(251 191 36 / 0.14);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-section-label {
  background: rgb(37 99 235 / 0.08);
  border-color: rgb(37 99 235 / 0.16);
  color: var(--blue-500);
}

.about-hero h1 {
  max-width: 48rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.about-hero__copy > p {
  max-width: 42rem;
  margin: 0;
  color: rgb(255 255 255 / 0.82);
  line-height: 1.7;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.about-owner {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 1.2rem;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 22px 55px rgb(0 0 0 / 0.16);
  backdrop-filter: blur(12px);
}

.about-owner img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-owner div {
  padding: 1.1rem;
}

.about-owner span {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-owner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.about-owner p {
  margin: 0;
  color: rgb(255 255 255 / 0.78);
  line-height: 1.55;
}

.about-content {
  display: grid;
  gap: 1.25rem;
  margin-top: -2.2rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.about-card,
.about-owner-detail,
.about-cta {
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.06);
}

.about-card {
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.about-card--story {
  max-width: 900px;
}

.about-card h2,
.about-owner-detail h2,
.about-cta h2 {
  margin: 0 0 0.65rem;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.about-card p,
.about-owner-detail p,
.about-cta p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.06);
}

.about-stats article {
  padding: 1.2rem;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}

.about-stats article:last-child {
  border-right: 0;
}

.about-stats strong {
  display: block;
  color: var(--blue-500);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
}

.about-stats span {
  color: var(--gray-600);
  font-size: 0.84rem;
  font-weight: 800;
}

.about-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  background: rgb(37 99 235 / 0.1);
  color: var(--blue-500);
}

.about-owner-detail {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

@media (min-width: 860px) {
  .about-owner-detail {
    grid-template-columns: 18rem minmax(0, 1fr);
    align-items: center;
  }
}

.about-owner-detail__image {
  overflow: hidden;
  border-radius: 1rem;
}

.about-owner-detail__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-owner-detail ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.about-owner-detail li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy-900);
  font-weight: 800;
}

.about-owner-detail li .icon {
  color: var(--blue-500);
}

.about-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgb(239 246 255), var(--white));
}

@media (min-width: 720px) {
  .about-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.about-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border-radius: 0.65rem;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.about-cta a:hover {
  background: var(--navy-700);
}

@media (max-width: 720px) {
  .about-hero {
    padding: calc(var(--header-h) + 1.1rem) 0 3.5rem;
  }

  .about-owner {
    max-width: 24rem;
  }

  .about-content {
    margin-top: -1.5rem;
    padding-bottom: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats article:nth-child(2) {
    border-right: 0;
  }

  .about-stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--gray-100);
  }
}
