:root {
  --color-accent:     #aaff44;
  --color-muted:      #5a8a3a;
  --color-border:     #1e3a12;
  --color-text:       #c8f0a0;
  --color-bg:         #040d02;
  --color-bg-article: #091505;
}

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

body {
  font-family: "JetBrains Mono", "Fira Code", "Cascadia Code",
               ui-monospace, "Courier New", monospace;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

header {
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.subtitle {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.about-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.ascii-portrait {
  color: var(--color-muted);
  font-size: 0.36rem;
  line-height: 1.15;
  flex-shrink: 0;
}

.about-text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 600px) {
  .about-row {
    flex-direction: column;
  }

  .ascii-portrait {
    font-size: 0.32rem;
  }
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

h2::before {
  content: "$ ";
  color: var(--color-accent);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

section {
  margin-bottom: 2.5rem;
}

article {
  border-left: 3px solid var(--color-bg-article);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.15s ease;
}

article:hover {
  border-left-color: var(--color-accent);
}

p {
  margin-bottom: 0.75rem;
}

.period {
  color: var(--color-muted);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.period::before {
  content: "# ";
  color: var(--color-accent);
}

.bold {
  font-weight: 600;
}

.label {
  font-weight: 600;
}

ul.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

ul.tech-list li {
  font-size: 0.92rem;
}

ul.project-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

ul.project-list li::before {
  content: "→ ";
  color: var(--color-accent);
}

ul.connect-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  body {
    padding: 1.25rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  ul.connect-list {
    flex-direction: column;
    gap: 0.4rem;
  }
}
