:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #0f0f0e;
  --ink-soft: #4a4a48;
  --ink-mute: #8a8a86;
  --line: #e8e6e0;
  --accent: #d2683b;
  --accent-soft: #f4e8e0;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 960px;
  --shadow: 0 1px 2px rgba(15,15,14,.04), 0 8px 24px rgba(15,15,14,.05);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0e;
    --surface: #181816;
    --ink: #f4f2ec;
    --ink-soft: #c9c6bd;
    --ink-mute: #807d74;
    --line: #2a2826;
    --accent: #e58b5c;
    --accent-soft: #2a1f18;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 32px rgba(0,0,0,.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Top nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand em { font-style: italic; color: var(--accent); }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.nav-links a.active { background: var(--ink); color: var(--bg); }

/* Hero */
.hero {
  padding-top: 72px;
  padding-bottom: 32px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
/* The print h1 (name) and italic lead only appear in the PDF */
.hero .hero-title-print,
.hero .hero-lead { display: none; }
.hero .hero-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.3;
}
.hero .tagline {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 0 18px;
  line-height: 1.55;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-mute);
  font-size: 14px;
}
.hero-meta span::before { content: "·"; margin-right: 18px; color: var(--line); }
.hero-meta span:first-child::before { content: ""; margin: 0; }

/* Resume download button */
.resume-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.resume-download:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 6px 16px -6px var(--accent-soft);
}
.resume-download svg { flex-shrink: 0; }

/* Sections */
section { padding: 40px 0; }
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 0 0 18px;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}

/* Experience */
.role {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
}
.role:last-child { border-bottom: 1px solid var(--line); }
.role-when {
  color: var(--ink-mute);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.role-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 10px; }
.role-head .company { color: var(--accent); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 0.03em; }
.role-head .loc { color: var(--ink-mute); font-size: 13px; }
.role ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}
.role ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  break-inside: avoid;
}
.role ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Two-column generic */
.two-col {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.two-col .label { color: var(--ink-mute); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }

/* Projects list — single column, tight rhythm */
.projects ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.projects ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.projects ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Skills */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

/* Certifications + Education body text (flow paragraphs under .two-col) */
.meta-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.meta-body h3 {
  margin: 0 0 2px;
  font-size: 14.5px;
}
.meta-body h3 .edu-year { color: var(--accent); font-weight: 600; }

/* Section divider */
.section-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 64px auto;
}
.how-this-works {
  margin-top: 16px;
}

/* Cards (projects, posts) — always paired so we never leave an orphan */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
.card h3 { margin: 0; }
.card .kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.card .quote {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.55;
}
.card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.card .meta span {
  font-size: 11px;
  color: var(--ink-mute);
  background: var(--bg);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.card a.link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}
.card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-self: flex-start;
}
.card .links a.link { align-self: auto; }

/* Jobs */
.jobs-status {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 14px 0 0;
}
.jobs-status strong { color: var(--ink); font-weight: 600; }

.filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 28px;
  max-width: 760px;
}
.filter {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.filter:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  color: var(--ink);
}
.filter .count {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
  min-width: 20px;
  text-align: center;
}
.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.filter.active .count {
  background: color-mix(in srgb, var(--bg) 20%, transparent);
  border-color: color-mix(in srgb, var(--bg) 30%, transparent);
  color: var(--bg);
}

