/* About page */

.hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-image-placeholder {
  color: #94a3b8;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-content { flex: 1; }

.hero h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #20293b;
  margin-bottom: 0.25rem;
}

.hero .tagline {
  font-size: 1rem;
  color: #718096;
  margin-bottom: 0.75rem;
}

.social-links { display: flex; gap: 0.5rem; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: #20293b;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: #20293b;
  color: #fff;
  border-color: #20293b;
}

.about-page section { margin-bottom: 2rem; }

.about-page h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #20293b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-page .card {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.about-page .card p {
  color: #4a5568;
  margin-bottom: 0;
}

.timeline-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

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

.timeline-content { display: flex; gap: 1.25rem; }

.timeline-logo {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #f1f5f9;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.timeline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.timeline-logo span {
  font-size: 0.6rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.timeline-details { flex: 1; }

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-weight: 600;
  color: #20293b;
  font-size: 1rem;
}

.timeline-date {
  font-size: 0.8rem;
  color: #718096;
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
}

.timeline-company {
  color: #20293b;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.timeline-description {
  color: #4a5568;
  font-size: 0.9rem;
}

.timeline-description ul {
  margin: 0.5rem 0 0 1.25rem;
  color: #4a5568;
}

.timeline-description li { margin-bottom: 0.25rem; }

.career-ladder {
  --career-dot: 0.625rem;
  --career-track: 1rem;
  margin-top: 1rem;
}

.career-ladder--extended {
  margin-top: 0.5rem;
}

.career-step--lead {
  padding-bottom: 1rem;
}

.career-step--lead::after {
  top: 0.45rem;
}

.career-step--lead::before {
  top: calc(0.45rem + var(--career-dot) / 2);
}

.career-step--lead .timeline-description ul {
  margin: 0;
  padding-left: 1.15rem;
}

.career-step {
  position: relative;
  padding-left: calc(var(--career-track) + 0.75rem);
  padding-bottom: 1.25rem;
}

.career-step:last-child {
  padding-bottom: 0;
}

.career-step::before {
  content: "";
  position: absolute;
  left: calc(var(--career-track) / 2 - 1px);
  top: calc((0.9rem * 1.35 - var(--career-dot)) / 2 + var(--career-dot) / 2);
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.career-step:last-child::before {
  display: none;
}

.career-step::after {
  content: "";
  position: absolute;
  left: calc((var(--career-track) - var(--career-dot)) / 2);
  top: calc((0.9rem * 1.35 - var(--career-dot)) / 2);
  width: var(--career-dot);
  height: var(--career-dot);
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cbd5e1;
  box-sizing: border-box;
}

.career-step-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
  line-height: 1.35;
  min-height: calc(0.9rem * 1.35);
}

.career-step-title {
  font-weight: 600;
  color: #20293b;
  font-size: 0.9rem;
}

.career-step-date {
  font-size: 0.75rem;
  color: #718096;
  white-space: nowrap;
}

.career-step .timeline-description {
  margin-top: 0;
}

.career-step .timeline-description p {
  margin: 0;
}

.career-step .timeline-description ul {
  margin-top: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.skill-category {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
}

.skill-category-title {
  font-weight: 600;
  color: #20293b;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  text-align: center;
}

a.skill-tag {
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

a.skill-tag:hover {
  background: #e2e8f0;
  color: #20293b;
}

.publication-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.publication-item:hover {
  border-color: #20293b;
  box-shadow: 0 4px 12px rgba(32, 41, 59, 0.08);
}

.publication-item:last-child { margin-bottom: 0; }

.publication-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #f1f5f9;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #20293b;
}

.publication-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.publication-content { flex: 1; }

.publication-title {
  font-weight: 600;
  color: #20293b;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.35rem;
}

.publication-title:hover { text-decoration: underline; }

.publication-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 0.5rem;
}

.publication-source { font-weight: 500; }

.publication-date::before {
  content: "•";
  margin-right: 0.75rem;
}

.publication-description {
  font-size: 0.85rem;
  color: #4a5568;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.contact-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #2d3748;
  transition: all 0.2s;
}

.contact-item:hover {
  border-color: #20293b;
  box-shadow: 0 4px 12px rgba(32, 41, 59, 0.1);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20293b;
}

.contact-info { flex: 1; }

.contact-label {
  font-size: 0.75rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-weight: 500;
  color: #20293b;
}

@media (max-width: 600px) {
  .hero { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 1.5rem; }
  .social-links { justify-content: center; }
  .timeline-header { flex-direction: column; }
  .career-step-header { flex-direction: column; }
  .career-step-date { white-space: normal; }
}
