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

:root {
  color-scheme: dark;
  --bg: #060b06;
  --bg-2: #0b1a10;
  --surface: #0e1f13;
  --surface-2: #112817;
  --neon: #62ff7a;
  --neon-soft: rgba(98, 255, 122, 0.55);
  --text: #d7ffe0;
  --muted: #8fd9a0;
  --accent: #41d86b;
  --border: rgba(98, 255, 122, 0.2);
  --shadow: rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Share Tech Mono", "VT323", monospace;
  color: var(--text);
  background: radial-gradient(circle at top left, #0f2b17 0%, transparent 40%),
    radial-gradient(circle at 15% 60%, rgba(16, 52, 28, 0.6) 0%, transparent 55%),
    linear-gradient(135deg, var(--bg) 0%, #020502 100%);
  letter-spacing: 0.02em;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(0, 0, 0, 0.08) 50%
  );
  background-size: 100% 4px;
  mix-blend-mode: soft-light;
  opacity: 0.45;
  z-index: 0;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(12px);
  background: rgba(5, 12, 6, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px var(--shadow);
}

.brand {
  padding: 2.5rem 0 1rem;
}

.brand__tag {
  font-family: "VT323", monospace;
  font-size: 1.25rem;
  color: var(--muted);
}

.brand__title {
  margin: 0.3rem 0 0.2rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav__link:hover {
  color: var(--neon);
  border-color: var(--neon-soft);
  box-shadow: 0 0 12px rgba(98, 255, 122, 0.2);
}

.nav__link--active {
  color: var(--bg);
  background: var(--neon);
  border-color: var(--neon);
}

.main {
  position: relative;
  z-index: 1;
  padding: 3rem 0 4rem;
  animation: fadeIn 0.7s ease forwards;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero__text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.kicker {
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__panel {
  display: flex;
  justify-content: center;
}

.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  width: min(420px, 100%);
}

.terminal__title {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.terminal__body {
  margin: 0;
  padding: 1.2rem 1rem 1.6rem;
  font-family: "VT323", monospace;
  font-size: 1.15rem;
  color: var(--neon);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-soft);
}

.panel {
  margin-top: 2.5rem;
  background: rgba(9, 22, 13, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.panel__header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.panel__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.list {
  list-style: square;
  padding-left: 1.2rem;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.pubs {
  display: grid;
  gap: 1.4rem;
  padding-left: 1.2rem;
}

.pubs__title {
  font-weight: 600;
}

.pubs__meta,
.blog-item__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  color: var(--neon);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--neon);
  color: var(--bg);
  background: var(--neon);
  text-decoration: none;
  box-shadow: 0 0 18px rgba(98, 255, 122, 0.25);
}

.button--ghost {
  background: transparent;
  color: var(--neon);
  border-color: var(--neon-soft);
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-item {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  background: rgba(8, 19, 11, 0.8);
}

.timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline__year {
  color: var(--neon);
  font-size: 1.1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  background: rgba(4, 10, 5, 0.95);
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer__label {
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.footer__text a {
  color: var(--neon);
  text-decoration: none;
}

.footer__text a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .brand {
    padding-top: 2rem;
  }

  .nav {
    padding-bottom: 1.2rem;
  }

  .timeline__item {
    grid-template-columns: 1fr;
  }
}
