/* ═══ RESUME PAGE ═══ */

.resume-dl {
  display: inline-block;
}

.resume-dl__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem 1rem .4rem .75rem;
  border-radius: 50px;
  background: rgba(43, 94, 167, .9);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(43, 94, 167, .4);
  box-shadow: 0 4px 24px rgba(43, 94, 167, .15), 0 1px 2px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .2);
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: all .3s ease;
  letter-spacing: .02em;
  animation: resumeGlow 2s ease-in-out 2s infinite;
}

.resume-dl__link:hover {
  background: rgba(43, 94, 167, 1);
  box-shadow: 0 8px 32px rgba(43, 94, 167, .35), 0 1px 3px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: translateY(-2px);
  animation-play-state: paused;
}

.resume-dl__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .3s;
}

.resume-dl__link:hover .resume-dl__icon {
  background: rgba(255, 255, 255, .3);
}

@keyframes resumeGlow {
  0%, 100% {
    opacity: .98;
    box-shadow: 0 4px 24px rgba(43, 94, 167, .15), 0 1px 2px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .2);
    transform: translateY(0)
  }
  50% {
    opacity: .7;
    box-shadow: 0 4px 36px rgba(43, 94, 167, .35), 0 1px 2px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .25);
    transform: translateY(-3px)
  }
}

/* ═══ TIMELINE ═══ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--bdr);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

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

.timeline-item__dot {
  position: absolute;
  left: 0;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--a2);
  background: var(--bg);
  z-index: 1;
  transition: all .3s;
  margin-left: -2.5rem;
}

.timeline-item:hover .timeline-item__dot {
  background: var(--a2);
  box-shadow: 0 0 0 4px rgba(43, 94, 167, .12);
}

.timeline-item__dot--green { border-color: var(--a1); }
.timeline-item:hover .timeline-item__dot--green { background: var(--a1); box-shadow: 0 0 0 4px rgba(26, 107, 60, .12); }

.timeline-item__dot--orange { border-color: var(--a3); }
.timeline-item:hover .timeline-item__dot--orange { background: var(--a3); box-shadow: 0 0 0 4px rgba(196, 85, 10, .12); }

.timeline-item__dot--purple { border-color: var(--a4); }
.timeline-item:hover .timeline-item__dot--purple { background: var(--a4); box-shadow: 0 0 0 4px rgba(123, 75, 170, .12); }

.timeline-item__date {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: .35rem;
}

.timeline-item__header {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .25rem;
}

.timeline-item__role {
  font-family: var(--fd);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--t1);
}

.timeline-item__company {
  font-family: var(--fb);
  font-size: .82rem;
  color: var(--a2);
  font-weight: 600;
}

.timeline-item__company--green { color: var(--a1); }
.timeline-item__company--orange { color: var(--a3); }
.timeline-item__company--purple { color: var(--a4); }

.timeline-item__bullets {
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
}

.timeline-item__bullets li {
  font-size: .85rem;
  color: var(--t2);
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
  margin-bottom: .2rem;
}

.timeline-item__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--t3);
}

/* ═══ SKILLS & TOOLS ═══ */
.resume-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.resume-skill {
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .04em;
  padding: .3rem .7rem;
  border-radius: 50px;
  background: rgba(43, 94, 167, .06);
  color: var(--a2);
}

.resume-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.resume-tool {
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .04em;
  padding: .3rem .7rem;
  border-radius: 50px;
  background: rgba(123, 75, 170, .06);
  color: var(--a4);
}

/* ═══ AWARDS ═══ */
.resume-awards {
  margin-top: 1.5rem;
}

.resume-award {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1px solid var(--bdr);
}

.resume-award:last-child {
  border-bottom: none;
}

.resume-award__date {
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .06em;
  color: var(--t3);
  min-width: 5rem;
  text-transform: uppercase;
}

.resume-award__text {
  font-size: .85rem;
  color: var(--t2);
  line-height: 1.5;
}

.resume-award__text strong {
  color: var(--t1);
  font-weight: 600;
}

@media(max-width:600px) {
  .timeline {
    padding-left: 2rem;
  }

  .timeline-item__dot {
    margin-left: -2rem;
  }

  .timeline-item__role {
    font-size: 1rem;
  }

  .resume-award {
    flex-direction: column;
    gap: .25rem;
  }

  .resume-award__date {
    min-width: auto;
  }

  .resume-skill,
  .resume-tool {
    font-size: .6rem;
    padding: .25rem .6rem;
  }
}
