@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font: 'Share Tech Mono', 'Courier New', Courier, monospace;
  --bg:            #080806;
  --phosphor:      #c8860a;
  --phosphor-hi:   #f5b428;
  --phosphor-dim:  #7a5008;
  --phosphor-faint:#2a1a02;
  --glow:          rgba(200, 134, 10, 0.35);
  --max-width: 720px;
}

html { font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--phosphor);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-shadow: 0 0 8px var(--glow);
}

/* Subtle scanlines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 1000;
}

a {
  color: var(--phosphor-hi);
  text-decoration: none;
}
a:hover {
  color: var(--phosphor-hi);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--phosphor-faint);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-title {
  font-size: 0.9375rem;
  color: var(--phosphor-hi);
  letter-spacing: 0.05em;
}
.site-title::before { content: '> '; color: var(--phosphor-dim); }
.site-title:hover { text-decoration: none; color: #fff; text-shadow: 0 0 12px var(--glow); }

.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  font-size: 0.875rem;
  color: var(--phosphor-dim);
  letter-spacing: 0.04em;
  transition: color 0.1s;
}
.site-nav a::before { content: '['; }
.site-nav a::after  { content: ']'; }
.site-nav a:hover, .site-nav a.active {
  color: var(--phosphor-hi);
  text-decoration: none;
}

/* Main */
.site-main { flex: 1; padding: 4.5rem 0 3.5rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--phosphor-faint);
  padding: 1.75rem 0;
  font-size: 0.8125rem;
  color: var(--phosphor-dim);
}
.footer-links { display: flex; gap: 1.5rem; margin-bottom: 0.5rem; }
.footer-links a { color: var(--phosphor-dim); }
.footer-links a:hover { color: var(--phosphor-hi); text-decoration: none; }
.footer-copy::before { content: '// '; }

/* Hero */
.hero { margin-bottom: 4rem; }

.hero-prompt {
  font-size: 0.875rem;
  color: var(--phosphor-dim);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
}
.hero-prompt::before { content: 'jaytaph@nl:~$ '; color: var(--phosphor-dim); }

.hero h1 {
  font-size: 2.25rem;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--phosphor-hi);
  text-shadow: 0 0 16px var(--glow), 0 0 32px rgba(200,134,10,0.15);
}

/* Blinking cursor */
.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: var(--phosphor-hi);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  box-shadow: 0 0 8px var(--glow);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-sub {
  font-size: 1rem;
  color: var(--phosphor-dim);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.hero-sub::before {
  display: block;
  content: '//';
  color: var(--phosphor-faint);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.hero-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: transparent;
  color: var(--phosphor-hi);
  border: 1px solid var(--phosphor);
  font-family: var(--font);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.1s;
}
.btn::before { content: '> '; color: var(--phosphor-dim); }
.btn:hover {
  background: var(--phosphor);
  color: var(--bg);
  text-shadow: none;
  text-decoration: none;
}

/* Interest pills */
.home-interests { margin-top: 3rem; }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phosphor-dim);
  margin-bottom: 0.875rem;
}
.section-label::before { content: '## '; color: var(--phosphor-faint); }

.interest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.interest-pills span {
  font-size: 0.8125rem;
  color: var(--phosphor-dim);
  border: 1px solid var(--phosphor-faint);
  padding: 2px 10px;
  letter-spacing: 0.03em;
}
.interest-pills span::before { content: '#'; color: var(--phosphor-faint); margin-right: 2px; }

/* Single / About */
.single-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--phosphor-faint);
}
.single-header h1 {
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--phosphor-hi);
  letter-spacing: 0.02em;
}
.single-header h1::before {
  content: '// ';
  color: var(--phosphor-dim);
  font-size: 1rem;
}

/* Prose */
.prose {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--phosphor);
}
.prose h2 {
  font-size: 1rem;
  font-weight: normal;
  color: var(--phosphor-hi);
  margin: 2.5em 0 0.75em;
  letter-spacing: 0.04em;
}
.prose h2::before { content: '## '; color: var(--phosphor-dim); }
.prose h3 {
  font-size: 0.9375rem;
  font-weight: normal;
  color: var(--phosphor-hi);
  margin: 2em 0 0.5em;
}
.prose h3::before { content: '### '; color: var(--phosphor-dim); }
.prose p { margin: 1em 0; }
.prose ul, .prose ol { padding-left: 2em; margin: 1em 0; list-style: none; }
.prose li { margin: 0.4em 0; }
.prose li::before { content: '- '; color: var(--phosphor-dim); margin-left: -1.25em; }
.prose a { color: var(--phosphor-hi); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--phosphor-hi); font-weight: normal; }
.prose em { color: var(--phosphor-dim); font-style: normal; }
.prose blockquote {
  border-left: 2px solid var(--phosphor-faint);
  padding-left: 1rem;
  color: var(--phosphor-dim);
  margin: 1.5em 0;
}
.prose blockquote::before { content: '> '; color: var(--phosphor-faint); }
.prose code {
  font-family: var(--font);
  font-size: 0.9em;
  color: var(--phosphor-hi);
  background: var(--phosphor-faint);
  padding: 0.1em 0.35em;
}
.prose pre {
  background: var(--phosphor-faint);
  border: 1px solid var(--phosphor-faint);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5em 0;
}
.prose pre code { background: none; padding: 0; }
.prose hr {
  border: none;
  border-top: 1px solid var(--phosphor-faint);
  margin: 2.5em 0;
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.625rem; }
  .site-nav { gap: 1rem; }
}
