/* ================================================
   ABOUT PAGE
   ================================================ */

.about-page {
  padding-top: 32px;
  padding-bottom: 100px;
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.about-page__intro {
  margin-bottom: 40px;
}

.about-page__image-wrapper {
  margin-bottom: 64px;
  height: 335px;
  width: 100%;
  overflow: hidden;
}

.about-page__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-page__line {
  margin-top: 16px;
  margin-bottom: 16px;
  height: 1px;
  display: flex;
  align-self: stretch;
  overflow: hidden;
}

.about-page__line svg {
  display: block;
  width: 100%;
}

.about-page__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 151px));
  gap: 33px;
}

.about-page__stat {
  min-width: 0;
}

.about-page__stat-value {
  margin-bottom: 8px;
  color: var(--theme-accent);
}

.about-page__stat-label {
  color: var(--theme-text-soft);
}

.about-page__text {
  display: flex;
  flex-direction: column;
  gap: 1lh;
}

.about-page__paragraph {
  color: var(--theme-text-soft);
}

.about-page__stat-value,
.about-page__stat-label,
.about-page__paragraph,
.about-page__team-description {
  font-family: Roboto;
}

/* ---------- ABOUT TEAM ---------- */
.about-page__team-title {
  margin-bottom: 40px;
}

.about-page__team-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-page__team-image-wrapper {
  margin-bottom: 32px;
  position: relative;
  max-width: 372px;
  width: 100%;
  aspect-ratio: 1;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-page__team-image-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 10px;
  background-color: var(--theme-accent);
}

.about-page__team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page__team-name {
  margin-bottom: 8px;
}

.about-page__team-position {
  margin-bottom: 16px;
  color: var(--theme-accent);
}

.about-page__team-description {
  color: var(--theme-text-soft);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 320px) and (max-width: 579px) {
  .about-page__stats {
    grid-template-columns: repeat(2, minmax(0, 151px));
  }
}

@media (min-width: 320px) and (max-width: 370px) {
  .about-page__stats {
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .about-page {
    max-width: none;
    padding-top: 40px;
    padding-bottom: 140px;
  }

  .about-page__intro {
    margin-bottom: 60px;
  }
  .about-page__intro-inner {
    max-width: 900px;
    margin-inline: auto;
  }
  .about-page__image-wrapper {
    height: clamp(400px, 44vw, 450px);
    aspect-ratio: auto;
  }

  .about-page__stats {
    grid-template-columns: repeat(auto-fit, minmax(130px, 160px));
    gap: 33px;
  }
}

@media (min-width: 1025px) {
  .about-page {
    padding-top: 50px;
    padding-bottom: 180px;
  }

  .about-page__intro {
    margin-bottom: 80px;
  }
  .about-page__intro-inner {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
  }
  .about-page__image-wrapper {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 0;
  }
  .about-page__line {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .about-page__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 33px;
  }

  .about-page__stat-value {
    margin-bottom: 10px;
  }

  .about-page__team-title {
    margin-bottom: 50px;
  }
  .about-page__team-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px 40px;
  }

  .about-page__team-image-wrapper {
    margin-bottom: 40px;
  }
  .about-page__team-image-wrapper::before {
    width: 15px;
  }

  .about-page__team-name {
    margin-bottom: 10px;
  }
  .about-page__team-position {
    margin-bottom: 20px;
  }
}

@media (min-width: 1400px) {
  .about-page {
    padding-top: 60px;
    padding-bottom: 220px;
  }

  .about-page__intro {
    margin-bottom: 100px;
  }
  .about-page__intro-inner {
    max-width: 1278px;
    margin-inline: auto;
    gap: 80px;
  }

  .about-page__team-title {
    margin-bottom: 60px;
  }
  .about-page__team-list {
    grid-template-columns: repeat(3, minmax(0, 372px));
    gap: 40px;
    justify-content: center;
  }

  .about-page__team-image-wrapper::before {
    width: 20px;
  }
}

@media (min-width: 580px) and (max-width: 1024px) {
  .about-page__team-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 20px;
  }
}
