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

/* ── Bio + Facts grid ─────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-4);
}

.about-bio p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.about-bio p:last-of-type { margin-bottom: 0; }

/* Facts card */
.facts-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.facts-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.facts-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── Skills ───────────────────────────────────────────────── */
.about-skills { margin-bottom: var(--space-4); }

.skills-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.skills-group { }

.skills-group__label {
  display: block;
  margin-bottom: var(--space-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ── Skills tags list variant ─────────────────────────────── */
.skills-tags--list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.skills-tags--list .tag {
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: var(--space-3) 0;
  padding-left: var(--space-4);
  width: 100%;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  white-space: normal;
  line-height: 1.6;
  position: relative;
  color: var(--text-muted);
  display: block;
}

.skills-tags--list .tag:last-child {
  border-bottom: none;
}

.skills-tags--list .tag::before {
  content: '›';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1rem;
  line-height: 1.55;
}

/* ── Extras (quick facts) ─────────────────────────────────── */
.about-extras {
  margin-top: var(--space-16);
  margin-bottom: var(--space-4);
}

.about-extras__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

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

/* ── Timeline ─────────────────────────────────────────────── */
.about-timeline { }

.timeline {
  position: relative;
  padding-left: var(--space-10);
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 56px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

/* Dot on the line */
.timeline-item::after {
  content: '';
  position: absolute;
  left: 53px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow-strong);
}

.timeline-year {
  font-size: var(--text-sm);
  font-weight: 700;
  padding-top: 2px;
  text-align: right;
}

.timeline-content { }

.timeline-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-1);
}

.timeline-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .timeline-item {
    grid-template-columns: 36px 1fr;
    gap: var(--space-4);
  }

  .timeline-item::after {
    left: 33px;
  }

  .timeline-year {
    font-size: var(--text-xs);
  }
}
