/* About page portrait: preserve the entire photo and size its frame to the Roots copy. */
.rr-v2 .founder-photo picture {
  aspect-ratio: auto;
}

.rr-v2 .founder-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.rr-v2 .rr-about-roots-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, .55fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.rr-v2 .rr-about-roots-copy {
  min-width: 0;
}

.rr-v2 .rr-about-photo {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
}

.rr-v2 .rr-about-photo picture {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.rr-v2 .rr-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
}

.rr-v2 .rr-about-copy {
  max-width: 76ch;
}

.rr-v2 .rr-about-belief + .rr-about-belief {
  margin-top: 2rem;
}

.rr-v2 .rr-about-belief h3 {
  margin-bottom: .5rem;
}

.rr-v2 .rr-about-marketing {
  margin-top: 2.5rem;
}

.rr-v2 .rr-about-rule {
  width: min(100% - 2.5rem, 1240px);
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--rr-border);
}

.rr-v2 .rr-about-rule + .rr-about-rule {
  margin-top: .75rem;
}

.rr-v2 .rr-about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 899px) {
  .rr-v2 .rr-about-roots-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .rr-v2 .rr-about-photo {
    width: 50%;
    max-width: 50%;
    height: min(45svh, 24rem);
    justify-self: center;
  }

  .rr-v2 .rr-about-photo picture {
    justify-content: center;
  }

  .rr-v2 .rr-about-photo img {
    object-position: center;
  }
}
