    :root { color-scheme: light; }
    body { background: #c7c7c7; color: #171717; font-family: "Times New Roman", Times, serif; margin: 0; padding: 22px 12px; }
    a { color: #0000ee; text-decoration: underline; }
    a:visited { color: #0000ee; }
    a:hover { color: #0000ee; text-decoration-thickness: 2px; }
    .site { max-width: 1010px; margin: 0 auto; background: #fafafa; border: 2px solid #333; box-shadow: 5px 5px 0 #777; }
    /* Playful 90s academic masthead, inspired by the supplied painting's colors. */
    .top-line { height: 9px; background: #222; }
    .masthead { background: #f4a0c1; color: #181818; padding: 22px 26px; border-bottom: 2px solid #222; }
    .masthead-inner { display: grid; grid-template-columns: minmax(0, 1fr) 234px; gap: 22px; align-items: center; }
    .masthead h1 { margin: 0 0 12px; font: bold clamp(26px, 4vw, 36px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.6px; }
    .masthead p { margin: 0; color: #252525; font-size: 14px; line-height: 1.45; }
    .art-panel { display: block; border: 2px solid #222; background: #1785dc; box-shadow: 3px 3px 0 #555; width: 234px; }
    .art-panel img { display: block; width: 100%; height: auto; }
    .ticker { background: #eeeeee; border-bottom: 2px solid #222; padding: 8px 10px; font-family: monospace; font-size: 12px; text-align: center; }
    .layout { display: grid; grid-template-columns: 172px minmax(0, 1fr); }
    .side { background: #e4e4e4; padding: 16px 12px; border-right: 2px solid #666; }
    .side h2 { background: #555555; color: white; text-align: center; font: bold 14px Arial, sans-serif; padding: 7px; margin: 0 0 12px; box-shadow: 2px 2px 0 #777; }
    .nav-link { display: block; padding: 8px 6px; border-bottom: 1px dotted #999; font-size: 15px; }
    .sidebar-box { background: #fff; border: 2px inset #999; padding: 9px 7px; margin-top: 18px; text-align: center; font-size: 12px; }
    .sidebar-box strong { display: block; margin-bottom: 5px; }
    .main { padding: 23px 27px 24px; min-width: 0; }
    .hello { text-align: center; color: #222222; font-size: 27px; font-weight: bold; margin: 0 0 10px; }
    .intro { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 22px; align-items: start; }
    .photo { width: 112px; height: 135px; border: 3px ridge #999; background: #d8d8d8; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #444444; text-align: center; }
    .photo b { font-size: 35px; font-weight: normal; }
    .photo small { font-family: Arial, sans-serif; font-size: 10px; margin-top: 8px; }
    p { line-height: 1.45; }
    h2.section { font-size: 21px; color: #333333; border-bottom: 2px solid #555555; padding-bottom: 5px; margin: 27px 0 12px; }
    ul { padding-left: 22px; line-height: 1.65; }
    .research-table { width: 100%; border-collapse: collapse; background: white; font-size: 15px; }
    .research-table th { background: #dedede; color: #222222; text-align: left; }
    .research-table th, .research-table td { border: 1px solid #777; padding: 8px; vertical-align: top; }
    /* Three-column research table stays readable even on narrow screens. */
    .table-wrap { overflow-x: auto; border: 1px solid #777; background: #fff; }
    .research-table { min-width: 680px; }
    .table-wrap .research-table th, .table-wrap .research-table td { border-top: 0; }
    .table-wrap .research-table th:first-child, .table-wrap .research-table td:first-child { border-left: 0; }
    .table-wrap .research-table th:last-child, .table-wrap .research-table td:last-child { border-right: 0; }
    .research-table .muted { color: #555; font-style: italic; }
    .research-table td:first-child { font-weight: bold; }
    .table-note { color: #555; font-size: 12px; margin: 5px 0 0; display: none; }
    @media (max-width: 980px) { .table-note { display: block; } }
    .graph-link { display: inline-block; border: 1px solid #777; background: #fff; padding: 3px; vertical-align: top; }
    .graph-link:hover { border-color: #0000ee; }
    .graph-thumbnail { display: block; max-width: 160px; width: 100%; height: auto; }
    .graph-hint { display: block; font-size: 12px; margin-top: 6px; }
    /* Pure-CSS click-to-enlarge lightbox. The full-size graph lives in images/. */
    .lightbox { display: none; position: fixed; inset: 0; z-index: 100; overflow: auto; padding: 24px; align-items: center; justify-content: center; background: rgba(0,0,0,.88); }
    .lightbox:target { display: flex; }
    .lightbox-panel { background: #fafafa; border: 2px solid #333; padding: 12px; width: min(94vw, 1300px); max-height: calc(100vh - 48px); overflow: auto; box-shadow: 5px 5px 0 #444; }
    .lightbox-toolbar { text-align: right; font-size: 16px; margin-bottom: 10px; }
    .lightbox-panel img { width: 100%; height: auto; display: block; background: white; }
    .lightbox-panel p { margin: 8px 0 0; font-size: 13px; }
    .visiting { font-size: 13px !important; margin-top: 3px !important; }
    .contact { background: #eeeeee; border: 1px solid #999999; padding: 13px 16px; }
    .footer { background: #e4e4e4; padding: 14px; border-top: 2px solid #777; text-align: center; font-size: 12px; line-height: 1.9; }
    .counter { font-family: monospace; color: #eeeeee; background: #111; border: 2px inset #666; padding: 3px 7px; letter-spacing: 2px; }
    @media (max-width: 580px) {
      body { padding: 8px; }
      .site { box-shadow: 3px 3px 0 #777; }
      .layout { display: block; }
      .side { border-right: 0; border-bottom: 2px solid #666; }
      .side h2 { margin-bottom: 5px; }
      .nav-items { display: flex; flex-wrap: wrap; gap: 2px 8px; }
      .nav-link { font-size: 13px; padding: 5px; }
      .sidebar-box { display: none; }
      .main { padding: 16px; }
      .masthead { padding: 20px 17px; }
      .masthead-inner { grid-template-columns: 1fr; gap: 18px; }
      .masthead h1 { font-size: 29px; }
      .art-panel { width: min(100%, 300px); }
      .hello { font-size: 23px; }
      .intro { grid-template-columns: 1fr; }
      .photo { grid-row: 1; height: 86px; width: 100px; }
      .lightbox { padding: 7px; }
      .lightbox-panel { width: 100%; max-height: calc(100vh - 14px); padding: 7px; }
    }
