/* About page — shares the site's typography, spacing and navigation. */
.about__inner {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
  padding: 120px 0 100px;
}
.about__head { margin-bottom: 64px; }
.about__title {
  font-size: clamp(36px, 4.2vw, var(--text-lg));
  font-weight: var(--font-weight-regular);
  line-height: 1.1;
  margin-bottom: 16px;
}
.about__eyebrow { color: var(--color-border-muted); }
.about__owner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.about__portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111;
  border: 1px solid #242424;
  border-radius: var(--radius);
  position: relative;
}
.about__owner-name {
  font-size: clamp(32px, 4.1vw, 60px);
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  letter-spacing: -.04em;
  margin: 24px 0 40px;
}
.about__contact { min-width: 180px; }
.about__team { margin-top: var(--section-gap); }
.about__team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #303030;
  padding-top: 32px;
  margin-bottom: 40px;
}
.about__team-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: var(--font-weight-regular);
}
.about__team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
}
.about__photo-index {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 12px;
  color: #777;
}
.team-card__name {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: var(--font-weight-light);
  margin-top: 20px;
}
@media (max-width: 900px) {
  .about__team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .about__inner { padding-top: 100px; padding-bottom: 64px; }
  .about__head { margin-bottom: 40px; }
  .about__owner { grid-template-columns: 1fr; gap: 28px; }
  .about__owner-name { margin: 16px 0 24px; }
  .about__team { margin-top: 72px; }
  .about__team-head { margin-bottom: 28px; }
  .about__team-grid { gap: 32px 16px; }
  .about__photo-index { bottom: 12px; left: 12px; }
}
@media (max-width: 360px) {
  .about__team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about__inner { width: calc(100% - 40px); }
}

/* Clip the same subtle photo zoom used by the project's other cards. */
.about__photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  display: block;
}
.about__photo .about__portrait {
  transition: transform .45s ease;
}
@media (hover: hover) {
  .about__photo:hover .about__portrait { transform: scale(1.06); }
}
.about__photo:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.about__photo:focus-visible .about__portrait { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .about__photo .about__portrait { transition: none; }
}
