/* About us: story, numbers, journey, albums, clips, team and teachers. Built on the glass theme and css/features/pages.css. */

.ab-kicker { align-self: flex-start; background: var(--g-icon-bg); }

/* Numbers (partials/success-stats prints .cats > .cat.c-{colour}) */
.ab-stats .cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.ab-stats .cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 96px; padding: 12px 8px; text-align: center; font-size: 14px; color: var(--g-muted); }
.ab-stats .cat b.big { font-size: 24px; line-height: 1.2; color: var(--g-pink); }
@media (min-width: 768px) { .ab-stats .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .ab-stats .cat b.big { font-size: 32px; } }

/* Journey */
.timeline { list-style: none; position: relative; display: grid; gap: 12px; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 33px; top: 10px; bottom: 10px; width: 2px; background: var(--g-line); }
.timeline li { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 12px; align-items: start; }
.timeline .year { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 36px; border-radius: 999px; background: var(--g-brand); color: #fff; font-weight: 700; }
/* display: block undoes app.css's two-column ".step" (an older form step), which squeezed the story into a thin column. */
.timeline .step { display: block; margin: 0; padding: 12px 14px; border-radius: var(--g-r-tile); background: var(--g-tile); border: 1px solid var(--g-tile-line); }
.timeline h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.timeline p { margin: 4px 0 0; color: var(--g-muted); }
.timeline img { margin-top: 10px; border-radius: 12px; max-height: 260px; object-fit: cover; }

/* Albums */
.albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.album { display: flex; flex-direction: column; padding: 6px; border-radius: var(--g-r-tile); background: var(--g-tile); border: 1px solid var(--g-tile-line); color: var(--g-text); }
.album:hover { background: var(--g-tile-hover); box-shadow: 0 8px 20px rgba(60, 40, 160, .12); }
.album img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.album span { display: block; padding: 8px 6px 4px; }
.album b { display: block; font-size: 15px; line-height: 1.35; }
.album small { color: var(--g-muted); font-size: 14px; }
@media (min-width: 768px) { .albums { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }

/* Team and teachers */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.person { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: var(--g-r-tile); text-align: center; }
.person img, .person .avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.person .avatar { display: grid; place-items: center; background: var(--g-icon-bg); color: var(--g-accent); font-size: 28px; font-weight: 700; }
.person b { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.person small { font-size: 14px; color: var(--g-muted); line-height: 1.35; }
.person em { font-style: normal; font-size: 13px; padding: 1px 10px; border-radius: 999px; background: var(--g-icon-bg); color: var(--g-accent); font-weight: 700; }
.person .socials { display: flex; gap: 4px; }
.person .socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--g-accent); }
.person .socials a:hover { background: var(--g-icon-bg); }
.person .socials svg { width: 20px; height: 20px; }
@media (min-width: 768px) { .people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .people { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }

/* Closing call */
.ab-call { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ab-call h2 { margin: 0; font-size: 22px; }
.ab-call h2 svg { width: 24px; height: 24px; margin-right: 8px; vertical-align: -4px; color: var(--g-gold); }
@media (min-width: 1024px) { .ab-call { flex-direction: row; justify-content: space-between; text-align: left; } .ab-call .g-btn { min-width: 240px; } }
