/* A personal home page, circa 1996. No web fonts or JavaScript required. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 14px; }
body { margin: 0; padding: 24px 16px 32px; background: #bfbfbf; color: #111; font: 17px/1.45 "Times New Roman", Times, serif; }
a { color: #0000b8; text-decoration: underline; text-underline-offset: 2px; }
a:visited { color: #551a8b; }
a:hover { color: #b00020; }
a:focus-visible { outline: 3px dotted #b00020; outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 8px; z-index: 2; background: #ffffa0; }
.skip-link:focus { top: 8px; }
.homepage { max-width: 1000px; margin: 0 auto; }
.welcome-strip { margin-bottom: 9px; text-align: center; font-weight: bold; font-size: 16px; }
.space-banner { position: relative; overflow: hidden; min-height: 144px; padding: 24px 130px; border: 4px ridge #eee; text-align: center; background: #000705 url("../../images/industrial-cyberspace.png?v=5") center 58% / cover no-repeat; color: #fff; }
.eyebrow { margin: 0 0 1px; color: #ffff74; font: bold 12px/1.6 "Courier New", monospace; letter-spacing: 3px; }
.wordmark { position: relative; display: inline-block; color: #ffff00; font-family: "Lucida Console", Monaco, "Courier New", monospace; font-size: clamp(36px, 5.5vw, 66px); font-weight: bold; font-style: normal; line-height: 1.15; letter-spacing: -2px; transform: none; -webkit-text-stroke: .4px #fff6a0; text-shadow: 1px 1px #c5a000, 2px 2px #b59000, 3px 3px #a58000, 4px 4px #957000, 5px 5px #856000, 6px 6px #755000, 7px 7px #654300, 8px 8px #553800, 10px 12px 2px #000; }
.banner-caption { margin: 12px 0 0; font-size: 16px; color: #fff; }
.banner-caption span { margin: 0 8px; color: #ffff00; }
.directory { margin: 10px 0 18px; padding: 9px 8px; border: 3px outset #ffffaa; background: #ffff00; text-align: center; font-weight: bold; font-size: 17px; }
.directory > span { margin: 0 11px; color: #777000; font-weight: normal; }
.file-type { font: 10px "Courier New", monospace; }
.page-columns { display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 20px; align-items: start; }
.profile { border: 3px outset #eee; background: #c0c0c0; text-align: center; }
.panel-heading { background: #000080; color: #fff; padding: 5px 8px; font-size: 15px; font-weight: bold; }
.profile-inner { padding: 16px 12px 8px; }
.photo-frame { display: inline-block; padding: 4px; border: 3px inset #e2e2e2; background: #999; line-height: 0; }
.portrait { display: block; width: 156px; height: auto; }
.avatar-sprite { width: 156px; aspect-ratio: 3 / 8; background-size: 400% 100%; background-repeat: no-repeat; background-position: 0 0; image-rendering: pixelated; }
.avatar-sprite[data-pose="1"] { background-position-x: 33.333333%; }
.avatar-sprite[data-pose="2"] { background-position-x: 66.666667%; }
.avatar-sprite[data-pose="3"] { background-position-x: 100%; }
.has-voxel .portrait, .has-voxel .avatar-sprite { display: none !important; }
.avatar-voxel { display: block; width: 156px; height: auto; aspect-ratio: 3 / 8; cursor: grab; touch-action: pan-y; image-rendering: pixelated; }
.avatar-voxel:focus-visible { outline: 2px dotted #ffff00; outline-offset: 3px; }
.industrial-world { position: absolute; inset: 0; display: block; width: 100%; height: 100%; z-index: 0; cursor: grab; }
.scene-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.scene-preview ~ .entrance-avatar { visibility: hidden; }
.live-world .scene-preview { display: none; }
.live-world { background: #000604; }
.live-world .entrance-avatar { visibility: hidden; }
.scene-tools:not([hidden]) { position: absolute; bottom: 9px; right: 9px; z-index: 3; display: block; font: 12px "Courier New", monospace; }
.scene-tools button, .scene-tools select { border: 2px outset #eee; border-radius: 0; background: #c0c0c0; color: #111; padding: 3px 6px; font: inherit; }
.scene-tools button[aria-pressed="true"] { border-style: inset; background: #ffff90; }
.scene-tools span { flex-basis: 100%; font: 12px "Times New Roman", serif; }
.avatar-button { margin: 9px auto 0; padding: 4px 14px; border: 2px outset #eee; background: #c0c0c0; color: #000080; font: 14px "Times New Roman", Times, serif; cursor: pointer; }
.avatar-button:not([hidden]) { display: block; }
.avatar-button:active { border-style: inset; }
.avatar-button:focus-visible { outline: 2px dotted #000080; outline-offset: 3px; }
.profile h2 { margin: 12px -4px 4px; font-size: 21px; }
.bio { margin: 0 0 8px; font-size: 16px; }
.location { margin: 0 0 16px; font-size: 14px; font-style: italic; }
hr { height: 2px; border: 0; border-top: 1px solid #808080; border-bottom: 1px solid #fff; }
.links-heading { margin: 16px 0 9px; font-size: 16px; }
.profile-links { margin: 0; padding: 0 2px; list-style: none; text-align: left; font-size: 16px; }
.profile-links li { margin: 8px 0; }
.profile-links span { display: inline-block; width: 22px; color: #000080; text-align: center; }
.web-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 4px 0; }
.web-badge { display: flex; width: 88px; height: 31px; flex-direction: column; justify-content: center; border: 2px outset #ddd; font-family: "Courier New", monospace; text-decoration: none; line-height: 1; }
.web-badge b { font-size: 15px; }
.web-badge small { margin-top: 3px; font-size: 8px; font-weight: bold; }
.badge-www { background: #000080; color: #ffff00; }
.badge-mail, .badge-mail:visited { color: #000; background: #eee; }
.sidebar-note { margin: 15px 3px; font-size: 13px; font-style: italic; }
.content { min-width: 0; padding: 0 0 10px; }
.content > h1 { clear: both; scroll-margin-top: 14px; margin: 28px 0 17px; padding: 4px 11px; border: 3px outset #ffffa0; background: #ffff00; font-size: 23px; line-height: 1.25; }
.content > h1:first-child { margin-top: 0; }
.content > h1::before { content: "✦ "; color: #000080; font-size: 18px; }
.content p { margin: 0 7px 17px; }
.content > h3 { margin: 20px 7px 5px; font-size: 18px; line-height: 1.3; }
.content > h3 + p { font-size: 15px; }
.content > h3 + p strong { font-weight: normal; font-style: italic; }
.content > h3 ~ h3 { padding-top: 15px; border-top: 1px dotted #888; }
.content > h1 ~ h3:not(:has(a)) { border: 0; padding-top: 0; font-size: 19px; }
.content ul { padding-left: 27px; margin: 0 7px 22px; }
.content li { padding-left: 2px; margin: 7px 0; }
.back-to-top { margin-top: 24px !important; text-align: right; font-size: 14px; }
.site-footer { margin-top: 18px; text-align: center; font-size: 14px; }
.site-footer p { margin: 11px 0; }
.site-footer p:first-of-type { font-weight: bold; }
.site-footer p:first-of-type span { color: #000080; }
.footer-small { font-size: 12px; }
.research-directory { margin: 0 7px 14px; font-size: 14px; }
.research-directory + h1 { margin-top: 0; }
.landing-page { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
.entrance { width: min(100%, 620px); text-align: center; }
.entrance-space { position: relative; padding: 18px 20px 4px; border: 4px ridge #fff; background: #000604; animation: frame-blink 4s steps(1, end) infinite; }
@keyframes frame-blink { 0%, 100% { border-color: #fff; } 50% { border-color: #ff26d9; } }
.entrance-space .banner-caption { margin: 2px 0 0; font: 16px "Courier New", monospace; letter-spacing: 2px; }
.scene-equations { z-index: 1; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.equation { position: absolute; color: #8cabbc; opacity: .28; font: bold 17px/1.5 "Courier New", monospace; text-align: left; text-shadow: 1px 2px #00140d; }
.equation-bayes { bottom: 3%; left: 5%; transform: rotate(-7deg); }
.equation-causal { top: 28%; right: 3%; transform: rotate(10deg); }
.equation-bellman { top: 28%; left: 4%; max-width: 90%; font-size: 14px; transform: rotate(-3deg); }
.fraction { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; line-height: 1.2; }
.fraction > span:first-child { border-bottom: 1px solid currentColor; padding: 0 2px 2px; }
.fraction > span:last-child { padding-top: 2px; }
.entrance-avatar, .entrance-space .wordmark, .entrance-space .eyebrow, .entrance-space .banner-caption { position: relative; z-index: 1; }
.entrance .wordmark { margin: 0 0 5px; font-size: clamp(36px, 6.9vw, 60px); }
.entrance-avatar { display: flex; align-items: flex-end; justify-content: center; width: 132px; min-height: 416px; margin: 0 auto; }
.entrance-avatar .portrait, .entrance-avatar .avatar-sprite { width: 132px; }
.entrance-avatar .avatar-voxel { width: 132px; }
.entrance-directory { margin: 10px 0 0; padding: 12px; font-size: 21px; }
.entrance-directory > span { margin: 0 22px; }
.retro-social { display: flex; flex-wrap: wrap; gap: 14px 23px; justify-content: center; margin: 21px 0 0; padding: 0; list-style: none; }
.retro-social a { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 13px; }
.retro-social svg { width: 32px; height: 32px; image-rendering: pixelated; filter: drop-shadow(1px 1px 0 #fff); }
.retro-social .github-mark { width: 32px; height: 32px; }
.github-icon { display: block; width: 32px; height: 32px; }
.github-pixel { width: 32px; height: 32px; image-rendering: pixelated; }
@media (max-width: 700px) {
  body { padding: 14px 12px 24px; font-size: 17px; }
  .space-banner { min-height: 108px; padding: 24px 45px; }
  .eyebrow { font-size: 9px; letter-spacing: 2px; }
  .wordmark { font-size: clamp(28px, 7.8vw, 40px); }
  .banner-caption { font-size: 14px; }
  .directory { line-height: 1.9; margin-bottom: 14px; font-size: 16px; }
  .directory > span { margin: 0 5px; }
  .page-columns { grid-template-columns: 1fr; gap: 20px; }
  .profile-inner { display: flow-root; padding: 13px; text-align: left; }
  .photo-frame { float: left; margin: 0 16px 8px 0; }
  .portrait { width: 104px; height: auto; }
  .avatar-sprite { width: 104px; }
  .avatar-voxel { width: 104px; }
  .avatar-button:not([hidden]) { display: inline-block; margin: 0 0 10px; }
  .profile h2 { margin: 0 0 4px; font-size: 21px; }
  .bio { margin-bottom: 4px; }
  .location { margin-bottom: 8px; }
  .profile hr { clear: both; }
  .links-heading { margin: 10px 0 7px; }
  .profile-links { display: flex; flex-wrap: wrap; gap: 3px 15px; }
  .profile-links li { margin: 3px 0; }
  .web-badges, .sidebar-note { display: none; }
  .content > h1 { font-size: 22px; }
  .entrance-space { padding-top: 24px; }
  .equation { font-size: 12px; }
  .equation-bayes { left: 4%; bottom: 4%; }
  .equation-causal { right: 2%; top: 28%; }
  .equation-bellman { font-size: 10px; max-width: 92%; left: 4%; }
  .entrance .wordmark { font-size: clamp(30px, 8vw, 42px); }
  .entrance-avatar { width: 106px; min-height: 336px; }
  .entrance-avatar .avatar-sprite, .entrance-avatar .portrait { width: 106px; }
  .entrance-avatar .avatar-voxel { width: 106px; }
  .entrance-directory { font-size: 20px; }
  .entrance-directory > span { margin: 0 10px; }
  .retro-social { gap: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) { .entrance-space { animation: none; } }
@media (max-width: 380px) { .banner-caption { font-size: 12px; } }
@media print { body { background: #fff; padding: 0; } .space-banner, .welcome-strip, .directory, .profile, .site-footer, .back-to-top { display: none; } .page-columns { display: block; } .content > h1 { background: none; border: 0; padding-left: 0; } a, a:visited { color: #000; } }
