:root { color-scheme: light; --ink: #142f36; --muted: #4f625b; --paper: #f8f7f2; --line: #d4dccf; --accent: #a94f2c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font: 18px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { max-width: 1180px; width: calc(100% - 80px); margin-inline: auto; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.brand { font-size: 24px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 400; }
.header nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 16px; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.header nav a:not([aria-current]):hover, .header nav a:not([aria-current]):focus-visible { text-decoration: underline; text-underline-offset: 8px; }
.header [aria-current] { border-bottom: 2px solid var(--accent); }
.intro { padding: 68px 0 48px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 14px; letter-spacing: 1.5px; font-weight: 650; color: var(--accent); margin: 0 0 18px; }
h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.12; letter-spacing: -2px; font-weight: 550; margin: 0 0 24px; }
h1 span { color: var(--accent); }
.headline { font-size: 23px; line-height: 1.5; }
.summary { max-width: 850px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.button { display: inline-block; padding: 13px 20px; background: var(--ink); border: 1px solid var(--ink); color: white; font: inherit; font-size: 16px; text-decoration: none; cursor: pointer; }
.button:hover { background: #285760; color: white; }
.secondary { background: transparent; color: var(--ink); }
[hidden] { display: none !important; }
.contact-line { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; margin-top: 24px; }
.resume-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 70px; padding-top: 54px; }
aside { font-size: 16px; }
aside h2 { font-size: 25px; }
aside h3 { font-size: 18px; margin-bottom: 8px; }
aside p { margin-top: 0; color: var(--muted); }
.section-nav { display: flex; flex-direction: column; gap: 6px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.section-nav a { display: flex; align-items: center; min-height: 44px; }
h2 { font-size: 32px; letter-spacing: -.8px; font-weight: 550; line-height: 1.25; margin: 0 0 28px; }
h3 { font-size: 22px; line-height: 1.4; margin: 0; }
.career > section { margin-bottom: 64px; }
.role { padding: 28px 0; border-top: 1px solid var(--line); }
.role-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.role-heading p, .dates { font-size: 16px; color: var(--muted); margin: 0; }
.role-title { margin: 8px 0 16px; font-weight: 600; }
ul { padding-left: 24px; }
li { padding-left: 3px; margin-bottom: 10px; }
.role li, .compact-role > p:last-child { color: var(--muted); }
.tech { font-size: 15px; color: var(--accent); margin-bottom: 0; }
.role > a { display: inline-block; font-size: 16px; margin-top: 14px; }
.compact-role { border-top: 1px solid var(--line); padding: 24px 0 10px; }
.compact-role h3 { font-size: 20px; }
.compact-role .dates { margin-top: 8px; }
.education-list { padding: 0; list-style: none; }
.education-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.education-list span { display: block; color: var(--muted); margin-top: 6px; }
.closing { background: #e4e9e0; padding: 32px; }
.closing a { overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--line); padding-block: 30px; font-size: 14px; color: var(--muted); }
.skip { position: absolute; top: -100px; padding: 12px; background: var(--ink); color: white; }
.skip:focus { top: 8px; }
@media (max-width: 900px) { .resume-layout { grid-template-columns: 230px minmax(0,1fr); gap: 35px; } }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header { flex-direction: column; align-items: flex-start; }
  .header nav { gap: 14px 22px; }
  .intro { padding-top: 40px; }
  .headline { font-size: 20px; }
  .resume-layout { display: flex; flex-direction: column; gap: 35px; }
  .section-nav { flex-direction: row; flex-wrap: wrap; gap: 14px 22px; }
  aside section { background: #e4e9e0; padding: 25px; }
  .career > section { margin-bottom: 45px; }
  h2 { font-size: 29px; }
  .actions { gap: 18px; }
  .closing { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  @page { margin: 16mm; }
  html { scroll-behavior: auto; }
  body { background: white; color: #111; font-size: 10.5pt; line-height: 1.5; }
  .wrap { width: 100%; max-width: none; }
  .header, .actions, .section-nav, .skip, .closing, .footer { display: none; }
  .intro { padding: 0 0 16px; }
  h1 { font-size: 30pt; }
  h2 { font-size: 19pt; margin-bottom: 16px; }
  h3, .compact-role h3 { font-size: 13pt; }
  .headline { font-size: 13pt; }
  .eyebrow, .tech, .dates, .role-heading p, .contact-line { font-size: 9pt; }
  .resume-layout { display: block; padding-top: 20px; }
  aside { font-size: 10pt; }
  aside h2 { font-size: 19pt; }
  aside h3 { font-size: 11pt; margin-bottom: 2px; }
  aside p { margin-bottom: 10px; }
  aside { margin-bottom: 28px; }
  .role, .compact-role, .education-list li { break-inside: avoid; }
  h2, h3, .eyebrow { break-after: avoid; }
  a { text-decoration: none; }
  .career > section { margin-bottom: 28px; }
  .role { padding: 16px 0; }
}
