/* SolarFlare II-inspired personal site. Original graphics by rhuk, GNU GPL v2. */
:root { --accent: #a83827; --line: #ccc; --ink: #333; --muted: #6b6b6b; }
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 20px 12px; background: #fff; color: var(--ink); font: 12px/1.5 Arial, Helvetica, sans-serif; }
a { color: var(--accent); font-weight: bold; text-decoration: none; }
a:hover { color: #7d2118; text-decoration: underline; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 10; padding: 10px 15px; background: #fff; border: 1px solid var(--accent); }
.skip-link:focus { top: 10px; }
.site-shell { max-width: 808px; margin: 0 auto; padding: 2px; border: 1px solid var(--line); background: #fff; }
.top-row, .header-row { display: grid; grid-template-columns: minmax(0,635px) 165px; gap: 2px; }
.top-row { margin-bottom: 2px; }
.top-menu { display: flex; min-height: 25px; border: 1px solid var(--line); background: linear-gradient(#fff,#f3f3f3); }
.top-menu a { padding: 3px 13px; border-right: 1px solid var(--line); color: #333; font-size: 11px; white-space: nowrap; }
.top-menu a:hover, .top-menu a[aria-current="page"] { color: #fff; background: #b44532; text-decoration: none; }
.site-search { display: flex; border: 1px solid var(--line); min-width: 0; background: #fff; }
.site-search input { width: 100%; min-width: 0; padding: 3px 6px; border: 0; color: var(--accent); font-size: 11px; }
.site-search input::placeholder { color: #777; }
.site-search button { padding: 0 7px; border: 0; border-left: 1px solid #ddd; background: #f5f5f5; color: #555; font-size: 19px; line-height: 1; }
.masthead { position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px; min-width: 0; height: 150px; padding: 20px; overflow: hidden; background: #1e1e1e url('header_short.jpg') right center / 635px 150px no-repeat; color: #fff; }
.masthead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#111 0%,#171717 57%,rgba(23,23,23,.98) 61%,rgba(23,23,23,0) 77%); }
.masthead:hover { color: #fff; text-decoration: none; }
.brand-mark { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 2px solid #c64934; color: #eee; font: bold 20px/1 Arial, sans-serif; box-shadow: inset 0 0 15px #080808; }
.brand-copy { display: flex; flex-direction: column; position: relative; }
.brand-name { font: 40px/1.1 'Trebuchet MS', Arial, sans-serif; letter-spacing: -1.5px; white-space: nowrap; text-shadow: 0 2px 3px #000; }
.brand-dot { color: #dd6b55; }
.brand-tagline { padding: 7px 0 0 2px; font-size: 12px; font-weight: normal; color: #bbb; }
.module { border: 1px solid var(--line); padding: 2px; margin: 0 0 3px; min-width: 0; background: #fff; }
.module-title { margin: 0 0 3px; min-height: 22px; padding: 3px 5px; color: #505050; background: #eee url('subhead_bg.png') repeat-x; font: bold 10px/16px Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .25px; }
.header-note { height: 150px; margin: 0; }
.header-note p { padding: 0 5px; margin: 7px 0; font-size: 11px; }
.header-note > a { display: block; padding: 0 5px; font-size: 11px; }
.columns { display: grid; grid-template-columns: 165px minmax(0,1fr) 165px; align-items: start; gap: 3px; margin-top: 3px; }
.main-menu { display: grid; gap: 1px; }
.main-menu a { position: relative; display: block; padding: 5px 5px 5px 18px; min-height: 27px; background: linear-gradient(90deg,#454545,#737373); color: #e7e7e7; font-size: 11px; border-top: 1px solid #858585; border-bottom: 1px solid #454545; }
.main-menu a::before { content: '▪'; position: absolute; left: 7px; color: #c2c2c2; }
.main-menu a:hover, .main-menu a[aria-current="page"] { background: linear-gradient(90deg,#333,#565656); color: #fff; text-decoration: none; }
.main-menu a[aria-current="page"]::before { color: #ed9e8b; }
.main-menu a[aria-current="page"] { box-shadow: inset 3px 0 #c64934; }
.link-list { margin: 5px 0; padding: 0 5px; list-style: none; font-size: 11px; }
.link-list li { position: relative; padding: 2px 0 2px 10px; }
.link-list li::before { content: '▪'; position: absolute; left: 0; color: #a0a0a0; }
.sidebar-links { margin: 7px 0; }
.site-address p { margin: 9px 5px; font-size: 11px; }
.site-address > a { display: block; margin: 7px 5px; font-size: 11px; }
.tiny-badge { width: max-content; margin: 12px auto; padding: 1px 3px; color: #fff; border: 1px solid #888; font: 8px/1.2 Verdana, sans-serif; letter-spacing: .4px; background: #9a493a; }
.tiny-badge span { margin-left: 3px; padding: 1px 3px; background: #555; }
.main-content { min-width: 0; outline: 0; }
.welcome-strip { height: 54px; padding: 5px 8px; border: 1px solid var(--line); margin-bottom: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(#fff,#fafafa); }
.welcome-strip > span { color: #666; font: 24px/1.2 'Trebuchet MS', Arial, sans-serif; letter-spacing: -1px; }
.welcome-strip small { font-size: 9px; color: #777; }
.quick-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.quick-modules .module { margin-bottom: 3px; }
.breadcrumb { display: flex; gap: 7px; margin-bottom: 3px; padding: 4px 6px; border: 1px solid var(--line); color: #777; background: #f8f8f8; font-size: 10px; }
.breadcrumb a { font-weight: normal; color: #666; }
.article { padding: 12px 12px 10px; margin-bottom: 5px; border: 1px solid var(--line); background: #fff; }
.article h1, .article h2 { margin: 0 0 3px; color: var(--accent); font-size: 17px; line-height: 1.35; }
.article h2 { font-size: 15px; }
.article p { margin: 10px 0; }
.article .article-meta { margin: 3px 0 14px; color: var(--muted); font-size: 10px; }
.article-meta > span { margin: 0 4px; }
.article .lead { font-size: 14px; color: #444; }
.article-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.article-label { color: #777; padding: 1px 4px; border: 1px solid #ddd; background: #f8f8f8; font-size: 9px; }
.article-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; padding-top: 7px; border-top: 1px solid #e5e5e5; font-size: 10px; }
.article-footer > span { color: #777; }
.project-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid #e7e7e7; }
.project-row h2, .project-row h3 { margin: 0 0 4px; font-size: 12px; }
.project-row p { margin: 0 0 6px; color: #666; font-size: 11px; }
.project-initial { display: grid; place-items: center; flex: 0 0 43px; height: 43px; border: 1px solid #bbb; color: #888; background: linear-gradient(#fff,#ddd); font: 22px/1 Georgia, serif; text-shadow: 0 1px #fff; }
.project-initial:hover { color: var(--accent); text-decoration: none; }
.read-more { font-size: 10px; }
.compact-article { padding-top: 9px; }
.compact-article h2 { font-size: 14px; }
.post-list-row { display: flex; gap: 15px; padding: 12px 0; border-top: 1px solid #ddd; }
.post-list-row > time { color: #777; font-size: 10px; padding-top: 3px; }
.post-list-row > time { flex: 0 0 65px; white-space: nowrap; }
.post-list-row > div { min-width: 0; }
.post-list-row h2 { font-size: 14px; }
.post-list-row p { margin: 5px 0; }
.post-list-row .post-source { color: var(--muted); font-size: 10px; }
.archive-note { padding: 8px; border-left: 3px solid #bbb; background: #f6f6f6; color: #666; font-size: 11px; }
.article-body { display: flow-root; overflow-wrap: anywhere; }
.article-body h2 { clear: both; margin: 18px 0 8px; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 12px auto; }
.article-body .article-image-left { float: left; width: min(130px,40%); margin: 0 12px 8px 0; }
.article-body .article-image-right { float: right; width: min(130px,40%); margin: 0 0 8px 12px; }
.article-body pre { padding: 10px; background: #f6f6f6; border: 1px solid #ddd; font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; }
.article-body blockquote { margin: 12px 0; padding-left: 12px; border-left: 3px solid #ccc; }
.article-body hr { clear: both; border: 0; border-top: 1px solid #ddd; margin: 12px 0; }
.article-source { clear: both; padding-top: 12px; border-top: 1px solid #ddd; font-size: 11px; color: #666; overflow-wrap: anywhere; }
.article-source a { display: inline-block; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 10px; }
.text-button:hover { text-decoration: underline; }
.module-copy { padding: 3px 6px 9px; font-size: 11px; }
.module-copy p { margin: 5px 0 9px; }
.module-footnote { margin: 7px 6px; color: #777; font-size: 10px; line-height: 1.4; }
.module-copy .module-footnote { margin: 5px 0 9px; }
.poll-form { padding: 5px 6px; }
.poll-form fieldset { margin: 0 0 8px; padding: 0; border: 0; }
.poll-form legend { margin-bottom: 8px; padding: 0; font-size: 11px; font-weight: bold; }
.poll-form label { display: flex; align-items: center; gap: 5px; margin: 5px 0; font-size: 11px; cursor: pointer; }
.poll-form input { margin: 0; accent-color: var(--accent); }
.weather-module select { width: 100%; padding: 4px; border: 1px solid #bbb; background: #fff; color: #555; font: inherit; }
.weather-credit { display: block; margin-top: 8px; color: #777; font-size: 9px; font-weight: normal; }
#weather-result { padding: 10px 0 3px; text-align: center; }
#weather-result strong { display: block; color: #555; font: 28px/1.2 Georgia,serif; }
#weather-result span, #weather-result small { display: block; }
#weather-result small { margin-top: 4px; color: #777; font-size: 9px; }
.domain-module { height: 54px; text-align: center; }
.domain-module .module-title { display: none; }
.domain-signature { margin: 9px 0 0; color: #666; font: 15px/1.2 'Trebuchet MS',Arial,sans-serif; letter-spacing: -.5px; }
.domain-signature span { font-size: 12px; color: var(--accent); }
.domain-module small { color: #777; font-size: 9px; }
.jump-form { padding: 5px 5px 8px; }
.jump-form label { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; color: #555; font-size: 11px; cursor: pointer; }
.jump-form input { accent-color: #a83827; margin: 0; }
.retro-button { padding: 3px 8px; border: 3px double #bbb; background: linear-gradient(#fff,#e3e3e3); color: var(--accent); font-size: 10px; font-weight: bold; }
.retro-button:hover { background: #eee; border-color: #888; }
.calendar { padding: 7px 0 10px; display: flex; flex-direction: column; align-items: center; color: #666; font-size: 10px; }
.calendar strong { margin: 4px 0; font: 34px/1 Georgia,serif; color: #555; }
.site-footer { padding: 12px 5px 9px; text-align: center; font-size: 10px; color: #666; }
.site-footer p { margin: 3px 0; }
.theme-credit { font-size: 9px; }
.theme-credit a { color: #777; font-weight: normal; }
.js .page-content[hidden] { display: none; }
@media (max-width: 680px) {
  body { margin: 10px 7px; }
  .top-row, .header-row { grid-template-columns: minmax(0,1fr) 155px; }
  .top-menu a { padding: 4px 8px; }
  .masthead { padding: 14px; }
  .brand-name { font-size: 30px; }
  .brand-mark { display: none; }
  .brand-tagline { font-size: 11px; }
  .columns { grid-template-columns: 145px minmax(0,1fr); }
  .right-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; }
  .right-sidebar .module { height: auto; }
  .domain-module { display: flex; flex-direction: column; justify-content: center; min-height: 120px; }
  .domain-signature { font-size: 15px; }
  .module-title { letter-spacing: 0; }
  .quick-modules { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 13px; }
  .top-row { grid-template-columns: 1fr; }
  .top-menu a { flex: 1; padding: 6px 4px; text-align: center; font-size: 11px; }
  .site-search { min-height: 30px; }
  .site-search input { font-size: 12px; }
  .header-row { grid-template-columns: 1fr; }
  .masthead { height: 140px; padding-left: 20px; }
  .masthead::before { background: linear-gradient(90deg,#111 0%,#171717 47%,rgba(23,23,23,.95) 62%,rgba(23,23,23,0) 85%); }
  .brand-name { font-size: 33px; }
  .header-note { height: auto; padding-bottom: 6px; }
  .header-note p { display: inline; margin: 0; padding: 0 5px; line-height: 1.6; }
  .header-note > a { display: inline; }
  .columns { grid-template-columns: 1fr; }
  .left-sidebar { display: grid; grid-template-columns: 1fr; }
  .left-sidebar > .module:not(.menu-module), .tiny-badge { display: none; }
  .main-menu { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .main-menu a { min-height: 38px; display: grid; place-items: center; padding: 8px 2px; font-size: 10px; }
  .main-menu a::before { display: none; }
  .main-menu a[aria-current="page"] { box-shadow: inset 0 -3px #c64934; }
  .quick-modules { grid-template-columns: 1fr 1fr; }
  .main-content { grid-column: 1; }
  .article { padding: 14px 11px; }
  .article h1 { font-size: 20px; }
  .article h2 { font-size: 16px; }
  .article .article-meta { font-size: 11px; }
  .article .lead { font-size: 15px; }
  .project-row h2, .project-row h3 { font-size: 13px; }
  .project-row p, .read-more { font-size: 12px; }
  .right-sidebar { grid-template-columns: 1fr 1fr; }
  .domain-module { min-height: 105px; }
  .jump-form label { min-height: 24px; font-size: 12px; }
  .poll-form label { min-height: 28px; font-size: 12px; }
  .module-copy .text-button { min-height: 28px; }
  .retro-button { min-height: 32px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { margin: 0; color: #000; font-size: 12pt; }
  .site-shell, .article { border: 0; max-width: none; }
  .top-row, .header-row, .left-sidebar, .right-sidebar, .welcome-strip, .quick-modules, .breadcrumb, .article-footer, .skip-link { display: none; }
  .columns { display: block; }
  .site-footer { font-size: 9pt; }
}
.poll-count { margin: 5px 0; font-size: 10px; }
.poll-count span { display: block; }
.poll-count meter { display: block; width: 100%; height: 10px; accent-color: var(--accent); }
.weather-city-name { text-align: center; color: #555; font-weight: bold; }
.contact-form { display: grid; gap: 7px; margin: 16px 0 0; }
.contact-form > label { font-size: 11px; font-weight: bold; }
.contact-form > input, .contact-form textarea { width: 100%; min-width: 0; padding: 7px; border: 1px solid #bbb; background: #fff; color: #333; font: inherit; border-radius: 0; }
.contact-form textarea { resize: vertical; }
.contact-form .privacy-check { display: flex; align-items: flex-start; gap: 7px; margin: 7px 0; font-weight: normal; }
.privacy-check input { margin: 3px 0 0; accent-color: var(--accent); }
.contact-form > button { justify-self: start; }
.contact-form #contact-status { margin: 0; min-height: 18px; font-size: 11px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button:disabled { cursor: wait; opacity: .65; }
.cookie-banner { position: fixed; z-index: 30; bottom: 12px; left: 50%; transform: translateX(-50%); width: min(808px,calc(100% - 24px)); padding: 12px; border: 1px solid #999; background: #fff; color: #333; box-shadow: 0 2px 12px #0003; font-size: 11px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 5px 0 9px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cookie-actions .retro-button { min-height: 32px; }
.cookie-dialog { width: min(440px,calc(100% - 28px)); padding: 18px; border: 1px solid #999; color: #333; background: #fff; font: 12px/1.5 Arial,sans-serif; }
.cookie-dialog::backdrop { background: #0007; }
.cookie-dialog h2 { margin: 0; font-size: 17px; color: var(--accent); }
.cookie-dialog label { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.cookie-dialog input { accent-color: var(--accent); }
@media (max-width:480px) { .cookie-banner { bottom: 7px; } .top-menu { flex-wrap: wrap; } .top-menu a { min-width: 19%; } .contact-form input, .contact-form textarea { font-size: 16px; } }
@media print { .cookie-banner,.cookie-dialog { display:none; } }
.life-timeline { list-style: none; margin: 16px 0 0 5px; padding: 0 0 0 18px; border-left: 2px solid #d3d3d3; }
.life-timeline > li { position: relative; padding: 0 0 22px; }
.life-timeline > li::before { content: ''; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border: 2px solid #fff; background: var(--accent); box-shadow: 0 0 0 1px #ccc; }
.life-timeline > li:last-child { padding-bottom: 0; }
.life-timeline .timeline-date { margin: 0 0 4px; color: #777; font-size: 11px; font-weight: bold; }
.life-timeline h3 { margin: 0 0 6px; color: var(--accent); font-size: 15px; line-height: 1.4; }
.life-timeline p { margin: 7px 0 10px; }
.archive-figure { margin: 14px 0 0; }
.archive-figure > a { display: block; padding: 4px; border: 1px solid #ccc; background: #f4f4f4; }
.archive-figure img { display: block; width: 100%; height: auto; }
.archive-figure figcaption { padding-top: 7px; color: #777; font-size: 10px; line-height: 1.5; }
@media (max-width:480px) { .life-timeline { margin-left: 3px; padding-left: 16px; } .life-timeline > li::before { left: -22px; } .life-timeline h3 { font-size: 16px; } .archive-figure figcaption { font-size: 11px; } }
