-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsite.css
More file actions
241 lines (222 loc) · 11.9 KB
/
site.css
File metadata and controls
241 lines (222 loc) · 11.9 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--navy: #242A41;
--navy-mid: #2F3652;
--navy-light: #283048;
--border-nav: #3A4566;
--blue: #6AC3EE;
--blue-dim: rgba(106,195,238,0.15);
--teal: #2dd4bf;
--ink: #0f0f0f;
--ink-2: #2c2c2a;
--ink-3: #5a5a56;
--ink-4: #9a9a94;
--surface: #ffffff;
--surface-2: #f7f6f2;
--surface-3: #eeecea;
--border: #e0deda;
--border-mid: #c8c5c0;
--serif: 'DM Serif Display', Georgia, serif;
--sans: 'DM Sans', system-ui, sans-serif;
--mono: 'DM Mono', monospace;
--radius: 8px;
--radius-lg: 14px;
--max: 1100px;
--max-prose: 680px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--surface-2); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-3); line-height: 1.75; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.875em; background: var(--surface-3); padding: 2px 6px; border-radius: 4px; color: var(--ink-2); }
/* ── NAV ── */
.site-nav {
position: sticky; top: 0; z-index: 100;
background: rgba(36,42,65,0.96);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--border-nav);
height: 56px;
display: flex; align-items: center;
padding: 0 2rem;
}
.nav-inner { max-width: var(--max); width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-brand:hover { text-decoration: none; opacity: 0.88; }
.nav-brand img { height: 30px; width: auto; }
.nav-brand-text { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.active { color: #fff; }
.nav-cta { font-size: 12px; font-weight: 600; background: var(--blue); color: #fff; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; text-decoration: none !important; transition: opacity 0.15s; white-space: nowrap; }
.nav-cta:hover { opacity: 0.85; }
/* ── HERO (dark navy) ── */
.hero {
background: var(--navy);
padding: 6rem 2rem 5rem;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute; inset: 0;
background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(74,158,218,0.07) 0%, transparent 70%);
pointer-events: none;
}
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; max-width: 720px; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.7); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 560px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-primary { font-family: var(--sans); font-size: 14px; font-weight: 600; background: var(--blue); color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none !important; transition: opacity 0.15s; border: none; cursor: pointer; }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost { font-family: var(--sans); font-size: 14px; font-weight: 500; background: none; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.2); padding: 11px 22px; border-radius: 8px; text-decoration: none !important; transition: border-color 0.15s, color 0.15s; cursor: pointer; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline { font-family: var(--sans); font-size: 14px; font-weight: 500; background: none; color: var(--blue); border: 1px solid var(--blue); padding: 11px 22px; border-radius: 8px; text-decoration: none !important; transition: background 0.15s; cursor: pointer; }
.btn-outline:hover { background: var(--blue-dim); }
/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.55); }
.section-mid { background: var(--surface-3); }
.section-white { background: var(--surface); }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; }
.section-eyebrow.light { color: rgba(74,158,218,0.8); }
/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
/* ── CARDS ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.card-dark { background: var(--navy-mid); border: 1px solid var(--border-nav); border-radius: var(--radius-lg); padding: 1.75rem; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.5); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; }
.card-accent { border-top: 3px solid var(--blue); }
/* ── SKILL CARDS ── */
.skill-card { background: var(--navy-mid); border: 1.5px solid var(--border-nav); border-radius: var(--radius-lg); padding: 1.75rem; transition: border-color 0.2s; }
.skill-card:hover { border-color: rgba(74,158,218,0.4); }
.skill-cmd { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--blue); background: rgba(74,158,218,0.1); border: 1px solid rgba(74,158,218,0.2); border-radius: 5px; padding: 3px 9px; display: inline-block; margin-bottom: 0.75rem; }
.skill-card h3 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.skill-card p { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.55; }
.skill-output { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border-nav); }
.skill-output span { color: rgba(74,158,218,0.7); }
/* ── STEPS ── */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-top: 2px; border: 1.5px solid var(--border-nav); }
.step-content h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.step-content p { font-size: 0.9rem; }
/* ── CTA BANNER ── */
.cta-banner { background: var(--navy); padding: 4rem 2rem; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.5); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
/* ── FOOTER ── */
.site-footer { background: var(--navy); border-top: 1px solid var(--border-nav); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-col .footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 0.75rem; }
.footer-brand-col .footer-brand img { height: 28px; width: auto; }
.footer-brand-col .footer-brand-text { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.footer-brand-col p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border-nav); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
/* ── HAMBURGER ── */
.nav-hamburger {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 6px;
margin-left: auto;
}
.nav-hamburger span {
display: block;
width: 22px;
height: 2px;
background: rgba(255,255,255,0.8);
border-radius: 2px;
transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ── MOBILE DRAWER ── */
.nav-mobile {
display: none;
position: fixed;
top: 56px;
left: 0; right: 0;
background: var(--navy);
border-bottom: 1px solid var(--border-nav);
padding: 1.25rem 2rem 1.5rem;
z-index: 99;
flex-direction: column;
gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
font-size: 15px;
color: rgba(255,255,255,0.65);
text-decoration: none;
padding: 0.65rem 0;
border-bottom: 1px solid rgba(255,255,255,0.06);
transition: color 0.15s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: #fff; }
.nav-mobile .nav-cta-mobile {
margin-top: 1rem;
display: inline-block;
background: var(--blue);
color: #fff !important;
padding: 11px 22px;
border-radius: 8px;
font-weight: 600;
font-size: 14px;
text-align: center;
border-bottom: none !important;
}
@media (max-width: 768px) {
.footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
.nav-links { display: none; }
.site-nav .nav-cta { display: none; }
.nav-hamburger { display: flex; }
}
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
/* ── PROSE ── */
.prose { max-width: var(--max-prose); }
.prose h2 { margin: 2.5rem 0 0.75rem; }
.prose h3 { margin: 1.75rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0.75rem 0 1rem 1.5rem; }
.prose ul li { margin-bottom: 0.4rem; color: var(--ink-3); }
/* ── DIVIDER ── */
hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.divider-nav { border-top-color: var(--border-nav); }
/* ── BADGE ── */
.badge { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.badge-blue { background: rgba(74,158,218,0.15); color: var(--blue); border: 1px solid rgba(74,158,218,0.3); }
.badge-teal { background: rgba(45,212,191,0.12); color: #2dd4bf; border: 1px solid rgba(45,212,191,0.25); }
/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-2 { animation: fadeUp 0.5s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.5s 0.2s ease both; }