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

:root {
  --bg: #0d0d0d;
  --surface: #141414;
  --border: rgba(255,255,255,0.08);
  --accent: #e8613a;
  --text: #f0ede8;
  --muted: rgba(240,237,232,0.45);
  --tag-bg: rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* LAYOUT */
main { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

/* HERO */
.hero { padding: 10rem 0 5rem; }

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero-bio {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2.25rem;
}

.hero-bio strong { color: var(--text); font-weight: 500; }

/* BUTTONS */
.btn-row { display: flex; gap: 0.875rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.35rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.18s;
}

.btn-primary { background: var(--accent); color: #fff; border: none; }
.btn-primary:hover { background: #d45230; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 2rem; }

.tag {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* SECTIONS */
section { padding: 4.5rem 0; border-top: 1px solid var(--border); }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

/* PROJECTS */
.projects-list { display: flex; flex-direction: column; gap: 1rem; }

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  transition: border-color 0.2s;
}

.project-card:hover { border-color: rgba(232,97,58,0.3); }
.project-card.active { border-color: rgba(232,97,58,0.22); }

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.project-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.badge {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-live {
  background: rgba(232,97,58,0.12);
  color: var(--accent);
  border: 1px solid rgba(232,97,58,0.25);
}

.badge-paused {
  background: var(--tag-bg);
  color: var(--muted);
  border: 1px solid var(--border);
}

.project-desc {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.project-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* EXPERIENCE */
.exp-list { display: flex; flex-direction: column; }

.exp-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.exp-item:first-child { padding-top: 0; }
.exp-item:last-child { border-bottom: none; padding-bottom: 0; }

.exp-date { font-size: 0.78rem; color: var(--muted); padding-top: 0.15rem; line-height: 1.5; }

.exp-role {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.exp-company { font-size: 0.82rem; color: var(--accent); margin-bottom: 0.75rem; }

.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }

.exp-bullets li {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.exp-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

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

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeUp 0.5s ease both; }
.hero h1      { animation: fadeUp 0.5s 0.08s ease both; }
.hero-bio     { animation: fadeUp 0.5s 0.16s ease both; }
.btn-row      { animation: fadeUp 0.5s 0.24s ease both; }

/* RESPONSIVE */
@media (max-width: 600px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.25rem; }
  main { padding: 0 1.25rem; }
  .hero { padding: 7rem 0 4rem; }
  .exp-item { grid-template-columns: 1fr; gap: 0.4rem; }
}
