:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #e5e5e5;
  --accent: #000000;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

/* Layout */
.wrap{
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* Navbar */
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.brand{
  font-weight:700;
}

.nav a{
  margin-left: 16px;
  color: var(--muted);
}

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

/* Hero */
.hero{
  padding: 48px 0 24px;
}

.hero-content{
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.hero-content > div{
  max-width: 600px;
}

.profile-pic{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

h1{
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.lead{
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 12px;
}

.text{
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

/* Buttons */
.cta{
  margin-top: 16px;
}

.btn{
  display:inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-right: 10px;
  font-weight:600;
}

.btn:hover{
  background: #f5f5f5;
}

/* Sections */
.section{
  margin-top: 40px;
}

h2{
  font-size: 20px;
  margin-bottom: 12px;
}

/* Projects */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card{
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.card h3{
  margin: 0 0 6px;
}

.card p{
  margin: 0 0 10px;
  color: var(--muted);
}

.link{
  font-weight:600;
  margin-right: 10px;
}

.link:hover{
  text-decoration: underline;
}

/* Footer */
.footer{
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 700px){
  .hero-content{
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-pic{
    width: 100px;
    height: 100px;
  }
}