summaryrefslogtreecommitdiffstats
path: root/assets/css/components/hero.css
blob: 567a3e993b587554431f6235bb349603bf9fab5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* hero.css */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-py-mobile) 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .hero {
    padding: var(--section-py-desktop) 1.5rem;
  }
}

#matrix-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

html.theme-light #matrix-canvas {
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}

.hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }
}

.hero-text h1 {
  margin-bottom: 0.25rem;
}

.hero-role {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-bio {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 400px;
}


/* Ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-bio {
    max-width: 100%;
  }
}