/* ═══════════════════════════════════════════════════════════════
   BRAIN STEM AI — About Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── PAGE HERO ─── */

.page-hero {
  position: relative;
  z-index: 1;
  padding: 10rem 2.5rem 5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.page-hero-eyebrow { opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.page-hero h1 em { font-style: italic; color: var(--cyan-300); }

.page-hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* ─── SECTION OVERRIDES ─── */

.section { padding: var(--space-2xl) 2.5rem; }
.section-heading { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; margin-bottom: var(--space-xl); }

/* ─── STORY CARDS ─── */

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.story-card {
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.story-card:hover { border-color: var(--border); background: var(--surface-raised); }
.story-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--text-primary); margin-bottom: 1rem; }
.story-card p { font-size: 0.9375rem; font-weight: 300; line-height: 1.75; color: var(--text-secondary); }
.story-card p + p { margin-top: 0.75rem; }

/* ─── VALUES ─── */

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.value-card {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.value-card:hover { border-color: var(--border); transform: translateY(-2px); }

.value-icon {
  width: 48px; height: 48px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan-400);
}

.value-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--text-primary); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; font-weight: 300; line-height: 1.65; color: var(--text-secondary); }

/* ─── TEAM ─── */

.team-grid { display: flex; flex-direction: column; gap: 1.5rem; }

.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  align-items: start;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover { border-color: var(--border); }

.member-image {
  width: 220px; height: 260px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.member-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%) contrast(1.05); transition: filter 0.3s ease; }
.team-card:hover .member-image img { filter: grayscale(0%) contrast(1); }
.member-image.placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-family: var(--font-display); font-size: 3rem; }

.member-name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: var(--text-primary); margin-bottom: 0.25rem; }
.member-title { font-size: 1rem; font-weight: 500; color: var(--cyan-400); margin-bottom: 1.25rem; }
.member-bio { font-size: 0.9375rem; font-weight: 300; line-height: 1.75; color: var(--text-secondary); }
.member-bio + .member-bio { margin-top: 0.75rem; }
.member-highlights { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; margin-bottom: 1.25rem; }

.member-links { display: flex; gap: 1.5rem; margin-top: 1.5rem; }
.member-links a { font-size: 0.875rem; font-weight: 500; color: var(--cyan-400); display: inline-flex; align-items: center; gap: 0.375rem; }
.member-links a:hover { color: var(--cyan-200); }
.member-links a svg { width: 14px; height: 14px; }

/* ─── CTA OVERRIDES ─── */

.cta-section .section-heading { max-width: 600px; }
.cta-section p { font-size: 1.125rem; font-weight: 300; color: var(--text-secondary); max-width: 480px; margin: 0 auto var(--space-lg); }

/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { grid-template-columns: 180px 1fr; gap: 2rem; }
  .member-image { width: 180px; height: 220px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 8rem 1.25rem 3rem; }
  .section { padding: var(--space-xl) 1.25rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-card { grid-template-columns: 1fr; text-align: center; }
  .member-image { width: 160px; height: 200px; margin: 0 auto; }
  .member-highlights { justify-content: center; }
  .member-links { justify-content: center; }
}
