/* ============================================
   ABOUT.CSS — About page styles
   ============================================ */

.about-main { padding: 60px 0 100px; }

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

/* --- LEFT COL --- */
.about-left { display: flex; flex-direction: column; gap: 24px; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-avatar { display: flex; justify-content: center; }
.avatar-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
}

.about-identity { text-align: center; }
.about-identity h2 { font-size: 1.4rem; color: var(--text); }
.about-role {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.about-contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--soft);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.18s, color 0.18s;
  word-break: break-all;
}
a.contact-item:hover { border-color: var(--border-2); color: var(--text); }
.contact-icon {
  font-size: 0.9rem;
  color: var(--muted);
  flex-shrink: 0;
}

/* SKILLS BLOCK */
.skills-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.skills-block h3 {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stack-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stack-name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.stack-level {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.level-main { border-color: rgba(74,240,196,0.2); background: rgba(74,240,196,0.04); }
.level-main .stack-level { color: var(--accent); }
.level-mid  { border-color: rgba(59,130,246,0.2); background: rgba(59,130,246,0.04); }
.level-mid  .stack-level { color: var(--accent-2); }
.level-sys  { border-color: var(--border); }
.level-sys  .stack-level { color: var(--muted); }

/* --- RIGHT COL --- */
.about-right { display: flex; flex-direction: column; gap: 48px; }

.about-text h2 { margin-bottom: 20px; }
.about-text p {
  font-size: 1rem;
  color: var(--soft);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-text p:last-child { margin-bottom: 0; }

/* --- TIMELINE --- */
.timeline-heading {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
  padding-left: 20px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -22px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-2);
  transition: border-color 0.2s;
}
.timeline-item:hover .timeline-dot { border-color: var(--accent); }
.timeline-dot--start { border-color: var(--accent); background: rgba(74,240,196,0.15); }

.timeline-year {
  font-family: 'Space Mono', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}
.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.timeline-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { flex-direction: column; }
}
@media (max-width: 560px) {
  .stack-grid { grid-template-columns: 1fr 1fr; }
}
