/* =========================================================
   Ely Ver Romantico — Web Resume
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:            #16202b;
  --ink-soft:       #4a5866;
  --ink-faint:      #78868f;
  --bg:             #ffffff;
  --bg-alt:         #f5f7f9;
  --bg-raise:       #ffffff;
  --line:           #e2e8ee;
  --line-soft:      #eef2f5;
  --accent:         #0f2f4a;
  --accent-soft:    #e8eef4;
  --gold:           #b8853a;
  --gold-soft:      #f7efe1;
  --shadow-sm:      0 1px 2px rgba(16, 32, 48, .05), 0 2px 8px rgba(16, 32, 48, .04);
  --shadow-md:      0 2px 4px rgba(16, 32, 48, .06), 0 12px 28px rgba(16, 32, 48, .07);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1080px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* Dark tokens live in a mixin-style list applied from two places: the OS
   preference (unless the visitor explicitly chose light) and the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:            #e8eef4;
    --ink-soft:       #a9b7c4;
    --ink-faint:      #7d8b98;
    --bg:             #0d151d;
    --bg-alt:         #121c26;
    --bg-raise:       #16212c;
    --line:           #24323f;
    --line-soft:      #1c2833;
    --accent:         #7fb3dd;
    --accent-soft:    #1a2a38;
    --gold:           #e2b46b;
    --gold-soft:      #2a2317;
    --shadow-sm:      0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md:      0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px rgba(0, 0, 0, .35);
  }
  :root:not([data-theme="light"]) .brand-mark,
  :root:not([data-theme="light"]) .btn-primary { color: #0d151d; }
  :root:not([data-theme="light"]) .ico-sun { display: none; }
  :root:not([data-theme="light"]) .ico-moon { display: block; }
}

:root[data-theme="dark"] {
  --ink:            #e8eef4;
  --ink-soft:       #a9b7c4;
  --ink-faint:      #7d8b98;
  --bg:             #0d151d;
  --bg-alt:         #121c26;
  --bg-raise:       #16212c;
  --line:           #24323f;
  --line-soft:      #1c2833;
  --accent:         #7fb3dd;
  --accent-soft:    #1a2a38;
  --gold:           #e2b46b;
  --gold-soft:      #2a2317;
  --shadow-sm:      0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md:      0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px rgba(0, 0, 0, .35);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--accent); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7;
      stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.topbar.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.topbar-inner {
  width: min(var(--wrap), 100% - 3rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1.25rem;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 9px;
  background: var(--accent); color: var(--bg);
  font-family: var(--serif); font-size: .95rem; letter-spacing: .04em;
}
:root[data-theme="dark"] .brand-mark { color: #0d151d; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; color: var(--ink-faint); letter-spacing: .09em; text-transform: uppercase; }

.nav { display: flex; gap: .3rem; }
.nav a {
  position: relative; padding: .45rem .7rem; border-radius: 7px;
  font-size: .875rem; color: var(--ink-soft); text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .1rem;
  height: 2px; border-radius: 2px; background: var(--gold);
}

.topbar-actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  font-size: 1.05rem; color: var(--ink-soft);
  background: transparent; border: 1px solid var(--line);
  border-radius: 9px; cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.icon-btn:hover { color: var(--ink); background: var(--bg-alt); border-color: var(--ink-faint); }
.ico-moon { display: none; }
:root[data-theme="dark"] .ico-sun { display: none; }
:root[data-theme="dark"] .ico-moon { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .58rem 1rem; border-radius: 9px;
  font-family: inherit; font-size: .875rem; font-weight: 550;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  transition: transform .15s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { font-size: 1.05em; }
.btn:hover { border-color: var(--ink-faint); background: var(--bg-alt); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent); border-color: var(--accent); color: var(--bg);
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .btn-primary { color: #0d151d; }
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 88%, var(--ink));
  box-shadow: var(--shadow-md);
}
.btn-ghost { color: var(--ink-soft); }
.btn-lg { padding: .8rem 1.4rem; font-size: .95rem; }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--gold); transition: width .1s linear;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 28rem at 12% -10%, var(--accent-soft), transparent 65%),
    radial-gradient(40rem 22rem at 95% 8%, var(--gold-soft), transparent 60%);
  opacity: .8; pointer-events: none;
}
.hero > * { position: relative; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.eyebrow {
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}

.name {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7.2vw, 4.5rem);
  font-weight: 500; letter-spacing: -.025em; line-height: 1.02;
  margin-bottom: .55rem;
}
.name span { color: var(--ink-soft); }

.role {
  font-size: clamp(1rem, 2.2vw, 1.15rem); font-weight: 550;
  color: var(--ink); margin-bottom: 1.1rem;
}

.lede { color: var(--ink-soft); max-width: 56ch; font-size: 1.02rem; }
.lede strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
              border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
              box-shadow: var(--shadow-md); }
.stat { background: var(--bg-raise); padding: 1.35rem 1.15rem; }
.stat-num {
  display: block; font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 500;
  color: var(--accent); letter-spacing: -.02em; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.stat-num .pct { font-size: .7em; }
.stat-num .arrow { color: var(--gold); margin: 0 .25em; font-size: .8em; }
.stat-label { display: block; margin-top: .4rem; font-size: .8rem; color: var(--ink-faint); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 60ch; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.02em;
}
.section-sub { margin-top: .6rem; color: var(--ink-faint); font-size: .98rem; }

/* ---------- Competencies ---------- */
/* Three across at full width, so the nine cards fill complete rows. */
.comp-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.comp {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.comp:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink-faint); }
.comp h3 { font-size: .98rem; margin-bottom: .45rem; }
.comp p { font-size: .87rem; color: var(--ink-faint); line-height: 1.55; }

