/* =============================================================
   GENESYS TECHNOLOGY CONSULTING — About Page Styles
   about.css
   Styles specific to pages/about.html: the mission section with
   the full logo, the core values, and the team. The shared pieces
   (header, opening band, section headings, call-to-action panel,
   footer) come from styles.css, so load this file after it.
   ============================================================= */

/* ── Mission ── */
.mission {
  padding: var(--section) 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.mission-text h2 {
  font-size: clamp(28px, 3vw, 40px);
  max-width: 20ch;
  margin-bottom: 24px;
}

.mission-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  max-width: 60ch;
  margin-bottom: 16px;
}

/* The full logo on an off-white plate, top-right corner cut */
.mission-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 48px;
  background: var(--offwhite);
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
}

.mission-visual img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ── Section headers (Values, Team) ── */
.values-header,
.team-header {
  margin-bottom: 48px;
}

.values-header .section-title,
.team-header .section-title {
  margin-bottom: 0;
}

/* ── Values ── */
.values {
  padding: var(--section) 0;
  background: var(--offwhite);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 30px 28px 34px;
}

.value-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15.5px;
  color: var(--text-muted);
}

/* ── Team ── */
.team {
  padding: var(--section) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* Photo beside the name and role, bio underneath */
.team-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 24px;
  align-items: center;
  align-content: start;   /* keep photo and name at the top when the cards stretch to match */
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
}

.team-avatar {
  grid-row: 1 / 3;
  width: 92px;
  height: 92px;
  background: var(--offwhite);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card h3 {
  grid-column: 2;
  align-self: end;
  font-size: 22px;
  margin-bottom: 6px;
}

.team-card .role {
  grid-column: 2;
  align-self: start;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.team-card p {
  grid-column: 1 / -1;
  margin-top: 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 640px; }
}

@media (max-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-visual { padding: 48px 32px; }

  .team-card { padding: 28px 24px; grid-template-columns: 76px 1fr; column-gap: 18px; }
  .team-avatar { width: 76px; height: 76px; }
}

@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}
