:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #202020;
  --link: #006b3c;
  --line: #d9d8d0;
  --large: 38px;
  --medium: 24px;
  --small: 18px;
}
* { box-sizing: border-box; }
body {
  max-width: 748px;
  margin: 0 auto;
  padding: 0 24px;
  background: var(--paper);
  color: var(--ink);
  font: var(--small)/1.65 system-ui, sans-serif;
  overflow-wrap: break-word;
  display: grid;
  grid-template-rows: 88px auto auto;
}
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
header.page-nav { grid-row: 1; align-self: center; }
main { grid-row: 2; min-width: 0; margin: 0 0 48px; }
footer.page-nav { grid-row: 3; padding-bottom: 32px; }
h1, h2 { font-weight: 600; }
h1 { font-size: var(--large); margin: 0 0 24px; }
h2 { font-size: var(--medium); margin: 36px 0 18px; }
p { margin: 0 0 24px; }
img { max-width: 100%; height: auto; }
.fullwidth { display: block; width: 100%; }
.cover { display: block; width: auto; max-height: 360px; margin: 32px auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
table { width: 100%; border-collapse: collapse; font-size: inherit; }
.dated-entry, th, td { margin: 0; padding: 0 0 10px; }
th { text-align: left; }
th, td { padding-right: 12px; vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
.skip { position: absolute; top: 8px; left: 8px; padding: 8px; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.project-tile { display: block; color: inherit; text-decoration: none; border: 2px solid var(--link); transition: transform .15s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-tile:hover { transform: translateY(-3px); }
}
.project-tile img { display: block; width: 100%; }
.project-tile h2 { color: var(--link); font-size: var(--small); margin: 0; padding: 10px 16px; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.project-tile:hover h2 { text-decoration-thickness: 2px; }
.project-tile p { font-size: var(--small); margin: 0; padding: 0 16px 16px; }
@media (max-width: 520px) {
  .project-grid { grid-template-columns: 1fr; }
  body { padding: 0 20px; }
  th, td { padding-right: 8px; }
}
.dated-entry {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 0 24px;
}
.dated-entry time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
