/* ==========================================================================
   THEME B — NETRUNNER
   Neon yellow / cyan / red on pitch black. Condensed uppercase headings,
   clipped corners, numbered sections, sidebar on wide screens. No animation.
   ========================================================================== */

:root {
  --bg: #000;
  --fg: #dcdcdc;
  --muted: #8a8a8a;
  --yellow: #f3e600;
  --cyan: #00e5ff;
  --red: #ff2a55;
  --line: #2a2a2a;
  --head: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Arial Narrow", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  counter-reset: sec;
}

::selection { background: var(--yellow); color: #000; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--yellow); }

.site-header .inner,
.wrap,
.site-footer .inner { max-width: 1080px; }

/* ---- header ------------------------------------------------------------- */
.site-header {
  border-bottom: 2px solid var(--yellow);
  padding: 26px 0 0;
}
.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
}
.site-title {
  font-family: var(--head);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.site-title a { color: var(--yellow); }
.tagline {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 1 1 100%;
  order: 2;
  margin: -2px 0 12px;
}
.tagline::before { content: "// "; color: var(--red); }

.site-nav { order: 1; }
.site-nav ul { gap: 6px; }
.site-nav a {
  display: block;
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--yellow);
  padding: 6px 16px 5px 12px;
  border: 1px solid var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.site-nav a:hover, .site-nav a:focus { background: #1a1800; color: var(--yellow); }
.site-nav a[aria-current="page"] { background: var(--yellow); color: #000; }

/* ---- layout ------------------------------------------------------------- */
.wrap { padding-top: 12px; padding-bottom: 40px; }
@media (min-width: 960px) {
  .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 64px;
  }
}
main { max-width: 70ch; }

/* ---- headings ----------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--head);
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
h1 { font-size: 2.4em; color: var(--yellow); margin-top: 0.7em; }
main h2 {
  font-size: 1.45em;
  padding-left: 12px;
  border-left: 4px solid var(--yellow);
}
main h2::before {
  counter-increment: sec;
  content: "0" counter(sec) " / ";
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.6em;
  vertical-align: 0.25em;
  letter-spacing: 0;
}
main h3 { font-size: 1.15em; color: var(--cyan); }

strong { color: #fff; }

blockquote { border-left: 3px solid var(--red); color: #fff; font-style: italic; }

code { color: var(--yellow); font-family: var(--mono); }
pre { background: #000; border: 1px solid var(--line); border-left: 3px solid var(--cyan); }

th { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.05em; color: var(--yellow); }
th, td { border-color: var(--line); }

hr { border-top: 1px solid var(--line); }

ul li::marker { color: var(--yellow); }
ol li::marker { color: var(--cyan); font-family: var(--mono); }

/* ---- components --------------------------------------------------------- */
.intro p:first-of-type { font-size: 1.1em; }

.post-list li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.post-list time { font-family: var(--mono); color: var(--red); font-size: 0.85em; padding-top: 0.2em; }
.post-list a { color: #fff; text-decoration: none; font-weight: 600; }
.post-list a:hover { color: var(--yellow); }
.post-list .tags { font-family: var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.post-meta { font-family: var(--mono); font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); }
.post-meta .tags { color: var(--cyan); }

.job { padding-left: 14px; border-left: 1px solid var(--line); }
.job h3 { color: #fff; font-size: 1.2em; }
.job .org { color: var(--yellow); font-weight: 600; }
.job .when { font-family: var(--mono); color: var(--muted); font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.05em; }

.contact-email { font-family: var(--head); font-size: 1.6em; }
.contact-email a { color: var(--yellow); }
.contact-list dt { font-family: var(--mono); font-size: 0.8em; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
.contact-list dd { margin: 0 0 0.8em; }

/* sidebar */
.sidebar { margin-top: 3em; }
@media (min-width: 960px) { .sidebar { margin-top: 2.2em; } }
.sidebar section {
  border: 1px solid var(--line);
  padding: 14px 16px 6px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.sidebar h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}
.sidebar h2::before { content: ":: "; color: var(--red); }
.sidebar .status { border-color: var(--cyan); }
.status p:first-of-type { color: var(--cyan); font-weight: 600; }
.status-dot { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.sidebar li a { text-transform: uppercase; font-family: var(--head); letter-spacing: 0.06em; text-decoration: none; }

.site-footer { border-top: 1px solid var(--line); padding: 18px 0 40px; color: var(--muted); }
.site-footer p:first-child { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
