/*
Theme Name: klrpxl
Theme URI: https://klrpxl.com
Author: killer. pixel. labs. (R¹)
Author URI: https://klrpxl.com
Description: Retro amber-phosphor terminal theme for killer.pixel.labs. Static app showcase homepage + full WordPress blog templates. CRT scanlines, JetBrains Mono, IBM Plex Sans.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: klrpxl
Tags: dark, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* -------------------------------------------------------------
   Fonts
------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");

/* -------------------------------------------------------------
   Reset + tokens
------------------------------------------------------------- */
:root {
  --void: #050505;
  --surface: #121212;
  --amber: #ffb000;
  --amber-hover: #ffc84d;
  --amber-dim: rgba(255, 176, 0, 0.3);
  --cyan: #00ffff;
  --phosphor: #00ff41;
  --text: #eaeaea;
  --muted: #888888;
  --border: #333333;
  --destructive: #ff3b30;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--void);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(255,176,0,0.35); color: #fff; }
button { font-family: inherit; cursor: pointer; }

.font-mono { font-family: var(--font-mono); letter-spacing: -0.02em; }
.text-glow-amber { text-shadow: 0 0 1px rgba(255,176,0,0.8), 0 0 12px rgba(255,176,0,0.45); }
.text-glow-soft { text-shadow: 0 0 8px rgba(234,234,234,0.18); }
.amber { color: var(--amber); }
.cyan { color: var(--cyan); }
.phosphor { color: var(--phosphor); }
.muted { color: var(--muted); }

/* -------------------------------------------------------------
   CRT overlays
------------------------------------------------------------- */
.crt-scanlines,
.crt-scanroll,
.crt-vignette {
  position: fixed; inset: 0; pointer-events: none;
}
.crt-scanlines {
  z-index: 60;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.55;
}
.crt-scanroll {
  z-index: 61;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,176,0,0.04) 50%, transparent 100%);
  height: 200vh;
  animation: scan-roll 9s linear infinite;
  opacity: 0.5;
}
.crt-vignette {
  z-index: 59;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}
@keyframes scan-roll {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%);  }
}
@keyframes cursor-blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.blink {
  display: inline-block;
  color: var(--amber);
  animation: cursor-blink 1s steps(2, start) infinite;
  margin-left: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .crt-scanroll, .blink { animation: none; }
}

/* -------------------------------------------------------------
   Layout
------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* -------------------------------------------------------------
   Header
------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5,5,5,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 3.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 1px rgba(255,176,0,0.8), 0 0 10px rgba(255,176,0,0.35);
}
.brand-sep { color: var(--muted); }
.brand-full { color: var(--text); }
@media (max-width: 639px) { .brand-sep, .brand-full { display: none; } }

.site-nav {
  display: flex; align-items: center; gap: 0.25rem;
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.25rem 0.5rem;
  transition: color .2s;
}
.site-nav a:hover { color: var(--amber); }
.site-nav a.is-admin:hover { color: var(--cyan); }
@media (max-width: 639px) { .site-nav a { font-size: 0.72rem; } }

/* -------------------------------------------------------------
   Hero
------------------------------------------------------------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.10;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,176,0,0.25), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,255,255,0.12), transparent 45%);
}
.hero .container {
  position: relative; z-index: 1;
  padding-top: 5rem; padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: repeat(12, 1fr);
    padding-top: 7rem; padding-bottom: 8rem;
  }
  .hero-left { grid-column: span 8; }
  .hero-right { grid-column: span 4; align-self: end; }
}

.overline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero h1 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 1.5rem 0;
  text-shadow: 0 0 8px rgba(234,234,234,0.18);
}
.hero h1 .labs { color: var(--amber); text-shadow: 0 0 1px rgba(255,176,0,0.8), 0 0 12px rgba(255,176,0,0.45); }
.hero .bio {
  color: var(--muted); font-size: 1rem; max-width: 42rem;
}
@media (min-width: 640px) { .hero .bio { font-size: 1.075rem; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: 0;
  background: transparent;
  transition: all .2s;
}
.btn:hover { border-color: var(--cyan); color: var(--cyan); }
.btn.primary { border-color: var(--amber); color: var(--amber); }
.btn.primary:hover { background: var(--amber); color: var(--void); }

/* Terminal box */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 15px rgba(255,176,0,0.2);
}
.terminal-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,176,0,0.12) 0px, rgba(255,176,0,0.12) 1px,
    transparent 1px, transparent 3px
  );
}
.dots { display: flex; align-items: center; gap: 0.375rem; }
.dot { width: 0.75rem; height: 0.75rem; background: var(--border); }
.dot.amber { background: var(--amber); }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.terminal-body {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  min-height: 180px;
}
.terminal-body .line { display: flex; gap: 0.5rem; }
.terminal-body .prompt { color: var(--phosphor); }
.terminal-body .muted-line .prompt,
.terminal-body .muted-line .cmd { color: var(--muted); }
.terminal-body .out { color: var(--amber); text-shadow: 0 0 1px rgba(255,176,0,0.8), 0 0 12px rgba(255,176,0,0.45); padding-left: 0.25rem; }

