/* whatisavirus.zip — PowerShell theme (Windows Terminal "Campbell Powershell") */
:root {
  --bg: #012456;
  --bg-2: #011c44;
  --line: #1d4485;
  --fg: #cccccc;
  --bright: #f2f2f2;
  --dim: #8fa3c7;
  --yellow: #f9f1a5;   /* cmdlets */
  --gold: #c19c00;
  --cyan: #61d6d6;     /* strings / links */
  --green: #16c60c;    /* variables / ok */
  --red: #e74856;      /* errors */
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "Lucida Console", ui-monospace, monospace;
  --max: 880px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.7 var(--mono);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; border-bottom: 1px dashed transparent; }
a:hover { border-bottom-color: var(--cyan); }
::selection { background: var(--bright); color: var(--bg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* syntax colors */
.cmd { color: var(--yellow); }
.param { color: var(--dim); }
.str { color: var(--cyan); }
.var { color: var(--green); }
.cmt { color: #6a9955; }
.err { color: var(--red); }

/* top bar */
header.bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(1,28,68,.94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; min-height: 52px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.logo { color: var(--bright); font-weight: 700; border: 0; }
.logo span { color: var(--dim); font-weight: 400; }
nav { display: flex; gap: 4px 14px; flex-wrap: wrap; font-size: 13px; }
nav a { color: var(--dim); }
nav a:hover, nav a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }

/* Windows Terminal window */
.term {
  margin: 44px 0 24px;
  border: 1px solid #2b2b2b; border-radius: 8px; background: var(--bg);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  overflow: hidden;
}
.term-top { display: flex; align-items: stretch; background: #202020; height: 36px; font: 12px/1 "Segoe UI", system-ui, sans-serif; color: #fff; }
.tab { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--bg); margin: 6px 0 0 8px; border-radius: 6px 6px 0 0; min-width: 0; }
.tab-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-icon { width: 14px; height: 14px; flex: none; }
.newtab { display: flex; align-items: center; padding: 0 10px; color: #aaa; font-size: 15px; }
.winctl { margin-left: auto; display: flex; }
.winctl span { width: 42px; display: grid; place-items: center; color: #ddd; font-size: 12px; }
.term-body { padding: 16px 16px 20px; min-height: 360px; font-size: 14px; }
.term-body .banner { color: var(--fg); margin-bottom: 12px; }
.prompt { color: var(--fg); }
.out { color: var(--fg); margin: 2px 0 12px; white-space: pre; overflow-x: auto; }
.out .hl { color: var(--yellow); }
.out.err { color: var(--red); }
.cursor { display: inline-block; width: 8px; height: 3px; background: var(--fg); vertical-align: baseline; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 600px) {
  .term-body { font-size: 12px; min-height: 330px; }
  .winctl span { width: 32px; }
}

h1 { font-size: clamp(26px, 6vw, 40px); line-height: 1.15; margin: 0 0 6px; color: var(--bright); }
h2 { font-size: 18px; margin: 0 0 18px; color: var(--yellow); font-weight: 700; }
h2::before { content: "PS> "; color: var(--dim); font-weight: 400; }
article h2::before { content: "# "; color: var(--dim); }
h3 { font-size: 15px; margin: 0; color: var(--bright); }

section { padding: 44px 0; border-top: 1px solid var(--line); }
.lead { color: var(--fg); max-width: 64ch; }
.muted { color: var(--dim); }
.tag {
  display: inline-block; font-size: 12px; padding: 1px 8px; margin: 3px 4px 0 0;
  border: 1px solid var(--line); border-radius: 4px; color: var(--dim); background: var(--bg-2);
}

.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-block; padding: 8px 14px; border: 1px solid var(--yellow); border-radius: 4px;
  color: var(--yellow); font-size: 13px;
}
.btn:hover { background: var(--yellow); color: var(--bg); border-bottom-color: var(--yellow); }
.btn.alt { border-color: var(--line); color: var(--fg); }
.btn.alt:hover { background: var(--line); color: var(--bright); }

/* experience */
.job { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.job:last-child { border-bottom: 0; }
.job .when { color: var(--dim); font-size: 13px; }
.job ul { margin: 6px 0 0; padding-left: 18px; }
.job li::marker { content: "> "; color: var(--yellow); }
@media (max-width: 600px) { .job { grid-template-columns: 1fr; } }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card {
  border: 1px solid var(--line); border-radius: 6px; padding: 16px; background: var(--bg-2);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.card p { margin: 8px 0; font-size: 14px; color: var(--dim); }
.card .status { font-size: 12px; }
.ok { color: var(--green); } .wip { color: var(--gold); }

/* certs as a PowerShell table */
.pstable { width: 100%; border-collapse: collapse; font-size: 14px; }
.pstable th { text-align: left; color: var(--green); font-weight: 400; padding: 0 18px 0 0; }
.pstable .rule td { color: var(--green); padding: 0 18px 4px 0; line-height: 1; }
.pstable td { padding: 6px 18px 6px 0; vertical-align: top; }
.pstable td:first-child { color: var(--bright); white-space: nowrap; }
@media (max-width: 600px) { .pstable .hide-sm { display: none; } .pstable { font-size: 13px; } }

/* blog list */
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.posts time { color: var(--dim); font-size: 13px; min-width: 92px; }

/* article */
article { padding: 40px 0 60px; }
article h1 { margin-bottom: 4px; }
article .meta { color: var(--dim); font-size: 13px; margin-bottom: 28px; }
article h2 { margin-top: 32px; }
article p, article li { max-width: 70ch; }
pre, code { font-family: var(--mono); }
code { background: var(--bg-2); border: 1px solid var(--line); padding: 1px 5px; border-radius: 3px; font-size: 13px; }
pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 14px; overflow-x: auto; }
pre code { border: 0; padding: 0; background: none; }
blockquote { margin: 0; padding-left: 14px; border-left: 2px solid var(--gold); color: var(--dim); }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--dim); font-size: 12px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
  .card { transition: none; }
}

/* visible placeholder — delete once real content is in */
.todo { color: var(--yellow); background: rgba(249,241,165,.08); border: 1px dashed rgba(249,241,165,.4); padding: 0 4px; border-radius: 3px; }
