/* ── NAV ── */
.nav-inner {
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  background: var(--purple);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.nav-cta:hover {
  opacity: 0.85;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-2);
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: all 0.2s;
  border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
}

.nav-drawer a:hover {
  color: var(--text);
}

.nav-drawer .drawer-cta {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  background: var(--purple);
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  padding: 80px 0 72px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.5s ease infinite;
}

.hero-name {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.hero-name .accent {
  color: var(--purple);
}

.hero-tagline {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--purple);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  font-size: 13px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-2);
  border: 0.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover {
  border-color: var(--text-2);
  color: var(--text);
}

/* ── PROJECTS ── */
#work {
  padding: 64px 0;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.proj-card {
  background: var(--bg-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proj-card:hover {
  border-color: var(--purple-border);
}

.proj-card.placeholder {
  border-style: dashed;
  opacity: 0.55;
}

.proj-card.placeholder:hover {
  opacity: 0.75;
  border-color: var(--border);
}

.proj-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.proj-icon.purple {
  background: var(--purple-dim);
  color: #AFA9EC;
}

.proj-icon.teal {
  background: var(--teal-dim);
  color: #5DCAA5;
}

.proj-icon.amber {
  background: rgba(133, 79, 11, 0.18);
  color: #EF9F27;
}

.proj-icon.blue {
  background: rgba(24, 95, 165, 0.15);
  color: #85B7EB;
}

.proj-icon.gray {
  background: var(--bg-3);
  color: var(--text-3);
}

.proj-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.proj-card.placeholder .proj-title {
  color: var(--text-2);
}

.proj-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}

.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.proj-stack span {
  font-size: 11px;
  font-family: var(--mono);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-3);
  color: var(--text-2);
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--purple);
  opacity: 0.8;
  transition: opacity 0.15s;
}

.proj-link:hover {
  opacity: 1;
}

.proj-dev-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 10px;
  font-family: var(--mono);
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 0.5px solid rgba(245, 158, 11, 0.25);
  letter-spacing: 0.02em;
}

.proj-add-hint {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--mono);
  margin-top: 4px;
}

/* ── SKILLS ── */
#skills {
  padding: 64px 0;
}

.skills-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.skill-group-title {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-3);
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 12px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* ── ABOUT ── */
#about {
  padding: 64px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.about-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.85;
}

.about-text p+p {
  margin-top: 16px;
}

.about-text strong {
  color: var(--text);
  font-weight: 500;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-card {
  background: var(--bg-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 3px;
}

.stat-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.stat-icon {
  font-size: 18px;
  color: var(--purple);
  opacity: 0.7;
}

/* ── CONTACT ── */
#contact {
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.contact-card {
  background: var(--bg-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s;
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--purple-border);
}

.contact-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--purple-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: #AFA9EC;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-label {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.contact-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ── FOOTER ── */
.footer-dot {
  width: 6px;
  height: 6px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-3);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .hero-name {
    font-size: 36px;
  }

  #work,
  #skills,
  #about,
  #contact {
    padding: 48px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
  }
}