/* Hero */

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 0.6rem;
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2.5rem;
}

.cta-row .aside-links {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
  font-size: 0.95rem;
}

/* About */

.habits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.habits li {
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

.habits strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.habits span { color: var(--muted); }

/* Experience */

.role-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.role-head h3 { font-size: 1.25rem; }

.role-dates {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.role-org {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

/* Projects */

.project + .project {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--rule);
}

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.project-head h3 { font-size: 1.25rem; }

.project-links {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.project-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.project p + p { margin-top: 0.75rem; }

/* Certifications */

.cert-list { list-style: none; }

.cert-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 4rem auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}

.cert-list li:first-child { border-top: 1px solid var(--rule); }

.cert-name { font-weight: 600; }

.cert-issuer,
.cert-year { color: var(--muted); }

.cert-year { font-variant-numeric: tabular-nums; }

.cert-link { text-align: right; }

/* Contact */

.contact-sheet { row-gap: 0.9rem; }
