/* Plain version — readable, accessible, no dependencies */

:root {
  --fg: #e8e8e8;
  --fg-dim: #999;
  --bg: #0e0e0e;
  --accent: #00cc35;
  --border: #2a2a2a;
  --link: #4db8ff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Banner ── */
.banner {
  position: sticky;
  top: 0;
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  margin: 0 -1.5rem;
}

.banner-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.1em 0.7em;
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.15s;
}
.banner-btn:hover { border-color: var(--accent); }

/* ── Header ── */
.site-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.name {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.tagline {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-bottom: 1.5rem;
}

.top-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--link);
  text-decoration: none;
  font-size: 0.9rem;
}
.top-nav a:hover { text-decoration: underline; }

/* ── Sections ── */
section {
  margin-bottom: 3.5rem;
  padding-top: 1rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}

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

p { color: var(--fg-dim); margin-bottom: 0.75rem; }

a { color: var(--link); }
a:hover { text-decoration: underline; }

/* ── About facts ── */
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

dt {
  color: var(--fg-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 0.1em;
}

dd { color: var(--fg); }

/* ── Projects ── */
.project-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-list li {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.project-list li:last-child { border-bottom: none; }

.project-list h3 a {
  color: var(--fg);
  text-decoration: none;
}
.project-list h3 a:hover { color: var(--accent); }

.tags {
  font-size: 0.78rem;
  color: var(--fg-dim);
  font-family: 'Courier New', monospace;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* ── Skills ── */
.skills-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.skills-cols h3 {
  font-size: 0.85rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.skills-cols ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--fg);
}

/* ── Contact ── */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
}

/* ── Footer ── */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--fg-dim);
}

footer a { color: var(--fg-dim); }
footer a:hover { color: var(--fg); }
