@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f5f5f5;
  --muted: #9b9b9b;
  --line: #282828;
  --accent: #d8ff3e;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.nav-wrap {
  position: fixed; top: 0; width: 100%; z-index: 10;
  background: rgba(10,10,10,.82); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 24px; font-weight: 800; letter-spacing: -.06em; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; color: #bdbdbd; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: white; font-size: 24px; }
.hero { padding: 180px 0 120px; min-height: 90vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.eyebrow, .section-label, .date { font-family: "DM Mono", monospace; color: var(--accent); font-size: 12px; letter-spacing: .12em; }
h1 { margin: 18px 0 24px; font-size: clamp(48px, 6.2vw, 78px); line-height: 1.04; letter-spacing: -.065em; }
h1 span { color: #777; }
.hero-copy { max-width: 650px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; padding: 12px 20px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: .2s; }
.btn.primary { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.btn.primary:hover { transform: translateY(-2px); }
.btn.secondary:hover { border-color: #666; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.terminal-top { padding: 13px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 7px; }
.terminal-top i { width: 8px; height: 8px; border-radius: 50%; background: #555; }
pre { padding: 28px; overflow: auto; font: 13px/2 "DM Mono", monospace; color: #ddd; }
.string { color: var(--accent); }
.muted { color: #888; }
.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-alt { background: #0d0d0d; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
h2 { margin: 14px 0 26px; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.05em; }
.about-copy { color: var(--muted); font-size: 17px; max-width: 580px; }
.about-copy p + p { margin-top: 20px; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.skill-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; min-height: 130px; }
.skill-card strong { display: block; font-size: 18px; margin-bottom: 10px; }
.skill-card span { color: var(--muted); font-size: 13px; }
.timeline { max-width: 800px; margin-top: 40px; }
.timeline-item { display: grid; grid-template-columns: 20px 1fr; gap: 22px; padding: 0 0 48px 0; position: relative; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 13px; width: 1px; height: calc(100% - 13px); background: var(--line); }
.dot { width: 13px; height: 13px; border: 2px solid var(--accent); border-radius: 50%; margin-top: 4px; background: var(--bg); position: relative; z-index: 1; }
.timeline h3 { margin: 7px 0 8px; font-size: 20px; }
.timeline p:not(.date) { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.project-card { border: 1px solid var(--line); background: var(--surface); padding: 28px; min-height: 330px; display: flex; flex-direction: column; }
.project-card.featured { background: var(--surface-2); }
.project-number { font: 12px "DM Mono", monospace; color: var(--accent); }
.project-card h3 { font-size: 27px; margin: 45px 0 12px; letter-spacing: -.04em; }
.project-card p { color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tags span { border: 1px solid var(--line); padding: 4px 8px; color: #aaa; font: 11px "DM Mono", monospace; }
.project-card a { margin-top: auto; padding-top: 28px; color: var(--accent); font-size: 13px; font-weight: 700; }
.contact-box { border: 1px solid var(--line); background: var(--surface); padding: 55px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.contact-box p:not(.section-label) { color: var(--muted); max-width: 620px; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: #777; font-size: 12px; }
.footer { display: flex; justify-content: space-between; gap: 20px; }
@media (max-width: 850px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 45px; }
  .hero { padding-top: 140px; }
  .skill-grid, .project-grid { grid-template-columns: 1fr 1fr; }
  .contact-box { align-items: start; flex-direction: column; }
}
@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 70px; background: var(--surface); border: 1px solid var(--line); padding: 18px; flex-direction: column; gap: 14px; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .hero { padding-bottom: 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .skill-grid, .project-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .contact-box { padding: 28px; }
  .footer { flex-direction: column; }
}
