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

.page-hero__logo {
  width: 100px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(244, 97, 34, 0.25));
}

.about-story-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 80px;
  align-items: start;
  padding-top: 20px;
}
/* ---- Story Images: overlapping offset layout ---- */
.story-images {
  position: sticky;
  top: 100px;
  display: grid;
  grid-template: 1fr / 1fr;
  padding-bottom: 60px;
  padding-right: 30px;
}

.story-images img {
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.story-images__back {
  grid-area: 1 / 1;
  width: 88%;
  aspect-ratio: 4 / 5;
}

.story-images__front {
  grid-area: 1 / 1;
  width: 60%;
  aspect-ratio: 3 / 2;
  justify-self: end;
  align-self: end;
  margin-bottom: -40px;
  margin-right: -30px;
  border: 4px solid #fff;
  box-shadow: 0 10px 36px rgba(0,0,0,0.18);
  z-index: 2;
  object-position: center center;
}

@media (max-width: 768px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-images {
    position: relative;
    top: 0;
    max-width: 420px;
    margin: 0 auto;
    padding-bottom: 40px;
    padding-right: 20px;
  }
  .story-images__front {
    margin-bottom: -30px;
    margin-right: -20px;
  }
}

/* Story Section */
.story-subhead {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-top: 30px;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--brand-orange);
}

.story-text {
  color: var(--midtone-taupe);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.pullquote {
  background: var(--background-cream);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--body-brown);
  line-height: 1.7;
}

/* ============================================
   TEAM SECTION — Desktop
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 30px auto 0;
}

.team-card {
  position: relative;
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  padding: 32px 20px 24px;
  border: 1px solid rgba(173,146,134,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(244,97,34,0.10);
}

.team-card img {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-orange);
  margin-bottom: 14px;
}

.team-card h4 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 4px;
  color: var(--body-brown);
}

.team-card__role {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-orange);
  margin: 0 0 12px;
  font-weight: 500;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--midtone-taupe);
  margin: 0;
}

.team-card__bio {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--midtone-taupe);
  margin-top: 10px;
}

/* 7 cards: top row 3, middle row 3, bottom row 1 centered */
.team-card:nth-child(7) {
  grid-column: 2;
}

/* ============================================
   TEAM SECTION — Tablet (2 cols)
   ============================================ */
@media (max-width: 900px) and (min-width: 641px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }
  .team-card:nth-child(7) {
    grid-column: 1 / -1;
    max-width: 268px;
    justify-self: center;
  }
}

/* ============================================
   TEAM SECTION — Mobile (single row per person)
   ============================================ */
@media (max-width: 640px) {
  .team-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
    margin-top: 24px;
  }

  .team-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    row-gap: 0;
    text-align: left;
    padding: 16px;
    border-radius: 12px;
    background: var(--background-cream, #faf8f6);
    border: none;
    box-shadow: none;
  }
  .team-card:hover {
    transform: none;
    box-shadow: none;
  }

  .team-card:nth-child(7) {
    grid-column: auto;
  }

  .team-card img {
    width: 64px !important;
    height: 64px !important;
    border-width: 2px;
    grid-row: 1 / 3;
    align-self: center;
    margin-bottom: 0;
  }

  .team-card h4 {
    font-size: 0.95rem;
    align-self: end;
    margin-bottom: 2px;
  }

  .team-card__role {
    font-size: 0.72rem;
    margin-bottom: 0;
    align-self: start;
  }

  .team-card__bio {
    max-height: none;
    overflow: visible;
    grid-column: 1 / -1;
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--midtone-taupe);
  }

  .story-text {
    line-height: 1.7;
    margin-bottom: 1.5em;
  }

  .case-studies__stream .case-card + .case-card {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 24px;
    margin-top: 24px;
  }

  .cta__benefits li {
    font-size: 15px;
  }
}
