/* home.css — index page only */

/* ---- HERO ---- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  width: 100%;
}

.hero-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.hero-handle {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero-handle span { color: var(--faint); }

.hero-bio {
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  border-left: 1px solid var(--faint);
  padding-left: 1.25rem;
}

/* ---- SOCIALS ---- */
.socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 4rem;
}
.socials a {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
}
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.socials img { width: 100%; height: 100%; object-fit: contain; filter: brightness(2); }

/* ---- DIVIDER ---- */
.section-divider {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid var(--border);
}

/* ---- PROJECTS ---- */
.projects {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--faint);
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
}

.project-card {
  background: var(--card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--void);
  transition: height 0.3s ease;
}
.project-card:hover { background: #141a24; }
.project-card:hover::before { height: 100%; }

.project-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}
.project-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.project-link {
  font-size: 0.75rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.project-card:hover .project-link { color: var(--void); }
.project-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .projects { padding: 2.5rem 1.5rem 4rem; }
  .hero-name { font-size: 2.8rem; }
}