/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #faf9f7;
  min-height: 100vh;
}

/* --- Site header (blog-style nav, screen only) --- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e6e3;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-name:hover { color: #333; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
}
.site-nav a:hover { color: #1a1a1a; }
.site-nav .pdf-link {
  font-family: inherit;
  font-size: 0.9rem;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.site-nav .pdf-link:hover { color: #1a1a1a; }

/* --- Main content (blog-style column) --- */
.resume {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* --- Resume header (visible on screen as intro, full in print) --- */
.resume-header {
  margin-bottom: 2.5rem;
}
.resume-header h1 {
  margin: 0 0 0.25rem 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.resume-header .location {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #666;
}
.resume-header .contact {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.resume-header .contact a {
  color: #2563eb;
  text-decoration: none;
}
.resume-header .contact a:hover { text-decoration: underline; }
.resume-header .contact span { margin-left: 1rem; color: #555; }

.resume-header .links {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.resume-header .links a {
  color: #2563eb;
  text-decoration: none;
  margin-right: 1rem;
}
.resume-header .links a:hover { text-decoration: underline; }

.links-print { display: none; }

/* --- Sections (blog-style blocks) --- */
section {
  margin-bottom: 2rem;
}
section h2 {
  margin: 0 0 1rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}
section ul {
  margin: 0;
  padding-left: 1.35rem;
}
section li {
  margin-bottom: 0.5rem;
}
section p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* --- Summary (lead paragraph) --- */
.summary p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
}

/* --- Skills (tags-like feel) --- */
.skills ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
}
.skills li {
  margin: 0;
  width: 100%;
  font-size: 0.95rem;
  color: #444;
}
.skills li strong { color: #1a1a1a; margin-right: 0.25rem; }

/* --- Experience (blog-style entries) --- */
.experience article {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e6e3;
}
.experience article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.role-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-bottom: 0.5rem;
}
.role-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.role-header .company {
  font-weight: 500;
  color: #555;
  font-size: 0.95rem;
}
.role-header .location {
  color: #888;
  font-size: 0.9rem;
}
.role-header .date {
  color: #888;
  font-size: 0.9rem;
  margin-left: auto;
}
.experience ul {
  margin: 0;
  padding-left: 1.25rem;
}
.experience li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #444;
}

/* --- Education & Leadership --- */
.education ul {
  list-style: none;
  padding-left: 0;
}
.education li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}
.education li strong { color: #1a1a1a; }
.leadership p {
  font-size: 0.95rem;
  color: #444;
}

/* --- Print / PDF (resume-style, single page) --- */
@media print {
  html { font-size: 10pt; }
  body {
    background: #fff;
    font-family: Georgia, "Times New Roman", serif;
  }
  .site-header,
  .no-print,
  .no-print-inline { display: none !important; }
  .print-only { display: block !important; }
  .links-print {
    display: block !important;
    margin: 0.2rem 0 0 0;
    font-size: 0.75rem;
    color: #166;
  }
  .resume {
    max-width: none;
    padding: 0.35in 0.5in;
  }
  .resume-header {
    border-bottom: 1px solid #333;
    padding-bottom: 0.3rem;
    margin-bottom: 0.5rem;
  }
  .resume-header h1 { font-size: 1.5rem; }
  .resume-header .contact a,
  .resume-header .links a { color: #166; }
  section {
    margin-bottom: 0.5rem;
  }
  section h2 {
    font-size: 0.9rem;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.1rem;
  }
  .experience article {
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: none;
  }
  .role-header h3 { font-size: 0.95rem; }
  .role-header .company,
  .role-header .location,
  .role-header .date { color: #555; font-size: 0.9rem; }
}

@media screen {
  .print-only { display: none; }
}
