/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGES
   Styles specific to About section: hero, timeline, team, blog
   ═══════════════════════════════════════════════════════════════ */

/* ── About Hero ── */
.about-hero {
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.about-hero h1 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.about-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

/* ── About Nav Grid (index page) ── */
.about-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  max-width: 900px;
  margin-inline: auto;
}

.about-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
}

.about-nav-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  font-size: 28px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.about-nav-card:hover .about-nav-card__icon {
  background: var(--color-2a);
  box-shadow: var(--shadow-glow-accent);
  transform: scale(1.08);
}

.about-nav-card h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
}


/* ── Etymology / Quote Block ── */
.etymology-block {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-relaxed);
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  color: var(--text-primary);
}

.etymology-block em {
  color: var(--brand-accent);
  font-style: normal;
}


/* ── Narrative Section ── */
.narrative {
  max-width: 720px;
  margin-inline: auto;
}

.narrative p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.narrative p:last-child {
  margin-bottom: 0;
}

.narrative strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.stat-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-2a);
  color: var(--brand-accent);
  border-radius: var(--radius-md);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
}


/* ── Timeline ── */
.timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding-left: var(--space-10);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-accent), var(--color-1c));
  border-radius: var(--radius-full);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-10) + 7px);
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--brand-accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--color-2a);
  z-index: 1;
}

.timeline__item:last-child .timeline__dot {
  background: var(--brand-accent);
  box-shadow: 0 0 0 3px var(--color-2a);
}

.timeline__date {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--brand-accent);
  margin-bottom: var(--space-2);
}

.timeline__content h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-1);
}

.timeline__content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}


/* ── Values Grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.value-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--color-2a);
  font-size: 24px;
  margin: 0 auto var(--space-4);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.value-card:hover .value-card__icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-accent);
}

.value-card h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}


/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

.team-card {
  text-align: center;
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.team-card:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-xl);
}

.team-card__avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-3);
  background: var(--bg-secondary);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .team-card__avatar {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: 2px;
}

.team-card__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
}

@media (max-width: 768px) {
  .team-card__avatar--initials { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .team-card__avatar--initials { font-size: 2.1rem; }
}

@media (max-width: 768px) {
  .team-card h4 { font-size: var(--text-sm); }
}

.team-card__title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.team-card__tagline {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-in-out);
}

.team-card__linkedin:hover {
  background: #0077B5;
  color: white;
}

.team-card__linkedin svg {
  width: 18px;
  height: 18px;
}


/* ── Advisory Grid ── */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}

.advisory-card {
  text-align: center;
  padding: var(--space-6) var(--space-4);
}

.advisory-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: white;
  margin: 0 auto var(--space-3);
}

.advisory-card h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1);
}

.advisory-card p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}


/* ── Culture List ── */
.culture-list {
  list-style: none;
  padding: 0;
  max-width: 680px;
  margin-inline: auto;
}

.culture-list li {
  position: relative;
  padding-left: var(--space-8);
  padding-bottom: var(--space-4);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.culture-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-accent), var(--color-1c));
  opacity: 0.8;
}

.culture-list li:last-child {
  padding-bottom: 0;
}


/* ── Press Card ── */
.press-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
}

.press-card__date {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.press-card__publication {
  font-size: var(--text-xs);
  color: var(--brand-accent);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.press-card h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.press-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
  flex: 1;
}

.press-card__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.press-card__link:hover {
  text-decoration: underline;
}


/* ── Blog Card ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.blog-card__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.blog-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__category {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: var(--space-3);
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
  flex: 1;
}

.blog-card__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.blog-card__link:hover {
  text-decoration: underline;
}


/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  max-width: 480px;
  margin-inline: auto;
}

.empty-state__icon {
  font-size: 48px;
  margin-bottom: var(--space-4);
  color: var(--brand-accent);
  display: flex;
  justify-content: center;
}

.empty-state h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.empty-state p {
  font-size: var(--text-base);
  color: var(--text-secondary);
}


/* ── Responsive ── */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: var(--text-3xl);
  }

  .about-hero {
    padding-top: calc(var(--header-height) + var(--space-10));
    padding-bottom: var(--space-10);
  }

  .etymology-block {
    font-size: var(--text-xl);
  }

  .timeline {
    padding-left: var(--space-8);
  }

  .timeline::before {
    left: 11px;
  }

  .timeline__dot {
    left: calc(-1 * var(--space-8) + 3px);
    width: 16px;
    height: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
