:root {
  color: #111;
  background: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; }
a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
a:visited, a:hover, a:focus-visible, a:active { color: #000; }

.site-shell { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; max-width: 1440px; margin: 0 auto; padding: 24px 46px 20px; }
.masthead { border-bottom: 2px solid #aaa; padding: 0 0 15px; }
.wordmark { display: inline-block; text-decoration: none; font-size: clamp(42px, 5vw, 59px); line-height: .95; font-weight: 700; letter-spacing: -1.8px; }
.masthead p { font-size: 26px; font-style: italic; margin: 10px 0 0 2px; letter-spacing: .2px; }

.site-grid { display: grid; flex: 1; grid-template-columns: 245px minmax(0, 1fr); }
.sidebar { border-right: 2px solid #aaa; padding: 28px 28px 45px 4px; }
.primary-nav { display: flex; flex-direction: column; gap: 25px; }
.primary-nav a { font-size: 24px; }
.primary-nav a.active { text-decoration-thickness: 2px; }
.sidebar-rule { border-top: 1px solid #bbb; margin: 38px 0 24px; }
.social-links { display: flex; flex-direction: column; gap: 14px; }
.social-links a { display: flex; align-items: center; gap: 9px; min-width: 0; overflow-wrap: anywhere; font-family: Arial, sans-serif; font-size: 14px; text-decoration: none; }
.social-links a > span:last-child { text-decoration: underline; text-underline-offset: 2px; }
.social-mark { flex: 0 0 17px; white-space: nowrap; color: inherit; font-weight: 700; text-align: center; text-decoration: none; }

main { padding: 26px 38px 42px 39px; }
.intro h1 { font-size: 27px; margin: 0 0 12px; }
.intro p { font-size: 21px; line-height: 1.25; margin: 0 0 23px; max-width: 850px; }
.panel { border: 1px solid #777; padding: 15px 19px 16px; margin: 0 0 17px; }
.home-panel { border: 0; padding-left: 0; padding-right: 0; }
.work-panel { border: 0; padding-left: 0; padding-right: 0; }
.project-panel { border: 0; padding-left: 0; padding-right: 0; }
.project-category { margin-top: 30px; }
.project-category > h2 { font-size: 25px; margin: 0 0 18px; }
.project-panel h3 { font-size: 23px; margin: 0 0 7px; }
.home-divider { border-top: 1px solid #aaa; margin: 24px 0 3px; }
.panel h2 { font-size: 27px; margin: 0 0 7px; }
.panel p { font-size: 20px; line-height: 1.28; margin: 0 0 11px; }
.panel ul { margin: 0 0 6px 26px; padding-left: 17px; }
.panel li { font-size: 19px; line-height: 1.55; padding-left: 3px; }
.panel-link { display: block; text-align: right; font-size: 19px; margin-top: 8px; }
.eyebrow { font-family: Arial, sans-serif; color: #555; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px !important; }
.archive { width: 100%; border-collapse: collapse; font-size: 19px; }
.archive-panel { border: 0; padding-left: 0; padding-right: 0; }
.archive th, .archive td { border-top: 1px solid #aaa; text-align: left; padding: 12px 8px 12px 0; vertical-align: top; }
.archive th { font-size: 15px; font-family: Arial, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.archive td:first-child { width: 120px; white-space: nowrap; }

footer { border-top: 2px solid #aaa; text-align: center; padding: 17px 0 5px; font-family: 'Courier New', monospace; font-size: 16px; line-height: 1.7; }
.copyright { display: block; }
.footer-divider { margin: 0 17px; }

@media (max-width: 760px) {
  .site-shell { padding: 18px 20px; }
  .masthead p { font-size: 19px; }
  .site-grid { display: block; }
  .sidebar { min-height: auto; border-right: 0; border-bottom: 1px solid #aaa; padding: 20px 0 22px; }
  .primary-nav { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
  .primary-nav a { font-size: 19px; }
  .sidebar-rule { margin: 21px 0 16px; }
  .social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  main { padding: 24px 0 28px; }
  .intro p, .panel p { font-size: 18px; }
  .panel li, .archive { font-size: 16px; }
  .panel h2 { font-size: 23px; }
  footer { font-size: 12px; }
  .footer-divider { margin: 0 7px; }
}
