/* About page (/about.html). Loaded after styles.css and pages.css. */

/* ---------- Hero stats ---------- */
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; margin: 40px auto 0; text-align: left; }
.ab-stats div { background: var(--grey); border-radius: 20px; padding: 20px; }
.ab-stats strong { display: block; font-size: 36px; line-height: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--black); font-variant-numeric: tabular-nums; }
.ab-stats div > span { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--body); }

.ab-logos { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 0 72px; overflow-x: clip; }
.ab-logos .micro { font-weight: 600; color: var(--black); margin-bottom: 8px; }
.ab-logos .logo-marquee { max-width: 1180px; width: 100%; }

/* ---------- Vision: grey panel, heading left + two copy columns right, then both founders the same size,
   James on the left and Fady on the right set lower (staggered, like the organic post cover) ---------- */
.ab-vision { background: var(--grey); border-radius: var(--r-panel); margin: 0 16px; padding: 64px; }
.ab-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; }
.ab-vision-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ab-vision-copy p { font-size: 17px; line-height: 26px; color: var(--black); }
.ab-vision-copy p + p { margin-top: 18px; }

.ab-founders { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1280px; margin: 72px auto 0; }
.ab-founder { width: min(40%, 420px); }
.ab-founder-fady { margin-top: 220px; }
.ab-founder img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 9; object-fit: cover; border-radius: 20px; background: var(--white); }
.ab-founder figcaption { margin-top: 14px; }
.ab-founder strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ab-founder span { display: block; margin-top: 2px; font-size: 14px; color: var(--body); }

/* ---------- The SoCreative way: illustrations in matching boxes, a title, then plain copy in the vision style ---------- */
.ab-way-head { margin-bottom: 48px; }
.ab-way { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.ab-way-item img { display: block; width: 100%; max-width: 200px; height: 170px; object-fit: contain; object-position: left bottom; }
.ab-way-item h3 { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; color: var(--black); }
.ab-way-item p { margin-top: 10px; font-size: 17px; line-height: 26px; color: var(--black); }

@media (max-width: 960px) {
  .ab-logos { gap: 20px; padding-bottom: 48px; }
  .ab-vision { padding: 40px 24px; }
  .ab-vision-grid { grid-template-columns: 1fr; gap: 24px; }
  .ab-founders { margin-top: 48px; }
  .ab-founder { width: 46%; }
  .ab-founder-fady { margin-top: 120px; }
  .ab-way { grid-template-columns: 1fr; gap: 40px; }
  .ab-way-item img { height: 130px; }
  .ab-way-item h3 { margin-top: 20px; padding-top: 18px; }
}
@media (max-width: 640px) {
  .ab-vision { margin: 0; border-radius: 0; padding: 40px 16px; }
  .ab-vision-copy { grid-template-columns: 1fr; gap: 18px; }
  .ab-stats { gap: 8px; }
  .ab-stats div { padding: 14px 12px; border-radius: 16px; }
  .ab-stats strong { font-size: 26px; line-height: 30px; }
  .ab-stats div > span { font-size: 12px; line-height: 16px; }
  .ab-founders { flex-direction: column; gap: 32px; }
  .ab-founder { width: 78%; }
  .ab-founder-fady { margin-top: 0; align-self: flex-end; }
}
