﻿:root {
  color-scheme: light;
  --navy: #000066;
  --red: #990000;
  --gray: #c0c0c0;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body {
  margin: 0;
  padding: 28px 16px;
  color: #000;
  background: #000033 url("stars.svg") repeat;
  font: 17px/1.5 "Times New Roman", Times, serif;
}
a { color: #0000ee; text-decoration: underline; }
a:visited { color: #551a8b; }
a:hover { color: #cc0000; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px dotted #990000; outline-offset: 4px; }
.homepage {
  width: min(100%, 800px);
  margin: 0 auto;
  padding: 28px 32px 20px;
  background: var(--gray);
  border: 5px ridge #e0e0e0;
}
header { text-align: center; padding-bottom: 24px; }
.web-address {
  display: inline-block;
  margin: 0 0 20px;
  padding: 3px 15px;
  background: #000;
  color: #ffff66;
  border: 1px solid #808080;
  font: bold 12px/1.5 "Courier New", monospace;
}
h1 {
  margin: 0;
  color: var(--navy);
  font: bold clamp(42px, 7vw, 64px)/1.05 "Times New Roman", Times, serif;
  text-shadow: 2px 2px #fff;
}
h1 em {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font: bold 20px/1.4 "Courier New", monospace;
  text-shadow: none;
}
.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 360px;
  margin: 20px auto;
  color: #000080;
  font-size: 18px;
}
.star-divider::before, .star-divider::after {
  content: "";
  flex: 1;
  height: 4px;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #fff;
}
.star-divider span { font-size: 15px; }
nav { font: bold 13px/2 "Courier New", monospace; }
nav span { margin: 0 7px; font-weight: normal; }
hr {
  height: 3px;
  margin: 25px 0;
  border: 0;
  border-top: 1px solid #777;
  border-bottom: 1px solid #fff;
}
.rainbow-rule {
  height: 6px;
  margin: 0;
  border: 1px inset #888;
  background: linear-gradient(90deg, #ff0000 0% 16.66%, #ffff00 16.66% 33.33%, #008000 33.33% 50%, #00ffff 50% 66.66%, #0000ff 66.66% 83.33%, #800080 83.33%);
}
section { padding-top: 4px; scroll-margin-top: 16px; }
h2 {
  margin: 18px 0;
  padding: 5px 9px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #808080;
  background: #d8d8d8;
  color: var(--navy);
  font: bold 25px/1.3 "Times New Roman", Times, serif;
}
h2 > span { color: var(--red); font-size: 14px; vertical-align: middle; margin-right: 7px; }
p { margin: 0 0 14px; }
.about-content { display: grid; grid-template-columns: 130px 1fr; gap: 25px; margin: 24px 0 8px; }
.portrait { margin: 0; text-align: center; }
.monogram {
  display: grid;
  place-items: center;
  height: 130px;
  background-color: #000066;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, #ffffff0d 3px, #ffffff0d 4px);
  color: #ffff66;
  border: 5px ridge #eee;
  font: bold 52px "Courier New", monospace;
  text-shadow: 3px 3px #000;
}
figcaption { margin-top: 9px; font-size: 14px; font-weight: bold; }
figcaption small { font: 10px "Courier New", monospace; font-weight: normal; }
.about-copy { font-size: 16px; }
.about-copy strong { color: #800000; }
.section-heading h2 { width: 100%; }
.table-scroll { max-width: 100%; margin-top: 16px; overflow-x: auto; }
.work-table { width: 100%; border: 3px outset #ddd; border-spacing: 2px; background: #b0b0b0; font-size: 15px; }
.work-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.work-table th { padding: 8px 10px; text-align: left; background: #000066; color: #fff; border: 1px outset #aaa; font-size: 16px; }
.work-table td { padding: 13px 11px; vertical-align: top; border: 1px inset #eee; background: #e8e8e8; }
.work-table tr:nth-child(even) td { background: #d5d5d5; }
.work-table td:first-child { width: 132px; background: #d7d7bf; color: #333; font: 12px/1.8 "Courier New", monospace; }
.work-table h3 { margin: 0 0 7px; color: #800000; font-size: 19px; line-height: 1.2; }
.work-table strong { display: block; font-size: 14px; }
.work-table small { display: block; margin-top: 5px; color: #3e3e3e; font: 11px/1.5 "Courier New", monospace; }
.work-table p { margin: 11px 0 0; font-size: 14px; }
.source-note { margin-top: 10px; font: 11px/1.6 "Courier New", monospace; }
.back-link { text-align: right; font-size: 13px; }
#toolbox > p { font-size: 15px; }
.tools { columns: 3; padding-left: 25px; margin: 18px 0 8px; list-style: square; font: bold 14px/2 "Courier New", monospace; }
.tools li { break-inside: avoid; }
.tools li::marker { color: var(--red); }
.contact-section { text-align: center; padding: 4px 0 22px; }
.contact-section h2 { background: none; border: none; margin: 3px 0 16px; }
.envelope { color: #000080; font-size: 49px; line-height: 1.2; }
.contact-links { font-weight: bold; font-size: 16px; margin-bottom: 0; }
.contact-links span { padding: 0 13px; color: #800000; }
footer { padding-top: 20px; text-align: center; font-size: 12px; }
footer p { margin-bottom: 8px; }
.local-time { font: 11px/1.7 "Courier New", monospace; }
#clock { white-space: nowrap; font-weight: bold; }
.skip-link { position: absolute; top: -100px; left: 10px; padding: 10px; background: #fff; z-index: 2; }
.skip-link:focus { top: 8px; }
@media (max-width: 620px) {
  body { padding: 15px 10px; }
  .homepage { padding: 24px 18px 16px; border-width: 4px; }
  nav { font-size: 12px; }
  nav span { margin: 0 3px; }
  .about-content { grid-template-columns: 100px 1fr; gap: 18px; }
  .monogram { height: 100px; font-size: 42px; }
  h2 { font-size: 23px; }
  .work-table td:first-child { width: 105px; font-size: 11px; }
  .work-table td, .work-table th { padding: 10px 8px; }
  .work-table h3 { font-size: 18px; }
  .tools { columns: 2; }
}
@media (max-width: 400px) {
  body { padding: 8px 6px; }
  .homepage { padding: 20px 12px 14px; border-width: 3px; }
  h1 { font-size: 43px; }
  h1 em { font-size: 17px; }
  nav { font-size: 11px; }
  .about-content { display: block; }
  .portrait { width: 115px; margin: 0 auto 20px; }
  .monogram { height: 115px; }
  .work-table td:first-child { width: 85px; font-size: 10px; }
  .work-table h3 { font-size: 16px; }
  .work-table strong { font-size: 13px; }
  .work-table small { font-size: 10px; }
  .work-table p { font-size: 13px; }
  .contact-links span { padding: 0 7px; }
}