.hero .quote {
  margin-top: 1.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(255,176,0,0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   Section headings
------------------------------------------------------------- */
.section {
  padding: 4rem 0;
}
@media (min-width: 640px) { .section { padding: 5rem 0; } }
.section-head {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0;
  color: var(--text);
}

/* -------------------------------------------------------------
   Apps grid
------------------------------------------------------------- */
.apps-tools {
  display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 640px) {
  .apps-tools { flex-direction: row; align-items: center; }
}
.search-box {
  display: flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem 0.75rem;
}
.search-box input {
  background: transparent; border: 0; outline: 0;
  color: var(--text); font-family: var(--font-mono); font-size: 0.85rem;
  width: 180px;
}
.search-box input::placeholder { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.filter-btn {
  font-family: var(--font-mono); font-size: 0.72rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all .2s;
}
.filter-btn:hover { color: var(--amber); border-color: var(--amber); }
.filter-btn.is-active { color: var(--amber); border-color: var(--amber); background: rgba(255,176,0,0.10); }

.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .apps-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
  text-align: left;
}
.app-card:hover { border-color: var(--amber); box-shadow: 0 0 24px rgba(255,176,0,0.35); }
.app-card.featured { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .app-card.featured { grid-column: span 2; grid-row: span 2; }
}

.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .card-body { padding: 1.5rem; } }
.app-card.featured .card-body { padding: 2rem; }

.card-head { display: flex; gap: 1rem; align-items: flex-start; }
.icon-box {
  flex: none;
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700;
  color: var(--amber);
  background: var(--void);
  border: 1px solid rgba(255,176,0,0.4);
  font-size: 1rem;
}
.app-card.featured .icon-box { width: 4rem; height: 4rem; font-size: 1.25rem; }
.card-title-block { min-width: 0; }
.card-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  margin: 0;
  text-shadow: 0 0 8px rgba(234,234,234,0.18);
}
.app-card.featured .card-name { font-size: clamp(1.5rem, 2.5vw, 1.85rem); }
.card-tagline { color: var(--muted); margin-top: 0.25rem; font-size: 0.875rem; }
.app-card.featured .card-tagline { font-size: 1rem; }
.card-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.125rem 0.375rem;
}
.ping-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.card-status {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-live { color: var(--phosphor); }
.status-in_dev { color: var(--amber); }
.status-coming_soon { color: var(--cyan); }

.card-osbar {
  padding: 0.5rem 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; justify-content: space-between;
}
.card-osbar .open-hint { color: var(--amber); opacity: 0; transition: opacity .2s; }
.app-card:hover .card-osbar .open-hint { opacity: 1; }

/* -------------------------------------------------------------
   Modal
------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 24px rgba(255,176,0,0.35);
  max-width: 640px; width: 100%;
  max-height: 85vh;
  display: flex; flex-direction: column;
}
.modal-body { padding: 1.5rem; overflow: auto; }
@media (min-width: 640px) { .modal-body { padding: 2rem; } }
.modal-head { display: flex; gap: 1.25rem; align-items: flex-start; }
.modal .icon-box { width: 4rem; height: 4rem; font-size: 1.35rem; }
@media (min-width: 640px) { .modal .icon-box { width: 5rem; height: 5rem; } }
.modal-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text);
  margin: 0.25rem 0 0;
  text-shadow: 0 0 8px rgba(234,234,234,0.18);
}
.modal-desc {
  margin-top: 1.5rem;
  color: var(--text); line-height: 1.7; white-space: pre-line;
}
.modal-tags { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.modal-tags .tag { color: var(--muted); }
.modal-links {
  margin-top: 1.5rem;
  display: grid; grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .modal-links { grid-template-columns: 1fr 1fr; } }
.link-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono); font-size: 0.9rem;
  transition: all .2s;
}
.link-row:hover { border-color: var(--amber); color: var(--amber); }
.modal-close {
  background: transparent; border: 0; color: var(--muted);
  transition: color .2s;
  padding: 0.25rem;
}
.modal-close:hover { color: var(--amber); }

.notify-box {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(5,5,5,0.6);
  padding: 1rem 1.25rem;
}
.notify-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.notify-head .label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--amber); text-transform: uppercase; letter-spacing: 0.15em;
}
.notify-form { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .notify-form { flex-direction: row; } }
.notify-form input {
  flex: 1;
  background: var(--void);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  outline: 0;
}
.notify-form input:focus { border-color: var(--amber); }
.notify-form button {
  border: 1px solid var(--amber);
  color: var(--amber);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  transition: all .2s;
  white-space: nowrap;
}
.notify-form button:hover { background: var(--amber); color: var(--void); }
.notify-note {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted);
  line-height: 1.55;
}

/* -------------------------------------------------------------
   About
------------------------------------------------------------- */
.about {
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.about .container {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about .container { grid-template-columns: repeat(12, 1fr); }
  .about-left  { grid-column: span 4; }
  .about-right { grid-column: span 8; }
}
.about h2 {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--text); margin: 0.75rem 0 0;
}
.about p { color: var(--muted); line-height: 1.7; }
.about .motto {
  color: var(--amber);
  font-family: var(--font-mono);
  text-shadow: 0 0 1px rgba(255,176,0,0.8), 0 0 12px rgba(255,176,0,0.45);
  margin-top: 1rem;
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.site-footer .container {
  display: flex; flex-direction: column; gap: 1rem;
  padding-top: 2rem; padding-bottom: 2rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--muted);
}
@media (min-width: 640px) {
  .site-footer .container { flex-direction: row; align-items: center; justify-content: space-between; }
}
.site-footer a:hover { color: var(--amber); }
.site-footer .sep { opacity: 0.3; }

/* -------------------------------------------------------------
   Blog templates
------------------------------------------------------------- */
.page-wrap { padding: 4rem 0; }
.page-header { margin-bottom: 2.5rem; }
.page-header .overline { display: block; margin-bottom: 0.5rem; }
.page-title {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--text); margin: 0;
}
.post-list { display: flex; flex-direction: column; gap: 1.25rem; }
.post-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.post-card:hover { border-color: var(--amber); box-shadow: 0 0 15px rgba(255,176,0,0.2); }
.post-meta {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.post-card h2 {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 1.5rem; line-height: 1.15;
  margin: 0 0 0.75rem; color: var(--text);
}
.post-card h2 a:hover { color: var(--amber); }
.post-card .excerpt { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.read-more {
  display: inline-block; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--amber); border-bottom: 1px solid transparent;
}
.read-more:hover { border-bottom-color: var(--amber); }

.single-article { max-width: 780px; margin: 0 auto; }
.single-article header { margin-bottom: 2.5rem; }
.single-article h1 {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text); margin: 0.75rem 0 0;
  text-shadow: 0 0 8px rgba(234,234,234,0.18);
}
.entry-content { color: var(--text); line-height: 1.85; font-size: 1.05rem; }
.entry-content p { margin: 1.25rem 0; }
.entry-content h2, .entry-content h3 {
  font-family: var(--font-mono); color: var(--text);
  margin-top: 2.5rem; margin-bottom: 1rem;
}
.entry-content a { color: var(--amber); border-bottom: 1px solid rgba(255,176,0,0.35); }
.entry-content a:hover { border-bottom-color: var(--amber); }
.entry-content img { margin: 1.5rem 0; border: 1px solid var(--border); }
.entry-content blockquote {
  border-left: 2px solid var(--amber);
  padding-left: 1.25rem;
  color: var(--muted);
  font-style: italic;
  margin: 1.5rem 0;
}
.entry-content code, .entry-content pre {
  background: var(--surface); color: var(--phosphor);
  font-family: var(--font-mono); font-size: 0.9em;
  padding: 0.15rem 0.35rem; border: 1px solid var(--border);
}
.entry-content pre { padding: 1rem; overflow: auto; }

