:root {
  --bg: #0b0d10;
  --bg-alt: #111417;
  --surface: #16191d;
  --border: #262b31;
  --text: #eef1f4;
  --text-muted: #9aa3ad;
  --accent: #6ee7d4;
  --accent-strong: #34d0b6;
  --max-width: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; font-weight: 650; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.1rem; }
p { color: var(--text-muted); margin: 0 0 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 120px 0 90px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}
.tagline {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #06110e;
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-1px); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }

/* Work grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-media {
  height: 140px;
  border-radius: 8px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1b2a28, #14201f 60%, #0f1a19);
  border: 1px solid var(--border);
}
.card-link {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.skills li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  text-align: center;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.timeline li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.timeline li:last-child { border-bottom: none; padding-bottom: 0; }
.timeline-date {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Contact */
.contact { text-align: center; }
.contact .btn { margin-top: 8px; }
.social-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
}
.social-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}
.social-links a:hover { color: var(--text); border-color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 720px) {
  .nav { gap: 16px; }
  .about-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
}