/* Location dropdown for Jobs page */
.location-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.location-label {
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.location-select {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  min-width: 180px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.job-card .job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.job-card .kicker { color: var(--ink); }
.job-card h3 { font-size: 17px; margin-top: 2px; }
.job-card p { font-size: 13.5px; }
.job-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.empty-state {
  color: var(--ink-mute);
  font-size: 14px;
  text-align: center;
  padding: 28px 0;
}

/* Prose (about) */
.prose {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 16px; font-size: 16px; }
.prose h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.005em;
  margin: 36px 0 14px;
}
.prose h2:first-child { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lede {
  font-size: 18px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 24px;
}
.prose .signoff {
  margin-top: 28px;
  color: var(--ink);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.pillars li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.pillars li strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.pillars li span { color: var(--ink-soft); font-size: 14.5px; }

/* Lessons */
.lesson {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.lesson-nav {
  margin-bottom: 32px;
  /* Let the widest label (L1 | Change Mgmt) dictate a single equal-width
     column for every button, so they all match the jobs filter height. */
  grid-template-columns: repeat(5, minmax(max-content, 1fr));
  max-width: none;
}
.lesson-nav .filter { white-space: nowrap; }

/* About page jump-menu: 3 equal buttons matching the jobs/lessons filter style */
.about-nav {
  grid-template-columns: repeat(4, minmax(max-content, 1fr));
  max-width: 580px;
  margin-top: 18px;
  padding-bottom: 16px;
  margin-bottom: -16px;
  border-bottom: 1px solid var(--line);
}
.about-nav .filter { white-space: nowrap; }
.lesson:last-of-type { border-bottom: 1px solid var(--line); }
.lesson h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  /* Wide enough that the longest single-sentence title fits on one line
     on desktop; mobile still wraps naturally via the viewport width. */
  max-width: 900px;
}
.lesson .prose { max-width: 680px; }
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}
.bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.bullet-list li strong { color: var(--ink); font-weight: 600; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  margin-top: 60px;
  color: var(--ink-mute);
  font-size: 13px;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-right { display: flex; align-items: center; gap: 10px; }
.mabel-egg {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-mute);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.mabel-egg:hover { border-color: var(--accent); color: var(--accent); }
.mabel-egg.playing {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 40%, transparent);
}
.mabel-player { position: fixed; top: -9999px; left: -9999px; width: 0; height: 0; border: 0; }
.footer-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flag-egg {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  padding: 2px 4px;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  border-radius: 6px;
  opacity: 0.75;
  color: inherit;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}
.flag-egg:hover { opacity: 1; transform: scale(1.2); }
.flag-egg.playing { opacity: 1; background: color-mix(in srgb, var(--accent) 25%, transparent); }

/* Tablet */
@media (max-width: 900px) {
  :root { --max: 100%; }
  .wrap { padding: 0 24px; }
  .nav-inner { padding: 12px 20px; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .brand { font-size: 15px; flex: 0 0 auto; }
  /* Two-row 3-column grid so every nav item is visible without horizontal scroll */
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 6px;
    flex: 1 1 100%;
    min-width: 0;
    order: 2;
  }
  .nav-links a {
    padding: 6px 8px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    border-radius: 999px;
  }

  .hero { padding-top: 44px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero .tagline { font-size: 15px; }
  .hero-meta { gap: 4px 12px; font-size: 13px; }
  .hero-meta span::before { margin-right: 12px; }

  section { padding: 28px 0; }
  h2 { font-size: 22px; }

  .role, .two-col { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .role-when { font-size: 12px; }
  .role ul { columns: 1; }
  .role ul li { font-size: 14px; }
  .projects ul li { font-size: 14px; }
  .meta-body p { font-size: 14px; }
  .meta-body h3 { font-size: 14px; }
  .role-head { gap: 4px 10px; }

  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; }

  .prose { font-size: 15.5px; line-height: 1.65; }
  .prose p { font-size: 15.5px; }
  .prose .lede { font-size: 16.5px; }
  .prose h2 { font-size: 20px; margin-top: 28px; }

  .lesson { padding: 28px 0; }
  .lesson h2 { font-size: 22px; }
  .bullet-list li { font-size: 15px; }

  .pillars { grid-template-columns: 1fr; gap: 10px; }
  .pillars li { padding: 16px; }

  /* Jobs filter bar: 3-column grid so every filter is visible without scrolling */
  .filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 20px;
    padding: 0;
  }
  .filter { padding: 6px 10px; font-size: 12.5px; gap: 6px; justify-content: center; min-width: 0; }
  /* Lesson jump-menu: 2 columns so 'L1 | Change Mgmt' fits on one line */
  .lesson-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  /* About jump-menu: 4 short labels fit comfortably in a single row */
  .about-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: none; padding-bottom: 12px; margin-bottom: -8px; }
  .filter .count { font-size: 10px; padding: 1px 6px; min-width: 18px; }

  .job-card .job-head { gap: 8px; }
  .job-pill { font-size: 10.5px; padding: 3px 8px; }
  .job-card h3 { font-size: 16px; }

  footer { margin-top: 40px; padding: 32px 0 48px; font-size: 11px; }
  footer .wrap { flex-direction: row; flex-wrap: nowrap; gap: 8px; align-items: center; justify-content: space-between; }
  footer .footer-right { gap: 6px; }
  footer .mabel-egg { width: 20px; height: 20px; font-size: 11px; }
  footer .flag-egg { font-size: 13px; padding: 2px 3px; }
  footer .footer-left { gap: 4px; }
}

/* Small mobile */
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .nav-inner { padding: 10px 14px; }
}

