/* rc212.com - portfolio content styling on top of the family win95.css.
   Chrome (windows, taskbar, start menu, lightbox, buttons) lives in
   cordero.im/css/win95.css; this file carries only what rc212.com adds. */

body { font-size: 15px; }

/* ---------- iconography (window titlebars, start menu, start button) ---------- */

.title-ico, .menu-ico { width: 16px; height: 16px; vertical-align: -3px; }
.title-ico { margin-right: 4px; }
.menu-ico { margin-right: 7px; }
.start-ico { width: 16px; height: 16px; flex: none; display: block; }
.dicon-img { width: 24px; height: 24px; filter: drop-shadow(1px 1px 1px rgba(0,0,0,.45)); }

.start-menu-banner {
  display: flex; align-items: center; gap: 8px;
  font-family: "Courier New", monospace;
  padding: 10px 12px;
  margin-bottom: 4px;
}
.start-menu-banner .banner-ico { width: 24px; height: 24px; flex: none; display: block; border: 1px solid rgba(255,255,255,.6); }
.start-menu-banner .banner-95 { color: #ffd700; }
.start-menu-foot {
  border-top: 1px solid var(--shadow);
  box-shadow: inset 0 1px 0 var(--highlight);
  font-size: 11px; color: #444; padding: 6px 10px;
}
.start-menu-foot a { color: var(--title-1); }

/* ---------- windows: portfolio windows carry more padding than the chrome default ---------- */

.window-body { padding: 16px 18px 20px; max-height: 72vh; overflow-y: auto; }

/* ---------- content ---------- */

h1.pixel { font-size: 30px; margin-bottom: 6px; }
h2.pixel { font-size: 20px; margin-bottom: 14px; border-bottom: 2px groove #fff; padding-bottom: 6px; }
h3 { font-size: 15px; margin-bottom: 2px; }

h3.sect {
  color: var(--title-1);
  margin: 16px 0 6px;
  border-bottom: 1px solid var(--shadow);
  box-shadow: 0 1px 0 var(--highlight);
  padding-bottom: 3px;
}

.tagline { font-size: 13px; font-weight: bold; color: #333; margin-bottom: 14px; }
.lede { line-height: 1.55; max-width: 70ch; }

.metric {
  background: #fff;
  border: 2px solid;
  border-color: var(--shadow) var(--highlight) var(--highlight) var(--shadow);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.12);
  text-align: center;
  padding: 10px 6px;
}
.metric-num { font-family: "Courier New", monospace; }
.metric-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 18px 0; }

.job, .project, .skill-group { margin-bottom: 18px; }
.job-meta { font-size: 12px; font-style: italic; color: #444; margin-bottom: 6px; }
.job ul { margin: 6px 0 0 20px; line-height: 1.5; }
.job li { margin-bottom: 4px; }
.project p, .skill-group p { line-height: 1.5; margin-top: 4px; }
.skill-group h3 { color: var(--title-1); }

.board-list { margin: 6px 0 0 20px; line-height: 1.5; }
.board-list li { margin-bottom: 6px; }
.certs { line-height: 1.5; }

.notepad pre {
  font-family: "Courier New", monospace;
  font-size: 14px; line-height: 1.45; white-space: pre-wrap;
  background: #fff;
  border: 2px solid;
  border-color: var(--shadow) var(--highlight) var(--highlight) var(--shadow);
  padding: 12px 14px;
}

.inlink { color: var(--title-1); font-weight: bold; }

/* ---------- screenshots & showcase ---------- */

.shot img {
  border: 2px solid;
  border-color: var(--shadow) var(--highlight) var(--highlight) var(--shadow);
  box-shadow: 2px 2px 0 rgba(0,0,0,.25);
}
.shot figcaption { font-size: 12px; color: #333; margin-top: 6px; line-height: 1.4; }
#win-homelab .shot { margin: 14px 0; }

/* ---------- under-the-hood boxes: sunken white panes ---------- */

.stack-box {
  background: #fff;
  border: 2px solid;
  border-color: var(--shadow) var(--highlight) var(--highlight) var(--shadow);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.12);
  padding: 12px 14px;
  margin-top: 8px;
}
.stack-box li { margin-bottom: 6px; }

/* ---------- content buttons (the content payloads use .btn95) ---------- */

.btn95 {
  display: inline-block;
  background: var(--face);
  border: 2px solid;
  border-color: var(--bevel-lite) var(--dshadow) var(--dshadow) var(--bevel-lite);
  box-shadow: inset 1px 1px 0 var(--highlight), inset -1px -1px 0 var(--shadow);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 12px;
  cursor: pointer;
  margin: 4px 6px 0 0;
  user-select: none;
  white-space: nowrap;
}
.btn95:active, .btn95.pressed {
  border-color: var(--dshadow) var(--bevel-lite) var(--bevel-lite) var(--dshadow);
  box-shadow: inset 1px 1px 0 var(--shadow);
}
.btn95:focus { outline: 1px dotted #000; outline-offset: -5px; }
.btn95:disabled { color: var(--shadow); text-shadow: 1px 1px 0 var(--highlight); }

.start-links { margin-top: 6px; }

/* ---------- contact reveal ---------- */

.contact-list { list-style: none; margin-top: 12px; }
.contact-list li { margin-bottom: 8px; }
.revealed { font-family: "Courier New", monospace; font-weight: bold; color: var(--title-1); }
.muted-note { font-size: 12px; color: #555; margin: 6px 0 2px; }

/* ---------- tray weather (dash.exe pattern: NYC pill, four-city tooltip) ---------- */

#tray-weather { gap: 4px; cursor: default; }
#tray-weather svg { width: 16px; height: 16px; display: block; }

/* multi-line tray tooltips (weather + world clock) */
.win-tip { white-space: pre-line; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .window { width: min(860px, calc(100vw - 24px)); }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .window {
    position: static !important;
    width: auto !important;
    max-width: none;
    margin: 8px 12px;
    box-shadow: 2px 2px 0 rgba(0,0,0,.25);
  }
  .window.maximized { position: fixed; margin: 0; }
  .window-body { max-height: none; }
  h1.pixel { font-size: 24px; }
  #start-btn span { display: none; }
  .task-btn { max-width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
