:root {
  --paper: #faf8f4;
  --ink: #282725;
  --muted: #625e59;
  --accent: #7a2e42;
  --line: #ded9d1;
  --olive: #59644b;
  --wash: #e9e0d4;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  border-top: 4px solid var(--accent);
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #e9d6db; }
.wrap { width: calc(100% - 64px); max-width: 1000px; margin-inline: auto; }
p { margin: 0 0 16px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { color: var(--accent); font-size: 42px; line-height: 1.25; margin-bottom: 22px; letter-spacing: -.8px; }
h2 { display: flex; align-items: center; gap: 13px; color: var(--accent); font-size: 29px; line-height: 1.3; margin-bottom: 28px; }
h2::before { content: ''; flex: 0 0 22px; height: 3px; background: var(--olive); }
h3 { font-size: 19px; line-height: 1.5; font-weight: 600; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 8px 14px; background: var(--paper); }
.skip-link:focus { top: 8px; }
.site-header { padding-block: 22px; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 10px 29px; font-size: 16px; }
.site-header a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.site-header a:hover, .site-header a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 54px; align-items: start; padding: 54px 0 45px; }
.about-copy p { margin-bottom: 18px; }
.profile-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; padding-top: 4px; }
.profile-links a:first-child { background: var(--accent); color: #fff; padding: 3px 15px; border-radius: 3px; text-decoration: none; }
.profile-links a:first-child:hover { background: #5c2031; }
.portrait { display: block; width: 230px; height: 288px; object-fit: cover; object-position: 50% 26%; margin-top: 5px; border: 5px solid #fffdfa; outline: 1px solid var(--line); box-shadow: 10px 10px 0 var(--wash); }
.section { border-top: 1px solid var(--line); padding: 36px 0 14px; }
.entry { margin-bottom: 30px; }
.entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 30px; margin-bottom: 5px; }
.entry-heading h3 { flex: 1; }
.date, .metadata { color: var(--muted); font-size: 15px; }
.date { flex-shrink: 0; margin: 0; color: var(--olive); }
.metadata { margin: 7px 0 12px; line-height: 1.7; }
.position { margin-bottom: 8px; }
.entry > p:last-child { margin-bottom: 0; }
.entry-links { margin-top: 11px; }
.paper h3 { max-width: 900px; }
.paper + .paper { border-top: 1px solid var(--line); padding-top: 24px; }
.education-item { margin-bottom: 22px; }
.education-item p { margin-bottom: 0; }
.skill-group { margin-bottom: 24px; }
.skill-group h3 { font-size: 17px; margin-bottom: 4px; }
.skill-group p { margin-bottom: 0; }
.contact { border-top: 2px solid var(--accent); padding-bottom: 24px; }
.contact p { margin-bottom: 9px; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 15px; }
footer p { margin: 0; }
@media (max-width: 800px) {
  .about { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; }
  .portrait { width: 190px; height: 238px; }
  h1 { font-size: 35px; }
  .entry-heading { flex-wrap: wrap; gap: 2px 18px; }
  .entry-heading h3 { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 17px; }
  .site-header nav { gap: 7px 22px; font-size: 16px; }
  .about { display: flex; flex-direction: column; gap: 22px; padding: 33px 0 34px; }
  h1 { font-size: 33px; letter-spacing: -.5px; }
  h2 { font-size: 27px; margin-bottom: 23px; }
  .portrait { width: 200px; height: 250px; margin-top: 0; }
  .about-copy p:last-child { margin-bottom: 0; }
  .section { padding-top: 29px; }
  .entry { margin-bottom: 28px; }
  .entry-heading { display: block; }
  .date { margin-top: 4px; }
  .entry-links { overflow-wrap: anywhere; }
  .contact a { overflow-wrap: anywhere; }
}
@media print {
  body { border: 0; color: #000; background: #fff; font-size: 11pt; }
  .wrap { width: 100%; max-width: none; }
  .site-header, .skip-link, .portrait, footer { display: none; }
  .about { display: block; padding: 0 0 18px; }
  h1 { font-size: 25pt; }
  h2 { font-size: 18pt; }
  h3 { font-size: 12pt; }
  .date, .metadata { font-size: 10pt; }
  .section { padding-top: 20px; }
  .entry { break-inside: avoid; }
  h2::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header a { transition: none; }
}
