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

:root {
  --bg: #0e0e0f;
  --bg2: #141416;
  --bg3: #1a1a1d;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --text: #e8e6e0;
  --text-muted: #7a7870;
  --text-mid: #a8a49e;
  --accent: #c8f55a;
  --accent-dim: rgba(200,245,90,0.12);
  --accent-dim2: rgba(200,245,90,0.06);
  --mono: 'DM Mono', monospace;
  --display: 'Syne', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #0e0e0f; }

/* ── Layout ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(14,14,15,0.85);
}
.nav-inner {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,245,90,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-bio {
  max-width: 520px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-links {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #0e0e0f;
  font-weight: 500;
}
.btn-primary:hover { background: #d8ff70; }
.btn-secondary {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-location {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.hero-location-item {
  font-size: 12px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.hero-location-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Section ── */
section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}

/* ── Skills ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.skill-group {
  background: var(--bg2);
  padding: 24px;
  transition: background 0.2s;
}
.skill-group:hover { background: var(--bg3); }
.skill-group-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.skill-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.skill-tag {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 8px;
}
.skill-tag.developing {
  color: var(--accent);
  background: var(--accent-dim2);
  border-color: rgba(200,245,90,0.2);
}

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.project-card {
  background: var(--bg2);
  padding: 32px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
  position: relative;
}
.project-card:hover { background: var(--bg3); }
.project-card:hover .project-arrow { transform: translate(3px, -3px); color: var(--accent); }
.project-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 12px;
}
.project-num {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.project-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.project-arrow {
  font-size: 20px;
  color: var(--text-muted);
  transition: all 0.2s;
  flex-shrink: 0;
  margin-top: 4px;
}
.project-desc {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 580px;
}
.project-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.project-tag {
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 7px;
  letter-spacing: 0.02em;
}
.project-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px;
  color: var(--accent);
  margin-top: 16px;
}
.project-live .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 500; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 2px;
}
.timeline-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.timeline-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Contact ── */
.contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-mid);
  font-size: 13px;
  transition: all 0.2s;
}
.contact-row:first-child { border-top: 1px solid var(--border); }
.contact-row:hover { color: var(--accent); padding-left: 6px; }
.contact-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 60px;
}
.contact-value { flex: 1; }
.contact-arrow { margin-left: auto; font-size: 14px; opacity: 0.4; }

/* ── Footer ── */
footer {
  padding: 40px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
footer p {
  font-size: 11px;
  color: var(--text-muted);
}
footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
}
footer a:hover { color: var(--accent); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.5s ease both; }
.hero-headline { animation: fadeUp 0.5s 0.1s ease both; }
.hero-bio     { animation: fadeUp 0.5s 0.2s ease both; }
.hero-links   { animation: fadeUp 0.5s 0.3s ease both; }
.hero-location { animation: fadeUp 0.5s 0.4s ease both; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 120px 0 64px; }
  .hero-headline { letter-spacing: -0.02em; }
  .nav-links { display: none; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
