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

:root {
  --bg: #0c0c0e;
  --bg-elevated: #141416;
  --text: #e8e4df;
  --text-dim: #6b6660;
  --accent: #c9f06b;
  --accent-dim: rgba(201, 240, 107, 0.08);
  --accent-mid: rgba(201, 240, 107, 0.25);
  --warm: #f5a623;
  --mono: 'DM Mono', monospace;
  --serif: 'Instrument Serif', serif;
  --sans: 'Syne', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 12, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.nav-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}

.hero-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 32px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.4s forwards;
}

.hero-title .x { color: var(--accent); }

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(22px, 3.5vw, 36px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.4;
  opacity: 0;
  animation: slideUp 0.8s ease 0.6s forwards;
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s ease 0.8s forwards;
}

/* Buttons */
.btn {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  border-color: var(--text-dim);
  color: var(--text-dim);
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.hero-terminal {
  position: absolute;
  right: 40px;
  bottom: 60px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-align: right;
  line-height: 2;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.5s forwards;
}

.hero-terminal .val { color: var(--accent); }

/* Manifesto */
.manifesto {
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.manifesto-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.manifesto-text {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.5;
  color: var(--text);
}

.manifesto-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.9;
}

.manifesto-body p + p { margin-top: 20px; }

/* Featured */
.featured {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -1px;
}

.featured-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  transition: border-color 0.4s;
}

.featured-card:hover {
  border-color: rgba(201, 240, 107, 0.15);
}

.featured-ep-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 16px;
}

.featured-ep-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.featured-ep-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 28px;
}

.featured-visual {
  aspect-ratio: 16/9;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s;
}

.featured-visual:hover { border-color: var(--accent-mid); }

.featured-visual::before {
  content: '▶';
  font-size: 32px;
  color: var(--accent);
  z-index: 2;
  transition: transform 0.3s;
}

.featured-visual:hover::before { transform: scale(1.2); }

.featured-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,240,107,0.04) 0%, transparent 70%);
}

/* Projects */
.projects {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.project-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 40px;
  transition: all 0.4s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card:hover {
  border-color: rgba(201, 240, 107, 0.15);
  transform: translateY(-2px);
}

.project-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 16px;
}

.project-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
}

.project-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.project-card:hover .project-link { border-color: var(--accent); }

/* About */
.about {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat {
  border-left: 2px solid var(--accent-mid);
  padding-left: 20px;
}

.stat-value {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.about-text {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.9;
}

.about-text p + p { margin-top: 20px; }

.about-text strong { color: var(--text); font-weight: 400; }

/* Footer */
footer {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-left span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

/* Blog styles */
.blog-header {
  padding: 160px 0 80px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.blog-list {
  padding: 80px 0;
}

.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 32px 40px;
  transition: all 0.4s;
}

.post-item:hover {
  border-color: rgba(201, 240, 107, 0.15);
}

.post-item a {
  text-decoration: none;
  color: inherit;
}

.post-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.post-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.post-item:hover .post-title {
  color: var(--accent);
}

.post-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* Single post */
.post-header {
  padding: 160px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.post-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.post-header h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.post-content {
  padding: 80px 0;
  max-width: 720px;
}

.post-content h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 28px;
  margin: 48px 0 24px;
  color: var(--text);
}

.post-content h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  margin: 36px 0 16px;
  color: var(--text);
}

.post-content p {
  margin-bottom: 24px;
  color: var(--text-dim);
}

.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content a:hover {
  text-decoration: none;
}

.post-content code {
  font-family: var(--mono);
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
}

.post-content pre {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 24px;
  overflow-x: auto;
  margin: 32px 0;
}

.post-content pre code {
  background: none;
  padding: 0;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--text);
}

.post-content ul, .post-content ol {
  margin: 24px 0;
  padding-left: 24px;
  color: var(--text-dim);
}

.post-content li {
  margin-bottom: 8px;
}

.post-content img {
  max-width: 100%;
  margin: 32px 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.post-content strong {
  color: var(--text);
  font-weight: 400;
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  nav { padding: 20px 24px; }
  .nav-links { gap: 20px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .featured-card { grid-template-columns: 1fr; gap: 32px; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-terminal { display: none; }
  footer { flex-direction: column; gap: 24px; text-align: center; }
  .hero-title { letter-spacing: -1px; }
  .post-content { padding: 40px 0; }
}
