/* ============================================================
   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);
  align-self: stretch; /* fill grid row height */
  min-height: 280px;
}
/* Desktop: image fills the container height (matches text column) */
.about-img-main img, .about-img-secondary img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; 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: 100px 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,.60) 100%);
}
.founder-content { position: relative; z-index: 2; }

/* Two-column layout: message left, portrait right */
.founder-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}

.founder-card { max-width: 100%; }
.founder-card blockquote {
  font-family: var(--serif); font-style: italic; font-size: 20px;
  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: 14px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
}
.founder-sig-photo {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid rgba(255,255,255,.25);
  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); line-height: 1.5; display: block; margin-top: 2px; }

/* Portrait panel */
.founder-portrait-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
  border: 2px solid rgba(255,255,255,.10);
}
.founder-portrait-wrap img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  /* On tablet the grid stacks — give images an explicit aspect ratio */
  .about-img-main, .about-img-secondary { min-height: 0; }
  .about-img-main img, .about-img-secondary img {
    position: static; width: 100%; height: auto; aspect-ratio: 3/2;
  }
}
@media (max-width: 768px) {
  .vision-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-img-main img, .about-img-secondary img { aspect-ratio: 16/9; max-height: 260px; }
  .about-img-main, .about-img-secondary { border-radius: 12px; }
  .about-img-secondary { order: 2; }
  /* Founder: stack portrait below message on tablet */
  .founder-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-portrait-wrap { max-width: 320px; }
  .founder-portrait-wrap img { aspect-ratio: 4/3; object-position: center top; }
  .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; }
  .founder-portrait-wrap { max-width: 100%; }
  .founder-portrait-wrap img { aspect-ratio: 1; }
  .founder-sig-photo { width: 48px; height: 48px; }
  .founder-sig strong { font-size: 14px; }
}
