:root {
  --bg: #f7f8fb;
  --ink: #101828;
  --muted: #667085;
  --card: #ffffff;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --line: #e4e7ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #e0ecff 0, transparent 34%), var(--bg);
  line-height: 1.6;
}

a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(247, 248, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; text-decoration: none; letter-spacing: -0.03em; }
nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--accent); }

main { width: min(1120px, 88vw); margin: 0 auto; }
.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 56px;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 14px;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); max-width: 900px; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
.intro { font-size: 20px; color: var(--muted); max-width: 760px; margin: 24px 0 0; }
.button-row { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--line);
}
.primary { background: var(--accent); color: white; border-color: var(--accent); }
.secondary { background: white; color: var(--ink); }
.hero-card, .project-card, .resume-block, .contact, .stats {
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(16, 24, 40, .06);
}
.hero-card {
  border-radius: 30px;
  padding: 34px;
}
.hero-card span { color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.hero-card p { color: var(--muted); margin-bottom: 0; }
.section { padding: 64px 0; }
.stats {
  border-radius: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stats strong { display: block; font-size: 30px; letter-spacing: -0.04em; }
.stats span { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }
.section-heading { margin-bottom: 26px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  border-radius: 24px;
  padding: 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-card p { color: var(--muted); }
.project-card span {
  color: var(--accent);
  background: var(--accent-soft);
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.split {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 48px;
  align-items: start;
}
.split p { color: var(--muted); font-size: 18px; }
.resume-block, .contact { border-radius: 28px; padding: 34px; }
.resume-list { display: grid; gap: 22px; margin-top: 28px; }
.resume-list div { border-top: 1px solid var(--line); padding-top: 22px; }
.resume-list p, .contact p { color: var(--muted); margin-bottom: 0; }
.contact a { color: var(--accent); font-weight: 800; }
footer { text-align: center; color: var(--muted); padding: 40px 20px; font-size: 14px; }

@media (max-width: 850px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid, .stats { grid-template-columns: 1fr; }
  nav { display: none; }
  main { width: min(100% - 32px, 1120px); }
}
