/* About page */

.about-page {
  background: #fff;
  color: #111;
  overflow: hidden;
}

.about-container {
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
}

/* Intro */

.about-intro {
  background: #fff;
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
}

.about-intro-text {
  width: 330px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #555;
}

/* Story */

.about-story {
  background: #fff;
  padding-bottom: 0;
}

.about-story-layout {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: start;
}

.about-story-image {
  width: 92%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.about-story-copy {
  padding-left: 0;
  max-width: 470px;
}

.about-story-copy h1 {
  margin: -70px -28px 2rem;
  font-family: var(--font-body);
  font-size: 4rem;
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 700;
  color: #111;
}

.about-story-copy p {
  margin: 0;
  max-width: 390px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #666;
}

.about-story-copy p + p {
  margin-top: 1rem;
}

/* Collage */

.about-collage {
  background: #fff;
  padding: 0 0 5rem;
}

.about-collage-layout {
  position: relative;
  min-height: 520px;
}

.about-company-copy {
  position: absolute;
  left: 1.5rem;
  top: 5rem;
  width: 300px;
}

.about-company-copy p {
  margin: 0;
  max-width: 300px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #666;
}

/* Secondary image */

.about-metro-image {
  position: absolute;
  right: 7%;
  top: -5rem;
  width: 62%;
  max-width: 680px;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
}

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

/* Responsive */

@media (max-width: 900px) {
  .about-container {
    width: min(720px, calc(100% - 2.5rem));
  }

  .about-intro {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .about-intro-text {
    width: 340px;
  }

  .about-story-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-story-image {
    width: 75%;
  }

  .about-story-copy {
    padding-left: 0;
    max-width: 600px;
  }

  .about-story-copy h1 {
    margin: 0 0 2rem;
    font-size: 3.5rem;
  }

  .about-collage {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  .about-collage-layout {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .about-company-copy {
    position: static;
    width: 100%;
    max-width: 400px;
  }

  .about-metro-image {
    position: static;
    width: 75%;
    max-width: 680px;
    margin-left: auto;
  }
}

/* Mobile */

@media (max-width: 560px) {
  .about-container {
    width: calc(100% - 2rem);
    margin-inline: auto;
  }

  .about-intro {
    padding-top: calc(4rem + 74px);
    padding-bottom: 3.5rem;
  }

  .about-intro-text {
    width: 100%;
    max-width: 330px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .about-story-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-story-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

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

  .about-story-copy {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .about-story-copy h1 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem;
    font-size: clamp(2.3rem, 11vw, 3.5rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
  }

  .about-story-copy p {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .about-story-copy p + p {
    margin-top: 1rem;
  }

  .about-collage {
    padding-top: 2rem;
    padding-bottom: 0;
    background: #fff;
  }

  .about-collage-layout {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .about-company-copy {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
  }

  .about-company-copy p {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .about-metro-image {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
  }

  .about-metro-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }
}

/* Very small phones */

@media (max-width: 375px) {
  .about-container {
    width: calc(100% - 1.5rem);
  }

  .about-story-copy {
    width: 100%;
    max-width: 100%;
    padding-inline: 20px;
  }

  .about-story-copy h1 {
    font-size: clamp(2.2rem, 10.8vw, 3.3rem);
  }

  .about-company-copy {
    width: 100%;
    max-width: 100%;
    padding-inline: 20px;
  }

  .about-company-copy p {
    width: 100%;
    max-width: 100%;
  }

  .about-metro-image {
    width: 100%;
    max-width: 100%;
  }

  .about-metro-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}
