:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #0a0a0a;
  --green: #69ff86;
  --green-dim: #31b94e;
  --green-dark: #153e20;
  --white: #e8ffe9;
  --max: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 300px;
  background: var(--black);
  color: var(--green);
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(105, 255, 134, 0.018) 4px);
}

a { color: var(--white); }

a:hover, a:focus-visible {
  color: var(--black);
  background: var(--green);
  outline: 2px solid var(--green);
  outline-offset: 2px;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .5rem .75rem;
  background: var(--green);
  color: var(--black);
}

.skip-link:focus { top: 1rem; }

.screen {
  width: min(calc(100% - 2rem), var(--max));
  margin: 1rem auto 2.5rem;
  border: 1px solid var(--green-dim);
  background: var(--panel);
  box-shadow: 0 0 28px rgba(49, 185, 78, .08);
}

.system-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem .75rem;
  background: var(--green);
  color: var(--black);
  font-weight: 700;
}

main, footer { padding: clamp(1rem, 4vw, 2.5rem); }

.boot { padding: 1rem 0 2rem; }

.muted { color: var(--green-dim); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: .3rem;
  color: var(--white);
  font-size: clamp(2.25rem, 8vw, 5.25rem);
  line-height: .92;
  letter-spacing: -.07em;
}

.role {
  max-width: 650px;
  margin: 1rem 0 2rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.facts { margin: 0; }

.facts div {
  display: grid;
  grid-template-columns: 9ch 1fr;
  gap: 1rem;
}

dt { color: var(--green-dim); }
dd { margin: 0; color: var(--white); }

.command-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding: 1rem;
  border: 1px dashed var(--green-dim);
}

.prompt { color: var(--green-dim); }

.command-menu a, .contact-links a, .project a { font-weight: 700; }

.section {
  padding-top: 3.5rem;
  scroll-margin-top: 1rem;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--green-dim);
}

.section-title h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
}

.section-title span { color: var(--green-dim); font-size: .875rem; }

.project-list { border-bottom: 1px solid var(--green-dark); }

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 2fr) auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-top: 1px solid var(--green-dark);
}

.project:first-child { border-top: 0; }

.project-head { min-width: 0; }
.project h3 { margin-bottom: .2rem; color: var(--white); font-size: 1rem; overflow-wrap: anywhere; }
.project p { margin: 0; }
.file-type { color: var(--green-dim); font-size: .8rem; }
.project a { white-space: nowrap; }
.directory-note { margin-top: 1rem; color: var(--green-dim); font-size: .875rem; }
.text-file p { max-width: 760px; margin: 1.25rem 0 0; color: var(--white); }
.prompt-line { margin: 1.25rem 0; }
.prompt-line span { color: var(--green-dim); }
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }

footer {
  display: flex;
  justify-content: space-between;
  padding-top: 3.5rem;
  color: var(--green-dim);
}

footer p { margin: 0; }
.cursor { animation: blink 1s steps(1, end) infinite; }

@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
}

@media (max-width: 720px) {
  .screen { width: 100%; margin: 0; border-left: 0; border-right: 0; }
  .system-bar { font-size: .8rem; }
  .project { grid-template-columns: 1fr; gap: .55rem; }
  .section-title { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .facts div { grid-template-columns: 8ch 1fr; }
  footer { gap: 1rem; }
}
