/* A small, buildless stylesheet for the retro edition only. */
* { box-sizing: border-box; }
body { margin: 0; background: #05051c url('/retro/stars.svg') repeat; color: #111; font: 18px/1.5 "Times New Roman", Times, serif; }
a, a:visited { color: #0000cc; text-decoration: underline; }
a:hover { color: #9b0000; }
a:focus-visible, input:focus-visible { outline: 3px solid #a00000; outline-offset: 4px; }
.page { max-width: 980px; margin: 28px auto; padding: 0 18px; }
.masthead { color: #fff; text-align: center; padding: 12px 0 24px; text-shadow: 2px 2px #000; }
.eyebrow { color: #ffff66; font-size: 15px; letter-spacing: .16em; }
h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.08; margin: 18px 0; color: #ffff66; }
h1 span { font-size: .57em; color: #fff; }
.welcome { font-size: 20px; margin-bottom: 6px; }
.directory, section, .construction, footer { background: #c0c0c0; border: 4px outset #e5e5e5; box-shadow: 4px 4px 0 #000; margin-bottom: 22px; padding: 24px; }
.directory { text-align: center; padding: 14px; }
.directory strong { display: block; background: #000080; color: #fff; letter-spacing: .15em; padding: 4px; margin: -10px -10px 12px; }
.directory div { margin-bottom: 8px; line-height: 2; }
section { scroll-margin-top: 16px; }
h2 { color: #000080; font-size: 28px; line-height: 1.2; border-bottom: 2px groove #fff; padding-bottom: 12px; margin: 8px 0 20px; }
h3 { color: #800000; font-size: 22px; line-height: 1.25; margin: 4px 0 10px; }
p { margin: 12px 0; }
.intro { display: grid; grid-template-columns: 220px 1fr; gap: 28px; background: #ffffe6; }
.portrait { text-align: center; font-size: 16px; }
.portrait img { display: block; width: 100%; height: auto; border: 5px ridge #ddd; }
.hello { color: #800000; font-style: italic; margin-top: 0; }
.entries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.entry { background: #eee; border: 2px inset #fff; padding: 18px; min-width: 0; }
.entry > span { display: block; font-size: 16px; }
#experience .entry { margin: 16px 0; }
#numbers .entries { grid-template-columns: repeat(3,minmax(0,1fr)); }
.metric { text-align: center; border: 2px inset #fff; padding: 12px; background: #000040; color: #fff; }
.metric span { display: block; }
.metric span:first-child { color: #ffff66; font-size: 30px; font-weight: bold; }
#contact a { display: inline-block; margin: 10px 16px 10px 0; }
#contact a span { display: block; }
.construction { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; background: #fff7a8; border-color: #ffdc00; text-align: center; }
.construction strong { font: bold 20px/1.4 Arial, sans-serif; letter-spacing: .06em; }
.worker { width: 120px; height: 90px; flex-shrink: 0; }
.digger { transform-origin: 42px 69px; animation: dig 1s steps(4,end) infinite alternate; }
.dirt { animation: dirt 1s steps(4,end) infinite; }
@keyframes dig { to { transform: rotate(18deg); } }
@keyframes dirt { from { transform: translate(-12px,12px); opacity: 0; } 50% { opacity: 1; } to { transform: translate(7px,-6px); opacity: 0; } }
.motion-control { width: 100%; font-size: 15px; cursor: pointer; }
.construction:has(#pause-motion:checked) .worker * { animation: none; }
footer { text-align: center; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge { display: inline-block; width: 108px; min-height: 42px; border: 3px outset #fff; background: #333; color: #fff; font: 10px/1.3 Arial,sans-serif; padding: 4px 2px; }
.badge b { font-size: 10px; color: #ffff66; }
.badge.html { background: #000080; }.badge.web { background: #00604c; }.badge.mail { background: #ffffcc; color: #111; }
a { overflow-wrap: anywhere; }
.skip { position: absolute; left: 12px; top: -100px; background: #fff; padding: 10px; z-index: 1; }.skip:focus { top: 10px; }
@media (max-width: 620px) { .page { padding: 0 10px; margin-top: 16px; } section, footer { padding: 18px; }.intro, .entries { grid-template-columns: 1fr; }.portrait { width: 180px; margin: auto; }.intro { gap: 12px; } #numbers .entries { grid-template-columns: repeat(2,minmax(0,1fr)); } h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .worker * { animation: none; } }

/* Late-1990s homepage masthead: a stamped edition and rainbow divider. */
.edition { display: inline-block; margin: 0 0 8px; padding: 3px 14px; border: 2px ridge #bdf4ff; background: #000080; color: #ffff66; font: bold 12px/1.5 Arial, sans-serif; letter-spacing: .16em; box-shadow: 3px 3px #000; }
.masthead::after { content: ""; display: block; height: 5px; margin: 22px auto 0; max-width: 580px; background: linear-gradient(to right, #f33, #ff0, #0f9, #0cf, #96f, #f3c); border: 1px solid #aaa; }
