/* 1) Header panel – white card with title + badges */
.about-header-panel {
  background: #fff;
  padding: 1rem 1rem;
  margin-bottom: 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.about-header-panel h2 {
  font-size: 2.75rem;
  margin: 0;
  color: var(--primary);
}
.about-header-panel .badges {
  display: flex;
  gap: 0.75rem;
}
.about-header-panel .badge {
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2) Body grid: two columns, tighter gap */
.about-body {
  display: grid;
  grid-template-columns: auto 1fr; /* image auto‐width, copy fills rest */
  gap: 1rem;
  align-items: start;
}

/* 3) Square image frame */
.about-image-frame {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0;
}
.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 4) Copy: lead paragraph & regular text */
.about-copy .lead {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--dark);
}
.about-copy p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--dark);
}
.about-copy .btn-primary {
  display: inline-block;
  margin-top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}

/* 5) Mobile: stack and center */
@media (max-width: 768px) {
  .about-body {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .about-image-frame {
    margin: 0 auto 1.5rem;
    max-width: 250px;
  }
}