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

#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: var(--nav-height) clamp(1.5rem, 5vw, 4rem) 2rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

/* ── Profile image ── */

.hero-image-wrap {
  flex-shrink: 0;
  position: relative;
  width: clamp(240px, 26vw, 340px);
  height: clamp(300px, 34vw, 440px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-hover);
  box-shadow: 0 8px 30px var(--shadow-image), 0 0 0 1px var(--border);
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-img-fade) 0%, transparent 50%);
  z-index: 1;
  border-radius: 20px;
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 20px;
  filter: grayscale(8%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.hero-image-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: var(--overlay-card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
}

.hero-image-tag-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.hero-image-tag-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* ── Background decoration ── */

.hero-grid-bg {
  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 80% 60% at 50% 50%, black 30%, transparent 100%);
  opacity: 0.4;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-soft) 0%, transparent 70%);
  top: 10%;
  right: -100px;
  pointer-events: none;
}

/* ── Badge ── */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: var(--accent-dim2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Heading ── */

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.1rem;
}

h1 .accent { color: var(--text-muted); }
h1 .muted  { color: var(--text-muted); }

/* ── Sub-text & actions ── */

.hero-sub {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--text-soft);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ── Stats ── */

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-val span {
  color: var(--text-muted);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
