/* ══════════ HERO ══════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 820px;
  padding: 120px 48px 80px;
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  display: block;
  letter-spacing: .02em;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  color: #fff;
}
.hero-title .highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ══════════ PROJECTS ══════════ */
#projects {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #383838;
}

.project-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.75) saturate(.8);
  transition: filter .3s, transform .4s;
}
.project-card:hover .project-img-wrap img {
  filter: brightness(.9) saturate(1);
  transform: scale(1.04);
}

.project-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,.65);
  color: var(--text);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.1);
}

.project-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid transparent;
  transition: border-color .2s;
}
.project-card:hover .project-body { border-color: var(--accent); }

.project-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.project-desc {
  font-size: .87rem;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
  margin-bottom: 20px;
}

.project-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.tag-pill {
  background: transparent;
  border: 1px solid var(--border);
  color: #555;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 2px 9px;
  border-radius: 100px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  transition: gap .15s;
  margin-top: auto;
}
.project-link:hover { gap: 10px; }

/* ══════════ ABOUT ══════════ */
#about {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: .93rem;
}
.about-text .btn-primary { margin-top: 10px; }

.about-features { display: flex; flex-direction: column; }

.about-feat {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
}
.about-feat:first-child { border-top: 1px solid var(--border); }

.about-feat h4 {
  font-weight: 600;
  font-size: .82rem;
  color: #fff;
  letter-spacing: .01em;
}
.about-feat p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ══════════ SCROLL-REVEAL ANIMATIONS ══════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════ FOOTER ══════════ */
footer {
  padding: 56px 48px 32px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-flex;
}
.footer-brand p {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.7;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.social-btn:hover {
  border-color: #444;
  color: var(--text);
}

.footer-col h5 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: #3a3a3a;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 860px) {
  .hero-content { padding: 100px 24px 64px; }
  #projects { padding: 64px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  #about { padding: 56px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; }
  footer { padding: 40px 24px 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 560px) {
  .about-feat { grid-template-columns: 1fr; gap: 4px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
}
