/* resume — dossier aesthetic */

.resume-body {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  align-items: initial;
  justify-content: initial;
}

/* suppress the vignette on resume — needs to scroll */
.resume-body::after {
  display: none;
}

.resume-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  position: relative;
  z-index: 1;
}

/* nav */
.resume-nav {
  margin-bottom: 4rem;
}

.resume-nav a {
  color: var(--accent-dim);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.resume-nav a:visited {
  color: var(--accent-dim);
}

.resume-nav a:hover {
  color: var(--accent-bright);
}

/* header */
.resume-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(180, 199, 217, 0.1);
}

.resume-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.resume-contact a,
.resume-contact span {
  color: var(--accent-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.resume-contact a:visited {
  color: var(--accent-dim);
}

.resume-contact a:hover {
  color: var(--accent-bright);
}

/* sections */
.section {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(180, 199, 217, 0.08);
}

.summary-text {
  color: var(--text-bright);
  line-height: 1.8;
  font-size: 0.85rem;
}

/* experience / education items */
.item {
  margin-bottom: 2.5rem;
}

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

.item-role {
  color: var(--text-bright);
  font-size: 0.9rem;
  font-weight: 400;
}

.item-org {
  color: var(--accent-dim);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.item-date {
  font-size: 0.7rem;
  color: var(--accent-dim);
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  opacity: 0.7;
}

.item-summary {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.7;
}

.item-highlights {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.item-highlights li {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.item-highlights li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
}

.item-courses {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-dim);
}

/* projects */
.project {
  margin-bottom: 2rem;
}

.project:last-child {
  margin-bottom: 0;
}

.project-name {
  color: var(--text-bright);
  font-size: 0.85rem;
  font-weight: 400;
}

.project-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.project-name a:visited {
  color: var(--text-bright);
}

.project-name a:hover {
  color: var(--accent-bright);
}

.project-desc {
  font-size: 0.8rem;
  color: var(--text);
  margin-top: 0.2rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.project-tech span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--accent-dim);
  border: 1px solid rgba(180, 199, 217, 0.12);
  padding: 0.15rem 0.5rem;
}

/* skills */
.skills-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
}

.skill-group h3 {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 0.6rem;
}

.skill-group ul {
  list-style: none;
  padding: 0;
}

.skill-group li {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.8;
}

@media (max-width: 600px) {
  .resume-container {
    padding: 2rem 1.25rem 4rem;
  }

  .resume-nav {
    margin-bottom: 2rem;
  }

  .resume-nav a {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    display: inline-block;
  }

  .resume-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .resume-contact {
    gap: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .resume-contact a {
    padding: 0.2rem 0;
  }

  .section-label {
    font-size: 0.7rem;
  }

  .summary-text {
    font-size: 0.9rem;
  }

  .item-role {
    font-size: 0.95rem;
  }

  .item-org,
  .item-summary,
  .item-highlights li {
    font-size: 0.85rem;
  }

  .skills-body {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .skill-group li {
    font-size: 0.85rem;
  }
}
