:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202020;
  background: #fff;
  font-synthesis: none;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { max-width: 44rem; margin: 0 auto; padding: 4.5rem 1.5rem 2rem; }
h1, h2, h3 { line-height: 1.3; color: #171717; }
h1 { font-size: clamp(1.8rem, 6vw, 2.3rem); letter-spacing: -0.035em; margin: 0 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 0 0 1.5rem; }
h3 { font-size: 1rem; margin: 0 0 0.5rem; }
p { margin: 0 0 0.8rem; }
a { color: #234f6d; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #234f6d; outline-offset: 5px; }
.role, .job-meta, footer { color: #555; }
.introduction { border-top: 1px solid #d5d5d5; margin-top: 2rem; padding-top: 2rem; display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.headshot {
  width: 8rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid #b5b5b5;
}

@media (max-width: 600px) {
  .headshot {
    width: 8rem;
    max-width: 100%;
  }
}

@media print {
  .headshot {
    display: none;
  }
}
nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.1rem; }
section { border-top: 1px solid #d5d5d5; margin-top: 2.5rem; padding-top: 2rem; }
.principle { border-top: 1px solid #d5d5d5; margin: 2.5rem 0 0; padding-top: 2rem; }
.principle blockquote { margin: 0; }
.principle figcaption { color: #555; font-size: 0.9rem; }
.projects article + article, .experience article + article { margin-top: 1.75rem; }
.projects article > p:last-child, .experience article > p:last-child { margin-bottom: 0; }
.job-meta { margin-top: 0.25rem; font-size: 0.9rem; }
.experience h3 { margin-bottom: 0.25rem; }
.education { margin: 1.75rem 0 0; }
footer { border-top: 1px solid #d5d5d5; margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; }
.skip-link { position: absolute; top: 0.5rem; left: -10000px; }
.skip-link:focus { left: 1rem; }
@media (max-width: 600px) {
  body { padding-top: 2.5rem; }
  .introduction { grid-template-columns: 1fr; gap: 1.5rem; }
  nav { gap: 0.25rem 1.25rem; }
  nav a { min-height: 44px; display: inline-flex; align-items: center; }
  section { margin-top: 2rem; padding-top: 1.5rem; }
}
@page { size: letter; margin: 0.4in; }
@media print {
  :root { color: #000; font-size: 10pt; line-height: 1.4; }
  body { max-width: none; padding: 0; }
  nav, .skip-link { display: none; }
  .introduction { display: block; }
  section, .principle { margin-top: 1.5rem; padding-top: 1rem; }
  a { color: inherit; text-decoration: none; }
  article, .principle { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
