/* ══════════════════════════════════════════════════════════════
   About Us page styles
   Uses CSS custom properties from :root (app.css)
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────── */
.about-hero {
  background: var(--sidebar-bg, #0f0f13);
  color: #ffffff;
  padding: 80px 24px;
}
.about-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand, #d4af37);
  margin-bottom: 16px;
}
.about-hero-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.15;
}
.about-hero-body {
  font-size: 1.1rem;
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: 16px;
}
.about-hero-origin {
  margin-top: 32px;
  font-size: 0.9rem;
  opacity: 0.5;
  letter-spacing: 1px;
}

/* ── Mission pillars ─────────────────────────────────────────── */
.about-pillars {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.about-pillars-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.about-pillar-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.about-pillar strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.about-pillar p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Team section ────────────────────────────────────────────── */
.about-team {
  padding: 80px 24px;
  background: var(--content-bg, var(--bg));
}
.about-team-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.about-section-heading {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

/* ── Featured card (Stefano — horizontal) ───────────────────── */
.about-card--featured {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.about-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--brand);
  border-radius: 20px 0 0 20px;
}
.about-card--featured .about-card-photo-wrap {
  flex-shrink: 0;
  width: 240px;
}
.about-card--featured .about-card-photo {
  width: 240px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}

/* ── Standard cards (grid) ───────────────────────────────────── */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.about-card .about-card-photo-wrap {
  position: relative;
}
.about-card .about-card-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.about-card-body {
  padding: 24px;
}

/* ── Shared card elements ────────────────────────────────────── */
.about-card-photo-wrap {
  position: relative;
}
.about-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
}
.about-card-badge--entrepreneur {
  background: var(--brand);
  color: #fff;
}
.about-card-badge--community {
  background: #10b981;
  color: #ffffff;
}
.about-card-stats {
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 8px;
}
.about-card-stat {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.about-card-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.about-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.about-card-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.about-card-bio--closer {
  font-style: italic;
  opacity: 0.75;
}
.about-card-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.about-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.about-social-link:hover { opacity: 0.8; }
.about-social-link--instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
}
.about-social-link--linkedin {
  background: #0077b5;
  color: #ffffff;
}
.about-social-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Photo placeholder (initials SVG fallback) ───────────────── */
.about-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.08);
  border-bottom: 1px solid var(--border);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -1px;
}
.about-card--featured .about-photo-placeholder {
  width: 240px;
  height: 280px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.about-card .about-photo-placeholder {
  height: 280px;
}

/* ── By the Numbers ──────────────────────────────────────────── */
.about-numbers {
  background: var(--sidebar-bg, #0f0f13);
  color: #ffffff;
  padding: 72px 24px;
  text-align: center;
}
.about-numbers .about-section-heading { color: #ffffff; }
.about-numbers-inner { max-width: 900px; margin: 0 auto; }
/* Flex, not a fixed 4-column grid: tiles with no live number yet stay hidden,
   and the ones left should sit centred rather than bunched to the left. */
.about-numbers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.about-numbers-grid .about-stat { flex: 0 1 calc(25% - 24px); min-width: 0; }
.about-numbers-grid .about-stat[hidden] { display: none; }
.about-stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
}
.about-stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Press / Contact ─────────────────────────────────────────── */
.about-contact {
  padding: 80px 24px;
  background: var(--content-bg, var(--bg));
  text-align: center;
}
.about-contact-inner { max-width: 600px; margin: 0 auto; }
.about-contact-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.about-contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.about-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  background: var(--brand);
  color: #fff;
  transition: opacity 0.15s;
}
.about-contact-btn:hover { opacity: 0.85; }
.about-contact-btn--secondary {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
}

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-numbers-grid .about-stat { flex-basis: calc(50% - 16px); }
  .about-pillars-inner { grid-template-columns: repeat(2, 1fr); }
  .about-card--featured { gap: 32px; }
  .about-card--featured .about-card-photo-wrap { width: 180px; }
  .about-card--featured .about-card-photo { width: 180px; height: 220px; }
  .about-card--featured .about-photo-placeholder { width: 180px; height: 220px; }
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-hero { padding: 60px 20px; }
  .about-card--featured {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
  .about-card--featured .about-card-photo-wrap { width: 100%; }
  .about-card--featured .about-card-photo { width: 100%; height: 260px; }
  .about-card--featured .about-photo-placeholder { width: 100%; height: 220px; border-radius: 12px; }
  .about-team-grid { grid-template-columns: 1fr; }
  .about-pillars-inner { grid-template-columns: 1fr; }
  .about-numbers-grid .about-stat { flex-basis: calc(50% - 16px); }
  .about-contact-links { flex-direction: column; align-items: center; }
}