/* ---------- Skills ---------- */
.skills-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.skill-block h3 {
  font-size: .78rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
  padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  padding: .42rem .8rem; border-radius: 100px;
  background: var(--bg-raise); border: 1px solid var(--line);
  font-size: .855rem; color: var(--ink);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.tags li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.tags em { color: var(--ink-faint); font-style: normal; font-size: .92em; }

/* ---------- Additional capabilities ---------- */
/* Deliberately quieter than the accounting sections: this is supporting
   range, and it must not pull focus from the ledger work above it. */
.extra-role {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .7rem;
  padding: .6rem 1rem; margin-bottom: 2rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-raise);
}
.extra-role-label {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--gold);
}
.extra-role-name { font-size: .95rem; font-weight: 600; color: var(--ink); }

.skills-quiet .skill-block h3 { color: var(--ink-faint); }
.skills-quiet .tags li {
  background: transparent; color: var(--ink-soft);
  border-color: var(--line-soft); font-size: .82rem;
}
.skills-quiet .tags li:hover { border-color: var(--ink-faint); color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; top: .55rem; bottom: .5rem; left: 170px;
  width: 1px; background: var(--line);
}

.job { display: grid; grid-template-columns: 170px 1fr; gap: 0; position: relative; }
.job::before {
  content: ""; position: absolute; left: 165px; top: .5rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--ink-faint);
  z-index: 1;
}
.job:first-child::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.section-alt .job::before { background: var(--bg-alt); }