/* Print — used when generating the downloadable resume PDF */
@media print {
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --ink: #1a1a1a;
    --ink-soft: #333;
    --ink-mute: #555;
    --line: #d8d4cf;
  }
  body { background: #fff; color: #1a1a1a; }
  .nav, footer, .resume-download, .mabel-egg, .flag-egg { display: none !important; }
  /* .wrap forces padding: 0 28px which overrides `section { padding }`,
     so we use explicit margins on .hero and .section-label instead.
     Aggressively tightened so the whole resume fits on 2 pages. */
  .hero { padding: 0 !important; margin: 0 0 22px; padding-bottom: 16px !important; border-bottom: 1px solid #d8d4cf; }
  /* Swap the on-screen tagline h1 for the printed name h1 */
  .hero .hero-title-screen { display: none !important; }
  .hero .hero-title-print,
  .hero .hero-lead { display: block !important; }
  .hero h1 { font-size: 28px; margin-bottom: 4px; }
  .hero .hero-lead { font-size: 13px; margin: 0 0 8px; line-height: 1.35; font-style: italic; color: #555; }
  .hero .tagline { font-size: 12.5px; margin-bottom: 12px; line-height: 1.4; }
  .hero-meta { font-size: 11px; gap: 4px 14px; }
  .hero-meta span::before { margin-right: 14px; }
  section { padding: 0 !important; margin: 10px 0; }
  .role { padding: 14px 0; border-color: #d8d4cf; grid-template-columns: 110px 1fr; gap: 16px; }
  .role ul { column-gap: 22px; }
  .role ul li { margin-bottom: 5px; }
  .role ul li { font-size: 11px; line-height: 1.48; }
  .role ul li::before { top: 8px; width: 4px; height: 4px; }
  .role-head { margin-bottom: 8px; gap: 4px 10px; }
  .role-head h3 { font-size: 15px; }
  .role-head .company { font-size: 14px; }
  .role-head .loc { font-size: 11px; }
  .role-when { font-size: 10.5px; }
  /* Unify the two section-header styles so Experience looks
     identical to Projects / Skills / Certifications / Education. */
  .section-label,
  .two-col .label {
    font-size: 10px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
  }
  /* Experience label needs a little top breathing room under the hero */
  .section-label { margin-top: 10px; }
  .two-col { padding: 8px 0; gap: 16px; grid-template-columns: 110px 1fr; }
  .projects ul { gap: 5px; }
  .projects ul li { font-size: 11px; line-height: 1.48; }
  .projects ul li::before { top: 6px; width: 4px; height: 4px; }
  .chips { gap: 6px; }
  .chip { font-size: 10px; padding: 4px 9px; }
  /* Certifications + Education text matches the experience bullet size */
  .meta-body p { font-size: 11px; line-height: 1.4; }
  .meta-body h3 { font-size: 12px; margin-bottom: 1px; }
  /* Slightly shrink the margins so more fits on a page */
  @page { margin: 0.4in; }
  a { color: inherit; text-decoration: none; }
  .wrap { padding: 0 24px; max-width: 100%; }
  @page { size: Letter; margin: 0.4in; }
  /* Keep each role / section together where possible */
  .role, .two-col { break-inside: avoid; page-break-inside: avoid; }
}
