/* === Nav === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

/* === Main === */
main {
  position: relative;
  z-index: 1;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 48px;
  max-width: 1200px;
  margin: auto;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s both;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-name {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.2s both;
}

.hero-name .last {
  display: block;
  color: var(--text-faint);
  font-weight: 400;
}

.hero-role {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 36px;
  animation: fadeUp 0.6s 0.3s both;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.5s both;
}

.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-fill {
  background: var(--accent);
  color: #080808;
  font-weight: 700;
}

.btn-fill:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.6s 0.4s both;
}

.avatar-wrap {
  position: relative;
  width: 240px;
  height: 240px;
}

.avatar-offset {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  transform: translate(12px, 12px);
  opacity: 0.5;
}

.avatar-offset2 {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  transform: translate(22px, 22px);
  opacity: 0.2;
}

.avatar-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--bg3);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-initials {
  font-size: 72px;
  font-weight: 800;
  color: var(--text-faint);
  letter-spacing: -0.04em;
  user-select: none;
}

.avatar-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-label {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: var(--accent);
  color: #080808;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 6px;
}

.stats-row {
  display: flex;
  width: 100%;
  border: 1px solid var(--border);
}

.stat {
  flex: 1;
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-l {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === Section divider === */
.section-divider {
  height: 1px;
  border: none;
  background: var(--border);
  max-width: 1200px;
  margin: auto;
}

/* === Sections === */
section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 48px;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
}

.section-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* === Tech stack === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.tech-card {
  border: 1px solid var(--border);
  padding: 20px 16px;
  background: var(--bg2);
  transition: all 0.2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.tech-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.tech-card:hover {
  border-color: var(--border-strong);
  background: var(--bg3);
}

.tech-card:hover::after {
  width: 100%;
}

.tech-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  display: block;
}

.tech-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.tech-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* === Experience === */
.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.exp-item:first-child {
  border-top: 1px solid var(--border);
}

.exp-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.exp-dot {
  position: absolute;
  left: 108px;
  top: 40px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  transition: background 0.2s, border-color 0.2s;
}

.exp-item:hover .exp-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.exp-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.exp-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  max-width: 600px;
}

.contact-heading {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-heading span {
  color: var(--accent);
}

.contact-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: var(--bg2);
  transition: all 0.2s;
  font-size: 14px;
}

.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-link-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}



/* === Footer === */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* === Mobile responsive === */
@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    min-height: auto;
    gap: 48px;
  }

  .hero-right {
    order: -1;
  }

  .avatar-wrap {
    width: 180px;
    height: 180px;
  }

  section {
    padding: 60px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
  }
}
