/* ==========================================================================
   Page: about
   ========================================================================== */

/* About (عن الأكاديمية) — namespace: about- */

/* The design sets type rhythm per element and leaves the rest at the font's own line height. */
.about-page { line-height: normal; }

/* Hero ------------------------------------------------------------------- */
.about-hero .page-hero__inner { padding-bottom: 32px; }
.about-hero__lead { max-width: 780px; }
.about-hero__chips { gap: 8px; margin-top: 8px; }
.about-hero__chips .chip { box-sizing: content-box; font-size: 14.5px; text-decoration: none; } /* 44px plus the border, as designed */
.about-hero__chips .chip:hover { color: var(--c-navy); }

/* Shared bits ------------------------------------------------------------ */
.about-title { font-size: 30px; line-height: normal; }
.about-stack { display: flex; flex-direction: column; gap: 24px; }
.about-split { --min: 420px; --gap: 32px; align-items: center; }
.about-split--top { align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 14px; }
.about-text__body { font-size: 17px; line-height: 1.9; color: var(--c-text-2); }

/* Who we are ------------------------------------------------------------- */
.about-who { display: flex; flex-direction: column; gap: 28px; }

.about-founder {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--c-pale-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
}
.about-founder__label { font-size: 13px; font-weight: 700; color: var(--c-primary); }
.about-founder__quote { font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.8; color: var(--c-ink); }
.about-founder__by { display: flex; align-items: center; gap: 12px; }
.about-founder__avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #DCEBF7;
  color: #4F7FA6;
  flex-shrink: 0;
}
.about-founder__meta { display: flex; flex-direction: column; }
.about-founder__name { font-weight: 700; }
.about-founder__role { font-size: 14px; color: var(--c-text-2); }

.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.about-fact { padding-top: 14px; border-top: 3px solid var(--c-primary); }
.about-fact dt { font-size: 13.5px; font-weight: 700; color: var(--c-text-3); }
.about-fact dd { margin-top: 4px; font-family: var(--font-head); font-size: 20px; font-weight: 800; }

/* Certificate ------------------------------------------------------------ */
.about-cert__lead { font-size: 16.5px; line-height: 1.8; color: var(--c-text-2); }
.about-cert__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline-start: 20px;
  font-size: 16px;
  line-height: 1.7;
}
/* Graduate stories ------------------------------------------------------- */
.about-stories { --min: 340px; --gap: 20px; }
.about-story { overflow: hidden; }
.about-story__video {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
}
.about-story__play {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-navy);
}
.about-story__play:hover { background: var(--c-pale); }
.about-story__play:focus-visible { outline-color: var(--c-white); }
.about-story__caption { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.about-story__title { font-size: 16px; font-weight: 700; }
.about-story__meta { font-size: 14px; color: var(--c-text-2); }

/* Careers ---------------------------------------------------------------- */
.about-careers__body { color: #D5E6F3; }
.about-income {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
}
.about-income__value { font-family: var(--font-head); font-size: 38px; font-weight: 900; }
.about-income__label { font-size: 16px; color: #D5E6F3; }
.about-income__note { margin-top: 6px; font-size: 13px; color: var(--c-on-navy-muted); }

/* Contact ---------------------------------------------------------------- */
.about-contact { padding-bottom: 80px; }
.about-contact__grid { --min: 280px; --gap: 16px; }
.about-contact__card { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.about-contact__card--wa {
  border: 1.5px solid var(--c-success);
  color: var(--c-ink);
  text-decoration: none;
  transition: background-color .15s ease;
}
.about-contact__card--wa:hover { background: var(--c-pale); color: var(--c-ink); }
.about-contact__title { font-size: 16px; font-weight: 800; }
.about-contact__card--wa .about-contact__title { color: var(--c-success); }
.about-contact__value { font-size: 15px; color: var(--c-text-2); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1000px) {
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .about-title { font-size: 26px; }
  .about-fact dd { font-size: 18px; }
  .about-founder { padding: 22px; }
  .about-founder__quote { font-size: 17.5px; }
  .about-income__value { font-size: 32px; }
  .about-contact { padding-bottom: 56px; }
}

/* Click-to-play graduate stories (backend wiring, not in the design export) */
.about-story__play { position: relative; z-index: 1; cursor: pointer; transition: transform 0.15s ease; }
.about-story__play:hover { transform: scale(1.06); }
.about-story__play:disabled { cursor: default; transform: none; opacity: 0.6; }
.about-stories__empty { grid-column: 1 / -1; color: var(--c-text-2); }
