/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Animated grid background */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 40%, transparent 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--gutter);
  padding-right: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  background: var(--bg-2);
}
.hero-badge .badge-icon {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-badge .badge-icon svg { width: 10px; height: 10px; color: var(--bg); }

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.35s forwards;
}
.hero-name .last-name {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.hero-name .accent-char { color: var(--accent); }

.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}
.hero-role .highlight {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.65s forwards;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}
.hero-social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all var(--t-med) var(--ease);
}
.hero-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
}
.hero-social-link svg { width: 18px; height: 18px; }

/* Hero image side */
.hero-visual {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-photo-wrap {
  position: relative;
  width: clamp(260px, 30vw, 400px);
  aspect-ratio: 3/4;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.4s forwards;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  border-radius: 16px;
  z-index: -1;
}

.hero-photo-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  font-size: 11px;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* Floating stat cards */
.hero-stat-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}
.hero-stat-card:nth-child(2) { animation-delay: 1.5s; }
.hero-stat-card:nth-child(3) { animation-delay: 3s; }

.hero-stat-card.card-1 {
  bottom: 20%;
  left: -40px;
  animation-delay: 0.5s;
}
.hero-stat-card.card-2 {
  top: 25%;
  right: -20px;
  animation-delay: 2s;
}

.hero-stat-card .card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-card .card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
  z-index: 2;
}
.hero-scroll-line {
  width: 40px; height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-top: 20px;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-item .sep {
  color: var(--accent);
  font-size: 16px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding-top: 90px;
  }
  .hero-content {
    padding: 40px var(--gutter) 20px;
  }
  .hero-visual {
    height: 60vw;
    min-height: 300px;
  }
  .hero-stat-card { display: none; }
  .hero-photo-wrap { width: clamp(200px, 50vw, 280px); }
  .hero-scroll { display: none; }
}
