-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
241 lines (224 loc) · 23.1 KB
/
Copy pathstyle.css
File metadata and controls
241 lines (224 loc) · 23.1 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
/*
FOGLIO DI STILE DEL PORTFOLIO
Modifica soprattutto le variabili dentro :root: sono il punto centrale per
colori, font e contrasto. Le regole successive descrivono layout e componenti.
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root {
/* PALETTE SCURA: --acid e' il rosso principale del sito. */
--bg: #101311;
--bg-soft: #151a16;
--panel: #1b211c;
--panel-bright: #232c23;
--ink: #e8eee5;
--muted: #9ba79b;
--line: rgba(232, 238, 229, 0.16);
--acid: #ff3d4f;
--cyan: #ff8490;
--orange: #ff706e;
--serif: Georgia, 'Times New Roman', serif;
--sans: 'Space Grotesk', sans-serif;
--mono: 'DM Mono', monospace;
}
body[data-theme='light'] {
/* PALETTE CHIARA: il pulsante tema in alto attiva queste variabili. */
--bg: #f5f0ed;
--bg-soft: #ebe4e0;
--panel: #fffaf7;
--panel-bright: #ead9d5;
--ink: #24191b;
--muted: #756568;
--line: rgba(36, 25, 27, 0.18);
}
/* REGOLE BASE E ACCESSIBILITA'. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--sans); line-height: 1.6; }
body::before { position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ''; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.section-shell { padding: 132px 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; color: var(--bg); background: var(--acid); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* HEADER E NAVIGAZIONE. */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { color: var(--acid); font: 700 1.05rem/1 var(--mono); letter-spacing: .05em; }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 24px; padding: 9px 12px; border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; font: .68rem var(--mono); text-transform: uppercase; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--acid); color: var(--acid); background: var(--panel); }
.theme-icon { font-size: 1rem; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 32px; font: .78rem var(--mono); text-transform: uppercase; letter-spacing: .03em; }
.site-nav a, .text-link { transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .text-link:hover, .text-link:focus-visible { color: var(--acid); }
.nav-cta { padding: 9px 13px; border: 1px solid var(--line); }
.menu-toggle { display: none; padding: 8px; border: 0; background: none; cursor: pointer; }
.menu-line { display: block; width: 24px; height: 1px; margin: 5px 0; background: var(--ink); }
/* AVVISO TEMPORANEO SULLO STATO DEL SITO. TO DO DA RIMUOVERE */
.site-notice { border-bottom: 1px solid var(--line); color: var(--bg); background: var(--orange); }
.site-notice-inner { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.site-notice-mark { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border: 1px solid var(--bg); border-radius: 50%; font: 500 .75rem var(--mono); }
.site-notice p { margin: 0; font: .78rem var(--mono); }
.site-notice strong { font-weight: 500; text-transform: uppercase; }
/* HERO E BIO. */
.hero { position: relative; min-height: 740px; padding-top: 160px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 19, 17, .08) 0%, rgba(41, 12, 12, 0.7) 54%, var(--bg) 84%), radial-gradient(circle at 80% 25%, rgba(255, 61, 79, .16), transparent 23%), radial-gradient(circle at 18% 30%, rgba(255, 132, 144, .08), transparent 28%), url("Personal%20Branding/moon.png") center top / 100% auto no-repeat; }
body[data-theme='light'] .hero { background: linear-gradient(180deg, rgba(16, 19, 17, .32) 0%, rgba(41, 12, 12, .82) 54%, var(--bg) 84%), radial-gradient(circle at 80% 25%, rgba(255, 61, 79, .2), transparent 23%), radial-gradient(circle at 18% 30%, rgba(255, 132, 144, .12), transparent 28%), url("Personal%20Branding/moon.png") center top / 100% auto no-repeat; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; gap: 50px; }
.eyebrow { margin: 0 0 24px; color: var(--acid); font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.03; }
h1 { max-width: 800px; margin-bottom: 28px; font-size: clamp(3.5rem, 7vw, 7.6rem); letter-spacing: -.06em; }
h2 { margin-bottom: 22px; font-size: clamp(2.8rem, 5.2vw, 5.2rem); letter-spacing: -.06em; }
h1 em, h2 em, h3 em { color: var(--cyan); font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; }
.hero-text { max-width: 545px; margin-bottom: 38px; color: var(--muted); font-size: 1.1rem; }
.hero-name { color: var(--acid); font-weight: 600; }
.hero-copy > em { display: block; margin-bottom: 18px; }
body[data-theme='light'] .hero h1,
body[data-theme='light'] .hero .hero-text,
body[data-theme='light'] .hero-copy > em,
body[data-theme='light'] .hero .text-link { color: #fff; }
body[data-theme='light'] .hero h1 em { color: var(--cyan); }
.bio-signature { position: relative; display: grid; gap: 3px; width: fit-content; margin-bottom: 38px; padding: 16px 20px 16px 66px; border-left: 2px solid var(--acid); color: var(--muted); font: .76rem/1.45 var(--mono); }
.hero .bio-signature { color: rgba(255, 255, 255, .78); }
.hero .bio-signature strong { color: #fff; }
.bio-signature strong { color: var(--ink); font-weight: 500; }
.personal-symbol { position: absolute; top: 18px; left: 18px; color: var(--acid); font: 2rem/1 var(--serif); }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 15px 18px; font: 500 .73rem var(--mono); text-transform: uppercase; letter-spacing: .04em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary { color: var(--bg); background: var(--acid); }
.button-primary:hover, .button-primary:focus-visible { background: var(--ink); }
.text-link { color: var(--muted); font: .78rem var(--mono); text-transform: uppercase; }
.tetris-game { align-self: center; justify-self: center; width: 250px; opacity: .95; transform: rotate(-3deg); }
.tetris-label { display: block; margin-bottom: 10px; color: var(--acid); font: italic .63rem var(--mono); letter-spacing: .08em; text-align: right; }
.tetris-board { width: 250px; height: 400px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 61, 79, .45); background: var(--bg); box-shadow: 18px 18px 0 rgba(255, 61, 79, .14); }
.tetris-grid { display: grid; grid-template-columns: repeat(10, 1fr); width: 100%; height: 100%; background: linear-gradient(rgba(255, 61, 79, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 61, 79, .06) 1px, transparent 1px); background-size: 25px 25px; }
.tetris-cell { width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.06); }.tetris-cell.filled { background: var(--acid); box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }.tetris-cell.active { background: var(--cyan); box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.tetris-hud { display: flex; justify-content: space-between; margin-top: 15px; color: var(--muted); font: .62rem var(--mono); }.tetris-hud strong, #tetris-status { color: var(--acid); }
.tetris-controls { display: flex; justify-content: space-between; gap: 5px; margin-top: 10px; }.tetris-controls button { width: 42px; height: 30px; border: 1px solid var(--line); color: var(--ink); background: var(--panel); cursor: pointer; font: .85rem var(--mono); }.tetris-controls button:hover, .tetris-controls button:focus-visible { border-color: var(--acid); color: var(--acid); }
/* PROFILO, PASSIONI E SCHEDE. */
.about { background: var(--bg-soft); }
.split-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 13%; }
.profile-portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 42px; }
.profile-portraits figure { margin: 0; }
.profile-portraits img { display: block; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); object-fit: cover; filter: grayscale(1); }
.profile-portraits figcaption { margin-top: 10px; color: var(--muted); font: .65rem var(--mono); text-transform: uppercase; }
.about-copy { max-width: 600px; padding-top: 40px; }
.lead { color: var(--ink); font-size: 1.5rem; line-height: 1.35; }
.about-copy > p:not(.lead) { color: var(--muted); }
.tech-note { display: inline-flex; gap: 8px; padding: 10px 14px; border: 1px solid var(--acid); color: var(--acid) !important; font: .78rem var(--mono); }
.tech-note span { color: var(--muted); }
.profile-code { max-width: 100%; margin: 24px 0 0; padding: 18px; overflow-x: auto; background: #030303; color: #ffffff; font: .72rem/1.7 var(--mono); }
.interests { border-bottom: 1px solid var(--line); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 60px; }
.section-intro > p:last-child { max-width: 340px; margin: 0; color: var(--muted); }
.interests .section-intro { display: block; }
.interests .section-intro > p:last-child { max-width: 700px; margin-top: 24px; }
.interest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.interest-card { min-height: 270px; padding: 24px; background: var(--bg); transition: background .25s ease, transform .25s ease; }
.interest-card:hover { position: relative; z-index: 1; background: var(--panel-bright); transform: translateY(-6px); }
.card-number { color: var(--muted); font: .7rem var(--mono); }
.interest-icon { display: block; margin: 50px 0 26px; color: var(--acid); font: 2rem var(--mono); }
.interest-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.interest-card p { margin: 0; color: var(--muted); font-size: .9rem; }
/* PROGETTI: le tendine usano details/summary, quindi funzionano anche senza JavaScript. */
.projects { background: var(--bg-soft); }
.project-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.project-count { color: var(--muted); font: .7rem var(--mono); }
.button-light { color: var(--acid); background: var(--bg); white-space: nowrap; }
.button-light:hover, .button-light:focus-visible { color: var(--bg); background: var(--ink); }
.project-board { border-top: 1px solid var(--line); }
.project-drawer { border-bottom: 1px solid var(--line); }
.project-drawer summary { display: grid; grid-template-columns: 55px 58px 1fr 220px 28px; align-items: center; gap: 20px; padding: 17px 0; cursor: pointer; list-style: none; transition: color .2s ease, padding .2s ease; }
.project-drawer summary::-webkit-details-marker { display: none; }
.project-drawer summary:hover, .project-drawer summary:focus-visible { padding-left: 10px; color: var(--acid); }
.project-drawer summary:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.drawer-index, .drawer-type { color: var(--muted); font: .7rem var(--mono); }
.drawer-title { font-size: 1.25rem; }.drawer-toggle { color: var(--acid); font: 1.4rem var(--mono); text-align: right; }
.project-drawer[open] .drawer-toggle { transform: rotate(45deg); }
.drawer-logo { display: grid; position: relative; width: 48px; height: 48px; place-items: center; overflow: hidden; border: 1px solid var(--line); color: var(--ink); font: 500 .75rem var(--mono); }
.drawer-logo img { position: absolute; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.drawer-logo > span { position: relative; z-index: 0; }
.drawer-logo-block { background: var(--acid); color: var(--bg); }.drawer-logo-prototype { background: #8b1e2c; }.drawer-logo-simple { background: #651725; }.drawer-logo-linux { background: #341820; }
.drawer-content { display: block; padding: 10px 0 34px 75px; }
.drawer-copy { max-width: 490px; }.drawer-copy p { color: var(--muted); }.drawer-copy .button { margin-top: 8px; }
/* ANIMAZIONI E BREAKPOINT RESPONSIVE. */
.code-keyword { color: #ff6b78; }.code-type { color: #f2a6ad; }.code-function { color: var(--acid); }.code-string { color: #ffbd83; }.code-const { color: #dee034; font-weight: 700; }
.contact { position: relative; overflow: hidden; background: var(--orange); color: var(--bg); }
.contact::after { position: absolute; right: 8%; bottom: -170px; width: 400px; height: 400px; border: 1px solid rgba(16,19,17,.22); border-radius: 50%; content: ''; box-shadow: 0 0 0 40px rgba(16,19,17,.07), 0 0 0 80px rgba(16,19,17,.05); }
.contact-inner { position: relative; z-index: 1; }.contact .eyebrow { color: var(--bg); }.contact h2 em { color: var(--bg); }.contact p:not(.eyebrow) { max-width: 420px; margin-bottom: 34px; color: rgba(16,19,17,.72); }.contact .button-primary { background: var(--bg); color: var(--orange); }.contact .button-primary:hover, .contact .button-primary:focus-visible { background: var(--ink); color: var(--bg); }
.site-footer { padding: 68px 0 26px; background: var(--bg); }.footer-top { display: grid; grid-template-columns: 1fr; padding-bottom: 80px; }.footer-label { margin-bottom: 26px; color: var(--ink); font: 600 1.35rem/1.2 var(--sans); }.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }.social-grid a { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .88rem; transition: color .2s ease, padding .2s ease; }.social-grid a:nth-child(odd) { margin-right: 30px; }.social-grid a:hover, .social-grid a:focus-visible { padding-left: 8px; color: var(--acid); }.social-grid span { color: var(--acid); font-family: var(--mono); }.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font: .65rem var(--mono); text-transform: uppercase; }
/* BLOG: indice, anteprime e articoli condividono la grammatica del portfolio. */
.blog-preview { border-bottom: 1px solid var(--line); background: var(--bg); }
.blog-preview .section-intro { align-items: end; }
.blog-gateway { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr) 48px; align-items: center; gap: 30px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .2s ease, padding .2s ease, background .2s ease; }
.blog-gateway:hover, .blog-gateway:focus-visible { padding-right: 16px; padding-left: 16px; color: var(--acid); background: var(--panel); }
.blog-gateway:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.blog-gateway-button { justify-self: start; }
.blog-gateway-copy { max-width: 480px; color: var(--muted); font-size: .95rem; }
.blog-gateway-arrow { font: 1.6rem var(--mono); text-align: right; }
.post-list-item h2 a:hover, .post-list-item h2 a:focus-visible { color: var(--acid); }
.post-meta { display: flex; gap: 10px; margin-bottom: 24px; color: var(--acid); font: .68rem var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.blog-index { min-height: 720px; }
.blog-index-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 70px; }
.blog-index-heading h1 { margin-bottom: 0; font-size: clamp(3.4rem, 7vw, 7rem); }
.blog-index-heading > p { max-width: 330px; margin: 0 0 8px; color: var(--muted); }
.post-list { border-top: 1px solid var(--line); }
.post-list-item { display: grid; grid-template-columns: 170px 1fr; gap: 40px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.post-list-item:hover .post-list-date { color: var(--acid); }
.post-list-date { padding-top: 8px; color: var(--muted); font: .75rem var(--mono); transition: color .2s ease; }
.post-list-copy { max-width: 720px; }
.post-list-copy .post-meta { margin-bottom: 14px; }
.post-list-item h2 { max-width: 650px; margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.6rem); }
.post-list-item h2 a { transition: color .2s ease; }
.post-list-item h2 + p { max-width: 610px; margin-bottom: 24px; color: var(--muted); }
.empty-state { padding: 40px 0; color: var(--muted); }
.post-page { min-height: 720px; }
.post-container { max-width: 900px; }
.back-link { display: inline-flex; margin-bottom: 70px; }
.post-header { max-width: 820px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.post-header h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 7vw, 7rem); }
.post-header .post-meta { margin-bottom: 0; }
.post-content { max-width: 700px; padding-top: 52px; color: var(--muted); font-size: 1.05rem; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 { margin-top: 52px; color: var(--ink); }
.post-content h1 { font-size: 2.8rem; }
.post-content h2 { font-size: 2.2rem; }
.post-content h3 { font-size: 1.5rem; color: var(--acid); }
.post-content h4 { font-size: 1.15rem; color: var(--muted); font-family: var(--mono); letter-spacing: .02em; }
.post-content p { margin-bottom: 24px; }
.post-content img { display: block; width: 100%; height: auto; margin: 32px 0; border: 1px solid var(--line); }
.post-content video { display: block; width: 100%; height: auto; margin: 32px 0; border: 1px solid var(--line); background: #000; }
.post-content a { color: var(--acid); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-content ul, .post-content ol { margin: 0 0 28px; padding-left: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content li input[type='checkbox'] { width: 1rem; height: 1rem; margin: 0 8px 0 0; accent-color: var(--acid); vertical-align: -2px; }
.post-content table { width: 100%; margin: 32px 0; border-collapse: collapse; font-size: .92rem; }
.post-content th, .post-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.post-content th { color: var(--ink); background: var(--panel); font-family: var(--mono); font-size: .75rem; text-transform: uppercase; }
.post-content tr:nth-child(even) td { background: color-mix(in srgb, var(--panel) 45%, transparent); }
.post-content dl { margin: 32px 0; }
.post-content dt { margin-top: 18px; color: var(--ink); font-weight: 600; }
.post-content dd { margin: 6px 0 0 24px; color: var(--muted); }
.post-content mark { padding: 0 4px; color: var(--bg); background: var(--orange); }
.post-content .footnotes { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; }
.post-content .footnote-ref, .post-content .footnote-backref { color: var(--acid); }
.post-content sub, .post-content sup { line-height: 0; }
.post-content blockquote { margin: 36px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--acid); color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }
.post-content code { padding: 3px 5px; color: var(--acid); background: var(--panel); font: .85em var(--mono); }
.post-content pre { padding: 18px; overflow-x: auto; background: #030303; color: #fff; font: .8rem/1.7 var(--mono); }
.post-content pre code { padding: 0; background: none; color: inherit; }
.post-content pre code.hljs { color: #d7e0d4; background: transparent; }
.post-content .hljs-comment, .post-content .hljs-quote { color: #7f9180; font-style: italic; }
.post-content .hljs-keyword, .post-content .hljs-selector-tag, .post-content .hljs-literal { color: #ff6b78; }
.post-content .hljs-type, .post-content .hljs-built_in, .post-content .hljs-class .hljs-title { color: #f2a6ad; }
.post-content .hljs-title, .post-content .hljs-title.class_, .post-content .hljs-title.function_ { color: var(--acid); }
.post-content .hljs-string, .post-content .hljs-meta .hljs-string, .post-content .hljs-regexp { color: #ffbd83; }
.post-content .hljs-number, .post-content .hljs-symbol, .post-content .hljs-bullet { color: #dee034; }
.post-content .hljs-variable, .post-content .hljs-template-variable, .post-content .hljs-attr, .post-content .hljs-attribute { color: #ff8490; }
.post-content .hljs-meta, .post-content .hljs-doctag { color: #c7a6ff; }
.post-content .hljs-operator, .post-content .hljs-punctuation { color: #e8eee5; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { animation: none; transition: none; }.reveal { opacity: 1; transform: none; } }
@media (max-width: 800px) { .container { width: min(100% - 32px, 600px); }.section-shell { padding: 90px 0; }.site-nav { position: absolute; top: 78px; right: 16px; left: 16px; display: none; padding: 10px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 20px 40px rgba(0,0,0,.25); }.site-nav.is-open { display: grid; }.site-nav a { padding: 12px; }.nav-cta { border: 0; }.menu-toggle { display: block; }.theme-toggle { margin-right: 10px; }.theme-label { display: none; }.hero { min-height: 700px; padding-top: 100px; }.hero-grid, .split-layout, .footer-top { grid-template-columns: 1fr; gap: 50px; }.tetris-game { width: min(100%, 250px); }.tetris-board { width: 250px; height: 400px; margin: 0 auto; }.tetris-label { font-size: .55rem; }.section-intro { display: block; }.section-intro > p:last-child { margin-top: 24px; }.interest-grid { grid-template-columns: repeat(2, 1fr); }.interest-card { min-height: 240px; }.interest-icon { margin-top: 36px; }.project-drawer summary { grid-template-columns: 35px 48px 1fr 25px; gap: 10px; }.drawer-type { display: none; }.drawer-content { padding-left: 45px; }.footer-top { padding-bottom: 55px; }.footer-bottom { display: block; }.footer-bottom span { display: block; margin-top: 8px; }.blog-gateway { grid-template-columns: 1fr 28px; gap: 12px 20px; padding: 24px 0; }.blog-gateway-copy { grid-column: 1 / -1; grid-row: 2; }.blog-gateway-arrow { grid-column: 2; grid-row: 1; }.blog-index-heading { display: block; margin-bottom: 50px; }.blog-index-heading > p { margin-top: 26px; }.post-list-item { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }.post-list-date { padding-top: 0; }.back-link { margin-bottom: 48px; }.post-content { padding-top: 36px; } }
@media (max-width: 480px) { h1 { font-size: 3.15rem; }.hero-text { font-size: 1rem; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }.interest-grid { grid-template-columns: 1fr; }.interest-card { min-height: auto; }.social-grid { grid-template-columns: 1fr; }.social-grid a:nth-child(odd) { margin-right: 0; } }