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

:root{
  --fg:#1a1a1a;
  --bg:#fafafa;
  --accent:#0070f3;
  --maxw:420px;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html,body{
  margin: 0;
  padding: 0;
  background:var(--bg);
  color:var(--fg);
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Layout and Typography (from main index.html) */
body{
  height:100%;
  display:flex;
  align-items:flex-start;     /* top align vertically */
  justify-content:center;     /* center horizontally */
  padding:48px;
}
main{
  max-width:var(--maxw);
  width:100%;
  text-align:left;
}
img.portrait{
  width:80px;
  height:80px;
  border-radius:100px;
  object-fit:cover;
  margin-bottom:28px;
  display:block;
}
h1{
  font-size:1.8rem;
  line-height:1.0;
  margin:0 0 18px;
  font-weight:500;
}
p, li, label {
  font-size:0.9rem;
  line-height:1.5;
  margin:0 0 18px;
  font-weight:500;
}
a{
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
}
a:hover{text-decoration:underline;}

.vibe-link {
  color: var(--fg);
  text-decoration: underline;
  font-weight: 500;
}
.vibe-link:hover {
  text-decoration: none;
}

/* Projects section */
section#projects{
  padding:24px 0 96px;
}
section#projects h2{
  margin:0 0 16px;
  font-size:1.3rem;
  font-weight:500;
  line-height:1.0;
}

ul.project-list{
  list-style:none;
  padding:0;
  margin:0;
}
ul.project-list li{
  margin-bottom:16px;
}

.site-footer {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #666666;
  margin-top: 48px;
  margin-bottom: 8px;
}

/* Navigation */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 48px 48px 0 48px;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.nav-container {
  max-width: var(--maxw);
  width: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

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

/* Reach out button */
.reach-out-btn {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.reach-out-btn:hover {
  background: #333333;
  text-decoration: none;
}

/* Adjust body padding to account for fixed nav */
body {
  padding-top: 120px;
}

@media (max-width: 600px) {
  body {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
  }
  main {
    max-width: 100%;
  }
  .controls {
    justify-content: flex-start !important;
  }
  .nav-bar {
    padding: 15px 15px 0 15px;
  }
  body {
    padding-top: 80px;
  }
}