/* =========================================================
   ABOUT PAGE (My Full Story)
   Builds on home.css (hero, headings, buttons, CTA) and
   speaking.css (landscape hero frame, about blocks).
   Loaded on pages/about.html only.
   ========================================================= */

/* ---------- Hero ---------- */
.ab-hero .sp-hero__title { max-width: 9ch; }

/* ---------- How it all started: portrait + timeline ---------- */
.ab-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.ab-story__media {
  position: sticky;
  top: calc(var(--nav-height, 80px) + 2rem);
  margin: 0;
  border-radius: 999px 999px 8px 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(61, 26, 43, 0.45);
}
.ab-story__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.ab-timeline { position: relative; counter-reset: step; }
.ab-timeline::before {                     /* the thread joining each chapter */
  content: "";
  position: absolute;
  left: 7px; top: 0.6rem; bottom: 0.6rem;
  width: 2px;
  background: rgba(217, 119, 6, 0.45);
}
.ab-step {
  position: relative;
  padding: 0 0 clamp(1.75rem, 3.5vw, 2.5rem) 2.5rem;
}
.ab-step:last-child { padding-bottom: 0; }
.ab-step::before {                         /* chapter marker */
  content: "";
  position: absolute;
  left: 0; top: 0.35rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ivory, #FCF8F5);
  border: 3px solid #D97706;
}
.ab-step--now::before { background: #D97706; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.2); }
.ab-step__place {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-text, #B45309);
}
.ab-step p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.ab-step .ab-step__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
}
.ab-step .h-textlink { margin-top: 0.5rem; }

/* ---------- Quote band ---------- */
.ab-quote {
  background: var(--plum, #5E2A41);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}
.ab-quote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.375rem);
  line-height: 1.4;
  color: #FCF8F5;
  max-width: 30ch;
  margin: 0 auto;
}

/* ---------- Founding CSA Africa: photo on the right ---------- */
@media (min-width: 861px) {
  .sp-about--reverse { grid-template-columns: 1.05fr 0.95fr; }
  .sp-about--reverse .sp-about__media { order: 2; }
}

/* ---------- Beyond the Stage ---------- */
.ab-conviction {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-left: 3px solid #D97706;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 20px 40px -32px rgba(61, 26, 43, 0.5);
}
.ab-conviction__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
  line-height: 1.45 !important;
  color: var(--plum, #5E2A41) !important;
  margin-bottom: 0.35rem !important;
}
.ab-conviction__note { font-size: 0.9375rem !important; margin: 0 !important; color: var(--ink-soft); }

.ab-socials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.ab-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(94, 42, 65, 0.25);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--plum, #5E2A41);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.ab-socials a:hover { background: var(--plum, #5E2A41); color: #FCF8F5; transform: translateY(-2px); }
.ab-socials svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .ab-story { grid-template-columns: 1fr; }
  .ab-story__media { position: static; max-width: 280px; margin: 0 auto; }
  .ab-hero .sp-hero__title { max-width: none; }
}
@media (max-width: 600px) {
  .ab-step { padding-left: 2rem; }
  .ab-step p { font-size: 1rem; }
  .ab-socials { display: grid; grid-template-columns: 1fr 1fr; }
  .ab-socials a { justify-content: center; }
}

/* Large screens: "How it all started ↓" stays on the button row */
@media (min-width: 1200px) {
  .ab-hero .h-hero__cta { flex-wrap: nowrap; column-gap: 1.5rem; }
  .ab-hero .h-hero__cta .h-textlink { white-space: nowrap; }
  .ab-hero .h-hero__actions { flex: 0 0 auto; flex-wrap: nowrap; }
}

/* keep her in frame in the CSA photo (she stands at the left of the picture) */
.sp-about--reverse .sp-about__media img { object-position: 18% center; }
.about .sp-about:not(.sp-about--reverse) .sp-about__media img { object-position: 50% 20%; }
@media (max-width: 600px) { .ab-socials a { width: 100%; } }
.ab-story__media img[src*="ds-27"] { object-position: center 4%; }   /* professional portrait: headroom under the arch */