.pagination {
  margin-top: 3rem;
  display: flex; gap: 0.75rem; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem;
}
.pagination a, .pagination span {
  border: 1px solid var(--border);
  padding: 0.5rem 0.85rem;
  color: var(--muted);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--amber); color: var(--amber); }
.pagination .current { border-color: var(--amber); color: var(--amber); background: rgba(255,176,0,0.1); }

/* Comments */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.comments-title {
  font-family: var(--font-mono); color: var(--amber);
  font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.comment { border-left: 2px solid var(--border); padding-left: 1rem; margin-bottom: 1.5rem; }
.comment-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); margin-bottom: 0.5rem; }
.comment-form label { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.25rem; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; background: var(--void); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-mono); font-size: 0.9rem; padding: 0.5rem 0.75rem; margin-bottom: 1rem;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--amber); outline: none; }
.comment-form .submit {
  border: 1px solid var(--amber); background: transparent; color: var(--amber);
  font-family: var(--font-mono); font-size: 0.85rem; padding: 0.5rem 1.25rem;
  cursor: pointer; transition: all .2s;
}
.comment-form .submit:hover { background: var(--amber); color: var(--void); }

/* 404 */
.not-found { text-align: center; padding: 6rem 0; }
.not-found .code { font-family: var(--font-mono); font-size: 5rem; color: var(--amber); text-shadow: 0 0 1px rgba(255,176,0,0.8), 0 0 12px rgba(255,176,0,0.45); }
.not-found h1 { font-family: var(--font-mono); font-size: 1.5rem; margin: 1rem 0; color: var(--text); }
.not-found p { color: var(--muted); }

/* WP core alignment / gallery baseline */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--muted); font-family: var(--font-mono); font-size: 0.75rem; text-align: center; margin-top: 0.5rem; }
.screen-reader-text {
  position: absolute; margin: -1px; padding: 0; height: 1px; width: 1px;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
