/* "Meet the Founders" card — replaces the old Relume/Contra pitch card.
   Framed outer/inner nesting mirrors this site's own .pricing_card-border /
   .pricing_card-content pattern so it reads as a native section, not a
   bolted-on widget. */
.team-founders_card {
  background-color: var(--background-color--background-tertiary);
  border-radius: 1.5rem;
  padding: 0.5rem;
}

.team-founders_inner {
  background-color: var(--background-color--background-primary);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.team-founders_header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-founders_icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  background-color: var(--background-color--background-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.team-founders_logo {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}

.team-founders_heading h2 {
  margin: 0 0 0.3rem;
}

.team-founders_heading p {
  margin: 0;
}

/* Founder / Co-Founder cards — a fixed 2-up grid (there are only ever these
   two people) that stretches to fill the full card width, rather than a
   pair of small thumbnails floating in a mostly-empty row. */
.team-profiles_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color--border-primary);
  padding-top: 1.75rem;
}

.team-profiles_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background-color: var(--background-color--background-tertiary);
  border: 1px solid var(--border-color--border-primary);
  border-radius: 1.15rem;
  padding: 1.25rem;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
}

.team-profiles_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.6);
}

/* Each founder gets a soft glow in a different brand color — both stand
   out, neither reads as "more important" via a heavier badge/border. */
.team-profiles_card.is-founder {
  box-shadow: 0 8px 24px -6px rgba(243, 200, 77, 0.35);
}

.team-profiles_card.is-founder:hover {
  box-shadow: 0 14px 32px -8px rgba(243, 200, 77, 0.45);
}

.team-profiles_card.is-co_founder {
  box-shadow: 0 8px 24px -6px rgba(61, 110, 255, 0.35);
}

.team-profiles_card.is-co_founder:hover {
  box-shadow: 0 14px 32px -8px rgba(61, 110, 255, 0.45);
}

.team-profiles_photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  overflow: hidden;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-profiles_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-profiles_photo-placeholder {
  width: 40%;
  height: 40%;
  opacity: 0.35;
}

.team-profiles_label {
  text-align: center;
  line-height: 1.35;
  max-width: 100%;
}

.team-profiles_name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-profiles_role {
  display: block;
  font-size: 0.72rem;
  color: var(--text-color--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* No real name set yet (admin hasn't customized it) — show the role alone,
   styled like a name instead of a tiny muted caption under nothing. */
.team-profiles_role:only-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color--text-primary);
  text-transform: none;
  letter-spacing: normal;
  margin-top: 0;
}

@media (max-width: 767px) {
  .team-founders_inner { padding: 1.5rem; gap: 1.5rem; }
  .team-founders_header { gap: 0.85rem; }
  .team-founders_icon-wrapper { width: 3rem; height: 3rem; }
  .team-founders_logo { width: 1.6rem; height: 1.6rem; }
  .team-profiles_grid { gap: 0.85rem; padding-top: 1.5rem; }
  .team-profiles_card { padding: 0.9rem; gap: 0.7rem; }
  .team-profiles_photo { border-radius: 0.7rem; }
  .team-profiles_name { font-size: 0.85rem; }
  .team-profiles_role { font-size: 0.62rem; }
  .team-profiles_role:only-child { font-size: 0.85rem; }
}
