-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdirtlens.html
More file actions
503 lines (432 loc) · 12.7 KB
/
Copy pathdirtlens.html
File metadata and controls
503 lines (432 loc) · 12.7 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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="DirtLENS Case Study" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet" />
<script src="https://kit.fontawesome.com/fa62c117c7.js" crossorigin="anonymous"></script>
<!-- Shared site styles -->
<link rel="stylesheet" href="styles.css" />
<title>DirtLENS Case Study</title>
<style>
:root {
/* Local neutral palette to echo the index, no blue accents */
--cs-bg: #f4f5f7;
--cs-surface: rgba(255, 255, 255, 0.96);
--cs-border: rgba(209, 213, 219, 0.9);
--cs-text-main: #151515;
--cs-text-muted: #6a6a6a;
--cs-primary: #111111;
--cs-radius-lg: 18px;
--cs-radius-md: 12px;
--cs-shadow-soft: 0 18px 40px rgba(15, 18, 30, 0.08);
--cs-shadow-subtle: 0 1px 0 rgba(15, 18, 30, 0.06);
/* Map into generic tokens so it matches the index/case-study behavior */
--primary: var(--cs-primary);
--clr-primary: var(--cs-primary);
--clr-fg: var(--cs-text-main);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', sans-serif;
margin: 0;
padding: 0;
color: var(--cs-text-main);
background-color: var(--cs-bg);
background-image: url('paperbg.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
}
img {
max-width: 100%;
display: block;
}
a {
color: inherit;
text-decoration: none;
}
ul {
list-style: none;
}
main {
flex: 1;
}
.container {
width: 100%;
max-width: 960px;
margin-inline: auto;
padding-inline: 1.5rem;
}
/* HEADER / NAV – match index + other case studies */
.site-header {
position: sticky;
top: 0;
z-index: 20;
backdrop-filter: blur(16px);
background: linear-gradient(
to bottom,
rgba(244, 245, 247, 0.96),
rgba(244, 245, 247, 0.9),
rgba(244, 245, 247, 0.82)
);
border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding-block: 0.9rem;
gap: 1rem;
}
.brand-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 12px;
background: #111111;
color: #f9fafb;
font-weight: 600;
letter-spacing: 0.06em;
font-size: 0.9rem;
box-shadow: var(--cs-shadow-subtle);
}
.nav {
display: flex;
align-items: center;
gap: 1.5rem;
font-size: 0.9rem;
}
.nav a {
position: relative;
padding-block: 0.2rem;
color: #4b4f57;
font-weight: 500;
}
.nav a::after {
content: "";
position: absolute;
left: 0;
bottom: -0.3rem;
width: 0;
height: 1.5px;
background: #111111;
border-radius: 999px;
transition: width 0.18s ease-out;
}
.nav a:hover::after,
.nav a:focus-visible::after {
width: 100%;
}
.nav a:focus-visible {
outline: 2px solid #111111;
outline-offset: 3px;
border-radius: 4px;
}
/* BASIC PAGE ELEMENTS */
header, main, footer {
background: transparent;
}
.footer {
text-align: center;
padding: 1.5em 1em 2em;
font-size: 0.9rem;
color: var(--cs-text-muted);
}
.footer__link {
text-decoration: underline;
text-underline-offset: 2px;
}
.scroll-container {
position: fixed;
bottom: 20px;
right: 20px;
}
.scroll-top a {
text-decoration: none;
font-size: 24px;
}
/* HERO: unboxed, just spaced content (no card/border/shadow) */
.project-hero {
max-width: 800px;
margin: 3.5em auto;
padding: 0 2.2rem;
text-align: left;
background: transparent;
border: none;
box-shadow: none;
border-radius: 0;
}
.project-hero__top-image {
margin: 0 -0.2rem 2rem -0.2rem;
height: 320px; /* fixed height for consistent crop */
border-radius: 16px;
overflow: hidden; /* crop anything beyond 320px */
}
.project-hero__top-image img {
width: 100%;
height: 100%; /* fill the wrapper height */
object-fit: cover; /* crop to fill */
border-radius: 16px;
}
.project-hero__grid {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 2em;
flex-wrap: wrap;
margin-bottom: 2em;
}
.project-hero__logo {
flex: 1;
min-width: 180px;
display: flex;
align-items: center;
justify-content: center;
}
.project-hero__logo img {
width: 100%;
height: auto;
max-height: 120px;
object-fit: contain;
}
.project-hero__meta {
flex: 1;
min-width: 220px;
text-align: left;
font-size: 0.98rem;
color: var(--cs-text-main);
}
.project-hero__meta p {
margin: 0.2em 0;
}
.project-hero__overview h2 {
font-size: 1.4rem;
margin-top: 1rem;
margin-bottom: 0.4rem;
letter-spacing: -0.02em;
color: var(--cs-primary);
}
.project-hero__overview p {
font-size: 1.02rem;
line-height: 1.7;
color: var(--cs-text-muted);
margin-top: 0.6em;
}
/* CASE STUDY SECTIONS: text and images only, no boxes */
.case-study-wrap {
max-width: 800px;
margin: 0 auto 3.5em auto;
padding: 0 1.5rem;
}
.case-study-section {
margin-top: 3rem;
margin-bottom: 0;
line-height: 1.7;
color: var(--cs-text-main);
}
.case-study-section h2 {
font-size: 1.4rem;
margin-bottom: 0.5em;
letter-spacing: -0.02em;
color: var(--cs-primary);
}
.case-study-section p {
margin-bottom: 1.5em;
font-size: 1.02rem;
line-height: 1.7;
color: var(--cs-text-muted);
}
/* Accent bar only, neutral (no blue), no gray background */
.case-study-section blockquote {
margin: 2em 0 0.5em 0;
padding-left: 1.1rem;
border-left: 4px solid var(--cs-primary);
background: transparent;
font-style: italic;
font-size: 0.98rem;
color: var(--cs-text-main);
}
.case-study-section blockquote .user-line {
display: block;
margin-top: 0.4rem;
font-style: normal;
font-size: 0.9rem;
color: var(--cs-text-muted);
}
.case-study-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2em;
align-items: flex-start;
}
.case-study-text {
flex: 1;
}
.case-study-single {
flex: 1;
width: 100%;
height: 220px;
border-radius: 16px;
overflow: hidden;
display: flex;
border: none;
background: transparent;
}
.case-study-single img {
width: 100%;
height: 100%;
object-fit: cover;
}
@media (max-width: 800px) {
.project-hero {
margin: 2.5em auto;
padding: 0 1.4rem;
}
.project-hero__top-image {
height: 240px; /* slightly shorter on mobile */
}
.case-study-wrap {
margin-bottom: 2.8em;
padding: 0 1.3rem;
}
.project-hero__grid {
flex-direction: column;
text-align: center;
}
.project-hero__meta {
text-align: center;
}
.case-study-grid {
grid-template-columns: 1fr;
}
.case-study-single {
height: 180px;
}
}
/* Fade-in animation hooks */
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.show {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body class="light" id="top">
<!-- HEADER – same as index + other case-study pages -->
<header class="site-header">
<div class="container header-inner">
<a href="index.html" class="brand-mark">DR</a>
<nav class="nav" aria-label="Primary">
<a href="index.html#projects">Projects</a>
<a href="index.html#skills">Skills</a>
<a href="index.html#about">About</a>
</nav>
</div>
</header>
<main>
<!-- HERO (unboxed, just spaced content) -->
<section class="project-hero fade-in">
<div class="project-hero__top-image">
<img src="dirtlensbroad.png" alt="DirtLENS hero image" />
</div>
<div class="project-hero__grid">
<div class="project-hero__logo">
<img src="dirtlens-logo.png" alt="DirtLENS logo" />
</div>
<div class="project-hero__meta">
<p><strong>Role:</strong> Product Designer</p>
<p><strong>Date:</strong> 2024</p>
<p><strong>Tools:</strong> Python, CAD, Open Source Computer Vision</p>
</div>
</div>
<div class="project-hero__overview">
<h2>Project Overview</h2>
<p>
DirtLENS is a compact, handheld device that helps field researchers and earth scientists capture
accurate soil color and stratigraphy data in real time. It records color readings along with GPS
coordinates to support efficient site documentation and sampling across diverse environments. All
information is formatted for easy export and is cleared after each scan to ensure data security,
speed, and readiness for the next measurement.
</p>
</div>
</section>
<!-- CASE STUDY CONTENT (no boxes) -->
<div class="case-study-wrap">
<section class="case-study-section fade-in">
<h2>Problem & Research</h2>
<p>
Field archaeologists often rely on manual soil color charts and handwritten notes, which can introduce
errors and inefficiencies. Interviews and field observations revealed the need for a single tool to
capture, store, and export soil data securely, without slowing down on-site work.
</p>
</section>
<section class="case-study-section fade-in">
<h2>Design & Prototyping</h2>
<div class="case-study-grid">
<div class="case-study-text">
<p>
Using rapid prototyping and open-source hardware, I developed a device housing a color sensor,
GPS module, and microcontroller in a compact body. Multiple iterations focused on keeping the
device ergonomic, simple to operate with one hand, and rugged enough to withstand field
conditions like dust, moisture, and variable light.
</p>
</div>
<div class="case-study-single fade-in">
<img src="promo1.png" alt="DirtLENS prototyping stage image" />
</div>
</div>
</section>
<section class="case-study-section fade-in">
<h2>Outcome & Reflection</h2>
<p>
DirtLENS demonstrates how a handheld soil color sensor can improve field data collection by delivering
immediate, accurate Munsell readings tied to GPS coordinates. The device helps researchers identify and
compare soil horizons and stratigraphic boundaries on site without juggling charts and notebooks. Future
updates will focus on secure data export formats, batch processing, and streamlined workflows to support
larger field teams and repeat measurements across multiple sites.
</p>
<blockquote>
“It’s a game-changer for field data collection — simple, secure, and reliable.”
<span class="user-line">— Jesse Heinrich, 23 — Archaeologist</span>
</blockquote>
</section>
</div>
</main>
<!-- FOOTER -->
<footer class="footer">
<a href="index.html" class="link footer__link">Back to Portfolio</a>
</footer>
<div class="scroll-container">
<div class="scroll-top">
<a aria-label="Scroll up" href="#top">
<i class="fas fa-arrow-up" aria-hidden="true"></i>
</a>
</div>
</div>
<!-- FADE-IN SCRIPT -->
<script src="fade-in.js"></script>
</body>
</html>