Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
154 lines (153 loc) · 11.5 KB
/
Copy pathstyle.css
File metadata and controls
154 lines (153 loc) · 11.5 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');
:root { --blue: #237daa; --blue-dark: #195b7c; --gold: #fcbc1d; --ink: #252a30; --muted: #626b73; --paper: #f1f3f4; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; overscroll-behavior-y: none; }
body { margin: 0; color: var(--ink); background: white; font: 18px/1.7 'Source Sans 3', 'Segoe UI', sans-serif; }
h1, h2, h3, .brand, .nav-links, .button, .eyebrow { font-family: Montserrat, 'Segoe UI', sans-serif; }
h1, h2, h3, h4 { line-height: 1.25; }
h2 { margin: 0 0 24px; font-size: clamp(30px, 3.3vw, 42px); font-weight: 800; letter-spacing: -1.2px; }
h3 { font-size: 22px; margin: 0 0 15px; }
h4 { font-size: 19px; margin: 28px 0 10px; }
p { margin: 0 0 20px; }
a { color: var(--blue-dark); text-underline-offset: 4px; }
a:hover { color: #9a6700; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; dynamic-range-limit: standard; }
ul { padding-left: 23px; }
li + li { margin-top: 9px; }
.container { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 900px; }
.section { padding: 100px 0; }
.eyebrow { color: var(--blue-dark); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 17px; }
.section-heading { text-align: center; margin: 0 auto 52px; max-width: 720px; }
.section-heading > p:last-child { color: var(--muted); }
.skip-link { position: fixed; left: 16px; top: -90px; z-index: 100; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.site-nav { position: fixed; inset: 0 0 auto; z-index: 20; padding: 24px 0; color: white; background: linear-gradient(#101820aa, transparent); transition: padding .2s, background .2s; }
.site-nav.scrolled, .site-nav.menu-open { padding: 16px 0; background: #212529; box-shadow: 0 2px 12px #0002; }
.nav-inner { width: min(1200px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: -.6px; color: white; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: white; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--gold); }
.menu-toggle { display: none; }
.hero { min-height: 760px; min-height: max(760px, 100svh); display: grid; place-items: center; position: relative; background: linear-gradient(180deg, #07121bbf, #07121b99 60%, #07121ba6), url('assets/images/madison-winter.jpg') center center / cover; color: white; text-align: center; padding: 140px 24px 120px; }
.hero-content { max-width: 1000px; text-shadow: 0 2px 25px #0008; }
.hero .eyebrow { color: var(--gold); font-size: 13px; letter-spacing: 3px; }
h1 { font-size: clamp(48px, 7.5vw, 96px); font-weight: 800; letter-spacing: -3px; margin: 16px 0; }
.hero-subtitle { font-size: clamp(22px, 3vw, 32px); font-style: italic; margin-bottom: 10px; }
.hero-interests { color: #f0f2f4; font-size: 18px; margin-bottom: 42px; }
.hero-interests span { color: var(--gold); margin: 0 9px; }
.button { display: inline-flex; gap: 30px; align-items: center; justify-content: center; padding: 18px 29px; font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 3px; text-shadow: none; transition: background .2s, transform .2s; }
.button-light { background: #fff; color: var(--ink); }
.button:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.hero-scroll { position: absolute; bottom: 32px; color: white; text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.hero-scroll span { display: block; font-size: 22px; }
.affiliations { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 22px 56px; padding: 32px; border-bottom: 1px solid #e5e8eb; color: #69727a; font-size: 15px; font-weight: 700; }
.about-section, .muted-section { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 330px 1fr; align-items: center; gap: 80px; }
.about-photo img { width: 290px; height: 290px; border-radius: 50%; object-fit: cover; border: 8px solid white; margin: 0 auto 24px; }
.about-photo p { text-align: center; font-size: 14px; color: var(--muted); }
.inline-links { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 28px; font-weight: 700; }
.interest-band { background: var(--blue); color: white; padding: 80px 0; text-align: center; }
.interest-band .eyebrow { color: #fff1c6; }
.interest-band h2 { max-width: 740px; margin-inline: auto; }
.interest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 48px; }
.interest-grid > div > span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border: 2px solid #ffffff70; border-radius: 50%; font: 700 22px Montserrat, sans-serif; color: var(--gold); }
.interest-grid h3 { font-size: 19px; }
.interest-grid p { font-size: 17px; color: #f0f6f9; margin: 0; }
.project-grid { display: grid; gap: 24px; }
.project { border: 1px solid #dce2e6; border-top: 3px solid var(--blue); padding: 32px 38px 0; scroll-margin-top: 100px; }
.project-intro { position: relative; padding-right: 80px; }
.project-number { position: absolute; right: 0; top: -7px; color: #d7e1e6; font: 700 52px/1 Montserrat, sans-serif; }
.project-intro .eyebrow { margin-bottom: 9px; }
.project-intro h3 { font-size: 25px; }
.project-intro p:last-child { max-width: 800px; color: var(--muted); }
details { border-top: 1px solid #d8dfe3; margin-top: 24px; }
summary { padding: 19px 0; cursor: pointer; color: var(--blue-dark); font-size: 15px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 24px; transition: transform .2s; }
details[open] > summary span { transform: rotate(45deg); }
.case-body { padding: 5px 0 30px; }
.details { color: var(--muted); font-size: 16px; }
.project-media { margin-top: 38px; padding-top: 28px; border-top: 1px solid #dce2e6; }
.project-media h2 { font-size: 25px; letter-spacing: -.5px; }
figure { margin: 20px 0 0; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }
iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: none; display: block; }
.localization-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.localization-gallery img { width: 100%; max-height: 550px; object-fit: contain; background: #f1f3f4; }
.timeline { border-left: 2px solid #d4dde2; padding-left: 42px; }
.timeline-entry { position: relative; margin-bottom: 46px; }
.timeline-entry::before { content: ''; position: absolute; left: -51px; top: 6px; width: 16px; height: 16px; background: var(--blue); border: 4px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 2px var(--blue); }
.writing { padding: 30px; background: var(--paper); border-left: 4px solid var(--gold); }
.writing p { margin-bottom: 0; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.education-entry { border-top: 3px solid var(--gold); padding-top: 28px; }
.education-entry h3 { font-size: 24px; }
.contact-section { background: #212a32; color: white; text-align: center; }
.contact-section .eyebrow { color: var(--gold); }
.contact-section p:not(.eyebrow) { color: #d1d8de; }
.contact-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px 32px; margin-top: 32px; }
.contact-email { display: inline-block; font-size: clamp(19px, 3vw, 30px); color: white; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-decoration-color: #ffffff60; text-underline-offset: 7px; }
.contact-email:hover { color: var(--gold); }
.linkedin-button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid #ffffff50; border-radius: 8px; background: #ffffff08; color: white; font: 600 14px/1.4 Montserrat, 'Segoe UI', sans-serif; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.linkedin-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: white; color: #212a32; font: 700 17px/1 Arial, sans-serif; letter-spacing: -1px; }
.linkedin-arrow { color: #bbcbd7; font-size: 18px; margin-left: 6px; }
.linkedin-button:hover { background: #ffffff15; border-color: #ffffffa0; color: white; transform: translateY(-2px); }
footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1200px; margin: auto; padding: 28px 32px; font-size: 13px; color: var(--muted); }
@media (min-width: 1400px) { .hero { background-attachment: fixed; } }
@media (max-width: 900px) {
.nav-links { gap: 16px; }
.brand { font-size: 19px; }
.about-grid { grid-template-columns: 240px 1fr; gap: 40px; }
.about-photo img { width: 230px; height: 230px; }
.interest-grid { gap: 25px; }
}
@media (max-width: 700px) {
.contact-actions { flex-direction: column; gap: 24px; }
body { font-size: 17px; }
.container, .nav-inner { width: calc(100% - 40px); }
.section { padding: 65px 0; }
.site-nav { padding: 16px 0; background: #212529; }
.nav-inner { flex-wrap: wrap; gap: 12px; }
.nav-links { width: 100%; flex-wrap: wrap; padding-top: 10px; gap: 16px 22px; }
.js .menu-toggle { display: flex; align-items: center; gap: 12px; background: transparent; color: white; border: 1px solid #ffffff70; border-radius: 3px; padding: 8px 11px; font: inherit; font-size: 12px; }
.js .nav-links { display: none; }
.js .menu-open .nav-links { display: flex; padding-bottom: 8px; }
.hero { min-height: 690px; min-height: max(690px, 92svh); }
h1 { letter-spacing: -2px; }
.hero .eyebrow { font-size: 11px; letter-spacing: 2px; }
.hero-interests { max-width: 340px; margin-inline: auto; font-size: 16px; }
.affiliations { gap: 15px 24px; padding: 25px 20px; font-size: 12px; }
.about-grid { grid-template-columns: 1fr; gap: 30px; }
.about-photo img { width: 210px; height: 210px; }
.interest-band { padding: 65px 0; }
.interest-grid { grid-template-columns: 1fr; gap: 35px; max-width: 380px; margin-inline: auto; }
.interest-grid > div > span { margin-bottom: 15px; }
.project { padding: 25px 22px 0; }
.project-intro { padding-right: 0; }
.project-number { position: static; float: right; font-size: 32px; margin-left: 12px; }
.project-intro h3 { font-size: 22px; }
.education-grid { grid-template-columns: 1fr; gap: 35px; }
.timeline { padding-left: 27px; }
.timeline-entry::before { left: -36px; }
.localization-gallery { grid-template-columns: 1fr; }
footer { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { transition: none !important; }
.hero { background-attachment: scroll; }
}
@media print {
.site-nav, .hero-scroll, .menu-toggle, .skip-link { display: none; }
.hero { min-height: 0; padding: 30px; background: none; color: black; }
.hero-content { text-shadow: none; }
.hero-interests, .hero .eyebrow { color: black; }
.section { padding: 25px 0; }
.interest-band, .contact-section { background: white; color: black; }
.project, .education-entry { break-inside: avoid; }
}