/* A small personal desktop. System fonts, native links, no runtime. */
:root { color-scheme: light; --ink: #28263a; --purple: #36306b; --paper: #fffef7; --line: #625e74; }
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background-color: #edece1; background-image: radial-gradient(#b7b5a7 .65px, transparent .65px); background-size: 5px 5px; font: 15px/1.6 Verdana, Geneva, sans-serif; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: #9b3b2d; }
a:focus-visible, summary:focus-visible { outline: 3px solid #aa422e; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h2 { font: bold 27px/1.2 Georgia, 'Times New Roman', serif; margin-bottom: 9px; }
h3 { font-size: 16px; line-height: 1.4; margin-bottom: 4px; }
img { max-width: 100%; height: auto; }
.desktop { max-width: 1160px; margin: 0 auto; padding: 27px 36px 0; }
.masthead, .brand, .desktop-rule, .languages, .window-bar, .status-bar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.masthead { margin-bottom: 18px; }
.brand { justify-content: flex-start; text-decoration: none; font: bold 22px/1.3 'Courier New', monospace; letter-spacing: -1px; }
.brand-suffix { font-size: 12px; font-weight: normal; letter-spacing: 0; }
.brand-icon { background: var(--purple); color: #fff; font-size: 26px; display: grid; place-items: center; width: 38px; height: 36px; border: 2px outset #9893ba; }
.languages { gap: 7px; font: 12px 'Courier New', monospace; }
.languages [aria-current] { background: var(--purple); color: #fff; padding: 3px 5px; text-decoration: none; }
.desktop-rule { padding: 10px 0; border-top: 2px solid var(--purple); border-bottom: 1px solid var(--line); margin-bottom: 26px; font: 11px 'Courier New', monospace; letter-spacing: 1px; }
.layout { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 26px; align-items: start; }
.sidebar { display: grid; gap: 26px; }
.window { background: var(--paper); border: 1px solid var(--line); box-shadow: 4px 4px 0 #c3c1b5; margin-bottom: 27px; }
.window-bar { min-height: 30px; padding: 4px 10px; background: var(--purple); color: white; border: 2px solid #e9e6f1; font: bold 12px 'Courier New', monospace; letter-spacing: .3px; }
.window-controls { font-weight: normal; }
.directory { margin: 0; background: #eeedf3; }
.directory-body { padding: 13px 14px 16px; }
.directory-label { font: 12px 'Courier New', monospace; color: #676277; margin-bottom: 13px; }
.directory a { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 13px; }
.directory a span { font-size: 18px; line-height: 1; width: 20px; text-align: center; }
hr { border: 0; border-top: 1px solid #b2afc0; }
.sticky-note { position: relative; margin: 3px 5px 0; padding: 27px 17px 15px; background: #f8efb9; border: 1px solid #d0c795; box-shadow: 3px 3px 0 #d5cfb2; transform: rotate(-2deg); }
.sticky-note p:not(.tiny) { font: italic 20px/1.5 Georgia, serif; margin-bottom: 9px; }
.note-pin { position: absolute; top: 0; left: 48%; color: #7a452c; font: 22px Georgia, serif; }
.tiny { font: 9px/1.5 'Courier New', monospace; letter-spacing: .5px; }
.note-signature { display: block; text-align: right; font: italic 15px Georgia, serif; }
.web-stamp { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 5px; border: 1px dashed #847e91; margin: 0 8px; }
.web-stamp > span { font-size: 37px; color: var(--purple); }
.web-stamp p { margin: 0; font: 11px/1.6 'Courier New', monospace; }
.sidebar-status { font: 10px/1.6 'Courier New', monospace; text-align: center; }
.sidebar-status span { color: #377451; }
.welcome-content { padding: 27px 29px 31px; }
.eyebrow { font: 10px/1.5 'Courier New', monospace; letter-spacing: 1.2px; margin-bottom: 21px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: center; }
h1 { color: var(--purple); font: bold clamp(40px, 4.6vw, 59px)/1.02 Georgia, 'Times New Roman', serif; letter-spacing: -2px; margin-bottom: 20px; }
h1 em { color: #357063; font-weight: normal; }
.bio { font-size: 13px; line-height: 1.8; max-width: 350px; margin-bottom: 21px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 26px; background: #e5e2ed; border: 2px outset #f7f6fb; outline: 1px solid var(--line); padding: 7px 13px; text-decoration: none; font: bold 12px/1.5 'Courier New', monospace; box-shadow: 2px 2px 0 #b8b4c6; }
.button:hover { background: #d8efdf; }
.button:active { border-style: inset; box-shadow: none; }
.status-bar { border-top: 1px solid #c5c1cd; background: #eeedf0; padding: 7px 12px; font: 9px 'Courier New', monospace; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #387957; margin-right: 5px; }
.computer { padding-top: 11px; width: 100%; max-width: 255px; justify-self: end; }
.monitor { padding: 12px 12px 0; background: #dedace; border: 2px solid #676371; box-shadow: inset 3px 3px #f8f5e9, inset -4px -4px #aaa69e, 5px 5px 0 #dedbcf; }
.screen { background: #253b37; color: #b5efc0; padding: 13px 9px; border: 3px inset #95918c; font: 9px 'Courier New', monospace; }
.terminal-label { color: #d7e4b5; font-size: 8px; letter-spacing: 1px; }
.screen pre { font: 14px/1.3 'Courier New', monospace; margin: 17px 0; }
.terminal-command { font-size: 9px; white-space: nowrap; }
.cursor { background: #b5efc0; color: #253b37; }
.monitor-chin { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; font: bold 7px 'Courier New', monospace; letter-spacing: 1px; }
.monitor-chin i { width: 6px; height: 4px; background: #5b9456; border: 1px solid #505e4c; }
.monitor-neck { width: 70px; height: 16px; margin: auto; background: #b8b4ab; border: solid #676371; border-width: 0 2px; }
.computer-base { background: #dedace; height: 24px; border: 2px solid #676371; box-shadow: inset 2px 2px #f8f5e9, 4px 4px #dedbcf; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; }
.computer-base span { width: 65px; height: 5px; background: repeating-linear-gradient(90deg,#676371 0 2px,transparent 2px 4px); }
.computer-base i { width: 34px; height: 4px; background: #676371; }
.computer-caption { text-align: center; font: 10px 'Courier New', monospace; margin: 17px 0 0; }
.projects .window-bar { background: #cce7de; color: #25483e; border-color: #eef8f3; }
.writing .window-bar { background: #ece2ba; color: #524821; border-color: #faf5df; }
.panel-content { padding: 25px 29px; }
.section-intro { font-size: 12px; color: #625e69; margin-bottom: 20px; }
.summer-notes { margin-top: 18px; }
.project-row { display: grid; grid-template-columns: 33px minmax(0,1fr) 116px; align-items: start; gap: 13px; padding: 17px 0; border-top: 1px dotted #aba5b4; }
.file-icon { display: grid; place-items: center; width: 29px; height: 34px; background: #eeedf5; border: 1px solid #767082; border-right: 3px solid #767082; color: var(--purple); font: 10px 'Courier New', monospace; }
.project-row h3 { font: bold 19px Georgia, serif; }
.project-row p { font-size: 12px; line-height: 1.7; margin: 5px 0 0; }
.project-stack { font: 10px/1.7 'Courier New', monospace; text-align: right; padding-top: 3px; color: #625d71; }
.archive { border-top: 1px dotted #aba5b4; padding-top: 15px; font-size: 12px; }
summary { cursor: pointer; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.archive ul { padding-left: 20px; }
.archive li { margin: 12px 0; }
.research { margin-top: 22px; font: 11px/1.8 'Courier New', monospace; }
.research p { margin-bottom: 0; }
.upstream { margin-top: 24px; padding: 17px 19px; border-left: 3px solid #739a8a; background: #eef3eb; }
.upstream h3 { font: bold 17px Georgia, serif; }
.upstream p, .upstream a { font-size: 12px; margin-bottom: 7px; }
.post-list { list-style: none; padding: 0; margin: 0 0 23px; }
.post-list li { display: grid; grid-template-columns: 85px minmax(0,1fr) 12px; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px dotted #aba5b4; }
.post-list time { font: 10px 'Courier New', monospace; color: #655e6d; }
.post-list a { font: bold 15px/1.5 Georgia, serif; }
.writing-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 11px; }
.contact { display: flex; align-items: flex-start; gap: 23px; padding: 6px 8px 25px; }
.contact-icon { color: var(--purple); font: 48px/1.1 Georgia, serif; }
.contact h2 { font-size: 25px; }
.contact p { font-size: 12px; margin-bottom: 12px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 19px; font: bold 12px 'Courier New', monospace; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; padding: 19px 0 27px; border-top: 1px dotted var(--line); }
.badges > * { display: inline-block; border: 2px outset #e6e2ed; outline: 1px solid #7f7990; background: #dedbe7; color: #36306b; padding: 5px 7px; text-align: center; font: bold 8px 'Courier New', monospace; text-decoration: none; }
.badges > :nth-child(2) { background: #d4e7cf; }
.badges > :nth-child(3) { background: #eee2b5; }
.footer { border-top: 2px solid var(--purple); padding: 18px 0 24px; font: 10px/1.5 'Courier New', monospace; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--paper); padding: 10px; z-index: 2; }
.skip:focus { top: 10px; }
.project-page { max-width: 820px; margin: 26px auto; }
.project-page h1 { font-size: clamp(33px, 5vw, 52px); overflow-wrap: anywhere; margin-top: 13px; }
.project-page .panel-content { padding: 30px; }
.project-page .lead { font: 20px/1.5 Georgia, serif; }
.project-page section { margin-top: 30px; }
.project-page section p { font-size: 14px; }
.project-page figure { margin: 30px 0; }
.project-page figcaption { font-size: 11px; color: #625e69; }
.project-page .project-actions { display: flex; flex-wrap: wrap; gap: 15px 24px; margin: 22px 0; font-size: 13px; }
@media (max-width: 900px) {
  .desktop { padding: 20px 22px 0; }
  .layout { grid-template-columns: 168px minmax(0,1fr); gap: 20px; }
  .welcome-content, .panel-content { padding: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .computer { display: none; }
  .brand-suffix { display: none; }
  .project-row { grid-template-columns: 30px minmax(0,1fr); }
  .project-stack { grid-column: 2; text-align: left; padding: 0; }
}
@media (max-width: 620px) {
  .desktop { padding: 17px 16px 0; }
  .brand { font-size: 19px; }
  .brand-icon { width: 31px; height: 30px; font-size: 22px; }
  .desktop-rule { font-size: 8px; letter-spacing: .3px; gap: 8px; margin-bottom: 18px; }
  .layout { display: block; }
  .sidebar { display: block; margin-bottom: 21px; }
  .directory-body { display: flex; flex-wrap: wrap; padding: 7px 11px; gap: 0 18px; }
  .directory a { min-height: 36px; font-size: 12px; }
  .directory a span, .directory-label, .directory hr, .sticky-note, .web-stamp, .sidebar-status { display: none; }
  .window { margin-bottom: 21px; }
  .welcome-content, .panel-content { padding: 23px 20px; }
  h1 { font-size: 53px; }
  h2 { font-size: 25px; }
  .bio { max-width: none; }
  .eyebrow { font-size: 9px; }
  .status-bar { font-size: 8px; gap: 5px; }
  .status-bar > :last-child { display: none; }
  .post-list li { grid-template-columns: minmax(0,1fr) 12px; gap: 3px 12px; }
  .post-list time { grid-column: 1 / -1; }
  .contact { gap: 13px; padding: 8px 3px 25px; }
  .contact-icon { font-size: 34px; }
  .contact-links a { padding: 6px 0; }
  .footer { flex-wrap: wrap; justify-content: flex-start; gap: 9px 20px; }
  .footer > :nth-child(2) { flex-basis: 100%; order: 1; }
  .project-page .panel-content { padding: 22px 20px; }
}
@media print {
  body { background: white; }
  .desktop { max-width: none; padding: 0; }
  .layout { display: block; }
  .sidebar, .computer, .badges, .languages, .window-controls { display: none; }
  .window { box-shadow: none; break-inside: avoid; }
  .window-bar { background: white !important; color: black; }
}
