.resume {
  max-width: 760px;
  text-align: left;
}

.resume-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.resume-header h1 {
  margin: 0 0 0.35rem;
}

.resume-headline {
  font-size: 1.05rem;
  color: #f2f2f2;
  margin: 0 0 0.25rem;
}

.resume-location {
  font-size: 0.85rem;
  color: #6e6e73;
  margin: 0 0 1rem;
}

.resume-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.resume-links a {
  color: #a3a3a3;
  text-decoration: none;
}

.resume-links a:hover {
  color: #4da3ff;
}

.resume-summary {
  font-size: 0.95rem;
  color: #c4c4c8;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.resume-section {
  margin-bottom: 2.5rem;
}

.resume-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e73;
  margin: 0 0 1.25rem;
}

.timeline {
  border-top: 1px solid #2a2a2e;
}

.timeline-item {
  position: relative;
  background: linear-gradient(to right, transparent 0 64px, #2a2a2e 64px 100%) bottom / 100% 1px
    no-repeat;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2a2a2e;
  z-index: -1;
}

.timeline-item:first-child::before {
  top: 40px;
}

.timeline-item:last-child::before {
  bottom: auto;
  height: 40px;
}

.timeline-item:only-child::before {
  display: none;
}

.timeline-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 -1rem;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s ease;
}

.timeline-summary::-webkit-details-marker {
  display: none;
}

.timeline-summary:hover {
  background-color: #17171a;
}

.timeline-summary:hover .timeline-title {
  color: #4da3ff;
}

.timeline-summary:hover .timeline-chevron {
  border-color: #4da3ff;
}

.badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 700;
}

.badge img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.timeline-summary-text {
  flex: 1;
  min-width: 0;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f2f2f2;
  margin: 0;
  transition: color 0.15s ease;
}

.timeline-subtitle {
  font-size: 0.88rem;
  color: #a3a3a3;
  margin: 0.15rem 0 0;
}

.timeline-dates {
  font-size: 0.85rem;
  color: #6e6e73;
  white-space: nowrap;
}

.timeline-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6e6e73;
  border-bottom: 2px solid #6e6e73;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}

details[open] .timeline-chevron {
  transform: rotate(45deg);
}

.timeline-details {
  padding: 0 0 1.5rem 64px;
}

.timeline-company-link {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.timeline-company-link a {
  color: #4da3ff;
  text-decoration: none;
}

.timeline-company-link a:hover {
  text-decoration: underline;
}

.timeline-location {
  font-size: 0.85rem;
  color: #6e6e73;
  margin: 0 0 0.5rem;
}

.timeline-stack {
  font-size: 0.8rem;
  color: #6e6e73;
  font-style: italic;
  margin: 0 0 0.75rem;
}

.timeline-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: #c4c4c8;
  font-size: 0.92rem;
  line-height: 1.55;
}

.timeline-bullets li {
  margin-bottom: 0.35rem;
}

.timeline-bullets a {
  color: #4da3ff;
  text-decoration: none;
}

.timeline-bullets a:hover {
  text-decoration: underline;
}

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

.education-details {
  font-size: 0.88rem;
  color: #6e6e73;
  margin: 0.5rem 0 0;
}

.skills-group {
  margin-bottom: 1rem;
}

.skills-group:last-child {
  margin-bottom: 0;
}

.skills-group-label {
  font-size: 0.85rem;
  color: #6e6e73;
  margin: 0 0 0.5rem;
}

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

.skill-tag {
  background: #17171a;
  border: 1px solid #2a2a2e;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  color: #c4c4c8;
}

.skill-tag-honor {
  border-color: #4a3a1a;
}

.skill-tag-cert {
  border-color: #1a2f4a;
}
