:root { --paper:#fafaf8; --ink:#242424; --muted:#777770; --rule:#deded8; --gutter:clamp(22px,5vw,76px); }
* { box-sizing:border-box; }
html,body { margin:0; min-height:100%; background:var(--paper); color:var(--ink); }
body { font:14px/1.5 Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; } a:hover { opacity:.58; }
.site-header { display:flex; justify-content:space-between; align-items:baseline; gap:24px; padding:30px var(--gutter); }
.site-name { font-size:13px; letter-spacing:.09em; font-weight:600; white-space:nowrap; }
nav { display:flex; gap:clamp(14px,2.4vw,34px); font-size:10px; letter-spacing:.08em; }
.home { width:min(620px,calc(100% - 2*var(--gutter))); margin:clamp(100px,19vh,190px) auto 120px; }
.eyebrow { color:var(--muted); font-size:10px; letter-spacing:.1em; margin:0 0 20px; }
.project-list { list-style:none; margin:0; padding:0; }
.project-list li { border-bottom:1px solid var(--rule); }
.project-list a { display:flex; justify-content:space-between; align-items:baseline; gap:20px; padding:13px 0 12px; font-size:clamp(17px,2vw,21px); }
.project-list time { color:var(--muted); font-size:11px; }
.page { width:min(1160px,calc(100% - 2*var(--gutter))); margin:78px auto 110px; }
.page-heading { display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-bottom:34px; }
.page-heading h1 { margin:0; font-size:18px; font-weight:400; }
.page-heading p,.muted { color:var(--muted); font-size:11px; }
.gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:34px 22px; align-items:start; }
.gallery figure { margin:0; }
.gallery img { display:block; width:100%; height:auto; }
.gallery .wide { grid-column:1/-1; }
.site-footer { padding:24px var(--gutter) 30px; color:var(--muted); font-size:10px; }
.text-page { max-width:660px; }
@media(max-width:650px) {
 .site-header { align-items:flex-start; flex-direction:column; gap:15px; }
 .home { margin-top:95px; } .page { margin-top:48px; }
 .gallery { grid-template-columns:1fr; gap:25px; } .gallery .wide { grid-column:auto; }
 .page-heading { align-items:flex-start; flex-direction:column; gap:5px; }
}
