/* These styles apply only to the About page's story and team components. */
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}

.about-story-grid .prose { min-width: 0; }
.about-story-grid .prose > section + section { margin-top: 30px; }
.about-story-grid .prose > section:last-child p:last-child { margin-bottom: 0; }

.about-visual { margin: 0; min-width: 0; }
.about-visual-frame {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #e6dfd5;
  box-shadow: 0 20px 45px #102b4312;
}
.about-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Trim excess foreground while keeping the full saguaro in view. */
  object-position: 50% 20%;
}

.about-team {
  max-width: 1080px;
  margin-inline: auto;
}

.about-team .team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.about-team .team-person {
  padding: 0;
  border: 1px solid #dce4e9;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.about-team-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e6e9e8;
}
.about-team-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-team-copy { padding: 27px 28px 30px; }
.about-team-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2vw, 1.65rem);
  letter-spacing: -.025em;
}
.about-team-copy .about-team-role {
  color: #8c5933;
  font-size: .83rem;
  line-height: 1.55;
  font-weight: 600;
  margin-bottom: 18px;
}
.about-team-copy .about-team-bio {
  font-size: .94rem;
  line-height: 1.75;
  margin-bottom: 0;
}
.about-team-monogram {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  background: radial-gradient(ellipse at 50% 35%, #29445b, #102b43 80%);
  color: #ecd2b8;
}
.about-team-monogram::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid #caa27d55;
  pointer-events: none;
}
.about-team-monogram > span {
  font-family: Georgia, serif;
  font-size: clamp(3.5rem, 6vw, 5.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}
.about-team-monogram > small {
  font-size: .68rem;
  line-height: 1.5;
  letter-spacing: .23em;
  text-transform: uppercase;
  color: #dae3e9;
}

@media (min-width: 761px) and (max-width: 1040px) {
  .about-team .team-grid { gap: 18px; }
  .about-team-copy { padding: 23px 20px 25px; }
}

@media (max-width: 760px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { width: 100%; max-width: 520px; margin-inline: auto; }
  .about-team .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-team .team-person { width: 100%; max-width: 320px; margin-inline: auto; }
  .about-team-copy { padding: 26px; }
  .about-team-copy h3 { font-size: 1.6rem; }
  .about-team-monogram > span { font-size: 5rem; }
}

@media print {
  .about-team .team-person { break-inside: avoid; }
  .about-visual-frame { box-shadow: none; }
}
