/* ── hero.css ── */
#hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - 97px);
  padding: 0;
  position: relative;
}

.hero-left {
  padding: 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--ink-12);
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s ease both;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue-accent);
  flex-shrink: 0;
}

.name-wrap {
  opacity: 0;
  animation: fadeUp 0.7s 0.25s ease both;
  margin-bottom: 2rem;
}
.name-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 9.5vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.name-wrap h1 em {
  font-style: italic;
  color: var(--blue-accent);
}

.tagline {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-70);
  font-weight: 300;
  max-width: 430px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s ease both;
  margin-bottom: 4.5rem;
}

.btn-resume {
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
  transition: color var(--transition);
}
.btn-resume:hover { color: var(--blue-accent); }

.stats-row {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ink-12);
  opacity: 0;
  animation: fadeUp 0.7s 0.7s ease both;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--blue-deep);
  display: block;
  line-height: 1;
  font-style: italic;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
  display: block;
  margin-top: 6px;
}

/* ── Right panel ── */
.hero-right {
  background: var(--blue-darkest);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(168, 196, 232, 0.06);
  top: -120px;
  right: -160px;
  pointer-events: none;
}
.hero-right::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(168, 196, 232, 0.08);
  bottom: -60px;
  left: -80px;
  pointer-events: none;
}

.card-section-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(168, 196, 232, 0.4);
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.card-section-label::after {
  content: '';
  display: block;
  height: 1px;
  flex: 1;
  background: rgba(168, 196, 232, 0.12);
}

.project-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.pcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 196, 232, 0.1);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem 1.2rem 1.6rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  opacity: 0;
  animation: fadeUp 0.7s ease both;
}
.pcard:nth-child(1) { animation-delay: 0.45s; }
.pcard:nth-child(2) { animation-delay: 0.60s; }
.pcard:nth-child(3) { animation-delay: 0.75s; }
.pcard:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(168, 196, 232, 0.22);
  transform: translateX(3px);
}
.pcard::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue-accent);
}
.pcard:nth-child(2)::before { background: var(--blue-mid); }
.pcard:nth-child(3)::before { background: var(--blue-light); }

.pcard-tag {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.3rem;
}
.pcard-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #e4eef8;
  margin-bottom: 0.2rem;
}
.pcard-desc {
  font-size: 0.8rem;
  color: rgba(228, 238, 248, 0.45);
  line-height: 1.55;
  font-weight: 300;
}

.skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}
.skill-tag {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 196, 232, 0.5);
  background: rgba(168, 196, 232, 0.07);
  border: 1px solid rgba(168, 196, 232, 0.1);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.skill-tag:hover {
  color: rgba(168, 196, 232, 0.9);
  background: rgba(168, 196, 232, 0.13);
}

@media (max-width: 1024px) {
  .hero-left { padding: 4rem 3.5rem; }
}
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--ink-12); padding: 3rem 2.5rem; }
  .hero-right { padding: 3rem 2.5rem; }
  .stats-row { gap: 2rem; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-left { padding: 2.5rem 1.5rem; }
  .hero-right { padding: 2.5rem 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}