:root { color-scheme: light; --paper: #f4f4ef; --ink: #292c26; --muted: #65665e; --link: #294e8a; --rule: #cecec3; }
* { box-sizing: border-box; }
html { min-width: 280px; scroll-padding-top: 24px; }
body { margin: 0; background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, 0.7)), var(--paper) url("assets/doily1-upright.jpg") center top / 100% auto repeat-y; color: var(--ink); font: 18px/1.65 Georgia, "Times New Roman", serif; }
main { width: min(660px, calc(100% - 48px)); margin: 80px auto 64px; }
header { position: relative; padding-bottom: 32px; }
h1 { font: 400 44px/1.25 Georgia, "Times New Roman", serif; margin: 0 0 16px; }
.home-title { padding-top: 12px; letter-spacing: 2px; }
.social { display: inline-flex; padding: 6px; margin-left: 12px; color: var(--ink); vertical-align: middle; }
.social svg { width: 21px; height: 21px; }
.header-art { position: absolute; right: 8px; top: 0; width: 85px; height: auto; }
.site-notice { color: #008000; font-family: "SFMono-Regular", Consolas, Menlo, Monaco, "Courier New", monospace; border-block: 1px dashed var(--rule); margin: 27px 0 25px; padding: 13px 0 15px; }
.site-notice p { margin: 0; font-size: 15px; line-height: 1.65; }
.site-notice .notice-label { font-size: 12px; line-height: 1.6; margin-bottom: 7px; }
.bio { font-size: 14px; line-height: 1.25; }
.bio p { margin: 0 0 16px; }
.bio p:last-child { margin-bottom: 0; }
hr { height: 1px; border: 0; background: var(--rule); margin: 0; }
section { padding: 28px 0 32px; }
h2, h3, .small, nav, footer { font: 12px/1.6 "Courier New", Courier, monospace; }
h2 { font-weight: 400; color: var(--muted); margin: 0 0 22px; }
h3 { font-weight: 400; margin: 23px 0 10px; color: var(--muted); }
h3:first-child { margin-top: 0; }
a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:visited { color: #69517b; }
a:hover { color: var(--ink); background: #e5e7db; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
.links { list-style: none; margin: 0; padding: 0; }
.links li { margin: 0 0 12px; }
.links li:last-child { margin-bottom: 0; }
.small { display: inline-block; color: var(--muted); margin-left: 9px; }
.objects .links { padding-left: 18px; font-size: 17px; }
.research { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.research li { margin: 0 0 23px; padding-left: 22px; text-indent: -22px; }
.research li:last-child { margin-bottom: 0; }
.paper-link, .paper-note { display: block; text-indent: 0; font: 12px/1.7 "Courier New", monospace; margin-top: 5px; }
cite { font-style: italic; }
footer { color: var(--muted); padding-top: 22px; }
footer p { margin: 0; }
nav { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--muted); }
.page-header { padding: 28px 0 24px; }
.page-header h1 { font-size: clamp(29px, 5vw, 38px); line-height: 1.3; margin: 0; }
.project-copy { padding: 24px 0 7px; }
.project-copy p { margin: 0 0 13px; }
.project-copy h2 { color: var(--ink); margin: 20px 0 5px; }
.project-copy ul { padding-left: 22px; margin: 0 0 16px; }
.gallery { display: grid; gap: 24px; padding: 22px 0 30px; }
figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; }
.gallery a { display: block; }
.gallery figcaption { color: var(--muted); font: 12px/1.6 "Courier New", monospace; margin-top: 8px; }
.project-footer { padding-top: 22px; }
::selection { background: #dce3ca; color: var(--ink); }
@media (max-width: 520px) {
  main { margin-top: 40px; width: calc(100% - 40px); }
  .home-title { font-size: 38px; }
  .header-art { right: 0; width: 56px; }
  section { padding: 25px 0 29px; }
  .small { margin-left: 7px; }
  .objects .links { padding-left: 12px; }
  .research { font-size: 15px; }
}
@media (prefers-contrast: more) { :root { --muted: #444; --rule: #777; } }
