* { box-sizing: border-box; }
:root { --ink: #172033; --muted: #526073; --accent: #294f9b; --rule: #dce3ec; }
body { margin: 0; background: #eef2f7; color: var(--ink); font-family: 'Inter', Arial, sans-serif; font-feature-settings: "calt" 0, "liga" 0, "clig" 0; font-size: 13.33px; line-height: 1.4; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.resume-actions { position: sticky; top: 0; z-index: 10; max-width: 856px; margin: 0 auto 24px; padding: 14px 20px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; align-items: center; font-size: 14px; background: rgba(238,242,247,.97); backdrop-filter: blur(12px); border-bottom: 1px solid #dce3ec; }
.resume-actions > div { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.resume-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.resume-actions .download-primary { font-weight: 650; padding: 10px 16px; background: #1d4ed8; color: #fff; border-radius: 8px; }
.resume-actions .download-primary:hover { background: #1e40af; text-decoration: none; }
.resume-actions button { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 8px; min-height: 44px; padding: 10px 16px; font: inherit; cursor: pointer; }
.resume-actions button:hover { background: #f8fafc; }
.resume-sheet { width: calc(100% - 32px); max-width: 816px; background: white; margin: 24px auto; padding: 52px 57.6px 36px; box-shadow: 0 6px 30px #0f172a0d; }
.resume-header { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 24px; margin-bottom: 22px; }
h1 { color: #111; font-family: 'Playfair Display', Georgia, serif; font-size: 45px; font-weight: 650; line-height: 1.1; letter-spacing: -.035em; margin: 0 0 12px; }
.headline { color: #1f2937; font-size: 13px; line-height: 1.5; font-weight: 600; max-width: 340px; margin: 0; }
.contact { font-size: 10.5px; text-align: right; line-height: 1.65; color: var(--muted); padding-top: 3px; }
.contact p { margin: 0; }
.contact p:nth-child(2) a { display: block; }
.contact span { display: none; }
.contact a { color: inherit; }
.profile p { color: #374151; line-height: 1.5; }
h2 { font-size: 11px; font-weight: 750; color: #111; text-transform: uppercase; letter-spacing: .12em; margin: 18px 0 8px; line-height: 1.3; }
h3 { color: #111; font-size: 14px; font-weight: 650; margin: 0; line-height: 1.3; }
p { margin: 0 0 7px; }
.highlights { margin-top: 18px; padding: 14px 18px 12px; background: #f3f6fa; border-left: 3px solid #4166aa; }
.highlights h2 { margin-top: 0; }
.highlights ul { padding: 0; list-style: none; }
.highlights li { padding: 0; margin-bottom: 7px; }
.highlights li:last-child { margin-bottom: 0; }
.highlights strong { color: #233d6e; font-weight: 700; }
.resume-results { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.highlights .resume-results li { display: flex; flex-direction: column; margin: 0; }
.resume-results .result-value { font-size: 28px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.035em; }
.resume-results .result-label { font-weight: 650; font-size: 11.5px; line-height: 1.45; }
.resume-results .result-context { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.expertise { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.expertise > div { display: grid; grid-template-columns: 170px 1fr; column-gap: 14px; margin-bottom: 5px; }
.expertise dt { font-weight: 650; color: var(--ink); }
.expertise dd { margin: 0; }
.experience { margin-top: 16px; }
.role-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.role-heading > span { flex-shrink: 0; font-size: 11.5px; color: var(--muted); }
.role { font-size: 12px; font-weight: 600; color: var(--accent); margin: 4px 0 6px; }
.position + .position { margin-top: 8px; }
.position-date { font-weight: 400; color: var(--muted); }
ul { margin: 0; padding-left: 15px; }
li { margin: 0 0 4px; padding-left: 2px; }
li::marker { color: #71829c; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 10px; margin: 28px 0 0; font-size: 9px; color: var(--muted); }
.continued { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 22px; }
.continued-name { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 650; color: #111; margin: 0; }
.continued > p + p { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.continued + .experience { margin-top: 0; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 20px; padding-top: 2px; border-top: 1px solid var(--rule); }
.supporting p { font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (max-width: 600px) {
  .resume-actions { padding: 10px 16px; gap: 2px; }
  .resume-actions > div { width: 100%; justify-content: space-between; gap: 8px; }
  .resume-actions > div > a, .resume-actions button { font-size: 12px; }
  .resume-actions .download-primary, .resume-actions button { padding: 9px 11px; }
  body { font-size: 15px; line-height: 1.6; }
  .resume-sheet { padding: 28px 22px; }
  .resume-header { grid-template-columns: 1fr; gap: 16px; }
  h1 { font-size: 40px; }
  h2 { font-size: 12px; margin-top: 24px; }
  h3 { font-size: 16px; }
  .headline { font-size: 15px; }
  .contact { text-align: left; font-size: 12px; }
  .contact p:nth-child(2) a { display: inline; }
  .contact span { display: inline; margin: 0 3px; }
  .role-heading { flex-direction: column; gap: 3px; }
  .role, .role-heading > span { font-size: 13px; }
  .expertise, .supporting p { font-size: 13px; }
  .expertise > div { grid-template-columns: 1fr; gap: 2px; margin-bottom: 12px; }
  .experience { margin-top: 24px; }
  .highlights { padding: 18px; margin-top: 22px; }
  .highlights li { margin-bottom: 14px; }
  .resume-results { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 16px; }
  li { margin-bottom: 8px; }
  .page-footer { flex-wrap: wrap; }
  .credentials { grid-template-columns: 1fr; gap: 0; }
}
@page { size: Letter; margin: 0; }
@media print {
  body { background: white; font-size: 10pt; line-height: 1.35; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .resume-actions { display: none; }
  .resume-sheet { width: 8.5in; max-width: none; height: 11in; margin: 0; padding: .55in .6in .55in; box-shadow: none; position: relative; break-after: page; }
  .resume-sheet:last-child { break-after: auto; }
  .resume-header { grid-template-columns: 1fr auto; margin-bottom: 15pt; }
  h1 { font-size: 33pt; margin-bottom: 7pt; }
  .headline { font-size: 10pt; max-width: 240pt; }
  .contact { font-size: 8pt; text-align: right; }
  .contact p:nth-child(2) a { display: block; }
  .contact span { display: none; }
  .profile p { line-height: 1.45; }
  h2 { font-size: 8.5pt; margin: 12pt 0 6pt; }
  h3 { font-size: 10.5pt; }
  .highlights { margin-top: 12pt; padding: 10pt 13pt; }
  .highlights li { margin-bottom: 5pt; }
  .resume-results { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12pt; }
  .resume-results .result-value { font-size: 23pt; }
  .resume-results .result-label { font-size: 8.5pt; }
  .resume-results .result-context { font-size: 7.8pt; }
  .expertise, .supporting p { font-size: 9pt; }
  .expertise > div { grid-template-columns: 128pt 1fr; gap: 10pt; margin-bottom: 3pt; }
  .role, .role-heading > span { font-size: 9pt; }
  .role { margin: 3pt 0 4pt; }
  .experience { margin-top: 11pt; break-inside: avoid; }
  .role-heading { flex-direction: row; gap: 12pt; }
  p { margin-bottom: 5pt; }
  li { margin-bottom: 3pt; }
  .position + .position { margin-top: 5pt; }
  .page-footer { position: absolute; bottom: .28in; left: .6in; right: .6in; margin: 0; font-size: 7.5pt; padding-top: 7pt; }
  .continued { margin-bottom: 14pt; }
  .continued-name { font-size: 18pt; }
  .continued > p + p { font-size: 8pt; }
  .credentials { grid-template-columns: 1fr 1fr; margin-top: 14pt; gap: 20pt; }
  a { color: inherit; }
}
