/* Base Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  color: #111111;
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #ffffff;
  --bg-elev-1: #f6f6f6;
  --bg-elev-2: #f0f0f0;
  --text: #111111;
  --muted: #6b7280; /* neutral-500 */
  --accent: #111111; /* use black as subtle accent */
  --ring: rgba(0, 0, 0, 0.08);
  --shadow: rgba(17, 17, 17, 0.08);
  --radius: 14px;
}

main { display: block; }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem 1.25rem 5rem;
  background: var(--bg);
}

.hero__content {
  max-width: 900px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.hero__title {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #4b5563; /* neutral-600 */
  margin: 0 0 0.4rem;
}

.hero__desc {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #525252; /* neutral-600/700 */
  margin: 0 0 1.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px var(--ring);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.hero__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px var(--ring); }
.hero__cta:active { transform: translateY(0); box-shadow: 0 4px 16px var(--ring); }

/* Projects */
.projects { padding: 6rem 1rem 5rem; background: var(--bg); }
.repos { max-width: 900px; margin: 0 auto; }
.repo {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 120ms ease;
}
.repo:first-child { border-top: 1px solid #e5e7eb; }
.repo:hover { background-color: #fafafa; }
.repo:active { background-color: #f5f5f5; }
.repo__header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.75rem; justify-content: space-between; }
.repo__name { font-size: 1rem; font-weight: 600; margin: 0; color: #111111; }
.repo__topics { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.topic { display: inline-block; padding: 0.15rem 0.45rem; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 0.75rem; color: #4b5563; background: #ffffff; }
.repo__desc { margin: 0.35rem 0 0; color: #4b5563; font-size: 0.9rem; }

@media (max-width: 480px) {
  .repo { padding: 0.85rem 0; }
  .repo__name { font-size: 0.95rem; }
  .topic { font-size: 0.72rem; }
  .repo__desc { font-size: 0.88rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


