/* ============================================================
   ABOUT PAGE — about.css
   Also contains shared inner-page styles
   ============================================================ */

/* ── About badges ── */
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-item {
  background: rgba(0,158,210,0.10); color: var(--red);
  padding: 7px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; border: 1px solid rgba(0,30,95,.2);
}
.about-img-main, .about-img-secondary {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img, .about-img-secondary img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
}

/* ── Vision cards ── */
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vision-card {
  background: var(--white); border-radius: 14px; padding: 36px 32px;
  box-shadow: var(--shadow-sm); border-top: 3px solid var(--red);
  transition: var(--transition);
}
.vision-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vc-icon { font-size: 40px; display: block; margin-bottom: 18px; }
.vision-card h3 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.vision-card p  { font-size: 14px; color: var(--mid); line-height: 1.72; }

/* ── Values grid ── */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card {
  background: var(--white); border-radius: 14px; padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: var(--transition); cursor: default;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top: 3px solid var(--red); }
.value-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  margin-bottom: 16px;
}
.value-card h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.value-card p  { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ── Founder section ── */
.founder-section {
  position: relative; padding: 120px 0; overflow: hidden;
}
.founder-section img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.founder-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.6) 100%);
}
.founder-content { position: relative; z-index: 2; }
.founder-card {
  max-width: 700px;
}
.founder-card blockquote {
  font-family: var(--serif); font-style: italic; font-size: 21px;
  color: rgba(255,255,255,.88); line-height: 1.65; margin: 22px 0;
  padding-left: 28px; border-left: 4px solid var(--red);
}
.founder-card p { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.78; font-weight: 300; }
.founder-sig {
  display: flex; align-items: center; gap: 16px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
}
.sig-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
}
.founder-sig strong { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.founder-sig span  { font-size: 13px; color: rgba(255,255,255,.5); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  /* Tighten portrait images on tablet */
  .about-img-main img, .about-img-secondary img { aspect-ratio: 3/2; }
}
@media (max-width: 768px) {
  .vision-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  /* Fix portrait images — too tall on mobile */
  .about-img-main img, .about-img-secondary img { aspect-ratio: 16/9; max-height: 260px; }
  .about-img-main, .about-img-secondary { border-radius: 12px; }
  /* Mission section: image is DOM-first, push it after text on mobile */
  .about-img-secondary { order: 2; }
  /* Founder section */
  .founder-section { padding: 64px 0; }
  .founder-card blockquote { font-size: 17px; padding-left: 18px; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .vision-card { padding: 28px 22px; }
  .founder-card blockquote { font-size: 16px; }
}
