* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #222;
  font-size: 15px;
  line-height: 1.7;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ── Header ─────────────────────────────────────────────── */
header {
  margin-bottom: 40px;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  text-align: center;
}

/* Bio text left, photo right — matches reference screenshot */
.header-bio-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 14px;
}

.header-bio {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.94rem;
  color: #222;
  line-height: 1.7;
}

.header-bio p {
  margin-bottom: 8px;
}

.header-bio p:last-child {
  margin-bottom: 0;
}

.header-bio a {
  color: #1a56db;
  text-decoration: none;
}

.header-bio a:hover {
  text-decoration: underline;
}

.profile-photo {
  width: 220px;
  height: 275px;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 1px solid #ddd;
  border-radius: 0;
  display: block;
}

/* Links sit right below the name, left-aligned */
.nav-links {
  text-align: left;
  font-size: 0.93rem;
  margin-top: 6px;
  margin-bottom: 18px;
  color: #555;
}

.nav-links a {
  color: #1a56db;
  text-decoration: none;
  margin: 0 4px;
}

.nav-links a:first-child {
  margin-left: 0;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* ── Sections ────────────────────────────────────────────── */
section {
  margin-bottom: 38px;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 5px 0 16px;
}

section h2 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #111;
  margin-bottom: 0;
}

.section-sub {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
  color: #666;
}

/* ── Entry list ──────────────────────────────────────────── */
.entry-list {
  list-style: none;
  padding: 0;
}

.entry-list > li {
  margin-bottom: 18px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}

.entry-org {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
}

.entry-role {
  color: #333;
  font-size: 0.91rem;
  margin-top: 1px;
}

.entry-role a,
.entry-desc a {
  color: #1a56db;
  text-decoration: none;
}

.entry-role a:hover,
.entry-desc a:hover {
  text-decoration: underline;
}

.entry-date {
  font-size: 0.83rem;
  color: #777;
  white-space: nowrap;
}

.entry-desc {
  font-size: 0.91rem;
  color: #444;
  margin-top: 4px;
}

.entry-desc ul {
  padding-left: 16px;
  margin-top: 3px;
}

.entry-desc li {
  margin-bottom: 3px;
}

/* ── Publications nested under VMware ───────────────────── */
.pub-sublist {
  margin-top: -4px;
  margin-bottom: 18px !important;
}

.pub-sublabel {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
  margin-bottom: 8px;
  padding-left: 2px;
}

.pub-list {
  list-style: none;
  padding: 0;
}

.pub-list-indent {
  border-left: 2px solid #e8e8e8;
  padding-left: 14px;
}

.pub-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2f2f2;
}

.pub-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pub-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: #1a56db;
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}

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

.pub-title-plain {
  font-weight: 600;
  font-size: 0.92rem;
  color: #222;
  display: block;
  margin-bottom: 2px;
}

.pub-meta {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 3px;
}

.pub-links a {
  font-size: 0.82rem;
  color: #1a56db;
  text-decoration: none;
  margin-right: 8px;
}

.pub-links a:hover {
  text-decoration: underline;
}

/* ── Projects ────────────────────────────────────────────── */
.project-list {
  list-style: none;
  padding: 0;
}

.project-list > li {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.project-list > li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.proj-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: #111;
  margin-bottom: 2px;
}

.proj-course {
  font-weight: 400;
  font-size: 0.86rem;
  color: #888;
}

.proj-meta {
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 4px;
}

.proj-desc {
  font-size: 0.91rem;
  color: #444;
  line-height: 1.65;
}

/* ── Achievements ────────────────────────────────────────── */
.ach-list {
  padding-left: 16px;
  font-size: 0.92rem;
  color: #333;
}

.ach-list li {
  margin-bottom: 6px;
}

/* ── Skills ──────────────────────────────────────────────── */
.skills-grid {
  font-size: 0.92rem;
  color: #333;
}

.skills-grid p {
  margin-bottom: 5px;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  margin-top: 60px;
  padding-top: 18px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.82rem;
  color: #aaa;
  text-align: center;
}

footer a {
  color: #1a56db;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 580px) {
  .header-bio-row {
    flex-direction: column-reverse;
  }

  .profile-photo {
    width: 120px;
    height: 145px;
    align-self: flex-start;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .entry-header {
    flex-direction: column;
  }
}
