@font-face { font-family:Geist; src:url(fonts/Geist-Variable.woff2) format("woff2"); font-weight:100 900; font-display:swap; }
@font-face { font-family:"Geist Mono"; src:url(fonts/GeistMono-Variable.woff2) format("woff2"); font-weight:100 900; font-display:swap; }
:root { --bg:#000; --fg:#ededed; --muted:#8f8f8f; --line:#262626; --hi:#fff; }
:root { --scramble:var(--muted); }   
:root[data-theme="light"] { --bg:#fff; --fg:#171717; --muted:#6f6f6f; --line:#e5e5e5; --hi:#000; }
* { box-sizing:border-box; margin:0; padding:0; }
[hidden] { display:none !important; }   
html, body { background:var(--bg); color:var(--fg); }
.keep-case { text-transform:none; }   
body { font-family:Geist, ui-sans-serif, system-ui, sans-serif; font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased; text-transform:lowercase; }
::selection { color:var(--bg); background:var(--hi); }
main { max-width:640px; margin:0 auto; padding:56px 24px 80px; }
@media (max-width:600px){ main { padding:40px 16px 56px; } }
a { color:inherit; text-decoration:none; }
.mono { font-family:Geist, ui-sans-serif, system-ui, sans-serif; font-size:13px; }
.muted { color:var(--muted); }

.top { display:flex; justify-content:space-between; align-items:center; margin-bottom:96px; }
.top .name { color:var(--hi); font-weight:500; font-size:15px; font-family:Geist, sans-serif; letter-spacing:0; }
.top nav { display:flex; gap:20px; color:var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color:var(--hi); }
.top nav a { display:inline-flex; align-items:center; min-height:44px; }   
.top nav a::before { content:"["; } .top nav a::after { content:"]"; }   

main a:not(.row, .name, [target], [href^="mailto:"], [href^="#"], .intro p a, .prose a, a.inline, [data-page="404"] main p a)::before { content:"["; }
main a:not(.row, .name, [target], [href^="mailto:"], [href^="#"], .intro p a, .prose a, a.inline, [data-page="404"] main p a)::after { content:"]"; }
:is(.intro p a, .prose a, a.inline, [data-page="404"] main p a):not([target], [href^="mailto:"], [href^="#"])::after { content:"\00a0↗"; color:var(--muted); font-size:.85em; }
@media (max-width:600px){ .top { margin-bottom:64px; } }
@media (max-width:374px){ .top nav { gap:10px; } }   

.intro p { color:var(--muted); max-width:52ch; }
.intro p + p { margin-top:10px; }
[data-page="about"] main > .prose { max-width:52ch; }   
[data-page="about"] main > .prose > p + p { margin-top:10px; }
[data-page="home"] .intro p, [data-page="practice"] .intro p, [data-page="work"] .intro p, [data-page="about"] main > .prose p { font-size:20px; line-height:1.35; letter-spacing:-.015em; }   
.intro a { color:var(--fg); border-bottom:1px solid var(--line); }
.intro a:hover { border-color:var(--hi); }
.intro .me { color:var(--hi); }   
a.brand, .intro a.brand, .prose a.brand, section .prose a.brand { color:var(--hi); border-bottom:0; }   
a.brand:hover .arrow { color:var(--hi); }

section { margin-top:72px; }
section > h2 { font-family:Geist, ui-sans-serif, system-ui, sans-serif; font-size:13px; font-weight:400; color:var(--muted); margin-bottom:8px; }

.row { display:grid; grid-template-columns:1fr auto; gap:2px 24px; padding:14px 0; border-bottom:1px solid var(--line); position:relative; }
a.row:focus-visible { outline:1px solid var(--muted); outline-offset:4px; }
a:not(.row):focus-visible, button:focus-visible { outline:1px solid var(--hi); outline-offset:3px; border-radius:2px; }      
.row .t { grid-column:1; color:var(--hi); }
.row .t.note { color:var(--fg); }
.row .s { grid-column:1; color:var(--muted); }
.row .aside { color:var(--muted); }
.row .k { grid-column:1; color:var(--muted); margin-top:4px; }
.row .d { grid-row:1; grid-column:2; text-align:right; color:var(--muted); white-space:nowrap; font-family:"Geist Mono", ui-monospace, monospace; font-size:12px; letter-spacing:.02em; }
.arrow { color:var(--muted); font-size:.85em; }
.more { display:inline-block; margin-top:16px; color:var(--muted); }
.more:hover { color:var(--hi); }

.filter:not(:empty) { margin-top:48px; }
.filter { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:8px; }
.filter button[aria-pressed="true"] { color:var(--hi); }
.filter button { min-height:44px; }
.filter { row-gap:0; }
section > .filter:not(:empty) { margin-top:0; }   
.filter:not(:empty) + #archive > section:first-child { margin-top:50px; }   

.entry-head { margin-bottom:40px; }
.entry-head h1 { font-size:32px; font-weight:400; line-height:1.3; letter-spacing:-.02em; color:var(--hi); margin-top:8px; }   
.prose { font-size:16px; line-height:1.5; letter-spacing:-.02em; color:var(--hi); }   
.prose > * + * { margin-top:1.1em; }
main > .prose { color:var(--muted); }   
section .prose { color:var(--hi); }   
main > .prose a, section .prose a { color:var(--fg); }
.prose h2 { font-size:15px; line-height:1.55; letter-spacing:0; font-weight:500; color:var(--hi); margin-top:2em; }   
.prose a { border-bottom:1px solid var(--muted); }
.prose a:hover { border-color:var(--hi); color:var(--hi); }
.prose blockquote { border-left:1px solid var(--line); padding-left:16px; color:var(--muted); }
.prose ul, .prose ol { padding-left:1.2em; }
.prose li + li { margin-top:.4em; }
.prose code { font-family:"Geist Mono", monospace; font-size:.875em; letter-spacing:0; }   
.entry-nav { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:72px; padding-top:16px; border-top:1px solid var(--line); }
.entry-nav a { color:var(--muted); }
.entry-nav a:hover { color:var(--hi); }
.entry-nav .next { text-align:right; }

footer { margin-top:96px; display:flex; justify-content:space-between; align-items:center; gap:8px 16px; flex-wrap:wrap; }
footer nav { display:flex; gap:0 20px; flex-wrap:wrap; }
footer a, footer button { display:inline-flex; align-items:center; gap:.25em; min-height:44px; }   
footer a:hover, button:hover { color:var(--hi); }
button { background:none; border:0; color:var(--muted); cursor:pointer; font:inherit; text-transform:inherit; }

.fade { opacity:.01; animation:fadeIn .5s ease-out forwards; }   
@keyframes fadeIn { from { opacity:.01; transform:translateY(10px); } to { opacity:1; transform:none; } }
.d1{animation-delay:.1s}.d2{animation-delay:.2s}.d3{animation-delay:.3s}
@media (prefers-reduced-motion:reduce){ .fade { animation:none; opacity:1; } }

.row a.inline { color:var(--fg); border-bottom:1px solid var(--line); }
.row a.inline:hover { color:var(--hi); border-color:var(--hi); }
.topics { margin-top:10px; }
.topics a:hover { color:var(--hi); }
section .prose + .row, section > .prose { margin-top:8px; }
.later { margin-top:40px; }
.top + #entry section { margin-top:56px; }

#noise { position:fixed; inset:-256px; pointer-events:none; z-index:0; opacity:.1; image-rendering:pixelated; will-change:transform; animation:grain .33s steps(1) infinite; }
@keyframes grain {   
  0% { transform:translate(0,0); } 12.5% { transform:translate(-97px,41px); } 25% { transform:translate(53px,-118px); } 37.5% { transform:translate(-31px,-67px); }
  50% { transform:translate(112px,89px); } 62.5% { transform:translate(-140px,12px); } 75% { transform:translate(76px,133px); } 87.5% { transform:translate(-58px,-149px); } }
@media (prefers-reduced-motion:reduce){ #noise { animation:none; } }
:root[data-theme="light"] #noise { filter:invert(1); }
:root:not([data-theme="light"]) #noise { opacity:.15; }   
main { position:relative; z-index:1; }

.top .name { display:inline-flex; align-items:center; }
.avatar { display:block; width:56px; height:56px; border-radius:50%; object-fit:cover; transition:opacity .2s ease; }
.top .name:hover .avatar { opacity:.8; }

.row.history { gap:2px 24px; padding:16px 0 17px; }

.mono-balance { font-size:2em; font-weight:200; line-height:0; vertical-align:-.1em; }

.enc { color:var(--scramble); }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

.rail { position:fixed; right:28px; top:50%; transform:translateY(-50%); z-index:2; display:flex; flex-direction:column; align-items:flex-end;
  font-family:"Geist Mono", ui-monospace, monospace; font-size:11px; letter-spacing:.02em; line-height:1; text-transform:lowercase; }
.rail:empty { display:none; }
.rail a { display:flex; align-items:center; gap:8px; padding:5px 0; color:var(--muted); opacity:.45; }
.rail a::after { content:""; height:1px; background:currentColor; }
.rail .ry { margin-top:10px; opacity:.7; }
.rail .ry:first-child { margin-top:0; }
.rail .ry::after { width:16px; }
.rail .rm::after { width:8px; }
.rail a.in { opacity:.9; }
.rail a[aria-current], .rail a:hover { color:var(--hi); opacity:1; }
@media (max-width:899px) { .rail { display:none; } }   
.anchor { display:block; height:0; scroll-margin-top:24px; }
section { scroll-margin-top:24px; }

@media (max-width:600px) {
  main { padding-bottom:max(56px, calc(40px + env(safe-area-inset-bottom))); }
}

.row.work.has-cover { grid-template-columns:96px 1fr auto; }
.row.work.has-cover .cover { grid-row:1 / span 3; grid-column:1; width:96px; aspect-ratio:3 / 2; object-fit:cover; border-radius:2px; background:var(--line); }
.row.work.has-cover .t, .row.work.has-cover .s, .row.work.has-cover .k { grid-column:2; }
.row.work.has-cover .d { grid-column:3; }

.case-project { color:var(--muted); }   
.case-intro { margin-top:16px; font-size:20px; line-height:1.35; letter-spacing:-.015em; color:var(--muted); max-width:52ch; }   
.case-head a:hover { color:var(--hi); }

.facts .row { grid-template-columns:96px 1fr; padding:10px 0; align-items:baseline; }
.facts dt { grid-column:1; }
.facts dd { grid-column:2; color:var(--fg); }

.metrics { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; border-bottom:1px solid var(--line); }
.metric { display:flex; flex-direction:column; gap:2px; padding:14px 0 16px; }
.metric .value { font-size:32px; line-height:1.3; letter-spacing:-.02em; color:var(--hi); }
.metric .label { color:var(--muted); }
.metric .level { color:var(--muted); margin-top:4px; }
@media (max-width:480px){ .metrics { grid-template-columns:1fr; } }

.decision + .decision { margin-top:40px; }
.decision h3 { font-size:15px; font-weight:500; color:var(--hi); margin-bottom:8px; }
.concept { color:var(--fg); }

#case figure { margin-top:32px; }
#case figure img, #case figure video { display:block; width:100%; height:auto; border-radius:4px; background:var(--line); }
#case figcaption { margin-top:10px; }
#case figure .grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }   

.aside-link { color:var(--muted); }
.prose .aside-link a, .aside-link a { color:var(--hi); border-bottom:0; }   
.contact-line { color:var(--muted); }
.say-hello { display:inline-flex; align-items:center; gap:.3em; min-height:44px; color:var(--fg); }   
.say-hello:hover { color:var(--hi); }
.contact-line a { color:var(--fg); }   
.contact-line a:hover { color:var(--hi); }
.more, .entry-nav a, .entry-head > .mono a { display:inline-flex; align-items:center; min-height:44px; }   
