/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px var(--gutter) 60px;
  border-top: none;
  overflow: hidden;
}

/* Centered duo: text + photo */
.hero__center {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  width: 100%;
  max-width: 1180px;
  z-index: 1;
}

/* Ghost BG number */
.hero__bg-num {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(200px, 30vw, 400px);
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  right: calc(var(--gutter) - 20px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

/* Social sidebar */
.hero__social {
  position: absolute;
  left: var(--gutter);
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 2;
  animation: fade-in-up 1s var(--ease-out) 1.2s both;
}

.hero__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.hero__social-link:hover {
  color: var(--accent-glow);
}

.hero__social-abbr {
  display: none;
}

.hero__social-bar {
  width: 1px;
  height: 60px;
  background: var(--border);
  margin: 0 auto;
}

/* Main content */
.hero__content {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  z-index: 1;
  animation: fade-in-up 1s var(--ease-out) 0.3s both;
}

.hero__top-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero__marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1px solid rgba(123, 47, 255, 0.4);
  color: var(--text-muted);
  border-radius: 2px;
  animation: badge-pulse 3s ease-in-out infinite;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-glow);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

/* Main name */
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 160px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 32px;
  position: relative;
}

.hero__name-line {
  display: block;
  position: relative;
  overflow: hidden;
}

.hero__name-line::before,
.hero__name-line::after {
  content: attr(data-glitch);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* Subtitle */
.hero__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero__subtitle-marker {
  color: var(--accent);
}

/* Photo */
.hero__photo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: fade-in-up 1s var(--ease-out) 0.6s both;
}

.hero__photo-frame {
  position: relative;
  width: clamp(280px, 38vw, 520px);
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.hero__photo-frame--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo-frame--fallback::after {
  content: 'QD';
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--text-faint);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hero__photo-frame:hover .hero__photo {
  filter: grayscale(60%) contrast(1.05);
  transform: scale(1.02);
}

.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(123, 47, 255, 0.15));
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}

.hero__photo-frame:hover .hero__photo-overlay {
  opacity: 1;
}

.hero__photo-label {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.3);
  opacity: 0;
  transition: opacity 0.4s;
}

.hero__photo-frame:hover .hero__photo-label {
  opacity: 1;
}

/* Scroll indicator — fixed bottom center */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fade-in-up 1s var(--ease-out) 1.4s both;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero__center {
    flex-direction: column-reverse;
    gap: 28px;
    padding-top: 20px;
  }

  .hero__photo-frame {
    width: 220px;
    aspect-ratio: 3/4;
  }

  .hero__social {
    display: none;
  }

  .hero__bg-num {
    opacity: 0.015;
    font-size: 40vw;
  }

  .hero__name {
    font-size: clamp(56px, 14vw, 90px);
  }
}
