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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --line: #262626;
  --accent: #d8ff3e;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: auto; padding: 22px 24px;
  background: rgba(10,10,10,.88); backdrop-filter: blur(12px);
}
.logo { font-size: 25px; font-weight: 800; letter-spacing: -2px; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { color: var(--muted); font-size: 14px; }
.nav nav a:hover { color: var(--text); }
.nav-btn {
  border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px;
  font-size: 13px;
}
.hero {
  min-height: 80vh; max-width: var(--max); margin: auto; padding: 100px 24px;
  display: grid; grid-template-columns: 1.5fr .7fr; gap: 70px; align-items: center;
}
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(45px, 7vw, 82px); line-height: 1.02; letter-spacing: -4px; }
.hero h1 span { color: var(--accent); }
.hero h2 { margin-top: 20px; font-size: 23px; color: #ddd; font-weight: 500; }
.hero-text { max-width: 650px; color: var(--muted); margin-top: 20px; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.button { padding: 13px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.primary { background: var(--accent); color: #080808; }
.secondary { border: 1px solid var(--line); }
.hero-card {
  border: 1px solid var(--line); background: var(--surface); border-radius: 24px;
  padding: 35px; text-align: center;
}
.avatar {
  width: 150px; height: 150px; margin: 0 auto 25px; border-radius: 50%;
  display: grid; place-items: center; font-size: 45px; font-weight: 800;
  background: var(--accent); color: #080808;
}
.hero-card p { font-weight: 600; }
.hero-card small { color: var(--muted); }
.section { max-width: var(--max); margin: auto; padding: 110px 24px; }
.section.alt { max-width: none; padding-left: max(24px, calc((100vw - var(--max))/2 + 24px)); padding-right: max(24px, calc((100vw - var(--max))/2 + 24px)); background: var(--surface); }
.section h2 { font-size: clamp(35px, 5vw, 55px); letter-spacing: -2px; margin-bottom: 38px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; color: var(--muted); font-size: 17px; }
.cards, .projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card, .project { border: 1px solid var(--line); padding: 28px; border-radius: 14px; }
.card h3, .project h3 { margin-bottom: 10px; }
.card p, .project p { color: var(--muted); font-size: 14px; }
.projects { grid-template-columns: repeat(3, 1fr); }
.project-number { color: var(--accent); font-weight: 700; margin-bottom: 55px; }
.project span { display: inline-block; margin-top: 22px; color: #ddd; font-size: 12px; }
.contact { text-align: center; }
.contact > p:not(.eyebrow) { color: var(--muted); }
.email { display: inline-block; margin-top: 25px; font-size: clamp(18px, 3vw, 28px); font-weight: 600; color: var(--accent); }
.socials { display: flex; justify-content: center; gap: 25px; margin-top: 35px; color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); text-align: center; padding: 28px 20px; color: var(--muted); font-size: 12px; }

@media (max-width: 800px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-card { max-width: 300px; }
  .about-grid, .projects, .cards { grid-template-columns: 1fr; }
  .section { padding-top: 75px; padding-bottom: 75px; }
}
