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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #1a1a1a;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #4a9eff;
  --accent-dim: #2a6abf;
  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w: 720px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
nav {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
nav .name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
nav .links { display: flex; gap: 1.5rem; }
nav .links a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.15s; }
nav .links a:hover, nav .links a.active { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.hero h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.hero .tagline { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero .details { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.hero .details strong { color: var(--text); font-weight: 500; }

/* Section */
section { padding: 2.5rem 0; }
section h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
section h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
section p, section li { font-size: 0.92rem; color: var(--text-muted); }
section ul { list-style: none; padding-left: 0; }
section ul li::before { content: "- "; color: var(--accent-dim); }

/* Current Work */
.current-work { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.current-work h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.75rem; }
.current-work ul li { font-size: 0.9rem; margin-bottom: 0.35rem; }

/* Quick Links */
.quick-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.quick-links a {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.15s;
}
.quick-links a:hover { border-color: var(--accent-dim); color: var(--text); text-decoration: none; }

/* Projects */
.project { border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; margin-bottom: 1.5rem; background: var(--surface); }
.project h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 0.25rem; }
.project .one-liner { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; font-style: italic; }
.project .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-dim); font-weight: 600; margin-top: 1rem; margin-bottom: 0.35rem; }
.project p { margin-bottom: 0.5rem; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.tech-stack span {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* Build Log */
.log-entry { border-left: 2px solid var(--border); padding-left: 1rem; margin-bottom: 1.25rem; }
.log-entry .date { font-family: var(--mono); font-size: 0.78rem; color: var(--accent-dim); margin-bottom: 0.25rem; }
.log-entry .title { font-weight: 600; font-size: 0.92rem; color: var(--text); margin-bottom: 0.25rem; }
.log-entry .body { font-size: 0.88rem; color: var(--text-muted); }
.log-entry .arrow { color: var(--accent-dim); }

/* Resume */
.resume-frame { width: 100%; height: 80vh; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.resume-actions { margin: 1rem 0; }
.resume-actions a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.resume-actions a:hover { border-color: var(--accent-dim); color: var(--text); text-decoration: none; }

/* Contact */
.contact-links { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.contact-links a { font-size: 0.92rem; }
.contact-note { margin-top: 2rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; font-size: 0.88rem; color: var(--text-muted); }

/* About */
.about-section { margin-bottom: 2rem; }
.about-section h3 { margin-bottom: 0.5rem; }
.about-section p { margin-bottom: 0.75rem; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 1.5rem 0; margin-top: 2rem; }
footer p { font-size: 0.78rem; color: var(--text-muted); text-align: center; }

/* Mobile */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.4rem; }
  .quick-links { flex-wrap: wrap; }
  nav .links { gap: 1rem; }
  nav .links a { font-size: 0.8rem; }
}
