:root {
  --bg: #0a0a0c;
  --panel: #141419;
  --text: #e8e8ea;
  --muted: #8a8a93;
  --blue: #4ea1ff;
  --orange: #ff9f43;
  --border: #22222a;
}

body {
  max-width: 640px;
  margin: 12px auto 80px;
  padding: 0 20px;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

h1 { margin-bottom: 0; color: var(--orange); }
h2 { color: var(--blue); }
p.subtitle { color: var(--muted); margin-top: 4px; }
a { color: var(--blue); }
a:hover { color: var(--orange); }
section { margin-top: 40px; }

/* Home icon (top-right, links back to home) */
.home-icon { position: fixed; top: 18px; left: 18px; z-index: 10; }
.home-icon img {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid var(--border);
}
.home-icon:hover img { border-color: var(--orange); }

/* Tabs (each links to its own page/path) */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  margin-top: 0;
}
.tabs a {
  color: var(--muted);
  text-decoration: none;
  font-size: 2.3rem;
  font-weight: 700;
  padding: 10px 4px;
  border-bottom: 4px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--text); }
.tabs a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Project card (copy the .project block in projects.html to add more) */
.project {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 24px;
}
.project h3 { margin: 0 0 6px; color: var(--orange); font-size: 1.4rem; }
.project .tech { color: var(--muted); font-size: 0.95rem; margin: 6px 0; }
.project .tech span { color: var(--blue); }
.project .desc { margin: 10px 0 14px; }
.project .links a { margin-right: 18px; font-weight: 600; }

/* About: text on the left, headshot on the right */
.about-me {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.about-me__text { flex: 1; }
.about-me__photo {
  margin-top: 75px;
  width: 220px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}
@media (max-width: 620px) {
  .about-me { flex-direction: column; }
  .about-me__photo { width: 60%; align-self: center; }
}

/* Social links */
.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); text-decoration: none;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; font-weight: 600;
}
.socials a:hover { border-color: var(--orange); color: var(--orange); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
