@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@500;600;700&family=Share+Tech+Mono&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0a0e12;
  --panel: #12181f;
  --panel-border: #212b33;
  --text: #b8c4c9;
  --text-dim: #6c7a82;
  --heading: #eef3f5;
  --accent: #39ff88;
  --accent-dim: #1f8f4d;
  --cyan: #4dc9ff;
  --amber: #e8a33d;
  --font-display: 'Oxanium', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* subtle scanline texture on the background only */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.012) 0px,
    rgba(255, 255, 255, 0.012) 1px,
    transparent 1px,
    transparent 3px
  );
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--heading);
  margin: 0 0 0.4em 0;
  letter-spacing: 0.01em;
}

code, .mono { font-family: var(--font-mono); }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- nav ---- */
.site-nav {
  border-bottom: 1px solid var(--panel-border);
  position: relative;
  z-index: 2;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-nav .brand {
  font-family: var(--font-mono);
  color: var(--heading);
  font-size: 15px;
}
.site-nav .brand span { color: var(--accent); }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 14px;
}
.site-nav ul li { margin-left: 24px; }
.site-nav ul li:first-child { margin-left: 0; }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--accent); text-decoration: none; }

/* ---- hero / prompt rail ---- */
.hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--panel-border);
}
.prompt-line {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 14px;
}
.prompt-line .cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
}
.hero .tagline {
  color: var(--text);
  font-size: 17px;
  max-width: 54ch;
  margin-top: 12px;
}
.hero .meta-row {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}
.hero .meta-row span,
.hero .meta-row a { margin-right: 18px; }
.hero .meta-row span:last-child,
.hero .meta-row a:last-child { margin-right: 0; }
.hero .meta-row a { color: var(--cyan); }

/* ---- neofetch panel ---- */
.neofetch {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.tux {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
  line-height: 1.25;
  margin: 0;
  white-space: pre;
}
.neofetch-info {
  margin: 0;
  flex: 1 1 280px;
}

/* ---- disclosure note ---- */
.disclosure {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  padding: 14px 0 34px;
  max-width: 62ch;
  line-height: 1.6;
}
.disclosure .hash { color: var(--accent-dim); margin-right: 6px; }

/* ---- section heading ---- */
.section-head {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin: 56px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--panel-border);
}
.section-head .n { color: var(--accent); }

/* ---- listing / cards ---- */
.entry {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.entry-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.entry h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.entry h3 a { color: var(--heading); }
.entry h3 a:hover { color: var(--accent); text-decoration: none; }
.entry p { margin: 6px 0 12px; font-size: 15px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--panel-border);
  color: var(--cyan);
  white-space: nowrap;
}
.status {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
}
.status.progress { color: var(--amber); border-color: #8a5f1e; }
.status.archived { color: var(--text-dim); border-color: var(--panel-border); }
.date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}
.readmore { font-family: var(--font-mono); font-size: 13px; }

/* ---- project page ---- */
.project-header { padding: 56px 0 32px; border-bottom: 1px solid var(--panel-border); }
.back-link { font-family: var(--font-mono); font-size: 13px; display: inline-block; margin-bottom: 22px; }
.project-header h1 { font-size: 32px; }
.project-body { padding: 40px 0 80px; }
.project-body h2 {
  font-size: 20px;
  margin-top: 42px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--panel-border);
}
.project-body p { font-size: 15.5px; }
.project-body ul { padding-left: 20px; }
.project-body li { margin-bottom: 8px; font-size: 15.5px; }

.stack-box {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--cyan);
  margin: 24px 0;
}
.stack-box .row { display: flex; gap: 10px; margin-bottom: 6px; }
.stack-box .row:last-child { margin-bottom: 0; }
.stack-box .label { color: var(--text-dim); min-width: 110px; }

blockquote {
  border-left: 2px solid var(--accent-dim);
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 13.5px;
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 28px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .hero { padding: 44px 0 32px; }
  .hero h1 { font-size: 30px; }
  .site-nav ul { gap: 14px; font-size: 13px; }
  .project-header { padding: 40px 0 24px; }
  .tux { font-size: 11px; }
  .neofetch { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; opacity: 1; }
}
