/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 3rem);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4rem;
  padding-bottom: 4rem;
}

.page-hero-text h1 {
  margin: 1rem 0;
}

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

.page-hero-lead {
  font-size: 1.15rem;
  color: var(--fg-muted);
}

.page-hero-photo {
  width: clamp(200px, 20vw, 300px);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%);
}

/* ── Bio ────────────────────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.bio-main h2 {
  margin-bottom: 1.5rem;
}

.bio-main h2 em {
  color: var(--accent);
  font-style: italic;
}

.bio-main p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.fact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}

.fact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-list li span:first-child {
  color: var(--fg-muted);
}

.fact-list li span:last-child {
  color: var(--fg);
  font-weight: 500;
  text-align: right;
}

/* ── Timeline ─────────────────────────────────────────── */
.timeline-section {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 0.5rem;
}

.tl-item {
  position: relative;
  padding-left: 1.5rem;
  transition-delay: var(--delay, 0s);
}

.tl-marker {
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.tl-marker--active {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 18, 162, 0.15);
  animation: pulse-marker 2s ease-in-out infinite;
}

@keyframes pulse-marker {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 18, 162, 0.15); }
  50%       { box-shadow: 0 0 0 8px rgba(37, 18, 162, 0.05); }
}

.tl-date {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.tl-title {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
  color: var(--fg);
}

.tl-sub {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.tl-body p {
  font-size: 0.93rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Skills ───────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-group {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition-delay: var(--delay, 0s);
}

.skill-group h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skill-list li {
  font-size: 0.9rem;
  color: var(--fg);
  padding-left: 1rem;
  position: relative;
}

.skill-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}

/* ── Eyebrow label ───────────────────────────────────── */
.section-header .eyebrow {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-header .eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-header h2 em {
  color: var(--accent);
  font-style: italic;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sidebar-card {
    position: static;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .page-hero-photo {
    display: none;
  }

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

@media (max-width: 640px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}