/* ============================================================
   ABOUT PAGE — story + team
   ============================================================ */

/* ── ABOUT (Our Story) ───────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text p {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.78;
  margin-top: 1.125rem;
}

.about__photo-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gray-light);
}
.about__photo,
.about__photo-wrap picture,
.about__photo-wrap picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── TEAM ────────────────────────────────────────────────────── */
.team-section { background: var(--gray-light); }

.team-section__intro { margin-bottom: 3rem; }

.team__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.team-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  border-color: rgba(240,165,0,0.4);
  box-shadow: 0 8px 32px rgba(240,165,0,0.08);
  transform: translateY(-3px);
}

.team-card__avatar-wrap {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-card) 100%);
  padding: 2.25rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.team-card__avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(240,165,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.team-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.team-card__credentials {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-mid);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.team-card__role {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

.team-card__points {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.team-card__points li {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.team-card__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .team__grid  { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .team__grid  { grid-template-columns: 1fr; }
}

/* ── "What Sets Us Apart" (moved here from the homepage) ─────────── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.why-card:hover {
  border-color: rgba(240,165,0,0.35);
  box-shadow: 0 8px 28px rgba(240,165,0,0.08);
  transform: translateY(-2px);
}
.why-card__title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.why-card__text {
  font-size: 0.9375rem;
  color: var(--gray-mid);
  line-height: 1.68;
}
@media (max-width: 980px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ── Accreditations & Memberships ─────────────────── */
.accred__head { text-align: center; }
.accred__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 2.5rem auto 0;
}
.accred-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .accred-card:hover {
    border-color: rgba(240,165,0,0.5);
    box-shadow: 0 8px 24px rgba(15,31,56,0.08);
    transform: translateY(-2px);
  }
}
.accred-card__name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.accred-card__arrow {
  color: var(--gold);
  font-size: 0.85em;
  white-space: nowrap;
  transition: transform var(--ease);
  display: inline-block;
}
.accred-card:hover .accred-card__arrow { transform: translate(2px, -2px); }
.accred-card__note {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.55;
}
/* When the final card is left alone on an odd row, centre it across both columns. */
@media (min-width: 721px) {
  .accred-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    margin-inline: auto;
  }
}
@media (max-width: 720px) {
  .accred__list { grid-template-columns: 1fr; }
}
