:root {
  --resume-blue: #0018ff;
  --resume-green: #0018ff;
  --resume-green-dark: #0018ff;
  --resume-ink: #10243d;
  --resume-muted: #566575;
  --resume-paper: #fff;
}

* { box-sizing: border-box; }
html { background: #dce2e5; }
body { margin: 0; color: var(--resume-ink); background: #dce2e5; font-family: Arial, Helvetica, sans-serif; font-size: 9px; line-height: 1.3; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }

.resume { display: grid; gap: 28px; justify-content: center; padding: 28px; }
.resume-page { position: relative; width: 8.5in; min-height: 11in; padding: .52in .48in .42in; overflow: hidden; background: var(--resume-paper); box-shadow: 0 12px 36px rgba(4, 31, 65, .15); }
.resume-page::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(to bottom, var(--resume-blue) 0 6px, var(--resume-ink) 6px 8px); }

.resume-header { display: grid; grid-template-columns: 1.32fr .68fr; gap: 24px; align-items: center; margin-bottom: 27px; padding-bottom: 17px; border-bottom: 1px solid #dce4e7; }
.identity { display: grid; grid-template-columns: 58px 1fr; gap: 15px; align-items: center; }
.monogram { display: grid; place-content: center; width: 58px; height: 54px; border: 2.5px solid var(--resume-blue); color: var(--resume-blue); font-family: "Courier New", Courier, monospace; line-height: .9; }
.monogram span { display: flex; width: 50px; align-items: center; justify-content: center; }
.monogram strong { font-size: 20px; font-weight: 900; }
.monogram small { font-size: 10px; font-weight: 400; }
.identity h1, .identity p { font-size: 13px; font-weight: 800; line-height: 1.32; }
.identity h1, .identity p { color: var(--resume-ink); }
.resume-header address { justify-self: end; width: 100%; color: var(--resume-muted); font-size: 9.1px; font-style: normal; font-weight: 700; line-height: 1.45; text-align: right; }
.resume-header address a { color: var(--resume-ink); font-weight: 700; }

.resume-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.resume h2 { margin-bottom: 12px; padding-bottom: 6px; color: var(--resume-blue); border-bottom: 2px solid var(--resume-blue); font-size: 11px; font-weight: 800; text-decoration: none; }
.timeline-entry { display: grid; grid-template-columns: 47px 1fr; gap: 9px; margin-bottom: 10px; }
.entry-date { color: #626b73; font-size: 8.8px; font-weight: 700; line-height: 1.45; }
.entry-copy h3, .entry-copy h4 { color: #111; font-size: 9.2px; font-weight: 800; line-height: 1.3; }
.entry-copy h4 { margin-bottom: 4px; }
.entry-copy h4 em { color: #727b83; font-weight: 700; }
.entry-copy p { margin-bottom: 6px; color: var(--resume-muted); font-size: 8.75px; line-height: 1.38; }
.entry-copy p strong { color: #334b5f; font-style: italic; }
.samsung-entry { margin-top: 16px; }
.acquia-entry { margin-top: 14px; }

.profile-column { display: flex; min-width: 0; flex-direction: column; padding-left: 18px; border-left: 1px solid #dce4e7; }
.profile-column > section { margin-bottom: 0; }
.education-list > div { display: grid; grid-template-columns: 74px 1fr; gap: 5px; margin-bottom: 10px; }
.education-list dt, .education-list dd { font-size: 9.1px; }
.education-list dt { color: #626b73; font-weight: 700; }
.education-list dd strong, .education-list dd span { display: block; }
.education-list dd strong { color: #111; }
.education-list dd span { color: var(--resume-muted); margin-top: 2px; }

.skills-section { margin-top: 78px; }
.skills-grid { display: grid; grid-template-columns: .9fr .9fr 1.2fr; gap: 14px; }
.skills-grid h3 { margin-bottom: 7px; color: #111; font-size: 9.1px; }
.skills-grid p { color: var(--resume-muted); font-size: 8.7px; line-height: 1.42; }

.honor-section { margin-top: 80px; }
.honor-section dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 5px; margin-bottom: 8px; }
.honor-section dt, .honor-section dd { color: var(--resume-muted); font-size: 8.9px; }
.honor-section dt { color: #626b73; font-weight: 700; }

.resume-page-two { padding: .52in .58in .45in; }
.publication-page h2 { margin-bottom: 20px; }
.publication-page h3 { margin: 0 0 7px; color: var(--resume-blue); font-size: 10.4px; font-style: italic; text-decoration: underline; }
.publication-page > p, .publication-list p, .patent-list p { color: var(--resume-muted); font-size: 9.9px; line-height: 1.44; }
.publication-page > p { margin-bottom: 21px; }
.publication-list p { margin-bottom: 15px; }
.patent-list p { margin-bottom: 16px; }
.publication-page strong { color: #111; }
.publication-page a { color: #607485; }

@media (max-width: 850px) {
  html, body { background: #fff; }
  .resume { display: block; padding: 0; }
  .resume-page { width: 100%; min-height: 0; padding: 28px 22px; box-shadow: none; }
  .resume-page + .resume-page { border-top: 10px solid #e7e9ec; }
  .resume-header { grid-template-columns: 1fr; gap: 14px; }
  .resume-columns { grid-template-columns: 1fr; gap: 30px; }
  .profile-column { padding-left: 0; border-left: 0; }
  .profile-column > section, .skills-section, .honor-section { margin-top: 0; margin-bottom: 30px; }
}

@page { size: Letter; margin: 0; }
@media print {
  html, body { background: #fff; }
  .resume { display: block; padding: 0; }
  .resume-page { width: 8.5in; height: 11in; min-height: 11in; margin: 0; box-shadow: none; break-after: page; page-break-after: always; }
  .resume-page:last-child { break-after: auto; page-break-after: auto; }
}