.job-meta { padding-right: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.job-dates {
  font-size: .82rem; color: var(--ink-faint); font-weight: 550;
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.badge {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: .18rem .5rem; border-radius: 5px;
}
.badge-current { background: var(--gold-soft); color: var(--gold); }

.job-body { padding-left: 2.25rem; }
.job-title { font-size: 1.18rem; letter-spacing: -.015em; }
.job-org { color: var(--accent); font-weight: 550; font-size: .95rem; margin-top: .2rem; margin-bottom: 1.15rem; }

/* Positions held within one employer. */
.roles { display: grid; gap: 1.4rem; }
.role-item + .role-item { border-top: 1px dashed var(--line); padding-top: 1.4rem; }
.role-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .25rem .75rem; margin-bottom: .65rem;
}
.role-title { font-size: 1rem; font-weight: 600; }
.role-dates {
  font-size: .78rem; color: var(--ink-faint); font-weight: 550;
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
/* When an employer has a single role, its dates already appear on the
   company line — don't repeat them. Browsers without :has() simply show
   both, which is redundant but not broken. */
.roles:not(:has(> .role-item + .role-item)) .role-dates { display: none; }

.bullets { display: grid; gap: .6rem; }
.bullets li {
  position: relative; padding-left: 1.2rem;
  font-size: .93rem; color: var(--ink-soft); line-height: 1.6;
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .75;
}
.bullets strong { color: var(--ink); font-weight: 600; }

/* ---------- Credentials ---------- */
.cred-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cred-head {
  font-size: .78rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
  padding-bottom: .7rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.cert-list { display: grid; gap: .8rem; }
.cert-list li { display: flex; gap: .7rem; align-items: baseline; font-size: .94rem; color: var(--ink-soft); }
.cert-list strong { color: var(--ink); font-weight: 600; }
.cert-meta {
  display: block; margin-top: .12rem;
  font-size: .78rem; color: var(--ink-faint); font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.edu-extra {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--line);
  font-size: .9rem; color: var(--ink-soft);
}
.edu-extra strong { color: var(--ink); font-weight: 600; }

.cert-mark {
  flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  font-size: .7rem; font-weight: 700; transform: translateY(2px);
}

.edu-degree { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.01em; }
.edu-school { color: var(--ink-soft); font-size: .94rem; margin-top: .15rem; }
.edu-honors { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.pill {
  padding: .3rem .7rem; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
}

.speak-role { font-weight: 600; font-size: .95rem; display: flex; align-items: baseline; gap: .5rem; }
.speak-year { font-size: .75rem; color: var(--gold); font-weight: 700; letter-spacing: .06em; }
.speak-title { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin-top: .3rem; line-height: 1.4; }
.speak-note { font-size: .85rem; color: var(--ink-faint); margin-top: .35rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-inner h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.contact-inner > p { color: var(--ink-faint); margin-top: .7rem; max-width: 46ch; margin-inline: auto; }
.contact-links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.25rem; margin-top: 1.9rem;
}
.contact-loc { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-faint); font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 1.75rem 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  font-size: .82rem; color: var(--ink-faint);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .comp:hover, .tags li:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { max-width: 520px; }
  .nav { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .topbar-inner { width: min(var(--wrap), 100% - 2rem); }
  .brand-text small { display: none; }
  .btn-print span { display: none; }
  .btn-print { padding: .58rem .7rem; }

  .timeline::before, .job::before { display: none; }
  .job { grid-template-columns: 1fr; gap: .75rem; }
  .job-meta { flex-direction: row; align-items: center; padding-right: 0; }
  .job-body {
    padding-left: 1rem;
    border-left: 2px solid var(--line);
  }
  .hero-stats { grid-template-columns: 1fr; }
}

/* =========================================================
   Print — clean single-column ATS-friendly document
   ========================================================= */
@media print {
  :root {
    --ink: #000; --ink-soft: #1a1a1a; --ink-faint: #333;
    --bg: #fff; --bg-alt: #fff; --bg-raise: #fff;
    --line: #ccc; --line-soft: #ddd;
    --accent: #0f2f4a; --gold: #7a5a20;
    --accent-soft: #fff; --gold-soft: #fff;
    --shadow-sm: none; --shadow-md: none;
  }

  @page { margin: 11mm 12mm; }

  /* 1.38 rather than 1.42: the extra credential detail tipped the document
     just past three pages, and this recovers it without shrinking the type. */
  html, body { background: #fff !important; color: #000; font-size: 10.5pt; line-height: 1.38; }

  .topbar, .skip-link, .hero-cta, .section-sub,
  .scroll-progress, .badge, .footer-note { display: none !important; }

  .wrap { width: 100%; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero::before { display: none; }

  .hero { padding: 0 0 .5rem; }
  .hero-grid { display: block; }
  .name { font-size: 24pt; margin-bottom: .1rem; }
  .name br { display: none; }
  .name span { color: #000; }
  .name span::before { content: " "; }
  .role { font-size: 11pt; margin-bottom: .35rem; }
  .eyebrow { color: #444; font-size: 8.5pt; margin-bottom: .35rem; }
  .eyebrow::after { content: "  ·  elyver0810@gmail.com"; }
  .lede { max-width: none; font-size: 10pt; }
  .hero-stats { display: none; }

  .section { padding: .55rem 0 0; break-inside: auto; }
  .section-alt { border: 0; }
  .section-head { margin-bottom: .4rem; max-width: none; break-after: avoid; }
  .section-head h2 {
    font-size: 12pt; text-transform: uppercase; letter-spacing: .06em;
    border-bottom: 1.2pt solid #000; padding-bottom: .12rem; margin-top: .5rem;
  }

  /* Single column on purpose: Chromium won't fragment a multi-column block
     across pages, so a 2-up grid here gets pushed whole and strands most of
     a page. Flowing as one list costs a few lines and saves a page. */
  .comp-grid { display: block; }
  .comp {
    border: 0; padding: 0 0 .3rem; break-inside: avoid;
    display: list-item; list-style: disc; margin-left: 1rem;
  }
  .comp h3 { font-size: 10pt; display: inline; }
  .comp h3::after { content: " — "; }
  .comp p { display: inline; font-size: 9.5pt; color: #222; }

  .skills-grid { display: block; }
  .skill-block { margin-bottom: .35rem; break-inside: avoid; }
  .extra-role { border: 0; padding: 0; margin-bottom: .2rem; display: block; }
  .extra-role-label { color: #000; font-size: 9.5pt; }
  .extra-role-label::after { content: ":"; }
  .extra-role-name { font-size: 10pt; }
  .skills-quiet .tags li { font-size: 10pt; color: #111; }
  .skill-block h3 { border: 0; padding: 0; margin-bottom: .1rem; font-size: 9.5pt; color: #000; }
  .tags { display: block; }
  .tags li {
    display: inline; border: 0; padding: 0; background: none; font-size: 10pt;
  }
  .tags li:not(:last-child)::after { content: " · "; color: #666; }

  .timeline { display: block; }
  .timeline::before, .job::before { display: none; }
  /* Long roles are allowed to split across pages — forcing them whole
     pushes a half-empty page ahead of them. */
  .job { display: block; break-inside: auto; margin-bottom: .6rem; }
  .job-meta { display: block; padding: 0; }
  .job-dates { float: right; font-size: 9.5pt; color: #000; }
  .job-body { padding-left: 0; border: 0; }
  .job-title { font-size: 11pt; break-after: avoid; }
  .job-org { color: #000; font-style: italic; margin-bottom: .2rem; font-size: 9.5pt; break-after: avoid; }

  .roles { display: block; }
  .role-item { margin-bottom: .3rem; }
  .role-item + .role-item { border-top: 0; padding-top: .2rem; }
  .role-head { display: block; margin-bottom: .1rem; break-after: avoid; }
  .role-title { display: inline; font-size: 10pt; }
  .role-dates { float: right; font-size: 9pt; color: #333; }
  .bullets { display: block; }
  .bullets li { color: #111; font-size: 9.8pt; margin-bottom: .1rem; padding-left: .9rem; break-inside: avoid; }
  .bullets li::before { background: #000; width: 3.5px; height: 3.5px; top: .58em; }
  .bullets strong { font-weight: 600; }

  .cred-grid { display: block; }
  .cred-col { margin-bottom: .4rem; break-inside: avoid; }
  .cred-head { border: 0; padding: 0; margin-bottom: .15rem; color: #000; font-size: 9.5pt; }
  .cert-list { display: block; }
  .cert-list li { display: block; font-size: 10pt; }
  .cert-mark { display: none; }
  .cert-list li::before { content: "• "; }
  .cert-meta { display: inline; color: #333; font-size: 9.5pt; }
  .cert-meta::before { content: " — "; }
  .edu-extra { margin-top: .15rem; padding-top: 0; border: 0; font-size: 10pt; }
  .edu-degree { font-size: 11pt; }
  .pill { background: none; color: #000; padding: 0; font-weight: 400; font-size: 10pt; }
  .pill:not(:last-child)::after { content: "  ·"; }
  .edu-honors { gap: .35rem; margin-top: .1rem; }
  .speak-title { font-size: 10pt; }

  .contact { display: none; }
  .footer { border-top: .5pt solid #999; padding: .4rem 0 0; margin-top: .5rem; font-size: 8pt; }
}
