/* Portfolio presentation; the original Win95 theme remains the frame. */
html { scroll-padding-top: 90px; }
body .container { max-width: 1000px !important; }
body .card-body { font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.6; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 20000; background: white; color: #0a246a; padding: 12px; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible { outline: 3px solid #a65c00 !important; outline-offset: 4px; }
.intro-window { margin: 26px 0 24px; }
.intro-content { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 26px; padding: 34px; background: #fff; border: 2px inset #dfdfdf; margin: 12px; }
.intro-eyebrow { color: #526174; font: bold 11px/1.5 monospace; letter-spacing: 1.3px; text-transform: uppercase; margin: 0 0 14px; }
.intro-content h1 { color: #122c54; font: bold clamp(28px, 4.2vw, 44px)/1.1 Arial, sans-serif; letter-spacing: -1.4px; margin: 0 0 14px; }
.intro-lead { font: 22px/1.35 Arial, sans-serif; color: #152840; margin: 0 0 12px; max-width: 590px; }
.intro-description { font: 15px/1.65 Arial, sans-serif; color: #435167; max-width: 590px; margin: 0; }
.intro-portrait { margin: 0; align-self: start; }
.intro-portrait img { width: 150px; height: 150px; object-fit: cover; border: 2px inset #dfdfdf; padding: 3px; background: #c0c0c0; box-shadow: 4px 4px 0 #c0c0c0; }
.intro-portrait figcaption { text-align: center; color: #526174; font: 11px/1.5 monospace; margin-top: 12px; }
.link-icon { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; flex-shrink: 0; image-rendering: pixelated; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
body .action-button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; min-height: 44px; font: bold 13px/1.4 Arial, sans-serif; background: #c0c0c0; border: 2px solid; border-color: white #202020 #202020 white; box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf; color: #1c2635; text-decoration: none; }
body .action-button:hover { background: #d4d0c8; color: #0a246a; }
body .action-primary { background: #0a246a; color: white; }
body .action-primary:hover { background: #183f87; color: white; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 26px; gap: 18px; }
.service { padding: 14px 16px; background: #fff; border-left: 4px solid #0a246a; box-shadow: 3px 3px 0 #0003; font: 13px/1.6 Arial, sans-serif; }
.service h2 { font-size: 15px; font-weight: bold; color: #0a246a; margin-bottom: 6px; }
.service p { margin: 0; color: #435167; }
.section-intro { padding: 5px 3px 16px; margin: 0; color: #3b4757; max-width: 620px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.featured-project { background: #fff; border: 2px inset #dfdfdf; display: flex; flex-direction: column; min-width: 0; }
.featured-project > img { width: 100%; aspect-ratio: 1.5; object-fit: cover; height: auto; border-bottom: 1px solid #808080; }
.featured-project > .deovr-preview { background: #111019; object-fit: contain; }
.featured-project-content { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.featured-project h3 { font: bold 20px/1.2 Arial, sans-serif; color: #122c54; margin: 0 0 8px; }
.project-stack { font: 11px/1.5 monospace; color: #59687e; margin: 0 0 12px; }
.featured-project p:not(.project-stack) { font-size: 13px; line-height: 1.65; }
.project-result { border-top: 1px solid #e2e6ed; padding-top: 10px; }
.project-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; align-items: center; padding-top: 10px; }
.project-actions a { font-size: 12px; color: #0a246a; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.project-actions button { min-height: 36px; }
.more-projects { margin-top: 16px; border-top: 1px solid #808080; padding: 16px 4px 2px; display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; font-size: 13px; }
.more-projects a { color: #0a246a; text-decoration: underline; }
.about-layout { display: flex; gap: 12px; align-items: flex-start; }
.about-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.contact-content { padding: 26px !important; }
.contact-content h2 { font-size: 24px; font-weight: bold; color: #122c54; }
.contact-content p { max-width: 610px; }
.contact-email { display: inline-block; margin-top: 18px; color: #0a246a; font-size: 14px; }
.retro-toggle { display: block; margin: 0 auto 28px; font: 12px Arial, sans-serif; padding: 8px 14px; border: 2px outset white; background: #c0c0c0; color: #222; }
@media (max-width: 740px) {
  .intro-content { padding: 24px; grid-template-columns: minmax(0, 1fr) 90px; gap: 16px; }
  .intro-portrait img { width: 90px; height: 90px; }
  .intro-portrait figcaption { display: none; }
  .intro-content h1 { font-size: 30px; }
  .intro-lead { font-size: 19px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-project { display: grid; grid-template-columns: 36% minmax(0, 1fr); }
  .featured-project > img { height: 100%; aspect-ratio: auto; border: 0; border-right: 1px solid #aaa; }
  .services { gap: 10px; }
  .service { padding: 12px; }
}
@media (max-width: 520px) {
  body { padding-top: 64px; }
  .win98-taskbar .taskbar-tray { white-space: nowrap; flex-shrink: 0; }
  .win98-taskbar .taskbar-item:nth-of-type(4) { display: none; }
  .intro-window { margin-top: 18px; }
  .intro-content { display: block; padding: 20px 16px; margin: 8px; }
  .intro-portrait { display: none; }
  .intro-content h1 { font-size: 31px; }
  .hero-actions { gap: 8px; }
  .hero-actions .action-primary { width: 100%; }
  .services { grid-template-columns: 1fr; gap: 8px; }
  .service { padding: 12px 16px; }
  .service h2 { margin-bottom: 3px; }
  .featured-project { display: flex; }
  .featured-project > img { height: auto; aspect-ratio: 1.65; border-right: 0; }
  .about-layout { flex-direction: column; }
  .about-layout .avatar-frame { display: none; }
  .contact-content { padding: 18px !important; }
  .clippy-gif img { max-width: 80vw; }
}
@media (prefers-reduced-motion: reduce) {
  .snow-container, .garlands-container, .clippy-gif { display: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
